1 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
3 * configure.ac:
4 don't set CFLAGS and friends for gcov, done from GST_GCOV now
5 * tests/check/Makefile.am:
6 clean up gcov files
8 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
10 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11 remove gst_caps_simplify; it was not declared and not used
12 and deprecated in 0.8
14 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
16 * docs/faq/gst-uninstalled:
17 don't put empty paths on PYTHONPATH
18 * docs/gst/gstreamer-sections.txt:
19 remove some symbols that are not there
21 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
23 * gst/gstcaps.c: (gst_caps_compare_structures):
24 whitespace fixes
25 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
26 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
27 add more tests
29 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
31 * libs/gst/dataprotocol/Makefile.am:
32 build dataprotocol test by linking to the lib, instead of
33 compiling the source, so we get coverage
34 * tests/check/Makefile.am:
35 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
36 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
37 add a test for filesrc
39 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
41 * tests/check/gst/gststructure.c: (GST_START_TEST),
42 (gst_structure_suite):
43 Push coverage from 59.04% to 70.00%
45 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
47 * tests/check/Makefile.am:
48 gst-inspect every element; this makes sure that we also get
49 coverage on element's get/set functions
51 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
53 * configure.ac:
54 set CFLAGS and friends to -O0 if gcov is being used
55 add GCOV LIBS
56 * gst/Makefile.am:
57 * libs/gst/base/Makefile.am:
58 * libs/gst/check/Makefile.am:
59 * libs/gst/controller/Makefile.am:
60 * libs/gst/dataprotocol/Makefile.am:
61 * libs/gst/net/Makefile.am:
62 * plugins/elements/Makefile.am:
63 * plugins/indexers/Makefile.am:
64 add makefile rules to generate gcov data and clean up
65 * tests/check/Makefile.am:
66 add a coverage target that generates an html overview
67 of coverage data
69 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
71 * tests/check/elements/fakesink.c:
72 * tests/check/elements/fakesrc.c:
73 * tests/check/elements/fdsrc.c:
74 * tests/check/elements/identity.c:
75 * tests/check/generic/sinks.c: (gst_sinks_suite):
76 * tests/check/generic/states.c:
77 * tests/check/gst/gst.c:
78 * tests/check/gst/gstabi.c:
79 * tests/check/gst/gstbin.c:
80 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
81 * tests/check/gst/gstbus.c: (gst_bus_suite):
82 * tests/check/gst/gstcaps.c: (GST_START_TEST):
83 * tests/check/gst/gstelement.c:
84 * tests/check/gst/gstevent.c: (gst_event_suite):
85 * tests/check/gst/gstghostpad.c:
86 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
87 * tests/check/gst/gstmessage.c: (gst_message_suite):
88 * tests/check/gst/gstminiobject.c:
89 * tests/check/gst/gstobject.c:
90 * tests/check/gst/gstpad.c:
91 * tests/check/gst/gstpipeline.c:
92 * tests/check/gst/gstplugin.c:
93 * tests/check/gst/gstquery.c: (gst_query_suite):
94 * tests/check/gst/gstsegment.c: (gst_segment_suite):
95 * tests/check/gst/gststructure.c:
96 * tests/check/gst/gstsystemclock.c:
97 * tests/check/gst/gsttag.c:
98 * tests/check/gst/gsttask.c: (gst_task_suite):
99 * tests/check/gst/gstutils.c:
100 * tests/check/gst/gstvalue.c:
101 * tests/check/libs/adapter.c:
102 * tests/check/libs/basesrc.c:
103 * tests/check/libs/collectpads.c:
104 * tests/check/libs/controller.c:
105 * tests/check/libs/gdp.c: (gst_dp_suite):
106 * tests/check/libs/gstnetclientclock.c:
107 * tests/check/libs/gstnettimeprovider.c:
108 * tests/check/libs/libsabi.c: (libsabi_suite):
109 * tests/check/libs/typefindhelper.c:
110 * tests/check/pipelines/cleanup.c:
111 * tests/check/pipelines/parse-launch.c:
112 * tests/check/pipelines/simple-launch-lines.c:
113 * tests/check/pipelines/stress.c: (stress_suite):
114 use the new macro
116 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
118 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
119 * libs/gst/check/gstcheck.h:
120 create a macro and function so that the simple unit test
121 case can be just one macro to create main()
123 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
125 * gst/gstbin.c: (gst_bin_restore_thyself):
126 * gst/gstxml.c: (gst_xml_make_element):
127 Fix deserialisation from XML. Set parent manually
128 instead of using gst_bin_add(), since gst_bin_add()
129 will unlink all pads of the element being added.
130 Fixes #341667.
132 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
134 Patch by: Peter Kjellerstedt <pkj at axis com>
136 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
137 Fix missing g_strdup() and double free when using the
138 --gst-plugin-load command line option (#346097).
140 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
142 * gst/gstinfo.c:
143 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
145 * libs/gst/net/gstnetclientclock.c:
146 * libs/gst/net/gstnettimeprovider.c:
147 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
149 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
151 * docs/manual/advanced-dataaccess.xml:
152 Fix buffer probe example compilation in
153 ADM (#345708).
155 2006-06-22 Edward Hervey <edward@fluendo.com>
157 * gst/gstelement.c: (gst_element_pads_activate):
158 We need to deactivate src pads first and then sink pads.
159 The reason is the src pads might be blocking while holding the streaming
160 lock, so we need to deactivate them first so that deactivating the sink
161 pads doesn't block (since it will require the streaming lock).
163 2006-06-22 Wim Taymans <wim@fluendo.com>
165 * libs/gst/base/gstbasetransform.c:
166 (gst_base_transform_buffer_alloc):
167 Forgot to remove two unneeded unrefs.
168 Simplify a check _is_equal allready checks the obvious case.
170 2006-06-22 Wim Taymans <wim@fluendo.com>
172 * docs/design/part-block.txt:
173 Some docs about what pad_block should do.
175 2006-06-22 Wim Taymans <wim@fluendo.com>
177 * gst/gstcaps.c: (gst_caps_replace):
178 Fix crasher when passed NULL. Doc clarification.
179 Optimize for the trivial case.
181 * gst/gstpipeline.c: (gst_pipeline_change_state):
182 Small cleanups.
184 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
185 Small documentation cleanup.
187 * libs/gst/base/gstbasetransform.c:
188 (gst_base_transform_buffer_alloc):
189 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
190 is what we need and it avoids a whole lot of redundant
191 refcount operations.
193 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
195 Patch by: Philip Jägenstedt <philip at lysator liu se>
197 * docs/manual/advanced-dataaccess.xml:
198 Fix 'Embedding static elements' section to use
199 GST_PLUGIN_DEFINE_STATIC (#345607).
201 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
203 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
204 Attempt to 'fix' spuriously failing test case: it seems like the
205 timeout of half a second is simply too small when the system is under
206 load otherwise, and the timeout doesn't really seem to serve any
207 particular purpose here. Give the pipeline a few seconds to preroll
208 first, and then give it another half a second to go from PAUSED to
209 PLAYING and marshal the message into the main thread.
211 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
213 * tools/gst-feedback-m.m:
214 Don't only use unversioned tools, try versioned tools as well
215 (#345086).
217 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
219 * gst/gstbus.c: (gst_bus_class_init):
220 Fix some typos, make docs more explicit.
222 2006-06-20 Wim Taymans <wim@fluendo.com>
224 * tests/check/gst/gstghostpad.c: (block_callback),
225 (GST_START_TEST), (gst_ghost_pad_suite):
226 Added some more ghostpad tests, mainly blocking
227 and probes.
229 2006-06-16 Wim Taymans <wim@fluendo.com>
231 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
232 (gst_file_sink_close_file), (gst_file_sink_do_seek),
233 (gst_file_sink_event), (gst_file_sink_render):
234 * plugins/elements/gstfilesink.h:
235 Check if we can seek in the file instead of assuming
236 we always can. Post an error when we are asked to seek in a
237 non-seekable file (like a fifo). Fixes #343312.
238 Some cleanups.
240 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
242 * tools/gst-launch.1.in:
243 Un-garble (fourcc) bit in filtered caps section.
245 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
247 * docs/manual/advanced-autoplugging.xml:
248 * docs/manual/basics-helloworld.xml:
249 * docs/manual/highlevel-components.xml:
250 Don't leak bus reference in sample code.
252 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
254 * autogen.sh:
255 Add default for new --enable-plugin-docs switch.
257 * configure.ac:
258 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
259 Fixes #344039.
261 * docs/Makefile.am:
262 Use new ENABLE_PLUGIN_DOCS conditional.
264 2006-06-14 Wim Taymans <wim@fluendo.com>
266 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
267 Make it clear with a FIXME and a real define what the #if 0
268 previously disabled.
270 2006-06-14 Wim Taymans <wim@fluendo.com>
272 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
273 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
274 * libs/gst/base/gstbasetransform.c:
275 (gst_base_transform_sink_eventfunc):
276 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
277 Don't randomly and silently reset a segment when the format
278 changes as this is a bug somewhere upstream. Fixes #330379.
280 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
282 Patch by: Wouter Paesen <wouter at kangaroot net>
284 * libs/gst/controller/gstcontroller.c:
285 (gst_controlled_property_new):
286 Fix controlling of float properties (#344849).
288 * tests/check/libs/controller.c:
289 (gst_test_mono_source_get_property),
290 (gst_test_mono_source_set_property),
291 (gst_test_mono_source_class_init), (GST_START_TEST):
292 While we're at it, add some float stuff to unit test.
294 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
296 * docs/README:
297 * docs/images/gdp-header.svg:
298 add a gdp image
299 * docs/libs/Makefile.am:
300 * docs/libs/gdp-header.png:
301 * libs/gst/dataprotocol/dataprotocol.c:
302 add it to the API docs
303 * docs/manual/intro-motivation.xml:
304 fix typo
306 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
308 * gst/gst.c: (scan_and_update_registry), (init_post):
309 If the fork()'ed child process can't write the updated registry cache
310 file to disk for some reason, make it exit with a failure exit code,
311 so that the parent can then re-scan the plugins itself and update the
312 registry structures in memory and work with that (rather than failing
313 when creating elements because seemingly no plugins are available).
314 Refactor registry scanning code into separate function for this and
315 also separate fork() and non-fork() code paths. Fixes #344748.
317 2006-06-13 Wim Taymans <wim@fluendo.com>
319 * docs/manual/advanced-dataaccess.xml:
320 Fix wrong PluginDesc. Fixes #344755.
322 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
324 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
325 Fix silly bug that prevented us from creating
326 ~/.gstreamer-0.10 and writing the registry in one
327 go (the first call to g_mkstemp() would overwrite the
328 placeholder in the template string, so the second call
329 to g_mkstemp() after creating the missing directory
330 would then error out with 'invalid argument').
332 2006-06-13 Edward Hervey <edward@fluendo.com>
334 * gst/gst.c: (init_post):
335 Free string.
337 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
339 * gst/glib-compat-private.h:
340 * gst/glib-compat.c:
341 * gst/glib-compat.h:
342 * gst/gstvalue.c: (gst_value_serialize_flags):
343 remove GLib 2.6 compatibility code
345 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
347 * gst/parse/Makefile.am:
348 Fix build with 'make -j N' even more (#340016).
350 2006-06-12 Wim Taymans <wim@fluendo.com>
352 * docs/gst/gstreamer-sections.txt:
353 Fix docs.
355 2006-06-12 Wim Taymans <wim@fluendo.com>
357 * gst/gstsegment.c: (gst_segment_set_duration),
358 (gst_segment_set_last_stop), (gst_segment_set_seek),
359 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
360 (gst_segment_to_running_time), (gst_segment_clip):
361 Use G_UNLIKELY to help the compiler a bit.
363 2006-06-12 Wim Taymans <wim@fluendo.com>
365 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
367 * gst/gstevent.c: (gst_event_get_type):
368 * gst/gstmessage.c:
369 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
370 (gst_pad_push):
371 constify quark registration strings. Fixes #344115
372 Avoid unneeded type checking is _pad_push() by internally
373 calling gst_pad_chain_unchecked().
375 2006-06-12 Wim Taymans <wim@fluendo.com>
377 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
378 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
379 (gst_subbuffer_finalize), (gst_buffer_create_sub),
380 (gst_buffer_is_span_fast), (gst_buffer_span):
381 Init _type for consistency.
382 Use _FLAGS macro to avoid type check.
383 Avoid unneeded type checks in subbufer code.
385 2006-06-12 Wim Taymans <wim@fluendo.com>
387 * gst/gst.c: (gst_debug_help):
388 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
389 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
390 (gst_plugin_feature_list_free):
391 * gst/gstregistry.c: (gst_registry_add_plugin),
392 (gst_registry_add_feature), (gst_registry_plugin_filter),
393 (gst_registry_feature_filter), (gst_registry_find_plugin),
394 (gst_registry_find_feature), (gst_registry_get_plugin_list),
395 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
396 * gst/gstregistryxml.c: (load_feature),
397 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
398 * gst/gstminiobject.c: (gst_mini_object_unref),
399 (gst_mini_object_replace), (gst_value_mini_object_free),
400 (gst_value_mini_object_copy):
401 Use _CAST macros to avoid unneeded type checking.
402 Added some more G_UNLIKELY.
404 2006-06-12 Wim Taymans <wim@fluendo.com>
406 * gst/gstbuffer.h:
407 Avoid unneeded type checking.
408 API: GST_BUFFER_IS_DISCONT
410 * gst/gstminiobject.h:
411 Avoid type check in flag accessor.
413 * gst/gstelementfactory.h:
414 * gst/gstplugin.h:
415 * gst/gstpluginfeature.h:
416 Add _CAST macros.
417 API: GST_ELEMENT_FACTORY_CAST
418 API: GST_PLUGIN_CAST
419 API: GST_PLUGIN_FEATURE_CAST
421 2006-06-12 Wim Taymans <wim@fluendo.com>
423 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
424 (gst_object_unref):
425 Add G_UNLIKELY in type registration.
426 Avoid type check in _ref/_unref since that is also
427 done in glib.
429 2006-06-12 Wim Taymans <wim@fluendo.com>
431 * gst/gsterror.c: (gst_g_error_get_type):
432 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
433 (gst_static_pad_template_get_type):
434 * gst/gsttaglist.c: (gst_tag_list_get_type):
435 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
436 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
437 * gst/gsturi.c: (gst_uri_handler_get_type):
438 * gst/gstvalue.c: (gst_date_get_type):
439 * gst/gstxml.c: (gst_xml_get_type):
440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
441 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
442 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
443 Add G_UNLIKELY in type registration.
445 2006-06-12 Wim Taymans <wim@fluendo.com>
447 * tools/gst-inspect.c: (print_signal_info):
448 Properly print enum values.
450 2006-06-12 Wim Taymans <wim@fluendo.com>
452 * gst/gstinfo.c: (gst_debug_set_active),
453 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
454 * gst/gstinfo.h:
455 Add some G_[UN]LIKELY.
456 Maintain __gst_debug_min to avoid formatting the arguments of
457 debug messages that will be dropped anyway to avoid a lot of
458 overhead from the debugging system.
460 2006-06-11 Stefan Kost <ensonic@users.sf.net>
462 * po/POTFILES.in:
463 * po/POTFILES.skip:
464 add missing files containing translatable strings, tell intltool about
465 one exception
467 2006-06-11 Stefan Kost <ensonic@users.sf.net>
469 * tests/check/libs/.cvsignore:
470 add test-binary to ignore list
472 2006-06-11 Stefan Kost <ensonic@users.sf.net>
474 * docs/libs/gstreamer-libs-docs.sgml:
475 reorder (put dp into a chapter) and indent
477 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
479 * configure.ac:
480 back to HEAD
482 === release 0.10.8 ===
484 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
486 * configure.ac:
487 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
489 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
491 * gst/gst.c: (init_post):
492 move pid declaration to declaration block
494 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
496 * gst/gst.c: (init_post):
497 use _exit() instead of exit() in our forked child; this ensures
498 that none of the registered exit handlers from whatever is using
499 GStreamer get executed. This fixes gnome-mixer-applet failing
500 to load, because ORBit would shut down.
501 Spotted by: Edward Hervey <edward@fluendo.com>
502 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
503 Fixes #344474
505 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
507 * configure.ac:
508 back to TRUNK
510 === release 0.10.7 ===
512 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
514 * configure.ac:
515 releasing 0.10.7, "Soepeke, ik zie ou"
517 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
519 * configure.ac:
520 * po/af.po:
521 * po/az.po:
522 * po/bg.po:
523 * po/ca.po:
524 * po/cs.po:
525 * po/de.po:
526 * po/en_GB.po:
527 * po/fr.po:
528 * po/it.po:
529 * po/nb.po:
530 * po/nl.po:
531 * po/ru.po:
532 * po/sq.po:
533 * po/sr.po:
534 * po/sv.po:
535 * po/tr.po:
536 * po/uk.po:
537 * po/vi.po:
538 * po/zh_CN.po:
539 * po/zh_TW.po:
540 * win32/common/config.h:
541 0.10.6.2 prerelease
543 2006-06-07 Wim Taymans <wim@fluendo.com>
545 * gst/gstindex.c: (gst_index_gtype_resolver):
546 * tools/gst-xmlinspect.c: (print_plugin_info):
547 Fix leak spotted by coverity checker. Fixes #343827
548 Fix another other leak found by paolo borelli.
550 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
552 * libs/gst/dataprotocol/dataprotocol.c:
553 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
554 (gst_dp_version_get_type), (gst_dp_init),
555 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
556 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
557 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
558 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
559 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
560 (gst_dp_packetizer_free):
561 * libs/gst/dataprotocol/dataprotocol.h:
562 API: add a GstDPPacketizer object, and create/free functions
563 API: add GstDPVersion enum
564 Add 1.0 event function that uses the string serialization
565 Serialize more useful buffer flags
566 Fixes #343988
568 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
570 * tests/check/Makefile.am:
571 * tests/check/gst/gstabi.c:
572 * tests/check/gst/struct_ppc64.h:
573 * tests/check/libs/libsabi.c:
574 * tests/check/libs/struct_ppc64.h:
575 add ppc64 structure sizes
577 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
579 * tests/check/Makefile.am:
580 * tests/check/gst/gstabi.c:
581 * tests/check/gst/struct_x86_64.h:
582 * tests/check/libs/libsabi.c:
583 * tests/check/libs/struct_x86_64.h:
584 generate and add structure size lists for x86_64
586 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
588 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
589 * libs/gst/check/gstcheck.h:
590 factor out the method from tests that checks size of structures,
591 and add code to generate the header containing these sizes
592 * tests/check/gst/gstabi.c: (GST_START_TEST):
593 * tests/check/gst/struct_i386.h:
594 * tests/check/libs/libsabi.c: (GST_START_TEST):
595 * tests/check/libs/struct_i386.h:
596 use it
598 2006-06-06 Michael Smith <msmith@fluendo.com>
600 * gst/gstsegment.h:
601 Don't use c++-style comments, fixes #343929
603 2006-06-05 Edward Hervey <edward@fluendo.com>
605 * gst/gst.c:
606 plugin_paths is not used if we build without registry support.
608 * gst/gstsegment.c: (gst_segment_copy):
609 _copy() was always returning NULL...
611 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
613 * libs/gst/dataprotocol/dataprotocol.c:
614 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
615 (gst_dp_packet_from_event):
616 factor out CRC code
618 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
620 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
621 make sure we unset caps
623 2006-06-02 Michael Smith <msmith@fluendo.com>
625 * libs/gst/check/gstcheck.c: (gst_check_init),
626 (gst_check_chain_func):
627 * libs/gst/check/gstcheck.h:
628 Add a cond/mutex to the check support lib, signal this whenever we
629 add to the buffers list. This will allow tests to not busy-wait on
630 the buffer-list.
632 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
634 * libs/gst/dataprotocol/dataprotocol.c:
635 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
636 (gst_dp_packet_from_event):
637 factor out some common header init code
639 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
641 * docs/libs/gstreamer-libs-sections.txt:
642 * docs/libs/tmpl/gstdataprotocol.sgml:
643 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
644 * libs/gst/dataprotocol/dataprotocol.h:
645 API: make gst_dp_crc() public
647 2006-06-01 Stefan Kost <ensonic@users.sf.net>
649 * plugins/indexers/gstindexers.c: (plugin_init):
650 conditionally register fileindexer (fixes #343598)
652 2006-06-01 Stefan Kost <ensonic@users.sf.net>
654 * gst/gsttagsetter.h:
655 Can't cast ifaces to a class
657 * libs/gst/net/gstnetclientclock.h:
658 * libs/gst/net/gstnettimeprovider.h:
659 * plugins/elements/gstfakesink.h:
660 * plugins/elements/gstfakesrc.h:
661 * plugins/elements/gstfdsink.h:
662 * plugins/elements/gstfdsrc.h:
663 * plugins/elements/gstfilesink.h:
664 * plugins/elements/gstfilesrc.h:
665 * plugins/elements/gstidentity.h:
666 * plugins/elements/gstqueue.h:
667 * plugins/elements/gsttee.h:
668 * plugins/indexers/gstfileindex.c:
669 * plugins/indexers/gstmemindex.c:
670 * tests/old/examples/plugins/example.h:
671 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
673 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
675 * libs/gst/dataprotocol/dataprotocol.c:
676 (gst_dp_header_from_buffer):
677 make sure we zero the whole ABI-compatible area
679 2006-06-01 Wim Taymans <wim@fluendo.com>
681 Patch by: Alessandro Decina <alessandro at nnva dot org>
683 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
684 Make sure the EOS flag is cleared from pads after a flush
685 or stop. Fixes #343538.
687 * tests/check/libs/collectpads.c: (GST_START_TEST),
688 (gst_collect_pads_suite):
689 Added test for collectpads reusage after EOS.
691 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
693 * gst/gst.c:
694 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
695 * win32/common/libgstbase.def:
696 export gst_collect_pads_set_flushing
697 * win32/common/libgstreamer.def:
698 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
699 gst_value_fraction_multiply
700 * win32/vs6/gst_inspect.dsp:
701 add a link to intl.lib
703 2006-05-30 Wim Taymans <wim@fluendo.com>
705 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
706 (gst_collect_pads_chain):
707 Handle the case where a pad is removed from the collection
708 that could cause the other pads to become collectable.
710 2006-05-30 Wim Taymans <wim@fluendo.com>
712 * gst/gstelement.c:
713 Clarify the use of _release_request_pad() and
714 _get_request_pad() a bit better.
716 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
717 (gst_adapter_take_buffer):
718 Fix some doc and comment typos.
720 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
722 * docs/gst/gstreamer-sections.txt:
723 * docs/libs/gstreamer-libs-sections.txt:
724 add declared symbols
726 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
728 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
729 Add debug that can be enabled using a #define at the top of the file,
730 for dumping stats about how late/early we were when waking up from
731 waiting on the clock.
733 2006-05-30 Wim Taymans <wim@fluendo.com>
735 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
736 When rebuilding the pad list, don't leak the previous list.
738 2006-05-30 Wim Taymans <wim@fluendo.com>
740 Patch by: Lutz Mueller <lutz at topfrose dot de>
742 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
743 (gst_base_src_get_query_types), (gst_base_src_update_length):
744 Publish supported query types.
745 Update last_stop field in get_range mode so the position
746 query works. Fixes #342321.
748 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
750 * docs/gst/gstreamer-sections.txt:
751 * gst/gsttaglist.c: (_gst_tag_initialize):
752 * gst/gsttaglist.h:
753 API: add GST_TAG_PREVIEW_IMAGE (#343341).
755 2006-05-30 Wim Taymans <wim@fluendo.com>
757 Patch by: Alessandro Decina <alessandro at nnva dot org>
759 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
760 Unlock mutex when removing an unknown pad.
761 Fixes #343334.
763 * tests/check/Makefile.am:
764 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
765 (push_event), (setup), (teardown), (GST_START_TEST),
766 (gst_collect_pads_suite), (main):
767 Added collecpads check, disabled for now as check crashes for
768 some reason.
770 2006-05-29 Wim Taymans <wim@fluendo.com>
772 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
773 Don't leak pads lists.
775 2006-05-29 Wim Taymans <wim@fluendo.com>
777 * docs/libs/gstreamer-libs-sections.txt:
778 * libs/gst/base/gstcollectpads.c:
779 (gst_collect_pads_set_flushing_unlocked),
780 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
781 (gst_collect_pads_stop):
782 * libs/gst/base/gstcollectpads.h:
783 API: gst_collect_pads_set_flushing()
784 Added api to set the pads to flushing, useful for seeking
785 code in elements using collectpads.
786 Clear segment when receiving a flush.
788 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
790 * gst/gst.c: (add_path_func), (init_post):
791 Don't scan registry paths passed via --gst-plugin-path immediately
792 (will crash, because absolutely nothing is set up and no types are
793 registered etc.); do this later in init_post(). Fixes #343057.
795 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
797 * gst/gst.c: (init_post):
798 if we have fork, fork while reading/rebuilding the registry
799 so the parent doesn't take the hit of having all plugins loaded
800 in memory. Fixes #342777.
801 * configure.ac:
802 Check if we have fork()
803 * win32/common/config.h.in:
804 no fork() on win32
806 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
808 * plugins/elements/gstelements.c:
809 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
810 (gst_file_src_init), (gst_file_src_set_property),
811 (gst_file_src_get_property), (gst_file_src_start):
812 * plugins/elements/gstfilesrc.h:
813 API: GstFileSrc::use-mmap
815 Add a use-mmap property to enable easier testing of all code paths.
816 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
817 in the absence of gnomevfssrc. (Closes #340501)
819 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
821 * tools/gst-inspect.c:
822 Add missing include, removes warning of ngettext not being defined on
823 some arches.
825 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
827 * gst/gstvalue.c: (gst_value_deserialize_fraction):
828 Handle NULL input and output pointers silently as a failed conversion,
829 rather than g_warnings.
831 2006-05-25 Wim Taymans <wim@fluendo.com>
833 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
834 Initialize variable before using. Fixes #342820.
836 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
838 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
839 Fix off-by-one bug that would only allow peeks of N-1 bytes
840 from the start even if the buffer to typefind on contains
841 in fact N bytes of data (makes vorbis typefinding from a
842 vorbis identification header buffer work).
844 * tests/check/Makefile.am:
845 * tests/check/libs/.cvsignore:
846 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
847 (gst_typefindhelper_suite), (main), (foobar_typefind),
848 (plugin_init):
849 Add very basic unit test for gst_type_find_helper_for_buffer()
850 that checks for the problem fixed above.
852 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
854 * tools/gst-inspect.c: (print_interfaces),
855 (print_element_properties_info), (print_element_list), (main):
856 add more translatable strings
858 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
860 Patch by: Julien Moutte <julien at moutte net>
862 * docs/gst/gstreamer-sections.txt:
863 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
865 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
866 (gst_fake_sink_preroll):
867 * plugins/elements/gstfakesink.h:
868 API: Add new GstFakeSink::preroll-handoff signal (#337100).
870 2006-05-23 Wim Taymans <wim@fluendo.com>
872 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
873 * gst/gstpad.h:
874 Added _CUSTOM error and success GstFlowReturn that can be
875 used be elements internally.
876 Added macro to check for SUCCESS flowreturns.
877 API: GST_FLOW_CUSTOM_SUCCESS
878 API: GST_FLOW_CUSTOM_ERROR
879 API: GST_FLOW_IS_SUCCESS
881 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
882 Added check for GstFlowReturn sanity.
884 2006-05-23 Wim Taymans <wim@fluendo.com>
886 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
888 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
889 (gst_collect_pads_event):
890 clear/reset segment info in FLUSH_STOP.
891 Fixes #336929.
893 2006-05-22 Stefan Kost <ensonic@users.sf.net>
895 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
896 (gst_collect_pads_check_collected):
897 Flush queued buffer on _stop(), fixes playing again (#342454)
899 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
901 * tests/check/gst/gststructure.c: (GST_START_TEST),
902 (gst_structure_suite):
903 add a test for a complete structure
905 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
907 * docs/faq/developing.xml:
908 * docs/faq/faq.xml:
909 * docs/faq/troubleshooting.xml:
910 * docs/faq/using.xml:
911 Some minor FAQ updates that won't change the fact that
912 our FAQ is badly structured, full of information hardly
913 anyone new to GStreamer needs to know and lacking lots
914 of information people constantly ask for.
916 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
918 * gst/gstpad.c: (gst_pad_set_caps):
919 Short-circuit gst_pad_set_caps if setting the existing
920 caps pointer again, and avoid printing debug and
921 reffing/unreffing the caps.
923 * plugins/elements/gstqueue.c: (gst_queue_push_one):
924 There's actually no need to set the caps before pushing -
925 the acceptcaps method will handle it anyway.
927 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
929 * docs/gst/gstreamer-sections.txt:
930 * win32/common/libgstreamer.def:
931 * gst/gstutils.c: (gst_element_seek_simple):
932 * gst/gstutils.h:
933 API: add gst_element_seek_simple() (#342238).
935 2006-05-18 Edward Hervey <edward@fluendo.com>
937 * gst/gsttypefind.c: (gst_type_find_get_type):
938 * gst/gsttypefind.h:
939 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
940 registered for GstTypeFind pointers. This allows wrapping the structure
941 in bindings (i.e. gst-python).
943 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
945 * gst/gsttagsetter.c:
946 Docs additions and fixes (see #339918).
948 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
950 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
951 The caps intersection algorithm can produce multiple copies of the
952 caps. Until that is fixed, we need to simplify the result to be
953 sure whether the allowed caps are fixed or not.
955 * plugins/elements/gstqueue.c: (gst_queue_init),
956 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
957 (gst_queue_push_one):
958 Proxied buffer alloc should not set the caps on the source pad.
959 When pushing buffers, we always accept the caps change that triggers.
960 This prevents negotiation errors caused by caps changing mid-stream
961 and then being refused on our source pad (because upstream is now
962 refusing those caps).
964 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
966 * tests/examples/helloworld/helloworld.c: (main):
967 Must plug audioconvert and audioresample between decoder
968 and audio sink.
970 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
972 * gst/gstregistryxml.c: (read_string), (load_pad_template),
973 (load_feature), (load_plugin):
974 Allow empty strings for some of the plugin fields so we don't
975 drop valid plugin entries that were written out correctly
976 (Fixes #341479)
978 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
980 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
981 Use g_remove and g_rename instead of remove and rename that don't
982 handle utf8 characters. rename was failing for users who had specific
983 characters in their name then the registry was built at each
984 gstreamer init.
985 * win32/vs6/gst_inspect.dsp:
986 * win32/vs6/gst_launch.dsp:
987 * win32/vs6/libgstbase.dsp:
988 * win32/vs6/libgstcoreelements.dsp:
989 * win32/vs6/libgstreamer.dsp:
990 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
991 build of libgstreamer and clean unused libraries in projects link
992 settings.
994 2006-05-17 Edward Hervey <edward@fluendo.com>
996 * plugins/elements/gstqueue.c: (gst_queue_push_one):
997 The queue is not responsible for pushing an EOS when receiving a fatal
998 flow error. It's up to the real element driving the pipeline to do that.
1000 2006-05-16 Edward Hervey <edward@fluendo.com>
1002 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1003 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1004 buffer returned a fatal error. It should just send an EOS and stop
1005 its task.
1006 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1007 when pushing buffers on the queue and will be able to handle the event.
1009 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
1011 * docs/manual/basics-bins.xml:
1012 * docs/manual/basics-init.xml:
1013 Fix typos and minor errors in sample code (#341856).
1015 2006-05-16 Wim Taymans <wim@fluendo.com>
1017 * docs/design/part-qos.txt:
1018 Fix indexes in formulas to make more sense.
1020 2006-05-15 Wim Taymans <wim@fluendo.com>
1022 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1023 Don't report POSITION based on clock time if sync is
1024 disabled in a sink.
1026 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
1028 * gst/gstobject.h:
1029 Add cast to make compiler happy - refcount variable was a gint
1030 in GstObject but is a guint in GObject and g_atomic_int_get()
1031 wants a gint *.
1033 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
1035 * gst/parse/Makefile.am:
1036 chain commands using &&, which also makes parallel make work
1038 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
1040 * docs/gst/gstreamer-sections.txt:
1041 * gst/gstevent.c:
1042 * gst/gstevent.h:
1043 * gst/gstmessage.h:
1044 Minor docs fixes.
1046 === release 0.10.6 ===
1048 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
1050 * configure.ac:
1051 releasing 0.10.6, "Take the cannoli"
1053 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
1055 * tools/gst-launch.c: (print_tag):
1056 Fix use of uninitialized variable in the hypothetical
1057 case that some broken plugin creates a GST_TAG_IMAGE
1058 tag containing a NULL buffer (#341667).
1060 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
1062 * tools/gst-launch.c: (print_tag):
1063 Print something more intelligible for image tags when
1064 using the -t switch (#341556).
1066 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
1068 * Makefile.am:
1069 updates for win32
1070 * configure.ac:
1071 define GST_MAJORMINOR so we have it available in win32/common/config.h
1072 Possibly remove it from our Makefile.am files later
1073 * win32/common/config.h:
1074 * win32/common/config.h.in:
1075 added GST_MAJORMINOR
1076 * win32/common/gstenumtypes.c: (register_gst_resource_error):
1077 * win32/common/gstversion.h:
1078 updated
1080 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
1082 * win32/MANIFEST:
1083 Update win32 files listing.
1084 * win32/common/gstversion.h:
1085 Add GST_MAJORMINOR definition.
1086 * win32/common/libgstreamer.def:
1087 Add new exported functions.
1089 2006-05-12 Michael Smith <msmith@fluendo.com>
1091 * gst/gstplugin.c: (gst_plugin_load_file):
1092 If an so file has no plugin entry point, unload the module.
1094 2006-05-11 Wim Taymans <wim@fluendo.com>
1096 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1097 (gst_queue_set_property):
1098 Don't forget to signal the _chain or _loop function
1099 when the queue size or thresholds change since that might
1100 cause them to make progres again.
1102 2006-05-11 Stefan Kost <ensonic@users.sf.net>
1104 * gst/gstclock.c: (gst_clock_class_init):
1105 * gst/gstindex.c: (gst_index_class_init):
1106 * gst/gstobject.c: (gst_object_class_init):
1107 * gst/gstpad.c: (gst_pad_class_init):
1108 * gst/gstpipeline.c: (gst_pipeline_class_init):
1109 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1110 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1111 * libs/gst/base/gstbasetransform.c:
1112 (gst_base_transform_class_init):
1113 * libs/gst/net/gstnetclientclock.c:
1114 (gst_net_client_clock_class_init):
1115 * libs/gst/net/gstnettimeprovider.c:
1116 (gst_net_time_provider_class_init):
1117 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1118 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1119 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1120 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1121 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1122 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1123 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1124 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1125 * plugins/elements/gsttee.c: (gst_tee_class_init):
1126 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1127 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1128 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1130 2006-05-11 Wim Taymans <wim@fluendo.com>
1132 * gst/gstbuffer.c: (_gst_buffer_initialize):
1133 Register subbufer along with the buffer type so that
1134 it does not accidentally gets registered from N
1135 different streaming threads in a non threadsafe way.
1137 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1139 * gst/gstbuffer.h:
1140 * gst/gstevent.h:
1141 * gst/gstmessage.h:
1142 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1143 gst_event_ref() and gst_message_ref() functions again
1144 (ugly hack, please do fix if there's a better way besides
1145 overrides.txt, which doesn't seem to work).
1147 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1149 * libs/gst/check/gstcheck.h:
1150 add an assert for setting state to avoid lots of repetitive code
1151 in the future
1153 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1155 * gst/gstvalue.c: (gst_value_serialize_flags):
1156 fix a leak if no flags are set
1157 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1158 fix leak in tests
1160 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
1162 * docs/manual/basics-pads.xml:
1163 Expand a bit on caps and filtered links and update
1164 examples that were still using the no longer existing
1165 gst_pad_link_filtered() (#338206).
1167 2006-05-10 Wim Taymans <wim@fluendo.com>
1169 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1170 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1171 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1172 (gst_collect_pads_stop):
1173 * libs/gst/base/gstcollectpads.h:
1174 No need to call _stop in _finalize.
1175 Iterate the main pad list in _finalize.
1176 Added some more debug.
1177 Free lists and data in the right order.
1178 Also free data whem doing _remove_pad when stopped for
1179 backward compatibility protect ::started with PAD_LOCK as
1180 well.
1182 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1184 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1185 (gst_structure_parse_value):
1186 add some comments
1187 rename a method so that it actually says what it does better
1189 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
1191 * gst/gstevent.c: (_gst_event_initialize):
1192 * gst/gstformat.c: (_gst_format_initialize):
1193 make sure some essential types used by events are registered
1194 as part of gst_init()
1195 * gst/gstvalue.c: (gst_value_serialize_flags):
1196 if no flags are set, serialize them to a value that represents NONE
1197 so that deserializing them works
1198 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1199 add tests for serialization and deserialization of flags
1201 2006-05-10 Wim Taymans <wim@fluendo.com>
1203 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1204 (gst_collect_pads_collect_range), (gst_collect_pads_available),
1205 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1206 (gst_collect_pads_event), (gst_collect_pads_chain):
1207 Update docs.
1208 Better debug info.
1209 Catch and return errors from the collect function
1210 Refuse data on eos pads.
1212 2006-05-10 Edward Hervey <edward@fluendo.com>
1214 * gst/gstinterface.h:
1215 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1216 GInterface type checking.
1217 They were previously using non-defined macros.
1219 2006-05-09 Wim Taymans <wim@fluendo.com>
1221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1222 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1223 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1224 (gst_collect_pads_start), (gst_collect_pads_stop),
1225 (gst_collect_pads_peek), (gst_collect_pads_pop),
1226 (gst_collect_pads_available), (gst_collect_pads_read),
1227 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1228 (gst_collect_pads_is_collected), (gst_collect_pads_event),
1229 (gst_collect_pads_chain):
1230 * libs/gst/base/gstcollectpads.h:
1231 Clean up the mess that is collectpads, add comments and
1232 FIXMEs where needed.
1233 Maintain a separate pad list so we can add pads while
1234 collecting the other ones. For this we need a new separate
1235 lock (see comics).
1236 Fix memory leak in finalize.
1237 Refactor some weird code to set/unset pad flushing flags, mark
1238 with comments.
1239 Don't crash in _available, _read, _flush when we're EOS.
1241 * tests/check/libs/.cvsignore:
1242 Ignore adapter check binary.
1244 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1246 * gst/gstindex.c: (gst_index_resolver_get_type):
1247 * plugins/elements/gstfakesink.c:
1248 (gst_fake_sink_state_error_get_type):
1249 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1250 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1251 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1252 Const-ify GEnumValue arrays.
1254 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1256 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1257 Add test case for flags + gst_buffer_make_metadata_writable().
1259 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1261 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1262 gst_buffer_make_metadata_writable() should maintain the
1263 buffer flags (those that make sense at least) (see #340859).
1265 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1267 * tools/gst-inspect.c:
1268 * tools/gst-launch.c:
1269 * tools/gst-typefind.c:
1270 * tools/gst-xmlinspect.c:
1271 * tools/tools.h:
1272 Fix up includes: need to include stdlib.h in tools.h for exit().
1274 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
1276 * gst/gsttaglist.c: (_gst_tag_initialize):
1277 * gst/gsttaglist.h:
1278 API: add GST_TAG_IMAGE tag (#340721).
1280 2006-05-08 Wim Taymans <wim@fluendo.com>
1282 * gst/gstquery.c:
1283 Added some docs for the segment query.
1285 2006-05-08 Wim Taymans <wim@fluendo.com>
1287 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1288 (gst_base_src_loop), (gst_base_src_change_state):
1289 Always push non-flushing serialized events in the streaming
1290 thread.
1292 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
1294 * gst/gsterror.c: (_gst_stream_errors_init):
1295 Add a missing error string.
1297 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
1299 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1300 Add applied_rate to the debug
1302 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1303 Copy applied_rate into the outgoing NEWSEGMENT event
1305 2006-05-08 Wim Taymans <wim@fluendo.com>
1307 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1309 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1310 (gst_base_sink_change_state):
1311 call ::unlock before taking the PREROLL_LOCK so we can safely
1312 handle elements that lock in ::render.
1313 Fixes #340174.
1315 2006-05-08 Edward Hervey <edward@fluendo.com>
1317 * autogen.sh: (CONFIGURE_DEF_OPT):
1318 Darwin's libtoolize is in fact called glibtoolize.
1319 Adding glibtoolize to the list of accepted names for libtoolize.
1321 2006-05-08 Wim Taymans <wim@fluendo.com>
1323 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1324 Unify error handling, don't post an error message
1325 when a push() returns EOS but perform our normal EOS
1326 handling code. Fixes #340772.
1328 2006-05-08 Wim Taymans <wim@fluendo.com>
1330 * docs/design/part-overview.txt:
1331 Make upsteam/downstream concepts more clear.
1332 Give an example of serialized/non-serialized events.
1334 * docs/design/part-events.txt:
1335 * docs/design/part-streams.txt:
1336 Mention applied_rate.
1338 * docs/design/part-trickmodes.txt:
1339 Mention applied rate, flesh out some more use cases.
1341 * gst/gstevent.c: (gst_event_new_new_segment),
1342 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1343 (gst_event_parse_new_segment_full), (gst_event_new_tag),
1344 (gst_event_parse_tag), (gst_event_new_buffer_size),
1345 (gst_event_parse_buffer_size), (gst_event_new_qos),
1346 (gst_event_parse_qos), (gst_event_parse_seek),
1347 (gst_event_new_navigation):
1348 * gst/gstevent.h:
1349 Add applied_rate field to NEWSEGMENT event.
1350 API: gst_event_new_new_segment_full()
1351 API: gst_event_parse_new_segment_full()
1353 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1354 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1355 (gst_segment_to_stream_time), (gst_segment_to_running_time):
1356 * gst/gstsegment.h:
1357 Add applied_rate to GstSegment structure.
1358 Make calculation of stream_time and running_time more correct
1359 wrt rate/applied_rate.
1360 Add some more docs.
1361 API: GstSegment::applied_rate field
1362 API: gst_segment_set_newsegment_full();
1364 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1365 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1366 * libs/gst/base/gstbasetransform.c:
1367 (gst_base_transform_sink_eventfunc),
1368 (gst_base_transform_handle_buffer):
1369 Parse and use applied_rate in the GstSegment field.
1371 * tests/check/gst/gstevent.c: (GST_START_TEST):
1372 Add check for applied_rate field.
1374 * tests/check/gst/gstsegment.c: (GST_START_TEST),
1375 (gstsegments_suite):
1376 Add more checks for various GstSegment operations.
1378 2006-05-08 Wim Taymans <wim@fluendo.com>
1380 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1381 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1382 (gst_base_sink_get_position), (gst_base_sink_change_state):
1383 Store the sync time of the buffer end position separatly in a
1384 new variable eos_rtime so we can properly sync the EOS event.
1385 Fixes #340697.
1386 Fix the docs for gst_base_sink_set_qos_enabled().
1387 Don't set segment start to invalid value when we receive a
1388 non TIME newsegment.
1389 get closer to handling position reporting for negative rates
1390 correctly.
1392 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1394 * gst/gstcaps.c:
1395 Docs about how to print caps for debug purposes.
1397 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1398 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1400 2006-05-07 Stefan Kost <ensonic@users.sf.net>
1402 * gst/gstelement.c:
1403 use full enum names and preprend a '%' in docs strings to make recent
1404 gtk-doc turn that into a link
1406 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1408 * docs/manual/basics-bins.xml:
1409 * docs/manual/basics-bus.xml:
1410 * docs/manual/basics-pads.xml:
1411 Some typo fixes, some additions, some clarifications.
1413 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1415 * tools/gst-inspect.c: (main):
1416 * tools/gst-launch.c: (main):
1417 * tools/gst-run.c: (main):
1418 * tools/gst-typefind.c: (main):
1419 * tools/gst-xmlinspect.c: (main):
1420 Use the string passed to g_option_context_new() for
1421 what it's intended for - the program name is already
1422 printed elsewhere.
1424 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1426 * tools/Makefile.am:
1427 * tools/gst-inspect.c: (main):
1428 * tools/gst-launch.c: (main):
1429 * tools/gst-xmlinspect.c: (main):
1430 * tools/tools.h:
1431 Add back --version command line option (#340460).
1433 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1434 Add --version option and use GOption for argument parsing; refactor a
1435 bit; accept directories as arguments and recurse into them; lastly,
1436 print a decent error message when things go wrong.
1438 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1440 * docs/manual/basics-bins.xml:
1441 Don't mention GstThread (#340611)
1442 * docs/manual/basics-elements.xml:
1443 Update link to GObject tutorial (#340607)
1445 2006-05-05 Wim Taymans <wim@fluendo.com>
1447 * gst/gstbuffer.h:
1448 * gst/gstminiobject.c:
1449 Add note about refcounting and miniobject/buffer writeability
1450 to docs. Fixes #340604
1452 * gst/gstelementfactory.h:
1453 Added some explanation about @klass.
1455 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1457 * docs/manual/intro-motivation.xml:
1458 * docs/manual/manual.xml:
1459 Avoid CORBA & Bonobo references (#340598)
1461 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1463 * docs/manual/basics-bus.xml:
1464 * docs/manual/basics-pads.xml:
1465 Fix up some inaccuracies and omissions (#340609)
1467 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
1469 * gst/gstghostpad.c:
1470 Small typo in docs (#340625)
1472 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1474 * gst/parse/Makefile.am:
1475 Make 'make -j' proof (see #340698).
1477 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
1479 * configure.ac:
1480 Require GLib-2.8 here as well.
1482 2006-05-05 Wim Taymans <wim@fluendo.com>
1484 * gst/glib-compat.c:
1485 * gst/gst.c: (init_pre):
1486 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
1487 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
1488 (gst_object_dispatch_properties_changed):
1489 * gst/gstobject.h:
1490 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1491 * gst/gststructure.c: (gst_structure_set_valist):
1492 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1493 Remove pre glib2.8 compatibility, fixes #340508
1495 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1497 * gst/gsttaglist.h:
1498 Mention type of tags in doc blurbs.
1500 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
1502 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1503 (gst_pad_configure_src), (gst_pad_push):
1504 Restore acceptcaps checking behaviour now that good plugins have
1505 been released.
1507 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
1509 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1511 * gst/gst.c:
1512 * gst/gstbus.c:
1513 * gst/gstclock.c:
1514 * gst/gstevent.c:
1515 * gst/gstformat.c:
1516 * gst/gstmessage.c:
1517 * gst/gstparse.c:
1518 * gst/gstquery.c:
1519 * gst/gstutils.c:
1520 * gst/parse/Makefile.am:
1521 * libs/gst/base/gstadapter.c:
1522 * libs/gst/base/gstbasesrc.c:
1523 * libs/gst/base/gstpushsrc.c:
1524 * libs/gst/base/gsttypefindhelper.c:
1525 * plugins/elements/gstfakesrc.c:
1526 * plugins/elements/gstidentity.c:
1527 Make sure gstprivate.h and/or config.h are
1528 always included first, otherwise some of our
1529 defines (like _FILE_OFFSET_BITS) might be
1530 redefined in the system headers. Fixes build
1531 on opensolaris (#340016).
1533 2006-05-04 Wim Taymans <wim@fluendo.com>
1535 * docs/libs/gstreamer-libs-sections.txt:
1536 API: addition: gst_adapter_take_buffer()
1538 * libs/gst/base/gstadapter.c: (gst_adapter_push),
1539 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1540 (gst_adapter_available_fast):
1541 * libs/gst/base/gstadapter.h:
1542 Prepare for optimizing the hell out of this hugely inefficient
1543 piece of code.
1544 Added gst_adapter_take_buffer() so we can at least start thinking
1545 about subbuffering and merging.
1546 Added some comments.
1548 * tests/check/Makefile.am:
1549 * tests/check/libs/adapter.c: (GST_START_TEST),
1550 (gst_adapter_suite), (main):
1551 Added GstAdapter check.
1553 2006-05-04 Wim Taymans <wim@fluendo.com>
1555 * docs/design/part-overview.txt:
1556 Fix some typos, add blurb about buffer flags.
1558 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
1560 * docs/libs/gstreamer-libs-sections.txt:
1561 make sure GstBaseTransformClass shows up in the docs
1562 * libs/gst/base/gstbasetransform.c:
1563 * libs/gst/base/gstbasetransform.h:
1564 move docs so gtk-doc picks it up now
1566 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1568 * docs/libs/gstreamer-libs-sections.txt:
1569 add missing symbols to docs
1571 2006-05-02 Stefan Kost <ensonic@users.sf.net>
1573 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1574 back out the newsegment handling change, see #340060 for ongoing
1575 discussion
1577 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
1579 * tools/gst-run.c: (get_candidates), (main):
1580 Fix wrong g_file_test() usage (see glib docs for why it doesn't
1581 work); fix typo in error message. Fixes #340079.
1583 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1585 * common/Makefile.am:
1586 * docs/Makefile.am:
1587 * docs/faq/Makefile.am:
1588 * docs/gst/Makefile.am:
1589 * docs/libs/Makefile.am:
1590 * docs/manual/Makefile.am:
1591 * docs/plugins/Makefile.am:
1592 * docs/pwg/Makefile.am:
1593 * docs/slides/Makefile.am:
1594 * docs/upload.mak:
1595 * common/upload.mak:
1596 move upload.mak to common
1598 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
1600 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1601 add more asserts on refcounts
1602 do more cleanup at end of tests
1603 fix test leaks showing in FC5
1605 2006-04-29 Stefan Kost <ensonic@users.sf.net>
1607 * plugins/elements/gsttypefindelement.c:
1608 (gst_type_find_element_handle_event):
1609 reverted wrong change and reflowed code to avoid others falling into
1610 this trap
1612 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1614 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1615 fix changelog entry about last collectpads change,
1616 add notes about proper fix
1618 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1620 * gst/gst.c:
1621 * gst/gstregistry.c: (gst_registry_scan_path_level),
1622 (gst_registry_scan_path):
1623 * gst/gstregistry.h:
1624 only write out registry if it has changed, fixes #338339
1626 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1628 * gst/gstbin.c:
1629 * gst/gstpipeline.c:
1630 * plugins/elements/gstcapsfilter.c:
1631 * plugins/elements/gstfakesink.c:
1632 * plugins/elements/gstfakesrc.c:
1633 * plugins/elements/gstfdsink.c:
1634 * plugins/elements/gstfdsrc.c:
1635 * plugins/elements/gstfilesink.c:
1636 * plugins/elements/gstfilesrc.c:
1637 * plugins/elements/gstidentity.c:
1638 * plugins/elements/gstqueue.c:
1639 * plugins/elements/gsttee.c:
1640 * plugins/elements/gsttypefindelement.c:
1641 (gst_type_find_element_handle_event):
1642 make GstElementDetails const
1644 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1646 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1647 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1648 (gst_collect_pads_is_collected), (gst_collect_pads_event):
1649 more detailed debug and formatting cleanup,
1650 forward newsegments to src-pad (so that e.g. adder not eats them)
1652 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1654 * gst/gstutils.c: (gst_element_link_pads):
1655 cleanup double code
1657 2006-04-28 Stefan Kost <ensonic@users.sf.net>
1659 * libs/gst/controller/gstcontroller.c:
1660 (gst_controller_sync_values):
1661 some little tuning
1662 * tests/check/libs/controller.c: (GST_START_TEST),
1663 (gst_controller_suite):
1664 a new test for live value handling
1666 2006-04-28 Wim Taymans <wim@fluendo.com>
1668 * gst/gstutils.c: (push_and_ref):
1669 Added some more docs.
1670 Fix refcount issue whith gst_element_found_tags() helper
1671 function. Fixes #338335
1673 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1674 Added testsuite for gst_element_found_tags().
1676 2006-04-28 Michael Smith <msmith@fluendo.com>
1678 * gst/gstvalue.c: (gst_value_serialize_flags):
1679 Avoid NULL dereference when trying to serialize flags containing
1680 invalid values.
1682 2006-04-28 Michael Smith <msmith@fluendo.com>
1684 * plugins/elements/gsttypefindelement.c:
1685 (gst_type_find_element_handle_event):
1686 If we get EOS before any data is accumulated, don't use
1687 uninitialised local variables.
1689 2006-04-28 Michael Smith <msmith@fluendo.com>
1691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1692 (gst_dp_event_from_packet):
1693 Fixes in reading/writing events over GDP (not currently used?) -
1694 dereferencing NULL events for unknown/invalid event types, memory
1695 leak, and change g_warning to GST_WARNING.
1697 2006-04-28 Wim Taymans <wim@fluendo.com>
1699 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1700 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1701 (gst_base_sink_get_position), (gst_base_sink_change_state):
1702 When frame dropping is enabled, we should not ignore frames
1703 without a duration.
1704 Update some documentation.
1706 2006-04-28 Wim Taymans <wim@fluendo.com>
1708 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1709 (gst_base_src_send_event), (gst_base_src_change_state):
1710 Documentation updates.
1712 2006-04-28 Wim Taymans <wim@fluendo.com>
1714 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1715 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1716 handle EAGAIN, EINTR and short writes correctly. Also clean
1717 up some error cases, avoid a deadlock on bad file descriptors and
1718 use GST_DEBUG_OBJECT.
1719 Fixes #339843
1721 2006-04-28 Wim Taymans <wim@fluendo.com>
1723 * gst/gstvalue.c: (gst_value_serialize_buffer),
1724 (gst_value_deserialize_buffer):
1725 Don't try to serialize a GValue with a NULL buffer.
1726 Fixes #339821.
1728 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1729 Added check for serialisation of NULL buffers.
1731 2006-04-28 Wim Taymans <wim@fluendo.com>
1733 * gst/gstminiobject.c: (gst_value_take_mini_object):
1734 Taking a NULL miniobject is valid, fix the case where
1735 we try to unref the NULL miniobject.
1737 2006-04-28 Wim Taymans <wim@fluendo.com>
1739 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1741 * gst/gstbin.c: (gst_bin_handle_message_func):
1742 Update docs.
1743 Don't leak bin refcount when a state recalc is
1744 in progress and we delay another one #339808.
1746 2006-04-28 Wim Taymans <wim@fluendo.com>
1748 * docs/design/part-TODO.txt:
1749 Mention QoS as an ongoing work item.
1751 * docs/design/part-buffering.txt:
1752 New doc about buffering that needs to be fleshed out
1753 at some point.
1755 * docs/design/part-qos.txt:
1756 More QoS policy for decoders/demuxers/transforms
1758 * docs/design/part-trickmodes.txt:
1759 Small update.
1761 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1763 * configure.ac:
1764 back to HEAD
1766 === release 0.10.5 ===
1768 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
1770 * configure.ac:
1771 releasing 0.10.5, "Fogo"
1773 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
1775 patch by: Wim Taymans
1777 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1778 (gst_pad_configure_src), (gst_pad_push):
1779 * gst/gstpipeline.c: (gst_pipeline_init):
1780 Fix internal data flow errors. Fixes #338711.
1782 2006-04-12 Wim Taymans <wim@fluendo.com>
1784 * tests/check/gst/gstelement.c: (GST_START_TEST):
1785 Don't leak the factory.
1787 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
1789 * configure.ac:
1790 * win32/common/config.h:
1791 prerelease
1793 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
1795 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1796 (gst_controller_unset_all):
1797 Free allocated GstTimedValues when freeing list nodes.
1798 Should fix leaks 'make check-valgrind' complains about.
1800 * win32/common/libgstcontroller.def:
1801 Add gst_controller_unset_all.
1803 2006-04-11 Stefan Kost <ensonic@users.sf.net>
1805 * docs/libs/gstreamer-libs-sections.txt:
1806 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1807 (gst_controller_unset_all):
1808 * libs/gst/controller/gstcontroller.h:
1809 API: Added new method gst_controller_unset_all()
1810 fixed gst_controller_unset()
1811 * tests/check/libs/controller.c: (GST_START_TEST),
1812 (gst_controller_suite):
1813 Added two testcases for new and fixed method
1815 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
1817 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1818 MSG_DONTWAIT is not defined on Cygwin, so work
1819 around that (fixes #317048).
1821 2006-04-11 Wim Taymans <wim@fluendo.com>
1823 * gst/gstelementfactory.c: (gst_element_register),
1824 (gst_element_factory_create), (gst_element_factory_make):
1825 Some cleanups.
1826 Fixed a FIXME.
1827 Updated docs (Fixes #131079)
1829 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1830 Small cleanups.
1832 * tests/check/gst/gstelement.c: (GST_START_TEST),
1833 (gst_element_suite):
1834 Added testcase for elementfactory class field.
1836 2006-04-10 Wim Taymans <wim@fluendo.com>
1838 * gst/gstsegment.c:
1839 Added some more docs.
1841 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1842 (gst_base_sink_reset_qos):
1843 Calculate more accurate rate values.
1845 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
1847 * gst/gst_private.h:
1848 add a new #ifdef to use __declspec(dllimport) only for
1849 other modules and not for gstreamer core
1850 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1851 use gst_guint64_to_gdouble for conversion
1852 * win32/common/libgstreamer.def:
1853 add new exported functions
1854 * win32/vs6/gst_inspect.dsp:
1855 * win32/vs6/gst_launch.dsp:
1856 * win32/vs6/libgstbase.dsp:
1857 * win32/vs6/libgstcontroller.dsp:
1858 * win32/vs6/libgstcoreelements.dsp:
1859 * win32/vs6/libgstdataprotocol.dsp:
1860 * win32/vs6/libgstnet.dsp:
1861 update project files
1863 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1865 * gst/gstbuffer.c: (gst_subbuffer_class_init):
1866 * gst/gstclock.c: (gst_clock_class_init):
1867 * gst/gstelement.c: (gst_element_class_init):
1868 * gst/gstindex.c: (gst_index_class_init):
1869 * gst/gstindexfactory.c: (gst_index_factory_class_init):
1870 * gst/gstobject.c: (gst_object_class_init),
1871 (gst_signal_object_class_init):
1872 * gst/gstpad.c: (gst_pad_class_init):
1873 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1874 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1875 * gst/gstregistry.c: (gst_registry_class_init):
1876 * gst/gstsystemclock.c: (gst_system_clock_class_init):
1877 * gst/gsttask.c: (gst_task_class_init):
1878 * gst/gstxml.c: (gst_xml_class_init):
1879 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1880 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1881 (gst_base_src_loop):
1882 * libs/gst/controller/gstcontroller.c:/
1883 (_gst_controller_class_init):
1884 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1885 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1886 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1887 * tests/old/examples/plugins/example.c: (gst_example_class_init):
1888 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1889 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1891 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
1893 * gst/gstpad.c: (gst_pad_link):
1894 Must set peer pads before calling the link function, otherwise
1895 a task started from a link function might get a flow-not-linked
1896 result when trying to push because the other thread where the
1897 linking happens hasn't had a chance to set the peers yet. This
1898 might happen for example when a queue gets linked to a downstream
1899 element, as queue starts a streaming task when its source pad
1900 gets linked. Happens in real life when playing back flac/musepack
1901 files in playbin (#332390).
1903 2006-04-08 Stefan Kost <ensonic@users.sf.net>
1905 * gst/gstindex.h:
1906 * gst/gstxml.h:
1907 * libs/gst/base/gstadapter.h:
1908 * libs/gst/base/gstbasesink.h:
1909 * libs/gst/base/gstbasesrc.h:
1910 * libs/gst/base/gstbasetransform.h:
1911 * libs/gst/base/gstcollectpads.h:
1912 * libs/gst/base/gstpushsrc.h:
1913 Fix broken GObject macros
1915 2006-04-07 Wim Taymans <wim@fluendo.com>
1917 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1918 Initialize start and stop times, thanks valgrind.
1920 2006-04-07 Wim Taymans <wim@fluendo.com>
1922 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1923 Be a bit nicer to badly behaving upstream elements that expect
1924 us to deal with non TIME segments and timestamps (such as fakesrc
1925 in the testsuite).
1927 2006-04-07 Wim Taymans <wim@fluendo.com>
1929 * gst/gstbus.c:
1930 Small documentation clarification about the signal watch.
1932 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1933 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1934 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1935 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1936 (gst_base_sink_get_position_last),
1937 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1938 Convert and store timestamps in stream time and running time, the
1939 raw timestamps are not usefull, also document this better.
1940 Use different window sizes for good and bad QoS observations so
1941 we react to badness a little quicker.
1942 Keep track of the amount of rendered and dropped buffers.
1943 Send QoS timestamps in running time.
1945 * libs/gst/base/gstbasetransform.c:
1946 (gst_base_transform_sink_eventfunc),
1947 (gst_base_transform_handle_buffer):
1948 Compare QoS timestamps against running time.
1950 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1952 * gst/gstpad.c:
1953 Typo fixes in docs.
1955 2006-04-06 Michael Smith <msmith@fluendo.com>
1957 * gst/gstpad.c: (gst_pad_set_property):
1958 Use g_value_get_object() instead of g_value_dup_gst_object(),
1959 to avoid double-reffing the pad template (which we then sink,
1960 so this worked previously if (and only if) the pad template
1961 was floating.
1963 * gst/gstpadtemplate.c: (gst_pad_template_init),
1964 (gst_pad_template_pad_created):
1965 Never return floating references to pad templates, create
1966 them as initially-sunken.
1968 Document an extra function (and make this stop sinking our
1969 pad template, since that is now guaranteed to do nothing,
1970 since we created it sunken).
1972 * gst/gstghostpad.c:
1973 Fix docs typo.
1975 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
1977 * gst/gstinfo.c: (__gst_in_valgrind):
1978 Add some newlines.
1980 * plugins/elements/gsttypefindelement.c:
1981 (gst_type_find_element_chain):
1982 Don't leak buffer caps.
1984 2006-04-06 Michael Smith <msmith@fluendo.com>
1986 * gst/parse/grammar.y:
1987 Fix a leak in parse-launch for any source-or-sink named element
1988 references used.
1990 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1991 Unref the pipeline if it exists after we've failed parsing.
1993 2006-04-05 Michael Smith <msmith@fluendo.com>
1995 * gst/gstpipeline.c: (gst_pipeline_init):
1996 When we create a pipeline bus, initially create it in flushing mode.
1997 Fixes leaks in at least one test, and makes a new pipeline work the
1998 same as one that has gone to READY and then back to NULL.
2000 * gst/gstelement.c:
2001 Typo fix in docs.
2003 2006-04-05 Michael Smith <msmith@fluendo.com>
2005 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2006 Unref a pad we reffed.
2007 * tests/check/gst/gstutils.c: (GST_START_TEST):
2008 Unref bins
2010 2006-04-05 Michael Smith <msmith@fluendo.com>
2012 * gst/gstquery.c: (gst_query_set_formats),
2013 (gst_query_set_formatsv):
2014 Fix leaking GValues in queries, as shown by valgrind/testsuite.
2016 2006-04-05 Michael Smith <msmith@fluendo.com>
2018 * tests/check/generic/sinks.c: (GST_START_TEST):
2019 Fix a variety of memleaks in sinks check, which are only sometimes
2020 shown by running the tests under valgrind (weird?).
2022 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
2024 * docs/version.entities.in:
2025 Fix the substituted entity name after thomas' changes on the
2026 weekend.
2028 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2030 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2031 VALGRIND_PRINTF
2033 2006-04-05 Andy Wingo <wingo@pobox.com>
2035 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2037 * libs/gst/base/gstbasetransform.c
2038 (gst_base_transform_sink_eventfunc): When resetting our segment on
2039 FLUSH_STOP, also update the flag saying we haven't seen a
2040 newsegment.
2042 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2044 Patch by: Paolo Borelli <pborelli at katamail dot com>
2046 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2047 (gst_plugin_check_license):
2048 minor clean-ups: G_DEFINE_TYPE already takes care of the
2049 parent_class stuff, no need to do it twice. Mark array of
2050 license strings as constant. (#337103)
2052 2006-04-04 Michael Smith <msmith@fluendo.com>
2054 * tools/gst-inspect.c: (print_element_list):
2055 Free the right plugin list; fixes a memory leak.
2057 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2059 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2061 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2062 Don't error out on empty buffers (#336945).
2064 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
2066 * docs/libs/gstreamer-libs-sections.txt:
2067 * gst/gsttaglist.c:
2068 * libs/gst/base/gstbasesink.c:
2069 * libs/gst/base/gstbasesink.h:
2070 * libs/gst/base/gstbasesrc.c:
2071 * libs/gst/base/gstbasesrc.h:
2072 Documentation updates. Make BaseSink and BaseSrc docs contain the
2073 class structure so that people can actually see the prototypes for
2074 virtual functions they're supposed to be overriding.
2076 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
2078 * plugins/elements/gsttypefindelement.c:
2079 (gst_type_find_element_chain):
2080 More debug info; when skipping typefinding, send cached
2081 events in all cases.
2083 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
2085 * configure.ac:
2086 use new AS_VERSION and AS_NANO macros
2087 * gst/gst-i18n-lib.h:
2088 * gst/gst.c:
2089 * gst/gsterror.c:
2090 * gst/gstversion.h.in:
2091 * win32/common/config.h:
2092 * win32/common/config.h.in:
2093 update accordingly
2095 2006-03-31 Michael Smith <msmith@fluendo.com>
2097 * plugins/elements/gsttypefindelement.c:
2098 (gst_type_find_element_chain):
2099 Do not typefind content if the buffers already have caps.
2100 Neccesary for icydemux (#333657), and the right thing to do anyway.
2102 2006-03-30 Wim Taymans <wim@fluendo.com>
2104 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2105 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2106 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2107 (gst_base_sink_record_qos_observation),
2108 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2109 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2110 (gst_base_sink_change_state):
2111 More QoS measurements as described in the design doc.
2112 Get rid of ringbuffer with observations, running average is
2113 more simple and equally good.
2114 Calculates valid proportion now.
2115 Added beginning of flood measurement.
2117 2006-03-29 Wim Taymans <wim@fluendo.com>
2119 * docs/design/part-qos.txt:
2120 * gst/gstclock.c:
2121 Small documentation updates and additions.
2123 2006-03-29 Wim Taymans <wim@fluendo.com>
2125 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2126 (gst_base_src_send_event), (gst_base_src_loop),
2127 (gst_base_src_change_state):
2128 Perform the EOS logic when we reach the segment stop position.
2129 Fix compilation on gcc4.1
2131 2006-03-29 Wim Taymans <wim@fluendo.com>
2133 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2135 * plugins/elements/gstqueue.c: (gst_queue_init),
2136 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2137 (gst_queue_set_property):
2138 * plugins/elements/gstqueue.h:
2139 In queue, when EOS is received, if minimum threshold > max_size -
2140 current_level, there is chance that queue blocks forever in conditional
2141 item del wait. This is because the queue is not emptied completely due
2142 to minimum threshold. Here is another approach. Instead of setting
2143 cur_levels to max in EOS, just zero all minimum threshold levels. This
2144 should make sure that queue gives out all data. When going to READY
2145 (stop) state, just reset the original minimum threshold levels.
2146 Fixes #336336.
2148 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
2150 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2151 (gst_type_find_element_handle_event),
2152 (gst_type_find_element_send_cached_events),
2153 (gst_type_find_element_change_state):
2154 * plugins/elements/gsttypefindelement.h:
2155 When typefinding is done in push mode, we should cache
2156 events we receive during typefinding instead of just
2157 dropping them (e.g. newsegment, custom events from
2158 dvdreadsrc etc.) and then send them out once we've
2159 determined the type of the stream (and decodebin
2160 has had a chance to plug in a decoder/demuxer).
2162 2006-03-27 Wim Taymans <wim@fluendo.com>
2164 * docs/design/part-qos.txt:
2165 First QoS ideas.
2167 2006-03-27 Wim Taymans <wim@fluendo.com>
2169 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2171 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2172 (gst_base_src_send_event), (gst_base_src_change_state):
2173 Handle element seek correctly when we are streaming.
2174 Fixes #326998.
2176 2006-03-24 Michael Smith <msmith@fluendo.com>
2178 * docs/faq/gst-uninstalled:
2179 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2180 allow you to correctly run intalled applications built against old
2181 core, using plugins that require updated core (e.g. running
2182 installed totem against a full uninstalled gstreamer stack)
2184 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2186 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2187 more debug details
2189 2006-03-24 Wim Taymans <wim@fluendo.com>
2191 * docs/gst/gstreamer-sections.txt:
2192 Rearrange the order of the methods so that related methods
2193 are grouped together in sections.
2195 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2197 * gst/gstelement.c:
2198 Little clarification in the docs
2200 2006-03-24 Stefan Kost <ensonic@users.sf.net>
2202 * docs/README:
2203 formatting fix
2204 * plugins/elements/gstidentity.c:
2205 * plugins/elements/gstqueue.c:
2206 * plugins/elements/gsttee.c:
2207 * plugins/elements/gsttypefindelement.c:
2208 GST_ELEMENT_DETAILS formatting
2210 2006-03-24 Wim Taymans <wim@fluendo.com>
2212 * libs/gst/base/gstbasesink.h:
2213 Only add fields, not insert or we break ABI.
2215 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2217 * win32/common/libgstbase.def:
2218 * win32/common/libgstreamer.def:
2219 Update, add recently added functions.
2221 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2223 * docs/gst/gstreamer-sections.txt:
2224 * gst/gstutils.c: (gst_pad_query_peer_position),
2225 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2226 * gst/gstutils.h:
2227 API: add some new utility functions:
2228 - gst_pad_query_peer_position()
2229 - gst_pad_query_peer_duration()
2230 - gst_pad_query_peer_convert()
2232 2006-03-23 Wim Taymans <wim@fluendo.com>
2234 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2235 (gst_base_sink_init), (gst_base_sink_finalize),
2236 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2237 (gst_base_sink_set_property), (gst_base_sink_get_property),
2238 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2239 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2240 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2241 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2242 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2243 (gst_base_sink_preroll_object), (gst_base_sink_event),
2244 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2245 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2246 (gst_base_sink_query), (gst_base_sink_change_state):
2247 Decouple max-lateness and the fact that QoS messages are generated
2248 with a new property (qos).
2249 added API: GstBaseSink::async_play()
2250 Add vmethod so subclasses can be notified of ASYNC playing
2251 state changes.
2252 Collect timestamp start and stop to report better current
2253 position in EOS/PLAYING/PAUSED/READY/NULL.
2254 Refactor QoS/frame dropping and other measurements.
2255 API: GstBaseSrc::qos
2256 Fixes #326311
2258 * libs/gst/base/gstbasesink.h:
2259 Added Private struct.
2260 API: gst_base_sink_set_qos_enabled()
2261 API: gst_base_sink_is_qos_enabled()
2263 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
2265 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2266 If compiling against GLib-2.8 or newer, try to read the
2267 registry file using GMappedFile first before falling back
2268 to fopen() + fread() (#332151).
2270 2006-03-22 Wim Taymans <wim@fluendo.com>
2272 * gst/gstinfo.c: (gst_debug_set_active),
2273 (gst_debug_category_set_threshold):
2274 Disable debugging unless explicitly activated.
2275 Fixes #335480.
2277 2006-03-22 Wim Taymans <wim@fluendo.com>
2279 * gst/gstelement.c: (gst_element_set_locked_state),
2280 (gst_element_dispose):
2281 Cleanup the error case.
2283 * gst/gstobject.c: (gst_object_dispose):
2284 print a critical when some object was disposed with
2285 a parent, also revive the object since it might
2286 crash the parent.
2288 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
2290 * tools/gst-launch.1.in:
2291 Fix another typo.
2293 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2295 * configure.ac:
2296 * tests/check/Makefile.am:
2297 disable some tests when we don't have a registry
2298 * tests/check/gst/gstutils.c: (gst_utils_suite):
2299 don't build the part that needs parsing
2301 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
2303 * gst/Makefile.am
2304 * tests/examples/Makefile.am:
2305 fix --disable-parse build
2307 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2309 * tools/gst-feedback.1.in:
2310 Fix typo: s/feeback/feedback/ (#133494).
2312 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2314 * tools/Makefile.am:
2315 * tools/gst-launch.1.in:
2316 Add FILES section and correct entry about GST_REGISTRY_PATH
2317 environment variable (#133495; #133494).
2319 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2321 * tools/Makefile.am:
2322 * tools/gst-md5sum.1.in:
2323 * tools/gst-md5sum.c:
2324 Remove gst-md5sum and man page (the md5sink element
2325 required was removed ages ago)
2327 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2329 * gst/gststructure.c: (gst_structure_id_set_value):
2330 Make sure that string fields in structures/taglists
2331 contain valid UTF-8 - we don't want to pass rubbish to
2332 applications because of a buggy plugin (cp. #334167).
2334 2006-03-21 Edward Hervey <edward@fluendo.com>
2336 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2337 (gst_bin_handle_message_func):
2338 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2339 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2340 (gst_element_set_bus_func):
2341 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2342 * gst/gstminiobject.c: (gst_value_set_mini_object),
2343 (gst_value_take_mini_object):
2344 * gst/gstpad.c: (gst_pad_set_pad_template):
2345 * gst/gstpipeline.c: (gst_pipeline_dispose),
2346 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2347 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2348 (gst_collect_pads_chain):
2349 * libs/gst/net/gstnettimeprovider.c:
2350 (gst_net_time_provider_set_property):
2351 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2352 It's in fact all issues with gst_*object_replace().
2354 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
2356 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
2358 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2359 * pkgconfig/gstreamer-check.pc.in:
2360 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2362 2006-03-21 Edward Hervey <edward@fluendo.com>
2364 * gst/gstbuffer.h:
2365 * gst/gstevent.h:
2366 * gst/gstmessage.h:
2367 gst_[buffer|event|message]_ref() macros are replaced by a static
2368 inline functions because gcc-4.1 will about if the return value
2369 isn't used.
2370 * tests/check/gst/gstevent.c: (event_probe):
2371 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2373 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
2375 * gst/gstutils.h:
2376 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2377 the type' case. (Closes: #335195 for now). In the future, when we
2378 depend on GLib 2.10, we could also intern the type name using
2379 g_intern_static_string()
2381 2006-03-20 Wim Taymans <wim@fluendo.com>
2383 * gst/gstbin.c: (gst_bin_handle_message_func),
2384 (bin_query_max_init), (bin_query_position_fold),
2385 (bin_query_position_done), (gst_bin_query):
2386 Position query should also take max of all streams.
2388 2006-03-20 Wim Taymans <wim@fluendo.com>
2390 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2391 (gst_fake_src_finalize):
2392 Fix leaks in fakesrc.
2394 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2395 Fix leaks in the testcase.
2397 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
2399 * gst/gst_private.h:
2400 add win32 specific import decoration(__declspec(dllimport))
2401 for all extern GstDebugCategory * variables
2402 * win32/common/libgstbase.def:
2403 * win32/common/libgstcontroller.def:
2404 * win32/common/libgstreamer.def:
2405 Add some exports, remove empty lines
2406 * win32/common/libgstdataprotocol.def:
2407 * win32/common/libgstdataprotocol.dsp:
2408 * win32/common/libgstnet.def:
2409 * win32/common/libgstnet.dsp:
2410 new project files and exportation files added
2412 2006-03-19 Wim Taymans <wim@fluendo.com>
2414 * tests/check/libs/basesrc.c: (eos_event_counter):
2415 Use proper return value for probe.
2417 2006-03-17 Wim Taymans <wim@fluendo.com>
2419 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2420 (gst_pad_push):
2421 Don't leak buffers, caps and pads on negotiation errors.
2423 2006-03-16 Stefan Kost <ensonic@users.sf.net>
2425 * docs/faq/cvs.xml:
2426 * docs/faq/dependencies.xml:
2427 * docs/faq/developing.xml:
2428 * docs/faq/faq.xml:
2429 * docs/faq/general.xml:
2430 * docs/faq/getting.xml:
2431 * docs/faq/legal.xml:
2432 * docs/faq/troubleshooting.xml:
2433 * docs/faq/using.xml:
2434 Faq review and update.
2436 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
2438 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2439 (gst_pad_push):
2440 Don't pound the cpu to pieces by checking get_caps when accept_caps
2441 is called with the same caps as the pad already has.
2442 Use GST_DEBUG_OBJECT when outputting caps change information.
2444 2006-03-15 Wim Taymans <wim@fluendo.com>
2446 * gst/gstclock.c: (gst_clock_class_init):
2447 Fix docs.
2449 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
2451 * gst/gstbuffer.h:
2452 Documentation fix.
2454 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2455 (gst_pad_accept_caps), (gst_pad_configure_sink),
2456 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2457 Make the default acceptcaps behaviour be to check the requested
2458 caps against the gst_pad_get_caps output.
2460 Ensure that gst_pad_accept_caps is used to check caps when a pad
2461 doesn't have a setcaps function, so that pads automatically refuse
2462 caps that they don't allow in their pad template. (Fixes #332986)
2464 When a buffer with attached caps is pushed, ensure that the source
2465 pad receives those caps even if the element didn't call
2466 gst_pad_set_caps first.
2468 2006-03-15 Wim Taymans <wim@fluendo.com>
2470 * libs/gst/base/gstadapter.c:
2471 Add some docs.
2473 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
2475 * win32/common/libgstbase.def:
2476 * win32/common/libgstcontroller.def:
2477 * win32/common/libgstreamer.def:
2478 Add a whole bunch of missing functions (#334434).
2480 2006-03-14 Wim Taymans <wim@fluendo.com>
2482 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2483 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2484 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
2485 Better debug info when we receive a segment event.
2486 Reorganize a bit so we can pass the get_times() results around.
2487 Use the segment format when calculating the running time.
2488 Don't do QoS is sync is disabled or we have no clock or the
2489 element does not want us to sync to the clock.
2490 Don't drop buffers if QoS is disabled for now.
2492 2006-03-14 Wim Taymans <wim@fluendo.com>
2494 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2495 Marked the stats property as unimplemented so people don't get
2496 wild ideas.
2497 Add debug message when regression goes wrong.
2498 Added some more docs.
2500 2006-03-14 Wim Taymans <wim@fluendo.com>
2502 * gst/gstsegment.c: (gst_segment_to_stream_time):
2503 Return correct return type in case of errors.
2505 2006-03-14 Wim Taymans <wim@fluendo.com>
2507 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2508 Don't segfault on invalid formats.
2510 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2512 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2513 Can't use gst_segment_to_running_time() when the segment
2514 is not in GST_TIME_FORMAT (like with filesink, for example).
2515 Stops flac encoding pipelines from spewing critical warnings
2516 at EOS (#331248).
2518 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
2520 * gst/gstpipeline.c: (gst_pipeline_class_init):
2521 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2523 * plugins/elements/gsttypefindelement.c:
2524 (gst_type_find_element_handle_event):
2525 Don't try to typefind empty streams.
2527 2006-03-14 Wim Taymans <wim@fluendo.com>
2529 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2530 (gst_base_sink_do_qos):
2531 Separate QoS calculation.
2532 Only drop buffers when lateness is bigger than the
2533 duration of the buffer.
2535 2006-03-13 Wim Taymans <wim@fluendo.com>
2537 * gst/gstpipeline.c: (gst_pipeline_set_property),
2538 (gst_pipeline_get_property), (do_pipeline_seek),
2539 (gst_pipeline_change_state), (gst_pipeline_set_delay),
2540 (gst_pipeline_get_delay):
2541 Don't deadlock when reading properties.
2543 2006-03-13 Wim Taymans <wim@fluendo.com>
2545 * libs/gst/base/gstbasetransform.c:
2546 (gst_base_transform_class_init), (gst_base_transform_init),
2547 (gst_base_transform_sink_event),
2548 (gst_base_transform_sink_eventfunc),
2549 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2550 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2551 (gst_base_transform_set_property),
2552 (gst_base_transform_get_property),
2553 (gst_base_transform_change_state), (gst_base_transform_update_qos),
2554 (gst_base_transform_set_qos_enabled),
2555 (gst_base_transform_is_qos_enabled):
2556 * libs/gst/base/gstbasetransform.h:
2557 Make basetransform virtual method for src events too.
2558 Handle QOS in basetransform.
2559 API: gst_base_transform_update_qos()
2560 API: gst_base_transform_set_qos_enabled()
2561 API: gst_base_transform_is_qos_enabled()
2563 2006-03-13 Wim Taymans <wim@fluendo.com>
2565 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2566 (gst_base_sink_do_sync):
2567 Small cleanups.
2568 Use QOS debug category.
2570 2006-03-13 Wim Taymans <wim@fluendo.com>
2572 * plugins/elements/gstqueue.c:
2573 Very small doc update.
2575 2006-03-13 Wim Taymans <wim@fluendo.com>
2577 * gst/gst_private.h:
2578 * gst/gstinfo.c: (_gst_debug_init):
2579 Added QOS debug category
2581 2006-03-13 Wim Taymans <wim@fluendo.com>
2583 * docs/gst/gstreamer-sections.txt:
2584 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2585 * gst/gstbin.h:
2586 * gst/gstbus.c: (gst_bus_class_init):
2587 * gst/gstbus.h:
2588 * gst/gstclock.c:
2589 * gst/gstelement.c: (gst_element_set_locked_state):
2590 * gst/gstsegment.c:
2591 Documentation updates.
2593 * gst/gstpipeline.c: (gst_pipeline_get_type),
2594 (gst_pipeline_class_init), (gst_pipeline_init),
2595 (gst_pipeline_dispose), (gst_pipeline_set_property),
2596 (gst_pipeline_get_property), (do_pipeline_seek),
2597 (gst_pipeline_send_event), (gst_pipeline_change_state),
2598 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2599 (gst_pipeline_get_delay):
2600 * gst/gstpipeline.h:
2601 Added methods for setting the delay.
2602 API: gst_pipeline_set_delay()
2603 API: gst_pipeline_get_delay()
2604 Add pipeline debug category
2605 Various cleanups.
2606 Updated docs.
2607 Don't reset stream time when seek failed.
2609 2006-03-13 Wim Taymans <wim@fluendo.com>
2611 * docs/design/draft-klass.txt:
2612 * docs/design/part-clocks.txt:
2613 * docs/design/part-events.txt:
2614 * docs/design/part-gstbin.txt:
2615 * docs/design/part-gstpipeline.txt:
2616 * docs/design/part-messages.txt:
2617 * docs/design/part-negotiation.txt:
2618 * docs/design/part-overview.txt:
2619 * docs/design/part-preroll.txt:
2620 * docs/design/part-seeking.txt:
2621 * docs/design/part-states.txt:
2622 * docs/design/part-streams.txt:
2623 Documentation updates.
2625 2006-03-12 Julien MOUTTE <julien@moutte.net>
2627 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2628 us to leak strings...
2630 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
2632 * libs/gst/net/gstnettimeprovider.c:
2633 fix docs
2634 * win32/common/config.h:
2635 update
2637 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
2639 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2641 * configure.ac:
2642 Don't check for libgnomeui (leftover from old examples
2643 that aren't built or disted any longer) (#334303).
2645 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
2647 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2648 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2649 Emit RESOURCE_NO_SPACE_LEFT error here as well when
2650 there's no space left on the device.
2652 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
2654 * gst/gstclock.h:
2655 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2656 to cast the input to GstClockTime before comparing with
2657 another GstClockTime value.
2659 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2661 * configure.ac:
2662 back to trunk
2664 === release 0.10.4 ===
2666 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
2668 * configure.ac:
2669 releasing 0.10.4, "Light"
2671 2006-03-10 Michael Smith <msmith@fluendo.com>
2673 * libs/gst/dataprotocol/dataprotocol.c:
2674 Fix docs for dataprocotol to not get the return types completely
2675 wrong for a few functions.
2677 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2679 * docs/gst/gstreamer-sections.txt:
2680 * gst/gstpipeline.c: (gst_pipeline_class_init),
2681 (gst_pipeline_init), (gst_pipeline_set_property),
2682 (gst_pipeline_get_property), (gst_pipeline_change_state),
2683 (gst_pipeline_set_auto_flush_bus),
2684 (gst_pipeline_get_auto_flush_bus):
2685 * gst/gstpipeline.h:
2686 Add new API: gst_pipeline_set_auto_flush_bus() and
2687 gst_pipeline_get_auto_flush_bus() to disable automatic
2688 flushing of the pipeline's GstBus when going from READY
2689 to NULL state (#332045).
2691 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2693 * docs/gst/gstreamer-sections.txt:
2694 * gst/gsturi.c: (gst_uri_has_protocol):
2695 * gst/gsturi.h:
2696 Add new API: gst_uri_has_protocol() (#333779).
2698 2006-03-09 Wim Taymans <wim@fluendo.com>
2700 * gst/gstclock.c: (gst_clock_entry_new),
2701 (gst_clock_id_compare_func), (gst_clock_id_wait),
2702 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2703 (gst_clock_init), (gst_clock_get_internal_time),
2704 (gst_clock_set_master), (do_linear_regression),
2705 (gst_clock_add_observation), (gst_clock_set_property):
2706 * gst/gstclock.h:
2707 Review docs.
2708 Small cleanups.
2709 Fix a possible segfault when the window-size is made smaller.
2710 Calculate jitter before performing the clock wait. Ideally
2711 the clock implementation should calculate jitter but we need
2712 API breakage for that.
2714 * gst/gstsystemclock.c: (gst_system_clock_init):
2715 Docs review.
2717 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2718 Remove leftover else
2720 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2721 (gst_systemclock_suite):
2722 Added check to test GST_CLOCK_DIFF.
2724 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
2726 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2727 (gst_type_find_helper_get_range):
2728 If we are provided with the size, we should implement
2729 GstTypeFind::get_length, so that typefind functions who
2730 want to can actually peek at the middle of a file.
2732 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
2734 * docs/manual/advanced-dataaccess.xml:
2735 Add some very very basic error checking.
2737 * docs/pwg/appendix-checklist.xml:
2738 Some updates to the list of things to check when writing an element.
2740 2006-03-08 Wim Taymans <wim@fluendo.com>
2742 * docs/design/part-element-transform.txt:
2743 Added some docs about the design of tranform elements.
2745 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2746 (gst_base_src_loop), (gst_base_src_change_state):
2747 Mark buffers with the DISCONT flag.
2749 2006-03-08 Michael Smith <msmith@fluendo.com>
2751 * gst/gstregistry.h:
2752 * gst/gstregistryxml.c: (gst_registry_save),
2753 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2754 (gst_registry_xml_save_pad_template),
2755 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2756 (gst_registry_xml_write_cache):
2757 Rewrite registry-saving to avoid race conditions and check for
2758 failed writes.
2760 2006-03-08 Wim Taymans <wim@fluendo.com>
2762 * libs/gst/base/gstbasetransform.c:
2763 (gst_base_transform_transform_caps),
2764 (gst_base_transform_transform_size),
2765 (gst_base_transform_prepare_output_buffer),
2766 (gst_base_transform_get_unit_size),
2767 (gst_base_transform_buffer_alloc),
2768 (gst_base_transform_handle_buffer),
2769 (gst_base_transform_change_state):
2770 Cleanups, separate normal flow from errors, add sensible
2771 DEBUG lines.
2772 Don't try to renegotiate when allocating an output buffer.
2773 Also copy DISCONT buffer flag when copying a buffer.
2774 Reset the transform after we finish streaming, not during.
2776 2006-03-08 Wim Taymans <wim@fluendo.com>
2778 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2779 Use last buffer timestamp in qos message.
2781 2006-03-07 Wim Taymans <wim@fluendo.com>
2783 Patch by: Christophe Fergeau
2785 * docs/pwg/advanced-tagging.xml:
2786 * docs/pwg/building-pads.xml:
2787 fixes #333416
2789 2006-03-07 Wim Taymans <wim@fluendo.com>
2791 * docs/libs/gstreamer-libs-sections.txt:
2792 Added basesink new methods.
2794 * gst/gstevent.c:
2795 * gst/gstevent.h:
2796 Docs updates. Flesh out the QoS docs.
2798 * libs/gst/base/gstadapter.c:
2799 Small doc clarification about ownership and flushing.
2801 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2802 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2803 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2804 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2805 * libs/gst/base/gstbasesink.h:
2806 API additions:
2807 Added new methods to allow subclass to control max-lateness
2808 and sync.
2809 Generate very basic QoS events based on last sync observation.
2810 Updated docs, fix typo, added some QoS blurb.
2812 * libs/gst/base/gstbasesrc.c:
2813 Remove obsolete _get_state() calls from docs.
2815 2006-03-07 Wim Taymans <wim@fluendo.com>
2817 * docs/libs/gstreamer-libs-sections.txt:
2818 * libs/gst/base/gstbasetransform.h:
2819 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2820 Fix docs for GstBaseSrc.
2822 2006-03-07 Wim Taymans <wim@fluendo.com>
2824 * docs/gst/gstreamer-sections.txt:
2825 * gst/gstbuffer.h:
2826 * gst/gstvalue.c:
2827 * libs/gst/base/gstbasetransform.h:
2828 Small documentation fixes.
2830 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2832 * gst/gstvalue.c:
2833 Document thread-unsafety of gst_value_register_foo_func()
2834 when used at the same time as gst_value_foo() (#322628).
2836 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
2838 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2839 (gst_push_src_check_get_range):
2840 Push sources don't support pull mode by default.
2842 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2844 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2845 (gst_base_src_init), (gst_base_src_pad_check_get_range),
2846 (gst_base_src_default_check_get_range):
2847 * libs/gst/base/gstbasesrc.h:
2848 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2849 provide default implementation, and rename
2850 gst_base_src_check_get_range() to
2851 gst_base_src_pad_check_get_range() for clarity.
2853 2006-03-06 Wim Taymans <wim@fluendo.com>
2855 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2856 Make property overridable.
2858 2006-03-06 Wim Taymans <wim@fluendo.com>
2860 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2861 (gst_base_sink_init), (gst_base_sink_set_property),
2862 (gst_base_sink_get_property), (gst_base_sink_do_sync):
2863 * libs/gst/base/gstbasesink.h:
2864 API addition: Make max-lateness a property.
2866 2006-03-06 Wim Taymans <wim@fluendo.com>
2868 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2869 (gst_base_sink_do_sync), (gst_base_sink_render_object):
2870 Don't ever draw a frame that is >10ms late.
2872 2006-03-06 Michael Smith <msmith@fluendo.com>
2874 * gst/gstmessage.c: (_gst_message_copy):
2875 When copying a message, set the parent_refcount of the enclosed
2876 structure to point at the copy, not the original message.
2878 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
2880 Patch by: Christophe Fergeau
2882 * gst/gstutils.h:
2883 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2884 usable in c++ code (#333417)
2886 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
2888 * gst/gstclock.h:
2889 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2891 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
2893 * libs/gst/base/gstbasetransform.c:
2894 (gst_base_transform_transform_caps):
2895 Make sure caps are writable before passing them to
2896 gst_caps_append().
2898 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2900 * gst/gsterror.h:
2901 Fix some minor docs errors.
2903 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
2905 Patch by: Ross Burton <ross at burtonini dot com>
2907 * gst/gsterror.c: (_gst_resource_errors_init):
2908 * gst/gsterror.h:
2909 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2911 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2913 * gst/gst.c:
2914 Add a check and output a g_warning when GStreamer is built
2915 against GLib 2.6 but running against 2.8 or higher, and vice
2916 versa. (Closes: #323542)
2918 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
2920 * gst/parse/parse.l:
2921 Commit patch for parse_launch syntax from #331255. Removes
2922 support for quoted strings and mimetypes when writing filtered
2923 caps. See the bug report for more details - I'm pretty sure this
2924 obscure feature is not in use by _anyone_ anywhere.
2926 With this simple change, the size of the gstreamer.so here
2927 drops from 2193KB to 1565KB.
2929 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2931 * plugins/elements/gsttypefindelement.h:
2932 * plugins/elements/gsttypefindelement.c:
2933 (gst_type_find_element_src_event), (start_typefinding),
2934 (stop_typefinding), (gst_type_find_element_handle_event),
2935 (gst_type_find_element_chain),
2936 (gst_type_find_element_chain_do_typefinding):
2937 Use gst_type_find_helper_for_buffer() for chain-based
2938 typefinding.
2940 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2942 * plugins/elements/gsttypefindelement.c:
2943 (gst_type_find_element_class_init),
2944 (gst_type_find_element_set_property),
2945 (gst_type_find_element_get_property):
2946 Deprecate "maximum" property (not only was it only taken into
2947 account for typefinding in push-mode anyway, it also was never
2948 actually possible to set it in the first place because the
2949 property was registered with the numeric property ID for the
2950 "minimum" property). Register "maximum" property correctly,
2951 for the sake of future copy'n'pasters. Remove some cruft
2952 from property get/set functions.
2954 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
2956 * plugins/elements/gsttypefindelement.c:
2957 (gst_type_find_element_activate):
2958 Use gst_type_find_helper_get_range() here, so we
2959 can honour the "minimum" property and also emit
2960 the signal with the correct probability of the found caps.
2962 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
2964 * docs/libs/gstreamer-libs-sections.txt:
2965 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2966 (helper_find_suggest), (gst_type_find_helper_get_range),
2967 (gst_type_find_helper):
2968 * libs/gst/base/gsttypefindhelper.h:
2969 New API: gst_type_find_helper_get_range() (#333042).
2971 2006-03-02 Michael Smith <msmith@fluendo.com>
2973 * gst/gstregistryxml.c: (load_feature):
2974 Asserting on a failure to read part of the registry is Not Cool.
2975 Just log a warning and return NULL (which is already handled)
2977 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
2979 * win32/common/libgstbase.def:
2980 added export of gst_type_find_helper_for_buffer
2981 * win32/common/libgstbase.def:
2982 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2983 gst_ghost_pad_get_target
2985 2006-02-28 Wim Taymans <wim@fluendo.com>
2987 * docs/design/draft-klass.txt:
2988 We use Filter now.
2989 Added Connector to mark elements that are only used to
2990 allow pipeline connections.
2991 Moved Debug to extra feature since most of them are
2992 functionally something else.
2994 2006-02-28 Wim Taymans <wim@fluendo.com>
2996 * docs/design/draft-klass.txt:
2997 Some updates and clarifications.
2999 2006-02-28 Wim Taymans <wim@fluendo.com>
3001 * docs/design/draft-klass.txt:
3002 Proposal for klass field values.
3004 * docs/design/part-streams.txt:
3005 Start of a doc describing stream anatomy.
3007 2006-02-28 Wim Taymans <wim@fluendo.com>
3009 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3010 Help the compiler a bit with type registration.
3011 Use existing forward cod path instead of duplicating it when
3012 handling a message.
3014 * gst/gstbus.c: (gst_bus_get_type):
3015 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3016 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3017 * gst/gstclock.c: (gst_clock_get_type):
3018 * gst/gstelement.c: (gst_element_get_type),
3019 * gst/gstelementfactory.c: (gst_element_factory_get_type):
3020 * gst/gstindexfactory.c: (gst_index_factory_get_type):
3021 * gst/gstminiobject.c: (gst_mini_object_get_type):
3022 * gst/gstpad.c: (gst_pad_get_type):
3023 * gst/gstsegment.c: (gst_segment_get_type):
3024 * gst/gststructure.c: (gst_structure_get_type):
3025 * gst/gstsystemclock.c: (gst_system_clock_get_type):
3026 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3027 * gst/gstvalue.c:
3028 Help compiler with type registration.
3030 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3031 Small doc update.
3033 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3035 * plugins/elements/gsttypefindelement.c:
3036 (gst_type_find_element_handle_event):
3037 When we get an EOS event and have not found a type yet
3038 (most likely because we had not yet accumulated
3039 TYPE_FIND_MIN_SIZE of data yet), try to determine the
3040 type given the data we have so far. Fixes typefinding
3041 for very short streams again, most notably quicktime
3042 redirections as used on Apple's trailer site (#331701).
3044 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3046 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3047 (gst_type_find_helper):
3048 Try typefinding factories with the highest rank first.
3050 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3052 * docs/libs/gstreamer-libs-docs.sgml:
3053 * docs/libs/gstreamer-libs-sections.txt:
3054 * libs/gst/base/gsttypefindhelper.c:
3055 Add section for typefind helper and add documentation
3056 for the old and the new function.
3058 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3060 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3061 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3062 (gst_type_find_helper_for_buffer):
3063 * libs/gst/base/gsttypefindhelper.h:
3064 New API: gst_type_find_helper_for_buffer() (#332723).
3066 2006-02-27 Michael Smith <msmith@fluendo.com>
3068 Patch by: Loïc Minier
3070 * configure.ac:
3071 * docs/Makefile.am:
3072 * docs/slides/Makefile.am:
3073 prevent CVS directories getting disted.
3075 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
3077 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3078 Use the REFCOUNTING category for caps refcounting.
3080 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3082 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3083 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3085 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
3087 * plugins/elements/gsttypefindelement.c:
3088 (gst_type_find_element_activate):
3089 Use gst_pad_check_pull_range() before _activate_pull()
3090 to avoid unnecessary open/close (see #331690).
3092 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3094 * gst/gstutils.c:
3095 Docs enhancement: make it crystal clear what the
3096 gst_pad_add_*_probe() callbacks should look like.
3098 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
3100 * libs/gst/base/gstbasesrc.c:
3101 Document how applications can stop recording from
3102 live sources (see #330996).
3104 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3106 * tests/check/Makefile.am:
3107 * tests/check/libs/basesrc.c: (eos_event_counter),
3108 (basesrc_eos_events_pull), (basesrc_eos_events_push),
3109 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3110 (gst_basesrc_suite), (main):
3111 ... and add some tests for the base source EOS stuff.
3113 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3115 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3116 Test case originally showed the problem fixed below,
3117 but was then amended. Add checks back at the place
3118 where they used to be.
3120 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3122 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3123 (gst_base_src_init), (gst_base_src_loop),
3124 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3125 (gst_base_src_change_state):
3126 * libs/gst/base/gstbasesrc.h:
3127 Don't unconditionally send EOS when going from PAUSED to
3128 READY state, esp. make sure we don't send two EOS events
3129 in some cases (e.g. one when reaching EOS and one when
3130 going from PAUSED to READY). Also, we don't want to send
3131 EOS events when operating in pull mode. However, we do
3132 want to send an EOS event when shutting down a live
3133 source explicitly, for example (fixes #330996).
3135 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
3137 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3138 Update src->read_position after a seek when not using mmap.
3139 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3141 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
3143 * gst/Makefile.am:
3144 * gst/gstparse.h:
3145 * gst/gstutils.c:
3146 * gst/gstutils.h:
3147 Make things work with --disable-parse as they do with
3148 --disable-load-save - the symbols involved disappear, but the
3149 header is still installed and GST_DISABLE_PARSE is included via
3150 gstconfig.h
3152 2006-02-20 Julien MOUTTE <julien@moutte.net>
3154 * libs/gst/base/gstbasetransform.c:
3155 (gst_base_transform_change_state): Fix a stupid bug. I was
3156 sure I compiled that.
3158 2006-02-20 Julien MOUTTE <julien@moutte.net>
3160 * gst/gstpad.c: (gst_pad_set_blocked_async):
3161 * gst/gstutils.c: (gst_pad_add_data_probe),
3162 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3163 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3164 (gst_pad_remove_buffer_probe): Make those function act on the
3165 ghostpad target when it's a ghostpad. (Closes #331727)
3167 2006-02-20 Julien MOUTTE <julien@moutte.net>
3169 * libs/gst/base/gstbasetransform.c:
3170 (gst_base_transform_change_state): Make basetransform reusable.
3171 (Closes #331898)
3173 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
3175 * docs/random/release:
3176 Move the current documentation of how to do a release to the top
3177 of the file.
3179 * gst/gstbin.c: (gst_bin_class_init),
3180 (gst_bin_handle_message_func):
3181 Allow multiple state-recalculation threads. (Closes #328873)
3183 2006-02-19 Julien MOUTTE <julien@moutte.net>
3185 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3186 * gst/gstpad.c: (gst_pad_set_event_function),
3187 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3188 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3189 2 strings. You can't use the STR_NULL macro on that.
3191 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
3193 * gst/gstpad.c: (gst_pad_set_event_function),
3194 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3195 (gst_pad_set_getcaps_function)
3196 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3197 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3198 So now, we can use --gst-debug-level=5 on Windows
3199 * win32/common/libgstcontroller.def:
3200 Added export of gst_controller_init
3201 * win32/vs6/libgstcontroller.dsp:
3202 Fixed Release post build configuration
3204 2006-02-17 Wim Taymans <wim@fluendo.com>
3206 * tests/check/gst/gstquery.c: (GST_START_TEST):
3207 Added another check.
3209 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
3211 * plugins/elements/gsttypefindelement.c: (find_peek):
3212 We can do peeks at non-zero offsets, as long as they
3213 fall within the buffer we have.
3215 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
3217 * tests/check/Makefile.am:
3218 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3219 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3220 (parse_suite), (main):
3221 Add testsuite for parse launch syntax
3223 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
3225 * plugins/elements/gsttypefindelement.c:
3226 (gst_type_find_element_chain):
3227 When typefinding is unsuccessful in the chain function, don't
3228 error out immediately. Only error out with NO_CAPS_FOUND if
3229 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3230 otherwise simply wait for more data so we can try typefinding
3231 again with more data later. Also, don't attempt to typefind
3232 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3233 this should improve typefinding from network sources where the
3234 size of the first buffer can be somewhat random.
3236 2006-02-14 Wim Taymans <wim@fluendo.com>
3238 * docs/gst/gstreamer-sections.txt:
3239 * gst/gstpadtemplate.c:
3240 * gst/gstpadtemplate.h:
3241 Fix padtemplate docs, fixes #328805.
3243 2006-02-14 Wim Taymans <wim@fluendo.com>
3245 * tools/gst-launch.c: (main):
3246 NO_PREROLL is not an ERROR so don't send confusing messages
3247 to the user.
3249 2006-02-14 Wim Taymans <wim@fluendo.com>
3251 Patch by: Torsten Schoenfeld
3253 * gst/gstregistry.c: (gst_registry_get_default),
3254 (_gst_registry_cleanup):
3255 Protect default registry with lock and ref/sink it.
3256 Fixes #324818
3258 2006-02-14 Wim Taymans <wim@fluendo.com>
3260 * gst/gstbuffer.c:
3261 * gst/gstquery.c: (gst_query_list_add_format),
3262 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3263 (gst_query_parse_formats_nth):
3264 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3265 Docs fixes.
3267 2006-02-14 Wim Taymans <wim@fluendo.com>
3269 * docs/gst/gstreamer-sections.txt:
3270 Reworked query docs.
3272 * gst/gstquery.c: (gst_query_new_formats),
3273 (gst_query_list_add_format), (gst_query_set_formats),
3274 (gst_query_set_formatsv), (gst_query_parse_formats_length),
3275 (gst_query_parse_formats_nth):
3276 * gst/gstquery.h:
3277 Flesh out formats query, added some new methods.
3278 Fix part of #324398.
3280 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3281 Added query creation tests.
3283 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
3285 * gst/gstpad.c: (fixate_value):
3286 Add a default fixation for fraction lists.
3288 2006-02-13 Wim Taymans <wim@fluendo.com>
3290 * gst/gsttask.c: (gst_task_init), (gst_task_func),
3291 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3292 (gst_task_join):
3293 * gst/gsttask.h:
3294 Detect and warn for obvious deadlocks. fixes #320340
3295 Fix error case where lock was not released.
3297 * tests/check/Makefile.am:
3298 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3299 (task_func), (gst_element_suite), (main):
3300 Add task check.
3302 2006-02-13 Wim Taymans <wim@fluendo.com>
3304 * docs/gst/gstreamer-sections.txt:
3305 * gst/gstbus.c:
3306 Add new functions to docs.
3308 2006-02-13 Wim Taymans <wim@fluendo.com>
3310 * docs/design/part-TODO.txt:
3311 Updated TODO list, basesrc supports seeking to non-bytes
3312 formats.
3314 * docs/design/part-element-sink.txt:
3315 Update docs.
3317 * gst/gstbin.c: (bin_replace_message),
3318 (gst_bin_handle_message_func):
3319 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3320 * gst/gstevent.c: (gst_event_finalize):
3321 * gst/gstpad.c: (gst_pad_event_default_dispatch),
3322 (gst_pad_send_event):
3323 Use shiny new _TYPE_NAME macros.
3325 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3326 Move debug statement up.
3328 * gst/gstelement.c: (gst_element_set_locked_state):
3329 Add some debugging.
3331 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
3333 * docs/gst/gstreamer-sections.txt:
3334 * gst/gstmessage.h:
3335 * gst/gstquery.h:
3336 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3337 macros (#330906). Also, document the already existing
3338 GST_QUERY_TYPE macro.
3340 2006-02-13 Wim Taymans <wim@fluendo.com>
3342 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3343 (event_probe), (GST_START_TEST):
3344 Only events up to the pipeline EOS are counted, there are
3345 some more when going to NULL currently which we don't care
3346 about for now.
3348 2006-02-13 Wim Taymans <wim@fluendo.com>
3350 * gst/gstpad.c: (gst_pad_send_event):
3351 Correctly check flushing and emit probes. fixes #330125
3353 2006-02-10 Andy Wingo <wingo@pobox.com>
3355 * gst/gstbus.c (gst_bus_class_init): Declare our private data
3356 structure.
3357 (gst_bus_init): Cache the location of the private data in the
3358 instance structure.
3359 (gst_bus_enable_sync_message_emission)
3360 (gst_bus_disable_sync_message_emission): Implement new public
3361 functions.
3362 (gst_bus_post): Emit the sync-message signal if the user asked for
3363 it. Fixes #330684.
3365 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3366 location of the bus-private structure.
3367 (gst_bus_enable_sync_message_emission)
3368 (gst_bus_disable_sync_message_emission): API addition
3370 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
3372 Patch by: Vincent Torri
3374 * docs/pwg/building-boiler.xml:
3375 PWG patch from #326800
3377 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
3379 * configure.ac:
3380 * docs/Makefile.am:
3381 * docs/design/Makefile.am:
3382 Dist design docs.
3384 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3386 * configure.ac:
3387 back to CVS
3389 === release 0.10.3 ===
3391 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3393 * configure.ac:
3394 releasing 0.10.3, "Like a virgin"
3396 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
3398 * configure.ac:
3399 2nd prerelease of 0.10.3
3400 Bump libtool versioning.
3402 2006-02-07 Andy Wingo <wingo@pobox.com>
3404 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3405 update last_stop if we're in TIME format and the timestamp is
3406 valid.
3408 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
3409 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
3410 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3411 If we get a new newsegment with a different format, adapt
3412 accordingly.
3414 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3415 of 0. Not a problem, really.
3417 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3418 warn if sync=true.
3420 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
3422 * configure.ac:
3423 Prelease of 0.10.3
3425 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
3427 * win32/vs7:
3428 project files updated to the default vs7 configuration
3429 * win32/common/libgstbase.def:
3430 * win32/common/libgstreamer.def:
3431 added new symbols,
3432 removed empty lines,
3433 sorted all exported symbols alphabetically
3434 * win32/common/dirent.c:
3435 * win32/common/dirent.h:
3436 * win32/common/gchar.h:
3437 use windows line end.
3439 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3441 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3442 Send EOS event when stopping.
3444 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
3446 * docs/README:
3447 Tell folks what to do if the plugin-foobar.xml file
3448 hasn't been generated for a newly-added plugin.
3450 2006-02-05 Julien MOUTTE <julien@moutte.net>
3452 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3453 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3454 (gst_collect_pads_start), (gst_collect_pads_stop),
3455 (gst_collect_pads_event): Collectpads now holds a reference
3456 to the GstPad that was added. Indeed we don't want to look
3457 at pads that might just go away with no warning...
3459 2006-02-05 Julien MOUTTE <julien@moutte.net>
3461 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3462 (gst_collect_pads_start), (gst_collect_pads_stop),
3463 (gst_collect_pads_event), (gst_collect_pads_chain):
3464 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3465 Mark Nauwelaerts's patch on bug #328491.
3467 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3469 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3470 (gst_utils_suite):
3471 Add some simple tests for gst_parse_bin_from_description() and
3472 gst_bin_find_unconnected_pad() (#329069).
3474 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
3476 * tools/gst-launch.c: (event_loop), (main):
3477 Catch errors during preroll (#320084).
3479 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
3481 * plugins/elements/gsttypefindelement.c:
3482 (gst_type_find_element_activate):
3483 Post TYPE_NOT_FOUND error message when typefinding
3484 is unsuccessful in the activate function as well.
3486 2006-02-02 Wim Taymans <wim@fluendo.com>
3488 * docs/design/part-element-sink.txt:
3489 Updated doc.
3491 2006-02-02 Wim Taymans <wim@fluendo.com>
3493 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3494 (gst_base_sink_render_object),
3495 (gst_base_sink_queue_object_unlocked):
3496 Only keep track of prerollable items when we are
3497 prerolling.
3498 Before rendering after preroll, always check if we
3499 have queued items.
3500 Added some more debugging.
3502 2006-02-02 Wim Taymans <wim@fluendo.com>
3504 * gst/gstelement.c: (gst_element_continue_state),
3505 (gst_element_set_state_func), (gst_element_change_state):
3506 Fixed #326576, been running this for quite some time with
3507 no regressions at all.
3509 2006-02-02 Wim Taymans <wim@fluendo.com>
3511 * common/gst.supp:
3512 Added more suppressions
3514 2006-02-02 Wim Taymans <wim@fluendo.com>
3516 * docs/design/part-element-sink.txt:
3517 Updated document.
3519 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3520 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3521 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3522 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3523 (gst_base_sink_do_sync), (gst_base_sink_render_object),
3524 (gst_base_sink_preroll_object),
3525 (gst_base_sink_queue_object_unlocked),
3526 (gst_base_sink_queue_object), (gst_base_sink_event),
3527 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3528 (gst_base_sink_loop), (gst_base_sink_activate_pull),
3529 (gst_base_sink_get_position), (gst_base_sink_change_state):
3530 * libs/gst/base/gstbasesink.h:
3531 Totally refactored matching the design doc.
3532 Use two segments, one to clip incomming buffers and another to
3533 perform sync.
3534 Handle queueing correctly, bypass the queue when playing.
3535 Make EOS cancelable.
3536 Handle errors correctly when operating in pull based mode.
3538 * tests/check/elements/fakesink.c: (GST_START_TEST),
3539 (fakesink_suite):
3540 Added new check for sinks.
3542 2006-02-02 Wim Taymans <wim@fluendo.com>
3544 * gst/gstsegment.c: (gst_segment_clip):
3545 No reason to refuse to clip when start == -1
3547 2006-02-02 Stefan Kost <ensonic@users.sf.net>
3549 * docs/README:
3550 * docs/manual/intro-basics.xml:
3551 * docs/manual/intro-preface.xml:
3552 * docs/manual/manual.xml:
3553 * docs/pwg/advanced-dparams.xml:
3554 * docs/pwg/intro-basics.xml:
3555 * docs/pwg/intro-preface.xml:
3556 * docs/pwg/pwg.xml:
3557 describe dparams (controller) for plugins
3558 unify docs a little more
3560 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
3562 * docs/gst/gstreamer-sections.txt:
3563 * gst/gstutils.c: (element_find_unconnected_pad),
3564 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3565 * gst/gstutils.h:
3566 Add new API: gst_parse_bin_from_description() and
3567 gst_bin_find_unconnected_pad() (#329069).
3569 2006-02-01 Stefan Kost <ensonic@users.sf.net>
3571 * docs/manual/README:
3572 uncover a nasty detail of the docs build
3574 2006-01-31 Wim Taymans <wim@fluendo.com>
3576 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3577 Don't cache duration messages if we're not going to use or
3578 free them.
3580 2006-01-31 Stefan Kost <ensonic@users.sf.net>
3582 * docs/manual/advanced-dparams.xml:
3583 * docs/pwg/advanced-dparams.xml:
3584 more dparam docs
3585 * gst/gstindex.c:
3586 fix docs
3587 * libs/gst/controller/lib.c: (gst_controller_init):
3588 init just once
3590 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
3592 * gst/gstelement.c: (gst_element_message_full):
3593 also show file/line/func if no additional debug was given
3595 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
3597 * win32/vs7/grammar.vcproj:
3598 activate copy of autogenerated files for Release mode
3600 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3602 * win32/common/libgstreamer.def:
3603 export gst_value_compare
3605 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
3607 * plugins/elements/Makefile.am:
3608 * plugins/elements/gstelements.c:
3609 * plugins/elements/gstfdsink.c: (_do_init),
3610 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3611 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3612 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3613 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3614 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3615 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3616 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3617 * plugins/elements/gstfdsink.h:
3618 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3620 2006-01-30 Stefan Kost <ensonic@users.sf.net>
3622 * docs/manual/advanced-dparams.xml:
3623 describe controller
3624 * docs/manual/advanced-position.xml:
3625 * docs/manual/basics-init.xml:
3626 * docs/manual/manual.xml:
3627 * docs/manual/titlepage.xml:
3628 * docs/pwg/pwg.xml:
3629 * docs/pwg/titlepage.xml:
3630 cleanup xml (more to come)
3631 * libs/gst/controller/gstcontroller.c:
3632 fix typo
3634 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
3636 * win32/vs6/grammar.dsp:
3637 add autogen of gstmarshal.c,h for Release mode
3639 2006-01-30 Wim Taymans <wim@fluendo.com>
3641 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3642 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3643 (gst_base_sink_handle_object), (gst_base_sink_event),
3644 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3645 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3646 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3647 (gst_base_sink_deactivate), (gst_base_sink_activate),
3648 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3649 (gst_base_sink_query), (gst_base_sink_change_state):
3650 Basesink cleanups, remove some old code.
3651 Handle the case where a subclass can preroll in the render
3652 method (mostly audiosinks).
3653 Handle more events.
3654 Remove some locks around variables that are now protected
3655 with the PREROLL_LOCK (clock_id, flushing, ..).
3656 Optimize position query some more, do correct locking.
3657 Remove old code to push queue in state change, this is not
3658 needed anymore since preroll blocks on all prerollable items
3659 now.
3660 Almost implemented as described in design doc.
3662 2006-01-30 Wim Taymans <wim@fluendo.com>
3664 * tests/check/gst/gstbin.c: (GST_START_TEST):
3665 Wait for refcount to settle down before checking.
3667 2006-01-30 Wim Taymans <wim@fluendo.com>
3669 * docs/design/part-element-sink.txt:
3670 Pseudo code overview of desired sink behaviour regarding
3671 preroll.
3673 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3674 * win32/vs6/grammar.dsp:
3675 fix some bugs in Release mode for autogenerated files
3677 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3678 * win32/common/libgstbase.def:
3679 * win32/common/libgstreamer.def:
3680 export some new symbols: gst_base_src_set_format,
3681 gst_iterator_next, gst_structure_set_valist
3683 2006-01-29 Julien MOUTTE <julien@moutte.net>
3685 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3686 Set pad functions unconditionally. Fixes #329105.
3688 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
3689 * win32/vs8:
3690 add vs8 project files created by Sergey Scobich
3692 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
3694 * gst/gstutils.c: (gst_element_unlink_pads):
3695 Don't leak pad references.
3697 * tests/check/elements/fakesink.c: (GST_START_TEST):
3698 * tests/check/generic/sinks.c: (GST_START_TEST):
3699 * tests/check/generic/states.c: (GST_START_TEST):
3700 * tests/check/gst/gstbin.c: (GST_START_TEST):
3701 * tests/check/gst/gstcaps.c: (GST_START_TEST):
3702 * tests/check/gst/gstelement.c: (GST_START_TEST):
3703 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3704 * tests/check/gst/gstiterator.c: (GST_START_TEST):
3705 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3706 Fix a bunch of leaks. Make generic/sinks.c
3707 use a bit less cpu by slowing the buffer rate
3708 between fakesrc and fakesink.
3710 2006-01-27 Stefan Kost <ensonic@users.sf.net>
3711 * gst/gstcaps.c:
3712 * gst/gstelement.c: (gst_element_send_event):
3713 * gst/gstevent.c:
3714 * gst/gstinfo.c:
3715 * gst/gstiterator.c:
3716 * gst/gstiterator.h:
3717 * gst/gstpad.c: (gst_pad_send_event):
3718 * gst/gststructure.c:
3719 * gst/gsturi.c:
3720 * gst/gstutils.c:
3721 * gst/gstvalue.c:
3722 * libs/gst/base/gstadapter.c:
3723 doc fixes, to link to function, just write gst_cool_function(), don't
3724 prefix with '#'
3726 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3728 * plugins/elements/gsttee.c: (gst_tee_do_push),
3729 (gst_tee_handle_buffer):
3730 Always prefer an actual return value from a src
3731 pad in place of NOT_LINKED. This means we return
3732 WRONG_STATE when all src pads are WRONG_STATE
3733 instead of NOT_LINKED.
3735 Lock when replacing the last message to prevent
3736 racing with the get_property method.
3738 Add debug output
3740 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3742 * tests/check/Makefile.am:
3743 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3744 (main):
3745 Add a very simple check that should have caught the memleak I fixed
3746 last night (if not for the slice allocator hiding it)
3748 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
3750 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3751 (gst_bin_remove_func), (gst_bin_handle_message_func),
3752 (bin_query_duration_fold), (bin_query_generic_fold):
3753 Clean up references to the clock provider when disposed or when
3754 handling a clock-lost message from it.
3756 Unref sinks when performing a query via gst_iterator_fold, as the
3757 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3759 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3760 (gst_clock_set_master):
3761 Drop our reference to the master clock, if any, when we are disposed.
3763 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3764 Chain up in dispose.
3766 2006-01-26 Wim Taymans <wim@fluendo.com>
3768 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3769 Add some debugging.
3771 2006-01-26 Julien MOUTTE <julien@moutte.net>
3773 * plugins/elements/gsttee.c: (gst_tee_do_push),
3774 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3775 handles pad being NOT_LINKED or in WRONG_STATE.
3777 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3779 * win32/MANIFEST:
3780 more updating
3782 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3784 * win32/MANIFEST:
3785 remove obsolete entry
3787 2006-01-26 Stefan Kost <ensonic@users.sf.net>
3789 * docs/gst/gstreamer-sections.txt:
3790 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3791 (gst_bin_iterate_sources), (gst_bin_send_event):
3792 * gst/gstbin.h:
3793 * gst/gstelement.c: (gst_element_send_event):
3794 * gst/gstevent.c:
3795 * gst/gstpad.c: (gst_pad_send_event):
3796 added code for downstream events, reviewed docs in gstevent.c
3798 2006-01-25 Julien MOUTTE <julien@moutte.net>
3800 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3801 We only query position using the clock in the playing state.
3802 Query peer in the other cases.
3803 * win32/common/config.h: Updates.
3805 2006-01-24 Wim Taymans <wim@fluendo.com>
3807 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3808 A clock entry that is scheduled for the exact time of the
3809 clock is still in time.
3811 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3812 (gst_base_sink_do_sync):
3813 Add some more debug info.
3815 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3817 * win32/vs7:
3818 Add new vs7 project files and solution.
3820 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
3822 * win32/vs7:
3823 all files removed as they were out-dated.
3825 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3827 * docs/random/release:
3828 update notes
3829 * gst/gstbin.c: (gst_bin_init):
3830 * gst/gstbus.c: (gst_bus_new):
3831 * gst/gstbus.h:
3832 * gst/gstpipeline.c: (gst_pipeline_init):
3833 use gst_bus_new(), improve logging, fix docs
3834 * win32/common/config.h:
3835 update for cvs build
3837 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
3839 * autogen.sh:
3840 up required version of automake to 1.7
3842 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
3844 * win32/common/libgstreamer.def:
3845 export gst_buffer_is_metadata_writable
3847 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
3849 * docs/gst/gstreamer-sections.txt:
3850 * gst/gstevent.h:
3851 Add gst_event_replace() (#327001)
3853 2006-01-20 Wim Taymans <wim@fluendo.com>
3855 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3856 Make it actually compile too..
3858 2006-01-20 Wim Taymans <wim@fluendo.com>
3860 * gst/gstcaps.c:
3861 Clarify behaviour of _is_equal() when passing NULL parameters.
3863 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3864 (gst_pad_set_caps):
3865 Cleanups. Don't unref NULL caps.
3866 When setting the same caps, protect caps of the pad with
3867 proper lock.
3868 Use full functionality of _is_equal() when comparing caps.
3870 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3872 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3873 Don't loop infinitely if there are no buffers to present. Partially
3874 fixes #327197, but collectpads is just broken for reusing elements
3875 to do multiple encodes atm.
3877 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
3879 * tools/gst-inspect.c: (print_element_features):
3880 * tools/gst-xmlinspect.c: (main):
3881 URL_HANDLER is not a plugin feature we can search for in
3882 the registry.
3884 2006-01-19 Edward Hervey <edward@fluendo.com>
3886 * gst/gstelement.c: (gst_element_pads_activate):
3887 When activating, do src pads first, then sink pads.
3888 When de-activating, do sink pads first, then src pads.
3890 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3892 * docs/gst/gstreamer-sections.txt:
3893 Add gst_index_add_associationv to the docs
3895 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3897 * gst/gstevent.c:
3898 Fix docs typo
3900 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3901 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3902 Do some refactoring. Doesn't actually change functionality,
3903 but makes landing the DRAIN event easier later.
3905 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
3907 * docs/pwg/advanced-scheduling.xml:
3908 Update from 0.9.x to 0.10 API and make example a bit
3909 clearer.
3911 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3913 * docs/gst/gstreamer-sections.txt:
3914 Add gst_buffer_(is|make)_metadata_writable methods.
3916 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
3918 * docs/design/part-sparsestreams.txt:
3919 Update sparse streams doc, hopefully for greater clarity
3921 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
3923 * docs/design/part-events.txt:
3924 Remove mention of FILLER events.
3925 Add DRAIN event.
3927 * docs/design/part-sparsestreams.txt:
3928 Write some things about using NEWSEGMENT to keep sparse streams
3929 flowing.
3931 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3933 * gst/gstbin.c: (gst_bin_dispose):
3934 Guard gst_object_unref call against a NULL object (dispose
3935 can theoretically be called multiple times).
3937 2006-01-18 Wim Taymans <wim@fluendo.com>
3939 * gst/gstbin.c: (gst_bin_element_set_state):
3940 * gst/gstclock.c: (gst_clock_id_wait):
3941 Added some more debug info.
3943 * libs/gst/base/gstadapter.c:
3944 Added more docs.
3946 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3947 (gst_base_sink_do_sync), (gst_base_sink_chain):
3948 Added some comments.
3950 2006-01-18 Wim Taymans <wim@fluendo.com>
3952 * tests/check/Makefile.am:
3953 * tests/check/elements/fakesink.c: (chain_async_buffer),
3954 (chain_async), (chain_async_return), (GST_START_TEST),
3955 (fakesink_suite), (main):
3956 Added fakesink test that checks prerolling and clipping
3957 behaviour.
3959 * tests/check/gst/gstutils.c: (GST_START_TEST):
3960 Make check run faster so that buildbots don't timeout.
3962 2006-01-18 Wim Taymans <wim@fluendo.com>
3964 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3965 (gst_base_sink_do_sync):
3966 Some cleanups.
3967 When the sink finishes blocking on the preroll buffer, it can
3968 immediatly render it instead of rendering when the next buffer
3969 arrives.
3971 2006-01-18 Wim Taymans <wim@fluendo.com>
3973 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3974 (gst_base_sink_get_property), (gst_base_sink_do_sync),
3975 (gst_base_sink_chain):
3976 Small cleanups.
3977 GST_ELEMENT_CLOCK and sync are protected with LOCK.
3978 Don't store _last_stop if the buffer is dropped.
3980 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
3982 * plugins/elements/gsttypefindelement.c:
3983 (gst_type_find_element_class_init):
3984 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3985 object method handler that sets the caps on the pad and we want
3986 that to happen before we emit the signal (fixes e.g. feeding a
3987 plain text file to decodebin).
3989 2006-01-18 Christian Schaller <Christian@fluendo.com>
3991 * gst/gstplugin.c: Add MPL and Proprietary as license options
3993 2006-01-18 Andy Wingo <wingo@pobox.com>
3995 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3996 symbol was exported before, it appears this was just an oversight.
3997 Fixes #168703.
3998 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4000 * gst/gstindex.c (gst_index_add_associationv): Changed int in
4001 prototype to gint. OK since this prototype was not in the header.
4003 2006-01-17 Andy Wingo <wingo@pobox.com>
4005 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4006 registry while we remove plugins.
4008 * tools/gst-inspect.c (print_element_info): Don't unref the
4009 factory arg, that should be the responsibility of whatever code
4010 received the ref. Fixes a double-free when called from
4011 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4012 (main): Unref the factory if we have one.
4013 (print_element_list): No change -- relies on the
4014 plugin_feature_list_free to free the list of features.
4016 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
4018 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4019 (gst_buffer_make_metadata_writable):
4020 * gst/gstbuffer.h:
4021 * libs/gst/base/gstbasetransform.c:
4022 (gst_base_transform_prepare_output_buf):
4023 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4024 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4025 Replace gst_buffer_(make|is)_metadata_writable patch now
4026 that the release is out.
4028 2006-01-17 Andy Wingo <wingo@pobox.com>
4030 * gst/gstregistry.c: Reflow design comment. Update so as to speak
4031 in the present tense without reference to versions.
4033 * gst/gstregistry.c (gst_registry_add_plugin)
4034 (gst_registry_remove_plugin, gst_registry_remove_feature)
4035 (gst_registry_find_feature, gst_registry_get_feature_list)
4036 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4037 (gst_registry_lookup, gst_registry_scan_path)
4038 (_gst_registry_remove_cache_plugins)
4039 (gst_registry_get_feature_list_by_plugin): Add argument
4040 validation.
4042 === release 0.10.2 ===
4044 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
4046 * configure.ac:
4047 releasing 0.10.2, "If man is five"
4049 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4051 * gst/gstbuffer.c:
4052 * gst/gstbuffer.h:
4053 * libs/gst/base/gstbasetransform.c:
4054 (gst_base_transform_prepare_output_buf):
4055 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4056 * tests/check/gst/gstbuffer.c: (gst_test_suite):
4057 Back out patch until after the release.
4059 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4061 * gst/gstminiobject.c:
4062 Spelling fix in docs.
4063 * ChangeLog - remove conflict indicator
4065 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
4067 Reviewed By: Andy Wingo
4069 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4070 (gst_buffer_make_metadata_writable):
4071 * gst/gstbuffer.h:
4072 Add gst_buffer_(is|make)_metadata_writable as analogues of
4073 gst_buffer_(is|make)_writable.
4075 * libs/gst/base/gstbasetransform.c:
4076 (gst_base_transform_prepare_output_buf):
4077 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4078 Use name gst_buffer_(is|make)_metadata_writable functions.
4080 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4081 Test gst_buffer_(is|make)_metadata_writable
4083 (Closes: #324162)
4085 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
4087 * docs/manual/Makefile.am:
4088 don't do parallel make
4089 * configure.ac:
4090 AC_SUBST HOST_CPU
4091 * win32/common/config.h.in:
4092 add generations for HOST_CPU and GST_MAJORMINOR
4093 * win32/common/config.h:
4094 commit generated result
4096 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
4098 * docs/manual/appendix-integration.xml:
4099 Update GNOME integration section to use gst_init_get_option_group()
4100 instead of the old popt stuff (#322911). Also, GNOME applications
4101 should now use gconf*sink and gconf*src instead of the old gconf
4102 helper lib we had.
4104 2006-01-13 Stefan Kost <ensonic@users.sf.net>
4107 * docs/gst/gstreamer-docs.sgml:
4108 * docs/gst/gstreamer-sections.txt:
4109 * docs/libs/gstreamer-libs-sections.txt:
4110 add new API entries to the docs
4111 * libs/gst/controller/Makefile.am:
4112 * libs/gst/controller/gstcontroller.c:
4113 * libs/gst/controller/gstcontroller.h:
4114 * libs/gst/controller/gstcontrollerprivate.h:
4115 * libs/gst/controller/gsthelper.c:
4116 * libs/gst/controller/gstinterpolation.c:
4117 move private structs to private header
4118 * po/README:
4119 gstreamer-0.7 -> gstreamer-0.10
4120 * tests/check/libs/struct_i386.h:
4121 remove private structs
4123 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4125 * plugins/indexers/Makefile.am:
4126 Fixes as part of #317048
4128 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
4130 * plugins/indexers/Makefile.am:
4131 fix #316086 - compilation when mmap is missing
4133 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
4135 * libs/gst/base/gstbasesink.c:
4136 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
4137 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4138 * win32/common/config.h:
4139 added some defines GST_MAJORMINOR and HOST_CPU
4140 * win32/common/libgstbase.def:
4141 * win32/common/libgstreamer.def:
4142 added some exported functions.
4144 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4146 * libs/gst/controller/gstcontroller.c:
4147 (gst_controlled_property_set_interpolation_mode),
4148 (gst_controlled_property_new):
4149 * libs/gst/controller/gstcontroller.h:
4150 * libs/gst/controller/gstinterpolation.c:
4151 (interpolate_none_get_string_value_array):
4152 make G_TYPE_STRING controlable
4154 2006-01-12 Stefan Kost <ensonic@users.sf.net>
4156 * tools/README:
4157 * tools/gst-feedback.1.in:
4158 * tools/gst-inspect.1.in:
4159 * tools/gst-launch.1.in:
4160 * tools/gst-md5sum.1.in:
4161 * tools/gst-typefind.1.in:
4162 * tools/gst-xmlinspect.1.in:
4163 * tools/gst-xmllaunch.1.in:
4164 cleanup man-pages, remove reference to gst-register, document env-vars
4166 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
4168 * gst/gstbuffer.c: (gst_buffer_span):
4169 gst_buffer_span should copy the timestamp of the first buffer
4170 if they were both originally overlapping subbuffers of the
4171 same parent, using the same logic as the 'slow copy' case.
4173 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
4175 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4176 Need to awaken ALL the pads when we pop a buffer, otherwise
4177 collectpads only works when there is 2 input streams.
4179 2006-01-11 Stefan Kost <ensonic@users.sf.net>
4181 * docs/random/ensonic/media-device-daemon.txt:
4182 more ideas (dbus)
4183 * gst/gstbuffer.c:
4184 fix doc example, add clarification
4185 * tools/gst-launch.1.in:
4186 add initial info about GST_PLUGIN_PATH, needs more work
4188 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
4190 * docs/manual/basics-bins.xml:
4191 * docs/manual/basics-elements.xml:
4192 * docs/manual/intro-basics.xml:
4193 Some more minor docs additions and updates.
4195 2006-01-11 Wim Taymans <wim@fluendo.com>
4197 * docs/manual/basics-bins.xml:
4198 * docs/manual/basics-elements.xml:
4199 Some small fixes as pointed out by Ser-ver on IRC.
4201 2006-01-10 Edward Hervey <edward@fluendo.com>
4203 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4204 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4205 the single-segment mode.
4207 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
4209 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4211 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4212 (gst_base_src_perform_seek), (gst_base_src_send_event),
4213 (gst_base_src_set_property), (gst_base_src_get_property),
4214 (gst_base_src_loop), (gst_base_src_start),
4215 (gst_base_src_activate_push):
4216 * libs/gst/base/gstbasesrc.h:
4217 Name (private) union; makes Sun's Forte compiler happy (#324900).
4219 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
4221 * README:
4222 gst-register is gone.
4224 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
4226 * gst/gstvalue.c: (_gst_value_initialize):
4227 make the G_TYPE_DATE instantiation work if debug is disabled
4229 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
4231 * gst/gstmessage.c: (gst_message_parse_tag),
4232 (gst_message_parse_error), (gst_message_parse_warning):
4233 Don't crash when return location for error/warning debug
4234 string is NULL; add fact that return locations can be
4235 NULL to docs where appropriate.
4237 2006-01-05 Wim Taymans <wim@fluendo.com>
4239 * gst/gstplugin.c: (gst_plugin_load_file):
4240 Replace strdup by g_strdup.
4242 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4244 * docs/pwg/advanced-types.xml:
4245 fix doc borkage
4247 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
4249 submitted by: Abel Cheung
4251 * po/LINGUAS:
4252 * po/zh_TW.po:
4253 Added Chinese (traditional) translation
4255 2006-01-04 Wim Taymans <wim@fluendo.com>
4257 * docs/manual/basics-pads.xml:
4258 * docs/plugins/Makefile.am:
4259 * docs/plugins/gstreamer-plugins-docs.sgml:
4260 * docs/plugins/gstreamer-plugins-sections.txt:
4261 * docs/pwg/advanced-clock.xml:
4262 * docs/pwg/advanced-scheduling.xml:
4263 * docs/pwg/advanced-types.xml:
4264 * plugins/elements/gstfdsink.c:
4265 * plugins/elements/gstfdsrc.c:
4266 * plugins/elements/gstfdsrc.h:
4267 * plugins/elements/gstidentity.c: (gst_identity_class_init):
4268 * plugins/elements/gstidentity.h:
4269 * plugins/elements/gstqueue.h:
4270 * plugins/elements/gsttee.c:
4271 * plugins/elements/gsttee.h:
4272 * plugins/elements/gsttypefindelement.c:
4273 (gst_type_find_element_class_init):
4274 * plugins/elements/gsttypefindelement.h:
4275 Small updates to various docs.
4276 Added core plugins to docs.
4278 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4280 * common/gst.supp:
4281 add a suppression for liboil's uninitialized variable
4283 2006-01-02 James Livingston <jrl at ids dot org dot au>
4285 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4287 * gst/gstutils.h:
4288 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4289 macro, so that gcc doesn't complain if the -Wmissing-prototypes
4290 compiler switch is being used (#325429).
4292 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
4294 * gst/gstbin.c: (gst_bin_query):
4295 Disable duration query caching in bins until it gets
4296 fixed (see #324807).
4298 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4300 * tools/gst-inspect.c: (print_element_properties_info):
4301 Handle properties of POINTER and BOXED type.
4303 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
4305 * gst/gst.c: (init_post):
4306 Init tags stuff and some other things before loading
4307 any static plugins (there may be other static plugins
4308 than just the GStreamer ones, and they may want to
4309 register their own tags or formats or whatever, and
4310 preferably without segfaulting).
4312 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4313 Print at least a warning in the debug logs if we drop a
4314 query just because we don't know how to adjust the value
4315 in the particular format.
4317 2005-12-24 David Schleef <ds@schleef.org>
4319 * tools/gstreamer-completion:
4320 Replacement for gst-complete written in sh and sed. Only
4321 completes names of features, but that's 90% of what I want
4322 it for. Properties are not available in registry.xml. (Maybe
4323 they should be...)
4325 === release 0.10.1 ===
4327 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
4329 * configure.ac:
4330 releasing 0.10.1, "Nollaig chridheil"
4332 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4334 * docs/faq/cvs.xml:
4335 Add missing quote, should be make ERROR_CFLAGS="".
4337 2005-12-20 Wim Taymans <wim@fluendo.com>
4339 * docs/design/part-trickmodes.txt:
4340 More documentation on trickmodes.
4342 2005-12-20 Edward Hervey <edward@fluendo.com>
4344 * gst/gstcaps.c: (gst_static_caps_get_type):
4345 * gst/gstcaps.h:
4346 API addition: GST_TYPE_STATIC_CAPS
4347 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4348 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4349 * gst/gstpadtemplate.h:
4350 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4351 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4352 bindings.
4354 2005-12-18 Wim Taymans <wim@fluendo.com>
4356 * libs/gst/base/gstadapter.c:
4357 * libs/gst/base/gstadapter.h:
4358 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4359 (gst_base_sink_get_position):
4360 * libs/gst/base/gstbasesink.h:
4361 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4362 (gst_base_src_default_query), (gst_base_src_default_do_seek),
4363 (gst_base_src_do_seek), (gst_base_src_perform_seek),
4364 (gst_base_src_send_event), (gst_base_src_update_length),
4365 (gst_base_src_get_range), (gst_base_src_loop),
4366 (gst_base_src_start):
4367 * libs/gst/base/gstbasesrc.h:
4368 * libs/gst/base/gstbasetransform.h:
4369 * libs/gst/base/gstcollectpads.h:
4370 * libs/gst/base/gstpushsrc.c:
4371 * libs/gst/base/gstpushsrc.h:
4372 * libs/gst/dataprotocol/dataprotocol.c:
4373 * libs/gst/dataprotocol/dataprotocol.h:
4374 * libs/gst/net/gstnetclientclock.h:
4375 * libs/gst/net/gstnettimeprovider.h:
4376 Documentation updates.
4378 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
4380 * docs/manual/basics-helloworld.xml:
4381 Remove superfluous closing bracket in helloworld example.
4383 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
4385 * tools/gst-launch.1.in:
4386 Update gst-launch man page; add a section with useful
4387 environment variables. Fixes #323882.
4389 2005-12-16 Stefan Kost <ensonic@users.sf.net>
4391 * gst/gst.c:
4392 * gst/gst_private.h:
4393 change some char* into char[]
4395 2005-12-16 Wim Taymans <wim@fluendo.com>
4397 * gst/gstregistryxml.c: (load_feature):
4398 Cleanups.
4399 Don't use g_object_unref on GstObjects so that we avoid
4400 leaks on unsafe glibs.
4402 2005-12-16 Wim Taymans <wim@fluendo.com>
4404 * gst/gstbin.c: (gst_bin_recalc_state):
4405 Small doc updates.
4407 2005-12-16 Wim Taymans <wim@fluendo.com>
4409 * common/check.mak:
4410 Added make forever target for check.
4412 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
4414 * gst/gst.c: (init_post):
4415 make the registry cache file HOST_CPU-dependent
4417 2005-12-16 Andy Wingo <wingo@pobox.com>
4419 * plugins/elements/gstbufferstore.c
4420 (gst_buffer_store_cleared_func): Pay attention to g_list_append
4421 return value.
4423 * tests/check/gst/gstobject.c
4424 (test_fake_object_name_threaded_unique): Pay attention to
4425 g_list_sort return value.
4427 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
4429 * tools/gst-feedback-m.m:
4430 Update for 0.9/0.10 (fixes #323870).
4432 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
4434 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4435 Fix lcopy for mini objects, the mini object needs to be ref'ed.
4437 * tests/check/gst/gstminiobject.c: (my_foo_init),
4438 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4439 (test_value_collection), (gst_mini_object_suite):
4440 Add test to ensure refcounts end up as expected when passing
4441 GstMiniObjects through g_object_get() and g_object_set().
4443 2005-12-14 Julien MOUTTE <julien@moutte.net>
4445 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4446 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4447 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4448 of collectpads. This version removes a lot of races without
4449 touching API/ABI. Yay !
4451 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
4453 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4454 Don't allow activation of a srcpad in pull_range if it has no
4455 getrange function.
4456 Change some debug statements to be a little clearer
4458 * plugins/elements/gsttypefindelement.c:
4459 (gst_type_find_handle_src_query):
4460 Check that we have a peer before executing queries thereupon.
4462 * tests/examples/metadata/read-metadata.c: (message_loop):
4463 Use gst_bus_pop instead of gst_bus_poll when we just want it to
4464 immediately return us any available message with 0 timeout.
4466 2005-12-12 Michael Smith <msmith@fluendo.com>
4468 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4469 Don't unref factories after calling them.
4470 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4471 * plugins/elements/gsttypefindelement.c:
4472 (gst_type_find_element_chain):
4473 Free lists of factories after using them. Fixing typefinding memory
4474 leaks.
4476 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4478 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4479 (gst_plugin_feature_load):
4480 more meaningful debug output
4481 * configure.ac:
4482 * tests/Makefile.am:
4483 * tests/old/examples/Makefile.am:
4484 make make distcheck happy again
4486 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4488 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4489 Catch the special case where we are operating chain-based,
4490 but the downstream peer pad has no chain function. Emit a
4491 custom error message in this case instead of letting the
4492 core generate one implying that this is some sort of core
4493 bug. It's not, it just means that whatever got plugged
4494 into the pipeline downstream when we announced the type
4495 can only operate pull-based, while our source can only
4496 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4497 Error string has not been marked for translation yet, as
4498 it probably needs some more work first.
4500 (gst_type_find_element_get_best_possibility):
4501 Add helper function to find the best of all available
4502 found possibilities that qualify given the min. threshold.
4504 (gst_type_find_element_handle_event):
4505 Fix the case where we get an EOS while still in TYPEFIND
4506 mode (we want to chose the best of all possible types,
4507 not just the first type that happens to be in our unsorted
4508 list of possible types).
4510 (gst_type_find_element_chain):
4511 Make sure we return GST_FLOW_ERROR when we errored out
4512 in stop_typefinding(); also, don't just find the best of
4513 all found type entries and then use the last examined
4514 type entry, but actually use the best entry.
4516 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
4518 * tests/examples/typefind/typefind.c: (type_found):
4519 * tests/examples/xml/runxml.c: (xml_loaded):
4520 More gcc4 fixes and a mem leak fix.
4522 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4524 * tests/examples/xml/createxml.c: (object_saved):
4525 gcc 4 fixes
4527 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4529 * tests/Makefile.am:
4530 enable the examples even more
4532 2005-12-12 Andy Wingo <wingo@pobox.com>
4534 * libs/gst/net/gstnettimeprovider.c
4535 (gst_net_time_provider_class_init, gst_net_time_provider_init)
4536 (gst_net_time_provider_set_property)
4537 (gst_net_time_provider_get_property):
4538 API addition: Export "active" as a GObject property.
4539 (gst_net_time_provider_thread): Only respond to time queries if
4540 the time provider is active.
4542 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4543 NetTimeProvider, preserving binary compat.
4545 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4547 * tests/examples/controller/audio-example.c: (main):
4548 * tests/examples/launch/Makefile.am:
4549 convert comments again
4551 2005-12-12 Wim Taymans <wim@fluendo.com>
4553 * libs/gst/base/gstpushsrc.c:
4554 Fix typo.
4556 2005-12-12 Wim Taymans <wim@fluendo.com>
4558 * docs/libs/gstreamer-libs-sections.txt:
4559 Added new symbol to docs.
4561 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4562 (gst_base_src_init), (gst_base_src_set_format),
4563 (gst_base_src_default_query), (gst_base_src_query),
4564 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4565 (gst_base_src_perform_seek), (gst_base_src_send_event),
4566 (gst_base_src_default_event), (gst_base_src_event_handler),
4567 (gst_base_src_set_property), (gst_base_src_get_property),
4568 (gst_base_src_wait), (gst_base_src_do_sync),
4569 (gst_base_src_update_length), (gst_base_src_get_range),
4570 (gst_base_src_check_get_range), (gst_base_src_loop),
4571 (gst_base_src_default_negotiate), (gst_base_src_start),
4572 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4573 (gst_base_src_change_state):
4574 * libs/gst/base/gstbasesrc.h:
4575 Implement seeking to other formats than _BYTES.
4576 Implement more seeking methods correctly.
4577 Doc updates.
4578 Added query vmethod.
4579 Added do_seek vmethod to make life easier for subclasses
4580 when seeking.
4581 API addition: gst_base_src_set_format()
4583 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4585 * tests/examples/Makefile.am:
4586 added that too
4588 2005-12-12 Stefan Kost <ensonic@users.sf.net>
4590 * configure.ac:
4591 * docs/random/ensonic/media-device-daemon.txt:
4592 * tests/examples/controller/.cvsignore:
4593 * tests/examples/controller/Makefile.am:
4594 * tests/examples/controller/audio-example.c: (main):
4595 * tests/examples/helloworld/.cvsignore:
4596 * tests/examples/helloworld/Makefile.am:
4597 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4598 * tests/examples/launch/.cvsignore:
4599 * tests/examples/launch/Makefile.am:
4600 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4601 * tests/examples/metadata/.cvsignore:
4602 * tests/examples/metadata/Makefile.am:
4603 * tests/examples/metadata/read-metadata.c: (message_loop),
4604 (make_pipeline), (print_tag), (main):
4605 * tests/examples/queue/.cvsignore:
4606 * tests/examples/queue/Makefile.am:
4607 * tests/examples/queue/queue.c: (event_loop), (main):
4608 * tests/examples/typefind/.cvsignore:
4609 * tests/examples/typefind/Makefile.am:
4610 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4611 (main):
4612 * tests/examples/xml/.cvsignore:
4613 * tests/examples/xml/Makefile.am:
4614 * tests/examples/xml/createxml.c: (object_saved), (main):
4615 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4616 * tests/old/examples/Makefile.am:
4617 * tests/old/examples/TODO:
4618 * tests/old/examples/controller/.cvsignore:
4619 * tests/old/examples/controller/Makefile.am:
4620 * tests/old/examples/controller/audio-example.c:
4621 * tests/old/examples/helloworld/.cvsignore:
4622 * tests/old/examples/helloworld/Makefile.am:
4623 * tests/old/examples/helloworld/helloworld.c:
4624 * tests/old/examples/launch/.cvsignore:
4625 * tests/old/examples/launch/Makefile.am:
4626 * tests/old/examples/launch/mp3parselaunch.c:
4627 * tests/old/examples/launch/mp3play:
4628 * tests/old/examples/manual/Makefile.am:
4629 * tests/old/examples/metadata/Makefile.am:
4630 * tests/old/examples/metadata/read-metadata.c:
4631 * tests/old/examples/queue/.cvsignore:
4632 * tests/old/examples/queue/Makefile.am:
4633 * tests/old/examples/queue/queue.c:
4634 * tests/old/examples/typefind/.cvsignore:
4635 * tests/old/examples/typefind/Makefile.am:
4636 * tests/old/examples/typefind/typefind.c:
4637 * tests/old/examples/xml/.cvsignore:
4638 * tests/old/examples/xml/Makefile.am:
4639 * tests/old/examples/xml/createxml.c:
4640 * tests/old/examples/xml/runxml.c:
4641 applied some simple fixing to some examples
4642 re-enabled the working examples
4644 2005-12-12 Wim Taymans <wim@fluendo.com>
4646 * gst/gstsegment.c: (gst_segment_init),
4647 (gst_segment_set_last_stop), (gst_segment_set_seek),
4648 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4649 (gst_segment_to_running_time):
4650 Added more documentation.
4651 Make sure the last_pos value is updated properly.
4652 Make sure to_stream_time and to_running_time don't
4653 operate on wrong values.
4655 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4656 Update check.
4658 2005-12-12 Michael Smith <msmith@fluendo.com>
4660 * plugins/elements/gsttypefindelement.c: (free_entry),
4661 (gst_type_find_element_chain):
4662 Now that we're not leaking factories, make sure we keep references
4663 to them while we need them.
4665 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4667 * tests/check/gst/struct_i386.h:
4668 ifdef out the XML structs
4670 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
4672 * gst/gstvalue.c: (gst_value_transform_double_fraction):
4673 floor is not needed, F is always positive; this obviates the
4674 need for adding -lm when building without libxml
4676 2005-12-12 Wim Taymans <wim@fluendo.com>
4678 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4679 Take current playback rate into account when reporting
4680 the position.
4682 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4684 * docs/manual/mime-world.fig:
4685 Let's try this again, this time with a file that is
4686 actually in XFig format.
4688 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4690 * docs/manual/mime-world.fig:
4691 Add audioconvert element to diagram so that it
4692 matches the text and the code (fixes #319526).
4694 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4696 * docs/pwg/building-chainfn.xml:
4697 * docs/pwg/building-pads.xml:
4698 * docs/pwg/building-state.xml:
4699 * docs/pwg/other-source.xml:
4700 Update state change stuff for 0.10 (fixes #322969).
4702 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4704 * docs/manual/advanced-dataaccess.xml:
4705 * docs/manual/appendix-checklist.xml:
4706 * docs/manual/appendix-programs.xml:
4707 * docs/manual/basics-pads.xml:
4708 * docs/manual/highlevel-components.xml:
4709 * docs/manual/manual.xml:
4710 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4711 add converters in front of pipelines; remove curly
4712 brackets for threads stuff, they no longer exist; use
4713 GST_TYPE_FRACTION for framerates; update some pieces of
4714 code to 0.10, but there's plenty more to do.
4716 * docs/manual/appendix-porting.xml:
4717 Expand on asynchroneous state changes; s/0.9/0.10/;
4718 mention disappearance of gst_init_get_popt_table()
4719 (fixes #322916).
4721 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4723 * docs/faq/using.xml:
4724 Spider no longer exists, and neither does gst-launch-ext.
4725 Update examples to use decodebin and playbin and put
4726 converters in front of sinks (fixes #323726).
4728 2005-12-09 Michael Smith <msmith@fluendo.com>
4730 * plugins/elements/gsttypefindelement.c: (find_peek),
4731 (gst_type_find_element_chain):
4732 Fix leaking element factories in typefinding.
4733 Fix problem where we forgot about a probable type on non-seekable
4734 files, and thus later mis-typefound it.
4736 2005-12-09 Michael Smith <msmith@fluendo.com>
4738 * common/m4/gst-makecontext.m4:
4739 * common/m4/gst-mcsc.m4:
4740 * configure.ac:
4741 * win32/common/config.h:
4742 * win32/common/config.h.in:
4743 Remove makecontext stuff; not used in 0.10 and causes problems on
4744 HPUX according to bug #322441
4746 2005-12-07 Wim Taymans <wim@fluendo.com>
4748 * tests/check/Makefile.am:
4749 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4750 (main):
4751 * tests/check/libs/struct_i386.h:
4752 Added ABI check for libs
4754 2005-12-07 Wim Taymans <wim@fluendo.com>
4756 * tests/check/Makefile.am:
4757 And add the struct_i386.h to dist.
4759 2005-12-07 Wim Taymans <wim@fluendo.com>
4761 * tests/check/Makefile.am:
4762 * tests/check/gst/.cvsignore:
4763 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4764 (main):
4765 * tests/check/gst/struct_i386.h:
4766 Added check for ABI compatibility.
4768 2005-12-07 Wim Taymans <wim@fluendo.com>
4770 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4771 (gst_fake_src_get_times), (gst_fake_src_create):
4772 Fix broken sync option, fixes #323259
4774 2005-12-07 Wim Taymans <wim@fluendo.com>
4776 * gst/gstbuffer.c:
4777 Small docs update.
4779 * gst/gstcaps.c: (gst_caps_is_equal):
4780 Don't assert on NULL <--> X. Fixes #323260
4782 * gst/gstminiobject.c: (gst_mini_object_replace):
4783 If we're doing atomic operations, we might just as well use
4784 the proper way to get an atomic pointer.
4786 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4787 Clean up debugging.
4789 2005-12-07 Michael Smith <msmith@fluendo.com>
4791 * gst/parse/grammar.y:
4792 Remove handling of { } for threads.
4794 2005-12-06 David Schleef <ds@schleef.org>
4796 * libs/gst/base/gstbasetransform.c: speling fix.
4798 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
4800 * docs/libs/tmpl/gstdataprotocol.sgml:
4801 * docs/random/omega/testing/gstobject.c:
4802 * gst/gst.c:
4803 * gst/gstclock.c:
4804 * gst/gstelement.c:
4805 * gst/gstelementfactory.c:
4806 * gst/gsterror.c:
4807 * gst/gstevent.c:
4808 * gst/gstghostpad.c:
4809 * gst/gstinfo.c:
4810 * gst/gstpadtemplate.c:
4811 * gst/gstregistryxml.c:
4812 * gst/gsttaglist.c:
4813 * gst/gsttagsetter.c:
4814 * gst/gsttypefind.c:
4815 * gst/gstvalue.c:
4816 * libs/gst/base/gstbasesrc.c:
4817 * libs/gst/net/gstnetclientclock.c:
4818 * libs/gst/net/gstnettimeprovider.c:
4819 * plugins/elements/gstfakesrc.c:
4820 * plugins/elements/gstfdsrc.c:
4821 * plugins/elements/gstfilesrc.c:
4822 * plugins/elements/gstidentity.c:
4823 * plugins/elements/gstqueue.c:
4824 * plugins/elements/gsttypefindelement.c:
4825 * plugins/indexers/gstfileindex.c:
4826 * plugins/indexers/gstmemindex.c:
4827 * tests/check/gst/gsttag.c:
4828 * tests/old/examples/cutter/cutter.c:
4829 * tests/old/examples/mixer/mixer.c:
4830 * tests/old/examples/xml/runxml.c: (main):
4831 * tests/old/testsuite/caps/normalisation.c:
4832 * tests/old/testsuite/debug/global.c:
4833 * tests/old/testsuite/parse/parse1.c:
4834 * tools/gst-xmlinspect.c:
4835 * win32/common/dirent.c:
4836 expand tabs
4838 === release 0.10.0 ===
4840 2005-12-05 <thomas (at) apestaart (dot) org>
4842 * configure.ac:
4843 releasing 0.10.0, "Maroilles"
4845 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4847 submitted by: Funda Wang <fundawang@linux.net.cn>
4849 * po/LINGUAS:
4850 * po/zh_CN.po:
4851 added Chinese (Traditional) translation
4853 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4855 * docs/gst/gstreamer-sections.txt:
4856 * docs/libs/tmpl/gstdataprotocol.sgml:
4857 * docs/random/thomasvs/TODO:
4858 * gst/gstutils.c:
4859 * gst/gstutils.h:
4860 fix docs
4862 2005-12-05 Andy Wingo <wingo@pobox.com>
4864 patch by: Wim Taymans <wim@fluendo.com>
4866 * libs/gst/base/gstbasetransform.c
4867 (gst_base_transform_prepare_output_buf)
4868 (gst_base_transform_buffer_alloc):
4869 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4870 alloc_buffer_and_set_caps.
4872 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4873 set_caps on the source pad.
4874 (gst_pad_alloc_buffer_and_set_caps): New function, does what
4875 alloc_buffer used to do. Fixes #322874.
4877 * docs/gst/gstreamer-sections.txt:
4878 * docs/design/part-negotiation.txt:
4879 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4880 changes.
4882 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
4884 patch by: Sebastien Moutte
4886 * win32/MANIFEST:
4887 * win32/common/config.h.in:
4888 * win32/vs6/libgstcontroller.dsp:
4889 win32 build fixes
4891 2005-12-05 Wim Taymans <wim@fluendo.com>
4893 * gst/gstcaps.c: (gst_caps_is_equal):
4894 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4895 (gst_fake_src_create):
4896 Back out previous code changes, leave doc updates, file bugs
4897 instead.
4899 2005-12-05 Wim Taymans <wim@fluendo.com>
4901 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4902 (gst_fake_src_get_times), (gst_fake_src_create):
4903 * plugins/elements/gstfakesrc.h:
4904 Fix broken sync code.
4906 2005-12-05 Wim Taymans <wim@fluendo.com>
4908 * gst/gstcaps.c: (gst_caps_is_equal):
4909 Comparing NULL against !NULL yields different caps, not a
4910 failure.
4912 2005-12-05 Wim Taymans <wim@fluendo.com>
4914 * gst/gstpipeline.c:
4915 Fix small typo in docs.
4917 2005-12-05 Andy Wingo <wingo@pobox.com>
4919 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
4921 * gst/gst.c (init_post): remove hard-coded 0.9 location for
4922 registries/plugins with a MAJORMINOR one.
4923 (plugin_desc): Rename library from gstcoreleements to
4924 staticelements. Fixes #323222.
4926 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
4928 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4929 Change debug category to 'collectpads' from 'collect_pads'
4930 (fixes #323250).
4932 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4934 patch by: Sebastien Moutte
4936 * libs/gst/controller/gstinterpolation.c:
4937 use convert function for uint64/double
4938 * win32/vs6/libgstcontroller.dsp:
4939 link to GLib
4941 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
4943 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4944 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4945 * gst/gstutils.h:
4946 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4947 add tests that seem to show that the guint64/gdouble conversions
4948 are correct.
4950 2005-12-02 Wim Taymans <wim@fluendo.com>
4952 * gst/gstregistry.c: (gst_registry_add_path):
4953 * gst/gstregistry.h:
4954 * gst/gstregistryxml.c:
4955 Fix docs again.
4957 2005-12-02 Wim Taymans <wim@fluendo.com>
4959 * gst/gstutils.c: (gst_util_uint64_scale_int64),
4960 (gst_util_uint64_scale_int):
4961 Small cleanup.
4963 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4964 Add debug log line.
4966 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4967 Add FIXME.
4969 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * win32/MANIFEST:
4972 * win32/common/config.h:
4973 * win32/vs6/gstreamer.dsw:
4974 * win32/vs6/libgstcoreelements.dsp:
4975 * win32/vs6/libgstelements.dsp:
4976 renamed core elements plugin
4978 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
4980 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4981 (get_candidates):
4982 do piece-wise major/minor comparison so 0.9 < 0.10
4983 also allow .exe extensions for tools
4985 2005-12-02 Michael Smith <msmith@fluendo.com>
4987 * gst/gst.c:
4988 Escape a % to make gtkdoc happier; bug 322958.
4990 === release 0.9.7 ===
4992 2005-12-01 <thomas (at) apestaart (dot) org>
4994 * configure.ac:
4995 releasing 0.9.7, "My Dog Has No Nose"
4997 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4999 * common/gst-xmlinspect.py:
5000 * configure.ac:
5001 * docs/libs/tmpl/gstdataprotocol.sgml:
5002 * docs/random/release:
5003 * po/af.po:
5004 * po/az.po:
5005 * po/bg.po:
5006 * po/ca.po:
5007 * po/cs.po:
5008 * po/de.po:
5009 * po/en_GB.po:
5010 * po/fr.po:
5011 * po/it.po:
5012 * po/nb.po:
5013 * po/nl.po:
5014 * po/ru.po:
5015 * po/sq.po:
5016 * po/sr.po:
5017 * po/sv.po:
5018 * po/tr.po:
5019 * po/uk.po:
5020 * po/vi.po:
5021 * win32/common/config.h:
5022 * win32/common/config.h.in:
5023 * win32/vs6/gst_inspect.dsp:
5024 * win32/vs6/gst_launch.dsp:
5025 * win32/vs6/libgstbase.dsp:
5026 * win32/vs6/libgstelements.dsp:
5027 * win32/vs6/libgstreamer.dsp:
5028 * win32/vs7/GStreamer.vcproj:
5029 * win32/vs7/gst-inspect.vcproj:
5030 * win32/vs7/gst-launch.vcproj:
5031 * win32/vs7/libgstbase.vcproj:
5032 bump GST_MAJORMINOR to 0.10
5033 reset libtool version
5035 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5037 * po/LINGUAS:
5038 * po/bg.po:
5039 Added Bulgarian translation by (Alexander Shopov)
5041 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5043 * tests/check/gst/gstplugin.c:
5044 fix test
5046 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5048 * common/gst-xmlinspect.py:
5049 * common/gtk-doc-plugins.mak:
5050 * configure.ac:
5051 * docs/Makefile.am:
5052 * docs/gst/Makefile.am:
5053 * docs/gst/gstreamer-docs.sgml:
5054 * docs/gst/gstreamer-sections.txt:
5055 * docs/gst/gstreamer.types:
5056 * docs/gst/gstreamer.types.in:
5057 * docs/plugins/Makefile.am:
5058 * docs/plugins/gstreamer-plugins-docs.sgml:
5059 * docs/plugins/gstreamer-plugins-sections.txt:
5060 * docs/plugins/gstreamer-plugins.types:
5061 * docs/plugins/inspect.stamp:
5062 * docs/plugins/inspect/plugin-coreelements.xml:
5063 * docs/plugins/inspect/plugin-coreindexers.xml:
5064 * docs/plugins/scanobj-build.stamp:
5065 * gstreamer.spec.in:
5066 * plugins/elements/Makefile.am:
5067 * plugins/elements/gstelements.c:
5068 * plugins/elements/gstfakesink.c:
5069 * plugins/elements/gstfakesrc.c:
5070 * plugins/elements/gstfilesink.c:
5071 * plugins/elements/gstfilesrc.c:
5072 * plugins/elements/gstqueue.c:
5073 * plugins/indexers/Makefile.am:
5074 * plugins/indexers/gstindexers.c:
5075 document core plugins in a separate document just like all the
5076 others
5077 rename these plugins to something starting with core
5079 2005-12-01 Andy Wingo <wingo@pobox.com>
5081 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5082 padding here before, but it missed the commit.
5084 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5086 * libs/gst/controller/gstinterpolation.c:
5087 whitespace prices have crashed, we should feel free to use some now
5088 use gst_guint64_to_gdouble
5090 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5092 * libs/gst/controller/gstcontroller.c:
5093 * libs/gst/controller/gsthelper.c:
5094 * libs/gst/controller/gstinterpolation.c:
5095 * libs/gst/controller/lib.c:
5096 wrap config.h include
5098 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5100 * docs/gst/gstreamer-sections.txt:
5101 update docs
5103 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
5105 * plugins/elements/gstelements.c:
5106 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5107 (gst_fd_sink__class_init), (gst_fd_sink__init),
5108 (gst_fd_sink__chain), (gst_fd_sink__set_property),
5109 (gst_fd_sink__get_property):
5110 * plugins/elements/gstfdsink.h:
5111 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5112 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5113 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5114 (gst_fd_src_unlock), (gst_fd_src_set_property),
5115 (gst_fd_src_get_property), (gst_fd_src_create),
5116 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5117 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5118 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5119 (gst_fd_src_uri_handler_init):
5120 * plugins/elements/gstfdsrc.h:
5121 * plugins/elements/gstqueue.c: (gst_queue_get_type):
5122 more anal cleanup
5124 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5126 * docs/gst/Makefile.am:
5127 * docs/gst/gstreamer.types.in:
5128 * gst/Makefile.am:
5129 fix the docs build
5131 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5133 * configure.ac:
5134 * gst/Makefile.am:
5135 * gst/gst.c:
5136 * gst/gstplugin.h:
5137 * gst/gstregistry.h:
5138 * tests/benchmarks/complexity.c:
5139 * tests/benchmarks/mass-elements.c:
5140 * tests/check/Makefile.am:
5141 * tools/Makefile.am:
5142 * tools/gst-inspect.c:
5143 * tools/gst-xmlinspect.c:
5144 various fixes to make
5145 --disable-nls --disable-registry --disable-loadsave
5146 --disable-parse --disable-gst-debug
5147 work and get the core .so down to 360444 bytes after stripping
5149 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5151 * Makefile.am:
5152 * configure.ac:
5153 descend into tests
5154 * docs/random/thomasvs/TODO:
5155 * tests/Makefile.am:
5156 * tests/README:
5157 add a README
5159 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5161 * win32/GStreamer.vcproj:
5162 * win32/MANIFEST:
5163 * win32/Makefile:
5164 * win32/Makefile.inspect:
5165 * win32/Makefile.launch:
5166 * win32/Makefile.register:
5167 * win32/README.txt:
5168 * win32/gst-inspect.vcproj:
5169 * win32/gst-launch.vcproj:
5170 * win32/gst-register.vcproj:
5171 * win32/gstelements.vcproj:
5172 * win32/gstgetbits.def:
5173 * win32/gstgetbits.vcproj:
5174 * win32/gstreamer-dbg.def:
5175 * win32/gstreamer.def:
5176 * win32/libgstbase.def:
5177 * win32/libgstbase.vcproj:
5178 * win32/link_oldruntime.c:
5179 * win32/mman.c:
5180 * win32/mman.h:
5181 * win32/mman.inl:
5182 * win32/msvc71.sln:
5183 move even more stuff, win32/ is nice and clean now
5185 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5187 * libs/gst/control/.cvsignore:
5188 * win32/MANIFEST:
5189 * win32/config.h:
5190 * win32/dirent.c:
5191 * win32/dirent.h:
5192 * win32/gstbytestream.def:
5193 * win32/gstbytestream.vcproj:
5194 * win32/gstconfig.h:
5195 * win32/gstenumtypes.c:
5196 * win32/gstenumtypes.h:
5197 * win32/gstoptimalscheduler.vcproj:
5198 * win32/gstversion.h:
5199 * win32/gtchar.h:
5200 * win32/testsuite/bins.vcproj:
5201 * win32/testsuite/bytestream.vcproj:
5202 * win32/testsuite/caps.vcproj:
5203 * win32/testsuite/cleanup.vcproj:
5204 * win32/testsuite/clock.vcproj:
5205 * win32/testsuite/debug.vcproj:
5206 * win32/testsuite/dlopen.vcproj:
5207 * win32/testsuite/dynparams.vcproj:
5208 * win32/testsuite/elements.vcproj:
5209 * win32/testsuite/ghostpads.vcproj:
5210 * win32/testsuite/indexers.vcproj:
5211 * win32/testsuite/negotiation.vcproj:
5212 * win32/testsuite/parse.vcproj:
5213 * win32/testsuite/plugin.vcproj:
5214 * win32/testsuite/refcounting.vcproj:
5215 * win32/testsuite/schedulers.vcproj:
5216 * win32/testsuite/states.vcproj:
5217 * win32/testsuite/tags.vcproj:
5218 * win32/testsuite/threads.vcproj:
5219 remove old win32 stuff that isn't maintained and should be
5220 reorganized
5222 2005-11-30 Andy Wingo <wingo@pobox.com>
5224 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5225 loading the gst.interfaces python module bork.
5227 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5228 available since GLib 2.2. Fixes #318031.
5230 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5232 * Makefile.am:
5233 * check/.cvsignore:
5234 * check/Makefile.am:
5235 * check/elements/.cvsignore:
5236 * check/elements/fakesrc.c:
5237 * check/elements/fdsrc.c:
5238 * check/elements/identity.c:
5239 * check/generic/.cvsignore:
5240 * check/generic/states.c:
5241 * check/gst-libs/.cvsignore:
5242 * check/gst-libs/controller.c:
5243 * check/gst-libs/gdp.c:
5244 * check/gst/.cvsignore:
5245 * check/gst/capslist.h:
5246 * check/gst/gst.c:
5247 * check/gst/gstbin.c:
5248 * check/gst/gstbuffer.c:
5249 * check/gst/gstbus.c:
5250 * check/gst/gstcaps.c:
5251 * check/gst/gstelement.c:
5252 * check/gst/gstevent.c:
5253 * check/gst/gstghostpad.c:
5254 * check/gst/gstiterator.c:
5255 * check/gst/gstmessage.c:
5256 * check/gst/gstminiobject.c:
5257 * check/gst/gstobject.c:
5258 * check/gst/gstpad.c:
5259 * check/gst/gstpipeline.c:
5260 * check/gst/gstplugin.c:
5261 * check/gst/gstsegment.c:
5262 * check/gst/gststructure.c:
5263 * check/gst/gstsystemclock.c:
5264 * check/gst/gsttag.c:
5265 * check/gst/gstutils.c:
5266 * check/gst/gstvalue.c:
5267 * check/net/.cvsignore:
5268 * check/net/gstnetclientclock.c:
5269 * check/net/gstnettimeprovider.c:
5270 * check/pipelines/.cvsignore:
5271 * check/pipelines/cleanup.c:
5272 * check/pipelines/simple_launch_lines.c:
5273 * check/pipelines/stress.c:
5274 * check/states/.cvsignore:
5275 * check/states/sinks.c:
5276 * configure.ac:
5277 * examples/Makefile.am:
5278 * examples/appreader/.cvsignore:
5279 * examples/appreader/Makefile.am:
5280 * examples/appreader/appreader.c:
5281 * examples/controller/.cvsignore:
5282 * examples/controller/Makefile.am:
5283 * examples/controller/audio-example.c:
5284 * examples/cutter/.cvsignore:
5285 * examples/cutter/Makefile.am:
5286 * examples/cutter/cutter.c:
5287 * examples/cutter/cutter.h:
5288 * examples/events/Makefile.am:
5289 * examples/events/seek.c:
5290 * examples/helloworld/.cvsignore:
5291 * examples/helloworld/Makefile.am:
5292 * examples/helloworld/helloworld.c:
5293 * examples/helloworld2/.cvsignore:
5294 * examples/helloworld2/Makefile.am:
5295 * examples/helloworld2/helloworld2.c:
5296 * examples/launch/.cvsignore:
5297 * examples/launch/Makefile.am:
5298 * examples/launch/mp3parselaunch.c:
5299 * examples/launch/mp3play:
5300 * examples/manual/.cvsignore:
5301 * examples/manual/Makefile.am:
5302 * examples/manual/extract.pl:
5303 * examples/metadata/Makefile.am:
5304 * examples/metadata/read-metadata.c:
5305 * examples/mixer/.cvsignore:
5306 * examples/mixer/Makefile.am:
5307 * examples/mixer/mixer.c:
5308 * examples/mixer/mixer.h:
5309 * examples/pingpong/.cvsignore:
5310 * examples/pingpong/Makefile.am:
5311 * examples/pingpong/pingpong.c:
5312 * examples/plugins/.cvsignore:
5313 * examples/plugins/Makefile.am:
5314 * examples/plugins/example.c:
5315 * examples/plugins/example.h:
5316 * examples/pwg/.cvsignore:
5317 * examples/pwg/Makefile.am:
5318 * examples/pwg/extract.pl:
5319 * examples/queue/.cvsignore:
5320 * examples/queue/Makefile.am:
5321 * examples/queue/queue.c:
5322 * examples/queue2/.cvsignore:
5323 * examples/queue2/Makefile.am:
5324 * examples/queue2/queue2.c:
5325 * examples/queue3/.cvsignore:
5326 * examples/queue3/Makefile.am:
5327 * examples/queue3/queue3.c:
5328 * examples/queue4/.cvsignore:
5329 * examples/queue4/Makefile.am:
5330 * examples/queue4/queue4.c:
5331 * examples/retag/.cvsignore:
5332 * examples/retag/Makefile.am:
5333 * examples/retag/retag.c:
5334 * examples/retag/transcode.c:
5335 * examples/thread/.cvsignore:
5336 * examples/thread/Makefile.am:
5337 * examples/thread/thread.c:
5338 * examples/typefind/.cvsignore:
5339 * examples/typefind/Makefile.am:
5340 * examples/typefind/typefind.c:
5341 * examples/xml/.cvsignore:
5342 * examples/xml/Makefile.am:
5343 * examples/xml/createxml.c:
5344 * examples/xml/runxml.c:
5345 * tests/Makefile.am:
5346 * tests/check/Makefile.am:
5347 * testsuite/.cvsignore:
5348 * testsuite/Makefile.am:
5349 * testsuite/Rules:
5350 * testsuite/caps/.cvsignore:
5351 * testsuite/caps/Makefile.am:
5352 * testsuite/caps/app_fixate.c:
5353 * testsuite/caps/audioscale.c:
5354 * testsuite/caps/caps.c:
5355 * testsuite/caps/caps.h:
5356 * testsuite/caps/caps_strings:
5357 * testsuite/caps/compatibility.c:
5358 * testsuite/caps/deserialize.c:
5359 * testsuite/caps/enumcaps.c:
5360 * testsuite/caps/eratosthenes.c:
5361 * testsuite/caps/filtercaps.c:
5362 * testsuite/caps/fixed.c:
5363 * testsuite/caps/fraction-convert.c:
5364 * testsuite/caps/fraction-multiply-and-zero.c:
5365 * testsuite/caps/intersect2.c:
5366 * testsuite/caps/intersection.c:
5367 * testsuite/caps/normalisation.c:
5368 * testsuite/caps/random.c:
5369 * testsuite/caps/renegotiate.c:
5370 * testsuite/caps/sets.c:
5371 * testsuite/caps/simplify.c:
5372 * testsuite/caps/string-conversions.c:
5373 * testsuite/caps/structure.c:
5374 * testsuite/caps/subtract.c:
5375 * testsuite/caps/union.c:
5376 * testsuite/debug/.cvsignore:
5377 * testsuite/debug/Makefile.am:
5378 * testsuite/debug/category.c:
5379 * testsuite/debug/commandline.c:
5380 * testsuite/debug/global.c:
5381 * testsuite/debug/output.c:
5382 * testsuite/debug/printf_extension.c:
5383 * testsuite/dlopen/.cvsignore:
5384 * testsuite/dlopen/Makefile.am:
5385 * testsuite/dlopen/dlopen_gst.c:
5386 * testsuite/dlopen/loadgst.c:
5387 * testsuite/elements/.cvsignore:
5388 * testsuite/elements/Makefile.am:
5389 * testsuite/elements/gst-inspect-check.in:
5390 * testsuite/elements/struct_i386.h:
5391 * testsuite/elements/struct_size.c:
5392 * testsuite/indexers/.cvsignore:
5393 * testsuite/indexers/Makefile.am:
5394 * testsuite/indexers/cache1.c:
5395 * testsuite/indexers/indexdump.c:
5396 * testsuite/parse/.cvsignore:
5397 * testsuite/parse/Makefile.am:
5398 * testsuite/parse/parse1.c:
5399 * testsuite/parse/parse2.c:
5400 * testsuite/plugin/.cvsignore:
5401 * testsuite/plugin/Makefile.am:
5402 * testsuite/plugin/README:
5403 * testsuite/plugin/dynamic.c:
5404 * testsuite/plugin/linked.c:
5405 * testsuite/plugin/loading.c:
5406 * testsuite/plugin/registry.c:
5407 * testsuite/plugin/static.c:
5408 * testsuite/plugin/static2.c:
5409 * testsuite/plugin/testplugin.c:
5410 * testsuite/plugin/testplugin2.c:
5411 * testsuite/plugin/testplugin2_s.c:
5412 * testsuite/plugin/testplugin_s.c:
5413 * testsuite/refcounting/.cvsignore:
5414 * testsuite/refcounting/Makefile.am:
5415 * testsuite/refcounting/bin.c:
5416 * testsuite/refcounting/element.c:
5417 * testsuite/refcounting/element_pad.c:
5418 * testsuite/refcounting/mainloop.c:
5419 * testsuite/refcounting/mem.c:
5420 * testsuite/refcounting/mem.h:
5421 * testsuite/refcounting/object.c:
5422 * testsuite/refcounting/pad.c:
5423 * testsuite/refcounting/sched.c:
5424 * testsuite/refcounting/thread.c:
5425 * testsuite/states/.cvsignore:
5426 * testsuite/states/Makefile.am:
5427 * testsuite/states/bin.c:
5428 * testsuite/states/locked.c:
5429 * testsuite/states/parent.c:
5430 * testsuite/threads/.cvsignore:
5431 * testsuite/threads/159566.c:
5432 * testsuite/threads/159852.c:
5433 * testsuite/threads/Makefile.am:
5434 * testsuite/threads/queue.c:
5435 * testsuite/threads/signals.c:
5436 * testsuite/threads/staticrec.c:
5437 * testsuite/threads/thread.c:
5438 * testsuite/threads/threadb.c:
5439 * testsuite/threads/threadc.c:
5440 * testsuite/threads/threadd.c:
5441 * testsuite/threads/threade.c:
5442 * testsuite/threads/threadf.c:
5443 * testsuite/threads/threadg.c:
5444 * testsuite/threads/threadh.c:
5445 * testsuite/threads/threadi.c:
5446 move all of these under tests
5448 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5450 * configure.ac:
5451 * tests/Makefile.am:
5452 fix distcheck
5454 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5456 * docs/gst/gstreamer-sections.txt:
5457 * tests/sched/.cvsignore:
5458 * tests/sched/Makefile.am:
5459 * tests/sched/cases/(fs-fs).xml:
5460 * tests/sched/cases/(fs-i-fs).xml:
5461 * tests/sched/cases/(fs-i-i-fs).xml:
5462 * tests/sched/cases/(fs-i-q[i-fs]).xml:
5463 * tests/sched/dynamic-pipeline.c:
5464 * tests/sched/interrupt1.c:
5465 * tests/sched/interrupt2.c:
5466 * tests/sched/interrupt3.c:
5467 * tests/sched/runtestcases:
5468 * tests/sched/runxml.c:
5469 * tests/sched/sched-stress.c:
5470 * tests/sched/sort.c:
5471 * tests/sched/testcases:
5472 * tests/sched/testcases1.tc:
5473 * tests/seeking/.cvsignore:
5474 * tests/seeking/Makefile.am:
5475 * tests/seeking/seeking1.c:
5476 * tests/threadstate/.cvsignore:
5477 * tests/threadstate/Makefile.am:
5478 * tests/threadstate/test1.c:
5479 * tests/threadstate/test2.c:
5480 * tests/threadstate/threadstate1.c:
5481 * tests/threadstate/threadstate2.c:
5482 * tests/threadstate/threadstate3.c:
5483 * tests/threadstate/threadstate4.c:
5484 * tests/threadstate/threadstate5.c:
5485 remove obsolete tests
5486 * configure.ac:
5487 * tests/bench-complexity.scm:
5488 * tests/bench-mass_elements.scm:
5489 * tests/complexity.c:
5490 * tests/complexity.gnuplot:
5491 * tests/instantiate/.cvsignore:
5492 * tests/instantiate/Makefile.am:
5493 * tests/instantiate/caps.c:
5494 * tests/mass_elements.c:
5495 * tests/network-clock-utils.scm:
5496 * tests/network-clock.scm:
5497 * tests/plot-data:
5498 First pass at cleaning up tests/ dir before moving the rest
5499 Combined with CVS surgery
5501 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5503 * po/POTFILES.in:
5504 queue has moved, update
5506 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5508 * docs/gst/gstreamer-sections.txt:
5509 remove double entries from the docs
5510 * gst/gst_private.h:
5511 * gst/gstinfo.c: (_gst_debug_init):
5512 remove the THREAD debug category
5513 * gst/Makefile.am:
5514 * gst/gstqueue.c:
5515 * gst/gstqueue.h:
5516 * docs/gst/gstreamer.types:
5517 * plugins/elements/gstqueue.c: (gst_queue_get_type),
5518 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5519 completely move queue and fix up debugging categories
5521 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5523 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5524 make initialization portable, using LL is not
5526 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5528 * win32/common/gstconfig.h:
5529 add large padding
5531 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5533 * win32/common/libgstreamer.def:
5534 rename symbols; sort base section
5536 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5538 * gst/gstclock.c: (do_linear_regression):
5539 remove crack non-portable handrolled DEBUG macro
5541 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5543 * docs/random/release:
5544 update notes
5545 * win32/common/gstenumtypes.c: (register_gst_object_flags),
5546 (gst_object_flags_get_type), (register_gst_bin_flags),
5547 (gst_bin_flags_get_type), (register_gst_buffer_flag),
5548 (gst_buffer_flag_get_type), (register_gst_bus_flags),
5549 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5550 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5551 (gst_caps_flags_get_type), (register_gst_clock_return),
5552 (gst_clock_return_get_type), (register_gst_clock_entry_type),
5553 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5554 (gst_clock_flags_get_type), (register_gst_state),
5555 (gst_state_get_type), (register_gst_state_change_return),
5556 (gst_state_change_return_get_type), (register_gst_state_change),
5557 (gst_state_change_get_type), (register_gst_element_flags),
5558 (gst_element_flags_get_type), (register_gst_core_error),
5559 (gst_core_error_get_type), (register_gst_library_error),
5560 (gst_library_error_get_type), (register_gst_resource_error),
5561 (gst_resource_error_get_type), (register_gst_stream_error),
5562 (gst_stream_error_get_type), (register_gst_event_type_flags),
5563 (gst_event_type_flags_get_type), (register_gst_event_type),
5564 (gst_event_type_get_type), (register_gst_seek_type),
5565 (gst_seek_type_get_type), (register_gst_seek_flags),
5566 (gst_seek_flags_get_type), (register_gst_format),
5567 (gst_format_get_type), (register_gst_index_certainty),
5568 (gst_index_certainty_get_type), (register_gst_index_entry_type),
5569 (gst_index_entry_type_get_type),
5570 (register_gst_index_lookup_method),
5571 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5572 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5573 (gst_index_resolver_method_get_type), (register_gst_index_flags),
5574 (gst_index_flags_get_type), (register_gst_debug_level),
5575 (gst_debug_level_get_type), (register_gst_debug_color_flags),
5576 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5577 (gst_iterator_result_get_type), (register_gst_iterator_item),
5578 (gst_iterator_item_get_type), (register_gst_message_type),
5579 (gst_message_type_get_type), (register_gst_mini_object_flags),
5580 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5581 (gst_pad_link_return_get_type), (register_gst_flow_return),
5582 (gst_flow_return_get_type), (register_gst_activate_mode),
5583 (gst_activate_mode_get_type), (register_gst_pad_direction),
5584 (gst_pad_direction_get_type), (register_gst_pad_flags),
5585 (gst_pad_flags_get_type), (register_gst_pad_presence),
5586 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5587 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5588 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5589 (gst_plugin_error_get_type), (register_gst_plugin_flags),
5590 (gst_plugin_flags_get_type), (register_gst_rank),
5591 (gst_rank_get_type), (register_gst_query_type),
5592 (gst_query_type_get_type), (register_gst_tag_merge_mode),
5593 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5594 (gst_tag_flag_get_type), (register_gst_task_state),
5595 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5596 (gst_alloc_trace_flags_get_type),
5597 (register_gst_type_find_probability),
5598 (gst_type_find_probability_get_type), (register_gst_uri_type),
5599 (gst_uri_type_get_type), (register_gst_parse_error),
5600 (gst_parse_error_get_type):
5601 * win32/common/gstenumtypes.h:
5602 * win32/common/gstversion.h:
5603 update visual studio generated files
5605 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5607 * win32/vs6/libgstbase.dsp:
5608 * win32/vs6/libgstelements.dsp:
5609 update project files for new locations
5611 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
5613 * Makefile.am:
5614 remove some files
5615 * README:
5616 reinstate and update
5617 * DEVEL:
5618 * REQUIREMENTS:
5619 removed
5620 * LICENSE:
5621 * docs/random/LICENSE:
5622 moved to random
5624 2005-11-30 Edward Hervey <edward@fluendo.com>
5626 * gst/gsttypefind.c: (gst_type_find_register):
5627 * gst/gsttypefind.h:
5628 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5629 (gst_type_find_factory_dispose):
5630 * gst/gsttypefindfactory.h:
5631 Fix memory leak in GstTypeFindFactory.
5633 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5635 * gst/gst.c:
5636 * plugins/elements/Makefile.am:
5637 * plugins/elements/gstelements.c:
5638 * plugins/elements/gstqueue.c:
5639 move queue from core to the elements plugin
5641 2005-11-29 Andy Wingo <wingo@pobox.com>
5643 * libs/gst/base/gstbasetransform.h:
5644 * libs/gst/base/gstbasesrc.h:
5645 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5647 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5648 of pointers by which to pad very extensible base classes (like the
5649 ones in libs/gst/base).
5651 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5653 * docs/gst/gstreamer-docs.sgml:
5654 * docs/gst/gstreamer-sections.txt:
5655 * docs/libs/gstreamer-libs-docs.sgml:
5656 * docs/libs/gstreamer-libs-sections.txt:
5657 moving documentation from core to lib
5659 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5661 * check/Makefile.am:
5662 * configure.ac:
5663 * docs/gst/Makefile.am:
5664 * gst/Makefile.am:
5665 * gst/base/.cvsignore:
5666 * gst/base/Makefile.am:
5667 * gst/base/README:
5668 * gst/base/gstadapter.c:
5669 * gst/base/gstadapter.h:
5670 * gst/base/gstbasesink.c:
5671 * gst/base/gstbasesink.h:
5672 * gst/base/gstbasesrc.c:
5673 * gst/base/gstbasesrc.h:
5674 * gst/base/gstbasetransform.c:
5675 * gst/base/gstbasetransform.h:
5676 * gst/base/gstcollectpads.c:
5677 * gst/base/gstcollectpads.h:
5678 * gst/base/gstpushsrc.c:
5679 * gst/base/gstpushsrc.h:
5680 * gst/base/gsttypefindhelper.c:
5681 * gst/base/gsttypefindhelper.h:
5682 * gst/check/Makefile.am:
5683 * gst/check/gstcheck.c:
5684 * gst/check/gstcheck.h:
5685 * gst/net/Makefile.am:
5686 * gst/net/gstnet.h:
5687 * gst/net/gstnetclientclock.c:
5688 * gst/net/gstnetclientclock.h:
5689 * gst/net/gstnettimepacket.c:
5690 * gst/net/gstnettimepacket.h:
5691 * gst/net/gstnettimeprovider.c:
5692 * gst/net/gstnettimeprovider.h:
5693 * libs/gst/Makefile.am:
5694 * libs/gst/base/Makefile.am:
5695 * libs/gst/base/gstbasetransform.c:
5696 * libs/gst/check/Makefile.am:
5697 * plugins/elements/Makefile.am:
5698 * po/POTFILES.in:
5699 CVS surgery + support to move base, check, and net out of gst
5700 and into libs/gst
5702 2005-11-29 Andy Wingo <wingo@pobox.com>
5704 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5706 * gst/gststructure.h (struct _GstStructure): Only one pointer of
5707 padding.
5709 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5711 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5713 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5715 * gst/gstobject.h: (struct _GstObject): Only one pointer of
5716 padding; reduces object size by about 30%. We don't expect
5717 anything else to go into gstobject.
5719 * gst/gstminiobject.h (struct _GstMiniObject)
5720 (struct _GstMiniObjectClass): Only one pointer of padding; the
5721 payload is only a pointer and two ints anyway. For the class there
5722 are only two methods as well.
5724 * gst/gstelement.h (struct _GstElementClass): Removed
5725 the state_changed signal callback, it is not used.
5727 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5729 * docs/gst/gstreamer.types:
5730 fix includes, though they are a little dinky
5732 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5734 * check/Makefile.am:
5735 look in the right place for elements, a lot more chance of
5736 success
5737 * gst/Makefile.am:
5738 remove indexers and elements subdirs
5739 * plugins/Makefile.am:
5740 make indexers conditional
5742 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5744 * Makefile.am:
5745 * configure.ac:
5746 * plugins/elements/Makefile.am:
5747 * plugins/elements/gstcapsfilter.c:
5748 * plugins/elements/gstfilesink.c:
5749 * plugins/elements/gstfilesrc.c:
5750 * plugins/elements/gstidentity.c:
5751 * plugins/indexers/Makefile.am:
5752 do CVS surgery and related build fixery to move elements
5753 and indexers in a new gstreamer/plugins directory, out of the
5754 gst/ directory
5756 2005-11-29 Andy Wingo <wingo@pobox.com>
5758 * check/Makefile.am:
5759 * pkgconfig/gstreamer-net-uninstalled.pc.in:
5760 * pkgconfig/gstreamer-net.pc.in:
5761 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5762 #322257.
5764 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5766 * tools/Makefile.am:
5767 * tools/gst-complete.1.in:
5768 * tools/gst-complete.c:
5769 * tools/gst-compprep.1.in:
5770 * tools/gst-compprep.c:
5771 removing -compprep and -complete
5773 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
5775 * gst/gstevent.c: (gst_event_new_new_segment),
5776 (gst_event_parse_new_segment):
5777 * gst/gstevent.h:
5778 fix #320529 - clean up new_segment API and structure.
5779 Let's hope everyone was using the methods, and not the structure.
5781 2005-11-29 Edward Hervey <edward@fluendo.com>
5783 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5784 (gst_base_sink_event), (gst_base_sink_do_sync),
5785 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5786 Properly handle non GST_FORMAT_TIME segment
5787 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5788 Properly handle non GST_FORMAT_TIME segment
5789 * gst/gstsegment.c:
5790 This function is valid if the accumulator is 0 and the format
5791 is different from the requested format.
5793 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5795 * docs/gst/gstreamer-sections.txt:
5796 Add gst_query_new_seeking and gst_query_parse_seeking to the
5797 docs.
5799 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5801 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5802 Treat a pad alloc with new caps the same as if we were not
5803 negotiated, in order to allow a changing upstream output
5804 to produce a new format of data.
5806 2005-11-29 Edward Hervey <edward@fluendo.com>
5808 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5809 (gst_base_transform_event), (gst_base_transform_eventfunc):
5810 The event virtual method is now properly implemented, with a default
5811 handler
5812 Sub classes should call the parent_class event method. They should
5813 return FALSE if they had a problem handling the given event, or don't
5814 want GstBaseTransform to send that even downstream
5815 * gst/elements/gstidentity.c: (gst_identity_class_init),
5816 (gst_identity_init), (gst_identity_event),
5817 (gst_identity_transform_ip), (gst_identity_set_property),
5818 (gst_identity_get_property):
5819 * gst/elements/gstidentity.h:
5820 Added the single-segment boolean property.
5821 If set to TRUE, it will output a single segment of data, starting from
5822 0, will eat up all incoming newsegment, and modify the timestamp of the
5823 buffers accordingly
5825 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
5827 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5828 Don't ref NULL target pad (#322751). Improve docs.
5830 2005-11-29 Michael Smith <msmith@fluendo.com>
5832 * gst/gstregistryxml.c: (load_plugin):
5833 Don't crash if we failed to load a feature from a plugin.
5835 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5837 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5838 (GST_START_TEST):
5839 use more check API and less GLib API
5841 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5843 * Makefile.am:
5844 don't run checks if we don't have check
5845 * common/check.mak:
5846 remove the registry when running make torture
5847 * docs/gst/gstreamer-sections.txt:
5848 remove second multiply
5849 * gst/gstqueue.c: (gst_queue_loop):
5850 fix a compile warning when disabling debug
5852 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5854 * gst/gstinfo.h:
5855 Hey! Let's print the pad name if the pointer != NULL instead
5856 of when it == NULL :-)
5858 2005-11-28 Wim Taymans <wim@fluendo.com>
5860 * check/gst/gstutils.c: (GST_START_TEST):
5861 Updated check, add some scaling accuracy checking code.
5863 * gst/gstutils.c: (gst_util_div128_64),
5864 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5865 (gst_util_uint64_scale_int):
5866 Fix 6 times faster division code. Optimize for common
5867 1/1 and less common X/1 cases.
5869 2005-11-28 Wim Taymans <wim@fluendo.com>
5871 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5872 More checks.
5874 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5875 (do_linear_regression), (gst_clock_add_observation):
5876 Cleanups.
5877 Release lock when the clock cannot be slaved.
5878 Catch the case where the regression returned an invalid denominator.
5880 * gst/gstutils.c: (gst_util_div128_64_iterate),
5881 (gst_util_div128_64), (gst_util_uint64_scale_int64),
5882 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5883 Add protentially more performant non-iterative 128/64 divide function
5884 that unfortunatly does not work yet.
5885 Shortcut the trivial 0/X = 0 case.
5886 Remove the warnings on overflow.
5888 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5890 * gst/gstplugin.c: (gst_plugin_register_func):
5891 everything causing a plugin not to load should be at least a WARNING
5893 2005-11-28 Stefan Kost <ensonic@users.sf.net>
5895 * docs/random/ensonic/dparams.txt:
5896 some TODOs for the next dev cycle
5897 * libs/gst/controller/gstcontroller.c:
5898 (gst_controlled_property_set_interpolation_mode),
5899 (gst_controlled_property_new):
5900 * libs/gst/controller/gstcontroller.h:
5901 use base type to assign acccessor functions
5903 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5905 * check/Makefile.am:
5906 Oops, that should have been top_srcdir
5908 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
5910 * check/Makefile.am:
5911 * check/elements/fdsrc.c: (GST_START_TEST):
5912 Use a cmdline define to specify the location of a file to use for
5913 testing, to avoid breaking distcheck.
5915 2005-11-28 Andy Wingo <wingo@pobox.com>
5917 * gst/gstpad.c (fixate_value): Use array functions for arrays.
5919 2005-11-28 Edward Hervey <edward@fluendo.com>
5921 * tools/gst-launch.c: (main):
5922 Clarify the output strings, makes it easier to translate.
5923 Fixes #322626
5925 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
5927 * gst/Makefile.am:
5928 don't try and build net if we don't even have <sys/socket.h>
5930 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
5932 * check/Makefile.am:
5933 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5934 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5935 Add tests for fdsrc seekability
5937 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5938 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5939 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5940 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5941 * gst/elements/gstfdsrc.h:
5942 fdsrc should not be a 'live' source.
5943 Implement seeking on seekable fd's.
5945 * gst/gstquery.c: (gst_query_new_seeking),
5946 (gst_query_parse_seeking):
5947 * gst/gstquery.h:
5948 Implement SEEKING query functions:
5949 *_new_seeking and *_parse_seeking
5951 2005-11-27 Stefan Kost <ensonic@users.sf.net>
5953 * gst/gstelement.c: (gst_element_dispose):
5954 don't loop forever
5956 * gst/gstiterator.c:
5957 * gst/gststructure.c:
5958 doc fixes
5960 * libs/gst/controller/gstcontroller.c:
5961 (gst_controlled_property_set_interpolation_mode):
5962 * libs/gst/controller/gstcontroller.h:
5963 * libs/gst/controller/gstinterpolation.c:
5964 (interpolate_none_get_enum_value_array):
5965 support controlling enums
5967 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5969 * gst/gstvalue.c:
5970 Improve documentation for gst_value_union().
5972 * gst/gstvalue.h:
5973 Change return value for union, intersect and subtract functions
5974 from gint to gboolean.
5976 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
5978 * gst/gstvalue.c: (gst_value_serialize_any_list),
5979 (gst_value_transform_any_list_string),
5980 (gst_value_deserialize_list), (gst_value_deserialize_array),
5981 (gst_value_set_int_range), (gst_value_deserialize_int_range),
5982 (gst_value_set_double_range), (gst_value_deserialize_double_range),
5983 (gst_value_set_fraction_range_full),
5984 (gst_value_deserialize_fraction_range),
5985 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5986 (gst_value_deserialize_boolean),
5987 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5988 (gst_value_serialize_float), (gst_value_deserialize_float),
5989 (gst_string_wrap), (gst_value_deserialize_string),
5990 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5991 (gst_value_union_int_range_int_range),
5992 (gst_value_intersect_int_range_int_range),
5993 (gst_value_intersect_double_range_double_range),
5994 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5995 (gst_value_subtract_int_range_int_range),
5996 (gst_value_subtract_double_double_range),
5997 (gst_value_subtract_double_range_double_range),
5998 (gst_value_deserialize_fraction):
5999 * gst/gstvalue.h:
6000 Use gint, gdouble and gchar in our API instead of int, double and
6001 char (and make usage in gstvalue.c more consistent).
6003 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6005 * check/Makefile.am:
6006 * libs/gst/controller/Makefile.am:
6007 * libs/gst/dataprotocol/Makefile.am:
6008 fix up Makefile.am and remove GST_ENABLE_NEW
6010 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6012 * configure.ac:
6013 * gst/Makefile.am:
6014 * gst/base/Makefile.am:
6015 * gst/check/Makefile.am:
6016 * gst/elements/Makefile.am:
6017 * gst/net/Makefile.am:
6018 update LDFLAGS use some more
6020 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
6022 * common/m4/gst-doc.m4:
6023 Fixes #312589
6025 2005-11-26 Edward Hervey <edward@fluendo.com>
6027 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6028 This shouldn't issue a g_warning since it returns NULL if it
6029 couldn't find the plugin, and all functions using this behave
6030 properly on a NULL return. Switching to a GST_WARNING.
6032 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
6034 * gst/gstbin.c: (gst_bin_handle_message_func):
6035 Don't leak clock messages.
6037 2005-11-25 Wim Taymans <wim@fluendo.com>
6039 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6040 (gst_util_uint64_scale_int):
6041 Optimisations, remove unneeded vars.
6043 2005-11-25 Wim Taymans <wim@fluendo.com>
6045 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6046 Added more checks for the high precision uint64 cases.
6048 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6049 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6050 Implement high precision (guint64 * guint64) / guint64.
6052 2005-11-24 Wim Taymans <wim@fluendo.com>
6054 * gst/base/gstbasesrc.c: (gst_base_src_query):
6055 Fix wrong percentage query.
6057 * gst/gstutils.c: (gst_util_uint64_scale),
6058 (gst_util_uint64_scale_int):
6059 Add some more common cases that can be handled
6060 efficiently to _scale.
6062 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6064 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6065 (gst_mini_object_suite):
6066 don't use check calls from threads; check probably isn't
6067 threadsafe and using a lock to make it threadsafe would
6068 defeat the purpose of this check
6069 * gst/check/gstcheck.c:
6070 * gst/check/gstcheck.h:
6071 use GST_DEBUG some more
6073 2005-11-24 Wim Taymans <wim@fluendo.com>
6075 * gst/gstutils.c: (gst_util_uint64_scale),
6076 (gst_util_uint64_scale_int):
6077 Chain trivial case to _scale_int.
6079 2005-11-24 Wim Taymans <wim@fluendo.com>
6081 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6082 Added test for scaling.
6084 * gst/gstclock.h:
6085 Small doc fix.
6087 * gst/gstutils.c: (gst_util_uint64_scale_int):
6088 Implemented high precision scaling code.
6090 2005-11-24 Stefan Kost <ensonic@users.sf.net>
6092 * gst/gstinfo.h:
6093 do not crash on pad==NULL
6095 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
6097 Patch by: Stefan Kost
6099 * common/gtk-doc.mak:
6100 * docs/gst/Makefile.am:
6101 * docs/libs/Makefile.am:
6102 Fix distcheck issues for the libraries docs build
6103 Closes #319599.
6105 2005-11-24 Michael Smith <msmith@fluendo.com>
6107 * docs/manual/basics-helloworld.xml:
6108 Fix bug #315027: memory leak in example code in docs.
6110 2005-11-24 Michael Smith <msmith@fluendo.com>
6112 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6113 Unlock the PREROLL_LOCK in a failure case.
6115 2005-11-24 Wim Taymans <wim@fluendo.com>
6117 * docs/gst/gstreamer-sections.txt:
6118 * gst/base/gstadapter.h:
6119 * gst/base/gstbasesink.h:
6120 * gst/base/gstbasesrc.h:
6121 * gst/base/gstbasetransform.h:
6122 * gst/base/gstpushsrc.h:
6123 * gst/elements/gstfakesink.h:
6124 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6125 * gst/elements/gstfakesrc.h:
6126 * gst/elements/gstfilesink.h:
6127 * gst/elements/gstfilesrc.h:
6128 * gst/gst.c:
6129 * gst/gstbin.c:
6130 * gst/gstbuffer.c: (_gst_buffer_copy):
6131 * gst/gstbus.h:
6132 * gst/gstcaps.c:
6133 * gst/gstchildproxy.c:
6134 * gst/gstclock.c:
6135 * gst/gstelement.c:
6136 * gst/gstelementfactory.c:
6137 * gst/gstelementfactory.h:
6138 * gst/gstevent.c:
6139 * gst/gstghostpad.h:
6140 * gst/gstindex.h:
6141 * gst/gstinterface.h:
6142 * gst/gstminiobject.c:
6143 * gst/gstminiobject.h:
6144 * gst/gstpad.c:
6145 * gst/gstpad.h:
6146 * gst/gstpadtemplate.h:
6147 * gst/gstpipeline.h:
6148 * gst/gstpluginfeature.h:
6149 * gst/gstquery.h:
6150 * gst/gstqueue.h:
6151 * gst/gsttaglist.c:
6152 * gst/gsttaglist.h:
6153 * gst/gsttagsetter.c:
6154 * gst/gsttagsetter.h:
6155 * gst/gsttrace.c:
6156 * gst/gsttrace.h:
6157 * gst/gsttypefind.h:
6158 * gst/gsturi.h:
6159 * gst/gstvalue.c:
6160 * gst/net/gstnetclientclock.c:
6161 * gst/net/gstnetclientclock.h:
6162 * gst/net/gstnettimepacket.c:
6163 * gst/net/gstnettimeprovider.c:
6164 * gst/net/gstnettimeprovider.h:
6165 Doc fixes.
6167 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6169 * configure.ac: back to HEAD
6171 === release 0.9.6 ===
6173 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6175 * configure.ac:
6176 releasing 0.9.6, "Always On Time"
6178 2005-11-23 Wim Taymans <wim@fluendo.com>
6180 * docs/gst/gstreamer-sections.txt:
6181 * gst/glib-compat.c:
6182 * gst/gsttagsetter.c:
6183 * gst/gstvalue.c:
6184 * gst/net/gstnetclientclock.c:
6185 * gst/net/gstnettimepacket.h:
6186 Doc updates.
6188 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
6190 * docs/faq/using.xml:
6191 * docs/libs/tmpl/gstcontrol.sgml:
6192 * docs/manual/advanced-dparams.xml:
6193 * docs/manual/appendix-checklist.xml:
6194 * docs/manual/basics-elements.xml:
6195 * docs/pwg/other-source.xml:
6196 * docs/random/moving-plugins:
6197 * gst/gstpad.c:
6198 * tools/gst-launch.1.in:
6199 remove mentions of sinesrc
6201 2005-11-23 Michael Smith <msmith@fluendo.com>
6203 * docs/gst/gstreamer-sections.txt:
6204 Update for new API and API changes.
6205 * gst/gstobject.h:
6206 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6207 * gst/gstvalue.c:
6208 Documentation typo fix.
6209 * gst/net/gstnettimepacket.c:
6210 Documentation fixes for arguments.
6212 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
6214 * gst/gststructure.c: (gst_structure_get_fraction),
6215 (gst_structure_parse_value),
6216 (gst_structure_fixate_field_nearest_fraction):
6217 * gst/gststructure.h:
6218 * gst/gstutils.c: (gst_util_uint64_scale_int):
6219 * gst/gstutils.h:
6220 * scripts/update-funcnames:
6221 API Changes.
6222 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6223 Make gst_structure_fixate_field_nearest_fraction take a numerator
6224 and denominator argument instead of a GValue
6225 add gst_structure_get_fraction helper function.
6227 2005-11-23 Wim Taymans <wim@fluendo.com>
6229 * docs/design/part-TODO.txt:
6230 Update TODO.
6232 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6233 * gst/net/gstnetclientclock.h:
6234 Use parent fields for timeout and window_size.
6236 2005-11-23 Andy Wingo <wingo@pobox.com>
6238 * check/net/gstnetclientclock.c (test_functioning): Adjust to
6239 rate_num/rate_denom change.
6241 * gst/net/gstnetclientclock.c
6242 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6243 OBJECT_LOCK. Don't call add_observation with the lock.
6245 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6246 fraction.
6247 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6248 rate fraction.
6249 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6250 deal with rate as a fraction whose numerator and denominator are
6251 GstClockTime values.
6252 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6253 master; the other fields are protected by the SLAVE_LOCK.
6254 (do_linear_regression): Note that this must be called with the
6255 SLAVE_LOCK.
6256 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6257 OBJECT_LOCK. Call set_calibration instead of touching the
6258 variables directly.
6259 (gst_clock_set_property, gst_clock_get_property): Protect
6260 master/slave parameters with the SLAVE_LOCK.
6262 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6263 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6264 note that all of the instance variables that add_observation and
6265 the set_master functions use are protected by that lock and not
6266 the OBJECT_LOCK.
6267 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6269 * gst/gstclock.c (gst_clock_add_observation): No longer requires
6270 the caller to take the object lock.
6272 2005-11-23 Wim Taymans <wim@fluendo.com>
6274 * gst/gsterror.c: (_gst_core_errors_init):
6275 * gst/gsterror.h:
6276 Add error for clock stuff.
6278 * gst/gstpipeline.c: (gst_pipeline_change_state),
6279 (gst_pipeline_set_clock):
6280 Post clock error when clock cannot be used in a pipeline.
6282 2005-11-23 Stefan Kost <ensonic@users.sf.net>
6284 * docs/gst/gstreamer-sections.txt:
6285 make two symbols from gstinfo private for the docs
6286 * gst/base/gstcollectpads.h:
6287 * gst/gstutils.c:
6288 fix doc typos, update docs
6290 2005-11-22 Wim Taymans <wim@fluendo.com>
6292 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6293 (gst_base_sink_wait), (gst_base_sink_do_sync),
6294 (gst_base_sink_handle_event):
6295 * gst/base/gstbasesink.h:
6296 No need to store the clock, the parent element class already
6297 has it.
6299 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6300 Updates for clock_set returning a gboolean
6302 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6303 (gst_clock_id_wait_async), (gst_clock_class_init),
6304 (gst_clock_init), (gst_clock_finalize),
6305 (gst_clock_get_internal_time), (gst_clock_get_time),
6306 (gst_clock_slave_callback), (gst_clock_set_master),
6307 (gst_clock_get_master), (do_linear_regression),
6308 (gst_clock_add_observation), (gst_clock_set_property),
6309 (gst_clock_get_property):
6310 * gst/gstclock.h:
6311 Implement master/slave. When setting a clock as a slave, a
6312 periodic timeout is scheduled to sample master and slave times.
6313 Then the slave clock is recalibrated to match offset and rate
6314 of the master clock.
6315 Update logging a bit.
6316 Add flag so that a clock can state that is cannot be slaved to
6317 another clock.
6319 * gst/gstelement.c: (gst_element_set_clock):
6320 * gst/gstelement.h:
6321 The set clock returns a gboolean for when an element cannot
6322 deal with the selected clock in the pipeline.
6324 * gst/gstpipeline.c: (gst_pipeline_change_state),
6325 (gst_pipeline_set_clock):
6326 * gst/gstpipeline.h:
6327 Handle the case where the selected clock cannot be set on
6328 the pipeline.
6330 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6331 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6332 (gst_net_client_clock_set_property),
6333 (gst_net_client_clock_get_property),
6334 (gst_net_client_clock_observe_times):
6335 * gst/net/gstnetclientclock.h:
6336 Use regression code in GstClock parent, remove duplicated
6337 functionality.
6339 2005-11-22 Michael Smith <msmith@fluendo.com>
6341 * gst/gstutils.c: (gst_util_clock_time_scale):
6342 * gst/gstutils.h:
6343 * docs/gst/gstreamer-sections.txt:
6344 Rename method to have extra underscore.
6346 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
6348 * gst/elements/Makefile.am:
6349 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6350 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6351 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6352 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6353 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6354 * gst/elements/gstfakesrc.h:
6355 * gst/gstqueue.c: (queue_leaky_get_type):
6356 correctly fix GEnumValues so that nick is the short lowercase
6357 dashed tag
6358 * tools/gst-inspect.c: (print_element_properties_info):
6359 also show the nick, since it's useful to use from parse_launch
6360 syntax
6361 Fixes #322139
6363 2005-11-22 Michael Smith <msmith@fluendo.com>
6365 * gst/gstutils.c: (gst_util_clocktime_scale):
6366 * gst/gstutils.h:
6367 * docs/gst/gstreamer-sections.txt:
6368 Add util method for scaling a clocktime by a fraction. Useful
6369 implementation is left as an exercise for the reader.
6371 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6373 * gst/gstvalue.c: (gst_value_collect_fraction_range):
6374 If needed, allocate storage in the destination value during
6375 collection.
6377 2005-11-22 Edward Hervey <edward@fluendo.com>
6379 * docs/gst/gstreamer-sections.txt:
6380 * gst/Makefile.am:
6381 * gst/gst.h:
6382 * gst/gsturitype.c:
6383 * gst/gsturitype.h:
6384 * gst/gstutils.c: (gst_util_set_object_arg):
6385 * tools/gst-compprep.c: (main):
6386 * tools/gst-inspect.c: (print_element_properties_info):
6387 Removed GstURI, closes bug #321061
6389 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6391 * check/gst/gststructure.c: (GST_START_TEST):
6392 * gst/gststructure.c: (gst_structure_parse_value):
6393 Oops, broke automatic string type parsing.
6394 Add a test to catch it in future.
6396 2005-11-22 Andy Wingo <wingo@pobox.com>
6398 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
6399 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6400 Actually rename the function implementations. Grr.
6402 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6404 * check/gst/capslist.h:
6405 Comment test cases
6406 * check/gst/gststructure.c: (GST_START_TEST),
6407 (gst_structure_suite):
6408 Test automatic value type detection in gst_structure_from_string.
6409 * gst/gststructure.c: (gst_structure_parse_value):
6410 Add fraction as a type we try and guess automatically in
6411 caps/structure strings.
6413 2005-11-22 Andy Wingo <wingo@pobox.com>
6415 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6417 * gst/gsttagsetter.h:
6418 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6419 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6420 (gst_tag_setter_add_tag_valist)
6421 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6422 _add_values, _add_valist, and _add_valist_values. Since this is an
6423 interface the function suffixes should be more explicit so
6424 language binding don't end up with element.add_valist ->
6425 gst_tag_setter_add_valist, for example. Fixes #322069.
6427 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6429 * check/gst/gstcaps.c: (GST_START_TEST):
6430 Extend caps string tests to check that a caps to string
6431 conversion is reversible and produces the same caps.
6433 * gst/gststructure.c: (gst_structure_value_get_generic_type):
6434 Output "fraction" as the generic type fraction range, so caps
6435 serialisation and deserialisation works.
6436 * check/gst/capslist.h:
6437 * gst/gstvalue.c: (gst_value_deserialize_fraction):
6438 Support 'MIN' and 'MAX' for deserialising fractions.
6440 2005-11-22 Andy Wingo <wingo@pobox.com>
6442 * gst/gstevent.h (gst_event_new_new_segment)
6443 (gst_event_parse_new_segment, gst_event_new_buffer_size)
6444 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6445 Renamed from *_newsegment, *_buffersize, *_notarget.
6447 * scripts/update-funcnames: New script, performs the changes
6448 listed above.
6450 2005-11-22 Wim Taymans <wim@fluendo.com>
6452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6453 Make sure the GstFlowReturn is returned.
6455 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6456 (gst_bus_add_signal_watch):
6457 * gst/gstbus.h:
6458 add gst_bus_add_signal_watch_full.
6460 * gst/gstplugin.c: (gst_plugin_load_file):
6461 Small style cleanup.
6463 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6465 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6466 Block the fakesrc srcpad when we send an event, to avoid
6467 contention on the stream_lock causing random test failures.
6469 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6471 * check/gst/gstvalue.c: (GST_START_TEST):
6472 * gst/gstvalue.c: (gst_value_fraction_subtract):
6473 Fix subtraction.
6475 2005-11-22 Stefan Kost <ensonic@users.sf.net>
6477 * gst/gst.h:
6478 include "gstchildproxy.h"
6479 * gst/gstchildproxy.h:
6480 * libs/gst/controller/gstcontroller.h:
6481 use G_GNUC_NULL_TERMINATED
6483 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
6485 * check/gst/capslist.h:
6486 * check/gst/gstcaps.c: (GST_START_TEST):
6487 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6488 * gst/gststructure.c: (gst_structure_parse_range),
6489 (gst_structure_fixate_field_nearest_fraction):
6490 * gst/gststructure.h:
6491 * gst/gstvalue.c: (gst_value_init_fraction_range),
6492 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6493 (gst_value_collect_fraction_range),
6494 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6495 (gst_value_set_fraction_range_full),
6496 (gst_value_get_fraction_range_min),
6497 (gst_value_get_fraction_range_max),
6498 (gst_value_serialize_fraction_range),
6499 (gst_value_transform_fraction_range_string),
6500 (gst_value_compare_fraction_range),
6501 (gst_value_deserialize_fraction_range),
6502 (gst_value_intersect_fraction_fraction_range),
6503 (gst_value_intersect_fraction_range_fraction_range),
6504 (gst_value_subtract_fraction_fraction_range),
6505 (gst_value_subtract_fraction_range_fraction),
6506 (gst_value_subtract_fraction_range_fraction_range),
6507 (gst_value_collect_fraction), (gst_value_fraction_multiply),
6508 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6509 (gst_value_transform_string_fraction), (_gst_value_initialize):
6510 * gst/gstvalue.h:
6511 Implement fraction ranges and extend GstFraction to support
6512 arithmetic subtraction, as well as deserialization from integer
6513 strings such as "100"
6514 Add a testsuite as for int and double range set operations
6516 2005-11-21 Andy Wingo <wingo@pobox.com>
6518 * gst/gsttaglist.h:
6519 * gst/gstcaps.h:
6520 * gst/gststructure.h: Add glib-compat.h.
6522 2005-11-21 Wim Taymans <wim@fluendo.com>
6524 * gst/gstbin.c: (gst_bin_change_state_func):
6525 Fix for #321595
6527 2005-11-21 Wim Taymans <wim@fluendo.com>
6529 * gst/gstsegment.h:
6530 And add a nice define too.
6532 2005-11-21 Wim Taymans <wim@fluendo.com>
6534 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6535 (gst_segment_new), (gst_segment_free), (gst_segment_init),
6536 (gst_segment_set_duration), (gst_segment_set_last_stop),
6537 (gst_segment_set_seek), (gst_segment_set_newsegment),
6538 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6539 (gst_segment_clip):
6540 * gst/gstsegment.h:
6541 Make binding friendly.
6543 2005-11-21 Andy Wingo <wingo@pobox.com>
6545 * gst/gsttagsetter.h:
6546 * gst/gsttaglist.h:
6547 * gst/gststructure.h:
6548 * gst/gstcaps.h:
6549 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6550 #319940.
6552 * gst/gsterror.c (_gst_core_errors_init):
6553 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6554 category.
6556 * gst/Makefile.am (gst_headers): Add glib-compat.h.
6557 (noinst_HEADERS): noinst the -private.
6559 2005-11-21 Michael Smith <msmith@fluendo.com>
6561 * gst/gstplugin.h:
6562 * gst/gstregistry.h:
6563 Remove unimplemented declarations for which we can see no sensible
6564 use.
6566 2005-11-21 Andy Wingo <wingo@pobox.com>
6568 * gst/gst.h: Include glib-compat.h.
6570 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6572 * gst/glib-compat.c: Include the public and the private header.
6574 * gst/glib-compat-private.h: Copied here from glib-compat.h.
6576 * gst/gstvalue.c:
6577 * gst/gstpad.c:
6578 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6580 * check/gst/gstevent.c (create_custom_events): Check that
6581 FLUSH_STOP is serialized.
6583 * check/elements/identity.c (event_func):
6584 * check/elements/fakesrc.c (event_func): No stream lock, the core
6585 takes it.
6587 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6588 stream lock taking, yay.
6590 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6591 ensure that core takes the stream lock.
6593 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6594 lock name change.
6596 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6597 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6598 it already. For the flush start we do take it though so we get the
6599 right preroll state change messages.
6601 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6602 the stream lock here, the core does it for us.
6604 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6605 GST_STREAM_GET_LOCK.
6606 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
6607 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
6608 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6609 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6610 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
6611 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6613 * gst/gstpad.c: Update for stream lock name change.
6615 * gst/base/gstbasesink.c: Update for preroll lock name change.
6617 2005-11-21 Wim Taymans <wim@fluendo.com>
6619 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6620 (gst_clock_get_master):
6621 * gst/gstclock.h:
6622 * gst/gstsystemclock.c: (gst_system_clock_init):
6623 Convert Clock flags to object flags.
6624 Added methods to manage master/slave clocks.
6626 2005-11-21 Wim Taymans <wim@fluendo.com>
6628 * check/gst/gstsegment.c: (GST_START_TEST):
6629 * docs/design/part-TODO.txt:
6630 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6631 (gst_base_sink_event), (gst_base_sink_do_sync),
6632 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6633 (gst_base_sink_query), (gst_base_sink_change_state):
6634 * gst/base/gstbasesink.h:
6635 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6636 (gst_base_src_default_newsegment),
6637 (gst_base_src_configure_segment), (gst_base_src_do_seek),
6638 (gst_base_src_get_range), (gst_base_src_loop),
6639 (gst_base_src_change_state):
6640 * gst/base/gstbasesrc.h:
6641 * gst/base/gstbasetransform.c:
6642 (gst_base_transform_prepare_output_buf),
6643 (gst_base_transform_event), (gst_base_transform_change_state):
6644 * gst/base/gstbasetransform.h:
6645 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6646 (gst_collect_pads_event):
6647 * gst/base/gstcollectpads.h:
6648 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6649 (gst_fake_src_create):
6650 * gst/elements/gstfakesrc.h:
6651 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6652 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6653 (gst_segment_set_last_stop), (gst_segment_set_seek),
6654 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6655 (gst_segment_to_running_time), (gst_segment_clip):
6656 * gst/gstsegment.h:
6657 More segment updates, replace code in plugins with segment
6658 helper functions.
6660 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6662 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6663 Don't ignore sscanf results
6665 2005-11-21 Andy Wingo <wingo@pobox.com>
6667 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6669 * *.h:
6670 * *.c: Ran scripts/update-macros. Oh yes.
6672 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6673 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6674 GST_GET_LOCK, etc.
6676 * scripts/update-macros: New script. Run it on your files to
6677 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6678 well.
6680 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6682 * docs/gst/Makefile.am:
6683 * docs/gst/gstreamer-docs.sgml:
6684 * docs/gst/gstreamer-sections.txt:
6685 * docs/gst/gstreamer.types:
6686 * gst/gstinfo.h:
6687 more docs fixes, add new api to the docs
6689 2005-11-21 Andy Wingo <wingo@pobox.com>
6691 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6692 state_broadcast call.
6694 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6696 2005-11-21 Julien MOUTTE <julien@moutte.net>
6698 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6699 function calls for arrays.
6701 2005-11-21 Stefan Kost <ensonic@users.sf.net>
6703 * docs/random/ensonic/media-device-daemon.txt:
6704 wild idea, can this be done?
6705 * docs/gst/gstreamer-sections.txt:
6706 * gst/gsterror.h:
6707 * gst/gstfilter.c:
6708 * gst/gstfilter.h:
6709 * gst/gstplugin.h:
6710 * gst/gstpluginfeature.c:
6711 * gst/gsttrace.c:
6712 * gst/gstvalue.c:
6713 * gst/gstvalue.h:
6714 doc fixes and additions
6716 2005-11-21 Andy Wingo <wingo@pobox.com>
6718 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
6719 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
6720 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
6721 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6722 private to the basesrc implementation.
6724 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6725 behalf of event function if necessary. It should no longer be
6726 necessary to take the stream lock in pad's event functions. Fixes
6727 #320299.
6729 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6730 * docs/gst/gstreamer-sections.txt:
6731 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6732 (gst_structure_fixate_field_nearest_double),
6733 (gst_structure_fixate_field_boolean):
6734 * gst/gststructure.h:
6735 * win32/common/libgstreamer.def:
6736 * win32/gstreamer.def:
6738 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6739 (#322027)
6741 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
6743 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6744 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6745 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6746 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6747 (gst_fdsrc_uri_handler_init):
6748 * gst/elements/gstfdsrc.h:
6749 Port fd:// URI handler from 0.8 to fdsrc
6751 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6753 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6754 (gst_value_serialize_fourcc):
6755 * gst/gstvalue.h:
6756 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6757 consistent with our other format defines (#320324).
6759 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6761 * gst/gstvalue.c: (gst_value_is_fixed):
6762 Revert previous commit. Value lists are by definition
6763 not fixed, as they are a list of possible values.
6765 2005-11-21 Andy Wingo <wingo@pobox.com>
6767 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6768 during the stable series if we need it. Fixes #319178.
6770 * gst/gstevent.c (gst_event_new_filler): Removed.
6772 * check/gst/gstevent.c: Update comment about filler events.
6774 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6776 * gst/gstvalue.c: (gst_value_is_fixed):
6777 Should handle both value arrays and value lists.
6779 2005-11-21 Andy Wingo <wingo@pobox.com>
6781 patch by: Alessandro Dessina <alessandro nnva org>
6783 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6784 functions to access arrays. Fixes #321962.
6786 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6788 * docs/gst/gstreamer.types:
6789 gst_collectpads_get_type => gst_collect_pads_get_type.
6791 * gst/base/gstbasetransform.c:
6792 Remove unused SIGNAL_HANDOFF enum.
6794 2005-11-21 Andy Wingo <wingo@pobox.com>
6796 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6797 the event type (upstream, downstream, serialized). Renamed
6798 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6799 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6800 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6802 * gst/gstevent.c: Update for new CUSTOM event names.
6804 * check/gst/gstevent.c: Update check for new CUSTOM event names.
6806 * gst/gstevent.h:
6807 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6808 bug #319392.
6810 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6812 * docs/gst/gstreamer-sections.txt:
6813 * win32/common/libgstbase.def:
6814 * win32/libgstbase.def:
6815 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6816 (gst_collect_pads_class_init), (gst_collect_pads_init),
6817 (gst_collect_pads_finalize), (gst_collect_pads_new),
6818 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6819 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6820 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6821 (gst_collect_pads_start), (gst_collect_pads_stop),
6822 (gst_collect_pads_peek), (gst_collect_pads_pop),
6823 (gst_collect_pads_available), (gst_collect_pads_read),
6824 (gst_collect_pads_flush), (gst_collect_pads_event),
6825 (gst_collect_pads_chain):
6826 * gst/base/gstcollectpads.h:
6827 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6828 unimplemented functions as unimplemented. Add padding to
6829 GstCollectData. (#320766, #320423)
6831 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
6833 * gst/gstmessage.c:
6834 Improve docs for DURATION message (usage of duration parameter)
6835 (#320113)
6837 2005-11-20 Wim Taymans <wim@fluendo.com>
6839 * check/Makefile.am:
6840 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6841 (main):
6842 * gst/Makefile.am:
6843 * gst/gst.h:
6844 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6845 (gst_segment_set_seek), (gst_segment_set_newsegment),
6846 (gst_segment_to_stream_time), (gst_segment_to_running_time),
6847 (gst_segment_clip):
6848 * gst/gstsegment.h:
6849 Added segment helper structure and methods. Not fully implemented
6850 yet.
6851 Added segment check.
6853 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
6855 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6856 Add a deserialisation test for fractions
6857 * examples/metadata/read-metadata.c: (message_loop),
6858 (make_pipeline), (main):
6859 Fix up metadata reading sample.
6860 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6861 Debug format fix
6862 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6863 Don't try and fixate empty caps
6864 * gst/gst_private.h:
6865 Wrap in G_BEGIN_DECLS/G_END_DECLS
6866 * gst/gstvalue.c: (gst_value_collect_fraction),
6867 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6868 (gst_value_transform_string_fraction),
6869 (gst_value_compare_fraction):
6870 Add some extra guards to ensure that we don't end up
6871 with an invalid denominator of 0 in a gstfraction and
6872 that fractions always get reduced.
6874 2005-11-20 Wim Taymans <wim@fluendo.com>
6876 * docs/gst/gstreamer-sections.txt:
6877 * gst/gstbuffer.h:
6878 * gst/gstelement.c:
6879 * gst/gstformat.c:
6880 * gst/gstformat.h:
6881 * gst/gstindex.h:
6882 * gst/gstquery.c:
6883 * gst/gstquery.h:
6884 * gst/gstvalue.c:
6885 Doc fixes.
6887 2005-11-20 Wim Taymans <wim@fluendo.com>
6889 * docs/design/part-TODO.txt:
6890 * gst/gstcaps.h:
6891 Make a proper enum of the flag.
6893 2005-11-19 Wim Taymans <wim@fluendo.com>
6895 * docs/design/part-TODO.txt:
6896 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6897 (gst_format_to_quark), (gst_format_register):
6898 * gst/gstformat.h:
6899 * gst/gstquery.c: (_gst_query_initialize),
6900 (gst_query_type_get_name), (gst_query_type_to_quark),
6901 (gst_query_type_register):
6902 * gst/gstquery.h:
6903 Add type to quark and type to string conversions.
6905 2005-11-19 Andy Wingo <wingo@pobox.com>
6907 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6908 #320097.
6910 2005-11-19 Wim Taymans <wim@fluendo.com>
6912 * docs/design/part-TODO.txt:
6913 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6914 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6915 (gst_bin_handle_message_func):
6916 * gst/gstbin.h:
6917 Make message handling overridable.
6919 2005-11-19 Andy Wingo <wingo@pobox.com>
6921 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6923 * gst/gstclock.h:
6924 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6925 be a GstClockTime.
6926 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6927 is a GstClockTime. Fixes #321710.
6929 * gst/gstclock.h (GstClock): Remove offset property. Add
6930 internal_calibration and external_calibration. Fix padding. Pad
6931 also by GstClockTime so we don't run into problems.
6933 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6934 (gst_clock_get_rate_offset): Remove.
6935 (gst_clock_set_time_adjust): Remove. Fixes #321712.
6937 * gst/gstutils.h:
6938 * gst/gstutils.c (g_static_rec_cond_wait)
6939 (g_static_rec_cond_timed_wait): Removed, no longer needed.
6941 * gst/gstbin.c: Remove terrible continue_state prototype.
6943 * gst/gstelement.h (gst_element_continue_state): Make public.
6945 * gst/gstelement.h:
6946 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6947 by continue_state. Fixes #319389.
6949 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6950 Really fixes #168438. However I don't see anywhere where the
6951 filter function is called... stupid GStreamer...
6953 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6954 don't have a dispose function, so it won't get called when the
6955 object is unreffed, but oh well!
6957 * gst/gstindex.c (gst_index_set_filter_full): New API function,
6958 allows a destroy function to be set so user_data can be freed.
6959 Fixes #168438.
6960 (gst_index_set_filter): Call gst_index_set_filter_full.
6962 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6964 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6965 string should produce an error, given the lack of a way to
6966 represent NULL strings. Fixes #165650.
6968 * gst/gstvalue.h:
6969 * gst/gstvalue.c (gst_value_array_append_value)
6970 (gst_value_array_prepend_value, gst_value_array_get_size)
6971 (gst_value_array_get_value): New API, copied from
6972 gst_value_list_*, only operates on arrays.
6973 (gst_value_list_append_value, gst_value_list_prepend_value)
6974 (gst_value_list_concat, gst_value_list_get_size)
6975 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6977 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6978 init_list, because it works on both.
6979 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6980 (gst_value_copy_list_or_array): Renamed from copy_list.
6981 (gst_value_free_list_or_array): Renamed from free_list.
6982 (gst_value_collect_list_or_array): Renamed from collect_list.
6983 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6984 (gst_value_list_or_array_peek_pointer): Renamed from
6985 list_peek_pointer.
6986 (_gst_value_array_value_table, _gst_value_list_value_table):
6987 Update value table functions.
6988 (gst_value_compare_list_or_array): Renamed from compare_list.
6990 * gsttaglist.h: Whoops, foreach function returns void. Also fix
6991 some constness.
6993 * gst/gsttaglist.c:
6994 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6995 GstTagList*. Fixes #143472.
6997 * gst/gststructure.h: Clarify what the foreach/map functions can
6998 or can't do to their arguments.
7000 2005-11-18 Wim Taymans <wim@fluendo.com>
7002 * gst/gstclock.c: (gst_clock_set_calibration),
7003 (gst_clock_get_calibration):
7004 Doc and API fixes.
7005 Calibration can be set with internal time equal to current
7006 internal time too.
7008 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
7010 * gst/gsterror.c:
7011 * gst/gsterror.h:
7012 document
7014 2005-11-18 Andy Wingo <wingo@pobox.com>
7016 * configure.ac:
7017 * pkgconfig/gstreamer-net.pc.in:
7018 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7019 * pkgconfig/Makefile.am: Add net pkgconfig files.
7021 2005-11-18 Stefan Kost <ensonic@users.sf.net>
7023 * gst/gstcaps.c:
7024 * gst/gstghostpad.c:
7025 * gst/gsttrace.c:
7026 * gst/gstvalue.c:
7027 * gst/gstvalue.h:
7028 docs fixes
7030 2005-11-18 Andy Wingo <wingo@pobox.com>
7032 * gst/net/gstnetclientclock.c: Turn off debugging.
7034 * check/net/gstnetclientclock.c (test_functioning): Assert that the
7035 times connverge somewhat. Can't make a real test.
7037 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7038 integer arithmetic. Return the minimum of the domain, which can be
7039 set as "internal" for gst_clock_set_calibration.
7040 (gst_net_client_clock_observe_times): Call _set_calibration.
7041 (gst_net_client_clock_new): Call _set_calibration instead of
7042 rate_offset.
7044 * check/net/gstnetclientclock.c (test_functioning): Use the right
7045 adjustment api.
7047 * gst/gstclock.h:
7048 * gst/gstclock.c (gst_clock_get_calibration)
7049 (gst_clock_set_calibration): New functions, obsolete the ones I
7050 added yesterday. Doh. Precision issues mean we have to extrapolate
7051 from a point in the more recent past than 1970.
7052 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7053 obsolete.
7054 (gst_clock_adjust_unlocked): Use the right calibration data.
7056 2005-11-18 Edward Hervey <edward@fluendo.com>
7058 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7059 Also reset the ->current_* values in READY->PAUSED
7061 2005-11-18 Andy Wingo <wingo@pobox.com>
7063 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7064 Whoops, check the right fd. Also add some debugging.
7065 (gst_net_client_clock_observe_times): Adjust for int64 offset.
7066 (do_linear_regression): Add a crapload of debugging. Subtract off
7067 the minimum values from the input series to discard unneeded bits.
7068 Use only int arithmetic. There is still double arithmetic when
7069 calculating the intercept that needs fixing. Return boolean to
7070 indicate success; FALSE would mean the domain or range is too
7071 great. Still needs fixes.
7073 2005-11-18 Wim Taymans <wim@fluendo.com>
7075 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7076 For the current position in stream time, we need to subtract
7077 accumulated time.
7079 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7080 Release lock before calling the callback function of async
7081 entries.
7083 2005-11-18 Andy Wingo <wingo@pobox.com>
7085 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7086 Port goes all the way to MAXUINT16.
7088 * gst/net/gstnettimeprovider.c: Make the port range the same as
7089 for the kernel: 0 assigns, otherwise ports are less than
7090 MAXUINT16.
7092 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7093 port change.
7095 * check/net/gstnetclientclock.c (test_functioning): Add the start
7096 of another test.
7098 2005-11-18 Wim Taymans <wim@fluendo.com>
7100 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7101 (gst_bin_remove_func), (bin_bus_handler):
7102 * gst/gstbin.h:
7103 Removing a clock provider from a bin, triggers a clock lost message
7104 so that a new clock will be selected.
7105 Adding a clock to a bin triggers a clock provider message.
7106 Make sure we reselect a clock when we received a clock lost message.
7107 Keep a reference to the element that provided the clock.
7109 2005-11-18 Andy Wingo <wingo@pobox.com>
7111 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7112 the clock initially so it produces values around the base time.
7113 (gst_net_client_clock_class_init): Typo fix.
7114 (gst_net_client_clock_thread): Add note on when the socket gets
7115 closed.
7117 2005-11-17 Wim Taymans <wim@fluendo.com>
7119 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7120 Free remote and local time arrays.
7122 2005-11-17 Wim Taymans <wim@fluendo.com>
7124 * gst/net/gstnetclientclock.c: (do_linear_regression),
7125 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7126 Fix compilation, uninitialized vars and a forgotten continue.
7128 2005-11-17 Andy Wingo <wingo@pobox.com>
7130 * check/Makefile.am (check_PROGRAMS):
7131 * check/net/gstnetclientclock.c: Add a most minimal test for the
7132 net client clock. More to come later.
7134 * gst/net/gstnet.h:
7135 * gst/net/Makefile.am: Add netclientclock.
7137 * gst/net/gstnetclientclock.h:
7138 * gst/net/gstnetclientclock.c: New files, implement an untested
7139 GstClock that takes its time from a network time provider.
7140 Implements the algorithm in network-clock.scm.
7142 * tests/network-clock.scm (*window-size*): Rename from
7143 *queue-length*.
7144 * tests/network-clock.scm (network-time):
7145 * tests/network-clock-utils.scm (q-push): Update callers.
7147 2005-11-17 Wim Taymans <wim@fluendo.com>
7149 * gst/gstbin.c: (gst_bin_provide_clock_func),
7150 (gst_bin_sort_iterator_new):
7151 And unref the child too..
7153 2005-11-17 Wim Taymans <wim@fluendo.com>
7155 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7156 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7157 Refactor the sort iterator so it can be used while holding the
7158 LOCK too.
7159 Make clock selection select a clock closest to the source.
7161 2005-11-17 Michael Smith <msmith@fluendo.com>
7163 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7164 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7165 * gst/gstclock.h:
7166 Anonymous structs are a gcc (and some other compilers) extension, so
7167 don't use them. Since this is only for ABI-compatibility, and our
7168 API/ABI freeze is over in a few days, this whole thing will only
7169 last a few days, so don't bother trying to think up a meaningful
7170 name for the struct.
7172 2005-11-17 Andy Wingo <wingo@pobox.com>
7174 * gst/gstclock.h (GstClock): Add rate and offset properties,
7175 preserving ABI stability. Add rate/offset accessors. Will file bug
7176 for the freeze break.
7178 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7179 and offset, trying to keep precision and avoiding
7180 underflow/overflow.
7181 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7182 functions. Make gst_clock_set_time_adjust obsolete.
7183 (gst_clock_set_time_adjust): Note that this function is obsolete.
7184 Will file bug soon.
7186 * gst/base/gstbasetransform.h: Make the ABI-stability hack
7187 greppable by using GST_PADDING-1+1.
7189 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
7191 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7193 * gst/gstmessage.c: (gst_message_parse_clock_lost):
7194 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7196 * gst/gstpadtemplate.h:
7197 * gst/gstpluginfeature.h:
7198 Don't use c++ style comments in headers (#321638).
7200 2005-11-16 Andy Wingo <wingo@pobox.com>
7202 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7203 buffer.
7205 * check/net/gstnettimeprovider.c: Check to see that the time
7206 provider actually provides times. Works, yo!
7208 2005-11-16 Wim Taymans <wim@fluendo.com>
7210 * check/Makefile.am:
7211 Enable more tests.
7213 * check/elements/fakesrc.c: (GST_START_TEST):
7214 Set element to NULL before disposing it.
7216 2005-11-16 Andy Wingo <wingo@pobox.com>
7218 * gst/net/Makefile.am:
7219 * gst/net/gstnet.h:
7220 * gst/net/gstnettimeprovider.c:
7221 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7222 provider, include it from gstnet.h, and add it to the build.
7224 * gst/net/gstnettimepacket.h:
7225 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7226 sending and receiving.
7228 2005-11-16 Wim Taymans <wim@fluendo.com>
7230 * check/Makefile.am:
7231 Enable valgrind check.
7233 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7234 (gst_fake_src_alloc_buffer):
7235 Fix memleak.
7237 2005-11-16 Wim Taymans <wim@fluendo.com>
7239 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7240 Call parent finalize too.
7242 2005-11-16 Wim Taymans <wim@fluendo.com>
7244 * check/Makefile.am:
7245 Enable valgrind check that should work fine now.
7247 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7248 * gst/gstqueue.c: (gst_queue_init):
7249 Fix memleaks in pad allocation.
7251 2005-11-16 Andy Wingo <wingo@pobox.com>
7253 * gst/net/Makefile.am:
7254 * gst/net/gstnet.h: New part of core to hold network elements and
7255 objects. Put in core because it exposes API that applications want
7256 to use. The library is named libgstnet-tempname right now because
7257 of the existing libgstnet in gst-plugins-base. Solution is
7258 probably to rename the one in plugins-base; will file a bug for
7259 the freeze break.
7261 * gst/net/gstnettimeprovider.c:
7262 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7263 get_time call over the network.
7265 * configure.ac:
7266 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7268 * check/Makefile.am:
7269 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7270 get additions shortly.
7272 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7274 * gst/gstpad.c: (gst_pad_new_from_static_template):
7275 * gst/gstpad.h:
7276 add gst_pad_new_from_static_template functions
7277 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7278 (gst_check_setup_sink_pad):
7279 * gst/elements/gsttee.c: (gst_tee_init):
7280 and use them
7282 2005-11-16 Wim Taymans <wim@fluendo.com>
7284 * gst/gstpad.c: (gst_pad_pause_task):
7285 Removed warning, it's not really an error either.
7287 2005-11-16 Wim Taymans <wim@fluendo.com>
7289 * gst/base/gstbasetransform.c:
7290 (gst_base_transform_prepare_output_buf),
7291 (gst_base_transform_event):
7292 Check if the caps are NULL, this can happen if the element
7293 is shutting down and the pad caps are set to NULL.
7295 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7297 * gst/elements/gsttee.c: (gst_tee_init):
7298 fix pad template leak in tee
7300 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7302 * gst/glib-compat.c: (g_value_dup_gst_object):
7303 * gst/glib-compat.h:
7304 * gst/gstpad.c: (gst_pad_set_property):
7305 use gst_object_ref when setting the pad template; this will
7306 trigger the pad template leaks on GLib 2.6 and the slaves
7308 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7310 * gst/glib-compat.c: (gst_flags_get_first_value):
7311 * gst/glib-compat.h:
7312 * gst/gstregistryxml.c:
7313 remove functions copied from GLib 2.6
7315 2005-11-16 Michael Smith <msmith@fluendo.com>
7317 * gst/Makefile.am:
7318 Don't link against VALGRIND_LIBS. That was always the wrong thing to
7319 do, but only breaks with newer valgrind versions. We're not a
7320 valgrind tool, we have no link-time dependencies on libcoregrind.
7322 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7324 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7325 some debug changes
7326 * gst/gstmessage.h:
7327 typo fixes
7329 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
7331 * gst/base/gstbasesrc.c: (gst_base_src_init):
7332 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7333 * gst/gstqueue.c: (gst_queue_init):
7334 * gst/gstregistryxml.c: (load_feature):
7335 Revert all these unrefs, they don't even pass make check !
7337 2005-11-15 Johan Dahlin <johan@gnome.org>
7339 * gst/base/gstbasesrc.c: (gst_base_src_init):
7340 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7341 * gst/gstqueue.c: (gst_queue_init):
7342 Free pad templates, fixes a couple of leaks.
7344 2005-11-15 Daniel Fischer <dan at f3c dot com>
7346 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7348 * gst/gstpad.c: (gst_pad_get_property):
7349 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7350 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7351 (#321452)
7353 2005-11-15 Wim Taymans <wim@fluendo.com>
7355 * gst/gstevent.c:
7356 Small doc update.
7358 2005-11-15 Andy Wingo <wingo@pobox.com>
7360 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7362 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7363 using GST_CLOCK_TIME_NONE to disable base time management.
7364 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7365 time if it was NONE before.
7366 (gst_pipeline_change_state): Only munge the base time if
7367 stream_time != GST_CLOCK_TIME_NONE.
7369 * check/gst/gstpipeline.c (test_base_time): Punt around the
7370 problem of the probe not being called, because that's not the
7371 issue I'm looking at. Add a check that setting stream_time to NONE
7372 disables base time management.
7374 2005-11-15 Wim Taymans <wim@fluendo.com>
7376 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7377 segment_stop == -1 at startup.
7379 * gst/base/gstbasetransform.c: (gst_base_transform_event),
7380 (gst_base_transform_change_state):
7381 Init segment values at start.
7383 2005-11-15 Wim Taymans <wim@fluendo.com>
7385 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7386 0 segment values are 0 in any format.
7388 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7389 * gst/base/gstbasetransform.h:
7390 Parse newsegment correctly in basetransform
7392 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7393 Sync to clock using updated segment values.
7395 2005-11-15 Andy Wingo <wingo@pobox.com>
7397 * check/gst/gstpipeline.c (test_base_time): Add check that the
7398 base time and stream time are reset correctly.
7400 2005-11-15 Wim Taymans <wim@fluendo.com>
7402 * docs/design/part-TODO.txt:
7403 Some more TODO items.
7405 2005-11-15 Andy Wingo <wingo@pobox.com>
7407 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7408 error if the user selected "no clock" as the clocking method.
7410 * check/gst/gstpipeline.c (test_base_time): New test for buffer
7411 timestamps with live capture.
7413 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7414 is 0 but we are a live source, timestamp the buffers using the
7415 element's clock.
7417 2005-11-14 Stefan Kost <ensonic@users.sf.net>
7419 * docs/gst/gstreamer-sections.txt:
7420 * gst/gsterror.c:
7421 * gst/gstghostpad.c:
7422 * gst/gstobject.h:
7423 * gst/gstxml.c:
7424 more section docs
7426 2005-11-14 Wim Taymans <wim@fluendo.com>
7428 * common/gst.supp:
7429 add suppressions from Wim's Debian machine
7431 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
7433 * common/gst.supp:
7434 add suppressions from Andy's AMD64 Ubuntu machine
7436 2005-11-14 Andy Wingo <wingo@pobox.com>
7438 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7439 STATE_LOCK not necessary. Fixes #311489.
7441 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7442 #305291.
7444 * gst/gstindex.c (gst_index_add_object): Note in the docs that
7445 this function is not implemented.
7447 2005-11-14 Julien MOUTTE <julien@moutte.net>
7449 * gst/base/gstbasetransform.c:
7450 (gst_base_transform_prepare_output_buf):
7451 Ref the source pad caps while we need them.
7452 Fixes (#321386)
7454 2005-11-11 Wim Taymans <wim@fluendo.com>
7456 * docs/gst/gstreamer-sections.txt:
7457 Added some docs for GstCollectData.
7459 * gst/base/gstadapter.c:
7460 Some small code example fix.
7462 * gst/base/gstcollectpads.c:
7463 * gst/base/gstcollectpads.h:
7464 Document some more.
7466 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7468 * configure.ac: back to HEAD
7470 === release 0.9.5 ===
7472 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
7474 * configure.ac:
7475 releasing 0.9.5, "Bike Lunch Day"
7477 2005-11-11 Wim Taymans <wim@fluendo.com>
7479 * gst/gstbuffer.c: (_gst_buffer_copy):
7480 Copy more flags.
7482 * gst/gstcaps.c: (gst_caps_is_equal):
7483 Fix some docs.
7484 Make _is_equal fast in the trivial cases.
7486 * gst/gstminiobject.c:
7487 * gst/gstminiobject.h:
7488 More docs. Spifify .h file.
7490 * gst/gstutils.c:
7491 Small doc update.
7493 2005-11-11 Wim Taymans <wim@fluendo.com>
7495 * gst/base/gstbasetransform.c:
7496 (gst_base_transform_prepare_output_buf),
7497 (gst_base_transform_handle_buffer):
7498 Small cleanups.
7499 If we're processing a buffer and need to allocate an output
7500 buffer, we cannot accept a format change. If we did get a
7501 format change, we have to alloc a buffer ourselves of the
7502 right size.
7504 2005-11-11 Wim Taymans <wim@fluendo.com>
7506 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7507 While checking the flag for reentrancy in the gstcaps function
7508 is nice to detect recursive invocations, it also makes it
7509 impossible to call getcaps from multiple threads, which must be
7510 possible. So, checking for recursive calls has to go.
7512 2005-11-11 Michael Smith <msmith@fluendo.com>
7514 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7515 Don't sync on buffers that fall partially outside our current
7516 segment. Prevents an assertion failure/abort playing some files.
7518 2005-11-10 Andy Wingo <wingo@pobox.com>
7520 * check/gst/gstbin.c (test_message_state_changed_children): Style
7521 fix..
7523 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7524 gst_bus_poll with the signal watch. Ensures that poll and a signal
7525 watch see the same messages.
7527 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7528 a poll and a watch at the same time get the same messages.
7530 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7532 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7533 * gst/gstcaps.c: (gst_caps_intersect):
7534 Don't call gst_caps_do_simplify - it doesn't respect order of caps
7535 and it's not needed.
7537 2005-11-10 Wim Taymans <wim@fluendo.com>
7539 * docs/design/part-TODO.txt:
7540 Updated todo.
7542 2005-11-10 Wim Taymans <wim@fluendo.com>
7544 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7545 * gst/base/gstbasesrc.c: (gst_base_src_wait),
7546 (gst_base_src_do_sync), (gst_base_src_get_range):
7547 Implement clock sync in base class.
7549 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
7551 patch by: Tim-Philipp Müller <tim at centricular dot net>
7553 * gst/gststructure.c: (gst_structure_parse_field),
7554 (gst_structure_from_string):
7555 Forward-port a 0.8 patch to handle escaped spaces in structure string,
7556 so that gst_parse_launch() can deal with spaces in filtered link
7557 caps (fixes #164479)
7558 * check/gst/capslist.h:
7559 * check/gst/gststructure.c: (GST_START_TEST):
7560 add unit tests for this change
7562 2005-11-10 Wim Taymans <wim@fluendo.com>
7564 * docs/gst/gstreamer-sections.txt:
7565 * gst/gstelement.c:
7566 * gst/gstelement.h:
7567 Fix docs, move some STATE macros to private.
7569 2005-11-10 Wim Taymans <wim@fluendo.com>
7571 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7572 Added check for bug #317341
7574 * gst/gstbuffer.c:
7575 * gst/gstbuffer.h:
7576 Some more spiffifying.
7578 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7579 Call peer linkfunction if we are a source pad. Totally fixes
7580 #317341
7582 * gst/gstpad.c:
7583 Update docs, source pads should call the peer linkfunction
7584 so they can atomically perform the pad link.
7586 2005-11-09 Wim Taymans <wim@fluendo.com>
7588 * gst/gstbuffer.c:
7589 * gst/gstbuffer.h:
7590 Uber-spiffy-spiffify some more.
7592 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
7594 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7595 * gst/elements/gstfilesink.c: (gst_file_sink_init):
7596 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7597 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7598 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7599 * gst/gstpad.c: (gst_pad_init):
7600 Use GST_DEBUG_FUNCPTR() more extensively.
7602 2005-11-09 Wim Taymans <wim@fluendo.com>
7604 * gst/gstobject.c: (gst_object_class_init):
7605 * gst/gstobject.h:
7606 Documentation fixes.
7608 2005-11-09 Edward Hervey <edward@fluendo.com>
7610 * gst/gsttypefindfactory.c:
7611 Fix docs.
7613 2005-11-09 Edward Hervey <edward@fluendo.com>
7615 * gst/base/gsttypefindhelper.c:
7616 * gst/gsttypefind.c:
7617 * gst/gsttypefind.h:
7618 Fix docs.
7620 2005-11-09 Wim Taymans <wim@fluendo.com>
7622 * gst/gstiterator.c:
7623 Fix revision data.
7625 * gst/gsttask.c:
7626 * gst/gsttask.h:
7627 Fix docs.
7629 2005-11-09 Wim Taymans <wim@fluendo.com>
7631 * gst/gstevent.h:
7632 * gst/gsturi.h:
7633 Fix docs.
7635 2005-11-09 Wim Taymans <wim@fluendo.com>
7637 * docs/gst/gstreamer-sections.txt:
7638 Moved the message async delivery private lock and cond
7639 to the private section.
7641 * gst/gstmessage.c:
7642 * gst/gstmessage.h:
7643 Fixed docs.
7645 2005-11-09 Edward Hervey <edward@fluendo.com>
7647 * docs/gst/gstreamer-sections.txt:
7648 * gst/gsturi.c:
7649 * gst/gsturi.h:
7650 Document GstURIHandler
7652 2005-11-09 Wim Taymans <wim@fluendo.com>
7654 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7655 (gst_iterator_find_custom):
7656 * gst/gstiterator.h:
7657 Fix iterator docs.
7659 2005-11-09 Wim Taymans <wim@fluendo.com>
7661 * gst/gstbin.h:
7662 Document another field.
7664 * gst/gststructure.c:
7665 * gst/gststructure.h:
7666 Document.
7668 2005-11-09 Wim Taymans <wim@fluendo.com>
7670 * gst/gstbin.h:
7671 Documented structs.
7673 2005-11-09 Wim Taymans <wim@fluendo.com>
7675 * docs/gst/gstreamer-sections.txt:
7676 Added some new macros.
7678 * gst/gstclock.c:
7679 * gst/gstclock.h:
7680 * gst/gstobject.h:
7681 Docs updates.
7683 2005-11-09 Wim Taymans <wim@fluendo.com>
7685 * docs/design/part-TODO.txt:
7686 Some more items for the TODO
7688 * gst/gstcaps.c:
7689 * gst/gstcaps.h:
7690 Document GstCaps.
7692 2005-11-09 Andy Wingo <wingo@pobox.com>
7694 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7695 to work on something else now tho...
7697 * gst/base/gstadapter.c: More adapter docs.
7699 * gst/elements/gstfilesink.c (gst_file_sink_start)
7700 (gst_file_sink_stop): New functions, replace the state change
7701 handler.
7702 (gst_file_sink_class_init): Hook up the start and stop functions.
7703 (gst_file_sink_base_init): Don't set the state change handler any
7704 more. It was a bit ugly too, being set from here...
7705 (gst_file_sink_get_property, gst_file_sink_set_property):
7706 Cleanups...
7707 (gst_file_sink_set_location): More robust check that doesn't call
7708 GST_STATE. Ugggggg.
7710 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
7712 * gst/base/gstbasetransform.c: (gst_base_transform_event):
7713 Hold STREAM_LOCK while pushing newsegment or tag events as well.
7715 2005-11-08 Wim Taymans <wim@fluendo.com>
7717 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7718 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7719 (gst_base_sink_chain), (gst_base_sink_change_state):
7720 * gst/base/gstbasesink.h:
7721 * gst/base/gstbasesrc.h:
7722 * gst/gstelement.h:
7723 * gst/gstevent.h:
7724 Avoid excessive typechecking in macros.
7726 * gst/gstminiobject.c: (gst_mini_object_get_type),
7727 (gst_mini_object_init), (gst_mini_object_new),
7728 (gst_mini_object_free):
7729 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7730 (gst_object_finalize):
7731 Remove cruft code, optimize alloc_trace.
7733 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * docs/faq/gst-uninstalled:
7736 fix up PS1 for systems that try to reset it
7738 2005-11-07 Wim Taymans <wim@fluendo.com>
7740 * gst/base/gstbasesrc.c: (gst_base_src_init),
7741 (gst_base_src_get_range):
7742 Set the segment_end to -1 initially. Fixed typefind.
7744 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
7746 * gst/base/gstadapter.c:
7747 Debug category should be 'adapter', not 'GstAdapter'.
7749 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7750 (gst_collectpads_class_init), (gst_collectpads_init),
7751 (gst_collectpads_peek), (gst_collectpads_pop),
7752 (gst_collectpads_event), (gst_collectpads_chain):
7753 Add debug category and some debugging output. Use boilerplate
7754 macros. Remove some extraneous words from docs.
7756 2005-11-05 Andy Wingo <wingo@pobox.com>
7758 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7759 macro.
7761 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7763 * docs/gst/gstreamer-sections.txt:
7764 * gst/gstcaps.h:
7765 * gst/gstinfo.c:
7766 * gst/gstminiobject.h:
7767 * gst/gstobject.h:
7768 * gst/gstutils.h:
7769 more docs added
7771 2005-11-04 Wim Taymans <wim@fluendo.com>
7773 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7774 Small update to stop at the configured segment_end
7775 position.
7777 2005-11-04 Stefan Kost <ensonic@users.sf.net>
7779 * gst/gstregistry.c:
7780 * gst/gstregistry.h:
7781 added missing docs
7783 2005-11-04 Edward Hervey <edward@fluendo.com>
7785 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7786 Check if we are doing a segment seek and have arrived at the
7787 end of that segment.
7789 2005-11-04 Wim Taymans <wim@fluendo.com>
7791 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7792 Don't leak a mutex unlock in case of an error.
7794 * gst/gstbus.h:
7795 Doc fixes.
7797 2005-11-04 Wim Taymans <wim@fluendo.com>
7799 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7800 (gst_bus_post):
7801 Get the context to wake up only once.
7803 2005-11-03 Wim Taymans <wim@fluendo.com>
7805 * check/states/sinks.c: (GST_START_TEST):
7806 Uncomment fixed check.
7808 * docs/design/part-TODO.txt:
7809 Updated TODO.
7811 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7812 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7813 (gst_base_sink_get_position):
7814 If we are going to PLAYING, post the right pending state
7815 when we post the intermediate paused message.
7817 * gst/gstelement.c: (gst_element_continue_state),
7818 (gst_element_set_state_func), (gst_element_change_state):
7819 Don't post state changes that were between the same state
7820 and were not ASYNC.
7822 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7824 * docs/gst/gstreamer-sections.txt:
7825 * gst/gstcaps.h:
7826 * gst/gstinfo.c:
7827 * gst/gstminiobject.h:
7828 * gst/gstobject.h:
7829 * gst/gstutils.h:
7830 more docs and doc style fixes
7832 2005-11-03 Stefan Kost <ensonic@users.sf.net>
7834 * docs/gst/gstreamer-sections.txt:
7835 * gst/gstelement.c:
7836 * gst/gstminiobject.c:
7837 doc fixes
7839 2005-11-03 Andy Wingo <wingo@pobox.com>
7841 * check/states/sinks.c (test_livesrc_sink): Add checks that the
7842 state-changed messages actually have the right order and the right
7843 values.
7845 2005-11-03 Wim Taymans <wim@fluendo.com>
7847 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7848 Added some more checks. Specifically the case where NO_PREROLL
7849 elements are in the pipeline.
7851 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7852 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7853 (gst_base_sink_get_position):
7854 Post READY->PAUSED state change messages too.
7855 Fix bug where VOID was posted as pending state...
7857 * gst/gstbin.c: (gst_bin_recalc_state):
7858 use _element_continue_state() to continue the state change.
7860 * gst/gstelement.c: (gst_element_continue_state),
7861 (gst_element_commit_state), (gst_element_set_state_func),
7862 (gst_element_change_state), (gst_element_change_state_func):
7863 Lots of state change cleanups, assign the STATE_RETURN in
7864 a new continue_state() function that also propagates the
7865 last return value from a state change to the app.
7866 Update some debug statements with proper category.
7868 2005-11-03 Wim Taymans <wim@fluendo.com>
7870 * docs/design/part-events.txt:
7871 * docs/design/part-gstpipeline.txt:
7872 * docs/design/part-messages.txt:
7873 * docs/design/part-overview.txt:
7874 * docs/design/part-seeking.txt:
7875 * docs/design/part-states.txt:
7876 * docs/design/part-trickmodes.txt:
7877 * docs/manual/advanced-position.xml:
7878 Small docs updates.
7880 * gst/gstobject.h:
7881 People think !! is ugly, this looks better.
7883 * gst/gstpad.c: (gst_pad_set_blocked_async):
7884 Remove !! since it's fixed elsewhere now.
7886 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7888 * gst/gstminiobject.h:
7889 * gst/gstobject.h:
7890 Add !! to _FLAG_IS_SET macros to make the result boolean.
7892 2005-11-03 Edward Hervey <edward@fluendo.com>
7894 * gst/gstpad.c: (gst_pad_set_blocked_async):
7895 comparing a flag and a gboolean rarely returns coherent results...
7896 Added two characters (!!) to make that work correctly.
7898 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7900 * gst/gstbus.c: (gst_bus_class_init):
7901 Fix some typos.
7903 * gst/gstqueue.c: (gst_queue_loop):
7904 Don't assume a miniobject that isn't a buffer is an
7905 event (it could be that there is a refcounting
7906 problem somewhere and the pointer is stale and
7907 refers to an already destroyed miniobject).
7909 2005-11-03 Julien MOUTTE <julien@moutte.net>
7911 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7913 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
7915 * docs/manual/advanced-position.xml:
7916 Update seek example and explanations to current 0.9 API.
7918 * gst/elements/gsttypefindelement.c:
7919 (gst_type_find_element_activate):
7920 Remove FIXME comment now that the found caps
7921 are unreffed.
7923 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
7925 * gst/gstregistryxml.c: (load_feature):
7926 Add another GST_STR_NULL instance
7928 2005-11-02 Edward Hervey <edward@fluendo.com>
7930 * gst/gstpad.c: (handle_pad_block):
7931 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7933 2005-11-02 Wim Taymans <wim@fluendo.com>
7935 * gst/gstbin.c:
7936 Fix typo in docs.
7938 * gst/gstelement.c: (gst_element_commit_state):
7939 Remove unused value.
7941 * gst/gstiterator.c:
7942 Mention that the returned element is reffed in the docs.
7944 2005-11-02 Wim Taymans <wim@fluendo.com>
7946 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7947 (gst_pad_push), (gst_pad_push_event):
7948 Unlock blocked pads when they are flushed.
7950 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7952 * docs/README:
7953 * docs/gst/gstreamer-sections.txt:
7954 * gst/gstbin.c:
7955 doc updates
7956 * gst/gstregistry.c: (gst_registry_scan_path_level):
7957 fix for a nasty little missed situation where an installed plug-in
7958 which was in the cache did not get overridden by an uninstalled one
7959 which was earlier in the plugin path because the newly created plugin
7960 for the uninstalled one (not in the registry) didn't get its
7961 ->registered set to TRUE
7963 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7965 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7966 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7967 (gst_collectpads_is_active), (gst_collectpads_collect),
7968 (gst_collectpads_collect_range), (gst_collectpads_start),
7969 (gst_collectpads_stop), (gst_collectpads_peek),
7970 (gst_collectpads_pop), (gst_collectpads_available),
7971 (gst_collectpads_read), (gst_collectpads_flush):
7972 Guard public API with assertions.
7974 * gst/gstpad.c:
7975 Fix docs for gst_pad_set_link_function().
7977 2005-11-02 Johan Dahlin <johan@gnome.org>
7979 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
7980 Unref found_caps after we used it.
7982 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
7984 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7985 Don't try to ref NULL.
7987 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7989 * win32/common/config.h.in:
7990 provide a GST_FUNCTION that just gives a string for now
7992 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
7994 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7995 (gst_object_flags_get_type), (register_gst_bin_flags),
7996 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7997 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7998 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7999 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8000 (gst_clock_return_get_type), (register_gst_clock_entry_type),
8001 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8002 (gst_clock_flags_get_type), (register_gst_state),
8003 (gst_state_get_type), (register_gst_state_change_return),
8004 (gst_state_change_return_get_type), (register_gst_state_change),
8005 (gst_state_change_get_type), (register_gst_element_flags),
8006 (gst_element_flags_get_type), (register_gst_core_error),
8007 (gst_core_error_get_type), (register_gst_library_error),
8008 (gst_library_error_get_type), (register_gst_resource_error),
8009 (gst_resource_error_get_type), (register_gst_stream_error),
8010 (gst_stream_error_get_type), (register_gst_event_type),
8011 (gst_event_type_get_type), (register_gst_seek_type),
8012 (gst_seek_type_get_type), (register_gst_seek_flags),
8013 (gst_seek_flags_get_type), (register_gst_format),
8014 (gst_format_get_type), (register_gst_index_certainty),
8015 (gst_index_certainty_get_type), (register_gst_index_entry_type),
8016 (gst_index_entry_type_get_type),
8017 (register_gst_index_lookup_method),
8018 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8019 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8020 (gst_index_resolver_method_get_type), (register_gst_index_flags),
8021 (gst_index_flags_get_type), (register_gst_debug_level),
8022 (gst_debug_level_get_type), (register_gst_debug_color_flags),
8023 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8024 (gst_iterator_result_get_type), (register_gst_iterator_item),
8025 (gst_iterator_item_get_type), (register_gst_message_type),
8026 (gst_message_type_get_type), (register_gst_mini_object_flags),
8027 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8028 (gst_pad_link_return_get_type), (register_gst_flow_return),
8029 (gst_flow_return_get_type), (register_gst_activate_mode),
8030 (gst_activate_mode_get_type), (register_gst_pad_direction),
8031 (gst_pad_direction_get_type), (register_gst_pad_flags),
8032 (gst_pad_flags_get_type), (register_gst_pad_presence),
8033 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8034 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8035 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8036 (gst_plugin_error_get_type), (register_gst_plugin_flags),
8037 (gst_plugin_flags_get_type), (register_gst_rank),
8038 (gst_rank_get_type), (register_gst_query_type),
8039 (gst_query_type_get_type), (register_gst_tag_merge_mode),
8040 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8041 (gst_tag_flag_get_type), (register_gst_task_state),
8042 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8043 (gst_alloc_trace_flags_get_type),
8044 (register_gst_type_find_probability),
8045 (gst_type_find_probability_get_type), (register_gst_uri_type),
8046 (gst_uri_type_get_type), (register_gst_parse_error),
8047 (gst_parse_error_get_type):
8048 * win32/common/gstversion.h:
8049 update win32 copies
8051 2005-11-01 Luca Ognibene <luogni@tin.it>
8053 * gst/gst.c:
8054 fix docs. popt is dead, long live GOption.
8056 2005-10-31 Wim Taymans <wim@fluendo.com>
8058 * gst/gstbuffer.h:
8059 Small doc fix.
8061 2005-10-31 Andy Wingo <wingo@pobox.com>
8063 * Boo!
8065 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8067 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8068 need to serialize property notifications on GLib 2.8. GLib 2.6 has
8069 the possibility of deadlocks here if code calling notify() or
8070 set() has a lock that can be taken in another notify handler (ABBA
8071 with class lock and e.g. python GIL state lock).
8073 2005-10-28 Julien MOUTTE <julien@moutte.net>
8075 * gst/gstbus.c: Doc updates.
8077 2005-10-28 Wim Taymans <wim@fluendo.com>
8079 * docs/design/part-TODO.txt:
8080 * gst/gstiterator.c:
8081 * gst/gstsystemclock.c:
8082 * gst/gstsystemclock.h:
8083 Doc updates.
8085 2005-10-28 Edward Hervey <edward@fluendo.com>
8087 * docs/gst/gstreamer-docs.sgml:
8088 * docs/gst/gstreamer-sections.txt:
8089 the GstURIType documentation page is private, it only defines GstURIType
8090 which should be defined in the GstURIHandler page
8092 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
8094 * gst/gstbin.c: (gst_bin_class_init):
8095 * gst/gstbin.h:
8096 * gst/gstutils.c:
8097 Documentation updates.
8099 2005-10-28 Wim Taymans <wim@fluendo.com>
8101 * docs/gst/gstreamer-sections.txt:
8102 * gst/gstclock.c:
8103 * gst/gstclock.h:
8104 Documented the clocks.
8106 2005-10-28 Stefan Kost <ensonic@users.sf.net>
8108 * docs/gst/gstreamer-sections.txt:
8109 move some macros to private sections
8110 * gst/gstminiobject.c:
8111 * gst/gstminiobject.h:
8112 add descriptions provided by ds and some more
8113 * gst/gstpad.h:
8114 mark macro as to be removed
8116 2005-10-28 Wim Taymans <wim@fluendo.com>
8118 * docs/design/part-TODO.txt:
8119 Add an item to TODO.
8121 * gst/gstiterator.c: (gst_iterator_fold),
8122 (gst_iterator_find_custom):
8123 * gst/gstiterator.h:
8124 Add iterator docs.
8126 2005-10-28 Wim Taymans <wim@fluendo.com>
8128 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8129 (gst_base_transform_init):
8130 Don't leak class.
8132 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8133 An EOS event marks the queue as completely filled.
8135 2005-10-27 Wim Taymans <wim@fluendo.com>
8137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8138 (gst_base_sink_do_sync), (gst_base_sink_get_position):
8139 Some more debugging.
8141 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8142 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8143 (gst_base_transform_event), (gst_base_transform_getrange),
8144 (gst_base_transform_chain):
8145 * gst/base/gstbasetransform.h:
8146 Fix debugging,
8147 Protect transform and concurrent buffer alloc with a new lock.
8148 Try not to break ABI/API.
8150 2005-10-27 Wim Taymans <wim@fluendo.com>
8152 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8153 (gst_base_src_init), (gst_base_src_query),
8154 (gst_base_src_default_newsegment),
8155 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8156 (gst_base_src_send_event), (gst_base_src_event_handler),
8157 (gst_base_src_pad_get_range), (gst_base_src_loop),
8158 (gst_base_src_unlock), (gst_base_src_default_negotiate),
8159 (gst_base_src_start), (gst_base_src_deactivate),
8160 (gst_base_src_activate_push), (gst_base_src_change_state):
8161 Move some stuff around and cleanup things.
8163 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
8165 * gst/base/gstbasesrc.c: (gst_base_src_query):
8166 Add missing break statements.
8168 2005-10-27 Wim Taymans <wim@fluendo.com>
8170 * check/gst/gstbin.c: (GST_START_TEST):
8171 An extra refcount is taken in basesrc.
8173 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8174 (gst_base_src_get_range), (gst_base_src_pad_get_range),
8175 (gst_base_src_loop):
8176 Small cleanups, check for flushing after being unlocked from the
8177 LIVE_LOCK. take refcounts correctly (not yet everywhere).
8178 Don't send out EOS when going to READY.
8180 2005-10-27 Wim Taymans <wim@fluendo.com>
8182 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8183 (gst_base_sink_get_position):
8184 Some more debug.
8186 * gst/gstbin.c: (message_check), (bin_replace_message),
8187 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8188 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8189 (bin_query_duration_init), (bin_query_duration_fold),
8190 (bin_query_duration_done), (bin_query_generic_fold),
8191 (gst_bin_query):
8192 * tools/gst-launch.c: (main):
8193 Remove old option.
8195 2005-10-26 Stefan Kost <ensonic@users.sf.net>
8197 * examples/controller/audio-example.c: (main):
8198 * examples/queue/queue.c: (event_loop):
8199 * gst/base/gstbasetransform.h:
8200 * gst/gstelement.c: (gst_element_send_event):
8201 * gst/gstevent.h:
8202 * gst/gstpad.c: (gst_pad_send_event):
8203 fixing examples
8204 fixing docs typos
8205 changing log priority in error situations
8207 2005-10-25 Wim Taymans <wim@fluendo.com>
8209 * gst/gstbin.c: (message_check), (bin_replace_message),
8210 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8211 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8212 (bin_query_duration_init), (bin_query_duration_fold),
8213 (bin_query_duration_done), (bin_query_generic_fold),
8214 (gst_bin_query):
8215 Some doc and debug updates.
8216 Cache previously requested query DURATION for speed. invalidate
8217 cached duration if element posts a DURATION message.
8219 2005-10-25 Wim Taymans <wim@fluendo.com>
8221 * docs/design/part-TODO.txt:
8222 Update TODO.
8224 * gst/gstbin.c: (message_check), (bin_replace_message),
8225 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8226 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8227 (bin_query_duration_init), (bin_query_duration_fold),
8228 (bin_query_duration_done), (bin_query_generic_fold),
8229 (gst_bin_query):
8230 Handle SEGMENT_START/DONE messages correctly.
8231 More evolved query algorithm that handles duration queries
8232 correctly.
8234 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8235 (gst_element_get_state_func), (gst_element_abort_state),
8236 (gst_element_commit_state), (gst_element_lost_state):
8237 Some more debugging.
8239 * gst/gstmessage.h:
8240 Added doc.
8242 2005-10-25 Wim Taymans <wim@fluendo.com>
8244 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8245 Don't use invalid stream_time.
8247 * gst/gstevent.c: (gst_event_new_newsegment):
8248 stream_time in newsegment cannot be undefined.
8250 2005-10-24 Wim Taymans <wim@fluendo.com>
8252 * gst/gstbus.c:
8253 Doc fix.
8255 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8256 (gst_queue_loop):
8257 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8259 2005-10-24 Stefan Kost <ensonic@users.sf.net>
8261 * docs/libs/tmpl/gstdparam.sgml:
8262 * docs/libs/tmpl/gstdplinint.sgml:
8263 * docs/libs/tmpl/gstdpman.sgml:
8264 * docs/libs/tmpl/gstdpsmooth.sgml:
8265 * docs/libs/tmpl/gstunitconvert.sgml:
8266 these are obsolete
8268 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
8270 * configure.ac:
8271 back to HEAD
8273 === release 0.9.4 ===
8275 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8277 * configure.ac:
8278 releasing 0.9.4, "Tyrannosaurus Rex"
8280 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
8282 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8283 (gst_file_sink_get_current_offset):
8284 Use fseeko() and ftello() if available. When falling back on
8285 lseek() to get the current offset, fflush() first to make sure
8286 everything is up-to-date and we get the right offset.
8288 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
8290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8291 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8292 * gst/gsterror.c: (_gst_stream_errors_init):
8293 * gst/gsterror.h:
8294 * gst/gstqueue.c: (gst_queue_loop):
8295 * po/POTFILES.in:
8296 remove prematurely added error category and clean up the instances
8298 2005-10-21 Wim Taymans <wim@fluendo.com>
8300 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8301 (gst_base_sink_get_position), (gst_base_sink_query),
8302 (gst_base_sink_change_state):
8303 Simply set the right flag when going to playing, that's all
8304 we need to do instead of calling a function inside the object
8305 lock (that could take the lock as well and deadlock)
8307 2005-10-21 Wim Taymans <wim@fluendo.com>
8309 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8310 (gst_base_src_loop):
8311 Don't warn, the peer element knows what to do best when
8312 the seek failed, it might try something else.
8314 2005-10-21 Wim Taymans <wim@fluendo.com>
8316 * gst/base/gstbasesrc.c: (gst_base_src_init),
8317 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8318 Fix seeking.
8320 2005-10-21 Wim Taymans <wim@fluendo.com>
8322 * docs/design/part-segments.txt:
8323 More docs.
8325 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8326 Correctly set caps, even on the subbufer.
8328 2005-10-21 Wim Taymans <wim@fluendo.com>
8330 * docs/gst/gstreamer-docs.sgml:
8331 * docs/gst/gstreamer-sections.txt:
8332 * gst/gstelement.h:
8333 * gst/gstevent.c:
8334 * gst/gstevent.h:
8335 * gst/gstmessage.h:
8336 * gst/gstpad.h:
8337 * gst/gstparse.h:
8338 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8339 * gst/gsttask.h:
8340 * gst/gstutils.c:
8341 * gst/gstutils.h:
8342 And 2% more doc coverage.
8344 2005-10-21 Andy Wingo <wingo@pobox.com>
8346 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8347 position reporting.
8349 2005-10-20 Wim Taymans <wim@fluendo.com>
8351 * gst/gsterror.c: (gst_error_get_message):
8352 * gst/gstparse.h:
8353 * gst/gstquery.h:
8354 * gst/gststructure.c:
8355 * gst/gsttrace.c:
8356 * gst/gstutils.c:
8357 More docs.
8359 2005-10-20 Wim Taymans <wim@fluendo.com>
8361 * gst/gstbuffer.h:
8362 * gst/gstpad.c:
8363 * gst/gstparse.c:
8364 Another 1% more coverage.
8366 2005-10-20 Wim Taymans <wim@fluendo.com>
8368 * docs/gst/gstreamer-sections.txt:
8369 * gst/gstelement.c: (gst_element_get_state_func),
8370 (gst_element_abort_state), (gst_element_commit_state),
8371 (gst_element_lost_state):
8372 * gst/gstevent.h:
8373 * gst/gstquery.c: (gst_query_set_position),
8374 (gst_query_parse_position), (gst_query_set_duration),
8375 (gst_query_parse_duration), (gst_query_new_convert):
8376 * gst/gstutils.c:
8377 Yay! 1% more docs coverage.
8379 2005-10-20 Wim Taymans <wim@fluendo.com>
8381 * gst/gstpad.h:
8382 * gst/gstquery.c: (gst_query_set_position),
8383 (gst_query_parse_position), (gst_query_set_duration),
8384 (gst_query_parse_duration), (gst_query_new_convert):
8385 * gst/gstquery.h:
8386 * gst/gstutils.c: (gst_element_query_convert):
8387 * gst/gstutils.h:
8388 Docs and consistency fixes.
8390 2005-10-20 Wim Taymans <wim@fluendo.com>
8392 * gst/gsttask.c:
8393 * gst/gsttask.h:
8394 More docs.
8396 2005-10-20 Wim Taymans <wim@fluendo.com>
8398 * gst/gstbin.c: (message_check), (bin_replace_message),
8399 (bin_remove_messages), (is_eos), (gst_bin_add_func),
8400 (update_degree), (gst_bin_sort_iterator_next),
8401 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8402 Reworked the message handling a bit, cache the messages instead of
8403 only the senders. alows us to do more in the future.
8405 2005-10-20 Wim Taymans <wim@fluendo.com>
8407 * docs/design/part-TODO.txt:
8408 Update TODO
8410 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8411 (gst_base_sink_query):
8412 Don't use clock time to report position when in EOS.
8414 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
8416 * tools/gst-inspect.c: (print_interfaces),
8417 (print_element_properties_info), (print_element_info):
8418 Fix interface output with gst-inspect -a; don't print
8419 newlines after double/float properties.
8421 2005-10-20 Wim Taymans <wim@fluendo.com>
8423 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8424 (gst_base_sink_query):
8425 Speed up current position calculation.
8427 * gst/base/gstbasesrc.c: (gst_base_src_query),
8428 (gst_base_src_default_newsegment):
8429 Correctly set stream position in newsegment.
8431 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8432 (update_degree), (gst_bin_sort_iterator_next),
8433 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8434 * gst/gstmessage.c: (gst_message_new_custom):
8435 Clean up debugging info
8437 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8438 (gst_queue_loop), (gst_queue_handle_src_query):
8439 Pause task faster.
8441 2005-10-19 Wim Taymans <wim@fluendo.com>
8443 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8444 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8445 Fix query handling again.
8447 2005-10-19 Wim Taymans <wim@fluendo.com>
8449 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8450 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8451 * gst/base/gstbasesrc.c: (gst_base_src_query):
8452 * gst/elements/gstfilesink.c: (gst_file_sink_query):
8453 * gst/elements/gsttypefindelement.c:
8454 (gst_type_find_handle_src_query), (find_element_get_length),
8455 (gst_type_find_element_activate):
8456 API change fix.
8458 * gst/gstquery.c: (gst_query_new_position),
8459 (gst_query_set_position), (gst_query_parse_position),
8460 (gst_query_new_duration), (gst_query_set_duration),
8461 (gst_query_parse_duration), (gst_query_set_segment),
8462 (gst_query_parse_segment):
8463 * gst/gstquery.h:
8464 Bundling query position/duration is not a good idea since duration
8465 does not change much and we don't want to recalculate it for every
8466 position query, so they are separated again..
8467 Base value in segment query is not needed.
8469 * gst/gstqueue.c: (gst_queue_handle_src_query):
8470 * gst/gstutils.c: (gst_element_query_position),
8471 (gst_element_query_duration), (gst_pad_query_position),
8472 (gst_pad_query_duration):
8473 * gst/gstutils.h:
8474 Updates for query API change.
8475 Added some docs here and there.
8477 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
8479 * check/gst/gstbin.c: (GST_START_TEST):
8480 * check/gst/gstghostpad.c: (GST_START_TEST):
8481 * check/pipelines/cleanup.c: (GST_START_TEST):
8482 wait on thread to die so we can check refcount correctly
8484 2005-10-18 Wim Taymans <wim@fluendo.com>
8486 * check/pipelines/stress.c: (GST_START_TEST):
8487 Make check a little more time consuming.
8489 2005-10-18 Wim Taymans <wim@fluendo.com>
8491 * check/Makefile.am:
8492 * check/pipelines/stress.c: (GST_START_TEST),
8493 (simple_launch_lines_suite), (main):
8494 Small state change torture test.
8496 * docs/design/part-states.txt:
8497 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8498 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8499 (gst_base_sink_change_state):
8500 Never take state lock from streaming thread, clean up ugly
8501 hacks. Unfortunatly core does not yet support nice ways to
8502 async commit state.
8504 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8505 (bin_bus_handler):
8506 Start state recalc if a STATE_DIRTY message is posted, but only
8507 on the toplevel bin.
8509 * gst/gstelement.c: (gst_element_sync_state_with_parent),
8510 (gst_element_get_state_func), (gst_element_abort_state),
8511 (gst_element_commit_state), (gst_element_lost_state),
8512 (gst_element_set_state_func), (gst_element_change_state):
8513 * gst/gstelement.h:
8514 State variables are now protected with the LOCK, the state
8515 lock is only used to serialize _set_state().
8517 2005-10-18 Wim Taymans <wim@fluendo.com>
8519 * check/gst/gstbin.c: (GST_START_TEST):
8520 * check/gst/gstmessage.c: (GST_START_TEST):
8521 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8522 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8523 (bin_bus_handler):
8524 * gst/gstelement.c: (gst_element_abort_state),
8525 (gst_element_commit_state), (gst_element_lost_state):
8526 * gst/gstmessage.c: (gst_message_new_state_changed),
8527 (gst_message_new_state_dirty), (gst_message_new_segment_start),
8528 (gst_message_new_segment_done), (gst_message_new_duration),
8529 (gst_message_parse_state_changed),
8530 (gst_message_parse_segment_start),
8531 (gst_message_parse_segment_done), (gst_message_parse_duration):
8532 * gst/gstmessage.h:
8533 * tools/gst-launch.c: (event_loop):
8534 Seriously, this is better than a previous commit as we only need
8535 to notify the fact that an element changed state in a streaming
8536 thread, marking the state of the parents dirty, hence the
8537 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8538 message.
8540 2005-10-18 Wim Taymans <wim@fluendo.com>
8542 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8543 (gst_bin_recalc_func):
8544 * gst/gstelement.c: (gst_element_set_clock),
8545 (gst_element_abort_state), (gst_element_lost_state):
8546 Cleanups, prepare for state change fixes.
8548 2005-10-18 Wim Taymans <wim@fluendo.com>
8550 * gst/gstbin.h:
8551 * gst/gstelement.c: (gst_element_class_init),
8552 (gst_element_set_state), (gst_element_set_state_func):
8553 * gst/gstelement.h:
8554 Pending ABI changes.
8555 GThreadPool in GstBinClass to monitor async state changes.
8556 state_cookie in GstElement to detect concurrent gst/set state.
8557 set_state is now virtual too in case a very complicated element
8558 has to be constructed.
8560 2005-10-18 Wim Taymans <wim@fluendo.com>
8562 * check/gst/gstbin.c: (GST_START_TEST):
8563 * check/gst/gstmessage.c: (GST_START_TEST):
8564 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8565 * gst/gstbin.c: (bin_bus_handler):
8566 * gst/gstelement.c: (gst_element_commit_state),
8567 (gst_element_lost_state):
8568 * gst/gstmessage.c: (gst_message_new_state_changed),
8569 (gst_message_new_segment_start), (gst_message_new_segment_done),
8570 (gst_message_new_duration), (gst_message_parse_state_changed),
8571 (gst_message_parse_segment_start),
8572 (gst_message_parse_segment_done), (gst_message_parse_duration):
8573 * gst/gstmessage.h:
8574 * tools/gst-launch.c: (event_loop):
8575 Make messages future proof.
8576 state-change gets a flag if it was a message comming from the
8577 streaming thread.
8578 segment-start/stop can also be specified in other formats.
8579 A message to notify an app that a pipeline changed playback
8580 duration.
8581 Also fix a GstMessage leak in -launch
8583 2005-10-18 Andy Wingo <wingo@pobox.com>
8585 * gst/gstelement.c (gst_element_dispose): More helpful message.
8587 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8589 reviewed by: <delete if not using a buddy>
8591 * common/gtk-doc.mak:
8593 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
8595 * gst/gstregistry.c: (gst_registry_scan_path_level):
8596 unref a plug-in we get that was already initialized
8598 2005-10-18 Stefan Kost <ensonic@users.sf.net>
8600 * docs/gst/gstreamer-sections.txt:
8601 * docs/libs/gstreamer-libs-sections.txt:
8602 * gst/gstelement.h:
8603 add new api entries
8604 hide internal macro
8606 2005-10-17 Andy Wingo <wingo@pobox.com>
8608 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8609 cleanup.
8611 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8613 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8615 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8616 (gst_element_get_state_func): Better debug message.
8617 (gst_element_commit_state): s/INFO/DEBUG/.
8618 (gst_element_lost_state, gst_element_change_state):
8620 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8621 (gst_message_new_custom): s/INFO/LOG/.
8623 2005-10-17 Michael Smith <msmith@fluendo.com>
8625 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8626 Check if end time is valid using end time, not start time.
8628 2005-10-17 Stefan Kost <ensonic@users.sf.net>
8630 * check/gst-libs/controller.c: (GST_START_TEST),
8631 (gst_controller_suite):
8632 * libs/gst/controller/gstcontroller.c:
8633 (gst_controlled_property_set_interpolation_mode):
8634 * libs/gst/controller/gstcontroller.h:
8635 * libs/gst/controller/gstinterpolation.c:
8636 * testsuite/controller/.cvsignore:
8637 * testsuite/controller/Makefile.am:
8638 * testsuite/controller/interpolator.c:
8639 merge controller testsuites
8640 fix broken tests
8641 remove mem-chunk from docs
8643 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8645 * gst/gstmemchunk.c:
8646 * gst/gstmemchunk.h:
8647 * gst/gsttrashstack.c:
8648 * gst/gsttrashstack.h:
8649 out. get out. you're fired. to the Attic !
8651 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
8653 * gst/gstcaps.c: (gst_caps_intersect):
8654 fix signedness issues in a (hopefully) correct way
8655 * gst/gstelement.c: (gst_element_pads_activate):
8656 some debugging
8657 * gst/gstobject.c: (gst_object_set_parent):
8658 some debugging
8660 2005-10-17 Julien MOUTTE <julien@moutte.net>
8662 * gst/gstvalue.h: Fix prototypes.
8664 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8666 * docs/gst/gstreamer-sections.txt:
8667 * gst/gst.c: (gst_version_string):
8668 * gst/gst.h:
8669 * gst/gstversion.h.in:
8670 * win32/common/libgstreamer.def:
8671 add gst_version_string ()
8673 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8675 * configure.ac:
8676 clean up further
8677 * gst/gst.c: (init_post):
8678 * win32/common/config.h.in:
8679 it's PLUGINDIR now
8680 * gst/gstcaps.c: (gst_caps_intersect):
8681 use gint64, the range could be bigger than a guint
8683 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8685 * gst/gstclock.h:
8686 document potential problem in 2038
8688 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8690 * gst/gstcaps.c: (gst_caps_intersect):
8691 Fix guint j diving under 0
8693 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8695 * configure.ac:
8696 * win32/common/config.h:
8697 * win32/common/config.h.in:
8698 check for process.h, declares getpid() on Windows
8699 * gst/gstinfo.c:
8700 include process.h if we have it
8701 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8702 * gst/gstmemchunk.h:
8703 fix signedness issues
8704 * win32/common/libgstreamer.def:
8705 fix get_type's
8707 2005-10-16 Julien MOUTTE <julien@moutte.net>
8709 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8710 fix. Because of unsigned ints, caps intersection was going nuts and
8711 trying to access structures with G_MAXUINT index. That fixes
8712 videotestsrc ! ffmpegcolorspace ! fakesink
8713 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8714 consistency.
8716 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8718 * configure.ac:
8719 use the gettext macro
8720 * gst/elements/gstelements.c:
8721 * gst/gst.c:
8722 * gst/indexers/gstindexers.c:
8723 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8724 * win32/common/config.h:
8725 updated config.h
8726 * win32/common/config.h.in:
8727 add the template to generate config.h
8728 * win32/common/gstenumtypes.c:
8729 * win32/common/gstversion.h:
8730 updated copies
8732 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
8734 * gst/gst.c: (gst_version):
8735 * gst/gstversion.h.in:
8736 add the nano
8738 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8740 * gst/gstevent.h:
8741 Oops, add missing closing bracket.
8743 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8745 * configure.ac:
8746 use common m4's for argument checking
8748 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
8750 * docs/gst/gstreamer-sections.txt:
8751 * gst/gstevent.h:
8752 Add GST_EVENT_TYPE_NAME() macro.
8754 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8756 * gst/gstinfo.c:
8757 * gst/gstpluginfeature.c:
8758 * gst/gsttask.c:
8759 privatize more symbols
8761 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8763 * configure.ac:
8764 add srcdir, builddir includes to GST_ALL_CFLAGS, since
8765 everything that uses GStreamer API should have the includes
8767 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8769 * docs/gst/gstreamer-sections.txt:
8770 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8771 * gst/gstvalue.h:
8772 give each value a _get_type, removes the DATA exports
8774 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8776 * gst/gst.c:
8777 * gst/gst.h:
8778 remove _gst_registry_auto_load, not used anymore
8779 * gst/gstbin.c: (gst_bin_get_type):
8780 * gst/gstbin.h:
8781 * gst/gstelement.c: (gst_element_get_type):
8782 * gst/gstelement.h:
8783 * gst/gstobject.c: (gst_object_get_type):
8784 * gst/gstobject.h:
8785 * gst/gstpad.c: (gst_pad_get_type):
8786 * gst/gstpad.h:
8787 make _get_type functions similar, fixes data export from library
8789 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8791 * configure.ac:
8792 correctly make conditionals
8793 * gst/elements/Makefile.am:
8794 * gst/elements/gstelements.c:
8795 fix typo causing fdsrc not to build
8797 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8799 * testsuite/Makefile.am:
8800 * testsuite/bytestream/.cvsignore:
8801 * testsuite/bytestream/Makefile.am:
8802 * testsuite/bytestream/filepadsink.c:
8803 * testsuite/bytestream/gstbstest.c:
8804 * testsuite/bytestream/test1.c:
8805 * testsuite/bytestream/testfile1:
8806 * testsuite/caps/normalisation.c:
8807 * testsuite/caps/random.c: (main):
8808 * testsuite/cleanup/.cvsignore:
8809 * testsuite/cleanup/Makefile.am:
8810 * testsuite/cleanup/cleanup1.c:
8811 * testsuite/cleanup/cleanup2.c:
8812 * testsuite/cleanup/cleanup3.c:
8813 * testsuite/cleanup/cleanup4.c:
8814 * testsuite/cleanup/cleanup5.c:
8815 * testsuite/controller/interpolator.c:
8816 * testsuite/debug/printf_extension.c: (main):
8817 * testsuite/elements/tee.c:
8818 * testsuite/negotiation/.cvsignore:
8819 * testsuite/negotiation/Makefile.am:
8820 * testsuite/negotiation/pad_link.c:
8821 * testsuite/pad/Makefile.am:
8822 * testsuite/pad/chainnopull.c:
8823 * testsuite/pad/getnopush.c:
8824 * testsuite/pad/link.c:
8825 * testsuite/refcounting/sched.c: (create_pipeline):
8826 * testsuite/registry/Makefile.am:
8827 * testsuite/registry/gst-print-formats.c:
8828 * testsuite/schedulers/.cvsignore:
8829 * testsuite/schedulers/142183-2.c:
8830 * testsuite/schedulers/142183.c:
8831 * testsuite/schedulers/143777-2.c:
8832 * testsuite/schedulers/143777.c:
8833 * testsuite/schedulers/147713.c:
8834 * testsuite/schedulers/147819.c:
8835 * testsuite/schedulers/147894-2.c:
8836 * testsuite/schedulers/147894.c:
8837 * testsuite/schedulers/Makefile.am:
8838 * testsuite/schedulers/group_link.c:
8839 * testsuite/schedulers/queue_link.c:
8840 * testsuite/schedulers/relink.c:
8841 * testsuite/schedulers/unlink.c:
8842 * testsuite/schedulers/unref.c:
8843 * testsuite/schedulers/useless_iteration.c:
8844 * testsuite/states/bin.c:
8845 clean out/remove some stuff from the testsuite directories
8847 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8849 * configure.ac:
8850 check for some headers
8851 * gst/elements/Makefile.am:
8852 * gst/elements/gstelements.c:
8853 don't compile fdsrc without sys/socket.h
8854 * gst/indexers/Makefile.am:
8855 * gst/indexers/gstindexers.c: (plugin_init):
8856 don't compile fileindex without mmap
8858 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
8860 * configure.ac:
8861 reorganize
8862 clean up
8863 document more
8864 remove cruft
8865 * check/Makefile.am:
8866 * docs/gst/Makefile.am:
8867 * examples/helloworld/Makefile.am:
8868 * gst/Makefile.am:
8869 * gst/base/Makefile.am:
8870 * gst/check/Makefile.am:
8871 * gst/elements/Makefile.am:
8872 * gst/indexers/Makefile.am:
8873 * gst/parse/Makefile.am:
8874 * libs/gst/controller/Makefile.am:
8875 * libs/gst/dataprotocol/Makefile.am:
8876 * examples/helloworld/helloworld.c: (event_loop):
8877 compile fixes, though it's not being compiled currently
8879 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8881 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8882 Add some simple tests for the new taglist date API.
8884 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8886 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8887 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8888 Beautify 'last-message' output: print 'none' for buffer timestamps
8889 and durations if none is set; improve alignment with next messages.
8891 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
8893 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8894 * gst/gstpluginfeature.h:
8895 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8896 * gst/gstregistry.h:
8897 * docs/gst/gstreamer-sections.txt:
8898 Add new API to check plugin feature version requirements.
8900 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8901 Some basic tests for the above.
8903 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8905 * gst/gststructure.c: (gst_structure_to_string):
8906 guard against NULL printf - happens when for example
8907 a message structure with GstClock gets serialized
8909 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8911 * gst/base/gstcollectpads.c: (gst_collectpads_event):
8912 Fix presumable copy'n'pasto.
8914 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8916 * gst/elements/gstfakesrc.h:
8917 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8918 * gst/elements/gsttypefindelement.c:
8919 fix some signedness
8920 * gst/elements/gstfilesink.c: (gst_file_sink_render):
8921 I wonder if this could actually write +2GB files before
8923 2005-10-13 Andy Wingo <wingo@pobox.com>
8925 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8926 Fix Timmeke Waymans bug.
8927 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8928 string of the proper length to gst_caps_from_string. There's a
8929 potential for, before this fix, that this could cause someone
8930 connecting over the network to cause a segfault if the payload is
8931 not NUL-terminated.
8933 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8935 * docs/design/draft-push-pull.txt:
8936 * docs/design/part-overview.txt:
8937 * docs/random/TODO-pre-0.9:
8938 * docs/random/old/ChangeLog.gstreamer:
8939 * gst/base/gstpushsrc.c:
8940 * gst/gstclock.c:
8941 fixed typos
8943 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8945 * gst/glib-compat.c: (gst_flags_get_first_value):
8946 * gst/glib-compat.h:
8947 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8948 (gst_value_compare_double), (gst_value_serialize_flags):
8949 GLib 2.6 g_flags_get_first_value has a bug that triggers an
8950 infinite loop
8952 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8955 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8956 fix up debugging
8957 * tools/gst-launch.c: (event_loop):
8958 print out clock nicely
8960 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
8962 * docs/gst/gstreamer-sections.txt:
8963 * gst/gsttaglist.h:
8964 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8965 (gst_tag_list_get_date_index):
8966 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8967 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8969 2005-10-13 Julien MOUTTE <julien@moutte.net>
8971 * gst/base/gstcollectpads.c: (gst_collectpads_event),
8972 (gst_collectpads_chain):
8973 * gst/base/gstcollectpads.h: Handle newsegment and store informations
8974 in CollectData.
8976 2005-10-13 Stefan Kost <ensonic@users.sf.net>
8978 * docs/gst/gstreamer-sections.txt:
8979 * gst/gst.c:
8980 * gst/gsterror.h:
8981 * tools/gst-inspect.c: (main):
8982 * tools/gst-launch.c: (main):
8983 * tools/gst-run.c: (main):
8984 * tools/gst-xmlinspect.c: (main):
8985 fix GOption context leaks
8986 doc fixes
8988 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
8990 * gst/gstbus.c:
8991 use HAVE_UNISTD_H
8992 * win32/common/config.h:
8993 update config
8994 * win32/vs6/grammar.dsp:
8995 * win32/vs6/libgstelements.dsp:
8996 * win32/vs6/libgstreamer.dsp:
8997 update vs6 files
8999 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9002 * gst/base/gstbasesrc.c: (gst_base_src_query):
9003 fix more guint64<->gdouble conversions
9005 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9007 * Makefile.am:
9008 add win32-update target
9009 * win32/common/gstconfig.h:
9010 * win32/common/gstenumtypes.c:
9011 * win32/common/gstenumtypes.h:
9012 * win32/common/gstversion.h:
9013 add files that visual studio can't generate
9015 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
9017 * Makefile.am:
9018 add a win32-update target
9019 * configure.ac:
9021 2005-10-12 Wim Taymans <wim@fluendo.com>
9023 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9024 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9025 * gst/gstelement.c: (gst_element_commit_state),
9026 (gst_element_set_state):
9027 Protect flags with proper lock.
9028 unref provided cached clock in dispose.
9030 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9032 * gst/gst.c:
9033 * gst/gstminiobject.h:
9034 * gst/gstpad.h:
9035 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9036 removed unused flags from miniobject
9037 doc fixes
9039 2005-10-12 Wim Taymans <wim@fluendo.com>
9041 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9042 (gst_file_sink_event), (gst_file_sink_render):
9043 Flush before seeking.
9045 2005-10-12 Andy Wingo <wingo@pobox.com>
9047 * gst/gst.c (gst_init_check): Ignore unknown options, as has
9048 always been the case.
9050 2005-10-12 Stefan Kost <ensonic@users.sf.net>
9052 * check/gst/gstbin.c: (GST_START_TEST):
9053 * docs/gst/gstreamer-sections.txt:
9054 * gst/base/gstbasesink.c: (gst_base_sink_init):
9055 * gst/base/gstbasesrc.c: (gst_base_src_init),
9056 (gst_base_src_get_range), (gst_base_src_check_get_range),
9057 (gst_base_src_start), (gst_base_src_stop):
9058 * gst/base/gstbasesrc.h:
9059 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9060 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9061 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9062 (bin_bus_handler):
9063 * gst/gstbin.h:
9064 * gst/gstbuffer.h:
9065 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9066 * gst/gstbus.h:
9067 * gst/gstelement.c: (gst_element_is_locked_state),
9068 (gst_element_set_locked_state), (gst_element_commit_state),
9069 (gst_element_set_state):
9070 * gst/gstelement.h:
9071 * gst/gstindex.c: (gst_index_init):
9072 * gst/gstindex.h:
9073 * gst/gstminiobject.h:
9074 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9075 (gst_object_set_parent):
9076 * gst/gstobject.h:
9077 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9078 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9079 * gst/gstpad.h:
9080 * gst/gstpadtemplate.h:
9081 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9082 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9083 * gst/gstpipeline.h:
9084 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9085 (gst_file_index_commit):
9086 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9087 * testsuite/pad/link.c: (gst_test_src_init),
9088 (gst_test_filter_init), (gst_test_sink_init):
9089 * testsuite/states/locked.c: (main):
9090 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9091 moved bitshift from macro to enum definition
9093 2005-10-12 Wim Taymans <wim@fluendo.com>
9095 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9096 * gst/elements/gstfilesink.c: (gst_file_sink_event),
9097 (gst_file_sink_render):
9098 Some more debugging info.
9100 2005-10-12 Wim Taymans <wim@fluendo.com>
9102 * docs/design/part-states.txt:
9103 * tools/gst-launch.c: (main):
9104 Some doc updates.
9105 Revert non-intentional change.
9107 2005-10-12 Wim Taymans <wim@fluendo.com>
9109 * check/gst/gstbin.c: (GST_START_TEST):
9110 * check/gst/gstelement.c: (GST_START_TEST):
9111 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9112 * check/gst/gstghostpad.c: (GST_START_TEST):
9113 * check/gst/gstpipeline.c: (GST_START_TEST):
9114 * check/pipelines/simple_launch_lines.c: (run_pipeline):
9115 * check/states/sinks.c: (GST_START_TEST):
9116 * gst/elements/gsttypefindelement.c: (stop_typefinding):
9117 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9118 (gst_bin_remove_func), (gst_bin_get_state_func),
9119 (gst_bin_recalc_state), (gst_bin_change_state_func),
9120 (bin_bus_handler):
9121 * gst/gstelement.c: (gst_element_get_state_func),
9122 (gst_element_get_state), (gst_element_abort_state),
9123 (gst_element_commit_state), (gst_element_set_state),
9124 (gst_element_change_state), (gst_element_change_state_func):
9125 * gst/gstelement.h:
9126 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9127 (gst_pipeline_provide_clock_func):
9128 * gst/gstutils.c: (gst_element_link_pads_filtered):
9129 * tools/gst-launch.c: (main):
9130 * tools/gst-typefind.c: (main):
9131 Use GstClockTime in _get_state() instead of GTimeVal.
9132 Remove old code in gstutils.c
9134 2005-10-12 Andy Wingo <wingo@pobox.com>
9136 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9137 removed.
9139 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9140 there is no task. Shouldn't affect any code, as nothing in our
9141 plugins checks this return value.
9142 (gst_pad_stop_task): Also take the stream lock if the pad has no
9143 task. Docs updated.
9145 2005-10-12 Wim Taymans <wim@fluendo.com>
9147 * gst/gstpad.c: (pre_activate), (post_activate),
9148 (gst_pad_activate_pull), (gst_pad_activate_push):
9149 Cleanup activation code. Reset old state if
9150 activation failed.
9152 2005-10-12 Wim Taymans <wim@fluendo.com>
9154 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9155 (gst_base_sink_change_state):
9156 No need to prerol after receiving EOS.
9158 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9159 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9160 * gst/elements/gstidentity.c: (gst_identity_event):
9161 Print events more verbosely.
9163 2005-10-12 Wim Taymans <wim@fluendo.com>
9165 * check/Makefile.am:
9166 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9167 * check/states/sinks2.c:
9168 Moved sinks2 testcode in sinks check.
9170 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9171 (gst_bin_remove_func), (gst_bin_recalc_state),
9172 (gst_bin_change_state_func), (bin_bus_handler):
9173 Fix potential race condition when _get_state() iterated over an
9174 ASYNC element right before it posted a state completion.
9176 * gst/gstclock.h:
9177 Do proper cast here.
9179 * gst/gstevent.c: (gst_event_new_newsegment),
9180 (gst_event_parse_newsegment):
9181 A playback rate of 0.0 is not allowed.
9183 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9185 * win32/common/config.h:
9186 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9187 (_trewinddir), (_ttelldir), (_tseekdir):
9188 * win32/common/dirent.h:
9189 * win32/common/gtchar.h:
9190 * win32/common/libgstbase.def:
9191 * win32/common/libgstreamer.def:
9192 * win32/vs6/grammar.dsp:
9193 * win32/vs6/gst_inspect.dsp:
9194 * win32/vs6/gst_launch.dsp:
9195 * win32/vs6/gstreamer.dsw:
9196 * win32/vs6/libgstbase.dsp:
9197 * win32/vs6/libgstelements.dsp:
9198 * win32/vs6/libgstreamer.dsp:
9199 Visual Studio 6 project files, and a new common directory.
9200 Phear.
9202 2005-10-11 Wim Taymans <wim@fluendo.com>
9204 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9205 (gst_base_sink_do_sync), (gst_base_sink_query),
9206 (gst_base_sink_change_state):
9207 * gst/base/gstbasesink.h:
9208 Correctly parse newsegment info.
9210 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9212 * gst/gst.c: (init_post):
9213 split plugin paths correctly
9215 2005-10-11 Wim Taymans <wim@fluendo.com>
9217 * check/gst/gstevent.c: (GST_START_TEST):
9218 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9219 (gst_base_sink_change_state):
9220 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9221 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9222 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9223 * gst/gstevent.c: (gst_event_new_newsegment),
9224 (gst_event_parse_newsegment):
9225 * gst/gstevent.h:
9226 Added extra flag to newsegment for future API freeze.
9227 Updated check and base elements.
9229 2005-10-11 Julien MOUTTE <julien@moutte.net>
9231 * gst/base/gstcollectpads.c: (gst_collectpads_init),
9232 (gst_collectpads_add_pad), (gst_collectpads_pop),
9233 (gst_collectpads_event), (gst_collectpads_chain):
9234 * gst/base/gstcollectpads.h: Handle EOS correctly.
9236 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9238 * tools/gst-launch.c: (main):
9239 more null protecting
9241 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9243 * gst/gst-i18n-lib.h:
9244 check for ENABLE_NLS, not GETTEXT_PACKAGE
9245 * gst/gstregistry.c: (gst_registry_add_plugin),
9246 (gst_registry_scan_path_level),
9247 (_gst_registry_remove_cache_plugins):
9248 protect possibly NULL strings
9249 * gst/parse/types.h:
9250 config.h already included before
9251 * tools/gst-inspect.c: (main):
9252 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9253 check for ENABLE_NLS, not GETTEXT_PACKAGE
9254 * tools/gst-launch.c: (main):
9255 check for ENABLE_NLS, not GETTEXT_PACKAGE
9257 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9259 * configure.ac:
9260 if we don't have glib, fail before testing 2.8
9261 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9262 fix a leak, should fix plugins-base testsuite
9264 2005-10-11 Andy Wingo <wingo@pobox.com>
9266 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9267 take the mode we're going to as an arg. Go head and set the mode
9268 and flushing flags now, so that if the activate function starts a
9269 thread all the flags will be in the right state.
9270 (post_activate): Renamed also. Just handle making sure streaming
9271 finishes for the deactivation case, and setting the deactivated
9272 mode.
9273 (gst_pad_set_active): Complain loudly if deactivation fails.
9274 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9275 (gst_pad_activate_push): Adapt to pre/post_activate changes,
9276 remove the terrible hack.
9278 2005-10-11 Wim Taymans <wim@fluendo.com>
9280 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9281 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9282 (gst_bin_recalc_state), (gst_bin_change_state_func),
9283 (gst_bin_dispose), (bin_bus_handler):
9284 * gst/gstbin.h:
9285 Prepare to make current EOS message queue more generic.
9286 Fix some typos.
9288 * gst/gstevent.c: (gst_event_new_newsegment),
9289 (gst_event_parse_newsegment):
9290 * gst/gstevent.h:
9291 Rename base to stream_time.
9293 * gst/gstmessage.h:
9294 Fix typo in docs.
9296 2005-10-11 Wim Taymans <wim@fluendo.com>
9298 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9299 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9300 (gst_bin_change_state_func), (bin_bus_handler):
9301 * gst/gstbin.h:
9302 Work on proper clock selection.
9304 2005-10-11 Edward Hervey <edward@fluendo.com>
9306 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
9307 * libs/gst/controller/gstcontroller.h:
9308 Added GList* version of _remove_properties() in order to be able to wrap
9309 it in bindings.
9311 2005-10-11 Wim Taymans <wim@fluendo.com>
9313 * docs/design/part-states.txt:
9314 Some more docs.
9316 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9317 (gst_bin_change_state_func), (bin_bus_handler):
9318 Doc updates. Don't distribute the same clock over and over again.
9320 * gst/gstclock.c:
9321 * gst/gstclock.h:
9322 Doc updates.
9324 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9325 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9326 (gst_pad_send_event):
9327 * gst/gstpad.h:
9328 Make probe emission threadsafe again.
9329 Register quarks and move _get_name() from utils.
9330 Doc updates.
9332 * gst/gstpipeline.c: (gst_pipeline_class_init),
9333 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9334 Only redistribute the clock of it changed.
9336 * gst/gstsystemclock.h:
9337 Doc updates.
9339 * gst/gstutils.c:
9340 * gst/gstutils.h:
9341 Moved the _flow_get_name() to GstPad.
9343 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9345 * check/gst-libs/gdp.c: (GST_START_TEST):
9346 * check/gst/gstcaps.c: (GST_START_TEST):
9347 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9348 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9349 (gst_dp_packet_from_caps):
9350 fix more valgrind warnings before turning up the heat
9352 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
9354 * gst/parse/grammar.y:
9355 some cleanup before the hacking
9357 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9359 * gst/base/gstbasesrc.c: (gst_base_src_query):
9360 use conversions
9361 * gst/gstutils.c: (gst_guint64_to_gdouble),
9362 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9363 * gst/gstutils.h:
9364 externalize, basesrc uses it
9365 obviously the implementation needs testing
9367 2005-10-10 Wim Taymans <wim@fluendo.com>
9369 * tests/sched/Makefile.am:
9370 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9371 (make_pipeline3), (make_pipeline4), (print_elem), (main):
9373 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9375 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9376 apparently converting from guint64 to double is not implemented
9377 on MSVC
9379 2005-10-10 Wim Taymans <wim@fluendo.com>
9381 * check/Makefile.am:
9382 * check/generic/states.c: (GST_START_TEST):
9383 * check/gst/gstbin.c: (GST_START_TEST):
9384 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9385 * check/states/sinks.c: (GST_START_TEST):
9386 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9387 (main):
9388 Check fixes, use API as stated in design docs, remove hacks.
9390 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9391 (gst_base_sink_change_state):
9392 Catch stopping our task while we're shutting down.
9394 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9395 (gst_bin_remove_func), (gst_bin_get_state_func),
9396 (gst_bin_recalc_state), (gst_bin_change_state_func),
9397 (bin_bus_handler):
9398 * gst/gstbin.h:
9399 * gst/gstelement.c: (gst_element_init),
9400 (gst_element_get_state_func), (gst_element_abort_state),
9401 (gst_element_commit_state), (gst_element_lost_state),
9402 (gst_element_set_state), (gst_element_change_state),
9403 (gst_element_change_state_func):
9404 * gst/gstelement.h:
9405 New state change algorithm (see #318116)
9407 * gst/gstpipeline.c: (gst_pipeline_class_init),
9408 (gst_pipeline_init), (gst_pipeline_set_property),
9409 (gst_pipeline_get_property), (do_pipeline_seek),
9410 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9411 * gst/gstpipeline.h:
9412 Remove crude state change hacks.
9414 * gst/gstutils.h:
9415 Remove crude hacks.
9417 * tools/gst-launch.c: (main):
9418 Fixes for state change. Needs some more work to fully use the
9419 new stuff.
9421 2005-10-10 Andy Wingo <wingo@pobox.com>
9423 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9425 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9426 this flag, but it's not even in GLib 2.6. Odd. Hack around the
9427 issue.
9429 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9431 * gst/gstiterator.c: (gst_iterator_new):
9432 Fix my previous commit: GTypes passed to gst_iterator_new()
9433 can be fundamental types.
9435 2005-10-10 Wim Taymans <wim@fluendo.com>
9437 * gst/gstelement.c: (gst_element_iterate_pad_list),
9438 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9439 (gst_element_iterate_sink_pads):
9440 Use src/sink pads lists for the respective iterators instead
9441 of filtering.
9443 2005-10-10 Andy Wingo <wingo@pobox.com>
9445 Merged in popt removal + GOption addition patch from Ronald, bug
9446 #169772.
9448 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9449 GstElement macros around, remove popt-related symbols, add goption
9450 stuff.
9452 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9454 * docs/gst/Makefile.am:
9455 * docs/libs/Makefile.am: No POPT_CFLAGS.
9457 * examples/manual/Makefile.am:
9458 * docs/manual/basics-init.xml: Doc updates with an example.
9460 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9461 (gst_init), (parse_one_option), (parse_goption_arg):
9462 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9463 bit of hand merging and debugging to get the GOption stuff working
9464 tho.
9466 * tests/Makefile.am:
9467 * tools/Makefile.am:
9468 * tools/gst-inspect.c: (main):
9469 * tools/gst-launch.c: (main):
9470 * tools/gst-run.c: (main):
9471 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9473 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9475 * gst/gstiterator.c: (gst_iterator_new):
9476 Add assertions to make sure passed GType is likely to really
9477 be a GType (as the compiler won't catch it if the size and
9478 GType arguments get mixed up, see #318447).
9480 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
9482 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9484 * gst/gstbin.c: (gst_bin_iterate_sorted):
9485 Pass GType and size arguments to gst_iterator_new() in the right
9486 order (maybe we should make _new() take the GType as first argument
9487 just like _new_list()?) (#318447).
9490 2005-10-10 Wim Taymans <wim@fluendo.com>
9492 * gst/gstelement.c: (gst_element_finalize):
9493 And free the GStaticRecMutex too
9495 2005-10-10 Andy Wingo <wingo@pobox.com>
9497 * gst/gstelement.c (gst_element_init, gst_element_finalize):
9498 Allocate and free the mutex properly.
9500 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9501 New macros.
9502 (GstElement): The state_lock is now recursive. Rebuild your
9503 plugins, suckers. Old macros adapted.
9505 * docs/gst/gstreamer-sections.txt: Doc updates.
9507 * gst/gstutils.h:
9508 * gst/gstutils.c (g_static_rec_cond_timed_wait)
9509 (g_static_rec_cond_wait): Ported from state changes patch, while
9510 we wait on bug #317802 to be solved in a well-distributed GLib.
9512 * gst/gstelement.c (gst_element_change_state_func): Renamed from
9513 gst_element_change_state, variable name changes.
9514 (gst_element_change_state): Split out of gst_element_set_state in
9515 preparation for the state change merge. Doesn't pay attention to
9516 the 'transition' argument.
9517 (gst_element_set_state): Updates, hopefully purely cosmetic.
9518 (gst_element_sync_state_with_parent): MT-safety. Ported from the
9519 state change patch.
9520 (gst_element_get_state_func): Renamed from get_state, cosmetic
9521 changes.
9523 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9525 * gst/elements/gstelements.c:
9526 * win32/GStreamer.vcproj:
9527 * win32/config.h:
9528 * win32/dirent.c: (_tseekdir):
9529 * win32/gst-inspect.vcproj:
9530 * win32/gst-launch.vcproj:
9531 * win32/gstconfig.h:
9532 * win32/gstelements.vcproj:
9533 * win32/gstenumtypes.c: (gst_object_flags_get_type):
9534 * win32/gstreamer.def:
9535 * win32/msvc71.sln:
9536 updates for the win32 build (patch from Sebastien Moutte)
9538 2005-10-10 Andy Wingo <wingo@pobox.com>
9540 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9541 gst_bin_get_state, cleaned up (but no logic changes).
9542 (bin_element_is_sink): Comment updates.
9543 (sink_iterator_filter): Remove needless cast.
9544 (gst_bin_iterate_sinks): Doc update.
9545 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9546 cleaned up (but no logic changes).
9548 * check/states/sinks.c (test_src_sink): Cleanups from the state
9549 change patch.
9550 (test_livesrc_sink): Sync on the state.
9552 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9553 the state change patch.
9555 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9556 change patch.
9558 * check/gst/gstbin.c: Merge in some style fixes and additional
9559 checks from Wim's state change patch.
9561 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
9563 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9564 (gst_type_find_helper):
9565 Check whether we have the requested data already in our list of
9566 cached buffers before pulling a new buffer; also make the buffer
9567 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9569 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
9571 * gst/gstcaps.c:
9572 * gst/gstevent.c:
9573 doc updates
9574 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9575 don't use long long, it's not portable. Replacing with
9576 gint64 seems to work; let's hope no skeletons fall out of the closet.
9578 2005-10-10 Andy Wingo <wingo@pobox.com>
9580 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9582 2005-10-09 Stefan Kost <ensonic@users.sf.net>
9584 * docs/gst/gstreamer-sections.txt:
9585 * gst/gstevent.c:
9586 * gst/gstevent.h:
9587 * gst/gstinfo.c:
9588 * gst/gstinfo.h:
9589 * gst/gstmessage.c: (gst_message_parse_state_changed):
9590 * gst/gstpad.c:
9591 * gst/gstpad.h:
9592 more docs, fix compilation
9594 2005-10-09 Philippe Khalaf <burger@speedy.org>
9595 * gst/gstmessage.c:
9596 Fixed a few forgotten variables on previous commit
9598 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
9600 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9601 Fix evil typefind crasher: getrange() might return a short
9602 buffer at the end of a file, but gst_type_find_peek() must
9603 either return the full data as requested or NULL, but
9604 never a short buffer.
9606 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
9608 * gst/gstmessage.c: (gst_message_new_state_changed),
9609 (gst_message_parse_state_changed):
9610 * gst/gstmessage.h:
9611 don't use "new", it's a C++ keyword
9613 2005-10-08 Wim Taymans <wim@fluendo.com>
9615 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9616 * gst/gstelement.c: (gst_element_post_message):
9617 * gst/gstpipeline.c: (gst_pipeline_change_state):
9618 Small docs and debug updates.
9620 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9622 * docs/gst/gstreamer-sections.txt:
9623 * gst/gstelementfactory.c:
9624 * gst/gstevent.c:
9625 * gst/gsttaglist.c:
9626 more docs
9628 2005-10-08 Wim Taymans <wim@fluendo.com>
9630 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9631 (gst_bin_dispose), (bin_bus_handler):
9632 Fix typos, add comments.
9633 Clear EOS list when going to PAUSED from any direction and do it
9634 in a threadsafe way.
9635 Get base time in a threadsafe way too.
9636 Fix confusing debug in the change_state function.
9637 Various other small cleanups.
9639 * gst/gstelement.c: (gst_element_post_message):
9640 Fix very verbose bus posting code.
9642 * gst/gstpipeline.c: (gst_pipeline_class_init),
9643 (gst_pipeline_set_property), (gst_pipeline_get_property),
9644 (gst_pipeline_change_state):
9645 Small ARG_ -> PROP_ cleanup
9647 2005-10-08 Wim Taymans <wim@fluendo.com>
9649 * gst/gstbin.c: (is_eos), (bin_bus_handler):
9650 Do a less CPU demanding EOS check because we can.
9652 2005-10-08 Wim Taymans <wim@fluendo.com>
9654 * libs/gst/dataprotocol/dataprotocol.c:
9655 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9656 (gst_dp_packet_from_event):
9657 * libs/gst/dataprotocol/dataprotocol.h:
9658 * libs/gst/dataprotocol/dp-private.h:
9659 It's about time we bump the version number.
9660 Since event types don't fit in the guint8 anymore describing
9661 the payload type, make payload type 16 bits wide.
9663 2005-10-08 Wim Taymans <wim@fluendo.com>
9665 * docs/design/part-TODO.txt:
9666 * docs/design/part-clocks.txt:
9667 * docs/design/part-events.txt:
9668 * docs/design/part-gstbin.txt:
9669 * docs/design/part-gstelement.txt:
9670 * docs/design/part-gstpipeline.txt:
9671 * docs/design/part-live-source.txt:
9672 * docs/design/part-messages.txt:
9673 * docs/design/part-overview.txt:
9674 * docs/design/part-states.txt:
9675 Many doc updates.
9677 2005-10-08 Wim Taymans <wim@fluendo.com>
9679 * gst/gstevent.c:
9680 * gst/gstevent.h:
9681 Fix event quark registration.
9682 Add some space between events so we can insert them in the
9683 right groups.
9685 2005-10-08 Wim Taymans <wim@fluendo.com>
9687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9688 (gst_base_sink_handle_buffer):
9689 Better log message.
9691 * gst/gstbus.h:
9692 * gst/gstelement.h:
9693 More docs.
9695 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9696 (gst_queue_set_property), (gst_queue_get_property):
9697 * gst/gstqueue.h:
9698 Remove old unused properties.
9700 2005-10-08 Stefan Kost <ensonic@users.sf.net>
9701 * docs/gst/gstreamer-sections.txt:
9702 * gst/gstmessage.c:
9703 * gst/gstmessage.h:
9704 * gst/gstminiobject.c:
9705 * gst/gstminiobject.h:
9706 * gst/gstobject.h:
9707 * gst/gstpad.h:
9708 * gst/gstutils.h:
9709 lots of new docs and doc fixes
9711 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9713 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9714 * gst/gstplugin.h:
9715 * gst/gstregistry.c: (gst_registry_lookup_locked),
9716 (gst_registry_scan_path_level):
9717 * gst/gstregistryxml.c: (load_plugin):
9718 Only ever load one plugin for a given plugin basename.
9719 This ensures correct overriding of GST_PLUGIN_PATH over
9720 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9721 system installed plugins.
9723 2005-10-08 Wim Taymans <wim@fluendo.com>
9725 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9726 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9727 Prepare for doing QOS.
9729 2005-10-08 Wim Taymans <wim@fluendo.com>
9731 * check/gst/gstbin.c: (GST_START_TEST):
9732 * check/pipelines/cleanup.c: (GST_START_TEST):
9733 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9734 Allow new clock message too.
9736 2005-10-08 Wim Taymans <wim@fluendo.com>
9738 * gst/gstmessage.c: (gst_message_new_error),
9739 (gst_message_new_warning), (gst_message_new_tag),
9740 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9741 (gst_message_new_clock_lost), (gst_message_new_new_clock),
9742 (gst_message_new_segment_start), (gst_message_new_segment_done),
9743 (gst_message_parse_state_changed),
9744 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9745 (gst_message_parse_new_clock):
9746 * gst/gstmessage.h:
9747 Also carry the clock in question.
9749 2005-10-08 Wim Taymans <wim@fluendo.com>
9751 * gst/gstmessage.c: (gst_message_new_custom),
9752 (gst_message_new_eos), (gst_message_new_error),
9753 (gst_message_new_warning), (gst_message_new_tag),
9754 (gst_message_new_state_changed), (gst_message_new_clock_provide),
9755 (gst_message_new_new_clock), (gst_message_new_segment_start),
9756 (gst_message_new_segment_done), (gst_message_parse_state_changed),
9757 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9758 * gst/gstmessage.h:
9759 Clean up.
9760 Added clock related messages.
9762 * gst/gstpipeline.c: (gst_pipeline_change_state):
9763 Post message when the clock changed.
9765 * tools/gst-launch.c: (event_loop):
9766 Print new clock.
9768 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
9770 * tools/gst-inspect.c: (print_element_properties_info):
9771 Can't pass NULL strings to g_print() on windows.
9773 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9775 * docs/Makefile.am:
9776 * docs/gst/Makefile.am:
9777 * docs/gst/gstreamer-docs.sgml:
9778 * docs/gst/running.xml:
9779 * docs/version.entities.in:
9780 add a chapter on running GStreamer.
9781 document GST_DEBUG and GST_PLUGIN* env vars
9783 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9785 * Makefile.am:
9786 remove include dir
9787 * configure.ac:
9788 remove PLUGINS_BUILDDIR stuff
9789 * gst/gst.c: (init_post):
9790 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9791 * idiottest.mak:
9792 remove, it was condescending and not needed
9794 2005-10-08 Wim Taymans <wim@fluendo.com>
9796 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9797 (gst_base_sink_handle_object), (gst_base_sink_event),
9798 (gst_base_sink_wait), (gst_base_sink_handle_event),
9799 (gst_base_sink_change_state):
9800 * gst/base/gstbasesink.h:
9801 Repost EOS message while going to PLAYING if still EOS.
9802 Make sure that when receiving a FLUSH_START we don't attempt
9803 to sync on the clock anymore.
9805 2005-10-08 Wim Taymans <wim@fluendo.com>
9807 * tools/gst-launch.c: (event_loop):
9808 Better message printout.
9810 2005-10-08 Wim Taymans <wim@fluendo.com>
9812 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9813 (gst_bin_child_proxy_get_children_count):
9814 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9815 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9816 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9817 (gst_child_proxy_set_valist):
9818 * gst/parse/grammar.y:
9819 Make ChildProxy threadsafe and fix mem leaks.
9821 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9823 * gst/gst.c: (init_post):
9824 debug the GST_PLUGIN_ env vars
9826 2005-10-08 Wim Taymans <wim@fluendo.com>
9828 * check/gst/gstbin.c: (GST_START_TEST):
9829 * check/gst/gstmessage.c: (GST_START_TEST):
9830 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9831 * gst/gstelement.c: (gst_element_commit_state),
9832 (gst_element_lost_state):
9833 * gst/gstmessage.c: (gst_message_new_state_changed),
9834 (gst_message_parse_state_changed):
9835 * gst/gstmessage.h:
9836 * tools/gst-launch.c: (event_loop):
9837 Added extra field to STATE_CHANGE message with the pending
9838 state, which will be different from the new state soon.
9840 2005-10-08 Wim Taymans <wim@fluendo.com>
9842 * gst/gstbus.c: (gst_bus_pop):
9843 * gst/gstclock.c:
9844 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9845 Small cleanups and doc updates.
9847 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
9849 * gst/gst.c: (init_pre):
9850 * gst/gstbin.c: (gst_bin_add_func):
9851 log distributing clocks and base time
9852 * gst/gstregistry.c: (gst_registry_add_plugin),
9853 (gst_registry_scan_path_level), (gst_registry_scan_path):
9854 clean up the debugging output a little
9855 * gst/gstutils.c: (gst_element_state_get_name):
9856 warn about a memleak (I've actually seen this be used, though
9857 it was probably a bug)
9859 2005-10-07 Wim Taymans <wim@fluendo.com>
9861 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9862 (gst_base_src_init), (gst_base_src_default_newsegment),
9863 (gst_base_src_newsegment), (gst_base_src_do_seek),
9864 (gst_base_src_loop), (gst_base_src_start):
9865 * gst/base/gstbasesrc.h:
9866 Make the newsegment event customizable by subclasses.
9868 2005-10-07 Wim Taymans <wim@fluendo.com>
9870 * gst/gstevent.c: (gst_event_new_buffersize),
9871 (gst_event_parse_buffersize):
9872 * gst/gstevent.h:
9873 New event for future idea.
9875 2005-10-07 Andy Wingo <wingo@pobox.com>
9877 * gst/gstelement.c (gst_element_post_message): Doc update.
9879 * docs/gst/gstreamer-sections.txt: Update.
9881 * gst/gstmessage.c (gst_message_new_application): Made into a
9882 function like honest API calls.
9883 (gst_message_new_element): New message type.
9885 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9887 * check/elements/fakesrc.c (test_no_preroll): New check, checks
9888 that setting a live fakesrc to PAUSED returns NO_PREROLL both
9889 times.
9891 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9892 NO_PREROLL from gst_element_change_state to fall through.
9894 2005-10-07 Wim Taymans <wim@fluendo.com>
9896 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9897 (gst_ghost_pad_do_activate_push):
9898 Activating a ghostpad with no internal pad in push mode
9899 is ok.
9901 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
9903 * gst/gstobject.h:
9904 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9905 Fixes compilation on Windows.
9907 2005-10-07 Michael Smith <msmith@fluendo.com>
9909 * tools/gst-inspect.c:
9910 Print out feature and plugin count at the end when printing out
9911 all features.
9913 2005-10-04 Michael Smith <msmith@fluendo.com>
9915 * gst/gsterror.c: (_gst_stream_errors_init):
9916 Add another error string used in a few existing plugins.
9918 * gst/gstplugin.c:
9919 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9920 * tools/gst-inspect.c: (print_element_info):
9921 When a feature disappears from a plugin (and the feature exists in
9922 the cached registry file), things went horribly wrong. This isn't a
9923 complete fix, we should actually be removing the 'missing' features
9924 from the features list when we load the actual plugin. That's not
9925 yet implemented.
9927 2005-10-04 Johan Dahlin <johan@gnome.org>
9929 * check/gst/gstiterator.c: (GST_START_TEST):
9930 * gst/gstbin.c: (gst_bin_iterate_elements),
9931 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9932 * gst/gstelement.c: (gst_element_iterate_pads):
9933 * gst/gstformat.c: (gst_format_iterate_definitions):
9934 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9935 (gst_iterator_new_list), (gst_iterator_filter):
9936 * gst/gstiterator.h:
9937 * gst/gstquery.c: (gst_query_type_iterate_definitions):
9938 Add a GType to GstIterator, update callsites and tests.
9940 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9942 * gst/gstpad.c: (gst_pad_event_default_dispatch):
9943 give events a chance to be handled by event probes when the pad
9944 is not linked
9946 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9948 * gst/gstevent.c: (gst_event_type_get_name),
9949 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9950 * gst/gstevent.h:
9951 add string representations for event types
9953 2005-10-06 Wim Taymans <wim@fluendo.com>
9955 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9956 Don't use NULL pointers.
9958 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9960 * gst/gst_private.h:
9961 * gst/gstbus.c:
9962 * gst/gstelement.c:
9963 * gst/gstinfo.c:
9964 * gst/gstpluginfeature.c:
9965 widen the debug category in output to fit the biggest one we have
9966 add a bus category and use it
9967 play with the colors
9968 fix up some categories
9970 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
9972 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9973 add push activation of sink ghost pads.
9974 Andye, please verify
9976 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9978 * gst/gstutils.c: (gst_element_link_pads):
9979 fix a bug in the case where neither element has a pad
9980 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9981 add a test for that case
9983 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
9985 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9986 emit have-data before checking for peers. This allows
9987 for probe handlers to connect elements. This helps autopluggers.
9988 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9989 (gst_pad_suite):
9990 add six checks, linked/unlinked with no/true/false probe
9992 2005-10-04 Wim Taymans <wim@fluendo.com>
9994 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9995 (gst_fake_sink_event), (gst_fake_sink_preroll),
9996 (gst_fake_sink_render), (gst_fake_sink_change_state):
9997 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9998 (gst_fake_src_get_property), (gst_fake_src_create),
9999 (gst_fake_src_stop):
10000 * gst/elements/gstidentity.c: (gst_identity_stop):
10001 Protect last_message with lock.
10003 2005-10-04 Edward Hervey <edward@fluendo.com>
10005 * gst/gstformat.h:
10006 Added precision in the comments for GST_FORMAT_DEFAULT
10008 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
10010 * tools/gst-launch.c: (main):
10011 Don't try to run erroneous pipelines.
10013 2005-10-04 Julien MOUTTE <julien@moutte.net>
10015 * gst/gstbus.c: We don't need this header.
10017 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10019 * configure.ac:
10020 back to development
10022 === release 0.9.3 ===
10024 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
10026 * README:
10027 * configure.ac:
10028 Releasing 0.9.3, "Unregistered"
10030 2005-10-03 Andy Wingo <wingo@pobox.com>
10032 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10033 whereby calling a pad's activatepush() function can start a thread
10034 that starts to push or pull before the pad gets the FLUSHING flag
10035 unset. Hack around it by holding the stream lock until the flag is
10036 set. Need to replace this with a proper solution. Together with
10037 the ghost pad fixes, this fixes mp3 playing/tagreading.
10039 * docs/design/part-gstghostpad.txt: Add a note about activation of
10040 proxy pads outside of ghost pads.
10042 * gst/gstghostpad.c: Implement the ghost pad activation design.
10044 2005-10-02 Andy Wingo <wingo@pobox.com>
10046 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10047 It is volatile, after all.
10049 * docs/design/part-gstghostpad.txt: Flesh out activation with
10050 ghost pads.
10052 * gst/base/gstbasesrc.c (gst_base_src_init): Use
10053 GST_DEBUG_FUNCPTR.
10055 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
10057 * configure.ac:
10058 Fix (unused) AM_CONDITIONAL tests.
10060 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
10062 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10064 * gst/gstutils.c: (gst_pad_query_convert):
10065 Add assertion that makes sure src_val is >=0, just like
10066 gst_query_new_convert() has. (#315895)
10068 2005-09-30 Edward Hervey <edward@fluendo.com>
10070 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10071 Let's not iterate pads we're not interested in, it avoids getting
10072 sky-high refcounts on sinkpad.
10074 2005-09-30 Wim Taymans <wim@fluendo.com>
10076 * gst/gstelement.c: (gst_element_set_state),
10077 (gst_element_change_state):
10078 Small tweak, element in ASYNC remains ASYNC.
10080 2005-09-30 Wim Taymans <wim@fluendo.com>
10082 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10083 Only error is an error.
10085 * gst/gstbin.c: (gst_bin_change_state):
10086 Better debugging.
10088 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10089 Also call pad_block in pad alloc.
10091 * gst/gstutils.c: (gst_flow_get_name):
10092 Better debugging.
10094 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10096 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10097 (gst_base_src_get_range):
10098 Fix documentation typos. Add some more debug info.
10100 2005-09-29 David Schleef <ds@schleef.org>
10102 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10103 more end-user friendly.
10104 * tools/gst-inspect.c: (main): Check if command-line argument is
10105 a file and attempt to load that file as a plugin.
10107 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10109 * check/gst/gstbin.c:
10110 * check/states/sinks.c:
10111 fix tests for the new warning
10112 * check/gst/gstpipeline.c:
10113 add a test for pipeline and bus interaction
10114 * gst/gstelement.c:
10115 elements should be NULL if they get disposed; add a warning if not
10117 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10119 * gst/gstobject.c:
10120 for 2.6 refcounting, make debug log more correct by printing
10121 the actual refcounts at the time of swap (Wim)
10123 2005-09-29 Andy Wingo <wingo@pobox.com>
10125 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10126 removes signal watches previously added via
10127 gst_bus_add_signal_watch.
10128 (gst_bus_add_signal_watch): Don't return the source id, just store
10129 it on the bus if there wasn't an id already.
10131 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10132 add_signal_watch and remove_signal_watch.
10134 2005-09-29 Edward Hervey <edward@fluendo.com>
10136 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10137 Better if we actually iterate the list :)
10139 2005-09-29 Wim Taymans <wim@fluendo.com>
10141 * check/gst/gstbin.c: (GST_START_TEST):
10142 Change for new bus API.
10144 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10145 (send_messages), (GST_START_TEST), (gstbus_suite):
10146 Change for new bus signal API.
10148 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10149 (gst_bus_source_prepare), (gst_bus_source_check),
10150 (gst_bus_create_watch), (gst_bus_add_watch_full),
10151 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10152 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10153 * gst/gstbus.h:
10154 Remove support for multiple GSources operating on different
10155 message types as it is too complex and unneeded when using
10156 signals.
10157 Added support for receiving signals from the bus.
10159 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
10161 * docs/libs/tmpl/gstdataprotocol.sgml:
10162 * docs/manual/advanced-dataaccess.xml:
10163 * gst/elements/gstcapsfilter.c:
10164 * gst/gstutils.c:
10165 rename filter-caps to caps property
10167 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10169 * gst/gstvalue.c: (gst_value_deserialize_fraction):
10170 More robust fraction string parsing.
10172 * docs/pwg/appendix-porting.xml:
10173 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10175 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
10177 * gst/gstcaps.c: (gst_caps_do_simplify):
10178 Thou shalt not free a structure and then continue using it
10179 in the next loop iteration.
10181 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10182 (gst_caps_suite):
10183 Add test case for caps simplification.
10185 2005-09-29 Wim Taymans <wim@fluendo.com>
10187 * check/gst/gstbin.c: (GST_START_TEST):
10188 Oops.
10190 2005-09-29 Wim Taymans <wim@fluendo.com>
10192 * check/gst/gstbin.c: (GST_START_TEST):
10193 Add bus to bin.
10195 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10196 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10197 (find_element), (gst_bin_sort_iterator_next),
10198 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10199 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10200 (gst_bin_change_state), (gst_bin_dispose):
10201 A bin does not have a bus, it gets the bus from the parent.
10203 * gst/gstelement.c: (gst_element_requires_clock),
10204 (gst_element_provides_clock), (gst_element_is_indexable),
10205 (gst_element_is_locked_state), (gst_element_change_state),
10206 (gst_element_set_bus_func):
10207 Small cleanups.
10209 * gst/gstpipeline.c: (gst_pipeline_class_init),
10210 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10211 The pipeline provides a bus.
10213 2005-09-28 Johan Dahlin <johan@gnome.org>
10215 * gst/gstmessage.c (gst_message_parse_state_changed): Use
10216 gst_structure_get_enum instead of gst_structure_get_int
10218 * gst/gststructure.c (gst_structure_get_enum): Impl.
10220 * gst/gststructure.h (gst_structure_get_enum): Add
10222 * docs/gst/gstreamer-sections.txt: Ditto
10224 * gst/gstmessage.c (gst_message_new_state_changed): Use
10225 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10226 which does introspection.
10227 Reviewed by Christian Schaller
10229 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10231 * gst/gstinfo.c: (gst_debug_log_default):
10232 don't do dummy g_strdup()s
10233 * libs/gst/controller/gstcontroller.c:
10234 (on_object_controlled_property_changed),
10235 (gst_controlled_property_new), (gst_controller_new_valist),
10236 (gst_controller_new_list),
10237 (gst_controller_remove_properties_valist), (gst_controller_set),
10238 (gst_controller_get), (gst_controller_sync_values),
10239 (gst_controller_get_value_array), (_gst_controller_class_init),
10240 (gst_controller_get_type):
10241 * libs/gst/controller/gstcontroller.h:
10242 * libs/gst/controller/gstinterpolation.c:
10243 (gst_controlled_property_find_timed_value_node):
10244 convert // to /**/ comments
10246 2005-09-28 Wim Taymans <wim@fluendo.com>
10248 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10249 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10250 (gst_bus_sync_signal_handler):
10251 * gst/gstbus.h:
10252 Added async-message and sync-message signals to the bus.
10253 Added helper BusFunc to emit signals for all posted messages.
10255 * gst/gstmessage.c: (gst_message_type_get_name),
10256 (gst_message_type_to_quark), (gst_message_get_type):
10257 * gst/gstmessage.h:
10258 Register quarks for message names.
10260 2005-09-28 Stefan Kost <ensonic@users.sf.net>
10262 * docs/libs/gstreamer-libs-sections.txt:
10263 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10264 (gst_controller_new_list):
10265 * libs/gst/controller/gstcontroller.h:
10266 added another constructor for language bindings
10268 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
10270 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10271 add another check
10272 * gst/gstbus.c:
10273 add some doc
10274 * gst/gstinfo.c: (_gst_debug_init):
10275 slightly more readable color for refcount debugging
10277 2005-09-28 Wim Taymans <wim@fluendo.com>
10279 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10280 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10281 (find_element), (gst_bin_sort_iterator_next),
10282 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10283 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10284 (gst_bin_change_state), (gst_bin_dispose):
10285 Small doc fixes. get_clock -> provide_clock.
10287 * gst/gstelement.c: (gst_element_class_init),
10288 (gst_element_provides_clock), (gst_element_provide_clock),
10289 (gst_element_get_clock), (gst_element_commit_state),
10290 (gst_element_lost_state):
10291 * gst/gstelement.h:
10292 Make get/set_clock() symetric. Add provide_clock vmethod since
10293 that is actually what this function does.
10295 * gst/gstpipeline.c: (gst_pipeline_class_init),
10296 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10297 (gst_pipeline_get_clock):
10298 get_clock -> provide_clock.
10300 2005-09-28 Andy Wingo <wingo@pobox.com>
10302 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10303 lieu of real docs...
10305 * gst/elements/gstfdsrc.c: Cleaned up a bit.
10307 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
10309 * gst/elements/gstcapsfilter.c:
10310 * gst/elements/gstfakesink.c:
10311 * gst/elements/gstfakesrc.c:
10312 * gst/elements/gstfdsink.c:
10313 * gst/elements/gstfdsrc.c:
10314 * gst/elements/gstfilesink.c:
10315 * gst/elements/gstfilesrc.c:
10316 * gst/elements/gstidentity.c:
10317 * gst/elements/gsttee.c:
10318 * gst/elements/gsttypefindelement.c:
10319 Make element details static.
10321 2005-09-28 Wim Taymans <wim@fluendo.com>
10323 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10324 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10325 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10326 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10327 (gst_bin_change_state), (gst_bin_dispose):
10328 Some documentation updates.
10329 Clean up dispose handlers.
10331 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10332 * gst/gstpad.c: (gst_pad_dispose):
10333 Clean up dispose handler.
10335 * gst/gstpipeline.c: (gst_pipeline_change_state):
10336 Removed spurious UNLOCK.
10338 2005-09-27 Stefan Kost <ensonic@users.sf.net>
10340 * docs/gst/gstreamer-sections.txt:
10341 * gst/base/gstbasesrc.h:
10342 * gst/gstelement.h:
10343 * gst/gstevent.h:
10344 * gst/gstobject.h:
10345 * gst/gstpad.h:
10346 * gst/gstpipeline.c:
10347 * gst/gstpipeline.h:
10348 * gst/gstutils.h:
10349 * gst/gstxml.h:
10350 added two new functions to the docs
10351 documents all undocumented GstXXXFlags
10352 completed some incomplete docs
10354 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
10356 * gst/gstbin.c: (gst_bin_dispose):
10357 * gst/gstelement.c: (gst_element_dispose):
10358 remove now useless and leaky resurrection code in dispose
10359 * gst/base/gstbasesrc.c: (gst_base_src_init):
10360 * gst/gstelementfactory.c: (gst_element_factory_create):
10361 * gst/gstobject.c: (gst_object_set_parent):
10362 add some debugging
10364 2005-09-27 Wim Taymans <wim@fluendo.com>
10366 * docs/design/part-TODO.txt:
10367 Update TODO.
10369 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10370 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10371 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10372 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10373 (gst_bin_change_state):
10374 * gst/gstelement.h:
10375 Remove element variable, we keep element info in the iterator now.
10377 2005-09-27 Andy Wingo <wingo@pobox.com>
10379 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10380 values.
10382 2005-09-27 Wim Taymans <wim@fluendo.com>
10384 * check/gst/gstbin.c: (GST_START_TEST):
10385 Enable check that works now.
10387 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10388 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10389 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10390 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10391 (gst_bin_change_state):
10392 * gst/gstbin.h:
10393 Redid the state change algorithm using a topological sort algo.
10394 Handles all cases correctly.
10395 Exposed iterator for state change order.
10397 * gst/gstelement.h:
10398 Temp storage for state changes. Need to get rid of this soon.
10400 2005-09-27 Wim Taymans <wim@fluendo.com>
10402 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10403 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10404 (link_fold_func), (gst_pad_proxy_setcaps):
10405 Leak fixes, the fold functions need to unref the passed object and
10406 _get_parent_*() returns ref to parent.
10408 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10410 * check/gst/gstbuffer.c: (test_make_writable):
10411 Plug leak in test case and fix 'make check-valgrind'
10413 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10415 * gst/gstbuffer.c: (gst_subbuffer_init):
10416 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10417 works correctly in all circumstances (we could have just copied
10418 the parent buffer's readonly flag, but conceptually it seems
10419 cleaner to mark all subbuffers as read-only). (based on patch
10420 by Alessandro Decina, #314710).
10422 * check/gst/gstbuffer.c: (create_read_only_buffer),
10423 (test_make_writable), (test_subbuffer_make_writable),
10424 (gst_test_suite):
10425 Add some tests for gst_buffer_make_writable().
10427 2005-09-27 Wim Taymans <wim@fluendo.com>
10429 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10430 use gst_object_has_ancestor().
10432 * gst/gstobject.c: (gst_object_has_ancestor):
10433 * gst/gstobject.h:
10434 gst_object_has_ancestor() copied from gstbin.c as it is a
10435 usefull function.
10437 * tests/instantiate/create.c: (create_all_elements):
10438 * tests/lat.c: (handoff_src), (handoff_sink):
10439 * tests/sched/runxml.c: (main):
10440 * tests/seeking/seeking1.c: (main):
10441 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10442 (main):
10443 Fix compilation of some tests.
10445 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
10447 * gst/gsterror.h:
10448 Remove comment. GST_TYPE_G_ERROR is here to stay,
10449 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10450 (#316961, #300610).
10452 2005-09-26 Wim Taymans <wim@fluendo.com>
10454 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10455 Added check that shows error in state change order.
10457 2005-09-26 Wim Taymans <wim@fluendo.com>
10459 * gst/gstbin.c: (gst_bin_change_state):
10460 Make state change function use 3 queues again, we were
10461 adding elements in the wrong order.
10463 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10464 Some debug info,
10466 * gst/gstpad.c: (gst_pad_dispose):
10467 Added some debug info first.
10469 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
10471 * docs/design/draft-push-pull.txt:
10472 * docs/design/part-events.txt:
10473 * docs/design/part-overview.txt:
10474 * docs/design/part-scheduling.txt:
10475 Replace all _pull_region() with _pull_range()
10477 2005-09-26 Andy Wingo <wingo@pobox.com>
10479 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
10481 * check/gst-libs/controller.c: Update for controller api change.
10483 * configure.ac:
10484 * tests/Makefile.am:
10485 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
10486 over by GLib bug 118439.
10488 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
10489 routines to a function.
10491 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10493 * libs/gst/controller/gsthelper.c:
10494 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10495 (gst_object_sync_values): Renamed from sink_values. Ugh.
10497 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10499 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10500 Renamed from controller_key, as it is exported.
10502 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10504 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
10506 * gst/Makefile.am:
10507 * gst/gst.h:
10508 * gst/gstpad.h:
10509 * gst/gstpadtemplate.h:
10510 * gst/gstquery.c:
10511 * gst/gstquery.h:
10512 * gst/gstqueryutils.c:
10513 * gst/gstqueryutils.h:
10514 remove queryutils headers after moving the two used functions
10515 to gstquery. also fixes build problem for gstsiddec
10517 2005-09-26 Michael Smith <msmith@fluendo.com>
10519 * tools/gst-launch.1.in:
10520 Correct documentation in manpage of debug syntax
10522 2005-09-26 Wim Taymans <wim@fluendo.com>
10524 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10525 (gst_base_src_is_seekable), (gst_base_src_change_state):
10526 Some more debugging info.
10528 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10530 * docs/gst/gstreamer-sections.txt:
10531 * gst/base/gstbasetransform.h:
10532 * gst/gstindex.h:
10533 added more docs
10535 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10537 * docs/gst/.cvsignore:
10538 * docs/gst/tmpl/.cvsignore:
10539 * docs/gst/tmpl/gstpipeline.sgml:
10540 * docs/gst/tmpl/gstplugin.sgml:
10541 * gst/gstpipeline.c:
10542 * gst/gstplugin.c:
10543 * gst/gstplugin.h:
10544 inlined the last two docs files
10545 removed the tmpl directory from cvs (no more conflicts here!)
10547 2005-09-25 Stefan Kost <ensonic@users.sf.net>
10549 * docs/gst/gstreamer-sections.txt:
10550 * docs/gst/tmpl/.cvsignore:
10551 * docs/gst/tmpl/gstpad.sgml:
10552 * docs/gst/tmpl/gstpadtemplate.sgml:
10553 * gst/Makefile.am:
10554 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10555 (gst_pad_finalize), (gst_pad_set_pad_template):
10556 * gst/gstpad.h:
10557 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10558 (gst_pad_template_class_init), (gst_pad_template_init),
10559 (gst_pad_template_dispose), (name_is_valid),
10560 (gst_static_pad_template_get), (gst_pad_template_new),
10561 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10562 (gst_pad_template_pad_created):
10563 * gst/gstpadtemplate.h:
10564 inlined two more docs
10565 factored gstpadtemplate out of gstpad
10567 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
10569 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10570 (test_children_state_change_order_semi_sink):
10571 Fix test case: we can't rely on a fixed state change order when
10572 going from READY => PAUSED because the sink might commit its
10573 new state first when the first buffer created by the source
10574 reaches the sink before the source has finished its change state.
10575 (Test case still fails at times, see #316856, comment 5 onwards)
10577 2005-09-24 Wim Taymans <wim@fluendo.com>
10579 * docs/design/part-events.txt:
10580 * docs/design/part-gstbus.txt:
10581 * docs/design/part-gstpipeline.txt:
10582 * docs/design/part-messages.txt:
10583 * docs/design/part-overview.txt:
10584 * docs/design/part-segments.txt:
10585 * gst/gstbin.c:
10586 * gst/gstbuffer.c:
10587 * gst/gstclock.c:
10588 * gst/gstelement.c:
10589 * gst/gstevent.c:
10590 * gst/gstfilter.c:
10591 * gst/gstiterator.c:
10592 Various documentation updates.
10594 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
10596 * gst/gstclock.h:
10597 Well, that's embarassing. Luckily we weren't using
10598 GST_CLOCK_DIFF anywhere.
10600 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10602 * common/gtk-doc.mak:
10603 don't fail on building XML, FC4 slave shows a bunch of doc
10604 missing bits that I don't get
10605 * gst/gstpad.c:
10606 * gst/gstpipeline.c:
10607 * gst/gststructure.c:
10608 some doc updates
10610 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10612 * docs/design/part-gstbin.txt:
10613 * docs/design/part-gstbus.txt:
10614 * gst/gstbus.c:
10615 Add blurb about how the bus goes into flushing mode and
10616 drops all messages when its bin goes from READY into NULL
10617 state.
10619 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10621 * docs/gst/gstreamer-sections.txt:
10622 * gst/gststructure.c: (gst_structure_get_clock_time):
10623 * gst/gststructure.h:
10624 add a method to get a GstClockTime out of a structure
10626 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
10628 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10629 (test_children_state_change_order_semi_sink), (gst_bin_suite):
10630 Added test to check state change order in bins (can still be made
10631 to fail here under heavy disk load; bails out with 'Push on pad
10632 fakesink:sink0, but it was not activated in push mode').
10634 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10635 Fix state change order when there is only a semi sink (#316856)
10637 * gst/gstbus.c: (gst_bus_class_init):
10638 Use _class_peek_parent(), not _class_ref(); fix docs to say
10639 'default main context' instead of 'mainloop' where that is
10640 what's meant.
10642 * gst/gstelement.c: (gst_element_commit_state),
10643 (gst_element_set_state):
10644 Fix typos in debug messages
10646 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10648 * docs/README:
10649 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10650 * gst/gstpluginfeature.c:
10651 * gst/gstutils.c:
10652 various doc updates
10653 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10654 change an assert into an error until it gets fixed properly
10656 2005-09-23 Stefan Kost <ensonic@users.sf.net>
10658 * docs/gst/gstreamer-sections.txt:
10659 * docs/gst/tmpl/.cvsignore:
10660 * docs/gst/tmpl/gstelement.sgml:
10661 * docs/gst/tmpl/gstinfo.sgml:
10662 * docs/gst/tmpl/gstobject.sgml:
10663 * gst/gstelement.c:
10664 * gst/gstelement.h:
10665 * gst/gstinfo.c:
10666 * gst/gstinfo.h:
10667 * gst/gstobject.c: (gst_object_class_init):
10668 * gst/gstobject.h:
10669 inlined 3 more biiiig doc files and added some missing docs on the fly
10671 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
10673 * check/gst/.cvsignore:
10674 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10675 * gst/gstregistryxml.c: (load_plugin),
10676 (gst_registry_xml_save_plugin):
10677 put back source in registry. add checks for find_plugin.
10678 * testsuite/states/bin.c: (assert_state), (empty_bin),
10679 (test_adding_one_element), (main):
10680 * testsuite/states/locked.c: (main):
10681 some compile/run fixes
10683 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
10685 * check/gst/gstvalue.c: (GST_START_TEST):
10686 fix leaks in the test itself
10688 2005-09-22 Wim Taymans <wim@fluendo.com>
10690 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10691 (gst_base_sink_send_event), (gst_base_sink_peer_query),
10692 (gst_base_sink_query):
10693 Prepare for more accurate position reporting and query
10694 handling.
10696 * gst/gstelement.c: (gst_element_send_event),
10697 (gst_element_set_state):
10698 Add some comment.
10700 2005-09-22 Wim Taymans <wim@fluendo.com>
10702 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10703 (gst_query_parse_segment):
10704 * gst/gstquery.h:
10705 More documentation.
10706 Add segment query for future use.
10708 2005-09-22 Wim Taymans <wim@fluendo.com>
10710 * gst/gstbin.c: (gst_bin_add_func):
10711 Some more debug info.
10713 * gst/gstelement.c: (gst_element_send_event):
10714 Simplify send_event
10716 * gst/gstelement.h:
10717 Don't know how flags got broken.
10719 * gst/gstquery.h:
10720 Added new query.
10722 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10724 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10725 Add simplistic test suite for GST_TYPE_DATE serialisation and
10726 deserialisation.
10728 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
10730 * docs/gst/gstreamer-sections.txt:
10731 * gst/gststructure.c: (gst_structure_set_valist),
10732 (gst_structure_get_date):
10733 * gst/gststructure.h:
10734 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10735 (gst_date_copy), (gst_value_compare_date),
10736 (gst_value_serialize_date), (gst_value_deserialize_date),
10737 (gst_value_transform_date_string),
10738 (gst_value_transform_string_date), (_gst_value_initialize):
10739 * gst/gstvalue.h:
10740 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10741 bunch of utility functions along with a hack that checks that
10742 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10743 is required. Part of the grand scheme in #170777.
10745 2005-09-22 Andy Wingo <wingo@pobox.com>
10747 * gst/gstconfig.h.in: Psych out gtk-doc.
10749 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10751 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10753 * tools/gst-inspect.c (print_element_list): Plug some
10754 inconsequential leaks.
10756 * gst/gstregistry.c (gst_registry_get_default): Doc.
10758 * check/gst/gstplugin.c:
10759 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10760 * gst/gstelementfactory.c (gst_element_factory_create):
10761 * gst/gstindexfactory.c (gst_index_factory_create): Update for
10762 refcount changes.
10764 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10765 (gst_plugin_feature_load): Doc, don't eat refs.
10767 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10768 (gst_plugin_list_free): Doc.
10769 (gst_plugin_load_file): Doc updates.
10771 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10772 accessors returning refcounted objects, return a ref.
10774 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10775 accessor for caps. IDEMPOTENCE. Oh yes.
10777 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
10779 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10781 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10782 (_gst_debug_register_funcptr):
10783 Add mutex to serialise access to the hash table with
10784 the function pointer => function name string mapping;
10785 make that hash table static scope (#316809).
10787 * gst/registries/.cvsignore:
10788 Remove left-over file.
10790 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10792 * docs/pwg/appendix-porting.xml:
10793 And something about newsegment events and caps-on-buffers to
10794 the porting guide (feel free to improve).
10796 2005-09-21 Andy Wingo <wingo@pobox.com>
10798 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10799 data and event probes on the same pad.
10800 (test_buffer_probe_once): Test that removing probes from within
10801 the probe functions works.
10803 2005-09-21 Andy Wingo <wingo@pobox.com>
10805 * check/gst/gstutils.c: New file.
10806 (test_buffer_probe_n_times): A simple buffer probe test. More to
10807 come, foolios.
10809 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10810 have-data::buffer, not have-data.
10811 (gst_pad_add_event_probe): Likewise for have-data::event.
10812 (gst_pad_add_data_probe): More docs. The part about 'resolving the
10813 peer' isn't quite right yet though.
10814 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
10815 (gst_pad_remove_data_probe): Change to take the guint handler_id
10816 as their arg, not the function+data, which is more glib-like.
10818 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10819 the signal emission to indicate if the data is a buffer or an
10820 event.
10821 (gst_pad_get_type): Initialize buffer and event quarks.
10822 (gst_pad_class_init): have-data is now a detailed signal, yes it
10823 is.
10825 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
10827 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10828 * gst/gstutils.c: (gst_util_set_value_from_string),
10829 (gst_util_set_object_arg):
10830 Don't put functional code in g_return_if_fail() or
10831 g_return_val_if_fail() statements, otherwise things will
10832 break when G_DISABLE_CHECKS is defined during compilation.
10834 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10836 * docs/gst/tmpl/.cvsignore:
10837 * docs/gst/tmpl/gstvalue.sgml:
10838 * gst/gstvalue.c:
10839 * gst/gstvalue.h:
10840 inlied another one and added some obvious docs
10842 2005-09-21 Wim Taymans <wim@fluendo.com>
10844 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10845 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10846 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10847 (gst_fdsrc_get_property), (gst_fdsrc_create):
10848 * gst/elements/gstfdsrc.h:
10849 Properly implement fdsrc. Removed signal and timeout,
10850 better implemented somewhere else.
10852 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10854 * docs/gst/tmpl/.cvsignore:
10855 * docs/gst/tmpl/gstimplementsinterface.sgml:
10856 * gst/gstinterface.c:
10857 inlined more docs
10859 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10861 * docs/gst/gstreamer-sections.txt:
10862 * docs/gst/tmpl/.cvsignore:
10863 * docs/gst/tmpl/gstenumtypes.sgml:
10864 remove obsolete doc file
10866 2005-09-21 David Schleef <ds@schleef.org>
10868 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10869 little beer, fix a little leak.
10871 2005-09-21 Stefan Kost <ensonic@users.sf.net>
10873 * docs/gst/gstreamer-docs.sgml:
10874 * docs/gst/gstreamer-sections.txt:
10875 * docs/gst/tmpl/.cvsignore:
10876 * gst/Makefile.am:
10877 * gst/gst.h:
10878 * gst/gstbin.c:
10879 * gst/gstelement.h:
10880 * gst/gstindex.c: (gst_index_class_init):
10881 * gst/gstindex.h:
10882 * gst/gstindexfactory.c: (gst_index_factory_get_type),
10883 (gst_index_factory_class_init), (gst_index_factory_init),
10884 (gst_index_factory_finalize), (gst_index_factory_new),
10885 (gst_index_factory_destroy), (gst_index_factory_find),
10886 (gst_index_factory_create), (gst_index_factory_make):
10887 * gst/gstindexfactory.h:
10888 * gst/gstpluginfeature.c:
10889 * gst/gstpluginfeature.h:
10890 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10891 more docs inlined, splitted gstindex.{c,h}
10893 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10895 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10896 fix a leak
10898 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10900 * gst/elements/gstfilesink.c: (gst_file_sink_init):
10901 Set sync to FALSE by default.
10903 2005-09-20 Wim Taymans <wim@fluendo.com>
10905 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10906 (gst_base_sink_init):
10907 Make sync property settable from subclass.
10909 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10910 (gst_fake_sink_change_state):
10911 Set sync to FALSE by default.
10913 2005-09-20 Wim Taymans <wim@fluendo.com>
10915 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10916 * tools/gst-launch.c: (main):
10917 The timeout handler should have lower priority than the source
10918 so we don't timeout before popping a message with 0 timeout.
10919 Dump error messages after failed state change.
10921 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
10923 * tools/gst-inspect.c: (print_element_properties_info):
10924 Fix two typos.
10926 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10928 * check/gst/gstevent.c:
10929 * gst/elements/gstfakesink.c:
10930 * gst/elements/gstfakesink.h:
10931 remove the sync property from fakesink.
10932 has the side effect of setting sync TRUE
10933 for fakesink, which is a change. Anyone who knows how
10934 to fix this nicely in a GObject-y way, feel free.
10936 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10938 * docs/gst/gstreamer-docs.sgml:
10939 remove probe refsection
10941 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10943 * check/Makefile.am:
10944 disable valgrinding the controller test again
10945 * docs/gst/gstreamer-sections.txt:
10946 update for api-changes
10948 2005-09-20 Wim Taymans <wim@fluendo.com>
10950 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10951 (gst_base_sink_set_property), (gst_base_sink_get_property),
10952 (gst_base_sink_do_sync):
10953 * gst/base/gstbasesink.h:
10954 Added sync property to basesink to disable clock sync.
10956 2005-09-20 Andy Wingo <wingo@pobox.com>
10958 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10959 eating the caller's refcount.
10961 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
10962 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10963 refcount.
10965 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10966 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10967 of GLib 2.8 public, so we can know which refcount to check in
10968 tests.
10970 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10971 (gst_object_init): Only set the gst refcount if we're going ahead
10972 with the refcount hack.
10974 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10976 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10977 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10978 more leaks plumbed, added more debug-logging
10979 * gst/gstmacros.h:
10980 whitespace fix
10982 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10984 * gst/gstmessage.c:
10985 remove include of gstmemchunk.h
10987 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
10989 * gst/gstclock.c: (_gst_clock_id_free):
10990 Commit from the Political Party For More Atomic CVS Commits,
10991 so that people don't waste too much of their day fishing
10992 out obvious leaks out of massive commits.
10993 Oh, and fix a pretty damn obvious leak in the memchunk
10994 removal code.
10996 2005-09-20 Stefan Kost <ensonic@users.sf.net>
10998 * check/Makefile.am:
10999 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11000 plug mem-leak, re-add to valgrindable tests
11002 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
11004 * gst/gstplugin.h:
11005 unbreak the build for those who have chronic arthritis
11006 and typing "make check" is just too taxing on the hands
11008 2005-09-20 Andy Wingo <wingo@pobox.com>
11010 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11011 really want it out, you should fix plugins at the same time.
11013 2005-09-19 Stefan Kost <ensonic@users.sf.net>
11015 * configure.ac:
11016 * docs/gst/gstreamer-sections.txt:
11017 * gst/gstobject.c:
11018 added missing symbols to api docs
11019 disable ref-count hack if we have glib >= 2.8
11021 2005-09-19 David Schleef <ds@schleef.org>
11023 * docs/gst/Makefile.am: Ignore a few more internal headers
11024 * docs/gst/gstreamer-docs.sgml: Remove old sections
11025 * docs/gst/gstreamer-sections.txt: Remove old sections
11026 * docs/gst/tmpl/gstobject.sgml: update
11027 * docs/gst/tmpl/gstplugin.sgml: update
11028 * docs/gst/tmpl/gstpluginfeature.sgml: update
11029 * docs/random/ds/0.9-suggested-changes: update.
11030 * gst/Makefile.am: remove memchunk and trashstack, since they're
11031 not used.
11032 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11033 * gst/gst.h: don't include some headers
11034 * gst/gstchildproxy.c: add gstmarshal.h
11035 * gst/gstclock.c: Don't use memchunks
11036 * gst/gstminiobject.c: Add some docs
11037 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11038 * gst/gstobject.h: same
11039 * gst/gstplugin.c: include gstmacros.h
11040 * gst/gstplugin.h: don't include gstmacros.h, since it's private
11041 * gst/gstquery.c: don't use memchunks
11042 * gst/gstregistry.c: rename gst_registry_deinit()
11043 * gst/gstregistry.h: same
11045 2005-09-19 David Schleef <ds@schleef.org>
11047 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11048 * docs/libs/gstreamer-libs-sections.txt:
11049 * docs/libs/tmpl/gstgetbits.sgml:
11050 * docs/libs/tmpl/gstputbits.sgml:
11052 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
11054 * win32/gstenumtypes.c:
11055 * win32/gstenumtypes.h:
11056 Update.
11058 2005-09-19 Wim Taymans <wim@fluendo.com>
11060 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11061 Automatically PAUSE and RESUME a pipeline when a flushing seek
11062 is performed.
11064 2005-09-19 Andy Wingo <wingo@pobox.com>
11066 * gst/gstregistry.h: Spacing fixen.
11068 2005-09-19 Wim Taymans <wim@fluendo.com>
11070 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11071 Handle state change failure more correctly.
11073 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11075 * check/Makefile.am:
11076 * check/pipelines/cleanup.c: (run_pipeline):
11077 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11078 (GST_START_TEST):
11079 enable cleanup again after fixing the leak
11080 * docs/README:
11081 some more info on docs
11083 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11085 * check/Makefile.am:
11086 re-enable tests now that leaks are plugged
11087 * check/gst/gst.c:
11088 * check/gst/gstbin.c:
11089 * check/gst/gstpipeline.c:
11090 add some more tests while fixing leaks
11091 * common/check.mak:
11092 make sure binaries are uptodate when valgrinding/gdbing
11093 * gst/gst.c:
11094 * gst/gstelementfactory.c:
11095 remove a ref too many, and add a FIXME for when we get
11096 round to disposing of classes
11097 * gst/gstplugin.c:
11098 fix the refcounting when loading a plugin from a file and
11099 the code pretends that the pointer is the same even though
11100 of course it can change
11101 * gst/gstpluginfeature.c:
11102 unref plugins marked cached (a bit confusing as a name)
11103 as the docs state should be done
11104 various doc additions to explain refcounting
11105 * gst/gstregistry.c:
11106 * gst/gstregistryxml.c:
11107 debugging
11109 2005-09-19 Wim Taymans <wim@fluendo.com>
11111 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11112 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11113 (send_messages), (GST_START_TEST), (gstbus_suite):
11114 * check/gst/gstpipeline.c: (GST_START_TEST):
11115 * check/pipelines/cleanup.c: (run_pipeline):
11116 * check/pipelines/simple_launch_lines.c: (run_pipeline),
11117 (GST_START_TEST):
11118 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11119 (gst_bus_source_check), (gst_bus_source_dispatch),
11120 (gst_bus_create_watch), (gst_bus_add_watch_full),
11121 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11122 * gst/gstbus.h:
11123 * tools/gst-launch.c: (event_loop):
11124 * tools/gst-md5sum.c: (event_loop):
11125 GstBusHandler -> GstBusFunc, return value has the same meaning as
11126 any other GSource (FALSE == remove source).
11127 _add_watch() and _add_watch_full() now take a MessageType mask to
11128 only handle specific types of messages.
11129 _poll() returns the GstMessage instead of the message type to avoid
11130 race conditions.
11131 _have_pending() takes a MessageType mask now too.
11132 Added testsuite for multiple bus watches.
11133 Fix testsuites and applications for new bus API.
11135 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
11137 * check/Makefile.am:
11138 mark a bunch of the tests as to fix until we fix them
11140 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11142 * common/check.mak:
11143 use GST_PLUGIN settings for valgrind tests as well, so we're
11144 valgrinding the correct thing
11145 * gst/gst.c: (init_post):
11146 plug another leak
11148 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11150 * gst/gst.c: (init_post), (gst_deinit):
11151 * gst/gstelementfactory.c: (gst_element_factory_class_init),
11152 (gst_element_factory_finalize), (gst_element_factory_cleanup):
11153 * gst/gstindex.c: (gst_index_factory_class_init),
11154 (gst_index_factory_finalize):
11155 * gst/gstobject.c: (gst_object_dispose):
11156 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11157 (gst_plugin_load_file), (gst_plugin_desc_free):
11158 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11159 (gst_plugin_feature_finalize):
11160 * gst/gstregistry.c: (gst_registry_class_init),
11161 (gst_registry_init), (gst_registry_finalize),
11162 (gst_registry_get_default), (gst_registry_deinit):
11163 * gst/gstregistry.h:
11164 * gst/gstregistryxml.c: (load_feature), (load_plugin):
11165 various cleanups and memleak plugging. make valgrind is happy now.
11167 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
11169 * common/check.mak:
11170 add a check-valgrind target
11172 2005-09-18 David Schleef <ds@schleef.org>
11174 * tools/gst-inspect.c: Revert the GOption code.
11176 2005-09-17 David Schleef <ds@schleef.org>
11178 * check/Makefile.am: Fix environment variables.
11179 * check/gst/gstplugin.c: Fix for API changes.
11180 * tools/gst-inspect.c: Fix for API changes.
11181 * tools/gst-xmlinspect.c: Fix for API changes.
11182 * gst/gstelementfactory.c:
11183 * gst/gstplugin.c:
11184 * gst/gstplugin.h:
11185 * gst/gstpluginfeature.c:
11186 * gst/gstpluginfeature.h:
11187 * gst/gstregistry.c:
11188 * gst/gstregistry.h:
11189 * gst/gstregistryxml.c:
11190 * gst/gsttypefind.c:
11191 * gst/gsttypefindfactory.c:
11192 * gst/indexers/gstfileindex.c:
11193 * gst/indexers/gstmemindex.c:
11194 * gst/schedulers/Makefile.am:
11195 Change registry to keep track of both plugins and features,
11196 removing the feature tracking from plugins themselves.
11198 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
11200 * check/Makefile.am:
11201 * tools/gst-register.1.in:
11202 remove gst-register
11204 2005-09-15 David Schleef <ds@schleef.org>
11206 * check/gst/gstplugin.c:
11207 * gst/gstelementfactory.c:
11208 * gst/gstplugin.c:
11209 * gst/gstpluginfeature.c:
11210 * gst/gstregistry.c:
11211 Getting tired of debugging. Disabled all the unreffing of
11212 plugins and features, which fixes the segfaults, but of
11213 course leaks like crazy. At least playbin works.
11215 2005-09-15 David Schleef <ds@schleef.org>
11217 * check/gst/gstplugin.c: (register_check_elements),
11218 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11219 More testing
11220 * gst/elements/gsttypefindelement.c: Fix refcounting.
11221 * gst/gsttypefind.c:
11222 * gst/gsttypefindfactory.c:
11223 * gst/gsttypefindfactory.h:
11225 2005-09-15 David Schleef <ds@schleef.org>
11227 * gst/gstindex.c: get refcounting correct.
11228 * gst/gstregistry.c: Handle the case where a feature/plugin is
11229 not found.
11231 2005-09-15 David Schleef <ds@schleef.org>
11233 * check/Makefile.am:
11234 * check/gst/gstplugin.c: Add test
11235 * gst/gstplugin.c: Fix problems noticed by testsuite
11236 * gst/gstplugin.h:
11237 * gst/gstregistry.c:
11238 * gst/gstregistry.h:
11240 2005-09-15 David Schleef <ds@schleef.org>
11242 * gst/gstplugin.c: Implement semi-decent recounting and locking
11243 in plugins and plugin features.
11244 * gst/gstplugin.h:
11245 * gst/gstpluginfeature.c:
11246 * gst/gstpluginfeature.h:
11247 * gst/gstregistry.c:
11249 2005-09-15 Michael Smith <msmith@fluendo.com>
11251 * gst/gstregistry.c: (gst_registry_get_feature_list):
11252 Implement this. Makes oggdemux work; decodebin still broken.
11254 2005-09-14 David Schleef <ds@schleef.org>
11256 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11257 #316076)
11258 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11259 * gst/check/Makefile.am:
11260 * libs/gst/controller/Makefile.am:
11261 * libs/gst/dataprotocol/Makefile.am:
11263 2005-09-14 David Schleef <ds@schleef.org>
11265 * configure.ac: Remove getbits library. Nothing uses it, and
11266 it should be in something like liboil if someone did want
11267 to use it.
11268 * libs/gst/Makefile.am:
11269 * libs/gst/getbits/Makefile.am:
11270 * libs/gst/getbits/gbtest.c:
11271 * libs/gst/getbits/getbits.c:
11272 * libs/gst/getbits/getbits.h:
11273 * libs/gst/getbits/gstgetbits_generic.c:
11274 * libs/gst/getbits/gstgetbits_i386.s:
11275 * libs/gst/getbits/gstgetbits_inl.h:
11277 2005-09-14 David Schleef <ds@schleef.org>
11279 * gst/Makefile.am: Dist glib-compat.h
11281 2005-09-14 David Schleef <ds@schleef.org>
11283 * configure.ac: Remove gst/registries, since it's no longer used.
11284 * gst/registries/Makefile.am:
11285 * gst/registries/gstlibxmlregistry.c:
11286 * gst/registries/gstlibxmlregistry.h:
11287 * gst/registries/gstxmlregistry.c:
11288 * gst/registries/gstxmlregistry.h:
11289 * gst/registries/registrytest.c:
11291 2005-09-14 David Schleef <ds@schleef.org>
11293 * gst/glib-compat.h:
11294 * gst/gstregistryxml.c:
11295 Convergence is near. Seriously.
11297 2005-09-14 David Schleef <ds@schleef.org>
11299 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11300 * gst/glib-compat.h:
11301 Attempt #4 to appease the buildbots.
11303 2005-09-14 David Schleef <ds@schleef.org>
11305 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11306 Attempt #3.
11308 2005-09-14 David Schleef <ds@schleef.org>
11310 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11311 Attempt #2.
11313 2005-09-14 David Schleef <ds@schleef.org>
11315 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11316 the new functions.
11318 2005-09-14 David Schleef <ds@schleef.org>
11320 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11321 * gst/glib-compat.h: Add some functions that are in newer versions
11322 of glib than we care to require.
11323 * gst/gstregistryxml.c: Use them.
11325 2005-09-14 David Schleef <ds@schleef.org>
11327 * po/POTFILES.in: remove gst-register.c
11329 2005-09-14 David Schleef <ds@schleef.org>
11331 * docs/gst/gstreamer-docs.sgml:
11332 * docs/gst/gstreamer-sections.txt:
11333 * docs/gst/gstreamer.types:
11334 * docs/gst/tmpl/gstelement.sgml:
11335 * docs/gst/tmpl/gstplugin.sgml:
11336 * docs/gst/tmpl/gstpluginfeature.sgml:
11337 Documentation updates for registry changes.
11339 2005-09-14 David Schleef <ds@schleef.org>
11341 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11342 because we don't require glib-2.8.
11344 2005-09-14 David Schleef <ds@schleef.org>
11346 * gst/gstregistryxml.c: Added. Essentially moved out of the
11347 registries directory.
11349 2005-09-14 David Schleef <ds@schleef.org>
11351 * check/Makefile.am:
11352 * check/generic/states.c:
11353 * gst/Makefile.am:
11354 * gst/gst.c:
11355 * gst/gst.h:
11356 * gst/gst_private.h:
11357 * gst/gstelementfactory.c:
11358 * gst/gstindex.c:
11359 * gst/gstinfo.c:
11360 * gst/gstplugin.c:
11361 * gst/gstplugin.h:
11362 * gst/gstpluginfeature.c:
11363 * gst/gstpluginfeature.h:
11364 * gst/gstregistry.c:
11365 * gst/gstregistry.h:
11366 * gst/gstregistrypool.c: remove
11367 * gst/gstregistrypool.h: remove
11368 * gst/gsttypefind.c:
11369 * gst/gsttypefindfactory.c:
11370 * gst/gsturi.c:
11371 * tools/Makefile.am:
11372 * tools/gst-compprep.c:
11373 * tools/gst-inspect.c:
11374 * tools/gst-register.c: remove
11375 * tools/gst-xmlinspect.c:
11376 Registry rewrite. Changes registry from being a file created
11377 by a tool into a simple cache file created automatically by
11378 libgstreamer. Removed gst-register (because it's no longer
11379 needed). Remove registry pools, because we only have one
11380 registry implementation (XML). Fix up other subsystems as
11381 necessary.
11383 2005-09-13 Michael Smith <msmith@fluendo.com>
11385 * gst/gstconfig.h.in:
11386 Don't Use windows linking attributes for MinGW. Fixes #316157
11388 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
11390 * gst/gstutils.c: (set_state_async_thread_func),
11391 (gst_element_set_state_async):
11392 Apparently people think it's better if this function doesn't
11393 try to set the state to whatever state was asked for on the first
11394 call to this function for any object. Seriously.
11396 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11398 * check/gst/gstpipeline.c: (GST_START_TEST):
11399 * docs/gst/gstreamer-sections.txt:
11400 * gst/gstutils.c: (set_state_async_thread_func),
11401 (gst_element_set_state_async):
11402 * gst/gstutils.h:
11403 add a "gst_element_set_state_async" method that
11404 sets the state and starts a thread to make sure the state
11405 change completes as best as it can
11407 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11409 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11410 codify design+behaviour in testsuite after discussion
11412 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
11414 * docs/gst/tmpl/gstelement.sgml:
11415 * docs/manual/appendix-quotes.xml:
11416 add a quote
11417 * gst/gstelement.c: (gst_element_set_state):
11418 add some debug
11420 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
11422 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11423 (gst_base_transform_prepare_output_buf),
11424 (gst_base_transform_handle_buffer):
11425 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11426 (gst_capsfilter_prepare_buf):
11427 Remove the requirement for sub-classes to call the parent
11428 implementation of prepare_output_buffer with a wrapper function.
11430 * gst/gsttaglist.h:
11431 * gst/gsttagsetter.h:
11432 Fix #define wrapper
11434 2005-09-11 Stefan Kost <ensonic@users.sf.net>
11436 * docs/gst/gstreamer-sections.txt:
11437 more doc cleanups
11439 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11441 * docs/gst/gstreamer-sections.txt:
11442 * docs/gst/tmpl/gstelement.sgml:
11443 * docs/gst/tmpl/gstplugin.sgml:
11444 * gst/gstminiobject.c:
11445 * gst/gstvalue.h:
11446 docs now stop throwing warnings
11448 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11450 * docs/gst/gstreamer-sections.txt:
11451 * docs/gst/gstreamer.types:
11452 * docs/gst/tmpl/gstpad.sgml:
11453 * docs/gst/tmpl/gsttypes.sgml:
11454 * gst/base/gstadapter.h:
11455 * gst/base/gstbasesink.h:
11456 * gst/base/gstbasesrc.h:
11457 * gst/gstbin.h:
11458 * gst/gstbuffer.h:
11459 * gst/gstbus.h:
11460 * gst/gstcaps.h:
11461 * gst/gstclock.h:
11462 * gst/gstelement.h:
11463 * gst/gstevent.h:
11464 * gst/gstmessage.h:
11465 * gst/gstpad.h:
11466 * gst/gststructure.c:
11467 * gst/registries/gstlibxmlregistry.h:
11468 various documentation fixes
11470 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
11472 * docs/gst/gstreamer-sections.txt:
11473 * docs/gst/tmpl/gstvalue.sgml:
11474 rearrange gstvalue section
11475 * gst/gstutils.c: (gst_element_state_get_name):
11476 NONE -> VOID
11477 * gst/gstvalue.c: (_gst_value_initialize):
11478 * gst/gstvalue.h:
11479 doc updates
11481 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
11483 * check/gst-libs/controller.c:
11484 Header include fix.
11485 * gst/base/gstbasetransform.c:
11486 (gst_base_transform_default_prepare_buf),
11487 (gst_base_transform_handle_buffer):
11488 * gst/base/gstbasetransform.h:
11489 Some more basetransform changes and fixes to enable sub-classes
11490 that modify buffer metadata only.
11491 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11492 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11493 (gst_capsfilter_prepare_buf):
11494 If the output pad has fixed allowed caps and input buffers
11495 don't have any, set the fixed caps on outgoing buffers.
11497 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
11498 * check/elements/identity.c: (GST_START_TEST):
11499 Make the error a little clearer when the test fails because
11500 identity made a copy of the buffer.
11501 * docs/gst/gstreamer-sections.txt:
11502 New symbols in gstbasetransform.h
11503 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11504 (gst_base_transform_init), (gst_base_transform_transform_size),
11505 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11506 (gst_base_transform_default_prepare_buf),
11507 (gst_base_transform_get_unit_size),
11508 (gst_base_transform_buffer_alloc),
11509 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11510 (gst_base_transform_change_state),
11511 (gst_base_transform_set_passthrough),
11512 (gst_base_transform_set_in_place),
11513 (gst_base_transform_is_in_place):
11514 * gst/base/gstbasetransform.h:
11515 Change BaseTransform to separate in_place operate from same_caps
11516 output. in_place implies that the element can perform the transform
11517 on incoming buffers in-place, even if the caps on the output are
11518 different.
11519 Sub-class elements can now implement special buffer allocation
11520 methods for outgoing buffers if they wish to.
11521 Big documentation addition.
11522 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11523 * gst/elements/gstelements.c:
11524 Changes for basetransform modifications.
11525 * gst/elements/Makefile.am:
11526 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11527 Compile fix. Extra debug output.
11529 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11531 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11532 (gst_pad_suite):
11533 add tests for valid pad naming
11534 * gst/check/gstcheck.c: (gst_check_log_message_func),
11535 (gst_check_log_critical_func):
11536 add ASSERT_WARNING
11537 remove printing of code, it is fragile when the code contains
11538 % and the line number is enough info
11539 * gst/check/gstcheck.h:
11540 * gst/gstpad.c: (gst_pad_template_new):
11541 fix memleaks
11543 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11545 * configure.ac:
11546 say what CHECK flags we use
11547 * docs/libs/gstreamer-libs.types:
11548 * libs/gst/controller/Makefile.am:
11549 * libs/gst/controller/gst-controller.c:
11550 * libs/gst/controller/gst-controller.h:
11551 * libs/gst/controller/gst-helper.c:
11552 * libs/gst/controller/gst-interpolation.c:
11553 * libs/gst/controller/gstcontroller.c:
11554 * libs/gst/controller/gsthelper.c:
11555 * libs/gst/controller/gstinterpolation.c:
11556 * tools/gst-inspect.c: (print_plugin_info):
11557 we don't use dashes in header names
11559 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
11561 * check/Makefile.am:
11562 * check/gst/.cvsignore:
11563 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11564 (gst_pipeline_suite), (main):
11565 adding a test for pipelines and state changes
11566 * gst/gstutils.c: (get_state_func):
11567 add some debugging
11568 * gstreamer.spec.in:
11569 fix up spec file
11571 2005-09-08 Michael Smith <msmith@fluendo.com>
11573 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11574 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11575 (gst_file_src_is_seekable), (gst_file_src_get_size),
11576 (gst_file_src_start):
11577 * gst/elements/gstfilesrc.h:
11578 Various fixes for unseekable, unmmapable, and non-normal files, so
11579 that fallback to read() rather than mmap() works.
11580 * gst/gstevent.c: (gst_event_new_newsegment):
11581 Allow newsegment events with segment_start == segment_end, as will
11582 correctly happen if you use filesrc on a zero-size file, for
11583 example.
11585 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11587 * gst/gstplugin.c: (gst_plugin_load_file):
11588 Call g_module_close when we don't load the module
11590 * gst/registries/gstlibxmlregistry.c:
11591 (gst_xml_registry_get_property):
11592 Port leak fix from 0.8
11594 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11596 * docs/gst/gstreamer-docs.sgml:
11597 * docs/gst/tmpl/.cvsignore:
11598 * docs/gst/tmpl/gsttrace.sgml:
11599 * docs/gst/tmpl/gsttrashstack.sgml:
11600 * gst/Makefile.am:
11601 * gst/gst.h:
11602 * gst/gstelement.h:
11603 * gst/gstevent.h:
11604 * gst/gstmessage.c:
11605 * gst/gstmessage.h:
11606 * gst/gsttag.c:
11607 * gst/gsttag.h:
11608 * gst/gsttaginterface.c:
11609 * gst/gsttaginterface.h:
11610 * gst/gsttaglist.c:
11611 * gst/gsttaglist.h:
11612 * gst/gsttagsetter.c:
11613 * gst/gsttagsetter.h:
11614 * gst/gsttrace.c:
11615 * gst/gsttrace.h:
11616 * gst/gsttrashstack.c:
11617 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11618 inlined docs for gsttrace, gsttrashstack
11620 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11622 * gst/Makefile.am:
11623 * gst/elements/gstbufferstore.h:
11624 * gst/elements/gsttypefindelement.c:
11625 * gst/elements/gsttypefindelement.h:
11626 * gst/gst.h:
11627 * gst/gsttypefind.c:
11628 * gst/gsttypefind.h:
11629 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11630 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11631 (gst_type_find_factory_dispose),
11632 (gst_type_find_factory_unload_thyself),
11633 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11634 (gst_type_find_factory_get_caps),
11635 (gst_type_find_factory_get_extensions),
11636 (gst_type_find_factory_call_function):
11637 * gst/gsttypefindfactory.h:
11638 * gst/registries/gstlibxmlregistry.c:
11639 * gst/registries/gstxmlregistry.c:
11640 splitted gsttypefind into gsttypefind, gsttypefindfactory
11642 2005-09-07 Andy Wingo <wingo@pobox.com>
11644 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11645 condition whereby the pad's task function is entered before the
11646 pad_mode variable was set.
11648 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
11650 * gst/gstpad.c: (gst_pad_alloc_buffer):
11651 Catch misbehaving pad_alloc functions that don't
11652 set up caps and do it for them.
11654 2005-09-07 Stefan Kost <ensonic@users.sf.net>
11656 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11657 test for pipe!=NULL
11658 * docs/gst/tmpl/.cvsignore:
11659 * docs/gst/tmpl/gstmemchunk.sgml:
11660 * docs/gst/tmpl/gstparse.sgml:
11661 * docs/gst/tmpl/gsttaglist.sgml:
11662 * docs/gst/tmpl/gsttagsetter.sgml:
11663 * docs/gst/tmpl/gsttypefind.sgml:
11664 * docs/gst/tmpl/gsttypefindfactory.sgml:
11665 * gst/gstmemchunk.c:
11666 * gst/gstparse.c:
11667 * gst/gsttag.c:
11668 * gst/gsttaginterface.c:
11669 * gst/gsttypefind.c:
11670 * gst/gsttypefind.h:
11671 inlined more docs
11673 === release 0.9.2 ===
11675 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
11677 * NEWS:
11678 * RELEASE:
11679 * configure.ac:
11680 releasing 0.9.2, "South"
11682 2005-09-05 Andy Wingo <wingo@pobox.com>
11684 * gst/registries/gstxmlregistry.h:
11685 * gst/registries/gstxmlregistry.c: Um... resurrect...
11687 * gst/registries/gstxmlregistry.h:
11688 * gst/registries/gstxmlregistry.c: and update to newer API.
11689 Incidentally they should be a bit faster now that they don't have
11690 to parse the caps.
11692 2005-09-05 Andy Wingo <wingo@pobox.com>
11694 * gst/registries/gstxmlregistry.h:
11695 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11696 replaced by the libxml registry a while back
11698 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11700 * docs/gst/tmpl/gstplugin.sgml:
11701 * gst/elements/gstelements.c:
11702 * gst/gst.c:
11703 * gst/gstplugin.c: (gst_plugin_register_func),
11704 (gst_plugin_desc_copy), (gst_plugin_desc_free),
11705 (gst_plugin_get_source):
11706 * gst/gstplugin.h:
11707 * gst/registries/gstlibxmlregistry.c: (load_plugin),
11708 (gst_xml_registry_save_plugin):
11709 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11710 (gst_xml_registry_save_plugin):
11711 * tools/gst-inspect.c: (print_plugin_info):
11712 add a "source" plugin description field, to represent the source
11713 module this plugin is a part of. By default GST_PLUGIN_DEFINE
11714 will set it to PACKAGE, which is automake's idea of the name of
11715 the source project.
11717 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
11719 * Makefile.am:
11720 * autogen.sh:
11721 * configure.ac:
11722 * docs/Makefile.am:
11723 * docs/faq/Makefile.am:
11724 * docs/gst/tmpl/gstelement.sgml:
11725 * docs/gst/tmpl/gsttypes.sgml:
11726 * docs/htmlinstall.mak:
11727 * docs/manual/Makefile.am:
11728 * docs/pwg/Makefile.am:
11729 reorganize doc build a little
11730 split out docbook and gtk-doc stuff
11731 have two separate --enable's and enable them through autogen
11732 but disable by default in configure (to be similar to other
11733 projects)
11734 * gstreamer.spec.in:
11735 clean up docs install
11736 * po/af.po:
11737 * po/az.po:
11738 * po/ca.po:
11739 * po/cs.po:
11740 * po/de.po:
11741 * po/en_GB.po:
11742 * po/fr.po:
11743 * po/it.po:
11744 * po/nb.po:
11745 * po/nl.po:
11746 * po/ru.po:
11747 * po/sq.po:
11748 * po/sr.po:
11749 * po/sv.po:
11750 * po/tr.po:
11751 * po/uk.po:
11752 * po/vi.po:
11753 translation updates
11755 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
11757 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11758 Add comment.
11760 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11761 (gst_fake_sink_change_state):
11762 Make state change function thread-safe.
11764 * gst/gstpad.c: (gst_pad_alloc_buffer):
11765 Set offset on generic buffer allocated by fallback.
11767 2005-09-03 Stefan Kost <ensonic@users.sf.net>
11769 * docs/gst/gstreamer-sections.txt:
11770 * docs/gst/tmpl/gstelement.sgml:
11771 * gst/gstpad.c:
11772 * libs/gst/controller/gst-controller.c:
11773 (gst_controlled_property_set_interpolation_mode),
11774 (gst_controlled_property_new),
11775 (gst_controller_find_controlled_property):
11776 run the wingo-magic script against the docs
11778 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11780 * docs/gst/gstreamer-docs.sgml:
11781 * docs/gst/gstreamer-sections.txt:
11782 * docs/gst/tmpl/.cvsignore:
11783 * docs/gst/tmpl/gstelementdetails.sgml:
11784 * docs/gst/tmpl/gstelementfactory.sgml:
11785 * gst/gst.c:
11786 * gst/gstbus.c:
11787 * gst/gstelementfactory.c:
11788 * gst/gstelementfactory.h:
11789 merged elementdetails docs into elementfactory docs
11790 inlined both
11792 2005-09-02 Andy Wingo <wingo@pobox.com>
11794 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11795 consider this enum an enum and not a flags.
11797 2005-09-02 Stefan Kost <ensonic@users.sf.net>
11799 * docs/gst/gstreamer-docs.sgml:
11800 * docs/gst/tmpl/.cvsignore:
11801 * docs/gst/tmpl/gstghostpad.sgml:
11802 * docs/gst/tmpl/gstiterator.sgml:
11803 * docs/gst/tmpl/gstmacros.sgml:
11804 * docs/gst/tmpl/gstrealpad.sgml:
11805 * docs/gst/tmpl/gstregistry.sgml:
11806 * docs/gst/tmpl/gstregistrypool.sgml:
11807 * docs/gst/tmpl/gststructure.sgml:
11808 * docs/gst/tmpl/gstsystemclock.sgml:
11809 * docs/gst/tmpl/gsttrace.sgml:
11810 * gst/gstghostpad.c:
11811 * gst/gstmacros.h:
11812 * gst/gstmemchunk.c:
11813 * gst/gstmemchunk.h:
11814 * gst/gstqueue.c:
11815 * gst/gstregistry.c:
11816 * gst/gstregistrypool.c:
11817 * gst/gststructure.c:
11818 * gst/gstsystemclock.c:
11819 more docs inlined
11821 2005-09-02 Andy Wingo <wingo@pobox.com>
11823 * gst/gstelement.h (GstState): Renamed from GstElementState,
11824 changed to be a normal enum instead of flags.
11825 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11826 munged to be GST_STATE_CHANGE_*.
11827 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11828 work with the new state representation.
11829 (GstStateChange): New enumeration of possible state transitions.
11830 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11831 (GstElementClass::change_state): Pass the GstStateChange along as
11832 an argument. Helps language bindings, so they don't have to use
11833 tricky lock-needing macros like GST_STATE_CHANGE ().
11835 * scripts/update-states (file): New script. Run it on a file to
11836 update it for state naming and API changes. Updates files in
11837 place.
11839 * All files updated for the new API.
11841 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
11843 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11844 * gst/gstutils.c: (gst_util_set_value_from_string),
11845 (gst_util_set_object_arg):
11846 fix a bunch of unchecked return values
11847 * tools/gst-complete.c: (main):
11848 * gstreamer.spec.in:
11849 clean up a little
11851 2005-09-01 Wim Taymans <wim@fluendo.com>
11853 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11854 (gst_base_sink_event), (gst_base_sink_do_sync),
11855 (gst_base_sink_handle_event):
11856 * gst/base/gstbasesink.h:
11857 Handle newsegments more correctly.
11859 * gst/gstbus.c:
11860 Fix docs.
11862 * gst/gstevent.c: (gst_event_new_newsegment):
11863 A newsegment cannot have a start_time of -1
11865 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
11867 * win32/gstenumtypes.c:
11868 * win32/gstenumtypes.h:
11869 Update
11871 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11873 * libs/gst/controller/gst-controller.c:
11874 (gst_controlled_property_set_interpolation_mode),
11875 (gst_controlled_property_new):
11876 fixed boolean again
11878 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
11880 * docs/faq/gst-uninstalled:
11881 add -good
11882 * gst/gstevent.c:
11883 * gst/gstevent.h:
11884 remove wrong docs
11885 * gst/gstutils.c: (gst_element_link_filtered):
11886 * gst/gstutils.h:
11887 add gst_element_link_filtered
11889 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11891 * docs/gst/gstreamer-docs.sgml:
11892 * docs/gst/gstreamer-sections.txt:
11893 * docs/gst/tmpl/.cvsignore:
11894 * docs/gst/tmpl/gsterror.sgml:
11895 * docs/gst/tmpl/gstfilter.sgml:
11896 * docs/gst/tmpl/gsturihandler.sgml:
11897 * docs/gst/tmpl/gsturitype.sgml:
11898 * docs/gst/tmpl/gstutils.sgml:
11899 * docs/gst/tmpl/gstxml.sgml:
11900 * gst/gsterror.c:
11901 * gst/gsterror.h:
11902 * gst/gstfilter.c:
11903 * gst/gsturi.c:
11904 * gst/gsturitype.c:
11905 * gst/gstutils.c:
11906 * gst/gstxml.c:
11907 inlined more docs, fixed double id-ref
11909 2005-08-31 Wim Taymans <wim@fluendo.com>
11911 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11912 (gst_base_transform_handle_buffer):
11913 Passthrough elements don't need the caps as they don't care.
11915 2005-08-31 Wim Taymans <wim@fluendo.com>
11917 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11918 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11919 Don't leak refcounts on buffers.
11921 2005-08-31 Wim Taymans <wim@fluendo.com>
11923 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11924 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11925 (gst_base_transform_chain), (gst_base_transform_change_state):
11926 * gst/base/gstbasetransform.h:
11927 Handle the case where we are not negotiated more gracefully.
11929 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
11931 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11932 (gst_file_src_map_region):
11933 Set READONLY flag on mmap'ed buffers, otherwise
11934 gst_buffer_make_writable() won't work properly (#314708).
11936 2005-08-31 Wim Taymans <wim@fluendo.com>
11938 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11939 passthrough elements can even do inplace on non writable
11940 buffers (as they don't touch them).
11942 2005-08-31 Stefan Kost <ensonic@users.sf.net>
11944 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11945 (gst_test_mono_source_set_property),
11946 (gst_test_mono_source_class_init), (GST_START_TEST),
11947 (gst_controller_suite):
11948 more tests (hehe I have the most)
11949 * gst/gstbus.c:
11950 describe popping messages whenusing mulltiple sources
11951 * libs/gst/controller/gst-controller.c:
11952 (gst_controlled_property_set_interpolation_mode),
11953 (gst_controlled_property_new):
11954 * libs/gst/controller/gst-controller.h:
11955 * libs/gst/controller/gst-interpolation.c:
11956 implement boolean properties
11958 2005-08-31 Wim Taymans <wim@fluendo.com>
11960 * gst/gstminiobject.c: (gst_mini_object_ref):
11961 Cannot assert that the refcount has to be positive
11962 since a disposed object can be resurrected.
11964 2005-08-31 Wim Taymans <wim@fluendo.com>
11966 * gst/gstpad.c: (gst_pad_init):
11967 Revert change, need to first fix badly behaving
11968 apps.
11970 2005-08-30 Wim Taymans <wim@fluendo.com>
11972 * check/elements/fakesrc.c: (setup_fakesrc):
11973 * check/elements/identity.c: (setup_identity):
11974 Activate pads before using them.
11976 2005-08-30 Wim Taymans <wim@fluendo.com>
11978 * gst/base/gstadapter.c: (gst_adapter_flush):
11979 Flushing out 0 bytes is ok for this function.
11981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11982 no newsegment gives a warning and sets the start/stop to
11983 invalid.
11985 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11986 (gst_base_transform_set_passthrough):
11987 Some debug info.
11989 * gst/gstminiobject.c: (gst_mini_object_ref):
11990 Check refcount here too.
11992 * gst/gstpad.c: (gst_pad_init):
11993 Pads are initially flushing and refusing data.
11995 * gst/gstutils.c: (gst_element_link_pads_filtered):
11996 When adding a capsfilter element make sure it has the
11997 same state as the parent bin.
11999 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12001 * docs/gst/tmpl/.cvsignore:
12002 * docs/gst/tmpl/gstformat.sgml:
12003 * docs/gst/tmpl/gstversion.sgml:
12004 * gst/gstbus.h:
12005 * gst/gstformat.c:
12006 * gst/gstformat.h:
12007 * gst/gstversion.h.in:
12008 more docs and two more inlined
12010 2005-08-30 Wim Taymans <wim@fluendo.com>
12012 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12013 Don't sync to clock.
12015 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12017 * docs/gst/gstreamer-sections.txt:
12018 ultral33t func10ns deserve to appear in the docs actually
12019 * docs/gst/tmpl/.cvsignore:
12020 * docs/gst/tmpl/gstcompat.sgml:
12021 * docs/gst/tmpl/gstconfig.sgml:
12022 * gst/check/gstcheck.c:
12023 * gst/gstcompat.h:
12024 * gst/gstconfig.h.in:
12025 inlined more docs
12027 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12029 * docs/gst/tmpl/.cvsignore:
12030 * docs/gst/tmpl/gstquery.sgml:
12031 * docs/gst/tmpl/gstutils.sgml:
12032 * gst/gstquery.c:
12033 * gst/gstquery.h:
12034 inlined and extended docs
12036 2005-08-30 Stefan Kost <ensonic@users.sf.net>
12038 * check/gst-libs/controller.c: (GST_START_TEST),
12039 (gst_controller_suite):
12040 more tests
12041 * docs/gst/tmpl/gstutils.sgml:
12042 * docs/libs/gstreamer-libs-sections.txt:
12043 * docs/libs/tmpl/gstdataprotocol.sgml:
12044 include path fixes
12045 * examples/controller/audio-example.c: (main):
12046 controller example works now
12047 * gst/gstclock.h:
12048 doc fixes
12049 * tools/gst-inspect.c: (print_element_properties_info):
12050 show param spec flags
12052 2005-08-29 Andy Wingo <wingo@pobox.com>
12054 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12056 2005-08-28 Andy Wingo <wingo@pobox.com>
12058 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12059 as having two arguments instead of just one. Allows superclasses
12060 to access information on subclasses -- see the terrible for() loop
12061 in gtype.c:g_type_create_instance for the reason why. All callers
12062 changed.
12064 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12066 * docs/design/part-messages.txt:
12067 update info
12068 * docs/gst/tmpl/.cvsignore:
12069 * docs/gst/tmpl/gstcaps.sgml:
12070 * docs/gst/tmpl/gstclock.sgml:
12071 * gst/gstbus.c:
12072 * gst/gstcaps.c:
12073 * gst/gstcaps.h:
12074 * gst/gstclock.c:
12075 * gst/gstclock.h:
12076 * gst/gstmessage.c:
12077 added descriptions for bus and message
12078 inline caps and clock docs
12080 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12082 * gst/gstmessage.c:
12083 * gst/gstmessage.h:
12084 doc fixes
12086 2005-08-27 Stefan Kost <ensonic@users.sf.net>
12088 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12089 fix div-by-zero
12091 2005-08-26 Andy Wingo <wingo@pobox.com>
12093 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12094 element_set_state's return val.
12095 (test_2_elements): Add test that's been disabled for months.
12097 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12098 can-activate-pull properties.
12100 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12101 can-activate-pull properties. Implement is_seekable so fakesrc can
12102 operate in pull mode.
12104 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12105 properties.
12106 (gst_base_sink_activate, gst_base_sink_activate_pull)
12107 (gst_base_sink_activate_push): Make activation mode choosing work.
12108 Cleanups.
12109 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12110 is right. Make pull mode work. Post an eos before pausing in pull
12111 mode.
12112 (gst_base_sink_change_state): Pay attention to the core's
12113 change_state() return val.
12115 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12116 has-getrange properties. Cleanups.
12118 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12119 has_getrange and replace with can_activate_pull and
12120 can_activate_push.
12122 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12123 locking comments. Remove has_loop, has_chain and replace with
12124 can_activate_pull and can_activate_push.
12126 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
12128 * configure.ac:
12129 * examples/Makefile.am:
12130 * examples/metadata/Makefile.am:
12131 * examples/metadata/read-metadata.c: (message_loop),
12132 (have_pad_handler), (make_pipeline), (print_tag), (main):
12133 Add metadata reading example that loops over a list of filenames,
12134 dumping any tags found.
12136 * gst/gstbus.c: (gst_bus_dispose):
12137 * gst/gstelement.c: (gst_element_dispose):
12138 Release a few potentially-held references in dispose.
12140 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12142 * docs/gst/tmpl/gstminiobject.sgml:
12143 do *not* add tmpl/*.sgml files to CVS!
12145 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12147 * libs/gst/bytestream/.cvsignore:
12148 * libs/gst/bytestream/Makefile.am:
12149 * libs/gst/bytestream/adapter.c:
12150 * libs/gst/bytestream/adapter.h:
12151 * libs/gst/bytestream/bytestream.c:
12152 * libs/gst/bytestream/bytestream.h:
12153 * libs/gst/bytestream/filepad.c:
12154 * libs/gst/bytestream/filepad.h:
12155 removing obsolete files
12157 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12159 * docs/gst/gstreamer-docs.sgml:
12160 * docs/libs/gstreamer-libs-docs.sgml:
12161 disabed additional index entries again, as this makes docs-gen just
12162 slow and they aren't useful yet
12163 * docs/libs/gstreamer-libs-sections.txt:
12164 little -section.txt cleanup for libs
12166 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
12168 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12169 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12170 fix up some debugging
12171 (gst_base_transform_get_unit_size),
12172 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12173 (gst_base_transform_handle_buffer):
12174 * gst/base/gstbasetransform.h:
12175 handle and store timed NEWSEGMENT events so that subclasses that
12176 calculate time by counting samples have a segment_start time they
12177 need to add to their timestamps - see audioresample
12179 2005-08-26 Stefan Kost <ensonic@users.sf.net>
12181 * gst/gstbin.h:
12182 removed ';' from the end of macro defs
12183 * docs/gst/gstreamer-docs.sgml:
12184 * docs/gst/gstreamer-sections.txt:
12185 * docs/gst/tmpl/.cvsignore:
12186 * gst/gstbus.h:
12187 * gst/gstelement.c: (gst_element_class_init),
12188 (gst_element_set_state), (activate_pads),
12189 (gst_element_save_thyself):
12190 * gst/gstevent.c: (gst_event_new_newsegment):
12191 * gst/gstevent.h:
12192 * gst/gstiterator.c:
12193 * gst/gstiterator.h:
12194 * gst/gstpad.c:
12195 * gst/gstprobe.h:
12196 * gst/gstutils.c: (gst_pad_query_convert):
12197 * gst/gstutils.h:
12198 fixed parameter name mismatches between source, header and docs
12199 added some more docs, resolved the last batch of unused elements in
12200 docs (now someone needs to doc them)
12202 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12204 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12205 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12206 don't walk through the plugins backwards. Where is all this
12207 reversed logic coming from ?
12209 2005-08-25 Wim Taymans <wim@fluendo.com>
12211 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12212 (gst_base_transform_transform_size),
12213 (gst_base_transform_configure_caps),
12214 (gst_base_transform_get_unit_size),
12215 (gst_base_transform_buffer_alloc),
12216 (gst_base_transform_change_state):
12217 * gst/base/gstbasetransform.h:
12218 Cache caps unit_size.
12219 Make sure we cannot negotiate up and downstream at the
12220 same time.
12222 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12224 * gst/gst.c: (init_pre), (init_post):
12225 register the installed plugin path after the env var
12226 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12227 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12228 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12229 directories, so the tests can prefer uninstalled over installed
12231 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
12233 * gst/base/gstbasetransform.h:
12234 comment
12235 * gst/gstpad.c:
12236 add to docs
12238 2005-08-25 Wim Taymans <wim@fluendo.com>
12240 * gst/gstbin.c: (bin_bus_handler):
12241 Be a bit more conservative about the posted message.
12243 * gst/gstbus.c: (gst_bus_post):
12244 Some cleanups, warn wrong return values.
12246 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
12248 * check/gst/gstbin.c: (GST_START_TEST):
12249 * gst/gstbin.c: (bin_bus_handler):
12250 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12251 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12252 (gst_message_new_warning), (gst_message_new_tag),
12253 (gst_message_new_state_changed), (gst_message_new_segment_start),
12254 (gst_message_new_segment_done), (gst_message_new_custom):
12255 * gst/gstmessage.h:
12256 * tools/gst-launch.c: (event_loop):
12257 * tools/gst-md5sum.c: (event_loop):
12258 Revert unpopular change for GST_MESSAGE_SRC to GObject.
12260 2005-08-25 Wim Taymans <wim@fluendo.com>
12262 * check/generic/states.c: (GST_START_TEST):
12263 Cleanup can be done at the end.
12265 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12266 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12267 (gst_task_get_state), (gst_task_start), (gst_task_pause):
12268 Oh boy.. Thanks for finding this, Thomas.
12270 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12272 * docs/gst/gstreamer.types:
12273 added missing types
12275 2005-08-25 Stefan Kost <ensonic@users.sf.net>
12277 * docs/gst/gstreamer-docs.sgml:
12278 * docs/gst/gstreamer-sections.txt:
12279 * docs/gst/tmpl/.cvsignore:
12280 * gst/gstbin.c:
12281 * gst/gstiterator.c:
12282 * gst/gstutils.c:
12283 * gst/registries/gstxmlregistry.h:
12284 added missing classes and symbols (123 more to go)
12285 removed removed symbols from section file
12286 fixed many doc-comments
12288 2005-08-24 Wim Taymans <wim@fluendo.com>
12290 * check/generic/states.c: (GST_START_TEST):
12291 Make sure all tasks are stopped.
12293 * check/gst/gstbin.c: (GST_START_TEST):
12294 Unref after usage for proper valgrinding.
12296 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12297 Really wait for the task to stop before destroying the
12298 mutex.
12300 * gst/gstqueue.c: (gst_queue_sink_activate_push),
12301 (gst_queue_src_activate_push):
12302 Small cleanups. Don't stop the task when we did not start
12303 it.
12305 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12306 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12307 (gst_task_get_state), (gst_task_start), (gst_task_pause),
12308 (gst_task_join):
12309 * gst/gsttask.h:
12310 Protect the stream lock with the object lock.
12311 Disallow setting the stream lock when running.
12312 Add cleanup_all to wait for the threadpool to finish.
12313 Remove code to autoallocate a mutex if none was provided.
12314 Add _join() to wait for a task to stop.
12315 Protect the thread pool with a global lock.
12317 2005-08-24 Wim Taymans <wim@fluendo.com>
12319 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12320 (gst_base_sink_get_times), (gst_base_sink_do_sync),
12321 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12322 * gst/base/gstbasesink.h:
12323 Handle newsegment events correctly.
12324 Drop buffers out of the segment range.
12326 2005-08-22 Andy Wingo <wingo@pobox.com>
12328 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12329 macro, implements an interface and gstimplementsinterface for a
12330 new type.
12332 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12334 * check/Makefile.am:
12335 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12336 add a test that does a bunch of state changes on elements
12337 needs some fixing for valgrind
12338 * check/states/sinks.c: (gst_object_suite):
12339 whitespace
12340 * gst/gstcaps.h:
12341 add prototype for gst_caps_is_equal_fixed
12342 * gst/gstplugin.c:
12343 * gst/gstregistrypool.c:
12344 doc fixes
12346 2005-08-24 Andy Wingo <wingo@pobox.com>
12348 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12349 convert a negative value. Doesn't make much sense. Mostly this is
12350 here to force callers to ensure -1 maps to -1.
12352 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12354 * docs/pwg/advanced-types.xml:
12355 Well done to Michael for catching my deliberate introduction
12356 of this spelling mistake.
12357 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12358 * gst/gstelement.h:
12359 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12360 unlink pads before removing the element from the bin.
12362 2005-08-24 Andy Wingo <wingo@pobox.com>
12364 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12365 the same thing as GST_DEBUG=*:4.
12366 (parse_debug_level, parse_debug_category): New helper parsers.
12368 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
12370 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12371 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12372 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12373 (gst_base_transform_buffer_alloc),
12374 (gst_base_transform_handle_buffer):
12375 use gboolean return values and pointers to size so we can use the
12376 full GST_BUFFER_SIZE range (guint) for buffer sizes
12377 use GstPadDirection for transform_caps
12378 * gst/base/gstbasetransform.h:
12379 rename get_size to get_unit_size since that's what it is
12380 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12381 use GstPadDirection for transform_caps
12382 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12383 * gst/gstutils.h:
12384 cleanup and debugging
12386 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12388 * gst/gstelement.c: (gst_element_class_init),
12389 (gst_element_set_state), (activate_pads),
12390 (gst_element_save_thyself):
12391 * tools/gst-compprep.c: (main):
12392 * tools/gst-inspect.c: (print_element_properties_info):
12393 * tools/gst-xmlinspect.c: (print_element_properties):
12394 Fixed long standing mem-leak
12396 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
12398 * check/gst/gstbin.c: (GST_START_TEST):
12399 * gst/gstbin.c: (bin_bus_handler):
12400 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12401 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12402 (gst_message_new_warning), (gst_message_new_tag),
12403 (gst_message_new_state_changed), (gst_message_new_segment_start),
12404 (gst_message_new_segment_done), (gst_message_new_custom):
12405 * gst/gstmessage.h:
12406 * tools/gst-launch.c: (event_loop):
12407 * tools/gst-md5sum.c: (event_loop):
12408 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12409 that applications can sensibly post custom messages with references
12410 to their own objects.
12412 2005-08-24 Andy Wingo <wingo@pobox.com>
12414 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12415 already.
12417 2005-08-24 Wim Taymans <wim@fluendo.com>
12419 * gst/base/gstbasetransform.c: (gst_base_transform_init),
12420 (gst_base_transform_transform_caps),
12421 (gst_base_transform_transform_size),
12422 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12423 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12424 (gst_base_transform_handle_buffer):
12425 * gst/base/gstbasetransform.h:
12426 Many fixes and new features added by Thomas. Can now also do
12427 transforms with variable sizes and a custom fixate_caps function.
12429 2005-08-24 Wim Taymans <wim@fluendo.com>
12431 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12432 Some debugging.
12434 * gst/gstclock.h:
12435 Cast to ClockTime before formatting to time.
12437 * gst/gstutils.h:
12438 Cleanups.
12440 2005-08-24 Stefan Kost <ensonic@users.sf.net>
12442 * check/gst-libs/controller.c: (GST_START_TEST),
12443 (gst_controller_suite):
12444 * docs/gst/tmpl/gstcaps.sgml:
12445 * docs/gst/tmpl/gstghostpad.sgml:
12446 * docs/gst/tmpl/gstquery.sgml:
12447 * docs/gst/tmpl/gstutils.sgml:
12448 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12449 (gst_object_sink_values), (gst_object_get_value_arrays),
12450 (gst_object_get_value_array):
12451 gracefully handle helper method calls to objects that are not beeing
12452 controlled, added test case for that
12454 2005-08-23 Wim Taymans <wim@fluendo.com>
12456 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12457 (gst_event_new_newsegment), (gst_event_parse_newsegment),
12458 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12459 (gst_event_parse_qos), (gst_event_new_seek),
12460 (gst_event_parse_seek):
12461 * gst/gstevent.h:
12462 Some more debugging output and doc cleanups.
12464 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12465 Fix possible deadlock.
12467 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12469 * docs/gst/gstreamer-docs.sgml:
12470 * docs/gst/gstreamer-sections.txt:
12471 * docs/gst/gstreamer.types:
12472 * docs/gst/tmpl/.cvsignore:
12473 * gst/gstbin.h:
12474 * gst/gstbus.c:
12475 * gst/gstelement.c:
12476 * gst/gstevent.h:
12477 added 100 symbols from gstreamer-unused.txt to the right sections
12478 fixed more broken comments
12479 added GstBus to docs
12481 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12483 * docs/gst/gstreamer-sections.txt:
12484 * docs/gst/tmpl/.cvsignore:
12485 * docs/gst/tmpl/gstbin.sgml:
12486 * docs/gst/tmpl/gstbuffer.sgml:
12487 * gst/base/gstbasesrc.c:
12488 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
12489 * gst/gstbuffer.c:
12490 * gst/gstbuffer.h:
12491 * tools/gst-launch.1.in:
12492 inlined more doc comments, added missing comments and fixed comments
12493 fixed typos
12495 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
12497 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12498 some debugging
12499 * gst/gstcaps.h:
12500 whitespace fixes
12501 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12502 more debugging
12503 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12504 * gst/gststructure.h:
12505 add a fixate function for booleans; add a FIXME that these func
12506 names should probably be gst_structure_fixate_*
12508 2005-08-23 Stefan Kost <ensonic@users.sf.net>
12510 * docs/gst/gstreamer-docs.sgml:
12511 * docs/gst/gstreamer-sections.txt:
12512 * gst/Makefile.am:
12513 * gst/gstbin.c: (gst_bin_get_type),
12514 (gst_bin_child_proxy_get_child_by_index),
12515 (gst_bin_child_proxy_get_children_count),
12516 (gst_bin_child_proxy_init):
12517 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12518 (gst_child_proxy_get_child_by_index),
12519 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12520 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12521 (gst_child_proxy_get), (gst_child_proxy_set_property),
12522 (gst_child_proxy_set_valist), (gst_child_proxy_set),
12523 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12524 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12525 * gst/gstchildproxy.h:
12526 * gst/parse/grammar.y:
12527 * tools/gst-inspect.c: (print_interfaces),
12528 (print_element_properties_info), (print_element_info):
12529 ported gstchildproxy over from 0.8
12530 ported gst-inspect fixes and enhancements over from 0.8
12532 2005-08-22 Wim Taymans <wim@fluendo.com>
12534 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12535 (gst_base_transform_handle_buffer):
12536 Also call the transform function if we have ANY caps.
12538 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12539 Fix debug info.
12541 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12543 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12544 Don't pretend to handle seek events if the source is not seekable
12546 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
12548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12549 Remove extra parameter to debug output
12551 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12552 (gst_base_src_do_seek), (gst_base_src_activate_push):
12553 Fix seek event handling.
12555 * gst/gstpipeline.c: (gst_pipeline_change_state):
12556 * gst/gstqueue.c: (gst_queue_handle_sink_event),
12557 (gst_queue_src_activate_push):
12558 Don't start the src pad task on FLUSH_STOP if the pad
12559 isn't linked.
12560 Debug changes.
12562 2005-08-22 Wim Taymans <wim@fluendo.com>
12564 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12565 Added check for gst_static_caps_get() refcounting.
12567 2005-08-22 Wim Taymans <wim@fluendo.com>
12569 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12570 Make _static_caps_get() refcounting sane.
12572 * gst/gstelement.c: (gst_element_set_state):
12573 Add g_return_val_if_fail() to protect against segfaults.
12575 2005-08-22 Stefan Kost <ensonic@users.sf.net>
12577 * docs/gst/tmpl/gstevent.sgml:
12578 * gst/gstevent.c:
12579 * gst/gstevent.h:
12580 inlined remaining docs, added missing doc comments
12582 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
12584 * check/gst/gstbin.c: (GST_START_TEST):
12585 since we don't know when preroll is done, use refcount range
12586 check for the sink
12587 * gst/check/gstcheck.h:
12588 add macro for checking refcount range
12590 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12592 * check/Makefile.am:
12593 clean up environment for when registry gets built versus
12594 when actual tests are run; valgrind seems to not report
12595 leaks if GST_PLUGIN_PATH is set to some specific values
12596 * check/gst/gstbin.c: (GST_START_TEST):
12597 add more refcounting checks; maybe this exposes a
12598 preroll lock bug ?
12599 * common/check.mak:
12600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12601 * gst/check/gstcheck.h:
12602 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12603 (gst_bin_change_state):
12604 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12605 add/fix debugging/whitespace
12607 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12609 * check/gst/gstevent.c: (event_probe), (test_event),
12610 (GST_START_TEST):
12611 Er, don't call gst_bin_watch_for_state_change you idiot.
12613 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
12615 * check/Makefile.am:
12616 Use CHECK_CFLAGS and CHECK_LIBS
12617 * check/gst/gstevent.c: (event_probe), (test_event),
12618 (GST_START_TEST):
12619 Don't leak events.
12620 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12621 (gst_base_src_start), (gst_base_src_stop),
12622 (gst_base_src_activate_push), (gst_base_src_activate_pull),
12623 (gst_base_src_change_state):
12624 Sprinkle gst_base_src_stop liberally around error paths to fix
12625 problems reusing a source after failed state changes.
12626 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12627 (helper_find_suggest), (gst_type_find_helper):
12628 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12629 * gst/gstevent.h:
12630 * docs/gst/tmpl/gstevent.sgml:
12631 Migrate part of the docs from the SGML file. Wait for ensonic to
12632 tell me how I did it wrong ;)
12633 * tools/gst-typefind.c: (main):
12634 Extra robustness to state changes between files.
12636 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
12638 * check/Makefile.am:
12639 don't valgrind the controller test - it's leaking - Stefan, HELP
12640 * gst/check/gstcheck.c: (gst_check_message_error),
12641 (gst_check_chain_func), (gst_check_setup_element),
12642 (gst_check_teardown_element), (gst_check_setup_src_pad),
12643 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12644 (gst_check_teardown_sink_pad):
12645 * gst/check/gstcheck.h:
12646 add a bunch of methods to set up elements, and src and sink pads
12647 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12648 * check/elements/identity.c: (setup_identity), (cleanup_identity),
12649 (GST_START_TEST):
12650 use them
12651 * gst/gstmessage.c:
12652 * gst/gsttag.h:
12653 whitespace/doc fixes
12655 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12657 * gst/gstelement.h:
12658 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12659 be handled by the application and not always printed as well
12661 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12663 * check/Makefile.am:
12664 set GST_TOOLS_DIR
12665 * gst/check/gstcheck.c: (gst_check_message_error):
12666 * gst/check/gstcheck.h:
12667 add a fail_unless_equals_int
12668 add fail_unless for error messages
12670 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12672 * check/Makefile.am:
12673 * check/gst.supp:
12674 * common/Makefile.am:
12675 * common/check.mak:
12676 * common/gst.supp:
12677 factor out some of the common stuff so we can use it
12679 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12681 * check/Makefile.am:
12682 * check/gst/gstiterator.c: (GST_START_TEST):
12683 * check/gst/gstsystemclock.c: (GST_START_TEST),
12684 (gst_systemclock_suite):
12685 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12686 * gst/gstclock.c:
12687 valgrind more tests
12689 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
12691 * check/elements/.cvsignore:
12692 * check/elements/gstfakesrc.c:
12693 rename to name of element
12694 * check/elements/identity.c: (chain_func), (event_func),
12695 (setup_identity), (cleanup_identity), (GST_START_TEST),
12696 (identity_suite), (main):
12697 add a test for identity
12698 * check/Makefile.am:
12699 * pkgconfig/Makefile.am:
12700 * pkgconfig/gstreamer-check.pc.in:
12701 * pkgconfig/gstreamer-check-uninstalled.pc.in:
12702 * gst/check:
12703 * gst/Makefile.am:
12704 * configure.ac:
12705 move the check stuff to a library that gets installed
12706 * check/gst-libs/controller.c: (GST_START_TEST):
12707 * check/gst-libs/gdp.c:
12708 * check/gst/gst.c: (GST_START_TEST):
12709 * check/gst/gstbin.c:
12710 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12711 * check/gst/gstbus.c:
12712 * check/gst/gstcaps.c: (GST_START_TEST):
12713 * check/gst/gstelement.c:
12714 * check/gst/gstghostpad.c:
12715 * check/gst/gstiterator.c:
12716 * check/gst/gstmessage.c:
12717 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12718 * check/gst/gstobject.c:
12719 * check/gst/gstpad.c: (GST_START_TEST):
12720 * check/gst/gststructure.c: (GST_START_TEST):
12721 * check/gst/gstsystemclock.c: (GST_START_TEST),
12722 (gst_systemclock_suite):
12723 * check/gst/gsttag.c: (gst_tag_suite):
12724 * check/gst/gstvalue.c:
12725 * check/pipelines/cleanup.c:
12726 * check/pipelines/simple_launch_lines.c:
12727 * check/states/sinks.c:
12728 change include statement
12730 * docs/gst/gstreamer-sections.txt:
12731 * docs/gst/tmpl/gstpad.sgml:
12732 document more pad stuff
12733 * gst/gstminiobject.c: (gst_mini_object_ref),
12734 (gst_mini_object_unref):
12735 debug refcounting
12737 2005-08-19 Stefan Kost <ensonic@users.sf.net>
12739 * docs/gst/tmpl/gst.sgml:
12740 * gst/gst.c:
12741 eliminate another tmpl file, fix spelling in the long-description
12743 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12745 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12746 (test_event), (timediff), (gstevents_suite):
12747 Should fix build on 64-bit arch's
12749 2005-08-18 Andy Wingo <wingo@pobox.com>
12751 Make sure that when a pipeline goes to PLAYING, that data has
12752 actually hit the sink.
12754 * check/states/sinks.c (test_sink): A sink that doesn't get any
12755 data shouldn't return SUCCESS for going to either PLAYING or
12756 PAUSED. Test also the return values on the way back down.
12758 * gst/gstelement.c (gst_element_set_state): When changing the
12759 state of an element currently changing state asynchronously, go to
12760 lost-state after commiting the pending state. Makes future calls
12761 to get_state continue to return ASYNC.
12763 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12764 ASYNC when going to PLAYING if we still don't have preroll, as can
12765 happen with live sources.
12767 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12769 * docs/pwg/advanced-types.xml:
12770 Hack long paragraph into 2 chunks as a workaround for buggy
12771 jadetex version in sid and breezy that loops infinitely and
12772 eats all RAM.
12774 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12776 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12777 (test_event), (timediff), (gstevents_suite):
12778 Provide more error margin in clock measurements to allow for
12779 g_get_current_time inaccuracies.
12781 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12783 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12784 (test_event), (timediff), (gstevents_suite):
12785 Fix error message output so I might be able to tell why the
12786 test works here but fails on the build farm.
12788 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
12790 * check/Makefile.am:
12791 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12792 (test_event), (timediff), (gstevents_suite), (main):
12793 I wrote a test!
12795 * docs/design/part-seeking.txt:
12796 Spelling correction
12798 * docs/gst/tmpl/gstevent.sgml:
12799 * docs/gst/tmpl/gstfakesrc.sgml:
12800 Docs updates.
12802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12803 Treat a buffer-without-newsegment the same as a receiving
12804 a newsegment not in time format, and disable syncing to the clock
12805 with a warning.
12807 * gst/gstbus.c: (gst_bus_set_sync_handler):
12808 Assert if anyone tries to replace the existing sync_handler for bus,
12809 as only the owner should be setting it.
12811 * gst/gstevent.h:
12812 Have a fixed set of custom event enums with events identified by
12813 their structure name (as in 0.8), rather than a free-for-all
12814 allowing collisions between enum values from different plugins.
12816 * gst/gstpad.c: (gst_pad_class_init):
12817 Docs change.
12819 * gst/gstqueue.c: (gst_queue_handle_sink_event):
12820 Handle out-of-band downstream events from the sending thread.
12822 2005-08-17 Andy Wingo <wingo@pobox.com>
12824 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12825 play-timeout==0 to mean no timeout at all. In that case, don't
12826 bother with a get_state or a warning, just return directly, even
12827 if it's ASYNC.
12829 * gst/base/gstbasetransform.c: Debug changes.
12831 * gst/gstutils.h:
12832 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12833 ensure bins post state change messages. A bit of a hack but I can't
12834 think of a way to avoid it.
12836 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12838 2005-08-16 Andy Wingo <wingo@pobox.com>
12840 * gst/base/gstadapter.h:
12841 * gst/base/gstadapter.c (gst_adapter_take): New function, like
12842 peek() but you own the data. Not terribly efficient atm.
12844 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12846 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12847 (gst_element_found_tags):
12848 * gst/gstutils.h:
12849 Add two utility functions for tag handling.
12851 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12853 * docs/manual/advanced-dataaccess.xml:
12854 * docs/manual/basics-helloworld.xml:
12855 Fix docs to use _bin_add() before _link(), which fixes the examples
12856 with recent core versions (reported by Madhan Raj M
12857 <raj_madan@rediffmail.com>, #313199).
12859 2005-08-16 Wim Taymans <wim@fluendo.com>
12861 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12862 Added subtract checks.
12864 * docs/design/part-events.txt:
12865 Some more docs about newsegment
12867 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12868 Fix FIXME
12870 * gst/gstcaps.c: (gst_caps_to_string):
12871 Add comments, cleanups.
12873 * gst/gstelement.c: (gst_element_save_thyself):
12874 cleanups
12876 * gst/gstvalue.c: (gst_value_collect_int_range),
12877 (gst_string_unwrap), (gst_value_union_int_int_range),
12878 (gst_value_union_int_range_int_range),
12879 (gst_value_intersect_int_int_range),
12880 (gst_value_intersect_int_range_int_range),
12881 (gst_value_intersect_double_double_range),
12882 (gst_value_intersect_double_range_double_range),
12883 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12884 (gst_value_subtract_int_range_int),
12885 (gst_value_subtract_double_range_double),
12886 (gst_value_subtract_double_range_double_range),
12887 (gst_value_subtract_from_list), (gst_value_subtract_list),
12888 (gst_value_can_compare), (gst_value_compare_fraction):
12889 Cleanups, add comments, remove unneeded asserts.
12891 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12893 * tools/gst-launch.c: (event_loop):
12894 don't convert NULL structures to strings
12896 2005-08-15 Stefan Kost <ensonic@users.sf.net>
12898 * docs/gst/gstreamer-sections.txt:
12899 made some defines private
12900 * docs/gst/tmpl/gstconfig.sgml:
12901 * docs/gst/tmpl/gstqueue.sgml:
12902 * docs/gst/tmpl/gsttaglist.sgml:
12903 * docs/gst/tmpl/gsttypes.sgml:
12904 * docs/gst/tmpl/gstutils.sgml:
12905 * docs/pwg/appendix-porting.xml:
12906 * gst/base/gstbasesink.h:
12907 * gst/base/gstbasesrc.c:
12908 * gst/base/gstbasesrc.h:
12909 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12910 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12911 * gst/gstelement.c: (gst_element_class_init):
12912 * gst/gstpad.c: (gst_pad_class_init):
12913 * gst/gstqueue.c: (gst_queue_class_init):
12914 * gst/gstxml.c: (gst_xml_class_init):
12915 documented all undocumented signal inline
12916 * libs/gst/controller/gst-controller.h:
12917 added padding
12919 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12921 * docs/pwg/appendix-porting.xml:
12922 Document _set_link_function -> _set_setcaps_function.
12924 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
12926 * check/Makefile.am:
12927 add a .check target for running the check
12928 * check/gst-libs/controller.c: (GST_START_TEST):
12929 cosmetic fixups
12930 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12931 complete checks for gstbuffer; would be nice if I could get the
12932 gcov stuff to work so I can see if I actually completed gstbuffer.c
12933 * check/gstcheck.h:
12934 add ASSERT_BUFFER_REFCOUNT
12936 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
12938 * docs/gst/gstreamer-sections.txt:
12939 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12940 * gst/gsttag.h:
12941 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12942 spew out a warning if a tag that is already registered
12943 is re-registered, unless it is re-registered with a
12944 different type (#308438).
12946 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
12948 * docs/pwg/appendix-porting.xml:
12949 * docs/pwg/building-state.xml:
12950 Add some paragraphs about state changes in 0.9 to the PWG
12951 and the porting guide, in particular about the new meaning
12952 of GST_STATE_PAUSED and how to write state change functions
12953 with concurrent access by multiple threads in mind.
12955 2005-08-11 Stefan Kost <ensonic@users.sf.net>
12957 * docs/gst/gstreamer-docs.sgml:
12958 * docs/libs/gstreamer-libs-docs.sgml:
12959 added deprecation and since indexes
12960 * libs/gst/controller/gst-controller.c:
12961 * libs/gst/controller/gst-helper.c:
12962 added since tags
12965 2005-08-11 Wim Taymans <wim@fluendo.com>
12967 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12968 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12969 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12970 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12971 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12972 (gst_ghost_pad_set_target):
12973 Actually implement (re)setting the target on a ghostpad
12974 as described in the docs.
12976 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12978 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12979 Check whether GST_DEBUG_NO_COLOR environment variable is
12980 set and disable coloured debug output if that is the case.
12982 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
12984 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12985 (gst_type_find_helper):
12986 The memory returned by gst_type_find_peek() needs to
12987 stay valid until the end of a typefind function, and
12988 typefind functions may keep results from different
12989 offsets around, so we can't just unref the buffer from
12990 the previous _peek(), but have to save all buffers
12991 returned by _peek() until typefinding is done and only
12992 free them then.
12994 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
12996 * docs/gst/gstreamer-sections.txt:
12997 * gst/gstutils.h:
12998 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13000 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13002 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13003 Fix a pretty good memleak.
13005 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13007 * gst/gstiterator.h:
13008 Fix wrong include and 'make distcheck'.
13010 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13012 * gst/gstbin.c: (bin_bus_handler):
13013 Use gst_element_post_message() instead.
13015 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
13017 * gst/base/gstadapter.h:
13018 * gst/base/gstbasesink.h:
13019 * gst/base/gstbasesrc.h:
13020 * gst/base/gstbasetransform.h:
13021 * gst/base/gstcollectpads.h:
13022 * gst/base/gstpushsrc.h:
13023 * gst/gstiterator.h:
13024 Add padding to our base elements' class and instance structs and
13025 to GstIterator (you will need to rebuild all plugins and apps!)
13027 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13029 * gst/gstbin.c: (bin_bus_handler):
13030 Make default message forwarding from child->bus to bin->bus
13031 threadsafe and make it not emit warnings if the parent has no bus.
13033 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13035 * gst/gstelement.c: (activate_pads):
13036 On paused->ready, set pad->caps to NULL, as is the documented
13037 behaviour in this state change. Fixes playback of series of
13038 media files when visualization is enabled in Totem.
13040 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13042 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13043 Allow NULL as filter-caps (which means "any").
13045 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13047 * docs/libs/gstreamer-libs-sections.txt:
13048 * libs/gst/controller/gst-controller.c:
13049 * libs/gst/controller/gst-controller.h:
13050 * libs/gst/controller/gst-helper.c:
13051 adding more entries to the docs and fix small doc-bugs
13053 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13055 * docs/gst/gstreamer-docs.sgml:
13056 * docs/gst/gstreamer-sections.txt:
13057 * docs/gst/gstreamer.types:
13058 * docs/gst/tmpl/gstbasesink.sgml:
13059 * docs/gst/tmpl/gstbasesrc.sgml:
13060 * docs/gst/tmpl/gstbasetransform.sgml:
13061 * docs/gst/tmpl/gstfakesrc.sgml:
13062 * gst/base/gstcollectpads.c:
13063 * gst/base/gstcollectpads.h:
13064 * libs/gst/controller/gst-controller.c:
13065 * libs/gst/controller/gst-controller.h:
13066 * libs/gst/controller/gst-helper.c:
13067 * libs/gst/controller/gst-interpolation.c:
13068 * libs/gst/controller/lib.c:
13069 added long/short desc for controller docs
13070 added collectpads base class docs
13071 added correct includes to base-class docs
13073 2005-08-05 Stefan Kost <ensonic@users.sf.net>
13075 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13076 (gst_test_mono_source_set_property),
13077 (gst_test_mono_source_class_init), (GST_START_TEST),
13078 (gst_controller_suite):
13079 * docs/gst/gstreamer-docs.sgml:
13080 * docs/gst/gstreamer-sections.txt:
13081 * docs/gst/gstreamer.types:
13082 * docs/libs/gstreamer-libs-docs.sgml:
13083 * docs/libs/gstreamer-libs-sections.txt:
13084 * gst/base/gstadapter.c:
13085 * libs/gst/controller/gst-controller.c:
13086 (gst_controlled_property_new), (gst_controlled_property_free),
13087 (gst_controller_new_valist),
13088 (gst_controller_remove_properties_valist),
13089 (gst_controller_sink_values), (_gst_controller_finalize):
13090 * libs/gst/controller/gst-controller.h:
13091 * libs/gst/controller/gst-helper.c:
13092 (gst_object_control_properties), (gst_object_uncontrol_properties),
13093 (gst_object_get_controller), (gst_object_set_controller),
13094 (gst_object_sink_values), (gst_object_get_value_arrays),
13095 (gst_object_get_value_array):
13096 more tests (and fixes) for the controller
13097 more docs for the controller
13098 integrated companies docs for the adapter
13100 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
13102 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13103 (GST_START_TEST), (fakesrc_suite):
13104 add tests for sizetype
13106 2005-08-04 Andy Wingo <wingo@pobox.com>
13108 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13109 fixes buffer_alloc proxying among other things.
13111 * gst/base/gstbasetransform.c:
13112 * gst/base/gstbasetransform.h:
13113 Revert patch to gstbasetransform from 7-28 removing
13114 delay_configure.
13116 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13117 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13118 Semantics changed, should return not the size of the output buffer
13119 but the byte size of a buffer with a given caps.
13121 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13122 debug object.
13123 (gst_base_transform_configure_caps): Don't set out_size here: (in,
13124 out) are not the pad caps until setcaps finishes.
13125 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13126 not-in-place case as well. Deal with changing from in-place to
13127 not-in-place within calling pad_alloc_buffer. Still a bit
13128 concerned about the overhead here...
13130 2005-08-03 Andy Wingo <wingo@pobox.com>
13132 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13133 fixating is an error.
13135 2005-08-04 Edward Hervey <edward@fluendo.com>
13137 * gst/base/gstadapter.h:
13138 Added gst_adapter_get_type() to the header
13140 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13142 * check/Makefile.am:
13143 * check/gst-libs/controller.c:
13144 * libs/gst/controller/gst-controller.c:
13145 (gst_controller_new_valist):
13146 added check test suite for the controller
13147 * gst/base/gstpushsrc.c:
13148 fixed a doc typo
13150 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13152 * docs/gst/Makefile.am:
13153 * docs/gst/gstreamer-docs.sgml:
13154 * docs/gst/gstreamer-sections.txt:
13155 * docs/gst/gstreamer.types:
13156 * docs/gst/tmpl/gstfakesrc.sgml:
13157 * gst/base/README:
13158 * gst/base/gstbasesink.c:
13159 * gst/base/gstbasesink.h:
13160 * gst/base/gstbasesrc.c:
13161 * gst/base/gstbasesrc.h:
13162 * gst/base/gstbasetransform.c:
13163 * gst/base/gstpushsrc.c:
13164 * gst/base/gstpushsrc.h:
13165 add short/long description docs to base classes
13166 add pushsrc to the docs
13167 remove consolidated doc fragments
13169 2005-08-03 Stefan Kost <ensonic@users.sf.net>
13171 * configure.ac:
13172 * docs/libs/Makefile.am:
13173 * docs/libs/gstreamer-libs-docs.sgml:
13174 * docs/libs/gstreamer-libs-sections.txt:
13175 * docs/libs/gstreamer-libs.types:
13176 * examples/Makefile.am:
13177 * examples/controller/.cvsignore:
13178 * examples/controller/Makefile.am:
13179 * examples/controller/audio-example.c: (main):
13180 * libs/gst/Makefile.am:
13181 * libs/gst/controller/.cvsignore:
13182 * libs/gst/controller/Makefile.am:
13183 * libs/gst/controller/gst-controller.c:
13184 (on_object_controlled_property_changed), (gst_timed_value_compare),
13185 (gst_timed_value_find),
13186 (gst_controlled_property_set_interpolation_mode),
13187 (gst_controlled_property_new), (gst_controlled_property_free),
13188 (gst_controller_find_controlled_property),
13189 (gst_controller_new_valist), (gst_controller_new),
13190 (gst_controller_remove_properties_valist),
13191 (gst_controller_remove_properties), (gst_controller_set),
13192 (gst_controller_set_from_list), (gst_controller_unset),
13193 (gst_controller_get), (gst_controller_get_all),
13194 (gst_controller_sink_values), (gst_controller_get_value_arrays),
13195 (gst_controller_get_value_array),
13196 (gst_controller_set_interpolation_mode),
13197 (_gst_controller_finalize), (_gst_controller_init),
13198 (_gst_controller_class_init), (gst_controller_get_type):
13199 * libs/gst/controller/gst-controller.h:
13200 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13201 (g_object_uncontrol_properties), (g_object_get_controller),
13202 (g_object_set_controller), (g_object_sink_values),
13203 (g_object_get_value_arrays), (g_object_get_value_array):
13204 * libs/gst/controller/gst-interpolation.c:
13205 (gst_controlled_property_find_timed_value_node),
13206 (interpolate_none_get), (interpolate_trigger_get),
13207 (interpolate_trigger_get_value_array):
13208 * libs/gst/controller/lib.c: (gst_controller_init):
13209 * pkgconfig/Makefile.am:
13210 * pkgconfig/gstreamer-control-uninstalled.pc.in:
13211 * pkgconfig/gstreamer-control.pc.in:
13212 * testsuite/Makefile.am:
13213 * testsuite/controller/.cvsignore:
13214 * testsuite/controller/Makefile.am:
13215 * testsuite/controller/interpolator.c: (main):
13216 added controller code
13217 removed dparam pc files
13219 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13220 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13221 (gst_collectpads_stop):
13222 Broadcast the condition when shutting down, to make sure we wake all
13223 threads up. Shut down pads on finalize, for safety.
13225 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
13226 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13227 (gst_base_transform_handle_buffer),
13228 (gst_base_transform_change_state):
13229 Handle PAUSED->READY->PAUSED transition after negotiation
13230 occurred already.
13231 * gst/gstmessage.c: (gst_message_init):
13232 Extra piece of debug for new messages.
13234 2005-08-01 Stefan Kost <ensonic@users.sf.net>
13236 * configure.ac:
13237 * docs/gst/tmpl/gstbasesrc.sgml:
13238 * docs/gst/tmpl/gstelement.sgml:
13239 * docs/gst/tmpl/gstevent.sgml:
13240 * docs/gst/tmpl/gstfakesrc.sgml:
13241 * docs/gst/tmpl/gstformat.sgml:
13242 * docs/gst/tmpl/gstghostpad.sgml:
13243 * docs/gst/tmpl/gstpad.sgml:
13244 * docs/gst/tmpl/gstquery.sgml:
13245 * docs/gst/tmpl/gststructure.sgml:
13246 * docs/gst/tmpl/gsttaglist.sgml:
13247 * docs/gst/tmpl/gstvalue.sgml:
13248 * docs/libs/gstreamer-libs-docs.sgml:
13249 * docs/libs/gstreamer-libs-sections.txt:
13250 * docs/libs/gstreamer-libs.types:
13251 * libs/gst/Makefile.am:
13252 * libs/gst/control/.cvsignore:
13253 * libs/gst/control/Makefile.am:
13254 * libs/gst/control/control.c:
13255 * libs/gst/control/control.h:
13256 * libs/gst/control/dparam.c:
13257 * libs/gst/control/dparam.h:
13258 * libs/gst/control/dparam_smooth.c:
13259 * libs/gst/control/dparam_smooth.h:
13260 * libs/gst/control/dparamcommon.h:
13261 * libs/gst/control/dparammanager.c:
13262 * libs/gst/control/dparammanager.h:
13263 * libs/gst/control/dplinearinterp.c:
13264 * libs/gst/control/dplinearinterp.h:
13265 * libs/gst/control/unitconvert.c:
13266 * libs/gst/control/unitconvert.h:
13267 * testsuite/Makefile.am:
13268 * testsuite/dynparams/.cvsignore:
13269 * testsuite/dynparams/Makefile.am:
13270 * testsuite/dynparams/dparamstest.c:
13271 * tools/Makefile.am:
13272 * tools/gst-inspect.c: (print_element_info), (main):
13273 * tools/gst-xmlinspect.c: (print_element_info), (main):
13274 deactivate and remove dparams (libgstcontrol)
13276 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13278 * gst/elements/gsttypefindelement.c:
13279 (gst_type_find_element_have_type), (gst_type_find_element_init),
13280 (stop_typefinding), (gst_type_find_element_handle_event),
13281 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13282 * gst/elements/gsttypefindelement.h:
13283 Set caps on all outgoing buffers, not just the first one.
13285 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13287 * gst/elements/gsttypefindelement.c:
13288 (gst_type_find_element_have_type),
13289 (gst_type_find_element_check_set_buffer_caps),
13290 (gst_type_find_element_init), (stop_typefinding),
13291 (gst_type_find_element_handle_event),
13292 (gst_type_find_element_chain), (gst_type_find_element_getrange):
13293 * gst/elements/gsttypefindelement.h:
13294 Set caps on first outgoing buffer when we've found the type.
13296 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
13298 * docs/gst/gstreamer-docs.sgml:
13299 * docs/gst/gstreamer-sections.txt:
13300 * docs/gst/tmpl/gstscheduler.sgml:
13301 * docs/gst/tmpl/gstschedulerfactory.sgml:
13302 Remove some old cruft from docs.
13304 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
13306 * gst/gstpad.h:
13307 Fix inline docs for GstPadLinkReturn.
13309 * gst/gststructure.c: (gst_structure_has_name):
13310 * gst/gststructure.h:
13311 * docs/gst/gstreamer-sections.txt:
13312 New API: gst_structure_has_name().
13314 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
13316 * configure.ac:
13317 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13318 and _LARGEFILE_SOURCE in config.h as required. Do not
13319 export those flags in our .pc files any longer (#142209).
13321 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13323 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13324 (gst_file_sink_do_seek), (gst_file_sink_event),
13325 (gst_file_sink_get_current_offset), (gst_file_sink_render):
13326 Redo seek/tell calls with large file support in mind; add some
13327 debugging messages; add log message that tells us when large
13328 file support is unavailable or not enabled for some reason.
13330 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13331 Add log message that tells us when large file support
13332 is unavailable or not enabled for some reason.
13334 2005-07-29 Wim Taymans <wim@fluendo.com>
13336 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13337 Added test for removing an element with ghostpad from a bin.
13338 Fixed test as current implementation does the right thing.
13340 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13341 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13342 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13343 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13344 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13345 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13346 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13347 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13348 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13349 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13350 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13351 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13352 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13353 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13354 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13355 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13356 * gst/gstghostpad.h:
13357 Clean up ghostpads, remove properties for internal stuff.
13358 Make threadsafe.
13359 Fix refcounting.
13360 Prepare for switching targets, not all use cases work yet.
13362 2005-07-29 Wim Taymans <wim@fluendo.com>
13364 * docs/design/part-gstghostpad.txt:
13365 Small update.
13367 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13368 (gst_bin_remove_func):
13369 Unlinking pads while holding the bin LOCK is not a good
13370 idea.
13372 * gst/gstpad.c: (gst_pad_class_init),
13373 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13374 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13375 No prob setting template after creating the pad.
13377 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
13379 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13380 (gst_bus_peek), (gst_bus_source_dispatch),
13381 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13382 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13383 gst_bus_poll may be called from other threads. Handle
13384 this nicely by not making poll_data disappear off the
13385 stack once gst_bus_poll returns.
13386 gst_bus_peek now increments the refcount on the returned
13387 message.
13389 2005-07-29 Wim Taymans <wim@fluendo.com>
13391 * docs/design/part-gstghostpad.txt:
13392 Overview of current GhostPad datastructures and use
13393 cases for changing the target.
13395 2005-07-28 Wim Taymans <wim@fluendo.com>
13397 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13398 Added checks for hierarchy consistency whan adding linked
13399 elements to bins.
13401 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13402 Added check to test element scheduling without bin/pipeline.
13404 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13405 First add elements to bin, then link.
13407 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13408 (gst_bin_remove_func):
13409 Unlink pads from elements added/removed from bin to maintain
13410 hierarchy consistency.
13412 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13414 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13415 (gst_base_transform_handle_buffer):
13416 * gst/base/gstbasetransform.h:
13417 Remove broken delay_configure (fixes renegotiation of software
13418 scaling pipelines); remove some leftover printf()s.
13420 2005-07-28 Wim Taymans <wim@fluendo.com>
13422 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13423 Added some more tests for wrong hierarchy
13425 * docs/design/part-overview.txt:
13426 Some updates.
13428 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13429 Cleanups.
13431 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13432 (gst_element_dispose):
13433 Some more cleanups.
13435 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13436 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13437 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13438 (gst_pad_set_caps), (gst_pad_send_event):
13439 Check for correct hierarchy when linking pads. Moving to
13440 strict requirement for ghostpads when linking elements in
13441 different bins.
13443 * gst/gstpad.h:
13444 Clean ups. Added WRONG_HIERARCHY return value.
13446 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13448 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13449 Better debug if no transform is possible.
13451 2005-07-27 Wim Taymans <wim@fluendo.com>
13453 * docs/random/wtay/network-transp:
13454 Some old doc I had.
13456 2005-07-27 Wim Taymans <wim@fluendo.com>
13458 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13459 (gst_dp_event_from_packet):
13460 Fix serialization of seek events.
13462 2005-07-27 Wim Taymans <wim@fluendo.com>
13464 * check/gst-libs/gdp.c: (GST_START_TEST):
13465 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13466 Fix compilation and fix event serialization.
13468 2005-07-27 Wim Taymans <wim@fluendo.com>
13470 * CHANGES-0.9:
13471 * docs/design/part-TODO.txt:
13472 * docs/design/part-events.txt:
13473 Some docs updates
13475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13476 (gst_base_sink_event), (gst_base_sink_do_sync),
13477 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13478 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13479 (gst_base_src_do_seek), (gst_base_src_event_handler),
13480 (gst_base_src_loop):
13481 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13482 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13483 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13484 (gst_base_transform_event), (gst_base_transform_handle_buffer),
13485 (gst_base_transform_set_passthrough),
13486 (gst_base_transform_is_passthrough):
13487 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13488 * gst/elements/gstfilesink.c: (gst_file_sink_event):
13489 Event updates.
13491 * gst/gstbuffer.h:
13492 Use faster casts.
13494 * gst/gstelement.c: (gst_element_seek):
13495 * gst/gstelement.h:
13496 Update gst_element_seek.
13498 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13499 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13500 (gst_event_new_flush_start), (gst_event_new_flush_stop),
13501 (gst_event_new_eos), (gst_event_new_newsegment),
13502 (gst_event_parse_newsegment), (gst_event_new_tag),
13503 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13504 (gst_event_parse_qos), (gst_event_new_seek),
13505 (gst_event_parse_seek), (gst_event_new_navigation):
13506 * gst/gstevent.h:
13507 Make GstEvent use GstStructure. Add parsing code, make sure the
13508 API is sufficiently generic.
13509 Mark possible directions of events and serialization.
13511 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13512 (_gst_message_copy), (gst_message_new_segment_start),
13513 (gst_message_new_segment_done), (gst_message_new_custom),
13514 (gst_message_parse_segment_start),
13515 (gst_message_parse_segment_done):
13516 Small cleanups.
13518 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13519 (gst_pad_set_caps), (gst_pad_send_event):
13520 Update for new events.
13521 Catch events sent in wrong directions.
13523 * gst/gstqueue.c: (gst_queue_link_src),
13524 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13525 (gst_queue_handle_src_query):
13526 Event updates.
13528 * gst/gsttag.c:
13529 * gst/gsttag.h:
13530 Remove event code from this file.
13532 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13533 (gst_dp_event_from_packet):
13534 Event updates.
13536 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13538 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13539 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13540 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13541 Make debugging actually useful.
13543 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13545 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13546 (gst_pad_fixate_caps):
13547 Implement default fixation once again, so that gst_pad_fixate()
13548 actually does anything at all. This probably needs to be some
13549 sort of a last resort, and use profile-based fixation first, but
13550 since that doesn't exist yet, this is the best we have. Fixes
13551 visualization in Totem.
13553 2005-07-22 Wim Taymans <wim@fluendo.com>
13555 * docs/design/part-events.txt:
13556 Small update.
13558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13559 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13560 (gst_base_sink_activate_pull):
13561 Some more comments.
13563 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13564 (gst_fake_src_create):
13565 Fix handoff marshall.
13567 * gst/elements/gstidentity.c: (gst_identity_class_init),
13568 (gst_identity_transform_ip):
13569 We're a real inplace element.
13571 * gst/gstbus.c: (gst_bus_post):
13572 Added some comments.
13574 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13575 * tests/muxing/case1.c: (main):
13576 * tests/sched/dynamic-pipeline.c: (main):
13577 * tests/sched/interrupt1.c: (main):
13578 * tests/sched/interrupt2.c: (main):
13579 * tests/sched/interrupt3.c: (main):
13580 * tests/sched/runxml.c: (main):
13581 * tests/sched/sched-stress.c: (main):
13582 * tests/seeking/seeking1.c: (event_received), (main):
13583 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13584 (main):
13585 * tests/threadstate/threadstate3.c: (main):
13586 * tests/threadstate/threadstate4.c: (main):
13587 * tests/threadstate/threadstate5.c: (main):
13588 Fix the tests.
13590 2005-07-21 Wim Taymans <wim@fluendo.com>
13592 * docs/design/part-seeking.txt:
13593 Some small additions.
13595 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13596 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13597 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13598 * gst/base/gstbasesink.h:
13599 discont values are gint64, handle the math correctly.
13601 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13602 Make the basesrc report error if the source pad is not linked.
13604 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13605 (gst_queue_loop), (gst_queue_handle_src_query),
13606 (gst_queue_src_activate_push):
13607 Make queue collect data even if the srcpad is not linked.
13608 Start pushing out data as soon as it is linked.
13610 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13611 * gst/gstutils.h:
13612 Added gst_flow_get_name() to ease error reporting.
13614 2005-07-20 Wim Taymans <wim@fluendo.com>
13616 * gst/gstmessage.c: (gst_message_new_segment_start),
13617 (gst_message_new_segment_done), (gst_message_parse_segment_start),
13618 (gst_message_parse_segment_done):
13619 * gst/gstmessage.h:
13620 Added a bunch of messages for advanced seeking.
13622 * gst/parse/grammar.y:
13623 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13624 (gst_dpman_state_changed):
13625 Fix some new-pad -> pad-added signals
13627 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13629 * docs/manual/appendix-porting.xml:
13630 * docs/pwg/appendix-porting.xml:
13631 Document new-pad/state-change signal renames and the FixedList
13632 type rename.
13634 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13636 * docs/manual/advanced-autoplugging.xml:
13637 * docs/manual/basics-helloworld.xml:
13638 * docs/manual/basics-pads.xml:
13639 * docs/random/ds/0.9-suggested-changes:
13640 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13641 * gst/gstelement.h:
13642 * gst/gstevent.h:
13643 * gst/gstformat.h:
13644 * gst/gstquery.h:
13645 * gst/gststructure.c: (gst_structure_value_get_generic_type),
13646 (gst_structure_parse_array), (gst_structure_parse_value):
13647 * gst/gstvalue.c: (gst_type_is_fixed),
13648 (gst_value_list_prepend_value), (gst_value_list_append_value),
13649 (gst_value_list_get_size), (gst_value_list_get_value),
13650 (gst_value_transform_array_string), (gst_value_serialize_array),
13651 (gst_value_deserialize_array), (gst_value_intersect_array),
13652 (gst_value_is_fixed), (_gst_value_initialize):
13653 * gst/gstvalue.h:
13654 GstElement::new-pad -> pad-added, GstElement::state-change ->
13655 state-changed, GstValueFixedList -> GstValueArray, add format and
13656 flags as their own arguments in gst_element_seek() (should improve
13657 "bindeability"), remove function generators since they don't work
13658 under a whole bunch of compilers (they were deprecated already
13659 anyway).
13661 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13663 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13664 (_gst_debug_register_funcptr):
13665 * gst/gstinfo.h:
13666 Fix illegal cast on some platforms (#309253).
13668 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13670 * gst/gstmessage.c: (gst_message_new_custom):
13671 * gst/gstmessage.h:
13672 Add _new_custom, make _new_application a macro to _new_custom.
13674 2005-07-20 Wim Taymans <wim@fluendo.com>
13676 * gst/base/gstbasesrc.c: (gst_base_src_init),
13677 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13678 * gst/base/gstbasesrc.h:
13679 Add a gboolean to decide when to push out a discont.
13681 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13682 (gst_queue_loop), (gst_queue_handle_src_query),
13683 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13684 (gst_queue_set_property), (gst_queue_get_property):
13685 Some cleanups.
13687 * tests/threadstate/threadstate1.c: (main):
13688 Make a thread test compile and run... very silly..
13691 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13693 * docs/manual/appendix-porting.xml:
13694 Mention removal of libgstgconf-0.9.la and existence of gconf
13695 elements.
13697 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13699 * docs/pwg/advanced-clock.xml:
13700 * docs/pwg/appendix-porting.xml:
13701 * docs/pwg/intro-preface.xml:
13702 * docs/pwg/other-base.xml:
13703 * docs/pwg/other-manager.xml:
13704 * docs/pwg/other-nton.xml:
13705 * docs/pwg/other-ntoone.xml:
13706 * docs/pwg/other-oneton.xml:
13707 * docs/pwg/pwg.xml:
13708 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13709 demuxer), remove n-to-n (was never written), fix some code examples
13710 and links and update the porting section to include all this.
13712 2005-07-19 Wim Taymans <wim@fluendo.com>
13714 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13715 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13716 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13717 (gst_queue_src_activate_push), (gst_queue_change_state),
13718 (gst_queue_get_property):
13719 * gst/gstqueue.h:
13720 Propagate GstFlowReturn more intelligently upstream and output
13721 an ERROR/EOS when streaming stopped due to fatal error.
13723 2005-07-19 Wim Taymans <wim@fluendo.com>
13725 * tools/gst-launch.c: (check_intr), (event_loop), (main):
13726 Don't block forever for the state change to complete, the
13727 pipeline already did with a sensible timeout.
13729 2005-07-19 Wim Taymans <wim@fluendo.com>
13731 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13732 Make sure we never call the create function is we
13733 got deactivated.
13735 2005-07-19 Andy Wingo <wingo@pobox.com>
13737 * gst/parse/parse.l: Attempt to solve bug #172815.
13739 2005-07-19 Wim Taymans <wim@fluendo.com>
13741 * docs/design/part-clocks.txt:
13742 * docs/design/part-events.txt:
13743 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13744 Small docs updates.
13745 Only update the seeking values when we are not
13746 busy streaming.
13748 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13750 * gst/base/gstbasesrc.c: (gst_base_src_loop):
13751 Oops, ignore the result of gst_pad_push_event here.
13753 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
13755 * gst/base/gstbasesrc.c: (gst_base_src_loop),
13756 (gst_base_src_activate_push):
13757 Send discont event from the loop function, as pads
13758 aren't activated yet in the activate_push handler.
13760 * gst/gstbin.c: (bin_bus_handler):
13761 Don't leak element name.
13763 2005-07-18 Andy Wingo <wingo@pobox.com>
13765 * configure.ac: Use AS_LIBTOOL_TAGS.
13767 2005-07-18 Wim Taymans <wim@fluendo.com>
13769 * docs/gst/gstreamer.types:
13770 Remove deleted types.
13772 2005-07-18 Wim Taymans <wim@fluendo.com>
13774 * check/elements/gstfakesrc.c: (GST_START_TEST):
13775 * configure.ac:
13776 * gst/Makefile.am:
13777 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13778 (init_popt_callback):
13779 * gst/gst.h:
13780 * gst/gst_private.h:
13781 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13782 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13783 * gst/gstbin.h:
13784 * gst/gstbus.h:
13785 * gst/gstconfig.h.in:
13786 * gst/gstelement.c: (gst_element_class_init),
13787 (gst_element_set_base_time), (gst_element_get_base_time),
13788 (iterator_fold_with_resync), (gst_element_change_state),
13789 (gst_element_dispose), (gst_element_get_bus):
13790 * gst/gstelement.h:
13791 * gst/gstelementfactory.h:
13792 * gst/gsterror.c: (_gst_core_errors_init):
13793 * gst/gsterror.h:
13794 * gst/gstevent.h:
13795 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13796 * gst/gstindex.c:
13797 * gst/gstinfo.c: (_gst_debug_init):
13798 * gst/gstmessage.c: (_gst_message_copy):
13799 * gst/gstmessage.h:
13800 * gst/gstminiobject.h:
13801 * gst/gstobject.c:
13802 * gst/gstobject.h:
13803 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13804 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13805 * gst/gstpad.h:
13806 * gst/gstparse.h:
13807 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13808 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13809 (gst_pipeline_get_last_stream_time):
13810 * gst/gstpipeline.h:
13811 * gst/gstpluginfeature.h:
13812 * gst/gstquery.h:
13813 * gst/gstscheduler.c:
13814 * gst/gstscheduler.h:
13815 * gst/gststructure.h:
13816 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13817 (gst_task_finalize), (gst_task_func), (gst_task_create),
13818 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13819 (gst_task_stop), (gst_task_pause):
13820 * gst/gsttask.h:
13821 * gst/gsttypefind.h:
13822 * gst/gsttypes.h:
13823 * gst/registries/gstlibxmlregistry.c: (load_feature),
13824 (gst_xml_registry_load), (gst_xml_registry_save_feature):
13825 * gst/registries/gstxmlregistry.c:
13826 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13827 * gst/schedulers/threadscheduler.c:
13828 * libs/gst/control/dparammanager.h:
13829 * tools/gst-inspect.c: (print_element_list),
13830 (print_plugin_features), (print_element_features):
13831 * tools/gst-xmlinspect.c: (print_element_list),
13832 (print_plugin_info), (main):
13833 Removed plugable schedulers.
13834 Removed Scheduler/Manager from elements.
13835 Removed gsttypes.h, rearranged includes.
13836 Removed dependency pad<->element, element<>pipeline, and
13837 various others, fix includes.
13838 implement gst_pad_get_parent() with gst_object_get_parent()
13839 Make GstTask sefcontained.
13840 Fix _get_state() on GstBin, it did not return ASYNC with a 0
13841 timeout.
13842 Fix endless loop in iterator_fold_with_resync.
13845 2005-07-18 Wim Taymans <wim@fluendo.com>
13847 * gst/Makefile.am:
13848 * gst/gstarch.h:
13849 Remove old file.
13851 2005-07-18 Wim Taymans <wim@fluendo.com>
13853 * gst/Makefile.am:
13854 No more cothreads.h
13856 2005-07-18 Wim Taymans <wim@fluendo.com>
13858 * gst/cothreads.c:
13859 * gst/cothreads.h:
13860 Let's remove these.
13862 2005-07-18 Wim Taymans <wim@fluendo.com>
13864 * docs/design/part-dynamic.txt:
13865 * docs/design/part-events.txt:
13866 * docs/design/part-seeking.txt:
13867 Some more docs in the works.
13869 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13870 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13871 (gst_base_transform_setcaps), (gst_base_transform_get_size),
13872 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13873 (gst_base_transform_handle_buffer),
13874 (gst_base_transform_sink_activate_push),
13875 (gst_base_transform_src_activate_pull),
13876 (gst_base_transform_set_passthrough),
13877 (gst_base_transform_is_passthrough):
13878 Refcounting fixes.
13880 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13881 Cleanups.
13883 * gst/gstevent.c: (gst_event_finalize):
13884 Set SRC to NULL.
13886 * gst/gstutils.c: (gst_element_unlink),
13887 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13888 (gst_pad_proxy_setcaps):
13889 * gst/gstutils.h:
13890 Add _get_parent_element() to get a pads parent as an element.
13892 2005-07-18 Wim Taymans <wim@fluendo.com>
13894 * check/gst/gstbin.c: (GST_START_TEST):
13895 Remove bogus test.
13897 2005-07-18 Wim Taymans <wim@fluendo.com>
13899 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13900 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13901 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13902 (gst_base_sink_event), (gst_base_sink_do_sync),
13903 (gst_base_sink_chain), (gst_base_sink_loop),
13904 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13905 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13906 Refcounting fixes.
13907 Fix logic for returning ASYNC when not prerolled.
13909 2005-07-18 Wim Taymans <wim@fluendo.com>
13911 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13912 Fix nasty refcount bug.
13914 2005-07-16 Philippe Khalaf <burger@speedy.org>
13916 * gst/elements/gstfdsrc.c:
13917 * gst/elements/gstfdsrc.h:
13918 * gst/elements/gstelements.c:
13919 * gst/elements/Makefile.am:
13920 Ported fdsrc to 0.9.
13922 2005-07-16 Wim Taymans <wim@fluendo.com>
13924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13925 (gst_base_sink_do_sync):
13926 Fix compile error.
13928 2005-07-16 Wim Taymans <wim@fluendo.com>
13930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13931 (gst_base_sink_event), (gst_base_sink_get_times),
13932 (gst_base_sink_do_sync), (gst_base_sink_change_state):
13933 * gst/base/gstbasesink.h:
13934 Store and use discont values when syncing buffers as described
13935 in design docs.
13937 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13938 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13939 (gst_base_src_activate_push):
13940 Push discont event when starting.
13942 * gst/elements/gstidentity.c: (gst_identity_transform):
13943 Small cleanups.
13945 * gst/gstbin.c: (gst_bin_change_state):
13946 Small cleanups in base_time distribution.
13948 * gst/gstelement.c: (gst_element_set_base_time),
13949 (gst_element_get_base_time), (gst_element_change_state):
13950 * gst/gstelement.h:
13951 Added methods for the base_time of the element.
13952 Some MT fixes.
13954 * gst/gstpipeline.c: (gst_pipeline_send_event),
13955 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13956 (gst_pipeline_get_last_stream_time):
13957 * gst/gstpipeline.h:
13958 MT fixes.
13959 Handle seeking as described in design doc, remove stream_time
13960 hack.
13961 Cleanups clock and stream_time selection code. Added accessors
13962 for the stream_time.
13965 2005-07-16 Andy Wingo <wingo@pobox.com>
13967 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13968 (#305291).
13970 2005-07-16 Wim Taymans <wim@fluendo.com>
13972 * check/gst/gstbin.c: (GST_START_TEST):
13973 Make elements silent as the deep_notify refs the
13974 parent, which might make the test fail.
13976 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13977 Don't hold the lock for too long.
13979 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
13981 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13982 Don't unref the caps we passed to gst_caps_make_writable() after
13983 passing them. gst_caps_make_writable() will do that for us.
13985 2005-07-15 Andy Wingo <wingo@pobox.com>
13987 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13988 (#157311).
13990 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13991 own marshalling function for the handoff signal. Properly type the
13992 buffer as a buffer. Fixes some warnings. Should do a more general
13993 solution.
13994 (gst_identity_class_init): Plug into the right marshaller.
13996 2005-07-15 Wim Taymans <wim@fluendo.com>
13998 * docs/design/part-TODO.txt:
13999 * docs/design/part-clocks.txt:
14000 * docs/design/part-element-sink.txt:
14001 * docs/design/part-events.txt:
14002 * docs/design/part-gstpipeline.txt:
14003 Updated docs, mostly DISCONT related.
14005 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
14007 * docs/pwg/building-pads.xml:
14008 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14010 2005-07-15 Andy Wingo <wingo@pobox.com>
14012 * tools/gst-typefind.c: Update, add copyright block.
14014 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14015 Normalize and truncate caps before fixation.
14017 * gst/gstcaps.h:
14018 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14019 discards all but the first structure from its argument.
14021 2005-07-15 Wim Taymans <wim@fluendo.com>
14023 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14024 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14025 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14026 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14027 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14028 (gst_base_transform_chain), (gst_base_transform_change_state),
14029 (gst_base_transform_set_passthrough),
14030 (gst_base_transform_is_passthrough):
14031 * gst/base/gstbasetransform.h:
14032 Make passthrough work using the bufferpools.
14033 Changed API a bit, subclasses have to write into a buffer
14034 provided by the base class.
14035 More debug info in nego functions.
14037 * gst/elements/gstidentity.c: (gst_identity_init),
14038 (gst_identity_transform):
14039 Port to new base class.
14041 2005-07-15 Wim Taymans <wim@fluendo.com>
14043 * gst/gstmessage.c: (gst_message_new_state_changed):
14044 * tools/gst-launch.c: (event_loop), (main):
14045 Totally dump messages in -launch with the -m option.
14046 Fix message name for State messages,
14048 2005-07-14 Wim Taymans <wim@fluendo.com>
14050 * gst/base/gstbasesrc.c: (gst_base_src_loop):
14051 Post error messages on errors.
14053 2005-07-14 Wim Taymans <wim@fluendo.com>
14055 * gst/gstcaps.c: (gst_caps_do_simplify):
14056 Remove debug info.
14058 * gst/gsterror.h:
14059 Define error for stream stopped.
14061 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14062 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14063 Do proper return values.
14065 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14066 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14067 (gst_pad_get_range):
14068 Better return values.
14070 * gst/gstpad.h:
14071 Reorganise return values, add macro to check for fatal errors.
14073 * gst/gstqueue.c: (gst_queue_chain):
14074 Return proper GstFlowReturn values,
14076 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
14078 * docs/gst/gstreamer-sections.txt:
14079 * docs/gst/gstreamer.types:
14080 * docs/gst/tmpl/gst.sgml:
14081 * docs/gst/tmpl/gstbasesink.sgml:
14082 * docs/gst/tmpl/gstbasesrc.sgml:
14083 * docs/gst/tmpl/gstbasetransform.sgml:
14084 * docs/gst/tmpl/gstbin.sgml:
14085 * docs/gst/tmpl/gstbuffer.sgml:
14086 * docs/gst/tmpl/gstcaps.sgml:
14087 * docs/gst/tmpl/gstclock.sgml:
14088 * docs/gst/tmpl/gstcompat.sgml:
14089 * docs/gst/tmpl/gstconfig.sgml:
14090 * docs/gst/tmpl/gstelement.sgml:
14091 * docs/gst/tmpl/gstelementdetails.sgml:
14092 * docs/gst/tmpl/gstelementfactory.sgml:
14093 * docs/gst/tmpl/gstenumtypes.sgml:
14094 * docs/gst/tmpl/gsterror.sgml:
14095 * docs/gst/tmpl/gstevent.sgml:
14096 * docs/gst/tmpl/gstfakesink.sgml:
14097 * docs/gst/tmpl/gstfakesrc.sgml:
14098 * docs/gst/tmpl/gstfilesink.sgml:
14099 * docs/gst/tmpl/gstfilesrc.sgml:
14100 * docs/gst/tmpl/gstfilter.sgml:
14101 * docs/gst/tmpl/gstformat.sgml:
14102 * docs/gst/tmpl/gstghostpad.sgml:
14103 * docs/gst/tmpl/gstimplementsinterface.sgml:
14104 * docs/gst/tmpl/gstindex.sgml:
14105 * docs/gst/tmpl/gstindexfactory.sgml:
14106 * docs/gst/tmpl/gstinfo.sgml:
14107 * docs/gst/tmpl/gstiterator.sgml:
14108 * docs/gst/tmpl/gstmacros.sgml:
14109 * docs/gst/tmpl/gstmemchunk.sgml:
14110 * docs/gst/tmpl/gstminiobject.sgml:
14111 * docs/gst/tmpl/gstobject.sgml:
14112 * docs/gst/tmpl/gstpad.sgml:
14113 * docs/gst/tmpl/gstpadtemplate.sgml:
14114 * docs/gst/tmpl/gstparse.sgml:
14115 * docs/gst/tmpl/gstpipeline.sgml:
14116 * docs/gst/tmpl/gstplugin.sgml:
14117 * docs/gst/tmpl/gstpluginfeature.sgml:
14118 * docs/gst/tmpl/gstquery.sgml:
14119 * docs/gst/tmpl/gstqueue.sgml:
14120 * docs/gst/tmpl/gstregistry.sgml:
14121 * docs/gst/tmpl/gstregistrypool.sgml:
14122 * docs/gst/tmpl/gstscheduler.sgml:
14123 * docs/gst/tmpl/gstschedulerfactory.sgml:
14124 * docs/gst/tmpl/gststructure.sgml:
14125 * docs/gst/tmpl/gstsystemclock.sgml:
14126 * docs/gst/tmpl/gsttaglist.sgml:
14127 * docs/gst/tmpl/gsttagsetter.sgml:
14128 * docs/gst/tmpl/gsttrace.sgml:
14129 * docs/gst/tmpl/gsttrashstack.sgml:
14130 * docs/gst/tmpl/gsttypefind.sgml:
14131 * docs/gst/tmpl/gsttypefindfactory.sgml:
14132 * docs/gst/tmpl/gsttypes.sgml:
14133 * docs/gst/tmpl/gsturihandler.sgml:
14134 * docs/gst/tmpl/gsturitype.sgml:
14135 * docs/gst/tmpl/gstutils.sgml:
14136 * docs/gst/tmpl/gstvalue.sgml:
14137 * docs/gst/tmpl/gstversion.sgml:
14138 * docs/gst/tmpl/gstxml.sgml:
14139 * docs/libs/tmpl/gstcontrol.sgml:
14140 * docs/libs/tmpl/gstdataprotocol.sgml:
14141 * docs/libs/tmpl/gstdparam.sgml:
14142 * docs/libs/tmpl/gstdplinint.sgml:
14143 * docs/libs/tmpl/gstdpman.sgml:
14144 * docs/libs/tmpl/gstdpsmooth.sgml:
14145 * docs/libs/tmpl/gstgetbits.sgml:
14146 * docs/libs/tmpl/gstunitconvert.sgml:
14147 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14148 (gst_push_src_base_init), (gst_push_src_class_init),
14149 (gst_push_src_init), (gst_push_src_create):
14150 * gst/base/gstpushsrc.h:
14151 * gst/elements/gstelements.c:
14152 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14153 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14154 (gst_fake_sink_init), (gst_fake_sink_set_property),
14155 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14156 (gst_fake_sink_event), (gst_fake_sink_preroll),
14157 (gst_fake_sink_render), (gst_fake_sink_change_state):
14158 * gst/elements/gstfakesink.h:
14159 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14160 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14161 (gst_fake_src_base_init), (gst_fake_src_class_init),
14162 (gst_fake_src_init), (gst_fake_src_event_handler),
14163 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14164 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14165 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14166 (gst_fake_src_create_buffer), (gst_fake_src_create),
14167 (gst_fake_src_start), (gst_fake_src_stop):
14168 * gst/elements/gstfakesrc.h:
14169 * gst/elements/gstfilesink.c: (_do_init),
14170 (gst_file_sink_base_init), (gst_file_sink_class_init),
14171 (gst_file_sink_init), (gst_file_sink_dispose),
14172 (gst_file_sink_set_location), (gst_file_sink_set_property),
14173 (gst_file_sink_get_property), (gst_file_sink_open_file),
14174 (gst_file_sink_close_file), (gst_file_sink_query),
14175 (gst_file_sink_event), (gst_file_sink_render),
14176 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14177 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14178 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14179 * gst/elements/gstfilesink.h:
14180 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14181 (gst_file_src_class_init), (gst_file_src_init),
14182 (gst_file_src_finalize), (gst_file_src_set_location),
14183 (gst_file_src_set_property), (gst_file_src_get_property),
14184 (gst_file_src_map_region), (gst_file_src_map_small_region),
14185 (gst_file_src_create_mmap), (gst_file_src_create_read),
14186 (gst_file_src_create), (gst_file_src_is_seekable),
14187 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14188 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14189 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14190 (gst_file_src_uri_handler_init):
14191 * gst/elements/gstfilesrc.h:
14192 more autistic cleanliness in functions/names/defines
14194 2005-07-13 Andy Wingo <wingo@pobox.com>
14196 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14197 source couldn't negotiate.
14199 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14200 connections again.
14202 * gst/gstutils.h:
14203 * gst/gstutils.c (gst_element_link_pads_filtered): New old
14204 function. I am channeling Hades. Put your boots on suckers!!!
14206 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
14208 * testsuite/caps/Makefile.am:
14209 * testsuite/caps/value_compare.c:
14210 * testsuite/caps/value_intersect.c:
14211 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14212 move two testsuite apps over to the check dir
14214 2005-07-12 Wim Taymans <wim@fluendo.com>
14216 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14217 Added more debug info in the negotiate process.
14219 * gst/gstmessage.h:
14220 Prepare for segment playback.
14222 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14223 Better debugging.
14225 * gst/gstutils.c:
14226 Some more docs.
14228 * tools/gst-launch.c: (main):
14229 NULL pipeline on errors.
14231 2005-07-12 Andy Wingo <wingo@pobox.com>
14233 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14234 not it comes from a malloc region. Make sure our copy gets freed.
14236 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14238 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14239 * check/gst/gstmessage.c: (GST_START_TEST):
14240 * check/gst/gststructure.c: (GST_START_TEST),
14241 (gst_structure_suite), (main):
14242 more testing
14243 * gst/gstelement.c: (gst_element_message_full):
14244 clean up GError and debug string now that they get copied
14245 * gst/gstmessage.c: (gst_message_new_error),
14246 (gst_message_new_warning), (gst_message_parse_error),
14247 (gst_message_parse_warning):
14248 use GST_TYPE_G_ERROR for structure_new, and take copies of
14249 arguments, so that we don't mess up refcounting
14251 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14253 * check/Makefile.am:
14254 add per-test valgrind targets
14255 * check/gst-libs/gdp.c: (GST_START_TEST),
14256 (gst_data_protocol_suite), (main):
14257 clean up
14259 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
14261 * check/Makefile.am:
14262 instate more valgrindable tests
14263 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14264 (GST_START_TEST), (fakesrc_suite):
14265 * check/gst/gstpad.c: (GST_START_TEST):
14266 * check/gst/gststructure.c: (GST_START_TEST):
14267 fix test leaks
14268 * docs/gst/tmpl/gstminiobject.sgml:
14269 * gst/gstpad.c: (gst_pad_finalize):
14270 fix the static mutex leak
14272 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14274 * check/Makefile.am:
14275 add two more tests for valgrinding
14276 * check/gst/gstvalue.c: (GST_START_TEST):
14277 test refcount of deserialized buffer, found a leak
14278 * docs/gst/gstreamer-docs.sgml:
14279 * docs/gst/gstreamer-sections.txt:
14280 * docs/gst/gstreamer.types:
14281 * docs/gst/tmpl/gstminiobject.sgml:
14282 add miniobject to docs
14283 * gst/gstminiobject.c:
14284 add some docs
14285 * gst/gstvalue.c: (gst_value_deserialize_buffer),
14286 (gst_string_unwrap):
14287 fix a hard-to-find invalid write for one of the tests
14288 fix a leak for deserialized buffers
14290 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14292 * docs/pwg/advanced-events.xml:
14293 * docs/pwg/advanced-request.xml:
14294 * docs/pwg/advanced-scheduling.xml:
14295 * docs/pwg/appendix-porting.xml:
14296 * docs/pwg/building-boiler.xml:
14297 * docs/pwg/intro-preface.xml:
14298 * docs/pwg/other-ntoone.xml:
14299 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14300 of example code and explanation for pad activation, loop() and
14301 getrange() functions and a bit more. Remove old comments pointing
14302 to loop-functions.
14303 * examples/pwg/Makefile.am:
14304 Add loop/getrange examples.
14306 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14308 * configure.ac:
14309 check for valgrind binary + some fixes
14310 * check/gst.supp:
14311 valgrind suppressions for the tests
14312 * check/Makefile.am:
14313 add a valgrind: target that valgrinds the unit tests
14314 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14315 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14316 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14317 * check/gst/gstghostpad.c:
14318 added some cleanup
14319 * check/gst/gstdata.c:
14320 removed
14321 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14322 (thread_unref), (gst_mini_object_suite), (main):
14323 added
14324 * gst/gst.c: (gst_deinit):
14325 * gst/gst.h:
14326 add a method to clean up.
14327 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14328 (gst_system_clock_obtain):
14329 allow for disposing the system clock.
14330 * tools/gst-launch.c: (main):
14331 deinit
14333 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
14335 * docs/gst/tmpl/gstbasesrc.sgml:
14336 * docs/gst/tmpl/gstfakesrc.sgml:
14337 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14338 (gst_base_src_init), (gst_base_src_set_property),
14339 (gst_base_src_get_property), (gst_base_src_get_range),
14340 (gst_base_src_start):
14341 * gst/base/gstbasesrc.h:
14342 add num-buffers property
14343 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14344 (gst_fakesrc_init), (gst_fakesrc_set_property),
14345 (gst_fakesrc_get_property), (gst_fakesrc_create),
14346 (gst_fakesrc_start):
14347 remove num-buffers property
14349 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14351 * docs/gst/gstreamer-sections.txt:
14352 * docs/gst/tmpl/gstbasesink.sgml:
14353 * docs/gst/tmpl/gstbasesrc.sgml:
14354 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14355 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14356 (gst_base_sink_finalize), (gst_base_sink_set_clock),
14357 (gst_base_sink_set_property), (gst_base_sink_get_property),
14358 (gst_base_sink_handle_object), (gst_base_sink_event),
14359 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14360 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14361 (gst_base_sink_loop), (gst_base_sink_deactivate),
14362 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14363 (gst_base_sink_change_state):
14364 * gst/base/gstbasesink.h:
14365 * gst/base/gstbasesrc.h:
14366 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14367 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14368 (gst_filesink_init):
14369 more macro splitting
14371 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14373 * gst/gstelement.c: (gst_element_get_bus):
14374 add debug
14375 * tools/gst-launch.c: (check_intr), (event_loop):
14376 fix bus leaks
14378 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14380 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14381 fix a caps leak
14383 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
14385 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14386 (gst_base_src_finalize):
14387 add finalize method and clean up properly
14388 * gst/gstpipeline.c: (gst_pipeline_dispose):
14389 add debug
14391 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14393 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14394 (gst_bin_suite):
14395 add more things to check
14396 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14397 * gst/gstelement.c:
14398 more debug
14400 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14402 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14403 (GST_START_TEST), (fakesrc_suite):
14404 * check/gst-libs/gdp.c: (GST_START_TEST):
14405 * check/gst/gst.c: (GST_START_TEST):
14406 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14407 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14408 * check/gst/gstbus.c: (GST_START_TEST):
14409 * check/gst/gstcaps.c: (GST_START_TEST):
14410 * check/gst/gstdata.c: (GST_START_TEST):
14411 * check/gst/gstelement.c: (GST_START_TEST):
14412 * check/gst/gstghostpad.c: (GST_START_TEST):
14413 * check/gst/gstiterator.c: (GST_START_TEST):
14414 * check/gst/gstmessage.c: (GST_START_TEST):
14415 * check/gst/gstobject.c: (GST_START_TEST):
14416 * check/gst/gstpad.c: (GST_START_TEST):
14417 * check/gst/gststructure.c: (GST_START_TEST):
14418 * check/gst/gstsystemclock.c: (GST_START_TEST),
14419 (gst_systemclock_suite):
14420 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14421 * check/gst/gstvalue.c: (GST_START_TEST):
14422 * check/pipelines/cleanup.c: (GST_START_TEST):
14423 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14424 * check/states/sinks.c: (GST_START_TEST):
14425 * check/gstcheck.c: (gst_check_init):
14426 * check/gstcheck.h:
14427 add debugging category
14428 use GST_START_TEST now, so we add a debug line
14430 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
14432 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14433 add test for state change message on a bin
14434 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14435 add another test
14436 * gst/gstbin.c: (gst_bin_init):
14437 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14438 * gst/gstelement.c: (gst_element_post_message),
14439 (gst_element_set_state):
14440 * gst/gstelementfactory.c: (gst_element_factory_create):
14441 * gst/gstmessage.c: (gst_message_new):
14442 * gst/gstscheduler.c:
14443 various debugging additions and cleanups
14445 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14447 * check/Makefile.am:
14448 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14449 (main):
14450 adding tests for elements
14451 * gst/gstelement.c: (gst_element_dispose):
14453 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14455 * gst/registries/gstlibxmlregistry.c: (load_feature):
14456 plug more leaks. A simple gst_init() now is leakfree, yay.
14458 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14460 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14461 (gst_xml_registry_load):
14462 plug another memleak
14464 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14466 * configure.ac:
14467 use GST_SET_ERROR_CFLAGS
14468 * docs/faq/cvs.xml:
14469 change to ERROR_CFLAGS
14471 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
14473 * configure.ac:
14474 make GST_ERROR_CFLAGS overridable and re-enable Werror
14475 * docs/faq/cvs.xml:
14476 add a note about error CFLAGS
14477 * docs/gst/tmpl/gstfakesrc.sgml:
14478 * gst/elements/gstfakesrc.c:
14479 comment out some unused code
14480 * gst/gst.c: (split_and_iterate):
14481 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
14482 (load_feature):
14483 plug some memleaks
14485 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14487 * common/Makefile.am:
14488 * common/gtk-doc.mak:
14489 * docs/gst/Makefile.am:
14490 factor out gtk-doc.mak
14492 2005-07-07 Wim Taymans <wim@fluendo.com>
14494 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14495 (gst_thread_scheduler_dispose):
14496 Unlock the STREAM_LOCK completely.
14498 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
14500 * check/Makefile.am:
14501 * check/elements/.cvsignore:
14502 * check/elements/gstfakesrc.c: (chain_func), (event_func),
14503 (START_TEST), (fakesrc_suite), (main):
14504 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14505 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14506 (gst_fakesrc_create), (gst_fakesrc_start):
14507 * gst/elements/gstfakesrc.h:
14508 adding a first element test
14510 2005-07-07 Andy Wingo <wingo@pobox.com>
14512 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14513 debug message.
14515 2005-07-07 Wim Taymans <wim@fluendo.com>
14517 * gst/gstquery.c:
14518 * gst/gstquery.h:
14519 Remove old types
14521 2005-07-07 Wim Taymans <wim@fluendo.com>
14523 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14524 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14525 Allow subclasses to implement their own negotiation.
14527 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14529 * docs/design/part-gstbin.txt:
14530 * docs/design/part-gstpipeline.txt:
14531 Update design notes to reflect the movement of
14532 responsibility for bus handling from GstPipeline to
14533 GstBin
14535 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14537 * configure.ac:
14538 Remove unnecessary queue2/3/4 examples.
14540 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
14542 * examples/Makefile.am:
14543 * examples/helloworld/helloworld.c: (event_loop), (main):
14544 * examples/queue/queue.c: (event_loop), (main):
14545 * examples/queue2/queue2.c: (main):
14546 Update a couple of the examples to work again.
14548 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14549 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14550 Spelling corrections and extra debug.
14552 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14553 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14554 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14555 * gst/gstbin.h:
14556 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14557 (gst_pipeline_change_state):
14558 * gst/gstpipeline.h:
14559 Move the bus handler for children to the GstBin, and create a
14560 separate bus for receiving messages from children to the one the
14561 bus sends 'upwards' on.
14563 2005-07-06 Wim Taymans <wim@fluendo.com>
14565 * gst/base/README:
14566 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14567 (gst_base_sink_handle_object), (gst_base_sink_loop),
14568 (gst_base_sink_change_state):
14569 * gst/base/gstbasesink.h:
14570 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14571 (gst_base_src_init), (gst_base_src_setcaps),
14572 (gst_base_src_getcaps), (gst_base_src_loop),
14573 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14574 (gst_base_src_start), (gst_base_src_change_state):
14575 * gst/base/gstbasesrc.h:
14576 Make basesrc negotiate.
14577 Handle the case where preroll fails in basesink.
14578 Update README.
14580 2005-07-06 Wim Taymans <wim@fluendo.com>
14582 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14583 Implement the fixate function.
14584 Clean up acceptcaps.
14586 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14588 * docs/pwg/building-filterfactory.xml:
14589 * docs/pwg/pwg.xml:
14590 Remove never-written filter-factory chapter; I'll add the various
14591 base classes to part 4 ("other element types") later on.
14593 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14595 * docs/pwg/advanced-negotiation.xml:
14596 * docs/pwg/building-boiler.xml:
14597 * docs/pwg/building-pads.xml:
14598 * docs/pwg/pwg.xml:
14599 * examples/pwg/Makefile.am:
14600 Add a chapter on caps negotiation, simplify the original code
14601 samples a bit w.r.t. caps negotiation, add link to the advanced
14602 section. Add a bunch of examples showing different use cases of
14603 different types of caps negotiation. Upstream renegotiation isn't
14604 fully documented yet since nobody knows how that works.
14606 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
14608 * check/gst/gstpad.c:
14609 * check/gstcheck.c:
14610 * gst/gstpad.c: (gst_pad_get_internal_links_default):
14611 if pad has no parent, return NULL as list of internal links
14613 2005-07-05 Andy Wingo <wingo@pobox.com>
14615 * gst/elements/gstfilesrc.c:
14616 * gst/elements/gstfakesrc.c:
14617 * gst/base/gstpushsrc.c:
14618 * gst/base/gstbasesrc.h:
14619 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14621 2005-07-05 Stefan Kost <ensonic@users.sf.net>
14623 * Makefile.am:
14624 better report generation target (lcov needs a patch)
14626 2005-07-05 Andy Wingo <wingo@pobox.com>
14628 * gst/elements, testsuite: Null if we got it...
14630 2005-07-05 Wim Taymans <wim@fluendo.com>
14632 * configure.ac:
14633 * libs/gst/dataprotocol/Makefile.am:
14634 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14635 * libs/gst/dataprotocol/dataprotocol.h:
14636 * pkgconfig/Makefile.am:
14637 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14638 * pkgconfig/gstreamer-dataprotocol.pc.in:
14639 Ported dataprotol to 0.9.
14640 Added pkgconfig files.
14642 2005-07-05 Andy Wingo <wingo@pobox.com>
14644 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14645 Default to returning TRUE for the case when tranform_caps returns
14646 a fixed caps, like for identity or volume.
14648 * check/gst/gstbus.c (pound_bus_with_messages):
14649 * check/gst/gstmessage.c (START_TEST):
14650 * check/pipelines/simple_launch_lines.c (got_handoff): Application
14651 message API change.
14653 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14654 logic weaks here: always run transform_caps, trying passthrough
14655 operation only if the original caps intersects with the transform.
14657 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14658 source and sink caps.
14660 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14661 Intersect the peer caps with the pad template before going into
14662 transform_caps.
14663 (gst_base_transform_transform_caps): More debugging.
14665 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14666 src argument.
14668 2005-07-04 Edward Hervey <edward@fluendo.com>
14670 * gst/gstutils.c:
14671 * gst/gstutils.h:
14672 (gst_pad_add_*_probe): now returns the signal id for better wrapping
14673 in bindings.
14675 2005-07-04 Andy Wingo <wingo@pobox.com>
14677 * check/gst/gstpad.c: Only set explicit caps on pads.
14679 2005-07-01 Andy Wingo <wingo@pobox.com>
14681 * tests/network-clock.scm: Commentary update.
14683 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14684 Didn't really make sense, not implementable with basetransform,
14685 etc.
14686 (gst_identity_transform): Unref inbuf via make_writable. Feeble
14687 attempt at implementing the sync property, needs an unlock method.
14689 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14690 New func, by default returns the same caps (the identity
14691 transformation).
14692 (gst_base_transform_getcaps): Uses transform_caps to return
14693 something sensible.
14694 (gst_base_transform_setcaps): Complicated logic to get caps on
14695 both pads, even if they are different, and to call set_caps once
14696 for every time both pads get their caps set.
14697 (gst_base_transform_handle_buffer): Give the ref to the transform
14698 function. Allows in-place modification of the buffer.
14700 * gst/base/gstbasetransform.h (transform_caps): New class method.
14701 Given caps on one side, what can I do on the other.
14702 (set_caps): Take two caps, one for each side of the element.
14704 * gst/gstpad.h:
14705 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14706 caps in place. This is safe because we can check the mutability of
14707 the caps, and a good idea because fixate functions are just called
14708 as a matter of last resort. (Not actually implemented.)
14709 (gst_pad_set_caps): If the caps we're setting is actually the same
14710 as the existing pad caps, just update the pointer without calling
14711 setcaps. Assert that caps is either NULL or fixed, as per the
14712 docs.
14714 * gst/gstghostpad.c: Update for fixate changes.
14716 2005-07-02 Andy Wingo <wingo@pobox.com>
14718 * gst/gstcaps.c:
14719 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14720 two refcounts makes it immutable, which is enough. Doc more.
14722 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
14724 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14725 Put the mini_object into GValue as a mini_object,
14726 not a gpointer, since that's how we declared
14727 the signal.
14729 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14731 * examples/pwg/Makefile.am:
14732 Fix buildbot again.
14734 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14736 * docs/pwg/building-testapp.xml:
14737 Add extra check.
14738 * examples/pwg/Makefile.am:
14739 Fix buildbot.
14741 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14743 * configure.ac:
14744 * examples/Makefile.am:
14745 * examples/pwg/Makefile.am:
14746 * examples/pwg/extract.pl:
14747 Enable building the PWG examples.
14748 * docs/pwg/advanced-interfaces.xml:
14749 Add URI interface stub.
14750 * docs/pwg/advanced-types.xml:
14751 * docs/pwg/other-autoplugger.xml:
14752 * docs/pwg/appendix-porting.xml:
14753 * docs/pwg/pwg.xml:
14754 Add porting guide (mostly stubs), remove autoplugging (see ADM).
14755 * docs/pwg/building-boiler.xml:
14756 * docs/pwg/building-chainfn.xml:
14757 * docs/pwg/building-pads.xml:
14758 * docs/pwg/building-props.xml:
14759 * docs/pwg/building-state.xml:
14760 * docs/pwg/building-testapp.xml:
14761 Update the building-*.xml parts for 0.9 changes. All examples
14762 code blocks compile in examples/pwg/*.
14764 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14766 * docs/manual/advanced-autoplugging.xml:
14767 * docs/manual/appendix-checklist.xml:
14768 * docs/manual/appendix-integration.xml:
14769 * docs/manual/highlevel-components.xml:
14770 Fix playbin/decodebin examples, update docs a bit, mention bus
14771 instead of signals in various places, mention kmplayer and
14772 kaffeine since they have a working GStreamer backend in the KDE
14773 section.
14775 2005-06-30 Wim Taymans <wim@fluendo.com>
14777 * CHANGES-0.9:
14778 * docs/design/draft-ghostpads.txt:
14779 * docs/design/draft-push-pull.txt:
14780 * docs/design/draft-query.txt:
14781 * docs/design/part-TODO.txt:
14782 * docs/design/part-query.txt:
14783 Added CHANGES-0.9 doc, updated status of other docs.
14785 * gst/gstquery.h:
14786 Remove "hmm" macro
14788 2005-06-30 Wim Taymans <wim@fluendo.com>
14790 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14791 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14792 (gst_base_sink_change_state):
14793 * gst/base/gstbasesink.h:
14794 Some tweaks, only EOS and a buffer complete a preroll.
14796 2005-06-30 Andy Wingo <wingo@pobox.com>
14798 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14799 activate_push down to the internal pad as well.
14801 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
14803 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14805 * gst/gsttaginterface.c:
14806 Some documentation fixes (#307394 and #307397).
14808 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
14810 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14812 * gst/gstvalue.c: (gst_value_intersect_list):
14813 Fix memleak (#309125).
14815 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14817 * docs/manual/advanced-dataaccess.xml:
14818 Fix fakesrc example to compile; doesn't work, bug somewhere...?
14819 * docs/manual/basics-pads.xml:
14820 Add reference for filtered caps to above chapter.
14822 2005-06-30 Wim Taymans <wim@fluendo.com>
14824 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14825 (gst_bin_change_state):
14826 Probes are gone.
14827 Lame attempt at making the state change function a bit
14828 more readable.
14830 2005-06-30 Wim Taymans <wim@fluendo.com>
14832 * docs/design/part-clocks.txt:
14833 * docs/design/part-element-sink.txt:
14834 * docs/design/part-events.txt:
14835 * docs/design/part-preroll.txt:
14836 * docs/design/part-states.txt:
14837 Some more tweeks and additions to the docs.
14839 2005-06-30 Wim Taymans <wim@fluendo.com>
14841 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14842 (default_have_data), (gst_pad_class_init), (gst_pad_init),
14843 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14844 (gst_pad_check_pull_range), (gst_pad_get_range),
14845 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14846 * gst/gstpad.h:
14847 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14848 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14849 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14850 (gst_pad_remove_buffer_probe):
14851 Removed atomic operations, use existing LOCK.
14852 Move exception handling out of main code path.
14854 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14856 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14857 (silly_return_true_function), (gst_pad_class_init),
14858 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14859 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14860 (gst_pad_send_event):
14861 Fix accumulator, add default value by using _emitv() instead
14862 of _emit() for signal emission.
14864 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14866 * docs/manual/advanced-dataaccess.xml:
14867 * examples/manual/Makefile.am:
14868 Add probe example.
14869 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14870 Make work (??).
14872 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
14874 * gst/elements/gstfilesink.c: (gst_filesink_render):
14875 Simplify code so that we don't have to handle short
14876 writes and return GST_FLOW_ERROR if an error occured.
14878 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14880 * docs/gst/gstreamer-docs.sgml:
14881 Remove probes more.
14883 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14885 * docs/gst/gstreamer-sections.txt:
14886 * docs/gst/tmpl/gstpad.sgml:
14887 * docs/gst/tmpl/gstprobe.sgml:
14888 * gst/Makefile.am:
14889 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14890 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14891 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14892 (gst_pad_push_event), (gst_pad_send_event):
14893 * gst/gstpad.h:
14894 * gst/gstutils.c: (gst_pad_add_data_probe),
14895 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14896 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14897 (gst_pad_remove_buffer_probe):
14898 * gst/gstutils.h:
14899 Remove old probes, add new g-signal-based probes and some utility
14900 functions.
14902 2005-06-29 Edward Hervey <edward@fluendo.com>
14904 * gst/gstelementfactory.c:
14905 * gst/gstutils.h:
14906 * gst/gstutils.c:
14907 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14908 the definition to the header file.
14910 2005-06-29 Andy Wingo <wingo@pobox.com>
14912 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14913 plugins from the source directory.
14915 2005-06-29 Wim Taymans <wim@fluendo.com>
14917 * docs/gst/tmpl/gstbuffer.sgml:
14918 * docs/gst/tmpl/gstclock.sgml:
14919 Some fixings for blantently wrong text.
14921 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14923 * check/Makefile.am:
14924 * gst/gst.c: (add_path_func), (init_pre):
14925 * gst/gstregistry.c: (gst_registry_add_path):
14926 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14927 only scan the GST_PLUGIN_PATH locations, and not add
14928 system locations
14930 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
14932 * docs/gst/gstreamer-sections.txt:
14933 * docs/gst/tmpl/gstbasesrc.sgml:
14934 * gst/gstelement.c:
14935 * gst/gstelement.h:
14936 * gst/gstevent.c:
14937 * gst/gstutils.c:
14938 doc fixes
14940 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14942 * docs/manual/advanced-autoplugging.xml:
14943 Fix autoplugging example.
14945 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14947 * docs/manual/advanced-autoplugging.xml:
14948 * docs/manual/mime-world.fig:
14949 Try to get autoplugging working, fix type detection. Fix text
14950 in hello-world image.
14952 2005-06-29 Wim Taymans <wim@fluendo.com>
14954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14955 (gst_base_sink_change_state):
14956 Small debug line.
14958 * gst/gstclock.h:
14959 map SIGNAL and BROADCAST to the right function.
14961 * gst/gstobject.h:
14962 Remove redundant braces.
14964 * gst/gstpad.c: (gst_pad_set_caps):
14965 Don't call setcaps function when reseting caps to NULL.
14967 * gst/gstsystemclock.c: (gst_system_clock_dispose),
14968 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14969 (gst_system_clock_id_unschedule):
14970 Use BROADCAST as this is what we do.
14972 2005-06-29 Wim Taymans <wim@fluendo.com>
14974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14975 We are actually prerolling before commiting the state
14976 change.
14978 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14980 * docs/manual/advanced-clocks.xml:
14981 * docs/manual/advanced-interfaces.xml:
14982 * docs/manual/advanced-metadata.xml:
14983 * docs/manual/advanced-position.xml:
14984 * docs/manual/advanced-schedulers.xml:
14985 * docs/manual/advanced-threads.xml:
14986 * docs/manual/appendix-porting.xml:
14987 * docs/manual/basics-bins.xml:
14988 * docs/manual/basics-bus.xml:
14989 * docs/manual/basics-elements.xml:
14990 * docs/manual/basics-helloworld.xml:
14991 * docs/manual/basics-pads.xml:
14992 * docs/manual/highlevel-components.xml:
14993 * docs/manual/manual.xml:
14994 * docs/manual/thread.fig:
14995 Update (until threads/scheduling) Application Development Manual;
14996 remove GstThread, add GstBus, add simple porting checklist, add
14997 documentation for tag writing, clocks, make all examples until this
14998 part compile and run.
14999 * examples/manual/Makefile.am:
15000 Update from changes to Application Development Manual; add bus
15001 example, remove thread example.
15003 2005-06-28 Wim Taymans <wim@fluendo.com>
15005 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15006 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15007 (gst_bus_source_dispatch):
15008 Add debugging messages.
15009 Make internal methods static.
15010 Handle the case where the bus is flushed in the handler.
15012 * gst/gstelement.c: (gst_element_get_bus):
15013 Fix refcount in _get_bus();
15015 * gst/gstpipeline.c: (gst_pipeline_change_state),
15016 (gst_pipeline_get_clock_func):
15017 Clock refcounting fixes.
15018 Handle the case where preroll timed out more gracefully.
15020 * gst/gstsystemclock.c: (gst_system_clock_dispose):
15021 Clean up the internal thread in dispose. This is needed
15022 for subclasses that actually get disposed.
15024 * gst/schedulers/threadscheduler.c:
15025 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15026 (gst_thread_scheduler_dispose):
15027 Free thread pool in dispose.
15029 2005-06-28 Andy Wingo <wingo@pobox.com>
15031 * tests/network-clock-utils.scm (debug, print-event): New utils.
15033 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15034 (*packet-loss*): Unified loss probability.
15035 (network-time): Report out-of-band events.
15037 * tests/plot-data: Add support for out-of-band events. Hack it
15038 into this script instead of passing it down the pipe; should fix
15039 this later.
15041 2005-06-28 Wim Taymans <wim@fluendo.com>
15043 * docs/gst/gstreamer.types:
15044 * docs/gst/tmpl/gstbasesrc.sgml:
15045 * docs/gst/tmpl/gstpad.sgml:
15046 Docs fixes.
15048 2005-06-28 Wim Taymans <wim@fluendo.com>
15050 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15051 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15052 (gst_proxy_pad_do_fixatecaps):
15053 Correctly proxy the check_pull_range function.
15055 2005-06-28 Andy Wingo <wingo@pobox.com>
15057 * tests/network-clock.scm: Removed need for slib.
15059 2005-06-28 Wim Taymans <wim@fluendo.com>
15061 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15062 (gst_basesink_preroll_queue_flush):
15063 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15064 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15065 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15066 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15067 (gst_proxy_pad_set_property):
15068 * gst/gstpad.c:
15069 * gst/gstpad.h:
15070 * gst/gstqueue.c: (gst_queue_init):
15071 The deprecated pad loop function is removed now.
15073 2005-06-28 Andy Wingo <wingo@pobox.com>
15075 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15076 New parameters, simulate network packet loss.
15078 * tests/network-clock-utils.scm: Initialize the RNG.
15080 2005-06-28 Wim Taymans <wim@fluendo.com>
15082 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15083 (gst_basesink_event), (gst_basesink_deactivate):
15084 Flushing the preroll queue always needs to unlock the waiters.
15086 2005-06-28 Edward Hervey <edward@fluendo.com>
15088 * gst/gstpipeline.c: (gst_pipeline_send_event):
15089 Wheen a seek was successful on a pipeline, set the stream_time to the
15090 seek offset in order to have a synchronized stream_time.
15092 2005-06-28 Wim Taymans <wim@fluendo.com>
15094 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15095 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15096 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15097 (gst_proxy_pad_do_fixatecaps):
15098 Call wrapper function instead of just calling the function
15099 pointers. This takes care of any locking and whatmore.
15101 2005-06-28 Wim Taymans <wim@fluendo.com>
15103 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15104 (gst_pad_pull_range):
15105 * gst/gstpad.h:
15106 CONNECTED -> LINKED.
15108 2005-06-28 Andy Wingo <wingo@pobox.com>
15110 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15111 source-munging commit!!!
15113 * gst/gstobject.c (gst_object_unref, gst_object_ref)
15114 (gst_object_sink): Take gpointer arguments, not GstObject --
15115 avoids casts. Like GLib.
15117 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15118 activate.
15120 2005-06-27 Andy Wingo <wingo@pobox.com>
15122 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15123 remaining buffer.
15125 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15126 returns a sorted copy of the trace list.
15127 (gst_alloc_trace_print_live): New API, only prints traces with
15128 live objects. Sort the list.
15129 (gst_alloc_trace_print_all): Sort the list.
15130 (gst_alloc_trace_print): Align columns.
15132 * gst/elements/gstttypefindelement.c:
15133 * gst/elements/gsttee.c:
15134 * gst/base/gstbasesrc.c:
15135 * gst/base/gstbasesink.c:
15136 * gst/base/gstbasetransform.c:
15137 * gst/gstqueue.c: Adapt for pad activation changes.
15139 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15140 sched.
15141 (gst_pipeline_dispose): Drop ref on sched.
15143 * gst/gstpad.c (gst_pad_init): Set the default activate func.
15144 (gst_pad_activate_default): Push mode by default.
15145 (pre_activate_switch, post_activate_switch): New stubs, things to
15146 do before and after switching activation modes on pads.
15147 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15148 the pad's activate function to choose which mode to activate.
15149 Shortcut on deactivation and call the right function directly.
15150 (gst_pad_activate_pull): New API, (de)activates a pad in pull
15151 mode.
15152 (gst_pad_activate_push): New API, same for push mode.
15153 (gst_pad_set_activate_function)
15154 (gst_pad_set_activatepull_function)
15155 (gst_pad_set_activatepush_function): Setters for new API.
15157 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15158 Trace all miniobjects.
15159 (gst_mini_object_make_writable): Unref the arg if we copy, like
15160 gst_caps_make_writable.
15162 * gst/gstmessage.c (_gst_message_initialize): No trace init.
15164 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
15165 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15166 Adapt for new pad API.
15168 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15170 * gst/gstelement.h:
15171 * gst/gstelement.c (gst_element_iterate_src_pads)
15172 (gst_element_iterate_sink_pads): New API functions.
15174 * gst/gstelement.c (iterator_fold_with_resync): New utility,
15175 should fold into gstiterator.c in some form.
15176 (gst_element_pads_activate): Simplified via use of fold and
15177 delegation of decisions to gstpad->activate.
15179 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15180 help in debugging.
15182 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15183 class once in init, like gstmessage. Didn't run into this issue
15184 but it seems correct. Don't initialize a trace, gstminiobject does
15185 that.
15187 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15188 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15189 to the bus.
15190 (assert_live_count): New util function, uses alloc traces to check
15191 cleanup.
15193 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15194 To be modified when unlink drops the internal pad.
15196 2005-06-27 Wim Taymans <wim@fluendo.com>
15198 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15199 (gst_bin_change_state):
15200 Cleanup the get_state() function a little, make sure it
15201 iterates the same set of elements.
15202 Added stub iterate_state_order().
15204 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
15206 * docs/gst/gstreamer-docs.sgml:
15207 * docs/gst/gstreamer-sections.txt:
15208 * docs/gst/gstreamer.types:
15209 * docs/gst/tmpl/gstbasesink.sgml:
15210 * docs/gst/tmpl/gstbasesrc.sgml:
15211 * docs/gst/tmpl/gstbasetransform.sgml:
15212 * docs/gst/tmpl/gstelement.sgml:
15213 * docs/gst/tmpl/gstiterator.sgml:
15214 * gst/base/gstbasesrc.c:
15215 * gst/base/gstbasesrc.h:
15216 * gst/base/gstbasetransform.h:
15217 * gst/gstelement.c:
15218 * gst/gstiterator.h:
15219 adding basetransform and iterator docs
15221 2005-06-27 Andy Wingo <wingo@pobox.com>
15223 * docs/design/part-activation.txt: Notes on how activation should
15224 work -- not quite implemented yet.
15226 2005-06-25 Wim Taymans <wim@fluendo.com>
15228 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15229 At least get the chain function correct, needs more
15230 fixing.
15232 2005-06-25 Wim Taymans <wim@fluendo.com>
15234 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15235 (gst_basesink_handle_object), (gst_basesink_event),
15236 (gst_basesink_do_sync), (gst_basesink_handle_event),
15237 (gst_basesink_change_state):
15238 * gst/gsttask.h:
15239 Right, two problems here: ghostpads don't take locks and
15240 glib _rec_mutex_lock_full() with depth==0 still locks.
15241 Catch illegal locking and g_warn them.
15243 2005-06-25 Wim Taymans <wim@fluendo.com>
15245 * check/states/sinks.c: (START_TEST), (gst_object_suite):
15246 Have to check for completion now...
15248 2005-06-25 Wim Taymans <wim@fluendo.com>
15250 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15251 (gst_basesink_handle_object), (gst_basesink_event),
15252 (gst_basesink_do_sync), (gst_basesink_handle_event),
15253 (gst_basesink_change_state):
15254 * gst/gstpad.h:
15255 Unlock STREAM_LOCK whatever the recursion was.
15257 2005-06-25 Wim Taymans <wim@fluendo.com>
15259 * gst/base/gstbasesink.c: (gst_basesink_set_property),
15260 (gst_basesink_preroll_queue_empty),
15261 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15262 (gst_basesink_event), (gst_basesink_do_sync),
15263 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15264 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15265 (gst_basesink_change_state):
15266 Reworked the base sink, handle event and buffer serialisation
15267 correctly and removed possible deadlock.
15268 Handle EOS correctly.
15270 2005-06-25 Wim Taymans <wim@fluendo.com>
15272 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15273 (gst_pipeline_change_state):
15274 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15275 Allow elements to post EOS in the state change function.
15276 Fix up -launch, make it exit the poll loop when the
15277 pipeline actually changed state.
15278 Fix up warning parsing in -launch.
15280 2005-06-25 Wim Taymans <wim@fluendo.com>
15282 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15283 (gst_tee_sink_activate):
15284 Core takes STREAM_LOCK for us now.
15286 2005-06-25 Wim Taymans <wim@fluendo.com>
15288 * gst/gstelement.c: (gst_element_get_state_func),
15289 (gst_element_set_state):
15290 * gst/gstelement.h:
15291 * gst/gstmessage.c: (gst_message_parse_error),
15292 (gst_message_parse_warning):
15293 Keep track of current target state while performing a state
15294 change so that subclasses can do something interesting.
15295 Fix parsing of warning/error messages when GError is NULL.
15297 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
15299 * docs/gst/Makefile.am:
15300 * docs/gst/gstreamer-docs.sgml:
15301 * docs/gst/gstreamer-sections.txt:
15302 * docs/gst/gstreamer.types:
15303 * docs/gst/tmpl/gstbasesink.sgml:
15304 * docs/gst/tmpl/gstbasesrc.sgml:
15305 * docs/gst/tmpl/gstbin.sgml:
15306 * docs/gst/tmpl/gstcompat.sgml:
15307 * docs/gst/tmpl/gstfakesink.sgml:
15308 * docs/gst/tmpl/gstfakesrc.sgml:
15309 * docs/gst/tmpl/gstfilesink.sgml:
15310 * docs/gst/tmpl/gstfilesrc.sgml:
15311 * docs/gst/tmpl/gstindex.sgml:
15312 * docs/manual/appendix-quotes.xml:
15313 * gst/base/gstbasesrc.h:
15314 * gst/elements/gstfakesrc.h:
15315 * gst/gstmessage.h:
15316 start pulling in base classes and elements in our docs
15318 2005-06-24 Stefan Kost <ensonic@users.sf.net>
15320 * docs/gst/Makefile.am:
15321 * docs/libs/Makefile.am:
15322 fixed make distcheck with gtk-doc 1.3
15324 2005-06-23 Wim Taymans <wim@fluendo.com>
15326 * gst/gstelement.c: (gst_element_get_state_func),
15327 (gst_element_set_state), (gst_element_change_state):
15328 When the state did not change, also report NO_PREROLL
15329 when it matters.
15331 2005-06-23 Wim Taymans <wim@fluendo.com>
15333 * gst/gstpad.c: (gst_pad_event_default):
15334 * gst/gstqueue.c: (gst_queue_loop):
15335 No unsafe task pausing please.
15337 2005-06-23 Wim Taymans <wim@fluendo.com>
15339 * gst/schedulers/threadscheduler.c:
15340 (gst_thread_scheduler_task_start),
15341 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15342 Ref the task before pushing it on the threadpool. This
15343 makes sure that we have a ref when the threadfunction is
15344 actually called.
15346 2005-06-23 Andy Wingo <wingo@pobox.com>
15348 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15349 offset is greater than the file's size.
15351 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
15352 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15353 * gst/gstobject.c (gst_object_class_init): Make the class lock
15354 recursive. Wim won't let me drop deep_notify. Decodebin works
15355 again, whoopdy doo.
15357 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15358 internal pad, and hacks accordingly. Doesn't do it on the target
15359 pad because we change its caps. Probably catches all cases of
15360 interest tho.
15361 (gst_ghost_pad_set_property): Connect to notify::caps as
15362 appropritate.
15364 * tests/network-clock.scm (plot-simulation): Pipe data to the
15365 elite python skript.
15367 * tests/network-clock-utils.scm (define-parameter): New macro,
15368 defines a parameter that can be set via the command line.
15369 (set-parameter!, parse-parameter-arguments): Command line args
15370 parser.
15372 * tests/plot-data: Simple matplotlib-based plotter, takes input on
15373 stdin.
15375 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
15377 * gst/elements/gsttypefindelement.c:
15378 (gst_type_find_element_handle_event):
15379 Don't restart typefinding on a discont.
15380 * gst/gstelement.c: (gst_element_set_state):
15381 Debug spelling fix.
15382 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15383 Allow changing mode of an active pad.
15384 Debug output fixes.
15385 * gst/registries/gstlibxmlregistry.c: (load_feature):
15386 Don't cast a static pad template to a normal pad template.
15388 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
15390 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15391 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15392 remove gst_strtoll completely, since it didn't actually do
15393 anything more than what g_ascii_strtoull already does.
15394 check for range errors when deserializing
15395 do a cast for the unsigned cases; but further fixing needs
15396 a decision on what the interpretation of "(int)" and
15397 deserialization should be for values that fall outside the
15398 type's boundaries (ie, refuse, or interpret as casting)
15400 2005-06-23 Wim Taymans <wim@fluendo.com>
15402 * check/Makefile.am:
15403 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15404 * docs/design/part-live-source.txt:
15405 * docs/design/part-states.txt:
15406 * gst/base/gstbasesrc.c: (gst_basesrc_init),
15407 (gst_basesrc_set_live), (gst_basesrc_is_live),
15408 (gst_basesrc_get_range), (gst_basesrc_activate),
15409 (gst_basesrc_change_state):
15410 * gst/base/gstbasesrc.h:
15411 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15412 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15413 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15414 * gst/gstelement.c: (gst_element_get_state_func),
15415 (gst_element_set_state):
15416 * gst/gstelement.h:
15417 * gst/gsttypes.h:
15418 * tools/gst-launch.c: (event_loop), (main):
15419 Added support for live sources and other elements that
15420 cannot do preroll.
15421 Updated design docs, added live-source design doc.
15422 Implemented live source functionality in basesrc
15423 Fix error condition in _bin_get_state()
15424 Implement live source handling in -launch.
15425 Added check for live sources.
15426 Fixed case in GstBin where elements were changed state
15427 multiple times.
15430 2005-06-23 Andy Wingo <wingo@pobox.com>
15432 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15433 borken refcounting.
15435 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15436 gst_caps_replace takes care of this for us.
15438 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15439 gst_pad_set_caps on the target, not just its setcaps() function.
15441 * tests/network-clock.scm:
15442 * tests/network-clock-utils.scm: A network clock simulator.
15443 Something of an algorithmic testbed before doing something in C.
15445 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15447 * check/Makefile.am:
15448 * check/gst/capslist.h:
15449 copy over from 0.8, and add two with bitmasks specified with
15450 (int) 0xFF...
15451 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15452 add test to parse everything from capslist.h
15453 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15454 (main):
15455 add test for structure deserialization
15456 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15457 add tests for deserialization of strings to int types
15458 * gst/gststructure.c: (gst_structure_nth_field_name):
15459 * gst/gststructure.h:
15460 add a way to get the name of a field referenced by index
15461 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15462 instead of checking if the resulting long long lies between
15463 min and max, we check if the long long would fit into
15464 a number of bytes for the final type.
15465 This fixes cases where a string represents 2^32 - 1, which
15466 when cast to int would be the (valid) -1, but is bigger than
15467 G_MAXINT
15469 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15471 * gst/parse/grammar.y:
15472 add a log line for type deserialization
15474 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
15476 * check/gst/gstvalue.c: (START_TEST):
15477 * gst/gstvalue.c: (gst_value_deserialize):
15478 return long long, not int, so gint64 deserialization actually
15479 works. Is there any flag that makes the compiler check this ?
15480 Fixes #308559
15482 2005-06-22 Wim Taymans <wim@fluendo.com>
15484 * gst/gstbuffer.h:
15485 Added convenience macros for setting buffers in GValue.
15487 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15489 * check/gst/.cvsignore:
15490 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15491 add a test deserializing int64, and comment part out because
15492 it fails, yay !
15494 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
15496 * check/Makefile.am:
15497 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15498 * testsuite/Makefile.am:
15499 * testsuite/caps/Makefile.am:
15500 * testsuite/caps/value_serialize.c:
15501 * testsuite/test_gst_init.c:
15502 move a value_serialize test over
15504 2005-06-20 Wim Taymans <wim@fluendo.com>
15506 * gst/gstpad.c:
15507 Small doc updates.
15509 * gst/gstvalue.c: (gst_value_compare_buffer),
15510 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15511 (gst_value_compare_flags), (gst_value_serialize_flags),
15512 (gst_value_deserialize_flags), (_gst_value_initialize):
15513 Fix serialisation of buffers, they are not boxed types anymore
15515 2005-06-20 Wim Taymans <wim@fluendo.com>
15517 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15518 Testcase to show error in buffer-on-caps serialisation.
15520 2005-06-20 Andy Wingo <wingo@pobox.com>
15522 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15523 will be adding to later.
15525 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15526 if its socks fill with rocks.
15527 (gst_system_clock_obtain): Set the name on object construction.
15528 Avoid double-checked locking.
15530 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
15532 * gst/gsturi.c: (gst_element_make_from_uri):
15533 Fix potential endless loop.
15535 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15537 * check/Makefile.am:
15538 add gsttag
15539 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15540 (main):
15541 move over from testsuite dir and clean up
15542 * configure.ac:
15543 * gst/gsttag.c:
15544 * testsuite/Makefile.am:
15545 * testsuite/tags/.cvsignore:
15546 * testsuite/tags/Makefile.am:
15547 * testsuite/tags/merge.c:
15548 remove testsuite/tags
15550 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15552 * docs/gst/gstreamer-sections.txt:
15553 * docs/gst/tmpl/gstenumtypes.sgml:
15554 * win32/gstenumtypes.c:
15555 clean up documentation build a little
15557 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15559 * check/gstcheck.h:
15560 add macros for checking refcounts on objects and caps
15561 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15562 add some more unit tests
15563 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15564 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15565 fix leaked refcounts (I hope :)) so unittest works
15566 * gst/gstpad.h:
15567 whitespace removal
15569 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
15571 * configure.ac: back to HEAD
15573 === release 0.9.1 ===
15575 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
15577 * NEWS:
15578 * RELEASE:
15579 updated
15581 2005-06-17 Andy Wingo <wingo@pobox.com>
15583 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15584 assert; it's always possible that the pad gets deactivated in
15585 between the checks in gstpad.c and the implementation. Rely on
15586 finish_preroll() to return a FLUSHING or similar instead of on the
15587 assert.
15589 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15590 clock and post an EOS message if we come out of finish_preroll in
15591 the playing state.
15593 2005-06-16 David Schleef <ds@schleef.org>
15595 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15596 (gst_capsfilter_set_property): Allow NULL as possible value
15597 for filter_caps property, indicating GST_CAPS_ANY.
15599 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15601 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15602 fix debug output
15603 * gst/schedulers/Makefile.am:
15604 use libgst prefix
15605 * gstreamer.spec.in:
15606 fix spec for it
15608 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
15610 * gstreamer.spec.in:
15611 clean up
15613 2005-06-08 Andy Wingo <wingo@pobox.com>
15615 * gst/gstutils.c: RPAD fixes all around.
15616 (gst_element_link_pads): Refcounting fixes.
15618 * tools/gst-inspect.c:
15619 * tools/gst-xmlinspect.c:
15620 * parse/grammar.y:
15621 * gst/base/gsttypefindhelper.c:
15622 * gst/base/gstbasesink.c:
15623 * gst/gstqueue.c: RPAD fixes.
15625 * gst/gstghostpad.h:
15626 * gst/gstghostpad.c: New ghost pad implementation as full proxy
15627 pads. The tricky thing is they provide both source and sink
15628 interfaces, since they proxy the internal pad for the external
15629 pad, and vice versa. Implement with lower-level ProxyPad objects,
15630 with the interior proxy pad as a child of the exterior ghost pad.
15631 Should write a doc on this.
15633 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15634 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15635 gst_object API.
15637 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15638 pads are real pads. No ghost pads in this file. Not documenting
15639 the myriad s/RPAD/PAD/ and REALIZE fixes.
15640 (gst_pad_class_init): Add properties for "direction" and
15641 "template". Both are construct-only, so they can't change during
15642 the life of the pad. Fixes properly deriving from GstPad.
15643 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15644 derived objects, just set properties when creating the objects via
15645 g_object_new.
15646 (gst_pad_get_parent): Implement as a function, return NULL if the
15647 parent is not an element.
15648 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15649 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15651 * gst/gstobject.c (gst_object_class_init): Make name a construct
15652 property. Don't set it in the object init.
15654 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15655 with UNKNOWN direction.
15656 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15657 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15658 (gst_element_remove_pad): Remove ghost-pad special cases.
15659 (gst_element_pads_activate): Remove rpad cruft.
15661 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15662 catch the pad's-parent-not-an-element case.
15664 * gst/gst.h: Include gstghostpad.h.
15666 * gst/gst.c (init_post): No more real, ghost pads.
15668 * gst/Makefile.am: Add gstghostpad.[ch].
15670 * check/Makefile.am:
15671 * check/gst/gstbin.c:
15672 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15673 into a bin creates ghost pads, and that the refcounts are right.
15674 Partly moved from gstbin.c.
15676 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15678 * check/gst-libs/.cvsignore:
15679 * check/gst/.cvsignore:
15680 * check/pipelines/.cvsignore:
15681 ignore more
15682 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15683 (START_TEST), (cleanup_suite), (main):
15684 add some tests related to cleanup after running pipelines
15686 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15688 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15689 add a testsuite for GstBuffer
15691 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
15693 * gst/gstminiobject.h:
15694 add defines for accessing the refcount
15696 2005-06-03 Stefan Kost <ensonic@users.sf.net>
15698 * Makefile.am: added support for html unit test coverage reports
15700 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
15702 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15703 Free existing caps if the capsfilter changes. Add a FIXME about
15704 setting those caps on the pads.
15706 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15707 Before adding a ghost pad to a parent bin, check that there isn't
15708 already one for the element on the bin. Prevents infinite recursion
15709 when using decodebin in parse pipelines. Andy says he'll rewrite the
15710 way this works anyway, so ignore the hack.
15712 2005-06-02 Andy Wingo <wingo@pobox.com>
15714 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15715 file size, pass it on to the type find helper.
15717 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15718 segment_start and segment_end properly according to the seek
15719 method. Segment_end is still a bit flaky because offset can be
15720 negative for CUR and END cases, but it takes -1 as an "unset"
15721 value.
15723 2005-06-02 Wim Taymans <wim@fluendo.com>
15725 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15726 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15727 (gst_basesink_activate):
15728 * gst/base/gstbasesink.h:
15729 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15730 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15731 (gst_pad_query), (gst_pad_start_task):
15732 * gst/gstpad.h:
15733 * gst/gstqueue.c: (gst_queue_bufferalloc),
15734 (gst_queue_handle_sink_event), (gst_queue_chain):
15735 Bufferalloc: return GstFlowReturn to more accuratly report
15736 why allocation failed.
15738 2005-06-02 Wim Taymans <wim@fluendo.com>
15740 * gst/gstpipeline.c: (gst_pipeline_send_event):
15741 Take snapshot of state without blocking.
15743 2005-06-02 Wim Taymans <wim@fluendo.com>
15745 * docs/design/part-TODO.txt:
15746 * docs/design/part-caps.txt:
15747 * docs/design/part-clocks.txt:
15748 * docs/design/part-negotiation.txt:
15749 * docs/design/part-preroll.txt:
15750 Small doc updates
15752 2005-05-30 Wim Taymans <wim@fluendo.com>
15754 * gst/elements/gstidentity.c: (gst_identity_event),
15755 (gst_identity_transform), (gst_identity_get_property):
15756 Protect last_message property as it is accessed from
15757 multiple threads.
15759 2005-05-30 Wim Taymans <wim@fluendo.com>
15761 * gst/gstelement.c: (gst_element_init),
15762 (gst_element_pads_activate), (gst_element_change_state):
15763 Slicker pad activation code.
15765 2005-05-30 Wim Taymans <wim@fluendo.com>
15767 * gst/Makefile.am:
15768 * gst/gstelement.h:
15769 * gst/gstelementfactory.h:
15770 * gst/gsttypes.h:
15771 Move elementfactory methods to separate .h file.
15773 2005-05-30 Wim Taymans <wim@fluendo.com>
15775 * docs/design/part-overview.txt:
15776 * gst/gstsystemclock.h:
15777 Small typo fixes, doc updates.
15779 2005-05-30 Wim Taymans <wim@fluendo.com>
15781 * gst/gst.c: (gst_init_get_popt_table), (init_post),
15782 (init_popt_callback):
15783 Remove cpu-opt flag.
15785 2005-05-30 Wim Taymans <wim@fluendo.com>
15787 * gst/gstbuffer.c: (gst_subbuffer_finalize),
15788 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15789 * gst/gstbuffer.h:
15790 Avoid typechecking in places where not needed.
15791 Added accessor for malloc_data.
15793 2005-05-30 Wim Taymans <wim@fluendo.com>
15795 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15796 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15797 (gst_pad_configure_sink), (gst_pad_configure_src),
15798 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15799 (gst_pad_start_task):
15800 Propagate errors from _set_caps() in configure_src/sink
15801 functions instead of returning TRUE.
15802 FLUSH events can travel up and downstream
15805 2005-05-30 Wim Taymans <wim@fluendo.com>
15807 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15808 (gst_basesink_activate):
15809 Handle EOS in preroll.
15811 2005-05-30 Wim Taymans <wim@fluendo.com>
15813 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15814 (gst_queue_loop), (gst_queue_handle_src_event):
15815 Remove old pieces of code
15816 Flushing the queue in an upstream event is a very bad idea.
15818 2005-05-26 Andy Wingo <wingo@pobox.com>
15820 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15821 gst_value_set_mini_object so as to add a ref on the object (which
15822 will be removed when the value is unset).
15824 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15825 arg type in ::handoff.
15827 * gst/gstelement.c (gst_element_change_state): Also deactivate
15828 pads in READY->NULL, just in case the element didn't make it to
15829 PAUSED. Wingo tested, Wim approved.
15831 2005-05-26 Wim Taymans <wim@fluendo.com>
15833 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15834 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15835 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15836 A flushing pad cannot be used to alloc_buffer from.
15838 2005-05-26 Wim Taymans <wim@fluendo.com>
15840 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15841 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15842 (gst_bus_source_dispatch), (gst_bus_source_finalize),
15843 (gst_bus_create_watch), (gst_bus_add_watch_full):
15844 * gst/gstbus.h:
15845 Implement a real GSource and use g_main_context_wakeup() to
15846 signal new messages instead of the socketpair.
15848 2005-05-25 Wim Taymans <wim@fluendo.com>
15850 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15851 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15852 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15853 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15854 (gst_pad_send_event), (gst_pad_start_task):
15855 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15856 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15857 (gst_queue_sink_activate), (gst_queue_src_activate),
15858 (gst_queue_change_state):
15859 * gst/gstqueue.h:
15860 Fix state changes for non sinks. We now change sinks, then elements
15861 with unconnected srcpads, then the rest.
15862 More efficient queue unlocking in flush and state changes.
15863 Set the pad activate mode even if it does not have an activate
15864 function.
15866 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15868 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15869 Don't go in pull mode for non-seekable sources.
15870 * gst/elements/gsttypefindelement.h:
15871 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15872 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15873 (free_entry), (stop_typefinding),
15874 (gst_type_find_element_handle_event), (find_peek),
15875 (gst_type_find_element_chain), (do_pull_typefind),
15876 (gst_type_find_element_change_state):
15877 Allow typefinding (w/o seeking) in push-mode, simplified version
15878 of what was in 0.8.
15879 * gst/gstutils.c: (gst_buffer_join):
15880 * gst/gstutils.h:
15881 gst_buffer_join() from 0.8.
15883 2005-05-25 Wim Taymans <wim@fluendo.com>
15885 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15886 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15887 (gst_pad_send_event), (gst_pad_start_task):
15888 Disable attempt at mode switching until it is figured out.
15890 2005-05-25 Wim Taymans <wim@fluendo.com>
15892 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15893 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15894 (gst_basesink_finish_preroll), (gst_basesink_chain),
15895 (gst_basesink_loop), (gst_basesink_activate),
15896 (gst_basesink_change_state):
15897 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15898 (gst_basesrc_get_range), (gst_basesrc_loop),
15899 (gst_basesrc_activate):
15900 * gst/elements/gsttee.c: (gst_tee_sink_activate):
15901 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15902 (gst_real_pad_init), (gst_real_pad_set_property),
15903 (gst_real_pad_get_property), (gst_pad_set_active),
15904 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15905 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15906 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15907 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15908 (gst_pad_event_default_dispatch), (gst_pad_event_default),
15909 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15910 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15911 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15912 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15913 (gst_pad_stop_task):
15914 * gst/gstpad.h:
15915 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15916 (gst_queue_loop), (gst_queue_src_activate):
15917 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15918 (gst_task_get_state):
15919 * gst/gsttask.h:
15920 * gst/schedulers/threadscheduler.c:
15921 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15922 Implement gst_pad_pause/start/stop_task(), take STREAM lock
15923 in task function.
15924 Remove ACTIVE pad flag, use FLUSHING everywhere
15925 Added _pad_chain(), _pad_get_range() to call chain/getrange
15926 functions.
15927 Add locks around IS_FLUSHING when reading.
15928 Take STREAM lock in chain(), get_range() functions so plugins
15929 don't need to take it anymore.
15933 2005-05-25 Wim Taymans <wim@fluendo.com>
15935 * tools/gst-launch.c: (event_loop):
15936 Unref message after using its contents instead of
15937 before.
15939 2005-05-24 Wim Taymans <wim@fluendo.com>
15941 * docs/design/draft-ghostpads.txt:
15942 * docs/design/draft-push-pull.txt:
15943 * docs/design/draft-query.txt:
15944 * docs/design/part-overview.txt:
15945 Docs updates, added general overview doc.
15947 2005-05-21 David Schleef <ds@schleef.org>
15949 * docs/gst/tmpl/old/GstBin.sgml:
15950 * docs/gst/tmpl/old/GstBuffer.sgml:
15951 * docs/gst/tmpl/old/GstCaps.sgml:
15952 * docs/gst/tmpl/old/GstClock.sgml:
15953 * docs/gst/tmpl/old/GstCompat.sgml:
15954 * docs/gst/tmpl/old/GstData.sgml:
15955 * docs/gst/tmpl/old/GstElement.sgml:
15956 * docs/gst/tmpl/old/GstEvent.sgml:
15957 * docs/gst/tmpl/old/GstIndex.sgml:
15958 * docs/gst/tmpl/old/GstStructure.sgml:
15959 * docs/gst/tmpl/old/GstTag.sgml:
15960 * docs/gst/tmpl/old/cothreads.sgml:
15961 * docs/gst/tmpl/old/cothreads_compat.sgml:
15962 * docs/gst/tmpl/old/gettext.sgml:
15963 * docs/gst/tmpl/old/gobject2gtk.sgml:
15964 * docs/gst/tmpl/old/grammar.tab.sgml:
15965 * docs/gst/tmpl/old/gst-i18n-app.sgml:
15966 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15967 * docs/gst/tmpl/old/gst_private.sgml:
15968 * docs/gst/tmpl/old/gstaggregator.sgml:
15969 * docs/gst/tmpl/old/gstarch.sgml:
15970 * docs/gst/tmpl/old/gstatomic_impl.sgml:
15971 * docs/gst/tmpl/old/gstbufferstore.sgml:
15972 * docs/gst/tmpl/old/gstdata_private.sgml:
15973 * docs/gst/tmpl/old/gstdisksink.sgml:
15974 * docs/gst/tmpl/old/gstdisksrc.sgml:
15975 * docs/gst/tmpl/old/gstelementfactory.sgml:
15976 * docs/gst/tmpl/old/gstextratypes.sgml:
15977 * docs/gst/tmpl/old/gstfakesink.sgml:
15978 * docs/gst/tmpl/old/gstfakesrc.sgml:
15979 * docs/gst/tmpl/old/gstfdsink.sgml:
15980 * docs/gst/tmpl/old/gstfdsrc.sgml:
15981 * docs/gst/tmpl/old/gstfilesink.sgml:
15982 * docs/gst/tmpl/old/gstfilesrc.sgml:
15983 * docs/gst/tmpl/old/gsthttpsrc.sgml:
15984 * docs/gst/tmpl/old/gstidentity.sgml:
15985 * docs/gst/tmpl/old/gstindexfactory.sgml:
15986 * docs/gst/tmpl/old/gstmarshal.sgml:
15987 * docs/gst/tmpl/old/gstmd5sink.sgml:
15988 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15989 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15990 * docs/gst/tmpl/old/gstpadtemplate.sgml:
15991 * docs/gst/tmpl/old/gstpipefilter.sgml:
15992 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15993 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15994 * docs/gst/tmpl/old/gstshaper.sgml:
15995 * docs/gst/tmpl/old/gstspider.sgml:
15996 * docs/gst/tmpl/old/gstspideridentity.sgml:
15997 * docs/gst/tmpl/old/gststatistics.sgml:
15998 * docs/gst/tmpl/old/gsttee.sgml:
15999 * docs/gst/tmpl/old/gsttimecache.sgml:
16000 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16001 * docs/gst/tmpl/old/gstxmlregistry.sgml:
16002 * docs/gst/tmpl/old/gthread-cothreads.sgml:
16003 * docs/gst/tmpl/old/types.sgml:
16004 I didn't intend to add these or check them in.
16006 2005-05-19 David Schleef <ds@schleef.org>
16008 * configure.ac: Use -no-common everywhere. In a sane world, it
16009 would be the default in libtool, because without it, you can't
16010 build DLLs on Windows.
16011 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16012 * docs/gst/gstreamer-sections.txt:
16013 * docs/gst/tmpl/gstcpu.sgml:
16014 * docs/gst/tmpl/gstdata.sgml:
16015 * docs/gst/tmpl/gstthread.sgml:
16017 2005-05-19 David Schleef <ds@schleef.org>
16019 * gst/gstminiobject.c: (gst_value_set_mini_object),
16020 (gst_value_take_mini_object), (gst_value_get_mini_object):
16021 * gst/gstminiobject.h: Add GValue set/get functions.
16023 2005-05-19 Wim Taymans <wim@fluendo.com>
16025 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16026 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16027 (gst_subbuffer_init), (gst_buffer_is_span_fast):
16028 * gst/gstbuffer.h:
16029 * gst/gstbus.c: (gst_bus_post):
16030 * gst/gstelement.c: (gst_element_get_random_pad):
16031 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16032 Make subbufer unref the parent in finalize.
16033 some more debugging info.
16036 2005-05-19 Wim Taymans <wim@fluendo.com>
16038 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16039 (gst_basesink_init), (gst_basesink_finalize),
16040 (gst_basesink_activate), (gst_basesink_change_state):
16041 Don't free preroll queue too early.
16043 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16045 * gst/Makefile.am:
16046 * gst/ROADMAP:
16047 Hi, I'm outdated. Please shoot me.
16049 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16051 * gst/gstpipeline.c: (gst_pipeline_send_event):
16052 Do not access variables after they have been deleted.
16054 2005-05-19 Wim Taymans <wim@fluendo.com>
16056 * tools/gst-inspect.c: (print_plugin_features):
16057 A plugin feature does unfortunatly not use the
16058 object name yet...
16060 2005-05-18 Wim Taymans <wim@fluendo.com>
16062 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16063 Port _span() functions to new subbuffers.
16065 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16067 * gst/gstbin.c: (gst_bin_add_func):
16068 Fix clock settery in bins when adding kids after the clock has
16069 been selected.
16071 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16073 * gst/elements/gstidentity.c: (gst_identity_class_init):
16074 Workaround until signals support GstMiniObject.
16076 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
16078 * gst/gstbuffer.c:
16079 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16081 2005-05-18 Wim Taymans <wim@fluendo.com>
16083 * gst/base/Makefile.am:
16084 * gst/base/gstadapter.c: (gst_adapter_base_init),
16085 (gst_adapter_class_init), (gst_adapter_init),
16086 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16087 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16088 (gst_adapter_flush), (gst_adapter_available),
16089 (gst_adapter_available_fast):
16090 * gst/base/gstadapter.h:
16091 Ported and added adapter to the base classes.
16093 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16095 * gst/gst.c:
16096 * gst/gstmessage.c:
16097 Make sure the class is reffed/unreffed once before threads can be
16098 used. Fixes #304551.
16100 2005-05-17 Wim Taymans <wim@fluendo.com>
16102 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16103 (gst_basesink_chain_unlocked), (gst_basesink_activate):
16104 * gst/gstminiobject.c: (gst_mini_object_get_type),
16105 (gst_mini_object_free):
16106 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16107 (gst_pad_push), (gst_pad_push_event):
16108 * gst/gstqueue.c: (gst_queue_change_state):
16109 Don't queue buffers in basesink when we are flushing.
16110 Unref buffer when flushing in basesink.
16111 Flush queue when going to READY
16112 Unref buffer when _push() returns an error.
16113 Don't free MiniObject instance when refcount is incremented
16114 in _finalize() so that we can recover objects.
16116 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
16118 * docs/manual/advanced-schedulers.xml:
16119 * docs/manual/appendix-checklist.xml:
16120 * docs/pwg/advanced-clock.xml:
16121 * docs/pwg/advanced-interfaces.xml:
16122 * docs/pwg/advanced-request.xml:
16123 * docs/pwg/advanced-types.xml:
16124 * docs/pwg/intro-preface.xml:
16125 * examples/plugins/example.c: (gst_example_get_type),
16126 (gst_example_class_init), (gst_example_chain),
16127 (gst_example_set_property), (gst_example_get_property),
16128 (gst_example_change_state), (plugin_init):
16129 * examples/plugins/example.h:
16130 small doc fixes
16132 2005-05-17 Wim Taymans <wim@fluendo.com>
16134 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16135 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16136 * gst/gstqueue.c: (gst_queue_change_state):
16137 Clear queue when going to READY.
16138 Remove IN_SETCAPS flag too.
16140 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
16142 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16143 Remove implicit cast from gboolean to GstElementStateReturn;
16144 make sure we still return failure in paused => ready case if
16145 the parent class fails to change state and our own stop
16146 vfunc succeeds.
16148 2005-05-17 Wim Taymans <wim@fluendo.com>
16150 * tools/gst-launch.c: (event_loop):
16151 Message was unreffed too soon.
16153 2005-05-16 Andy Wingo <wingo@pobox.com>
16155 * gst/gstbin.c (sink_iterator_filter): Err... um...
16157 * check/gst/gstbin.c (test_ghost_pads): New test for the
16158 ghosting-if-elements-not-in-same-bin behavior.
16160 2005-05-16 David Schleef <ds@schleef.org>
16162 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16163 accessing refcount directly.
16165 2005-05-15 David Schleef <ds@schleef.org>
16167 * check/Makefile.am: remove GstData checks
16168 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16169 * gst/Makefile.am: add miniobject, remove data
16170 * gst/gst.h: add miniobject, remove data
16171 * gst/gstdata.c: remove
16172 * gst/gstdata.h: remove
16173 * gst/gstdata_private.h: remove
16174 * gst/gsttypes.h: remove GstEvent and GstMessage
16175 * gst/gstelement.c: (gst_element_post_message): fix for API changes
16176 * gst/gstmarshal.list: change BOXED -> OBJECT
16178 Implement GstMiniObject.
16179 * gst/gstminiobject.c:
16180 * gst/gstminiobject.h:
16182 Modify to be subclasses of GstMiniObject.
16183 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16184 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16185 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16186 (gst_subbuffer_get_type), (gst_subbuffer_init),
16187 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16188 (gst_buffer_span):
16189 * gst/gstbuffer.h:
16190 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16191 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16192 (_gst_event_copy), (gst_event_new):
16193 * gst/gstevent.h:
16194 * gst/gstmessage.c: (_gst_message_initialize),
16195 (gst_message_get_type), (gst_message_class_init),
16196 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16197 (gst_message_new), (gst_message_new_error),
16198 (gst_message_new_warning), (gst_message_new_tag),
16199 (gst_message_new_state_changed), (gst_message_new_application):
16200 * gst/gstmessage.h:
16201 * gst/gstprobe.c: (gst_probe_perform),
16202 (gst_probe_dispatcher_dispatch):
16203 * gst/gstprobe.h:
16204 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16205 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16206 (_gst_query_copy), (gst_query_new):
16208 Update elements for GstData -> GstMiniObject changes
16209 * gst/gstquery.h:
16210 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16211 (gst_queue_chain), (gst_queue_loop):
16212 * gst/elements/gstbufferstore.c:
16213 (gst_buffer_store_add_buffer_func),
16214 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16215 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16216 (gst_fakesink_render):
16217 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16218 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16219 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16220 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16221 (gst_filesrc_create_read):
16222 * gst/elements/gstidentity.c: (gst_identity_class_init):
16223 * gst/elements/gsttypefindelement.c:
16224 (gst_type_find_element_src_event), (free_entry_buffers),
16225 (gst_type_find_element_handle_event):
16226 * libs/gst/dataprotocol/dataprotocol.c:
16227 (gst_dp_header_from_buffer):
16228 * libs/gst/dataprotocol/dataprotocol.h:
16229 * libs/gst/dataprotocol/dp-private.h:
16231 2005-05-15 David Schleef <ds@schleef.org>
16233 * gst/elements/gstelements.c: Don't include headers that were
16234 just removed.
16236 2005-05-15 David Schleef <ds@schleef.org>
16238 * gst/elements/Makefile.am: Remove some elements that don't
16239 need to be in the core (or even exist at all).
16240 * gst/elements/gstaggregator.c:
16241 * gst/elements/gstaggregator.h:
16242 * gst/elements/gstmd5sink.c:
16243 * gst/elements/gstmd5sink.h:
16244 * gst/elements/gstmultifilesrc.c:
16245 * gst/elements/gstmultifilesrc.h:
16246 * gst/elements/gstpipefilter.c:
16247 * gst/elements/gstpipefilter.h:
16248 * gst/elements/gstshaper.c:
16249 * gst/elements/gstshaper.h:
16250 * gst/elements/gststatistics.c:
16251 * gst/elements/gststatistics.h:
16252 * po/POTFILES.in: Remove above files.
16254 2005-05-14 Andy Wingo <wingo@pobox.com>
16256 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16257 so as to get the refs right.
16258 (sink_iterator_filter): New function, wraps bin_element_is_sink,
16259 unreffing objects that don't pass the filter.
16261 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16262 gst_element_set_bus.
16263 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16264 normal cases, this will destroy the bus.
16266 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16267 object.
16269 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16270 has no sinks.
16272 2005-05-13 Andy Wingo <wingo@pobox.com>
16274 * gst/gstutils.c (gst_element_link_pads): Instead of calling
16275 gst_pad_link, call pad_link_maybe_ghosting,
16276 (pad_link_maybe_ghosting): Links pads, making sure that the
16277 elements being linked are in the same bin.
16278 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16279 Helpers for pad_link_maybe_ghosting.
16281 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16283 * configure.ac:
16284 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16286 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
16288 * docs/design/part-element-source.txt:
16289 Mention GstPushSrc
16291 2005-05-12 Wim Taymans <wim@fluendo.com>
16293 * gst/base/gstbasesink.c: (gst_basesink_init),
16294 (gst_basesink_activate):
16295 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16296 (gst_basesrc_is_seekable):
16297 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16298 (bin_element_is_sink), (gst_bin_change_state):
16299 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16300 * gst/gstelement.h:
16301 Identify sinks by their flag to avoid overly complicated
16302 checks (fow now).
16303 Do state changes even for elements not reachable from the
16304 sinks.
16305 BaseSink is a sink now :)
16306 Some more debugging info in the basesrc.
16309 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16312 Implement _query on a bin, similar to _send_event.
16314 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
16316 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16317 Discont event offset format should be GST_FORMAT_BYTES,
16318 not GST_FORMAT_TIME.
16320 2005-05-12 Wim Taymans <wim@fluendo.com>
16322 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16323 Same fix as Ronald's but without the signal.
16325 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16327 * gst/gstutils.c: (gst_element_query_position):
16328 No, an element is not a pad.
16330 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16332 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16333 (gst_bin_get_state):
16334 If a child is removed from a bin while we remove the child from
16335 the bin and while we're retrieving its state, signal this to the
16336 get_state function so we abort the wait (instead of waiting for
16337 a timeout) and can immediately re-iterate over all other elements.
16339 2005-05-12 Wim Taymans <wim@fluendo.com>
16341 * gst/base/Makefile.am:
16342 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16343 (gst_basesrc_start):
16344 * gst/base/gstbasesrc.h:
16345 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16346 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16347 (gst_pushsrc_init), (gst_pushsrc_create):
16348 * gst/base/gstpushsrc.h:
16349 Added is_seekable to BaseSrc
16350 Added simple PushSrc.
16352 2005-05-11 Wim Taymans <wim@fluendo.com>
16354 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16355 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16356 (gst_element_link_pads), (gst_element_query_position),
16357 (gst_element_query_convert), (intersect_caps_func),
16358 (gst_pad_query_position), (gst_pad_query_convert):
16359 Fix refcounting in utils function.
16360 No point in trying to activate a pad when it's added, it could
16361 be added from the state change function and then we deadlock, the
16362 element has to decide what to do.
16364 2005-05-10 Andy Wingo <wingo@pobox.com>
16366 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16367 *all* the arguments.
16369 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16370 stream lock if it's a FLUSH_DONE; normal flushes don't get the
16371 lock (according to the docs -- if this is wrong change the docs).
16373 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16374 flush messages in the NULL state.
16376 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16377 message immediately and return.
16378 (gst_bus_set_flushing): New function. If a bus is flushing, it
16379 flushes out any queued messages and immediately unrefs new
16380 messages. This is so when an element goes to NULL, all of the
16381 unhandled messages coming from it can be freed, and their
16382 references to the element dropped. In other words: message source
16383 ref considered harmful :P
16385 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16386 we're finished with it.
16388 * gst/gstmessage.c (gst_message_new_state_changed):
16390 2005-05-10 Wim Taymans <wim@fluendo.com>
16392 * gst/gstvalue.c: (gst_value_compare_flags),
16393 (gst_value_serialize_flags), (gst_value_deserialize_flags),
16394 (_gst_value_initialize):
16395 Added flags serialize/deserialize/compare code.
16397 2005-05-09 Andy Wingo <wingo@pobox.com>
16399 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16400 Intersect the peer's caps with our caps.
16402 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16404 * gst/base/gsttypefindhelper.c: (helper_find_peek):
16405 * gst/elements/gsttypefindelement.c: (find_peek):
16406 Handle negative offsets better. Fixes decodebin.
16408 2005-05-09 Wim Taymans <wim@fluendo.com>
16410 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16411 (gst_base_transform_event):
16412 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16413 Implement accept_caps.
16414 Fix silly lock/unlock mismatch in base class.
16416 2005-05-09 Wim Taymans <wim@fluendo.com>
16418 * docs/design/draft-push-pull.txt:
16419 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16420 * gst/elements/gstfilesink.c: (gst_filesink_init),
16421 (gst_filesink_query):
16422 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16423 (gst_type_find_handle_src_query), (find_element_get_length):
16424 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16425 * gst/gstelement.h:
16426 * gst/gstmessage.c:
16427 * gst/gstmessage.h:
16428 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16429 (gst_real_pad_get_caps_unlocked),
16430 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16431 (gst_pad_event_default_dispatch), (gst_pad_event_default),
16432 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16433 (gst_real_pad_dispose), (gst_real_pad_finalize),
16434 (gst_pad_load_and_link), (gst_pad_save_thyself),
16435 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16436 (gst_pad_check_pull_range), (gst_pad_pull_range),
16437 (gst_pad_template_get_type), (gst_pad_template_class_init),
16438 (gst_pad_template_init), (gst_pad_template_dispose),
16439 (name_is_valid), (gst_static_pad_template_get),
16440 (gst_pad_template_new), (gst_static_pad_template_get_caps),
16441 (gst_pad_template_get_caps), (gst_pad_set_element_private),
16442 (gst_pad_get_element_private), (gst_pad_start_task),
16443 (gst_pad_pause_task), (gst_pad_stop_task),
16444 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16445 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16446 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16447 (gst_ghost_pad_new):
16448 * gst/gstpad.h:
16449 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16450 (gst_query_new_position), (gst_query_set_position),
16451 (gst_query_parse_position), (gst_query_new_convert),
16452 (gst_query_set_convert), (gst_query_parse_convert):
16453 * gst/gstquery.h:
16454 * gst/gstqueryutils.c:
16455 * gst/gstqueryutils.h:
16456 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16457 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16458 (gst_queue_handle_src_query):
16459 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16460 (gst_element_query_position), (gst_element_query_convert),
16461 (intersect_caps_func), (gst_pad_query_position),
16462 (gst_pad_query_convert):
16463 * gst/gstutils.h:
16464 * tools/gst-inspect.c: (print_pad_info):
16465 * tools/gst-xmlinspect.c: (print_element_info):
16466 Remove old query functions. Ported old code.
16467 Added position/convert helper functions to gstutils.
16468 Reordered gstpad.c code, grouping relevant things.
16469 Remove gst_message_new(), always need to speficy a specific
16470 message.
16473 2005-05-09 Andy Wingo <wingo@pobox.com>
16475 * gst/gstiterator.h: Add some includes.
16477 * gst/gstqueryutils.h: Include more headers.
16479 * gst/gstpad.h:
16480 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
16481 some uses of gst_pad_query.
16483 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
16484 NULL out parameters.
16485 (gst_query_new_position): New proc, allocates a new position
16486 query.
16488 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
16489 gstqueryutils.c to the build.
16491 * gst/gststructure.c (gst_structure_set_valist): Implement with
16492 the generic G_VALUE_COLLECT.
16494 2005-05-08 Edward Hervey <bilboed@bilboed.com>
16496 * gst/Makefile.am: (gst_headers):
16497 Added gstqueryutils.h to the list of headers to install, that was
16498 a 'nachty' move wingo :)
16500 2005-05-06 Andy Wingo <wingo@pobox.com>
16502 * gst/gstquery.h
16503 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16504 GstData, init a memchunk.
16505 (standard_definitions): Add a few query types, deprecate a few.
16506 (gst_query_get_type): New proc.
16507 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16508 implementation.
16509 (gst_query_new_application, gst_query_get_structure): New public
16510 procs.
16512 * docs/design/draft-query.txt: Removed LINKS from the query types,
16513 because all the rest can be dispatched to other pads -- seemed
16514 ugly to have a query that couldn't be dispatched. internal_links
16515 is fine as a pad method.
16517 * gst/gstpad.h: Add query2 as a pad method, add the new functions
16518 in gstpad.c, but maintain binary compatibility for the moment.
16519 Will fix before 0.9 is out.
16521 * gst/gstqueryutils.c:
16522 * gst/gstqueryutils.h: New files, implement 3 methods for each
16523 query type: parse_query, parse_response, and set. Probably need an
16524 allocator as well.
16526 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16528 * gst/elements/gstfilesink.c (gst_filesink_query2):
16529 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16530 query_types, and formats methods.
16532 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16533 (gst_pad_set_query2_function): New functions.
16534 (gst_real_pad_init): Set query2_default as the default query2
16535 function. Basically just dispatches to internally linked pads.
16537 Needs review!
16539 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16540 without using the atomic operations. Only one thread can possibly
16541 be accessing the data at this point. Changed so as to avoid
16542 gst_atomic operations.
16544 2005-05-06 Wim Taymans <wim@fluendo.com>
16546 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16547 Also set caps if we use the fallback buffer alloc.
16549 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
16551 * docs/gst/Makefile.am:
16552 * docs/gst/gstreamer-docs.sgml:
16553 * docs/gst/gstreamer-sections.txt:
16554 * docs/gst/tmpl/gstatomic.sgml:
16555 * docs/gst/tmpl/gstmemchunk.sgml:
16556 * testsuite/elements/struct_i386.h:
16557 * win32/GStreamer.vcproj:
16558 * win32/Makefile:
16559 Purge GstAtomic stuff from docs and win32 makefiles as well
16561 2005-05-06 Wim Taymans <wim@fluendo.com>
16563 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16564 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16565 * gst/gstpad.c: (gst_pad_peer_get_caps):
16566 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16567 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16568 (gst_queue_src_activate), (gst_queue_change_state):
16569 * gst/gstqueue.h:
16570 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16571 (intersect_caps_func):
16572 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16573 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16574 Some fixes for the peer_get_caps() change.
16576 2005-05-06 Wim Taymans <wim@fluendo.com>
16578 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16579 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16580 (gst_basesink_activate):
16581 Actually do something with error codes returned from the push
16582 functions.
16584 2005-05-06 Wim Taymans <wim@fluendo.com>
16586 * docs/design/part-element-sink.txt:
16587 * docs/design/part-element-source.txt:
16588 * gst/base/gstbasesink.c: (gst_basesink_class_init),
16589 (gst_basesink_event), (gst_basesink_activate):
16590 * gst/base/gstbasesink.h:
16591 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16592 (gst_basesrc_activate):
16593 * gst/base/gstbasesrc.h:
16594 * gst/gstelement.c: (gst_element_pads_activate):
16595 Some more documentation.
16596 Fixed scheduling decision in _pads_activate().
16598 2005-05-05 Andy Wingo <wingo@pobox.com>
16600 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16601 the test suite.
16603 2005-05-05 Wim Taymans <wim@fluendo.com>
16605 * gst/base/Makefile.am:
16606 * gst/base/gstbasesink.h:
16607 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16608 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16609 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16610 (gst_collectpads_class_init), (gst_collectpads_init),
16611 (gst_collectpads_finalize), (gst_collectpads_new),
16612 (gst_collectpads_set_function), (gst_collectpads_add_pad),
16613 (find_pad), (gst_collectpads_remove_pad),
16614 (gst_collectpads_is_active), (gst_collectpads_collect),
16615 (gst_collectpads_collect_range), (gst_collectpads_start),
16616 (gst_collectpads_stop), (gst_collectpads_peek),
16617 (gst_collectpads_pop), (gst_collectpads_available),
16618 (gst_collectpads_read), (gst_collectpads_flush),
16619 (gst_collectpads_chain):
16620 * gst/base/gstcollectpads.h:
16621 * gst/elements/Makefile.am:
16622 * gst/elements/gstelements.c:
16623 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16624 (gst_fakesink_get_times), (gst_fakesink_event),
16625 (gst_fakesink_preroll), (gst_fakesink_render):
16626 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16627 (gst_filesink_init), (gst_filesink_set_location),
16628 (gst_filesink_open_file), (gst_filesink_close_file),
16629 (gst_filesink_pad_query), (gst_filesink_event),
16630 (gst_filesink_render), (gst_filesink_change_state):
16631 * gst/elements/gstfilesink.h:
16632 Added object to help in making collect pad based elements.
16633 Ported filesink.
16634 Make event function in sink baseclass return gboolean.
16636 2005-05-05 Wim Taymans <wim@fluendo.com>
16638 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16639 (gst_bin_get_by_name):
16640 * gst/gstbuffer.h:
16641 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16642 (gst_clock_finalize):
16643 * gst/gstdata.c: (gst_data_replace):
16644 * gst/gstdata.h:
16645 * gst/gstelement.c: (gst_element_request_pad),
16646 (gst_element_pads_activate):
16647 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16648 (gst_object_unref):
16649 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16650 (gst_pad_set_checkgetrange_function),
16651 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16652 (gst_pad_check_pull_range), (gst_pad_pull_range),
16653 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16654 (gst_pad_pause_task), (gst_pad_stop_task):
16655 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16656 (gst_element_request_pad), (gst_pad_proxy_getcaps):
16657 Fix name lookup in GstBin.
16658 Added _data_replace() function and _buffer_replace()
16659 Use finalize method to clean up clock.
16660 Fix refcounting on request pads.
16661 Fix pad schedule mode error.
16662 Some more object refcounting debug info,
16665 2005-05-04 Andy Wingo <wingo@pobox.com>
16667 * check/Makefile.am:
16668 * docs/gst/tmpl/gstatomic.sgml:
16669 * docs/gst/tmpl/gstplugin.sgml:
16670 * gst/base/gstbasesink.c: (gst_basesink_activate):
16671 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16672 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16673 (gst_basesrc_query), (gst_basesrc_set_property),
16674 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16675 (gst_basesrc_activate):
16676 * gst/base/gstbasesrc.h:
16677 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16678 (gst_base_transform_src_activate):
16679 * gst/elements/gstelements.c:
16680 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16681 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16682 * gst/elements/gsttee.c: (gst_tee_sink_activate):
16683 * gst/elements/gsttypefindelement.c: (find_element_get_length),
16684 (gst_type_find_element_checkgetrange),
16685 (gst_type_find_element_activate):
16686 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16687 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16688 (gst_caps_load_thyself):
16689 * gst/gstelement.c: (gst_element_pads_activate),
16690 (gst_element_save_thyself), (gst_element_restore_thyself):
16691 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16692 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16693 * gst/gstpad.h:
16694 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16695 (gst_xml_parse_file), (gst_xml_parse_memory),
16696 (gst_xml_get_element), (gst_xml_make_element):
16697 * gst/indexers/gstfileindex.c: (gst_file_index_load),
16698 (_file_index_id_save_xml), (gst_file_index_commit):
16699 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16700 (read_enum), (load_pad_template), (load_feature), (load_plugin),
16701 (load_paths):
16702 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16703 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16704 * tools/gst-complete.c: (main):
16705 * tools/gst-compprep.c: (main):
16706 * tools/gst-inspect.c: (print_element_properties_info):
16707 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16708 * tools/gst-xmlinspect.c: (print_element_properties):
16709 GCC 4 fixen.
16711 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
16713 * gst/gstplugin.c: (gst_plugin_check_module),
16714 (gst_plugin_check_file), (gst_plugin_load_file):
16715 apply patch from #172526 to make register work on MacOSX
16717 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16719 * docs/gst/tmpl/gstconfig.sgml:
16720 * gst/gstconfig.h.in:
16721 move documentation for some symbols. Add doc for GST_PTR_FORMAT
16722 * testsuite/debug/printf_extension.c: (main):
16723 Do not use GST_PTR_FORMAT on pointers to types with
16724 sizeof < sizeof(gpointer). Fixes test on 64-bit
16725 * testsuite/elements/property.h:
16726 use correct printf format
16728 2005-05-02 Wim Taymans <wim@fluendo.com>
16730 * docs/design/draft-push-pull.txt:
16731 * docs/design/draft-query.txt:
16732 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16733 (gst_basesrc_start):
16734 Added draft for new query API.
16735 Added draft for better selecting scheduling methods.
16736 Make basesrc ignore length if the subclass does not support
16737 it.
16739 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16741 * gst/Makefile.am:
16742 possible fixes for automake-1.5 - _LIBADD is reserved
16744 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
16746 * docs/faq/Makefile.am:
16747 * docs/manual/Makefile.am:
16748 * docs/manuals.mak:
16749 * docs/pwg/Makefile.am:
16750 * gst/Makefile.am:
16751 possible fixes for automake-1.5
16753 2005-04-28 Wim Taymans <wim@fluendo.com>
16755 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16756 (gst_basesink_pad_getcaps), (gst_basesink_init),
16757 (gst_basesink_do_sync):
16758 * gst/gstclock.c: (gst_clock_entry_new):
16759 * gst/gstevent.c: (gst_event_discont_get_value):
16760 * gst/gstpipeline.c: (pipeline_bus_handler),
16761 (gst_pipeline_change_state):
16762 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16763 Better debugging of clocking info.
16764 Allow NULL values when getting discont values.
16766 2005-04-27 Wim Taymans <wim@fluendo.com>
16768 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16769 * check/gst/gstpad.c: (gst_pad_suite):
16770 Increase timeout for checks.
16772 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16774 * check/Makefile.am:
16775 fix the broken rule for cleanup. Apparently this rule is
16776 only needed on FC2, so maybe this warrants further autotool
16777 inspection.
16779 2005-04-26 Wim Taymans <wim@fluendo.com>
16781 * gst/gsttrashstack.h:
16782 Ooohh. a nasty one! After having a failed pop() from the stack,
16783 it's possible that the stack is empty. In that case, don't
16784 follow the NULL pointer.
16786 2005-04-25 Wim Taymans <wim@fluendo.com>
16788 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16789 (gst_pad_set_checkgetrange_function),
16790 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16791 (gst_pad_check_pull_range), (gst_pad_pull_range),
16792 (gst_static_pad_template_get_caps), (gst_pad_start_task),
16793 (gst_pad_pause_task), (gst_pad_stop_task):
16794 * gst/gstplugin.c: (gst_plugin_load):
16795 * gst/gstplugin.h:
16796 Remove gst_library_load as it does more harm than good with
16797 the new g_module flags.
16798 Revert bogus caps template check in pad linking, pad caps
16799 are important when linking not the template, which is more
16800 general than the current caps.
16802 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16804 * gst/autoplug/.cvsignore:
16805 * gst/autoplug/Makefile.am:
16806 * gst/autoplug/gstsearchfuncs.c:
16807 * gst/autoplug/gstsearchfuncs.h:
16808 * gst/autoplug/gstspider.c:
16809 * gst/autoplug/gstspider.h:
16810 * gst/autoplug/gstspideridentity.c:
16811 * gst/autoplug/gstspideridentity.h:
16812 * gst/autoplug/spidertest.c:
16813 Die, spider, die.
16815 2005-04-25 Wim Taymans <wim@fluendo.com>
16817 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16818 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16819 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16820 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16821 * gst/gstpad.h:
16822 Added stubs for unimplemented functions.
16824 2005-04-24 David Schleef <ds@schleef.org>
16826 * gst/gstpad.h: Disable some unimplemented functions. Wim,
16827 please fix.
16829 2005-04-24 David Schleef <ds@schleef.org>
16831 Convert everything from GstAtomicInt to g_atomic_int_*, and
16832 remove gstatomic.
16833 * gst/Makefile.am:
16834 * gst/gstatomic.c:
16835 * gst/gstatomic.h:
16836 * gst/gstatomic_impl.h:
16837 * gst/gstbuffer.c:
16838 * gst/gstcaps.c:
16839 * gst/gstcaps.h:
16840 * gst/gstclock.c:
16841 * gst/gstclock.h:
16842 * gst/gstdata.c:
16843 * gst/gstdata.h:
16844 * gst/gstdata_private.h:
16845 * gst/gstevent.c:
16846 * gst/gstinfo.c:
16847 * gst/gstinfo.h:
16848 * gst/gstmessage.c:
16849 * gst/gstobject.c:
16850 * gst/gstobject.h:
16851 * gst/gststructure.c:
16852 * gst/gststructure.h:
16853 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16854 * gst/gstutils.h:
16856 2005-04-24 David Schleef <ds@schleef.org>
16858 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16859 make the regressions tests work. Remove some code that is no
16860 longer true.
16861 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16862 Disable warning for pads without templates.
16864 2005-04-24 David Schleef <ds@schleef.org>
16866 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
16867 functions that handle filtered links.
16868 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16869 removed functions.
16870 * gst/gstutils.c: Fix/remove utility functions that handle
16871 filtered caps.
16872 * gst/gstutils.h:
16873 * gst/gstvalue.c: Add serialization/deserialization of caps
16874 * gst/parse/grammar.y: Ignore filtered caps when linking. This
16875 requires fixing so that the filter caps notation creates
16876 a capsfilter element and sets the filter_caps property. I
16877 think everyone probably wants to keep the shorthand notation.
16878 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16879 * docs/gst/tmpl/gstpad.sgml:
16881 * gst/elements/gstelements.c: Register capsfilter element.
16882 * gst/Makefile.am: fix spacing
16883 * docs/random/ds/0.9-suggested-changes: random
16885 2005-04-23 David Schleef <ds@schleef.org>
16887 * gst/elements/Makefile.am:
16888 * gst/elements/gstcapsfilter.c: New element that acts like an
16889 identity, but filters caps. Will eventually replace filtered
16890 caps in pad linking.
16891 * gst/gstutils.c: (gst_element_create_all_pads): New function
16892 to create all the ALWAYS pads that are registered with an
16893 element class. This functionality should eventually be
16894 merged in with GstElement initialization.
16895 * gst/gstutils.h:
16896 * testsuite/trigger/README: part of trigger test code that should
16897 have been checked in a long time ago.
16899 2005-04-23 David Schleef <ds@schleef.org>
16901 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
16902 needed with new versions of libtool (nobody will confirm this),
16903 and hard to carry around.
16904 * gst/autoplug/Makefile.am:
16905 * gst/base/Makefile.am:
16906 * gst/elements/Makefile.am:
16907 * gst/indexers/Makefile.am:
16908 * gst/schedulers/Makefile.am:
16909 * libs/gst/bytestream/Makefile.am:
16910 * libs/gst/control/Makefile.am:
16911 * libs/gst/dataprotocol/Makefile.am:
16912 * libs/gst/getbits/Makefile.am:
16914 2005-04-21 Wim Taymans <wim@fluendo.com>
16916 * docs/design/draft-push-pull.txt:
16917 * docs/design/part-MT-refcounting.txt:
16918 * docs/design/part-TODO.txt:
16919 * docs/design/part-caps.txt:
16920 * docs/design/part-events.txt:
16921 * docs/design/part-gstbus.txt:
16922 * docs/design/part-gstpipeline.txt:
16923 * docs/design/part-messages.txt:
16924 * docs/design/part-push-pull.txt:
16925 * docs/design/part-query.txt:
16926 Some more docs.
16928 2005-04-21 Wim Taymans <wim@fluendo.com>
16930 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16931 (gst_message_new), (gst_message_new_error),
16932 (gst_message_new_warning), (gst_message_new_tag),
16933 (gst_message_new_state_changed), (gst_message_new_application),
16934 (gst_message_get_structure):
16935 * gst/gstmessage.h:
16936 * gst/gststructure.c: (gst_structure_set_parent_refcount),
16937 (gst_structure_copy_conditional):
16938 Use parent refcount in GstMessage to ensure GstStructure
16939 consistency.
16940 Cleaned up headers a bit.
16943 2005-04-20 Wim Taymans <wim@fluendo.com>
16945 * gst/base/gstbasesink.c: (gst_basesink_base_init),
16946 (gst_basesink_pad_getcaps), (gst_basesink_init),
16947 (gst_basesink_chain_unlocked):
16948 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16949 (gst_type_find_helper):
16950 * gst/elements/gsttypefindelement.c:
16951 (gst_type_find_element_have_type), (gst_type_find_element_init),
16952 (stop_typefinding), (gst_type_find_element_handle_event),
16953 (find_suggest), (gst_type_find_element_chain),
16954 (gst_type_find_element_checkgetrange),
16955 (gst_type_find_element_getrange), (do_typefind),
16956 (gst_type_find_element_activate):
16957 * gst/gstbuffer.c: (_gst_buffer_sub_free),
16958 (gst_buffer_default_free), (gst_buffer_default_copy),
16959 (gst_buffer_set_caps):
16960 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16961 (gst_caps_replace):
16962 * gst/gstmessage.c: (gst_message_new),
16963 (gst_message_new_state_changed):
16964 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16965 (gst_pad_set_checkgetrange_function),
16966 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16967 (gst_pad_set_caps), (gst_pad_check_pull_range),
16968 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16969 * gst/gstpad.h:
16970 * gst/gsttypefind.c: (gst_type_find_register):
16971 Make gst_caps_replace() work like other _replace() functions.
16972 Use _caps_replace() where possible.
16973 Make sure _message_new() initialises its field.
16974 Add gst_static_pad_template_get_caps()
16977 2005-04-18 Andy Wingo <wingo@pobox.com>
16979 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16980 on the peer, not the pad. I think that was a typo. Pass an extra
16981 arg to see if random access is possible. Activate the pads as
16982 PULL_RANGE if possible.
16984 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16986 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
16987 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16988 to PROP_....
16990 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16992 * docs/faq/using.xml:
16993 Add note on gstreamer-properties (#154996).
16995 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16997 * docs/random/bbb/optional-properties:
16998 Some analysis on optional properties.
17000 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17002 * docs/gst/tmpl/gstelementfactory.sgml:
17003 * gst/gstelement.h:
17004 * gst/gstelementfactory.c: (gst_element_factory_init),
17005 (gst_element_factory_cleanup), (gst_element_register),
17006 (__gst_element_factory_add_static_pad_template),
17007 (gst_element_factory_get_static_pad_templates),
17008 (gst_element_factory_can_src_caps),
17009 (gst_element_factory_can_sink_caps):
17010 * gst/registries/Makefile.am:
17011 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17012 (gst_xml_registry_class_init), (gst_xml_registry_init),
17013 (gst_xml_registry_new), (gst_xml_registry_set_property),
17014 (gst_xml_registry_get_property), (get_time), (make_dir),
17015 (gst_xml_registry_get_perms_func),
17016 (plugin_times_older_than_recurse), (plugin_times_older_than),
17017 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17018 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17019 (add_to_char_array), (read_string), (read_uint), (read_enum),
17020 (load_pad_template), (load_feature), (load_plugin), (load_paths),
17021 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17022 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17023 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17024 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17025 (gst_xml_registry_rebuild):
17026 * gst/registries/gstlibxmlregistry.h:
17027 * tools/gst-compprep.c: (main):
17028 * tools/gst-inspect.c: (print_pad_templates_info):
17029 * tools/gst-xmlinspect.c: (print_element_info):
17030 Use libxml2 for registry parsing, use staticpadtemplates in
17031 elementfactories. Makes gst_init() +/- 10x faster.
17033 2005-04-12 Wim Taymans <wim@fluendo.com>
17035 * gst/base/Makefile.am:
17036 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17037 (gst_basesink_pad_getcaps), (gst_basesink_init),
17038 (gst_basesink_event), (gst_basesink_change_state):
17039 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17040 (gst_basesrc_init), (gst_basesrc_query),
17041 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17042 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17043 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17044 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17045 (gst_basesrc_stop), (gst_basesrc_activate),
17046 (gst_basesrc_change_state):
17047 * gst/base/gsttypefindhelper.c: (helper_find_peek),
17048 (helper_find_suggest), (gst_type_find_helper):
17049 * gst/base/gsttypefindhelper.h:
17050 * gst/elements/Makefile.am:
17051 * gst/elements/gstelements.c:
17052 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17053 (gst_fakesink_get_times), (gst_fakesink_event),
17054 (gst_fakesink_preroll), (gst_fakesink_render):
17055 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17056 (gst_fakesrc_init), (gst_fakesrc_event_handler),
17057 (gst_fakesrc_get_property), (gst_fakesrc_create),
17058 (gst_fakesrc_start), (gst_fakesrc_stop):
17059 * gst/elements/gstfakesrc.h:
17060 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17061 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17062 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17063 (gst_filesrc_create_read), (gst_filesrc_create),
17064 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17065 (gst_filesrc_start):
17066 * gst/elements/gsttypefindelement.c:
17067 (gst_type_find_element_have_type), (gst_type_find_element_init),
17068 (start_typefinding), (stop_typefinding), (push_buffer_store),
17069 (gst_type_find_element_handle_event),
17070 (gst_type_find_element_chain),
17071 (gst_type_find_element_checkgetrange),
17072 (gst_type_find_element_getrange), (do_typefind),
17073 (gst_type_find_element_activate),
17074 (gst_type_find_element_change_state):
17075 * gst/elements/gsttypefindelement.h:
17076 * gst/gstpipeline.c: (pipeline_bus_handler):
17077 Added typefind helper.
17078 Small preroll fix in the base sink.
17079 Disable typefind code in basesrc.
17080 Crude port of typefindelement.
17081 Fakesrc cleanups.
17084 2005-04-11 Wim Taymans <wim@fluendo.com>
17086 * check/gst/gstbus.c: (gstbus_suite):
17087 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17088 * check/gstcheck.h:
17089 Fix up the timeout so that the test does not fail.
17091 2005-04-06 Wim Taymans <wim@fluendo.com>
17093 * gst/base/README:
17094 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17095 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17096 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17097 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17098 (gst_basesrc_check_get_range), (gst_basesrc_loop),
17099 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17100 (gst_basesrc_stop), (gst_basesrc_activate),
17101 (gst_basesrc_change_state), (basesrc_find_peek),
17102 (basesrc_find_suggest), (gst_basesrc_type_find):
17103 * gst/base/gstbasesrc.h:
17104 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17105 (gst_filesrc_class_init), (gst_filesrc_init),
17106 (gst_filesrc_finalize), (gst_filesrc_set_location),
17107 (gst_filesrc_set_property), (gst_filesrc_get_property),
17108 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17109 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17110 (gst_filesrc_create_read), (gst_filesrc_create),
17111 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17112 * gst/elements/gstfilesrc.h:
17113 * gst/gstelement.c: (gst_element_get_state_func),
17114 (gst_element_lost_state), (gst_element_pads_activate):
17115 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17116 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17117 (gst_pad_pull_range):
17118 * gst/gstpad.h:
17119 More work on the generic source base class, implement seeking,
17120 query.
17121 Make filesrc extend the base source class.
17122 Added gst_pad_set_checkgetrange_function to GstPad.
17124 2005-04-06 Andy Wingo <wingo@pobox.com>
17126 * pkgconfig/gstreamer-base.pc.in:
17127 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17129 * pkgconfig/Makefile.am:
17130 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17132 2005-04-04 Wim Taymans <wim@fluendo.com>
17134 * gst/base/Makefile.am:
17135 * gst/base/README:
17136 * gst/base/gstbasesink.c: (gst_basesink_base_init),
17137 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17138 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17139 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17140 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17141 (gst_basesrc_base_init), (gst_basesrc_class_init),
17142 (gst_basesrc_init), (gst_basesrc_get_formats),
17143 (gst_basesrc_get_query_types), (gst_basesrc_query),
17144 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17145 (gst_basesrc_set_property), (gst_basesrc_get_property),
17146 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17147 (gst_basesrc_loop), (gst_basesrc_activate),
17148 (gst_basesrc_change_state):
17149 * gst/base/gstbasesrc.h:
17150 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17151 (gst_fakesrc_class_init), (gst_fakesrc_init),
17152 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17153 (gst_fakesrc_get_property), (gst_fakesrc_create):
17154 * gst/elements/gstfakesrc.h:
17155 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17156 (gst_filesrc_open_file), (gst_filesrc_loop),
17157 (gst_filesrc_activate), (filesrc_find_peek),
17158 (gst_filesrc_type_find):
17159 Made base source class, make fakesrc extend it.
17160 Add comments to basesink class.
17161 Some filesrc cleanup.
17163 2005-03-31 David Schleef <ds@schleef.org>
17165 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17166 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17167 expected to link against libgstreamer.
17168 * gst/base/Makefile.am: link against libgstreamer
17169 * gst/elements/Makefile.am: same
17171 2005-03-31 Andy Wingo <wingo@pobox.com>
17173 * tests/instantiate/Makefile.am:
17174 * tests/instantiate/caps.c: Add test to test speed of caps copy
17175 and free.
17177 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17178 GMemChunk to be fair.
17180 * gst/gsttrashstack.h: Remove warning about using the fallback
17181 trash stack implementation, it's still faster than malloc.
17183 2005-03-30 Andy Wingo <wingo@pobox.com>
17185 * tests/complexity.c: Add a copyright.
17187 2005-03-31 Wim Taymans <wim@fluendo.com>
17189 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17190 (gst_base_transform_class_init), (gst_base_transform_init),
17191 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17192 (gst_base_transform_get_property),
17193 (gst_base_transform_sink_activate),
17194 (gst_base_transform_src_activate),
17195 (gst_base_transform_change_state):
17196 * gst/base/gstbasetransform.h:
17197 * gst/elements/gstidentity.c: (gst_identity_class_init),
17198 (gst_identity_event), (gst_identity_check_perfect),
17199 (gst_identity_transform), (gst_identity_start),
17200 (gst_identity_stop):
17201 Added start/stop methods to transform base class so subclasses
17202 don't need to deal with state changes even.
17204 2005-03-31 Wim Taymans <wim@fluendo.com>
17206 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17207 (gst_event_new_discontinuous), (gst_event_discont_get_value):
17208 * gst/gstevent.h:
17209 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17210 (gst_pad_pull_range):
17211 Added rate to the discont event to prepare for variable speed
17212 and reverse playback.
17214 2005-03-29 David Schleef <ds@schleef.org>
17216 * configure.ac:
17217 * testsuite/trigger/Makefile.am:
17218 * testsuite/trigger/trigger.c: A little example program to show
17219 how trigger-based elements can work.
17221 2005-03-29 Wim Taymans <wim@fluendo.com>
17223 * gst/base/Makefile.am:
17224 * gst/base/README:
17225 * gst/base/gstbasesink.c: (gst_basesink_get_type),
17226 (gst_basesink_base_init), (gst_basesink_class_init),
17227 (gst_basesink_pad_getcaps), (gst_basesink_init),
17228 (gst_basesink_activate), (gst_basesink_change_state):
17229 * gst/base/gstbasesink.h:
17230 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17231 (gst_base_transform_base_init), (gst_base_transform_finalize),
17232 (gst_base_transform_class_init), (gst_base_transform_init),
17233 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17234 (gst_base_transform_event), (gst_base_transform_getrange),
17235 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17236 (gst_base_transform_set_property),
17237 (gst_base_transform_get_property),
17238 (gst_base_transform_sink_activate),
17239 (gst_base_transform_src_activate),
17240 (gst_base_transform_change_state):
17241 * gst/base/gstbasetransform.h:
17242 * gst/elements/gstidentity.c: (gst_identity_finalize),
17243 (gst_identity_class_init), (gst_identity_init),
17244 (gst_identity_event), (gst_identity_check_perfect),
17245 (gst_identity_transform), (gst_identity_set_property),
17246 (gst_identity_get_property), (gst_identity_change_state):
17247 * gst/elements/gstidentity.h:
17248 * gst/gstelement.c: (gst_element_get_state_func),
17249 (gst_element_lost_state), (gst_element_pads_activate):
17250 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17251 (gst_pad_check_pull_range), (gst_pad_pull_range):
17252 * gst/gstpad.h:
17253 Simplify pad activation.
17254 Added function to check if pull_range can be performed.
17255 Error out when pulling inactive or flushing pads.
17256 Removed const from refcounted types as it does not make sense.
17257 Simplify pad templates in basesink
17258 Added base class for simple 1-to-1 transforms.
17259 Make identity subclass the base transform.
17261 2005-03-29 Andy Wingo <wingo@pobox.com>
17263 * docs/libs/gstreamer-libs-overrides.txt:
17264 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17265 really don't understand what's going on, but like whatever. I want
17266 green buildbot!
17268 * docs/gst/Makefile.am:
17269 * docs/libs/Makefile.am: Dist the overrides files.
17271 * check/Makefile.am (clean-local): Remove .libs directories.
17273 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17274 elements to EXTRA_DIST, so po/ files are happy.
17276 * po/POTFILES.in: Er, remove it here.
17278 * po/POTFILES: Remove gstspider.c.
17280 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17282 * docs/libs/gstreamer-libs-docs.sgml:
17283 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17284 bytestream.
17286 * tests/complexity.c (main): Set the length of the preroll queue
17287 on the sinks to prevent a lockup.
17289 * libs/gst/dataprotocol/Makefile.am:
17290 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17291 the same as the one in check/gst-libs/gdp.c.
17293 * po/, docs/gst/: Commit automatic changes to docs and po files.
17295 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17296 the versioned libgstbase.
17298 * check/Makefile.am: Depend on an unversioned gst-register, seems
17299 to make autoconf happier.
17301 * gst/base/Makefile.am: Make libgstbase a versioned lib.
17303 2005-03-28 Wim Taymans <wim@fluendo.com>
17305 * configure.ac:
17306 * docs/design/part-gstelement.txt:
17307 * docs/design/part-negotiation.txt:
17308 * docs/design/part-preroll.txt:
17309 * docs/design/part-scheduling.txt:
17310 * docs/design/part-states.txt:
17311 * gst/Makefile.am:
17312 * gst/base/Makefile.am:
17313 * gst/base/README:
17314 * gst/base/gstbasesink.c: (gst_basesink_get_template),
17315 (gst_basesink_base_init), (gst_basesink_class_init),
17316 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17317 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17318 (gst_basesink_set_pad_functions),
17319 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17320 (gst_basesink_set_property), (gst_basesink_get_property),
17321 (gst_base_sink_get_template), (gst_base_sink_get_caps),
17322 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17323 (gst_basesink_preroll_queue_push),
17324 (gst_basesink_preroll_queue_empty),
17325 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17326 (gst_basesink_event), (gst_basesink_get_times),
17327 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17328 (gst_basesink_chain_unlocked), (gst_basesink_chain),
17329 (gst_basesink_loop), (gst_basesink_activate),
17330 (gst_basesink_change_state):
17331 * gst/base/gstbasesink.h:
17332 * gst/elements/Makefile.am:
17333 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17334 (gst_fakesink_class_init), (gst_fakesink_init),
17335 (gst_fakesink_set_property), (gst_fakesink_get_property),
17336 (gst_fakesink_get_times), (gst_fakesink_event),
17337 (gst_fakesink_preroll), (gst_fakesink_render),
17338 (gst_fakesink_change_state):
17339 * gst/elements/gstfakesink.h:
17340 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17341 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17342 * gst/gstelement.c: (gst_element_add_pad),
17343 (gst_element_get_state_func), (gst_element_abort_state),
17344 (gst_element_commit_state), (gst_element_lost_state),
17345 (gst_element_set_state), (gst_element_pads_activate):
17346 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17347 * gst/gstpipeline.c: (gst_pipeline_send_event),
17348 (gst_pipeline_change_state):
17349 Added state change code.
17350 Added/updated docs.
17351 Added sink base class, make fakesink extend the base class.
17352 Small cleanups in GstPipeline.
17354 2005-03-26 David Schleef <ds@schleef.org>
17356 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
17357 is broken and should be implemented in a different library.
17358 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17359 * gst/gst.h: remove gstcpu.h
17360 * gst/gstcpu.c: remove
17361 * gst/gstcpu.h: remove
17362 * gst/Makefile.am.future: Remove this file. It's ancient.
17364 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17366 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17367 (gst_bin_send_event):
17368 Add default event/set_manager handlers. The set_manager handler
17369 takes care that the manager is distributed over kids that were
17370 already in the bin before the manager was set. The event handler
17371 is a utility virtual function that sends the event over all sinks,
17372 so that gst_element_send_event (bin, event); has the expected
17373 behaviour.
17374 * gst/gstpad.c: (gst_pad_event_default):
17375 Re-install default event handling for discontinuities, so that
17376 seeking works without requiring hacks in applications or extra
17377 code in sinks.
17378 * gst/gstpipeline.c: (gst_pipeline_class_init),
17379 (gst_pipeline_send_event):
17380 Half hack, half utility: set a pipeline to PAUSED for seek events,
17381 since that is the only way we can guarantee a/v sync. Means that
17382 you can do gst_element_seek (pipeline, method, pos); on a pipeline
17383 and it "just works".
17385 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17387 * gst/gstpipeline.c: (gst_pipeline_use_clock):
17388 Lock/unlock mismatch.
17390 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
17392 * docs/faq/gst-uninstalled:
17393 add gst-plugins-base
17394 * docs/gst/Makefile.am:
17395 don't error out until docs are fixed
17396 * docs/gst/gstreamer.types:
17397 remove thread
17399 2005-03-22 Wim Taymans <wim@fluendo.com>
17401 * check/Makefile.am:
17402 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17403 * gst/gststructure.c: (gst_structure_set_valist),
17404 (gst_structure_copy_conditional):
17405 Activated more tests.
17406 Added message test.
17407 Added G_TYPE_POINTER to GstStructure.
17410 2005-03-22 Wim Taymans <wim@fluendo.com>
17412 * docs/design/part-TODO.txt:
17413 * docs/design/part-events.txt:
17414 * docs/design/part-gstbin.txt:
17415 * docs/design/part-gstbus.txt:
17416 * docs/design/part-gstpipeline.txt:
17417 * docs/design/part-messages.txt:
17418 * gst/gstbus.c:
17419 * gst/gstmessage.c:
17420 Docs updates
17422 2005-03-21 Wim Taymans <wim@fluendo.com>
17424 * gst/gstbus.c: (gst_bus_post):
17425 Fix copy-and-paste error.
17427 2005-03-21 Wim Taymans <wim@fluendo.com>
17429 * check/Makefile.am:
17430 * gst/Makefile.am:
17431 * gst/elements/Makefile.am:
17432 * gst/elements/gstelements.c:
17433 * gst/elements/gstfakesink.c: (gst_fakesink_init),
17434 (gst_fakesink_event), (gst_fakesink_chain):
17435 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17436 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17437 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17438 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17439 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17440 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17441 (gst_fakesrc_loop), (gst_fakesrc_activate),
17442 (gst_fakesrc_change_state):
17443 * gst/elements/gstfakesrc.h:
17444 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17445 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17446 (gst_filesrc_open_file), (gst_filesrc_loop),
17447 (gst_filesrc_activate), (gst_filesrc_change_state),
17448 (filesrc_find_peek), (filesrc_find_suggest),
17449 (gst_filesrc_type_find):
17450 * gst/elements/gstidentity.c: (gst_identity_finalize),
17451 (gst_identity_class_init), (gst_identity_init),
17452 (gst_identity_proxy_getcaps), (identity_queue_push),
17453 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17454 (gst_identity_getrange), (gst_identity_chain),
17455 (gst_identity_sink_loop), (gst_identity_src_loop),
17456 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17457 (gst_identity_set_property), (gst_identity_get_property),
17458 (gst_identity_change_state):
17459 * gst/elements/gstidentity.h:
17460 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17461 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17462 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17463 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17464 (gst_tee_sink_activate):
17465 * gst/elements/gsttee.h:
17466 * gst/gst.c: (gst_register_core_elements), (init_post):
17467 * gst/gst.h:
17468 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17469 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17470 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17471 (gst_bin_change_state):
17472 * gst/gstbin.h:
17473 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17474 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17475 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17476 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17477 (gst_bus_set_sync_handler), (gst_bus_create_watch),
17478 (bus_watch_callback), (bus_watch_destroy),
17479 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
17480 (poll_timeout), (gst_bus_poll):
17481 * gst/gstbus.h:
17482 * gst/gstcaps.h:
17483 * gst/gstdata.h:
17484 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17485 (gst_element_post_message), (gst_element_message_full),
17486 (gst_element_get_state_func), (gst_element_get_state),
17487 (gst_element_abort_state), (gst_element_commit_state),
17488 (gst_element_lost_state), (gst_element_set_state),
17489 (gst_element_pads_activate), (gst_element_change_state),
17490 (gst_element_dispose), (gst_element_set_manager_func),
17491 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
17492 (gst_element_set_manager), (gst_element_get_manager),
17493 (gst_element_set_bus), (gst_element_get_bus),
17494 (gst_element_set_scheduler), (gst_element_get_scheduler):
17495 * gst/gstelement.h:
17496 * gst/gstevent.c: (gst_event_new_segment_seek),
17497 (gst_event_new_flush):
17498 * gst/gstevent.h:
17499 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17500 (_gst_message_free), (gst_message_get_type), (gst_message_new),
17501 (gst_message_new_eos), (gst_message_new_error),
17502 (gst_message_new_warning), (gst_message_new_tag),
17503 (gst_message_new_state_changed), (gst_message_new_application),
17504 (gst_message_get_structure), (gst_message_parse_tag),
17505 (gst_message_parse_state_changed), (gst_message_parse_error),
17506 (gst_message_parse_warning):
17507 * gst/gstmessage.h:
17508 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17509 (gst_real_pad_set_property), (gst_pad_set_active),
17510 (gst_pad_is_active), (gst_pad_set_blocked_async),
17511 (gst_pad_set_blocked), (gst_pad_is_blocked),
17512 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17513 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17514 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17515 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17516 (gst_pad_link_filtered), (gst_pad_relink_filtered),
17517 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17518 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17519 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17520 (gst_pad_set_caps), (gst_pad_configure_sink),
17521 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17522 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17523 (gst_real_pad_dispose), (gst_real_pad_finalize),
17524 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17525 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17526 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17527 * gst/gstpad.h:
17528 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17529 (pipeline_bus_handler), (gst_pipeline_change_state),
17530 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17531 * gst/gstpipeline.h:
17532 * gst/gstprobe.h:
17533 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17534 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17535 (gst_queue_link_src), (gst_queue_bufferalloc),
17536 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17537 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17538 (gst_queue_loop), (gst_queue_handle_src_event),
17539 (gst_queue_handle_src_query), (gst_queue_src_activate),
17540 (gst_queue_change_state):
17541 * gst/gstqueue.h:
17542 * gst/gstscheduler.c: (gst_scheduler_init),
17543 (gst_scheduler_dispose), (gst_scheduler_create_task),
17544 (gst_scheduler_factory_create):
17545 * gst/gstscheduler.h:
17546 * gst/gststructure.c: (gst_structure_get_type),
17547 (gst_structure_copy_conditional):
17548 * gst/gststructure.h:
17549 * gst/gsttaginterface.h:
17550 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17551 (gst_task_init), (gst_task_dispose), (gst_task_create),
17552 (gst_task_get_state), (gst_task_start), (gst_task_stop),
17553 (gst_task_pause):
17554 * gst/gsttask.h:
17555 * gst/gstthread.c:
17556 * gst/gstthread.h:
17557 * gst/gsttypes.h:
17558 * gst/schedulers/Makefile.am:
17559 * gst/schedulers/cothreads_compat.h:
17560 * gst/schedulers/entryscheduler.c:
17561 * gst/schedulers/faircothreads.c:
17562 * gst/schedulers/faircothreads.h:
17563 * gst/schedulers/fairscheduler.c:
17564 * gst/schedulers/gstbasicscheduler.c:
17565 * gst/schedulers/gstoptimalscheduler.c:
17566 * gst/schedulers/gthread-cothreads.h:
17567 * gst/schedulers/threadscheduler.c:
17568 (gst_thread_scheduler_task_get_type),
17569 (gst_thread_scheduler_task_class_init),
17570 (gst_thread_scheduler_task_init),
17571 (gst_thread_scheduler_task_start),
17572 (gst_thread_scheduler_task_stop),
17573 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17574 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17575 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17576 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17577 (plugin_init):
17578 * libs/gst/Makefile.am:
17579 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17580 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17581 (gst_file_pad_parent_set):
17582 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17583 (gst_dp_event_from_packet):
17584 * tests/complexity.c: (main):
17585 * tests/mass_elements.c: (main):
17586 * testsuite/states/locked.c: (message_received), (main):
17587 * testsuite/states/parent.c: (main):
17588 * tools/gst-inspect.c: (print_element_flag_info),
17589 (print_implementation_info), (print_pad_info):
17590 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17591 (main):
17592 * tools/gst-md5sum.c: (event_loop), (main):
17593 * tools/gst-typefind.c: (main):
17594 * tools/gst-xmlinspect.c: (print_element_info):
17595 Next big merge.
17596 Added GstBus for mainloop integration.
17597 Added GstMessage for sending notifications on the bus.
17598 Added GstTask as an abstraction for pipeline entry points.
17599 Removed GstThread.
17600 Removed Schedulers.
17601 Simplified GstQueue for multithreaded core.
17602 Made _link threadsafe, removed old capsnego.
17603 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17604 Added pad blocking functions.
17605 Reworked scheduling functions in GstPad to prepare for
17606 scheduling updates soon.
17607 Moved events out of data stream.
17608 Simplified GstEvent types.
17609 Added return values to push/pull.
17610 Removed clocking from GstElement.
17611 Added prototypes for state change function for next merge.
17612 Removed iterate from bins and state change management.
17613 Fixed some elements, disabled others for now.
17614 Fixed -inspect and -launch.
17615 Added check for GstBus.
17617 2005-03-10 Wim Taymans <wim@fluendo.com>
17619 * docs/design/part-MT-refcounting.txt:
17620 * docs/design/part-clocks.txt:
17621 * docs/design/part-gstelement.txt:
17622 * docs/design/part-gstobject.txt:
17623 * docs/design/part-standards.txt:
17624 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17625 (gst_bin_remove_func), (gst_bin_remove):
17626 * gst/gstbin.h:
17627 * gst/gstbuffer.c:
17628 * gst/gstcaps.h:
17629 * testsuite/clock/clock1.c: (main):
17630 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17631 (main):
17632 * testsuite/dlopen/loadgst.c: (do_test):
17633 * testsuite/refcounting/bin.c: (add_remove_test1),
17634 (add_remove_test2), (main):
17635 * testsuite/refcounting/element.c: (main):
17636 * testsuite/refcounting/element_pad.c: (main):
17637 * testsuite/refcounting/pad.c: (main):
17638 * tools/gst-launch.c: (sigint_handler_sighandler):
17639 * tools/gst-typefind.c: (main):
17640 Doc updates.
17641 Added doc about clock.
17642 removed gst_bin_iterate_recurse_up(), marked methods
17643 for removal.
17644 Fix more testsuites.
17646 2005-03-09 Wim Taymans <wim@fluendo.com>
17648 * gst/gstpad.c: (gst_pad_get_direction),
17649 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17650 (gst_pad_collect_valist):
17651 * testsuite/bins/interface.c: (main):
17652 * testsuite/caps/audioscale.c: (test_caps):
17653 * testsuite/caps/caps.c: (test1), (test2), (test3):
17654 * testsuite/caps/deserialize.c: (main):
17655 * testsuite/caps/enumcaps.c: (main):
17656 * testsuite/caps/filtercaps.c: (main):
17657 * testsuite/caps/intersect2.c: (main):
17658 * testsuite/caps/random.c: (main):
17659 * testsuite/caps/renegotiate.c: (my_fixate), (main):
17660 * testsuite/caps/sets.c: (check_caps):
17661 * testsuite/caps/simplify.c: (check_caps), (main):
17662 * testsuite/caps/subtract.c: (check_caps):
17663 Fix _pad_get_direction wrt ghostpads.
17664 Fix caps testsuite.
17666 2005-03-09 Wim Taymans <wim@fluendo.com>
17668 * check/Makefile.am:
17669 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17670 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17671 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17672 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17673 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17674 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17675 (gst_bin_remove), (gst_bin_iterate_recurse_up),
17676 (bin_element_is_sink), (gst_bin_iterate_sinks),
17677 (gst_bin_iterate_all_by_interface):
17678 * gst/gstbin.h:
17679 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17680 (gst_element_change_state), (gst_element_dispose),
17681 (gst_element_finalize), (gst_element_set_loop_function):
17682 * gst/gstelement.h:
17683 * gst/gstiterator.c: (find_custom_fold_func):
17684 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17685 (gst_pad_collectv), (gst_pad_collect_valist),
17686 (gst_pad_template_new):
17687 * gst/gstpipeline.c: (gst_pipeline_class_init),
17688 (gst_pipeline_dispose), (gst_pipeline_set_property),
17689 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17690 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17691 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17692 * gst/gstutils.h:
17693 * gst/schedulers/entryscheduler.c:
17694 * gst/schedulers/gstbasicscheduler.c:
17695 (gst_basic_scheduler_cothreaded_chain),
17696 (gst_basic_scheduler_chain_add_element):
17697 * testsuite/bins/interface.c: (main):
17698 Added GstBin test.
17699 Added GstSystemClock test.
17700 Implemented clock distribution code in GstBin.
17701 Implemented iterate sinks method for future use.
17702 Rearranged gstelement.h
17703 Fix GstIterator comparison bug.
17704 Moved some code to GstPipeline, mostly clocking related.
17706 2005-03-09 Wim Taymans <wim@fluendo.com>
17708 * configure.ac:
17709 * gst/gst_private.h:
17710 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17711 (gst_bin_remove_func), (gst_bin_remove),
17712 (gst_bin_get_by_name_recurse_up):
17713 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17714 (gst_clock_id_compare_func), (gst_clock_id_wait),
17715 (gst_clock_id_wait_async), (gst_clock_init),
17716 (gst_clock_adjust_unlocked), (gst_clock_get_time):
17717 * gst/gstelement.h:
17718 * gst/gstinfo.c: (_gst_debug_init):
17719 * gst/gstobject.h:
17720 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17721 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17722 * gst/gstpad.h:
17723 Bump version number, we're now 0.9.0
17724 Add future debugging category.
17725 Fix NULL _unref() in _get_by_name_recurse_up
17726 Rearrange gstpad.h.
17727 Update some docs.
17729 2005-03-08 Wim Taymans <wim@fluendo.com>
17731 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17732 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17733 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17734 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17735 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17736 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17737 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17738 * gst/elements/gstidentity.c: (gst_identity_class_init):
17739 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17740 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17741 * gst/elements/gstshaper.c: (gst_shaper_class_init):
17742 * gst/elements/gststatistics.c: (gst_statistics_class_init):
17743 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17744 (gst_tee_link):
17745 * gst/gstelement.c: (gst_element_class_init),
17746 (gst_element_base_class_init), (gst_element_init),
17747 (gst_element_get_random_pad), (gst_element_wait_state_change),
17748 (gst_element_change_state), (gst_element_dispose),
17749 (gst_element_finalize), (gst_element_set_loop_function):
17750 * gst/gstelement.h:
17751 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17752 * gst/gstthread.c: (gst_thread_class_init),
17753 (gst_thread_release_children_locks), (gst_thread_change_state):
17754 * gst/schedulers/gstbasicscheduler.c:
17755 (gst_basic_scheduler_loopfunc_wrapper),
17756 (gst_basic_scheduler_chain_wrapper),
17757 (gst_basic_scheduler_src_wrapper),
17758 (gst_basic_scheduler_remove_element):
17759 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17760 Remove threadsafe properties. Fix elements because GObject
17761 complains when installing a property before declaring a
17762 set/get_property handler.
17763 Rearrange gstelement.h file, use STATE macros for state locks.
17764 Free mutexes in the finalize method instead of dispose.
17766 2005-03-08 Wim Taymans <wim@fluendo.com>
17768 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17769 * gst/gstthread.c: (gst_thread_release_children_locks):
17770 Added parentage check.
17771 Fix build og GstThread again.
17773 2005-03-08 Wim Taymans <wim@fluendo.com>
17775 * docs/design/part-MT-refcounting.txt:
17776 * docs/design/part-conventions.txt:
17777 * docs/design/part-gstobject.txt:
17778 * docs/design/part-relations.txt:
17779 * docs/design/part-standards.txt:
17780 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17781 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17782 (gst_bin_get_by_name), (gst_bin_get_by_interface),
17783 (gst_bin_iterate_all_by_interface):
17784 * gst/gstbuffer.h:
17785 * gst/gstclock.h:
17786 * gst/gstelement.c: (gst_element_class_init),
17787 (gst_element_change_state), (gst_element_set_loop_function):
17788 * gst/gstelement.h:
17789 * gst/gstiterator.c:
17790 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17791 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17792 (gst_object_dispatch_properties_changed), (gst_object_set_name),
17793 (gst_object_set_parent), (gst_object_unparent),
17794 (gst_object_check_uniqueness):
17795 * gst/gstobject.h:
17796 Docs updates, clean up some headers.
17798 2005-03-07 Wim Taymans <wim@fluendo.com>
17800 * check/.cvsignore:
17801 * check/Makefile.am:
17802 * check/gst-libs/.cvsignore:
17803 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17804 * check/gst/.cvsignore:
17805 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17806 (START_TEST), (gstbus_suite), (main):
17807 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17808 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17809 (gst_data_suite), (main):
17810 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17811 (add_fold_func), (gstiterator_suite), (main):
17812 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17813 (thread_name_object), (thread_name_object_default),
17814 (gst_object_name_compare), (gst_object_suite), (main):
17815 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17816 (gst_pad_suite), (main):
17817 * check/gstcheck.c: (gst_check_log_message_func),
17818 (gst_check_log_critical_func), (gst_check_init):
17819 * check/gstcheck.h:
17820 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17821 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17822 Added checks.
17824 2005-03-07 Wim Taymans <wim@fluendo.com>
17826 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17827 (gst_list_iterator_next), (gst_list_iterator_resync),
17828 (gst_list_iterator_free), (gst_iterator_new_list),
17829 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17830 (gst_iterator_free), (gst_iterator_push), (filter_next),
17831 (filter_resync), (filter_uninit), (filter_free),
17832 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17833 (gst_iterator_foreach), (find_custom_fold_func),
17834 (gst_iterator_find_custom):
17835 * gst/gstiterator.h:
17836 Added missing files.
17838 2005-03-07 Wim Taymans <wim@fluendo.com>
17840 * Makefile.am:
17841 * configure.ac:
17842 * docs/design/part-MT-refcounting.txt:
17843 * docs/design/part-conventions.txt:
17844 * docs/design/part-gstobject.txt:
17845 * docs/design/part-relations.txt:
17846 * examples/mixer/mixer.c: (main):
17847 * examples/thread/thread.c: (eos), (main):
17848 * gst/Makefile.am:
17849 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17850 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17851 (gst_spider_plug_from_srcpad):
17852 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17853 (gst_spider_identity_change_state),
17854 (gst_spider_identity_sink_loop_type_finding):
17855 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17856 * gst/elements/gstidentity.c: (gst_identity_init):
17857 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17858 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17859 * gst/elements/gsttypefindelement.c: (free_entry):
17860 * gst/gst.c:
17861 * gst/gst.h:
17862 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17863 (gst_bin_set_clock_func), (gst_bin_auto_clock),
17864 (gst_bin_set_index), (gst_bin_set_element_sched),
17865 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17866 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17867 (gst_bin_iterate_elements), (iterate_child_recurse),
17868 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17869 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17870 (compare_interface), (gst_bin_get_by_interface),
17871 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17872 * gst/gstbin.h:
17873 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17874 (gst_buffer_default_free), (gst_buffer_default_copy),
17875 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17876 (gst_buffer_create_sub):
17877 * gst/gstbuffer.h:
17878 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17879 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17880 (gst_caps_unref), (gst_static_caps_get),
17881 (gst_caps_remove_and_get_structure), (gst_caps_append),
17882 (gst_caps_append_structure), (gst_caps_remove_structure),
17883 (gst_caps_copy_nth), (gst_caps_set_simple),
17884 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17885 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17886 (gst_caps_structure_intersect_field), (gst_caps_intersect),
17887 (gst_caps_structure_subtract_field), (gst_caps_subtract),
17888 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17889 (gst_caps_structure_figure_out_union),
17890 (gst_caps_switch_structures), (gst_caps_do_simplify),
17891 (gst_caps_replace), (gst_caps_from_string),
17892 (gst_caps_copy_conditional):
17893 * gst/gstcaps.h:
17894 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17895 (_gst_clock_id_free), (gst_clock_id_unref),
17896 (gst_clock_id_compare_func), (gst_clock_id_wait),
17897 (gst_clock_id_wait_async), (gst_clock_class_init),
17898 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17899 (gst_clock_get_time), (gst_clock_set_time_adjust),
17900 (gst_clock_set_property), (gst_clock_get_property):
17901 * gst/gstclock.h:
17902 * gst/gstcompat.h:
17903 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17904 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17905 * gst/gstdata.h:
17906 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17907 (gst_element_requires_clock), (gst_element_provides_clock),
17908 (gst_element_set_clock), (gst_element_clock_wait),
17909 (gst_element_wait), (gst_element_set_time_delay),
17910 (gst_element_is_indexable), (gst_element_add_pad),
17911 (gst_element_add_ghost_pad), (gst_element_remove_pad),
17912 (pad_compare_name), (gst_element_get_static_pad),
17913 (gst_element_request_pad), (gst_element_get_request_pad),
17914 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17915 (gst_element_class_get_pad_template_list),
17916 (gst_element_class_get_pad_template), (gst_element_error_func),
17917 (gst_element_get_random_pad), (gst_element_get_event_masks),
17918 (gst_element_send_event), (gst_element_seek),
17919 (gst_element_get_query_types), (gst_element_query),
17920 (gst_element_get_formats), (gst_element_convert),
17921 (gst_element_is_locked_state), (gst_element_set_locked_state),
17922 (gst_element_sync_state_with_parent), (gst_element_change_state),
17923 (gst_element_finalize), (gst_element_yield),
17924 (gst_element_interrupt), (gst_element_set_scheduler),
17925 (gst_element_get_scheduler), (gst_element_set_loop_function):
17926 * gst/gstelement.h:
17927 * gst/gstevent.h:
17928 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17929 (gst_format_get_by_nick), (gst_format_get_details),
17930 (gst_format_iterate_definitions):
17931 * gst/gstformat.h:
17932 * gst/gstindex.c: (gst_index_gtype_resolver):
17933 * gst/gstinfo.c:
17934 * gst/gstinfo.h:
17935 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17936 (gst_mem_chunk_free):
17937 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17938 (gst_object_ref), (gst_object_unref), (gst_object_sink),
17939 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17940 (gst_object_dispatch_properties_changed),
17941 (gst_object_set_name_default), (gst_object_set_name),
17942 (gst_object_get_name), (gst_object_set_name_prefix),
17943 (gst_object_get_name_prefix), (gst_object_set_parent),
17944 (gst_object_get_parent), (gst_object_unparent),
17945 (gst_object_check_uniqueness), (gst_object_save_thyself),
17946 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17947 (gst_object_set_property), (gst_object_get_property),
17948 (gst_object_get_path_string):
17949 * gst/gstobject.h:
17950 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17951 (gst_real_pad_init), (gst_real_pad_get_property),
17952 (gst_pad_custom_new), (gst_pad_get_direction),
17953 (gst_pad_set_active), (gst_pad_is_active),
17954 (gst_pad_set_event_function), (gst_pad_is_linked),
17955 (gst_pad_link_free), (gst_pad_link_intersect),
17956 (gst_pad_link_fixate), (gst_pad_set_caps),
17957 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17958 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17959 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17960 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17961 (gst_pad_get_caps), (gst_pad_peer_get_caps),
17962 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17963 (gst_pad_realize), (gst_pad_get_allowed_caps),
17964 (gst_real_pad_dispose), (gst_real_pad_finalize),
17965 (gst_pad_collectv), (gst_pad_collect_valist),
17966 (gst_pad_template_dispose), (gst_pad_template_new),
17967 (gst_pad_get_internal_links):
17968 * gst/gstpad.h:
17969 * gst/gstpipeline.c: (gst_pipeline_dispose),
17970 (gst_pipeline_change_state):
17971 * gst/gstpipeline.h:
17972 * gst/gstplugin.c:
17973 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17974 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17975 * gst/gstpluginfeature.h:
17976 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17977 * gst/gstquery.c: (_gst_query_type_initialize),
17978 (gst_query_type_register), (gst_query_type_get_by_nick),
17979 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17980 * gst/gstquery.h:
17981 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17982 * gst/gstscheduler.c: (gst_scheduler_add_element),
17983 (gst_scheduler_factory_create):
17984 * gst/gststructure.c: (gst_structure_set_parent_refcount),
17985 (gst_structure_free), (gst_structure_set_name),
17986 (gst_structure_id_set_value), (gst_structure_set_value),
17987 (gst_structure_set_valist), (gst_structure_remove_field),
17988 (gst_structure_remove_fields),
17989 (gst_structure_remove_fields_valist),
17990 (gst_structure_remove_all_fields), (gst_structure_foreach),
17991 (gst_structure_map_in_place),
17992 (gst_caps_structure_fixate_field_nearest_int),
17993 (gst_caps_structure_fixate_field_nearest_double):
17994 * gst/gststructure.h:
17995 * gst/gstsystemclock.c: (gst_system_clock_class_init),
17996 (gst_system_clock_init), (gst_system_clock_dispose),
17997 (gst_system_clock_async_thread),
17998 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17999 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18000 * gst/gstsystemclock.h:
18001 * gst/gsttag.c: (gst_tag_list_add_value_internal),
18002 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18003 * gst/gsttaginterface.c:
18004 * gst/gstthread.c: (gst_thread_dispose),
18005 (gst_thread_release_children_locks), (gst_thread_change_state),
18006 (gst_thread_main_loop):
18007 * gst/gsttrashstack.h:
18008 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18009 * gst/gsttypes.h:
18010 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18011 (gst_element_request_pad), (gst_element_get_pad_from_template),
18012 (gst_element_request_compatible_pad),
18013 (gst_element_get_compatible_pad_filtered),
18014 (gst_element_get_compatible_pad), (gst_element_state_get_name),
18015 (gst_element_link_pads_filtered), (gst_element_link_filtered),
18016 (gst_element_link_many), (gst_element_link),
18017 (gst_element_link_pads), (gst_element_unlink_pads),
18018 (gst_element_unlink_many), (gst_element_unlink),
18019 (gst_pad_can_link_filtered), (gst_pad_can_link),
18020 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18021 (gst_object_default_error), (gst_bin_add_many),
18022 (gst_bin_remove_many), (gst_element_populate_std_props),
18023 (gst_element_class_install_std_props), (gst_buffer_merge),
18024 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18025 (link_fold_func), (gst_pad_proxy_setcaps):
18026 * gst/gstutils.h:
18027 * gst/gstvalue.c: (gst_value_deserialize_string):
18028 * gst/parse/grammar.y:
18029 * gst/schedulers/gstbasicscheduler.c:
18030 (gst_basic_scheduler_cothreaded_chain),
18031 (gst_basic_scheduler_chain_recursive_add),
18032 (gst_basic_scheduler_pad_link):
18033 * gst/schedulers/gstoptimalscheduler.c:
18034 (get_group_schedule_function),
18035 (gst_opt_scheduler_state_transition),
18036 (gst_opt_scheduler_add_element), (element_get_reachables_func):
18037 * libs/gst/bytestream/bytestream.c:
18038 * libs/gst/dataprotocol/dataprotocol.c:
18039 (gst_dp_header_from_buffer):
18040 * po/nb.po:
18041 * po/ru.po:
18042 * tests/threadstate/threadstate2.c: (eos):
18043 * tools/gst-compprep.c: (main):
18044 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18045 (print_pad_info), (print_children_info):
18046 * tools/gst-launch.c: (idle_func), (main):
18047 * tools/gst-md5sum.c: (idle_func), (main):
18048 * tools/gst-xmlinspect.c: (print_element_info):
18049 First THREADED backport attempt, focusing on adding locks and
18050 making sure the API is threadsafe. Needs more work. More docs
18051 follow this week.
18053 2005-02-24 Andy Wingo <wingo@pobox.com>
18055 * tests/bench-complexity.scm:
18056 * tests/complexity.gnuplot: New files, good for running complexity
18057 benchmarks.
18059 * tests/Makefile.am:
18060 * tests/complexity.c: New test, sets up N elements, at each level
18061 teeing into M streams per element. Eeeenteresting.
18063 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18064 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18065 running bench-mass_elements.scm.
18067 * tests/bench-mass_elements.scm: New script, runs mass_elements
18068 for various numbers of identities, outputting the results to a
18069 file. Requires guile 1.6. Just for testing.
18071 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
18073 * gst/schedulers/fairscheduler.c:
18074 compile with debug disabled
18076 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
18078 * configure.ac:
18079 hunting season on 0.9 is now OPEN