1 2005-12-06 David Schleef <ds@schleef.org>
3 * libs/gst/base/gstbasetransform.c: speling fix.
5 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7 * docs/libs/tmpl/gstdataprotocol.sgml:
8 * docs/random/omega/testing/gstobject.c:
12 * gst/gstelementfactory.c:
17 * gst/gstpadtemplate.c:
18 * gst/gstregistryxml.c:
23 * libs/gst/base/gstbasesrc.c:
24 * libs/gst/net/gstnetclientclock.c:
25 * libs/gst/net/gstnettimeprovider.c:
26 * plugins/elements/gstfakesrc.c:
27 * plugins/elements/gstfdsrc.c:
28 * plugins/elements/gstfilesrc.c:
29 * plugins/elements/gstidentity.c:
30 * plugins/elements/gstqueue.c:
31 * plugins/elements/gsttypefindelement.c:
32 * plugins/indexers/gstfileindex.c:
33 * plugins/indexers/gstmemindex.c:
34 * tests/check/gst/gsttag.c:
35 * tests/old/examples/cutter/cutter.c:
36 * tests/old/examples/mixer/mixer.c:
37 * tests/old/examples/xml/runxml.c: (main):
38 * tests/old/testsuite/caps/normalisation.c:
39 * tests/old/testsuite/debug/global.c:
40 * tests/old/testsuite/parse/parse1.c:
41 * tools/gst-xmlinspect.c:
42 * win32/common/dirent.c:
45 === release 0.10.0 ===
47 2005-12-05 <thomas (at) apestaart (dot) org>
50 releasing 0.10.0, "Maroilles"
52 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
54 submitted by: Funda Wang <fundawang@linux.net.cn>
58 added Chinese (Traditional) translation
60 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
62 * docs/gst/gstreamer-sections.txt:
63 * docs/libs/tmpl/gstdataprotocol.sgml:
64 * docs/random/thomasvs/TODO:
69 2005-12-05 Andy Wingo <wingo@pobox.com>
71 patch by: Wim Taymans <wim@fluendo.com>
73 * libs/gst/base/gstbasetransform.c
74 (gst_base_transform_prepare_output_buf)
75 (gst_base_transform_buffer_alloc):
76 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
77 alloc_buffer_and_set_caps.
79 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
80 set_caps on the source pad.
81 (gst_pad_alloc_buffer_and_set_caps): New function, does what
82 alloc_buffer used to do. Fixes #322874.
84 * docs/gst/gstreamer-sections.txt:
85 * docs/design/part-negotiation.txt:
86 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
89 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
91 patch by: Sebastien Moutte
94 * win32/common/config.h.in:
95 * win32/vs6/libgstcontroller.dsp:
98 2005-12-05 Wim Taymans <wim@fluendo.com>
100 * gst/gstcaps.c: (gst_caps_is_equal):
101 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
102 (gst_fake_src_create):
103 Back out previous code changes, leave doc updates, file bugs
106 2005-12-05 Wim Taymans <wim@fluendo.com>
108 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
109 (gst_fake_src_get_times), (gst_fake_src_create):
110 * plugins/elements/gstfakesrc.h:
111 Fix broken sync code.
113 2005-12-05 Wim Taymans <wim@fluendo.com>
115 * gst/gstcaps.c: (gst_caps_is_equal):
116 Comparing NULL against !NULL yields different caps, not a
119 2005-12-05 Wim Taymans <wim@fluendo.com>
122 Fix small typo in docs.
124 2005-12-05 Andy Wingo <wingo@pobox.com>
126 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
128 * gst/gst.c (init_post): remove hard-coded 0.9 location for
129 registries/plugins with a MAJORMINOR one.
130 (plugin_desc): Rename library from gstcoreleements to
131 staticelements. Fixes #323222.
133 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
135 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
136 Change debug category to 'collectpads' from 'collect_pads'
139 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
141 patch by: Sebastien Moutte
143 * libs/gst/controller/gstinterpolation.c:
144 use convert function for uint64/double
145 * win32/vs6/libgstcontroller.dsp:
148 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
150 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
151 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
153 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
154 add tests that seem to show that the guint64/gdouble conversions
157 2005-12-02 Wim Taymans <wim@fluendo.com>
159 * gst/gstregistry.c: (gst_registry_add_path):
161 * gst/gstregistryxml.c:
164 2005-12-02 Wim Taymans <wim@fluendo.com>
166 * gst/gstutils.c: (gst_util_uint64_scale_int64),
167 (gst_util_uint64_scale_int):
170 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
173 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
176 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
179 * win32/common/config.h:
180 * win32/vs6/gstreamer.dsw:
181 * win32/vs6/libgstcoreelements.dsp:
182 * win32/vs6/libgstelements.dsp:
183 renamed core elements plugin
185 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
187 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
189 do piece-wise major/minor comparison so 0.9 < 0.10
190 also allow .exe extensions for tools
192 2005-12-02 Michael Smith <msmith@fluendo.com>
195 Escape a % to make gtkdoc happier; bug 322958.
197 === release 0.9.7 ===
199 2005-12-01 <thomas (at) apestaart (dot) org>
202 releasing 0.9.7, "My Dog Has No Nose"
204 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
206 * common/gst-xmlinspect.py:
208 * docs/libs/tmpl/gstdataprotocol.sgml:
209 * docs/random/release:
228 * win32/common/config.h:
229 * win32/common/config.h.in:
230 * win32/vs6/gst_inspect.dsp:
231 * win32/vs6/gst_launch.dsp:
232 * win32/vs6/libgstbase.dsp:
233 * win32/vs6/libgstelements.dsp:
234 * win32/vs6/libgstreamer.dsp:
235 * win32/vs7/GStreamer.vcproj:
236 * win32/vs7/gst-inspect.vcproj:
237 * win32/vs7/gst-launch.vcproj:
238 * win32/vs7/libgstbase.vcproj:
239 bump GST_MAJORMINOR to 0.10
240 reset libtool version
242 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
246 Added Bulgarian translation by (Alexander Shopov)
248 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
250 * tests/check/gst/gstplugin.c:
253 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
255 * common/gst-xmlinspect.py:
256 * common/gtk-doc-plugins.mak:
259 * docs/gst/Makefile.am:
260 * docs/gst/gstreamer-docs.sgml:
261 * docs/gst/gstreamer-sections.txt:
262 * docs/gst/gstreamer.types:
263 * docs/gst/gstreamer.types.in:
264 * docs/plugins/Makefile.am:
265 * docs/plugins/gstreamer-plugins-docs.sgml:
266 * docs/plugins/gstreamer-plugins-sections.txt:
267 * docs/plugins/gstreamer-plugins.types:
268 * docs/plugins/inspect.stamp:
269 * docs/plugins/inspect/plugin-coreelements.xml:
270 * docs/plugins/inspect/plugin-coreindexers.xml:
271 * docs/plugins/scanobj-build.stamp:
273 * plugins/elements/Makefile.am:
274 * plugins/elements/gstelements.c:
275 * plugins/elements/gstfakesink.c:
276 * plugins/elements/gstfakesrc.c:
277 * plugins/elements/gstfilesink.c:
278 * plugins/elements/gstfilesrc.c:
279 * plugins/elements/gstqueue.c:
280 * plugins/indexers/Makefile.am:
281 * plugins/indexers/gstindexers.c:
282 document core plugins in a separate document just like all the
284 rename these plugins to something starting with core
286 2005-12-01 Andy Wingo <wingo@pobox.com>
288 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
289 padding here before, but it missed the commit.
291 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
293 * libs/gst/controller/gstinterpolation.c:
294 whitespace prices have crashed, we should feel free to use some now
295 use gst_guint64_to_gdouble
297 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
299 * libs/gst/controller/gstcontroller.c:
300 * libs/gst/controller/gsthelper.c:
301 * libs/gst/controller/gstinterpolation.c:
302 * libs/gst/controller/lib.c:
303 wrap config.h include
305 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
307 * docs/gst/gstreamer-sections.txt:
310 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
312 * plugins/elements/gstelements.c:
313 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
314 (gst_fd_sink__class_init), (gst_fd_sink__init),
315 (gst_fd_sink__chain), (gst_fd_sink__set_property),
316 (gst_fd_sink__get_property):
317 * plugins/elements/gstfdsink.h:
318 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
319 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
320 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
321 (gst_fd_src_unlock), (gst_fd_src_set_property),
322 (gst_fd_src_get_property), (gst_fd_src_create),
323 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
324 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
325 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
326 (gst_fd_src_uri_handler_init):
327 * plugins/elements/gstfdsrc.h:
328 * plugins/elements/gstqueue.c: (gst_queue_get_type):
331 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
333 * docs/gst/Makefile.am:
334 * docs/gst/gstreamer.types.in:
338 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
345 * tests/benchmarks/complexity.c:
346 * tests/benchmarks/mass-elements.c:
347 * tests/check/Makefile.am:
349 * tools/gst-inspect.c:
350 * tools/gst-xmlinspect.c:
351 various fixes to make
352 --disable-nls --disable-registry --disable-loadsave
353 --disable-parse --disable-gst-debug
354 work and get the core .so down to 360444 bytes after stripping
356 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
361 * docs/random/thomasvs/TODO:
366 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
368 * win32/GStreamer.vcproj:
371 * win32/Makefile.inspect:
372 * win32/Makefile.launch:
373 * win32/Makefile.register:
375 * win32/gst-inspect.vcproj:
376 * win32/gst-launch.vcproj:
377 * win32/gst-register.vcproj:
378 * win32/gstelements.vcproj:
379 * win32/gstgetbits.def:
380 * win32/gstgetbits.vcproj:
381 * win32/gstreamer-dbg.def:
382 * win32/gstreamer.def:
383 * win32/libgstbase.def:
384 * win32/libgstbase.vcproj:
385 * win32/link_oldruntime.c:
390 move even more stuff, win32/ is nice and clean now
392 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
394 * libs/gst/control/.cvsignore:
399 * win32/gstbytestream.def:
400 * win32/gstbytestream.vcproj:
402 * win32/gstenumtypes.c:
403 * win32/gstenumtypes.h:
404 * win32/gstoptimalscheduler.vcproj:
405 * win32/gstversion.h:
407 * win32/testsuite/bins.vcproj:
408 * win32/testsuite/bytestream.vcproj:
409 * win32/testsuite/caps.vcproj:
410 * win32/testsuite/cleanup.vcproj:
411 * win32/testsuite/clock.vcproj:
412 * win32/testsuite/debug.vcproj:
413 * win32/testsuite/dlopen.vcproj:
414 * win32/testsuite/dynparams.vcproj:
415 * win32/testsuite/elements.vcproj:
416 * win32/testsuite/ghostpads.vcproj:
417 * win32/testsuite/indexers.vcproj:
418 * win32/testsuite/negotiation.vcproj:
419 * win32/testsuite/parse.vcproj:
420 * win32/testsuite/plugin.vcproj:
421 * win32/testsuite/refcounting.vcproj:
422 * win32/testsuite/schedulers.vcproj:
423 * win32/testsuite/states.vcproj:
424 * win32/testsuite/tags.vcproj:
425 * win32/testsuite/threads.vcproj:
426 remove old win32 stuff that isn't maintained and should be
429 2005-11-30 Andy Wingo <wingo@pobox.com>
431 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
432 loading the gst.interfaces python module bork.
434 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
435 available since GLib 2.2. Fixes #318031.
437 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
442 * check/elements/.cvsignore:
443 * check/elements/fakesrc.c:
444 * check/elements/fdsrc.c:
445 * check/elements/identity.c:
446 * check/generic/.cvsignore:
447 * check/generic/states.c:
448 * check/gst-libs/.cvsignore:
449 * check/gst-libs/controller.c:
450 * check/gst-libs/gdp.c:
451 * check/gst/.cvsignore:
452 * check/gst/capslist.h:
454 * check/gst/gstbin.c:
455 * check/gst/gstbuffer.c:
456 * check/gst/gstbus.c:
457 * check/gst/gstcaps.c:
458 * check/gst/gstelement.c:
459 * check/gst/gstevent.c:
460 * check/gst/gstghostpad.c:
461 * check/gst/gstiterator.c:
462 * check/gst/gstmessage.c:
463 * check/gst/gstminiobject.c:
464 * check/gst/gstobject.c:
465 * check/gst/gstpad.c:
466 * check/gst/gstpipeline.c:
467 * check/gst/gstplugin.c:
468 * check/gst/gstsegment.c:
469 * check/gst/gststructure.c:
470 * check/gst/gstsystemclock.c:
471 * check/gst/gsttag.c:
472 * check/gst/gstutils.c:
473 * check/gst/gstvalue.c:
474 * check/net/.cvsignore:
475 * check/net/gstnetclientclock.c:
476 * check/net/gstnettimeprovider.c:
477 * check/pipelines/.cvsignore:
478 * check/pipelines/cleanup.c:
479 * check/pipelines/simple_launch_lines.c:
480 * check/pipelines/stress.c:
481 * check/states/.cvsignore:
482 * check/states/sinks.c:
484 * examples/Makefile.am:
485 * examples/appreader/.cvsignore:
486 * examples/appreader/Makefile.am:
487 * examples/appreader/appreader.c:
488 * examples/controller/.cvsignore:
489 * examples/controller/Makefile.am:
490 * examples/controller/audio-example.c:
491 * examples/cutter/.cvsignore:
492 * examples/cutter/Makefile.am:
493 * examples/cutter/cutter.c:
494 * examples/cutter/cutter.h:
495 * examples/events/Makefile.am:
496 * examples/events/seek.c:
497 * examples/helloworld/.cvsignore:
498 * examples/helloworld/Makefile.am:
499 * examples/helloworld/helloworld.c:
500 * examples/helloworld2/.cvsignore:
501 * examples/helloworld2/Makefile.am:
502 * examples/helloworld2/helloworld2.c:
503 * examples/launch/.cvsignore:
504 * examples/launch/Makefile.am:
505 * examples/launch/mp3parselaunch.c:
506 * examples/launch/mp3play:
507 * examples/manual/.cvsignore:
508 * examples/manual/Makefile.am:
509 * examples/manual/extract.pl:
510 * examples/metadata/Makefile.am:
511 * examples/metadata/read-metadata.c:
512 * examples/mixer/.cvsignore:
513 * examples/mixer/Makefile.am:
514 * examples/mixer/mixer.c:
515 * examples/mixer/mixer.h:
516 * examples/pingpong/.cvsignore:
517 * examples/pingpong/Makefile.am:
518 * examples/pingpong/pingpong.c:
519 * examples/plugins/.cvsignore:
520 * examples/plugins/Makefile.am:
521 * examples/plugins/example.c:
522 * examples/plugins/example.h:
523 * examples/pwg/.cvsignore:
524 * examples/pwg/Makefile.am:
525 * examples/pwg/extract.pl:
526 * examples/queue/.cvsignore:
527 * examples/queue/Makefile.am:
528 * examples/queue/queue.c:
529 * examples/queue2/.cvsignore:
530 * examples/queue2/Makefile.am:
531 * examples/queue2/queue2.c:
532 * examples/queue3/.cvsignore:
533 * examples/queue3/Makefile.am:
534 * examples/queue3/queue3.c:
535 * examples/queue4/.cvsignore:
536 * examples/queue4/Makefile.am:
537 * examples/queue4/queue4.c:
538 * examples/retag/.cvsignore:
539 * examples/retag/Makefile.am:
540 * examples/retag/retag.c:
541 * examples/retag/transcode.c:
542 * examples/thread/.cvsignore:
543 * examples/thread/Makefile.am:
544 * examples/thread/thread.c:
545 * examples/typefind/.cvsignore:
546 * examples/typefind/Makefile.am:
547 * examples/typefind/typefind.c:
548 * examples/xml/.cvsignore:
549 * examples/xml/Makefile.am:
550 * examples/xml/createxml.c:
551 * examples/xml/runxml.c:
553 * tests/check/Makefile.am:
554 * testsuite/.cvsignore:
555 * testsuite/Makefile.am:
557 * testsuite/caps/.cvsignore:
558 * testsuite/caps/Makefile.am:
559 * testsuite/caps/app_fixate.c:
560 * testsuite/caps/audioscale.c:
561 * testsuite/caps/caps.c:
562 * testsuite/caps/caps.h:
563 * testsuite/caps/caps_strings:
564 * testsuite/caps/compatibility.c:
565 * testsuite/caps/deserialize.c:
566 * testsuite/caps/enumcaps.c:
567 * testsuite/caps/eratosthenes.c:
568 * testsuite/caps/filtercaps.c:
569 * testsuite/caps/fixed.c:
570 * testsuite/caps/fraction-convert.c:
571 * testsuite/caps/fraction-multiply-and-zero.c:
572 * testsuite/caps/intersect2.c:
573 * testsuite/caps/intersection.c:
574 * testsuite/caps/normalisation.c:
575 * testsuite/caps/random.c:
576 * testsuite/caps/renegotiate.c:
577 * testsuite/caps/sets.c:
578 * testsuite/caps/simplify.c:
579 * testsuite/caps/string-conversions.c:
580 * testsuite/caps/structure.c:
581 * testsuite/caps/subtract.c:
582 * testsuite/caps/union.c:
583 * testsuite/debug/.cvsignore:
584 * testsuite/debug/Makefile.am:
585 * testsuite/debug/category.c:
586 * testsuite/debug/commandline.c:
587 * testsuite/debug/global.c:
588 * testsuite/debug/output.c:
589 * testsuite/debug/printf_extension.c:
590 * testsuite/dlopen/.cvsignore:
591 * testsuite/dlopen/Makefile.am:
592 * testsuite/dlopen/dlopen_gst.c:
593 * testsuite/dlopen/loadgst.c:
594 * testsuite/elements/.cvsignore:
595 * testsuite/elements/Makefile.am:
596 * testsuite/elements/gst-inspect-check.in:
597 * testsuite/elements/struct_i386.h:
598 * testsuite/elements/struct_size.c:
599 * testsuite/indexers/.cvsignore:
600 * testsuite/indexers/Makefile.am:
601 * testsuite/indexers/cache1.c:
602 * testsuite/indexers/indexdump.c:
603 * testsuite/parse/.cvsignore:
604 * testsuite/parse/Makefile.am:
605 * testsuite/parse/parse1.c:
606 * testsuite/parse/parse2.c:
607 * testsuite/plugin/.cvsignore:
608 * testsuite/plugin/Makefile.am:
609 * testsuite/plugin/README:
610 * testsuite/plugin/dynamic.c:
611 * testsuite/plugin/linked.c:
612 * testsuite/plugin/loading.c:
613 * testsuite/plugin/registry.c:
614 * testsuite/plugin/static.c:
615 * testsuite/plugin/static2.c:
616 * testsuite/plugin/testplugin.c:
617 * testsuite/plugin/testplugin2.c:
618 * testsuite/plugin/testplugin2_s.c:
619 * testsuite/plugin/testplugin_s.c:
620 * testsuite/refcounting/.cvsignore:
621 * testsuite/refcounting/Makefile.am:
622 * testsuite/refcounting/bin.c:
623 * testsuite/refcounting/element.c:
624 * testsuite/refcounting/element_pad.c:
625 * testsuite/refcounting/mainloop.c:
626 * testsuite/refcounting/mem.c:
627 * testsuite/refcounting/mem.h:
628 * testsuite/refcounting/object.c:
629 * testsuite/refcounting/pad.c:
630 * testsuite/refcounting/sched.c:
631 * testsuite/refcounting/thread.c:
632 * testsuite/states/.cvsignore:
633 * testsuite/states/Makefile.am:
634 * testsuite/states/bin.c:
635 * testsuite/states/locked.c:
636 * testsuite/states/parent.c:
637 * testsuite/threads/.cvsignore:
638 * testsuite/threads/159566.c:
639 * testsuite/threads/159852.c:
640 * testsuite/threads/Makefile.am:
641 * testsuite/threads/queue.c:
642 * testsuite/threads/signals.c:
643 * testsuite/threads/staticrec.c:
644 * testsuite/threads/thread.c:
645 * testsuite/threads/threadb.c:
646 * testsuite/threads/threadc.c:
647 * testsuite/threads/threadd.c:
648 * testsuite/threads/threade.c:
649 * testsuite/threads/threadf.c:
650 * testsuite/threads/threadg.c:
651 * testsuite/threads/threadh.c:
652 * testsuite/threads/threadi.c:
653 move all of these under tests
655 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
661 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
663 * docs/gst/gstreamer-sections.txt:
664 * tests/sched/.cvsignore:
665 * tests/sched/Makefile.am:
666 * tests/sched/cases/(fs-fs).xml:
667 * tests/sched/cases/(fs-i-fs).xml:
668 * tests/sched/cases/(fs-i-i-fs).xml:
669 * tests/sched/cases/(fs-i-q[i-fs]).xml:
670 * tests/sched/dynamic-pipeline.c:
671 * tests/sched/interrupt1.c:
672 * tests/sched/interrupt2.c:
673 * tests/sched/interrupt3.c:
674 * tests/sched/runtestcases:
675 * tests/sched/runxml.c:
676 * tests/sched/sched-stress.c:
677 * tests/sched/sort.c:
678 * tests/sched/testcases:
679 * tests/sched/testcases1.tc:
680 * tests/seeking/.cvsignore:
681 * tests/seeking/Makefile.am:
682 * tests/seeking/seeking1.c:
683 * tests/threadstate/.cvsignore:
684 * tests/threadstate/Makefile.am:
685 * tests/threadstate/test1.c:
686 * tests/threadstate/test2.c:
687 * tests/threadstate/threadstate1.c:
688 * tests/threadstate/threadstate2.c:
689 * tests/threadstate/threadstate3.c:
690 * tests/threadstate/threadstate4.c:
691 * tests/threadstate/threadstate5.c:
692 remove obsolete tests
694 * tests/bench-complexity.scm:
695 * tests/bench-mass_elements.scm:
696 * tests/complexity.c:
697 * tests/complexity.gnuplot:
698 * tests/instantiate/.cvsignore:
699 * tests/instantiate/Makefile.am:
700 * tests/instantiate/caps.c:
701 * tests/mass_elements.c:
702 * tests/network-clock-utils.scm:
703 * tests/network-clock.scm:
705 First pass at cleaning up tests/ dir before moving the rest
706 Combined with CVS surgery
708 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
711 queue has moved, update
713 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
715 * docs/gst/gstreamer-sections.txt:
716 remove double entries from the docs
718 * gst/gstinfo.c: (_gst_debug_init):
719 remove the THREAD debug category
723 * docs/gst/gstreamer.types:
724 * plugins/elements/gstqueue.c: (gst_queue_get_type),
725 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
726 completely move queue and fix up debugging categories
728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
730 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
731 make initialization portable, using LL is not
733 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
735 * win32/common/gstconfig.h:
738 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
740 * win32/common/libgstreamer.def:
741 rename symbols; sort base section
743 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
745 * gst/gstclock.c: (do_linear_regression):
746 remove crack non-portable handrolled DEBUG macro
748 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
750 * docs/random/release:
752 * win32/common/gstenumtypes.c: (register_gst_object_flags),
753 (gst_object_flags_get_type), (register_gst_bin_flags),
754 (gst_bin_flags_get_type), (register_gst_buffer_flag),
755 (gst_buffer_flag_get_type), (register_gst_bus_flags),
756 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
757 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
758 (gst_caps_flags_get_type), (register_gst_clock_return),
759 (gst_clock_return_get_type), (register_gst_clock_entry_type),
760 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
761 (gst_clock_flags_get_type), (register_gst_state),
762 (gst_state_get_type), (register_gst_state_change_return),
763 (gst_state_change_return_get_type), (register_gst_state_change),
764 (gst_state_change_get_type), (register_gst_element_flags),
765 (gst_element_flags_get_type), (register_gst_core_error),
766 (gst_core_error_get_type), (register_gst_library_error),
767 (gst_library_error_get_type), (register_gst_resource_error),
768 (gst_resource_error_get_type), (register_gst_stream_error),
769 (gst_stream_error_get_type), (register_gst_event_type_flags),
770 (gst_event_type_flags_get_type), (register_gst_event_type),
771 (gst_event_type_get_type), (register_gst_seek_type),
772 (gst_seek_type_get_type), (register_gst_seek_flags),
773 (gst_seek_flags_get_type), (register_gst_format),
774 (gst_format_get_type), (register_gst_index_certainty),
775 (gst_index_certainty_get_type), (register_gst_index_entry_type),
776 (gst_index_entry_type_get_type),
777 (register_gst_index_lookup_method),
778 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
779 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
780 (gst_index_resolver_method_get_type), (register_gst_index_flags),
781 (gst_index_flags_get_type), (register_gst_debug_level),
782 (gst_debug_level_get_type), (register_gst_debug_color_flags),
783 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
784 (gst_iterator_result_get_type), (register_gst_iterator_item),
785 (gst_iterator_item_get_type), (register_gst_message_type),
786 (gst_message_type_get_type), (register_gst_mini_object_flags),
787 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
788 (gst_pad_link_return_get_type), (register_gst_flow_return),
789 (gst_flow_return_get_type), (register_gst_activate_mode),
790 (gst_activate_mode_get_type), (register_gst_pad_direction),
791 (gst_pad_direction_get_type), (register_gst_pad_flags),
792 (gst_pad_flags_get_type), (register_gst_pad_presence),
793 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
794 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
795 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
796 (gst_plugin_error_get_type), (register_gst_plugin_flags),
797 (gst_plugin_flags_get_type), (register_gst_rank),
798 (gst_rank_get_type), (register_gst_query_type),
799 (gst_query_type_get_type), (register_gst_tag_merge_mode),
800 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
801 (gst_tag_flag_get_type), (register_gst_task_state),
802 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
803 (gst_alloc_trace_flags_get_type),
804 (register_gst_type_find_probability),
805 (gst_type_find_probability_get_type), (register_gst_uri_type),
806 (gst_uri_type_get_type), (register_gst_parse_error),
807 (gst_parse_error_get_type):
808 * win32/common/gstenumtypes.h:
809 * win32/common/gstversion.h:
810 update visual studio generated files
812 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
814 * win32/vs6/libgstbase.dsp:
815 * win32/vs6/libgstelements.dsp:
816 update project files for new locations
818 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
828 * docs/random/LICENSE:
831 2005-11-30 Edward Hervey <edward@fluendo.com>
833 * gst/gsttypefind.c: (gst_type_find_register):
835 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
836 (gst_type_find_factory_dispose):
837 * gst/gsttypefindfactory.h:
838 Fix memory leak in GstTypeFindFactory.
840 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
843 * plugins/elements/Makefile.am:
844 * plugins/elements/gstelements.c:
845 * plugins/elements/gstqueue.c:
846 move queue from core to the elements plugin
848 2005-11-29 Andy Wingo <wingo@pobox.com>
850 * libs/gst/base/gstbasetransform.h:
851 * libs/gst/base/gstbasesrc.h:
852 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
854 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
855 of pointers by which to pad very extensible base classes (like the
856 ones in libs/gst/base).
858 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
860 * docs/gst/gstreamer-docs.sgml:
861 * docs/gst/gstreamer-sections.txt:
862 * docs/libs/gstreamer-libs-docs.sgml:
863 * docs/libs/gstreamer-libs-sections.txt:
864 moving documentation from core to lib
866 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
870 * docs/gst/Makefile.am:
872 * gst/base/.cvsignore:
873 * gst/base/Makefile.am:
875 * gst/base/gstadapter.c:
876 * gst/base/gstadapter.h:
877 * gst/base/gstbasesink.c:
878 * gst/base/gstbasesink.h:
879 * gst/base/gstbasesrc.c:
880 * gst/base/gstbasesrc.h:
881 * gst/base/gstbasetransform.c:
882 * gst/base/gstbasetransform.h:
883 * gst/base/gstcollectpads.c:
884 * gst/base/gstcollectpads.h:
885 * gst/base/gstpushsrc.c:
886 * gst/base/gstpushsrc.h:
887 * gst/base/gsttypefindhelper.c:
888 * gst/base/gsttypefindhelper.h:
889 * gst/check/Makefile.am:
890 * gst/check/gstcheck.c:
891 * gst/check/gstcheck.h:
892 * gst/net/Makefile.am:
894 * gst/net/gstnetclientclock.c:
895 * gst/net/gstnetclientclock.h:
896 * gst/net/gstnettimepacket.c:
897 * gst/net/gstnettimepacket.h:
898 * gst/net/gstnettimeprovider.c:
899 * gst/net/gstnettimeprovider.h:
900 * libs/gst/Makefile.am:
901 * libs/gst/base/Makefile.am:
902 * libs/gst/base/gstbasetransform.c:
903 * libs/gst/check/Makefile.am:
904 * plugins/elements/Makefile.am:
906 CVS surgery + support to move base, check, and net out of gst
909 2005-11-29 Andy Wingo <wingo@pobox.com>
911 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
913 * gst/gststructure.h (struct _GstStructure): Only one pointer of
916 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
918 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
920 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
922 * gst/gstobject.h: (struct _GstObject): Only one pointer of
923 padding; reduces object size by about 30%. We don't expect
924 anything else to go into gstobject.
926 * gst/gstminiobject.h (struct _GstMiniObject)
927 (struct _GstMiniObjectClass): Only one pointer of padding; the
928 payload is only a pointer and two ints anyway. For the class there
929 are only two methods as well.
931 * gst/gstelement.h (struct _GstElementClass): Removed
932 the state_changed signal callback, it is not used.
934 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
936 * docs/gst/gstreamer.types:
937 fix includes, though they are a little dinky
939 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
942 look in the right place for elements, a lot more chance of
945 remove indexers and elements subdirs
946 * plugins/Makefile.am:
947 make indexers conditional
949 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
953 * plugins/elements/Makefile.am:
954 * plugins/elements/gstcapsfilter.c:
955 * plugins/elements/gstfilesink.c:
956 * plugins/elements/gstfilesrc.c:
957 * plugins/elements/gstidentity.c:
958 * plugins/indexers/Makefile.am:
959 do CVS surgery and related build fixery to move elements
960 and indexers in a new gstreamer/plugins directory, out of the
963 2005-11-29 Andy Wingo <wingo@pobox.com>
966 * pkgconfig/gstreamer-net-uninstalled.pc.in:
967 * pkgconfig/gstreamer-net.pc.in:
968 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
971 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
974 * tools/gst-complete.1.in:
975 * tools/gst-complete.c:
976 * tools/gst-compprep.1.in:
977 * tools/gst-compprep.c:
978 removing -compprep and -complete
980 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
982 * gst/gstevent.c: (gst_event_new_new_segment),
983 (gst_event_parse_new_segment):
985 fix #320529 - clean up new_segment API and structure.
986 Let's hope everyone was using the methods, and not the structure.
988 2005-11-29 Edward Hervey <edward@fluendo.com>
990 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
991 (gst_base_sink_event), (gst_base_sink_do_sync),
992 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
993 Properly handle non GST_FORMAT_TIME segment
994 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
995 Properly handle non GST_FORMAT_TIME segment
997 This function is valid if the accumulator is 0 and the format
998 is different from the requested format.
1000 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1002 * docs/gst/gstreamer-sections.txt:
1003 Add gst_query_new_seeking and gst_query_parse_seeking to the
1006 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1008 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1009 Treat a pad alloc with new caps the same as if we were not
1010 negotiated, in order to allow a changing upstream output
1011 to produce a new format of data.
1013 2005-11-29 Edward Hervey <edward@fluendo.com>
1015 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1016 (gst_base_transform_event), (gst_base_transform_eventfunc):
1017 The event virtual method is now properly implemented, with a default
1019 Sub classes should call the parent_class event method. They should
1020 return FALSE if they had a problem handling the given event, or don't
1021 want GstBaseTransform to send that even downstream
1022 * gst/elements/gstidentity.c: (gst_identity_class_init),
1023 (gst_identity_init), (gst_identity_event),
1024 (gst_identity_transform_ip), (gst_identity_set_property),
1025 (gst_identity_get_property):
1026 * gst/elements/gstidentity.h:
1027 Added the single-segment boolean property.
1028 If set to TRUE, it will output a single segment of data, starting from
1029 0, will eat up all incoming newsegment, and modify the timestamp of the
1032 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1034 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1035 Don't ref NULL target pad (#322751). Improve docs.
1037 2005-11-29 Michael Smith <msmith@fluendo.com>
1039 * gst/gstregistryxml.c: (load_plugin):
1040 Don't crash if we failed to load a feature from a plugin.
1042 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1044 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1046 use more check API and less GLib API
1048 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1051 don't run checks if we don't have check
1053 remove the registry when running make torture
1054 * docs/gst/gstreamer-sections.txt:
1055 remove second multiply
1056 * gst/gstqueue.c: (gst_queue_loop):
1057 fix a compile warning when disabling debug
1059 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1062 Hey! Let's print the pad name if the pointer != NULL instead
1063 of when it == NULL :-)
1065 2005-11-28 Wim Taymans <wim@fluendo.com>
1067 * check/gst/gstutils.c: (GST_START_TEST):
1068 Updated check, add some scaling accuracy checking code.
1070 * gst/gstutils.c: (gst_util_div128_64),
1071 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1072 (gst_util_uint64_scale_int):
1073 Fix 6 times faster division code. Optimize for common
1074 1/1 and less common X/1 cases.
1076 2005-11-28 Wim Taymans <wim@fluendo.com>
1078 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1081 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1082 (do_linear_regression), (gst_clock_add_observation):
1084 Release lock when the clock cannot be slaved.
1085 Catch the case where the regression returned an invalid denominator.
1087 * gst/gstutils.c: (gst_util_div128_64_iterate),
1088 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1089 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1090 Add protentially more performant non-iterative 128/64 divide function
1091 that unfortunatly does not work yet.
1092 Shortcut the trivial 0/X = 0 case.
1093 Remove the warnings on overflow.
1095 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1097 * gst/gstplugin.c: (gst_plugin_register_func):
1098 everything causing a plugin not to load should be at least a WARNING
1100 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1102 * docs/random/ensonic/dparams.txt:
1103 some TODOs for the next dev cycle
1104 * libs/gst/controller/gstcontroller.c:
1105 (gst_controlled_property_set_interpolation_mode),
1106 (gst_controlled_property_new):
1107 * libs/gst/controller/gstcontroller.h:
1108 use base type to assign acccessor functions
1110 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1112 * check/Makefile.am:
1113 Oops, that should have been top_srcdir
1115 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1117 * check/Makefile.am:
1118 * check/elements/fdsrc.c: (GST_START_TEST):
1119 Use a cmdline define to specify the location of a file to use for
1120 testing, to avoid breaking distcheck.
1122 2005-11-28 Andy Wingo <wingo@pobox.com>
1124 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1126 2005-11-28 Edward Hervey <edward@fluendo.com>
1128 * tools/gst-launch.c: (main):
1129 Clarify the output strings, makes it easier to translate.
1132 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1135 don't try and build net if we don't even have <sys/socket.h>
1137 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1139 * check/Makefile.am:
1140 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1141 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1142 Add tests for fdsrc seekability
1144 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1145 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1146 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1147 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1148 * gst/elements/gstfdsrc.h:
1149 fdsrc should not be a 'live' source.
1150 Implement seeking on seekable fd's.
1152 * gst/gstquery.c: (gst_query_new_seeking),
1153 (gst_query_parse_seeking):
1155 Implement SEEKING query functions:
1156 *_new_seeking and *_parse_seeking
1158 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1160 * gst/gstelement.c: (gst_element_dispose):
1163 * gst/gstiterator.c:
1164 * gst/gststructure.c:
1167 * libs/gst/controller/gstcontroller.c:
1168 (gst_controlled_property_set_interpolation_mode):
1169 * libs/gst/controller/gstcontroller.h:
1170 * libs/gst/controller/gstinterpolation.c:
1171 (interpolate_none_get_enum_value_array):
1172 support controlling enums
1174 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1177 Improve documentation for gst_value_union().
1180 Change return value for union, intersect and subtract functions
1181 from gint to gboolean.
1183 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1185 * gst/gstvalue.c: (gst_value_serialize_any_list),
1186 (gst_value_transform_any_list_string),
1187 (gst_value_deserialize_list), (gst_value_deserialize_array),
1188 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1189 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1190 (gst_value_set_fraction_range_full),
1191 (gst_value_deserialize_fraction_range),
1192 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1193 (gst_value_deserialize_boolean),
1194 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1195 (gst_value_serialize_float), (gst_value_deserialize_float),
1196 (gst_string_wrap), (gst_value_deserialize_string),
1197 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1198 (gst_value_union_int_range_int_range),
1199 (gst_value_intersect_int_range_int_range),
1200 (gst_value_intersect_double_range_double_range),
1201 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1202 (gst_value_subtract_int_range_int_range),
1203 (gst_value_subtract_double_double_range),
1204 (gst_value_subtract_double_range_double_range),
1205 (gst_value_deserialize_fraction):
1207 Use gint, gdouble and gchar in our API instead of int, double and
1208 char (and make usage in gstvalue.c more consistent).
1210 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1212 * check/Makefile.am:
1213 * libs/gst/controller/Makefile.am:
1214 * libs/gst/dataprotocol/Makefile.am:
1215 fix up Makefile.am and remove GST_ENABLE_NEW
1217 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1221 * gst/base/Makefile.am:
1222 * gst/check/Makefile.am:
1223 * gst/elements/Makefile.am:
1224 * gst/net/Makefile.am:
1225 update LDFLAGS use some more
1227 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1229 * common/m4/gst-doc.m4:
1232 2005-11-26 Edward Hervey <edward@fluendo.com>
1234 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1235 This shouldn't issue a g_warning since it returns NULL if it
1236 couldn't find the plugin, and all functions using this behave
1237 properly on a NULL return. Switching to a GST_WARNING.
1239 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1241 * gst/gstbin.c: (gst_bin_handle_message_func):
1242 Don't leak clock messages.
1244 2005-11-25 Wim Taymans <wim@fluendo.com>
1246 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1247 (gst_util_uint64_scale_int):
1248 Optimisations, remove unneeded vars.
1250 2005-11-25 Wim Taymans <wim@fluendo.com>
1252 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1253 Added more checks for the high precision uint64 cases.
1255 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1256 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1257 Implement high precision (guint64 * guint64) / guint64.
1259 2005-11-24 Wim Taymans <wim@fluendo.com>
1261 * gst/base/gstbasesrc.c: (gst_base_src_query):
1262 Fix wrong percentage query.
1264 * gst/gstutils.c: (gst_util_uint64_scale),
1265 (gst_util_uint64_scale_int):
1266 Add some more common cases that can be handled
1267 efficiently to _scale.
1269 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1271 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1272 (gst_mini_object_suite):
1273 don't use check calls from threads; check probably isn't
1274 threadsafe and using a lock to make it threadsafe would
1275 defeat the purpose of this check
1276 * gst/check/gstcheck.c:
1277 * gst/check/gstcheck.h:
1278 use GST_DEBUG some more
1280 2005-11-24 Wim Taymans <wim@fluendo.com>
1282 * gst/gstutils.c: (gst_util_uint64_scale),
1283 (gst_util_uint64_scale_int):
1284 Chain trivial case to _scale_int.
1286 2005-11-24 Wim Taymans <wim@fluendo.com>
1288 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1289 Added test for scaling.
1294 * gst/gstutils.c: (gst_util_uint64_scale_int):
1295 Implemented high precision scaling code.
1297 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1300 do not crash on pad==NULL
1302 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1304 Patch by: Stefan Kost
1306 * common/gtk-doc.mak:
1307 * docs/gst/Makefile.am:
1308 * docs/libs/Makefile.am:
1309 Fix distcheck issues for the libraries docs build
1312 2005-11-24 Michael Smith <msmith@fluendo.com>
1314 * docs/manual/basics-helloworld.xml:
1315 Fix bug #315027: memory leak in example code in docs.
1317 2005-11-24 Michael Smith <msmith@fluendo.com>
1319 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1320 Unlock the PREROLL_LOCK in a failure case.
1322 2005-11-24 Wim Taymans <wim@fluendo.com>
1324 * docs/gst/gstreamer-sections.txt:
1325 * gst/base/gstadapter.h:
1326 * gst/base/gstbasesink.h:
1327 * gst/base/gstbasesrc.h:
1328 * gst/base/gstbasetransform.h:
1329 * gst/base/gstpushsrc.h:
1330 * gst/elements/gstfakesink.h:
1331 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1332 * gst/elements/gstfakesrc.h:
1333 * gst/elements/gstfilesink.h:
1334 * gst/elements/gstfilesrc.h:
1337 * gst/gstbuffer.c: (_gst_buffer_copy):
1340 * gst/gstchildproxy.c:
1343 * gst/gstelementfactory.c:
1344 * gst/gstelementfactory.h:
1346 * gst/gstghostpad.h:
1348 * gst/gstinterface.h:
1349 * gst/gstminiobject.c:
1350 * gst/gstminiobject.h:
1353 * gst/gstpadtemplate.h:
1354 * gst/gstpipeline.h:
1355 * gst/gstpluginfeature.h:
1360 * gst/gsttagsetter.c:
1361 * gst/gsttagsetter.h:
1364 * gst/gsttypefind.h:
1367 * gst/net/gstnetclientclock.c:
1368 * gst/net/gstnetclientclock.h:
1369 * gst/net/gstnettimepacket.c:
1370 * gst/net/gstnettimeprovider.c:
1371 * gst/net/gstnettimeprovider.h:
1374 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1376 * configure.ac: back to HEAD
1378 === release 0.9.6 ===
1380 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1383 releasing 0.9.6, "Always On Time"
1385 2005-11-23 Wim Taymans <wim@fluendo.com>
1387 * docs/gst/gstreamer-sections.txt:
1388 * gst/glib-compat.c:
1389 * gst/gsttagsetter.c:
1391 * gst/net/gstnetclientclock.c:
1392 * gst/net/gstnettimepacket.h:
1395 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1397 * docs/faq/using.xml:
1398 * docs/libs/tmpl/gstcontrol.sgml:
1399 * docs/manual/advanced-dparams.xml:
1400 * docs/manual/appendix-checklist.xml:
1401 * docs/manual/basics-elements.xml:
1402 * docs/pwg/other-source.xml:
1403 * docs/random/moving-plugins:
1405 * tools/gst-launch.1.in:
1406 remove mentions of sinesrc
1408 2005-11-23 Michael Smith <msmith@fluendo.com>
1410 * docs/gst/gstreamer-sections.txt:
1411 Update for new API and API changes.
1413 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1415 Documentation typo fix.
1416 * gst/net/gstnettimepacket.c:
1417 Documentation fixes for arguments.
1419 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1421 * gst/gststructure.c: (gst_structure_get_fraction),
1422 (gst_structure_parse_value),
1423 (gst_structure_fixate_field_nearest_fraction):
1424 * gst/gststructure.h:
1425 * gst/gstutils.c: (gst_util_uint64_scale_int):
1427 * scripts/update-funcnames:
1429 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1430 Make gst_structure_fixate_field_nearest_fraction take a numerator
1431 and denominator argument instead of a GValue
1432 add gst_structure_get_fraction helper function.
1434 2005-11-23 Wim Taymans <wim@fluendo.com>
1436 * docs/design/part-TODO.txt:
1439 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1440 * gst/net/gstnetclientclock.h:
1441 Use parent fields for timeout and window_size.
1443 2005-11-23 Andy Wingo <wingo@pobox.com>
1445 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1446 rate_num/rate_denom change.
1448 * gst/net/gstnetclientclock.c
1449 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1450 OBJECT_LOCK. Don't call add_observation with the lock.
1452 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1454 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1456 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1457 deal with rate as a fraction whose numerator and denominator are
1458 GstClockTime values.
1459 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1460 master; the other fields are protected by the SLAVE_LOCK.
1461 (do_linear_regression): Note that this must be called with the
1463 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1464 OBJECT_LOCK. Call set_calibration instead of touching the
1466 (gst_clock_set_property, gst_clock_get_property): Protect
1467 master/slave parameters with the SLAVE_LOCK.
1469 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1470 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1471 note that all of the instance variables that add_observation and
1472 the set_master functions use are protected by that lock and not
1474 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1476 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1477 the caller to take the object lock.
1479 2005-11-23 Wim Taymans <wim@fluendo.com>
1481 * gst/gsterror.c: (_gst_core_errors_init):
1483 Add error for clock stuff.
1485 * gst/gstpipeline.c: (gst_pipeline_change_state),
1486 (gst_pipeline_set_clock):
1487 Post clock error when clock cannot be used in a pipeline.
1489 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1491 * docs/gst/gstreamer-sections.txt:
1492 make two symbols from gstinfo private for the docs
1493 * gst/base/gstcollectpads.h:
1495 fix doc typos, update docs
1497 2005-11-22 Wim Taymans <wim@fluendo.com>
1499 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1500 (gst_base_sink_wait), (gst_base_sink_do_sync),
1501 (gst_base_sink_handle_event):
1502 * gst/base/gstbasesink.h:
1503 No need to store the clock, the parent element class already
1506 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1507 Updates for clock_set returning a gboolean
1509 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1510 (gst_clock_id_wait_async), (gst_clock_class_init),
1511 (gst_clock_init), (gst_clock_finalize),
1512 (gst_clock_get_internal_time), (gst_clock_get_time),
1513 (gst_clock_slave_callback), (gst_clock_set_master),
1514 (gst_clock_get_master), (do_linear_regression),
1515 (gst_clock_add_observation), (gst_clock_set_property),
1516 (gst_clock_get_property):
1518 Implement master/slave. When setting a clock as a slave, a
1519 periodic timeout is scheduled to sample master and slave times.
1520 Then the slave clock is recalibrated to match offset and rate
1521 of the master clock.
1522 Update logging a bit.
1523 Add flag so that a clock can state that is cannot be slaved to
1526 * gst/gstelement.c: (gst_element_set_clock):
1528 The set clock returns a gboolean for when an element cannot
1529 deal with the selected clock in the pipeline.
1531 * gst/gstpipeline.c: (gst_pipeline_change_state),
1532 (gst_pipeline_set_clock):
1533 * gst/gstpipeline.h:
1534 Handle the case where the selected clock cannot be set on
1537 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1538 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1539 (gst_net_client_clock_set_property),
1540 (gst_net_client_clock_get_property),
1541 (gst_net_client_clock_observe_times):
1542 * gst/net/gstnetclientclock.h:
1543 Use regression code in GstClock parent, remove duplicated
1546 2005-11-22 Michael Smith <msmith@fluendo.com>
1548 * gst/gstutils.c: (gst_util_clock_time_scale):
1550 * docs/gst/gstreamer-sections.txt:
1551 Rename method to have extra underscore.
1553 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1555 * gst/elements/Makefile.am:
1556 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1557 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1558 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1559 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1560 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1561 * gst/elements/gstfakesrc.h:
1562 * gst/gstqueue.c: (queue_leaky_get_type):
1563 correctly fix GEnumValues so that nick is the short lowercase
1565 * tools/gst-inspect.c: (print_element_properties_info):
1566 also show the nick, since it's useful to use from parse_launch
1570 2005-11-22 Michael Smith <msmith@fluendo.com>
1572 * gst/gstutils.c: (gst_util_clocktime_scale):
1574 * docs/gst/gstreamer-sections.txt:
1575 Add util method for scaling a clocktime by a fraction. Useful
1576 implementation is left as an exercise for the reader.
1578 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1580 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1581 If needed, allocate storage in the destination value during
1584 2005-11-22 Edward Hervey <edward@fluendo.com>
1586 * docs/gst/gstreamer-sections.txt:
1591 * gst/gstutils.c: (gst_util_set_object_arg):
1592 * tools/gst-compprep.c: (main):
1593 * tools/gst-inspect.c: (print_element_properties_info):
1594 Removed GstURI, closes bug #321061
1596 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1598 * check/gst/gststructure.c: (GST_START_TEST):
1599 * gst/gststructure.c: (gst_structure_parse_value):
1600 Oops, broke automatic string type parsing.
1601 Add a test to catch it in future.
1603 2005-11-22 Andy Wingo <wingo@pobox.com>
1605 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1606 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1607 Actually rename the function implementations. Grr.
1609 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1611 * check/gst/capslist.h:
1613 * check/gst/gststructure.c: (GST_START_TEST),
1614 (gst_structure_suite):
1615 Test automatic value type detection in gst_structure_from_string.
1616 * gst/gststructure.c: (gst_structure_parse_value):
1617 Add fraction as a type we try and guess automatically in
1618 caps/structure strings.
1620 2005-11-22 Andy Wingo <wingo@pobox.com>
1622 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1624 * gst/gsttagsetter.h:
1625 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1626 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1627 (gst_tag_setter_add_tag_valist)
1628 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1629 _add_values, _add_valist, and _add_valist_values. Since this is an
1630 interface the function suffixes should be more explicit so
1631 language binding don't end up with element.add_valist ->
1632 gst_tag_setter_add_valist, for example. Fixes #322069.
1634 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1636 * check/gst/gstcaps.c: (GST_START_TEST):
1637 Extend caps string tests to check that a caps to string
1638 conversion is reversible and produces the same caps.
1640 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1641 Output "fraction" as the generic type fraction range, so caps
1642 serialisation and deserialisation works.
1643 * check/gst/capslist.h:
1644 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1645 Support 'MIN' and 'MAX' for deserialising fractions.
1647 2005-11-22 Andy Wingo <wingo@pobox.com>
1649 * gst/gstevent.h (gst_event_new_new_segment)
1650 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1651 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1652 Renamed from *_newsegment, *_buffersize, *_notarget.
1654 * scripts/update-funcnames: New script, performs the changes
1657 2005-11-22 Wim Taymans <wim@fluendo.com>
1659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1660 Make sure the GstFlowReturn is returned.
1662 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1663 (gst_bus_add_signal_watch):
1665 add gst_bus_add_signal_watch_full.
1667 * gst/gstplugin.c: (gst_plugin_load_file):
1668 Small style cleanup.
1670 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1672 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1673 Block the fakesrc srcpad when we send an event, to avoid
1674 contention on the stream_lock causing random test failures.
1676 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1678 * check/gst/gstvalue.c: (GST_START_TEST):
1679 * gst/gstvalue.c: (gst_value_fraction_subtract):
1682 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1685 include "gstchildproxy.h"
1686 * gst/gstchildproxy.h:
1687 * libs/gst/controller/gstcontroller.h:
1688 use G_GNUC_NULL_TERMINATED
1690 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1692 * check/gst/capslist.h:
1693 * check/gst/gstcaps.c: (GST_START_TEST):
1694 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1695 * gst/gststructure.c: (gst_structure_parse_range),
1696 (gst_structure_fixate_field_nearest_fraction):
1697 * gst/gststructure.h:
1698 * gst/gstvalue.c: (gst_value_init_fraction_range),
1699 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1700 (gst_value_collect_fraction_range),
1701 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1702 (gst_value_set_fraction_range_full),
1703 (gst_value_get_fraction_range_min),
1704 (gst_value_get_fraction_range_max),
1705 (gst_value_serialize_fraction_range),
1706 (gst_value_transform_fraction_range_string),
1707 (gst_value_compare_fraction_range),
1708 (gst_value_deserialize_fraction_range),
1709 (gst_value_intersect_fraction_fraction_range),
1710 (gst_value_intersect_fraction_range_fraction_range),
1711 (gst_value_subtract_fraction_fraction_range),
1712 (gst_value_subtract_fraction_range_fraction),
1713 (gst_value_subtract_fraction_range_fraction_range),
1714 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1715 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1716 (gst_value_transform_string_fraction), (_gst_value_initialize):
1718 Implement fraction ranges and extend GstFraction to support
1719 arithmetic subtraction, as well as deserialization from integer
1720 strings such as "100"
1721 Add a testsuite as for int and double range set operations
1723 2005-11-21 Andy Wingo <wingo@pobox.com>
1727 * gst/gststructure.h: Add glib-compat.h.
1729 2005-11-21 Wim Taymans <wim@fluendo.com>
1731 * gst/gstbin.c: (gst_bin_change_state_func):
1734 2005-11-21 Wim Taymans <wim@fluendo.com>
1737 And add a nice define too.
1739 2005-11-21 Wim Taymans <wim@fluendo.com>
1741 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1742 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1743 (gst_segment_set_duration), (gst_segment_set_last_stop),
1744 (gst_segment_set_seek), (gst_segment_set_newsegment),
1745 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1748 Make binding friendly.
1750 2005-11-21 Andy Wingo <wingo@pobox.com>
1752 * gst/gsttagsetter.h:
1754 * gst/gststructure.h:
1756 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1759 * gst/gsterror.c (_gst_core_errors_init):
1760 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1763 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1764 (noinst_HEADERS): noinst the -private.
1766 2005-11-21 Michael Smith <msmith@fluendo.com>
1769 * gst/gstregistry.h:
1770 Remove unimplemented declarations for which we can see no sensible
1773 2005-11-21 Andy Wingo <wingo@pobox.com>
1775 * gst/gst.h: Include glib-compat.h.
1777 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1779 * gst/glib-compat.c: Include the public and the private header.
1781 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1785 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1787 * check/gst/gstevent.c (create_custom_events): Check that
1788 FLUSH_STOP is serialized.
1790 * check/elements/identity.c (event_func):
1791 * check/elements/fakesrc.c (event_func): No stream lock, the core
1794 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1795 stream lock taking, yay.
1797 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1798 ensure that core takes the stream lock.
1800 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1803 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1804 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1805 it already. For the flush start we do take it though so we get the
1806 right preroll state change messages.
1808 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1809 the stream lock here, the core does it for us.
1811 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1812 GST_STREAM_GET_LOCK.
1813 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1814 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1815 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1816 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1817 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1818 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1820 * gst/gstpad.c: Update for stream lock name change.
1822 * gst/base/gstbasesink.c: Update for preroll lock name change.
1824 2005-11-21 Wim Taymans <wim@fluendo.com>
1826 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1827 (gst_clock_get_master):
1829 * gst/gstsystemclock.c: (gst_system_clock_init):
1830 Convert Clock flags to object flags.
1831 Added methods to manage master/slave clocks.
1833 2005-11-21 Wim Taymans <wim@fluendo.com>
1835 * check/gst/gstsegment.c: (GST_START_TEST):
1836 * docs/design/part-TODO.txt:
1837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1838 (gst_base_sink_event), (gst_base_sink_do_sync),
1839 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1840 (gst_base_sink_query), (gst_base_sink_change_state):
1841 * gst/base/gstbasesink.h:
1842 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1843 (gst_base_src_default_newsegment),
1844 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1845 (gst_base_src_get_range), (gst_base_src_loop),
1846 (gst_base_src_change_state):
1847 * gst/base/gstbasesrc.h:
1848 * gst/base/gstbasetransform.c:
1849 (gst_base_transform_prepare_output_buf),
1850 (gst_base_transform_event), (gst_base_transform_change_state):
1851 * gst/base/gstbasetransform.h:
1852 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1853 (gst_collect_pads_event):
1854 * gst/base/gstcollectpads.h:
1855 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1856 (gst_fake_src_create):
1857 * gst/elements/gstfakesrc.h:
1858 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1859 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1860 (gst_segment_set_last_stop), (gst_segment_set_seek),
1861 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1862 (gst_segment_to_running_time), (gst_segment_clip):
1864 More segment updates, replace code in plugins with segment
1867 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1869 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1870 Don't ignore sscanf results
1872 2005-11-21 Andy Wingo <wingo@pobox.com>
1874 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1877 * *.c: Ran scripts/update-macros. Oh yes.
1879 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1880 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1883 * scripts/update-macros: New script. Run it on your files to
1884 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1887 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1889 * docs/gst/Makefile.am:
1890 * docs/gst/gstreamer-docs.sgml:
1891 * docs/gst/gstreamer-sections.txt:
1892 * docs/gst/gstreamer.types:
1894 more docs fixes, add new api to the docs
1896 2005-11-21 Andy Wingo <wingo@pobox.com>
1898 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1899 state_broadcast call.
1901 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1903 2005-11-21 Julien MOUTTE <julien@moutte.net>
1905 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1906 function calls for arrays.
1908 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1910 * docs/random/ensonic/media-device-daemon.txt:
1911 wild idea, can this be done?
1912 * docs/gst/gstreamer-sections.txt:
1917 * gst/gstpluginfeature.c:
1921 doc fixes and additions
1923 2005-11-21 Andy Wingo <wingo@pobox.com>
1925 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1926 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1927 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1928 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1929 private to the basesrc implementation.
1931 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1932 behalf of event function if necessary. It should no longer be
1933 necessary to take the stream lock in pad's event functions. Fixes
1936 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1937 * docs/gst/gstreamer-sections.txt:
1938 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1939 (gst_structure_fixate_field_nearest_double),
1940 (gst_structure_fixate_field_boolean):
1941 * gst/gststructure.h:
1942 * win32/common/libgstreamer.def:
1943 * win32/gstreamer.def:
1945 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1948 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1950 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1951 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1952 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1953 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1954 (gst_fdsrc_uri_handler_init):
1955 * gst/elements/gstfdsrc.h:
1956 Port fd:// URI handler from 0.8 to fdsrc
1958 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1960 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1961 (gst_value_serialize_fourcc):
1963 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1964 consistent with our other format defines (#320324).
1966 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1968 * gst/gstvalue.c: (gst_value_is_fixed):
1969 Revert previous commit. Value lists are by definition
1970 not fixed, as they are a list of possible values.
1972 2005-11-21 Andy Wingo <wingo@pobox.com>
1974 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1975 during the stable series if we need it. Fixes #319178.
1977 * gst/gstevent.c (gst_event_new_filler): Removed.
1979 * check/gst/gstevent.c: Update comment about filler events.
1981 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1983 * gst/gstvalue.c: (gst_value_is_fixed):
1984 Should handle both value arrays and value lists.
1986 2005-11-21 Andy Wingo <wingo@pobox.com>
1988 patch by: Alessandro Dessina <alessandro nnva org>
1990 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1991 functions to access arrays. Fixes #321962.
1993 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1995 * docs/gst/gstreamer.types:
1996 gst_collectpads_get_type => gst_collect_pads_get_type.
1998 * gst/base/gstbasetransform.c:
1999 Remove unused SIGNAL_HANDOFF enum.
2001 2005-11-21 Andy Wingo <wingo@pobox.com>
2003 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2004 the event type (upstream, downstream, serialized). Renamed
2005 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2006 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2007 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2009 * gst/gstevent.c: Update for new CUSTOM event names.
2011 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2014 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2017 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2019 * docs/gst/gstreamer-sections.txt:
2020 * win32/common/libgstbase.def:
2021 * win32/libgstbase.def:
2022 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2023 (gst_collect_pads_class_init), (gst_collect_pads_init),
2024 (gst_collect_pads_finalize), (gst_collect_pads_new),
2025 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2026 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2027 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2028 (gst_collect_pads_start), (gst_collect_pads_stop),
2029 (gst_collect_pads_peek), (gst_collect_pads_pop),
2030 (gst_collect_pads_available), (gst_collect_pads_read),
2031 (gst_collect_pads_flush), (gst_collect_pads_event),
2032 (gst_collect_pads_chain):
2033 * gst/base/gstcollectpads.h:
2034 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2035 unimplemented functions as unimplemented. Add padding to
2036 GstCollectData. (#320766, #320423)
2038 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2041 Improve docs for DURATION message (usage of duration parameter)
2044 2005-11-20 Wim Taymans <wim@fluendo.com>
2046 * check/Makefile.am:
2047 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2051 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2052 (gst_segment_set_seek), (gst_segment_set_newsegment),
2053 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2056 Added segment helper structure and methods. Not fully implemented
2058 Added segment check.
2060 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2062 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2063 Add a deserialisation test for fractions
2064 * examples/metadata/read-metadata.c: (message_loop),
2065 (make_pipeline), (main):
2066 Fix up metadata reading sample.
2067 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2069 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2070 Don't try and fixate empty caps
2071 * gst/gst_private.h:
2072 Wrap in G_BEGIN_DECLS/G_END_DECLS
2073 * gst/gstvalue.c: (gst_value_collect_fraction),
2074 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2075 (gst_value_transform_string_fraction),
2076 (gst_value_compare_fraction):
2077 Add some extra guards to ensure that we don't end up
2078 with an invalid denominator of 0 in a gstfraction and
2079 that fractions always get reduced.
2081 2005-11-20 Wim Taymans <wim@fluendo.com>
2083 * docs/gst/gstreamer-sections.txt:
2094 2005-11-20 Wim Taymans <wim@fluendo.com>
2096 * docs/design/part-TODO.txt:
2098 Make a proper enum of the flag.
2100 2005-11-19 Wim Taymans <wim@fluendo.com>
2102 * docs/design/part-TODO.txt:
2103 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2104 (gst_format_to_quark), (gst_format_register):
2106 * gst/gstquery.c: (_gst_query_initialize),
2107 (gst_query_type_get_name), (gst_query_type_to_quark),
2108 (gst_query_type_register):
2110 Add type to quark and type to string conversions.
2112 2005-11-19 Andy Wingo <wingo@pobox.com>
2114 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2117 2005-11-19 Wim Taymans <wim@fluendo.com>
2119 * docs/design/part-TODO.txt:
2120 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2121 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2122 (gst_bin_handle_message_func):
2124 Make message handling overridable.
2126 2005-11-19 Andy Wingo <wingo@pobox.com>
2128 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2131 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2133 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2134 is a GstClockTime. Fixes #321710.
2136 * gst/gstclock.h (GstClock): Remove offset property. Add
2137 internal_calibration and external_calibration. Fix padding. Pad
2138 also by GstClockTime so we don't run into problems.
2140 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2141 (gst_clock_get_rate_offset): Remove.
2142 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2145 * gst/gstutils.c (g_static_rec_cond_wait)
2146 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2148 * gst/gstbin.c: Remove terrible continue_state prototype.
2150 * gst/gstelement.h (gst_element_continue_state): Make public.
2153 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2154 by continue_state. Fixes #319389.
2156 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2157 Really fixes #168438. However I don't see anywhere where the
2158 filter function is called... stupid GStreamer...
2160 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2161 don't have a dispose function, so it won't get called when the
2162 object is unreffed, but oh well!
2164 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2165 allows a destroy function to be set so user_data can be freed.
2167 (gst_index_set_filter): Call gst_index_set_filter_full.
2169 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2171 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2172 string should produce an error, given the lack of a way to
2173 represent NULL strings. Fixes #165650.
2176 * gst/gstvalue.c (gst_value_array_append_value)
2177 (gst_value_array_prepend_value, gst_value_array_get_size)
2178 (gst_value_array_get_value): New API, copied from
2179 gst_value_list_*, only operates on arrays.
2180 (gst_value_list_append_value, gst_value_list_prepend_value)
2181 (gst_value_list_concat, gst_value_list_get_size)
2182 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2184 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2185 init_list, because it works on both.
2186 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2187 (gst_value_copy_list_or_array): Renamed from copy_list.
2188 (gst_value_free_list_or_array): Renamed from free_list.
2189 (gst_value_collect_list_or_array): Renamed from collect_list.
2190 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2191 (gst_value_list_or_array_peek_pointer): Renamed from
2193 (_gst_value_array_value_table, _gst_value_list_value_table):
2194 Update value table functions.
2195 (gst_value_compare_list_or_array): Renamed from compare_list.
2197 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2201 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2202 GstTagList*. Fixes #143472.
2204 * gst/gststructure.h: Clarify what the foreach/map functions can
2205 or can't do to their arguments.
2207 2005-11-18 Wim Taymans <wim@fluendo.com>
2209 * gst/gstclock.c: (gst_clock_set_calibration),
2210 (gst_clock_get_calibration):
2212 Calibration can be set with internal time equal to current
2215 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2221 2005-11-18 Andy Wingo <wingo@pobox.com>
2224 * pkgconfig/gstreamer-net.pc.in:
2225 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2226 * pkgconfig/Makefile.am: Add net pkgconfig files.
2228 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2231 * gst/gstghostpad.c:
2237 2005-11-18 Andy Wingo <wingo@pobox.com>
2239 * gst/net/gstnetclientclock.c: Turn off debugging.
2241 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2242 times connverge somewhat. Can't make a real test.
2244 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2245 integer arithmetic. Return the minimum of the domain, which can be
2246 set as "internal" for gst_clock_set_calibration.
2247 (gst_net_client_clock_observe_times): Call _set_calibration.
2248 (gst_net_client_clock_new): Call _set_calibration instead of
2251 * check/net/gstnetclientclock.c (test_functioning): Use the right
2255 * gst/gstclock.c (gst_clock_get_calibration)
2256 (gst_clock_set_calibration): New functions, obsolete the ones I
2257 added yesterday. Doh. Precision issues mean we have to extrapolate
2258 from a point in the more recent past than 1970.
2259 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2261 (gst_clock_adjust_unlocked): Use the right calibration data.
2263 2005-11-18 Edward Hervey <edward@fluendo.com>
2265 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2266 Also reset the ->current_* values in READY->PAUSED
2268 2005-11-18 Andy Wingo <wingo@pobox.com>
2270 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2271 Whoops, check the right fd. Also add some debugging.
2272 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2273 (do_linear_regression): Add a crapload of debugging. Subtract off
2274 the minimum values from the input series to discard unneeded bits.
2275 Use only int arithmetic. There is still double arithmetic when
2276 calculating the intercept that needs fixing. Return boolean to
2277 indicate success; FALSE would mean the domain or range is too
2278 great. Still needs fixes.
2280 2005-11-18 Wim Taymans <wim@fluendo.com>
2282 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2283 For the current position in stream time, we need to subtract
2286 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2287 Release lock before calling the callback function of async
2290 2005-11-18 Andy Wingo <wingo@pobox.com>
2292 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2293 Port goes all the way to MAXUINT16.
2295 * gst/net/gstnettimeprovider.c: Make the port range the same as
2296 for the kernel: 0 assigns, otherwise ports are less than
2299 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2302 * check/net/gstnetclientclock.c (test_functioning): Add the start
2305 2005-11-18 Wim Taymans <wim@fluendo.com>
2307 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2308 (gst_bin_remove_func), (bin_bus_handler):
2310 Removing a clock provider from a bin, triggers a clock lost message
2311 so that a new clock will be selected.
2312 Adding a clock to a bin triggers a clock provider message.
2313 Make sure we reselect a clock when we received a clock lost message.
2314 Keep a reference to the element that provided the clock.
2316 2005-11-18 Andy Wingo <wingo@pobox.com>
2318 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2319 the clock initially so it produces values around the base time.
2320 (gst_net_client_clock_class_init): Typo fix.
2321 (gst_net_client_clock_thread): Add note on when the socket gets
2324 2005-11-17 Wim Taymans <wim@fluendo.com>
2326 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2327 Free remote and local time arrays.
2329 2005-11-17 Wim Taymans <wim@fluendo.com>
2331 * gst/net/gstnetclientclock.c: (do_linear_regression),
2332 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2333 Fix compilation, uninitialized vars and a forgotten continue.
2335 2005-11-17 Andy Wingo <wingo@pobox.com>
2337 * check/Makefile.am (check_PROGRAMS):
2338 * check/net/gstnetclientclock.c: Add a most minimal test for the
2339 net client clock. More to come later.
2342 * gst/net/Makefile.am: Add netclientclock.
2344 * gst/net/gstnetclientclock.h:
2345 * gst/net/gstnetclientclock.c: New files, implement an untested
2346 GstClock that takes its time from a network time provider.
2347 Implements the algorithm in network-clock.scm.
2349 * tests/network-clock.scm (*window-size*): Rename from
2351 * tests/network-clock.scm (network-time):
2352 * tests/network-clock-utils.scm (q-push): Update callers.
2354 2005-11-17 Wim Taymans <wim@fluendo.com>
2356 * gst/gstbin.c: (gst_bin_provide_clock_func),
2357 (gst_bin_sort_iterator_new):
2358 And unref the child too..
2360 2005-11-17 Wim Taymans <wim@fluendo.com>
2362 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2363 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2364 Refactor the sort iterator so it can be used while holding the
2366 Make clock selection select a clock closest to the source.
2368 2005-11-17 Michael Smith <msmith@fluendo.com>
2370 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2371 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2373 Anonymous structs are a gcc (and some other compilers) extension, so
2374 don't use them. Since this is only for ABI-compatibility, and our
2375 API/ABI freeze is over in a few days, this whole thing will only
2376 last a few days, so don't bother trying to think up a meaningful
2377 name for the struct.
2379 2005-11-17 Andy Wingo <wingo@pobox.com>
2381 * gst/gstclock.h (GstClock): Add rate and offset properties,
2382 preserving ABI stability. Add rate/offset accessors. Will file bug
2383 for the freeze break.
2385 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2386 and offset, trying to keep precision and avoiding
2388 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2389 functions. Make gst_clock_set_time_adjust obsolete.
2390 (gst_clock_set_time_adjust): Note that this function is obsolete.
2393 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2394 greppable by using GST_PADDING-1+1.
2396 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2398 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2400 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2401 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2403 * gst/gstpadtemplate.h:
2404 * gst/gstpluginfeature.h:
2405 Don't use c++ style comments in headers (#321638).
2407 2005-11-16 Andy Wingo <wingo@pobox.com>
2409 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2412 * check/net/gstnettimeprovider.c: Check to see that the time
2413 provider actually provides times. Works, yo!
2415 2005-11-16 Wim Taymans <wim@fluendo.com>
2417 * check/Makefile.am:
2420 * check/elements/fakesrc.c: (GST_START_TEST):
2421 Set element to NULL before disposing it.
2423 2005-11-16 Andy Wingo <wingo@pobox.com>
2425 * gst/net/Makefile.am:
2427 * gst/net/gstnettimeprovider.c:
2428 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2429 provider, include it from gstnet.h, and add it to the build.
2431 * gst/net/gstnettimepacket.h:
2432 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2433 sending and receiving.
2435 2005-11-16 Wim Taymans <wim@fluendo.com>
2437 * check/Makefile.am:
2438 Enable valgrind check.
2440 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2441 (gst_fake_src_alloc_buffer):
2444 2005-11-16 Wim Taymans <wim@fluendo.com>
2446 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2447 Call parent finalize too.
2449 2005-11-16 Wim Taymans <wim@fluendo.com>
2451 * check/Makefile.am:
2452 Enable valgrind check that should work fine now.
2454 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2455 * gst/gstqueue.c: (gst_queue_init):
2456 Fix memleaks in pad allocation.
2458 2005-11-16 Andy Wingo <wingo@pobox.com>
2460 * gst/net/Makefile.am:
2461 * gst/net/gstnet.h: New part of core to hold network elements and
2462 objects. Put in core because it exposes API that applications want
2463 to use. The library is named libgstnet-tempname right now because
2464 of the existing libgstnet in gst-plugins-base. Solution is
2465 probably to rename the one in plugins-base; will file a bug for
2468 * gst/net/gstnettimeprovider.c:
2469 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2470 get_time call over the network.
2473 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2475 * check/Makefile.am:
2476 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2477 get additions shortly.
2479 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2481 * gst/gstpad.c: (gst_pad_new_from_static_template):
2483 add gst_pad_new_from_static_template functions
2484 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2485 (gst_check_setup_sink_pad):
2486 * gst/elements/gsttee.c: (gst_tee_init):
2489 2005-11-16 Wim Taymans <wim@fluendo.com>
2491 * gst/gstpad.c: (gst_pad_pause_task):
2492 Removed warning, it's not really an error either.
2494 2005-11-16 Wim Taymans <wim@fluendo.com>
2496 * gst/base/gstbasetransform.c:
2497 (gst_base_transform_prepare_output_buf),
2498 (gst_base_transform_event):
2499 Check if the caps are NULL, this can happen if the element
2500 is shutting down and the pad caps are set to NULL.
2502 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2504 * gst/elements/gsttee.c: (gst_tee_init):
2505 fix pad template leak in tee
2507 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2509 * gst/glib-compat.c: (g_value_dup_gst_object):
2510 * gst/glib-compat.h:
2511 * gst/gstpad.c: (gst_pad_set_property):
2512 use gst_object_ref when setting the pad template; this will
2513 trigger the pad template leaks on GLib 2.6 and the slaves
2515 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2517 * gst/glib-compat.c: (gst_flags_get_first_value):
2518 * gst/glib-compat.h:
2519 * gst/gstregistryxml.c:
2520 remove functions copied from GLib 2.6
2522 2005-11-16 Michael Smith <msmith@fluendo.com>
2525 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2526 do, but only breaks with newer valgrind versions. We're not a
2527 valgrind tool, we have no link-time dependencies on libcoregrind.
2529 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2531 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2536 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2538 * gst/base/gstbasesrc.c: (gst_base_src_init):
2539 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2540 * gst/gstqueue.c: (gst_queue_init):
2541 * gst/gstregistryxml.c: (load_feature):
2542 Revert all these unrefs, they don't even pass make check !
2544 2005-11-15 Johan Dahlin <johan@gnome.org>
2546 * gst/base/gstbasesrc.c: (gst_base_src_init):
2547 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2548 * gst/gstqueue.c: (gst_queue_init):
2549 Free pad templates, fixes a couple of leaks.
2551 2005-11-15 Daniel Fischer <dan at f3c dot com>
2553 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2555 * gst/gstpad.c: (gst_pad_get_property):
2556 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2557 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2560 2005-11-15 Wim Taymans <wim@fluendo.com>
2565 2005-11-15 Andy Wingo <wingo@pobox.com>
2567 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2569 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2570 using GST_CLOCK_TIME_NONE to disable base time management.
2571 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2572 time if it was NONE before.
2573 (gst_pipeline_change_state): Only munge the base time if
2574 stream_time != GST_CLOCK_TIME_NONE.
2576 * check/gst/gstpipeline.c (test_base_time): Punt around the
2577 problem of the probe not being called, because that's not the
2578 issue I'm looking at. Add a check that setting stream_time to NONE
2579 disables base time management.
2581 2005-11-15 Wim Taymans <wim@fluendo.com>
2583 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2584 segment_stop == -1 at startup.
2586 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2587 (gst_base_transform_change_state):
2588 Init segment values at start.
2590 2005-11-15 Wim Taymans <wim@fluendo.com>
2592 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2593 0 segment values are 0 in any format.
2595 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2596 * gst/base/gstbasetransform.h:
2597 Parse newsegment correctly in basetransform
2599 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2600 Sync to clock using updated segment values.
2602 2005-11-15 Andy Wingo <wingo@pobox.com>
2604 * check/gst/gstpipeline.c (test_base_time): Add check that the
2605 base time and stream time are reset correctly.
2607 2005-11-15 Wim Taymans <wim@fluendo.com>
2609 * docs/design/part-TODO.txt:
2610 Some more TODO items.
2612 2005-11-15 Andy Wingo <wingo@pobox.com>
2614 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2615 error if the user selected "no clock" as the clocking method.
2617 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2618 timestamps with live capture.
2620 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2621 is 0 but we are a live source, timestamp the buffers using the
2624 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2626 * docs/gst/gstreamer-sections.txt:
2628 * gst/gstghostpad.c:
2633 2005-11-14 Wim Taymans <wim@fluendo.com>
2636 add suppressions from Wim's Debian machine
2638 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2641 add suppressions from Andy's AMD64 Ubuntu machine
2643 2005-11-14 Andy Wingo <wingo@pobox.com>
2645 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2646 STATE_LOCK not necessary. Fixes #311489.
2648 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2651 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2652 this function is not implemented.
2654 2005-11-14 Julien MOUTTE <julien@moutte.net>
2656 * gst/base/gstbasetransform.c:
2657 (gst_base_transform_prepare_output_buf):
2658 Ref the source pad caps while we need them.
2661 2005-11-11 Wim Taymans <wim@fluendo.com>
2663 * docs/gst/gstreamer-sections.txt:
2664 Added some docs for GstCollectData.
2666 * gst/base/gstadapter.c:
2667 Some small code example fix.
2669 * gst/base/gstcollectpads.c:
2670 * gst/base/gstcollectpads.h:
2673 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2675 * configure.ac: back to HEAD
2677 === release 0.9.5 ===
2679 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2682 releasing 0.9.5, "Bike Lunch Day"
2684 2005-11-11 Wim Taymans <wim@fluendo.com>
2686 * gst/gstbuffer.c: (_gst_buffer_copy):
2689 * gst/gstcaps.c: (gst_caps_is_equal):
2691 Make _is_equal fast in the trivial cases.
2693 * gst/gstminiobject.c:
2694 * gst/gstminiobject.h:
2695 More docs. Spifify .h file.
2700 2005-11-11 Wim Taymans <wim@fluendo.com>
2702 * gst/base/gstbasetransform.c:
2703 (gst_base_transform_prepare_output_buf),
2704 (gst_base_transform_handle_buffer):
2706 If we're processing a buffer and need to allocate an output
2707 buffer, we cannot accept a format change. If we did get a
2708 format change, we have to alloc a buffer ourselves of the
2711 2005-11-11 Wim Taymans <wim@fluendo.com>
2713 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2714 While checking the flag for reentrancy in the gstcaps function
2715 is nice to detect recursive invocations, it also makes it
2716 impossible to call getcaps from multiple threads, which must be
2717 possible. So, checking for recursive calls has to go.
2719 2005-11-11 Michael Smith <msmith@fluendo.com>
2721 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2722 Don't sync on buffers that fall partially outside our current
2723 segment. Prevents an assertion failure/abort playing some files.
2725 2005-11-10 Andy Wingo <wingo@pobox.com>
2727 * check/gst/gstbin.c (test_message_state_changed_children): Style
2730 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2731 gst_bus_poll with the signal watch. Ensures that poll and a signal
2732 watch see the same messages.
2734 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2735 a poll and a watch at the same time get the same messages.
2737 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2739 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2740 * gst/gstcaps.c: (gst_caps_intersect):
2741 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2742 and it's not needed.
2744 2005-11-10 Wim Taymans <wim@fluendo.com>
2746 * docs/design/part-TODO.txt:
2749 2005-11-10 Wim Taymans <wim@fluendo.com>
2751 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2752 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2753 (gst_base_src_do_sync), (gst_base_src_get_range):
2754 Implement clock sync in base class.
2756 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2758 patch by: Tim-Philipp Müller <tim at centricular dot net>
2760 * gst/gststructure.c: (gst_structure_parse_field),
2761 (gst_structure_from_string):
2762 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2763 so that gst_parse_launch() can deal with spaces in filtered link
2764 caps (fixes #164479)
2765 * check/gst/capslist.h:
2766 * check/gst/gststructure.c: (GST_START_TEST):
2767 add unit tests for this change
2769 2005-11-10 Wim Taymans <wim@fluendo.com>
2771 * docs/gst/gstreamer-sections.txt:
2774 Fix docs, move some STATE macros to private.
2776 2005-11-10 Wim Taymans <wim@fluendo.com>
2778 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2779 Added check for bug #317341
2783 Some more spiffifying.
2785 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2786 Call peer linkfunction if we are a source pad. Totally fixes
2790 Update docs, source pads should call the peer linkfunction
2791 so they can atomically perform the pad link.
2793 2005-11-09 Wim Taymans <wim@fluendo.com>
2797 Uber-spiffy-spiffify some more.
2799 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2801 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2802 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2803 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2804 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2805 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2806 * gst/gstpad.c: (gst_pad_init):
2807 Use GST_DEBUG_FUNCPTR() more extensively.
2809 2005-11-09 Wim Taymans <wim@fluendo.com>
2811 * gst/gstobject.c: (gst_object_class_init):
2813 Documentation fixes.
2815 2005-11-09 Edward Hervey <edward@fluendo.com>
2817 * gst/gsttypefindfactory.c:
2820 2005-11-09 Edward Hervey <edward@fluendo.com>
2822 * gst/base/gsttypefindhelper.c:
2823 * gst/gsttypefind.c:
2824 * gst/gsttypefind.h:
2827 2005-11-09 Wim Taymans <wim@fluendo.com>
2829 * gst/gstiterator.c:
2836 2005-11-09 Wim Taymans <wim@fluendo.com>
2842 2005-11-09 Wim Taymans <wim@fluendo.com>
2844 * docs/gst/gstreamer-sections.txt:
2845 Moved the message async delivery private lock and cond
2846 to the private section.
2852 2005-11-09 Edward Hervey <edward@fluendo.com>
2854 * docs/gst/gstreamer-sections.txt:
2857 Document GstURIHandler
2859 2005-11-09 Wim Taymans <wim@fluendo.com>
2861 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2862 (gst_iterator_find_custom):
2863 * gst/gstiterator.h:
2866 2005-11-09 Wim Taymans <wim@fluendo.com>
2869 Document another field.
2871 * gst/gststructure.c:
2872 * gst/gststructure.h:
2875 2005-11-09 Wim Taymans <wim@fluendo.com>
2880 2005-11-09 Wim Taymans <wim@fluendo.com>
2882 * docs/gst/gstreamer-sections.txt:
2883 Added some new macros.
2890 2005-11-09 Wim Taymans <wim@fluendo.com>
2892 * docs/design/part-TODO.txt:
2893 Some more items for the TODO
2899 2005-11-09 Andy Wingo <wingo@pobox.com>
2901 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2902 to work on something else now tho...
2904 * gst/base/gstadapter.c: More adapter docs.
2906 * gst/elements/gstfilesink.c (gst_file_sink_start)
2907 (gst_file_sink_stop): New functions, replace the state change
2909 (gst_file_sink_class_init): Hook up the start and stop functions.
2910 (gst_file_sink_base_init): Don't set the state change handler any
2911 more. It was a bit ugly too, being set from here...
2912 (gst_file_sink_get_property, gst_file_sink_set_property):
2914 (gst_file_sink_set_location): More robust check that doesn't call
2917 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2919 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2920 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2922 2005-11-08 Wim Taymans <wim@fluendo.com>
2924 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2925 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2926 (gst_base_sink_chain), (gst_base_sink_change_state):
2927 * gst/base/gstbasesink.h:
2928 * gst/base/gstbasesrc.h:
2931 Avoid excessive typechecking in macros.
2933 * gst/gstminiobject.c: (gst_mini_object_get_type),
2934 (gst_mini_object_init), (gst_mini_object_new),
2935 (gst_mini_object_free):
2936 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2937 (gst_object_finalize):
2938 Remove cruft code, optimize alloc_trace.
2940 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2942 * docs/faq/gst-uninstalled:
2943 fix up PS1 for systems that try to reset it
2945 2005-11-07 Wim Taymans <wim@fluendo.com>
2947 * gst/base/gstbasesrc.c: (gst_base_src_init),
2948 (gst_base_src_get_range):
2949 Set the segment_end to -1 initially. Fixed typefind.
2951 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2953 * gst/base/gstadapter.c:
2954 Debug category should be 'adapter', not 'GstAdapter'.
2956 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2957 (gst_collectpads_class_init), (gst_collectpads_init),
2958 (gst_collectpads_peek), (gst_collectpads_pop),
2959 (gst_collectpads_event), (gst_collectpads_chain):
2960 Add debug category and some debugging output. Use boilerplate
2961 macros. Remove some extraneous words from docs.
2963 2005-11-05 Andy Wingo <wingo@pobox.com>
2965 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2968 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2970 * docs/gst/gstreamer-sections.txt:
2973 * gst/gstminiobject.h:
2978 2005-11-04 Wim Taymans <wim@fluendo.com>
2980 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2981 Small update to stop at the configured segment_end
2984 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2986 * gst/gstregistry.c:
2987 * gst/gstregistry.h:
2990 2005-11-04 Edward Hervey <edward@fluendo.com>
2992 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2993 Check if we are doing a segment seek and have arrived at the
2994 end of that segment.
2996 2005-11-04 Wim Taymans <wim@fluendo.com>
2998 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2999 Don't leak a mutex unlock in case of an error.
3004 2005-11-04 Wim Taymans <wim@fluendo.com>
3006 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3008 Get the context to wake up only once.
3010 2005-11-03 Wim Taymans <wim@fluendo.com>
3012 * check/states/sinks.c: (GST_START_TEST):
3013 Uncomment fixed check.
3015 * docs/design/part-TODO.txt:
3018 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3019 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3020 (gst_base_sink_get_position):
3021 If we are going to PLAYING, post the right pending state
3022 when we post the intermediate paused message.
3024 * gst/gstelement.c: (gst_element_continue_state),
3025 (gst_element_set_state_func), (gst_element_change_state):
3026 Don't post state changes that were between the same state
3029 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3031 * docs/gst/gstreamer-sections.txt:
3034 * gst/gstminiobject.h:
3037 more docs and doc style fixes
3039 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3041 * docs/gst/gstreamer-sections.txt:
3043 * gst/gstminiobject.c:
3046 2005-11-03 Andy Wingo <wingo@pobox.com>
3048 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3049 state-changed messages actually have the right order and the right
3052 2005-11-03 Wim Taymans <wim@fluendo.com>
3054 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3055 Added some more checks. Specifically the case where NO_PREROLL
3056 elements are in the pipeline.
3058 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3059 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3060 (gst_base_sink_get_position):
3061 Post READY->PAUSED state change messages too.
3062 Fix bug where VOID was posted as pending state...
3064 * gst/gstbin.c: (gst_bin_recalc_state):
3065 use _element_continue_state() to continue the state change.
3067 * gst/gstelement.c: (gst_element_continue_state),
3068 (gst_element_commit_state), (gst_element_set_state_func),
3069 (gst_element_change_state), (gst_element_change_state_func):
3070 Lots of state change cleanups, assign the STATE_RETURN in
3071 a new continue_state() function that also propagates the
3072 last return value from a state change to the app.
3073 Update some debug statements with proper category.
3075 2005-11-03 Wim Taymans <wim@fluendo.com>
3077 * docs/design/part-events.txt:
3078 * docs/design/part-gstpipeline.txt:
3079 * docs/design/part-messages.txt:
3080 * docs/design/part-overview.txt:
3081 * docs/design/part-seeking.txt:
3082 * docs/design/part-states.txt:
3083 * docs/design/part-trickmodes.txt:
3084 * docs/manual/advanced-position.xml:
3088 People think !! is ugly, this looks better.
3090 * gst/gstpad.c: (gst_pad_set_blocked_async):
3091 Remove !! since it's fixed elsewhere now.
3093 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3095 * gst/gstminiobject.h:
3097 Add !! to _FLAG_IS_SET macros to make the result boolean.
3099 2005-11-03 Edward Hervey <edward@fluendo.com>
3101 * gst/gstpad.c: (gst_pad_set_blocked_async):
3102 comparing a flag and a gboolean rarely returns coherent results...
3103 Added two characters (!!) to make that work correctly.
3105 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3107 * gst/gstbus.c: (gst_bus_class_init):
3110 * gst/gstqueue.c: (gst_queue_loop):
3111 Don't assume a miniobject that isn't a buffer is an
3112 event (it could be that there is a refcounting
3113 problem somewhere and the pointer is stale and
3114 refers to an already destroyed miniobject).
3116 2005-11-03 Julien MOUTTE <julien@moutte.net>
3118 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3120 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3122 * docs/manual/advanced-position.xml:
3123 Update seek example and explanations to current 0.9 API.
3125 * gst/elements/gsttypefindelement.c:
3126 (gst_type_find_element_activate):
3127 Remove FIXME comment now that the found caps
3130 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3132 * gst/gstregistryxml.c: (load_feature):
3133 Add another GST_STR_NULL instance
3135 2005-11-02 Edward Hervey <edward@fluendo.com>
3137 * gst/gstpad.c: (handle_pad_block):
3138 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3140 2005-11-02 Wim Taymans <wim@fluendo.com>
3145 * gst/gstelement.c: (gst_element_commit_state):
3146 Remove unused value.
3148 * gst/gstiterator.c:
3149 Mention that the returned element is reffed in the docs.
3151 2005-11-02 Wim Taymans <wim@fluendo.com>
3153 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3154 (gst_pad_push), (gst_pad_push_event):
3155 Unlock blocked pads when they are flushed.
3157 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3160 * docs/gst/gstreamer-sections.txt:
3163 * gst/gstregistry.c: (gst_registry_scan_path_level):
3164 fix for a nasty little missed situation where an installed plug-in
3165 which was in the cache did not get overridden by an uninstalled one
3166 which was earlier in the plugin path because the newly created plugin
3167 for the uninstalled one (not in the registry) didn't get its
3168 ->registered set to TRUE
3170 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3172 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3173 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3174 (gst_collectpads_is_active), (gst_collectpads_collect),
3175 (gst_collectpads_collect_range), (gst_collectpads_start),
3176 (gst_collectpads_stop), (gst_collectpads_peek),
3177 (gst_collectpads_pop), (gst_collectpads_available),
3178 (gst_collectpads_read), (gst_collectpads_flush):
3179 Guard public API with assertions.
3182 Fix docs for gst_pad_set_link_function().
3184 2005-11-02 Johan Dahlin <johan@gnome.org>
3186 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3187 Unref found_caps after we used it.
3189 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3191 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3192 Don't try to ref NULL.
3194 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3196 * win32/common/config.h.in:
3197 provide a GST_FUNCTION that just gives a string for now
3199 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3201 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3202 (gst_object_flags_get_type), (register_gst_bin_flags),
3203 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3204 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3205 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3206 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3207 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3208 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3209 (gst_clock_flags_get_type), (register_gst_state),
3210 (gst_state_get_type), (register_gst_state_change_return),
3211 (gst_state_change_return_get_type), (register_gst_state_change),
3212 (gst_state_change_get_type), (register_gst_element_flags),
3213 (gst_element_flags_get_type), (register_gst_core_error),
3214 (gst_core_error_get_type), (register_gst_library_error),
3215 (gst_library_error_get_type), (register_gst_resource_error),
3216 (gst_resource_error_get_type), (register_gst_stream_error),
3217 (gst_stream_error_get_type), (register_gst_event_type),
3218 (gst_event_type_get_type), (register_gst_seek_type),
3219 (gst_seek_type_get_type), (register_gst_seek_flags),
3220 (gst_seek_flags_get_type), (register_gst_format),
3221 (gst_format_get_type), (register_gst_index_certainty),
3222 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3223 (gst_index_entry_type_get_type),
3224 (register_gst_index_lookup_method),
3225 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3226 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3227 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3228 (gst_index_flags_get_type), (register_gst_debug_level),
3229 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3230 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3231 (gst_iterator_result_get_type), (register_gst_iterator_item),
3232 (gst_iterator_item_get_type), (register_gst_message_type),
3233 (gst_message_type_get_type), (register_gst_mini_object_flags),
3234 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3235 (gst_pad_link_return_get_type), (register_gst_flow_return),
3236 (gst_flow_return_get_type), (register_gst_activate_mode),
3237 (gst_activate_mode_get_type), (register_gst_pad_direction),
3238 (gst_pad_direction_get_type), (register_gst_pad_flags),
3239 (gst_pad_flags_get_type), (register_gst_pad_presence),
3240 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3241 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3242 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3243 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3244 (gst_plugin_flags_get_type), (register_gst_rank),
3245 (gst_rank_get_type), (register_gst_query_type),
3246 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3247 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3248 (gst_tag_flag_get_type), (register_gst_task_state),
3249 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3250 (gst_alloc_trace_flags_get_type),
3251 (register_gst_type_find_probability),
3252 (gst_type_find_probability_get_type), (register_gst_uri_type),
3253 (gst_uri_type_get_type), (register_gst_parse_error),
3254 (gst_parse_error_get_type):
3255 * win32/common/gstversion.h:
3258 2005-11-01 Luca Ognibene <luogni@tin.it>
3261 fix docs. popt is dead, long live GOption.
3263 2005-10-31 Wim Taymans <wim@fluendo.com>
3268 2005-10-31 Andy Wingo <wingo@pobox.com>
3272 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3274 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3275 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3276 the possibility of deadlocks here if code calling notify() or
3277 set() has a lock that can be taken in another notify handler (ABBA
3278 with class lock and e.g. python GIL state lock).
3280 2005-10-28 Julien MOUTTE <julien@moutte.net>
3282 * gst/gstbus.c: Doc updates.
3284 2005-10-28 Wim Taymans <wim@fluendo.com>
3286 * docs/design/part-TODO.txt:
3287 * gst/gstiterator.c:
3288 * gst/gstsystemclock.c:
3289 * gst/gstsystemclock.h:
3292 2005-10-28 Edward Hervey <edward@fluendo.com>
3294 * docs/gst/gstreamer-docs.sgml:
3295 * docs/gst/gstreamer-sections.txt:
3296 the GstURIType documentation page is private, it only defines GstURIType
3297 which should be defined in the GstURIHandler page
3299 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3301 * gst/gstbin.c: (gst_bin_class_init):
3304 Documentation updates.
3306 2005-10-28 Wim Taymans <wim@fluendo.com>
3308 * docs/gst/gstreamer-sections.txt:
3311 Documented the clocks.
3313 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3315 * docs/gst/gstreamer-sections.txt:
3316 move some macros to private sections
3317 * gst/gstminiobject.c:
3318 * gst/gstminiobject.h:
3319 add descriptions provided by ds and some more
3321 mark macro as to be removed
3323 2005-10-28 Wim Taymans <wim@fluendo.com>
3325 * docs/design/part-TODO.txt:
3326 Add an item to TODO.
3328 * gst/gstiterator.c: (gst_iterator_fold),
3329 (gst_iterator_find_custom):
3330 * gst/gstiterator.h:
3333 2005-10-28 Wim Taymans <wim@fluendo.com>
3335 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3336 (gst_base_transform_init):
3339 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3340 An EOS event marks the queue as completely filled.
3342 2005-10-27 Wim Taymans <wim@fluendo.com>
3344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3345 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3346 Some more debugging.
3348 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3349 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3350 (gst_base_transform_event), (gst_base_transform_getrange),
3351 (gst_base_transform_chain):
3352 * gst/base/gstbasetransform.h:
3354 Protect transform and concurrent buffer alloc with a new lock.
3355 Try not to break ABI/API.
3357 2005-10-27 Wim Taymans <wim@fluendo.com>
3359 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3360 (gst_base_src_init), (gst_base_src_query),
3361 (gst_base_src_default_newsegment),
3362 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3363 (gst_base_src_send_event), (gst_base_src_event_handler),
3364 (gst_base_src_pad_get_range), (gst_base_src_loop),
3365 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3366 (gst_base_src_start), (gst_base_src_deactivate),
3367 (gst_base_src_activate_push), (gst_base_src_change_state):
3368 Move some stuff around and cleanup things.
3370 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3372 * gst/base/gstbasesrc.c: (gst_base_src_query):
3373 Add missing break statements.
3375 2005-10-27 Wim Taymans <wim@fluendo.com>
3377 * check/gst/gstbin.c: (GST_START_TEST):
3378 An extra refcount is taken in basesrc.
3380 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3381 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3382 (gst_base_src_loop):
3383 Small cleanups, check for flushing after being unlocked from the
3384 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3385 Don't send out EOS when going to READY.
3387 2005-10-27 Wim Taymans <wim@fluendo.com>
3389 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3390 (gst_base_sink_get_position):
3393 * gst/gstbin.c: (message_check), (bin_replace_message),
3394 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3395 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3396 (bin_query_duration_init), (bin_query_duration_fold),
3397 (bin_query_duration_done), (bin_query_generic_fold),
3399 * tools/gst-launch.c: (main):
3402 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3404 * examples/controller/audio-example.c: (main):
3405 * examples/queue/queue.c: (event_loop):
3406 * gst/base/gstbasetransform.h:
3407 * gst/gstelement.c: (gst_element_send_event):
3409 * gst/gstpad.c: (gst_pad_send_event):
3412 changing log priority in error situations
3414 2005-10-25 Wim Taymans <wim@fluendo.com>
3416 * gst/gstbin.c: (message_check), (bin_replace_message),
3417 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3418 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3419 (bin_query_duration_init), (bin_query_duration_fold),
3420 (bin_query_duration_done), (bin_query_generic_fold),
3422 Some doc and debug updates.
3423 Cache previously requested query DURATION for speed. invalidate
3424 cached duration if element posts a DURATION message.
3426 2005-10-25 Wim Taymans <wim@fluendo.com>
3428 * docs/design/part-TODO.txt:
3431 * gst/gstbin.c: (message_check), (bin_replace_message),
3432 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3433 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3434 (bin_query_duration_init), (bin_query_duration_fold),
3435 (bin_query_duration_done), (bin_query_generic_fold),
3437 Handle SEGMENT_START/DONE messages correctly.
3438 More evolved query algorithm that handles duration queries
3441 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3442 (gst_element_get_state_func), (gst_element_abort_state),
3443 (gst_element_commit_state), (gst_element_lost_state):
3444 Some more debugging.
3449 2005-10-25 Wim Taymans <wim@fluendo.com>
3451 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3452 Don't use invalid stream_time.
3454 * gst/gstevent.c: (gst_event_new_newsegment):
3455 stream_time in newsegment cannot be undefined.
3457 2005-10-24 Wim Taymans <wim@fluendo.com>
3462 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3464 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3466 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3468 * docs/libs/tmpl/gstdparam.sgml:
3469 * docs/libs/tmpl/gstdplinint.sgml:
3470 * docs/libs/tmpl/gstdpman.sgml:
3471 * docs/libs/tmpl/gstdpsmooth.sgml:
3472 * docs/libs/tmpl/gstunitconvert.sgml:
3475 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3480 === release 0.9.4 ===
3482 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3485 releasing 0.9.4, "Tyrannosaurus Rex"
3487 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3489 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3490 (gst_file_sink_get_current_offset):
3491 Use fseeko() and ftello() if available. When falling back on
3492 lseek() to get the current offset, fflush() first to make sure
3493 everything is up-to-date and we get the right offset.
3495 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3497 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3498 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3499 * gst/gsterror.c: (_gst_stream_errors_init):
3501 * gst/gstqueue.c: (gst_queue_loop):
3503 remove prematurely added error category and clean up the instances
3505 2005-10-21 Wim Taymans <wim@fluendo.com>
3507 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3508 (gst_base_sink_get_position), (gst_base_sink_query),
3509 (gst_base_sink_change_state):
3510 Simply set the right flag when going to playing, that's all
3511 we need to do instead of calling a function inside the object
3512 lock (that could take the lock as well and deadlock)
3514 2005-10-21 Wim Taymans <wim@fluendo.com>
3516 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3517 (gst_base_src_loop):
3518 Don't warn, the peer element knows what to do best when
3519 the seek failed, it might try something else.
3521 2005-10-21 Wim Taymans <wim@fluendo.com>
3523 * gst/base/gstbasesrc.c: (gst_base_src_init),
3524 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3527 2005-10-21 Wim Taymans <wim@fluendo.com>
3529 * docs/design/part-segments.txt:
3532 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3533 Correctly set caps, even on the subbufer.
3535 2005-10-21 Wim Taymans <wim@fluendo.com>
3537 * docs/gst/gstreamer-docs.sgml:
3538 * docs/gst/gstreamer-sections.txt:
3545 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3549 And 2% more doc coverage.
3551 2005-10-21 Andy Wingo <wingo@pobox.com>
3553 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3556 2005-10-20 Wim Taymans <wim@fluendo.com>
3558 * gst/gsterror.c: (gst_error_get_message):
3561 * gst/gststructure.c:
3566 2005-10-20 Wim Taymans <wim@fluendo.com>
3571 Another 1% more coverage.
3573 2005-10-20 Wim Taymans <wim@fluendo.com>
3575 * docs/gst/gstreamer-sections.txt:
3576 * gst/gstelement.c: (gst_element_get_state_func),
3577 (gst_element_abort_state), (gst_element_commit_state),
3578 (gst_element_lost_state):
3580 * gst/gstquery.c: (gst_query_set_position),
3581 (gst_query_parse_position), (gst_query_set_duration),
3582 (gst_query_parse_duration), (gst_query_new_convert):
3584 Yay! 1% more docs coverage.
3586 2005-10-20 Wim Taymans <wim@fluendo.com>
3589 * gst/gstquery.c: (gst_query_set_position),
3590 (gst_query_parse_position), (gst_query_set_duration),
3591 (gst_query_parse_duration), (gst_query_new_convert):
3593 * gst/gstutils.c: (gst_element_query_convert):
3595 Docs and consistency fixes.
3597 2005-10-20 Wim Taymans <wim@fluendo.com>
3603 2005-10-20 Wim Taymans <wim@fluendo.com>
3605 * gst/gstbin.c: (message_check), (bin_replace_message),
3606 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3607 (update_degree), (gst_bin_sort_iterator_next),
3608 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3609 Reworked the message handling a bit, cache the messages instead of
3610 only the senders. alows us to do more in the future.
3612 2005-10-20 Wim Taymans <wim@fluendo.com>
3614 * docs/design/part-TODO.txt:
3617 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3618 (gst_base_sink_query):
3619 Don't use clock time to report position when in EOS.
3621 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3623 * tools/gst-inspect.c: (print_interfaces),
3624 (print_element_properties_info), (print_element_info):
3625 Fix interface output with gst-inspect -a; don't print
3626 newlines after double/float properties.
3628 2005-10-20 Wim Taymans <wim@fluendo.com>
3630 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3631 (gst_base_sink_query):
3632 Speed up current position calculation.
3634 * gst/base/gstbasesrc.c: (gst_base_src_query),
3635 (gst_base_src_default_newsegment):
3636 Correctly set stream position in newsegment.
3638 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3639 (update_degree), (gst_bin_sort_iterator_next),
3640 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3641 * gst/gstmessage.c: (gst_message_new_custom):
3642 Clean up debugging info
3644 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3645 (gst_queue_loop), (gst_queue_handle_src_query):
3648 2005-10-19 Wim Taymans <wim@fluendo.com>
3650 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3651 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3652 Fix query handling again.
3654 2005-10-19 Wim Taymans <wim@fluendo.com>
3656 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3657 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3658 * gst/base/gstbasesrc.c: (gst_base_src_query):
3659 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3660 * gst/elements/gsttypefindelement.c:
3661 (gst_type_find_handle_src_query), (find_element_get_length),
3662 (gst_type_find_element_activate):
3665 * gst/gstquery.c: (gst_query_new_position),
3666 (gst_query_set_position), (gst_query_parse_position),
3667 (gst_query_new_duration), (gst_query_set_duration),
3668 (gst_query_parse_duration), (gst_query_set_segment),
3669 (gst_query_parse_segment):
3671 Bundling query position/duration is not a good idea since duration
3672 does not change much and we don't want to recalculate it for every
3673 position query, so they are separated again..
3674 Base value in segment query is not needed.
3676 * gst/gstqueue.c: (gst_queue_handle_src_query):
3677 * gst/gstutils.c: (gst_element_query_position),
3678 (gst_element_query_duration), (gst_pad_query_position),
3679 (gst_pad_query_duration):
3681 Updates for query API change.
3682 Added some docs here and there.
3684 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3686 * check/gst/gstbin.c: (GST_START_TEST):
3687 * check/gst/gstghostpad.c: (GST_START_TEST):
3688 * check/pipelines/cleanup.c: (GST_START_TEST):
3689 wait on thread to die so we can check refcount correctly
3691 2005-10-18 Wim Taymans <wim@fluendo.com>
3693 * check/pipelines/stress.c: (GST_START_TEST):
3694 Make check a little more time consuming.
3696 2005-10-18 Wim Taymans <wim@fluendo.com>
3698 * check/Makefile.am:
3699 * check/pipelines/stress.c: (GST_START_TEST),
3700 (simple_launch_lines_suite), (main):
3701 Small state change torture test.
3703 * docs/design/part-states.txt:
3704 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3705 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3706 (gst_base_sink_change_state):
3707 Never take state lock from streaming thread, clean up ugly
3708 hacks. Unfortunatly core does not yet support nice ways to
3711 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3713 Start state recalc if a STATE_DIRTY message is posted, but only
3714 on the toplevel bin.
3716 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3717 (gst_element_get_state_func), (gst_element_abort_state),
3718 (gst_element_commit_state), (gst_element_lost_state),
3719 (gst_element_set_state_func), (gst_element_change_state):
3721 State variables are now protected with the LOCK, the state
3722 lock is only used to serialize _set_state().
3724 2005-10-18 Wim Taymans <wim@fluendo.com>
3726 * check/gst/gstbin.c: (GST_START_TEST):
3727 * check/gst/gstmessage.c: (GST_START_TEST):
3728 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3729 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3731 * gst/gstelement.c: (gst_element_abort_state),
3732 (gst_element_commit_state), (gst_element_lost_state):
3733 * gst/gstmessage.c: (gst_message_new_state_changed),
3734 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3735 (gst_message_new_segment_done), (gst_message_new_duration),
3736 (gst_message_parse_state_changed),
3737 (gst_message_parse_segment_start),
3738 (gst_message_parse_segment_done), (gst_message_parse_duration):
3740 * tools/gst-launch.c: (event_loop):
3741 Seriously, this is better than a previous commit as we only need
3742 to notify the fact that an element changed state in a streaming
3743 thread, marking the state of the parents dirty, hence the
3744 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3747 2005-10-18 Wim Taymans <wim@fluendo.com>
3749 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3750 (gst_bin_recalc_func):
3751 * gst/gstelement.c: (gst_element_set_clock),
3752 (gst_element_abort_state), (gst_element_lost_state):
3753 Cleanups, prepare for state change fixes.
3755 2005-10-18 Wim Taymans <wim@fluendo.com>
3758 * gst/gstelement.c: (gst_element_class_init),
3759 (gst_element_set_state), (gst_element_set_state_func):
3761 Pending ABI changes.
3762 GThreadPool in GstBinClass to monitor async state changes.
3763 state_cookie in GstElement to detect concurrent gst/set state.
3764 set_state is now virtual too in case a very complicated element
3765 has to be constructed.
3767 2005-10-18 Wim Taymans <wim@fluendo.com>
3769 * check/gst/gstbin.c: (GST_START_TEST):
3770 * check/gst/gstmessage.c: (GST_START_TEST):
3771 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3772 * gst/gstbin.c: (bin_bus_handler):
3773 * gst/gstelement.c: (gst_element_commit_state),
3774 (gst_element_lost_state):
3775 * gst/gstmessage.c: (gst_message_new_state_changed),
3776 (gst_message_new_segment_start), (gst_message_new_segment_done),
3777 (gst_message_new_duration), (gst_message_parse_state_changed),
3778 (gst_message_parse_segment_start),
3779 (gst_message_parse_segment_done), (gst_message_parse_duration):
3781 * tools/gst-launch.c: (event_loop):
3782 Make messages future proof.
3783 state-change gets a flag if it was a message comming from the
3785 segment-start/stop can also be specified in other formats.
3786 A message to notify an app that a pipeline changed playback
3788 Also fix a GstMessage leak in -launch
3790 2005-10-18 Andy Wingo <wingo@pobox.com>
3792 * gst/gstelement.c (gst_element_dispose): More helpful message.
3794 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3796 reviewed by: <delete if not using a buddy>
3798 * common/gtk-doc.mak:
3800 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3802 * gst/gstregistry.c: (gst_registry_scan_path_level):
3803 unref a plug-in we get that was already initialized
3805 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3807 * docs/gst/gstreamer-sections.txt:
3808 * docs/libs/gstreamer-libs-sections.txt:
3813 2005-10-17 Andy Wingo <wingo@pobox.com>
3815 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3818 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3820 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3822 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3823 (gst_element_get_state_func): Better debug message.
3824 (gst_element_commit_state): s/INFO/DEBUG/.
3825 (gst_element_lost_state, gst_element_change_state):
3827 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3828 (gst_message_new_custom): s/INFO/LOG/.
3830 2005-10-17 Michael Smith <msmith@fluendo.com>
3832 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3833 Check if end time is valid using end time, not start time.
3835 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3837 * check/gst-libs/controller.c: (GST_START_TEST),
3838 (gst_controller_suite):
3839 * libs/gst/controller/gstcontroller.c:
3840 (gst_controlled_property_set_interpolation_mode):
3841 * libs/gst/controller/gstcontroller.h:
3842 * libs/gst/controller/gstinterpolation.c:
3843 * testsuite/controller/.cvsignore:
3844 * testsuite/controller/Makefile.am:
3845 * testsuite/controller/interpolator.c:
3846 merge controller testsuites
3848 remove mem-chunk from docs
3850 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3852 * gst/gstmemchunk.c:
3853 * gst/gstmemchunk.h:
3854 * gst/gsttrashstack.c:
3855 * gst/gsttrashstack.h:
3856 out. get out. you're fired. to the Attic !
3858 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3860 * gst/gstcaps.c: (gst_caps_intersect):
3861 fix signedness issues in a (hopefully) correct way
3862 * gst/gstelement.c: (gst_element_pads_activate):
3864 * gst/gstobject.c: (gst_object_set_parent):
3867 2005-10-17 Julien MOUTTE <julien@moutte.net>
3869 * gst/gstvalue.h: Fix prototypes.
3871 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3873 * docs/gst/gstreamer-sections.txt:
3874 * gst/gst.c: (gst_version_string):
3876 * gst/gstversion.h.in:
3877 * win32/common/libgstreamer.def:
3878 add gst_version_string ()
3880 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3884 * gst/gst.c: (init_post):
3885 * win32/common/config.h.in:
3887 * gst/gstcaps.c: (gst_caps_intersect):
3888 use gint64, the range could be bigger than a guint
3890 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3893 document potential problem in 2038
3895 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3897 * gst/gstcaps.c: (gst_caps_intersect):
3898 Fix guint j diving under 0
3900 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3903 * win32/common/config.h:
3904 * win32/common/config.h.in:
3905 check for process.h, declares getpid() on Windows
3907 include process.h if we have it
3908 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3909 * gst/gstmemchunk.h:
3910 fix signedness issues
3911 * win32/common/libgstreamer.def:
3914 2005-10-16 Julien MOUTTE <julien@moutte.net>
3916 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3917 fix. Because of unsigned ints, caps intersection was going nuts and
3918 trying to access structures with G_MAXUINT index. That fixes
3919 videotestsrc ! ffmpegcolorspace ! fakesink
3920 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3923 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3926 use the gettext macro
3927 * gst/elements/gstelements.c:
3929 * gst/indexers/gstindexers.c:
3930 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3931 * win32/common/config.h:
3933 * win32/common/config.h.in:
3934 add the template to generate config.h
3935 * win32/common/gstenumtypes.c:
3936 * win32/common/gstversion.h:
3939 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3941 * gst/gst.c: (gst_version):
3942 * gst/gstversion.h.in:
3945 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3948 Oops, add missing closing bracket.
3950 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3953 use common m4's for argument checking
3955 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3957 * docs/gst/gstreamer-sections.txt:
3959 Add GST_EVENT_TYPE_NAME() macro.
3961 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3964 * gst/gstpluginfeature.c:
3966 privatize more symbols
3968 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3971 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3972 everything that uses GStreamer API should have the includes
3974 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3976 * docs/gst/gstreamer-sections.txt:
3977 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3979 give each value a _get_type, removes the DATA exports
3981 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3985 remove _gst_registry_auto_load, not used anymore
3986 * gst/gstbin.c: (gst_bin_get_type):
3988 * gst/gstelement.c: (gst_element_get_type):
3990 * gst/gstobject.c: (gst_object_get_type):
3992 * gst/gstpad.c: (gst_pad_get_type):
3994 make _get_type functions similar, fixes data export from library
3996 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3999 correctly make conditionals
4000 * gst/elements/Makefile.am:
4001 * gst/elements/gstelements.c:
4002 fix typo causing fdsrc not to build
4004 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4006 * testsuite/Makefile.am:
4007 * testsuite/bytestream/.cvsignore:
4008 * testsuite/bytestream/Makefile.am:
4009 * testsuite/bytestream/filepadsink.c:
4010 * testsuite/bytestream/gstbstest.c:
4011 * testsuite/bytestream/test1.c:
4012 * testsuite/bytestream/testfile1:
4013 * testsuite/caps/normalisation.c:
4014 * testsuite/caps/random.c: (main):
4015 * testsuite/cleanup/.cvsignore:
4016 * testsuite/cleanup/Makefile.am:
4017 * testsuite/cleanup/cleanup1.c:
4018 * testsuite/cleanup/cleanup2.c:
4019 * testsuite/cleanup/cleanup3.c:
4020 * testsuite/cleanup/cleanup4.c:
4021 * testsuite/cleanup/cleanup5.c:
4022 * testsuite/controller/interpolator.c:
4023 * testsuite/debug/printf_extension.c: (main):
4024 * testsuite/elements/tee.c:
4025 * testsuite/negotiation/.cvsignore:
4026 * testsuite/negotiation/Makefile.am:
4027 * testsuite/negotiation/pad_link.c:
4028 * testsuite/pad/Makefile.am:
4029 * testsuite/pad/chainnopull.c:
4030 * testsuite/pad/getnopush.c:
4031 * testsuite/pad/link.c:
4032 * testsuite/refcounting/sched.c: (create_pipeline):
4033 * testsuite/registry/Makefile.am:
4034 * testsuite/registry/gst-print-formats.c:
4035 * testsuite/schedulers/.cvsignore:
4036 * testsuite/schedulers/142183-2.c:
4037 * testsuite/schedulers/142183.c:
4038 * testsuite/schedulers/143777-2.c:
4039 * testsuite/schedulers/143777.c:
4040 * testsuite/schedulers/147713.c:
4041 * testsuite/schedulers/147819.c:
4042 * testsuite/schedulers/147894-2.c:
4043 * testsuite/schedulers/147894.c:
4044 * testsuite/schedulers/Makefile.am:
4045 * testsuite/schedulers/group_link.c:
4046 * testsuite/schedulers/queue_link.c:
4047 * testsuite/schedulers/relink.c:
4048 * testsuite/schedulers/unlink.c:
4049 * testsuite/schedulers/unref.c:
4050 * testsuite/schedulers/useless_iteration.c:
4051 * testsuite/states/bin.c:
4052 clean out/remove some stuff from the testsuite directories
4054 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4057 check for some headers
4058 * gst/elements/Makefile.am:
4059 * gst/elements/gstelements.c:
4060 don't compile fdsrc without sys/socket.h
4061 * gst/indexers/Makefile.am:
4062 * gst/indexers/gstindexers.c: (plugin_init):
4063 don't compile fileindex without mmap
4065 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4072 * check/Makefile.am:
4073 * docs/gst/Makefile.am:
4074 * examples/helloworld/Makefile.am:
4076 * gst/base/Makefile.am:
4077 * gst/check/Makefile.am:
4078 * gst/elements/Makefile.am:
4079 * gst/indexers/Makefile.am:
4080 * gst/parse/Makefile.am:
4081 * libs/gst/controller/Makefile.am:
4082 * libs/gst/dataprotocol/Makefile.am:
4083 * examples/helloworld/helloworld.c: (event_loop):
4084 compile fixes, though it's not being compiled currently
4086 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4088 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4089 Add some simple tests for the new taglist date API.
4091 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4093 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4094 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4095 Beautify 'last-message' output: print 'none' for buffer timestamps
4096 and durations if none is set; improve alignment with next messages.
4098 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4100 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4101 * gst/gstpluginfeature.h:
4102 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4103 * gst/gstregistry.h:
4104 * docs/gst/gstreamer-sections.txt:
4105 Add new API to check plugin feature version requirements.
4107 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4108 Some basic tests for the above.
4110 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4112 * gst/gststructure.c: (gst_structure_to_string):
4113 guard against NULL printf - happens when for example
4114 a message structure with GstClock gets serialized
4116 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4118 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4119 Fix presumable copy'n'pasto.
4121 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4123 * gst/elements/gstfakesrc.h:
4124 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4125 * gst/elements/gsttypefindelement.c:
4127 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4128 I wonder if this could actually write +2GB files before
4130 2005-10-13 Andy Wingo <wingo@pobox.com>
4132 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4133 Fix Timmeke Waymans bug.
4134 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4135 string of the proper length to gst_caps_from_string. There's a
4136 potential for, before this fix, that this could cause someone
4137 connecting over the network to cause a segfault if the payload is
4140 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4142 * docs/design/draft-push-pull.txt:
4143 * docs/design/part-overview.txt:
4144 * docs/random/TODO-pre-0.9:
4145 * docs/random/old/ChangeLog.gstreamer:
4146 * gst/base/gstpushsrc.c:
4150 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4152 * gst/glib-compat.c: (gst_flags_get_first_value):
4153 * gst/glib-compat.h:
4154 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4155 (gst_value_compare_double), (gst_value_serialize_flags):
4156 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4159 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4162 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4164 * tools/gst-launch.c: (event_loop):
4165 print out clock nicely
4167 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4169 * docs/gst/gstreamer-sections.txt:
4171 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4172 (gst_tag_list_get_date_index):
4173 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4174 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4176 2005-10-13 Julien MOUTTE <julien@moutte.net>
4178 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4179 (gst_collectpads_chain):
4180 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4183 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4185 * docs/gst/gstreamer-sections.txt:
4188 * tools/gst-inspect.c: (main):
4189 * tools/gst-launch.c: (main):
4190 * tools/gst-run.c: (main):
4191 * tools/gst-xmlinspect.c: (main):
4192 fix GOption context leaks
4195 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4199 * win32/common/config.h:
4201 * win32/vs6/grammar.dsp:
4202 * win32/vs6/libgstelements.dsp:
4203 * win32/vs6/libgstreamer.dsp:
4206 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4208 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4209 * gst/base/gstbasesrc.c: (gst_base_src_query):
4210 fix more guint64<->gdouble conversions
4212 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4215 add win32-update target
4216 * win32/common/gstconfig.h:
4217 * win32/common/gstenumtypes.c:
4218 * win32/common/gstenumtypes.h:
4219 * win32/common/gstversion.h:
4220 add files that visual studio can't generate
4222 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4225 add a win32-update target
4228 2005-10-12 Wim Taymans <wim@fluendo.com>
4230 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4231 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4232 * gst/gstelement.c: (gst_element_commit_state),
4233 (gst_element_set_state):
4234 Protect flags with proper lock.
4235 unref provided cached clock in dispose.
4237 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4240 * gst/gstminiobject.h:
4242 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4243 removed unused flags from miniobject
4246 2005-10-12 Wim Taymans <wim@fluendo.com>
4248 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4249 (gst_file_sink_event), (gst_file_sink_render):
4250 Flush before seeking.
4252 2005-10-12 Andy Wingo <wingo@pobox.com>
4254 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4255 always been the case.
4257 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4259 * check/gst/gstbin.c: (GST_START_TEST):
4260 * docs/gst/gstreamer-sections.txt:
4261 * gst/base/gstbasesink.c: (gst_base_sink_init):
4262 * gst/base/gstbasesrc.c: (gst_base_src_init),
4263 (gst_base_src_get_range), (gst_base_src_check_get_range),
4264 (gst_base_src_start), (gst_base_src_stop):
4265 * gst/base/gstbasesrc.h:
4266 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4267 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4268 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4272 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4274 * gst/gstelement.c: (gst_element_is_locked_state),
4275 (gst_element_set_locked_state), (gst_element_commit_state),
4276 (gst_element_set_state):
4278 * gst/gstindex.c: (gst_index_init):
4280 * gst/gstminiobject.h:
4281 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4282 (gst_object_set_parent):
4284 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4285 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4287 * gst/gstpadtemplate.h:
4288 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4289 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4290 * gst/gstpipeline.h:
4291 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4292 (gst_file_index_commit):
4293 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4294 * testsuite/pad/link.c: (gst_test_src_init),
4295 (gst_test_filter_init), (gst_test_sink_init):
4296 * testsuite/states/locked.c: (main):
4297 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4298 moved bitshift from macro to enum definition
4300 2005-10-12 Wim Taymans <wim@fluendo.com>
4302 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4303 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4304 (gst_file_sink_render):
4305 Some more debugging info.
4307 2005-10-12 Wim Taymans <wim@fluendo.com>
4309 * docs/design/part-states.txt:
4310 * tools/gst-launch.c: (main):
4312 Revert non-intentional change.
4314 2005-10-12 Wim Taymans <wim@fluendo.com>
4316 * check/gst/gstbin.c: (GST_START_TEST):
4317 * check/gst/gstelement.c: (GST_START_TEST):
4318 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4319 * check/gst/gstghostpad.c: (GST_START_TEST):
4320 * check/gst/gstpipeline.c: (GST_START_TEST):
4321 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4322 * check/states/sinks.c: (GST_START_TEST):
4323 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4324 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4325 (gst_bin_remove_func), (gst_bin_get_state_func),
4326 (gst_bin_recalc_state), (gst_bin_change_state_func),
4328 * gst/gstelement.c: (gst_element_get_state_func),
4329 (gst_element_get_state), (gst_element_abort_state),
4330 (gst_element_commit_state), (gst_element_set_state),
4331 (gst_element_change_state), (gst_element_change_state_func):
4333 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4334 (gst_pipeline_provide_clock_func):
4335 * gst/gstutils.c: (gst_element_link_pads_filtered):
4336 * tools/gst-launch.c: (main):
4337 * tools/gst-typefind.c: (main):
4338 Use GstClockTime in _get_state() instead of GTimeVal.
4339 Remove old code in gstutils.c
4341 2005-10-12 Andy Wingo <wingo@pobox.com>
4343 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4346 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4347 there is no task. Shouldn't affect any code, as nothing in our
4348 plugins checks this return value.
4349 (gst_pad_stop_task): Also take the stream lock if the pad has no
4352 2005-10-12 Wim Taymans <wim@fluendo.com>
4354 * gst/gstpad.c: (pre_activate), (post_activate),
4355 (gst_pad_activate_pull), (gst_pad_activate_push):
4356 Cleanup activation code. Reset old state if
4359 2005-10-12 Wim Taymans <wim@fluendo.com>
4361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4362 (gst_base_sink_change_state):
4363 No need to prerol after receiving EOS.
4365 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4366 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4367 * gst/elements/gstidentity.c: (gst_identity_event):
4368 Print events more verbosely.
4370 2005-10-12 Wim Taymans <wim@fluendo.com>
4372 * check/Makefile.am:
4373 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4374 * check/states/sinks2.c:
4375 Moved sinks2 testcode in sinks check.
4377 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4378 (gst_bin_remove_func), (gst_bin_recalc_state),
4379 (gst_bin_change_state_func), (bin_bus_handler):
4380 Fix potential race condition when _get_state() iterated over an
4381 ASYNC element right before it posted a state completion.
4384 Do proper cast here.
4386 * gst/gstevent.c: (gst_event_new_newsegment),
4387 (gst_event_parse_newsegment):
4388 A playback rate of 0.0 is not allowed.
4390 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4392 * win32/common/config.h:
4393 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4394 (_trewinddir), (_ttelldir), (_tseekdir):
4395 * win32/common/dirent.h:
4396 * win32/common/gtchar.h:
4397 * win32/common/libgstbase.def:
4398 * win32/common/libgstreamer.def:
4399 * win32/vs6/grammar.dsp:
4400 * win32/vs6/gst_inspect.dsp:
4401 * win32/vs6/gst_launch.dsp:
4402 * win32/vs6/gstreamer.dsw:
4403 * win32/vs6/libgstbase.dsp:
4404 * win32/vs6/libgstelements.dsp:
4405 * win32/vs6/libgstreamer.dsp:
4406 Visual Studio 6 project files, and a new common directory.
4409 2005-10-11 Wim Taymans <wim@fluendo.com>
4411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4412 (gst_base_sink_do_sync), (gst_base_sink_query),
4413 (gst_base_sink_change_state):
4414 * gst/base/gstbasesink.h:
4415 Correctly parse newsegment info.
4417 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4419 * gst/gst.c: (init_post):
4420 split plugin paths correctly
4422 2005-10-11 Wim Taymans <wim@fluendo.com>
4424 * check/gst/gstevent.c: (GST_START_TEST):
4425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4426 (gst_base_sink_change_state):
4427 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4428 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4429 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4430 * gst/gstevent.c: (gst_event_new_newsegment),
4431 (gst_event_parse_newsegment):
4433 Added extra flag to newsegment for future API freeze.
4434 Updated check and base elements.
4436 2005-10-11 Julien MOUTTE <julien@moutte.net>
4438 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4439 (gst_collectpads_add_pad), (gst_collectpads_pop),
4440 (gst_collectpads_event), (gst_collectpads_chain):
4441 * gst/base/gstcollectpads.h: Handle EOS correctly.
4443 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4445 * tools/gst-launch.c: (main):
4446 more null protecting
4448 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * gst/gst-i18n-lib.h:
4451 check for ENABLE_NLS, not GETTEXT_PACKAGE
4452 * gst/gstregistry.c: (gst_registry_add_plugin),
4453 (gst_registry_scan_path_level),
4454 (_gst_registry_remove_cache_plugins):
4455 protect possibly NULL strings
4456 * gst/parse/types.h:
4457 config.h already included before
4458 * tools/gst-inspect.c: (main):
4459 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4460 check for ENABLE_NLS, not GETTEXT_PACKAGE
4461 * tools/gst-launch.c: (main):
4462 check for ENABLE_NLS, not GETTEXT_PACKAGE
4464 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4467 if we don't have glib, fail before testing 2.8
4468 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4469 fix a leak, should fix plugins-base testsuite
4471 2005-10-11 Andy Wingo <wingo@pobox.com>
4473 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4474 take the mode we're going to as an arg. Go head and set the mode
4475 and flushing flags now, so that if the activate function starts a
4476 thread all the flags will be in the right state.
4477 (post_activate): Renamed also. Just handle making sure streaming
4478 finishes for the deactivation case, and setting the deactivated
4480 (gst_pad_set_active): Complain loudly if deactivation fails.
4481 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4482 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4483 remove the terrible hack.
4485 2005-10-11 Wim Taymans <wim@fluendo.com>
4487 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4488 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4489 (gst_bin_recalc_state), (gst_bin_change_state_func),
4490 (gst_bin_dispose), (bin_bus_handler):
4492 Prepare to make current EOS message queue more generic.
4495 * gst/gstevent.c: (gst_event_new_newsegment),
4496 (gst_event_parse_newsegment):
4498 Rename base to stream_time.
4503 2005-10-11 Wim Taymans <wim@fluendo.com>
4505 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4506 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4507 (gst_bin_change_state_func), (bin_bus_handler):
4509 Work on proper clock selection.
4511 2005-10-11 Edward Hervey <edward@fluendo.com>
4513 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4514 * libs/gst/controller/gstcontroller.h:
4515 Added GList* version of _remove_properties() in order to be able to wrap
4518 2005-10-11 Wim Taymans <wim@fluendo.com>
4520 * docs/design/part-states.txt:
4523 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4524 (gst_bin_change_state_func), (bin_bus_handler):
4525 Doc updates. Don't distribute the same clock over and over again.
4531 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4532 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4533 (gst_pad_send_event):
4535 Make probe emission threadsafe again.
4536 Register quarks and move _get_name() from utils.
4539 * gst/gstpipeline.c: (gst_pipeline_class_init),
4540 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4541 Only redistribute the clock of it changed.
4543 * gst/gstsystemclock.h:
4548 Moved the _flow_get_name() to GstPad.
4550 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4552 * check/gst-libs/gdp.c: (GST_START_TEST):
4553 * check/gst/gstcaps.c: (GST_START_TEST):
4554 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4555 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4556 (gst_dp_packet_from_caps):
4557 fix more valgrind warnings before turning up the heat
4559 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4561 * gst/parse/grammar.y:
4562 some cleanup before the hacking
4564 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4566 * gst/base/gstbasesrc.c: (gst_base_src_query):
4568 * gst/gstutils.c: (gst_guint64_to_gdouble),
4569 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4571 externalize, basesrc uses it
4572 obviously the implementation needs testing
4574 2005-10-10 Wim Taymans <wim@fluendo.com>
4576 * tests/sched/Makefile.am:
4577 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4578 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4580 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4582 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4583 apparently converting from guint64 to double is not implemented
4586 2005-10-10 Wim Taymans <wim@fluendo.com>
4588 * check/Makefile.am:
4589 * check/generic/states.c: (GST_START_TEST):
4590 * check/gst/gstbin.c: (GST_START_TEST):
4591 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4592 * check/states/sinks.c: (GST_START_TEST):
4593 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4595 Check fixes, use API as stated in design docs, remove hacks.
4597 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4598 (gst_base_sink_change_state):
4599 Catch stopping our task while we're shutting down.
4601 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4602 (gst_bin_remove_func), (gst_bin_get_state_func),
4603 (gst_bin_recalc_state), (gst_bin_change_state_func),
4606 * gst/gstelement.c: (gst_element_init),
4607 (gst_element_get_state_func), (gst_element_abort_state),
4608 (gst_element_commit_state), (gst_element_lost_state),
4609 (gst_element_set_state), (gst_element_change_state),
4610 (gst_element_change_state_func):
4612 New state change algorithm (see #318116)
4614 * gst/gstpipeline.c: (gst_pipeline_class_init),
4615 (gst_pipeline_init), (gst_pipeline_set_property),
4616 (gst_pipeline_get_property), (do_pipeline_seek),
4617 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4618 * gst/gstpipeline.h:
4619 Remove crude state change hacks.
4624 * tools/gst-launch.c: (main):
4625 Fixes for state change. Needs some more work to fully use the
4628 2005-10-10 Andy Wingo <wingo@pobox.com>
4630 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4632 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4633 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4636 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4638 * gst/gstiterator.c: (gst_iterator_new):
4639 Fix my previous commit: GTypes passed to gst_iterator_new()
4640 can be fundamental types.
4642 2005-10-10 Wim Taymans <wim@fluendo.com>
4644 * gst/gstelement.c: (gst_element_iterate_pad_list),
4645 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4646 (gst_element_iterate_sink_pads):
4647 Use src/sink pads lists for the respective iterators instead
4650 2005-10-10 Andy Wingo <wingo@pobox.com>
4652 Merged in popt removal + GOption addition patch from Ronald, bug
4655 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4656 GstElement macros around, remove popt-related symbols, add goption
4659 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4661 * docs/gst/Makefile.am:
4662 * docs/libs/Makefile.am: No POPT_CFLAGS.
4664 * examples/manual/Makefile.am:
4665 * docs/manual/basics-init.xml: Doc updates with an example.
4667 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4668 (gst_init), (parse_one_option), (parse_goption_arg):
4669 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4670 bit of hand merging and debugging to get the GOption stuff working
4673 * tests/Makefile.am:
4674 * tools/Makefile.am:
4675 * tools/gst-inspect.c: (main):
4676 * tools/gst-launch.c: (main):
4677 * tools/gst-run.c: (main):
4678 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4680 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4682 * gst/gstiterator.c: (gst_iterator_new):
4683 Add assertions to make sure passed GType is likely to really
4684 be a GType (as the compiler won't catch it if the size and
4685 GType arguments get mixed up, see #318447).
4687 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4689 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4691 * gst/gstbin.c: (gst_bin_iterate_sorted):
4692 Pass GType and size arguments to gst_iterator_new() in the right
4693 order (maybe we should make _new() take the GType as first argument
4694 just like _new_list()?) (#318447).
4697 2005-10-10 Wim Taymans <wim@fluendo.com>
4699 * gst/gstelement.c: (gst_element_finalize):
4700 And free the GStaticRecMutex too
4702 2005-10-10 Andy Wingo <wingo@pobox.com>
4704 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4705 Allocate and free the mutex properly.
4707 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4709 (GstElement): The state_lock is now recursive. Rebuild your
4710 plugins, suckers. Old macros adapted.
4712 * docs/gst/gstreamer-sections.txt: Doc updates.
4715 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4716 (g_static_rec_cond_wait): Ported from state changes patch, while
4717 we wait on bug #317802 to be solved in a well-distributed GLib.
4719 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4720 gst_element_change_state, variable name changes.
4721 (gst_element_change_state): Split out of gst_element_set_state in
4722 preparation for the state change merge. Doesn't pay attention to
4723 the 'transition' argument.
4724 (gst_element_set_state): Updates, hopefully purely cosmetic.
4725 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4727 (gst_element_get_state_func): Renamed from get_state, cosmetic
4730 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4732 * gst/elements/gstelements.c:
4733 * win32/GStreamer.vcproj:
4735 * win32/dirent.c: (_tseekdir):
4736 * win32/gst-inspect.vcproj:
4737 * win32/gst-launch.vcproj:
4738 * win32/gstconfig.h:
4739 * win32/gstelements.vcproj:
4740 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4741 * win32/gstreamer.def:
4743 updates for the win32 build (patch from Sebastien Moutte)
4745 2005-10-10 Andy Wingo <wingo@pobox.com>
4747 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4748 gst_bin_get_state, cleaned up (but no logic changes).
4749 (bin_element_is_sink): Comment updates.
4750 (sink_iterator_filter): Remove needless cast.
4751 (gst_bin_iterate_sinks): Doc update.
4752 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4753 cleaned up (but no logic changes).
4755 * check/states/sinks.c (test_src_sink): Cleanups from the state
4757 (test_livesrc_sink): Sync on the state.
4759 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4760 the state change patch.
4762 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4765 * check/gst/gstbin.c: Merge in some style fixes and additional
4766 checks from Wim's state change patch.
4768 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4770 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4771 (gst_type_find_helper):
4772 Check whether we have the requested data already in our list of
4773 cached buffers before pulling a new buffer; also make the buffer
4774 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4776 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4781 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4782 don't use long long, it's not portable. Replacing with
4783 gint64 seems to work; let's hope no skeletons fall out of the closet.
4785 2005-10-10 Andy Wingo <wingo@pobox.com>
4787 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4789 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4791 * docs/gst/gstreamer-sections.txt:
4796 * gst/gstmessage.c: (gst_message_parse_state_changed):
4799 more docs, fix compilation
4801 2005-10-09 Philippe Khalaf <burger@speedy.org>
4803 Fixed a few forgotten variables on previous commit
4805 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4807 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4808 Fix evil typefind crasher: getrange() might return a short
4809 buffer at the end of a file, but gst_type_find_peek() must
4810 either return the full data as requested or NULL, but
4811 never a short buffer.
4813 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4815 * gst/gstmessage.c: (gst_message_new_state_changed),
4816 (gst_message_parse_state_changed):
4818 don't use "new", it's a C++ keyword
4820 2005-10-08 Wim Taymans <wim@fluendo.com>
4822 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4823 * gst/gstelement.c: (gst_element_post_message):
4824 * gst/gstpipeline.c: (gst_pipeline_change_state):
4825 Small docs and debug updates.
4827 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4829 * docs/gst/gstreamer-sections.txt:
4830 * gst/gstelementfactory.c:
4835 2005-10-08 Wim Taymans <wim@fluendo.com>
4837 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4838 (gst_bin_dispose), (bin_bus_handler):
4839 Fix typos, add comments.
4840 Clear EOS list when going to PAUSED from any direction and do it
4841 in a threadsafe way.
4842 Get base time in a threadsafe way too.
4843 Fix confusing debug in the change_state function.
4844 Various other small cleanups.
4846 * gst/gstelement.c: (gst_element_post_message):
4847 Fix very verbose bus posting code.
4849 * gst/gstpipeline.c: (gst_pipeline_class_init),
4850 (gst_pipeline_set_property), (gst_pipeline_get_property),
4851 (gst_pipeline_change_state):
4852 Small ARG_ -> PROP_ cleanup
4854 2005-10-08 Wim Taymans <wim@fluendo.com>
4856 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4857 Do a less CPU demanding EOS check because we can.
4859 2005-10-08 Wim Taymans <wim@fluendo.com>
4861 * libs/gst/dataprotocol/dataprotocol.c:
4862 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4863 (gst_dp_packet_from_event):
4864 * libs/gst/dataprotocol/dataprotocol.h:
4865 * libs/gst/dataprotocol/dp-private.h:
4866 It's about time we bump the version number.
4867 Since event types don't fit in the guint8 anymore describing
4868 the payload type, make payload type 16 bits wide.
4870 2005-10-08 Wim Taymans <wim@fluendo.com>
4872 * docs/design/part-TODO.txt:
4873 * docs/design/part-clocks.txt:
4874 * docs/design/part-events.txt:
4875 * docs/design/part-gstbin.txt:
4876 * docs/design/part-gstelement.txt:
4877 * docs/design/part-gstpipeline.txt:
4878 * docs/design/part-live-source.txt:
4879 * docs/design/part-messages.txt:
4880 * docs/design/part-overview.txt:
4881 * docs/design/part-states.txt:
4884 2005-10-08 Wim Taymans <wim@fluendo.com>
4888 Fix event quark registration.
4889 Add some space between events so we can insert them in the
4892 2005-10-08 Wim Taymans <wim@fluendo.com>
4894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4895 (gst_base_sink_handle_buffer):
4902 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4903 (gst_queue_set_property), (gst_queue_get_property):
4905 Remove old unused properties.
4907 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4908 * docs/gst/gstreamer-sections.txt:
4911 * gst/gstminiobject.c:
4912 * gst/gstminiobject.h:
4916 lots of new docs and doc fixes
4918 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4920 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4922 * gst/gstregistry.c: (gst_registry_lookup_locked),
4923 (gst_registry_scan_path_level):
4924 * gst/gstregistryxml.c: (load_plugin):
4925 Only ever load one plugin for a given plugin basename.
4926 This ensures correct overriding of GST_PLUGIN_PATH over
4927 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4928 system installed plugins.
4930 2005-10-08 Wim Taymans <wim@fluendo.com>
4932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4933 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4934 Prepare for doing QOS.
4936 2005-10-08 Wim Taymans <wim@fluendo.com>
4938 * check/gst/gstbin.c: (GST_START_TEST):
4939 * check/pipelines/cleanup.c: (GST_START_TEST):
4940 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4941 Allow new clock message too.
4943 2005-10-08 Wim Taymans <wim@fluendo.com>
4945 * gst/gstmessage.c: (gst_message_new_error),
4946 (gst_message_new_warning), (gst_message_new_tag),
4947 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4948 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4949 (gst_message_new_segment_start), (gst_message_new_segment_done),
4950 (gst_message_parse_state_changed),
4951 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4952 (gst_message_parse_new_clock):
4954 Also carry the clock in question.
4956 2005-10-08 Wim Taymans <wim@fluendo.com>
4958 * gst/gstmessage.c: (gst_message_new_custom),
4959 (gst_message_new_eos), (gst_message_new_error),
4960 (gst_message_new_warning), (gst_message_new_tag),
4961 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4962 (gst_message_new_new_clock), (gst_message_new_segment_start),
4963 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4964 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4967 Added clock related messages.
4969 * gst/gstpipeline.c: (gst_pipeline_change_state):
4970 Post message when the clock changed.
4972 * tools/gst-launch.c: (event_loop):
4975 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4977 * tools/gst-inspect.c: (print_element_properties_info):
4978 Can't pass NULL strings to g_print() on windows.
4980 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4983 * docs/gst/Makefile.am:
4984 * docs/gst/gstreamer-docs.sgml:
4985 * docs/gst/running.xml:
4986 * docs/version.entities.in:
4987 add a chapter on running GStreamer.
4988 document GST_DEBUG and GST_PLUGIN* env vars
4990 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4995 remove PLUGINS_BUILDDIR stuff
4996 * gst/gst.c: (init_post):
4997 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4999 remove, it was condescending and not needed
5001 2005-10-08 Wim Taymans <wim@fluendo.com>
5003 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5004 (gst_base_sink_handle_object), (gst_base_sink_event),
5005 (gst_base_sink_wait), (gst_base_sink_handle_event),
5006 (gst_base_sink_change_state):
5007 * gst/base/gstbasesink.h:
5008 Repost EOS message while going to PLAYING if still EOS.
5009 Make sure that when receiving a FLUSH_START we don't attempt
5010 to sync on the clock anymore.
5012 2005-10-08 Wim Taymans <wim@fluendo.com>
5014 * tools/gst-launch.c: (event_loop):
5015 Better message printout.
5017 2005-10-08 Wim Taymans <wim@fluendo.com>
5019 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5020 (gst_bin_child_proxy_get_children_count):
5021 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5022 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5023 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5024 (gst_child_proxy_set_valist):
5025 * gst/parse/grammar.y:
5026 Make ChildProxy threadsafe and fix mem leaks.
5028 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5030 * gst/gst.c: (init_post):
5031 debug the GST_PLUGIN_ env vars
5033 2005-10-08 Wim Taymans <wim@fluendo.com>
5035 * check/gst/gstbin.c: (GST_START_TEST):
5036 * check/gst/gstmessage.c: (GST_START_TEST):
5037 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5038 * gst/gstelement.c: (gst_element_commit_state),
5039 (gst_element_lost_state):
5040 * gst/gstmessage.c: (gst_message_new_state_changed),
5041 (gst_message_parse_state_changed):
5043 * tools/gst-launch.c: (event_loop):
5044 Added extra field to STATE_CHANGE message with the pending
5045 state, which will be different from the new state soon.
5047 2005-10-08 Wim Taymans <wim@fluendo.com>
5049 * gst/gstbus.c: (gst_bus_pop):
5051 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5052 Small cleanups and doc updates.
5054 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5056 * gst/gst.c: (init_pre):
5057 * gst/gstbin.c: (gst_bin_add_func):
5058 log distributing clocks and base time
5059 * gst/gstregistry.c: (gst_registry_add_plugin),
5060 (gst_registry_scan_path_level), (gst_registry_scan_path):
5061 clean up the debugging output a little
5062 * gst/gstutils.c: (gst_element_state_get_name):
5063 warn about a memleak (I've actually seen this be used, though
5064 it was probably a bug)
5066 2005-10-07 Wim Taymans <wim@fluendo.com>
5068 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5069 (gst_base_src_init), (gst_base_src_default_newsegment),
5070 (gst_base_src_newsegment), (gst_base_src_do_seek),
5071 (gst_base_src_loop), (gst_base_src_start):
5072 * gst/base/gstbasesrc.h:
5073 Make the newsegment event customizable by subclasses.
5075 2005-10-07 Wim Taymans <wim@fluendo.com>
5077 * gst/gstevent.c: (gst_event_new_buffersize),
5078 (gst_event_parse_buffersize):
5080 New event for future idea.
5082 2005-10-07 Andy Wingo <wingo@pobox.com>
5084 * gst/gstelement.c (gst_element_post_message): Doc update.
5086 * docs/gst/gstreamer-sections.txt: Update.
5088 * gst/gstmessage.c (gst_message_new_application): Made into a
5089 function like honest API calls.
5090 (gst_message_new_element): New message type.
5092 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5094 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5095 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5098 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5099 NO_PREROLL from gst_element_change_state to fall through.
5101 2005-10-07 Wim Taymans <wim@fluendo.com>
5103 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5104 (gst_ghost_pad_do_activate_push):
5105 Activating a ghostpad with no internal pad in push mode
5108 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5111 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5112 Fixes compilation on Windows.
5114 2005-10-07 Michael Smith <msmith@fluendo.com>
5116 * tools/gst-inspect.c:
5117 Print out feature and plugin count at the end when printing out
5120 2005-10-04 Michael Smith <msmith@fluendo.com>
5122 * gst/gsterror.c: (_gst_stream_errors_init):
5123 Add another error string used in a few existing plugins.
5126 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5127 * tools/gst-inspect.c: (print_element_info):
5128 When a feature disappears from a plugin (and the feature exists in
5129 the cached registry file), things went horribly wrong. This isn't a
5130 complete fix, we should actually be removing the 'missing' features
5131 from the features list when we load the actual plugin. That's not
5134 2005-10-04 Johan Dahlin <johan@gnome.org>
5136 * check/gst/gstiterator.c: (GST_START_TEST):
5137 * gst/gstbin.c: (gst_bin_iterate_elements),
5138 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5139 * gst/gstelement.c: (gst_element_iterate_pads):
5140 * gst/gstformat.c: (gst_format_iterate_definitions):
5141 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5142 (gst_iterator_new_list), (gst_iterator_filter):
5143 * gst/gstiterator.h:
5144 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5145 Add a GType to GstIterator, update callsites and tests.
5147 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5149 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5150 give events a chance to be handled by event probes when the pad
5153 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5155 * gst/gstevent.c: (gst_event_type_get_name),
5156 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5158 add string representations for event types
5160 2005-10-06 Wim Taymans <wim@fluendo.com>
5162 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5163 Don't use NULL pointers.
5165 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5167 * gst/gst_private.h:
5171 * gst/gstpluginfeature.c:
5172 widen the debug category in output to fit the biggest one we have
5173 add a bus category and use it
5174 play with the colors
5175 fix up some categories
5177 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5179 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5180 add push activation of sink ghost pads.
5181 Andye, please verify
5183 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5185 * gst/gstutils.c: (gst_element_link_pads):
5186 fix a bug in the case where neither element has a pad
5187 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5188 add a test for that case
5190 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5192 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5193 emit have-data before checking for peers. This allows
5194 for probe handlers to connect elements. This helps autopluggers.
5195 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5197 add six checks, linked/unlinked with no/true/false probe
5199 2005-10-04 Wim Taymans <wim@fluendo.com>
5201 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5202 (gst_fake_sink_event), (gst_fake_sink_preroll),
5203 (gst_fake_sink_render), (gst_fake_sink_change_state):
5204 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5205 (gst_fake_src_get_property), (gst_fake_src_create),
5206 (gst_fake_src_stop):
5207 * gst/elements/gstidentity.c: (gst_identity_stop):
5208 Protect last_message with lock.
5210 2005-10-04 Edward Hervey <edward@fluendo.com>
5213 Added precision in the comments for GST_FORMAT_DEFAULT
5215 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5217 * tools/gst-launch.c: (main):
5218 Don't try to run erroneous pipelines.
5220 2005-10-04 Julien MOUTTE <julien@moutte.net>
5222 * gst/gstbus.c: We don't need this header.
5224 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5229 === release 0.9.3 ===
5231 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5235 Releasing 0.9.3, "Unregistered"
5237 2005-10-03 Andy Wingo <wingo@pobox.com>
5239 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5240 whereby calling a pad's activatepush() function can start a thread
5241 that starts to push or pull before the pad gets the FLUSHING flag
5242 unset. Hack around it by holding the stream lock until the flag is
5243 set. Need to replace this with a proper solution. Together with
5244 the ghost pad fixes, this fixes mp3 playing/tagreading.
5246 * docs/design/part-gstghostpad.txt: Add a note about activation of
5247 proxy pads outside of ghost pads.
5249 * gst/gstghostpad.c: Implement the ghost pad activation design.
5251 2005-10-02 Andy Wingo <wingo@pobox.com>
5253 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5254 It is volatile, after all.
5256 * docs/design/part-gstghostpad.txt: Flesh out activation with
5259 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5262 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5265 Fix (unused) AM_CONDITIONAL tests.
5267 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5269 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5271 * gst/gstutils.c: (gst_pad_query_convert):
5272 Add assertion that makes sure src_val is >=0, just like
5273 gst_query_new_convert() has. (#315895)
5275 2005-09-30 Edward Hervey <edward@fluendo.com>
5277 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5278 Let's not iterate pads we're not interested in, it avoids getting
5279 sky-high refcounts on sinkpad.
5281 2005-09-30 Wim Taymans <wim@fluendo.com>
5283 * gst/gstelement.c: (gst_element_set_state),
5284 (gst_element_change_state):
5285 Small tweak, element in ASYNC remains ASYNC.
5287 2005-09-30 Wim Taymans <wim@fluendo.com>
5289 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5290 Only error is an error.
5292 * gst/gstbin.c: (gst_bin_change_state):
5295 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5296 Also call pad_block in pad alloc.
5298 * gst/gstutils.c: (gst_flow_get_name):
5301 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5303 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5304 (gst_base_src_get_range):
5305 Fix documentation typos. Add some more debug info.
5307 2005-09-29 David Schleef <ds@schleef.org>
5309 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5310 more end-user friendly.
5311 * tools/gst-inspect.c: (main): Check if command-line argument is
5312 a file and attempt to load that file as a plugin.
5314 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5316 * check/gst/gstbin.c:
5317 * check/states/sinks.c:
5318 fix tests for the new warning
5319 * check/gst/gstpipeline.c:
5320 add a test for pipeline and bus interaction
5322 elements should be NULL if they get disposed; add a warning if not
5324 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5327 for 2.6 refcounting, make debug log more correct by printing
5328 the actual refcounts at the time of swap (Wim)
5330 2005-09-29 Andy Wingo <wingo@pobox.com>
5332 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5333 removes signal watches previously added via
5334 gst_bus_add_signal_watch.
5335 (gst_bus_add_signal_watch): Don't return the source id, just store
5336 it on the bus if there wasn't an id already.
5338 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5339 add_signal_watch and remove_signal_watch.
5341 2005-09-29 Edward Hervey <edward@fluendo.com>
5343 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5344 Better if we actually iterate the list :)
5346 2005-09-29 Wim Taymans <wim@fluendo.com>
5348 * check/gst/gstbin.c: (GST_START_TEST):
5349 Change for new bus API.
5351 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5352 (send_messages), (GST_START_TEST), (gstbus_suite):
5353 Change for new bus signal API.
5355 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5356 (gst_bus_source_prepare), (gst_bus_source_check),
5357 (gst_bus_create_watch), (gst_bus_add_watch_full),
5358 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5359 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5361 Remove support for multiple GSources operating on different
5362 message types as it is too complex and unneeded when using
5364 Added support for receiving signals from the bus.
5366 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5368 * docs/libs/tmpl/gstdataprotocol.sgml:
5369 * docs/manual/advanced-dataaccess.xml:
5370 * gst/elements/gstcapsfilter.c:
5372 rename filter-caps to caps property
5374 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5376 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5377 More robust fraction string parsing.
5379 * docs/pwg/appendix-porting.xml:
5380 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5382 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5384 * gst/gstcaps.c: (gst_caps_do_simplify):
5385 Thou shalt not free a structure and then continue using it
5386 in the next loop iteration.
5388 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5390 Add test case for caps simplification.
5392 2005-09-29 Wim Taymans <wim@fluendo.com>
5394 * check/gst/gstbin.c: (GST_START_TEST):
5397 2005-09-29 Wim Taymans <wim@fluendo.com>
5399 * check/gst/gstbin.c: (GST_START_TEST):
5402 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5403 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5404 (find_element), (gst_bin_sort_iterator_next),
5405 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5406 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5407 (gst_bin_change_state), (gst_bin_dispose):
5408 A bin does not have a bus, it gets the bus from the parent.
5410 * gst/gstelement.c: (gst_element_requires_clock),
5411 (gst_element_provides_clock), (gst_element_is_indexable),
5412 (gst_element_is_locked_state), (gst_element_change_state),
5413 (gst_element_set_bus_func):
5416 * gst/gstpipeline.c: (gst_pipeline_class_init),
5417 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5418 The pipeline provides a bus.
5420 2005-09-28 Johan Dahlin <johan@gnome.org>
5422 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5423 gst_structure_get_enum instead of gst_structure_get_int
5425 * gst/gststructure.c (gst_structure_get_enum): Impl.
5427 * gst/gststructure.h (gst_structure_get_enum): Add
5429 * docs/gst/gstreamer-sections.txt: Ditto
5431 * gst/gstmessage.c (gst_message_new_state_changed): Use
5432 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5433 which does introspection.
5434 Reviewed by Christian Schaller
5436 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5438 * gst/gstinfo.c: (gst_debug_log_default):
5439 don't do dummy g_strdup()s
5440 * libs/gst/controller/gstcontroller.c:
5441 (on_object_controlled_property_changed),
5442 (gst_controlled_property_new), (gst_controller_new_valist),
5443 (gst_controller_new_list),
5444 (gst_controller_remove_properties_valist), (gst_controller_set),
5445 (gst_controller_get), (gst_controller_sync_values),
5446 (gst_controller_get_value_array), (_gst_controller_class_init),
5447 (gst_controller_get_type):
5448 * libs/gst/controller/gstcontroller.h:
5449 * libs/gst/controller/gstinterpolation.c:
5450 (gst_controlled_property_find_timed_value_node):
5451 convert // to /**/ comments
5453 2005-09-28 Wim Taymans <wim@fluendo.com>
5455 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5456 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5457 (gst_bus_sync_signal_handler):
5459 Added async-message and sync-message signals to the bus.
5460 Added helper BusFunc to emit signals for all posted messages.
5462 * gst/gstmessage.c: (gst_message_type_get_name),
5463 (gst_message_type_to_quark), (gst_message_get_type):
5465 Register quarks for message names.
5467 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5469 * docs/libs/gstreamer-libs-sections.txt:
5470 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5471 (gst_controller_new_list):
5472 * libs/gst/controller/gstcontroller.h:
5473 added another constructor for language bindings
5475 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5477 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5481 * gst/gstinfo.c: (_gst_debug_init):
5482 slightly more readable color for refcount debugging
5484 2005-09-28 Wim Taymans <wim@fluendo.com>
5486 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5487 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5488 (find_element), (gst_bin_sort_iterator_next),
5489 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5490 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5491 (gst_bin_change_state), (gst_bin_dispose):
5492 Small doc fixes. get_clock -> provide_clock.
5494 * gst/gstelement.c: (gst_element_class_init),
5495 (gst_element_provides_clock), (gst_element_provide_clock),
5496 (gst_element_get_clock), (gst_element_commit_state),
5497 (gst_element_lost_state):
5499 Make get/set_clock() symetric. Add provide_clock vmethod since
5500 that is actually what this function does.
5502 * gst/gstpipeline.c: (gst_pipeline_class_init),
5503 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5504 (gst_pipeline_get_clock):
5505 get_clock -> provide_clock.
5507 2005-09-28 Andy Wingo <wingo@pobox.com>
5509 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5510 lieu of real docs...
5512 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5514 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5516 * gst/elements/gstcapsfilter.c:
5517 * gst/elements/gstfakesink.c:
5518 * gst/elements/gstfakesrc.c:
5519 * gst/elements/gstfdsink.c:
5520 * gst/elements/gstfdsrc.c:
5521 * gst/elements/gstfilesink.c:
5522 * gst/elements/gstfilesrc.c:
5523 * gst/elements/gstidentity.c:
5524 * gst/elements/gsttee.c:
5525 * gst/elements/gsttypefindelement.c:
5526 Make element details static.
5528 2005-09-28 Wim Taymans <wim@fluendo.com>
5530 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5531 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5532 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5533 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5534 (gst_bin_change_state), (gst_bin_dispose):
5535 Some documentation updates.
5536 Clean up dispose handlers.
5538 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5539 * gst/gstpad.c: (gst_pad_dispose):
5540 Clean up dispose handler.
5542 * gst/gstpipeline.c: (gst_pipeline_change_state):
5543 Removed spurious UNLOCK.
5545 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5547 * docs/gst/gstreamer-sections.txt:
5548 * gst/base/gstbasesrc.h:
5553 * gst/gstpipeline.c:
5554 * gst/gstpipeline.h:
5557 added two new functions to the docs
5558 documents all undocumented GstXXXFlags
5559 completed some incomplete docs
5561 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5563 * gst/gstbin.c: (gst_bin_dispose):
5564 * gst/gstelement.c: (gst_element_dispose):
5565 remove now useless and leaky resurrection code in dispose
5566 * gst/base/gstbasesrc.c: (gst_base_src_init):
5567 * gst/gstelementfactory.c: (gst_element_factory_create):
5568 * gst/gstobject.c: (gst_object_set_parent):
5571 2005-09-27 Wim Taymans <wim@fluendo.com>
5573 * docs/design/part-TODO.txt:
5576 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5577 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5578 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5579 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5580 (gst_bin_change_state):
5582 Remove element variable, we keep element info in the iterator now.
5584 2005-09-27 Andy Wingo <wingo@pobox.com>
5586 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5589 2005-09-27 Wim Taymans <wim@fluendo.com>
5591 * check/gst/gstbin.c: (GST_START_TEST):
5592 Enable check that works now.
5594 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5595 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5596 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5597 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5598 (gst_bin_change_state):
5600 Redid the state change algorithm using a topological sort algo.
5601 Handles all cases correctly.
5602 Exposed iterator for state change order.
5605 Temp storage for state changes. Need to get rid of this soon.
5607 2005-09-27 Wim Taymans <wim@fluendo.com>
5609 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5610 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5611 (link_fold_func), (gst_pad_proxy_setcaps):
5612 Leak fixes, the fold functions need to unref the passed object and
5613 _get_parent_*() returns ref to parent.
5615 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5617 * check/gst/gstbuffer.c: (test_make_writable):
5618 Plug leak in test case and fix 'make check-valgrind'
5620 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5622 * gst/gstbuffer.c: (gst_subbuffer_init):
5623 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5624 works correctly in all circumstances (we could have just copied
5625 the parent buffer's readonly flag, but conceptually it seems
5626 cleaner to mark all subbuffers as read-only). (based on patch
5627 by Alessandro Decina, #314710).
5629 * check/gst/gstbuffer.c: (create_read_only_buffer),
5630 (test_make_writable), (test_subbuffer_make_writable),
5632 Add some tests for gst_buffer_make_writable().
5634 2005-09-27 Wim Taymans <wim@fluendo.com>
5636 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5637 use gst_object_has_ancestor().
5639 * gst/gstobject.c: (gst_object_has_ancestor):
5641 gst_object_has_ancestor() copied from gstbin.c as it is a
5644 * tests/instantiate/create.c: (create_all_elements):
5645 * tests/lat.c: (handoff_src), (handoff_sink):
5646 * tests/sched/runxml.c: (main):
5647 * tests/seeking/seeking1.c: (main):
5648 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5650 Fix compilation of some tests.
5652 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5655 Remove comment. GST_TYPE_G_ERROR is here to stay,
5656 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5659 2005-09-26 Wim Taymans <wim@fluendo.com>
5661 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5662 Added check that shows error in state change order.
5664 2005-09-26 Wim Taymans <wim@fluendo.com>
5666 * gst/gstbin.c: (gst_bin_change_state):
5667 Make state change function use 3 queues again, we were
5668 adding elements in the wrong order.
5670 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5673 * gst/gstpad.c: (gst_pad_dispose):
5674 Added some debug info first.
5676 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5678 * docs/design/draft-push-pull.txt:
5679 * docs/design/part-events.txt:
5680 * docs/design/part-overview.txt:
5681 * docs/design/part-scheduling.txt:
5682 Replace all _pull_region() with _pull_range()
5684 2005-09-26 Andy Wingo <wingo@pobox.com>
5686 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5688 * check/gst-libs/controller.c: Update for controller api change.
5691 * tests/Makefile.am:
5692 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5693 over by GLib bug 118439.
5695 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5696 routines to a function.
5698 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5700 * libs/gst/controller/gsthelper.c:
5701 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5702 (gst_object_sync_values): Renamed from sink_values. Ugh.
5704 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5706 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5707 Renamed from controller_key, as it is exported.
5709 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5711 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5716 * gst/gstpadtemplate.h:
5719 * gst/gstqueryutils.c:
5720 * gst/gstqueryutils.h:
5721 remove queryutils headers after moving the two used functions
5722 to gstquery. also fixes build problem for gstsiddec
5724 2005-09-26 Michael Smith <msmith@fluendo.com>
5726 * tools/gst-launch.1.in:
5727 Correct documentation in manpage of debug syntax
5729 2005-09-26 Wim Taymans <wim@fluendo.com>
5731 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5732 (gst_base_src_is_seekable), (gst_base_src_change_state):
5733 Some more debugging info.
5735 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5737 * docs/gst/gstreamer-sections.txt:
5738 * gst/base/gstbasetransform.h:
5742 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5744 * docs/gst/.cvsignore:
5745 * docs/gst/tmpl/.cvsignore:
5746 * docs/gst/tmpl/gstpipeline.sgml:
5747 * docs/gst/tmpl/gstplugin.sgml:
5748 * gst/gstpipeline.c:
5751 inlined the last two docs files
5752 removed the tmpl directory from cvs (no more conflicts here!)
5754 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5756 * docs/gst/gstreamer-sections.txt:
5757 * docs/gst/tmpl/.cvsignore:
5758 * docs/gst/tmpl/gstpad.sgml:
5759 * docs/gst/tmpl/gstpadtemplate.sgml:
5761 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5762 (gst_pad_finalize), (gst_pad_set_pad_template):
5764 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5765 (gst_pad_template_class_init), (gst_pad_template_init),
5766 (gst_pad_template_dispose), (name_is_valid),
5767 (gst_static_pad_template_get), (gst_pad_template_new),
5768 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5769 (gst_pad_template_pad_created):
5770 * gst/gstpadtemplate.h:
5771 inlined two more docs
5772 factored gstpadtemplate out of gstpad
5774 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5776 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5777 (test_children_state_change_order_semi_sink):
5778 Fix test case: we can't rely on a fixed state change order when
5779 going from READY => PAUSED because the sink might commit its
5780 new state first when the first buffer created by the source
5781 reaches the sink before the source has finished its change state.
5782 (Test case still fails at times, see #316856, comment 5 onwards)
5784 2005-09-24 Wim Taymans <wim@fluendo.com>
5786 * docs/design/part-events.txt:
5787 * docs/design/part-gstbus.txt:
5788 * docs/design/part-gstpipeline.txt:
5789 * docs/design/part-messages.txt:
5790 * docs/design/part-overview.txt:
5791 * docs/design/part-segments.txt:
5798 * gst/gstiterator.c:
5799 Various documentation updates.
5801 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5804 Well, that's embarassing. Luckily we weren't using
5805 GST_CLOCK_DIFF anywhere.
5807 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5809 * common/gtk-doc.mak:
5810 don't fail on building XML, FC4 slave shows a bunch of doc
5811 missing bits that I don't get
5813 * gst/gstpipeline.c:
5814 * gst/gststructure.c:
5817 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5819 * docs/design/part-gstbin.txt:
5820 * docs/design/part-gstbus.txt:
5822 Add blurb about how the bus goes into flushing mode and
5823 drops all messages when its bin goes from READY into NULL
5826 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5828 * docs/gst/gstreamer-sections.txt:
5829 * gst/gststructure.c: (gst_structure_get_clock_time):
5830 * gst/gststructure.h:
5831 add a method to get a GstClockTime out of a structure
5833 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5835 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5836 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5837 Added test to check state change order in bins (can still be made
5838 to fail here under heavy disk load; bails out with 'Push on pad
5839 fakesink:sink0, but it was not activated in push mode').
5841 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5842 Fix state change order when there is only a semi sink (#316856)
5844 * gst/gstbus.c: (gst_bus_class_init):
5845 Use _class_peek_parent(), not _class_ref(); fix docs to say
5846 'default main context' instead of 'mainloop' where that is
5849 * gst/gstelement.c: (gst_element_commit_state),
5850 (gst_element_set_state):
5851 Fix typos in debug messages
5853 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5856 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5857 * gst/gstpluginfeature.c:
5860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5861 change an assert into an error until it gets fixed properly
5863 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5865 * docs/gst/gstreamer-sections.txt:
5866 * docs/gst/tmpl/.cvsignore:
5867 * docs/gst/tmpl/gstelement.sgml:
5868 * docs/gst/tmpl/gstinfo.sgml:
5869 * docs/gst/tmpl/gstobject.sgml:
5874 * gst/gstobject.c: (gst_object_class_init):
5876 inlined 3 more biiiig doc files and added some missing docs on the fly
5878 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5880 * check/gst/.cvsignore:
5881 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5882 * gst/gstregistryxml.c: (load_plugin),
5883 (gst_registry_xml_save_plugin):
5884 put back source in registry. add checks for find_plugin.
5885 * testsuite/states/bin.c: (assert_state), (empty_bin),
5886 (test_adding_one_element), (main):
5887 * testsuite/states/locked.c: (main):
5888 some compile/run fixes
5890 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5892 * check/gst/gstvalue.c: (GST_START_TEST):
5893 fix leaks in the test itself
5895 2005-09-22 Wim Taymans <wim@fluendo.com>
5897 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5898 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5899 (gst_base_sink_query):
5900 Prepare for more accurate position reporting and query
5903 * gst/gstelement.c: (gst_element_send_event),
5904 (gst_element_set_state):
5907 2005-09-22 Wim Taymans <wim@fluendo.com>
5909 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5910 (gst_query_parse_segment):
5913 Add segment query for future use.
5915 2005-09-22 Wim Taymans <wim@fluendo.com>
5917 * gst/gstbin.c: (gst_bin_add_func):
5918 Some more debug info.
5920 * gst/gstelement.c: (gst_element_send_event):
5924 Don't know how flags got broken.
5929 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5931 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5932 Add simplistic test suite for GST_TYPE_DATE serialisation and
5935 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5937 * docs/gst/gstreamer-sections.txt:
5938 * gst/gststructure.c: (gst_structure_set_valist),
5939 (gst_structure_get_date):
5940 * gst/gststructure.h:
5941 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5942 (gst_date_copy), (gst_value_compare_date),
5943 (gst_value_serialize_date), (gst_value_deserialize_date),
5944 (gst_value_transform_date_string),
5945 (gst_value_transform_string_date), (_gst_value_initialize):
5947 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5948 bunch of utility functions along with a hack that checks that
5949 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5950 is required. Part of the grand scheme in #170777.
5952 2005-09-22 Andy Wingo <wingo@pobox.com>
5954 * gst/gstconfig.h.in: Psych out gtk-doc.
5956 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5958 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5960 * tools/gst-inspect.c (print_element_list): Plug some
5961 inconsequential leaks.
5963 * gst/gstregistry.c (gst_registry_get_default): Doc.
5965 * check/gst/gstplugin.c:
5966 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5967 * gst/gstelementfactory.c (gst_element_factory_create):
5968 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5971 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5972 (gst_plugin_feature_load): Doc, don't eat refs.
5974 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5975 (gst_plugin_list_free): Doc.
5976 (gst_plugin_load_file): Doc updates.
5978 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5979 accessors returning refcounted objects, return a ref.
5981 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5982 accessor for caps. IDEMPOTENCE. Oh yes.
5984 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5986 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5988 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5989 (_gst_debug_register_funcptr):
5990 Add mutex to serialise access to the hash table with
5991 the function pointer => function name string mapping;
5992 make that hash table static scope (#316809).
5994 * gst/registries/.cvsignore:
5995 Remove left-over file.
5997 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5999 * docs/pwg/appendix-porting.xml:
6000 And something about newsegment events and caps-on-buffers to
6001 the porting guide (feel free to improve).
6003 2005-09-21 Andy Wingo <wingo@pobox.com>
6005 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6006 data and event probes on the same pad.
6007 (test_buffer_probe_once): Test that removing probes from within
6008 the probe functions works.
6010 2005-09-21 Andy Wingo <wingo@pobox.com>
6012 * check/gst/gstutils.c: New file.
6013 (test_buffer_probe_n_times): A simple buffer probe test. More to
6016 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6017 have-data::buffer, not have-data.
6018 (gst_pad_add_event_probe): Likewise for have-data::event.
6019 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6020 peer' isn't quite right yet though.
6021 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6022 (gst_pad_remove_data_probe): Change to take the guint handler_id
6023 as their arg, not the function+data, which is more glib-like.
6025 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6026 the signal emission to indicate if the data is a buffer or an
6028 (gst_pad_get_type): Initialize buffer and event quarks.
6029 (gst_pad_class_init): have-data is now a detailed signal, yes it
6032 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6034 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6035 * gst/gstutils.c: (gst_util_set_value_from_string),
6036 (gst_util_set_object_arg):
6037 Don't put functional code in g_return_if_fail() or
6038 g_return_val_if_fail() statements, otherwise things will
6039 break when G_DISABLE_CHECKS is defined during compilation.
6041 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6043 * docs/gst/tmpl/.cvsignore:
6044 * docs/gst/tmpl/gstvalue.sgml:
6047 inlied another one and added some obvious docs
6049 2005-09-21 Wim Taymans <wim@fluendo.com>
6051 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6052 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6053 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6054 (gst_fdsrc_get_property), (gst_fdsrc_create):
6055 * gst/elements/gstfdsrc.h:
6056 Properly implement fdsrc. Removed signal and timeout,
6057 better implemented somewhere else.
6059 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6061 * docs/gst/tmpl/.cvsignore:
6062 * docs/gst/tmpl/gstimplementsinterface.sgml:
6063 * gst/gstinterface.c:
6066 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6068 * docs/gst/gstreamer-sections.txt:
6069 * docs/gst/tmpl/.cvsignore:
6070 * docs/gst/tmpl/gstenumtypes.sgml:
6071 remove obsolete doc file
6073 2005-09-21 David Schleef <ds@schleef.org>
6075 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6076 little beer, fix a little leak.
6078 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6080 * docs/gst/gstreamer-docs.sgml:
6081 * docs/gst/gstreamer-sections.txt:
6082 * docs/gst/tmpl/.cvsignore:
6087 * gst/gstindex.c: (gst_index_class_init):
6089 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6090 (gst_index_factory_class_init), (gst_index_factory_init),
6091 (gst_index_factory_finalize), (gst_index_factory_new),
6092 (gst_index_factory_destroy), (gst_index_factory_find),
6093 (gst_index_factory_create), (gst_index_factory_make):
6094 * gst/gstindexfactory.h:
6095 * gst/gstpluginfeature.c:
6096 * gst/gstpluginfeature.h:
6097 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6098 more docs inlined, splitted gstindex.{c,h}
6100 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6102 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6105 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6107 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6108 Set sync to FALSE by default.
6110 2005-09-20 Wim Taymans <wim@fluendo.com>
6112 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6113 (gst_base_sink_init):
6114 Make sync property settable from subclass.
6116 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6117 (gst_fake_sink_change_state):
6118 Set sync to FALSE by default.
6120 2005-09-20 Wim Taymans <wim@fluendo.com>
6122 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6123 * tools/gst-launch.c: (main):
6124 The timeout handler should have lower priority than the source
6125 so we don't timeout before popping a message with 0 timeout.
6126 Dump error messages after failed state change.
6128 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6130 * tools/gst-inspect.c: (print_element_properties_info):
6133 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6135 * check/gst/gstevent.c:
6136 * gst/elements/gstfakesink.c:
6137 * gst/elements/gstfakesink.h:
6138 remove the sync property from fakesink.
6139 has the side effect of setting sync TRUE
6140 for fakesink, which is a change. Anyone who knows how
6141 to fix this nicely in a GObject-y way, feel free.
6143 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6145 * docs/gst/gstreamer-docs.sgml:
6146 remove probe refsection
6148 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6150 * check/Makefile.am:
6151 disable valgrinding the controller test again
6152 * docs/gst/gstreamer-sections.txt:
6153 update for api-changes
6155 2005-09-20 Wim Taymans <wim@fluendo.com>
6157 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6158 (gst_base_sink_set_property), (gst_base_sink_get_property),
6159 (gst_base_sink_do_sync):
6160 * gst/base/gstbasesink.h:
6161 Added sync property to basesink to disable clock sync.
6163 2005-09-20 Andy Wingo <wingo@pobox.com>
6165 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6166 eating the caller's refcount.
6168 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6169 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6172 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6173 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6174 of GLib 2.8 public, so we can know which refcount to check in
6177 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6178 (gst_object_init): Only set the gst refcount if we're going ahead
6179 with the refcount hack.
6181 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6183 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6184 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6185 more leaks plumbed, added more debug-logging
6189 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6192 remove include of gstmemchunk.h
6194 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6196 * gst/gstclock.c: (_gst_clock_id_free):
6197 Commit from the Political Party For More Atomic CVS Commits,
6198 so that people don't waste too much of their day fishing
6199 out obvious leaks out of massive commits.
6200 Oh, and fix a pretty damn obvious leak in the memchunk
6203 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6205 * check/Makefile.am:
6206 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6207 plug mem-leak, re-add to valgrindable tests
6209 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6212 unbreak the build for those who have chronic arthritis
6213 and typing "make check" is just too taxing on the hands
6215 2005-09-20 Andy Wingo <wingo@pobox.com>
6217 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6218 really want it out, you should fix plugins at the same time.
6220 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6223 * docs/gst/gstreamer-sections.txt:
6225 added missing symbols to api docs
6226 disable ref-count hack if we have glib >= 2.8
6228 2005-09-19 David Schleef <ds@schleef.org>
6230 * docs/gst/Makefile.am: Ignore a few more internal headers
6231 * docs/gst/gstreamer-docs.sgml: Remove old sections
6232 * docs/gst/gstreamer-sections.txt: Remove old sections
6233 * docs/gst/tmpl/gstobject.sgml: update
6234 * docs/gst/tmpl/gstplugin.sgml: update
6235 * docs/gst/tmpl/gstpluginfeature.sgml: update
6236 * docs/random/ds/0.9-suggested-changes: update.
6237 * gst/Makefile.am: remove memchunk and trashstack, since they're
6239 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6240 * gst/gst.h: don't include some headers
6241 * gst/gstchildproxy.c: add gstmarshal.h
6242 * gst/gstclock.c: Don't use memchunks
6243 * gst/gstminiobject.c: Add some docs
6244 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6245 * gst/gstobject.h: same
6246 * gst/gstplugin.c: include gstmacros.h
6247 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6248 * gst/gstquery.c: don't use memchunks
6249 * gst/gstregistry.c: rename gst_registry_deinit()
6250 * gst/gstregistry.h: same
6252 2005-09-19 David Schleef <ds@schleef.org>
6254 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6255 * docs/libs/gstreamer-libs-sections.txt:
6256 * docs/libs/tmpl/gstgetbits.sgml:
6257 * docs/libs/tmpl/gstputbits.sgml:
6259 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6261 * win32/gstenumtypes.c:
6262 * win32/gstenumtypes.h:
6265 2005-09-19 Wim Taymans <wim@fluendo.com>
6267 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6268 Automatically PAUSE and RESUME a pipeline when a flushing seek
6271 2005-09-19 Andy Wingo <wingo@pobox.com>
6273 * gst/gstregistry.h: Spacing fixen.
6275 2005-09-19 Wim Taymans <wim@fluendo.com>
6277 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6278 Handle state change failure more correctly.
6280 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6282 * check/Makefile.am:
6283 * check/pipelines/cleanup.c: (run_pipeline):
6284 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6286 enable cleanup again after fixing the leak
6288 some more info on docs
6290 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6292 * check/Makefile.am:
6293 re-enable tests now that leaks are plugged
6295 * check/gst/gstbin.c:
6296 * check/gst/gstpipeline.c:
6297 add some more tests while fixing leaks
6299 make sure binaries are uptodate when valgrinding/gdbing
6301 * gst/gstelementfactory.c:
6302 remove a ref too many, and add a FIXME for when we get
6303 round to disposing of classes
6305 fix the refcounting when loading a plugin from a file and
6306 the code pretends that the pointer is the same even though
6307 of course it can change
6308 * gst/gstpluginfeature.c:
6309 unref plugins marked cached (a bit confusing as a name)
6310 as the docs state should be done
6311 various doc additions to explain refcounting
6312 * gst/gstregistry.c:
6313 * gst/gstregistryxml.c:
6316 2005-09-19 Wim Taymans <wim@fluendo.com>
6318 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6319 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6320 (send_messages), (GST_START_TEST), (gstbus_suite):
6321 * check/gst/gstpipeline.c: (GST_START_TEST):
6322 * check/pipelines/cleanup.c: (run_pipeline):
6323 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6325 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6326 (gst_bus_source_check), (gst_bus_source_dispatch),
6327 (gst_bus_create_watch), (gst_bus_add_watch_full),
6328 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6330 * tools/gst-launch.c: (event_loop):
6331 * tools/gst-md5sum.c: (event_loop):
6332 GstBusHandler -> GstBusFunc, return value has the same meaning as
6333 any other GSource (FALSE == remove source).
6334 _add_watch() and _add_watch_full() now take a MessageType mask to
6335 only handle specific types of messages.
6336 _poll() returns the GstMessage instead of the message type to avoid
6338 _have_pending() takes a MessageType mask now too.
6339 Added testsuite for multiple bus watches.
6340 Fix testsuites and applications for new bus API.
6342 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6344 * check/Makefile.am:
6345 mark a bunch of the tests as to fix until we fix them
6347 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6350 use GST_PLUGIN settings for valgrind tests as well, so we're
6351 valgrinding the correct thing
6352 * gst/gst.c: (init_post):
6355 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6357 * gst/gst.c: (init_post), (gst_deinit):
6358 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6359 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6360 * gst/gstindex.c: (gst_index_factory_class_init),
6361 (gst_index_factory_finalize):
6362 * gst/gstobject.c: (gst_object_dispose):
6363 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6364 (gst_plugin_load_file), (gst_plugin_desc_free):
6365 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6366 (gst_plugin_feature_finalize):
6367 * gst/gstregistry.c: (gst_registry_class_init),
6368 (gst_registry_init), (gst_registry_finalize),
6369 (gst_registry_get_default), (gst_registry_deinit):
6370 * gst/gstregistry.h:
6371 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6372 various cleanups and memleak plugging. make valgrind is happy now.
6374 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6377 add a check-valgrind target
6379 2005-09-18 David Schleef <ds@schleef.org>
6381 * tools/gst-inspect.c: Revert the GOption code.
6383 2005-09-17 David Schleef <ds@schleef.org>
6385 * check/Makefile.am: Fix environment variables.
6386 * check/gst/gstplugin.c: Fix for API changes.
6387 * tools/gst-inspect.c: Fix for API changes.
6388 * tools/gst-xmlinspect.c: Fix for API changes.
6389 * gst/gstelementfactory.c:
6392 * gst/gstpluginfeature.c:
6393 * gst/gstpluginfeature.h:
6394 * gst/gstregistry.c:
6395 * gst/gstregistry.h:
6396 * gst/gstregistryxml.c:
6397 * gst/gsttypefind.c:
6398 * gst/gsttypefindfactory.c:
6399 * gst/indexers/gstfileindex.c:
6400 * gst/indexers/gstmemindex.c:
6401 * gst/schedulers/Makefile.am:
6402 Change registry to keep track of both plugins and features,
6403 removing the feature tracking from plugins themselves.
6405 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6407 * check/Makefile.am:
6408 * tools/gst-register.1.in:
6411 2005-09-15 David Schleef <ds@schleef.org>
6413 * check/gst/gstplugin.c:
6414 * gst/gstelementfactory.c:
6416 * gst/gstpluginfeature.c:
6417 * gst/gstregistry.c:
6418 Getting tired of debugging. Disabled all the unreffing of
6419 plugins and features, which fixes the segfaults, but of
6420 course leaks like crazy. At least playbin works.
6422 2005-09-15 David Schleef <ds@schleef.org>
6424 * check/gst/gstplugin.c: (register_check_elements),
6425 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6427 * gst/elements/gsttypefindelement.c: Fix refcounting.
6428 * gst/gsttypefind.c:
6429 * gst/gsttypefindfactory.c:
6430 * gst/gsttypefindfactory.h:
6432 2005-09-15 David Schleef <ds@schleef.org>
6434 * gst/gstindex.c: get refcounting correct.
6435 * gst/gstregistry.c: Handle the case where a feature/plugin is
6438 2005-09-15 David Schleef <ds@schleef.org>
6440 * check/Makefile.am:
6441 * check/gst/gstplugin.c: Add test
6442 * gst/gstplugin.c: Fix problems noticed by testsuite
6444 * gst/gstregistry.c:
6445 * gst/gstregistry.h:
6447 2005-09-15 David Schleef <ds@schleef.org>
6449 * gst/gstplugin.c: Implement semi-decent recounting and locking
6450 in plugins and plugin features.
6452 * gst/gstpluginfeature.c:
6453 * gst/gstpluginfeature.h:
6454 * gst/gstregistry.c:
6456 2005-09-15 Michael Smith <msmith@fluendo.com>
6458 * gst/gstregistry.c: (gst_registry_get_feature_list):
6459 Implement this. Makes oggdemux work; decodebin still broken.
6461 2005-09-14 David Schleef <ds@schleef.org>
6463 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6465 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6466 * gst/check/Makefile.am:
6467 * libs/gst/controller/Makefile.am:
6468 * libs/gst/dataprotocol/Makefile.am:
6470 2005-09-14 David Schleef <ds@schleef.org>
6472 * configure.ac: Remove getbits library. Nothing uses it, and
6473 it should be in something like liboil if someone did want
6475 * libs/gst/Makefile.am:
6476 * libs/gst/getbits/Makefile.am:
6477 * libs/gst/getbits/gbtest.c:
6478 * libs/gst/getbits/getbits.c:
6479 * libs/gst/getbits/getbits.h:
6480 * libs/gst/getbits/gstgetbits_generic.c:
6481 * libs/gst/getbits/gstgetbits_i386.s:
6482 * libs/gst/getbits/gstgetbits_inl.h:
6484 2005-09-14 David Schleef <ds@schleef.org>
6486 * gst/Makefile.am: Dist glib-compat.h
6488 2005-09-14 David Schleef <ds@schleef.org>
6490 * configure.ac: Remove gst/registries, since it's no longer used.
6491 * gst/registries/Makefile.am:
6492 * gst/registries/gstlibxmlregistry.c:
6493 * gst/registries/gstlibxmlregistry.h:
6494 * gst/registries/gstxmlregistry.c:
6495 * gst/registries/gstxmlregistry.h:
6496 * gst/registries/registrytest.c:
6498 2005-09-14 David Schleef <ds@schleef.org>
6500 * gst/glib-compat.h:
6501 * gst/gstregistryxml.c:
6502 Convergence is near. Seriously.
6504 2005-09-14 David Schleef <ds@schleef.org>
6506 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6507 * gst/glib-compat.h:
6508 Attempt #4 to appease the buildbots.
6510 2005-09-14 David Schleef <ds@schleef.org>
6512 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6515 2005-09-14 David Schleef <ds@schleef.org>
6517 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6520 2005-09-14 David Schleef <ds@schleef.org>
6522 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6525 2005-09-14 David Schleef <ds@schleef.org>
6527 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6528 * gst/glib-compat.h: Add some functions that are in newer versions
6529 of glib than we care to require.
6530 * gst/gstregistryxml.c: Use them.
6532 2005-09-14 David Schleef <ds@schleef.org>
6534 * po/POTFILES.in: remove gst-register.c
6536 2005-09-14 David Schleef <ds@schleef.org>
6538 * docs/gst/gstreamer-docs.sgml:
6539 * docs/gst/gstreamer-sections.txt:
6540 * docs/gst/gstreamer.types:
6541 * docs/gst/tmpl/gstelement.sgml:
6542 * docs/gst/tmpl/gstplugin.sgml:
6543 * docs/gst/tmpl/gstpluginfeature.sgml:
6544 Documentation updates for registry changes.
6546 2005-09-14 David Schleef <ds@schleef.org>
6548 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6549 because we don't require glib-2.8.
6551 2005-09-14 David Schleef <ds@schleef.org>
6553 * gst/gstregistryxml.c: Added. Essentially moved out of the
6554 registries directory.
6556 2005-09-14 David Schleef <ds@schleef.org>
6558 * check/Makefile.am:
6559 * check/generic/states.c:
6563 * gst/gst_private.h:
6564 * gst/gstelementfactory.c:
6569 * gst/gstpluginfeature.c:
6570 * gst/gstpluginfeature.h:
6571 * gst/gstregistry.c:
6572 * gst/gstregistry.h:
6573 * gst/gstregistrypool.c: remove
6574 * gst/gstregistrypool.h: remove
6575 * gst/gsttypefind.c:
6576 * gst/gsttypefindfactory.c:
6578 * tools/Makefile.am:
6579 * tools/gst-compprep.c:
6580 * tools/gst-inspect.c:
6581 * tools/gst-register.c: remove
6582 * tools/gst-xmlinspect.c:
6583 Registry rewrite. Changes registry from being a file created
6584 by a tool into a simple cache file created automatically by
6585 libgstreamer. Removed gst-register (because it's no longer
6586 needed). Remove registry pools, because we only have one
6587 registry implementation (XML). Fix up other subsystems as
6590 2005-09-13 Michael Smith <msmith@fluendo.com>
6592 * gst/gstconfig.h.in:
6593 Don't Use windows linking attributes for MinGW. Fixes #316157
6595 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * gst/gstutils.c: (set_state_async_thread_func),
6598 (gst_element_set_state_async):
6599 Apparently people think it's better if this function doesn't
6600 try to set the state to whatever state was asked for on the first
6601 call to this function for any object. Seriously.
6603 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6605 * check/gst/gstpipeline.c: (GST_START_TEST):
6606 * docs/gst/gstreamer-sections.txt:
6607 * gst/gstutils.c: (set_state_async_thread_func),
6608 (gst_element_set_state_async):
6610 add a "gst_element_set_state_async" method that
6611 sets the state and starts a thread to make sure the state
6612 change completes as best as it can
6614 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6616 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6617 codify design+behaviour in testsuite after discussion
6619 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6621 * docs/gst/tmpl/gstelement.sgml:
6622 * docs/manual/appendix-quotes.xml:
6624 * gst/gstelement.c: (gst_element_set_state):
6627 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6629 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6630 (gst_base_transform_prepare_output_buf),
6631 (gst_base_transform_handle_buffer):
6632 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6633 (gst_capsfilter_prepare_buf):
6634 Remove the requirement for sub-classes to call the parent
6635 implementation of prepare_output_buffer with a wrapper function.
6638 * gst/gsttagsetter.h:
6641 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6643 * docs/gst/gstreamer-sections.txt:
6646 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6648 * docs/gst/gstreamer-sections.txt:
6649 * docs/gst/tmpl/gstelement.sgml:
6650 * docs/gst/tmpl/gstplugin.sgml:
6651 * gst/gstminiobject.c:
6653 docs now stop throwing warnings
6655 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6657 * docs/gst/gstreamer-sections.txt:
6658 * docs/gst/gstreamer.types:
6659 * docs/gst/tmpl/gstpad.sgml:
6660 * docs/gst/tmpl/gsttypes.sgml:
6661 * gst/base/gstadapter.h:
6662 * gst/base/gstbasesink.h:
6663 * gst/base/gstbasesrc.h:
6673 * gst/gststructure.c:
6674 * gst/registries/gstlibxmlregistry.h:
6675 various documentation fixes
6677 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6679 * docs/gst/gstreamer-sections.txt:
6680 * docs/gst/tmpl/gstvalue.sgml:
6681 rearrange gstvalue section
6682 * gst/gstutils.c: (gst_element_state_get_name):
6684 * gst/gstvalue.c: (_gst_value_initialize):
6688 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6690 * check/gst-libs/controller.c:
6692 * gst/base/gstbasetransform.c:
6693 (gst_base_transform_default_prepare_buf),
6694 (gst_base_transform_handle_buffer):
6695 * gst/base/gstbasetransform.h:
6696 Some more basetransform changes and fixes to enable sub-classes
6697 that modify buffer metadata only.
6698 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6699 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6700 (gst_capsfilter_prepare_buf):
6701 If the output pad has fixed allowed caps and input buffers
6702 don't have any, set the fixed caps on outgoing buffers.
6704 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6705 * check/elements/identity.c: (GST_START_TEST):
6706 Make the error a little clearer when the test fails because
6707 identity made a copy of the buffer.
6708 * docs/gst/gstreamer-sections.txt:
6709 New symbols in gstbasetransform.h
6710 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6711 (gst_base_transform_init), (gst_base_transform_transform_size),
6712 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6713 (gst_base_transform_default_prepare_buf),
6714 (gst_base_transform_get_unit_size),
6715 (gst_base_transform_buffer_alloc),
6716 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6717 (gst_base_transform_change_state),
6718 (gst_base_transform_set_passthrough),
6719 (gst_base_transform_set_in_place),
6720 (gst_base_transform_is_in_place):
6721 * gst/base/gstbasetransform.h:
6722 Change BaseTransform to separate in_place operate from same_caps
6723 output. in_place implies that the element can perform the transform
6724 on incoming buffers in-place, even if the caps on the output are
6726 Sub-class elements can now implement special buffer allocation
6727 methods for outgoing buffers if they wish to.
6728 Big documentation addition.
6729 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6730 * gst/elements/gstelements.c:
6731 Changes for basetransform modifications.
6732 * gst/elements/Makefile.am:
6733 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6734 Compile fix. Extra debug output.
6736 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6738 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6740 add tests for valid pad naming
6741 * gst/check/gstcheck.c: (gst_check_log_message_func),
6742 (gst_check_log_critical_func):
6744 remove printing of code, it is fragile when the code contains
6745 % and the line number is enough info
6746 * gst/check/gstcheck.h:
6747 * gst/gstpad.c: (gst_pad_template_new):
6750 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6753 say what CHECK flags we use
6754 * docs/libs/gstreamer-libs.types:
6755 * libs/gst/controller/Makefile.am:
6756 * libs/gst/controller/gst-controller.c:
6757 * libs/gst/controller/gst-controller.h:
6758 * libs/gst/controller/gst-helper.c:
6759 * libs/gst/controller/gst-interpolation.c:
6760 * libs/gst/controller/gstcontroller.c:
6761 * libs/gst/controller/gsthelper.c:
6762 * libs/gst/controller/gstinterpolation.c:
6763 * tools/gst-inspect.c: (print_plugin_info):
6764 we don't use dashes in header names
6766 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6768 * check/Makefile.am:
6769 * check/gst/.cvsignore:
6770 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6771 (gst_pipeline_suite), (main):
6772 adding a test for pipelines and state changes
6773 * gst/gstutils.c: (get_state_func):
6775 * gstreamer.spec.in:
6778 2005-09-08 Michael Smith <msmith@fluendo.com>
6780 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6781 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6782 (gst_file_src_is_seekable), (gst_file_src_get_size),
6783 (gst_file_src_start):
6784 * gst/elements/gstfilesrc.h:
6785 Various fixes for unseekable, unmmapable, and non-normal files, so
6786 that fallback to read() rather than mmap() works.
6787 * gst/gstevent.c: (gst_event_new_newsegment):
6788 Allow newsegment events with segment_start == segment_end, as will
6789 correctly happen if you use filesrc on a zero-size file, for
6792 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6794 * gst/gstplugin.c: (gst_plugin_load_file):
6795 Call g_module_close when we don't load the module
6797 * gst/registries/gstlibxmlregistry.c:
6798 (gst_xml_registry_get_property):
6799 Port leak fix from 0.8
6801 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6803 * docs/gst/gstreamer-docs.sgml:
6804 * docs/gst/tmpl/.cvsignore:
6805 * docs/gst/tmpl/gsttrace.sgml:
6806 * docs/gst/tmpl/gsttrashstack.sgml:
6815 * gst/gsttaginterface.c:
6816 * gst/gsttaginterface.h:
6819 * gst/gsttagsetter.c:
6820 * gst/gsttagsetter.h:
6823 * gst/gsttrashstack.c:
6824 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6825 inlined docs for gsttrace, gsttrashstack
6827 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6830 * gst/elements/gstbufferstore.h:
6831 * gst/elements/gsttypefindelement.c:
6832 * gst/elements/gsttypefindelement.h:
6834 * gst/gsttypefind.c:
6835 * gst/gsttypefind.h:
6836 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6837 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6838 (gst_type_find_factory_dispose),
6839 (gst_type_find_factory_unload_thyself),
6840 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6841 (gst_type_find_factory_get_caps),
6842 (gst_type_find_factory_get_extensions),
6843 (gst_type_find_factory_call_function):
6844 * gst/gsttypefindfactory.h:
6845 * gst/registries/gstlibxmlregistry.c:
6846 * gst/registries/gstxmlregistry.c:
6847 splitted gsttypefind into gsttypefind, gsttypefindfactory
6849 2005-09-07 Andy Wingo <wingo@pobox.com>
6851 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6852 condition whereby the pad's task function is entered before the
6853 pad_mode variable was set.
6855 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6857 * gst/gstpad.c: (gst_pad_alloc_buffer):
6858 Catch misbehaving pad_alloc functions that don't
6859 set up caps and do it for them.
6861 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6863 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6865 * docs/gst/tmpl/.cvsignore:
6866 * docs/gst/tmpl/gstmemchunk.sgml:
6867 * docs/gst/tmpl/gstparse.sgml:
6868 * docs/gst/tmpl/gsttaglist.sgml:
6869 * docs/gst/tmpl/gsttagsetter.sgml:
6870 * docs/gst/tmpl/gsttypefind.sgml:
6871 * docs/gst/tmpl/gsttypefindfactory.sgml:
6872 * gst/gstmemchunk.c:
6875 * gst/gsttaginterface.c:
6876 * gst/gsttypefind.c:
6877 * gst/gsttypefind.h:
6880 === release 0.9.2 ===
6882 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6887 releasing 0.9.2, "South"
6889 2005-09-05 Andy Wingo <wingo@pobox.com>
6891 * gst/registries/gstxmlregistry.h:
6892 * gst/registries/gstxmlregistry.c: Um... resurrect...
6894 * gst/registries/gstxmlregistry.h:
6895 * gst/registries/gstxmlregistry.c: and update to newer API.
6896 Incidentally they should be a bit faster now that they don't have
6899 2005-09-05 Andy Wingo <wingo@pobox.com>
6901 * gst/registries/gstxmlregistry.h:
6902 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6903 replaced by the libxml registry a while back
6905 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6907 * docs/gst/tmpl/gstplugin.sgml:
6908 * gst/elements/gstelements.c:
6910 * gst/gstplugin.c: (gst_plugin_register_func),
6911 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6912 (gst_plugin_get_source):
6914 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6915 (gst_xml_registry_save_plugin):
6916 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6917 (gst_xml_registry_save_plugin):
6918 * tools/gst-inspect.c: (print_plugin_info):
6919 add a "source" plugin description field, to represent the source
6920 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6921 will set it to PACKAGE, which is automake's idea of the name of
6924 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6930 * docs/faq/Makefile.am:
6931 * docs/gst/tmpl/gstelement.sgml:
6932 * docs/gst/tmpl/gsttypes.sgml:
6933 * docs/htmlinstall.mak:
6934 * docs/manual/Makefile.am:
6935 * docs/pwg/Makefile.am:
6936 reorganize doc build a little
6937 split out docbook and gtk-doc stuff
6938 have two separate --enable's and enable them through autogen
6939 but disable by default in configure (to be similar to other
6941 * gstreamer.spec.in:
6942 clean up docs install
6962 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6964 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6967 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6968 (gst_fake_sink_change_state):
6969 Make state change function thread-safe.
6971 * gst/gstpad.c: (gst_pad_alloc_buffer):
6972 Set offset on generic buffer allocated by fallback.
6974 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6976 * docs/gst/gstreamer-sections.txt:
6977 * docs/gst/tmpl/gstelement.sgml:
6979 * libs/gst/controller/gst-controller.c:
6980 (gst_controlled_property_set_interpolation_mode),
6981 (gst_controlled_property_new),
6982 (gst_controller_find_controlled_property):
6983 run the wingo-magic script against the docs
6985 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6987 * docs/gst/gstreamer-docs.sgml:
6988 * docs/gst/gstreamer-sections.txt:
6989 * docs/gst/tmpl/.cvsignore:
6990 * docs/gst/tmpl/gstelementdetails.sgml:
6991 * docs/gst/tmpl/gstelementfactory.sgml:
6994 * gst/gstelementfactory.c:
6995 * gst/gstelementfactory.h:
6996 merged elementdetails docs into elementfactory docs
6999 2005-09-02 Andy Wingo <wingo@pobox.com>
7001 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7002 consider this enum an enum and not a flags.
7004 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7006 * docs/gst/gstreamer-docs.sgml:
7007 * docs/gst/tmpl/.cvsignore:
7008 * docs/gst/tmpl/gstghostpad.sgml:
7009 * docs/gst/tmpl/gstiterator.sgml:
7010 * docs/gst/tmpl/gstmacros.sgml:
7011 * docs/gst/tmpl/gstrealpad.sgml:
7012 * docs/gst/tmpl/gstregistry.sgml:
7013 * docs/gst/tmpl/gstregistrypool.sgml:
7014 * docs/gst/tmpl/gststructure.sgml:
7015 * docs/gst/tmpl/gstsystemclock.sgml:
7016 * docs/gst/tmpl/gsttrace.sgml:
7017 * gst/gstghostpad.c:
7019 * gst/gstmemchunk.c:
7020 * gst/gstmemchunk.h:
7022 * gst/gstregistry.c:
7023 * gst/gstregistrypool.c:
7024 * gst/gststructure.c:
7025 * gst/gstsystemclock.c:
7028 2005-09-02 Andy Wingo <wingo@pobox.com>
7030 * gst/gstelement.h (GstState): Renamed from GstElementState,
7031 changed to be a normal enum instead of flags.
7032 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7033 munged to be GST_STATE_CHANGE_*.
7034 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7035 work with the new state representation.
7036 (GstStateChange): New enumeration of possible state transitions.
7037 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7038 (GstElementClass::change_state): Pass the GstStateChange along as
7039 an argument. Helps language bindings, so they don't have to use
7040 tricky lock-needing macros like GST_STATE_CHANGE ().
7042 * scripts/update-states (file): New script. Run it on a file to
7043 update it for state naming and API changes. Updates files in
7046 * All files updated for the new API.
7048 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7050 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7051 * gst/gstutils.c: (gst_util_set_value_from_string),
7052 (gst_util_set_object_arg):
7053 fix a bunch of unchecked return values
7054 * tools/gst-complete.c: (main):
7055 * gstreamer.spec.in:
7058 2005-09-01 Wim Taymans <wim@fluendo.com>
7060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7061 (gst_base_sink_event), (gst_base_sink_do_sync),
7062 (gst_base_sink_handle_event):
7063 * gst/base/gstbasesink.h:
7064 Handle newsegments more correctly.
7069 * gst/gstevent.c: (gst_event_new_newsegment):
7070 A newsegment cannot have a start_time of -1
7072 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7074 * win32/gstenumtypes.c:
7075 * win32/gstenumtypes.h:
7078 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7080 * libs/gst/controller/gst-controller.c:
7081 (gst_controlled_property_set_interpolation_mode),
7082 (gst_controlled_property_new):
7085 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7087 * docs/faq/gst-uninstalled:
7092 * gst/gstutils.c: (gst_element_link_filtered):
7094 add gst_element_link_filtered
7096 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7098 * docs/gst/gstreamer-docs.sgml:
7099 * docs/gst/gstreamer-sections.txt:
7100 * docs/gst/tmpl/.cvsignore:
7101 * docs/gst/tmpl/gsterror.sgml:
7102 * docs/gst/tmpl/gstfilter.sgml:
7103 * docs/gst/tmpl/gsturihandler.sgml:
7104 * docs/gst/tmpl/gsturitype.sgml:
7105 * docs/gst/tmpl/gstutils.sgml:
7106 * docs/gst/tmpl/gstxml.sgml:
7114 inlined more docs, fixed double id-ref
7116 2005-08-31 Wim Taymans <wim@fluendo.com>
7118 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7119 (gst_base_transform_handle_buffer):
7120 Passthrough elements don't need the caps as they don't care.
7122 2005-08-31 Wim Taymans <wim@fluendo.com>
7124 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7125 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7126 Don't leak refcounts on buffers.
7128 2005-08-31 Wim Taymans <wim@fluendo.com>
7130 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7131 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7132 (gst_base_transform_chain), (gst_base_transform_change_state):
7133 * gst/base/gstbasetransform.h:
7134 Handle the case where we are not negotiated more gracefully.
7136 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7138 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7139 (gst_file_src_map_region):
7140 Set READONLY flag on mmap'ed buffers, otherwise
7141 gst_buffer_make_writable() won't work properly (#314708).
7143 2005-08-31 Wim Taymans <wim@fluendo.com>
7145 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7146 passthrough elements can even do inplace on non writable
7147 buffers (as they don't touch them).
7149 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7151 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7152 (gst_test_mono_source_set_property),
7153 (gst_test_mono_source_class_init), (GST_START_TEST),
7154 (gst_controller_suite):
7155 more tests (hehe I have the most)
7157 describe popping messages whenusing mulltiple sources
7158 * libs/gst/controller/gst-controller.c:
7159 (gst_controlled_property_set_interpolation_mode),
7160 (gst_controlled_property_new):
7161 * libs/gst/controller/gst-controller.h:
7162 * libs/gst/controller/gst-interpolation.c:
7163 implement boolean properties
7165 2005-08-31 Wim Taymans <wim@fluendo.com>
7167 * gst/gstminiobject.c: (gst_mini_object_ref):
7168 Cannot assert that the refcount has to be positive
7169 since a disposed object can be resurrected.
7171 2005-08-31 Wim Taymans <wim@fluendo.com>
7173 * gst/gstpad.c: (gst_pad_init):
7174 Revert change, need to first fix badly behaving
7177 2005-08-30 Wim Taymans <wim@fluendo.com>
7179 * check/elements/fakesrc.c: (setup_fakesrc):
7180 * check/elements/identity.c: (setup_identity):
7181 Activate pads before using them.
7183 2005-08-30 Wim Taymans <wim@fluendo.com>
7185 * gst/base/gstadapter.c: (gst_adapter_flush):
7186 Flushing out 0 bytes is ok for this function.
7188 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7189 no newsegment gives a warning and sets the start/stop to
7192 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7193 (gst_base_transform_set_passthrough):
7196 * gst/gstminiobject.c: (gst_mini_object_ref):
7197 Check refcount here too.
7199 * gst/gstpad.c: (gst_pad_init):
7200 Pads are initially flushing and refusing data.
7202 * gst/gstutils.c: (gst_element_link_pads_filtered):
7203 When adding a capsfilter element make sure it has the
7204 same state as the parent bin.
7206 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7208 * docs/gst/tmpl/.cvsignore:
7209 * docs/gst/tmpl/gstformat.sgml:
7210 * docs/gst/tmpl/gstversion.sgml:
7214 * gst/gstversion.h.in:
7215 more docs and two more inlined
7217 2005-08-30 Wim Taymans <wim@fluendo.com>
7219 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7220 Don't sync to clock.
7222 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7224 * docs/gst/gstreamer-sections.txt:
7225 ultral33t func10ns deserve to appear in the docs actually
7226 * docs/gst/tmpl/.cvsignore:
7227 * docs/gst/tmpl/gstcompat.sgml:
7228 * docs/gst/tmpl/gstconfig.sgml:
7229 * gst/check/gstcheck.c:
7231 * gst/gstconfig.h.in:
7234 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7236 * docs/gst/tmpl/.cvsignore:
7237 * docs/gst/tmpl/gstquery.sgml:
7238 * docs/gst/tmpl/gstutils.sgml:
7241 inlined and extended docs
7243 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7245 * check/gst-libs/controller.c: (GST_START_TEST),
7246 (gst_controller_suite):
7248 * docs/gst/tmpl/gstutils.sgml:
7249 * docs/libs/gstreamer-libs-sections.txt:
7250 * docs/libs/tmpl/gstdataprotocol.sgml:
7252 * examples/controller/audio-example.c: (main):
7253 controller example works now
7256 * tools/gst-inspect.c: (print_element_properties_info):
7257 show param spec flags
7259 2005-08-29 Andy Wingo <wingo@pobox.com>
7261 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7263 2005-08-28 Andy Wingo <wingo@pobox.com>
7265 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7266 as having two arguments instead of just one. Allows superclasses
7267 to access information on subclasses -- see the terrible for() loop
7268 in gtype.c:g_type_create_instance for the reason why. All callers
7271 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7273 * docs/design/part-messages.txt:
7275 * docs/gst/tmpl/.cvsignore:
7276 * docs/gst/tmpl/gstcaps.sgml:
7277 * docs/gst/tmpl/gstclock.sgml:
7284 added descriptions for bus and message
7285 inline caps and clock docs
7287 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7293 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7295 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7298 2005-08-26 Andy Wingo <wingo@pobox.com>
7300 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7301 element_set_state's return val.
7302 (test_2_elements): Add test that's been disabled for months.
7304 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7305 can-activate-pull properties.
7307 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7308 can-activate-pull properties. Implement is_seekable so fakesrc can
7309 operate in pull mode.
7311 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7313 (gst_base_sink_activate, gst_base_sink_activate_pull)
7314 (gst_base_sink_activate_push): Make activation mode choosing work.
7316 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7317 is right. Make pull mode work. Post an eos before pausing in pull
7319 (gst_base_sink_change_state): Pay attention to the core's
7320 change_state() return val.
7322 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7323 has-getrange properties. Cleanups.
7325 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7326 has_getrange and replace with can_activate_pull and
7329 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7330 locking comments. Remove has_loop, has_chain and replace with
7331 can_activate_pull and can_activate_push.
7333 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7336 * examples/Makefile.am:
7337 * examples/metadata/Makefile.am:
7338 * examples/metadata/read-metadata.c: (message_loop),
7339 (have_pad_handler), (make_pipeline), (print_tag), (main):
7340 Add metadata reading example that loops over a list of filenames,
7341 dumping any tags found.
7343 * gst/gstbus.c: (gst_bus_dispose):
7344 * gst/gstelement.c: (gst_element_dispose):
7345 Release a few potentially-held references in dispose.
7347 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7349 * docs/gst/tmpl/gstminiobject.sgml:
7350 do *not* add tmpl/*.sgml files to CVS!
7352 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7354 * libs/gst/bytestream/.cvsignore:
7355 * libs/gst/bytestream/Makefile.am:
7356 * libs/gst/bytestream/adapter.c:
7357 * libs/gst/bytestream/adapter.h:
7358 * libs/gst/bytestream/bytestream.c:
7359 * libs/gst/bytestream/bytestream.h:
7360 * libs/gst/bytestream/filepad.c:
7361 * libs/gst/bytestream/filepad.h:
7362 removing obsolete files
7364 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7366 * docs/gst/gstreamer-docs.sgml:
7367 * docs/libs/gstreamer-libs-docs.sgml:
7368 disabed additional index entries again, as this makes docs-gen just
7369 slow and they aren't useful yet
7370 * docs/libs/gstreamer-libs-sections.txt:
7371 little -section.txt cleanup for libs
7373 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7376 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7377 fix up some debugging
7378 (gst_base_transform_get_unit_size),
7379 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7380 (gst_base_transform_handle_buffer):
7381 * gst/base/gstbasetransform.h:
7382 handle and store timed NEWSEGMENT events so that subclasses that
7383 calculate time by counting samples have a segment_start time they
7384 need to add to their timestamps - see audioresample
7386 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7389 removed ';' from the end of macro defs
7390 * docs/gst/gstreamer-docs.sgml:
7391 * docs/gst/gstreamer-sections.txt:
7392 * docs/gst/tmpl/.cvsignore:
7394 * gst/gstelement.c: (gst_element_class_init),
7395 (gst_element_set_state), (activate_pads),
7396 (gst_element_save_thyself):
7397 * gst/gstevent.c: (gst_event_new_newsegment):
7399 * gst/gstiterator.c:
7400 * gst/gstiterator.h:
7403 * gst/gstutils.c: (gst_pad_query_convert):
7405 fixed parameter name mismatches between source, header and docs
7406 added some more docs, resolved the last batch of unused elements in
7407 docs (now someone needs to doc them)
7409 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7411 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7412 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7413 don't walk through the plugins backwards. Where is all this
7414 reversed logic coming from ?
7416 2005-08-25 Wim Taymans <wim@fluendo.com>
7418 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7419 (gst_base_transform_transform_size),
7420 (gst_base_transform_configure_caps),
7421 (gst_base_transform_get_unit_size),
7422 (gst_base_transform_buffer_alloc),
7423 (gst_base_transform_change_state):
7424 * gst/base/gstbasetransform.h:
7425 Cache caps unit_size.
7426 Make sure we cannot negotiate up and downstream at the
7429 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7431 * gst/gst.c: (init_pre), (init_post):
7432 register the installed plugin path after the env var
7433 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7434 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7435 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7436 directories, so the tests can prefer uninstalled over installed
7438 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7440 * gst/base/gstbasetransform.h:
7445 2005-08-25 Wim Taymans <wim@fluendo.com>
7447 * gst/gstbin.c: (bin_bus_handler):
7448 Be a bit more conservative about the posted message.
7450 * gst/gstbus.c: (gst_bus_post):
7451 Some cleanups, warn wrong return values.
7453 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7455 * check/gst/gstbin.c: (GST_START_TEST):
7456 * gst/gstbin.c: (bin_bus_handler):
7457 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7458 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7459 (gst_message_new_warning), (gst_message_new_tag),
7460 (gst_message_new_state_changed), (gst_message_new_segment_start),
7461 (gst_message_new_segment_done), (gst_message_new_custom):
7463 * tools/gst-launch.c: (event_loop):
7464 * tools/gst-md5sum.c: (event_loop):
7465 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7467 2005-08-25 Wim Taymans <wim@fluendo.com>
7469 * check/generic/states.c: (GST_START_TEST):
7470 Cleanup can be done at the end.
7472 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7473 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7474 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7475 Oh boy.. Thanks for finding this, Thomas.
7477 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7479 * docs/gst/gstreamer.types:
7482 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7484 * docs/gst/gstreamer-docs.sgml:
7485 * docs/gst/gstreamer-sections.txt:
7486 * docs/gst/tmpl/.cvsignore:
7488 * gst/gstiterator.c:
7490 * gst/registries/gstxmlregistry.h:
7491 added missing classes and symbols (123 more to go)
7492 removed removed symbols from section file
7493 fixed many doc-comments
7495 2005-08-24 Wim Taymans <wim@fluendo.com>
7497 * check/generic/states.c: (GST_START_TEST):
7498 Make sure all tasks are stopped.
7500 * check/gst/gstbin.c: (GST_START_TEST):
7501 Unref after usage for proper valgrinding.
7503 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7504 Really wait for the task to stop before destroying the
7507 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7508 (gst_queue_src_activate_push):
7509 Small cleanups. Don't stop the task when we did not start
7512 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7513 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7514 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7517 Protect the stream lock with the object lock.
7518 Disallow setting the stream lock when running.
7519 Add cleanup_all to wait for the threadpool to finish.
7520 Remove code to autoallocate a mutex if none was provided.
7521 Add _join() to wait for a task to stop.
7522 Protect the thread pool with a global lock.
7524 2005-08-24 Wim Taymans <wim@fluendo.com>
7526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7527 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7528 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7529 * gst/base/gstbasesink.h:
7530 Handle newsegment events correctly.
7531 Drop buffers out of the segment range.
7533 2005-08-22 Andy Wingo <wingo@pobox.com>
7535 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7536 macro, implements an interface and gstimplementsinterface for a
7539 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7541 * check/Makefile.am:
7542 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7543 add a test that does a bunch of state changes on elements
7544 needs some fixing for valgrind
7545 * check/states/sinks.c: (gst_object_suite):
7548 add prototype for gst_caps_is_equal_fixed
7550 * gst/gstregistrypool.c:
7553 2005-08-24 Andy Wingo <wingo@pobox.com>
7555 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7556 convert a negative value. Doesn't make much sense. Mostly this is
7557 here to force callers to ensure -1 maps to -1.
7559 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7561 * docs/pwg/advanced-types.xml:
7562 Well done to Michael for catching my deliberate introduction
7563 of this spelling mistake.
7564 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7566 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7567 unlink pads before removing the element from the bin.
7569 2005-08-24 Andy Wingo <wingo@pobox.com>
7571 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7572 the same thing as GST_DEBUG=*:4.
7573 (parse_debug_level, parse_debug_category): New helper parsers.
7575 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7577 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7578 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7579 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7580 (gst_base_transform_buffer_alloc),
7581 (gst_base_transform_handle_buffer):
7582 use gboolean return values and pointers to size so we can use the
7583 full GST_BUFFER_SIZE range (guint) for buffer sizes
7584 use GstPadDirection for transform_caps
7585 * gst/base/gstbasetransform.h:
7586 rename get_size to get_unit_size since that's what it is
7587 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7588 use GstPadDirection for transform_caps
7589 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7591 cleanup and debugging
7593 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7595 * gst/gstelement.c: (gst_element_class_init),
7596 (gst_element_set_state), (activate_pads),
7597 (gst_element_save_thyself):
7598 * tools/gst-compprep.c: (main):
7599 * tools/gst-inspect.c: (print_element_properties_info):
7600 * tools/gst-xmlinspect.c: (print_element_properties):
7601 Fixed long standing mem-leak
7603 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7605 * check/gst/gstbin.c: (GST_START_TEST):
7606 * gst/gstbin.c: (bin_bus_handler):
7607 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7608 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7609 (gst_message_new_warning), (gst_message_new_tag),
7610 (gst_message_new_state_changed), (gst_message_new_segment_start),
7611 (gst_message_new_segment_done), (gst_message_new_custom):
7613 * tools/gst-launch.c: (event_loop):
7614 * tools/gst-md5sum.c: (event_loop):
7615 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7616 that applications can sensibly post custom messages with references
7617 to their own objects.
7619 2005-08-24 Andy Wingo <wingo@pobox.com>
7621 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7624 2005-08-24 Wim Taymans <wim@fluendo.com>
7626 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7627 (gst_base_transform_transform_caps),
7628 (gst_base_transform_transform_size),
7629 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7630 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7631 (gst_base_transform_handle_buffer):
7632 * gst/base/gstbasetransform.h:
7633 Many fixes and new features added by Thomas. Can now also do
7634 transforms with variable sizes and a custom fixate_caps function.
7636 2005-08-24 Wim Taymans <wim@fluendo.com>
7638 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7642 Cast to ClockTime before formatting to time.
7647 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7649 * check/gst-libs/controller.c: (GST_START_TEST),
7650 (gst_controller_suite):
7651 * docs/gst/tmpl/gstcaps.sgml:
7652 * docs/gst/tmpl/gstghostpad.sgml:
7653 * docs/gst/tmpl/gstquery.sgml:
7654 * docs/gst/tmpl/gstutils.sgml:
7655 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7656 (gst_object_sink_values), (gst_object_get_value_arrays),
7657 (gst_object_get_value_array):
7658 gracefully handle helper method calls to objects that are not beeing
7659 controlled, added test case for that
7661 2005-08-23 Wim Taymans <wim@fluendo.com>
7663 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7664 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7665 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7666 (gst_event_parse_qos), (gst_event_new_seek),
7667 (gst_event_parse_seek):
7669 Some more debugging output and doc cleanups.
7671 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7672 Fix possible deadlock.
7674 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7676 * docs/gst/gstreamer-docs.sgml:
7677 * docs/gst/gstreamer-sections.txt:
7678 * docs/gst/gstreamer.types:
7679 * docs/gst/tmpl/.cvsignore:
7684 added 100 symbols from gstreamer-unused.txt to the right sections
7685 fixed more broken comments
7686 added GstBus to docs
7688 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7690 * docs/gst/gstreamer-sections.txt:
7691 * docs/gst/tmpl/.cvsignore:
7692 * docs/gst/tmpl/gstbin.sgml:
7693 * docs/gst/tmpl/gstbuffer.sgml:
7694 * gst/base/gstbasesrc.c:
7695 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7698 * tools/gst-launch.1.in:
7699 inlined more doc comments, added missing comments and fixed comments
7702 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7704 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7708 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7710 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7711 * gst/gststructure.h:
7712 add a fixate function for booleans; add a FIXME that these func
7713 names should probably be gst_structure_fixate_*
7715 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7717 * docs/gst/gstreamer-docs.sgml:
7718 * docs/gst/gstreamer-sections.txt:
7720 * gst/gstbin.c: (gst_bin_get_type),
7721 (gst_bin_child_proxy_get_child_by_index),
7722 (gst_bin_child_proxy_get_children_count),
7723 (gst_bin_child_proxy_init):
7724 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7725 (gst_child_proxy_get_child_by_index),
7726 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7727 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7728 (gst_child_proxy_get), (gst_child_proxy_set_property),
7729 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7730 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7731 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7732 * gst/gstchildproxy.h:
7733 * gst/parse/grammar.y:
7734 * tools/gst-inspect.c: (print_interfaces),
7735 (print_element_properties_info), (print_element_info):
7736 ported gstchildproxy over from 0.8
7737 ported gst-inspect fixes and enhancements over from 0.8
7739 2005-08-22 Wim Taymans <wim@fluendo.com>
7741 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7742 (gst_base_transform_handle_buffer):
7743 Also call the transform function if we have ANY caps.
7745 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7748 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7750 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7751 Don't pretend to handle seek events if the source is not seekable
7753 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7755 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7756 Remove extra parameter to debug output
7758 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7759 (gst_base_src_do_seek), (gst_base_src_activate_push):
7760 Fix seek event handling.
7762 * gst/gstpipeline.c: (gst_pipeline_change_state):
7763 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7764 (gst_queue_src_activate_push):
7765 Don't start the src pad task on FLUSH_STOP if the pad
7769 2005-08-22 Wim Taymans <wim@fluendo.com>
7771 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7772 Added check for gst_static_caps_get() refcounting.
7774 2005-08-22 Wim Taymans <wim@fluendo.com>
7776 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7777 Make _static_caps_get() refcounting sane.
7779 * gst/gstelement.c: (gst_element_set_state):
7780 Add g_return_val_if_fail() to protect against segfaults.
7782 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7784 * docs/gst/tmpl/gstevent.sgml:
7787 inlined remaining docs, added missing doc comments
7789 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7791 * check/gst/gstbin.c: (GST_START_TEST):
7792 since we don't know when preroll is done, use refcount range
7794 * gst/check/gstcheck.h:
7795 add macro for checking refcount range
7797 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7799 * check/Makefile.am:
7800 clean up environment for when registry gets built versus
7801 when actual tests are run; valgrind seems to not report
7802 leaks if GST_PLUGIN_PATH is set to some specific values
7803 * check/gst/gstbin.c: (GST_START_TEST):
7804 add more refcounting checks; maybe this exposes a
7807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7808 * gst/check/gstcheck.h:
7809 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7810 (gst_bin_change_state):
7811 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7812 add/fix debugging/whitespace
7814 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7816 * check/gst/gstevent.c: (event_probe), (test_event),
7818 Er, don't call gst_bin_watch_for_state_change you idiot.
7820 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7822 * check/Makefile.am:
7823 Use CHECK_CFLAGS and CHECK_LIBS
7824 * check/gst/gstevent.c: (event_probe), (test_event),
7827 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7828 (gst_base_src_start), (gst_base_src_stop),
7829 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7830 (gst_base_src_change_state):
7831 Sprinkle gst_base_src_stop liberally around error paths to fix
7832 problems reusing a source after failed state changes.
7833 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7834 (helper_find_suggest), (gst_type_find_helper):
7835 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7837 * docs/gst/tmpl/gstevent.sgml:
7838 Migrate part of the docs from the SGML file. Wait for ensonic to
7839 tell me how I did it wrong ;)
7840 * tools/gst-typefind.c: (main):
7841 Extra robustness to state changes between files.
7843 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7845 * check/Makefile.am:
7846 don't valgrind the controller test - it's leaking - Stefan, HELP
7847 * gst/check/gstcheck.c: (gst_check_message_error),
7848 (gst_check_chain_func), (gst_check_setup_element),
7849 (gst_check_teardown_element), (gst_check_setup_src_pad),
7850 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7851 (gst_check_teardown_sink_pad):
7852 * gst/check/gstcheck.h:
7853 add a bunch of methods to set up elements, and src and sink pads
7854 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7855 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7860 whitespace/doc fixes
7862 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7865 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7866 be handled by the application and not always printed as well
7868 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7870 * check/Makefile.am:
7872 * gst/check/gstcheck.c: (gst_check_message_error):
7873 * gst/check/gstcheck.h:
7874 add a fail_unless_equals_int
7875 add fail_unless for error messages
7877 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7879 * check/Makefile.am:
7881 * common/Makefile.am:
7884 factor out some of the common stuff so we can use it
7886 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7888 * check/Makefile.am:
7889 * check/gst/gstiterator.c: (GST_START_TEST):
7890 * check/gst/gstsystemclock.c: (GST_START_TEST),
7891 (gst_systemclock_suite):
7892 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7896 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7898 * check/elements/.cvsignore:
7899 * check/elements/gstfakesrc.c:
7900 rename to name of element
7901 * check/elements/identity.c: (chain_func), (event_func),
7902 (setup_identity), (cleanup_identity), (GST_START_TEST),
7903 (identity_suite), (main):
7904 add a test for identity
7905 * check/Makefile.am:
7906 * pkgconfig/Makefile.am:
7907 * pkgconfig/gstreamer-check.pc.in:
7908 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7912 move the check stuff to a library that gets installed
7913 * check/gst-libs/controller.c: (GST_START_TEST):
7914 * check/gst-libs/gdp.c:
7915 * check/gst/gst.c: (GST_START_TEST):
7916 * check/gst/gstbin.c:
7917 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7918 * check/gst/gstbus.c:
7919 * check/gst/gstcaps.c: (GST_START_TEST):
7920 * check/gst/gstelement.c:
7921 * check/gst/gstghostpad.c:
7922 * check/gst/gstiterator.c:
7923 * check/gst/gstmessage.c:
7924 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7925 * check/gst/gstobject.c:
7926 * check/gst/gstpad.c: (GST_START_TEST):
7927 * check/gst/gststructure.c: (GST_START_TEST):
7928 * check/gst/gstsystemclock.c: (GST_START_TEST),
7929 (gst_systemclock_suite):
7930 * check/gst/gsttag.c: (gst_tag_suite):
7931 * check/gst/gstvalue.c:
7932 * check/pipelines/cleanup.c:
7933 * check/pipelines/simple_launch_lines.c:
7934 * check/states/sinks.c:
7935 change include statement
7937 * docs/gst/gstreamer-sections.txt:
7938 * docs/gst/tmpl/gstpad.sgml:
7939 document more pad stuff
7940 * gst/gstminiobject.c: (gst_mini_object_ref),
7941 (gst_mini_object_unref):
7944 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7946 * docs/gst/tmpl/gst.sgml:
7948 eliminate another tmpl file, fix spelling in the long-description
7950 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7952 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7953 (test_event), (timediff), (gstevents_suite):
7954 Should fix build on 64-bit arch's
7956 2005-08-18 Andy Wingo <wingo@pobox.com>
7958 Make sure that when a pipeline goes to PLAYING, that data has
7959 actually hit the sink.
7961 * check/states/sinks.c (test_sink): A sink that doesn't get any
7962 data shouldn't return SUCCESS for going to either PLAYING or
7963 PAUSED. Test also the return values on the way back down.
7965 * gst/gstelement.c (gst_element_set_state): When changing the
7966 state of an element currently changing state asynchronously, go to
7967 lost-state after commiting the pending state. Makes future calls
7968 to get_state continue to return ASYNC.
7970 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7971 ASYNC when going to PLAYING if we still don't have preroll, as can
7972 happen with live sources.
7974 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7976 * docs/pwg/advanced-types.xml:
7977 Hack long paragraph into 2 chunks as a workaround for buggy
7978 jadetex version in sid and breezy that loops infinitely and
7981 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7983 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7984 (test_event), (timediff), (gstevents_suite):
7985 Provide more error margin in clock measurements to allow for
7986 g_get_current_time inaccuracies.
7988 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7990 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7991 (test_event), (timediff), (gstevents_suite):
7992 Fix error message output so I might be able to tell why the
7993 test works here but fails on the build farm.
7995 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7997 * check/Makefile.am:
7998 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7999 (test_event), (timediff), (gstevents_suite), (main):
8002 * docs/design/part-seeking.txt:
8005 * docs/gst/tmpl/gstevent.sgml:
8006 * docs/gst/tmpl/gstfakesrc.sgml:
8009 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8010 Treat a buffer-without-newsegment the same as a receiving
8011 a newsegment not in time format, and disable syncing to the clock
8014 * gst/gstbus.c: (gst_bus_set_sync_handler):
8015 Assert if anyone tries to replace the existing sync_handler for bus,
8016 as only the owner should be setting it.
8019 Have a fixed set of custom event enums with events identified by
8020 their structure name (as in 0.8), rather than a free-for-all
8021 allowing collisions between enum values from different plugins.
8023 * gst/gstpad.c: (gst_pad_class_init):
8026 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8027 Handle out-of-band downstream events from the sending thread.
8029 2005-08-17 Andy Wingo <wingo@pobox.com>
8031 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8032 play-timeout==0 to mean no timeout at all. In that case, don't
8033 bother with a get_state or a warning, just return directly, even
8036 * gst/base/gstbasetransform.c: Debug changes.
8039 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8040 ensure bins post state change messages. A bit of a hack but I can't
8041 think of a way to avoid it.
8043 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8045 2005-08-16 Andy Wingo <wingo@pobox.com>
8047 * gst/base/gstadapter.h:
8048 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8049 peek() but you own the data. Not terribly efficient atm.
8051 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8053 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8054 (gst_element_found_tags):
8056 Add two utility functions for tag handling.
8058 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8060 * docs/manual/advanced-dataaccess.xml:
8061 * docs/manual/basics-helloworld.xml:
8062 Fix docs to use _bin_add() before _link(), which fixes the examples
8063 with recent core versions (reported by Madhan Raj M
8064 <raj_madan@rediffmail.com>, #313199).
8066 2005-08-16 Wim Taymans <wim@fluendo.com>
8068 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8069 Added subtract checks.
8071 * docs/design/part-events.txt:
8072 Some more docs about newsegment
8074 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8077 * gst/gstcaps.c: (gst_caps_to_string):
8078 Add comments, cleanups.
8080 * gst/gstelement.c: (gst_element_save_thyself):
8083 * gst/gstvalue.c: (gst_value_collect_int_range),
8084 (gst_string_unwrap), (gst_value_union_int_int_range),
8085 (gst_value_union_int_range_int_range),
8086 (gst_value_intersect_int_int_range),
8087 (gst_value_intersect_int_range_int_range),
8088 (gst_value_intersect_double_double_range),
8089 (gst_value_intersect_double_range_double_range),
8090 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8091 (gst_value_subtract_int_range_int),
8092 (gst_value_subtract_double_range_double),
8093 (gst_value_subtract_double_range_double_range),
8094 (gst_value_subtract_from_list), (gst_value_subtract_list),
8095 (gst_value_can_compare), (gst_value_compare_fraction):
8096 Cleanups, add comments, remove unneeded asserts.
8098 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8100 * tools/gst-launch.c: (event_loop):
8101 don't convert NULL structures to strings
8103 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8105 * docs/gst/gstreamer-sections.txt:
8106 made some defines private
8107 * docs/gst/tmpl/gstconfig.sgml:
8108 * docs/gst/tmpl/gstqueue.sgml:
8109 * docs/gst/tmpl/gsttaglist.sgml:
8110 * docs/gst/tmpl/gsttypes.sgml:
8111 * docs/gst/tmpl/gstutils.sgml:
8112 * docs/pwg/appendix-porting.xml:
8113 * gst/base/gstbasesink.h:
8114 * gst/base/gstbasesrc.c:
8115 * gst/base/gstbasesrc.h:
8116 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8117 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8118 * gst/gstelement.c: (gst_element_class_init):
8119 * gst/gstpad.c: (gst_pad_class_init):
8120 * gst/gstqueue.c: (gst_queue_class_init):
8121 * gst/gstxml.c: (gst_xml_class_init):
8122 documented all undocumented signal inline
8123 * libs/gst/controller/gst-controller.h:
8126 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8128 * docs/pwg/appendix-porting.xml:
8129 Document _set_link_function -> _set_setcaps_function.
8131 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8133 * check/Makefile.am:
8134 add a .check target for running the check
8135 * check/gst-libs/controller.c: (GST_START_TEST):
8137 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8138 complete checks for gstbuffer; would be nice if I could get the
8139 gcov stuff to work so I can see if I actually completed gstbuffer.c
8141 add ASSERT_BUFFER_REFCOUNT
8143 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8145 * docs/gst/gstreamer-sections.txt:
8146 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8148 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8149 spew out a warning if a tag that is already registered
8150 is re-registered, unless it is re-registered with a
8151 different type (#308438).
8153 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8155 * docs/pwg/appendix-porting.xml:
8156 * docs/pwg/building-state.xml:
8157 Add some paragraphs about state changes in 0.9 to the PWG
8158 and the porting guide, in particular about the new meaning
8159 of GST_STATE_PAUSED and how to write state change functions
8160 with concurrent access by multiple threads in mind.
8162 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8164 * docs/gst/gstreamer-docs.sgml:
8165 * docs/libs/gstreamer-libs-docs.sgml:
8166 added deprecation and since indexes
8167 * libs/gst/controller/gst-controller.c:
8168 * libs/gst/controller/gst-helper.c:
8172 2005-08-11 Wim Taymans <wim@fluendo.com>
8174 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8175 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8176 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8177 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8178 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8179 (gst_ghost_pad_set_target):
8180 Actually implement (re)setting the target on a ghostpad
8181 as described in the docs.
8183 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8185 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8186 Check whether GST_DEBUG_NO_COLOR environment variable is
8187 set and disable coloured debug output if that is the case.
8189 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8191 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8192 (gst_type_find_helper):
8193 The memory returned by gst_type_find_peek() needs to
8194 stay valid until the end of a typefind function, and
8195 typefind functions may keep results from different
8196 offsets around, so we can't just unref the buffer from
8197 the previous _peek(), but have to save all buffers
8198 returned by _peek() until typefinding is done and only
8201 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8203 * docs/gst/gstreamer-sections.txt:
8205 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8207 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8209 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8210 Fix a pretty good memleak.
8212 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8214 * gst/gstiterator.h:
8215 Fix wrong include and 'make distcheck'.
8217 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8219 * gst/gstbin.c: (bin_bus_handler):
8220 Use gst_element_post_message() instead.
8222 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8224 * gst/base/gstadapter.h:
8225 * gst/base/gstbasesink.h:
8226 * gst/base/gstbasesrc.h:
8227 * gst/base/gstbasetransform.h:
8228 * gst/base/gstcollectpads.h:
8229 * gst/base/gstpushsrc.h:
8230 * gst/gstiterator.h:
8231 Add padding to our base elements' class and instance structs and
8232 to GstIterator (you will need to rebuild all plugins and apps!)
8234 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8236 * gst/gstbin.c: (bin_bus_handler):
8237 Make default message forwarding from child->bus to bin->bus
8238 threadsafe and make it not emit warnings if the parent has no bus.
8240 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8242 * gst/gstelement.c: (activate_pads):
8243 On paused->ready, set pad->caps to NULL, as is the documented
8244 behaviour in this state change. Fixes playback of series of
8245 media files when visualization is enabled in Totem.
8247 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8249 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8250 Allow NULL as filter-caps (which means "any").
8252 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8254 * docs/libs/gstreamer-libs-sections.txt:
8255 * libs/gst/controller/gst-controller.c:
8256 * libs/gst/controller/gst-controller.h:
8257 * libs/gst/controller/gst-helper.c:
8258 adding more entries to the docs and fix small doc-bugs
8260 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8262 * docs/gst/gstreamer-docs.sgml:
8263 * docs/gst/gstreamer-sections.txt:
8264 * docs/gst/gstreamer.types:
8265 * docs/gst/tmpl/gstbasesink.sgml:
8266 * docs/gst/tmpl/gstbasesrc.sgml:
8267 * docs/gst/tmpl/gstbasetransform.sgml:
8268 * docs/gst/tmpl/gstfakesrc.sgml:
8269 * gst/base/gstcollectpads.c:
8270 * gst/base/gstcollectpads.h:
8271 * libs/gst/controller/gst-controller.c:
8272 * libs/gst/controller/gst-controller.h:
8273 * libs/gst/controller/gst-helper.c:
8274 * libs/gst/controller/gst-interpolation.c:
8275 * libs/gst/controller/lib.c:
8276 added long/short desc for controller docs
8277 added collectpads base class docs
8278 added correct includes to base-class docs
8280 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8282 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8283 (gst_test_mono_source_set_property),
8284 (gst_test_mono_source_class_init), (GST_START_TEST),
8285 (gst_controller_suite):
8286 * docs/gst/gstreamer-docs.sgml:
8287 * docs/gst/gstreamer-sections.txt:
8288 * docs/gst/gstreamer.types:
8289 * docs/libs/gstreamer-libs-docs.sgml:
8290 * docs/libs/gstreamer-libs-sections.txt:
8291 * gst/base/gstadapter.c:
8292 * libs/gst/controller/gst-controller.c:
8293 (gst_controlled_property_new), (gst_controlled_property_free),
8294 (gst_controller_new_valist),
8295 (gst_controller_remove_properties_valist),
8296 (gst_controller_sink_values), (_gst_controller_finalize):
8297 * libs/gst/controller/gst-controller.h:
8298 * libs/gst/controller/gst-helper.c:
8299 (gst_object_control_properties), (gst_object_uncontrol_properties),
8300 (gst_object_get_controller), (gst_object_set_controller),
8301 (gst_object_sink_values), (gst_object_get_value_arrays),
8302 (gst_object_get_value_array):
8303 more tests (and fixes) for the controller
8304 more docs for the controller
8305 integrated companies docs for the adapter
8307 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8309 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8310 (GST_START_TEST), (fakesrc_suite):
8311 add tests for sizetype
8313 2005-08-04 Andy Wingo <wingo@pobox.com>
8315 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8316 fixes buffer_alloc proxying among other things.
8318 * gst/base/gstbasetransform.c:
8319 * gst/base/gstbasetransform.h:
8320 Revert patch to gstbasetransform from 7-28 removing
8323 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8324 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8325 Semantics changed, should return not the size of the output buffer
8326 but the byte size of a buffer with a given caps.
8328 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8330 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8331 out) are not the pad caps until setcaps finishes.
8332 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8333 not-in-place case as well. Deal with changing from in-place to
8334 not-in-place within calling pad_alloc_buffer. Still a bit
8335 concerned about the overhead here...
8337 2005-08-03 Andy Wingo <wingo@pobox.com>
8339 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8340 fixating is an error.
8342 2005-08-04 Edward Hervey <edward@fluendo.com>
8344 * gst/base/gstadapter.h:
8345 Added gst_adapter_get_type() to the header
8347 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8349 * check/Makefile.am:
8350 * check/gst-libs/controller.c:
8351 * libs/gst/controller/gst-controller.c:
8352 (gst_controller_new_valist):
8353 added check test suite for the controller
8354 * gst/base/gstpushsrc.c:
8357 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8359 * docs/gst/Makefile.am:
8360 * docs/gst/gstreamer-docs.sgml:
8361 * docs/gst/gstreamer-sections.txt:
8362 * docs/gst/gstreamer.types:
8363 * docs/gst/tmpl/gstfakesrc.sgml:
8365 * gst/base/gstbasesink.c:
8366 * gst/base/gstbasesink.h:
8367 * gst/base/gstbasesrc.c:
8368 * gst/base/gstbasesrc.h:
8369 * gst/base/gstbasetransform.c:
8370 * gst/base/gstpushsrc.c:
8371 * gst/base/gstpushsrc.h:
8372 add short/long description docs to base classes
8373 add pushsrc to the docs
8374 remove consolidated doc fragments
8376 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8379 * docs/libs/Makefile.am:
8380 * docs/libs/gstreamer-libs-docs.sgml:
8381 * docs/libs/gstreamer-libs-sections.txt:
8382 * docs/libs/gstreamer-libs.types:
8383 * examples/Makefile.am:
8384 * examples/controller/.cvsignore:
8385 * examples/controller/Makefile.am:
8386 * examples/controller/audio-example.c: (main):
8387 * libs/gst/Makefile.am:
8388 * libs/gst/controller/.cvsignore:
8389 * libs/gst/controller/Makefile.am:
8390 * libs/gst/controller/gst-controller.c:
8391 (on_object_controlled_property_changed), (gst_timed_value_compare),
8392 (gst_timed_value_find),
8393 (gst_controlled_property_set_interpolation_mode),
8394 (gst_controlled_property_new), (gst_controlled_property_free),
8395 (gst_controller_find_controlled_property),
8396 (gst_controller_new_valist), (gst_controller_new),
8397 (gst_controller_remove_properties_valist),
8398 (gst_controller_remove_properties), (gst_controller_set),
8399 (gst_controller_set_from_list), (gst_controller_unset),
8400 (gst_controller_get), (gst_controller_get_all),
8401 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8402 (gst_controller_get_value_array),
8403 (gst_controller_set_interpolation_mode),
8404 (_gst_controller_finalize), (_gst_controller_init),
8405 (_gst_controller_class_init), (gst_controller_get_type):
8406 * libs/gst/controller/gst-controller.h:
8407 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8408 (g_object_uncontrol_properties), (g_object_get_controller),
8409 (g_object_set_controller), (g_object_sink_values),
8410 (g_object_get_value_arrays), (g_object_get_value_array):
8411 * libs/gst/controller/gst-interpolation.c:
8412 (gst_controlled_property_find_timed_value_node),
8413 (interpolate_none_get), (interpolate_trigger_get),
8414 (interpolate_trigger_get_value_array):
8415 * libs/gst/controller/lib.c: (gst_controller_init):
8416 * pkgconfig/Makefile.am:
8417 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8418 * pkgconfig/gstreamer-control.pc.in:
8419 * testsuite/Makefile.am:
8420 * testsuite/controller/.cvsignore:
8421 * testsuite/controller/Makefile.am:
8422 * testsuite/controller/interpolator.c: (main):
8423 added controller code
8424 removed dparam pc files
8426 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8427 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8428 (gst_collectpads_stop):
8429 Broadcast the condition when shutting down, to make sure we wake all
8430 threads up. Shut down pads on finalize, for safety.
8432 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8433 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8434 (gst_base_transform_handle_buffer),
8435 (gst_base_transform_change_state):
8436 Handle PAUSED->READY->PAUSED transition after negotiation
8438 * gst/gstmessage.c: (gst_message_init):
8439 Extra piece of debug for new messages.
8441 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8444 * docs/gst/tmpl/gstbasesrc.sgml:
8445 * docs/gst/tmpl/gstelement.sgml:
8446 * docs/gst/tmpl/gstevent.sgml:
8447 * docs/gst/tmpl/gstfakesrc.sgml:
8448 * docs/gst/tmpl/gstformat.sgml:
8449 * docs/gst/tmpl/gstghostpad.sgml:
8450 * docs/gst/tmpl/gstpad.sgml:
8451 * docs/gst/tmpl/gstquery.sgml:
8452 * docs/gst/tmpl/gststructure.sgml:
8453 * docs/gst/tmpl/gsttaglist.sgml:
8454 * docs/gst/tmpl/gstvalue.sgml:
8455 * docs/libs/gstreamer-libs-docs.sgml:
8456 * docs/libs/gstreamer-libs-sections.txt:
8457 * docs/libs/gstreamer-libs.types:
8458 * libs/gst/Makefile.am:
8459 * libs/gst/control/.cvsignore:
8460 * libs/gst/control/Makefile.am:
8461 * libs/gst/control/control.c:
8462 * libs/gst/control/control.h:
8463 * libs/gst/control/dparam.c:
8464 * libs/gst/control/dparam.h:
8465 * libs/gst/control/dparam_smooth.c:
8466 * libs/gst/control/dparam_smooth.h:
8467 * libs/gst/control/dparamcommon.h:
8468 * libs/gst/control/dparammanager.c:
8469 * libs/gst/control/dparammanager.h:
8470 * libs/gst/control/dplinearinterp.c:
8471 * libs/gst/control/dplinearinterp.h:
8472 * libs/gst/control/unitconvert.c:
8473 * libs/gst/control/unitconvert.h:
8474 * testsuite/Makefile.am:
8475 * testsuite/dynparams/.cvsignore:
8476 * testsuite/dynparams/Makefile.am:
8477 * testsuite/dynparams/dparamstest.c:
8478 * tools/Makefile.am:
8479 * tools/gst-inspect.c: (print_element_info), (main):
8480 * tools/gst-xmlinspect.c: (print_element_info), (main):
8481 deactivate and remove dparams (libgstcontrol)
8483 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8485 * gst/elements/gsttypefindelement.c:
8486 (gst_type_find_element_have_type), (gst_type_find_element_init),
8487 (stop_typefinding), (gst_type_find_element_handle_event),
8488 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8489 * gst/elements/gsttypefindelement.h:
8490 Set caps on all outgoing buffers, not just the first one.
8492 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8494 * gst/elements/gsttypefindelement.c:
8495 (gst_type_find_element_have_type),
8496 (gst_type_find_element_check_set_buffer_caps),
8497 (gst_type_find_element_init), (stop_typefinding),
8498 (gst_type_find_element_handle_event),
8499 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8500 * gst/elements/gsttypefindelement.h:
8501 Set caps on first outgoing buffer when we've found the type.
8503 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8505 * docs/gst/gstreamer-docs.sgml:
8506 * docs/gst/gstreamer-sections.txt:
8507 * docs/gst/tmpl/gstscheduler.sgml:
8508 * docs/gst/tmpl/gstschedulerfactory.sgml:
8509 Remove some old cruft from docs.
8511 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8514 Fix inline docs for GstPadLinkReturn.
8516 * gst/gststructure.c: (gst_structure_has_name):
8517 * gst/gststructure.h:
8518 * docs/gst/gstreamer-sections.txt:
8519 New API: gst_structure_has_name().
8521 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8524 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8525 and _LARGEFILE_SOURCE in config.h as required. Do not
8526 export those flags in our .pc files any longer (#142209).
8528 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8530 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8531 (gst_file_sink_do_seek), (gst_file_sink_event),
8532 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8533 Redo seek/tell calls with large file support in mind; add some
8534 debugging messages; add log message that tells us when large
8535 file support is unavailable or not enabled for some reason.
8537 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8538 Add log message that tells us when large file support
8539 is unavailable or not enabled for some reason.
8541 2005-07-29 Wim Taymans <wim@fluendo.com>
8543 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8544 Added test for removing an element with ghostpad from a bin.
8545 Fixed test as current implementation does the right thing.
8547 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8548 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8549 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8550 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8551 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8552 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8553 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8554 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8555 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8556 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8557 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8558 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8559 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8560 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8561 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8562 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8563 * gst/gstghostpad.h:
8564 Clean up ghostpads, remove properties for internal stuff.
8567 Prepare for switching targets, not all use cases work yet.
8569 2005-07-29 Wim Taymans <wim@fluendo.com>
8571 * docs/design/part-gstghostpad.txt:
8574 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8575 (gst_bin_remove_func):
8576 Unlinking pads while holding the bin LOCK is not a good
8579 * gst/gstpad.c: (gst_pad_class_init),
8580 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8581 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8582 No prob setting template after creating the pad.
8584 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8586 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8587 (gst_bus_peek), (gst_bus_source_dispatch),
8588 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8589 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8590 gst_bus_poll may be called from other threads. Handle
8591 this nicely by not making poll_data disappear off the
8592 stack once gst_bus_poll returns.
8593 gst_bus_peek now increments the refcount on the returned
8596 2005-07-29 Wim Taymans <wim@fluendo.com>
8598 * docs/design/part-gstghostpad.txt:
8599 Overview of current GhostPad datastructures and use
8600 cases for changing the target.
8602 2005-07-28 Wim Taymans <wim@fluendo.com>
8604 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8605 Added checks for hierarchy consistency whan adding linked
8608 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8609 Added check to test element scheduling without bin/pipeline.
8611 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8612 First add elements to bin, then link.
8614 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8615 (gst_bin_remove_func):
8616 Unlink pads from elements added/removed from bin to maintain
8617 hierarchy consistency.
8619 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8621 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8622 (gst_base_transform_handle_buffer):
8623 * gst/base/gstbasetransform.h:
8624 Remove broken delay_configure (fixes renegotiation of software
8625 scaling pipelines); remove some leftover printf()s.
8627 2005-07-28 Wim Taymans <wim@fluendo.com>
8629 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8630 Added some more tests for wrong hierarchy
8632 * docs/design/part-overview.txt:
8635 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8638 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8639 (gst_element_dispose):
8642 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8643 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8644 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8645 (gst_pad_set_caps), (gst_pad_send_event):
8646 Check for correct hierarchy when linking pads. Moving to
8647 strict requirement for ghostpads when linking elements in
8651 Clean ups. Added WRONG_HIERARCHY return value.
8653 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8655 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8656 Better debug if no transform is possible.
8658 2005-07-27 Wim Taymans <wim@fluendo.com>
8660 * docs/random/wtay/network-transp:
8663 2005-07-27 Wim Taymans <wim@fluendo.com>
8665 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8666 (gst_dp_event_from_packet):
8667 Fix serialization of seek events.
8669 2005-07-27 Wim Taymans <wim@fluendo.com>
8671 * check/gst-libs/gdp.c: (GST_START_TEST):
8672 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8673 Fix compilation and fix event serialization.
8675 2005-07-27 Wim Taymans <wim@fluendo.com>
8678 * docs/design/part-TODO.txt:
8679 * docs/design/part-events.txt:
8682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8683 (gst_base_sink_event), (gst_base_sink_do_sync),
8684 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8685 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8686 (gst_base_src_do_seek), (gst_base_src_event_handler),
8687 (gst_base_src_loop):
8688 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8689 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8690 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8691 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8692 (gst_base_transform_set_passthrough),
8693 (gst_base_transform_is_passthrough):
8694 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8695 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8701 * gst/gstelement.c: (gst_element_seek):
8703 Update gst_element_seek.
8705 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8706 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8707 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8708 (gst_event_new_eos), (gst_event_new_newsegment),
8709 (gst_event_parse_newsegment), (gst_event_new_tag),
8710 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8711 (gst_event_parse_qos), (gst_event_new_seek),
8712 (gst_event_parse_seek), (gst_event_new_navigation):
8714 Make GstEvent use GstStructure. Add parsing code, make sure the
8715 API is sufficiently generic.
8716 Mark possible directions of events and serialization.
8718 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8719 (_gst_message_copy), (gst_message_new_segment_start),
8720 (gst_message_new_segment_done), (gst_message_new_custom),
8721 (gst_message_parse_segment_start),
8722 (gst_message_parse_segment_done):
8725 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8726 (gst_pad_set_caps), (gst_pad_send_event):
8727 Update for new events.
8728 Catch events sent in wrong directions.
8730 * gst/gstqueue.c: (gst_queue_link_src),
8731 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8732 (gst_queue_handle_src_query):
8737 Remove event code from this file.
8739 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8740 (gst_dp_event_from_packet):
8743 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8745 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8746 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8747 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8748 Make debugging actually useful.
8750 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8752 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8753 (gst_pad_fixate_caps):
8754 Implement default fixation once again, so that gst_pad_fixate()
8755 actually does anything at all. This probably needs to be some
8756 sort of a last resort, and use profile-based fixation first, but
8757 since that doesn't exist yet, this is the best we have. Fixes
8758 visualization in Totem.
8760 2005-07-22 Wim Taymans <wim@fluendo.com>
8762 * docs/design/part-events.txt:
8765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8766 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8767 (gst_base_sink_activate_pull):
8770 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8771 (gst_fake_src_create):
8772 Fix handoff marshall.
8774 * gst/elements/gstidentity.c: (gst_identity_class_init),
8775 (gst_identity_transform_ip):
8776 We're a real inplace element.
8778 * gst/gstbus.c: (gst_bus_post):
8779 Added some comments.
8781 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8782 * tests/muxing/case1.c: (main):
8783 * tests/sched/dynamic-pipeline.c: (main):
8784 * tests/sched/interrupt1.c: (main):
8785 * tests/sched/interrupt2.c: (main):
8786 * tests/sched/interrupt3.c: (main):
8787 * tests/sched/runxml.c: (main):
8788 * tests/sched/sched-stress.c: (main):
8789 * tests/seeking/seeking1.c: (event_received), (main):
8790 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8792 * tests/threadstate/threadstate3.c: (main):
8793 * tests/threadstate/threadstate4.c: (main):
8794 * tests/threadstate/threadstate5.c: (main):
8797 2005-07-21 Wim Taymans <wim@fluendo.com>
8799 * docs/design/part-seeking.txt:
8800 Some small additions.
8802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8803 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8804 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8805 * gst/base/gstbasesink.h:
8806 discont values are gint64, handle the math correctly.
8808 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8809 Make the basesrc report error if the source pad is not linked.
8811 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8812 (gst_queue_loop), (gst_queue_handle_src_query),
8813 (gst_queue_src_activate_push):
8814 Make queue collect data even if the srcpad is not linked.
8815 Start pushing out data as soon as it is linked.
8817 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8819 Added gst_flow_get_name() to ease error reporting.
8821 2005-07-20 Wim Taymans <wim@fluendo.com>
8823 * gst/gstmessage.c: (gst_message_new_segment_start),
8824 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8825 (gst_message_parse_segment_done):
8827 Added a bunch of messages for advanced seeking.
8829 * gst/parse/grammar.y:
8830 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8831 (gst_dpman_state_changed):
8832 Fix some new-pad -> pad-added signals
8834 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8836 * docs/manual/appendix-porting.xml:
8837 * docs/pwg/appendix-porting.xml:
8838 Document new-pad/state-change signal renames and the FixedList
8841 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8843 * docs/manual/advanced-autoplugging.xml:
8844 * docs/manual/basics-helloworld.xml:
8845 * docs/manual/basics-pads.xml:
8846 * docs/random/ds/0.9-suggested-changes:
8847 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8852 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8853 (gst_structure_parse_array), (gst_structure_parse_value):
8854 * gst/gstvalue.c: (gst_type_is_fixed),
8855 (gst_value_list_prepend_value), (gst_value_list_append_value),
8856 (gst_value_list_get_size), (gst_value_list_get_value),
8857 (gst_value_transform_array_string), (gst_value_serialize_array),
8858 (gst_value_deserialize_array), (gst_value_intersect_array),
8859 (gst_value_is_fixed), (_gst_value_initialize):
8861 GstElement::new-pad -> pad-added, GstElement::state-change ->
8862 state-changed, GstValueFixedList -> GstValueArray, add format and
8863 flags as their own arguments in gst_element_seek() (should improve
8864 "bindeability"), remove function generators since they don't work
8865 under a whole bunch of compilers (they were deprecated already
8868 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8870 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8871 (_gst_debug_register_funcptr):
8873 Fix illegal cast on some platforms (#309253).
8875 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8877 * gst/gstmessage.c: (gst_message_new_custom):
8879 Add _new_custom, make _new_application a macro to _new_custom.
8881 2005-07-20 Wim Taymans <wim@fluendo.com>
8883 * gst/base/gstbasesrc.c: (gst_base_src_init),
8884 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8885 * gst/base/gstbasesrc.h:
8886 Add a gboolean to decide when to push out a discont.
8888 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8889 (gst_queue_loop), (gst_queue_handle_src_query),
8890 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8891 (gst_queue_set_property), (gst_queue_get_property):
8894 * tests/threadstate/threadstate1.c: (main):
8895 Make a thread test compile and run... very silly..
8898 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8900 * docs/manual/appendix-porting.xml:
8901 Mention removal of libgstgconf-0.9.la and existence of gconf
8904 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8906 * docs/pwg/advanced-clock.xml:
8907 * docs/pwg/appendix-porting.xml:
8908 * docs/pwg/intro-preface.xml:
8909 * docs/pwg/other-base.xml:
8910 * docs/pwg/other-manager.xml:
8911 * docs/pwg/other-nton.xml:
8912 * docs/pwg/other-ntoone.xml:
8913 * docs/pwg/other-oneton.xml:
8915 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8916 demuxer), remove n-to-n (was never written), fix some code examples
8917 and links and update the porting section to include all this.
8919 2005-07-19 Wim Taymans <wim@fluendo.com>
8921 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8922 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8923 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8924 (gst_queue_src_activate_push), (gst_queue_change_state),
8925 (gst_queue_get_property):
8927 Propagate GstFlowReturn more intelligently upstream and output
8928 an ERROR/EOS when streaming stopped due to fatal error.
8930 2005-07-19 Wim Taymans <wim@fluendo.com>
8932 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8933 Don't block forever for the state change to complete, the
8934 pipeline already did with a sensible timeout.
8936 2005-07-19 Wim Taymans <wim@fluendo.com>
8938 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8939 Make sure we never call the create function is we
8942 2005-07-19 Andy Wingo <wingo@pobox.com>
8944 * gst/parse/parse.l: Attempt to solve bug #172815.
8946 2005-07-19 Wim Taymans <wim@fluendo.com>
8948 * docs/design/part-clocks.txt:
8949 * docs/design/part-events.txt:
8950 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8952 Only update the seeking values when we are not
8955 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8957 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8958 Oops, ignore the result of gst_pad_push_event here.
8960 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8962 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8963 (gst_base_src_activate_push):
8964 Send discont event from the loop function, as pads
8965 aren't activated yet in the activate_push handler.
8967 * gst/gstbin.c: (bin_bus_handler):
8968 Don't leak element name.
8970 2005-07-18 Andy Wingo <wingo@pobox.com>
8972 * configure.ac: Use AS_LIBTOOL_TAGS.
8974 2005-07-18 Wim Taymans <wim@fluendo.com>
8976 * docs/gst/gstreamer.types:
8977 Remove deleted types.
8979 2005-07-18 Wim Taymans <wim@fluendo.com>
8981 * check/elements/gstfakesrc.c: (GST_START_TEST):
8984 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8985 (init_popt_callback):
8987 * gst/gst_private.h:
8988 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8989 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8992 * gst/gstconfig.h.in:
8993 * gst/gstelement.c: (gst_element_class_init),
8994 (gst_element_set_base_time), (gst_element_get_base_time),
8995 (iterator_fold_with_resync), (gst_element_change_state),
8996 (gst_element_dispose), (gst_element_get_bus):
8998 * gst/gstelementfactory.h:
8999 * gst/gsterror.c: (_gst_core_errors_init):
9002 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9004 * gst/gstinfo.c: (_gst_debug_init):
9005 * gst/gstmessage.c: (_gst_message_copy):
9007 * gst/gstminiobject.h:
9010 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9011 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9014 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9015 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9016 (gst_pipeline_get_last_stream_time):
9017 * gst/gstpipeline.h:
9018 * gst/gstpluginfeature.h:
9020 * gst/gstscheduler.c:
9021 * gst/gstscheduler.h:
9022 * gst/gststructure.h:
9023 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9024 (gst_task_finalize), (gst_task_func), (gst_task_create),
9025 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9026 (gst_task_stop), (gst_task_pause):
9028 * gst/gsttypefind.h:
9030 * gst/registries/gstlibxmlregistry.c: (load_feature),
9031 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9032 * gst/registries/gstxmlregistry.c:
9033 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9034 * gst/schedulers/threadscheduler.c:
9035 * libs/gst/control/dparammanager.h:
9036 * tools/gst-inspect.c: (print_element_list),
9037 (print_plugin_features), (print_element_features):
9038 * tools/gst-xmlinspect.c: (print_element_list),
9039 (print_plugin_info), (main):
9040 Removed plugable schedulers.
9041 Removed Scheduler/Manager from elements.
9042 Removed gsttypes.h, rearranged includes.
9043 Removed dependency pad<->element, element<>pipeline, and
9044 various others, fix includes.
9045 implement gst_pad_get_parent() with gst_object_get_parent()
9046 Make GstTask sefcontained.
9047 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9049 Fix endless loop in iterator_fold_with_resync.
9052 2005-07-18 Wim Taymans <wim@fluendo.com>
9058 2005-07-18 Wim Taymans <wim@fluendo.com>
9063 2005-07-18 Wim Taymans <wim@fluendo.com>
9069 2005-07-18 Wim Taymans <wim@fluendo.com>
9071 * docs/design/part-dynamic.txt:
9072 * docs/design/part-events.txt:
9073 * docs/design/part-seeking.txt:
9074 Some more docs in the works.
9076 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9077 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9078 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9079 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9080 (gst_base_transform_handle_buffer),
9081 (gst_base_transform_sink_activate_push),
9082 (gst_base_transform_src_activate_pull),
9083 (gst_base_transform_set_passthrough),
9084 (gst_base_transform_is_passthrough):
9087 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9090 * gst/gstevent.c: (gst_event_finalize):
9093 * gst/gstutils.c: (gst_element_unlink),
9094 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9095 (gst_pad_proxy_setcaps):
9097 Add _get_parent_element() to get a pads parent as an element.
9099 2005-07-18 Wim Taymans <wim@fluendo.com>
9101 * check/gst/gstbin.c: (GST_START_TEST):
9104 2005-07-18 Wim Taymans <wim@fluendo.com>
9106 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9107 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9108 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9109 (gst_base_sink_event), (gst_base_sink_do_sync),
9110 (gst_base_sink_chain), (gst_base_sink_loop),
9111 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9112 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9114 Fix logic for returning ASYNC when not prerolled.
9116 2005-07-18 Wim Taymans <wim@fluendo.com>
9118 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9119 Fix nasty refcount bug.
9121 2005-07-16 Philippe Khalaf <burger@speedy.org>
9123 * gst/elements/gstfdsrc.c:
9124 * gst/elements/gstfdsrc.h:
9125 * gst/elements/gstelements.c:
9126 * gst/elements/Makefile.am:
9127 Ported fdsrc to 0.9.
9129 2005-07-16 Wim Taymans <wim@fluendo.com>
9131 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9132 (gst_base_sink_do_sync):
9135 2005-07-16 Wim Taymans <wim@fluendo.com>
9137 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9138 (gst_base_sink_event), (gst_base_sink_get_times),
9139 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9140 * gst/base/gstbasesink.h:
9141 Store and use discont values when syncing buffers as described
9144 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9145 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9146 (gst_base_src_activate_push):
9147 Push discont event when starting.
9149 * gst/elements/gstidentity.c: (gst_identity_transform):
9152 * gst/gstbin.c: (gst_bin_change_state):
9153 Small cleanups in base_time distribution.
9155 * gst/gstelement.c: (gst_element_set_base_time),
9156 (gst_element_get_base_time), (gst_element_change_state):
9158 Added methods for the base_time of the element.
9161 * gst/gstpipeline.c: (gst_pipeline_send_event),
9162 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9163 (gst_pipeline_get_last_stream_time):
9164 * gst/gstpipeline.h:
9166 Handle seeking as described in design doc, remove stream_time
9168 Cleanups clock and stream_time selection code. Added accessors
9169 for the stream_time.
9172 2005-07-16 Andy Wingo <wingo@pobox.com>
9174 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9177 2005-07-16 Wim Taymans <wim@fluendo.com>
9179 * check/gst/gstbin.c: (GST_START_TEST):
9180 Make elements silent as the deep_notify refs the
9181 parent, which might make the test fail.
9183 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9184 Don't hold the lock for too long.
9186 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9188 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9189 Don't unref the caps we passed to gst_caps_make_writable() after
9190 passing them. gst_caps_make_writable() will do that for us.
9192 2005-07-15 Andy Wingo <wingo@pobox.com>
9194 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9197 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9198 own marshalling function for the handoff signal. Properly type the
9199 buffer as a buffer. Fixes some warnings. Should do a more general
9201 (gst_identity_class_init): Plug into the right marshaller.
9203 2005-07-15 Wim Taymans <wim@fluendo.com>
9205 * docs/design/part-TODO.txt:
9206 * docs/design/part-clocks.txt:
9207 * docs/design/part-element-sink.txt:
9208 * docs/design/part-events.txt:
9209 * docs/design/part-gstpipeline.txt:
9210 Updated docs, mostly DISCONT related.
9212 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9214 * docs/pwg/building-pads.xml:
9215 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9217 2005-07-15 Andy Wingo <wingo@pobox.com>
9219 * tools/gst-typefind.c: Update, add copyright block.
9221 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9222 Normalize and truncate caps before fixation.
9225 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9226 discards all but the first structure from its argument.
9228 2005-07-15 Wim Taymans <wim@fluendo.com>
9230 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9231 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9232 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9233 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9234 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9235 (gst_base_transform_chain), (gst_base_transform_change_state),
9236 (gst_base_transform_set_passthrough),
9237 (gst_base_transform_is_passthrough):
9238 * gst/base/gstbasetransform.h:
9239 Make passthrough work using the bufferpools.
9240 Changed API a bit, subclasses have to write into a buffer
9241 provided by the base class.
9242 More debug info in nego functions.
9244 * gst/elements/gstidentity.c: (gst_identity_init),
9245 (gst_identity_transform):
9246 Port to new base class.
9248 2005-07-15 Wim Taymans <wim@fluendo.com>
9250 * gst/gstmessage.c: (gst_message_new_state_changed):
9251 * tools/gst-launch.c: (event_loop), (main):
9252 Totally dump messages in -launch with the -m option.
9253 Fix message name for State messages,
9255 2005-07-14 Wim Taymans <wim@fluendo.com>
9257 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9258 Post error messages on errors.
9260 2005-07-14 Wim Taymans <wim@fluendo.com>
9262 * gst/gstcaps.c: (gst_caps_do_simplify):
9266 Define error for stream stopped.
9268 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9269 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9270 Do proper return values.
9272 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9273 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9274 (gst_pad_get_range):
9275 Better return values.
9278 Reorganise return values, add macro to check for fatal errors.
9280 * gst/gstqueue.c: (gst_queue_chain):
9281 Return proper GstFlowReturn values,
9283 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9285 * docs/gst/gstreamer-sections.txt:
9286 * docs/gst/gstreamer.types:
9287 * docs/gst/tmpl/gst.sgml:
9288 * docs/gst/tmpl/gstbasesink.sgml:
9289 * docs/gst/tmpl/gstbasesrc.sgml:
9290 * docs/gst/tmpl/gstbasetransform.sgml:
9291 * docs/gst/tmpl/gstbin.sgml:
9292 * docs/gst/tmpl/gstbuffer.sgml:
9293 * docs/gst/tmpl/gstcaps.sgml:
9294 * docs/gst/tmpl/gstclock.sgml:
9295 * docs/gst/tmpl/gstcompat.sgml:
9296 * docs/gst/tmpl/gstconfig.sgml:
9297 * docs/gst/tmpl/gstelement.sgml:
9298 * docs/gst/tmpl/gstelementdetails.sgml:
9299 * docs/gst/tmpl/gstelementfactory.sgml:
9300 * docs/gst/tmpl/gstenumtypes.sgml:
9301 * docs/gst/tmpl/gsterror.sgml:
9302 * docs/gst/tmpl/gstevent.sgml:
9303 * docs/gst/tmpl/gstfakesink.sgml:
9304 * docs/gst/tmpl/gstfakesrc.sgml:
9305 * docs/gst/tmpl/gstfilesink.sgml:
9306 * docs/gst/tmpl/gstfilesrc.sgml:
9307 * docs/gst/tmpl/gstfilter.sgml:
9308 * docs/gst/tmpl/gstformat.sgml:
9309 * docs/gst/tmpl/gstghostpad.sgml:
9310 * docs/gst/tmpl/gstimplementsinterface.sgml:
9311 * docs/gst/tmpl/gstindex.sgml:
9312 * docs/gst/tmpl/gstindexfactory.sgml:
9313 * docs/gst/tmpl/gstinfo.sgml:
9314 * docs/gst/tmpl/gstiterator.sgml:
9315 * docs/gst/tmpl/gstmacros.sgml:
9316 * docs/gst/tmpl/gstmemchunk.sgml:
9317 * docs/gst/tmpl/gstminiobject.sgml:
9318 * docs/gst/tmpl/gstobject.sgml:
9319 * docs/gst/tmpl/gstpad.sgml:
9320 * docs/gst/tmpl/gstpadtemplate.sgml:
9321 * docs/gst/tmpl/gstparse.sgml:
9322 * docs/gst/tmpl/gstpipeline.sgml:
9323 * docs/gst/tmpl/gstplugin.sgml:
9324 * docs/gst/tmpl/gstpluginfeature.sgml:
9325 * docs/gst/tmpl/gstquery.sgml:
9326 * docs/gst/tmpl/gstqueue.sgml:
9327 * docs/gst/tmpl/gstregistry.sgml:
9328 * docs/gst/tmpl/gstregistrypool.sgml:
9329 * docs/gst/tmpl/gstscheduler.sgml:
9330 * docs/gst/tmpl/gstschedulerfactory.sgml:
9331 * docs/gst/tmpl/gststructure.sgml:
9332 * docs/gst/tmpl/gstsystemclock.sgml:
9333 * docs/gst/tmpl/gsttaglist.sgml:
9334 * docs/gst/tmpl/gsttagsetter.sgml:
9335 * docs/gst/tmpl/gsttrace.sgml:
9336 * docs/gst/tmpl/gsttrashstack.sgml:
9337 * docs/gst/tmpl/gsttypefind.sgml:
9338 * docs/gst/tmpl/gsttypefindfactory.sgml:
9339 * docs/gst/tmpl/gsttypes.sgml:
9340 * docs/gst/tmpl/gsturihandler.sgml:
9341 * docs/gst/tmpl/gsturitype.sgml:
9342 * docs/gst/tmpl/gstutils.sgml:
9343 * docs/gst/tmpl/gstvalue.sgml:
9344 * docs/gst/tmpl/gstversion.sgml:
9345 * docs/gst/tmpl/gstxml.sgml:
9346 * docs/libs/tmpl/gstcontrol.sgml:
9347 * docs/libs/tmpl/gstdataprotocol.sgml:
9348 * docs/libs/tmpl/gstdparam.sgml:
9349 * docs/libs/tmpl/gstdplinint.sgml:
9350 * docs/libs/tmpl/gstdpman.sgml:
9351 * docs/libs/tmpl/gstdpsmooth.sgml:
9352 * docs/libs/tmpl/gstgetbits.sgml:
9353 * docs/libs/tmpl/gstunitconvert.sgml:
9354 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9355 (gst_push_src_base_init), (gst_push_src_class_init),
9356 (gst_push_src_init), (gst_push_src_create):
9357 * gst/base/gstpushsrc.h:
9358 * gst/elements/gstelements.c:
9359 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9360 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9361 (gst_fake_sink_init), (gst_fake_sink_set_property),
9362 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9363 (gst_fake_sink_event), (gst_fake_sink_preroll),
9364 (gst_fake_sink_render), (gst_fake_sink_change_state):
9365 * gst/elements/gstfakesink.h:
9366 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9367 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9368 (gst_fake_src_base_init), (gst_fake_src_class_init),
9369 (gst_fake_src_init), (gst_fake_src_event_handler),
9370 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9371 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9372 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9373 (gst_fake_src_create_buffer), (gst_fake_src_create),
9374 (gst_fake_src_start), (gst_fake_src_stop):
9375 * gst/elements/gstfakesrc.h:
9376 * gst/elements/gstfilesink.c: (_do_init),
9377 (gst_file_sink_base_init), (gst_file_sink_class_init),
9378 (gst_file_sink_init), (gst_file_sink_dispose),
9379 (gst_file_sink_set_location), (gst_file_sink_set_property),
9380 (gst_file_sink_get_property), (gst_file_sink_open_file),
9381 (gst_file_sink_close_file), (gst_file_sink_query),
9382 (gst_file_sink_event), (gst_file_sink_render),
9383 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9384 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9385 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9386 * gst/elements/gstfilesink.h:
9387 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9388 (gst_file_src_class_init), (gst_file_src_init),
9389 (gst_file_src_finalize), (gst_file_src_set_location),
9390 (gst_file_src_set_property), (gst_file_src_get_property),
9391 (gst_file_src_map_region), (gst_file_src_map_small_region),
9392 (gst_file_src_create_mmap), (gst_file_src_create_read),
9393 (gst_file_src_create), (gst_file_src_is_seekable),
9394 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9395 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9396 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9397 (gst_file_src_uri_handler_init):
9398 * gst/elements/gstfilesrc.h:
9399 more autistic cleanliness in functions/names/defines
9401 2005-07-13 Andy Wingo <wingo@pobox.com>
9403 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9404 source couldn't negotiate.
9406 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9410 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9411 function. I am channeling Hades. Put your boots on suckers!!!
9413 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9415 * testsuite/caps/Makefile.am:
9416 * testsuite/caps/value_compare.c:
9417 * testsuite/caps/value_intersect.c:
9418 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9419 move two testsuite apps over to the check dir
9421 2005-07-12 Wim Taymans <wim@fluendo.com>
9423 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9424 Added more debug info in the negotiate process.
9427 Prepare for segment playback.
9429 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9435 * tools/gst-launch.c: (main):
9436 NULL pipeline on errors.
9438 2005-07-12 Andy Wingo <wingo@pobox.com>
9440 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9441 not it comes from a malloc region. Make sure our copy gets freed.
9443 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9445 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9446 * check/gst/gstmessage.c: (GST_START_TEST):
9447 * check/gst/gststructure.c: (GST_START_TEST),
9448 (gst_structure_suite), (main):
9450 * gst/gstelement.c: (gst_element_message_full):
9451 clean up GError and debug string now that they get copied
9452 * gst/gstmessage.c: (gst_message_new_error),
9453 (gst_message_new_warning), (gst_message_parse_error),
9454 (gst_message_parse_warning):
9455 use GST_TYPE_G_ERROR for structure_new, and take copies of
9456 arguments, so that we don't mess up refcounting
9458 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9460 * check/Makefile.am:
9461 add per-test valgrind targets
9462 * check/gst-libs/gdp.c: (GST_START_TEST),
9463 (gst_data_protocol_suite), (main):
9466 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9468 * check/Makefile.am:
9469 instate more valgrindable tests
9470 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9471 (GST_START_TEST), (fakesrc_suite):
9472 * check/gst/gstpad.c: (GST_START_TEST):
9473 * check/gst/gststructure.c: (GST_START_TEST):
9475 * docs/gst/tmpl/gstminiobject.sgml:
9476 * gst/gstpad.c: (gst_pad_finalize):
9477 fix the static mutex leak
9479 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9481 * check/Makefile.am:
9482 add two more tests for valgrinding
9483 * check/gst/gstvalue.c: (GST_START_TEST):
9484 test refcount of deserialized buffer, found a leak
9485 * docs/gst/gstreamer-docs.sgml:
9486 * docs/gst/gstreamer-sections.txt:
9487 * docs/gst/gstreamer.types:
9488 * docs/gst/tmpl/gstminiobject.sgml:
9489 add miniobject to docs
9490 * gst/gstminiobject.c:
9492 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9493 (gst_string_unwrap):
9494 fix a hard-to-find invalid write for one of the tests
9495 fix a leak for deserialized buffers
9497 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9499 * docs/pwg/advanced-events.xml:
9500 * docs/pwg/advanced-request.xml:
9501 * docs/pwg/advanced-scheduling.xml:
9502 * docs/pwg/appendix-porting.xml:
9503 * docs/pwg/building-boiler.xml:
9504 * docs/pwg/intro-preface.xml:
9505 * docs/pwg/other-ntoone.xml:
9506 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9507 of example code and explanation for pad activation, loop() and
9508 getrange() functions and a bit more. Remove old comments pointing
9510 * examples/pwg/Makefile.am:
9511 Add loop/getrange examples.
9513 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9516 check for valgrind binary + some fixes
9518 valgrind suppressions for the tests
9519 * check/Makefile.am:
9520 add a valgrind: target that valgrinds the unit tests
9521 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9522 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9523 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9524 * check/gst/gstghostpad.c:
9526 * check/gst/gstdata.c:
9528 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9529 (thread_unref), (gst_mini_object_suite), (main):
9531 * gst/gst.c: (gst_deinit):
9533 add a method to clean up.
9534 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9535 (gst_system_clock_obtain):
9536 allow for disposing the system clock.
9537 * tools/gst-launch.c: (main):
9540 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9542 * docs/gst/tmpl/gstbasesrc.sgml:
9543 * docs/gst/tmpl/gstfakesrc.sgml:
9544 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9545 (gst_base_src_init), (gst_base_src_set_property),
9546 (gst_base_src_get_property), (gst_base_src_get_range),
9547 (gst_base_src_start):
9548 * gst/base/gstbasesrc.h:
9549 add num-buffers property
9550 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9551 (gst_fakesrc_init), (gst_fakesrc_set_property),
9552 (gst_fakesrc_get_property), (gst_fakesrc_create),
9553 (gst_fakesrc_start):
9554 remove num-buffers property
9556 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9558 * docs/gst/gstreamer-sections.txt:
9559 * docs/gst/tmpl/gstbasesink.sgml:
9560 * docs/gst/tmpl/gstbasesrc.sgml:
9561 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9562 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9563 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9564 (gst_base_sink_set_property), (gst_base_sink_get_property),
9565 (gst_base_sink_handle_object), (gst_base_sink_event),
9566 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9567 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9568 (gst_base_sink_loop), (gst_base_sink_deactivate),
9569 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9570 (gst_base_sink_change_state):
9571 * gst/base/gstbasesink.h:
9572 * gst/base/gstbasesrc.h:
9573 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9574 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9575 (gst_filesink_init):
9576 more macro splitting
9578 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9580 * gst/gstelement.c: (gst_element_get_bus):
9582 * tools/gst-launch.c: (check_intr), (event_loop):
9585 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9587 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9590 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9592 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9593 (gst_base_src_finalize):
9594 add finalize method and clean up properly
9595 * gst/gstpipeline.c: (gst_pipeline_dispose):
9598 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9600 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9602 add more things to check
9603 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9607 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9609 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9610 (GST_START_TEST), (fakesrc_suite):
9611 * check/gst-libs/gdp.c: (GST_START_TEST):
9612 * check/gst/gst.c: (GST_START_TEST):
9613 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9614 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9615 * check/gst/gstbus.c: (GST_START_TEST):
9616 * check/gst/gstcaps.c: (GST_START_TEST):
9617 * check/gst/gstdata.c: (GST_START_TEST):
9618 * check/gst/gstelement.c: (GST_START_TEST):
9619 * check/gst/gstghostpad.c: (GST_START_TEST):
9620 * check/gst/gstiterator.c: (GST_START_TEST):
9621 * check/gst/gstmessage.c: (GST_START_TEST):
9622 * check/gst/gstobject.c: (GST_START_TEST):
9623 * check/gst/gstpad.c: (GST_START_TEST):
9624 * check/gst/gststructure.c: (GST_START_TEST):
9625 * check/gst/gstsystemclock.c: (GST_START_TEST),
9626 (gst_systemclock_suite):
9627 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9628 * check/gst/gstvalue.c: (GST_START_TEST):
9629 * check/pipelines/cleanup.c: (GST_START_TEST):
9630 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9631 * check/states/sinks.c: (GST_START_TEST):
9632 * check/gstcheck.c: (gst_check_init):
9634 add debugging category
9635 use GST_START_TEST now, so we add a debug line
9637 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9639 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9640 add test for state change message on a bin
9641 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9643 * gst/gstbin.c: (gst_bin_init):
9644 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9645 * gst/gstelement.c: (gst_element_post_message),
9646 (gst_element_set_state):
9647 * gst/gstelementfactory.c: (gst_element_factory_create):
9648 * gst/gstmessage.c: (gst_message_new):
9649 * gst/gstscheduler.c:
9650 various debugging additions and cleanups
9652 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9654 * check/Makefile.am:
9655 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9657 adding tests for elements
9658 * gst/gstelement.c: (gst_element_dispose):
9660 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9662 * gst/registries/gstlibxmlregistry.c: (load_feature):
9663 plug more leaks. A simple gst_init() now is leakfree, yay.
9665 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9667 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9668 (gst_xml_registry_load):
9669 plug another memleak
9671 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9674 use GST_SET_ERROR_CFLAGS
9676 change to ERROR_CFLAGS
9678 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9681 make GST_ERROR_CFLAGS overridable and re-enable Werror
9683 add a note about error CFLAGS
9684 * docs/gst/tmpl/gstfakesrc.sgml:
9685 * gst/elements/gstfakesrc.c:
9686 comment out some unused code
9687 * gst/gst.c: (split_and_iterate):
9688 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9692 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9694 * common/Makefile.am:
9695 * common/gtk-doc.mak:
9696 * docs/gst/Makefile.am:
9697 factor out gtk-doc.mak
9699 2005-07-07 Wim Taymans <wim@fluendo.com>
9701 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9702 (gst_thread_scheduler_dispose):
9703 Unlock the STREAM_LOCK completely.
9705 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9707 * check/Makefile.am:
9708 * check/elements/.cvsignore:
9709 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9710 (START_TEST), (fakesrc_suite), (main):
9711 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9712 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9713 (gst_fakesrc_create), (gst_fakesrc_start):
9714 * gst/elements/gstfakesrc.h:
9715 adding a first element test
9717 2005-07-07 Andy Wingo <wingo@pobox.com>
9719 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9722 2005-07-07 Wim Taymans <wim@fluendo.com>
9728 2005-07-07 Wim Taymans <wim@fluendo.com>
9730 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9731 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9732 Allow subclasses to implement their own negotiation.
9734 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9736 * docs/design/part-gstbin.txt:
9737 * docs/design/part-gstpipeline.txt:
9738 Update design notes to reflect the movement of
9739 responsibility for bus handling from GstPipeline to
9742 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9745 Remove unnecessary queue2/3/4 examples.
9747 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9749 * examples/Makefile.am:
9750 * examples/helloworld/helloworld.c: (event_loop), (main):
9751 * examples/queue/queue.c: (event_loop), (main):
9752 * examples/queue2/queue2.c: (main):
9753 Update a couple of the examples to work again.
9755 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9756 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9757 Spelling corrections and extra debug.
9759 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9760 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9761 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9763 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9764 (gst_pipeline_change_state):
9765 * gst/gstpipeline.h:
9766 Move the bus handler for children to the GstBin, and create a
9767 separate bus for receiving messages from children to the one the
9768 bus sends 'upwards' on.
9770 2005-07-06 Wim Taymans <wim@fluendo.com>
9773 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9774 (gst_base_sink_handle_object), (gst_base_sink_loop),
9775 (gst_base_sink_change_state):
9776 * gst/base/gstbasesink.h:
9777 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9778 (gst_base_src_init), (gst_base_src_setcaps),
9779 (gst_base_src_getcaps), (gst_base_src_loop),
9780 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9781 (gst_base_src_start), (gst_base_src_change_state):
9782 * gst/base/gstbasesrc.h:
9783 Make basesrc negotiate.
9784 Handle the case where preroll fails in basesink.
9787 2005-07-06 Wim Taymans <wim@fluendo.com>
9789 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9790 Implement the fixate function.
9791 Clean up acceptcaps.
9793 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9795 * docs/pwg/building-filterfactory.xml:
9797 Remove never-written filter-factory chapter; I'll add the various
9798 base classes to part 4 ("other element types") later on.
9800 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9802 * docs/pwg/advanced-negotiation.xml:
9803 * docs/pwg/building-boiler.xml:
9804 * docs/pwg/building-pads.xml:
9806 * examples/pwg/Makefile.am:
9807 Add a chapter on caps negotiation, simplify the original code
9808 samples a bit w.r.t. caps negotiation, add link to the advanced
9809 section. Add a bunch of examples showing different use cases of
9810 different types of caps negotiation. Upstream renegotiation isn't
9811 fully documented yet since nobody knows how that works.
9813 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9815 * check/gst/gstpad.c:
9817 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9818 if pad has no parent, return NULL as list of internal links
9820 2005-07-05 Andy Wingo <wingo@pobox.com>
9822 * gst/elements/gstfilesrc.c:
9823 * gst/elements/gstfakesrc.c:
9824 * gst/base/gstpushsrc.c:
9825 * gst/base/gstbasesrc.h:
9826 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9828 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9831 better report generation target (lcov needs a patch)
9833 2005-07-05 Andy Wingo <wingo@pobox.com>
9835 * gst/elements, testsuite: Null if we got it...
9837 2005-07-05 Wim Taymans <wim@fluendo.com>
9840 * libs/gst/dataprotocol/Makefile.am:
9841 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9842 * libs/gst/dataprotocol/dataprotocol.h:
9843 * pkgconfig/Makefile.am:
9844 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9845 * pkgconfig/gstreamer-dataprotocol.pc.in:
9846 Ported dataprotol to 0.9.
9847 Added pkgconfig files.
9849 2005-07-05 Andy Wingo <wingo@pobox.com>
9851 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9852 Default to returning TRUE for the case when tranform_caps returns
9853 a fixed caps, like for identity or volume.
9855 * check/gst/gstbus.c (pound_bus_with_messages):
9856 * check/gst/gstmessage.c (START_TEST):
9857 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9860 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9861 logic weaks here: always run transform_caps, trying passthrough
9862 operation only if the original caps intersects with the transform.
9864 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9865 source and sink caps.
9867 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9868 Intersect the peer caps with the pad template before going into
9870 (gst_base_transform_transform_caps): More debugging.
9872 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9875 2005-07-04 Edward Hervey <edward@fluendo.com>
9879 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9882 2005-07-04 Andy Wingo <wingo@pobox.com>
9884 * check/gst/gstpad.c: Only set explicit caps on pads.
9886 2005-07-01 Andy Wingo <wingo@pobox.com>
9888 * tests/network-clock.scm: Commentary update.
9890 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9891 Didn't really make sense, not implementable with basetransform,
9893 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9894 attempt at implementing the sync property, needs an unlock method.
9896 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9897 New func, by default returns the same caps (the identity
9899 (gst_base_transform_getcaps): Uses transform_caps to return
9901 (gst_base_transform_setcaps): Complicated logic to get caps on
9902 both pads, even if they are different, and to call set_caps once
9903 for every time both pads get their caps set.
9904 (gst_base_transform_handle_buffer): Give the ref to the transform
9905 function. Allows in-place modification of the buffer.
9907 * gst/base/gstbasetransform.h (transform_caps): New class method.
9908 Given caps on one side, what can I do on the other.
9909 (set_caps): Take two caps, one for each side of the element.
9912 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9913 caps in place. This is safe because we can check the mutability of
9914 the caps, and a good idea because fixate functions are just called
9915 as a matter of last resort. (Not actually implemented.)
9916 (gst_pad_set_caps): If the caps we're setting is actually the same
9917 as the existing pad caps, just update the pointer without calling
9918 setcaps. Assert that caps is either NULL or fixed, as per the
9921 * gst/gstghostpad.c: Update for fixate changes.
9923 2005-07-02 Andy Wingo <wingo@pobox.com>
9926 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9927 two refcounts makes it immutable, which is enough. Doc more.
9929 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9931 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9932 Put the mini_object into GValue as a mini_object,
9933 not a gpointer, since that's how we declared
9936 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9938 * examples/pwg/Makefile.am:
9941 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9943 * docs/pwg/building-testapp.xml:
9945 * examples/pwg/Makefile.am:
9948 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9951 * examples/Makefile.am:
9952 * examples/pwg/Makefile.am:
9953 * examples/pwg/extract.pl:
9954 Enable building the PWG examples.
9955 * docs/pwg/advanced-interfaces.xml:
9956 Add URI interface stub.
9957 * docs/pwg/advanced-types.xml:
9958 * docs/pwg/other-autoplugger.xml:
9959 * docs/pwg/appendix-porting.xml:
9961 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9962 * docs/pwg/building-boiler.xml:
9963 * docs/pwg/building-chainfn.xml:
9964 * docs/pwg/building-pads.xml:
9965 * docs/pwg/building-props.xml:
9966 * docs/pwg/building-state.xml:
9967 * docs/pwg/building-testapp.xml:
9968 Update the building-*.xml parts for 0.9 changes. All examples
9969 code blocks compile in examples/pwg/*.
9971 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9973 * docs/manual/advanced-autoplugging.xml:
9974 * docs/manual/appendix-checklist.xml:
9975 * docs/manual/appendix-integration.xml:
9976 * docs/manual/highlevel-components.xml:
9977 Fix playbin/decodebin examples, update docs a bit, mention bus
9978 instead of signals in various places, mention kmplayer and
9979 kaffeine since they have a working GStreamer backend in the KDE
9982 2005-06-30 Wim Taymans <wim@fluendo.com>
9985 * docs/design/draft-ghostpads.txt:
9986 * docs/design/draft-push-pull.txt:
9987 * docs/design/draft-query.txt:
9988 * docs/design/part-TODO.txt:
9989 * docs/design/part-query.txt:
9990 Added CHANGES-0.9 doc, updated status of other docs.
9995 2005-06-30 Wim Taymans <wim@fluendo.com>
9997 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9998 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9999 (gst_base_sink_change_state):
10000 * gst/base/gstbasesink.h:
10001 Some tweaks, only EOS and a buffer complete a preroll.
10003 2005-06-30 Andy Wingo <wingo@pobox.com>
10005 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10006 activate_push down to the internal pad as well.
10008 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10010 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10012 * gst/gsttaginterface.c:
10013 Some documentation fixes (#307394 and #307397).
10015 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10017 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10019 * gst/gstvalue.c: (gst_value_intersect_list):
10020 Fix memleak (#309125).
10022 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10024 * docs/manual/advanced-dataaccess.xml:
10025 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10026 * docs/manual/basics-pads.xml:
10027 Add reference for filtered caps to above chapter.
10029 2005-06-30 Wim Taymans <wim@fluendo.com>
10031 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10032 (gst_bin_change_state):
10034 Lame attempt at making the state change function a bit
10037 2005-06-30 Wim Taymans <wim@fluendo.com>
10039 * docs/design/part-clocks.txt:
10040 * docs/design/part-element-sink.txt:
10041 * docs/design/part-events.txt:
10042 * docs/design/part-preroll.txt:
10043 * docs/design/part-states.txt:
10044 Some more tweeks and additions to the docs.
10046 2005-06-30 Wim Taymans <wim@fluendo.com>
10048 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10049 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10050 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10051 (gst_pad_check_pull_range), (gst_pad_get_range),
10052 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10054 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10055 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10056 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10057 (gst_pad_remove_buffer_probe):
10058 Removed atomic operations, use existing LOCK.
10059 Move exception handling out of main code path.
10061 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10063 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10064 (silly_return_true_function), (gst_pad_class_init),
10065 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10066 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10067 (gst_pad_send_event):
10068 Fix accumulator, add default value by using _emitv() instead
10069 of _emit() for signal emission.
10071 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10073 * docs/manual/advanced-dataaccess.xml:
10074 * examples/manual/Makefile.am:
10076 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10079 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10081 * gst/elements/gstfilesink.c: (gst_filesink_render):
10082 Simplify code so that we don't have to handle short
10083 writes and return GST_FLOW_ERROR if an error occured.
10085 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10087 * docs/gst/gstreamer-docs.sgml:
10088 Remove probes more.
10090 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10092 * docs/gst/gstreamer-sections.txt:
10093 * docs/gst/tmpl/gstpad.sgml:
10094 * docs/gst/tmpl/gstprobe.sgml:
10096 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10097 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10098 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10099 (gst_pad_push_event), (gst_pad_send_event):
10101 * gst/gstutils.c: (gst_pad_add_data_probe),
10102 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10103 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10104 (gst_pad_remove_buffer_probe):
10106 Remove old probes, add new g-signal-based probes and some utility
10109 2005-06-29 Edward Hervey <edward@fluendo.com>
10111 * gst/gstelementfactory.c:
10114 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10115 the definition to the header file.
10117 2005-06-29 Andy Wingo <wingo@pobox.com>
10119 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10120 plugins from the source directory.
10122 2005-06-29 Wim Taymans <wim@fluendo.com>
10124 * docs/gst/tmpl/gstbuffer.sgml:
10125 * docs/gst/tmpl/gstclock.sgml:
10126 Some fixings for blantently wrong text.
10128 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10130 * check/Makefile.am:
10131 * gst/gst.c: (add_path_func), (init_pre):
10132 * gst/gstregistry.c: (gst_registry_add_path):
10133 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10134 only scan the GST_PLUGIN_PATH locations, and not add
10137 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10139 * docs/gst/gstreamer-sections.txt:
10140 * docs/gst/tmpl/gstbasesrc.sgml:
10141 * gst/gstelement.c:
10142 * gst/gstelement.h:
10147 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10149 * docs/manual/advanced-autoplugging.xml:
10150 Fix autoplugging example.
10152 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10154 * docs/manual/advanced-autoplugging.xml:
10155 * docs/manual/mime-world.fig:
10156 Try to get autoplugging working, fix type detection. Fix text
10157 in hello-world image.
10159 2005-06-29 Wim Taymans <wim@fluendo.com>
10161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10162 (gst_base_sink_change_state):
10166 map SIGNAL and BROADCAST to the right function.
10169 Remove redundant braces.
10171 * gst/gstpad.c: (gst_pad_set_caps):
10172 Don't call setcaps function when reseting caps to NULL.
10174 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10175 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10176 (gst_system_clock_id_unschedule):
10177 Use BROADCAST as this is what we do.
10179 2005-06-29 Wim Taymans <wim@fluendo.com>
10181 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10182 We are actually prerolling before commiting the state
10185 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10187 * docs/manual/advanced-clocks.xml:
10188 * docs/manual/advanced-interfaces.xml:
10189 * docs/manual/advanced-metadata.xml:
10190 * docs/manual/advanced-position.xml:
10191 * docs/manual/advanced-schedulers.xml:
10192 * docs/manual/advanced-threads.xml:
10193 * docs/manual/appendix-porting.xml:
10194 * docs/manual/basics-bins.xml:
10195 * docs/manual/basics-bus.xml:
10196 * docs/manual/basics-elements.xml:
10197 * docs/manual/basics-helloworld.xml:
10198 * docs/manual/basics-pads.xml:
10199 * docs/manual/highlevel-components.xml:
10200 * docs/manual/manual.xml:
10201 * docs/manual/thread.fig:
10202 Update (until threads/scheduling) Application Development Manual;
10203 remove GstThread, add GstBus, add simple porting checklist, add
10204 documentation for tag writing, clocks, make all examples until this
10205 part compile and run.
10206 * examples/manual/Makefile.am:
10207 Update from changes to Application Development Manual; add bus
10208 example, remove thread example.
10210 2005-06-28 Wim Taymans <wim@fluendo.com>
10212 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10213 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10214 (gst_bus_source_dispatch):
10215 Add debugging messages.
10216 Make internal methods static.
10217 Handle the case where the bus is flushed in the handler.
10219 * gst/gstelement.c: (gst_element_get_bus):
10220 Fix refcount in _get_bus();
10222 * gst/gstpipeline.c: (gst_pipeline_change_state),
10223 (gst_pipeline_get_clock_func):
10224 Clock refcounting fixes.
10225 Handle the case where preroll timed out more gracefully.
10227 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10228 Clean up the internal thread in dispose. This is needed
10229 for subclasses that actually get disposed.
10231 * gst/schedulers/threadscheduler.c:
10232 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10233 (gst_thread_scheduler_dispose):
10234 Free thread pool in dispose.
10236 2005-06-28 Andy Wingo <wingo@pobox.com>
10238 * tests/network-clock-utils.scm (debug, print-event): New utils.
10240 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10241 (*packet-loss*): Unified loss probability.
10242 (network-time): Report out-of-band events.
10244 * tests/plot-data: Add support for out-of-band events. Hack it
10245 into this script instead of passing it down the pipe; should fix
10248 2005-06-28 Wim Taymans <wim@fluendo.com>
10250 * docs/gst/gstreamer.types:
10251 * docs/gst/tmpl/gstbasesrc.sgml:
10252 * docs/gst/tmpl/gstpad.sgml:
10255 2005-06-28 Wim Taymans <wim@fluendo.com>
10257 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10258 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10259 (gst_proxy_pad_do_fixatecaps):
10260 Correctly proxy the check_pull_range function.
10262 2005-06-28 Andy Wingo <wingo@pobox.com>
10264 * tests/network-clock.scm: Removed need for slib.
10266 2005-06-28 Wim Taymans <wim@fluendo.com>
10268 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10269 (gst_basesink_preroll_queue_flush):
10270 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10271 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10272 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10273 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10274 (gst_proxy_pad_set_property):
10277 * gst/gstqueue.c: (gst_queue_init):
10278 The deprecated pad loop function is removed now.
10280 2005-06-28 Andy Wingo <wingo@pobox.com>
10282 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10283 New parameters, simulate network packet loss.
10285 * tests/network-clock-utils.scm: Initialize the RNG.
10287 2005-06-28 Wim Taymans <wim@fluendo.com>
10289 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10290 (gst_basesink_event), (gst_basesink_deactivate):
10291 Flushing the preroll queue always needs to unlock the waiters.
10293 2005-06-28 Edward Hervey <edward@fluendo.com>
10295 * gst/gstpipeline.c: (gst_pipeline_send_event):
10296 Wheen a seek was successful on a pipeline, set the stream_time to the
10297 seek offset in order to have a synchronized stream_time.
10299 2005-06-28 Wim Taymans <wim@fluendo.com>
10301 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10302 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10303 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10304 (gst_proxy_pad_do_fixatecaps):
10305 Call wrapper function instead of just calling the function
10306 pointers. This takes care of any locking and whatmore.
10308 2005-06-28 Wim Taymans <wim@fluendo.com>
10310 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10311 (gst_pad_pull_range):
10313 CONNECTED -> LINKED.
10315 2005-06-28 Andy Wingo <wingo@pobox.com>
10317 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10318 source-munging commit!!!
10320 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10321 (gst_object_sink): Take gpointer arguments, not GstObject --
10322 avoids casts. Like GLib.
10324 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10327 2005-06-27 Andy Wingo <wingo@pobox.com>
10329 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10332 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10333 returns a sorted copy of the trace list.
10334 (gst_alloc_trace_print_live): New API, only prints traces with
10335 live objects. Sort the list.
10336 (gst_alloc_trace_print_all): Sort the list.
10337 (gst_alloc_trace_print): Align columns.
10339 * gst/elements/gstttypefindelement.c:
10340 * gst/elements/gsttee.c:
10341 * gst/base/gstbasesrc.c:
10342 * gst/base/gstbasesink.c:
10343 * gst/base/gstbasetransform.c:
10344 * gst/gstqueue.c: Adapt for pad activation changes.
10346 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10348 (gst_pipeline_dispose): Drop ref on sched.
10350 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10351 (gst_pad_activate_default): Push mode by default.
10352 (pre_activate_switch, post_activate_switch): New stubs, things to
10353 do before and after switching activation modes on pads.
10354 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10355 the pad's activate function to choose which mode to activate.
10356 Shortcut on deactivation and call the right function directly.
10357 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10359 (gst_pad_activate_push): New API, same for push mode.
10360 (gst_pad_set_activate_function)
10361 (gst_pad_set_activatepull_function)
10362 (gst_pad_set_activatepush_function): Setters for new API.
10364 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10365 Trace all miniobjects.
10366 (gst_mini_object_make_writable): Unref the arg if we copy, like
10367 gst_caps_make_writable.
10369 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10371 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10372 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10373 Adapt for new pad API.
10375 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10377 * gst/gstelement.h:
10378 * gst/gstelement.c (gst_element_iterate_src_pads)
10379 (gst_element_iterate_sink_pads): New API functions.
10381 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10382 should fold into gstiterator.c in some form.
10383 (gst_element_pads_activate): Simplified via use of fold and
10384 delegation of decisions to gstpad->activate.
10386 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10389 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10390 class once in init, like gstmessage. Didn't run into this issue
10391 but it seems correct. Don't initialize a trace, gstminiobject does
10394 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10395 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10397 (assert_live_count): New util function, uses alloc traces to check
10400 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10401 To be modified when unlink drops the internal pad.
10403 2005-06-27 Wim Taymans <wim@fluendo.com>
10405 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10406 (gst_bin_change_state):
10407 Cleanup the get_state() function a little, make sure it
10408 iterates the same set of elements.
10409 Added stub iterate_state_order().
10411 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10413 * docs/gst/gstreamer-docs.sgml:
10414 * docs/gst/gstreamer-sections.txt:
10415 * docs/gst/gstreamer.types:
10416 * docs/gst/tmpl/gstbasesink.sgml:
10417 * docs/gst/tmpl/gstbasesrc.sgml:
10418 * docs/gst/tmpl/gstbasetransform.sgml:
10419 * docs/gst/tmpl/gstelement.sgml:
10420 * docs/gst/tmpl/gstiterator.sgml:
10421 * gst/base/gstbasesrc.c:
10422 * gst/base/gstbasesrc.h:
10423 * gst/base/gstbasetransform.h:
10424 * gst/gstelement.c:
10425 * gst/gstiterator.h:
10426 adding basetransform and iterator docs
10428 2005-06-27 Andy Wingo <wingo@pobox.com>
10430 * docs/design/part-activation.txt: Notes on how activation should
10431 work -- not quite implemented yet.
10433 2005-06-25 Wim Taymans <wim@fluendo.com>
10435 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10436 At least get the chain function correct, needs more
10439 2005-06-25 Wim Taymans <wim@fluendo.com>
10441 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10442 (gst_basesink_handle_object), (gst_basesink_event),
10443 (gst_basesink_do_sync), (gst_basesink_handle_event),
10444 (gst_basesink_change_state):
10446 Right, two problems here: ghostpads don't take locks and
10447 glib _rec_mutex_lock_full() with depth==0 still locks.
10448 Catch illegal locking and g_warn them.
10450 2005-06-25 Wim Taymans <wim@fluendo.com>
10452 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10453 Have to check for completion now...
10455 2005-06-25 Wim Taymans <wim@fluendo.com>
10457 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10458 (gst_basesink_handle_object), (gst_basesink_event),
10459 (gst_basesink_do_sync), (gst_basesink_handle_event),
10460 (gst_basesink_change_state):
10462 Unlock STREAM_LOCK whatever the recursion was.
10464 2005-06-25 Wim Taymans <wim@fluendo.com>
10466 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10467 (gst_basesink_preroll_queue_empty),
10468 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10469 (gst_basesink_event), (gst_basesink_do_sync),
10470 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10471 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10472 (gst_basesink_change_state):
10473 Reworked the base sink, handle event and buffer serialisation
10474 correctly and removed possible deadlock.
10475 Handle EOS correctly.
10477 2005-06-25 Wim Taymans <wim@fluendo.com>
10479 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10480 (gst_pipeline_change_state):
10481 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10482 Allow elements to post EOS in the state change function.
10483 Fix up -launch, make it exit the poll loop when the
10484 pipeline actually changed state.
10485 Fix up warning parsing in -launch.
10487 2005-06-25 Wim Taymans <wim@fluendo.com>
10489 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10490 (gst_tee_sink_activate):
10491 Core takes STREAM_LOCK for us now.
10493 2005-06-25 Wim Taymans <wim@fluendo.com>
10495 * gst/gstelement.c: (gst_element_get_state_func),
10496 (gst_element_set_state):
10497 * gst/gstelement.h:
10498 * gst/gstmessage.c: (gst_message_parse_error),
10499 (gst_message_parse_warning):
10500 Keep track of current target state while performing a state
10501 change so that subclasses can do something interesting.
10502 Fix parsing of warning/error messages when GError is NULL.
10504 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10506 * docs/gst/Makefile.am:
10507 * docs/gst/gstreamer-docs.sgml:
10508 * docs/gst/gstreamer-sections.txt:
10509 * docs/gst/gstreamer.types:
10510 * docs/gst/tmpl/gstbasesink.sgml:
10511 * docs/gst/tmpl/gstbasesrc.sgml:
10512 * docs/gst/tmpl/gstbin.sgml:
10513 * docs/gst/tmpl/gstcompat.sgml:
10514 * docs/gst/tmpl/gstfakesink.sgml:
10515 * docs/gst/tmpl/gstfakesrc.sgml:
10516 * docs/gst/tmpl/gstfilesink.sgml:
10517 * docs/gst/tmpl/gstfilesrc.sgml:
10518 * docs/gst/tmpl/gstindex.sgml:
10519 * docs/manual/appendix-quotes.xml:
10520 * gst/base/gstbasesrc.h:
10521 * gst/elements/gstfakesrc.h:
10522 * gst/gstmessage.h:
10523 start pulling in base classes and elements in our docs
10525 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10527 * docs/gst/Makefile.am:
10528 * docs/libs/Makefile.am:
10529 fixed make distcheck with gtk-doc 1.3
10531 2005-06-23 Wim Taymans <wim@fluendo.com>
10533 * gst/gstelement.c: (gst_element_get_state_func),
10534 (gst_element_set_state), (gst_element_change_state):
10535 When the state did not change, also report NO_PREROLL
10538 2005-06-23 Wim Taymans <wim@fluendo.com>
10540 * gst/gstpad.c: (gst_pad_event_default):
10541 * gst/gstqueue.c: (gst_queue_loop):
10542 No unsafe task pausing please.
10544 2005-06-23 Wim Taymans <wim@fluendo.com>
10546 * gst/schedulers/threadscheduler.c:
10547 (gst_thread_scheduler_task_start),
10548 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10549 Ref the task before pushing it on the threadpool. This
10550 makes sure that we have a ref when the threadfunction is
10553 2005-06-23 Andy Wingo <wingo@pobox.com>
10555 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10556 offset is greater than the file's size.
10558 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10559 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10560 * gst/gstobject.c (gst_object_class_init): Make the class lock
10561 recursive. Wim won't let me drop deep_notify. Decodebin works
10562 again, whoopdy doo.
10564 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10565 internal pad, and hacks accordingly. Doesn't do it on the target
10566 pad because we change its caps. Probably catches all cases of
10568 (gst_ghost_pad_set_property): Connect to notify::caps as
10571 * tests/network-clock.scm (plot-simulation): Pipe data to the
10572 elite python skript.
10574 * tests/network-clock-utils.scm (define-parameter): New macro,
10575 defines a parameter that can be set via the command line.
10576 (set-parameter!, parse-parameter-arguments): Command line args
10579 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10582 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10584 * gst/elements/gsttypefindelement.c:
10585 (gst_type_find_element_handle_event):
10586 Don't restart typefinding on a discont.
10587 * gst/gstelement.c: (gst_element_set_state):
10588 Debug spelling fix.
10589 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10590 Allow changing mode of an active pad.
10591 Debug output fixes.
10592 * gst/registries/gstlibxmlregistry.c: (load_feature):
10593 Don't cast a static pad template to a normal pad template.
10595 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10597 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10598 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10599 remove gst_strtoll completely, since it didn't actually do
10600 anything more than what g_ascii_strtoull already does.
10601 check for range errors when deserializing
10602 do a cast for the unsigned cases; but further fixing needs
10603 a decision on what the interpretation of "(int)" and
10604 deserialization should be for values that fall outside the
10605 type's boundaries (ie, refuse, or interpret as casting)
10607 2005-06-23 Wim Taymans <wim@fluendo.com>
10609 * check/Makefile.am:
10610 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10611 * docs/design/part-live-source.txt:
10612 * docs/design/part-states.txt:
10613 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10614 (gst_basesrc_set_live), (gst_basesrc_is_live),
10615 (gst_basesrc_get_range), (gst_basesrc_activate),
10616 (gst_basesrc_change_state):
10617 * gst/base/gstbasesrc.h:
10618 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10619 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10620 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10621 * gst/gstelement.c: (gst_element_get_state_func),
10622 (gst_element_set_state):
10623 * gst/gstelement.h:
10625 * tools/gst-launch.c: (event_loop), (main):
10626 Added support for live sources and other elements that
10628 Updated design docs, added live-source design doc.
10629 Implemented live source functionality in basesrc
10630 Fix error condition in _bin_get_state()
10631 Implement live source handling in -launch.
10632 Added check for live sources.
10633 Fixed case in GstBin where elements were changed state
10637 2005-06-23 Andy Wingo <wingo@pobox.com>
10639 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10640 borken refcounting.
10642 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10643 gst_caps_replace takes care of this for us.
10645 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10646 gst_pad_set_caps on the target, not just its setcaps() function.
10648 * tests/network-clock.scm:
10649 * tests/network-clock-utils.scm: A network clock simulator.
10650 Something of an algorithmic testbed before doing something in C.
10652 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10654 * check/Makefile.am:
10655 * check/gst/capslist.h:
10656 copy over from 0.8, and add two with bitmasks specified with
10658 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10659 add test to parse everything from capslist.h
10660 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10662 add test for structure deserialization
10663 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10664 add tests for deserialization of strings to int types
10665 * gst/gststructure.c: (gst_structure_nth_field_name):
10666 * gst/gststructure.h:
10667 add a way to get the name of a field referenced by index
10668 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10669 instead of checking if the resulting long long lies between
10670 min and max, we check if the long long would fit into
10671 a number of bytes for the final type.
10672 This fixes cases where a string represents 2^32 - 1, which
10673 when cast to int would be the (valid) -1, but is bigger than
10676 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10678 * gst/parse/grammar.y:
10679 add a log line for type deserialization
10681 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10683 * check/gst/gstvalue.c: (START_TEST):
10684 * gst/gstvalue.c: (gst_value_deserialize):
10685 return long long, not int, so gint64 deserialization actually
10686 works. Is there any flag that makes the compiler check this ?
10689 2005-06-22 Wim Taymans <wim@fluendo.com>
10692 Added convenience macros for setting buffers in GValue.
10694 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10696 * check/gst/.cvsignore:
10697 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10698 add a test deserializing int64, and comment part out because
10701 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10703 * check/Makefile.am:
10704 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10705 * testsuite/Makefile.am:
10706 * testsuite/caps/Makefile.am:
10707 * testsuite/caps/value_serialize.c:
10708 * testsuite/test_gst_init.c:
10709 move a value_serialize test over
10711 2005-06-20 Wim Taymans <wim@fluendo.com>
10716 * gst/gstvalue.c: (gst_value_compare_buffer),
10717 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10718 (gst_value_compare_flags), (gst_value_serialize_flags),
10719 (gst_value_deserialize_flags), (_gst_value_initialize):
10720 Fix serialisation of buffers, they are not boxed types anymore
10722 2005-06-20 Wim Taymans <wim@fluendo.com>
10724 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10725 Testcase to show error in buffer-on-caps serialisation.
10727 2005-06-20 Andy Wingo <wingo@pobox.com>
10729 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10730 will be adding to later.
10732 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10733 if its socks fill with rocks.
10734 (gst_system_clock_obtain): Set the name on object construction.
10735 Avoid double-checked locking.
10737 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10739 * gst/gsturi.c: (gst_element_make_from_uri):
10740 Fix potential endless loop.
10742 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10744 * check/Makefile.am:
10746 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10748 move over from testsuite dir and clean up
10751 * testsuite/Makefile.am:
10752 * testsuite/tags/.cvsignore:
10753 * testsuite/tags/Makefile.am:
10754 * testsuite/tags/merge.c:
10755 remove testsuite/tags
10757 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10759 * docs/gst/gstreamer-sections.txt:
10760 * docs/gst/tmpl/gstenumtypes.sgml:
10761 * win32/gstenumtypes.c:
10762 clean up documentation build a little
10764 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10766 * check/gstcheck.h:
10767 add macros for checking refcounts on objects and caps
10768 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10769 add some more unit tests
10770 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10771 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10772 fix leaked refcounts (I hope :)) so unittest works
10776 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10778 * configure.ac: back to HEAD
10780 === release 0.9.1 ===
10782 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10788 2005-06-17 Andy Wingo <wingo@pobox.com>
10790 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10791 assert; it's always possible that the pad gets deactivated in
10792 between the checks in gstpad.c and the implementation. Rely on
10793 finish_preroll() to return a FLUSHING or similar instead of on the
10796 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10797 clock and post an EOS message if we come out of finish_preroll in
10800 2005-06-16 David Schleef <ds@schleef.org>
10802 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10803 (gst_capsfilter_set_property): Allow NULL as possible value
10804 for filter_caps property, indicating GST_CAPS_ANY.
10806 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10808 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10810 * gst/schedulers/Makefile.am:
10812 * gstreamer.spec.in:
10815 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10817 * gstreamer.spec.in:
10820 2005-06-08 Andy Wingo <wingo@pobox.com>
10822 * gst/gstutils.c: RPAD fixes all around.
10823 (gst_element_link_pads): Refcounting fixes.
10825 * tools/gst-inspect.c:
10826 * tools/gst-xmlinspect.c:
10828 * gst/base/gsttypefindhelper.c:
10829 * gst/base/gstbasesink.c:
10830 * gst/gstqueue.c: RPAD fixes.
10832 * gst/gstghostpad.h:
10833 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10834 pads. The tricky thing is they provide both source and sink
10835 interfaces, since they proxy the internal pad for the external
10836 pad, and vice versa. Implement with lower-level ProxyPad objects,
10837 with the interior proxy pad as a child of the exterior ghost pad.
10838 Should write a doc on this.
10840 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10841 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10844 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10845 pads are real pads. No ghost pads in this file. Not documenting
10846 the myriad s/RPAD/PAD/ and REALIZE fixes.
10847 (gst_pad_class_init): Add properties for "direction" and
10848 "template". Both are construct-only, so they can't change during
10849 the life of the pad. Fixes properly deriving from GstPad.
10850 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10851 derived objects, just set properties when creating the objects via
10853 (gst_pad_get_parent): Implement as a function, return NULL if the
10854 parent is not an element.
10855 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10856 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10858 * gst/gstobject.c (gst_object_class_init): Make name a construct
10859 property. Don't set it in the object init.
10861 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10862 with UNKNOWN direction.
10863 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10864 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10865 (gst_element_remove_pad): Remove ghost-pad special cases.
10866 (gst_element_pads_activate): Remove rpad cruft.
10868 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10869 catch the pad's-parent-not-an-element case.
10871 * gst/gst.h: Include gstghostpad.h.
10873 * gst/gst.c (init_post): No more real, ghost pads.
10875 * gst/Makefile.am: Add gstghostpad.[ch].
10877 * check/Makefile.am:
10878 * check/gst/gstbin.c:
10879 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10880 into a bin creates ghost pads, and that the refcounts are right.
10881 Partly moved from gstbin.c.
10883 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10885 * check/gst-libs/.cvsignore:
10886 * check/gst/.cvsignore:
10887 * check/pipelines/.cvsignore:
10889 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10890 (START_TEST), (cleanup_suite), (main):
10891 add some tests related to cleanup after running pipelines
10893 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10895 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10896 add a testsuite for GstBuffer
10898 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10900 * gst/gstminiobject.h:
10901 add defines for accessing the refcount
10903 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10905 * Makefile.am: added support for html unit test coverage reports
10907 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10909 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10910 Free existing caps if the capsfilter changes. Add a FIXME about
10911 setting those caps on the pads.
10913 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10914 Before adding a ghost pad to a parent bin, check that there isn't
10915 already one for the element on the bin. Prevents infinite recursion
10916 when using decodebin in parse pipelines. Andy says he'll rewrite the
10917 way this works anyway, so ignore the hack.
10919 2005-06-02 Andy Wingo <wingo@pobox.com>
10921 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10922 file size, pass it on to the type find helper.
10924 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10925 segment_start and segment_end properly according to the seek
10926 method. Segment_end is still a bit flaky because offset can be
10927 negative for CUR and END cases, but it takes -1 as an "unset"
10930 2005-06-02 Wim Taymans <wim@fluendo.com>
10932 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10933 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10934 (gst_basesink_activate):
10935 * gst/base/gstbasesink.h:
10936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10937 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10938 (gst_pad_query), (gst_pad_start_task):
10940 * gst/gstqueue.c: (gst_queue_bufferalloc),
10941 (gst_queue_handle_sink_event), (gst_queue_chain):
10942 Bufferalloc: return GstFlowReturn to more accuratly report
10943 why allocation failed.
10945 2005-06-02 Wim Taymans <wim@fluendo.com>
10947 * gst/gstpipeline.c: (gst_pipeline_send_event):
10948 Take snapshot of state without blocking.
10950 2005-06-02 Wim Taymans <wim@fluendo.com>
10952 * docs/design/part-TODO.txt:
10953 * docs/design/part-caps.txt:
10954 * docs/design/part-clocks.txt:
10955 * docs/design/part-negotiation.txt:
10956 * docs/design/part-preroll.txt:
10959 2005-05-30 Wim Taymans <wim@fluendo.com>
10961 * gst/elements/gstidentity.c: (gst_identity_event),
10962 (gst_identity_transform), (gst_identity_get_property):
10963 Protect last_message property as it is accessed from
10966 2005-05-30 Wim Taymans <wim@fluendo.com>
10968 * gst/gstelement.c: (gst_element_init),
10969 (gst_element_pads_activate), (gst_element_change_state):
10970 Slicker pad activation code.
10972 2005-05-30 Wim Taymans <wim@fluendo.com>
10975 * gst/gstelement.h:
10976 * gst/gstelementfactory.h:
10978 Move elementfactory methods to separate .h file.
10980 2005-05-30 Wim Taymans <wim@fluendo.com>
10982 * docs/design/part-overview.txt:
10983 * gst/gstsystemclock.h:
10984 Small typo fixes, doc updates.
10986 2005-05-30 Wim Taymans <wim@fluendo.com>
10988 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10989 (init_popt_callback):
10990 Remove cpu-opt flag.
10992 2005-05-30 Wim Taymans <wim@fluendo.com>
10994 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10995 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10997 Avoid typechecking in places where not needed.
10998 Added accessor for malloc_data.
11000 2005-05-30 Wim Taymans <wim@fluendo.com>
11002 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11003 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11004 (gst_pad_configure_sink), (gst_pad_configure_src),
11005 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11006 (gst_pad_start_task):
11007 Propagate errors from _set_caps() in configure_src/sink
11008 functions instead of returning TRUE.
11009 FLUSH events can travel up and downstream
11012 2005-05-30 Wim Taymans <wim@fluendo.com>
11014 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11015 (gst_basesink_activate):
11016 Handle EOS in preroll.
11018 2005-05-30 Wim Taymans <wim@fluendo.com>
11020 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11021 (gst_queue_loop), (gst_queue_handle_src_event):
11022 Remove old pieces of code
11023 Flushing the queue in an upstream event is a very bad idea.
11025 2005-05-26 Andy Wingo <wingo@pobox.com>
11027 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11028 gst_value_set_mini_object so as to add a ref on the object (which
11029 will be removed when the value is unset).
11031 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11032 arg type in ::handoff.
11034 * gst/gstelement.c (gst_element_change_state): Also deactivate
11035 pads in READY->NULL, just in case the element didn't make it to
11036 PAUSED. Wingo tested, Wim approved.
11038 2005-05-26 Wim Taymans <wim@fluendo.com>
11040 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11041 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11042 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11043 A flushing pad cannot be used to alloc_buffer from.
11045 2005-05-26 Wim Taymans <wim@fluendo.com>
11047 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11048 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11049 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11050 (gst_bus_create_watch), (gst_bus_add_watch_full):
11052 Implement a real GSource and use g_main_context_wakeup() to
11053 signal new messages instead of the socketpair.
11055 2005-05-25 Wim Taymans <wim@fluendo.com>
11057 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11058 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11059 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11060 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11061 (gst_pad_send_event), (gst_pad_start_task):
11062 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11063 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11064 (gst_queue_sink_activate), (gst_queue_src_activate),
11065 (gst_queue_change_state):
11067 Fix state changes for non sinks. We now change sinks, then elements
11068 with unconnected srcpads, then the rest.
11069 More efficient queue unlocking in flush and state changes.
11070 Set the pad activate mode even if it does not have an activate
11073 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11075 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11076 Don't go in pull mode for non-seekable sources.
11077 * gst/elements/gsttypefindelement.h:
11078 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11079 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11080 (free_entry), (stop_typefinding),
11081 (gst_type_find_element_handle_event), (find_peek),
11082 (gst_type_find_element_chain), (do_pull_typefind),
11083 (gst_type_find_element_change_state):
11084 Allow typefinding (w/o seeking) in push-mode, simplified version
11085 of what was in 0.8.
11086 * gst/gstutils.c: (gst_buffer_join):
11088 gst_buffer_join() from 0.8.
11090 2005-05-25 Wim Taymans <wim@fluendo.com>
11092 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11093 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11094 (gst_pad_send_event), (gst_pad_start_task):
11095 Disable attempt at mode switching until it is figured out.
11097 2005-05-25 Wim Taymans <wim@fluendo.com>
11099 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11100 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11101 (gst_basesink_finish_preroll), (gst_basesink_chain),
11102 (gst_basesink_loop), (gst_basesink_activate),
11103 (gst_basesink_change_state):
11104 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11105 (gst_basesrc_get_range), (gst_basesrc_loop),
11106 (gst_basesrc_activate):
11107 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11108 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11109 (gst_real_pad_init), (gst_real_pad_set_property),
11110 (gst_real_pad_get_property), (gst_pad_set_active),
11111 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11112 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11113 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11114 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11115 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11116 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11117 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11118 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11119 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11120 (gst_pad_stop_task):
11122 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11123 (gst_queue_loop), (gst_queue_src_activate):
11124 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11125 (gst_task_get_state):
11127 * gst/schedulers/threadscheduler.c:
11128 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11129 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11131 Remove ACTIVE pad flag, use FLUSHING everywhere
11132 Added _pad_chain(), _pad_get_range() to call chain/getrange
11134 Add locks around IS_FLUSHING when reading.
11135 Take STREAM lock in chain(), get_range() functions so plugins
11136 don't need to take it anymore.
11140 2005-05-25 Wim Taymans <wim@fluendo.com>
11142 * tools/gst-launch.c: (event_loop):
11143 Unref message after using its contents instead of
11146 2005-05-24 Wim Taymans <wim@fluendo.com>
11148 * docs/design/draft-ghostpads.txt:
11149 * docs/design/draft-push-pull.txt:
11150 * docs/design/draft-query.txt:
11151 * docs/design/part-overview.txt:
11152 Docs updates, added general overview doc.
11154 2005-05-21 David Schleef <ds@schleef.org>
11156 * docs/gst/tmpl/old/GstBin.sgml:
11157 * docs/gst/tmpl/old/GstBuffer.sgml:
11158 * docs/gst/tmpl/old/GstCaps.sgml:
11159 * docs/gst/tmpl/old/GstClock.sgml:
11160 * docs/gst/tmpl/old/GstCompat.sgml:
11161 * docs/gst/tmpl/old/GstData.sgml:
11162 * docs/gst/tmpl/old/GstElement.sgml:
11163 * docs/gst/tmpl/old/GstEvent.sgml:
11164 * docs/gst/tmpl/old/GstIndex.sgml:
11165 * docs/gst/tmpl/old/GstStructure.sgml:
11166 * docs/gst/tmpl/old/GstTag.sgml:
11167 * docs/gst/tmpl/old/cothreads.sgml:
11168 * docs/gst/tmpl/old/cothreads_compat.sgml:
11169 * docs/gst/tmpl/old/gettext.sgml:
11170 * docs/gst/tmpl/old/gobject2gtk.sgml:
11171 * docs/gst/tmpl/old/grammar.tab.sgml:
11172 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11173 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11174 * docs/gst/tmpl/old/gst_private.sgml:
11175 * docs/gst/tmpl/old/gstaggregator.sgml:
11176 * docs/gst/tmpl/old/gstarch.sgml:
11177 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11178 * docs/gst/tmpl/old/gstbufferstore.sgml:
11179 * docs/gst/tmpl/old/gstdata_private.sgml:
11180 * docs/gst/tmpl/old/gstdisksink.sgml:
11181 * docs/gst/tmpl/old/gstdisksrc.sgml:
11182 * docs/gst/tmpl/old/gstelementfactory.sgml:
11183 * docs/gst/tmpl/old/gstextratypes.sgml:
11184 * docs/gst/tmpl/old/gstfakesink.sgml:
11185 * docs/gst/tmpl/old/gstfakesrc.sgml:
11186 * docs/gst/tmpl/old/gstfdsink.sgml:
11187 * docs/gst/tmpl/old/gstfdsrc.sgml:
11188 * docs/gst/tmpl/old/gstfilesink.sgml:
11189 * docs/gst/tmpl/old/gstfilesrc.sgml:
11190 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11191 * docs/gst/tmpl/old/gstidentity.sgml:
11192 * docs/gst/tmpl/old/gstindexfactory.sgml:
11193 * docs/gst/tmpl/old/gstmarshal.sgml:
11194 * docs/gst/tmpl/old/gstmd5sink.sgml:
11195 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11196 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11197 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11198 * docs/gst/tmpl/old/gstpipefilter.sgml:
11199 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11200 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11201 * docs/gst/tmpl/old/gstshaper.sgml:
11202 * docs/gst/tmpl/old/gstspider.sgml:
11203 * docs/gst/tmpl/old/gstspideridentity.sgml:
11204 * docs/gst/tmpl/old/gststatistics.sgml:
11205 * docs/gst/tmpl/old/gsttee.sgml:
11206 * docs/gst/tmpl/old/gsttimecache.sgml:
11207 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11208 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11209 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11210 * docs/gst/tmpl/old/types.sgml:
11211 I didn't intend to add these or check them in.
11213 2005-05-19 David Schleef <ds@schleef.org>
11215 * configure.ac: Use -no-common everywhere. In a sane world, it
11216 would be the default in libtool, because without it, you can't
11217 build DLLs on Windows.
11218 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11219 * docs/gst/gstreamer-sections.txt:
11220 * docs/gst/tmpl/gstcpu.sgml:
11221 * docs/gst/tmpl/gstdata.sgml:
11222 * docs/gst/tmpl/gstthread.sgml:
11224 2005-05-19 David Schleef <ds@schleef.org>
11226 * gst/gstminiobject.c: (gst_value_set_mini_object),
11227 (gst_value_take_mini_object), (gst_value_get_mini_object):
11228 * gst/gstminiobject.h: Add GValue set/get functions.
11230 2005-05-19 Wim Taymans <wim@fluendo.com>
11232 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11233 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11234 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11236 * gst/gstbus.c: (gst_bus_post):
11237 * gst/gstelement.c: (gst_element_get_random_pad):
11238 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11239 Make subbufer unref the parent in finalize.
11240 some more debugging info.
11243 2005-05-19 Wim Taymans <wim@fluendo.com>
11245 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11246 (gst_basesink_init), (gst_basesink_finalize),
11247 (gst_basesink_activate), (gst_basesink_change_state):
11248 Don't free preroll queue too early.
11250 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11254 Hi, I'm outdated. Please shoot me.
11256 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11258 * gst/gstpipeline.c: (gst_pipeline_send_event):
11259 Do not access variables after they have been deleted.
11261 2005-05-19 Wim Taymans <wim@fluendo.com>
11263 * tools/gst-inspect.c: (print_plugin_features):
11264 A plugin feature does unfortunatly not use the
11267 2005-05-18 Wim Taymans <wim@fluendo.com>
11269 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11270 Port _span() functions to new subbuffers.
11272 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11274 * gst/gstbin.c: (gst_bin_add_func):
11275 Fix clock settery in bins when adding kids after the clock has
11278 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11280 * gst/elements/gstidentity.c: (gst_identity_class_init):
11281 Workaround until signals support GstMiniObject.
11283 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11286 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11288 2005-05-18 Wim Taymans <wim@fluendo.com>
11290 * gst/base/Makefile.am:
11291 * gst/base/gstadapter.c: (gst_adapter_base_init),
11292 (gst_adapter_class_init), (gst_adapter_init),
11293 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11294 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11295 (gst_adapter_flush), (gst_adapter_available),
11296 (gst_adapter_available_fast):
11297 * gst/base/gstadapter.h:
11298 Ported and added adapter to the base classes.
11300 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11303 * gst/gstmessage.c:
11304 Make sure the class is reffed/unreffed once before threads can be
11305 used. Fixes #304551.
11307 2005-05-17 Wim Taymans <wim@fluendo.com>
11309 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11310 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11311 * gst/gstminiobject.c: (gst_mini_object_get_type),
11312 (gst_mini_object_free):
11313 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11314 (gst_pad_push), (gst_pad_push_event):
11315 * gst/gstqueue.c: (gst_queue_change_state):
11316 Don't queue buffers in basesink when we are flushing.
11317 Unref buffer when flushing in basesink.
11318 Flush queue when going to READY
11319 Unref buffer when _push() returns an error.
11320 Don't free MiniObject instance when refcount is incremented
11321 in _finalize() so that we can recover objects.
11323 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11325 * docs/manual/advanced-schedulers.xml:
11326 * docs/manual/appendix-checklist.xml:
11327 * docs/pwg/advanced-clock.xml:
11328 * docs/pwg/advanced-interfaces.xml:
11329 * docs/pwg/advanced-request.xml:
11330 * docs/pwg/advanced-types.xml:
11331 * docs/pwg/intro-preface.xml:
11332 * examples/plugins/example.c: (gst_example_get_type),
11333 (gst_example_class_init), (gst_example_chain),
11334 (gst_example_set_property), (gst_example_get_property),
11335 (gst_example_change_state), (plugin_init):
11336 * examples/plugins/example.h:
11339 2005-05-17 Wim Taymans <wim@fluendo.com>
11341 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11342 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11343 * gst/gstqueue.c: (gst_queue_change_state):
11344 Clear queue when going to READY.
11345 Remove IN_SETCAPS flag too.
11347 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11349 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11350 Remove implicit cast from gboolean to GstElementStateReturn;
11351 make sure we still return failure in paused => ready case if
11352 the parent class fails to change state and our own stop
11355 2005-05-17 Wim Taymans <wim@fluendo.com>
11357 * tools/gst-launch.c: (event_loop):
11358 Message was unreffed too soon.
11360 2005-05-16 Andy Wingo <wingo@pobox.com>
11362 * gst/gstbin.c (sink_iterator_filter): Err... um...
11364 * check/gst/gstbin.c (test_ghost_pads): New test for the
11365 ghosting-if-elements-not-in-same-bin behavior.
11367 2005-05-16 David Schleef <ds@schleef.org>
11369 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11370 accessing refcount directly.
11372 2005-05-15 David Schleef <ds@schleef.org>
11374 * check/Makefile.am: remove GstData checks
11375 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11376 * gst/Makefile.am: add miniobject, remove data
11377 * gst/gst.h: add miniobject, remove data
11378 * gst/gstdata.c: remove
11379 * gst/gstdata.h: remove
11380 * gst/gstdata_private.h: remove
11381 * gst/gsttypes.h: remove GstEvent and GstMessage
11382 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11383 * gst/gstmarshal.list: change BOXED -> OBJECT
11385 Implement GstMiniObject.
11386 * gst/gstminiobject.c:
11387 * gst/gstminiobject.h:
11389 Modify to be subclasses of GstMiniObject.
11390 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11391 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11392 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11393 (gst_subbuffer_get_type), (gst_subbuffer_init),
11394 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11397 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11398 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11399 (_gst_event_copy), (gst_event_new):
11401 * gst/gstmessage.c: (_gst_message_initialize),
11402 (gst_message_get_type), (gst_message_class_init),
11403 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11404 (gst_message_new), (gst_message_new_error),
11405 (gst_message_new_warning), (gst_message_new_tag),
11406 (gst_message_new_state_changed), (gst_message_new_application):
11407 * gst/gstmessage.h:
11408 * gst/gstprobe.c: (gst_probe_perform),
11409 (gst_probe_dispatcher_dispatch):
11411 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11412 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11413 (_gst_query_copy), (gst_query_new):
11415 Update elements for GstData -> GstMiniObject changes
11417 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11418 (gst_queue_chain), (gst_queue_loop):
11419 * gst/elements/gstbufferstore.c:
11420 (gst_buffer_store_add_buffer_func),
11421 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11422 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11423 (gst_fakesink_render):
11424 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11425 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11426 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11427 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11428 (gst_filesrc_create_read):
11429 * gst/elements/gstidentity.c: (gst_identity_class_init):
11430 * gst/elements/gsttypefindelement.c:
11431 (gst_type_find_element_src_event), (free_entry_buffers),
11432 (gst_type_find_element_handle_event):
11433 * libs/gst/dataprotocol/dataprotocol.c:
11434 (gst_dp_header_from_buffer):
11435 * libs/gst/dataprotocol/dataprotocol.h:
11436 * libs/gst/dataprotocol/dp-private.h:
11438 2005-05-15 David Schleef <ds@schleef.org>
11440 * gst/elements/gstelements.c: Don't include headers that were
11443 2005-05-15 David Schleef <ds@schleef.org>
11445 * gst/elements/Makefile.am: Remove some elements that don't
11446 need to be in the core (or even exist at all).
11447 * gst/elements/gstaggregator.c:
11448 * gst/elements/gstaggregator.h:
11449 * gst/elements/gstmd5sink.c:
11450 * gst/elements/gstmd5sink.h:
11451 * gst/elements/gstmultifilesrc.c:
11452 * gst/elements/gstmultifilesrc.h:
11453 * gst/elements/gstpipefilter.c:
11454 * gst/elements/gstpipefilter.h:
11455 * gst/elements/gstshaper.c:
11456 * gst/elements/gstshaper.h:
11457 * gst/elements/gststatistics.c:
11458 * gst/elements/gststatistics.h:
11459 * po/POTFILES.in: Remove above files.
11461 2005-05-14 Andy Wingo <wingo@pobox.com>
11463 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11464 so as to get the refs right.
11465 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11466 unreffing objects that don't pass the filter.
11468 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11469 gst_element_set_bus.
11470 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11471 normal cases, this will destroy the bus.
11473 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11476 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11479 2005-05-13 Andy Wingo <wingo@pobox.com>
11481 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11482 gst_pad_link, call pad_link_maybe_ghosting,
11483 (pad_link_maybe_ghosting): Links pads, making sure that the
11484 elements being linked are in the same bin.
11485 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11486 Helpers for pad_link_maybe_ghosting.
11488 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11491 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11493 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11495 * docs/design/part-element-source.txt:
11498 2005-05-12 Wim Taymans <wim@fluendo.com>
11500 * gst/base/gstbasesink.c: (gst_basesink_init),
11501 (gst_basesink_activate):
11502 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11503 (gst_basesrc_is_seekable):
11504 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11505 (bin_element_is_sink), (gst_bin_change_state):
11506 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11507 * gst/gstelement.h:
11508 Identify sinks by their flag to avoid overly complicated
11510 Do state changes even for elements not reachable from the
11512 BaseSink is a sink now :)
11513 Some more debugging info in the basesrc.
11516 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11519 Implement _query on a bin, similar to _send_event.
11521 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11523 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11524 Discont event offset format should be GST_FORMAT_BYTES,
11525 not GST_FORMAT_TIME.
11527 2005-05-12 Wim Taymans <wim@fluendo.com>
11529 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11530 Same fix as Ronald's but without the signal.
11532 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11534 * gst/gstutils.c: (gst_element_query_position):
11535 No, an element is not a pad.
11537 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11539 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11540 (gst_bin_get_state):
11541 If a child is removed from a bin while we remove the child from
11542 the bin and while we're retrieving its state, signal this to the
11543 get_state function so we abort the wait (instead of waiting for
11544 a timeout) and can immediately re-iterate over all other elements.
11546 2005-05-12 Wim Taymans <wim@fluendo.com>
11548 * gst/base/Makefile.am:
11549 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11550 (gst_basesrc_start):
11551 * gst/base/gstbasesrc.h:
11552 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11553 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11554 (gst_pushsrc_init), (gst_pushsrc_create):
11555 * gst/base/gstpushsrc.h:
11556 Added is_seekable to BaseSrc
11557 Added simple PushSrc.
11559 2005-05-11 Wim Taymans <wim@fluendo.com>
11561 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11562 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11563 (gst_element_link_pads), (gst_element_query_position),
11564 (gst_element_query_convert), (intersect_caps_func),
11565 (gst_pad_query_position), (gst_pad_query_convert):
11566 Fix refcounting in utils function.
11567 No point in trying to activate a pad when it's added, it could
11568 be added from the state change function and then we deadlock, the
11569 element has to decide what to do.
11571 2005-05-10 Andy Wingo <wingo@pobox.com>
11573 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11574 *all* the arguments.
11576 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11577 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11578 lock (according to the docs -- if this is wrong change the docs).
11580 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11581 flush messages in the NULL state.
11583 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11584 message immediately and return.
11585 (gst_bus_set_flushing): New function. If a bus is flushing, it
11586 flushes out any queued messages and immediately unrefs new
11587 messages. This is so when an element goes to NULL, all of the
11588 unhandled messages coming from it can be freed, and their
11589 references to the element dropped. In other words: message source
11590 ref considered harmful :P
11592 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11593 we're finished with it.
11595 * gst/gstmessage.c (gst_message_new_state_changed):
11597 2005-05-10 Wim Taymans <wim@fluendo.com>
11599 * gst/gstvalue.c: (gst_value_compare_flags),
11600 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11601 (_gst_value_initialize):
11602 Added flags serialize/deserialize/compare code.
11604 2005-05-09 Andy Wingo <wingo@pobox.com>
11606 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11607 Intersect the peer's caps with our caps.
11609 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11611 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11612 * gst/elements/gsttypefindelement.c: (find_peek):
11613 Handle negative offsets better. Fixes decodebin.
11615 2005-05-09 Wim Taymans <wim@fluendo.com>
11617 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11618 (gst_base_transform_event):
11619 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11620 Implement accept_caps.
11621 Fix silly lock/unlock mismatch in base class.
11623 2005-05-09 Wim Taymans <wim@fluendo.com>
11625 * docs/design/draft-push-pull.txt:
11626 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11627 * gst/elements/gstfilesink.c: (gst_filesink_init),
11628 (gst_filesink_query):
11629 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11630 (gst_type_find_handle_src_query), (find_element_get_length):
11631 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11632 * gst/gstelement.h:
11633 * gst/gstmessage.c:
11634 * gst/gstmessage.h:
11635 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11636 (gst_real_pad_get_caps_unlocked),
11637 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11638 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11639 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11640 (gst_real_pad_dispose), (gst_real_pad_finalize),
11641 (gst_pad_load_and_link), (gst_pad_save_thyself),
11642 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11643 (gst_pad_check_pull_range), (gst_pad_pull_range),
11644 (gst_pad_template_get_type), (gst_pad_template_class_init),
11645 (gst_pad_template_init), (gst_pad_template_dispose),
11646 (name_is_valid), (gst_static_pad_template_get),
11647 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11648 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11649 (gst_pad_get_element_private), (gst_pad_start_task),
11650 (gst_pad_pause_task), (gst_pad_stop_task),
11651 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11652 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11653 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11654 (gst_ghost_pad_new):
11656 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11657 (gst_query_new_position), (gst_query_set_position),
11658 (gst_query_parse_position), (gst_query_new_convert),
11659 (gst_query_set_convert), (gst_query_parse_convert):
11661 * gst/gstqueryutils.c:
11662 * gst/gstqueryutils.h:
11663 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11664 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11665 (gst_queue_handle_src_query):
11666 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11667 (gst_element_query_position), (gst_element_query_convert),
11668 (intersect_caps_func), (gst_pad_query_position),
11669 (gst_pad_query_convert):
11671 * tools/gst-inspect.c: (print_pad_info):
11672 * tools/gst-xmlinspect.c: (print_element_info):
11673 Remove old query functions. Ported old code.
11674 Added position/convert helper functions to gstutils.
11675 Reordered gstpad.c code, grouping relevant things.
11676 Remove gst_message_new(), always need to speficy a specific
11680 2005-05-09 Andy Wingo <wingo@pobox.com>
11682 * gst/gstiterator.h: Add some includes.
11684 * gst/gstqueryutils.h: Include more headers.
11687 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11688 some uses of gst_pad_query.
11690 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11691 NULL out parameters.
11692 (gst_query_new_position): New proc, allocates a new position
11695 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11696 gstqueryutils.c to the build.
11698 * gst/gststructure.c (gst_structure_set_valist): Implement with
11699 the generic G_VALUE_COLLECT.
11701 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11703 * gst/Makefile.am: (gst_headers):
11704 Added gstqueryutils.h to the list of headers to install, that was
11705 a 'nachty' move wingo :)
11707 2005-05-06 Andy Wingo <wingo@pobox.com>
11710 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11711 GstData, init a memchunk.
11712 (standard_definitions): Add a few query types, deprecate a few.
11713 (gst_query_get_type): New proc.
11714 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11716 (gst_query_new_application, gst_query_get_structure): New public
11719 * docs/design/draft-query.txt: Removed LINKS from the query types,
11720 because all the rest can be dispatched to other pads -- seemed
11721 ugly to have a query that couldn't be dispatched. internal_links
11722 is fine as a pad method.
11724 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11725 in gstpad.c, but maintain binary compatibility for the moment.
11726 Will fix before 0.9 is out.
11728 * gst/gstqueryutils.c:
11729 * gst/gstqueryutils.h: New files, implement 3 methods for each
11730 query type: parse_query, parse_response, and set. Probably need an
11733 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11735 * gst/elements/gstfilesink.c (gst_filesink_query2):
11736 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11737 query_types, and formats methods.
11739 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11740 (gst_pad_set_query2_function): New functions.
11741 (gst_real_pad_init): Set query2_default as the default query2
11742 function. Basically just dispatches to internally linked pads.
11746 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11747 without using the atomic operations. Only one thread can possibly
11748 be accessing the data at this point. Changed so as to avoid
11749 gst_atomic operations.
11751 2005-05-06 Wim Taymans <wim@fluendo.com>
11753 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11754 Also set caps if we use the fallback buffer alloc.
11756 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11758 * docs/gst/Makefile.am:
11759 * docs/gst/gstreamer-docs.sgml:
11760 * docs/gst/gstreamer-sections.txt:
11761 * docs/gst/tmpl/gstatomic.sgml:
11762 * docs/gst/tmpl/gstmemchunk.sgml:
11763 * testsuite/elements/struct_i386.h:
11764 * win32/GStreamer.vcproj:
11766 Purge GstAtomic stuff from docs and win32 makefiles as well
11768 2005-05-06 Wim Taymans <wim@fluendo.com>
11770 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11771 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11772 * gst/gstpad.c: (gst_pad_peer_get_caps):
11773 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11774 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11775 (gst_queue_src_activate), (gst_queue_change_state):
11777 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11778 (intersect_caps_func):
11779 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11780 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11781 Some fixes for the peer_get_caps() change.
11783 2005-05-06 Wim Taymans <wim@fluendo.com>
11785 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11786 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11787 (gst_basesink_activate):
11788 Actually do something with error codes returned from the push
11791 2005-05-06 Wim Taymans <wim@fluendo.com>
11793 * docs/design/part-element-sink.txt:
11794 * docs/design/part-element-source.txt:
11795 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11796 (gst_basesink_event), (gst_basesink_activate):
11797 * gst/base/gstbasesink.h:
11798 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11799 (gst_basesrc_activate):
11800 * gst/base/gstbasesrc.h:
11801 * gst/gstelement.c: (gst_element_pads_activate):
11802 Some more documentation.
11803 Fixed scheduling decision in _pads_activate().
11805 2005-05-05 Andy Wingo <wingo@pobox.com>
11807 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11810 2005-05-05 Wim Taymans <wim@fluendo.com>
11812 * gst/base/Makefile.am:
11813 * gst/base/gstbasesink.h:
11814 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11815 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11816 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11817 (gst_collectpads_class_init), (gst_collectpads_init),
11818 (gst_collectpads_finalize), (gst_collectpads_new),
11819 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11820 (find_pad), (gst_collectpads_remove_pad),
11821 (gst_collectpads_is_active), (gst_collectpads_collect),
11822 (gst_collectpads_collect_range), (gst_collectpads_start),
11823 (gst_collectpads_stop), (gst_collectpads_peek),
11824 (gst_collectpads_pop), (gst_collectpads_available),
11825 (gst_collectpads_read), (gst_collectpads_flush),
11826 (gst_collectpads_chain):
11827 * gst/base/gstcollectpads.h:
11828 * gst/elements/Makefile.am:
11829 * gst/elements/gstelements.c:
11830 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11831 (gst_fakesink_get_times), (gst_fakesink_event),
11832 (gst_fakesink_preroll), (gst_fakesink_render):
11833 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11834 (gst_filesink_init), (gst_filesink_set_location),
11835 (gst_filesink_open_file), (gst_filesink_close_file),
11836 (gst_filesink_pad_query), (gst_filesink_event),
11837 (gst_filesink_render), (gst_filesink_change_state):
11838 * gst/elements/gstfilesink.h:
11839 Added object to help in making collect pad based elements.
11841 Make event function in sink baseclass return gboolean.
11843 2005-05-05 Wim Taymans <wim@fluendo.com>
11845 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11846 (gst_bin_get_by_name):
11848 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11849 (gst_clock_finalize):
11850 * gst/gstdata.c: (gst_data_replace):
11852 * gst/gstelement.c: (gst_element_request_pad),
11853 (gst_element_pads_activate):
11854 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11855 (gst_object_unref):
11856 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11857 (gst_pad_set_checkgetrange_function),
11858 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11859 (gst_pad_check_pull_range), (gst_pad_pull_range),
11860 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11861 (gst_pad_pause_task), (gst_pad_stop_task):
11862 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11863 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11864 Fix name lookup in GstBin.
11865 Added _data_replace() function and _buffer_replace()
11866 Use finalize method to clean up clock.
11867 Fix refcounting on request pads.
11868 Fix pad schedule mode error.
11869 Some more object refcounting debug info,
11872 2005-05-04 Andy Wingo <wingo@pobox.com>
11874 * check/Makefile.am:
11875 * docs/gst/tmpl/gstatomic.sgml:
11876 * docs/gst/tmpl/gstplugin.sgml:
11877 * gst/base/gstbasesink.c: (gst_basesink_activate):
11878 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11879 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11880 (gst_basesrc_query), (gst_basesrc_set_property),
11881 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11882 (gst_basesrc_activate):
11883 * gst/base/gstbasesrc.h:
11884 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11885 (gst_base_transform_src_activate):
11886 * gst/elements/gstelements.c:
11887 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11888 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11889 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11890 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11891 (gst_type_find_element_checkgetrange),
11892 (gst_type_find_element_activate):
11893 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11894 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11895 (gst_caps_load_thyself):
11896 * gst/gstelement.c: (gst_element_pads_activate),
11897 (gst_element_save_thyself), (gst_element_restore_thyself):
11898 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11899 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11901 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11902 (gst_xml_parse_file), (gst_xml_parse_memory),
11903 (gst_xml_get_element), (gst_xml_make_element):
11904 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11905 (_file_index_id_save_xml), (gst_file_index_commit):
11906 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11907 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11909 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11910 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11911 * tools/gst-complete.c: (main):
11912 * tools/gst-compprep.c: (main):
11913 * tools/gst-inspect.c: (print_element_properties_info):
11914 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11915 * tools/gst-xmlinspect.c: (print_element_properties):
11918 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11920 * gst/gstplugin.c: (gst_plugin_check_module),
11921 (gst_plugin_check_file), (gst_plugin_load_file):
11922 apply patch from #172526 to make register work on MacOSX
11924 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11926 * docs/gst/tmpl/gstconfig.sgml:
11927 * gst/gstconfig.h.in:
11928 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11929 * testsuite/debug/printf_extension.c: (main):
11930 Do not use GST_PTR_FORMAT on pointers to types with
11931 sizeof < sizeof(gpointer). Fixes test on 64-bit
11932 * testsuite/elements/property.h:
11933 use correct printf format
11935 2005-05-02 Wim Taymans <wim@fluendo.com>
11937 * docs/design/draft-push-pull.txt:
11938 * docs/design/draft-query.txt:
11939 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11940 (gst_basesrc_start):
11941 Added draft for new query API.
11942 Added draft for better selecting scheduling methods.
11943 Make basesrc ignore length if the subclass does not support
11946 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11949 possible fixes for automake-1.5 - _LIBADD is reserved
11951 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11953 * docs/faq/Makefile.am:
11954 * docs/manual/Makefile.am:
11955 * docs/manuals.mak:
11956 * docs/pwg/Makefile.am:
11958 possible fixes for automake-1.5
11960 2005-04-28 Wim Taymans <wim@fluendo.com>
11962 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11963 (gst_basesink_pad_getcaps), (gst_basesink_init),
11964 (gst_basesink_do_sync):
11965 * gst/gstclock.c: (gst_clock_entry_new):
11966 * gst/gstevent.c: (gst_event_discont_get_value):
11967 * gst/gstpipeline.c: (pipeline_bus_handler),
11968 (gst_pipeline_change_state):
11969 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11970 Better debugging of clocking info.
11971 Allow NULL values when getting discont values.
11973 2005-04-27 Wim Taymans <wim@fluendo.com>
11975 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11976 * check/gst/gstpad.c: (gst_pad_suite):
11977 Increase timeout for checks.
11979 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11981 * check/Makefile.am:
11982 fix the broken rule for cleanup. Apparently this rule is
11983 only needed on FC2, so maybe this warrants further autotool
11986 2005-04-26 Wim Taymans <wim@fluendo.com>
11988 * gst/gsttrashstack.h:
11989 Ooohh. a nasty one! After having a failed pop() from the stack,
11990 it's possible that the stack is empty. In that case, don't
11991 follow the NULL pointer.
11993 2005-04-25 Wim Taymans <wim@fluendo.com>
11995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11996 (gst_pad_set_checkgetrange_function),
11997 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11998 (gst_pad_check_pull_range), (gst_pad_pull_range),
11999 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12000 (gst_pad_pause_task), (gst_pad_stop_task):
12001 * gst/gstplugin.c: (gst_plugin_load):
12003 Remove gst_library_load as it does more harm than good with
12004 the new g_module flags.
12005 Revert bogus caps template check in pad linking, pad caps
12006 are important when linking not the template, which is more
12007 general than the current caps.
12009 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12011 * gst/autoplug/.cvsignore:
12012 * gst/autoplug/Makefile.am:
12013 * gst/autoplug/gstsearchfuncs.c:
12014 * gst/autoplug/gstsearchfuncs.h:
12015 * gst/autoplug/gstspider.c:
12016 * gst/autoplug/gstspider.h:
12017 * gst/autoplug/gstspideridentity.c:
12018 * gst/autoplug/gstspideridentity.h:
12019 * gst/autoplug/spidertest.c:
12022 2005-04-25 Wim Taymans <wim@fluendo.com>
12024 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12025 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12026 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12027 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12029 Added stubs for unimplemented functions.
12031 2005-04-24 David Schleef <ds@schleef.org>
12033 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12036 2005-04-24 David Schleef <ds@schleef.org>
12038 Convert everything from GstAtomicInt to g_atomic_int_*, and
12043 * gst/gstatomic_impl.h:
12051 * gst/gstdata_private.h:
12055 * gst/gstmessage.c:
12058 * gst/gststructure.c:
12059 * gst/gststructure.h:
12060 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12063 2005-04-24 David Schleef <ds@schleef.org>
12065 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12066 make the regressions tests work. Remove some code that is no
12068 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12069 Disable warning for pads without templates.
12071 2005-04-24 David Schleef <ds@schleef.org>
12073 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12074 functions that handle filtered links.
12075 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12077 * gst/gstutils.c: Fix/remove utility functions that handle
12080 * gst/gstvalue.c: Add serialization/deserialization of caps
12081 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12082 requires fixing so that the filter caps notation creates
12083 a capsfilter element and sets the filter_caps property. I
12084 think everyone probably wants to keep the shorthand notation.
12085 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12086 * docs/gst/tmpl/gstpad.sgml:
12088 * gst/elements/gstelements.c: Register capsfilter element.
12089 * gst/Makefile.am: fix spacing
12090 * docs/random/ds/0.9-suggested-changes: random
12092 2005-04-23 David Schleef <ds@schleef.org>
12094 * gst/elements/Makefile.am:
12095 * gst/elements/gstcapsfilter.c: New element that acts like an
12096 identity, but filters caps. Will eventually replace filtered
12097 caps in pad linking.
12098 * gst/gstutils.c: (gst_element_create_all_pads): New function
12099 to create all the ALWAYS pads that are registered with an
12100 element class. This functionality should eventually be
12101 merged in with GstElement initialization.
12103 * testsuite/trigger/README: part of trigger test code that should
12104 have been checked in a long time ago.
12106 2005-04-23 David Schleef <ds@schleef.org>
12108 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12109 needed with new versions of libtool (nobody will confirm this),
12110 and hard to carry around.
12111 * gst/autoplug/Makefile.am:
12112 * gst/base/Makefile.am:
12113 * gst/elements/Makefile.am:
12114 * gst/indexers/Makefile.am:
12115 * gst/schedulers/Makefile.am:
12116 * libs/gst/bytestream/Makefile.am:
12117 * libs/gst/control/Makefile.am:
12118 * libs/gst/dataprotocol/Makefile.am:
12119 * libs/gst/getbits/Makefile.am:
12121 2005-04-21 Wim Taymans <wim@fluendo.com>
12123 * docs/design/draft-push-pull.txt:
12124 * docs/design/part-MT-refcounting.txt:
12125 * docs/design/part-TODO.txt:
12126 * docs/design/part-caps.txt:
12127 * docs/design/part-events.txt:
12128 * docs/design/part-gstbus.txt:
12129 * docs/design/part-gstpipeline.txt:
12130 * docs/design/part-messages.txt:
12131 * docs/design/part-push-pull.txt:
12132 * docs/design/part-query.txt:
12135 2005-04-21 Wim Taymans <wim@fluendo.com>
12137 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12138 (gst_message_new), (gst_message_new_error),
12139 (gst_message_new_warning), (gst_message_new_tag),
12140 (gst_message_new_state_changed), (gst_message_new_application),
12141 (gst_message_get_structure):
12142 * gst/gstmessage.h:
12143 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12144 (gst_structure_copy_conditional):
12145 Use parent refcount in GstMessage to ensure GstStructure
12147 Cleaned up headers a bit.
12150 2005-04-20 Wim Taymans <wim@fluendo.com>
12152 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12153 (gst_basesink_pad_getcaps), (gst_basesink_init),
12154 (gst_basesink_chain_unlocked):
12155 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12156 (gst_type_find_helper):
12157 * gst/elements/gsttypefindelement.c:
12158 (gst_type_find_element_have_type), (gst_type_find_element_init),
12159 (stop_typefinding), (gst_type_find_element_handle_event),
12160 (find_suggest), (gst_type_find_element_chain),
12161 (gst_type_find_element_checkgetrange),
12162 (gst_type_find_element_getrange), (do_typefind),
12163 (gst_type_find_element_activate):
12164 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12165 (gst_buffer_default_free), (gst_buffer_default_copy),
12166 (gst_buffer_set_caps):
12167 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12168 (gst_caps_replace):
12169 * gst/gstmessage.c: (gst_message_new),
12170 (gst_message_new_state_changed):
12171 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12172 (gst_pad_set_checkgetrange_function),
12173 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12174 (gst_pad_set_caps), (gst_pad_check_pull_range),
12175 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12177 * gst/gsttypefind.c: (gst_type_find_register):
12178 Make gst_caps_replace() work like other _replace() functions.
12179 Use _caps_replace() where possible.
12180 Make sure _message_new() initialises its field.
12181 Add gst_static_pad_template_get_caps()
12184 2005-04-18 Andy Wingo <wingo@pobox.com>
12186 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12187 on the peer, not the pad. I think that was a typo. Pass an extra
12188 arg to see if random access is possible. Activate the pads as
12189 PULL_RANGE if possible.
12191 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12193 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12194 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12197 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12199 * docs/faq/using.xml:
12200 Add note on gstreamer-properties (#154996).
12202 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12204 * docs/random/bbb/optional-properties:
12205 Some analysis on optional properties.
12207 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12209 * docs/gst/tmpl/gstelementfactory.sgml:
12210 * gst/gstelement.h:
12211 * gst/gstelementfactory.c: (gst_element_factory_init),
12212 (gst_element_factory_cleanup), (gst_element_register),
12213 (__gst_element_factory_add_static_pad_template),
12214 (gst_element_factory_get_static_pad_templates),
12215 (gst_element_factory_can_src_caps),
12216 (gst_element_factory_can_sink_caps):
12217 * gst/registries/Makefile.am:
12218 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12219 (gst_xml_registry_class_init), (gst_xml_registry_init),
12220 (gst_xml_registry_new), (gst_xml_registry_set_property),
12221 (gst_xml_registry_get_property), (get_time), (make_dir),
12222 (gst_xml_registry_get_perms_func),
12223 (plugin_times_older_than_recurse), (plugin_times_older_than),
12224 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12225 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12226 (add_to_char_array), (read_string), (read_uint), (read_enum),
12227 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12228 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12229 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12230 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12231 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12232 (gst_xml_registry_rebuild):
12233 * gst/registries/gstlibxmlregistry.h:
12234 * tools/gst-compprep.c: (main):
12235 * tools/gst-inspect.c: (print_pad_templates_info):
12236 * tools/gst-xmlinspect.c: (print_element_info):
12237 Use libxml2 for registry parsing, use staticpadtemplates in
12238 elementfactories. Makes gst_init() +/- 10x faster.
12240 2005-04-12 Wim Taymans <wim@fluendo.com>
12242 * gst/base/Makefile.am:
12243 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12244 (gst_basesink_pad_getcaps), (gst_basesink_init),
12245 (gst_basesink_event), (gst_basesink_change_state):
12246 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12247 (gst_basesrc_init), (gst_basesrc_query),
12248 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12249 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12250 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12251 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12252 (gst_basesrc_stop), (gst_basesrc_activate),
12253 (gst_basesrc_change_state):
12254 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12255 (helper_find_suggest), (gst_type_find_helper):
12256 * gst/base/gsttypefindhelper.h:
12257 * gst/elements/Makefile.am:
12258 * gst/elements/gstelements.c:
12259 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12260 (gst_fakesink_get_times), (gst_fakesink_event),
12261 (gst_fakesink_preroll), (gst_fakesink_render):
12262 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12263 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12264 (gst_fakesrc_get_property), (gst_fakesrc_create),
12265 (gst_fakesrc_start), (gst_fakesrc_stop):
12266 * gst/elements/gstfakesrc.h:
12267 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12268 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12269 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12270 (gst_filesrc_create_read), (gst_filesrc_create),
12271 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12272 (gst_filesrc_start):
12273 * gst/elements/gsttypefindelement.c:
12274 (gst_type_find_element_have_type), (gst_type_find_element_init),
12275 (start_typefinding), (stop_typefinding), (push_buffer_store),
12276 (gst_type_find_element_handle_event),
12277 (gst_type_find_element_chain),
12278 (gst_type_find_element_checkgetrange),
12279 (gst_type_find_element_getrange), (do_typefind),
12280 (gst_type_find_element_activate),
12281 (gst_type_find_element_change_state):
12282 * gst/elements/gsttypefindelement.h:
12283 * gst/gstpipeline.c: (pipeline_bus_handler):
12284 Added typefind helper.
12285 Small preroll fix in the base sink.
12286 Disable typefind code in basesrc.
12287 Crude port of typefindelement.
12291 2005-04-11 Wim Taymans <wim@fluendo.com>
12293 * check/gst/gstbus.c: (gstbus_suite):
12294 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12295 * check/gstcheck.h:
12296 Fix up the timeout so that the test does not fail.
12298 2005-04-06 Wim Taymans <wim@fluendo.com>
12301 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12302 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12303 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12304 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12305 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12306 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12307 (gst_basesrc_stop), (gst_basesrc_activate),
12308 (gst_basesrc_change_state), (basesrc_find_peek),
12309 (basesrc_find_suggest), (gst_basesrc_type_find):
12310 * gst/base/gstbasesrc.h:
12311 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12312 (gst_filesrc_class_init), (gst_filesrc_init),
12313 (gst_filesrc_finalize), (gst_filesrc_set_location),
12314 (gst_filesrc_set_property), (gst_filesrc_get_property),
12315 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12316 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12317 (gst_filesrc_create_read), (gst_filesrc_create),
12318 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12319 * gst/elements/gstfilesrc.h:
12320 * gst/gstelement.c: (gst_element_get_state_func),
12321 (gst_element_lost_state), (gst_element_pads_activate):
12322 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12323 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12324 (gst_pad_pull_range):
12326 More work on the generic source base class, implement seeking,
12328 Make filesrc extend the base source class.
12329 Added gst_pad_set_checkgetrange_function to GstPad.
12331 2005-04-06 Andy Wingo <wingo@pobox.com>
12333 * pkgconfig/gstreamer-base.pc.in:
12334 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12336 * pkgconfig/Makefile.am:
12337 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12339 2005-04-04 Wim Taymans <wim@fluendo.com>
12341 * gst/base/Makefile.am:
12343 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12344 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12345 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12346 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12347 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12348 (gst_basesrc_base_init), (gst_basesrc_class_init),
12349 (gst_basesrc_init), (gst_basesrc_get_formats),
12350 (gst_basesrc_get_query_types), (gst_basesrc_query),
12351 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12352 (gst_basesrc_set_property), (gst_basesrc_get_property),
12353 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12354 (gst_basesrc_loop), (gst_basesrc_activate),
12355 (gst_basesrc_change_state):
12356 * gst/base/gstbasesrc.h:
12357 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12358 (gst_fakesrc_class_init), (gst_fakesrc_init),
12359 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12360 (gst_fakesrc_get_property), (gst_fakesrc_create):
12361 * gst/elements/gstfakesrc.h:
12362 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12363 (gst_filesrc_open_file), (gst_filesrc_loop),
12364 (gst_filesrc_activate), (filesrc_find_peek),
12365 (gst_filesrc_type_find):
12366 Made base source class, make fakesrc extend it.
12367 Add comments to basesink class.
12368 Some filesrc cleanup.
12370 2005-03-31 David Schleef <ds@schleef.org>
12372 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12373 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12374 expected to link against libgstreamer.
12375 * gst/base/Makefile.am: link against libgstreamer
12376 * gst/elements/Makefile.am: same
12378 2005-03-31 Andy Wingo <wingo@pobox.com>
12380 * tests/instantiate/Makefile.am:
12381 * tests/instantiate/caps.c: Add test to test speed of caps copy
12384 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12385 GMemChunk to be fair.
12387 * gst/gsttrashstack.h: Remove warning about using the fallback
12388 trash stack implementation, it's still faster than malloc.
12390 2005-03-30 Andy Wingo <wingo@pobox.com>
12392 * tests/complexity.c: Add a copyright.
12394 2005-03-31 Wim Taymans <wim@fluendo.com>
12396 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12397 (gst_base_transform_class_init), (gst_base_transform_init),
12398 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12399 (gst_base_transform_get_property),
12400 (gst_base_transform_sink_activate),
12401 (gst_base_transform_src_activate),
12402 (gst_base_transform_change_state):
12403 * gst/base/gstbasetransform.h:
12404 * gst/elements/gstidentity.c: (gst_identity_class_init),
12405 (gst_identity_event), (gst_identity_check_perfect),
12406 (gst_identity_transform), (gst_identity_start),
12407 (gst_identity_stop):
12408 Added start/stop methods to transform base class so subclasses
12409 don't need to deal with state changes even.
12411 2005-03-31 Wim Taymans <wim@fluendo.com>
12413 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12414 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12416 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12417 (gst_pad_pull_range):
12418 Added rate to the discont event to prepare for variable speed
12419 and reverse playback.
12421 2005-03-29 David Schleef <ds@schleef.org>
12424 * testsuite/trigger/Makefile.am:
12425 * testsuite/trigger/trigger.c: A little example program to show
12426 how trigger-based elements can work.
12428 2005-03-29 Wim Taymans <wim@fluendo.com>
12430 * gst/base/Makefile.am:
12432 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12433 (gst_basesink_base_init), (gst_basesink_class_init),
12434 (gst_basesink_pad_getcaps), (gst_basesink_init),
12435 (gst_basesink_activate), (gst_basesink_change_state):
12436 * gst/base/gstbasesink.h:
12437 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12438 (gst_base_transform_base_init), (gst_base_transform_finalize),
12439 (gst_base_transform_class_init), (gst_base_transform_init),
12440 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12441 (gst_base_transform_event), (gst_base_transform_getrange),
12442 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12443 (gst_base_transform_set_property),
12444 (gst_base_transform_get_property),
12445 (gst_base_transform_sink_activate),
12446 (gst_base_transform_src_activate),
12447 (gst_base_transform_change_state):
12448 * gst/base/gstbasetransform.h:
12449 * gst/elements/gstidentity.c: (gst_identity_finalize),
12450 (gst_identity_class_init), (gst_identity_init),
12451 (gst_identity_event), (gst_identity_check_perfect),
12452 (gst_identity_transform), (gst_identity_set_property),
12453 (gst_identity_get_property), (gst_identity_change_state):
12454 * gst/elements/gstidentity.h:
12455 * gst/gstelement.c: (gst_element_get_state_func),
12456 (gst_element_lost_state), (gst_element_pads_activate):
12457 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12458 (gst_pad_check_pull_range), (gst_pad_pull_range):
12460 Simplify pad activation.
12461 Added function to check if pull_range can be performed.
12462 Error out when pulling inactive or flushing pads.
12463 Removed const from refcounted types as it does not make sense.
12464 Simplify pad templates in basesink
12465 Added base class for simple 1-to-1 transforms.
12466 Make identity subclass the base transform.
12468 2005-03-29 Andy Wingo <wingo@pobox.com>
12470 * docs/libs/gstreamer-libs-overrides.txt:
12471 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12472 really don't understand what's going on, but like whatever. I want
12475 * docs/gst/Makefile.am:
12476 * docs/libs/Makefile.am: Dist the overrides files.
12478 * check/Makefile.am (clean-local): Remove .libs directories.
12480 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12481 elements to EXTRA_DIST, so po/ files are happy.
12483 * po/POTFILES.in: Er, remove it here.
12485 * po/POTFILES: Remove gstspider.c.
12487 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12489 * docs/libs/gstreamer-libs-docs.sgml:
12490 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12493 * tests/complexity.c (main): Set the length of the preroll queue
12494 on the sinks to prevent a lockup.
12496 * libs/gst/dataprotocol/Makefile.am:
12497 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12498 the same as the one in check/gst-libs/gdp.c.
12500 * po/, docs/gst/: Commit automatic changes to docs and po files.
12502 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12503 the versioned libgstbase.
12505 * check/Makefile.am: Depend on an unversioned gst-register, seems
12506 to make autoconf happier.
12508 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12510 2005-03-28 Wim Taymans <wim@fluendo.com>
12513 * docs/design/part-gstelement.txt:
12514 * docs/design/part-negotiation.txt:
12515 * docs/design/part-preroll.txt:
12516 * docs/design/part-scheduling.txt:
12517 * docs/design/part-states.txt:
12519 * gst/base/Makefile.am:
12521 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12522 (gst_basesink_base_init), (gst_basesink_class_init),
12523 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12524 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12525 (gst_basesink_set_pad_functions),
12526 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12527 (gst_basesink_set_property), (gst_basesink_get_property),
12528 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12529 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12530 (gst_basesink_preroll_queue_push),
12531 (gst_basesink_preroll_queue_empty),
12532 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12533 (gst_basesink_event), (gst_basesink_get_times),
12534 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12535 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12536 (gst_basesink_loop), (gst_basesink_activate),
12537 (gst_basesink_change_state):
12538 * gst/base/gstbasesink.h:
12539 * gst/elements/Makefile.am:
12540 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12541 (gst_fakesink_class_init), (gst_fakesink_init),
12542 (gst_fakesink_set_property), (gst_fakesink_get_property),
12543 (gst_fakesink_get_times), (gst_fakesink_event),
12544 (gst_fakesink_preroll), (gst_fakesink_render),
12545 (gst_fakesink_change_state):
12546 * gst/elements/gstfakesink.h:
12547 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12548 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12549 * gst/gstelement.c: (gst_element_add_pad),
12550 (gst_element_get_state_func), (gst_element_abort_state),
12551 (gst_element_commit_state), (gst_element_lost_state),
12552 (gst_element_set_state), (gst_element_pads_activate):
12553 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12554 * gst/gstpipeline.c: (gst_pipeline_send_event),
12555 (gst_pipeline_change_state):
12556 Added state change code.
12557 Added/updated docs.
12558 Added sink base class, make fakesink extend the base class.
12559 Small cleanups in GstPipeline.
12561 2005-03-26 David Schleef <ds@schleef.org>
12563 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12564 is broken and should be implemented in a different library.
12565 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12566 * gst/gst.h: remove gstcpu.h
12567 * gst/gstcpu.c: remove
12568 * gst/gstcpu.h: remove
12569 * gst/Makefile.am.future: Remove this file. It's ancient.
12571 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12573 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12574 (gst_bin_send_event):
12575 Add default event/set_manager handlers. The set_manager handler
12576 takes care that the manager is distributed over kids that were
12577 already in the bin before the manager was set. The event handler
12578 is a utility virtual function that sends the event over all sinks,
12579 so that gst_element_send_event (bin, event); has the expected
12581 * gst/gstpad.c: (gst_pad_event_default):
12582 Re-install default event handling for discontinuities, so that
12583 seeking works without requiring hacks in applications or extra
12585 * gst/gstpipeline.c: (gst_pipeline_class_init),
12586 (gst_pipeline_send_event):
12587 Half hack, half utility: set a pipeline to PAUSED for seek events,
12588 since that is the only way we can guarantee a/v sync. Means that
12589 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12590 and it "just works".
12592 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12594 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12595 Lock/unlock mismatch.
12597 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12599 * docs/faq/gst-uninstalled:
12600 add gst-plugins-base
12601 * docs/gst/Makefile.am:
12602 don't error out until docs are fixed
12603 * docs/gst/gstreamer.types:
12606 2005-03-22 Wim Taymans <wim@fluendo.com>
12608 * check/Makefile.am:
12609 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12610 * gst/gststructure.c: (gst_structure_set_valist),
12611 (gst_structure_copy_conditional):
12612 Activated more tests.
12613 Added message test.
12614 Added G_TYPE_POINTER to GstStructure.
12617 2005-03-22 Wim Taymans <wim@fluendo.com>
12619 * docs/design/part-TODO.txt:
12620 * docs/design/part-events.txt:
12621 * docs/design/part-gstbin.txt:
12622 * docs/design/part-gstbus.txt:
12623 * docs/design/part-gstpipeline.txt:
12624 * docs/design/part-messages.txt:
12626 * gst/gstmessage.c:
12629 2005-03-21 Wim Taymans <wim@fluendo.com>
12631 * gst/gstbus.c: (gst_bus_post):
12632 Fix copy-and-paste error.
12634 2005-03-21 Wim Taymans <wim@fluendo.com>
12636 * check/Makefile.am:
12638 * gst/elements/Makefile.am:
12639 * gst/elements/gstelements.c:
12640 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12641 (gst_fakesink_event), (gst_fakesink_chain):
12642 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12643 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12644 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12645 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12646 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12647 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12648 (gst_fakesrc_loop), (gst_fakesrc_activate),
12649 (gst_fakesrc_change_state):
12650 * gst/elements/gstfakesrc.h:
12651 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12652 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12653 (gst_filesrc_open_file), (gst_filesrc_loop),
12654 (gst_filesrc_activate), (gst_filesrc_change_state),
12655 (filesrc_find_peek), (filesrc_find_suggest),
12656 (gst_filesrc_type_find):
12657 * gst/elements/gstidentity.c: (gst_identity_finalize),
12658 (gst_identity_class_init), (gst_identity_init),
12659 (gst_identity_proxy_getcaps), (identity_queue_push),
12660 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12661 (gst_identity_getrange), (gst_identity_chain),
12662 (gst_identity_sink_loop), (gst_identity_src_loop),
12663 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12664 (gst_identity_set_property), (gst_identity_get_property),
12665 (gst_identity_change_state):
12666 * gst/elements/gstidentity.h:
12667 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12668 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12669 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12670 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12671 (gst_tee_sink_activate):
12672 * gst/elements/gsttee.h:
12673 * gst/gst.c: (gst_register_core_elements), (init_post):
12675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12676 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12677 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12678 (gst_bin_change_state):
12680 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12681 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12682 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12683 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12684 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12685 (bus_watch_callback), (bus_watch_destroy),
12686 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12687 (poll_timeout), (gst_bus_poll):
12691 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12692 (gst_element_post_message), (gst_element_message_full),
12693 (gst_element_get_state_func), (gst_element_get_state),
12694 (gst_element_abort_state), (gst_element_commit_state),
12695 (gst_element_lost_state), (gst_element_set_state),
12696 (gst_element_pads_activate), (gst_element_change_state),
12697 (gst_element_dispose), (gst_element_set_manager_func),
12698 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12699 (gst_element_set_manager), (gst_element_get_manager),
12700 (gst_element_set_bus), (gst_element_get_bus),
12701 (gst_element_set_scheduler), (gst_element_get_scheduler):
12702 * gst/gstelement.h:
12703 * gst/gstevent.c: (gst_event_new_segment_seek),
12704 (gst_event_new_flush):
12706 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12707 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12708 (gst_message_new_eos), (gst_message_new_error),
12709 (gst_message_new_warning), (gst_message_new_tag),
12710 (gst_message_new_state_changed), (gst_message_new_application),
12711 (gst_message_get_structure), (gst_message_parse_tag),
12712 (gst_message_parse_state_changed), (gst_message_parse_error),
12713 (gst_message_parse_warning):
12714 * gst/gstmessage.h:
12715 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12716 (gst_real_pad_set_property), (gst_pad_set_active),
12717 (gst_pad_is_active), (gst_pad_set_blocked_async),
12718 (gst_pad_set_blocked), (gst_pad_is_blocked),
12719 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12720 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12721 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12722 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12723 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12724 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12725 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12726 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12727 (gst_pad_set_caps), (gst_pad_configure_sink),
12728 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12729 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12730 (gst_real_pad_dispose), (gst_real_pad_finalize),
12731 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12732 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12733 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12735 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12736 (pipeline_bus_handler), (gst_pipeline_change_state),
12737 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12738 * gst/gstpipeline.h:
12740 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12741 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12742 (gst_queue_link_src), (gst_queue_bufferalloc),
12743 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12744 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12745 (gst_queue_loop), (gst_queue_handle_src_event),
12746 (gst_queue_handle_src_query), (gst_queue_src_activate),
12747 (gst_queue_change_state):
12749 * gst/gstscheduler.c: (gst_scheduler_init),
12750 (gst_scheduler_dispose), (gst_scheduler_create_task),
12751 (gst_scheduler_factory_create):
12752 * gst/gstscheduler.h:
12753 * gst/gststructure.c: (gst_structure_get_type),
12754 (gst_structure_copy_conditional):
12755 * gst/gststructure.h:
12756 * gst/gsttaginterface.h:
12757 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12758 (gst_task_init), (gst_task_dispose), (gst_task_create),
12759 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12765 * gst/schedulers/Makefile.am:
12766 * gst/schedulers/cothreads_compat.h:
12767 * gst/schedulers/entryscheduler.c:
12768 * gst/schedulers/faircothreads.c:
12769 * gst/schedulers/faircothreads.h:
12770 * gst/schedulers/fairscheduler.c:
12771 * gst/schedulers/gstbasicscheduler.c:
12772 * gst/schedulers/gstoptimalscheduler.c:
12773 * gst/schedulers/gthread-cothreads.h:
12774 * gst/schedulers/threadscheduler.c:
12775 (gst_thread_scheduler_task_get_type),
12776 (gst_thread_scheduler_task_class_init),
12777 (gst_thread_scheduler_task_init),
12778 (gst_thread_scheduler_task_start),
12779 (gst_thread_scheduler_task_stop),
12780 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12781 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12782 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12783 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12785 * libs/gst/Makefile.am:
12786 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12787 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12788 (gst_file_pad_parent_set):
12789 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12790 (gst_dp_event_from_packet):
12791 * tests/complexity.c: (main):
12792 * tests/mass_elements.c: (main):
12793 * testsuite/states/locked.c: (message_received), (main):
12794 * testsuite/states/parent.c: (main):
12795 * tools/gst-inspect.c: (print_element_flag_info),
12796 (print_implementation_info), (print_pad_info):
12797 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12799 * tools/gst-md5sum.c: (event_loop), (main):
12800 * tools/gst-typefind.c: (main):
12801 * tools/gst-xmlinspect.c: (print_element_info):
12803 Added GstBus for mainloop integration.
12804 Added GstMessage for sending notifications on the bus.
12805 Added GstTask as an abstraction for pipeline entry points.
12807 Removed Schedulers.
12808 Simplified GstQueue for multithreaded core.
12809 Made _link threadsafe, removed old capsnego.
12810 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12811 Added pad blocking functions.
12812 Reworked scheduling functions in GstPad to prepare for
12813 scheduling updates soon.
12814 Moved events out of data stream.
12815 Simplified GstEvent types.
12816 Added return values to push/pull.
12817 Removed clocking from GstElement.
12818 Added prototypes for state change function for next merge.
12819 Removed iterate from bins and state change management.
12820 Fixed some elements, disabled others for now.
12821 Fixed -inspect and -launch.
12822 Added check for GstBus.
12824 2005-03-10 Wim Taymans <wim@fluendo.com>
12826 * docs/design/part-MT-refcounting.txt:
12827 * docs/design/part-clocks.txt:
12828 * docs/design/part-gstelement.txt:
12829 * docs/design/part-gstobject.txt:
12830 * docs/design/part-standards.txt:
12831 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12832 (gst_bin_remove_func), (gst_bin_remove):
12836 * testsuite/clock/clock1.c: (main):
12837 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12839 * testsuite/dlopen/loadgst.c: (do_test):
12840 * testsuite/refcounting/bin.c: (add_remove_test1),
12841 (add_remove_test2), (main):
12842 * testsuite/refcounting/element.c: (main):
12843 * testsuite/refcounting/element_pad.c: (main):
12844 * testsuite/refcounting/pad.c: (main):
12845 * tools/gst-launch.c: (sigint_handler_sighandler):
12846 * tools/gst-typefind.c: (main):
12848 Added doc about clock.
12849 removed gst_bin_iterate_recurse_up(), marked methods
12851 Fix more testsuites.
12853 2005-03-09 Wim Taymans <wim@fluendo.com>
12855 * gst/gstpad.c: (gst_pad_get_direction),
12856 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12857 (gst_pad_collect_valist):
12858 * testsuite/bins/interface.c: (main):
12859 * testsuite/caps/audioscale.c: (test_caps):
12860 * testsuite/caps/caps.c: (test1), (test2), (test3):
12861 * testsuite/caps/deserialize.c: (main):
12862 * testsuite/caps/enumcaps.c: (main):
12863 * testsuite/caps/filtercaps.c: (main):
12864 * testsuite/caps/intersect2.c: (main):
12865 * testsuite/caps/random.c: (main):
12866 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12867 * testsuite/caps/sets.c: (check_caps):
12868 * testsuite/caps/simplify.c: (check_caps), (main):
12869 * testsuite/caps/subtract.c: (check_caps):
12870 Fix _pad_get_direction wrt ghostpads.
12871 Fix caps testsuite.
12873 2005-03-09 Wim Taymans <wim@fluendo.com>
12875 * check/Makefile.am:
12876 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12877 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12878 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12879 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12880 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12881 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12882 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12883 (bin_element_is_sink), (gst_bin_iterate_sinks),
12884 (gst_bin_iterate_all_by_interface):
12886 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12887 (gst_element_change_state), (gst_element_dispose),
12888 (gst_element_finalize), (gst_element_set_loop_function):
12889 * gst/gstelement.h:
12890 * gst/gstiterator.c: (find_custom_fold_func):
12891 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12892 (gst_pad_collectv), (gst_pad_collect_valist),
12893 (gst_pad_template_new):
12894 * gst/gstpipeline.c: (gst_pipeline_class_init),
12895 (gst_pipeline_dispose), (gst_pipeline_set_property),
12896 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12897 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12898 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12900 * gst/schedulers/entryscheduler.c:
12901 * gst/schedulers/gstbasicscheduler.c:
12902 (gst_basic_scheduler_cothreaded_chain),
12903 (gst_basic_scheduler_chain_add_element):
12904 * testsuite/bins/interface.c: (main):
12906 Added GstSystemClock test.
12907 Implemented clock distribution code in GstBin.
12908 Implemented iterate sinks method for future use.
12909 Rearranged gstelement.h
12910 Fix GstIterator comparison bug.
12911 Moved some code to GstPipeline, mostly clocking related.
12913 2005-03-09 Wim Taymans <wim@fluendo.com>
12916 * gst/gst_private.h:
12917 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12918 (gst_bin_remove_func), (gst_bin_remove),
12919 (gst_bin_get_by_name_recurse_up):
12920 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12921 (gst_clock_id_compare_func), (gst_clock_id_wait),
12922 (gst_clock_id_wait_async), (gst_clock_init),
12923 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12924 * gst/gstelement.h:
12925 * gst/gstinfo.c: (_gst_debug_init):
12927 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12928 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12930 Bump version number, we're now 0.9.0
12931 Add future debugging category.
12932 Fix NULL _unref() in _get_by_name_recurse_up
12933 Rearrange gstpad.h.
12936 2005-03-08 Wim Taymans <wim@fluendo.com>
12938 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12939 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12940 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12941 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12942 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12943 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12944 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12945 * gst/elements/gstidentity.c: (gst_identity_class_init):
12946 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12947 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12948 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12949 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12950 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12952 * gst/gstelement.c: (gst_element_class_init),
12953 (gst_element_base_class_init), (gst_element_init),
12954 (gst_element_get_random_pad), (gst_element_wait_state_change),
12955 (gst_element_change_state), (gst_element_dispose),
12956 (gst_element_finalize), (gst_element_set_loop_function):
12957 * gst/gstelement.h:
12958 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12959 * gst/gstthread.c: (gst_thread_class_init),
12960 (gst_thread_release_children_locks), (gst_thread_change_state):
12961 * gst/schedulers/gstbasicscheduler.c:
12962 (gst_basic_scheduler_loopfunc_wrapper),
12963 (gst_basic_scheduler_chain_wrapper),
12964 (gst_basic_scheduler_src_wrapper),
12965 (gst_basic_scheduler_remove_element):
12966 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12967 Remove threadsafe properties. Fix elements because GObject
12968 complains when installing a property before declaring a
12969 set/get_property handler.
12970 Rearrange gstelement.h file, use STATE macros for state locks.
12971 Free mutexes in the finalize method instead of dispose.
12973 2005-03-08 Wim Taymans <wim@fluendo.com>
12975 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12976 * gst/gstthread.c: (gst_thread_release_children_locks):
12977 Added parentage check.
12978 Fix build og GstThread again.
12980 2005-03-08 Wim Taymans <wim@fluendo.com>
12982 * docs/design/part-MT-refcounting.txt:
12983 * docs/design/part-conventions.txt:
12984 * docs/design/part-gstobject.txt:
12985 * docs/design/part-relations.txt:
12986 * docs/design/part-standards.txt:
12987 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12988 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12989 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12990 (gst_bin_iterate_all_by_interface):
12993 * gst/gstelement.c: (gst_element_class_init),
12994 (gst_element_change_state), (gst_element_set_loop_function):
12995 * gst/gstelement.h:
12996 * gst/gstiterator.c:
12997 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12998 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12999 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13000 (gst_object_set_parent), (gst_object_unparent),
13001 (gst_object_check_uniqueness):
13003 Docs updates, clean up some headers.
13005 2005-03-07 Wim Taymans <wim@fluendo.com>
13007 * check/.cvsignore:
13008 * check/Makefile.am:
13009 * check/gst-libs/.cvsignore:
13010 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13011 * check/gst/.cvsignore:
13012 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13013 (START_TEST), (gstbus_suite), (main):
13014 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13015 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13016 (gst_data_suite), (main):
13017 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13018 (add_fold_func), (gstiterator_suite), (main):
13019 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13020 (thread_name_object), (thread_name_object_default),
13021 (gst_object_name_compare), (gst_object_suite), (main):
13022 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13023 (gst_pad_suite), (main):
13024 * check/gstcheck.c: (gst_check_log_message_func),
13025 (gst_check_log_critical_func), (gst_check_init):
13026 * check/gstcheck.h:
13027 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13028 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13031 2005-03-07 Wim Taymans <wim@fluendo.com>
13033 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13034 (gst_list_iterator_next), (gst_list_iterator_resync),
13035 (gst_list_iterator_free), (gst_iterator_new_list),
13036 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13037 (gst_iterator_free), (gst_iterator_push), (filter_next),
13038 (filter_resync), (filter_uninit), (filter_free),
13039 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13040 (gst_iterator_foreach), (find_custom_fold_func),
13041 (gst_iterator_find_custom):
13042 * gst/gstiterator.h:
13043 Added missing files.
13045 2005-03-07 Wim Taymans <wim@fluendo.com>
13049 * docs/design/part-MT-refcounting.txt:
13050 * docs/design/part-conventions.txt:
13051 * docs/design/part-gstobject.txt:
13052 * docs/design/part-relations.txt:
13053 * examples/mixer/mixer.c: (main):
13054 * examples/thread/thread.c: (eos), (main):
13056 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13057 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13058 (gst_spider_plug_from_srcpad):
13059 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13060 (gst_spider_identity_change_state),
13061 (gst_spider_identity_sink_loop_type_finding):
13062 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13063 * gst/elements/gstidentity.c: (gst_identity_init):
13064 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13065 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13066 * gst/elements/gsttypefindelement.c: (free_entry):
13069 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13070 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13071 (gst_bin_set_index), (gst_bin_set_element_sched),
13072 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13073 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13074 (gst_bin_iterate_elements), (iterate_child_recurse),
13075 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13076 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13077 (compare_interface), (gst_bin_get_by_interface),
13078 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13080 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13081 (gst_buffer_default_free), (gst_buffer_default_copy),
13082 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13083 (gst_buffer_create_sub):
13085 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13086 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13087 (gst_caps_unref), (gst_static_caps_get),
13088 (gst_caps_remove_and_get_structure), (gst_caps_append),
13089 (gst_caps_append_structure), (gst_caps_remove_structure),
13090 (gst_caps_copy_nth), (gst_caps_set_simple),
13091 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13092 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13093 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13094 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13095 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13096 (gst_caps_structure_figure_out_union),
13097 (gst_caps_switch_structures), (gst_caps_do_simplify),
13098 (gst_caps_replace), (gst_caps_from_string),
13099 (gst_caps_copy_conditional):
13101 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13102 (_gst_clock_id_free), (gst_clock_id_unref),
13103 (gst_clock_id_compare_func), (gst_clock_id_wait),
13104 (gst_clock_id_wait_async), (gst_clock_class_init),
13105 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13106 (gst_clock_get_time), (gst_clock_set_time_adjust),
13107 (gst_clock_set_property), (gst_clock_get_property):
13110 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13111 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13113 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13114 (gst_element_requires_clock), (gst_element_provides_clock),
13115 (gst_element_set_clock), (gst_element_clock_wait),
13116 (gst_element_wait), (gst_element_set_time_delay),
13117 (gst_element_is_indexable), (gst_element_add_pad),
13118 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13119 (pad_compare_name), (gst_element_get_static_pad),
13120 (gst_element_request_pad), (gst_element_get_request_pad),
13121 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13122 (gst_element_class_get_pad_template_list),
13123 (gst_element_class_get_pad_template), (gst_element_error_func),
13124 (gst_element_get_random_pad), (gst_element_get_event_masks),
13125 (gst_element_send_event), (gst_element_seek),
13126 (gst_element_get_query_types), (gst_element_query),
13127 (gst_element_get_formats), (gst_element_convert),
13128 (gst_element_is_locked_state), (gst_element_set_locked_state),
13129 (gst_element_sync_state_with_parent), (gst_element_change_state),
13130 (gst_element_finalize), (gst_element_yield),
13131 (gst_element_interrupt), (gst_element_set_scheduler),
13132 (gst_element_get_scheduler), (gst_element_set_loop_function):
13133 * gst/gstelement.h:
13135 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13136 (gst_format_get_by_nick), (gst_format_get_details),
13137 (gst_format_iterate_definitions):
13139 * gst/gstindex.c: (gst_index_gtype_resolver):
13142 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13143 (gst_mem_chunk_free):
13144 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13145 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13146 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13147 (gst_object_dispatch_properties_changed),
13148 (gst_object_set_name_default), (gst_object_set_name),
13149 (gst_object_get_name), (gst_object_set_name_prefix),
13150 (gst_object_get_name_prefix), (gst_object_set_parent),
13151 (gst_object_get_parent), (gst_object_unparent),
13152 (gst_object_check_uniqueness), (gst_object_save_thyself),
13153 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13154 (gst_object_set_property), (gst_object_get_property),
13155 (gst_object_get_path_string):
13157 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13158 (gst_real_pad_init), (gst_real_pad_get_property),
13159 (gst_pad_custom_new), (gst_pad_get_direction),
13160 (gst_pad_set_active), (gst_pad_is_active),
13161 (gst_pad_set_event_function), (gst_pad_is_linked),
13162 (gst_pad_link_free), (gst_pad_link_intersect),
13163 (gst_pad_link_fixate), (gst_pad_set_caps),
13164 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13165 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13166 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13167 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13168 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13169 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13170 (gst_pad_realize), (gst_pad_get_allowed_caps),
13171 (gst_real_pad_dispose), (gst_real_pad_finalize),
13172 (gst_pad_collectv), (gst_pad_collect_valist),
13173 (gst_pad_template_dispose), (gst_pad_template_new),
13174 (gst_pad_get_internal_links):
13176 * gst/gstpipeline.c: (gst_pipeline_dispose),
13177 (gst_pipeline_change_state):
13178 * gst/gstpipeline.h:
13180 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13181 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13182 * gst/gstpluginfeature.h:
13183 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13184 * gst/gstquery.c: (_gst_query_type_initialize),
13185 (gst_query_type_register), (gst_query_type_get_by_nick),
13186 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13188 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13189 * gst/gstscheduler.c: (gst_scheduler_add_element),
13190 (gst_scheduler_factory_create):
13191 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13192 (gst_structure_free), (gst_structure_set_name),
13193 (gst_structure_id_set_value), (gst_structure_set_value),
13194 (gst_structure_set_valist), (gst_structure_remove_field),
13195 (gst_structure_remove_fields),
13196 (gst_structure_remove_fields_valist),
13197 (gst_structure_remove_all_fields), (gst_structure_foreach),
13198 (gst_structure_map_in_place),
13199 (gst_caps_structure_fixate_field_nearest_int),
13200 (gst_caps_structure_fixate_field_nearest_double):
13201 * gst/gststructure.h:
13202 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13203 (gst_system_clock_init), (gst_system_clock_dispose),
13204 (gst_system_clock_async_thread),
13205 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13206 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13207 * gst/gstsystemclock.h:
13208 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13209 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13210 * gst/gsttaginterface.c:
13211 * gst/gstthread.c: (gst_thread_dispose),
13212 (gst_thread_release_children_locks), (gst_thread_change_state),
13213 (gst_thread_main_loop):
13214 * gst/gsttrashstack.h:
13215 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13217 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13218 (gst_element_request_pad), (gst_element_get_pad_from_template),
13219 (gst_element_request_compatible_pad),
13220 (gst_element_get_compatible_pad_filtered),
13221 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13222 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13223 (gst_element_link_many), (gst_element_link),
13224 (gst_element_link_pads), (gst_element_unlink_pads),
13225 (gst_element_unlink_many), (gst_element_unlink),
13226 (gst_pad_can_link_filtered), (gst_pad_can_link),
13227 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13228 (gst_object_default_error), (gst_bin_add_many),
13229 (gst_bin_remove_many), (gst_element_populate_std_props),
13230 (gst_element_class_install_std_props), (gst_buffer_merge),
13231 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13232 (link_fold_func), (gst_pad_proxy_setcaps):
13234 * gst/gstvalue.c: (gst_value_deserialize_string):
13235 * gst/parse/grammar.y:
13236 * gst/schedulers/gstbasicscheduler.c:
13237 (gst_basic_scheduler_cothreaded_chain),
13238 (gst_basic_scheduler_chain_recursive_add),
13239 (gst_basic_scheduler_pad_link):
13240 * gst/schedulers/gstoptimalscheduler.c:
13241 (get_group_schedule_function),
13242 (gst_opt_scheduler_state_transition),
13243 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13244 * libs/gst/bytestream/bytestream.c:
13245 * libs/gst/dataprotocol/dataprotocol.c:
13246 (gst_dp_header_from_buffer):
13249 * tests/threadstate/threadstate2.c: (eos):
13250 * tools/gst-compprep.c: (main):
13251 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13252 (print_pad_info), (print_children_info):
13253 * tools/gst-launch.c: (idle_func), (main):
13254 * tools/gst-md5sum.c: (idle_func), (main):
13255 * tools/gst-xmlinspect.c: (print_element_info):
13256 First THREADED backport attempt, focusing on adding locks and
13257 making sure the API is threadsafe. Needs more work. More docs
13260 2005-02-24 Andy Wingo <wingo@pobox.com>
13262 * tests/bench-complexity.scm:
13263 * tests/complexity.gnuplot: New files, good for running complexity
13266 * tests/Makefile.am:
13267 * tests/complexity.c: New test, sets up N elements, at each level
13268 teeing into M streams per element. Eeeenteresting.
13270 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13271 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13272 running bench-mass_elements.scm.
13274 * tests/bench-mass_elements.scm: New script, runs mass_elements
13275 for various numbers of identities, outputting the results to a
13276 file. Requires guile 1.6. Just for testing.
13278 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13280 * gst/schedulers/fairscheduler.c:
13281 compile with debug disabled
13283 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13286 hunting season on 0.9 is now OPEN