1 2005-12-07 Wim Taymans <wim@fluendo.com>
3 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4 (gst_fake_src_get_times), (gst_fake_src_create):
5 Fix broken sync option, fixes #323259
7 2005-12-07 Wim Taymans <wim@fluendo.com>
12 * gst/gstcaps.c: (gst_caps_is_equal):
13 Don't assert on NULL <--> X. Fixes #323260
15 * gst/gstminiobject.c: (gst_mini_object_replace):
16 If we're doing atomic operations, we might just as well use
17 the proper way to get an atomic pointer.
19 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
22 2005-12-07 Michael Smith <msmith@fluendo.com>
24 * gst/parse/grammar.y:
25 Remove handling of { } for threads.
27 2005-12-06 David Schleef <ds@schleef.org>
29 * libs/gst/base/gstbasetransform.c: speling fix.
31 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
33 * docs/libs/tmpl/gstdataprotocol.sgml:
34 * docs/random/omega/testing/gstobject.c:
38 * gst/gstelementfactory.c:
43 * gst/gstpadtemplate.c:
44 * gst/gstregistryxml.c:
49 * libs/gst/base/gstbasesrc.c:
50 * libs/gst/net/gstnetclientclock.c:
51 * libs/gst/net/gstnettimeprovider.c:
52 * plugins/elements/gstfakesrc.c:
53 * plugins/elements/gstfdsrc.c:
54 * plugins/elements/gstfilesrc.c:
55 * plugins/elements/gstidentity.c:
56 * plugins/elements/gstqueue.c:
57 * plugins/elements/gsttypefindelement.c:
58 * plugins/indexers/gstfileindex.c:
59 * plugins/indexers/gstmemindex.c:
60 * tests/check/gst/gsttag.c:
61 * tests/old/examples/cutter/cutter.c:
62 * tests/old/examples/mixer/mixer.c:
63 * tests/old/examples/xml/runxml.c: (main):
64 * tests/old/testsuite/caps/normalisation.c:
65 * tests/old/testsuite/debug/global.c:
66 * tests/old/testsuite/parse/parse1.c:
67 * tools/gst-xmlinspect.c:
68 * win32/common/dirent.c:
71 === release 0.10.0 ===
73 2005-12-05 <thomas (at) apestaart (dot) org>
76 releasing 0.10.0, "Maroilles"
78 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
80 submitted by: Funda Wang <fundawang@linux.net.cn>
84 added Chinese (Traditional) translation
86 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
88 * docs/gst/gstreamer-sections.txt:
89 * docs/libs/tmpl/gstdataprotocol.sgml:
90 * docs/random/thomasvs/TODO:
95 2005-12-05 Andy Wingo <wingo@pobox.com>
97 patch by: Wim Taymans <wim@fluendo.com>
99 * libs/gst/base/gstbasetransform.c
100 (gst_base_transform_prepare_output_buf)
101 (gst_base_transform_buffer_alloc):
102 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
103 alloc_buffer_and_set_caps.
105 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
106 set_caps on the source pad.
107 (gst_pad_alloc_buffer_and_set_caps): New function, does what
108 alloc_buffer used to do. Fixes #322874.
110 * docs/gst/gstreamer-sections.txt:
111 * docs/design/part-negotiation.txt:
112 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
115 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
117 patch by: Sebastien Moutte
120 * win32/common/config.h.in:
121 * win32/vs6/libgstcontroller.dsp:
124 2005-12-05 Wim Taymans <wim@fluendo.com>
126 * gst/gstcaps.c: (gst_caps_is_equal):
127 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
128 (gst_fake_src_create):
129 Back out previous code changes, leave doc updates, file bugs
132 2005-12-05 Wim Taymans <wim@fluendo.com>
134 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
135 (gst_fake_src_get_times), (gst_fake_src_create):
136 * plugins/elements/gstfakesrc.h:
137 Fix broken sync code.
139 2005-12-05 Wim Taymans <wim@fluendo.com>
141 * gst/gstcaps.c: (gst_caps_is_equal):
142 Comparing NULL against !NULL yields different caps, not a
145 2005-12-05 Wim Taymans <wim@fluendo.com>
148 Fix small typo in docs.
150 2005-12-05 Andy Wingo <wingo@pobox.com>
152 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
154 * gst/gst.c (init_post): remove hard-coded 0.9 location for
155 registries/plugins with a MAJORMINOR one.
156 (plugin_desc): Rename library from gstcoreleements to
157 staticelements. Fixes #323222.
159 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
161 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
162 Change debug category to 'collectpads' from 'collect_pads'
165 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
167 patch by: Sebastien Moutte
169 * libs/gst/controller/gstinterpolation.c:
170 use convert function for uint64/double
171 * win32/vs6/libgstcontroller.dsp:
174 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
176 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
177 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
179 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
180 add tests that seem to show that the guint64/gdouble conversions
183 2005-12-02 Wim Taymans <wim@fluendo.com>
185 * gst/gstregistry.c: (gst_registry_add_path):
187 * gst/gstregistryxml.c:
190 2005-12-02 Wim Taymans <wim@fluendo.com>
192 * gst/gstutils.c: (gst_util_uint64_scale_int64),
193 (gst_util_uint64_scale_int):
196 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
199 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
202 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
205 * win32/common/config.h:
206 * win32/vs6/gstreamer.dsw:
207 * win32/vs6/libgstcoreelements.dsp:
208 * win32/vs6/libgstelements.dsp:
209 renamed core elements plugin
211 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
213 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
215 do piece-wise major/minor comparison so 0.9 < 0.10
216 also allow .exe extensions for tools
218 2005-12-02 Michael Smith <msmith@fluendo.com>
221 Escape a % to make gtkdoc happier; bug 322958.
223 === release 0.9.7 ===
225 2005-12-01 <thomas (at) apestaart (dot) org>
228 releasing 0.9.7, "My Dog Has No Nose"
230 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
232 * common/gst-xmlinspect.py:
234 * docs/libs/tmpl/gstdataprotocol.sgml:
235 * docs/random/release:
254 * win32/common/config.h:
255 * win32/common/config.h.in:
256 * win32/vs6/gst_inspect.dsp:
257 * win32/vs6/gst_launch.dsp:
258 * win32/vs6/libgstbase.dsp:
259 * win32/vs6/libgstelements.dsp:
260 * win32/vs6/libgstreamer.dsp:
261 * win32/vs7/GStreamer.vcproj:
262 * win32/vs7/gst-inspect.vcproj:
263 * win32/vs7/gst-launch.vcproj:
264 * win32/vs7/libgstbase.vcproj:
265 bump GST_MAJORMINOR to 0.10
266 reset libtool version
268 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
272 Added Bulgarian translation by (Alexander Shopov)
274 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
276 * tests/check/gst/gstplugin.c:
279 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
281 * common/gst-xmlinspect.py:
282 * common/gtk-doc-plugins.mak:
285 * docs/gst/Makefile.am:
286 * docs/gst/gstreamer-docs.sgml:
287 * docs/gst/gstreamer-sections.txt:
288 * docs/gst/gstreamer.types:
289 * docs/gst/gstreamer.types.in:
290 * docs/plugins/Makefile.am:
291 * docs/plugins/gstreamer-plugins-docs.sgml:
292 * docs/plugins/gstreamer-plugins-sections.txt:
293 * docs/plugins/gstreamer-plugins.types:
294 * docs/plugins/inspect.stamp:
295 * docs/plugins/inspect/plugin-coreelements.xml:
296 * docs/plugins/inspect/plugin-coreindexers.xml:
297 * docs/plugins/scanobj-build.stamp:
299 * plugins/elements/Makefile.am:
300 * plugins/elements/gstelements.c:
301 * plugins/elements/gstfakesink.c:
302 * plugins/elements/gstfakesrc.c:
303 * plugins/elements/gstfilesink.c:
304 * plugins/elements/gstfilesrc.c:
305 * plugins/elements/gstqueue.c:
306 * plugins/indexers/Makefile.am:
307 * plugins/indexers/gstindexers.c:
308 document core plugins in a separate document just like all the
310 rename these plugins to something starting with core
312 2005-12-01 Andy Wingo <wingo@pobox.com>
314 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
315 padding here before, but it missed the commit.
317 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
319 * libs/gst/controller/gstinterpolation.c:
320 whitespace prices have crashed, we should feel free to use some now
321 use gst_guint64_to_gdouble
323 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
325 * libs/gst/controller/gstcontroller.c:
326 * libs/gst/controller/gsthelper.c:
327 * libs/gst/controller/gstinterpolation.c:
328 * libs/gst/controller/lib.c:
329 wrap config.h include
331 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
333 * docs/gst/gstreamer-sections.txt:
336 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
338 * plugins/elements/gstelements.c:
339 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
340 (gst_fd_sink__class_init), (gst_fd_sink__init),
341 (gst_fd_sink__chain), (gst_fd_sink__set_property),
342 (gst_fd_sink__get_property):
343 * plugins/elements/gstfdsink.h:
344 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
345 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
346 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
347 (gst_fd_src_unlock), (gst_fd_src_set_property),
348 (gst_fd_src_get_property), (gst_fd_src_create),
349 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
350 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
351 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
352 (gst_fd_src_uri_handler_init):
353 * plugins/elements/gstfdsrc.h:
354 * plugins/elements/gstqueue.c: (gst_queue_get_type):
357 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
359 * docs/gst/Makefile.am:
360 * docs/gst/gstreamer.types.in:
364 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
371 * tests/benchmarks/complexity.c:
372 * tests/benchmarks/mass-elements.c:
373 * tests/check/Makefile.am:
375 * tools/gst-inspect.c:
376 * tools/gst-xmlinspect.c:
377 various fixes to make
378 --disable-nls --disable-registry --disable-loadsave
379 --disable-parse --disable-gst-debug
380 work and get the core .so down to 360444 bytes after stripping
382 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
387 * docs/random/thomasvs/TODO:
392 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
394 * win32/GStreamer.vcproj:
397 * win32/Makefile.inspect:
398 * win32/Makefile.launch:
399 * win32/Makefile.register:
401 * win32/gst-inspect.vcproj:
402 * win32/gst-launch.vcproj:
403 * win32/gst-register.vcproj:
404 * win32/gstelements.vcproj:
405 * win32/gstgetbits.def:
406 * win32/gstgetbits.vcproj:
407 * win32/gstreamer-dbg.def:
408 * win32/gstreamer.def:
409 * win32/libgstbase.def:
410 * win32/libgstbase.vcproj:
411 * win32/link_oldruntime.c:
416 move even more stuff, win32/ is nice and clean now
418 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
420 * libs/gst/control/.cvsignore:
425 * win32/gstbytestream.def:
426 * win32/gstbytestream.vcproj:
428 * win32/gstenumtypes.c:
429 * win32/gstenumtypes.h:
430 * win32/gstoptimalscheduler.vcproj:
431 * win32/gstversion.h:
433 * win32/testsuite/bins.vcproj:
434 * win32/testsuite/bytestream.vcproj:
435 * win32/testsuite/caps.vcproj:
436 * win32/testsuite/cleanup.vcproj:
437 * win32/testsuite/clock.vcproj:
438 * win32/testsuite/debug.vcproj:
439 * win32/testsuite/dlopen.vcproj:
440 * win32/testsuite/dynparams.vcproj:
441 * win32/testsuite/elements.vcproj:
442 * win32/testsuite/ghostpads.vcproj:
443 * win32/testsuite/indexers.vcproj:
444 * win32/testsuite/negotiation.vcproj:
445 * win32/testsuite/parse.vcproj:
446 * win32/testsuite/plugin.vcproj:
447 * win32/testsuite/refcounting.vcproj:
448 * win32/testsuite/schedulers.vcproj:
449 * win32/testsuite/states.vcproj:
450 * win32/testsuite/tags.vcproj:
451 * win32/testsuite/threads.vcproj:
452 remove old win32 stuff that isn't maintained and should be
455 2005-11-30 Andy Wingo <wingo@pobox.com>
457 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
458 loading the gst.interfaces python module bork.
460 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
461 available since GLib 2.2. Fixes #318031.
463 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
468 * check/elements/.cvsignore:
469 * check/elements/fakesrc.c:
470 * check/elements/fdsrc.c:
471 * check/elements/identity.c:
472 * check/generic/.cvsignore:
473 * check/generic/states.c:
474 * check/gst-libs/.cvsignore:
475 * check/gst-libs/controller.c:
476 * check/gst-libs/gdp.c:
477 * check/gst/.cvsignore:
478 * check/gst/capslist.h:
480 * check/gst/gstbin.c:
481 * check/gst/gstbuffer.c:
482 * check/gst/gstbus.c:
483 * check/gst/gstcaps.c:
484 * check/gst/gstelement.c:
485 * check/gst/gstevent.c:
486 * check/gst/gstghostpad.c:
487 * check/gst/gstiterator.c:
488 * check/gst/gstmessage.c:
489 * check/gst/gstminiobject.c:
490 * check/gst/gstobject.c:
491 * check/gst/gstpad.c:
492 * check/gst/gstpipeline.c:
493 * check/gst/gstplugin.c:
494 * check/gst/gstsegment.c:
495 * check/gst/gststructure.c:
496 * check/gst/gstsystemclock.c:
497 * check/gst/gsttag.c:
498 * check/gst/gstutils.c:
499 * check/gst/gstvalue.c:
500 * check/net/.cvsignore:
501 * check/net/gstnetclientclock.c:
502 * check/net/gstnettimeprovider.c:
503 * check/pipelines/.cvsignore:
504 * check/pipelines/cleanup.c:
505 * check/pipelines/simple_launch_lines.c:
506 * check/pipelines/stress.c:
507 * check/states/.cvsignore:
508 * check/states/sinks.c:
510 * examples/Makefile.am:
511 * examples/appreader/.cvsignore:
512 * examples/appreader/Makefile.am:
513 * examples/appreader/appreader.c:
514 * examples/controller/.cvsignore:
515 * examples/controller/Makefile.am:
516 * examples/controller/audio-example.c:
517 * examples/cutter/.cvsignore:
518 * examples/cutter/Makefile.am:
519 * examples/cutter/cutter.c:
520 * examples/cutter/cutter.h:
521 * examples/events/Makefile.am:
522 * examples/events/seek.c:
523 * examples/helloworld/.cvsignore:
524 * examples/helloworld/Makefile.am:
525 * examples/helloworld/helloworld.c:
526 * examples/helloworld2/.cvsignore:
527 * examples/helloworld2/Makefile.am:
528 * examples/helloworld2/helloworld2.c:
529 * examples/launch/.cvsignore:
530 * examples/launch/Makefile.am:
531 * examples/launch/mp3parselaunch.c:
532 * examples/launch/mp3play:
533 * examples/manual/.cvsignore:
534 * examples/manual/Makefile.am:
535 * examples/manual/extract.pl:
536 * examples/metadata/Makefile.am:
537 * examples/metadata/read-metadata.c:
538 * examples/mixer/.cvsignore:
539 * examples/mixer/Makefile.am:
540 * examples/mixer/mixer.c:
541 * examples/mixer/mixer.h:
542 * examples/pingpong/.cvsignore:
543 * examples/pingpong/Makefile.am:
544 * examples/pingpong/pingpong.c:
545 * examples/plugins/.cvsignore:
546 * examples/plugins/Makefile.am:
547 * examples/plugins/example.c:
548 * examples/plugins/example.h:
549 * examples/pwg/.cvsignore:
550 * examples/pwg/Makefile.am:
551 * examples/pwg/extract.pl:
552 * examples/queue/.cvsignore:
553 * examples/queue/Makefile.am:
554 * examples/queue/queue.c:
555 * examples/queue2/.cvsignore:
556 * examples/queue2/Makefile.am:
557 * examples/queue2/queue2.c:
558 * examples/queue3/.cvsignore:
559 * examples/queue3/Makefile.am:
560 * examples/queue3/queue3.c:
561 * examples/queue4/.cvsignore:
562 * examples/queue4/Makefile.am:
563 * examples/queue4/queue4.c:
564 * examples/retag/.cvsignore:
565 * examples/retag/Makefile.am:
566 * examples/retag/retag.c:
567 * examples/retag/transcode.c:
568 * examples/thread/.cvsignore:
569 * examples/thread/Makefile.am:
570 * examples/thread/thread.c:
571 * examples/typefind/.cvsignore:
572 * examples/typefind/Makefile.am:
573 * examples/typefind/typefind.c:
574 * examples/xml/.cvsignore:
575 * examples/xml/Makefile.am:
576 * examples/xml/createxml.c:
577 * examples/xml/runxml.c:
579 * tests/check/Makefile.am:
580 * testsuite/.cvsignore:
581 * testsuite/Makefile.am:
583 * testsuite/caps/.cvsignore:
584 * testsuite/caps/Makefile.am:
585 * testsuite/caps/app_fixate.c:
586 * testsuite/caps/audioscale.c:
587 * testsuite/caps/caps.c:
588 * testsuite/caps/caps.h:
589 * testsuite/caps/caps_strings:
590 * testsuite/caps/compatibility.c:
591 * testsuite/caps/deserialize.c:
592 * testsuite/caps/enumcaps.c:
593 * testsuite/caps/eratosthenes.c:
594 * testsuite/caps/filtercaps.c:
595 * testsuite/caps/fixed.c:
596 * testsuite/caps/fraction-convert.c:
597 * testsuite/caps/fraction-multiply-and-zero.c:
598 * testsuite/caps/intersect2.c:
599 * testsuite/caps/intersection.c:
600 * testsuite/caps/normalisation.c:
601 * testsuite/caps/random.c:
602 * testsuite/caps/renegotiate.c:
603 * testsuite/caps/sets.c:
604 * testsuite/caps/simplify.c:
605 * testsuite/caps/string-conversions.c:
606 * testsuite/caps/structure.c:
607 * testsuite/caps/subtract.c:
608 * testsuite/caps/union.c:
609 * testsuite/debug/.cvsignore:
610 * testsuite/debug/Makefile.am:
611 * testsuite/debug/category.c:
612 * testsuite/debug/commandline.c:
613 * testsuite/debug/global.c:
614 * testsuite/debug/output.c:
615 * testsuite/debug/printf_extension.c:
616 * testsuite/dlopen/.cvsignore:
617 * testsuite/dlopen/Makefile.am:
618 * testsuite/dlopen/dlopen_gst.c:
619 * testsuite/dlopen/loadgst.c:
620 * testsuite/elements/.cvsignore:
621 * testsuite/elements/Makefile.am:
622 * testsuite/elements/gst-inspect-check.in:
623 * testsuite/elements/struct_i386.h:
624 * testsuite/elements/struct_size.c:
625 * testsuite/indexers/.cvsignore:
626 * testsuite/indexers/Makefile.am:
627 * testsuite/indexers/cache1.c:
628 * testsuite/indexers/indexdump.c:
629 * testsuite/parse/.cvsignore:
630 * testsuite/parse/Makefile.am:
631 * testsuite/parse/parse1.c:
632 * testsuite/parse/parse2.c:
633 * testsuite/plugin/.cvsignore:
634 * testsuite/plugin/Makefile.am:
635 * testsuite/plugin/README:
636 * testsuite/plugin/dynamic.c:
637 * testsuite/plugin/linked.c:
638 * testsuite/plugin/loading.c:
639 * testsuite/plugin/registry.c:
640 * testsuite/plugin/static.c:
641 * testsuite/plugin/static2.c:
642 * testsuite/plugin/testplugin.c:
643 * testsuite/plugin/testplugin2.c:
644 * testsuite/plugin/testplugin2_s.c:
645 * testsuite/plugin/testplugin_s.c:
646 * testsuite/refcounting/.cvsignore:
647 * testsuite/refcounting/Makefile.am:
648 * testsuite/refcounting/bin.c:
649 * testsuite/refcounting/element.c:
650 * testsuite/refcounting/element_pad.c:
651 * testsuite/refcounting/mainloop.c:
652 * testsuite/refcounting/mem.c:
653 * testsuite/refcounting/mem.h:
654 * testsuite/refcounting/object.c:
655 * testsuite/refcounting/pad.c:
656 * testsuite/refcounting/sched.c:
657 * testsuite/refcounting/thread.c:
658 * testsuite/states/.cvsignore:
659 * testsuite/states/Makefile.am:
660 * testsuite/states/bin.c:
661 * testsuite/states/locked.c:
662 * testsuite/states/parent.c:
663 * testsuite/threads/.cvsignore:
664 * testsuite/threads/159566.c:
665 * testsuite/threads/159852.c:
666 * testsuite/threads/Makefile.am:
667 * testsuite/threads/queue.c:
668 * testsuite/threads/signals.c:
669 * testsuite/threads/staticrec.c:
670 * testsuite/threads/thread.c:
671 * testsuite/threads/threadb.c:
672 * testsuite/threads/threadc.c:
673 * testsuite/threads/threadd.c:
674 * testsuite/threads/threade.c:
675 * testsuite/threads/threadf.c:
676 * testsuite/threads/threadg.c:
677 * testsuite/threads/threadh.c:
678 * testsuite/threads/threadi.c:
679 move all of these under tests
681 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
687 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
689 * docs/gst/gstreamer-sections.txt:
690 * tests/sched/.cvsignore:
691 * tests/sched/Makefile.am:
692 * tests/sched/cases/(fs-fs).xml:
693 * tests/sched/cases/(fs-i-fs).xml:
694 * tests/sched/cases/(fs-i-i-fs).xml:
695 * tests/sched/cases/(fs-i-q[i-fs]).xml:
696 * tests/sched/dynamic-pipeline.c:
697 * tests/sched/interrupt1.c:
698 * tests/sched/interrupt2.c:
699 * tests/sched/interrupt3.c:
700 * tests/sched/runtestcases:
701 * tests/sched/runxml.c:
702 * tests/sched/sched-stress.c:
703 * tests/sched/sort.c:
704 * tests/sched/testcases:
705 * tests/sched/testcases1.tc:
706 * tests/seeking/.cvsignore:
707 * tests/seeking/Makefile.am:
708 * tests/seeking/seeking1.c:
709 * tests/threadstate/.cvsignore:
710 * tests/threadstate/Makefile.am:
711 * tests/threadstate/test1.c:
712 * tests/threadstate/test2.c:
713 * tests/threadstate/threadstate1.c:
714 * tests/threadstate/threadstate2.c:
715 * tests/threadstate/threadstate3.c:
716 * tests/threadstate/threadstate4.c:
717 * tests/threadstate/threadstate5.c:
718 remove obsolete tests
720 * tests/bench-complexity.scm:
721 * tests/bench-mass_elements.scm:
722 * tests/complexity.c:
723 * tests/complexity.gnuplot:
724 * tests/instantiate/.cvsignore:
725 * tests/instantiate/Makefile.am:
726 * tests/instantiate/caps.c:
727 * tests/mass_elements.c:
728 * tests/network-clock-utils.scm:
729 * tests/network-clock.scm:
731 First pass at cleaning up tests/ dir before moving the rest
732 Combined with CVS surgery
734 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
737 queue has moved, update
739 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
741 * docs/gst/gstreamer-sections.txt:
742 remove double entries from the docs
744 * gst/gstinfo.c: (_gst_debug_init):
745 remove the THREAD debug category
749 * docs/gst/gstreamer.types:
750 * plugins/elements/gstqueue.c: (gst_queue_get_type),
751 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
752 completely move queue and fix up debugging categories
754 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
756 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
757 make initialization portable, using LL is not
759 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
761 * win32/common/gstconfig.h:
764 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
766 * win32/common/libgstreamer.def:
767 rename symbols; sort base section
769 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
771 * gst/gstclock.c: (do_linear_regression):
772 remove crack non-portable handrolled DEBUG macro
774 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
776 * docs/random/release:
778 * win32/common/gstenumtypes.c: (register_gst_object_flags),
779 (gst_object_flags_get_type), (register_gst_bin_flags),
780 (gst_bin_flags_get_type), (register_gst_buffer_flag),
781 (gst_buffer_flag_get_type), (register_gst_bus_flags),
782 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
783 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
784 (gst_caps_flags_get_type), (register_gst_clock_return),
785 (gst_clock_return_get_type), (register_gst_clock_entry_type),
786 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
787 (gst_clock_flags_get_type), (register_gst_state),
788 (gst_state_get_type), (register_gst_state_change_return),
789 (gst_state_change_return_get_type), (register_gst_state_change),
790 (gst_state_change_get_type), (register_gst_element_flags),
791 (gst_element_flags_get_type), (register_gst_core_error),
792 (gst_core_error_get_type), (register_gst_library_error),
793 (gst_library_error_get_type), (register_gst_resource_error),
794 (gst_resource_error_get_type), (register_gst_stream_error),
795 (gst_stream_error_get_type), (register_gst_event_type_flags),
796 (gst_event_type_flags_get_type), (register_gst_event_type),
797 (gst_event_type_get_type), (register_gst_seek_type),
798 (gst_seek_type_get_type), (register_gst_seek_flags),
799 (gst_seek_flags_get_type), (register_gst_format),
800 (gst_format_get_type), (register_gst_index_certainty),
801 (gst_index_certainty_get_type), (register_gst_index_entry_type),
802 (gst_index_entry_type_get_type),
803 (register_gst_index_lookup_method),
804 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
805 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
806 (gst_index_resolver_method_get_type), (register_gst_index_flags),
807 (gst_index_flags_get_type), (register_gst_debug_level),
808 (gst_debug_level_get_type), (register_gst_debug_color_flags),
809 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
810 (gst_iterator_result_get_type), (register_gst_iterator_item),
811 (gst_iterator_item_get_type), (register_gst_message_type),
812 (gst_message_type_get_type), (register_gst_mini_object_flags),
813 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
814 (gst_pad_link_return_get_type), (register_gst_flow_return),
815 (gst_flow_return_get_type), (register_gst_activate_mode),
816 (gst_activate_mode_get_type), (register_gst_pad_direction),
817 (gst_pad_direction_get_type), (register_gst_pad_flags),
818 (gst_pad_flags_get_type), (register_gst_pad_presence),
819 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
820 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
821 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
822 (gst_plugin_error_get_type), (register_gst_plugin_flags),
823 (gst_plugin_flags_get_type), (register_gst_rank),
824 (gst_rank_get_type), (register_gst_query_type),
825 (gst_query_type_get_type), (register_gst_tag_merge_mode),
826 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
827 (gst_tag_flag_get_type), (register_gst_task_state),
828 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
829 (gst_alloc_trace_flags_get_type),
830 (register_gst_type_find_probability),
831 (gst_type_find_probability_get_type), (register_gst_uri_type),
832 (gst_uri_type_get_type), (register_gst_parse_error),
833 (gst_parse_error_get_type):
834 * win32/common/gstenumtypes.h:
835 * win32/common/gstversion.h:
836 update visual studio generated files
838 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
840 * win32/vs6/libgstbase.dsp:
841 * win32/vs6/libgstelements.dsp:
842 update project files for new locations
844 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
854 * docs/random/LICENSE:
857 2005-11-30 Edward Hervey <edward@fluendo.com>
859 * gst/gsttypefind.c: (gst_type_find_register):
861 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
862 (gst_type_find_factory_dispose):
863 * gst/gsttypefindfactory.h:
864 Fix memory leak in GstTypeFindFactory.
866 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
869 * plugins/elements/Makefile.am:
870 * plugins/elements/gstelements.c:
871 * plugins/elements/gstqueue.c:
872 move queue from core to the elements plugin
874 2005-11-29 Andy Wingo <wingo@pobox.com>
876 * libs/gst/base/gstbasetransform.h:
877 * libs/gst/base/gstbasesrc.h:
878 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
880 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
881 of pointers by which to pad very extensible base classes (like the
882 ones in libs/gst/base).
884 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
886 * docs/gst/gstreamer-docs.sgml:
887 * docs/gst/gstreamer-sections.txt:
888 * docs/libs/gstreamer-libs-docs.sgml:
889 * docs/libs/gstreamer-libs-sections.txt:
890 moving documentation from core to lib
892 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
896 * docs/gst/Makefile.am:
898 * gst/base/.cvsignore:
899 * gst/base/Makefile.am:
901 * gst/base/gstadapter.c:
902 * gst/base/gstadapter.h:
903 * gst/base/gstbasesink.c:
904 * gst/base/gstbasesink.h:
905 * gst/base/gstbasesrc.c:
906 * gst/base/gstbasesrc.h:
907 * gst/base/gstbasetransform.c:
908 * gst/base/gstbasetransform.h:
909 * gst/base/gstcollectpads.c:
910 * gst/base/gstcollectpads.h:
911 * gst/base/gstpushsrc.c:
912 * gst/base/gstpushsrc.h:
913 * gst/base/gsttypefindhelper.c:
914 * gst/base/gsttypefindhelper.h:
915 * gst/check/Makefile.am:
916 * gst/check/gstcheck.c:
917 * gst/check/gstcheck.h:
918 * gst/net/Makefile.am:
920 * gst/net/gstnetclientclock.c:
921 * gst/net/gstnetclientclock.h:
922 * gst/net/gstnettimepacket.c:
923 * gst/net/gstnettimepacket.h:
924 * gst/net/gstnettimeprovider.c:
925 * gst/net/gstnettimeprovider.h:
926 * libs/gst/Makefile.am:
927 * libs/gst/base/Makefile.am:
928 * libs/gst/base/gstbasetransform.c:
929 * libs/gst/check/Makefile.am:
930 * plugins/elements/Makefile.am:
932 CVS surgery + support to move base, check, and net out of gst
935 2005-11-29 Andy Wingo <wingo@pobox.com>
937 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
939 * gst/gststructure.h (struct _GstStructure): Only one pointer of
942 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
944 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
946 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
948 * gst/gstobject.h: (struct _GstObject): Only one pointer of
949 padding; reduces object size by about 30%. We don't expect
950 anything else to go into gstobject.
952 * gst/gstminiobject.h (struct _GstMiniObject)
953 (struct _GstMiniObjectClass): Only one pointer of padding; the
954 payload is only a pointer and two ints anyway. For the class there
955 are only two methods as well.
957 * gst/gstelement.h (struct _GstElementClass): Removed
958 the state_changed signal callback, it is not used.
960 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
962 * docs/gst/gstreamer.types:
963 fix includes, though they are a little dinky
965 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
968 look in the right place for elements, a lot more chance of
971 remove indexers and elements subdirs
972 * plugins/Makefile.am:
973 make indexers conditional
975 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
979 * plugins/elements/Makefile.am:
980 * plugins/elements/gstcapsfilter.c:
981 * plugins/elements/gstfilesink.c:
982 * plugins/elements/gstfilesrc.c:
983 * plugins/elements/gstidentity.c:
984 * plugins/indexers/Makefile.am:
985 do CVS surgery and related build fixery to move elements
986 and indexers in a new gstreamer/plugins directory, out of the
989 2005-11-29 Andy Wingo <wingo@pobox.com>
992 * pkgconfig/gstreamer-net-uninstalled.pc.in:
993 * pkgconfig/gstreamer-net.pc.in:
994 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
997 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1000 * tools/gst-complete.1.in:
1001 * tools/gst-complete.c:
1002 * tools/gst-compprep.1.in:
1003 * tools/gst-compprep.c:
1004 removing -compprep and -complete
1006 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1008 * gst/gstevent.c: (gst_event_new_new_segment),
1009 (gst_event_parse_new_segment):
1011 fix #320529 - clean up new_segment API and structure.
1012 Let's hope everyone was using the methods, and not the structure.
1014 2005-11-29 Edward Hervey <edward@fluendo.com>
1016 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1017 (gst_base_sink_event), (gst_base_sink_do_sync),
1018 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1019 Properly handle non GST_FORMAT_TIME segment
1020 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1021 Properly handle non GST_FORMAT_TIME segment
1023 This function is valid if the accumulator is 0 and the format
1024 is different from the requested format.
1026 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1028 * docs/gst/gstreamer-sections.txt:
1029 Add gst_query_new_seeking and gst_query_parse_seeking to the
1032 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1034 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1035 Treat a pad alloc with new caps the same as if we were not
1036 negotiated, in order to allow a changing upstream output
1037 to produce a new format of data.
1039 2005-11-29 Edward Hervey <edward@fluendo.com>
1041 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1042 (gst_base_transform_event), (gst_base_transform_eventfunc):
1043 The event virtual method is now properly implemented, with a default
1045 Sub classes should call the parent_class event method. They should
1046 return FALSE if they had a problem handling the given event, or don't
1047 want GstBaseTransform to send that even downstream
1048 * gst/elements/gstidentity.c: (gst_identity_class_init),
1049 (gst_identity_init), (gst_identity_event),
1050 (gst_identity_transform_ip), (gst_identity_set_property),
1051 (gst_identity_get_property):
1052 * gst/elements/gstidentity.h:
1053 Added the single-segment boolean property.
1054 If set to TRUE, it will output a single segment of data, starting from
1055 0, will eat up all incoming newsegment, and modify the timestamp of the
1058 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1060 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1061 Don't ref NULL target pad (#322751). Improve docs.
1063 2005-11-29 Michael Smith <msmith@fluendo.com>
1065 * gst/gstregistryxml.c: (load_plugin):
1066 Don't crash if we failed to load a feature from a plugin.
1068 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1070 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1072 use more check API and less GLib API
1074 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1077 don't run checks if we don't have check
1079 remove the registry when running make torture
1080 * docs/gst/gstreamer-sections.txt:
1081 remove second multiply
1082 * gst/gstqueue.c: (gst_queue_loop):
1083 fix a compile warning when disabling debug
1085 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1088 Hey! Let's print the pad name if the pointer != NULL instead
1089 of when it == NULL :-)
1091 2005-11-28 Wim Taymans <wim@fluendo.com>
1093 * check/gst/gstutils.c: (GST_START_TEST):
1094 Updated check, add some scaling accuracy checking code.
1096 * gst/gstutils.c: (gst_util_div128_64),
1097 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1098 (gst_util_uint64_scale_int):
1099 Fix 6 times faster division code. Optimize for common
1100 1/1 and less common X/1 cases.
1102 2005-11-28 Wim Taymans <wim@fluendo.com>
1104 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1107 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1108 (do_linear_regression), (gst_clock_add_observation):
1110 Release lock when the clock cannot be slaved.
1111 Catch the case where the regression returned an invalid denominator.
1113 * gst/gstutils.c: (gst_util_div128_64_iterate),
1114 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1115 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1116 Add protentially more performant non-iterative 128/64 divide function
1117 that unfortunatly does not work yet.
1118 Shortcut the trivial 0/X = 0 case.
1119 Remove the warnings on overflow.
1121 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1123 * gst/gstplugin.c: (gst_plugin_register_func):
1124 everything causing a plugin not to load should be at least a WARNING
1126 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1128 * docs/random/ensonic/dparams.txt:
1129 some TODOs for the next dev cycle
1130 * libs/gst/controller/gstcontroller.c:
1131 (gst_controlled_property_set_interpolation_mode),
1132 (gst_controlled_property_new):
1133 * libs/gst/controller/gstcontroller.h:
1134 use base type to assign acccessor functions
1136 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1138 * check/Makefile.am:
1139 Oops, that should have been top_srcdir
1141 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1143 * check/Makefile.am:
1144 * check/elements/fdsrc.c: (GST_START_TEST):
1145 Use a cmdline define to specify the location of a file to use for
1146 testing, to avoid breaking distcheck.
1148 2005-11-28 Andy Wingo <wingo@pobox.com>
1150 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1152 2005-11-28 Edward Hervey <edward@fluendo.com>
1154 * tools/gst-launch.c: (main):
1155 Clarify the output strings, makes it easier to translate.
1158 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1161 don't try and build net if we don't even have <sys/socket.h>
1163 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1165 * check/Makefile.am:
1166 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1167 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1168 Add tests for fdsrc seekability
1170 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1171 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1172 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1173 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1174 * gst/elements/gstfdsrc.h:
1175 fdsrc should not be a 'live' source.
1176 Implement seeking on seekable fd's.
1178 * gst/gstquery.c: (gst_query_new_seeking),
1179 (gst_query_parse_seeking):
1181 Implement SEEKING query functions:
1182 *_new_seeking and *_parse_seeking
1184 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1186 * gst/gstelement.c: (gst_element_dispose):
1189 * gst/gstiterator.c:
1190 * gst/gststructure.c:
1193 * libs/gst/controller/gstcontroller.c:
1194 (gst_controlled_property_set_interpolation_mode):
1195 * libs/gst/controller/gstcontroller.h:
1196 * libs/gst/controller/gstinterpolation.c:
1197 (interpolate_none_get_enum_value_array):
1198 support controlling enums
1200 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1203 Improve documentation for gst_value_union().
1206 Change return value for union, intersect and subtract functions
1207 from gint to gboolean.
1209 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1211 * gst/gstvalue.c: (gst_value_serialize_any_list),
1212 (gst_value_transform_any_list_string),
1213 (gst_value_deserialize_list), (gst_value_deserialize_array),
1214 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1215 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1216 (gst_value_set_fraction_range_full),
1217 (gst_value_deserialize_fraction_range),
1218 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1219 (gst_value_deserialize_boolean),
1220 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1221 (gst_value_serialize_float), (gst_value_deserialize_float),
1222 (gst_string_wrap), (gst_value_deserialize_string),
1223 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1224 (gst_value_union_int_range_int_range),
1225 (gst_value_intersect_int_range_int_range),
1226 (gst_value_intersect_double_range_double_range),
1227 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1228 (gst_value_subtract_int_range_int_range),
1229 (gst_value_subtract_double_double_range),
1230 (gst_value_subtract_double_range_double_range),
1231 (gst_value_deserialize_fraction):
1233 Use gint, gdouble and gchar in our API instead of int, double and
1234 char (and make usage in gstvalue.c more consistent).
1236 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1238 * check/Makefile.am:
1239 * libs/gst/controller/Makefile.am:
1240 * libs/gst/dataprotocol/Makefile.am:
1241 fix up Makefile.am and remove GST_ENABLE_NEW
1243 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1247 * gst/base/Makefile.am:
1248 * gst/check/Makefile.am:
1249 * gst/elements/Makefile.am:
1250 * gst/net/Makefile.am:
1251 update LDFLAGS use some more
1253 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1255 * common/m4/gst-doc.m4:
1258 2005-11-26 Edward Hervey <edward@fluendo.com>
1260 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1261 This shouldn't issue a g_warning since it returns NULL if it
1262 couldn't find the plugin, and all functions using this behave
1263 properly on a NULL return. Switching to a GST_WARNING.
1265 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1267 * gst/gstbin.c: (gst_bin_handle_message_func):
1268 Don't leak clock messages.
1270 2005-11-25 Wim Taymans <wim@fluendo.com>
1272 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1273 (gst_util_uint64_scale_int):
1274 Optimisations, remove unneeded vars.
1276 2005-11-25 Wim Taymans <wim@fluendo.com>
1278 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1279 Added more checks for the high precision uint64 cases.
1281 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1282 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1283 Implement high precision (guint64 * guint64) / guint64.
1285 2005-11-24 Wim Taymans <wim@fluendo.com>
1287 * gst/base/gstbasesrc.c: (gst_base_src_query):
1288 Fix wrong percentage query.
1290 * gst/gstutils.c: (gst_util_uint64_scale),
1291 (gst_util_uint64_scale_int):
1292 Add some more common cases that can be handled
1293 efficiently to _scale.
1295 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1297 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1298 (gst_mini_object_suite):
1299 don't use check calls from threads; check probably isn't
1300 threadsafe and using a lock to make it threadsafe would
1301 defeat the purpose of this check
1302 * gst/check/gstcheck.c:
1303 * gst/check/gstcheck.h:
1304 use GST_DEBUG some more
1306 2005-11-24 Wim Taymans <wim@fluendo.com>
1308 * gst/gstutils.c: (gst_util_uint64_scale),
1309 (gst_util_uint64_scale_int):
1310 Chain trivial case to _scale_int.
1312 2005-11-24 Wim Taymans <wim@fluendo.com>
1314 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1315 Added test for scaling.
1320 * gst/gstutils.c: (gst_util_uint64_scale_int):
1321 Implemented high precision scaling code.
1323 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1326 do not crash on pad==NULL
1328 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1330 Patch by: Stefan Kost
1332 * common/gtk-doc.mak:
1333 * docs/gst/Makefile.am:
1334 * docs/libs/Makefile.am:
1335 Fix distcheck issues for the libraries docs build
1338 2005-11-24 Michael Smith <msmith@fluendo.com>
1340 * docs/manual/basics-helloworld.xml:
1341 Fix bug #315027: memory leak in example code in docs.
1343 2005-11-24 Michael Smith <msmith@fluendo.com>
1345 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1346 Unlock the PREROLL_LOCK in a failure case.
1348 2005-11-24 Wim Taymans <wim@fluendo.com>
1350 * docs/gst/gstreamer-sections.txt:
1351 * gst/base/gstadapter.h:
1352 * gst/base/gstbasesink.h:
1353 * gst/base/gstbasesrc.h:
1354 * gst/base/gstbasetransform.h:
1355 * gst/base/gstpushsrc.h:
1356 * gst/elements/gstfakesink.h:
1357 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1358 * gst/elements/gstfakesrc.h:
1359 * gst/elements/gstfilesink.h:
1360 * gst/elements/gstfilesrc.h:
1363 * gst/gstbuffer.c: (_gst_buffer_copy):
1366 * gst/gstchildproxy.c:
1369 * gst/gstelementfactory.c:
1370 * gst/gstelementfactory.h:
1372 * gst/gstghostpad.h:
1374 * gst/gstinterface.h:
1375 * gst/gstminiobject.c:
1376 * gst/gstminiobject.h:
1379 * gst/gstpadtemplate.h:
1380 * gst/gstpipeline.h:
1381 * gst/gstpluginfeature.h:
1386 * gst/gsttagsetter.c:
1387 * gst/gsttagsetter.h:
1390 * gst/gsttypefind.h:
1393 * gst/net/gstnetclientclock.c:
1394 * gst/net/gstnetclientclock.h:
1395 * gst/net/gstnettimepacket.c:
1396 * gst/net/gstnettimeprovider.c:
1397 * gst/net/gstnettimeprovider.h:
1400 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1402 * configure.ac: back to HEAD
1404 === release 0.9.6 ===
1406 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1409 releasing 0.9.6, "Always On Time"
1411 2005-11-23 Wim Taymans <wim@fluendo.com>
1413 * docs/gst/gstreamer-sections.txt:
1414 * gst/glib-compat.c:
1415 * gst/gsttagsetter.c:
1417 * gst/net/gstnetclientclock.c:
1418 * gst/net/gstnettimepacket.h:
1421 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1423 * docs/faq/using.xml:
1424 * docs/libs/tmpl/gstcontrol.sgml:
1425 * docs/manual/advanced-dparams.xml:
1426 * docs/manual/appendix-checklist.xml:
1427 * docs/manual/basics-elements.xml:
1428 * docs/pwg/other-source.xml:
1429 * docs/random/moving-plugins:
1431 * tools/gst-launch.1.in:
1432 remove mentions of sinesrc
1434 2005-11-23 Michael Smith <msmith@fluendo.com>
1436 * docs/gst/gstreamer-sections.txt:
1437 Update for new API and API changes.
1439 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1441 Documentation typo fix.
1442 * gst/net/gstnettimepacket.c:
1443 Documentation fixes for arguments.
1445 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1447 * gst/gststructure.c: (gst_structure_get_fraction),
1448 (gst_structure_parse_value),
1449 (gst_structure_fixate_field_nearest_fraction):
1450 * gst/gststructure.h:
1451 * gst/gstutils.c: (gst_util_uint64_scale_int):
1453 * scripts/update-funcnames:
1455 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1456 Make gst_structure_fixate_field_nearest_fraction take a numerator
1457 and denominator argument instead of a GValue
1458 add gst_structure_get_fraction helper function.
1460 2005-11-23 Wim Taymans <wim@fluendo.com>
1462 * docs/design/part-TODO.txt:
1465 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1466 * gst/net/gstnetclientclock.h:
1467 Use parent fields for timeout and window_size.
1469 2005-11-23 Andy Wingo <wingo@pobox.com>
1471 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1472 rate_num/rate_denom change.
1474 * gst/net/gstnetclientclock.c
1475 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1476 OBJECT_LOCK. Don't call add_observation with the lock.
1478 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1480 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1482 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1483 deal with rate as a fraction whose numerator and denominator are
1484 GstClockTime values.
1485 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1486 master; the other fields are protected by the SLAVE_LOCK.
1487 (do_linear_regression): Note that this must be called with the
1489 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1490 OBJECT_LOCK. Call set_calibration instead of touching the
1492 (gst_clock_set_property, gst_clock_get_property): Protect
1493 master/slave parameters with the SLAVE_LOCK.
1495 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1496 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1497 note that all of the instance variables that add_observation and
1498 the set_master functions use are protected by that lock and not
1500 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1502 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1503 the caller to take the object lock.
1505 2005-11-23 Wim Taymans <wim@fluendo.com>
1507 * gst/gsterror.c: (_gst_core_errors_init):
1509 Add error for clock stuff.
1511 * gst/gstpipeline.c: (gst_pipeline_change_state),
1512 (gst_pipeline_set_clock):
1513 Post clock error when clock cannot be used in a pipeline.
1515 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1517 * docs/gst/gstreamer-sections.txt:
1518 make two symbols from gstinfo private for the docs
1519 * gst/base/gstcollectpads.h:
1521 fix doc typos, update docs
1523 2005-11-22 Wim Taymans <wim@fluendo.com>
1525 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1526 (gst_base_sink_wait), (gst_base_sink_do_sync),
1527 (gst_base_sink_handle_event):
1528 * gst/base/gstbasesink.h:
1529 No need to store the clock, the parent element class already
1532 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1533 Updates for clock_set returning a gboolean
1535 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1536 (gst_clock_id_wait_async), (gst_clock_class_init),
1537 (gst_clock_init), (gst_clock_finalize),
1538 (gst_clock_get_internal_time), (gst_clock_get_time),
1539 (gst_clock_slave_callback), (gst_clock_set_master),
1540 (gst_clock_get_master), (do_linear_regression),
1541 (gst_clock_add_observation), (gst_clock_set_property),
1542 (gst_clock_get_property):
1544 Implement master/slave. When setting a clock as a slave, a
1545 periodic timeout is scheduled to sample master and slave times.
1546 Then the slave clock is recalibrated to match offset and rate
1547 of the master clock.
1548 Update logging a bit.
1549 Add flag so that a clock can state that is cannot be slaved to
1552 * gst/gstelement.c: (gst_element_set_clock):
1554 The set clock returns a gboolean for when an element cannot
1555 deal with the selected clock in the pipeline.
1557 * gst/gstpipeline.c: (gst_pipeline_change_state),
1558 (gst_pipeline_set_clock):
1559 * gst/gstpipeline.h:
1560 Handle the case where the selected clock cannot be set on
1563 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1564 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1565 (gst_net_client_clock_set_property),
1566 (gst_net_client_clock_get_property),
1567 (gst_net_client_clock_observe_times):
1568 * gst/net/gstnetclientclock.h:
1569 Use regression code in GstClock parent, remove duplicated
1572 2005-11-22 Michael Smith <msmith@fluendo.com>
1574 * gst/gstutils.c: (gst_util_clock_time_scale):
1576 * docs/gst/gstreamer-sections.txt:
1577 Rename method to have extra underscore.
1579 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1581 * gst/elements/Makefile.am:
1582 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1583 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1584 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1585 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1586 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1587 * gst/elements/gstfakesrc.h:
1588 * gst/gstqueue.c: (queue_leaky_get_type):
1589 correctly fix GEnumValues so that nick is the short lowercase
1591 * tools/gst-inspect.c: (print_element_properties_info):
1592 also show the nick, since it's useful to use from parse_launch
1596 2005-11-22 Michael Smith <msmith@fluendo.com>
1598 * gst/gstutils.c: (gst_util_clocktime_scale):
1600 * docs/gst/gstreamer-sections.txt:
1601 Add util method for scaling a clocktime by a fraction. Useful
1602 implementation is left as an exercise for the reader.
1604 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1606 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1607 If needed, allocate storage in the destination value during
1610 2005-11-22 Edward Hervey <edward@fluendo.com>
1612 * docs/gst/gstreamer-sections.txt:
1617 * gst/gstutils.c: (gst_util_set_object_arg):
1618 * tools/gst-compprep.c: (main):
1619 * tools/gst-inspect.c: (print_element_properties_info):
1620 Removed GstURI, closes bug #321061
1622 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1624 * check/gst/gststructure.c: (GST_START_TEST):
1625 * gst/gststructure.c: (gst_structure_parse_value):
1626 Oops, broke automatic string type parsing.
1627 Add a test to catch it in future.
1629 2005-11-22 Andy Wingo <wingo@pobox.com>
1631 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1632 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1633 Actually rename the function implementations. Grr.
1635 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1637 * check/gst/capslist.h:
1639 * check/gst/gststructure.c: (GST_START_TEST),
1640 (gst_structure_suite):
1641 Test automatic value type detection in gst_structure_from_string.
1642 * gst/gststructure.c: (gst_structure_parse_value):
1643 Add fraction as a type we try and guess automatically in
1644 caps/structure strings.
1646 2005-11-22 Andy Wingo <wingo@pobox.com>
1648 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1650 * gst/gsttagsetter.h:
1651 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1652 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1653 (gst_tag_setter_add_tag_valist)
1654 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1655 _add_values, _add_valist, and _add_valist_values. Since this is an
1656 interface the function suffixes should be more explicit so
1657 language binding don't end up with element.add_valist ->
1658 gst_tag_setter_add_valist, for example. Fixes #322069.
1660 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1662 * check/gst/gstcaps.c: (GST_START_TEST):
1663 Extend caps string tests to check that a caps to string
1664 conversion is reversible and produces the same caps.
1666 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1667 Output "fraction" as the generic type fraction range, so caps
1668 serialisation and deserialisation works.
1669 * check/gst/capslist.h:
1670 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1671 Support 'MIN' and 'MAX' for deserialising fractions.
1673 2005-11-22 Andy Wingo <wingo@pobox.com>
1675 * gst/gstevent.h (gst_event_new_new_segment)
1676 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1677 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1678 Renamed from *_newsegment, *_buffersize, *_notarget.
1680 * scripts/update-funcnames: New script, performs the changes
1683 2005-11-22 Wim Taymans <wim@fluendo.com>
1685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1686 Make sure the GstFlowReturn is returned.
1688 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1689 (gst_bus_add_signal_watch):
1691 add gst_bus_add_signal_watch_full.
1693 * gst/gstplugin.c: (gst_plugin_load_file):
1694 Small style cleanup.
1696 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1698 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1699 Block the fakesrc srcpad when we send an event, to avoid
1700 contention on the stream_lock causing random test failures.
1702 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1704 * check/gst/gstvalue.c: (GST_START_TEST):
1705 * gst/gstvalue.c: (gst_value_fraction_subtract):
1708 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1711 include "gstchildproxy.h"
1712 * gst/gstchildproxy.h:
1713 * libs/gst/controller/gstcontroller.h:
1714 use G_GNUC_NULL_TERMINATED
1716 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1718 * check/gst/capslist.h:
1719 * check/gst/gstcaps.c: (GST_START_TEST):
1720 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1721 * gst/gststructure.c: (gst_structure_parse_range),
1722 (gst_structure_fixate_field_nearest_fraction):
1723 * gst/gststructure.h:
1724 * gst/gstvalue.c: (gst_value_init_fraction_range),
1725 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1726 (gst_value_collect_fraction_range),
1727 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1728 (gst_value_set_fraction_range_full),
1729 (gst_value_get_fraction_range_min),
1730 (gst_value_get_fraction_range_max),
1731 (gst_value_serialize_fraction_range),
1732 (gst_value_transform_fraction_range_string),
1733 (gst_value_compare_fraction_range),
1734 (gst_value_deserialize_fraction_range),
1735 (gst_value_intersect_fraction_fraction_range),
1736 (gst_value_intersect_fraction_range_fraction_range),
1737 (gst_value_subtract_fraction_fraction_range),
1738 (gst_value_subtract_fraction_range_fraction),
1739 (gst_value_subtract_fraction_range_fraction_range),
1740 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1741 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1742 (gst_value_transform_string_fraction), (_gst_value_initialize):
1744 Implement fraction ranges and extend GstFraction to support
1745 arithmetic subtraction, as well as deserialization from integer
1746 strings such as "100"
1747 Add a testsuite as for int and double range set operations
1749 2005-11-21 Andy Wingo <wingo@pobox.com>
1753 * gst/gststructure.h: Add glib-compat.h.
1755 2005-11-21 Wim Taymans <wim@fluendo.com>
1757 * gst/gstbin.c: (gst_bin_change_state_func):
1760 2005-11-21 Wim Taymans <wim@fluendo.com>
1763 And add a nice define too.
1765 2005-11-21 Wim Taymans <wim@fluendo.com>
1767 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1768 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1769 (gst_segment_set_duration), (gst_segment_set_last_stop),
1770 (gst_segment_set_seek), (gst_segment_set_newsegment),
1771 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1774 Make binding friendly.
1776 2005-11-21 Andy Wingo <wingo@pobox.com>
1778 * gst/gsttagsetter.h:
1780 * gst/gststructure.h:
1782 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1785 * gst/gsterror.c (_gst_core_errors_init):
1786 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1789 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1790 (noinst_HEADERS): noinst the -private.
1792 2005-11-21 Michael Smith <msmith@fluendo.com>
1795 * gst/gstregistry.h:
1796 Remove unimplemented declarations for which we can see no sensible
1799 2005-11-21 Andy Wingo <wingo@pobox.com>
1801 * gst/gst.h: Include glib-compat.h.
1803 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1805 * gst/glib-compat.c: Include the public and the private header.
1807 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1811 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1813 * check/gst/gstevent.c (create_custom_events): Check that
1814 FLUSH_STOP is serialized.
1816 * check/elements/identity.c (event_func):
1817 * check/elements/fakesrc.c (event_func): No stream lock, the core
1820 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1821 stream lock taking, yay.
1823 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1824 ensure that core takes the stream lock.
1826 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1829 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1830 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1831 it already. For the flush start we do take it though so we get the
1832 right preroll state change messages.
1834 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1835 the stream lock here, the core does it for us.
1837 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1838 GST_STREAM_GET_LOCK.
1839 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1840 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1841 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1842 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1843 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1844 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1846 * gst/gstpad.c: Update for stream lock name change.
1848 * gst/base/gstbasesink.c: Update for preroll lock name change.
1850 2005-11-21 Wim Taymans <wim@fluendo.com>
1852 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1853 (gst_clock_get_master):
1855 * gst/gstsystemclock.c: (gst_system_clock_init):
1856 Convert Clock flags to object flags.
1857 Added methods to manage master/slave clocks.
1859 2005-11-21 Wim Taymans <wim@fluendo.com>
1861 * check/gst/gstsegment.c: (GST_START_TEST):
1862 * docs/design/part-TODO.txt:
1863 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1864 (gst_base_sink_event), (gst_base_sink_do_sync),
1865 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1866 (gst_base_sink_query), (gst_base_sink_change_state):
1867 * gst/base/gstbasesink.h:
1868 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1869 (gst_base_src_default_newsegment),
1870 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1871 (gst_base_src_get_range), (gst_base_src_loop),
1872 (gst_base_src_change_state):
1873 * gst/base/gstbasesrc.h:
1874 * gst/base/gstbasetransform.c:
1875 (gst_base_transform_prepare_output_buf),
1876 (gst_base_transform_event), (gst_base_transform_change_state):
1877 * gst/base/gstbasetransform.h:
1878 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1879 (gst_collect_pads_event):
1880 * gst/base/gstcollectpads.h:
1881 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1882 (gst_fake_src_create):
1883 * gst/elements/gstfakesrc.h:
1884 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1885 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1886 (gst_segment_set_last_stop), (gst_segment_set_seek),
1887 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1888 (gst_segment_to_running_time), (gst_segment_clip):
1890 More segment updates, replace code in plugins with segment
1893 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1895 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1896 Don't ignore sscanf results
1898 2005-11-21 Andy Wingo <wingo@pobox.com>
1900 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1903 * *.c: Ran scripts/update-macros. Oh yes.
1905 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1906 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1909 * scripts/update-macros: New script. Run it on your files to
1910 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1913 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1915 * docs/gst/Makefile.am:
1916 * docs/gst/gstreamer-docs.sgml:
1917 * docs/gst/gstreamer-sections.txt:
1918 * docs/gst/gstreamer.types:
1920 more docs fixes, add new api to the docs
1922 2005-11-21 Andy Wingo <wingo@pobox.com>
1924 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1925 state_broadcast call.
1927 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1929 2005-11-21 Julien MOUTTE <julien@moutte.net>
1931 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1932 function calls for arrays.
1934 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1936 * docs/random/ensonic/media-device-daemon.txt:
1937 wild idea, can this be done?
1938 * docs/gst/gstreamer-sections.txt:
1943 * gst/gstpluginfeature.c:
1947 doc fixes and additions
1949 2005-11-21 Andy Wingo <wingo@pobox.com>
1951 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1952 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1953 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1954 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1955 private to the basesrc implementation.
1957 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1958 behalf of event function if necessary. It should no longer be
1959 necessary to take the stream lock in pad's event functions. Fixes
1962 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1963 * docs/gst/gstreamer-sections.txt:
1964 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1965 (gst_structure_fixate_field_nearest_double),
1966 (gst_structure_fixate_field_boolean):
1967 * gst/gststructure.h:
1968 * win32/common/libgstreamer.def:
1969 * win32/gstreamer.def:
1971 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1974 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1976 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1977 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1978 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1979 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1980 (gst_fdsrc_uri_handler_init):
1981 * gst/elements/gstfdsrc.h:
1982 Port fd:// URI handler from 0.8 to fdsrc
1984 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1986 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1987 (gst_value_serialize_fourcc):
1989 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1990 consistent with our other format defines (#320324).
1992 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1994 * gst/gstvalue.c: (gst_value_is_fixed):
1995 Revert previous commit. Value lists are by definition
1996 not fixed, as they are a list of possible values.
1998 2005-11-21 Andy Wingo <wingo@pobox.com>
2000 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2001 during the stable series if we need it. Fixes #319178.
2003 * gst/gstevent.c (gst_event_new_filler): Removed.
2005 * check/gst/gstevent.c: Update comment about filler events.
2007 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2009 * gst/gstvalue.c: (gst_value_is_fixed):
2010 Should handle both value arrays and value lists.
2012 2005-11-21 Andy Wingo <wingo@pobox.com>
2014 patch by: Alessandro Dessina <alessandro nnva org>
2016 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2017 functions to access arrays. Fixes #321962.
2019 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2021 * docs/gst/gstreamer.types:
2022 gst_collectpads_get_type => gst_collect_pads_get_type.
2024 * gst/base/gstbasetransform.c:
2025 Remove unused SIGNAL_HANDOFF enum.
2027 2005-11-21 Andy Wingo <wingo@pobox.com>
2029 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2030 the event type (upstream, downstream, serialized). Renamed
2031 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2032 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2033 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2035 * gst/gstevent.c: Update for new CUSTOM event names.
2037 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2040 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2043 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2045 * docs/gst/gstreamer-sections.txt:
2046 * win32/common/libgstbase.def:
2047 * win32/libgstbase.def:
2048 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2049 (gst_collect_pads_class_init), (gst_collect_pads_init),
2050 (gst_collect_pads_finalize), (gst_collect_pads_new),
2051 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2052 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2053 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2054 (gst_collect_pads_start), (gst_collect_pads_stop),
2055 (gst_collect_pads_peek), (gst_collect_pads_pop),
2056 (gst_collect_pads_available), (gst_collect_pads_read),
2057 (gst_collect_pads_flush), (gst_collect_pads_event),
2058 (gst_collect_pads_chain):
2059 * gst/base/gstcollectpads.h:
2060 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2061 unimplemented functions as unimplemented. Add padding to
2062 GstCollectData. (#320766, #320423)
2064 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2067 Improve docs for DURATION message (usage of duration parameter)
2070 2005-11-20 Wim Taymans <wim@fluendo.com>
2072 * check/Makefile.am:
2073 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2077 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2078 (gst_segment_set_seek), (gst_segment_set_newsegment),
2079 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2082 Added segment helper structure and methods. Not fully implemented
2084 Added segment check.
2086 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2088 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2089 Add a deserialisation test for fractions
2090 * examples/metadata/read-metadata.c: (message_loop),
2091 (make_pipeline), (main):
2092 Fix up metadata reading sample.
2093 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2095 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2096 Don't try and fixate empty caps
2097 * gst/gst_private.h:
2098 Wrap in G_BEGIN_DECLS/G_END_DECLS
2099 * gst/gstvalue.c: (gst_value_collect_fraction),
2100 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2101 (gst_value_transform_string_fraction),
2102 (gst_value_compare_fraction):
2103 Add some extra guards to ensure that we don't end up
2104 with an invalid denominator of 0 in a gstfraction and
2105 that fractions always get reduced.
2107 2005-11-20 Wim Taymans <wim@fluendo.com>
2109 * docs/gst/gstreamer-sections.txt:
2120 2005-11-20 Wim Taymans <wim@fluendo.com>
2122 * docs/design/part-TODO.txt:
2124 Make a proper enum of the flag.
2126 2005-11-19 Wim Taymans <wim@fluendo.com>
2128 * docs/design/part-TODO.txt:
2129 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2130 (gst_format_to_quark), (gst_format_register):
2132 * gst/gstquery.c: (_gst_query_initialize),
2133 (gst_query_type_get_name), (gst_query_type_to_quark),
2134 (gst_query_type_register):
2136 Add type to quark and type to string conversions.
2138 2005-11-19 Andy Wingo <wingo@pobox.com>
2140 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2143 2005-11-19 Wim Taymans <wim@fluendo.com>
2145 * docs/design/part-TODO.txt:
2146 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2147 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2148 (gst_bin_handle_message_func):
2150 Make message handling overridable.
2152 2005-11-19 Andy Wingo <wingo@pobox.com>
2154 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2157 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2159 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2160 is a GstClockTime. Fixes #321710.
2162 * gst/gstclock.h (GstClock): Remove offset property. Add
2163 internal_calibration and external_calibration. Fix padding. Pad
2164 also by GstClockTime so we don't run into problems.
2166 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2167 (gst_clock_get_rate_offset): Remove.
2168 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2171 * gst/gstutils.c (g_static_rec_cond_wait)
2172 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2174 * gst/gstbin.c: Remove terrible continue_state prototype.
2176 * gst/gstelement.h (gst_element_continue_state): Make public.
2179 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2180 by continue_state. Fixes #319389.
2182 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2183 Really fixes #168438. However I don't see anywhere where the
2184 filter function is called... stupid GStreamer...
2186 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2187 don't have a dispose function, so it won't get called when the
2188 object is unreffed, but oh well!
2190 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2191 allows a destroy function to be set so user_data can be freed.
2193 (gst_index_set_filter): Call gst_index_set_filter_full.
2195 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2197 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2198 string should produce an error, given the lack of a way to
2199 represent NULL strings. Fixes #165650.
2202 * gst/gstvalue.c (gst_value_array_append_value)
2203 (gst_value_array_prepend_value, gst_value_array_get_size)
2204 (gst_value_array_get_value): New API, copied from
2205 gst_value_list_*, only operates on arrays.
2206 (gst_value_list_append_value, gst_value_list_prepend_value)
2207 (gst_value_list_concat, gst_value_list_get_size)
2208 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2210 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2211 init_list, because it works on both.
2212 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2213 (gst_value_copy_list_or_array): Renamed from copy_list.
2214 (gst_value_free_list_or_array): Renamed from free_list.
2215 (gst_value_collect_list_or_array): Renamed from collect_list.
2216 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2217 (gst_value_list_or_array_peek_pointer): Renamed from
2219 (_gst_value_array_value_table, _gst_value_list_value_table):
2220 Update value table functions.
2221 (gst_value_compare_list_or_array): Renamed from compare_list.
2223 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2227 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2228 GstTagList*. Fixes #143472.
2230 * gst/gststructure.h: Clarify what the foreach/map functions can
2231 or can't do to their arguments.
2233 2005-11-18 Wim Taymans <wim@fluendo.com>
2235 * gst/gstclock.c: (gst_clock_set_calibration),
2236 (gst_clock_get_calibration):
2238 Calibration can be set with internal time equal to current
2241 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2247 2005-11-18 Andy Wingo <wingo@pobox.com>
2250 * pkgconfig/gstreamer-net.pc.in:
2251 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2252 * pkgconfig/Makefile.am: Add net pkgconfig files.
2254 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2257 * gst/gstghostpad.c:
2263 2005-11-18 Andy Wingo <wingo@pobox.com>
2265 * gst/net/gstnetclientclock.c: Turn off debugging.
2267 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2268 times connverge somewhat. Can't make a real test.
2270 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2271 integer arithmetic. Return the minimum of the domain, which can be
2272 set as "internal" for gst_clock_set_calibration.
2273 (gst_net_client_clock_observe_times): Call _set_calibration.
2274 (gst_net_client_clock_new): Call _set_calibration instead of
2277 * check/net/gstnetclientclock.c (test_functioning): Use the right
2281 * gst/gstclock.c (gst_clock_get_calibration)
2282 (gst_clock_set_calibration): New functions, obsolete the ones I
2283 added yesterday. Doh. Precision issues mean we have to extrapolate
2284 from a point in the more recent past than 1970.
2285 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2287 (gst_clock_adjust_unlocked): Use the right calibration data.
2289 2005-11-18 Edward Hervey <edward@fluendo.com>
2291 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2292 Also reset the ->current_* values in READY->PAUSED
2294 2005-11-18 Andy Wingo <wingo@pobox.com>
2296 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2297 Whoops, check the right fd. Also add some debugging.
2298 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2299 (do_linear_regression): Add a crapload of debugging. Subtract off
2300 the minimum values from the input series to discard unneeded bits.
2301 Use only int arithmetic. There is still double arithmetic when
2302 calculating the intercept that needs fixing. Return boolean to
2303 indicate success; FALSE would mean the domain or range is too
2304 great. Still needs fixes.
2306 2005-11-18 Wim Taymans <wim@fluendo.com>
2308 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2309 For the current position in stream time, we need to subtract
2312 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2313 Release lock before calling the callback function of async
2316 2005-11-18 Andy Wingo <wingo@pobox.com>
2318 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2319 Port goes all the way to MAXUINT16.
2321 * gst/net/gstnettimeprovider.c: Make the port range the same as
2322 for the kernel: 0 assigns, otherwise ports are less than
2325 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2328 * check/net/gstnetclientclock.c (test_functioning): Add the start
2331 2005-11-18 Wim Taymans <wim@fluendo.com>
2333 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2334 (gst_bin_remove_func), (bin_bus_handler):
2336 Removing a clock provider from a bin, triggers a clock lost message
2337 so that a new clock will be selected.
2338 Adding a clock to a bin triggers a clock provider message.
2339 Make sure we reselect a clock when we received a clock lost message.
2340 Keep a reference to the element that provided the clock.
2342 2005-11-18 Andy Wingo <wingo@pobox.com>
2344 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2345 the clock initially so it produces values around the base time.
2346 (gst_net_client_clock_class_init): Typo fix.
2347 (gst_net_client_clock_thread): Add note on when the socket gets
2350 2005-11-17 Wim Taymans <wim@fluendo.com>
2352 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2353 Free remote and local time arrays.
2355 2005-11-17 Wim Taymans <wim@fluendo.com>
2357 * gst/net/gstnetclientclock.c: (do_linear_regression),
2358 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2359 Fix compilation, uninitialized vars and a forgotten continue.
2361 2005-11-17 Andy Wingo <wingo@pobox.com>
2363 * check/Makefile.am (check_PROGRAMS):
2364 * check/net/gstnetclientclock.c: Add a most minimal test for the
2365 net client clock. More to come later.
2368 * gst/net/Makefile.am: Add netclientclock.
2370 * gst/net/gstnetclientclock.h:
2371 * gst/net/gstnetclientclock.c: New files, implement an untested
2372 GstClock that takes its time from a network time provider.
2373 Implements the algorithm in network-clock.scm.
2375 * tests/network-clock.scm (*window-size*): Rename from
2377 * tests/network-clock.scm (network-time):
2378 * tests/network-clock-utils.scm (q-push): Update callers.
2380 2005-11-17 Wim Taymans <wim@fluendo.com>
2382 * gst/gstbin.c: (gst_bin_provide_clock_func),
2383 (gst_bin_sort_iterator_new):
2384 And unref the child too..
2386 2005-11-17 Wim Taymans <wim@fluendo.com>
2388 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2389 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2390 Refactor the sort iterator so it can be used while holding the
2392 Make clock selection select a clock closest to the source.
2394 2005-11-17 Michael Smith <msmith@fluendo.com>
2396 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2397 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2399 Anonymous structs are a gcc (and some other compilers) extension, so
2400 don't use them. Since this is only for ABI-compatibility, and our
2401 API/ABI freeze is over in a few days, this whole thing will only
2402 last a few days, so don't bother trying to think up a meaningful
2403 name for the struct.
2405 2005-11-17 Andy Wingo <wingo@pobox.com>
2407 * gst/gstclock.h (GstClock): Add rate and offset properties,
2408 preserving ABI stability. Add rate/offset accessors. Will file bug
2409 for the freeze break.
2411 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2412 and offset, trying to keep precision and avoiding
2414 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2415 functions. Make gst_clock_set_time_adjust obsolete.
2416 (gst_clock_set_time_adjust): Note that this function is obsolete.
2419 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2420 greppable by using GST_PADDING-1+1.
2422 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2424 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2426 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2427 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2429 * gst/gstpadtemplate.h:
2430 * gst/gstpluginfeature.h:
2431 Don't use c++ style comments in headers (#321638).
2433 2005-11-16 Andy Wingo <wingo@pobox.com>
2435 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2438 * check/net/gstnettimeprovider.c: Check to see that the time
2439 provider actually provides times. Works, yo!
2441 2005-11-16 Wim Taymans <wim@fluendo.com>
2443 * check/Makefile.am:
2446 * check/elements/fakesrc.c: (GST_START_TEST):
2447 Set element to NULL before disposing it.
2449 2005-11-16 Andy Wingo <wingo@pobox.com>
2451 * gst/net/Makefile.am:
2453 * gst/net/gstnettimeprovider.c:
2454 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2455 provider, include it from gstnet.h, and add it to the build.
2457 * gst/net/gstnettimepacket.h:
2458 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2459 sending and receiving.
2461 2005-11-16 Wim Taymans <wim@fluendo.com>
2463 * check/Makefile.am:
2464 Enable valgrind check.
2466 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2467 (gst_fake_src_alloc_buffer):
2470 2005-11-16 Wim Taymans <wim@fluendo.com>
2472 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2473 Call parent finalize too.
2475 2005-11-16 Wim Taymans <wim@fluendo.com>
2477 * check/Makefile.am:
2478 Enable valgrind check that should work fine now.
2480 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2481 * gst/gstqueue.c: (gst_queue_init):
2482 Fix memleaks in pad allocation.
2484 2005-11-16 Andy Wingo <wingo@pobox.com>
2486 * gst/net/Makefile.am:
2487 * gst/net/gstnet.h: New part of core to hold network elements and
2488 objects. Put in core because it exposes API that applications want
2489 to use. The library is named libgstnet-tempname right now because
2490 of the existing libgstnet in gst-plugins-base. Solution is
2491 probably to rename the one in plugins-base; will file a bug for
2494 * gst/net/gstnettimeprovider.c:
2495 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2496 get_time call over the network.
2499 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2501 * check/Makefile.am:
2502 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2503 get additions shortly.
2505 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2507 * gst/gstpad.c: (gst_pad_new_from_static_template):
2509 add gst_pad_new_from_static_template functions
2510 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2511 (gst_check_setup_sink_pad):
2512 * gst/elements/gsttee.c: (gst_tee_init):
2515 2005-11-16 Wim Taymans <wim@fluendo.com>
2517 * gst/gstpad.c: (gst_pad_pause_task):
2518 Removed warning, it's not really an error either.
2520 2005-11-16 Wim Taymans <wim@fluendo.com>
2522 * gst/base/gstbasetransform.c:
2523 (gst_base_transform_prepare_output_buf),
2524 (gst_base_transform_event):
2525 Check if the caps are NULL, this can happen if the element
2526 is shutting down and the pad caps are set to NULL.
2528 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2530 * gst/elements/gsttee.c: (gst_tee_init):
2531 fix pad template leak in tee
2533 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2535 * gst/glib-compat.c: (g_value_dup_gst_object):
2536 * gst/glib-compat.h:
2537 * gst/gstpad.c: (gst_pad_set_property):
2538 use gst_object_ref when setting the pad template; this will
2539 trigger the pad template leaks on GLib 2.6 and the slaves
2541 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2543 * gst/glib-compat.c: (gst_flags_get_first_value):
2544 * gst/glib-compat.h:
2545 * gst/gstregistryxml.c:
2546 remove functions copied from GLib 2.6
2548 2005-11-16 Michael Smith <msmith@fluendo.com>
2551 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2552 do, but only breaks with newer valgrind versions. We're not a
2553 valgrind tool, we have no link-time dependencies on libcoregrind.
2555 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2557 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2562 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2564 * gst/base/gstbasesrc.c: (gst_base_src_init):
2565 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2566 * gst/gstqueue.c: (gst_queue_init):
2567 * gst/gstregistryxml.c: (load_feature):
2568 Revert all these unrefs, they don't even pass make check !
2570 2005-11-15 Johan Dahlin <johan@gnome.org>
2572 * gst/base/gstbasesrc.c: (gst_base_src_init):
2573 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2574 * gst/gstqueue.c: (gst_queue_init):
2575 Free pad templates, fixes a couple of leaks.
2577 2005-11-15 Daniel Fischer <dan at f3c dot com>
2579 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2581 * gst/gstpad.c: (gst_pad_get_property):
2582 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2583 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2586 2005-11-15 Wim Taymans <wim@fluendo.com>
2591 2005-11-15 Andy Wingo <wingo@pobox.com>
2593 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2595 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2596 using GST_CLOCK_TIME_NONE to disable base time management.
2597 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2598 time if it was NONE before.
2599 (gst_pipeline_change_state): Only munge the base time if
2600 stream_time != GST_CLOCK_TIME_NONE.
2602 * check/gst/gstpipeline.c (test_base_time): Punt around the
2603 problem of the probe not being called, because that's not the
2604 issue I'm looking at. Add a check that setting stream_time to NONE
2605 disables base time management.
2607 2005-11-15 Wim Taymans <wim@fluendo.com>
2609 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2610 segment_stop == -1 at startup.
2612 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2613 (gst_base_transform_change_state):
2614 Init segment values at start.
2616 2005-11-15 Wim Taymans <wim@fluendo.com>
2618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2619 0 segment values are 0 in any format.
2621 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2622 * gst/base/gstbasetransform.h:
2623 Parse newsegment correctly in basetransform
2625 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2626 Sync to clock using updated segment values.
2628 2005-11-15 Andy Wingo <wingo@pobox.com>
2630 * check/gst/gstpipeline.c (test_base_time): Add check that the
2631 base time and stream time are reset correctly.
2633 2005-11-15 Wim Taymans <wim@fluendo.com>
2635 * docs/design/part-TODO.txt:
2636 Some more TODO items.
2638 2005-11-15 Andy Wingo <wingo@pobox.com>
2640 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2641 error if the user selected "no clock" as the clocking method.
2643 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2644 timestamps with live capture.
2646 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2647 is 0 but we are a live source, timestamp the buffers using the
2650 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2652 * docs/gst/gstreamer-sections.txt:
2654 * gst/gstghostpad.c:
2659 2005-11-14 Wim Taymans <wim@fluendo.com>
2662 add suppressions from Wim's Debian machine
2664 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2667 add suppressions from Andy's AMD64 Ubuntu machine
2669 2005-11-14 Andy Wingo <wingo@pobox.com>
2671 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2672 STATE_LOCK not necessary. Fixes #311489.
2674 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2677 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2678 this function is not implemented.
2680 2005-11-14 Julien MOUTTE <julien@moutte.net>
2682 * gst/base/gstbasetransform.c:
2683 (gst_base_transform_prepare_output_buf):
2684 Ref the source pad caps while we need them.
2687 2005-11-11 Wim Taymans <wim@fluendo.com>
2689 * docs/gst/gstreamer-sections.txt:
2690 Added some docs for GstCollectData.
2692 * gst/base/gstadapter.c:
2693 Some small code example fix.
2695 * gst/base/gstcollectpads.c:
2696 * gst/base/gstcollectpads.h:
2699 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2701 * configure.ac: back to HEAD
2703 === release 0.9.5 ===
2705 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2708 releasing 0.9.5, "Bike Lunch Day"
2710 2005-11-11 Wim Taymans <wim@fluendo.com>
2712 * gst/gstbuffer.c: (_gst_buffer_copy):
2715 * gst/gstcaps.c: (gst_caps_is_equal):
2717 Make _is_equal fast in the trivial cases.
2719 * gst/gstminiobject.c:
2720 * gst/gstminiobject.h:
2721 More docs. Spifify .h file.
2726 2005-11-11 Wim Taymans <wim@fluendo.com>
2728 * gst/base/gstbasetransform.c:
2729 (gst_base_transform_prepare_output_buf),
2730 (gst_base_transform_handle_buffer):
2732 If we're processing a buffer and need to allocate an output
2733 buffer, we cannot accept a format change. If we did get a
2734 format change, we have to alloc a buffer ourselves of the
2737 2005-11-11 Wim Taymans <wim@fluendo.com>
2739 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2740 While checking the flag for reentrancy in the gstcaps function
2741 is nice to detect recursive invocations, it also makes it
2742 impossible to call getcaps from multiple threads, which must be
2743 possible. So, checking for recursive calls has to go.
2745 2005-11-11 Michael Smith <msmith@fluendo.com>
2747 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2748 Don't sync on buffers that fall partially outside our current
2749 segment. Prevents an assertion failure/abort playing some files.
2751 2005-11-10 Andy Wingo <wingo@pobox.com>
2753 * check/gst/gstbin.c (test_message_state_changed_children): Style
2756 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2757 gst_bus_poll with the signal watch. Ensures that poll and a signal
2758 watch see the same messages.
2760 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2761 a poll and a watch at the same time get the same messages.
2763 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2765 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2766 * gst/gstcaps.c: (gst_caps_intersect):
2767 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2768 and it's not needed.
2770 2005-11-10 Wim Taymans <wim@fluendo.com>
2772 * docs/design/part-TODO.txt:
2775 2005-11-10 Wim Taymans <wim@fluendo.com>
2777 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2778 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2779 (gst_base_src_do_sync), (gst_base_src_get_range):
2780 Implement clock sync in base class.
2782 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2784 patch by: Tim-Philipp Müller <tim at centricular dot net>
2786 * gst/gststructure.c: (gst_structure_parse_field),
2787 (gst_structure_from_string):
2788 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2789 so that gst_parse_launch() can deal with spaces in filtered link
2790 caps (fixes #164479)
2791 * check/gst/capslist.h:
2792 * check/gst/gststructure.c: (GST_START_TEST):
2793 add unit tests for this change
2795 2005-11-10 Wim Taymans <wim@fluendo.com>
2797 * docs/gst/gstreamer-sections.txt:
2800 Fix docs, move some STATE macros to private.
2802 2005-11-10 Wim Taymans <wim@fluendo.com>
2804 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2805 Added check for bug #317341
2809 Some more spiffifying.
2811 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2812 Call peer linkfunction if we are a source pad. Totally fixes
2816 Update docs, source pads should call the peer linkfunction
2817 so they can atomically perform the pad link.
2819 2005-11-09 Wim Taymans <wim@fluendo.com>
2823 Uber-spiffy-spiffify some more.
2825 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2827 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2828 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2829 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2830 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2831 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2832 * gst/gstpad.c: (gst_pad_init):
2833 Use GST_DEBUG_FUNCPTR() more extensively.
2835 2005-11-09 Wim Taymans <wim@fluendo.com>
2837 * gst/gstobject.c: (gst_object_class_init):
2839 Documentation fixes.
2841 2005-11-09 Edward Hervey <edward@fluendo.com>
2843 * gst/gsttypefindfactory.c:
2846 2005-11-09 Edward Hervey <edward@fluendo.com>
2848 * gst/base/gsttypefindhelper.c:
2849 * gst/gsttypefind.c:
2850 * gst/gsttypefind.h:
2853 2005-11-09 Wim Taymans <wim@fluendo.com>
2855 * gst/gstiterator.c:
2862 2005-11-09 Wim Taymans <wim@fluendo.com>
2868 2005-11-09 Wim Taymans <wim@fluendo.com>
2870 * docs/gst/gstreamer-sections.txt:
2871 Moved the message async delivery private lock and cond
2872 to the private section.
2878 2005-11-09 Edward Hervey <edward@fluendo.com>
2880 * docs/gst/gstreamer-sections.txt:
2883 Document GstURIHandler
2885 2005-11-09 Wim Taymans <wim@fluendo.com>
2887 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2888 (gst_iterator_find_custom):
2889 * gst/gstiterator.h:
2892 2005-11-09 Wim Taymans <wim@fluendo.com>
2895 Document another field.
2897 * gst/gststructure.c:
2898 * gst/gststructure.h:
2901 2005-11-09 Wim Taymans <wim@fluendo.com>
2906 2005-11-09 Wim Taymans <wim@fluendo.com>
2908 * docs/gst/gstreamer-sections.txt:
2909 Added some new macros.
2916 2005-11-09 Wim Taymans <wim@fluendo.com>
2918 * docs/design/part-TODO.txt:
2919 Some more items for the TODO
2925 2005-11-09 Andy Wingo <wingo@pobox.com>
2927 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2928 to work on something else now tho...
2930 * gst/base/gstadapter.c: More adapter docs.
2932 * gst/elements/gstfilesink.c (gst_file_sink_start)
2933 (gst_file_sink_stop): New functions, replace the state change
2935 (gst_file_sink_class_init): Hook up the start and stop functions.
2936 (gst_file_sink_base_init): Don't set the state change handler any
2937 more. It was a bit ugly too, being set from here...
2938 (gst_file_sink_get_property, gst_file_sink_set_property):
2940 (gst_file_sink_set_location): More robust check that doesn't call
2943 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2945 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2946 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2948 2005-11-08 Wim Taymans <wim@fluendo.com>
2950 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2951 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2952 (gst_base_sink_chain), (gst_base_sink_change_state):
2953 * gst/base/gstbasesink.h:
2954 * gst/base/gstbasesrc.h:
2957 Avoid excessive typechecking in macros.
2959 * gst/gstminiobject.c: (gst_mini_object_get_type),
2960 (gst_mini_object_init), (gst_mini_object_new),
2961 (gst_mini_object_free):
2962 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2963 (gst_object_finalize):
2964 Remove cruft code, optimize alloc_trace.
2966 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2968 * docs/faq/gst-uninstalled:
2969 fix up PS1 for systems that try to reset it
2971 2005-11-07 Wim Taymans <wim@fluendo.com>
2973 * gst/base/gstbasesrc.c: (gst_base_src_init),
2974 (gst_base_src_get_range):
2975 Set the segment_end to -1 initially. Fixed typefind.
2977 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2979 * gst/base/gstadapter.c:
2980 Debug category should be 'adapter', not 'GstAdapter'.
2982 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2983 (gst_collectpads_class_init), (gst_collectpads_init),
2984 (gst_collectpads_peek), (gst_collectpads_pop),
2985 (gst_collectpads_event), (gst_collectpads_chain):
2986 Add debug category and some debugging output. Use boilerplate
2987 macros. Remove some extraneous words from docs.
2989 2005-11-05 Andy Wingo <wingo@pobox.com>
2991 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2994 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2996 * docs/gst/gstreamer-sections.txt:
2999 * gst/gstminiobject.h:
3004 2005-11-04 Wim Taymans <wim@fluendo.com>
3006 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3007 Small update to stop at the configured segment_end
3010 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3012 * gst/gstregistry.c:
3013 * gst/gstregistry.h:
3016 2005-11-04 Edward Hervey <edward@fluendo.com>
3018 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3019 Check if we are doing a segment seek and have arrived at the
3020 end of that segment.
3022 2005-11-04 Wim Taymans <wim@fluendo.com>
3024 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3025 Don't leak a mutex unlock in case of an error.
3030 2005-11-04 Wim Taymans <wim@fluendo.com>
3032 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3034 Get the context to wake up only once.
3036 2005-11-03 Wim Taymans <wim@fluendo.com>
3038 * check/states/sinks.c: (GST_START_TEST):
3039 Uncomment fixed check.
3041 * docs/design/part-TODO.txt:
3044 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3045 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3046 (gst_base_sink_get_position):
3047 If we are going to PLAYING, post the right pending state
3048 when we post the intermediate paused message.
3050 * gst/gstelement.c: (gst_element_continue_state),
3051 (gst_element_set_state_func), (gst_element_change_state):
3052 Don't post state changes that were between the same state
3055 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3057 * docs/gst/gstreamer-sections.txt:
3060 * gst/gstminiobject.h:
3063 more docs and doc style fixes
3065 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3067 * docs/gst/gstreamer-sections.txt:
3069 * gst/gstminiobject.c:
3072 2005-11-03 Andy Wingo <wingo@pobox.com>
3074 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3075 state-changed messages actually have the right order and the right
3078 2005-11-03 Wim Taymans <wim@fluendo.com>
3080 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3081 Added some more checks. Specifically the case where NO_PREROLL
3082 elements are in the pipeline.
3084 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3085 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3086 (gst_base_sink_get_position):
3087 Post READY->PAUSED state change messages too.
3088 Fix bug where VOID was posted as pending state...
3090 * gst/gstbin.c: (gst_bin_recalc_state):
3091 use _element_continue_state() to continue the state change.
3093 * gst/gstelement.c: (gst_element_continue_state),
3094 (gst_element_commit_state), (gst_element_set_state_func),
3095 (gst_element_change_state), (gst_element_change_state_func):
3096 Lots of state change cleanups, assign the STATE_RETURN in
3097 a new continue_state() function that also propagates the
3098 last return value from a state change to the app.
3099 Update some debug statements with proper category.
3101 2005-11-03 Wim Taymans <wim@fluendo.com>
3103 * docs/design/part-events.txt:
3104 * docs/design/part-gstpipeline.txt:
3105 * docs/design/part-messages.txt:
3106 * docs/design/part-overview.txt:
3107 * docs/design/part-seeking.txt:
3108 * docs/design/part-states.txt:
3109 * docs/design/part-trickmodes.txt:
3110 * docs/manual/advanced-position.xml:
3114 People think !! is ugly, this looks better.
3116 * gst/gstpad.c: (gst_pad_set_blocked_async):
3117 Remove !! since it's fixed elsewhere now.
3119 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3121 * gst/gstminiobject.h:
3123 Add !! to _FLAG_IS_SET macros to make the result boolean.
3125 2005-11-03 Edward Hervey <edward@fluendo.com>
3127 * gst/gstpad.c: (gst_pad_set_blocked_async):
3128 comparing a flag and a gboolean rarely returns coherent results...
3129 Added two characters (!!) to make that work correctly.
3131 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3133 * gst/gstbus.c: (gst_bus_class_init):
3136 * gst/gstqueue.c: (gst_queue_loop):
3137 Don't assume a miniobject that isn't a buffer is an
3138 event (it could be that there is a refcounting
3139 problem somewhere and the pointer is stale and
3140 refers to an already destroyed miniobject).
3142 2005-11-03 Julien MOUTTE <julien@moutte.net>
3144 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3146 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3148 * docs/manual/advanced-position.xml:
3149 Update seek example and explanations to current 0.9 API.
3151 * gst/elements/gsttypefindelement.c:
3152 (gst_type_find_element_activate):
3153 Remove FIXME comment now that the found caps
3156 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3158 * gst/gstregistryxml.c: (load_feature):
3159 Add another GST_STR_NULL instance
3161 2005-11-02 Edward Hervey <edward@fluendo.com>
3163 * gst/gstpad.c: (handle_pad_block):
3164 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3166 2005-11-02 Wim Taymans <wim@fluendo.com>
3171 * gst/gstelement.c: (gst_element_commit_state):
3172 Remove unused value.
3174 * gst/gstiterator.c:
3175 Mention that the returned element is reffed in the docs.
3177 2005-11-02 Wim Taymans <wim@fluendo.com>
3179 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3180 (gst_pad_push), (gst_pad_push_event):
3181 Unlock blocked pads when they are flushed.
3183 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3186 * docs/gst/gstreamer-sections.txt:
3189 * gst/gstregistry.c: (gst_registry_scan_path_level):
3190 fix for a nasty little missed situation where an installed plug-in
3191 which was in the cache did not get overridden by an uninstalled one
3192 which was earlier in the plugin path because the newly created plugin
3193 for the uninstalled one (not in the registry) didn't get its
3194 ->registered set to TRUE
3196 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3198 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3199 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3200 (gst_collectpads_is_active), (gst_collectpads_collect),
3201 (gst_collectpads_collect_range), (gst_collectpads_start),
3202 (gst_collectpads_stop), (gst_collectpads_peek),
3203 (gst_collectpads_pop), (gst_collectpads_available),
3204 (gst_collectpads_read), (gst_collectpads_flush):
3205 Guard public API with assertions.
3208 Fix docs for gst_pad_set_link_function().
3210 2005-11-02 Johan Dahlin <johan@gnome.org>
3212 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3213 Unref found_caps after we used it.
3215 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3217 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3218 Don't try to ref NULL.
3220 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3222 * win32/common/config.h.in:
3223 provide a GST_FUNCTION that just gives a string for now
3225 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3227 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3228 (gst_object_flags_get_type), (register_gst_bin_flags),
3229 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3230 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3231 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3232 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3233 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3234 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3235 (gst_clock_flags_get_type), (register_gst_state),
3236 (gst_state_get_type), (register_gst_state_change_return),
3237 (gst_state_change_return_get_type), (register_gst_state_change),
3238 (gst_state_change_get_type), (register_gst_element_flags),
3239 (gst_element_flags_get_type), (register_gst_core_error),
3240 (gst_core_error_get_type), (register_gst_library_error),
3241 (gst_library_error_get_type), (register_gst_resource_error),
3242 (gst_resource_error_get_type), (register_gst_stream_error),
3243 (gst_stream_error_get_type), (register_gst_event_type),
3244 (gst_event_type_get_type), (register_gst_seek_type),
3245 (gst_seek_type_get_type), (register_gst_seek_flags),
3246 (gst_seek_flags_get_type), (register_gst_format),
3247 (gst_format_get_type), (register_gst_index_certainty),
3248 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3249 (gst_index_entry_type_get_type),
3250 (register_gst_index_lookup_method),
3251 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3252 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3253 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3254 (gst_index_flags_get_type), (register_gst_debug_level),
3255 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3256 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3257 (gst_iterator_result_get_type), (register_gst_iterator_item),
3258 (gst_iterator_item_get_type), (register_gst_message_type),
3259 (gst_message_type_get_type), (register_gst_mini_object_flags),
3260 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3261 (gst_pad_link_return_get_type), (register_gst_flow_return),
3262 (gst_flow_return_get_type), (register_gst_activate_mode),
3263 (gst_activate_mode_get_type), (register_gst_pad_direction),
3264 (gst_pad_direction_get_type), (register_gst_pad_flags),
3265 (gst_pad_flags_get_type), (register_gst_pad_presence),
3266 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3267 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3268 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3269 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3270 (gst_plugin_flags_get_type), (register_gst_rank),
3271 (gst_rank_get_type), (register_gst_query_type),
3272 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3273 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3274 (gst_tag_flag_get_type), (register_gst_task_state),
3275 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3276 (gst_alloc_trace_flags_get_type),
3277 (register_gst_type_find_probability),
3278 (gst_type_find_probability_get_type), (register_gst_uri_type),
3279 (gst_uri_type_get_type), (register_gst_parse_error),
3280 (gst_parse_error_get_type):
3281 * win32/common/gstversion.h:
3284 2005-11-01 Luca Ognibene <luogni@tin.it>
3287 fix docs. popt is dead, long live GOption.
3289 2005-10-31 Wim Taymans <wim@fluendo.com>
3294 2005-10-31 Andy Wingo <wingo@pobox.com>
3298 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3300 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3301 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3302 the possibility of deadlocks here if code calling notify() or
3303 set() has a lock that can be taken in another notify handler (ABBA
3304 with class lock and e.g. python GIL state lock).
3306 2005-10-28 Julien MOUTTE <julien@moutte.net>
3308 * gst/gstbus.c: Doc updates.
3310 2005-10-28 Wim Taymans <wim@fluendo.com>
3312 * docs/design/part-TODO.txt:
3313 * gst/gstiterator.c:
3314 * gst/gstsystemclock.c:
3315 * gst/gstsystemclock.h:
3318 2005-10-28 Edward Hervey <edward@fluendo.com>
3320 * docs/gst/gstreamer-docs.sgml:
3321 * docs/gst/gstreamer-sections.txt:
3322 the GstURIType documentation page is private, it only defines GstURIType
3323 which should be defined in the GstURIHandler page
3325 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3327 * gst/gstbin.c: (gst_bin_class_init):
3330 Documentation updates.
3332 2005-10-28 Wim Taymans <wim@fluendo.com>
3334 * docs/gst/gstreamer-sections.txt:
3337 Documented the clocks.
3339 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3341 * docs/gst/gstreamer-sections.txt:
3342 move some macros to private sections
3343 * gst/gstminiobject.c:
3344 * gst/gstminiobject.h:
3345 add descriptions provided by ds and some more
3347 mark macro as to be removed
3349 2005-10-28 Wim Taymans <wim@fluendo.com>
3351 * docs/design/part-TODO.txt:
3352 Add an item to TODO.
3354 * gst/gstiterator.c: (gst_iterator_fold),
3355 (gst_iterator_find_custom):
3356 * gst/gstiterator.h:
3359 2005-10-28 Wim Taymans <wim@fluendo.com>
3361 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3362 (gst_base_transform_init):
3365 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3366 An EOS event marks the queue as completely filled.
3368 2005-10-27 Wim Taymans <wim@fluendo.com>
3370 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3371 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3372 Some more debugging.
3374 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3375 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3376 (gst_base_transform_event), (gst_base_transform_getrange),
3377 (gst_base_transform_chain):
3378 * gst/base/gstbasetransform.h:
3380 Protect transform and concurrent buffer alloc with a new lock.
3381 Try not to break ABI/API.
3383 2005-10-27 Wim Taymans <wim@fluendo.com>
3385 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3386 (gst_base_src_init), (gst_base_src_query),
3387 (gst_base_src_default_newsegment),
3388 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3389 (gst_base_src_send_event), (gst_base_src_event_handler),
3390 (gst_base_src_pad_get_range), (gst_base_src_loop),
3391 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3392 (gst_base_src_start), (gst_base_src_deactivate),
3393 (gst_base_src_activate_push), (gst_base_src_change_state):
3394 Move some stuff around and cleanup things.
3396 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3398 * gst/base/gstbasesrc.c: (gst_base_src_query):
3399 Add missing break statements.
3401 2005-10-27 Wim Taymans <wim@fluendo.com>
3403 * check/gst/gstbin.c: (GST_START_TEST):
3404 An extra refcount is taken in basesrc.
3406 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3407 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3408 (gst_base_src_loop):
3409 Small cleanups, check for flushing after being unlocked from the
3410 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3411 Don't send out EOS when going to READY.
3413 2005-10-27 Wim Taymans <wim@fluendo.com>
3415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3416 (gst_base_sink_get_position):
3419 * gst/gstbin.c: (message_check), (bin_replace_message),
3420 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3421 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3422 (bin_query_duration_init), (bin_query_duration_fold),
3423 (bin_query_duration_done), (bin_query_generic_fold),
3425 * tools/gst-launch.c: (main):
3428 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3430 * examples/controller/audio-example.c: (main):
3431 * examples/queue/queue.c: (event_loop):
3432 * gst/base/gstbasetransform.h:
3433 * gst/gstelement.c: (gst_element_send_event):
3435 * gst/gstpad.c: (gst_pad_send_event):
3438 changing log priority in error situations
3440 2005-10-25 Wim Taymans <wim@fluendo.com>
3442 * gst/gstbin.c: (message_check), (bin_replace_message),
3443 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3444 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3445 (bin_query_duration_init), (bin_query_duration_fold),
3446 (bin_query_duration_done), (bin_query_generic_fold),
3448 Some doc and debug updates.
3449 Cache previously requested query DURATION for speed. invalidate
3450 cached duration if element posts a DURATION message.
3452 2005-10-25 Wim Taymans <wim@fluendo.com>
3454 * docs/design/part-TODO.txt:
3457 * gst/gstbin.c: (message_check), (bin_replace_message),
3458 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3459 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3460 (bin_query_duration_init), (bin_query_duration_fold),
3461 (bin_query_duration_done), (bin_query_generic_fold),
3463 Handle SEGMENT_START/DONE messages correctly.
3464 More evolved query algorithm that handles duration queries
3467 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3468 (gst_element_get_state_func), (gst_element_abort_state),
3469 (gst_element_commit_state), (gst_element_lost_state):
3470 Some more debugging.
3475 2005-10-25 Wim Taymans <wim@fluendo.com>
3477 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3478 Don't use invalid stream_time.
3480 * gst/gstevent.c: (gst_event_new_newsegment):
3481 stream_time in newsegment cannot be undefined.
3483 2005-10-24 Wim Taymans <wim@fluendo.com>
3488 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3490 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3492 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3494 * docs/libs/tmpl/gstdparam.sgml:
3495 * docs/libs/tmpl/gstdplinint.sgml:
3496 * docs/libs/tmpl/gstdpman.sgml:
3497 * docs/libs/tmpl/gstdpsmooth.sgml:
3498 * docs/libs/tmpl/gstunitconvert.sgml:
3501 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3506 === release 0.9.4 ===
3508 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3511 releasing 0.9.4, "Tyrannosaurus Rex"
3513 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3515 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3516 (gst_file_sink_get_current_offset):
3517 Use fseeko() and ftello() if available. When falling back on
3518 lseek() to get the current offset, fflush() first to make sure
3519 everything is up-to-date and we get the right offset.
3521 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3524 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3525 * gst/gsterror.c: (_gst_stream_errors_init):
3527 * gst/gstqueue.c: (gst_queue_loop):
3529 remove prematurely added error category and clean up the instances
3531 2005-10-21 Wim Taymans <wim@fluendo.com>
3533 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3534 (gst_base_sink_get_position), (gst_base_sink_query),
3535 (gst_base_sink_change_state):
3536 Simply set the right flag when going to playing, that's all
3537 we need to do instead of calling a function inside the object
3538 lock (that could take the lock as well and deadlock)
3540 2005-10-21 Wim Taymans <wim@fluendo.com>
3542 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3543 (gst_base_src_loop):
3544 Don't warn, the peer element knows what to do best when
3545 the seek failed, it might try something else.
3547 2005-10-21 Wim Taymans <wim@fluendo.com>
3549 * gst/base/gstbasesrc.c: (gst_base_src_init),
3550 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3553 2005-10-21 Wim Taymans <wim@fluendo.com>
3555 * docs/design/part-segments.txt:
3558 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3559 Correctly set caps, even on the subbufer.
3561 2005-10-21 Wim Taymans <wim@fluendo.com>
3563 * docs/gst/gstreamer-docs.sgml:
3564 * docs/gst/gstreamer-sections.txt:
3571 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3575 And 2% more doc coverage.
3577 2005-10-21 Andy Wingo <wingo@pobox.com>
3579 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3582 2005-10-20 Wim Taymans <wim@fluendo.com>
3584 * gst/gsterror.c: (gst_error_get_message):
3587 * gst/gststructure.c:
3592 2005-10-20 Wim Taymans <wim@fluendo.com>
3597 Another 1% more coverage.
3599 2005-10-20 Wim Taymans <wim@fluendo.com>
3601 * docs/gst/gstreamer-sections.txt:
3602 * gst/gstelement.c: (gst_element_get_state_func),
3603 (gst_element_abort_state), (gst_element_commit_state),
3604 (gst_element_lost_state):
3606 * gst/gstquery.c: (gst_query_set_position),
3607 (gst_query_parse_position), (gst_query_set_duration),
3608 (gst_query_parse_duration), (gst_query_new_convert):
3610 Yay! 1% more docs coverage.
3612 2005-10-20 Wim Taymans <wim@fluendo.com>
3615 * gst/gstquery.c: (gst_query_set_position),
3616 (gst_query_parse_position), (gst_query_set_duration),
3617 (gst_query_parse_duration), (gst_query_new_convert):
3619 * gst/gstutils.c: (gst_element_query_convert):
3621 Docs and consistency fixes.
3623 2005-10-20 Wim Taymans <wim@fluendo.com>
3629 2005-10-20 Wim Taymans <wim@fluendo.com>
3631 * gst/gstbin.c: (message_check), (bin_replace_message),
3632 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3633 (update_degree), (gst_bin_sort_iterator_next),
3634 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3635 Reworked the message handling a bit, cache the messages instead of
3636 only the senders. alows us to do more in the future.
3638 2005-10-20 Wim Taymans <wim@fluendo.com>
3640 * docs/design/part-TODO.txt:
3643 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3644 (gst_base_sink_query):
3645 Don't use clock time to report position when in EOS.
3647 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3649 * tools/gst-inspect.c: (print_interfaces),
3650 (print_element_properties_info), (print_element_info):
3651 Fix interface output with gst-inspect -a; don't print
3652 newlines after double/float properties.
3654 2005-10-20 Wim Taymans <wim@fluendo.com>
3656 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3657 (gst_base_sink_query):
3658 Speed up current position calculation.
3660 * gst/base/gstbasesrc.c: (gst_base_src_query),
3661 (gst_base_src_default_newsegment):
3662 Correctly set stream position in newsegment.
3664 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3665 (update_degree), (gst_bin_sort_iterator_next),
3666 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3667 * gst/gstmessage.c: (gst_message_new_custom):
3668 Clean up debugging info
3670 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3671 (gst_queue_loop), (gst_queue_handle_src_query):
3674 2005-10-19 Wim Taymans <wim@fluendo.com>
3676 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3677 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3678 Fix query handling again.
3680 2005-10-19 Wim Taymans <wim@fluendo.com>
3682 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3683 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3684 * gst/base/gstbasesrc.c: (gst_base_src_query):
3685 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3686 * gst/elements/gsttypefindelement.c:
3687 (gst_type_find_handle_src_query), (find_element_get_length),
3688 (gst_type_find_element_activate):
3691 * gst/gstquery.c: (gst_query_new_position),
3692 (gst_query_set_position), (gst_query_parse_position),
3693 (gst_query_new_duration), (gst_query_set_duration),
3694 (gst_query_parse_duration), (gst_query_set_segment),
3695 (gst_query_parse_segment):
3697 Bundling query position/duration is not a good idea since duration
3698 does not change much and we don't want to recalculate it for every
3699 position query, so they are separated again..
3700 Base value in segment query is not needed.
3702 * gst/gstqueue.c: (gst_queue_handle_src_query):
3703 * gst/gstutils.c: (gst_element_query_position),
3704 (gst_element_query_duration), (gst_pad_query_position),
3705 (gst_pad_query_duration):
3707 Updates for query API change.
3708 Added some docs here and there.
3710 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3712 * check/gst/gstbin.c: (GST_START_TEST):
3713 * check/gst/gstghostpad.c: (GST_START_TEST):
3714 * check/pipelines/cleanup.c: (GST_START_TEST):
3715 wait on thread to die so we can check refcount correctly
3717 2005-10-18 Wim Taymans <wim@fluendo.com>
3719 * check/pipelines/stress.c: (GST_START_TEST):
3720 Make check a little more time consuming.
3722 2005-10-18 Wim Taymans <wim@fluendo.com>
3724 * check/Makefile.am:
3725 * check/pipelines/stress.c: (GST_START_TEST),
3726 (simple_launch_lines_suite), (main):
3727 Small state change torture test.
3729 * docs/design/part-states.txt:
3730 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3731 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3732 (gst_base_sink_change_state):
3733 Never take state lock from streaming thread, clean up ugly
3734 hacks. Unfortunatly core does not yet support nice ways to
3737 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3739 Start state recalc if a STATE_DIRTY message is posted, but only
3740 on the toplevel bin.
3742 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3743 (gst_element_get_state_func), (gst_element_abort_state),
3744 (gst_element_commit_state), (gst_element_lost_state),
3745 (gst_element_set_state_func), (gst_element_change_state):
3747 State variables are now protected with the LOCK, the state
3748 lock is only used to serialize _set_state().
3750 2005-10-18 Wim Taymans <wim@fluendo.com>
3752 * check/gst/gstbin.c: (GST_START_TEST):
3753 * check/gst/gstmessage.c: (GST_START_TEST):
3754 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3755 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3757 * gst/gstelement.c: (gst_element_abort_state),
3758 (gst_element_commit_state), (gst_element_lost_state):
3759 * gst/gstmessage.c: (gst_message_new_state_changed),
3760 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3761 (gst_message_new_segment_done), (gst_message_new_duration),
3762 (gst_message_parse_state_changed),
3763 (gst_message_parse_segment_start),
3764 (gst_message_parse_segment_done), (gst_message_parse_duration):
3766 * tools/gst-launch.c: (event_loop):
3767 Seriously, this is better than a previous commit as we only need
3768 to notify the fact that an element changed state in a streaming
3769 thread, marking the state of the parents dirty, hence the
3770 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3773 2005-10-18 Wim Taymans <wim@fluendo.com>
3775 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3776 (gst_bin_recalc_func):
3777 * gst/gstelement.c: (gst_element_set_clock),
3778 (gst_element_abort_state), (gst_element_lost_state):
3779 Cleanups, prepare for state change fixes.
3781 2005-10-18 Wim Taymans <wim@fluendo.com>
3784 * gst/gstelement.c: (gst_element_class_init),
3785 (gst_element_set_state), (gst_element_set_state_func):
3787 Pending ABI changes.
3788 GThreadPool in GstBinClass to monitor async state changes.
3789 state_cookie in GstElement to detect concurrent gst/set state.
3790 set_state is now virtual too in case a very complicated element
3791 has to be constructed.
3793 2005-10-18 Wim Taymans <wim@fluendo.com>
3795 * check/gst/gstbin.c: (GST_START_TEST):
3796 * check/gst/gstmessage.c: (GST_START_TEST):
3797 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3798 * gst/gstbin.c: (bin_bus_handler):
3799 * gst/gstelement.c: (gst_element_commit_state),
3800 (gst_element_lost_state):
3801 * gst/gstmessage.c: (gst_message_new_state_changed),
3802 (gst_message_new_segment_start), (gst_message_new_segment_done),
3803 (gst_message_new_duration), (gst_message_parse_state_changed),
3804 (gst_message_parse_segment_start),
3805 (gst_message_parse_segment_done), (gst_message_parse_duration):
3807 * tools/gst-launch.c: (event_loop):
3808 Make messages future proof.
3809 state-change gets a flag if it was a message comming from the
3811 segment-start/stop can also be specified in other formats.
3812 A message to notify an app that a pipeline changed playback
3814 Also fix a GstMessage leak in -launch
3816 2005-10-18 Andy Wingo <wingo@pobox.com>
3818 * gst/gstelement.c (gst_element_dispose): More helpful message.
3820 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3822 reviewed by: <delete if not using a buddy>
3824 * common/gtk-doc.mak:
3826 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3828 * gst/gstregistry.c: (gst_registry_scan_path_level):
3829 unref a plug-in we get that was already initialized
3831 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3833 * docs/gst/gstreamer-sections.txt:
3834 * docs/libs/gstreamer-libs-sections.txt:
3839 2005-10-17 Andy Wingo <wingo@pobox.com>
3841 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3844 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3846 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3848 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3849 (gst_element_get_state_func): Better debug message.
3850 (gst_element_commit_state): s/INFO/DEBUG/.
3851 (gst_element_lost_state, gst_element_change_state):
3853 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3854 (gst_message_new_custom): s/INFO/LOG/.
3856 2005-10-17 Michael Smith <msmith@fluendo.com>
3858 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3859 Check if end time is valid using end time, not start time.
3861 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3863 * check/gst-libs/controller.c: (GST_START_TEST),
3864 (gst_controller_suite):
3865 * libs/gst/controller/gstcontroller.c:
3866 (gst_controlled_property_set_interpolation_mode):
3867 * libs/gst/controller/gstcontroller.h:
3868 * libs/gst/controller/gstinterpolation.c:
3869 * testsuite/controller/.cvsignore:
3870 * testsuite/controller/Makefile.am:
3871 * testsuite/controller/interpolator.c:
3872 merge controller testsuites
3874 remove mem-chunk from docs
3876 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3878 * gst/gstmemchunk.c:
3879 * gst/gstmemchunk.h:
3880 * gst/gsttrashstack.c:
3881 * gst/gsttrashstack.h:
3882 out. get out. you're fired. to the Attic !
3884 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3886 * gst/gstcaps.c: (gst_caps_intersect):
3887 fix signedness issues in a (hopefully) correct way
3888 * gst/gstelement.c: (gst_element_pads_activate):
3890 * gst/gstobject.c: (gst_object_set_parent):
3893 2005-10-17 Julien MOUTTE <julien@moutte.net>
3895 * gst/gstvalue.h: Fix prototypes.
3897 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3899 * docs/gst/gstreamer-sections.txt:
3900 * gst/gst.c: (gst_version_string):
3902 * gst/gstversion.h.in:
3903 * win32/common/libgstreamer.def:
3904 add gst_version_string ()
3906 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3910 * gst/gst.c: (init_post):
3911 * win32/common/config.h.in:
3913 * gst/gstcaps.c: (gst_caps_intersect):
3914 use gint64, the range could be bigger than a guint
3916 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3919 document potential problem in 2038
3921 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3923 * gst/gstcaps.c: (gst_caps_intersect):
3924 Fix guint j diving under 0
3926 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3929 * win32/common/config.h:
3930 * win32/common/config.h.in:
3931 check for process.h, declares getpid() on Windows
3933 include process.h if we have it
3934 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3935 * gst/gstmemchunk.h:
3936 fix signedness issues
3937 * win32/common/libgstreamer.def:
3940 2005-10-16 Julien MOUTTE <julien@moutte.net>
3942 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3943 fix. Because of unsigned ints, caps intersection was going nuts and
3944 trying to access structures with G_MAXUINT index. That fixes
3945 videotestsrc ! ffmpegcolorspace ! fakesink
3946 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3949 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3952 use the gettext macro
3953 * gst/elements/gstelements.c:
3955 * gst/indexers/gstindexers.c:
3956 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3957 * win32/common/config.h:
3959 * win32/common/config.h.in:
3960 add the template to generate config.h
3961 * win32/common/gstenumtypes.c:
3962 * win32/common/gstversion.h:
3965 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3967 * gst/gst.c: (gst_version):
3968 * gst/gstversion.h.in:
3971 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3974 Oops, add missing closing bracket.
3976 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3979 use common m4's for argument checking
3981 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3983 * docs/gst/gstreamer-sections.txt:
3985 Add GST_EVENT_TYPE_NAME() macro.
3987 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3990 * gst/gstpluginfeature.c:
3992 privatize more symbols
3994 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3997 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3998 everything that uses GStreamer API should have the includes
4000 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4002 * docs/gst/gstreamer-sections.txt:
4003 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4005 give each value a _get_type, removes the DATA exports
4007 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4011 remove _gst_registry_auto_load, not used anymore
4012 * gst/gstbin.c: (gst_bin_get_type):
4014 * gst/gstelement.c: (gst_element_get_type):
4016 * gst/gstobject.c: (gst_object_get_type):
4018 * gst/gstpad.c: (gst_pad_get_type):
4020 make _get_type functions similar, fixes data export from library
4022 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4025 correctly make conditionals
4026 * gst/elements/Makefile.am:
4027 * gst/elements/gstelements.c:
4028 fix typo causing fdsrc not to build
4030 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4032 * testsuite/Makefile.am:
4033 * testsuite/bytestream/.cvsignore:
4034 * testsuite/bytestream/Makefile.am:
4035 * testsuite/bytestream/filepadsink.c:
4036 * testsuite/bytestream/gstbstest.c:
4037 * testsuite/bytestream/test1.c:
4038 * testsuite/bytestream/testfile1:
4039 * testsuite/caps/normalisation.c:
4040 * testsuite/caps/random.c: (main):
4041 * testsuite/cleanup/.cvsignore:
4042 * testsuite/cleanup/Makefile.am:
4043 * testsuite/cleanup/cleanup1.c:
4044 * testsuite/cleanup/cleanup2.c:
4045 * testsuite/cleanup/cleanup3.c:
4046 * testsuite/cleanup/cleanup4.c:
4047 * testsuite/cleanup/cleanup5.c:
4048 * testsuite/controller/interpolator.c:
4049 * testsuite/debug/printf_extension.c: (main):
4050 * testsuite/elements/tee.c:
4051 * testsuite/negotiation/.cvsignore:
4052 * testsuite/negotiation/Makefile.am:
4053 * testsuite/negotiation/pad_link.c:
4054 * testsuite/pad/Makefile.am:
4055 * testsuite/pad/chainnopull.c:
4056 * testsuite/pad/getnopush.c:
4057 * testsuite/pad/link.c:
4058 * testsuite/refcounting/sched.c: (create_pipeline):
4059 * testsuite/registry/Makefile.am:
4060 * testsuite/registry/gst-print-formats.c:
4061 * testsuite/schedulers/.cvsignore:
4062 * testsuite/schedulers/142183-2.c:
4063 * testsuite/schedulers/142183.c:
4064 * testsuite/schedulers/143777-2.c:
4065 * testsuite/schedulers/143777.c:
4066 * testsuite/schedulers/147713.c:
4067 * testsuite/schedulers/147819.c:
4068 * testsuite/schedulers/147894-2.c:
4069 * testsuite/schedulers/147894.c:
4070 * testsuite/schedulers/Makefile.am:
4071 * testsuite/schedulers/group_link.c:
4072 * testsuite/schedulers/queue_link.c:
4073 * testsuite/schedulers/relink.c:
4074 * testsuite/schedulers/unlink.c:
4075 * testsuite/schedulers/unref.c:
4076 * testsuite/schedulers/useless_iteration.c:
4077 * testsuite/states/bin.c:
4078 clean out/remove some stuff from the testsuite directories
4080 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4083 check for some headers
4084 * gst/elements/Makefile.am:
4085 * gst/elements/gstelements.c:
4086 don't compile fdsrc without sys/socket.h
4087 * gst/indexers/Makefile.am:
4088 * gst/indexers/gstindexers.c: (plugin_init):
4089 don't compile fileindex without mmap
4091 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4098 * check/Makefile.am:
4099 * docs/gst/Makefile.am:
4100 * examples/helloworld/Makefile.am:
4102 * gst/base/Makefile.am:
4103 * gst/check/Makefile.am:
4104 * gst/elements/Makefile.am:
4105 * gst/indexers/Makefile.am:
4106 * gst/parse/Makefile.am:
4107 * libs/gst/controller/Makefile.am:
4108 * libs/gst/dataprotocol/Makefile.am:
4109 * examples/helloworld/helloworld.c: (event_loop):
4110 compile fixes, though it's not being compiled currently
4112 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4114 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4115 Add some simple tests for the new taglist date API.
4117 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4119 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4120 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4121 Beautify 'last-message' output: print 'none' for buffer timestamps
4122 and durations if none is set; improve alignment with next messages.
4124 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4126 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4127 * gst/gstpluginfeature.h:
4128 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4129 * gst/gstregistry.h:
4130 * docs/gst/gstreamer-sections.txt:
4131 Add new API to check plugin feature version requirements.
4133 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4134 Some basic tests for the above.
4136 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4138 * gst/gststructure.c: (gst_structure_to_string):
4139 guard against NULL printf - happens when for example
4140 a message structure with GstClock gets serialized
4142 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4144 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4145 Fix presumable copy'n'pasto.
4147 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4149 * gst/elements/gstfakesrc.h:
4150 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4151 * gst/elements/gsttypefindelement.c:
4153 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4154 I wonder if this could actually write +2GB files before
4156 2005-10-13 Andy Wingo <wingo@pobox.com>
4158 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4159 Fix Timmeke Waymans bug.
4160 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4161 string of the proper length to gst_caps_from_string. There's a
4162 potential for, before this fix, that this could cause someone
4163 connecting over the network to cause a segfault if the payload is
4166 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4168 * docs/design/draft-push-pull.txt:
4169 * docs/design/part-overview.txt:
4170 * docs/random/TODO-pre-0.9:
4171 * docs/random/old/ChangeLog.gstreamer:
4172 * gst/base/gstpushsrc.c:
4176 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4178 * gst/glib-compat.c: (gst_flags_get_first_value):
4179 * gst/glib-compat.h:
4180 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4181 (gst_value_compare_double), (gst_value_serialize_flags):
4182 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4185 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4188 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4190 * tools/gst-launch.c: (event_loop):
4191 print out clock nicely
4193 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4195 * docs/gst/gstreamer-sections.txt:
4197 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4198 (gst_tag_list_get_date_index):
4199 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4200 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4202 2005-10-13 Julien MOUTTE <julien@moutte.net>
4204 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4205 (gst_collectpads_chain):
4206 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4209 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4211 * docs/gst/gstreamer-sections.txt:
4214 * tools/gst-inspect.c: (main):
4215 * tools/gst-launch.c: (main):
4216 * tools/gst-run.c: (main):
4217 * tools/gst-xmlinspect.c: (main):
4218 fix GOption context leaks
4221 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4225 * win32/common/config.h:
4227 * win32/vs6/grammar.dsp:
4228 * win32/vs6/libgstelements.dsp:
4229 * win32/vs6/libgstreamer.dsp:
4232 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4235 * gst/base/gstbasesrc.c: (gst_base_src_query):
4236 fix more guint64<->gdouble conversions
4238 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4241 add win32-update target
4242 * win32/common/gstconfig.h:
4243 * win32/common/gstenumtypes.c:
4244 * win32/common/gstenumtypes.h:
4245 * win32/common/gstversion.h:
4246 add files that visual studio can't generate
4248 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4251 add a win32-update target
4254 2005-10-12 Wim Taymans <wim@fluendo.com>
4256 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4257 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4258 * gst/gstelement.c: (gst_element_commit_state),
4259 (gst_element_set_state):
4260 Protect flags with proper lock.
4261 unref provided cached clock in dispose.
4263 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4266 * gst/gstminiobject.h:
4268 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4269 removed unused flags from miniobject
4272 2005-10-12 Wim Taymans <wim@fluendo.com>
4274 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4275 (gst_file_sink_event), (gst_file_sink_render):
4276 Flush before seeking.
4278 2005-10-12 Andy Wingo <wingo@pobox.com>
4280 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4281 always been the case.
4283 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4285 * check/gst/gstbin.c: (GST_START_TEST):
4286 * docs/gst/gstreamer-sections.txt:
4287 * gst/base/gstbasesink.c: (gst_base_sink_init):
4288 * gst/base/gstbasesrc.c: (gst_base_src_init),
4289 (gst_base_src_get_range), (gst_base_src_check_get_range),
4290 (gst_base_src_start), (gst_base_src_stop):
4291 * gst/base/gstbasesrc.h:
4292 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4294 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4298 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4300 * gst/gstelement.c: (gst_element_is_locked_state),
4301 (gst_element_set_locked_state), (gst_element_commit_state),
4302 (gst_element_set_state):
4304 * gst/gstindex.c: (gst_index_init):
4306 * gst/gstminiobject.h:
4307 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4308 (gst_object_set_parent):
4310 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4311 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4313 * gst/gstpadtemplate.h:
4314 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4315 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4316 * gst/gstpipeline.h:
4317 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4318 (gst_file_index_commit):
4319 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4320 * testsuite/pad/link.c: (gst_test_src_init),
4321 (gst_test_filter_init), (gst_test_sink_init):
4322 * testsuite/states/locked.c: (main):
4323 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4324 moved bitshift from macro to enum definition
4326 2005-10-12 Wim Taymans <wim@fluendo.com>
4328 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4329 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4330 (gst_file_sink_render):
4331 Some more debugging info.
4333 2005-10-12 Wim Taymans <wim@fluendo.com>
4335 * docs/design/part-states.txt:
4336 * tools/gst-launch.c: (main):
4338 Revert non-intentional change.
4340 2005-10-12 Wim Taymans <wim@fluendo.com>
4342 * check/gst/gstbin.c: (GST_START_TEST):
4343 * check/gst/gstelement.c: (GST_START_TEST):
4344 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4345 * check/gst/gstghostpad.c: (GST_START_TEST):
4346 * check/gst/gstpipeline.c: (GST_START_TEST):
4347 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4348 * check/states/sinks.c: (GST_START_TEST):
4349 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4350 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4351 (gst_bin_remove_func), (gst_bin_get_state_func),
4352 (gst_bin_recalc_state), (gst_bin_change_state_func),
4354 * gst/gstelement.c: (gst_element_get_state_func),
4355 (gst_element_get_state), (gst_element_abort_state),
4356 (gst_element_commit_state), (gst_element_set_state),
4357 (gst_element_change_state), (gst_element_change_state_func):
4359 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4360 (gst_pipeline_provide_clock_func):
4361 * gst/gstutils.c: (gst_element_link_pads_filtered):
4362 * tools/gst-launch.c: (main):
4363 * tools/gst-typefind.c: (main):
4364 Use GstClockTime in _get_state() instead of GTimeVal.
4365 Remove old code in gstutils.c
4367 2005-10-12 Andy Wingo <wingo@pobox.com>
4369 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4372 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4373 there is no task. Shouldn't affect any code, as nothing in our
4374 plugins checks this return value.
4375 (gst_pad_stop_task): Also take the stream lock if the pad has no
4378 2005-10-12 Wim Taymans <wim@fluendo.com>
4380 * gst/gstpad.c: (pre_activate), (post_activate),
4381 (gst_pad_activate_pull), (gst_pad_activate_push):
4382 Cleanup activation code. Reset old state if
4385 2005-10-12 Wim Taymans <wim@fluendo.com>
4387 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4388 (gst_base_sink_change_state):
4389 No need to prerol after receiving EOS.
4391 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4392 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4393 * gst/elements/gstidentity.c: (gst_identity_event):
4394 Print events more verbosely.
4396 2005-10-12 Wim Taymans <wim@fluendo.com>
4398 * check/Makefile.am:
4399 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4400 * check/states/sinks2.c:
4401 Moved sinks2 testcode in sinks check.
4403 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4404 (gst_bin_remove_func), (gst_bin_recalc_state),
4405 (gst_bin_change_state_func), (bin_bus_handler):
4406 Fix potential race condition when _get_state() iterated over an
4407 ASYNC element right before it posted a state completion.
4410 Do proper cast here.
4412 * gst/gstevent.c: (gst_event_new_newsegment),
4413 (gst_event_parse_newsegment):
4414 A playback rate of 0.0 is not allowed.
4416 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4418 * win32/common/config.h:
4419 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4420 (_trewinddir), (_ttelldir), (_tseekdir):
4421 * win32/common/dirent.h:
4422 * win32/common/gtchar.h:
4423 * win32/common/libgstbase.def:
4424 * win32/common/libgstreamer.def:
4425 * win32/vs6/grammar.dsp:
4426 * win32/vs6/gst_inspect.dsp:
4427 * win32/vs6/gst_launch.dsp:
4428 * win32/vs6/gstreamer.dsw:
4429 * win32/vs6/libgstbase.dsp:
4430 * win32/vs6/libgstelements.dsp:
4431 * win32/vs6/libgstreamer.dsp:
4432 Visual Studio 6 project files, and a new common directory.
4435 2005-10-11 Wim Taymans <wim@fluendo.com>
4437 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4438 (gst_base_sink_do_sync), (gst_base_sink_query),
4439 (gst_base_sink_change_state):
4440 * gst/base/gstbasesink.h:
4441 Correctly parse newsegment info.
4443 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4445 * gst/gst.c: (init_post):
4446 split plugin paths correctly
4448 2005-10-11 Wim Taymans <wim@fluendo.com>
4450 * check/gst/gstevent.c: (GST_START_TEST):
4451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4452 (gst_base_sink_change_state):
4453 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4454 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4455 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4456 * gst/gstevent.c: (gst_event_new_newsegment),
4457 (gst_event_parse_newsegment):
4459 Added extra flag to newsegment for future API freeze.
4460 Updated check and base elements.
4462 2005-10-11 Julien MOUTTE <julien@moutte.net>
4464 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4465 (gst_collectpads_add_pad), (gst_collectpads_pop),
4466 (gst_collectpads_event), (gst_collectpads_chain):
4467 * gst/base/gstcollectpads.h: Handle EOS correctly.
4469 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4471 * tools/gst-launch.c: (main):
4472 more null protecting
4474 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4476 * gst/gst-i18n-lib.h:
4477 check for ENABLE_NLS, not GETTEXT_PACKAGE
4478 * gst/gstregistry.c: (gst_registry_add_plugin),
4479 (gst_registry_scan_path_level),
4480 (_gst_registry_remove_cache_plugins):
4481 protect possibly NULL strings
4482 * gst/parse/types.h:
4483 config.h already included before
4484 * tools/gst-inspect.c: (main):
4485 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4486 check for ENABLE_NLS, not GETTEXT_PACKAGE
4487 * tools/gst-launch.c: (main):
4488 check for ENABLE_NLS, not GETTEXT_PACKAGE
4490 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4493 if we don't have glib, fail before testing 2.8
4494 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4495 fix a leak, should fix plugins-base testsuite
4497 2005-10-11 Andy Wingo <wingo@pobox.com>
4499 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4500 take the mode we're going to as an arg. Go head and set the mode
4501 and flushing flags now, so that if the activate function starts a
4502 thread all the flags will be in the right state.
4503 (post_activate): Renamed also. Just handle making sure streaming
4504 finishes for the deactivation case, and setting the deactivated
4506 (gst_pad_set_active): Complain loudly if deactivation fails.
4507 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4508 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4509 remove the terrible hack.
4511 2005-10-11 Wim Taymans <wim@fluendo.com>
4513 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4514 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4515 (gst_bin_recalc_state), (gst_bin_change_state_func),
4516 (gst_bin_dispose), (bin_bus_handler):
4518 Prepare to make current EOS message queue more generic.
4521 * gst/gstevent.c: (gst_event_new_newsegment),
4522 (gst_event_parse_newsegment):
4524 Rename base to stream_time.
4529 2005-10-11 Wim Taymans <wim@fluendo.com>
4531 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4532 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4533 (gst_bin_change_state_func), (bin_bus_handler):
4535 Work on proper clock selection.
4537 2005-10-11 Edward Hervey <edward@fluendo.com>
4539 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4540 * libs/gst/controller/gstcontroller.h:
4541 Added GList* version of _remove_properties() in order to be able to wrap
4544 2005-10-11 Wim Taymans <wim@fluendo.com>
4546 * docs/design/part-states.txt:
4549 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4550 (gst_bin_change_state_func), (bin_bus_handler):
4551 Doc updates. Don't distribute the same clock over and over again.
4557 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4558 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4559 (gst_pad_send_event):
4561 Make probe emission threadsafe again.
4562 Register quarks and move _get_name() from utils.
4565 * gst/gstpipeline.c: (gst_pipeline_class_init),
4566 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4567 Only redistribute the clock of it changed.
4569 * gst/gstsystemclock.h:
4574 Moved the _flow_get_name() to GstPad.
4576 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4578 * check/gst-libs/gdp.c: (GST_START_TEST):
4579 * check/gst/gstcaps.c: (GST_START_TEST):
4580 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4581 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4582 (gst_dp_packet_from_caps):
4583 fix more valgrind warnings before turning up the heat
4585 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4587 * gst/parse/grammar.y:
4588 some cleanup before the hacking
4590 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4592 * gst/base/gstbasesrc.c: (gst_base_src_query):
4594 * gst/gstutils.c: (gst_guint64_to_gdouble),
4595 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4597 externalize, basesrc uses it
4598 obviously the implementation needs testing
4600 2005-10-10 Wim Taymans <wim@fluendo.com>
4602 * tests/sched/Makefile.am:
4603 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4604 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4606 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4608 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4609 apparently converting from guint64 to double is not implemented
4612 2005-10-10 Wim Taymans <wim@fluendo.com>
4614 * check/Makefile.am:
4615 * check/generic/states.c: (GST_START_TEST):
4616 * check/gst/gstbin.c: (GST_START_TEST):
4617 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4618 * check/states/sinks.c: (GST_START_TEST):
4619 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4621 Check fixes, use API as stated in design docs, remove hacks.
4623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4624 (gst_base_sink_change_state):
4625 Catch stopping our task while we're shutting down.
4627 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4628 (gst_bin_remove_func), (gst_bin_get_state_func),
4629 (gst_bin_recalc_state), (gst_bin_change_state_func),
4632 * gst/gstelement.c: (gst_element_init),
4633 (gst_element_get_state_func), (gst_element_abort_state),
4634 (gst_element_commit_state), (gst_element_lost_state),
4635 (gst_element_set_state), (gst_element_change_state),
4636 (gst_element_change_state_func):
4638 New state change algorithm (see #318116)
4640 * gst/gstpipeline.c: (gst_pipeline_class_init),
4641 (gst_pipeline_init), (gst_pipeline_set_property),
4642 (gst_pipeline_get_property), (do_pipeline_seek),
4643 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4644 * gst/gstpipeline.h:
4645 Remove crude state change hacks.
4650 * tools/gst-launch.c: (main):
4651 Fixes for state change. Needs some more work to fully use the
4654 2005-10-10 Andy Wingo <wingo@pobox.com>
4656 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4658 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4659 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4662 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4664 * gst/gstiterator.c: (gst_iterator_new):
4665 Fix my previous commit: GTypes passed to gst_iterator_new()
4666 can be fundamental types.
4668 2005-10-10 Wim Taymans <wim@fluendo.com>
4670 * gst/gstelement.c: (gst_element_iterate_pad_list),
4671 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4672 (gst_element_iterate_sink_pads):
4673 Use src/sink pads lists for the respective iterators instead
4676 2005-10-10 Andy Wingo <wingo@pobox.com>
4678 Merged in popt removal + GOption addition patch from Ronald, bug
4681 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4682 GstElement macros around, remove popt-related symbols, add goption
4685 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4687 * docs/gst/Makefile.am:
4688 * docs/libs/Makefile.am: No POPT_CFLAGS.
4690 * examples/manual/Makefile.am:
4691 * docs/manual/basics-init.xml: Doc updates with an example.
4693 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4694 (gst_init), (parse_one_option), (parse_goption_arg):
4695 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4696 bit of hand merging and debugging to get the GOption stuff working
4699 * tests/Makefile.am:
4700 * tools/Makefile.am:
4701 * tools/gst-inspect.c: (main):
4702 * tools/gst-launch.c: (main):
4703 * tools/gst-run.c: (main):
4704 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4706 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4708 * gst/gstiterator.c: (gst_iterator_new):
4709 Add assertions to make sure passed GType is likely to really
4710 be a GType (as the compiler won't catch it if the size and
4711 GType arguments get mixed up, see #318447).
4713 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4715 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4717 * gst/gstbin.c: (gst_bin_iterate_sorted):
4718 Pass GType and size arguments to gst_iterator_new() in the right
4719 order (maybe we should make _new() take the GType as first argument
4720 just like _new_list()?) (#318447).
4723 2005-10-10 Wim Taymans <wim@fluendo.com>
4725 * gst/gstelement.c: (gst_element_finalize):
4726 And free the GStaticRecMutex too
4728 2005-10-10 Andy Wingo <wingo@pobox.com>
4730 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4731 Allocate and free the mutex properly.
4733 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4735 (GstElement): The state_lock is now recursive. Rebuild your
4736 plugins, suckers. Old macros adapted.
4738 * docs/gst/gstreamer-sections.txt: Doc updates.
4741 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4742 (g_static_rec_cond_wait): Ported from state changes patch, while
4743 we wait on bug #317802 to be solved in a well-distributed GLib.
4745 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4746 gst_element_change_state, variable name changes.
4747 (gst_element_change_state): Split out of gst_element_set_state in
4748 preparation for the state change merge. Doesn't pay attention to
4749 the 'transition' argument.
4750 (gst_element_set_state): Updates, hopefully purely cosmetic.
4751 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4753 (gst_element_get_state_func): Renamed from get_state, cosmetic
4756 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * gst/elements/gstelements.c:
4759 * win32/GStreamer.vcproj:
4761 * win32/dirent.c: (_tseekdir):
4762 * win32/gst-inspect.vcproj:
4763 * win32/gst-launch.vcproj:
4764 * win32/gstconfig.h:
4765 * win32/gstelements.vcproj:
4766 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4767 * win32/gstreamer.def:
4769 updates for the win32 build (patch from Sebastien Moutte)
4771 2005-10-10 Andy Wingo <wingo@pobox.com>
4773 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4774 gst_bin_get_state, cleaned up (but no logic changes).
4775 (bin_element_is_sink): Comment updates.
4776 (sink_iterator_filter): Remove needless cast.
4777 (gst_bin_iterate_sinks): Doc update.
4778 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4779 cleaned up (but no logic changes).
4781 * check/states/sinks.c (test_src_sink): Cleanups from the state
4783 (test_livesrc_sink): Sync on the state.
4785 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4786 the state change patch.
4788 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4791 * check/gst/gstbin.c: Merge in some style fixes and additional
4792 checks from Wim's state change patch.
4794 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4796 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4797 (gst_type_find_helper):
4798 Check whether we have the requested data already in our list of
4799 cached buffers before pulling a new buffer; also make the buffer
4800 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4802 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4807 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4808 don't use long long, it's not portable. Replacing with
4809 gint64 seems to work; let's hope no skeletons fall out of the closet.
4811 2005-10-10 Andy Wingo <wingo@pobox.com>
4813 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4815 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4817 * docs/gst/gstreamer-sections.txt:
4822 * gst/gstmessage.c: (gst_message_parse_state_changed):
4825 more docs, fix compilation
4827 2005-10-09 Philippe Khalaf <burger@speedy.org>
4829 Fixed a few forgotten variables on previous commit
4831 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4833 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4834 Fix evil typefind crasher: getrange() might return a short
4835 buffer at the end of a file, but gst_type_find_peek() must
4836 either return the full data as requested or NULL, but
4837 never a short buffer.
4839 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4841 * gst/gstmessage.c: (gst_message_new_state_changed),
4842 (gst_message_parse_state_changed):
4844 don't use "new", it's a C++ keyword
4846 2005-10-08 Wim Taymans <wim@fluendo.com>
4848 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4849 * gst/gstelement.c: (gst_element_post_message):
4850 * gst/gstpipeline.c: (gst_pipeline_change_state):
4851 Small docs and debug updates.
4853 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4855 * docs/gst/gstreamer-sections.txt:
4856 * gst/gstelementfactory.c:
4861 2005-10-08 Wim Taymans <wim@fluendo.com>
4863 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4864 (gst_bin_dispose), (bin_bus_handler):
4865 Fix typos, add comments.
4866 Clear EOS list when going to PAUSED from any direction and do it
4867 in a threadsafe way.
4868 Get base time in a threadsafe way too.
4869 Fix confusing debug in the change_state function.
4870 Various other small cleanups.
4872 * gst/gstelement.c: (gst_element_post_message):
4873 Fix very verbose bus posting code.
4875 * gst/gstpipeline.c: (gst_pipeline_class_init),
4876 (gst_pipeline_set_property), (gst_pipeline_get_property),
4877 (gst_pipeline_change_state):
4878 Small ARG_ -> PROP_ cleanup
4880 2005-10-08 Wim Taymans <wim@fluendo.com>
4882 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4883 Do a less CPU demanding EOS check because we can.
4885 2005-10-08 Wim Taymans <wim@fluendo.com>
4887 * libs/gst/dataprotocol/dataprotocol.c:
4888 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4889 (gst_dp_packet_from_event):
4890 * libs/gst/dataprotocol/dataprotocol.h:
4891 * libs/gst/dataprotocol/dp-private.h:
4892 It's about time we bump the version number.
4893 Since event types don't fit in the guint8 anymore describing
4894 the payload type, make payload type 16 bits wide.
4896 2005-10-08 Wim Taymans <wim@fluendo.com>
4898 * docs/design/part-TODO.txt:
4899 * docs/design/part-clocks.txt:
4900 * docs/design/part-events.txt:
4901 * docs/design/part-gstbin.txt:
4902 * docs/design/part-gstelement.txt:
4903 * docs/design/part-gstpipeline.txt:
4904 * docs/design/part-live-source.txt:
4905 * docs/design/part-messages.txt:
4906 * docs/design/part-overview.txt:
4907 * docs/design/part-states.txt:
4910 2005-10-08 Wim Taymans <wim@fluendo.com>
4914 Fix event quark registration.
4915 Add some space between events so we can insert them in the
4918 2005-10-08 Wim Taymans <wim@fluendo.com>
4920 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4921 (gst_base_sink_handle_buffer):
4928 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4929 (gst_queue_set_property), (gst_queue_get_property):
4931 Remove old unused properties.
4933 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4934 * docs/gst/gstreamer-sections.txt:
4937 * gst/gstminiobject.c:
4938 * gst/gstminiobject.h:
4942 lots of new docs and doc fixes
4944 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4946 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4948 * gst/gstregistry.c: (gst_registry_lookup_locked),
4949 (gst_registry_scan_path_level):
4950 * gst/gstregistryxml.c: (load_plugin):
4951 Only ever load one plugin for a given plugin basename.
4952 This ensures correct overriding of GST_PLUGIN_PATH over
4953 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4954 system installed plugins.
4956 2005-10-08 Wim Taymans <wim@fluendo.com>
4958 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4959 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4960 Prepare for doing QOS.
4962 2005-10-08 Wim Taymans <wim@fluendo.com>
4964 * check/gst/gstbin.c: (GST_START_TEST):
4965 * check/pipelines/cleanup.c: (GST_START_TEST):
4966 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4967 Allow new clock message too.
4969 2005-10-08 Wim Taymans <wim@fluendo.com>
4971 * gst/gstmessage.c: (gst_message_new_error),
4972 (gst_message_new_warning), (gst_message_new_tag),
4973 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4974 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4975 (gst_message_new_segment_start), (gst_message_new_segment_done),
4976 (gst_message_parse_state_changed),
4977 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4978 (gst_message_parse_new_clock):
4980 Also carry the clock in question.
4982 2005-10-08 Wim Taymans <wim@fluendo.com>
4984 * gst/gstmessage.c: (gst_message_new_custom),
4985 (gst_message_new_eos), (gst_message_new_error),
4986 (gst_message_new_warning), (gst_message_new_tag),
4987 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4988 (gst_message_new_new_clock), (gst_message_new_segment_start),
4989 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4990 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4993 Added clock related messages.
4995 * gst/gstpipeline.c: (gst_pipeline_change_state):
4996 Post message when the clock changed.
4998 * tools/gst-launch.c: (event_loop):
5001 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5003 * tools/gst-inspect.c: (print_element_properties_info):
5004 Can't pass NULL strings to g_print() on windows.
5006 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5009 * docs/gst/Makefile.am:
5010 * docs/gst/gstreamer-docs.sgml:
5011 * docs/gst/running.xml:
5012 * docs/version.entities.in:
5013 add a chapter on running GStreamer.
5014 document GST_DEBUG and GST_PLUGIN* env vars
5016 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5021 remove PLUGINS_BUILDDIR stuff
5022 * gst/gst.c: (init_post):
5023 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5025 remove, it was condescending and not needed
5027 2005-10-08 Wim Taymans <wim@fluendo.com>
5029 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5030 (gst_base_sink_handle_object), (gst_base_sink_event),
5031 (gst_base_sink_wait), (gst_base_sink_handle_event),
5032 (gst_base_sink_change_state):
5033 * gst/base/gstbasesink.h:
5034 Repost EOS message while going to PLAYING if still EOS.
5035 Make sure that when receiving a FLUSH_START we don't attempt
5036 to sync on the clock anymore.
5038 2005-10-08 Wim Taymans <wim@fluendo.com>
5040 * tools/gst-launch.c: (event_loop):
5041 Better message printout.
5043 2005-10-08 Wim Taymans <wim@fluendo.com>
5045 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5046 (gst_bin_child_proxy_get_children_count):
5047 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5048 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5049 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5050 (gst_child_proxy_set_valist):
5051 * gst/parse/grammar.y:
5052 Make ChildProxy threadsafe and fix mem leaks.
5054 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5056 * gst/gst.c: (init_post):
5057 debug the GST_PLUGIN_ env vars
5059 2005-10-08 Wim Taymans <wim@fluendo.com>
5061 * check/gst/gstbin.c: (GST_START_TEST):
5062 * check/gst/gstmessage.c: (GST_START_TEST):
5063 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5064 * gst/gstelement.c: (gst_element_commit_state),
5065 (gst_element_lost_state):
5066 * gst/gstmessage.c: (gst_message_new_state_changed),
5067 (gst_message_parse_state_changed):
5069 * tools/gst-launch.c: (event_loop):
5070 Added extra field to STATE_CHANGE message with the pending
5071 state, which will be different from the new state soon.
5073 2005-10-08 Wim Taymans <wim@fluendo.com>
5075 * gst/gstbus.c: (gst_bus_pop):
5077 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5078 Small cleanups and doc updates.
5080 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5082 * gst/gst.c: (init_pre):
5083 * gst/gstbin.c: (gst_bin_add_func):
5084 log distributing clocks and base time
5085 * gst/gstregistry.c: (gst_registry_add_plugin),
5086 (gst_registry_scan_path_level), (gst_registry_scan_path):
5087 clean up the debugging output a little
5088 * gst/gstutils.c: (gst_element_state_get_name):
5089 warn about a memleak (I've actually seen this be used, though
5090 it was probably a bug)
5092 2005-10-07 Wim Taymans <wim@fluendo.com>
5094 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5095 (gst_base_src_init), (gst_base_src_default_newsegment),
5096 (gst_base_src_newsegment), (gst_base_src_do_seek),
5097 (gst_base_src_loop), (gst_base_src_start):
5098 * gst/base/gstbasesrc.h:
5099 Make the newsegment event customizable by subclasses.
5101 2005-10-07 Wim Taymans <wim@fluendo.com>
5103 * gst/gstevent.c: (gst_event_new_buffersize),
5104 (gst_event_parse_buffersize):
5106 New event for future idea.
5108 2005-10-07 Andy Wingo <wingo@pobox.com>
5110 * gst/gstelement.c (gst_element_post_message): Doc update.
5112 * docs/gst/gstreamer-sections.txt: Update.
5114 * gst/gstmessage.c (gst_message_new_application): Made into a
5115 function like honest API calls.
5116 (gst_message_new_element): New message type.
5118 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5120 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5121 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5124 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5125 NO_PREROLL from gst_element_change_state to fall through.
5127 2005-10-07 Wim Taymans <wim@fluendo.com>
5129 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5130 (gst_ghost_pad_do_activate_push):
5131 Activating a ghostpad with no internal pad in push mode
5134 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5137 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5138 Fixes compilation on Windows.
5140 2005-10-07 Michael Smith <msmith@fluendo.com>
5142 * tools/gst-inspect.c:
5143 Print out feature and plugin count at the end when printing out
5146 2005-10-04 Michael Smith <msmith@fluendo.com>
5148 * gst/gsterror.c: (_gst_stream_errors_init):
5149 Add another error string used in a few existing plugins.
5152 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5153 * tools/gst-inspect.c: (print_element_info):
5154 When a feature disappears from a plugin (and the feature exists in
5155 the cached registry file), things went horribly wrong. This isn't a
5156 complete fix, we should actually be removing the 'missing' features
5157 from the features list when we load the actual plugin. That's not
5160 2005-10-04 Johan Dahlin <johan@gnome.org>
5162 * check/gst/gstiterator.c: (GST_START_TEST):
5163 * gst/gstbin.c: (gst_bin_iterate_elements),
5164 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5165 * gst/gstelement.c: (gst_element_iterate_pads):
5166 * gst/gstformat.c: (gst_format_iterate_definitions):
5167 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5168 (gst_iterator_new_list), (gst_iterator_filter):
5169 * gst/gstiterator.h:
5170 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5171 Add a GType to GstIterator, update callsites and tests.
5173 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5175 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5176 give events a chance to be handled by event probes when the pad
5179 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5181 * gst/gstevent.c: (gst_event_type_get_name),
5182 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5184 add string representations for event types
5186 2005-10-06 Wim Taymans <wim@fluendo.com>
5188 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5189 Don't use NULL pointers.
5191 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5193 * gst/gst_private.h:
5197 * gst/gstpluginfeature.c:
5198 widen the debug category in output to fit the biggest one we have
5199 add a bus category and use it
5200 play with the colors
5201 fix up some categories
5203 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5205 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5206 add push activation of sink ghost pads.
5207 Andye, please verify
5209 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5211 * gst/gstutils.c: (gst_element_link_pads):
5212 fix a bug in the case where neither element has a pad
5213 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5214 add a test for that case
5216 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5218 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5219 emit have-data before checking for peers. This allows
5220 for probe handlers to connect elements. This helps autopluggers.
5221 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5223 add six checks, linked/unlinked with no/true/false probe
5225 2005-10-04 Wim Taymans <wim@fluendo.com>
5227 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5228 (gst_fake_sink_event), (gst_fake_sink_preroll),
5229 (gst_fake_sink_render), (gst_fake_sink_change_state):
5230 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5231 (gst_fake_src_get_property), (gst_fake_src_create),
5232 (gst_fake_src_stop):
5233 * gst/elements/gstidentity.c: (gst_identity_stop):
5234 Protect last_message with lock.
5236 2005-10-04 Edward Hervey <edward@fluendo.com>
5239 Added precision in the comments for GST_FORMAT_DEFAULT
5241 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5243 * tools/gst-launch.c: (main):
5244 Don't try to run erroneous pipelines.
5246 2005-10-04 Julien MOUTTE <julien@moutte.net>
5248 * gst/gstbus.c: We don't need this header.
5250 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5255 === release 0.9.3 ===
5257 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5261 Releasing 0.9.3, "Unregistered"
5263 2005-10-03 Andy Wingo <wingo@pobox.com>
5265 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5266 whereby calling a pad's activatepush() function can start a thread
5267 that starts to push or pull before the pad gets the FLUSHING flag
5268 unset. Hack around it by holding the stream lock until the flag is
5269 set. Need to replace this with a proper solution. Together with
5270 the ghost pad fixes, this fixes mp3 playing/tagreading.
5272 * docs/design/part-gstghostpad.txt: Add a note about activation of
5273 proxy pads outside of ghost pads.
5275 * gst/gstghostpad.c: Implement the ghost pad activation design.
5277 2005-10-02 Andy Wingo <wingo@pobox.com>
5279 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5280 It is volatile, after all.
5282 * docs/design/part-gstghostpad.txt: Flesh out activation with
5285 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5288 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5291 Fix (unused) AM_CONDITIONAL tests.
5293 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5295 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5297 * gst/gstutils.c: (gst_pad_query_convert):
5298 Add assertion that makes sure src_val is >=0, just like
5299 gst_query_new_convert() has. (#315895)
5301 2005-09-30 Edward Hervey <edward@fluendo.com>
5303 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5304 Let's not iterate pads we're not interested in, it avoids getting
5305 sky-high refcounts on sinkpad.
5307 2005-09-30 Wim Taymans <wim@fluendo.com>
5309 * gst/gstelement.c: (gst_element_set_state),
5310 (gst_element_change_state):
5311 Small tweak, element in ASYNC remains ASYNC.
5313 2005-09-30 Wim Taymans <wim@fluendo.com>
5315 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5316 Only error is an error.
5318 * gst/gstbin.c: (gst_bin_change_state):
5321 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5322 Also call pad_block in pad alloc.
5324 * gst/gstutils.c: (gst_flow_get_name):
5327 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5329 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5330 (gst_base_src_get_range):
5331 Fix documentation typos. Add some more debug info.
5333 2005-09-29 David Schleef <ds@schleef.org>
5335 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5336 more end-user friendly.
5337 * tools/gst-inspect.c: (main): Check if command-line argument is
5338 a file and attempt to load that file as a plugin.
5340 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5342 * check/gst/gstbin.c:
5343 * check/states/sinks.c:
5344 fix tests for the new warning
5345 * check/gst/gstpipeline.c:
5346 add a test for pipeline and bus interaction
5348 elements should be NULL if they get disposed; add a warning if not
5350 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5353 for 2.6 refcounting, make debug log more correct by printing
5354 the actual refcounts at the time of swap (Wim)
5356 2005-09-29 Andy Wingo <wingo@pobox.com>
5358 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5359 removes signal watches previously added via
5360 gst_bus_add_signal_watch.
5361 (gst_bus_add_signal_watch): Don't return the source id, just store
5362 it on the bus if there wasn't an id already.
5364 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5365 add_signal_watch and remove_signal_watch.
5367 2005-09-29 Edward Hervey <edward@fluendo.com>
5369 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5370 Better if we actually iterate the list :)
5372 2005-09-29 Wim Taymans <wim@fluendo.com>
5374 * check/gst/gstbin.c: (GST_START_TEST):
5375 Change for new bus API.
5377 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5378 (send_messages), (GST_START_TEST), (gstbus_suite):
5379 Change for new bus signal API.
5381 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5382 (gst_bus_source_prepare), (gst_bus_source_check),
5383 (gst_bus_create_watch), (gst_bus_add_watch_full),
5384 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5385 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5387 Remove support for multiple GSources operating on different
5388 message types as it is too complex and unneeded when using
5390 Added support for receiving signals from the bus.
5392 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5394 * docs/libs/tmpl/gstdataprotocol.sgml:
5395 * docs/manual/advanced-dataaccess.xml:
5396 * gst/elements/gstcapsfilter.c:
5398 rename filter-caps to caps property
5400 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5402 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5403 More robust fraction string parsing.
5405 * docs/pwg/appendix-porting.xml:
5406 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5408 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5410 * gst/gstcaps.c: (gst_caps_do_simplify):
5411 Thou shalt not free a structure and then continue using it
5412 in the next loop iteration.
5414 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5416 Add test case for caps simplification.
5418 2005-09-29 Wim Taymans <wim@fluendo.com>
5420 * check/gst/gstbin.c: (GST_START_TEST):
5423 2005-09-29 Wim Taymans <wim@fluendo.com>
5425 * check/gst/gstbin.c: (GST_START_TEST):
5428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5429 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5430 (find_element), (gst_bin_sort_iterator_next),
5431 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5432 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5433 (gst_bin_change_state), (gst_bin_dispose):
5434 A bin does not have a bus, it gets the bus from the parent.
5436 * gst/gstelement.c: (gst_element_requires_clock),
5437 (gst_element_provides_clock), (gst_element_is_indexable),
5438 (gst_element_is_locked_state), (gst_element_change_state),
5439 (gst_element_set_bus_func):
5442 * gst/gstpipeline.c: (gst_pipeline_class_init),
5443 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5444 The pipeline provides a bus.
5446 2005-09-28 Johan Dahlin <johan@gnome.org>
5448 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5449 gst_structure_get_enum instead of gst_structure_get_int
5451 * gst/gststructure.c (gst_structure_get_enum): Impl.
5453 * gst/gststructure.h (gst_structure_get_enum): Add
5455 * docs/gst/gstreamer-sections.txt: Ditto
5457 * gst/gstmessage.c (gst_message_new_state_changed): Use
5458 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5459 which does introspection.
5460 Reviewed by Christian Schaller
5462 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5464 * gst/gstinfo.c: (gst_debug_log_default):
5465 don't do dummy g_strdup()s
5466 * libs/gst/controller/gstcontroller.c:
5467 (on_object_controlled_property_changed),
5468 (gst_controlled_property_new), (gst_controller_new_valist),
5469 (gst_controller_new_list),
5470 (gst_controller_remove_properties_valist), (gst_controller_set),
5471 (gst_controller_get), (gst_controller_sync_values),
5472 (gst_controller_get_value_array), (_gst_controller_class_init),
5473 (gst_controller_get_type):
5474 * libs/gst/controller/gstcontroller.h:
5475 * libs/gst/controller/gstinterpolation.c:
5476 (gst_controlled_property_find_timed_value_node):
5477 convert // to /**/ comments
5479 2005-09-28 Wim Taymans <wim@fluendo.com>
5481 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5482 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5483 (gst_bus_sync_signal_handler):
5485 Added async-message and sync-message signals to the bus.
5486 Added helper BusFunc to emit signals for all posted messages.
5488 * gst/gstmessage.c: (gst_message_type_get_name),
5489 (gst_message_type_to_quark), (gst_message_get_type):
5491 Register quarks for message names.
5493 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5495 * docs/libs/gstreamer-libs-sections.txt:
5496 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5497 (gst_controller_new_list):
5498 * libs/gst/controller/gstcontroller.h:
5499 added another constructor for language bindings
5501 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5503 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5507 * gst/gstinfo.c: (_gst_debug_init):
5508 slightly more readable color for refcount debugging
5510 2005-09-28 Wim Taymans <wim@fluendo.com>
5512 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5513 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5514 (find_element), (gst_bin_sort_iterator_next),
5515 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5516 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5517 (gst_bin_change_state), (gst_bin_dispose):
5518 Small doc fixes. get_clock -> provide_clock.
5520 * gst/gstelement.c: (gst_element_class_init),
5521 (gst_element_provides_clock), (gst_element_provide_clock),
5522 (gst_element_get_clock), (gst_element_commit_state),
5523 (gst_element_lost_state):
5525 Make get/set_clock() symetric. Add provide_clock vmethod since
5526 that is actually what this function does.
5528 * gst/gstpipeline.c: (gst_pipeline_class_init),
5529 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5530 (gst_pipeline_get_clock):
5531 get_clock -> provide_clock.
5533 2005-09-28 Andy Wingo <wingo@pobox.com>
5535 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5536 lieu of real docs...
5538 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5540 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5542 * gst/elements/gstcapsfilter.c:
5543 * gst/elements/gstfakesink.c:
5544 * gst/elements/gstfakesrc.c:
5545 * gst/elements/gstfdsink.c:
5546 * gst/elements/gstfdsrc.c:
5547 * gst/elements/gstfilesink.c:
5548 * gst/elements/gstfilesrc.c:
5549 * gst/elements/gstidentity.c:
5550 * gst/elements/gsttee.c:
5551 * gst/elements/gsttypefindelement.c:
5552 Make element details static.
5554 2005-09-28 Wim Taymans <wim@fluendo.com>
5556 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5557 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5558 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5559 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5560 (gst_bin_change_state), (gst_bin_dispose):
5561 Some documentation updates.
5562 Clean up dispose handlers.
5564 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5565 * gst/gstpad.c: (gst_pad_dispose):
5566 Clean up dispose handler.
5568 * gst/gstpipeline.c: (gst_pipeline_change_state):
5569 Removed spurious UNLOCK.
5571 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5573 * docs/gst/gstreamer-sections.txt:
5574 * gst/base/gstbasesrc.h:
5579 * gst/gstpipeline.c:
5580 * gst/gstpipeline.h:
5583 added two new functions to the docs
5584 documents all undocumented GstXXXFlags
5585 completed some incomplete docs
5587 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5589 * gst/gstbin.c: (gst_bin_dispose):
5590 * gst/gstelement.c: (gst_element_dispose):
5591 remove now useless and leaky resurrection code in dispose
5592 * gst/base/gstbasesrc.c: (gst_base_src_init):
5593 * gst/gstelementfactory.c: (gst_element_factory_create):
5594 * gst/gstobject.c: (gst_object_set_parent):
5597 2005-09-27 Wim Taymans <wim@fluendo.com>
5599 * docs/design/part-TODO.txt:
5602 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5603 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5604 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5605 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5606 (gst_bin_change_state):
5608 Remove element variable, we keep element info in the iterator now.
5610 2005-09-27 Andy Wingo <wingo@pobox.com>
5612 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5615 2005-09-27 Wim Taymans <wim@fluendo.com>
5617 * check/gst/gstbin.c: (GST_START_TEST):
5618 Enable check that works now.
5620 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5621 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5622 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5623 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5624 (gst_bin_change_state):
5626 Redid the state change algorithm using a topological sort algo.
5627 Handles all cases correctly.
5628 Exposed iterator for state change order.
5631 Temp storage for state changes. Need to get rid of this soon.
5633 2005-09-27 Wim Taymans <wim@fluendo.com>
5635 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5636 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5637 (link_fold_func), (gst_pad_proxy_setcaps):
5638 Leak fixes, the fold functions need to unref the passed object and
5639 _get_parent_*() returns ref to parent.
5641 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5643 * check/gst/gstbuffer.c: (test_make_writable):
5644 Plug leak in test case and fix 'make check-valgrind'
5646 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5648 * gst/gstbuffer.c: (gst_subbuffer_init):
5649 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5650 works correctly in all circumstances (we could have just copied
5651 the parent buffer's readonly flag, but conceptually it seems
5652 cleaner to mark all subbuffers as read-only). (based on patch
5653 by Alessandro Decina, #314710).
5655 * check/gst/gstbuffer.c: (create_read_only_buffer),
5656 (test_make_writable), (test_subbuffer_make_writable),
5658 Add some tests for gst_buffer_make_writable().
5660 2005-09-27 Wim Taymans <wim@fluendo.com>
5662 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5663 use gst_object_has_ancestor().
5665 * gst/gstobject.c: (gst_object_has_ancestor):
5667 gst_object_has_ancestor() copied from gstbin.c as it is a
5670 * tests/instantiate/create.c: (create_all_elements):
5671 * tests/lat.c: (handoff_src), (handoff_sink):
5672 * tests/sched/runxml.c: (main):
5673 * tests/seeking/seeking1.c: (main):
5674 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5676 Fix compilation of some tests.
5678 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5681 Remove comment. GST_TYPE_G_ERROR is here to stay,
5682 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5685 2005-09-26 Wim Taymans <wim@fluendo.com>
5687 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5688 Added check that shows error in state change order.
5690 2005-09-26 Wim Taymans <wim@fluendo.com>
5692 * gst/gstbin.c: (gst_bin_change_state):
5693 Make state change function use 3 queues again, we were
5694 adding elements in the wrong order.
5696 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5699 * gst/gstpad.c: (gst_pad_dispose):
5700 Added some debug info first.
5702 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5704 * docs/design/draft-push-pull.txt:
5705 * docs/design/part-events.txt:
5706 * docs/design/part-overview.txt:
5707 * docs/design/part-scheduling.txt:
5708 Replace all _pull_region() with _pull_range()
5710 2005-09-26 Andy Wingo <wingo@pobox.com>
5712 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5714 * check/gst-libs/controller.c: Update for controller api change.
5717 * tests/Makefile.am:
5718 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5719 over by GLib bug 118439.
5721 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5722 routines to a function.
5724 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5726 * libs/gst/controller/gsthelper.c:
5727 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5728 (gst_object_sync_values): Renamed from sink_values. Ugh.
5730 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5732 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5733 Renamed from controller_key, as it is exported.
5735 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5737 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5742 * gst/gstpadtemplate.h:
5745 * gst/gstqueryutils.c:
5746 * gst/gstqueryutils.h:
5747 remove queryutils headers after moving the two used functions
5748 to gstquery. also fixes build problem for gstsiddec
5750 2005-09-26 Michael Smith <msmith@fluendo.com>
5752 * tools/gst-launch.1.in:
5753 Correct documentation in manpage of debug syntax
5755 2005-09-26 Wim Taymans <wim@fluendo.com>
5757 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5758 (gst_base_src_is_seekable), (gst_base_src_change_state):
5759 Some more debugging info.
5761 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5763 * docs/gst/gstreamer-sections.txt:
5764 * gst/base/gstbasetransform.h:
5768 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5770 * docs/gst/.cvsignore:
5771 * docs/gst/tmpl/.cvsignore:
5772 * docs/gst/tmpl/gstpipeline.sgml:
5773 * docs/gst/tmpl/gstplugin.sgml:
5774 * gst/gstpipeline.c:
5777 inlined the last two docs files
5778 removed the tmpl directory from cvs (no more conflicts here!)
5780 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5782 * docs/gst/gstreamer-sections.txt:
5783 * docs/gst/tmpl/.cvsignore:
5784 * docs/gst/tmpl/gstpad.sgml:
5785 * docs/gst/tmpl/gstpadtemplate.sgml:
5787 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5788 (gst_pad_finalize), (gst_pad_set_pad_template):
5790 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5791 (gst_pad_template_class_init), (gst_pad_template_init),
5792 (gst_pad_template_dispose), (name_is_valid),
5793 (gst_static_pad_template_get), (gst_pad_template_new),
5794 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5795 (gst_pad_template_pad_created):
5796 * gst/gstpadtemplate.h:
5797 inlined two more docs
5798 factored gstpadtemplate out of gstpad
5800 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5802 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5803 (test_children_state_change_order_semi_sink):
5804 Fix test case: we can't rely on a fixed state change order when
5805 going from READY => PAUSED because the sink might commit its
5806 new state first when the first buffer created by the source
5807 reaches the sink before the source has finished its change state.
5808 (Test case still fails at times, see #316856, comment 5 onwards)
5810 2005-09-24 Wim Taymans <wim@fluendo.com>
5812 * docs/design/part-events.txt:
5813 * docs/design/part-gstbus.txt:
5814 * docs/design/part-gstpipeline.txt:
5815 * docs/design/part-messages.txt:
5816 * docs/design/part-overview.txt:
5817 * docs/design/part-segments.txt:
5824 * gst/gstiterator.c:
5825 Various documentation updates.
5827 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5830 Well, that's embarassing. Luckily we weren't using
5831 GST_CLOCK_DIFF anywhere.
5833 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5835 * common/gtk-doc.mak:
5836 don't fail on building XML, FC4 slave shows a bunch of doc
5837 missing bits that I don't get
5839 * gst/gstpipeline.c:
5840 * gst/gststructure.c:
5843 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5845 * docs/design/part-gstbin.txt:
5846 * docs/design/part-gstbus.txt:
5848 Add blurb about how the bus goes into flushing mode and
5849 drops all messages when its bin goes from READY into NULL
5852 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5854 * docs/gst/gstreamer-sections.txt:
5855 * gst/gststructure.c: (gst_structure_get_clock_time):
5856 * gst/gststructure.h:
5857 add a method to get a GstClockTime out of a structure
5859 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5861 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5862 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5863 Added test to check state change order in bins (can still be made
5864 to fail here under heavy disk load; bails out with 'Push on pad
5865 fakesink:sink0, but it was not activated in push mode').
5867 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5868 Fix state change order when there is only a semi sink (#316856)
5870 * gst/gstbus.c: (gst_bus_class_init):
5871 Use _class_peek_parent(), not _class_ref(); fix docs to say
5872 'default main context' instead of 'mainloop' where that is
5875 * gst/gstelement.c: (gst_element_commit_state),
5876 (gst_element_set_state):
5877 Fix typos in debug messages
5879 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5882 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5883 * gst/gstpluginfeature.c:
5886 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5887 change an assert into an error until it gets fixed properly
5889 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5891 * docs/gst/gstreamer-sections.txt:
5892 * docs/gst/tmpl/.cvsignore:
5893 * docs/gst/tmpl/gstelement.sgml:
5894 * docs/gst/tmpl/gstinfo.sgml:
5895 * docs/gst/tmpl/gstobject.sgml:
5900 * gst/gstobject.c: (gst_object_class_init):
5902 inlined 3 more biiiig doc files and added some missing docs on the fly
5904 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5906 * check/gst/.cvsignore:
5907 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5908 * gst/gstregistryxml.c: (load_plugin),
5909 (gst_registry_xml_save_plugin):
5910 put back source in registry. add checks for find_plugin.
5911 * testsuite/states/bin.c: (assert_state), (empty_bin),
5912 (test_adding_one_element), (main):
5913 * testsuite/states/locked.c: (main):
5914 some compile/run fixes
5916 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5918 * check/gst/gstvalue.c: (GST_START_TEST):
5919 fix leaks in the test itself
5921 2005-09-22 Wim Taymans <wim@fluendo.com>
5923 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5924 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5925 (gst_base_sink_query):
5926 Prepare for more accurate position reporting and query
5929 * gst/gstelement.c: (gst_element_send_event),
5930 (gst_element_set_state):
5933 2005-09-22 Wim Taymans <wim@fluendo.com>
5935 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5936 (gst_query_parse_segment):
5939 Add segment query for future use.
5941 2005-09-22 Wim Taymans <wim@fluendo.com>
5943 * gst/gstbin.c: (gst_bin_add_func):
5944 Some more debug info.
5946 * gst/gstelement.c: (gst_element_send_event):
5950 Don't know how flags got broken.
5955 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5957 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5958 Add simplistic test suite for GST_TYPE_DATE serialisation and
5961 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5963 * docs/gst/gstreamer-sections.txt:
5964 * gst/gststructure.c: (gst_structure_set_valist),
5965 (gst_structure_get_date):
5966 * gst/gststructure.h:
5967 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5968 (gst_date_copy), (gst_value_compare_date),
5969 (gst_value_serialize_date), (gst_value_deserialize_date),
5970 (gst_value_transform_date_string),
5971 (gst_value_transform_string_date), (_gst_value_initialize):
5973 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5974 bunch of utility functions along with a hack that checks that
5975 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5976 is required. Part of the grand scheme in #170777.
5978 2005-09-22 Andy Wingo <wingo@pobox.com>
5980 * gst/gstconfig.h.in: Psych out gtk-doc.
5982 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5984 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5986 * tools/gst-inspect.c (print_element_list): Plug some
5987 inconsequential leaks.
5989 * gst/gstregistry.c (gst_registry_get_default): Doc.
5991 * check/gst/gstplugin.c:
5992 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5993 * gst/gstelementfactory.c (gst_element_factory_create):
5994 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5997 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5998 (gst_plugin_feature_load): Doc, don't eat refs.
6000 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6001 (gst_plugin_list_free): Doc.
6002 (gst_plugin_load_file): Doc updates.
6004 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6005 accessors returning refcounted objects, return a ref.
6007 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6008 accessor for caps. IDEMPOTENCE. Oh yes.
6010 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6012 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6014 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6015 (_gst_debug_register_funcptr):
6016 Add mutex to serialise access to the hash table with
6017 the function pointer => function name string mapping;
6018 make that hash table static scope (#316809).
6020 * gst/registries/.cvsignore:
6021 Remove left-over file.
6023 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6025 * docs/pwg/appendix-porting.xml:
6026 And something about newsegment events and caps-on-buffers to
6027 the porting guide (feel free to improve).
6029 2005-09-21 Andy Wingo <wingo@pobox.com>
6031 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6032 data and event probes on the same pad.
6033 (test_buffer_probe_once): Test that removing probes from within
6034 the probe functions works.
6036 2005-09-21 Andy Wingo <wingo@pobox.com>
6038 * check/gst/gstutils.c: New file.
6039 (test_buffer_probe_n_times): A simple buffer probe test. More to
6042 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6043 have-data::buffer, not have-data.
6044 (gst_pad_add_event_probe): Likewise for have-data::event.
6045 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6046 peer' isn't quite right yet though.
6047 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6048 (gst_pad_remove_data_probe): Change to take the guint handler_id
6049 as their arg, not the function+data, which is more glib-like.
6051 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6052 the signal emission to indicate if the data is a buffer or an
6054 (gst_pad_get_type): Initialize buffer and event quarks.
6055 (gst_pad_class_init): have-data is now a detailed signal, yes it
6058 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6060 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6061 * gst/gstutils.c: (gst_util_set_value_from_string),
6062 (gst_util_set_object_arg):
6063 Don't put functional code in g_return_if_fail() or
6064 g_return_val_if_fail() statements, otherwise things will
6065 break when G_DISABLE_CHECKS is defined during compilation.
6067 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6069 * docs/gst/tmpl/.cvsignore:
6070 * docs/gst/tmpl/gstvalue.sgml:
6073 inlied another one and added some obvious docs
6075 2005-09-21 Wim Taymans <wim@fluendo.com>
6077 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6078 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6079 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6080 (gst_fdsrc_get_property), (gst_fdsrc_create):
6081 * gst/elements/gstfdsrc.h:
6082 Properly implement fdsrc. Removed signal and timeout,
6083 better implemented somewhere else.
6085 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6087 * docs/gst/tmpl/.cvsignore:
6088 * docs/gst/tmpl/gstimplementsinterface.sgml:
6089 * gst/gstinterface.c:
6092 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6094 * docs/gst/gstreamer-sections.txt:
6095 * docs/gst/tmpl/.cvsignore:
6096 * docs/gst/tmpl/gstenumtypes.sgml:
6097 remove obsolete doc file
6099 2005-09-21 David Schleef <ds@schleef.org>
6101 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6102 little beer, fix a little leak.
6104 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6106 * docs/gst/gstreamer-docs.sgml:
6107 * docs/gst/gstreamer-sections.txt:
6108 * docs/gst/tmpl/.cvsignore:
6113 * gst/gstindex.c: (gst_index_class_init):
6115 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6116 (gst_index_factory_class_init), (gst_index_factory_init),
6117 (gst_index_factory_finalize), (gst_index_factory_new),
6118 (gst_index_factory_destroy), (gst_index_factory_find),
6119 (gst_index_factory_create), (gst_index_factory_make):
6120 * gst/gstindexfactory.h:
6121 * gst/gstpluginfeature.c:
6122 * gst/gstpluginfeature.h:
6123 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6124 more docs inlined, splitted gstindex.{c,h}
6126 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6128 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6131 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6133 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6134 Set sync to FALSE by default.
6136 2005-09-20 Wim Taymans <wim@fluendo.com>
6138 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6139 (gst_base_sink_init):
6140 Make sync property settable from subclass.
6142 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6143 (gst_fake_sink_change_state):
6144 Set sync to FALSE by default.
6146 2005-09-20 Wim Taymans <wim@fluendo.com>
6148 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6149 * tools/gst-launch.c: (main):
6150 The timeout handler should have lower priority than the source
6151 so we don't timeout before popping a message with 0 timeout.
6152 Dump error messages after failed state change.
6154 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6156 * tools/gst-inspect.c: (print_element_properties_info):
6159 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6161 * check/gst/gstevent.c:
6162 * gst/elements/gstfakesink.c:
6163 * gst/elements/gstfakesink.h:
6164 remove the sync property from fakesink.
6165 has the side effect of setting sync TRUE
6166 for fakesink, which is a change. Anyone who knows how
6167 to fix this nicely in a GObject-y way, feel free.
6169 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6171 * docs/gst/gstreamer-docs.sgml:
6172 remove probe refsection
6174 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6176 * check/Makefile.am:
6177 disable valgrinding the controller test again
6178 * docs/gst/gstreamer-sections.txt:
6179 update for api-changes
6181 2005-09-20 Wim Taymans <wim@fluendo.com>
6183 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6184 (gst_base_sink_set_property), (gst_base_sink_get_property),
6185 (gst_base_sink_do_sync):
6186 * gst/base/gstbasesink.h:
6187 Added sync property to basesink to disable clock sync.
6189 2005-09-20 Andy Wingo <wingo@pobox.com>
6191 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6192 eating the caller's refcount.
6194 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6195 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6198 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6199 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6200 of GLib 2.8 public, so we can know which refcount to check in
6203 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6204 (gst_object_init): Only set the gst refcount if we're going ahead
6205 with the refcount hack.
6207 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6209 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6210 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6211 more leaks plumbed, added more debug-logging
6215 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6218 remove include of gstmemchunk.h
6220 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6222 * gst/gstclock.c: (_gst_clock_id_free):
6223 Commit from the Political Party For More Atomic CVS Commits,
6224 so that people don't waste too much of their day fishing
6225 out obvious leaks out of massive commits.
6226 Oh, and fix a pretty damn obvious leak in the memchunk
6229 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6231 * check/Makefile.am:
6232 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6233 plug mem-leak, re-add to valgrindable tests
6235 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6238 unbreak the build for those who have chronic arthritis
6239 and typing "make check" is just too taxing on the hands
6241 2005-09-20 Andy Wingo <wingo@pobox.com>
6243 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6244 really want it out, you should fix plugins at the same time.
6246 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6249 * docs/gst/gstreamer-sections.txt:
6251 added missing symbols to api docs
6252 disable ref-count hack if we have glib >= 2.8
6254 2005-09-19 David Schleef <ds@schleef.org>
6256 * docs/gst/Makefile.am: Ignore a few more internal headers
6257 * docs/gst/gstreamer-docs.sgml: Remove old sections
6258 * docs/gst/gstreamer-sections.txt: Remove old sections
6259 * docs/gst/tmpl/gstobject.sgml: update
6260 * docs/gst/tmpl/gstplugin.sgml: update
6261 * docs/gst/tmpl/gstpluginfeature.sgml: update
6262 * docs/random/ds/0.9-suggested-changes: update.
6263 * gst/Makefile.am: remove memchunk and trashstack, since they're
6265 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6266 * gst/gst.h: don't include some headers
6267 * gst/gstchildproxy.c: add gstmarshal.h
6268 * gst/gstclock.c: Don't use memchunks
6269 * gst/gstminiobject.c: Add some docs
6270 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6271 * gst/gstobject.h: same
6272 * gst/gstplugin.c: include gstmacros.h
6273 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6274 * gst/gstquery.c: don't use memchunks
6275 * gst/gstregistry.c: rename gst_registry_deinit()
6276 * gst/gstregistry.h: same
6278 2005-09-19 David Schleef <ds@schleef.org>
6280 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6281 * docs/libs/gstreamer-libs-sections.txt:
6282 * docs/libs/tmpl/gstgetbits.sgml:
6283 * docs/libs/tmpl/gstputbits.sgml:
6285 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6287 * win32/gstenumtypes.c:
6288 * win32/gstenumtypes.h:
6291 2005-09-19 Wim Taymans <wim@fluendo.com>
6293 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6294 Automatically PAUSE and RESUME a pipeline when a flushing seek
6297 2005-09-19 Andy Wingo <wingo@pobox.com>
6299 * gst/gstregistry.h: Spacing fixen.
6301 2005-09-19 Wim Taymans <wim@fluendo.com>
6303 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6304 Handle state change failure more correctly.
6306 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6308 * check/Makefile.am:
6309 * check/pipelines/cleanup.c: (run_pipeline):
6310 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6312 enable cleanup again after fixing the leak
6314 some more info on docs
6316 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6318 * check/Makefile.am:
6319 re-enable tests now that leaks are plugged
6321 * check/gst/gstbin.c:
6322 * check/gst/gstpipeline.c:
6323 add some more tests while fixing leaks
6325 make sure binaries are uptodate when valgrinding/gdbing
6327 * gst/gstelementfactory.c:
6328 remove a ref too many, and add a FIXME for when we get
6329 round to disposing of classes
6331 fix the refcounting when loading a plugin from a file and
6332 the code pretends that the pointer is the same even though
6333 of course it can change
6334 * gst/gstpluginfeature.c:
6335 unref plugins marked cached (a bit confusing as a name)
6336 as the docs state should be done
6337 various doc additions to explain refcounting
6338 * gst/gstregistry.c:
6339 * gst/gstregistryxml.c:
6342 2005-09-19 Wim Taymans <wim@fluendo.com>
6344 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6345 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6346 (send_messages), (GST_START_TEST), (gstbus_suite):
6347 * check/gst/gstpipeline.c: (GST_START_TEST):
6348 * check/pipelines/cleanup.c: (run_pipeline):
6349 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6351 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6352 (gst_bus_source_check), (gst_bus_source_dispatch),
6353 (gst_bus_create_watch), (gst_bus_add_watch_full),
6354 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6356 * tools/gst-launch.c: (event_loop):
6357 * tools/gst-md5sum.c: (event_loop):
6358 GstBusHandler -> GstBusFunc, return value has the same meaning as
6359 any other GSource (FALSE == remove source).
6360 _add_watch() and _add_watch_full() now take a MessageType mask to
6361 only handle specific types of messages.
6362 _poll() returns the GstMessage instead of the message type to avoid
6364 _have_pending() takes a MessageType mask now too.
6365 Added testsuite for multiple bus watches.
6366 Fix testsuites and applications for new bus API.
6368 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6370 * check/Makefile.am:
6371 mark a bunch of the tests as to fix until we fix them
6373 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6376 use GST_PLUGIN settings for valgrind tests as well, so we're
6377 valgrinding the correct thing
6378 * gst/gst.c: (init_post):
6381 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6383 * gst/gst.c: (init_post), (gst_deinit):
6384 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6385 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6386 * gst/gstindex.c: (gst_index_factory_class_init),
6387 (gst_index_factory_finalize):
6388 * gst/gstobject.c: (gst_object_dispose):
6389 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6390 (gst_plugin_load_file), (gst_plugin_desc_free):
6391 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6392 (gst_plugin_feature_finalize):
6393 * gst/gstregistry.c: (gst_registry_class_init),
6394 (gst_registry_init), (gst_registry_finalize),
6395 (gst_registry_get_default), (gst_registry_deinit):
6396 * gst/gstregistry.h:
6397 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6398 various cleanups and memleak plugging. make valgrind is happy now.
6400 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6403 add a check-valgrind target
6405 2005-09-18 David Schleef <ds@schleef.org>
6407 * tools/gst-inspect.c: Revert the GOption code.
6409 2005-09-17 David Schleef <ds@schleef.org>
6411 * check/Makefile.am: Fix environment variables.
6412 * check/gst/gstplugin.c: Fix for API changes.
6413 * tools/gst-inspect.c: Fix for API changes.
6414 * tools/gst-xmlinspect.c: Fix for API changes.
6415 * gst/gstelementfactory.c:
6418 * gst/gstpluginfeature.c:
6419 * gst/gstpluginfeature.h:
6420 * gst/gstregistry.c:
6421 * gst/gstregistry.h:
6422 * gst/gstregistryxml.c:
6423 * gst/gsttypefind.c:
6424 * gst/gsttypefindfactory.c:
6425 * gst/indexers/gstfileindex.c:
6426 * gst/indexers/gstmemindex.c:
6427 * gst/schedulers/Makefile.am:
6428 Change registry to keep track of both plugins and features,
6429 removing the feature tracking from plugins themselves.
6431 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6433 * check/Makefile.am:
6434 * tools/gst-register.1.in:
6437 2005-09-15 David Schleef <ds@schleef.org>
6439 * check/gst/gstplugin.c:
6440 * gst/gstelementfactory.c:
6442 * gst/gstpluginfeature.c:
6443 * gst/gstregistry.c:
6444 Getting tired of debugging. Disabled all the unreffing of
6445 plugins and features, which fixes the segfaults, but of
6446 course leaks like crazy. At least playbin works.
6448 2005-09-15 David Schleef <ds@schleef.org>
6450 * check/gst/gstplugin.c: (register_check_elements),
6451 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6453 * gst/elements/gsttypefindelement.c: Fix refcounting.
6454 * gst/gsttypefind.c:
6455 * gst/gsttypefindfactory.c:
6456 * gst/gsttypefindfactory.h:
6458 2005-09-15 David Schleef <ds@schleef.org>
6460 * gst/gstindex.c: get refcounting correct.
6461 * gst/gstregistry.c: Handle the case where a feature/plugin is
6464 2005-09-15 David Schleef <ds@schleef.org>
6466 * check/Makefile.am:
6467 * check/gst/gstplugin.c: Add test
6468 * gst/gstplugin.c: Fix problems noticed by testsuite
6470 * gst/gstregistry.c:
6471 * gst/gstregistry.h:
6473 2005-09-15 David Schleef <ds@schleef.org>
6475 * gst/gstplugin.c: Implement semi-decent recounting and locking
6476 in plugins and plugin features.
6478 * gst/gstpluginfeature.c:
6479 * gst/gstpluginfeature.h:
6480 * gst/gstregistry.c:
6482 2005-09-15 Michael Smith <msmith@fluendo.com>
6484 * gst/gstregistry.c: (gst_registry_get_feature_list):
6485 Implement this. Makes oggdemux work; decodebin still broken.
6487 2005-09-14 David Schleef <ds@schleef.org>
6489 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6491 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6492 * gst/check/Makefile.am:
6493 * libs/gst/controller/Makefile.am:
6494 * libs/gst/dataprotocol/Makefile.am:
6496 2005-09-14 David Schleef <ds@schleef.org>
6498 * configure.ac: Remove getbits library. Nothing uses it, and
6499 it should be in something like liboil if someone did want
6501 * libs/gst/Makefile.am:
6502 * libs/gst/getbits/Makefile.am:
6503 * libs/gst/getbits/gbtest.c:
6504 * libs/gst/getbits/getbits.c:
6505 * libs/gst/getbits/getbits.h:
6506 * libs/gst/getbits/gstgetbits_generic.c:
6507 * libs/gst/getbits/gstgetbits_i386.s:
6508 * libs/gst/getbits/gstgetbits_inl.h:
6510 2005-09-14 David Schleef <ds@schleef.org>
6512 * gst/Makefile.am: Dist glib-compat.h
6514 2005-09-14 David Schleef <ds@schleef.org>
6516 * configure.ac: Remove gst/registries, since it's no longer used.
6517 * gst/registries/Makefile.am:
6518 * gst/registries/gstlibxmlregistry.c:
6519 * gst/registries/gstlibxmlregistry.h:
6520 * gst/registries/gstxmlregistry.c:
6521 * gst/registries/gstxmlregistry.h:
6522 * gst/registries/registrytest.c:
6524 2005-09-14 David Schleef <ds@schleef.org>
6526 * gst/glib-compat.h:
6527 * gst/gstregistryxml.c:
6528 Convergence is near. Seriously.
6530 2005-09-14 David Schleef <ds@schleef.org>
6532 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6533 * gst/glib-compat.h:
6534 Attempt #4 to appease the buildbots.
6536 2005-09-14 David Schleef <ds@schleef.org>
6538 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6541 2005-09-14 David Schleef <ds@schleef.org>
6543 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6546 2005-09-14 David Schleef <ds@schleef.org>
6548 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6551 2005-09-14 David Schleef <ds@schleef.org>
6553 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6554 * gst/glib-compat.h: Add some functions that are in newer versions
6555 of glib than we care to require.
6556 * gst/gstregistryxml.c: Use them.
6558 2005-09-14 David Schleef <ds@schleef.org>
6560 * po/POTFILES.in: remove gst-register.c
6562 2005-09-14 David Schleef <ds@schleef.org>
6564 * docs/gst/gstreamer-docs.sgml:
6565 * docs/gst/gstreamer-sections.txt:
6566 * docs/gst/gstreamer.types:
6567 * docs/gst/tmpl/gstelement.sgml:
6568 * docs/gst/tmpl/gstplugin.sgml:
6569 * docs/gst/tmpl/gstpluginfeature.sgml:
6570 Documentation updates for registry changes.
6572 2005-09-14 David Schleef <ds@schleef.org>
6574 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6575 because we don't require glib-2.8.
6577 2005-09-14 David Schleef <ds@schleef.org>
6579 * gst/gstregistryxml.c: Added. Essentially moved out of the
6580 registries directory.
6582 2005-09-14 David Schleef <ds@schleef.org>
6584 * check/Makefile.am:
6585 * check/generic/states.c:
6589 * gst/gst_private.h:
6590 * gst/gstelementfactory.c:
6595 * gst/gstpluginfeature.c:
6596 * gst/gstpluginfeature.h:
6597 * gst/gstregistry.c:
6598 * gst/gstregistry.h:
6599 * gst/gstregistrypool.c: remove
6600 * gst/gstregistrypool.h: remove
6601 * gst/gsttypefind.c:
6602 * gst/gsttypefindfactory.c:
6604 * tools/Makefile.am:
6605 * tools/gst-compprep.c:
6606 * tools/gst-inspect.c:
6607 * tools/gst-register.c: remove
6608 * tools/gst-xmlinspect.c:
6609 Registry rewrite. Changes registry from being a file created
6610 by a tool into a simple cache file created automatically by
6611 libgstreamer. Removed gst-register (because it's no longer
6612 needed). Remove registry pools, because we only have one
6613 registry implementation (XML). Fix up other subsystems as
6616 2005-09-13 Michael Smith <msmith@fluendo.com>
6618 * gst/gstconfig.h.in:
6619 Don't Use windows linking attributes for MinGW. Fixes #316157
6621 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6623 * gst/gstutils.c: (set_state_async_thread_func),
6624 (gst_element_set_state_async):
6625 Apparently people think it's better if this function doesn't
6626 try to set the state to whatever state was asked for on the first
6627 call to this function for any object. Seriously.
6629 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6631 * check/gst/gstpipeline.c: (GST_START_TEST):
6632 * docs/gst/gstreamer-sections.txt:
6633 * gst/gstutils.c: (set_state_async_thread_func),
6634 (gst_element_set_state_async):
6636 add a "gst_element_set_state_async" method that
6637 sets the state and starts a thread to make sure the state
6638 change completes as best as it can
6640 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6642 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6643 codify design+behaviour in testsuite after discussion
6645 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6647 * docs/gst/tmpl/gstelement.sgml:
6648 * docs/manual/appendix-quotes.xml:
6650 * gst/gstelement.c: (gst_element_set_state):
6653 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6655 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6656 (gst_base_transform_prepare_output_buf),
6657 (gst_base_transform_handle_buffer):
6658 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6659 (gst_capsfilter_prepare_buf):
6660 Remove the requirement for sub-classes to call the parent
6661 implementation of prepare_output_buffer with a wrapper function.
6664 * gst/gsttagsetter.h:
6667 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6669 * docs/gst/gstreamer-sections.txt:
6672 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6674 * docs/gst/gstreamer-sections.txt:
6675 * docs/gst/tmpl/gstelement.sgml:
6676 * docs/gst/tmpl/gstplugin.sgml:
6677 * gst/gstminiobject.c:
6679 docs now stop throwing warnings
6681 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6683 * docs/gst/gstreamer-sections.txt:
6684 * docs/gst/gstreamer.types:
6685 * docs/gst/tmpl/gstpad.sgml:
6686 * docs/gst/tmpl/gsttypes.sgml:
6687 * gst/base/gstadapter.h:
6688 * gst/base/gstbasesink.h:
6689 * gst/base/gstbasesrc.h:
6699 * gst/gststructure.c:
6700 * gst/registries/gstlibxmlregistry.h:
6701 various documentation fixes
6703 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6705 * docs/gst/gstreamer-sections.txt:
6706 * docs/gst/tmpl/gstvalue.sgml:
6707 rearrange gstvalue section
6708 * gst/gstutils.c: (gst_element_state_get_name):
6710 * gst/gstvalue.c: (_gst_value_initialize):
6714 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6716 * check/gst-libs/controller.c:
6718 * gst/base/gstbasetransform.c:
6719 (gst_base_transform_default_prepare_buf),
6720 (gst_base_transform_handle_buffer):
6721 * gst/base/gstbasetransform.h:
6722 Some more basetransform changes and fixes to enable sub-classes
6723 that modify buffer metadata only.
6724 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6725 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6726 (gst_capsfilter_prepare_buf):
6727 If the output pad has fixed allowed caps and input buffers
6728 don't have any, set the fixed caps on outgoing buffers.
6730 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6731 * check/elements/identity.c: (GST_START_TEST):
6732 Make the error a little clearer when the test fails because
6733 identity made a copy of the buffer.
6734 * docs/gst/gstreamer-sections.txt:
6735 New symbols in gstbasetransform.h
6736 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6737 (gst_base_transform_init), (gst_base_transform_transform_size),
6738 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6739 (gst_base_transform_default_prepare_buf),
6740 (gst_base_transform_get_unit_size),
6741 (gst_base_transform_buffer_alloc),
6742 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6743 (gst_base_transform_change_state),
6744 (gst_base_transform_set_passthrough),
6745 (gst_base_transform_set_in_place),
6746 (gst_base_transform_is_in_place):
6747 * gst/base/gstbasetransform.h:
6748 Change BaseTransform to separate in_place operate from same_caps
6749 output. in_place implies that the element can perform the transform
6750 on incoming buffers in-place, even if the caps on the output are
6752 Sub-class elements can now implement special buffer allocation
6753 methods for outgoing buffers if they wish to.
6754 Big documentation addition.
6755 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6756 * gst/elements/gstelements.c:
6757 Changes for basetransform modifications.
6758 * gst/elements/Makefile.am:
6759 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6760 Compile fix. Extra debug output.
6762 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6764 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6766 add tests for valid pad naming
6767 * gst/check/gstcheck.c: (gst_check_log_message_func),
6768 (gst_check_log_critical_func):
6770 remove printing of code, it is fragile when the code contains
6771 % and the line number is enough info
6772 * gst/check/gstcheck.h:
6773 * gst/gstpad.c: (gst_pad_template_new):
6776 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6779 say what CHECK flags we use
6780 * docs/libs/gstreamer-libs.types:
6781 * libs/gst/controller/Makefile.am:
6782 * libs/gst/controller/gst-controller.c:
6783 * libs/gst/controller/gst-controller.h:
6784 * libs/gst/controller/gst-helper.c:
6785 * libs/gst/controller/gst-interpolation.c:
6786 * libs/gst/controller/gstcontroller.c:
6787 * libs/gst/controller/gsthelper.c:
6788 * libs/gst/controller/gstinterpolation.c:
6789 * tools/gst-inspect.c: (print_plugin_info):
6790 we don't use dashes in header names
6792 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6794 * check/Makefile.am:
6795 * check/gst/.cvsignore:
6796 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6797 (gst_pipeline_suite), (main):
6798 adding a test for pipelines and state changes
6799 * gst/gstutils.c: (get_state_func):
6801 * gstreamer.spec.in:
6804 2005-09-08 Michael Smith <msmith@fluendo.com>
6806 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6807 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6808 (gst_file_src_is_seekable), (gst_file_src_get_size),
6809 (gst_file_src_start):
6810 * gst/elements/gstfilesrc.h:
6811 Various fixes for unseekable, unmmapable, and non-normal files, so
6812 that fallback to read() rather than mmap() works.
6813 * gst/gstevent.c: (gst_event_new_newsegment):
6814 Allow newsegment events with segment_start == segment_end, as will
6815 correctly happen if you use filesrc on a zero-size file, for
6818 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6820 * gst/gstplugin.c: (gst_plugin_load_file):
6821 Call g_module_close when we don't load the module
6823 * gst/registries/gstlibxmlregistry.c:
6824 (gst_xml_registry_get_property):
6825 Port leak fix from 0.8
6827 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6829 * docs/gst/gstreamer-docs.sgml:
6830 * docs/gst/tmpl/.cvsignore:
6831 * docs/gst/tmpl/gsttrace.sgml:
6832 * docs/gst/tmpl/gsttrashstack.sgml:
6841 * gst/gsttaginterface.c:
6842 * gst/gsttaginterface.h:
6845 * gst/gsttagsetter.c:
6846 * gst/gsttagsetter.h:
6849 * gst/gsttrashstack.c:
6850 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6851 inlined docs for gsttrace, gsttrashstack
6853 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6856 * gst/elements/gstbufferstore.h:
6857 * gst/elements/gsttypefindelement.c:
6858 * gst/elements/gsttypefindelement.h:
6860 * gst/gsttypefind.c:
6861 * gst/gsttypefind.h:
6862 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6863 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6864 (gst_type_find_factory_dispose),
6865 (gst_type_find_factory_unload_thyself),
6866 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6867 (gst_type_find_factory_get_caps),
6868 (gst_type_find_factory_get_extensions),
6869 (gst_type_find_factory_call_function):
6870 * gst/gsttypefindfactory.h:
6871 * gst/registries/gstlibxmlregistry.c:
6872 * gst/registries/gstxmlregistry.c:
6873 splitted gsttypefind into gsttypefind, gsttypefindfactory
6875 2005-09-07 Andy Wingo <wingo@pobox.com>
6877 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6878 condition whereby the pad's task function is entered before the
6879 pad_mode variable was set.
6881 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6883 * gst/gstpad.c: (gst_pad_alloc_buffer):
6884 Catch misbehaving pad_alloc functions that don't
6885 set up caps and do it for them.
6887 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6889 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6891 * docs/gst/tmpl/.cvsignore:
6892 * docs/gst/tmpl/gstmemchunk.sgml:
6893 * docs/gst/tmpl/gstparse.sgml:
6894 * docs/gst/tmpl/gsttaglist.sgml:
6895 * docs/gst/tmpl/gsttagsetter.sgml:
6896 * docs/gst/tmpl/gsttypefind.sgml:
6897 * docs/gst/tmpl/gsttypefindfactory.sgml:
6898 * gst/gstmemchunk.c:
6901 * gst/gsttaginterface.c:
6902 * gst/gsttypefind.c:
6903 * gst/gsttypefind.h:
6906 === release 0.9.2 ===
6908 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6913 releasing 0.9.2, "South"
6915 2005-09-05 Andy Wingo <wingo@pobox.com>
6917 * gst/registries/gstxmlregistry.h:
6918 * gst/registries/gstxmlregistry.c: Um... resurrect...
6920 * gst/registries/gstxmlregistry.h:
6921 * gst/registries/gstxmlregistry.c: and update to newer API.
6922 Incidentally they should be a bit faster now that they don't have
6925 2005-09-05 Andy Wingo <wingo@pobox.com>
6927 * gst/registries/gstxmlregistry.h:
6928 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6929 replaced by the libxml registry a while back
6931 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6933 * docs/gst/tmpl/gstplugin.sgml:
6934 * gst/elements/gstelements.c:
6936 * gst/gstplugin.c: (gst_plugin_register_func),
6937 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6938 (gst_plugin_get_source):
6940 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6941 (gst_xml_registry_save_plugin):
6942 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6943 (gst_xml_registry_save_plugin):
6944 * tools/gst-inspect.c: (print_plugin_info):
6945 add a "source" plugin description field, to represent the source
6946 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6947 will set it to PACKAGE, which is automake's idea of the name of
6950 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6956 * docs/faq/Makefile.am:
6957 * docs/gst/tmpl/gstelement.sgml:
6958 * docs/gst/tmpl/gsttypes.sgml:
6959 * docs/htmlinstall.mak:
6960 * docs/manual/Makefile.am:
6961 * docs/pwg/Makefile.am:
6962 reorganize doc build a little
6963 split out docbook and gtk-doc stuff
6964 have two separate --enable's and enable them through autogen
6965 but disable by default in configure (to be similar to other
6967 * gstreamer.spec.in:
6968 clean up docs install
6988 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6990 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6993 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6994 (gst_fake_sink_change_state):
6995 Make state change function thread-safe.
6997 * gst/gstpad.c: (gst_pad_alloc_buffer):
6998 Set offset on generic buffer allocated by fallback.
7000 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7002 * docs/gst/gstreamer-sections.txt:
7003 * docs/gst/tmpl/gstelement.sgml:
7005 * libs/gst/controller/gst-controller.c:
7006 (gst_controlled_property_set_interpolation_mode),
7007 (gst_controlled_property_new),
7008 (gst_controller_find_controlled_property):
7009 run the wingo-magic script against the docs
7011 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7013 * docs/gst/gstreamer-docs.sgml:
7014 * docs/gst/gstreamer-sections.txt:
7015 * docs/gst/tmpl/.cvsignore:
7016 * docs/gst/tmpl/gstelementdetails.sgml:
7017 * docs/gst/tmpl/gstelementfactory.sgml:
7020 * gst/gstelementfactory.c:
7021 * gst/gstelementfactory.h:
7022 merged elementdetails docs into elementfactory docs
7025 2005-09-02 Andy Wingo <wingo@pobox.com>
7027 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7028 consider this enum an enum and not a flags.
7030 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7032 * docs/gst/gstreamer-docs.sgml:
7033 * docs/gst/tmpl/.cvsignore:
7034 * docs/gst/tmpl/gstghostpad.sgml:
7035 * docs/gst/tmpl/gstiterator.sgml:
7036 * docs/gst/tmpl/gstmacros.sgml:
7037 * docs/gst/tmpl/gstrealpad.sgml:
7038 * docs/gst/tmpl/gstregistry.sgml:
7039 * docs/gst/tmpl/gstregistrypool.sgml:
7040 * docs/gst/tmpl/gststructure.sgml:
7041 * docs/gst/tmpl/gstsystemclock.sgml:
7042 * docs/gst/tmpl/gsttrace.sgml:
7043 * gst/gstghostpad.c:
7045 * gst/gstmemchunk.c:
7046 * gst/gstmemchunk.h:
7048 * gst/gstregistry.c:
7049 * gst/gstregistrypool.c:
7050 * gst/gststructure.c:
7051 * gst/gstsystemclock.c:
7054 2005-09-02 Andy Wingo <wingo@pobox.com>
7056 * gst/gstelement.h (GstState): Renamed from GstElementState,
7057 changed to be a normal enum instead of flags.
7058 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7059 munged to be GST_STATE_CHANGE_*.
7060 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7061 work with the new state representation.
7062 (GstStateChange): New enumeration of possible state transitions.
7063 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7064 (GstElementClass::change_state): Pass the GstStateChange along as
7065 an argument. Helps language bindings, so they don't have to use
7066 tricky lock-needing macros like GST_STATE_CHANGE ().
7068 * scripts/update-states (file): New script. Run it on a file to
7069 update it for state naming and API changes. Updates files in
7072 * All files updated for the new API.
7074 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7076 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7077 * gst/gstutils.c: (gst_util_set_value_from_string),
7078 (gst_util_set_object_arg):
7079 fix a bunch of unchecked return values
7080 * tools/gst-complete.c: (main):
7081 * gstreamer.spec.in:
7084 2005-09-01 Wim Taymans <wim@fluendo.com>
7086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7087 (gst_base_sink_event), (gst_base_sink_do_sync),
7088 (gst_base_sink_handle_event):
7089 * gst/base/gstbasesink.h:
7090 Handle newsegments more correctly.
7095 * gst/gstevent.c: (gst_event_new_newsegment):
7096 A newsegment cannot have a start_time of -1
7098 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7100 * win32/gstenumtypes.c:
7101 * win32/gstenumtypes.h:
7104 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7106 * libs/gst/controller/gst-controller.c:
7107 (gst_controlled_property_set_interpolation_mode),
7108 (gst_controlled_property_new):
7111 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7113 * docs/faq/gst-uninstalled:
7118 * gst/gstutils.c: (gst_element_link_filtered):
7120 add gst_element_link_filtered
7122 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7124 * docs/gst/gstreamer-docs.sgml:
7125 * docs/gst/gstreamer-sections.txt:
7126 * docs/gst/tmpl/.cvsignore:
7127 * docs/gst/tmpl/gsterror.sgml:
7128 * docs/gst/tmpl/gstfilter.sgml:
7129 * docs/gst/tmpl/gsturihandler.sgml:
7130 * docs/gst/tmpl/gsturitype.sgml:
7131 * docs/gst/tmpl/gstutils.sgml:
7132 * docs/gst/tmpl/gstxml.sgml:
7140 inlined more docs, fixed double id-ref
7142 2005-08-31 Wim Taymans <wim@fluendo.com>
7144 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7145 (gst_base_transform_handle_buffer):
7146 Passthrough elements don't need the caps as they don't care.
7148 2005-08-31 Wim Taymans <wim@fluendo.com>
7150 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7151 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7152 Don't leak refcounts on buffers.
7154 2005-08-31 Wim Taymans <wim@fluendo.com>
7156 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7157 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7158 (gst_base_transform_chain), (gst_base_transform_change_state):
7159 * gst/base/gstbasetransform.h:
7160 Handle the case where we are not negotiated more gracefully.
7162 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7164 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7165 (gst_file_src_map_region):
7166 Set READONLY flag on mmap'ed buffers, otherwise
7167 gst_buffer_make_writable() won't work properly (#314708).
7169 2005-08-31 Wim Taymans <wim@fluendo.com>
7171 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7172 passthrough elements can even do inplace on non writable
7173 buffers (as they don't touch them).
7175 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7177 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7178 (gst_test_mono_source_set_property),
7179 (gst_test_mono_source_class_init), (GST_START_TEST),
7180 (gst_controller_suite):
7181 more tests (hehe I have the most)
7183 describe popping messages whenusing mulltiple sources
7184 * libs/gst/controller/gst-controller.c:
7185 (gst_controlled_property_set_interpolation_mode),
7186 (gst_controlled_property_new):
7187 * libs/gst/controller/gst-controller.h:
7188 * libs/gst/controller/gst-interpolation.c:
7189 implement boolean properties
7191 2005-08-31 Wim Taymans <wim@fluendo.com>
7193 * gst/gstminiobject.c: (gst_mini_object_ref):
7194 Cannot assert that the refcount has to be positive
7195 since a disposed object can be resurrected.
7197 2005-08-31 Wim Taymans <wim@fluendo.com>
7199 * gst/gstpad.c: (gst_pad_init):
7200 Revert change, need to first fix badly behaving
7203 2005-08-30 Wim Taymans <wim@fluendo.com>
7205 * check/elements/fakesrc.c: (setup_fakesrc):
7206 * check/elements/identity.c: (setup_identity):
7207 Activate pads before using them.
7209 2005-08-30 Wim Taymans <wim@fluendo.com>
7211 * gst/base/gstadapter.c: (gst_adapter_flush):
7212 Flushing out 0 bytes is ok for this function.
7214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7215 no newsegment gives a warning and sets the start/stop to
7218 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7219 (gst_base_transform_set_passthrough):
7222 * gst/gstminiobject.c: (gst_mini_object_ref):
7223 Check refcount here too.
7225 * gst/gstpad.c: (gst_pad_init):
7226 Pads are initially flushing and refusing data.
7228 * gst/gstutils.c: (gst_element_link_pads_filtered):
7229 When adding a capsfilter element make sure it has the
7230 same state as the parent bin.
7232 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7234 * docs/gst/tmpl/.cvsignore:
7235 * docs/gst/tmpl/gstformat.sgml:
7236 * docs/gst/tmpl/gstversion.sgml:
7240 * gst/gstversion.h.in:
7241 more docs and two more inlined
7243 2005-08-30 Wim Taymans <wim@fluendo.com>
7245 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7246 Don't sync to clock.
7248 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7250 * docs/gst/gstreamer-sections.txt:
7251 ultral33t func10ns deserve to appear in the docs actually
7252 * docs/gst/tmpl/.cvsignore:
7253 * docs/gst/tmpl/gstcompat.sgml:
7254 * docs/gst/tmpl/gstconfig.sgml:
7255 * gst/check/gstcheck.c:
7257 * gst/gstconfig.h.in:
7260 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7262 * docs/gst/tmpl/.cvsignore:
7263 * docs/gst/tmpl/gstquery.sgml:
7264 * docs/gst/tmpl/gstutils.sgml:
7267 inlined and extended docs
7269 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7271 * check/gst-libs/controller.c: (GST_START_TEST),
7272 (gst_controller_suite):
7274 * docs/gst/tmpl/gstutils.sgml:
7275 * docs/libs/gstreamer-libs-sections.txt:
7276 * docs/libs/tmpl/gstdataprotocol.sgml:
7278 * examples/controller/audio-example.c: (main):
7279 controller example works now
7282 * tools/gst-inspect.c: (print_element_properties_info):
7283 show param spec flags
7285 2005-08-29 Andy Wingo <wingo@pobox.com>
7287 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7289 2005-08-28 Andy Wingo <wingo@pobox.com>
7291 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7292 as having two arguments instead of just one. Allows superclasses
7293 to access information on subclasses -- see the terrible for() loop
7294 in gtype.c:g_type_create_instance for the reason why. All callers
7297 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7299 * docs/design/part-messages.txt:
7301 * docs/gst/tmpl/.cvsignore:
7302 * docs/gst/tmpl/gstcaps.sgml:
7303 * docs/gst/tmpl/gstclock.sgml:
7310 added descriptions for bus and message
7311 inline caps and clock docs
7313 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7319 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7321 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7324 2005-08-26 Andy Wingo <wingo@pobox.com>
7326 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7327 element_set_state's return val.
7328 (test_2_elements): Add test that's been disabled for months.
7330 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7331 can-activate-pull properties.
7333 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7334 can-activate-pull properties. Implement is_seekable so fakesrc can
7335 operate in pull mode.
7337 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7339 (gst_base_sink_activate, gst_base_sink_activate_pull)
7340 (gst_base_sink_activate_push): Make activation mode choosing work.
7342 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7343 is right. Make pull mode work. Post an eos before pausing in pull
7345 (gst_base_sink_change_state): Pay attention to the core's
7346 change_state() return val.
7348 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7349 has-getrange properties. Cleanups.
7351 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7352 has_getrange and replace with can_activate_pull and
7355 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7356 locking comments. Remove has_loop, has_chain and replace with
7357 can_activate_pull and can_activate_push.
7359 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7362 * examples/Makefile.am:
7363 * examples/metadata/Makefile.am:
7364 * examples/metadata/read-metadata.c: (message_loop),
7365 (have_pad_handler), (make_pipeline), (print_tag), (main):
7366 Add metadata reading example that loops over a list of filenames,
7367 dumping any tags found.
7369 * gst/gstbus.c: (gst_bus_dispose):
7370 * gst/gstelement.c: (gst_element_dispose):
7371 Release a few potentially-held references in dispose.
7373 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7375 * docs/gst/tmpl/gstminiobject.sgml:
7376 do *not* add tmpl/*.sgml files to CVS!
7378 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7380 * libs/gst/bytestream/.cvsignore:
7381 * libs/gst/bytestream/Makefile.am:
7382 * libs/gst/bytestream/adapter.c:
7383 * libs/gst/bytestream/adapter.h:
7384 * libs/gst/bytestream/bytestream.c:
7385 * libs/gst/bytestream/bytestream.h:
7386 * libs/gst/bytestream/filepad.c:
7387 * libs/gst/bytestream/filepad.h:
7388 removing obsolete files
7390 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7392 * docs/gst/gstreamer-docs.sgml:
7393 * docs/libs/gstreamer-libs-docs.sgml:
7394 disabed additional index entries again, as this makes docs-gen just
7395 slow and they aren't useful yet
7396 * docs/libs/gstreamer-libs-sections.txt:
7397 little -section.txt cleanup for libs
7399 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7402 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7403 fix up some debugging
7404 (gst_base_transform_get_unit_size),
7405 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7406 (gst_base_transform_handle_buffer):
7407 * gst/base/gstbasetransform.h:
7408 handle and store timed NEWSEGMENT events so that subclasses that
7409 calculate time by counting samples have a segment_start time they
7410 need to add to their timestamps - see audioresample
7412 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7415 removed ';' from the end of macro defs
7416 * docs/gst/gstreamer-docs.sgml:
7417 * docs/gst/gstreamer-sections.txt:
7418 * docs/gst/tmpl/.cvsignore:
7420 * gst/gstelement.c: (gst_element_class_init),
7421 (gst_element_set_state), (activate_pads),
7422 (gst_element_save_thyself):
7423 * gst/gstevent.c: (gst_event_new_newsegment):
7425 * gst/gstiterator.c:
7426 * gst/gstiterator.h:
7429 * gst/gstutils.c: (gst_pad_query_convert):
7431 fixed parameter name mismatches between source, header and docs
7432 added some more docs, resolved the last batch of unused elements in
7433 docs (now someone needs to doc them)
7435 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7437 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7438 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7439 don't walk through the plugins backwards. Where is all this
7440 reversed logic coming from ?
7442 2005-08-25 Wim Taymans <wim@fluendo.com>
7444 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7445 (gst_base_transform_transform_size),
7446 (gst_base_transform_configure_caps),
7447 (gst_base_transform_get_unit_size),
7448 (gst_base_transform_buffer_alloc),
7449 (gst_base_transform_change_state):
7450 * gst/base/gstbasetransform.h:
7451 Cache caps unit_size.
7452 Make sure we cannot negotiate up and downstream at the
7455 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7457 * gst/gst.c: (init_pre), (init_post):
7458 register the installed plugin path after the env var
7459 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7460 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7461 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7462 directories, so the tests can prefer uninstalled over installed
7464 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7466 * gst/base/gstbasetransform.h:
7471 2005-08-25 Wim Taymans <wim@fluendo.com>
7473 * gst/gstbin.c: (bin_bus_handler):
7474 Be a bit more conservative about the posted message.
7476 * gst/gstbus.c: (gst_bus_post):
7477 Some cleanups, warn wrong return values.
7479 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7481 * check/gst/gstbin.c: (GST_START_TEST):
7482 * gst/gstbin.c: (bin_bus_handler):
7483 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7484 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7485 (gst_message_new_warning), (gst_message_new_tag),
7486 (gst_message_new_state_changed), (gst_message_new_segment_start),
7487 (gst_message_new_segment_done), (gst_message_new_custom):
7489 * tools/gst-launch.c: (event_loop):
7490 * tools/gst-md5sum.c: (event_loop):
7491 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7493 2005-08-25 Wim Taymans <wim@fluendo.com>
7495 * check/generic/states.c: (GST_START_TEST):
7496 Cleanup can be done at the end.
7498 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7499 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7500 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7501 Oh boy.. Thanks for finding this, Thomas.
7503 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7505 * docs/gst/gstreamer.types:
7508 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7510 * docs/gst/gstreamer-docs.sgml:
7511 * docs/gst/gstreamer-sections.txt:
7512 * docs/gst/tmpl/.cvsignore:
7514 * gst/gstiterator.c:
7516 * gst/registries/gstxmlregistry.h:
7517 added missing classes and symbols (123 more to go)
7518 removed removed symbols from section file
7519 fixed many doc-comments
7521 2005-08-24 Wim Taymans <wim@fluendo.com>
7523 * check/generic/states.c: (GST_START_TEST):
7524 Make sure all tasks are stopped.
7526 * check/gst/gstbin.c: (GST_START_TEST):
7527 Unref after usage for proper valgrinding.
7529 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7530 Really wait for the task to stop before destroying the
7533 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7534 (gst_queue_src_activate_push):
7535 Small cleanups. Don't stop the task when we did not start
7538 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7539 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7540 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7543 Protect the stream lock with the object lock.
7544 Disallow setting the stream lock when running.
7545 Add cleanup_all to wait for the threadpool to finish.
7546 Remove code to autoallocate a mutex if none was provided.
7547 Add _join() to wait for a task to stop.
7548 Protect the thread pool with a global lock.
7550 2005-08-24 Wim Taymans <wim@fluendo.com>
7552 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7553 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7554 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7555 * gst/base/gstbasesink.h:
7556 Handle newsegment events correctly.
7557 Drop buffers out of the segment range.
7559 2005-08-22 Andy Wingo <wingo@pobox.com>
7561 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7562 macro, implements an interface and gstimplementsinterface for a
7565 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7567 * check/Makefile.am:
7568 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7569 add a test that does a bunch of state changes on elements
7570 needs some fixing for valgrind
7571 * check/states/sinks.c: (gst_object_suite):
7574 add prototype for gst_caps_is_equal_fixed
7576 * gst/gstregistrypool.c:
7579 2005-08-24 Andy Wingo <wingo@pobox.com>
7581 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7582 convert a negative value. Doesn't make much sense. Mostly this is
7583 here to force callers to ensure -1 maps to -1.
7585 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7587 * docs/pwg/advanced-types.xml:
7588 Well done to Michael for catching my deliberate introduction
7589 of this spelling mistake.
7590 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7592 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7593 unlink pads before removing the element from the bin.
7595 2005-08-24 Andy Wingo <wingo@pobox.com>
7597 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7598 the same thing as GST_DEBUG=*:4.
7599 (parse_debug_level, parse_debug_category): New helper parsers.
7601 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7603 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7604 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7605 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7606 (gst_base_transform_buffer_alloc),
7607 (gst_base_transform_handle_buffer):
7608 use gboolean return values and pointers to size so we can use the
7609 full GST_BUFFER_SIZE range (guint) for buffer sizes
7610 use GstPadDirection for transform_caps
7611 * gst/base/gstbasetransform.h:
7612 rename get_size to get_unit_size since that's what it is
7613 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7614 use GstPadDirection for transform_caps
7615 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7617 cleanup and debugging
7619 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7621 * gst/gstelement.c: (gst_element_class_init),
7622 (gst_element_set_state), (activate_pads),
7623 (gst_element_save_thyself):
7624 * tools/gst-compprep.c: (main):
7625 * tools/gst-inspect.c: (print_element_properties_info):
7626 * tools/gst-xmlinspect.c: (print_element_properties):
7627 Fixed long standing mem-leak
7629 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7631 * check/gst/gstbin.c: (GST_START_TEST):
7632 * gst/gstbin.c: (bin_bus_handler):
7633 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7634 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7635 (gst_message_new_warning), (gst_message_new_tag),
7636 (gst_message_new_state_changed), (gst_message_new_segment_start),
7637 (gst_message_new_segment_done), (gst_message_new_custom):
7639 * tools/gst-launch.c: (event_loop):
7640 * tools/gst-md5sum.c: (event_loop):
7641 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7642 that applications can sensibly post custom messages with references
7643 to their own objects.
7645 2005-08-24 Andy Wingo <wingo@pobox.com>
7647 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7650 2005-08-24 Wim Taymans <wim@fluendo.com>
7652 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7653 (gst_base_transform_transform_caps),
7654 (gst_base_transform_transform_size),
7655 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7656 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7657 (gst_base_transform_handle_buffer):
7658 * gst/base/gstbasetransform.h:
7659 Many fixes and new features added by Thomas. Can now also do
7660 transforms with variable sizes and a custom fixate_caps function.
7662 2005-08-24 Wim Taymans <wim@fluendo.com>
7664 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7668 Cast to ClockTime before formatting to time.
7673 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7675 * check/gst-libs/controller.c: (GST_START_TEST),
7676 (gst_controller_suite):
7677 * docs/gst/tmpl/gstcaps.sgml:
7678 * docs/gst/tmpl/gstghostpad.sgml:
7679 * docs/gst/tmpl/gstquery.sgml:
7680 * docs/gst/tmpl/gstutils.sgml:
7681 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7682 (gst_object_sink_values), (gst_object_get_value_arrays),
7683 (gst_object_get_value_array):
7684 gracefully handle helper method calls to objects that are not beeing
7685 controlled, added test case for that
7687 2005-08-23 Wim Taymans <wim@fluendo.com>
7689 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7690 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7691 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7692 (gst_event_parse_qos), (gst_event_new_seek),
7693 (gst_event_parse_seek):
7695 Some more debugging output and doc cleanups.
7697 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7698 Fix possible deadlock.
7700 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7702 * docs/gst/gstreamer-docs.sgml:
7703 * docs/gst/gstreamer-sections.txt:
7704 * docs/gst/gstreamer.types:
7705 * docs/gst/tmpl/.cvsignore:
7710 added 100 symbols from gstreamer-unused.txt to the right sections
7711 fixed more broken comments
7712 added GstBus to docs
7714 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7716 * docs/gst/gstreamer-sections.txt:
7717 * docs/gst/tmpl/.cvsignore:
7718 * docs/gst/tmpl/gstbin.sgml:
7719 * docs/gst/tmpl/gstbuffer.sgml:
7720 * gst/base/gstbasesrc.c:
7721 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7724 * tools/gst-launch.1.in:
7725 inlined more doc comments, added missing comments and fixed comments
7728 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7730 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7734 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7736 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7737 * gst/gststructure.h:
7738 add a fixate function for booleans; add a FIXME that these func
7739 names should probably be gst_structure_fixate_*
7741 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7743 * docs/gst/gstreamer-docs.sgml:
7744 * docs/gst/gstreamer-sections.txt:
7746 * gst/gstbin.c: (gst_bin_get_type),
7747 (gst_bin_child_proxy_get_child_by_index),
7748 (gst_bin_child_proxy_get_children_count),
7749 (gst_bin_child_proxy_init):
7750 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7751 (gst_child_proxy_get_child_by_index),
7752 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7753 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7754 (gst_child_proxy_get), (gst_child_proxy_set_property),
7755 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7756 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7757 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7758 * gst/gstchildproxy.h:
7759 * gst/parse/grammar.y:
7760 * tools/gst-inspect.c: (print_interfaces),
7761 (print_element_properties_info), (print_element_info):
7762 ported gstchildproxy over from 0.8
7763 ported gst-inspect fixes and enhancements over from 0.8
7765 2005-08-22 Wim Taymans <wim@fluendo.com>
7767 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7768 (gst_base_transform_handle_buffer):
7769 Also call the transform function if we have ANY caps.
7771 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7774 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7776 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7777 Don't pretend to handle seek events if the source is not seekable
7779 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7782 Remove extra parameter to debug output
7784 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7785 (gst_base_src_do_seek), (gst_base_src_activate_push):
7786 Fix seek event handling.
7788 * gst/gstpipeline.c: (gst_pipeline_change_state):
7789 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7790 (gst_queue_src_activate_push):
7791 Don't start the src pad task on FLUSH_STOP if the pad
7795 2005-08-22 Wim Taymans <wim@fluendo.com>
7797 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7798 Added check for gst_static_caps_get() refcounting.
7800 2005-08-22 Wim Taymans <wim@fluendo.com>
7802 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7803 Make _static_caps_get() refcounting sane.
7805 * gst/gstelement.c: (gst_element_set_state):
7806 Add g_return_val_if_fail() to protect against segfaults.
7808 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7810 * docs/gst/tmpl/gstevent.sgml:
7813 inlined remaining docs, added missing doc comments
7815 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7817 * check/gst/gstbin.c: (GST_START_TEST):
7818 since we don't know when preroll is done, use refcount range
7820 * gst/check/gstcheck.h:
7821 add macro for checking refcount range
7823 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7825 * check/Makefile.am:
7826 clean up environment for when registry gets built versus
7827 when actual tests are run; valgrind seems to not report
7828 leaks if GST_PLUGIN_PATH is set to some specific values
7829 * check/gst/gstbin.c: (GST_START_TEST):
7830 add more refcounting checks; maybe this exposes a
7833 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7834 * gst/check/gstcheck.h:
7835 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7836 (gst_bin_change_state):
7837 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7838 add/fix debugging/whitespace
7840 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7842 * check/gst/gstevent.c: (event_probe), (test_event),
7844 Er, don't call gst_bin_watch_for_state_change you idiot.
7846 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7848 * check/Makefile.am:
7849 Use CHECK_CFLAGS and CHECK_LIBS
7850 * check/gst/gstevent.c: (event_probe), (test_event),
7853 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7854 (gst_base_src_start), (gst_base_src_stop),
7855 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7856 (gst_base_src_change_state):
7857 Sprinkle gst_base_src_stop liberally around error paths to fix
7858 problems reusing a source after failed state changes.
7859 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7860 (helper_find_suggest), (gst_type_find_helper):
7861 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7863 * docs/gst/tmpl/gstevent.sgml:
7864 Migrate part of the docs from the SGML file. Wait for ensonic to
7865 tell me how I did it wrong ;)
7866 * tools/gst-typefind.c: (main):
7867 Extra robustness to state changes between files.
7869 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7871 * check/Makefile.am:
7872 don't valgrind the controller test - it's leaking - Stefan, HELP
7873 * gst/check/gstcheck.c: (gst_check_message_error),
7874 (gst_check_chain_func), (gst_check_setup_element),
7875 (gst_check_teardown_element), (gst_check_setup_src_pad),
7876 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7877 (gst_check_teardown_sink_pad):
7878 * gst/check/gstcheck.h:
7879 add a bunch of methods to set up elements, and src and sink pads
7880 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7881 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7886 whitespace/doc fixes
7888 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7891 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7892 be handled by the application and not always printed as well
7894 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7896 * check/Makefile.am:
7898 * gst/check/gstcheck.c: (gst_check_message_error):
7899 * gst/check/gstcheck.h:
7900 add a fail_unless_equals_int
7901 add fail_unless for error messages
7903 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7905 * check/Makefile.am:
7907 * common/Makefile.am:
7910 factor out some of the common stuff so we can use it
7912 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7914 * check/Makefile.am:
7915 * check/gst/gstiterator.c: (GST_START_TEST):
7916 * check/gst/gstsystemclock.c: (GST_START_TEST),
7917 (gst_systemclock_suite):
7918 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7922 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7924 * check/elements/.cvsignore:
7925 * check/elements/gstfakesrc.c:
7926 rename to name of element
7927 * check/elements/identity.c: (chain_func), (event_func),
7928 (setup_identity), (cleanup_identity), (GST_START_TEST),
7929 (identity_suite), (main):
7930 add a test for identity
7931 * check/Makefile.am:
7932 * pkgconfig/Makefile.am:
7933 * pkgconfig/gstreamer-check.pc.in:
7934 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7938 move the check stuff to a library that gets installed
7939 * check/gst-libs/controller.c: (GST_START_TEST):
7940 * check/gst-libs/gdp.c:
7941 * check/gst/gst.c: (GST_START_TEST):
7942 * check/gst/gstbin.c:
7943 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7944 * check/gst/gstbus.c:
7945 * check/gst/gstcaps.c: (GST_START_TEST):
7946 * check/gst/gstelement.c:
7947 * check/gst/gstghostpad.c:
7948 * check/gst/gstiterator.c:
7949 * check/gst/gstmessage.c:
7950 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7951 * check/gst/gstobject.c:
7952 * check/gst/gstpad.c: (GST_START_TEST):
7953 * check/gst/gststructure.c: (GST_START_TEST):
7954 * check/gst/gstsystemclock.c: (GST_START_TEST),
7955 (gst_systemclock_suite):
7956 * check/gst/gsttag.c: (gst_tag_suite):
7957 * check/gst/gstvalue.c:
7958 * check/pipelines/cleanup.c:
7959 * check/pipelines/simple_launch_lines.c:
7960 * check/states/sinks.c:
7961 change include statement
7963 * docs/gst/gstreamer-sections.txt:
7964 * docs/gst/tmpl/gstpad.sgml:
7965 document more pad stuff
7966 * gst/gstminiobject.c: (gst_mini_object_ref),
7967 (gst_mini_object_unref):
7970 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7972 * docs/gst/tmpl/gst.sgml:
7974 eliminate another tmpl file, fix spelling in the long-description
7976 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7978 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7979 (test_event), (timediff), (gstevents_suite):
7980 Should fix build on 64-bit arch's
7982 2005-08-18 Andy Wingo <wingo@pobox.com>
7984 Make sure that when a pipeline goes to PLAYING, that data has
7985 actually hit the sink.
7987 * check/states/sinks.c (test_sink): A sink that doesn't get any
7988 data shouldn't return SUCCESS for going to either PLAYING or
7989 PAUSED. Test also the return values on the way back down.
7991 * gst/gstelement.c (gst_element_set_state): When changing the
7992 state of an element currently changing state asynchronously, go to
7993 lost-state after commiting the pending state. Makes future calls
7994 to get_state continue to return ASYNC.
7996 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7997 ASYNC when going to PLAYING if we still don't have preroll, as can
7998 happen with live sources.
8000 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8002 * docs/pwg/advanced-types.xml:
8003 Hack long paragraph into 2 chunks as a workaround for buggy
8004 jadetex version in sid and breezy that loops infinitely and
8007 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8009 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8010 (test_event), (timediff), (gstevents_suite):
8011 Provide more error margin in clock measurements to allow for
8012 g_get_current_time inaccuracies.
8014 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8016 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8017 (test_event), (timediff), (gstevents_suite):
8018 Fix error message output so I might be able to tell why the
8019 test works here but fails on the build farm.
8021 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8023 * check/Makefile.am:
8024 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8025 (test_event), (timediff), (gstevents_suite), (main):
8028 * docs/design/part-seeking.txt:
8031 * docs/gst/tmpl/gstevent.sgml:
8032 * docs/gst/tmpl/gstfakesrc.sgml:
8035 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8036 Treat a buffer-without-newsegment the same as a receiving
8037 a newsegment not in time format, and disable syncing to the clock
8040 * gst/gstbus.c: (gst_bus_set_sync_handler):
8041 Assert if anyone tries to replace the existing sync_handler for bus,
8042 as only the owner should be setting it.
8045 Have a fixed set of custom event enums with events identified by
8046 their structure name (as in 0.8), rather than a free-for-all
8047 allowing collisions between enum values from different plugins.
8049 * gst/gstpad.c: (gst_pad_class_init):
8052 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8053 Handle out-of-band downstream events from the sending thread.
8055 2005-08-17 Andy Wingo <wingo@pobox.com>
8057 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8058 play-timeout==0 to mean no timeout at all. In that case, don't
8059 bother with a get_state or a warning, just return directly, even
8062 * gst/base/gstbasetransform.c: Debug changes.
8065 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8066 ensure bins post state change messages. A bit of a hack but I can't
8067 think of a way to avoid it.
8069 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8071 2005-08-16 Andy Wingo <wingo@pobox.com>
8073 * gst/base/gstadapter.h:
8074 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8075 peek() but you own the data. Not terribly efficient atm.
8077 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8079 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8080 (gst_element_found_tags):
8082 Add two utility functions for tag handling.
8084 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8086 * docs/manual/advanced-dataaccess.xml:
8087 * docs/manual/basics-helloworld.xml:
8088 Fix docs to use _bin_add() before _link(), which fixes the examples
8089 with recent core versions (reported by Madhan Raj M
8090 <raj_madan@rediffmail.com>, #313199).
8092 2005-08-16 Wim Taymans <wim@fluendo.com>
8094 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8095 Added subtract checks.
8097 * docs/design/part-events.txt:
8098 Some more docs about newsegment
8100 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8103 * gst/gstcaps.c: (gst_caps_to_string):
8104 Add comments, cleanups.
8106 * gst/gstelement.c: (gst_element_save_thyself):
8109 * gst/gstvalue.c: (gst_value_collect_int_range),
8110 (gst_string_unwrap), (gst_value_union_int_int_range),
8111 (gst_value_union_int_range_int_range),
8112 (gst_value_intersect_int_int_range),
8113 (gst_value_intersect_int_range_int_range),
8114 (gst_value_intersect_double_double_range),
8115 (gst_value_intersect_double_range_double_range),
8116 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8117 (gst_value_subtract_int_range_int),
8118 (gst_value_subtract_double_range_double),
8119 (gst_value_subtract_double_range_double_range),
8120 (gst_value_subtract_from_list), (gst_value_subtract_list),
8121 (gst_value_can_compare), (gst_value_compare_fraction):
8122 Cleanups, add comments, remove unneeded asserts.
8124 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8126 * tools/gst-launch.c: (event_loop):
8127 don't convert NULL structures to strings
8129 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8131 * docs/gst/gstreamer-sections.txt:
8132 made some defines private
8133 * docs/gst/tmpl/gstconfig.sgml:
8134 * docs/gst/tmpl/gstqueue.sgml:
8135 * docs/gst/tmpl/gsttaglist.sgml:
8136 * docs/gst/tmpl/gsttypes.sgml:
8137 * docs/gst/tmpl/gstutils.sgml:
8138 * docs/pwg/appendix-porting.xml:
8139 * gst/base/gstbasesink.h:
8140 * gst/base/gstbasesrc.c:
8141 * gst/base/gstbasesrc.h:
8142 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8143 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8144 * gst/gstelement.c: (gst_element_class_init):
8145 * gst/gstpad.c: (gst_pad_class_init):
8146 * gst/gstqueue.c: (gst_queue_class_init):
8147 * gst/gstxml.c: (gst_xml_class_init):
8148 documented all undocumented signal inline
8149 * libs/gst/controller/gst-controller.h:
8152 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8154 * docs/pwg/appendix-porting.xml:
8155 Document _set_link_function -> _set_setcaps_function.
8157 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8159 * check/Makefile.am:
8160 add a .check target for running the check
8161 * check/gst-libs/controller.c: (GST_START_TEST):
8163 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8164 complete checks for gstbuffer; would be nice if I could get the
8165 gcov stuff to work so I can see if I actually completed gstbuffer.c
8167 add ASSERT_BUFFER_REFCOUNT
8169 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8171 * docs/gst/gstreamer-sections.txt:
8172 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8174 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8175 spew out a warning if a tag that is already registered
8176 is re-registered, unless it is re-registered with a
8177 different type (#308438).
8179 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8181 * docs/pwg/appendix-porting.xml:
8182 * docs/pwg/building-state.xml:
8183 Add some paragraphs about state changes in 0.9 to the PWG
8184 and the porting guide, in particular about the new meaning
8185 of GST_STATE_PAUSED and how to write state change functions
8186 with concurrent access by multiple threads in mind.
8188 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8190 * docs/gst/gstreamer-docs.sgml:
8191 * docs/libs/gstreamer-libs-docs.sgml:
8192 added deprecation and since indexes
8193 * libs/gst/controller/gst-controller.c:
8194 * libs/gst/controller/gst-helper.c:
8198 2005-08-11 Wim Taymans <wim@fluendo.com>
8200 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8201 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8202 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8203 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8204 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8205 (gst_ghost_pad_set_target):
8206 Actually implement (re)setting the target on a ghostpad
8207 as described in the docs.
8209 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8211 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8212 Check whether GST_DEBUG_NO_COLOR environment variable is
8213 set and disable coloured debug output if that is the case.
8215 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8217 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8218 (gst_type_find_helper):
8219 The memory returned by gst_type_find_peek() needs to
8220 stay valid until the end of a typefind function, and
8221 typefind functions may keep results from different
8222 offsets around, so we can't just unref the buffer from
8223 the previous _peek(), but have to save all buffers
8224 returned by _peek() until typefinding is done and only
8227 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8229 * docs/gst/gstreamer-sections.txt:
8231 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8233 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8235 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8236 Fix a pretty good memleak.
8238 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8240 * gst/gstiterator.h:
8241 Fix wrong include and 'make distcheck'.
8243 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8245 * gst/gstbin.c: (bin_bus_handler):
8246 Use gst_element_post_message() instead.
8248 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8250 * gst/base/gstadapter.h:
8251 * gst/base/gstbasesink.h:
8252 * gst/base/gstbasesrc.h:
8253 * gst/base/gstbasetransform.h:
8254 * gst/base/gstcollectpads.h:
8255 * gst/base/gstpushsrc.h:
8256 * gst/gstiterator.h:
8257 Add padding to our base elements' class and instance structs and
8258 to GstIterator (you will need to rebuild all plugins and apps!)
8260 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8262 * gst/gstbin.c: (bin_bus_handler):
8263 Make default message forwarding from child->bus to bin->bus
8264 threadsafe and make it not emit warnings if the parent has no bus.
8266 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8268 * gst/gstelement.c: (activate_pads):
8269 On paused->ready, set pad->caps to NULL, as is the documented
8270 behaviour in this state change. Fixes playback of series of
8271 media files when visualization is enabled in Totem.
8273 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8275 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8276 Allow NULL as filter-caps (which means "any").
8278 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8280 * docs/libs/gstreamer-libs-sections.txt:
8281 * libs/gst/controller/gst-controller.c:
8282 * libs/gst/controller/gst-controller.h:
8283 * libs/gst/controller/gst-helper.c:
8284 adding more entries to the docs and fix small doc-bugs
8286 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8288 * docs/gst/gstreamer-docs.sgml:
8289 * docs/gst/gstreamer-sections.txt:
8290 * docs/gst/gstreamer.types:
8291 * docs/gst/tmpl/gstbasesink.sgml:
8292 * docs/gst/tmpl/gstbasesrc.sgml:
8293 * docs/gst/tmpl/gstbasetransform.sgml:
8294 * docs/gst/tmpl/gstfakesrc.sgml:
8295 * gst/base/gstcollectpads.c:
8296 * gst/base/gstcollectpads.h:
8297 * libs/gst/controller/gst-controller.c:
8298 * libs/gst/controller/gst-controller.h:
8299 * libs/gst/controller/gst-helper.c:
8300 * libs/gst/controller/gst-interpolation.c:
8301 * libs/gst/controller/lib.c:
8302 added long/short desc for controller docs
8303 added collectpads base class docs
8304 added correct includes to base-class docs
8306 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8308 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8309 (gst_test_mono_source_set_property),
8310 (gst_test_mono_source_class_init), (GST_START_TEST),
8311 (gst_controller_suite):
8312 * docs/gst/gstreamer-docs.sgml:
8313 * docs/gst/gstreamer-sections.txt:
8314 * docs/gst/gstreamer.types:
8315 * docs/libs/gstreamer-libs-docs.sgml:
8316 * docs/libs/gstreamer-libs-sections.txt:
8317 * gst/base/gstadapter.c:
8318 * libs/gst/controller/gst-controller.c:
8319 (gst_controlled_property_new), (gst_controlled_property_free),
8320 (gst_controller_new_valist),
8321 (gst_controller_remove_properties_valist),
8322 (gst_controller_sink_values), (_gst_controller_finalize):
8323 * libs/gst/controller/gst-controller.h:
8324 * libs/gst/controller/gst-helper.c:
8325 (gst_object_control_properties), (gst_object_uncontrol_properties),
8326 (gst_object_get_controller), (gst_object_set_controller),
8327 (gst_object_sink_values), (gst_object_get_value_arrays),
8328 (gst_object_get_value_array):
8329 more tests (and fixes) for the controller
8330 more docs for the controller
8331 integrated companies docs for the adapter
8333 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8335 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8336 (GST_START_TEST), (fakesrc_suite):
8337 add tests for sizetype
8339 2005-08-04 Andy Wingo <wingo@pobox.com>
8341 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8342 fixes buffer_alloc proxying among other things.
8344 * gst/base/gstbasetransform.c:
8345 * gst/base/gstbasetransform.h:
8346 Revert patch to gstbasetransform from 7-28 removing
8349 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8350 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8351 Semantics changed, should return not the size of the output buffer
8352 but the byte size of a buffer with a given caps.
8354 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8356 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8357 out) are not the pad caps until setcaps finishes.
8358 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8359 not-in-place case as well. Deal with changing from in-place to
8360 not-in-place within calling pad_alloc_buffer. Still a bit
8361 concerned about the overhead here...
8363 2005-08-03 Andy Wingo <wingo@pobox.com>
8365 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8366 fixating is an error.
8368 2005-08-04 Edward Hervey <edward@fluendo.com>
8370 * gst/base/gstadapter.h:
8371 Added gst_adapter_get_type() to the header
8373 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8375 * check/Makefile.am:
8376 * check/gst-libs/controller.c:
8377 * libs/gst/controller/gst-controller.c:
8378 (gst_controller_new_valist):
8379 added check test suite for the controller
8380 * gst/base/gstpushsrc.c:
8383 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8385 * docs/gst/Makefile.am:
8386 * docs/gst/gstreamer-docs.sgml:
8387 * docs/gst/gstreamer-sections.txt:
8388 * docs/gst/gstreamer.types:
8389 * docs/gst/tmpl/gstfakesrc.sgml:
8391 * gst/base/gstbasesink.c:
8392 * gst/base/gstbasesink.h:
8393 * gst/base/gstbasesrc.c:
8394 * gst/base/gstbasesrc.h:
8395 * gst/base/gstbasetransform.c:
8396 * gst/base/gstpushsrc.c:
8397 * gst/base/gstpushsrc.h:
8398 add short/long description docs to base classes
8399 add pushsrc to the docs
8400 remove consolidated doc fragments
8402 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8405 * docs/libs/Makefile.am:
8406 * docs/libs/gstreamer-libs-docs.sgml:
8407 * docs/libs/gstreamer-libs-sections.txt:
8408 * docs/libs/gstreamer-libs.types:
8409 * examples/Makefile.am:
8410 * examples/controller/.cvsignore:
8411 * examples/controller/Makefile.am:
8412 * examples/controller/audio-example.c: (main):
8413 * libs/gst/Makefile.am:
8414 * libs/gst/controller/.cvsignore:
8415 * libs/gst/controller/Makefile.am:
8416 * libs/gst/controller/gst-controller.c:
8417 (on_object_controlled_property_changed), (gst_timed_value_compare),
8418 (gst_timed_value_find),
8419 (gst_controlled_property_set_interpolation_mode),
8420 (gst_controlled_property_new), (gst_controlled_property_free),
8421 (gst_controller_find_controlled_property),
8422 (gst_controller_new_valist), (gst_controller_new),
8423 (gst_controller_remove_properties_valist),
8424 (gst_controller_remove_properties), (gst_controller_set),
8425 (gst_controller_set_from_list), (gst_controller_unset),
8426 (gst_controller_get), (gst_controller_get_all),
8427 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8428 (gst_controller_get_value_array),
8429 (gst_controller_set_interpolation_mode),
8430 (_gst_controller_finalize), (_gst_controller_init),
8431 (_gst_controller_class_init), (gst_controller_get_type):
8432 * libs/gst/controller/gst-controller.h:
8433 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8434 (g_object_uncontrol_properties), (g_object_get_controller),
8435 (g_object_set_controller), (g_object_sink_values),
8436 (g_object_get_value_arrays), (g_object_get_value_array):
8437 * libs/gst/controller/gst-interpolation.c:
8438 (gst_controlled_property_find_timed_value_node),
8439 (interpolate_none_get), (interpolate_trigger_get),
8440 (interpolate_trigger_get_value_array):
8441 * libs/gst/controller/lib.c: (gst_controller_init):
8442 * pkgconfig/Makefile.am:
8443 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8444 * pkgconfig/gstreamer-control.pc.in:
8445 * testsuite/Makefile.am:
8446 * testsuite/controller/.cvsignore:
8447 * testsuite/controller/Makefile.am:
8448 * testsuite/controller/interpolator.c: (main):
8449 added controller code
8450 removed dparam pc files
8452 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8453 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8454 (gst_collectpads_stop):
8455 Broadcast the condition when shutting down, to make sure we wake all
8456 threads up. Shut down pads on finalize, for safety.
8458 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8459 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8460 (gst_base_transform_handle_buffer),
8461 (gst_base_transform_change_state):
8462 Handle PAUSED->READY->PAUSED transition after negotiation
8464 * gst/gstmessage.c: (gst_message_init):
8465 Extra piece of debug for new messages.
8467 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8470 * docs/gst/tmpl/gstbasesrc.sgml:
8471 * docs/gst/tmpl/gstelement.sgml:
8472 * docs/gst/tmpl/gstevent.sgml:
8473 * docs/gst/tmpl/gstfakesrc.sgml:
8474 * docs/gst/tmpl/gstformat.sgml:
8475 * docs/gst/tmpl/gstghostpad.sgml:
8476 * docs/gst/tmpl/gstpad.sgml:
8477 * docs/gst/tmpl/gstquery.sgml:
8478 * docs/gst/tmpl/gststructure.sgml:
8479 * docs/gst/tmpl/gsttaglist.sgml:
8480 * docs/gst/tmpl/gstvalue.sgml:
8481 * docs/libs/gstreamer-libs-docs.sgml:
8482 * docs/libs/gstreamer-libs-sections.txt:
8483 * docs/libs/gstreamer-libs.types:
8484 * libs/gst/Makefile.am:
8485 * libs/gst/control/.cvsignore:
8486 * libs/gst/control/Makefile.am:
8487 * libs/gst/control/control.c:
8488 * libs/gst/control/control.h:
8489 * libs/gst/control/dparam.c:
8490 * libs/gst/control/dparam.h:
8491 * libs/gst/control/dparam_smooth.c:
8492 * libs/gst/control/dparam_smooth.h:
8493 * libs/gst/control/dparamcommon.h:
8494 * libs/gst/control/dparammanager.c:
8495 * libs/gst/control/dparammanager.h:
8496 * libs/gst/control/dplinearinterp.c:
8497 * libs/gst/control/dplinearinterp.h:
8498 * libs/gst/control/unitconvert.c:
8499 * libs/gst/control/unitconvert.h:
8500 * testsuite/Makefile.am:
8501 * testsuite/dynparams/.cvsignore:
8502 * testsuite/dynparams/Makefile.am:
8503 * testsuite/dynparams/dparamstest.c:
8504 * tools/Makefile.am:
8505 * tools/gst-inspect.c: (print_element_info), (main):
8506 * tools/gst-xmlinspect.c: (print_element_info), (main):
8507 deactivate and remove dparams (libgstcontrol)
8509 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8511 * gst/elements/gsttypefindelement.c:
8512 (gst_type_find_element_have_type), (gst_type_find_element_init),
8513 (stop_typefinding), (gst_type_find_element_handle_event),
8514 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8515 * gst/elements/gsttypefindelement.h:
8516 Set caps on all outgoing buffers, not just the first one.
8518 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8520 * gst/elements/gsttypefindelement.c:
8521 (gst_type_find_element_have_type),
8522 (gst_type_find_element_check_set_buffer_caps),
8523 (gst_type_find_element_init), (stop_typefinding),
8524 (gst_type_find_element_handle_event),
8525 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8526 * gst/elements/gsttypefindelement.h:
8527 Set caps on first outgoing buffer when we've found the type.
8529 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8531 * docs/gst/gstreamer-docs.sgml:
8532 * docs/gst/gstreamer-sections.txt:
8533 * docs/gst/tmpl/gstscheduler.sgml:
8534 * docs/gst/tmpl/gstschedulerfactory.sgml:
8535 Remove some old cruft from docs.
8537 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8540 Fix inline docs for GstPadLinkReturn.
8542 * gst/gststructure.c: (gst_structure_has_name):
8543 * gst/gststructure.h:
8544 * docs/gst/gstreamer-sections.txt:
8545 New API: gst_structure_has_name().
8547 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8550 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8551 and _LARGEFILE_SOURCE in config.h as required. Do not
8552 export those flags in our .pc files any longer (#142209).
8554 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8556 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8557 (gst_file_sink_do_seek), (gst_file_sink_event),
8558 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8559 Redo seek/tell calls with large file support in mind; add some
8560 debugging messages; add log message that tells us when large
8561 file support is unavailable or not enabled for some reason.
8563 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8564 Add log message that tells us when large file support
8565 is unavailable or not enabled for some reason.
8567 2005-07-29 Wim Taymans <wim@fluendo.com>
8569 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8570 Added test for removing an element with ghostpad from a bin.
8571 Fixed test as current implementation does the right thing.
8573 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8574 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8575 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8576 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8577 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8578 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8579 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8580 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8581 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8582 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8583 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8584 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8585 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8586 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8587 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8588 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8589 * gst/gstghostpad.h:
8590 Clean up ghostpads, remove properties for internal stuff.
8593 Prepare for switching targets, not all use cases work yet.
8595 2005-07-29 Wim Taymans <wim@fluendo.com>
8597 * docs/design/part-gstghostpad.txt:
8600 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8601 (gst_bin_remove_func):
8602 Unlinking pads while holding the bin LOCK is not a good
8605 * gst/gstpad.c: (gst_pad_class_init),
8606 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8607 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8608 No prob setting template after creating the pad.
8610 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8612 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8613 (gst_bus_peek), (gst_bus_source_dispatch),
8614 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8615 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8616 gst_bus_poll may be called from other threads. Handle
8617 this nicely by not making poll_data disappear off the
8618 stack once gst_bus_poll returns.
8619 gst_bus_peek now increments the refcount on the returned
8622 2005-07-29 Wim Taymans <wim@fluendo.com>
8624 * docs/design/part-gstghostpad.txt:
8625 Overview of current GhostPad datastructures and use
8626 cases for changing the target.
8628 2005-07-28 Wim Taymans <wim@fluendo.com>
8630 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8631 Added checks for hierarchy consistency whan adding linked
8634 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8635 Added check to test element scheduling without bin/pipeline.
8637 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8638 First add elements to bin, then link.
8640 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8641 (gst_bin_remove_func):
8642 Unlink pads from elements added/removed from bin to maintain
8643 hierarchy consistency.
8645 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8647 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8648 (gst_base_transform_handle_buffer):
8649 * gst/base/gstbasetransform.h:
8650 Remove broken delay_configure (fixes renegotiation of software
8651 scaling pipelines); remove some leftover printf()s.
8653 2005-07-28 Wim Taymans <wim@fluendo.com>
8655 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8656 Added some more tests for wrong hierarchy
8658 * docs/design/part-overview.txt:
8661 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8664 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8665 (gst_element_dispose):
8668 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8669 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8670 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8671 (gst_pad_set_caps), (gst_pad_send_event):
8672 Check for correct hierarchy when linking pads. Moving to
8673 strict requirement for ghostpads when linking elements in
8677 Clean ups. Added WRONG_HIERARCHY return value.
8679 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8681 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8682 Better debug if no transform is possible.
8684 2005-07-27 Wim Taymans <wim@fluendo.com>
8686 * docs/random/wtay/network-transp:
8689 2005-07-27 Wim Taymans <wim@fluendo.com>
8691 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8692 (gst_dp_event_from_packet):
8693 Fix serialization of seek events.
8695 2005-07-27 Wim Taymans <wim@fluendo.com>
8697 * check/gst-libs/gdp.c: (GST_START_TEST):
8698 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8699 Fix compilation and fix event serialization.
8701 2005-07-27 Wim Taymans <wim@fluendo.com>
8704 * docs/design/part-TODO.txt:
8705 * docs/design/part-events.txt:
8708 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8709 (gst_base_sink_event), (gst_base_sink_do_sync),
8710 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8711 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8712 (gst_base_src_do_seek), (gst_base_src_event_handler),
8713 (gst_base_src_loop):
8714 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8715 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8716 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8717 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8718 (gst_base_transform_set_passthrough),
8719 (gst_base_transform_is_passthrough):
8720 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8721 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8727 * gst/gstelement.c: (gst_element_seek):
8729 Update gst_element_seek.
8731 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8732 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8733 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8734 (gst_event_new_eos), (gst_event_new_newsegment),
8735 (gst_event_parse_newsegment), (gst_event_new_tag),
8736 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8737 (gst_event_parse_qos), (gst_event_new_seek),
8738 (gst_event_parse_seek), (gst_event_new_navigation):
8740 Make GstEvent use GstStructure. Add parsing code, make sure the
8741 API is sufficiently generic.
8742 Mark possible directions of events and serialization.
8744 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8745 (_gst_message_copy), (gst_message_new_segment_start),
8746 (gst_message_new_segment_done), (gst_message_new_custom),
8747 (gst_message_parse_segment_start),
8748 (gst_message_parse_segment_done):
8751 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8752 (gst_pad_set_caps), (gst_pad_send_event):
8753 Update for new events.
8754 Catch events sent in wrong directions.
8756 * gst/gstqueue.c: (gst_queue_link_src),
8757 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8758 (gst_queue_handle_src_query):
8763 Remove event code from this file.
8765 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8766 (gst_dp_event_from_packet):
8769 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8771 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8772 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8773 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8774 Make debugging actually useful.
8776 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8778 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8779 (gst_pad_fixate_caps):
8780 Implement default fixation once again, so that gst_pad_fixate()
8781 actually does anything at all. This probably needs to be some
8782 sort of a last resort, and use profile-based fixation first, but
8783 since that doesn't exist yet, this is the best we have. Fixes
8784 visualization in Totem.
8786 2005-07-22 Wim Taymans <wim@fluendo.com>
8788 * docs/design/part-events.txt:
8791 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8792 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8793 (gst_base_sink_activate_pull):
8796 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8797 (gst_fake_src_create):
8798 Fix handoff marshall.
8800 * gst/elements/gstidentity.c: (gst_identity_class_init),
8801 (gst_identity_transform_ip):
8802 We're a real inplace element.
8804 * gst/gstbus.c: (gst_bus_post):
8805 Added some comments.
8807 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8808 * tests/muxing/case1.c: (main):
8809 * tests/sched/dynamic-pipeline.c: (main):
8810 * tests/sched/interrupt1.c: (main):
8811 * tests/sched/interrupt2.c: (main):
8812 * tests/sched/interrupt3.c: (main):
8813 * tests/sched/runxml.c: (main):
8814 * tests/sched/sched-stress.c: (main):
8815 * tests/seeking/seeking1.c: (event_received), (main):
8816 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8818 * tests/threadstate/threadstate3.c: (main):
8819 * tests/threadstate/threadstate4.c: (main):
8820 * tests/threadstate/threadstate5.c: (main):
8823 2005-07-21 Wim Taymans <wim@fluendo.com>
8825 * docs/design/part-seeking.txt:
8826 Some small additions.
8828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8829 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8830 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8831 * gst/base/gstbasesink.h:
8832 discont values are gint64, handle the math correctly.
8834 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8835 Make the basesrc report error if the source pad is not linked.
8837 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8838 (gst_queue_loop), (gst_queue_handle_src_query),
8839 (gst_queue_src_activate_push):
8840 Make queue collect data even if the srcpad is not linked.
8841 Start pushing out data as soon as it is linked.
8843 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8845 Added gst_flow_get_name() to ease error reporting.
8847 2005-07-20 Wim Taymans <wim@fluendo.com>
8849 * gst/gstmessage.c: (gst_message_new_segment_start),
8850 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8851 (gst_message_parse_segment_done):
8853 Added a bunch of messages for advanced seeking.
8855 * gst/parse/grammar.y:
8856 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8857 (gst_dpman_state_changed):
8858 Fix some new-pad -> pad-added signals
8860 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8862 * docs/manual/appendix-porting.xml:
8863 * docs/pwg/appendix-porting.xml:
8864 Document new-pad/state-change signal renames and the FixedList
8867 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8869 * docs/manual/advanced-autoplugging.xml:
8870 * docs/manual/basics-helloworld.xml:
8871 * docs/manual/basics-pads.xml:
8872 * docs/random/ds/0.9-suggested-changes:
8873 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8878 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8879 (gst_structure_parse_array), (gst_structure_parse_value):
8880 * gst/gstvalue.c: (gst_type_is_fixed),
8881 (gst_value_list_prepend_value), (gst_value_list_append_value),
8882 (gst_value_list_get_size), (gst_value_list_get_value),
8883 (gst_value_transform_array_string), (gst_value_serialize_array),
8884 (gst_value_deserialize_array), (gst_value_intersect_array),
8885 (gst_value_is_fixed), (_gst_value_initialize):
8887 GstElement::new-pad -> pad-added, GstElement::state-change ->
8888 state-changed, GstValueFixedList -> GstValueArray, add format and
8889 flags as their own arguments in gst_element_seek() (should improve
8890 "bindeability"), remove function generators since they don't work
8891 under a whole bunch of compilers (they were deprecated already
8894 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8896 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8897 (_gst_debug_register_funcptr):
8899 Fix illegal cast on some platforms (#309253).
8901 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8903 * gst/gstmessage.c: (gst_message_new_custom):
8905 Add _new_custom, make _new_application a macro to _new_custom.
8907 2005-07-20 Wim Taymans <wim@fluendo.com>
8909 * gst/base/gstbasesrc.c: (gst_base_src_init),
8910 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8911 * gst/base/gstbasesrc.h:
8912 Add a gboolean to decide when to push out a discont.
8914 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8915 (gst_queue_loop), (gst_queue_handle_src_query),
8916 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8917 (gst_queue_set_property), (gst_queue_get_property):
8920 * tests/threadstate/threadstate1.c: (main):
8921 Make a thread test compile and run... very silly..
8924 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8926 * docs/manual/appendix-porting.xml:
8927 Mention removal of libgstgconf-0.9.la and existence of gconf
8930 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8932 * docs/pwg/advanced-clock.xml:
8933 * docs/pwg/appendix-porting.xml:
8934 * docs/pwg/intro-preface.xml:
8935 * docs/pwg/other-base.xml:
8936 * docs/pwg/other-manager.xml:
8937 * docs/pwg/other-nton.xml:
8938 * docs/pwg/other-ntoone.xml:
8939 * docs/pwg/other-oneton.xml:
8941 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8942 demuxer), remove n-to-n (was never written), fix some code examples
8943 and links and update the porting section to include all this.
8945 2005-07-19 Wim Taymans <wim@fluendo.com>
8947 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8948 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8949 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8950 (gst_queue_src_activate_push), (gst_queue_change_state),
8951 (gst_queue_get_property):
8953 Propagate GstFlowReturn more intelligently upstream and output
8954 an ERROR/EOS when streaming stopped due to fatal error.
8956 2005-07-19 Wim Taymans <wim@fluendo.com>
8958 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8959 Don't block forever for the state change to complete, the
8960 pipeline already did with a sensible timeout.
8962 2005-07-19 Wim Taymans <wim@fluendo.com>
8964 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8965 Make sure we never call the create function is we
8968 2005-07-19 Andy Wingo <wingo@pobox.com>
8970 * gst/parse/parse.l: Attempt to solve bug #172815.
8972 2005-07-19 Wim Taymans <wim@fluendo.com>
8974 * docs/design/part-clocks.txt:
8975 * docs/design/part-events.txt:
8976 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8978 Only update the seeking values when we are not
8981 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8983 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8984 Oops, ignore the result of gst_pad_push_event here.
8986 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8988 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8989 (gst_base_src_activate_push):
8990 Send discont event from the loop function, as pads
8991 aren't activated yet in the activate_push handler.
8993 * gst/gstbin.c: (bin_bus_handler):
8994 Don't leak element name.
8996 2005-07-18 Andy Wingo <wingo@pobox.com>
8998 * configure.ac: Use AS_LIBTOOL_TAGS.
9000 2005-07-18 Wim Taymans <wim@fluendo.com>
9002 * docs/gst/gstreamer.types:
9003 Remove deleted types.
9005 2005-07-18 Wim Taymans <wim@fluendo.com>
9007 * check/elements/gstfakesrc.c: (GST_START_TEST):
9010 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9011 (init_popt_callback):
9013 * gst/gst_private.h:
9014 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9015 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9018 * gst/gstconfig.h.in:
9019 * gst/gstelement.c: (gst_element_class_init),
9020 (gst_element_set_base_time), (gst_element_get_base_time),
9021 (iterator_fold_with_resync), (gst_element_change_state),
9022 (gst_element_dispose), (gst_element_get_bus):
9024 * gst/gstelementfactory.h:
9025 * gst/gsterror.c: (_gst_core_errors_init):
9028 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9030 * gst/gstinfo.c: (_gst_debug_init):
9031 * gst/gstmessage.c: (_gst_message_copy):
9033 * gst/gstminiobject.h:
9036 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9037 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9040 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9041 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9042 (gst_pipeline_get_last_stream_time):
9043 * gst/gstpipeline.h:
9044 * gst/gstpluginfeature.h:
9046 * gst/gstscheduler.c:
9047 * gst/gstscheduler.h:
9048 * gst/gststructure.h:
9049 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9050 (gst_task_finalize), (gst_task_func), (gst_task_create),
9051 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9052 (gst_task_stop), (gst_task_pause):
9054 * gst/gsttypefind.h:
9056 * gst/registries/gstlibxmlregistry.c: (load_feature),
9057 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9058 * gst/registries/gstxmlregistry.c:
9059 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9060 * gst/schedulers/threadscheduler.c:
9061 * libs/gst/control/dparammanager.h:
9062 * tools/gst-inspect.c: (print_element_list),
9063 (print_plugin_features), (print_element_features):
9064 * tools/gst-xmlinspect.c: (print_element_list),
9065 (print_plugin_info), (main):
9066 Removed plugable schedulers.
9067 Removed Scheduler/Manager from elements.
9068 Removed gsttypes.h, rearranged includes.
9069 Removed dependency pad<->element, element<>pipeline, and
9070 various others, fix includes.
9071 implement gst_pad_get_parent() with gst_object_get_parent()
9072 Make GstTask sefcontained.
9073 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9075 Fix endless loop in iterator_fold_with_resync.
9078 2005-07-18 Wim Taymans <wim@fluendo.com>
9084 2005-07-18 Wim Taymans <wim@fluendo.com>
9089 2005-07-18 Wim Taymans <wim@fluendo.com>
9095 2005-07-18 Wim Taymans <wim@fluendo.com>
9097 * docs/design/part-dynamic.txt:
9098 * docs/design/part-events.txt:
9099 * docs/design/part-seeking.txt:
9100 Some more docs in the works.
9102 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9103 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9104 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9105 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9106 (gst_base_transform_handle_buffer),
9107 (gst_base_transform_sink_activate_push),
9108 (gst_base_transform_src_activate_pull),
9109 (gst_base_transform_set_passthrough),
9110 (gst_base_transform_is_passthrough):
9113 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9116 * gst/gstevent.c: (gst_event_finalize):
9119 * gst/gstutils.c: (gst_element_unlink),
9120 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9121 (gst_pad_proxy_setcaps):
9123 Add _get_parent_element() to get a pads parent as an element.
9125 2005-07-18 Wim Taymans <wim@fluendo.com>
9127 * check/gst/gstbin.c: (GST_START_TEST):
9130 2005-07-18 Wim Taymans <wim@fluendo.com>
9132 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9133 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9134 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9135 (gst_base_sink_event), (gst_base_sink_do_sync),
9136 (gst_base_sink_chain), (gst_base_sink_loop),
9137 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9138 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9140 Fix logic for returning ASYNC when not prerolled.
9142 2005-07-18 Wim Taymans <wim@fluendo.com>
9144 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9145 Fix nasty refcount bug.
9147 2005-07-16 Philippe Khalaf <burger@speedy.org>
9149 * gst/elements/gstfdsrc.c:
9150 * gst/elements/gstfdsrc.h:
9151 * gst/elements/gstelements.c:
9152 * gst/elements/Makefile.am:
9153 Ported fdsrc to 0.9.
9155 2005-07-16 Wim Taymans <wim@fluendo.com>
9157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9158 (gst_base_sink_do_sync):
9161 2005-07-16 Wim Taymans <wim@fluendo.com>
9163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9164 (gst_base_sink_event), (gst_base_sink_get_times),
9165 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9166 * gst/base/gstbasesink.h:
9167 Store and use discont values when syncing buffers as described
9170 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9171 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9172 (gst_base_src_activate_push):
9173 Push discont event when starting.
9175 * gst/elements/gstidentity.c: (gst_identity_transform):
9178 * gst/gstbin.c: (gst_bin_change_state):
9179 Small cleanups in base_time distribution.
9181 * gst/gstelement.c: (gst_element_set_base_time),
9182 (gst_element_get_base_time), (gst_element_change_state):
9184 Added methods for the base_time of the element.
9187 * gst/gstpipeline.c: (gst_pipeline_send_event),
9188 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9189 (gst_pipeline_get_last_stream_time):
9190 * gst/gstpipeline.h:
9192 Handle seeking as described in design doc, remove stream_time
9194 Cleanups clock and stream_time selection code. Added accessors
9195 for the stream_time.
9198 2005-07-16 Andy Wingo <wingo@pobox.com>
9200 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9203 2005-07-16 Wim Taymans <wim@fluendo.com>
9205 * check/gst/gstbin.c: (GST_START_TEST):
9206 Make elements silent as the deep_notify refs the
9207 parent, which might make the test fail.
9209 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9210 Don't hold the lock for too long.
9212 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9214 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9215 Don't unref the caps we passed to gst_caps_make_writable() after
9216 passing them. gst_caps_make_writable() will do that for us.
9218 2005-07-15 Andy Wingo <wingo@pobox.com>
9220 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9223 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9224 own marshalling function for the handoff signal. Properly type the
9225 buffer as a buffer. Fixes some warnings. Should do a more general
9227 (gst_identity_class_init): Plug into the right marshaller.
9229 2005-07-15 Wim Taymans <wim@fluendo.com>
9231 * docs/design/part-TODO.txt:
9232 * docs/design/part-clocks.txt:
9233 * docs/design/part-element-sink.txt:
9234 * docs/design/part-events.txt:
9235 * docs/design/part-gstpipeline.txt:
9236 Updated docs, mostly DISCONT related.
9238 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9240 * docs/pwg/building-pads.xml:
9241 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9243 2005-07-15 Andy Wingo <wingo@pobox.com>
9245 * tools/gst-typefind.c: Update, add copyright block.
9247 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9248 Normalize and truncate caps before fixation.
9251 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9252 discards all but the first structure from its argument.
9254 2005-07-15 Wim Taymans <wim@fluendo.com>
9256 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9257 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9258 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9259 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9260 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9261 (gst_base_transform_chain), (gst_base_transform_change_state),
9262 (gst_base_transform_set_passthrough),
9263 (gst_base_transform_is_passthrough):
9264 * gst/base/gstbasetransform.h:
9265 Make passthrough work using the bufferpools.
9266 Changed API a bit, subclasses have to write into a buffer
9267 provided by the base class.
9268 More debug info in nego functions.
9270 * gst/elements/gstidentity.c: (gst_identity_init),
9271 (gst_identity_transform):
9272 Port to new base class.
9274 2005-07-15 Wim Taymans <wim@fluendo.com>
9276 * gst/gstmessage.c: (gst_message_new_state_changed):
9277 * tools/gst-launch.c: (event_loop), (main):
9278 Totally dump messages in -launch with the -m option.
9279 Fix message name for State messages,
9281 2005-07-14 Wim Taymans <wim@fluendo.com>
9283 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9284 Post error messages on errors.
9286 2005-07-14 Wim Taymans <wim@fluendo.com>
9288 * gst/gstcaps.c: (gst_caps_do_simplify):
9292 Define error for stream stopped.
9294 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9295 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9296 Do proper return values.
9298 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9299 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9300 (gst_pad_get_range):
9301 Better return values.
9304 Reorganise return values, add macro to check for fatal errors.
9306 * gst/gstqueue.c: (gst_queue_chain):
9307 Return proper GstFlowReturn values,
9309 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9311 * docs/gst/gstreamer-sections.txt:
9312 * docs/gst/gstreamer.types:
9313 * docs/gst/tmpl/gst.sgml:
9314 * docs/gst/tmpl/gstbasesink.sgml:
9315 * docs/gst/tmpl/gstbasesrc.sgml:
9316 * docs/gst/tmpl/gstbasetransform.sgml:
9317 * docs/gst/tmpl/gstbin.sgml:
9318 * docs/gst/tmpl/gstbuffer.sgml:
9319 * docs/gst/tmpl/gstcaps.sgml:
9320 * docs/gst/tmpl/gstclock.sgml:
9321 * docs/gst/tmpl/gstcompat.sgml:
9322 * docs/gst/tmpl/gstconfig.sgml:
9323 * docs/gst/tmpl/gstelement.sgml:
9324 * docs/gst/tmpl/gstelementdetails.sgml:
9325 * docs/gst/tmpl/gstelementfactory.sgml:
9326 * docs/gst/tmpl/gstenumtypes.sgml:
9327 * docs/gst/tmpl/gsterror.sgml:
9328 * docs/gst/tmpl/gstevent.sgml:
9329 * docs/gst/tmpl/gstfakesink.sgml:
9330 * docs/gst/tmpl/gstfakesrc.sgml:
9331 * docs/gst/tmpl/gstfilesink.sgml:
9332 * docs/gst/tmpl/gstfilesrc.sgml:
9333 * docs/gst/tmpl/gstfilter.sgml:
9334 * docs/gst/tmpl/gstformat.sgml:
9335 * docs/gst/tmpl/gstghostpad.sgml:
9336 * docs/gst/tmpl/gstimplementsinterface.sgml:
9337 * docs/gst/tmpl/gstindex.sgml:
9338 * docs/gst/tmpl/gstindexfactory.sgml:
9339 * docs/gst/tmpl/gstinfo.sgml:
9340 * docs/gst/tmpl/gstiterator.sgml:
9341 * docs/gst/tmpl/gstmacros.sgml:
9342 * docs/gst/tmpl/gstmemchunk.sgml:
9343 * docs/gst/tmpl/gstminiobject.sgml:
9344 * docs/gst/tmpl/gstobject.sgml:
9345 * docs/gst/tmpl/gstpad.sgml:
9346 * docs/gst/tmpl/gstpadtemplate.sgml:
9347 * docs/gst/tmpl/gstparse.sgml:
9348 * docs/gst/tmpl/gstpipeline.sgml:
9349 * docs/gst/tmpl/gstplugin.sgml:
9350 * docs/gst/tmpl/gstpluginfeature.sgml:
9351 * docs/gst/tmpl/gstquery.sgml:
9352 * docs/gst/tmpl/gstqueue.sgml:
9353 * docs/gst/tmpl/gstregistry.sgml:
9354 * docs/gst/tmpl/gstregistrypool.sgml:
9355 * docs/gst/tmpl/gstscheduler.sgml:
9356 * docs/gst/tmpl/gstschedulerfactory.sgml:
9357 * docs/gst/tmpl/gststructure.sgml:
9358 * docs/gst/tmpl/gstsystemclock.sgml:
9359 * docs/gst/tmpl/gsttaglist.sgml:
9360 * docs/gst/tmpl/gsttagsetter.sgml:
9361 * docs/gst/tmpl/gsttrace.sgml:
9362 * docs/gst/tmpl/gsttrashstack.sgml:
9363 * docs/gst/tmpl/gsttypefind.sgml:
9364 * docs/gst/tmpl/gsttypefindfactory.sgml:
9365 * docs/gst/tmpl/gsttypes.sgml:
9366 * docs/gst/tmpl/gsturihandler.sgml:
9367 * docs/gst/tmpl/gsturitype.sgml:
9368 * docs/gst/tmpl/gstutils.sgml:
9369 * docs/gst/tmpl/gstvalue.sgml:
9370 * docs/gst/tmpl/gstversion.sgml:
9371 * docs/gst/tmpl/gstxml.sgml:
9372 * docs/libs/tmpl/gstcontrol.sgml:
9373 * docs/libs/tmpl/gstdataprotocol.sgml:
9374 * docs/libs/tmpl/gstdparam.sgml:
9375 * docs/libs/tmpl/gstdplinint.sgml:
9376 * docs/libs/tmpl/gstdpman.sgml:
9377 * docs/libs/tmpl/gstdpsmooth.sgml:
9378 * docs/libs/tmpl/gstgetbits.sgml:
9379 * docs/libs/tmpl/gstunitconvert.sgml:
9380 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9381 (gst_push_src_base_init), (gst_push_src_class_init),
9382 (gst_push_src_init), (gst_push_src_create):
9383 * gst/base/gstpushsrc.h:
9384 * gst/elements/gstelements.c:
9385 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9386 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9387 (gst_fake_sink_init), (gst_fake_sink_set_property),
9388 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9389 (gst_fake_sink_event), (gst_fake_sink_preroll),
9390 (gst_fake_sink_render), (gst_fake_sink_change_state):
9391 * gst/elements/gstfakesink.h:
9392 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9393 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9394 (gst_fake_src_base_init), (gst_fake_src_class_init),
9395 (gst_fake_src_init), (gst_fake_src_event_handler),
9396 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9397 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9398 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9399 (gst_fake_src_create_buffer), (gst_fake_src_create),
9400 (gst_fake_src_start), (gst_fake_src_stop):
9401 * gst/elements/gstfakesrc.h:
9402 * gst/elements/gstfilesink.c: (_do_init),
9403 (gst_file_sink_base_init), (gst_file_sink_class_init),
9404 (gst_file_sink_init), (gst_file_sink_dispose),
9405 (gst_file_sink_set_location), (gst_file_sink_set_property),
9406 (gst_file_sink_get_property), (gst_file_sink_open_file),
9407 (gst_file_sink_close_file), (gst_file_sink_query),
9408 (gst_file_sink_event), (gst_file_sink_render),
9409 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9410 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9411 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9412 * gst/elements/gstfilesink.h:
9413 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9414 (gst_file_src_class_init), (gst_file_src_init),
9415 (gst_file_src_finalize), (gst_file_src_set_location),
9416 (gst_file_src_set_property), (gst_file_src_get_property),
9417 (gst_file_src_map_region), (gst_file_src_map_small_region),
9418 (gst_file_src_create_mmap), (gst_file_src_create_read),
9419 (gst_file_src_create), (gst_file_src_is_seekable),
9420 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9421 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9422 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9423 (gst_file_src_uri_handler_init):
9424 * gst/elements/gstfilesrc.h:
9425 more autistic cleanliness in functions/names/defines
9427 2005-07-13 Andy Wingo <wingo@pobox.com>
9429 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9430 source couldn't negotiate.
9432 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9436 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9437 function. I am channeling Hades. Put your boots on suckers!!!
9439 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9441 * testsuite/caps/Makefile.am:
9442 * testsuite/caps/value_compare.c:
9443 * testsuite/caps/value_intersect.c:
9444 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9445 move two testsuite apps over to the check dir
9447 2005-07-12 Wim Taymans <wim@fluendo.com>
9449 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9450 Added more debug info in the negotiate process.
9453 Prepare for segment playback.
9455 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9461 * tools/gst-launch.c: (main):
9462 NULL pipeline on errors.
9464 2005-07-12 Andy Wingo <wingo@pobox.com>
9466 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9467 not it comes from a malloc region. Make sure our copy gets freed.
9469 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9471 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9472 * check/gst/gstmessage.c: (GST_START_TEST):
9473 * check/gst/gststructure.c: (GST_START_TEST),
9474 (gst_structure_suite), (main):
9476 * gst/gstelement.c: (gst_element_message_full):
9477 clean up GError and debug string now that they get copied
9478 * gst/gstmessage.c: (gst_message_new_error),
9479 (gst_message_new_warning), (gst_message_parse_error),
9480 (gst_message_parse_warning):
9481 use GST_TYPE_G_ERROR for structure_new, and take copies of
9482 arguments, so that we don't mess up refcounting
9484 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9486 * check/Makefile.am:
9487 add per-test valgrind targets
9488 * check/gst-libs/gdp.c: (GST_START_TEST),
9489 (gst_data_protocol_suite), (main):
9492 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9494 * check/Makefile.am:
9495 instate more valgrindable tests
9496 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9497 (GST_START_TEST), (fakesrc_suite):
9498 * check/gst/gstpad.c: (GST_START_TEST):
9499 * check/gst/gststructure.c: (GST_START_TEST):
9501 * docs/gst/tmpl/gstminiobject.sgml:
9502 * gst/gstpad.c: (gst_pad_finalize):
9503 fix the static mutex leak
9505 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9507 * check/Makefile.am:
9508 add two more tests for valgrinding
9509 * check/gst/gstvalue.c: (GST_START_TEST):
9510 test refcount of deserialized buffer, found a leak
9511 * docs/gst/gstreamer-docs.sgml:
9512 * docs/gst/gstreamer-sections.txt:
9513 * docs/gst/gstreamer.types:
9514 * docs/gst/tmpl/gstminiobject.sgml:
9515 add miniobject to docs
9516 * gst/gstminiobject.c:
9518 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9519 (gst_string_unwrap):
9520 fix a hard-to-find invalid write for one of the tests
9521 fix a leak for deserialized buffers
9523 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9525 * docs/pwg/advanced-events.xml:
9526 * docs/pwg/advanced-request.xml:
9527 * docs/pwg/advanced-scheduling.xml:
9528 * docs/pwg/appendix-porting.xml:
9529 * docs/pwg/building-boiler.xml:
9530 * docs/pwg/intro-preface.xml:
9531 * docs/pwg/other-ntoone.xml:
9532 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9533 of example code and explanation for pad activation, loop() and
9534 getrange() functions and a bit more. Remove old comments pointing
9536 * examples/pwg/Makefile.am:
9537 Add loop/getrange examples.
9539 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9542 check for valgrind binary + some fixes
9544 valgrind suppressions for the tests
9545 * check/Makefile.am:
9546 add a valgrind: target that valgrinds the unit tests
9547 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9548 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9549 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9550 * check/gst/gstghostpad.c:
9552 * check/gst/gstdata.c:
9554 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9555 (thread_unref), (gst_mini_object_suite), (main):
9557 * gst/gst.c: (gst_deinit):
9559 add a method to clean up.
9560 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9561 (gst_system_clock_obtain):
9562 allow for disposing the system clock.
9563 * tools/gst-launch.c: (main):
9566 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9568 * docs/gst/tmpl/gstbasesrc.sgml:
9569 * docs/gst/tmpl/gstfakesrc.sgml:
9570 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9571 (gst_base_src_init), (gst_base_src_set_property),
9572 (gst_base_src_get_property), (gst_base_src_get_range),
9573 (gst_base_src_start):
9574 * gst/base/gstbasesrc.h:
9575 add num-buffers property
9576 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9577 (gst_fakesrc_init), (gst_fakesrc_set_property),
9578 (gst_fakesrc_get_property), (gst_fakesrc_create),
9579 (gst_fakesrc_start):
9580 remove num-buffers property
9582 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9584 * docs/gst/gstreamer-sections.txt:
9585 * docs/gst/tmpl/gstbasesink.sgml:
9586 * docs/gst/tmpl/gstbasesrc.sgml:
9587 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9588 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9589 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9590 (gst_base_sink_set_property), (gst_base_sink_get_property),
9591 (gst_base_sink_handle_object), (gst_base_sink_event),
9592 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9593 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9594 (gst_base_sink_loop), (gst_base_sink_deactivate),
9595 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9596 (gst_base_sink_change_state):
9597 * gst/base/gstbasesink.h:
9598 * gst/base/gstbasesrc.h:
9599 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9600 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9601 (gst_filesink_init):
9602 more macro splitting
9604 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9606 * gst/gstelement.c: (gst_element_get_bus):
9608 * tools/gst-launch.c: (check_intr), (event_loop):
9611 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9613 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9616 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9618 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9619 (gst_base_src_finalize):
9620 add finalize method and clean up properly
9621 * gst/gstpipeline.c: (gst_pipeline_dispose):
9624 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9626 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9628 add more things to check
9629 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9633 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9635 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9636 (GST_START_TEST), (fakesrc_suite):
9637 * check/gst-libs/gdp.c: (GST_START_TEST):
9638 * check/gst/gst.c: (GST_START_TEST):
9639 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9640 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9641 * check/gst/gstbus.c: (GST_START_TEST):
9642 * check/gst/gstcaps.c: (GST_START_TEST):
9643 * check/gst/gstdata.c: (GST_START_TEST):
9644 * check/gst/gstelement.c: (GST_START_TEST):
9645 * check/gst/gstghostpad.c: (GST_START_TEST):
9646 * check/gst/gstiterator.c: (GST_START_TEST):
9647 * check/gst/gstmessage.c: (GST_START_TEST):
9648 * check/gst/gstobject.c: (GST_START_TEST):
9649 * check/gst/gstpad.c: (GST_START_TEST):
9650 * check/gst/gststructure.c: (GST_START_TEST):
9651 * check/gst/gstsystemclock.c: (GST_START_TEST),
9652 (gst_systemclock_suite):
9653 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9654 * check/gst/gstvalue.c: (GST_START_TEST):
9655 * check/pipelines/cleanup.c: (GST_START_TEST):
9656 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9657 * check/states/sinks.c: (GST_START_TEST):
9658 * check/gstcheck.c: (gst_check_init):
9660 add debugging category
9661 use GST_START_TEST now, so we add a debug line
9663 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9665 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9666 add test for state change message on a bin
9667 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9669 * gst/gstbin.c: (gst_bin_init):
9670 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9671 * gst/gstelement.c: (gst_element_post_message),
9672 (gst_element_set_state):
9673 * gst/gstelementfactory.c: (gst_element_factory_create):
9674 * gst/gstmessage.c: (gst_message_new):
9675 * gst/gstscheduler.c:
9676 various debugging additions and cleanups
9678 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9680 * check/Makefile.am:
9681 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9683 adding tests for elements
9684 * gst/gstelement.c: (gst_element_dispose):
9686 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9688 * gst/registries/gstlibxmlregistry.c: (load_feature):
9689 plug more leaks. A simple gst_init() now is leakfree, yay.
9691 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9693 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9694 (gst_xml_registry_load):
9695 plug another memleak
9697 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9700 use GST_SET_ERROR_CFLAGS
9702 change to ERROR_CFLAGS
9704 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9707 make GST_ERROR_CFLAGS overridable and re-enable Werror
9709 add a note about error CFLAGS
9710 * docs/gst/tmpl/gstfakesrc.sgml:
9711 * gst/elements/gstfakesrc.c:
9712 comment out some unused code
9713 * gst/gst.c: (split_and_iterate):
9714 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9718 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9720 * common/Makefile.am:
9721 * common/gtk-doc.mak:
9722 * docs/gst/Makefile.am:
9723 factor out gtk-doc.mak
9725 2005-07-07 Wim Taymans <wim@fluendo.com>
9727 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9728 (gst_thread_scheduler_dispose):
9729 Unlock the STREAM_LOCK completely.
9731 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9733 * check/Makefile.am:
9734 * check/elements/.cvsignore:
9735 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9736 (START_TEST), (fakesrc_suite), (main):
9737 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9738 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9739 (gst_fakesrc_create), (gst_fakesrc_start):
9740 * gst/elements/gstfakesrc.h:
9741 adding a first element test
9743 2005-07-07 Andy Wingo <wingo@pobox.com>
9745 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9748 2005-07-07 Wim Taymans <wim@fluendo.com>
9754 2005-07-07 Wim Taymans <wim@fluendo.com>
9756 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9757 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9758 Allow subclasses to implement their own negotiation.
9760 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9762 * docs/design/part-gstbin.txt:
9763 * docs/design/part-gstpipeline.txt:
9764 Update design notes to reflect the movement of
9765 responsibility for bus handling from GstPipeline to
9768 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9771 Remove unnecessary queue2/3/4 examples.
9773 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9775 * examples/Makefile.am:
9776 * examples/helloworld/helloworld.c: (event_loop), (main):
9777 * examples/queue/queue.c: (event_loop), (main):
9778 * examples/queue2/queue2.c: (main):
9779 Update a couple of the examples to work again.
9781 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9782 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9783 Spelling corrections and extra debug.
9785 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9786 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9787 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9789 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9790 (gst_pipeline_change_state):
9791 * gst/gstpipeline.h:
9792 Move the bus handler for children to the GstBin, and create a
9793 separate bus for receiving messages from children to the one the
9794 bus sends 'upwards' on.
9796 2005-07-06 Wim Taymans <wim@fluendo.com>
9799 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9800 (gst_base_sink_handle_object), (gst_base_sink_loop),
9801 (gst_base_sink_change_state):
9802 * gst/base/gstbasesink.h:
9803 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9804 (gst_base_src_init), (gst_base_src_setcaps),
9805 (gst_base_src_getcaps), (gst_base_src_loop),
9806 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9807 (gst_base_src_start), (gst_base_src_change_state):
9808 * gst/base/gstbasesrc.h:
9809 Make basesrc negotiate.
9810 Handle the case where preroll fails in basesink.
9813 2005-07-06 Wim Taymans <wim@fluendo.com>
9815 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9816 Implement the fixate function.
9817 Clean up acceptcaps.
9819 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9821 * docs/pwg/building-filterfactory.xml:
9823 Remove never-written filter-factory chapter; I'll add the various
9824 base classes to part 4 ("other element types") later on.
9826 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9828 * docs/pwg/advanced-negotiation.xml:
9829 * docs/pwg/building-boiler.xml:
9830 * docs/pwg/building-pads.xml:
9832 * examples/pwg/Makefile.am:
9833 Add a chapter on caps negotiation, simplify the original code
9834 samples a bit w.r.t. caps negotiation, add link to the advanced
9835 section. Add a bunch of examples showing different use cases of
9836 different types of caps negotiation. Upstream renegotiation isn't
9837 fully documented yet since nobody knows how that works.
9839 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9841 * check/gst/gstpad.c:
9843 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9844 if pad has no parent, return NULL as list of internal links
9846 2005-07-05 Andy Wingo <wingo@pobox.com>
9848 * gst/elements/gstfilesrc.c:
9849 * gst/elements/gstfakesrc.c:
9850 * gst/base/gstpushsrc.c:
9851 * gst/base/gstbasesrc.h:
9852 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9854 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9857 better report generation target (lcov needs a patch)
9859 2005-07-05 Andy Wingo <wingo@pobox.com>
9861 * gst/elements, testsuite: Null if we got it...
9863 2005-07-05 Wim Taymans <wim@fluendo.com>
9866 * libs/gst/dataprotocol/Makefile.am:
9867 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9868 * libs/gst/dataprotocol/dataprotocol.h:
9869 * pkgconfig/Makefile.am:
9870 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9871 * pkgconfig/gstreamer-dataprotocol.pc.in:
9872 Ported dataprotol to 0.9.
9873 Added pkgconfig files.
9875 2005-07-05 Andy Wingo <wingo@pobox.com>
9877 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9878 Default to returning TRUE for the case when tranform_caps returns
9879 a fixed caps, like for identity or volume.
9881 * check/gst/gstbus.c (pound_bus_with_messages):
9882 * check/gst/gstmessage.c (START_TEST):
9883 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9886 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9887 logic weaks here: always run transform_caps, trying passthrough
9888 operation only if the original caps intersects with the transform.
9890 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9891 source and sink caps.
9893 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9894 Intersect the peer caps with the pad template before going into
9896 (gst_base_transform_transform_caps): More debugging.
9898 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9901 2005-07-04 Edward Hervey <edward@fluendo.com>
9905 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9908 2005-07-04 Andy Wingo <wingo@pobox.com>
9910 * check/gst/gstpad.c: Only set explicit caps on pads.
9912 2005-07-01 Andy Wingo <wingo@pobox.com>
9914 * tests/network-clock.scm: Commentary update.
9916 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9917 Didn't really make sense, not implementable with basetransform,
9919 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9920 attempt at implementing the sync property, needs an unlock method.
9922 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9923 New func, by default returns the same caps (the identity
9925 (gst_base_transform_getcaps): Uses transform_caps to return
9927 (gst_base_transform_setcaps): Complicated logic to get caps on
9928 both pads, even if they are different, and to call set_caps once
9929 for every time both pads get their caps set.
9930 (gst_base_transform_handle_buffer): Give the ref to the transform
9931 function. Allows in-place modification of the buffer.
9933 * gst/base/gstbasetransform.h (transform_caps): New class method.
9934 Given caps on one side, what can I do on the other.
9935 (set_caps): Take two caps, one for each side of the element.
9938 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9939 caps in place. This is safe because we can check the mutability of
9940 the caps, and a good idea because fixate functions are just called
9941 as a matter of last resort. (Not actually implemented.)
9942 (gst_pad_set_caps): If the caps we're setting is actually the same
9943 as the existing pad caps, just update the pointer without calling
9944 setcaps. Assert that caps is either NULL or fixed, as per the
9947 * gst/gstghostpad.c: Update for fixate changes.
9949 2005-07-02 Andy Wingo <wingo@pobox.com>
9952 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9953 two refcounts makes it immutable, which is enough. Doc more.
9955 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9957 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9958 Put the mini_object into GValue as a mini_object,
9959 not a gpointer, since that's how we declared
9962 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9964 * examples/pwg/Makefile.am:
9967 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9969 * docs/pwg/building-testapp.xml:
9971 * examples/pwg/Makefile.am:
9974 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9977 * examples/Makefile.am:
9978 * examples/pwg/Makefile.am:
9979 * examples/pwg/extract.pl:
9980 Enable building the PWG examples.
9981 * docs/pwg/advanced-interfaces.xml:
9982 Add URI interface stub.
9983 * docs/pwg/advanced-types.xml:
9984 * docs/pwg/other-autoplugger.xml:
9985 * docs/pwg/appendix-porting.xml:
9987 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9988 * docs/pwg/building-boiler.xml:
9989 * docs/pwg/building-chainfn.xml:
9990 * docs/pwg/building-pads.xml:
9991 * docs/pwg/building-props.xml:
9992 * docs/pwg/building-state.xml:
9993 * docs/pwg/building-testapp.xml:
9994 Update the building-*.xml parts for 0.9 changes. All examples
9995 code blocks compile in examples/pwg/*.
9997 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9999 * docs/manual/advanced-autoplugging.xml:
10000 * docs/manual/appendix-checklist.xml:
10001 * docs/manual/appendix-integration.xml:
10002 * docs/manual/highlevel-components.xml:
10003 Fix playbin/decodebin examples, update docs a bit, mention bus
10004 instead of signals in various places, mention kmplayer and
10005 kaffeine since they have a working GStreamer backend in the KDE
10008 2005-06-30 Wim Taymans <wim@fluendo.com>
10011 * docs/design/draft-ghostpads.txt:
10012 * docs/design/draft-push-pull.txt:
10013 * docs/design/draft-query.txt:
10014 * docs/design/part-TODO.txt:
10015 * docs/design/part-query.txt:
10016 Added CHANGES-0.9 doc, updated status of other docs.
10021 2005-06-30 Wim Taymans <wim@fluendo.com>
10023 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10024 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10025 (gst_base_sink_change_state):
10026 * gst/base/gstbasesink.h:
10027 Some tweaks, only EOS and a buffer complete a preroll.
10029 2005-06-30 Andy Wingo <wingo@pobox.com>
10031 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10032 activate_push down to the internal pad as well.
10034 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10036 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10038 * gst/gsttaginterface.c:
10039 Some documentation fixes (#307394 and #307397).
10041 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10043 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10045 * gst/gstvalue.c: (gst_value_intersect_list):
10046 Fix memleak (#309125).
10048 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10050 * docs/manual/advanced-dataaccess.xml:
10051 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10052 * docs/manual/basics-pads.xml:
10053 Add reference for filtered caps to above chapter.
10055 2005-06-30 Wim Taymans <wim@fluendo.com>
10057 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10058 (gst_bin_change_state):
10060 Lame attempt at making the state change function a bit
10063 2005-06-30 Wim Taymans <wim@fluendo.com>
10065 * docs/design/part-clocks.txt:
10066 * docs/design/part-element-sink.txt:
10067 * docs/design/part-events.txt:
10068 * docs/design/part-preroll.txt:
10069 * docs/design/part-states.txt:
10070 Some more tweeks and additions to the docs.
10072 2005-06-30 Wim Taymans <wim@fluendo.com>
10074 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10075 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10076 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10077 (gst_pad_check_pull_range), (gst_pad_get_range),
10078 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10080 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10081 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10082 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10083 (gst_pad_remove_buffer_probe):
10084 Removed atomic operations, use existing LOCK.
10085 Move exception handling out of main code path.
10087 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10089 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10090 (silly_return_true_function), (gst_pad_class_init),
10091 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10092 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10093 (gst_pad_send_event):
10094 Fix accumulator, add default value by using _emitv() instead
10095 of _emit() for signal emission.
10097 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10099 * docs/manual/advanced-dataaccess.xml:
10100 * examples/manual/Makefile.am:
10102 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10105 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10107 * gst/elements/gstfilesink.c: (gst_filesink_render):
10108 Simplify code so that we don't have to handle short
10109 writes and return GST_FLOW_ERROR if an error occured.
10111 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10113 * docs/gst/gstreamer-docs.sgml:
10114 Remove probes more.
10116 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10118 * docs/gst/gstreamer-sections.txt:
10119 * docs/gst/tmpl/gstpad.sgml:
10120 * docs/gst/tmpl/gstprobe.sgml:
10122 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10123 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10124 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10125 (gst_pad_push_event), (gst_pad_send_event):
10127 * gst/gstutils.c: (gst_pad_add_data_probe),
10128 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10129 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10130 (gst_pad_remove_buffer_probe):
10132 Remove old probes, add new g-signal-based probes and some utility
10135 2005-06-29 Edward Hervey <edward@fluendo.com>
10137 * gst/gstelementfactory.c:
10140 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10141 the definition to the header file.
10143 2005-06-29 Andy Wingo <wingo@pobox.com>
10145 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10146 plugins from the source directory.
10148 2005-06-29 Wim Taymans <wim@fluendo.com>
10150 * docs/gst/tmpl/gstbuffer.sgml:
10151 * docs/gst/tmpl/gstclock.sgml:
10152 Some fixings for blantently wrong text.
10154 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10156 * check/Makefile.am:
10157 * gst/gst.c: (add_path_func), (init_pre):
10158 * gst/gstregistry.c: (gst_registry_add_path):
10159 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10160 only scan the GST_PLUGIN_PATH locations, and not add
10163 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10165 * docs/gst/gstreamer-sections.txt:
10166 * docs/gst/tmpl/gstbasesrc.sgml:
10167 * gst/gstelement.c:
10168 * gst/gstelement.h:
10173 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10175 * docs/manual/advanced-autoplugging.xml:
10176 Fix autoplugging example.
10178 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10180 * docs/manual/advanced-autoplugging.xml:
10181 * docs/manual/mime-world.fig:
10182 Try to get autoplugging working, fix type detection. Fix text
10183 in hello-world image.
10185 2005-06-29 Wim Taymans <wim@fluendo.com>
10187 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10188 (gst_base_sink_change_state):
10192 map SIGNAL and BROADCAST to the right function.
10195 Remove redundant braces.
10197 * gst/gstpad.c: (gst_pad_set_caps):
10198 Don't call setcaps function when reseting caps to NULL.
10200 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10201 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10202 (gst_system_clock_id_unschedule):
10203 Use BROADCAST as this is what we do.
10205 2005-06-29 Wim Taymans <wim@fluendo.com>
10207 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10208 We are actually prerolling before commiting the state
10211 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10213 * docs/manual/advanced-clocks.xml:
10214 * docs/manual/advanced-interfaces.xml:
10215 * docs/manual/advanced-metadata.xml:
10216 * docs/manual/advanced-position.xml:
10217 * docs/manual/advanced-schedulers.xml:
10218 * docs/manual/advanced-threads.xml:
10219 * docs/manual/appendix-porting.xml:
10220 * docs/manual/basics-bins.xml:
10221 * docs/manual/basics-bus.xml:
10222 * docs/manual/basics-elements.xml:
10223 * docs/manual/basics-helloworld.xml:
10224 * docs/manual/basics-pads.xml:
10225 * docs/manual/highlevel-components.xml:
10226 * docs/manual/manual.xml:
10227 * docs/manual/thread.fig:
10228 Update (until threads/scheduling) Application Development Manual;
10229 remove GstThread, add GstBus, add simple porting checklist, add
10230 documentation for tag writing, clocks, make all examples until this
10231 part compile and run.
10232 * examples/manual/Makefile.am:
10233 Update from changes to Application Development Manual; add bus
10234 example, remove thread example.
10236 2005-06-28 Wim Taymans <wim@fluendo.com>
10238 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10239 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10240 (gst_bus_source_dispatch):
10241 Add debugging messages.
10242 Make internal methods static.
10243 Handle the case where the bus is flushed in the handler.
10245 * gst/gstelement.c: (gst_element_get_bus):
10246 Fix refcount in _get_bus();
10248 * gst/gstpipeline.c: (gst_pipeline_change_state),
10249 (gst_pipeline_get_clock_func):
10250 Clock refcounting fixes.
10251 Handle the case where preroll timed out more gracefully.
10253 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10254 Clean up the internal thread in dispose. This is needed
10255 for subclasses that actually get disposed.
10257 * gst/schedulers/threadscheduler.c:
10258 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10259 (gst_thread_scheduler_dispose):
10260 Free thread pool in dispose.
10262 2005-06-28 Andy Wingo <wingo@pobox.com>
10264 * tests/network-clock-utils.scm (debug, print-event): New utils.
10266 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10267 (*packet-loss*): Unified loss probability.
10268 (network-time): Report out-of-band events.
10270 * tests/plot-data: Add support for out-of-band events. Hack it
10271 into this script instead of passing it down the pipe; should fix
10274 2005-06-28 Wim Taymans <wim@fluendo.com>
10276 * docs/gst/gstreamer.types:
10277 * docs/gst/tmpl/gstbasesrc.sgml:
10278 * docs/gst/tmpl/gstpad.sgml:
10281 2005-06-28 Wim Taymans <wim@fluendo.com>
10283 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10284 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10285 (gst_proxy_pad_do_fixatecaps):
10286 Correctly proxy the check_pull_range function.
10288 2005-06-28 Andy Wingo <wingo@pobox.com>
10290 * tests/network-clock.scm: Removed need for slib.
10292 2005-06-28 Wim Taymans <wim@fluendo.com>
10294 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10295 (gst_basesink_preroll_queue_flush):
10296 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10297 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10298 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10299 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10300 (gst_proxy_pad_set_property):
10303 * gst/gstqueue.c: (gst_queue_init):
10304 The deprecated pad loop function is removed now.
10306 2005-06-28 Andy Wingo <wingo@pobox.com>
10308 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10309 New parameters, simulate network packet loss.
10311 * tests/network-clock-utils.scm: Initialize the RNG.
10313 2005-06-28 Wim Taymans <wim@fluendo.com>
10315 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10316 (gst_basesink_event), (gst_basesink_deactivate):
10317 Flushing the preroll queue always needs to unlock the waiters.
10319 2005-06-28 Edward Hervey <edward@fluendo.com>
10321 * gst/gstpipeline.c: (gst_pipeline_send_event):
10322 Wheen a seek was successful on a pipeline, set the stream_time to the
10323 seek offset in order to have a synchronized stream_time.
10325 2005-06-28 Wim Taymans <wim@fluendo.com>
10327 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10328 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10329 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10330 (gst_proxy_pad_do_fixatecaps):
10331 Call wrapper function instead of just calling the function
10332 pointers. This takes care of any locking and whatmore.
10334 2005-06-28 Wim Taymans <wim@fluendo.com>
10336 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10337 (gst_pad_pull_range):
10339 CONNECTED -> LINKED.
10341 2005-06-28 Andy Wingo <wingo@pobox.com>
10343 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10344 source-munging commit!!!
10346 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10347 (gst_object_sink): Take gpointer arguments, not GstObject --
10348 avoids casts. Like GLib.
10350 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10353 2005-06-27 Andy Wingo <wingo@pobox.com>
10355 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10358 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10359 returns a sorted copy of the trace list.
10360 (gst_alloc_trace_print_live): New API, only prints traces with
10361 live objects. Sort the list.
10362 (gst_alloc_trace_print_all): Sort the list.
10363 (gst_alloc_trace_print): Align columns.
10365 * gst/elements/gstttypefindelement.c:
10366 * gst/elements/gsttee.c:
10367 * gst/base/gstbasesrc.c:
10368 * gst/base/gstbasesink.c:
10369 * gst/base/gstbasetransform.c:
10370 * gst/gstqueue.c: Adapt for pad activation changes.
10372 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10374 (gst_pipeline_dispose): Drop ref on sched.
10376 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10377 (gst_pad_activate_default): Push mode by default.
10378 (pre_activate_switch, post_activate_switch): New stubs, things to
10379 do before and after switching activation modes on pads.
10380 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10381 the pad's activate function to choose which mode to activate.
10382 Shortcut on deactivation and call the right function directly.
10383 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10385 (gst_pad_activate_push): New API, same for push mode.
10386 (gst_pad_set_activate_function)
10387 (gst_pad_set_activatepull_function)
10388 (gst_pad_set_activatepush_function): Setters for new API.
10390 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10391 Trace all miniobjects.
10392 (gst_mini_object_make_writable): Unref the arg if we copy, like
10393 gst_caps_make_writable.
10395 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10397 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10398 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10399 Adapt for new pad API.
10401 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10403 * gst/gstelement.h:
10404 * gst/gstelement.c (gst_element_iterate_src_pads)
10405 (gst_element_iterate_sink_pads): New API functions.
10407 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10408 should fold into gstiterator.c in some form.
10409 (gst_element_pads_activate): Simplified via use of fold and
10410 delegation of decisions to gstpad->activate.
10412 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10415 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10416 class once in init, like gstmessage. Didn't run into this issue
10417 but it seems correct. Don't initialize a trace, gstminiobject does
10420 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10421 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10423 (assert_live_count): New util function, uses alloc traces to check
10426 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10427 To be modified when unlink drops the internal pad.
10429 2005-06-27 Wim Taymans <wim@fluendo.com>
10431 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10432 (gst_bin_change_state):
10433 Cleanup the get_state() function a little, make sure it
10434 iterates the same set of elements.
10435 Added stub iterate_state_order().
10437 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10439 * docs/gst/gstreamer-docs.sgml:
10440 * docs/gst/gstreamer-sections.txt:
10441 * docs/gst/gstreamer.types:
10442 * docs/gst/tmpl/gstbasesink.sgml:
10443 * docs/gst/tmpl/gstbasesrc.sgml:
10444 * docs/gst/tmpl/gstbasetransform.sgml:
10445 * docs/gst/tmpl/gstelement.sgml:
10446 * docs/gst/tmpl/gstiterator.sgml:
10447 * gst/base/gstbasesrc.c:
10448 * gst/base/gstbasesrc.h:
10449 * gst/base/gstbasetransform.h:
10450 * gst/gstelement.c:
10451 * gst/gstiterator.h:
10452 adding basetransform and iterator docs
10454 2005-06-27 Andy Wingo <wingo@pobox.com>
10456 * docs/design/part-activation.txt: Notes on how activation should
10457 work -- not quite implemented yet.
10459 2005-06-25 Wim Taymans <wim@fluendo.com>
10461 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10462 At least get the chain function correct, needs more
10465 2005-06-25 Wim Taymans <wim@fluendo.com>
10467 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10468 (gst_basesink_handle_object), (gst_basesink_event),
10469 (gst_basesink_do_sync), (gst_basesink_handle_event),
10470 (gst_basesink_change_state):
10472 Right, two problems here: ghostpads don't take locks and
10473 glib _rec_mutex_lock_full() with depth==0 still locks.
10474 Catch illegal locking and g_warn them.
10476 2005-06-25 Wim Taymans <wim@fluendo.com>
10478 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10479 Have to check for completion now...
10481 2005-06-25 Wim Taymans <wim@fluendo.com>
10483 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10484 (gst_basesink_handle_object), (gst_basesink_event),
10485 (gst_basesink_do_sync), (gst_basesink_handle_event),
10486 (gst_basesink_change_state):
10488 Unlock STREAM_LOCK whatever the recursion was.
10490 2005-06-25 Wim Taymans <wim@fluendo.com>
10492 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10493 (gst_basesink_preroll_queue_empty),
10494 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10495 (gst_basesink_event), (gst_basesink_do_sync),
10496 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10497 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10498 (gst_basesink_change_state):
10499 Reworked the base sink, handle event and buffer serialisation
10500 correctly and removed possible deadlock.
10501 Handle EOS correctly.
10503 2005-06-25 Wim Taymans <wim@fluendo.com>
10505 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10506 (gst_pipeline_change_state):
10507 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10508 Allow elements to post EOS in the state change function.
10509 Fix up -launch, make it exit the poll loop when the
10510 pipeline actually changed state.
10511 Fix up warning parsing in -launch.
10513 2005-06-25 Wim Taymans <wim@fluendo.com>
10515 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10516 (gst_tee_sink_activate):
10517 Core takes STREAM_LOCK for us now.
10519 2005-06-25 Wim Taymans <wim@fluendo.com>
10521 * gst/gstelement.c: (gst_element_get_state_func),
10522 (gst_element_set_state):
10523 * gst/gstelement.h:
10524 * gst/gstmessage.c: (gst_message_parse_error),
10525 (gst_message_parse_warning):
10526 Keep track of current target state while performing a state
10527 change so that subclasses can do something interesting.
10528 Fix parsing of warning/error messages when GError is NULL.
10530 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10532 * docs/gst/Makefile.am:
10533 * docs/gst/gstreamer-docs.sgml:
10534 * docs/gst/gstreamer-sections.txt:
10535 * docs/gst/gstreamer.types:
10536 * docs/gst/tmpl/gstbasesink.sgml:
10537 * docs/gst/tmpl/gstbasesrc.sgml:
10538 * docs/gst/tmpl/gstbin.sgml:
10539 * docs/gst/tmpl/gstcompat.sgml:
10540 * docs/gst/tmpl/gstfakesink.sgml:
10541 * docs/gst/tmpl/gstfakesrc.sgml:
10542 * docs/gst/tmpl/gstfilesink.sgml:
10543 * docs/gst/tmpl/gstfilesrc.sgml:
10544 * docs/gst/tmpl/gstindex.sgml:
10545 * docs/manual/appendix-quotes.xml:
10546 * gst/base/gstbasesrc.h:
10547 * gst/elements/gstfakesrc.h:
10548 * gst/gstmessage.h:
10549 start pulling in base classes and elements in our docs
10551 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10553 * docs/gst/Makefile.am:
10554 * docs/libs/Makefile.am:
10555 fixed make distcheck with gtk-doc 1.3
10557 2005-06-23 Wim Taymans <wim@fluendo.com>
10559 * gst/gstelement.c: (gst_element_get_state_func),
10560 (gst_element_set_state), (gst_element_change_state):
10561 When the state did not change, also report NO_PREROLL
10564 2005-06-23 Wim Taymans <wim@fluendo.com>
10566 * gst/gstpad.c: (gst_pad_event_default):
10567 * gst/gstqueue.c: (gst_queue_loop):
10568 No unsafe task pausing please.
10570 2005-06-23 Wim Taymans <wim@fluendo.com>
10572 * gst/schedulers/threadscheduler.c:
10573 (gst_thread_scheduler_task_start),
10574 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10575 Ref the task before pushing it on the threadpool. This
10576 makes sure that we have a ref when the threadfunction is
10579 2005-06-23 Andy Wingo <wingo@pobox.com>
10581 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10582 offset is greater than the file's size.
10584 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10585 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10586 * gst/gstobject.c (gst_object_class_init): Make the class lock
10587 recursive. Wim won't let me drop deep_notify. Decodebin works
10588 again, whoopdy doo.
10590 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10591 internal pad, and hacks accordingly. Doesn't do it on the target
10592 pad because we change its caps. Probably catches all cases of
10594 (gst_ghost_pad_set_property): Connect to notify::caps as
10597 * tests/network-clock.scm (plot-simulation): Pipe data to the
10598 elite python skript.
10600 * tests/network-clock-utils.scm (define-parameter): New macro,
10601 defines a parameter that can be set via the command line.
10602 (set-parameter!, parse-parameter-arguments): Command line args
10605 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10608 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10610 * gst/elements/gsttypefindelement.c:
10611 (gst_type_find_element_handle_event):
10612 Don't restart typefinding on a discont.
10613 * gst/gstelement.c: (gst_element_set_state):
10614 Debug spelling fix.
10615 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10616 Allow changing mode of an active pad.
10617 Debug output fixes.
10618 * gst/registries/gstlibxmlregistry.c: (load_feature):
10619 Don't cast a static pad template to a normal pad template.
10621 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10623 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10624 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10625 remove gst_strtoll completely, since it didn't actually do
10626 anything more than what g_ascii_strtoull already does.
10627 check for range errors when deserializing
10628 do a cast for the unsigned cases; but further fixing needs
10629 a decision on what the interpretation of "(int)" and
10630 deserialization should be for values that fall outside the
10631 type's boundaries (ie, refuse, or interpret as casting)
10633 2005-06-23 Wim Taymans <wim@fluendo.com>
10635 * check/Makefile.am:
10636 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10637 * docs/design/part-live-source.txt:
10638 * docs/design/part-states.txt:
10639 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10640 (gst_basesrc_set_live), (gst_basesrc_is_live),
10641 (gst_basesrc_get_range), (gst_basesrc_activate),
10642 (gst_basesrc_change_state):
10643 * gst/base/gstbasesrc.h:
10644 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10645 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10646 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10647 * gst/gstelement.c: (gst_element_get_state_func),
10648 (gst_element_set_state):
10649 * gst/gstelement.h:
10651 * tools/gst-launch.c: (event_loop), (main):
10652 Added support for live sources and other elements that
10654 Updated design docs, added live-source design doc.
10655 Implemented live source functionality in basesrc
10656 Fix error condition in _bin_get_state()
10657 Implement live source handling in -launch.
10658 Added check for live sources.
10659 Fixed case in GstBin where elements were changed state
10663 2005-06-23 Andy Wingo <wingo@pobox.com>
10665 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10666 borken refcounting.
10668 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10669 gst_caps_replace takes care of this for us.
10671 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10672 gst_pad_set_caps on the target, not just its setcaps() function.
10674 * tests/network-clock.scm:
10675 * tests/network-clock-utils.scm: A network clock simulator.
10676 Something of an algorithmic testbed before doing something in C.
10678 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10680 * check/Makefile.am:
10681 * check/gst/capslist.h:
10682 copy over from 0.8, and add two with bitmasks specified with
10684 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10685 add test to parse everything from capslist.h
10686 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10688 add test for structure deserialization
10689 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10690 add tests for deserialization of strings to int types
10691 * gst/gststructure.c: (gst_structure_nth_field_name):
10692 * gst/gststructure.h:
10693 add a way to get the name of a field referenced by index
10694 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10695 instead of checking if the resulting long long lies between
10696 min and max, we check if the long long would fit into
10697 a number of bytes for the final type.
10698 This fixes cases where a string represents 2^32 - 1, which
10699 when cast to int would be the (valid) -1, but is bigger than
10702 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10704 * gst/parse/grammar.y:
10705 add a log line for type deserialization
10707 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10709 * check/gst/gstvalue.c: (START_TEST):
10710 * gst/gstvalue.c: (gst_value_deserialize):
10711 return long long, not int, so gint64 deserialization actually
10712 works. Is there any flag that makes the compiler check this ?
10715 2005-06-22 Wim Taymans <wim@fluendo.com>
10718 Added convenience macros for setting buffers in GValue.
10720 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10722 * check/gst/.cvsignore:
10723 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10724 add a test deserializing int64, and comment part out because
10727 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10729 * check/Makefile.am:
10730 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10731 * testsuite/Makefile.am:
10732 * testsuite/caps/Makefile.am:
10733 * testsuite/caps/value_serialize.c:
10734 * testsuite/test_gst_init.c:
10735 move a value_serialize test over
10737 2005-06-20 Wim Taymans <wim@fluendo.com>
10742 * gst/gstvalue.c: (gst_value_compare_buffer),
10743 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10744 (gst_value_compare_flags), (gst_value_serialize_flags),
10745 (gst_value_deserialize_flags), (_gst_value_initialize):
10746 Fix serialisation of buffers, they are not boxed types anymore
10748 2005-06-20 Wim Taymans <wim@fluendo.com>
10750 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10751 Testcase to show error in buffer-on-caps serialisation.
10753 2005-06-20 Andy Wingo <wingo@pobox.com>
10755 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10756 will be adding to later.
10758 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10759 if its socks fill with rocks.
10760 (gst_system_clock_obtain): Set the name on object construction.
10761 Avoid double-checked locking.
10763 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10765 * gst/gsturi.c: (gst_element_make_from_uri):
10766 Fix potential endless loop.
10768 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10770 * check/Makefile.am:
10772 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10774 move over from testsuite dir and clean up
10777 * testsuite/Makefile.am:
10778 * testsuite/tags/.cvsignore:
10779 * testsuite/tags/Makefile.am:
10780 * testsuite/tags/merge.c:
10781 remove testsuite/tags
10783 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10785 * docs/gst/gstreamer-sections.txt:
10786 * docs/gst/tmpl/gstenumtypes.sgml:
10787 * win32/gstenumtypes.c:
10788 clean up documentation build a little
10790 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10792 * check/gstcheck.h:
10793 add macros for checking refcounts on objects and caps
10794 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10795 add some more unit tests
10796 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10797 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10798 fix leaked refcounts (I hope :)) so unittest works
10802 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10804 * configure.ac: back to HEAD
10806 === release 0.9.1 ===
10808 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10814 2005-06-17 Andy Wingo <wingo@pobox.com>
10816 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10817 assert; it's always possible that the pad gets deactivated in
10818 between the checks in gstpad.c and the implementation. Rely on
10819 finish_preroll() to return a FLUSHING or similar instead of on the
10822 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10823 clock and post an EOS message if we come out of finish_preroll in
10826 2005-06-16 David Schleef <ds@schleef.org>
10828 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10829 (gst_capsfilter_set_property): Allow NULL as possible value
10830 for filter_caps property, indicating GST_CAPS_ANY.
10832 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10834 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10836 * gst/schedulers/Makefile.am:
10838 * gstreamer.spec.in:
10841 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10843 * gstreamer.spec.in:
10846 2005-06-08 Andy Wingo <wingo@pobox.com>
10848 * gst/gstutils.c: RPAD fixes all around.
10849 (gst_element_link_pads): Refcounting fixes.
10851 * tools/gst-inspect.c:
10852 * tools/gst-xmlinspect.c:
10854 * gst/base/gsttypefindhelper.c:
10855 * gst/base/gstbasesink.c:
10856 * gst/gstqueue.c: RPAD fixes.
10858 * gst/gstghostpad.h:
10859 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10860 pads. The tricky thing is they provide both source and sink
10861 interfaces, since they proxy the internal pad for the external
10862 pad, and vice versa. Implement with lower-level ProxyPad objects,
10863 with the interior proxy pad as a child of the exterior ghost pad.
10864 Should write a doc on this.
10866 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10867 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10870 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10871 pads are real pads. No ghost pads in this file. Not documenting
10872 the myriad s/RPAD/PAD/ and REALIZE fixes.
10873 (gst_pad_class_init): Add properties for "direction" and
10874 "template". Both are construct-only, so they can't change during
10875 the life of the pad. Fixes properly deriving from GstPad.
10876 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10877 derived objects, just set properties when creating the objects via
10879 (gst_pad_get_parent): Implement as a function, return NULL if the
10880 parent is not an element.
10881 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10882 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10884 * gst/gstobject.c (gst_object_class_init): Make name a construct
10885 property. Don't set it in the object init.
10887 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10888 with UNKNOWN direction.
10889 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10890 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10891 (gst_element_remove_pad): Remove ghost-pad special cases.
10892 (gst_element_pads_activate): Remove rpad cruft.
10894 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10895 catch the pad's-parent-not-an-element case.
10897 * gst/gst.h: Include gstghostpad.h.
10899 * gst/gst.c (init_post): No more real, ghost pads.
10901 * gst/Makefile.am: Add gstghostpad.[ch].
10903 * check/Makefile.am:
10904 * check/gst/gstbin.c:
10905 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10906 into a bin creates ghost pads, and that the refcounts are right.
10907 Partly moved from gstbin.c.
10909 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10911 * check/gst-libs/.cvsignore:
10912 * check/gst/.cvsignore:
10913 * check/pipelines/.cvsignore:
10915 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10916 (START_TEST), (cleanup_suite), (main):
10917 add some tests related to cleanup after running pipelines
10919 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10921 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10922 add a testsuite for GstBuffer
10924 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10926 * gst/gstminiobject.h:
10927 add defines for accessing the refcount
10929 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10931 * Makefile.am: added support for html unit test coverage reports
10933 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10935 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10936 Free existing caps if the capsfilter changes. Add a FIXME about
10937 setting those caps on the pads.
10939 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10940 Before adding a ghost pad to a parent bin, check that there isn't
10941 already one for the element on the bin. Prevents infinite recursion
10942 when using decodebin in parse pipelines. Andy says he'll rewrite the
10943 way this works anyway, so ignore the hack.
10945 2005-06-02 Andy Wingo <wingo@pobox.com>
10947 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10948 file size, pass it on to the type find helper.
10950 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10951 segment_start and segment_end properly according to the seek
10952 method. Segment_end is still a bit flaky because offset can be
10953 negative for CUR and END cases, but it takes -1 as an "unset"
10956 2005-06-02 Wim Taymans <wim@fluendo.com>
10958 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10959 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10960 (gst_basesink_activate):
10961 * gst/base/gstbasesink.h:
10962 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10963 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10964 (gst_pad_query), (gst_pad_start_task):
10966 * gst/gstqueue.c: (gst_queue_bufferalloc),
10967 (gst_queue_handle_sink_event), (gst_queue_chain):
10968 Bufferalloc: return GstFlowReturn to more accuratly report
10969 why allocation failed.
10971 2005-06-02 Wim Taymans <wim@fluendo.com>
10973 * gst/gstpipeline.c: (gst_pipeline_send_event):
10974 Take snapshot of state without blocking.
10976 2005-06-02 Wim Taymans <wim@fluendo.com>
10978 * docs/design/part-TODO.txt:
10979 * docs/design/part-caps.txt:
10980 * docs/design/part-clocks.txt:
10981 * docs/design/part-negotiation.txt:
10982 * docs/design/part-preroll.txt:
10985 2005-05-30 Wim Taymans <wim@fluendo.com>
10987 * gst/elements/gstidentity.c: (gst_identity_event),
10988 (gst_identity_transform), (gst_identity_get_property):
10989 Protect last_message property as it is accessed from
10992 2005-05-30 Wim Taymans <wim@fluendo.com>
10994 * gst/gstelement.c: (gst_element_init),
10995 (gst_element_pads_activate), (gst_element_change_state):
10996 Slicker pad activation code.
10998 2005-05-30 Wim Taymans <wim@fluendo.com>
11001 * gst/gstelement.h:
11002 * gst/gstelementfactory.h:
11004 Move elementfactory methods to separate .h file.
11006 2005-05-30 Wim Taymans <wim@fluendo.com>
11008 * docs/design/part-overview.txt:
11009 * gst/gstsystemclock.h:
11010 Small typo fixes, doc updates.
11012 2005-05-30 Wim Taymans <wim@fluendo.com>
11014 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11015 (init_popt_callback):
11016 Remove cpu-opt flag.
11018 2005-05-30 Wim Taymans <wim@fluendo.com>
11020 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11021 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11023 Avoid typechecking in places where not needed.
11024 Added accessor for malloc_data.
11026 2005-05-30 Wim Taymans <wim@fluendo.com>
11028 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11029 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11030 (gst_pad_configure_sink), (gst_pad_configure_src),
11031 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11032 (gst_pad_start_task):
11033 Propagate errors from _set_caps() in configure_src/sink
11034 functions instead of returning TRUE.
11035 FLUSH events can travel up and downstream
11038 2005-05-30 Wim Taymans <wim@fluendo.com>
11040 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11041 (gst_basesink_activate):
11042 Handle EOS in preroll.
11044 2005-05-30 Wim Taymans <wim@fluendo.com>
11046 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11047 (gst_queue_loop), (gst_queue_handle_src_event):
11048 Remove old pieces of code
11049 Flushing the queue in an upstream event is a very bad idea.
11051 2005-05-26 Andy Wingo <wingo@pobox.com>
11053 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11054 gst_value_set_mini_object so as to add a ref on the object (which
11055 will be removed when the value is unset).
11057 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11058 arg type in ::handoff.
11060 * gst/gstelement.c (gst_element_change_state): Also deactivate
11061 pads in READY->NULL, just in case the element didn't make it to
11062 PAUSED. Wingo tested, Wim approved.
11064 2005-05-26 Wim Taymans <wim@fluendo.com>
11066 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11067 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11068 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11069 A flushing pad cannot be used to alloc_buffer from.
11071 2005-05-26 Wim Taymans <wim@fluendo.com>
11073 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11074 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11075 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11076 (gst_bus_create_watch), (gst_bus_add_watch_full):
11078 Implement a real GSource and use g_main_context_wakeup() to
11079 signal new messages instead of the socketpair.
11081 2005-05-25 Wim Taymans <wim@fluendo.com>
11083 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11084 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11085 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11086 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11087 (gst_pad_send_event), (gst_pad_start_task):
11088 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11089 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11090 (gst_queue_sink_activate), (gst_queue_src_activate),
11091 (gst_queue_change_state):
11093 Fix state changes for non sinks. We now change sinks, then elements
11094 with unconnected srcpads, then the rest.
11095 More efficient queue unlocking in flush and state changes.
11096 Set the pad activate mode even if it does not have an activate
11099 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11101 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11102 Don't go in pull mode for non-seekable sources.
11103 * gst/elements/gsttypefindelement.h:
11104 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11105 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11106 (free_entry), (stop_typefinding),
11107 (gst_type_find_element_handle_event), (find_peek),
11108 (gst_type_find_element_chain), (do_pull_typefind),
11109 (gst_type_find_element_change_state):
11110 Allow typefinding (w/o seeking) in push-mode, simplified version
11111 of what was in 0.8.
11112 * gst/gstutils.c: (gst_buffer_join):
11114 gst_buffer_join() from 0.8.
11116 2005-05-25 Wim Taymans <wim@fluendo.com>
11118 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11119 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11120 (gst_pad_send_event), (gst_pad_start_task):
11121 Disable attempt at mode switching until it is figured out.
11123 2005-05-25 Wim Taymans <wim@fluendo.com>
11125 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11126 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11127 (gst_basesink_finish_preroll), (gst_basesink_chain),
11128 (gst_basesink_loop), (gst_basesink_activate),
11129 (gst_basesink_change_state):
11130 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11131 (gst_basesrc_get_range), (gst_basesrc_loop),
11132 (gst_basesrc_activate):
11133 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11134 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11135 (gst_real_pad_init), (gst_real_pad_set_property),
11136 (gst_real_pad_get_property), (gst_pad_set_active),
11137 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11138 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11139 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11140 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11141 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11142 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11143 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11144 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11145 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11146 (gst_pad_stop_task):
11148 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11149 (gst_queue_loop), (gst_queue_src_activate):
11150 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11151 (gst_task_get_state):
11153 * gst/schedulers/threadscheduler.c:
11154 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11155 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11157 Remove ACTIVE pad flag, use FLUSHING everywhere
11158 Added _pad_chain(), _pad_get_range() to call chain/getrange
11160 Add locks around IS_FLUSHING when reading.
11161 Take STREAM lock in chain(), get_range() functions so plugins
11162 don't need to take it anymore.
11166 2005-05-25 Wim Taymans <wim@fluendo.com>
11168 * tools/gst-launch.c: (event_loop):
11169 Unref message after using its contents instead of
11172 2005-05-24 Wim Taymans <wim@fluendo.com>
11174 * docs/design/draft-ghostpads.txt:
11175 * docs/design/draft-push-pull.txt:
11176 * docs/design/draft-query.txt:
11177 * docs/design/part-overview.txt:
11178 Docs updates, added general overview doc.
11180 2005-05-21 David Schleef <ds@schleef.org>
11182 * docs/gst/tmpl/old/GstBin.sgml:
11183 * docs/gst/tmpl/old/GstBuffer.sgml:
11184 * docs/gst/tmpl/old/GstCaps.sgml:
11185 * docs/gst/tmpl/old/GstClock.sgml:
11186 * docs/gst/tmpl/old/GstCompat.sgml:
11187 * docs/gst/tmpl/old/GstData.sgml:
11188 * docs/gst/tmpl/old/GstElement.sgml:
11189 * docs/gst/tmpl/old/GstEvent.sgml:
11190 * docs/gst/tmpl/old/GstIndex.sgml:
11191 * docs/gst/tmpl/old/GstStructure.sgml:
11192 * docs/gst/tmpl/old/GstTag.sgml:
11193 * docs/gst/tmpl/old/cothreads.sgml:
11194 * docs/gst/tmpl/old/cothreads_compat.sgml:
11195 * docs/gst/tmpl/old/gettext.sgml:
11196 * docs/gst/tmpl/old/gobject2gtk.sgml:
11197 * docs/gst/tmpl/old/grammar.tab.sgml:
11198 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11199 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11200 * docs/gst/tmpl/old/gst_private.sgml:
11201 * docs/gst/tmpl/old/gstaggregator.sgml:
11202 * docs/gst/tmpl/old/gstarch.sgml:
11203 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11204 * docs/gst/tmpl/old/gstbufferstore.sgml:
11205 * docs/gst/tmpl/old/gstdata_private.sgml:
11206 * docs/gst/tmpl/old/gstdisksink.sgml:
11207 * docs/gst/tmpl/old/gstdisksrc.sgml:
11208 * docs/gst/tmpl/old/gstelementfactory.sgml:
11209 * docs/gst/tmpl/old/gstextratypes.sgml:
11210 * docs/gst/tmpl/old/gstfakesink.sgml:
11211 * docs/gst/tmpl/old/gstfakesrc.sgml:
11212 * docs/gst/tmpl/old/gstfdsink.sgml:
11213 * docs/gst/tmpl/old/gstfdsrc.sgml:
11214 * docs/gst/tmpl/old/gstfilesink.sgml:
11215 * docs/gst/tmpl/old/gstfilesrc.sgml:
11216 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11217 * docs/gst/tmpl/old/gstidentity.sgml:
11218 * docs/gst/tmpl/old/gstindexfactory.sgml:
11219 * docs/gst/tmpl/old/gstmarshal.sgml:
11220 * docs/gst/tmpl/old/gstmd5sink.sgml:
11221 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11222 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11223 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11224 * docs/gst/tmpl/old/gstpipefilter.sgml:
11225 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11226 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11227 * docs/gst/tmpl/old/gstshaper.sgml:
11228 * docs/gst/tmpl/old/gstspider.sgml:
11229 * docs/gst/tmpl/old/gstspideridentity.sgml:
11230 * docs/gst/tmpl/old/gststatistics.sgml:
11231 * docs/gst/tmpl/old/gsttee.sgml:
11232 * docs/gst/tmpl/old/gsttimecache.sgml:
11233 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11234 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11235 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11236 * docs/gst/tmpl/old/types.sgml:
11237 I didn't intend to add these or check them in.
11239 2005-05-19 David Schleef <ds@schleef.org>
11241 * configure.ac: Use -no-common everywhere. In a sane world, it
11242 would be the default in libtool, because without it, you can't
11243 build DLLs on Windows.
11244 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11245 * docs/gst/gstreamer-sections.txt:
11246 * docs/gst/tmpl/gstcpu.sgml:
11247 * docs/gst/tmpl/gstdata.sgml:
11248 * docs/gst/tmpl/gstthread.sgml:
11250 2005-05-19 David Schleef <ds@schleef.org>
11252 * gst/gstminiobject.c: (gst_value_set_mini_object),
11253 (gst_value_take_mini_object), (gst_value_get_mini_object):
11254 * gst/gstminiobject.h: Add GValue set/get functions.
11256 2005-05-19 Wim Taymans <wim@fluendo.com>
11258 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11259 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11260 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11262 * gst/gstbus.c: (gst_bus_post):
11263 * gst/gstelement.c: (gst_element_get_random_pad):
11264 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11265 Make subbufer unref the parent in finalize.
11266 some more debugging info.
11269 2005-05-19 Wim Taymans <wim@fluendo.com>
11271 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11272 (gst_basesink_init), (gst_basesink_finalize),
11273 (gst_basesink_activate), (gst_basesink_change_state):
11274 Don't free preroll queue too early.
11276 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11280 Hi, I'm outdated. Please shoot me.
11282 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11284 * gst/gstpipeline.c: (gst_pipeline_send_event):
11285 Do not access variables after they have been deleted.
11287 2005-05-19 Wim Taymans <wim@fluendo.com>
11289 * tools/gst-inspect.c: (print_plugin_features):
11290 A plugin feature does unfortunatly not use the
11293 2005-05-18 Wim Taymans <wim@fluendo.com>
11295 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11296 Port _span() functions to new subbuffers.
11298 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11300 * gst/gstbin.c: (gst_bin_add_func):
11301 Fix clock settery in bins when adding kids after the clock has
11304 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11306 * gst/elements/gstidentity.c: (gst_identity_class_init):
11307 Workaround until signals support GstMiniObject.
11309 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11312 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11314 2005-05-18 Wim Taymans <wim@fluendo.com>
11316 * gst/base/Makefile.am:
11317 * gst/base/gstadapter.c: (gst_adapter_base_init),
11318 (gst_adapter_class_init), (gst_adapter_init),
11319 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11320 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11321 (gst_adapter_flush), (gst_adapter_available),
11322 (gst_adapter_available_fast):
11323 * gst/base/gstadapter.h:
11324 Ported and added adapter to the base classes.
11326 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11329 * gst/gstmessage.c:
11330 Make sure the class is reffed/unreffed once before threads can be
11331 used. Fixes #304551.
11333 2005-05-17 Wim Taymans <wim@fluendo.com>
11335 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11336 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11337 * gst/gstminiobject.c: (gst_mini_object_get_type),
11338 (gst_mini_object_free):
11339 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11340 (gst_pad_push), (gst_pad_push_event):
11341 * gst/gstqueue.c: (gst_queue_change_state):
11342 Don't queue buffers in basesink when we are flushing.
11343 Unref buffer when flushing in basesink.
11344 Flush queue when going to READY
11345 Unref buffer when _push() returns an error.
11346 Don't free MiniObject instance when refcount is incremented
11347 in _finalize() so that we can recover objects.
11349 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11351 * docs/manual/advanced-schedulers.xml:
11352 * docs/manual/appendix-checklist.xml:
11353 * docs/pwg/advanced-clock.xml:
11354 * docs/pwg/advanced-interfaces.xml:
11355 * docs/pwg/advanced-request.xml:
11356 * docs/pwg/advanced-types.xml:
11357 * docs/pwg/intro-preface.xml:
11358 * examples/plugins/example.c: (gst_example_get_type),
11359 (gst_example_class_init), (gst_example_chain),
11360 (gst_example_set_property), (gst_example_get_property),
11361 (gst_example_change_state), (plugin_init):
11362 * examples/plugins/example.h:
11365 2005-05-17 Wim Taymans <wim@fluendo.com>
11367 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11368 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11369 * gst/gstqueue.c: (gst_queue_change_state):
11370 Clear queue when going to READY.
11371 Remove IN_SETCAPS flag too.
11373 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11375 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11376 Remove implicit cast from gboolean to GstElementStateReturn;
11377 make sure we still return failure in paused => ready case if
11378 the parent class fails to change state and our own stop
11381 2005-05-17 Wim Taymans <wim@fluendo.com>
11383 * tools/gst-launch.c: (event_loop):
11384 Message was unreffed too soon.
11386 2005-05-16 Andy Wingo <wingo@pobox.com>
11388 * gst/gstbin.c (sink_iterator_filter): Err... um...
11390 * check/gst/gstbin.c (test_ghost_pads): New test for the
11391 ghosting-if-elements-not-in-same-bin behavior.
11393 2005-05-16 David Schleef <ds@schleef.org>
11395 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11396 accessing refcount directly.
11398 2005-05-15 David Schleef <ds@schleef.org>
11400 * check/Makefile.am: remove GstData checks
11401 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11402 * gst/Makefile.am: add miniobject, remove data
11403 * gst/gst.h: add miniobject, remove data
11404 * gst/gstdata.c: remove
11405 * gst/gstdata.h: remove
11406 * gst/gstdata_private.h: remove
11407 * gst/gsttypes.h: remove GstEvent and GstMessage
11408 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11409 * gst/gstmarshal.list: change BOXED -> OBJECT
11411 Implement GstMiniObject.
11412 * gst/gstminiobject.c:
11413 * gst/gstminiobject.h:
11415 Modify to be subclasses of GstMiniObject.
11416 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11417 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11418 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11419 (gst_subbuffer_get_type), (gst_subbuffer_init),
11420 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11423 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11424 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11425 (_gst_event_copy), (gst_event_new):
11427 * gst/gstmessage.c: (_gst_message_initialize),
11428 (gst_message_get_type), (gst_message_class_init),
11429 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11430 (gst_message_new), (gst_message_new_error),
11431 (gst_message_new_warning), (gst_message_new_tag),
11432 (gst_message_new_state_changed), (gst_message_new_application):
11433 * gst/gstmessage.h:
11434 * gst/gstprobe.c: (gst_probe_perform),
11435 (gst_probe_dispatcher_dispatch):
11437 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11438 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11439 (_gst_query_copy), (gst_query_new):
11441 Update elements for GstData -> GstMiniObject changes
11443 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11444 (gst_queue_chain), (gst_queue_loop):
11445 * gst/elements/gstbufferstore.c:
11446 (gst_buffer_store_add_buffer_func),
11447 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11448 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11449 (gst_fakesink_render):
11450 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11451 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11452 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11453 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11454 (gst_filesrc_create_read):
11455 * gst/elements/gstidentity.c: (gst_identity_class_init):
11456 * gst/elements/gsttypefindelement.c:
11457 (gst_type_find_element_src_event), (free_entry_buffers),
11458 (gst_type_find_element_handle_event):
11459 * libs/gst/dataprotocol/dataprotocol.c:
11460 (gst_dp_header_from_buffer):
11461 * libs/gst/dataprotocol/dataprotocol.h:
11462 * libs/gst/dataprotocol/dp-private.h:
11464 2005-05-15 David Schleef <ds@schleef.org>
11466 * gst/elements/gstelements.c: Don't include headers that were
11469 2005-05-15 David Schleef <ds@schleef.org>
11471 * gst/elements/Makefile.am: Remove some elements that don't
11472 need to be in the core (or even exist at all).
11473 * gst/elements/gstaggregator.c:
11474 * gst/elements/gstaggregator.h:
11475 * gst/elements/gstmd5sink.c:
11476 * gst/elements/gstmd5sink.h:
11477 * gst/elements/gstmultifilesrc.c:
11478 * gst/elements/gstmultifilesrc.h:
11479 * gst/elements/gstpipefilter.c:
11480 * gst/elements/gstpipefilter.h:
11481 * gst/elements/gstshaper.c:
11482 * gst/elements/gstshaper.h:
11483 * gst/elements/gststatistics.c:
11484 * gst/elements/gststatistics.h:
11485 * po/POTFILES.in: Remove above files.
11487 2005-05-14 Andy Wingo <wingo@pobox.com>
11489 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11490 so as to get the refs right.
11491 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11492 unreffing objects that don't pass the filter.
11494 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11495 gst_element_set_bus.
11496 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11497 normal cases, this will destroy the bus.
11499 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11502 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11505 2005-05-13 Andy Wingo <wingo@pobox.com>
11507 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11508 gst_pad_link, call pad_link_maybe_ghosting,
11509 (pad_link_maybe_ghosting): Links pads, making sure that the
11510 elements being linked are in the same bin.
11511 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11512 Helpers for pad_link_maybe_ghosting.
11514 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11517 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11519 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11521 * docs/design/part-element-source.txt:
11524 2005-05-12 Wim Taymans <wim@fluendo.com>
11526 * gst/base/gstbasesink.c: (gst_basesink_init),
11527 (gst_basesink_activate):
11528 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11529 (gst_basesrc_is_seekable):
11530 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11531 (bin_element_is_sink), (gst_bin_change_state):
11532 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11533 * gst/gstelement.h:
11534 Identify sinks by their flag to avoid overly complicated
11536 Do state changes even for elements not reachable from the
11538 BaseSink is a sink now :)
11539 Some more debugging info in the basesrc.
11542 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11544 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11545 Implement _query on a bin, similar to _send_event.
11547 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11549 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11550 Discont event offset format should be GST_FORMAT_BYTES,
11551 not GST_FORMAT_TIME.
11553 2005-05-12 Wim Taymans <wim@fluendo.com>
11555 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11556 Same fix as Ronald's but without the signal.
11558 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11560 * gst/gstutils.c: (gst_element_query_position):
11561 No, an element is not a pad.
11563 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11565 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11566 (gst_bin_get_state):
11567 If a child is removed from a bin while we remove the child from
11568 the bin and while we're retrieving its state, signal this to the
11569 get_state function so we abort the wait (instead of waiting for
11570 a timeout) and can immediately re-iterate over all other elements.
11572 2005-05-12 Wim Taymans <wim@fluendo.com>
11574 * gst/base/Makefile.am:
11575 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11576 (gst_basesrc_start):
11577 * gst/base/gstbasesrc.h:
11578 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11579 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11580 (gst_pushsrc_init), (gst_pushsrc_create):
11581 * gst/base/gstpushsrc.h:
11582 Added is_seekable to BaseSrc
11583 Added simple PushSrc.
11585 2005-05-11 Wim Taymans <wim@fluendo.com>
11587 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11588 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11589 (gst_element_link_pads), (gst_element_query_position),
11590 (gst_element_query_convert), (intersect_caps_func),
11591 (gst_pad_query_position), (gst_pad_query_convert):
11592 Fix refcounting in utils function.
11593 No point in trying to activate a pad when it's added, it could
11594 be added from the state change function and then we deadlock, the
11595 element has to decide what to do.
11597 2005-05-10 Andy Wingo <wingo@pobox.com>
11599 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11600 *all* the arguments.
11602 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11603 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11604 lock (according to the docs -- if this is wrong change the docs).
11606 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11607 flush messages in the NULL state.
11609 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11610 message immediately and return.
11611 (gst_bus_set_flushing): New function. If a bus is flushing, it
11612 flushes out any queued messages and immediately unrefs new
11613 messages. This is so when an element goes to NULL, all of the
11614 unhandled messages coming from it can be freed, and their
11615 references to the element dropped. In other words: message source
11616 ref considered harmful :P
11618 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11619 we're finished with it.
11621 * gst/gstmessage.c (gst_message_new_state_changed):
11623 2005-05-10 Wim Taymans <wim@fluendo.com>
11625 * gst/gstvalue.c: (gst_value_compare_flags),
11626 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11627 (_gst_value_initialize):
11628 Added flags serialize/deserialize/compare code.
11630 2005-05-09 Andy Wingo <wingo@pobox.com>
11632 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11633 Intersect the peer's caps with our caps.
11635 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11637 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11638 * gst/elements/gsttypefindelement.c: (find_peek):
11639 Handle negative offsets better. Fixes decodebin.
11641 2005-05-09 Wim Taymans <wim@fluendo.com>
11643 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11644 (gst_base_transform_event):
11645 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11646 Implement accept_caps.
11647 Fix silly lock/unlock mismatch in base class.
11649 2005-05-09 Wim Taymans <wim@fluendo.com>
11651 * docs/design/draft-push-pull.txt:
11652 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11653 * gst/elements/gstfilesink.c: (gst_filesink_init),
11654 (gst_filesink_query):
11655 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11656 (gst_type_find_handle_src_query), (find_element_get_length):
11657 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11658 * gst/gstelement.h:
11659 * gst/gstmessage.c:
11660 * gst/gstmessage.h:
11661 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11662 (gst_real_pad_get_caps_unlocked),
11663 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11664 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11665 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11666 (gst_real_pad_dispose), (gst_real_pad_finalize),
11667 (gst_pad_load_and_link), (gst_pad_save_thyself),
11668 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11669 (gst_pad_check_pull_range), (gst_pad_pull_range),
11670 (gst_pad_template_get_type), (gst_pad_template_class_init),
11671 (gst_pad_template_init), (gst_pad_template_dispose),
11672 (name_is_valid), (gst_static_pad_template_get),
11673 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11674 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11675 (gst_pad_get_element_private), (gst_pad_start_task),
11676 (gst_pad_pause_task), (gst_pad_stop_task),
11677 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11678 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11679 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11680 (gst_ghost_pad_new):
11682 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11683 (gst_query_new_position), (gst_query_set_position),
11684 (gst_query_parse_position), (gst_query_new_convert),
11685 (gst_query_set_convert), (gst_query_parse_convert):
11687 * gst/gstqueryutils.c:
11688 * gst/gstqueryutils.h:
11689 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11690 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11691 (gst_queue_handle_src_query):
11692 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11693 (gst_element_query_position), (gst_element_query_convert),
11694 (intersect_caps_func), (gst_pad_query_position),
11695 (gst_pad_query_convert):
11697 * tools/gst-inspect.c: (print_pad_info):
11698 * tools/gst-xmlinspect.c: (print_element_info):
11699 Remove old query functions. Ported old code.
11700 Added position/convert helper functions to gstutils.
11701 Reordered gstpad.c code, grouping relevant things.
11702 Remove gst_message_new(), always need to speficy a specific
11706 2005-05-09 Andy Wingo <wingo@pobox.com>
11708 * gst/gstiterator.h: Add some includes.
11710 * gst/gstqueryutils.h: Include more headers.
11713 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11714 some uses of gst_pad_query.
11716 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11717 NULL out parameters.
11718 (gst_query_new_position): New proc, allocates a new position
11721 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11722 gstqueryutils.c to the build.
11724 * gst/gststructure.c (gst_structure_set_valist): Implement with
11725 the generic G_VALUE_COLLECT.
11727 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11729 * gst/Makefile.am: (gst_headers):
11730 Added gstqueryutils.h to the list of headers to install, that was
11731 a 'nachty' move wingo :)
11733 2005-05-06 Andy Wingo <wingo@pobox.com>
11736 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11737 GstData, init a memchunk.
11738 (standard_definitions): Add a few query types, deprecate a few.
11739 (gst_query_get_type): New proc.
11740 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11742 (gst_query_new_application, gst_query_get_structure): New public
11745 * docs/design/draft-query.txt: Removed LINKS from the query types,
11746 because all the rest can be dispatched to other pads -- seemed
11747 ugly to have a query that couldn't be dispatched. internal_links
11748 is fine as a pad method.
11750 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11751 in gstpad.c, but maintain binary compatibility for the moment.
11752 Will fix before 0.9 is out.
11754 * gst/gstqueryutils.c:
11755 * gst/gstqueryutils.h: New files, implement 3 methods for each
11756 query type: parse_query, parse_response, and set. Probably need an
11759 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11761 * gst/elements/gstfilesink.c (gst_filesink_query2):
11762 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11763 query_types, and formats methods.
11765 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11766 (gst_pad_set_query2_function): New functions.
11767 (gst_real_pad_init): Set query2_default as the default query2
11768 function. Basically just dispatches to internally linked pads.
11772 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11773 without using the atomic operations. Only one thread can possibly
11774 be accessing the data at this point. Changed so as to avoid
11775 gst_atomic operations.
11777 2005-05-06 Wim Taymans <wim@fluendo.com>
11779 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11780 Also set caps if we use the fallback buffer alloc.
11782 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11784 * docs/gst/Makefile.am:
11785 * docs/gst/gstreamer-docs.sgml:
11786 * docs/gst/gstreamer-sections.txt:
11787 * docs/gst/tmpl/gstatomic.sgml:
11788 * docs/gst/tmpl/gstmemchunk.sgml:
11789 * testsuite/elements/struct_i386.h:
11790 * win32/GStreamer.vcproj:
11792 Purge GstAtomic stuff from docs and win32 makefiles as well
11794 2005-05-06 Wim Taymans <wim@fluendo.com>
11796 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11797 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11798 * gst/gstpad.c: (gst_pad_peer_get_caps):
11799 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11800 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11801 (gst_queue_src_activate), (gst_queue_change_state):
11803 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11804 (intersect_caps_func):
11805 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11806 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11807 Some fixes for the peer_get_caps() change.
11809 2005-05-06 Wim Taymans <wim@fluendo.com>
11811 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11812 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11813 (gst_basesink_activate):
11814 Actually do something with error codes returned from the push
11817 2005-05-06 Wim Taymans <wim@fluendo.com>
11819 * docs/design/part-element-sink.txt:
11820 * docs/design/part-element-source.txt:
11821 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11822 (gst_basesink_event), (gst_basesink_activate):
11823 * gst/base/gstbasesink.h:
11824 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11825 (gst_basesrc_activate):
11826 * gst/base/gstbasesrc.h:
11827 * gst/gstelement.c: (gst_element_pads_activate):
11828 Some more documentation.
11829 Fixed scheduling decision in _pads_activate().
11831 2005-05-05 Andy Wingo <wingo@pobox.com>
11833 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11836 2005-05-05 Wim Taymans <wim@fluendo.com>
11838 * gst/base/Makefile.am:
11839 * gst/base/gstbasesink.h:
11840 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11841 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11842 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11843 (gst_collectpads_class_init), (gst_collectpads_init),
11844 (gst_collectpads_finalize), (gst_collectpads_new),
11845 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11846 (find_pad), (gst_collectpads_remove_pad),
11847 (gst_collectpads_is_active), (gst_collectpads_collect),
11848 (gst_collectpads_collect_range), (gst_collectpads_start),
11849 (gst_collectpads_stop), (gst_collectpads_peek),
11850 (gst_collectpads_pop), (gst_collectpads_available),
11851 (gst_collectpads_read), (gst_collectpads_flush),
11852 (gst_collectpads_chain):
11853 * gst/base/gstcollectpads.h:
11854 * gst/elements/Makefile.am:
11855 * gst/elements/gstelements.c:
11856 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11857 (gst_fakesink_get_times), (gst_fakesink_event),
11858 (gst_fakesink_preroll), (gst_fakesink_render):
11859 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11860 (gst_filesink_init), (gst_filesink_set_location),
11861 (gst_filesink_open_file), (gst_filesink_close_file),
11862 (gst_filesink_pad_query), (gst_filesink_event),
11863 (gst_filesink_render), (gst_filesink_change_state):
11864 * gst/elements/gstfilesink.h:
11865 Added object to help in making collect pad based elements.
11867 Make event function in sink baseclass return gboolean.
11869 2005-05-05 Wim Taymans <wim@fluendo.com>
11871 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11872 (gst_bin_get_by_name):
11874 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11875 (gst_clock_finalize):
11876 * gst/gstdata.c: (gst_data_replace):
11878 * gst/gstelement.c: (gst_element_request_pad),
11879 (gst_element_pads_activate):
11880 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11881 (gst_object_unref):
11882 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11883 (gst_pad_set_checkgetrange_function),
11884 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11885 (gst_pad_check_pull_range), (gst_pad_pull_range),
11886 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11887 (gst_pad_pause_task), (gst_pad_stop_task):
11888 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11889 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11890 Fix name lookup in GstBin.
11891 Added _data_replace() function and _buffer_replace()
11892 Use finalize method to clean up clock.
11893 Fix refcounting on request pads.
11894 Fix pad schedule mode error.
11895 Some more object refcounting debug info,
11898 2005-05-04 Andy Wingo <wingo@pobox.com>
11900 * check/Makefile.am:
11901 * docs/gst/tmpl/gstatomic.sgml:
11902 * docs/gst/tmpl/gstplugin.sgml:
11903 * gst/base/gstbasesink.c: (gst_basesink_activate):
11904 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11905 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11906 (gst_basesrc_query), (gst_basesrc_set_property),
11907 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11908 (gst_basesrc_activate):
11909 * gst/base/gstbasesrc.h:
11910 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11911 (gst_base_transform_src_activate):
11912 * gst/elements/gstelements.c:
11913 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11914 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11915 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11916 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11917 (gst_type_find_element_checkgetrange),
11918 (gst_type_find_element_activate):
11919 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11920 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11921 (gst_caps_load_thyself):
11922 * gst/gstelement.c: (gst_element_pads_activate),
11923 (gst_element_save_thyself), (gst_element_restore_thyself):
11924 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11925 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11927 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11928 (gst_xml_parse_file), (gst_xml_parse_memory),
11929 (gst_xml_get_element), (gst_xml_make_element):
11930 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11931 (_file_index_id_save_xml), (gst_file_index_commit):
11932 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11933 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11935 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11936 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11937 * tools/gst-complete.c: (main):
11938 * tools/gst-compprep.c: (main):
11939 * tools/gst-inspect.c: (print_element_properties_info):
11940 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11941 * tools/gst-xmlinspect.c: (print_element_properties):
11944 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11946 * gst/gstplugin.c: (gst_plugin_check_module),
11947 (gst_plugin_check_file), (gst_plugin_load_file):
11948 apply patch from #172526 to make register work on MacOSX
11950 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11952 * docs/gst/tmpl/gstconfig.sgml:
11953 * gst/gstconfig.h.in:
11954 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11955 * testsuite/debug/printf_extension.c: (main):
11956 Do not use GST_PTR_FORMAT on pointers to types with
11957 sizeof < sizeof(gpointer). Fixes test on 64-bit
11958 * testsuite/elements/property.h:
11959 use correct printf format
11961 2005-05-02 Wim Taymans <wim@fluendo.com>
11963 * docs/design/draft-push-pull.txt:
11964 * docs/design/draft-query.txt:
11965 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11966 (gst_basesrc_start):
11967 Added draft for new query API.
11968 Added draft for better selecting scheduling methods.
11969 Make basesrc ignore length if the subclass does not support
11972 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11975 possible fixes for automake-1.5 - _LIBADD is reserved
11977 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11979 * docs/faq/Makefile.am:
11980 * docs/manual/Makefile.am:
11981 * docs/manuals.mak:
11982 * docs/pwg/Makefile.am:
11984 possible fixes for automake-1.5
11986 2005-04-28 Wim Taymans <wim@fluendo.com>
11988 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11989 (gst_basesink_pad_getcaps), (gst_basesink_init),
11990 (gst_basesink_do_sync):
11991 * gst/gstclock.c: (gst_clock_entry_new):
11992 * gst/gstevent.c: (gst_event_discont_get_value):
11993 * gst/gstpipeline.c: (pipeline_bus_handler),
11994 (gst_pipeline_change_state):
11995 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11996 Better debugging of clocking info.
11997 Allow NULL values when getting discont values.
11999 2005-04-27 Wim Taymans <wim@fluendo.com>
12001 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12002 * check/gst/gstpad.c: (gst_pad_suite):
12003 Increase timeout for checks.
12005 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12007 * check/Makefile.am:
12008 fix the broken rule for cleanup. Apparently this rule is
12009 only needed on FC2, so maybe this warrants further autotool
12012 2005-04-26 Wim Taymans <wim@fluendo.com>
12014 * gst/gsttrashstack.h:
12015 Ooohh. a nasty one! After having a failed pop() from the stack,
12016 it's possible that the stack is empty. In that case, don't
12017 follow the NULL pointer.
12019 2005-04-25 Wim Taymans <wim@fluendo.com>
12021 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12022 (gst_pad_set_checkgetrange_function),
12023 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12024 (gst_pad_check_pull_range), (gst_pad_pull_range),
12025 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12026 (gst_pad_pause_task), (gst_pad_stop_task):
12027 * gst/gstplugin.c: (gst_plugin_load):
12029 Remove gst_library_load as it does more harm than good with
12030 the new g_module flags.
12031 Revert bogus caps template check in pad linking, pad caps
12032 are important when linking not the template, which is more
12033 general than the current caps.
12035 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12037 * gst/autoplug/.cvsignore:
12038 * gst/autoplug/Makefile.am:
12039 * gst/autoplug/gstsearchfuncs.c:
12040 * gst/autoplug/gstsearchfuncs.h:
12041 * gst/autoplug/gstspider.c:
12042 * gst/autoplug/gstspider.h:
12043 * gst/autoplug/gstspideridentity.c:
12044 * gst/autoplug/gstspideridentity.h:
12045 * gst/autoplug/spidertest.c:
12048 2005-04-25 Wim Taymans <wim@fluendo.com>
12050 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12051 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12052 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12053 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12055 Added stubs for unimplemented functions.
12057 2005-04-24 David Schleef <ds@schleef.org>
12059 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12062 2005-04-24 David Schleef <ds@schleef.org>
12064 Convert everything from GstAtomicInt to g_atomic_int_*, and
12069 * gst/gstatomic_impl.h:
12077 * gst/gstdata_private.h:
12081 * gst/gstmessage.c:
12084 * gst/gststructure.c:
12085 * gst/gststructure.h:
12086 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12089 2005-04-24 David Schleef <ds@schleef.org>
12091 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12092 make the regressions tests work. Remove some code that is no
12094 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12095 Disable warning for pads without templates.
12097 2005-04-24 David Schleef <ds@schleef.org>
12099 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12100 functions that handle filtered links.
12101 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12103 * gst/gstutils.c: Fix/remove utility functions that handle
12106 * gst/gstvalue.c: Add serialization/deserialization of caps
12107 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12108 requires fixing so that the filter caps notation creates
12109 a capsfilter element and sets the filter_caps property. I
12110 think everyone probably wants to keep the shorthand notation.
12111 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12112 * docs/gst/tmpl/gstpad.sgml:
12114 * gst/elements/gstelements.c: Register capsfilter element.
12115 * gst/Makefile.am: fix spacing
12116 * docs/random/ds/0.9-suggested-changes: random
12118 2005-04-23 David Schleef <ds@schleef.org>
12120 * gst/elements/Makefile.am:
12121 * gst/elements/gstcapsfilter.c: New element that acts like an
12122 identity, but filters caps. Will eventually replace filtered
12123 caps in pad linking.
12124 * gst/gstutils.c: (gst_element_create_all_pads): New function
12125 to create all the ALWAYS pads that are registered with an
12126 element class. This functionality should eventually be
12127 merged in with GstElement initialization.
12129 * testsuite/trigger/README: part of trigger test code that should
12130 have been checked in a long time ago.
12132 2005-04-23 David Schleef <ds@schleef.org>
12134 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12135 needed with new versions of libtool (nobody will confirm this),
12136 and hard to carry around.
12137 * gst/autoplug/Makefile.am:
12138 * gst/base/Makefile.am:
12139 * gst/elements/Makefile.am:
12140 * gst/indexers/Makefile.am:
12141 * gst/schedulers/Makefile.am:
12142 * libs/gst/bytestream/Makefile.am:
12143 * libs/gst/control/Makefile.am:
12144 * libs/gst/dataprotocol/Makefile.am:
12145 * libs/gst/getbits/Makefile.am:
12147 2005-04-21 Wim Taymans <wim@fluendo.com>
12149 * docs/design/draft-push-pull.txt:
12150 * docs/design/part-MT-refcounting.txt:
12151 * docs/design/part-TODO.txt:
12152 * docs/design/part-caps.txt:
12153 * docs/design/part-events.txt:
12154 * docs/design/part-gstbus.txt:
12155 * docs/design/part-gstpipeline.txt:
12156 * docs/design/part-messages.txt:
12157 * docs/design/part-push-pull.txt:
12158 * docs/design/part-query.txt:
12161 2005-04-21 Wim Taymans <wim@fluendo.com>
12163 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12164 (gst_message_new), (gst_message_new_error),
12165 (gst_message_new_warning), (gst_message_new_tag),
12166 (gst_message_new_state_changed), (gst_message_new_application),
12167 (gst_message_get_structure):
12168 * gst/gstmessage.h:
12169 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12170 (gst_structure_copy_conditional):
12171 Use parent refcount in GstMessage to ensure GstStructure
12173 Cleaned up headers a bit.
12176 2005-04-20 Wim Taymans <wim@fluendo.com>
12178 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12179 (gst_basesink_pad_getcaps), (gst_basesink_init),
12180 (gst_basesink_chain_unlocked):
12181 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12182 (gst_type_find_helper):
12183 * gst/elements/gsttypefindelement.c:
12184 (gst_type_find_element_have_type), (gst_type_find_element_init),
12185 (stop_typefinding), (gst_type_find_element_handle_event),
12186 (find_suggest), (gst_type_find_element_chain),
12187 (gst_type_find_element_checkgetrange),
12188 (gst_type_find_element_getrange), (do_typefind),
12189 (gst_type_find_element_activate):
12190 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12191 (gst_buffer_default_free), (gst_buffer_default_copy),
12192 (gst_buffer_set_caps):
12193 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12194 (gst_caps_replace):
12195 * gst/gstmessage.c: (gst_message_new),
12196 (gst_message_new_state_changed):
12197 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12198 (gst_pad_set_checkgetrange_function),
12199 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12200 (gst_pad_set_caps), (gst_pad_check_pull_range),
12201 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12203 * gst/gsttypefind.c: (gst_type_find_register):
12204 Make gst_caps_replace() work like other _replace() functions.
12205 Use _caps_replace() where possible.
12206 Make sure _message_new() initialises its field.
12207 Add gst_static_pad_template_get_caps()
12210 2005-04-18 Andy Wingo <wingo@pobox.com>
12212 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12213 on the peer, not the pad. I think that was a typo. Pass an extra
12214 arg to see if random access is possible. Activate the pads as
12215 PULL_RANGE if possible.
12217 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12219 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12220 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12223 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12225 * docs/faq/using.xml:
12226 Add note on gstreamer-properties (#154996).
12228 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12230 * docs/random/bbb/optional-properties:
12231 Some analysis on optional properties.
12233 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12235 * docs/gst/tmpl/gstelementfactory.sgml:
12236 * gst/gstelement.h:
12237 * gst/gstelementfactory.c: (gst_element_factory_init),
12238 (gst_element_factory_cleanup), (gst_element_register),
12239 (__gst_element_factory_add_static_pad_template),
12240 (gst_element_factory_get_static_pad_templates),
12241 (gst_element_factory_can_src_caps),
12242 (gst_element_factory_can_sink_caps):
12243 * gst/registries/Makefile.am:
12244 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12245 (gst_xml_registry_class_init), (gst_xml_registry_init),
12246 (gst_xml_registry_new), (gst_xml_registry_set_property),
12247 (gst_xml_registry_get_property), (get_time), (make_dir),
12248 (gst_xml_registry_get_perms_func),
12249 (plugin_times_older_than_recurse), (plugin_times_older_than),
12250 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12251 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12252 (add_to_char_array), (read_string), (read_uint), (read_enum),
12253 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12254 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12255 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12256 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12257 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12258 (gst_xml_registry_rebuild):
12259 * gst/registries/gstlibxmlregistry.h:
12260 * tools/gst-compprep.c: (main):
12261 * tools/gst-inspect.c: (print_pad_templates_info):
12262 * tools/gst-xmlinspect.c: (print_element_info):
12263 Use libxml2 for registry parsing, use staticpadtemplates in
12264 elementfactories. Makes gst_init() +/- 10x faster.
12266 2005-04-12 Wim Taymans <wim@fluendo.com>
12268 * gst/base/Makefile.am:
12269 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12270 (gst_basesink_pad_getcaps), (gst_basesink_init),
12271 (gst_basesink_event), (gst_basesink_change_state):
12272 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12273 (gst_basesrc_init), (gst_basesrc_query),
12274 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12275 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12276 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12277 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12278 (gst_basesrc_stop), (gst_basesrc_activate),
12279 (gst_basesrc_change_state):
12280 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12281 (helper_find_suggest), (gst_type_find_helper):
12282 * gst/base/gsttypefindhelper.h:
12283 * gst/elements/Makefile.am:
12284 * gst/elements/gstelements.c:
12285 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12286 (gst_fakesink_get_times), (gst_fakesink_event),
12287 (gst_fakesink_preroll), (gst_fakesink_render):
12288 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12289 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12290 (gst_fakesrc_get_property), (gst_fakesrc_create),
12291 (gst_fakesrc_start), (gst_fakesrc_stop):
12292 * gst/elements/gstfakesrc.h:
12293 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12294 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12295 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12296 (gst_filesrc_create_read), (gst_filesrc_create),
12297 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12298 (gst_filesrc_start):
12299 * gst/elements/gsttypefindelement.c:
12300 (gst_type_find_element_have_type), (gst_type_find_element_init),
12301 (start_typefinding), (stop_typefinding), (push_buffer_store),
12302 (gst_type_find_element_handle_event),
12303 (gst_type_find_element_chain),
12304 (gst_type_find_element_checkgetrange),
12305 (gst_type_find_element_getrange), (do_typefind),
12306 (gst_type_find_element_activate),
12307 (gst_type_find_element_change_state):
12308 * gst/elements/gsttypefindelement.h:
12309 * gst/gstpipeline.c: (pipeline_bus_handler):
12310 Added typefind helper.
12311 Small preroll fix in the base sink.
12312 Disable typefind code in basesrc.
12313 Crude port of typefindelement.
12317 2005-04-11 Wim Taymans <wim@fluendo.com>
12319 * check/gst/gstbus.c: (gstbus_suite):
12320 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12321 * check/gstcheck.h:
12322 Fix up the timeout so that the test does not fail.
12324 2005-04-06 Wim Taymans <wim@fluendo.com>
12327 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12328 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12329 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12330 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12331 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12332 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12333 (gst_basesrc_stop), (gst_basesrc_activate),
12334 (gst_basesrc_change_state), (basesrc_find_peek),
12335 (basesrc_find_suggest), (gst_basesrc_type_find):
12336 * gst/base/gstbasesrc.h:
12337 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12338 (gst_filesrc_class_init), (gst_filesrc_init),
12339 (gst_filesrc_finalize), (gst_filesrc_set_location),
12340 (gst_filesrc_set_property), (gst_filesrc_get_property),
12341 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12342 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12343 (gst_filesrc_create_read), (gst_filesrc_create),
12344 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12345 * gst/elements/gstfilesrc.h:
12346 * gst/gstelement.c: (gst_element_get_state_func),
12347 (gst_element_lost_state), (gst_element_pads_activate):
12348 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12349 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12350 (gst_pad_pull_range):
12352 More work on the generic source base class, implement seeking,
12354 Make filesrc extend the base source class.
12355 Added gst_pad_set_checkgetrange_function to GstPad.
12357 2005-04-06 Andy Wingo <wingo@pobox.com>
12359 * pkgconfig/gstreamer-base.pc.in:
12360 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12362 * pkgconfig/Makefile.am:
12363 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12365 2005-04-04 Wim Taymans <wim@fluendo.com>
12367 * gst/base/Makefile.am:
12369 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12370 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12371 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12372 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12373 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12374 (gst_basesrc_base_init), (gst_basesrc_class_init),
12375 (gst_basesrc_init), (gst_basesrc_get_formats),
12376 (gst_basesrc_get_query_types), (gst_basesrc_query),
12377 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12378 (gst_basesrc_set_property), (gst_basesrc_get_property),
12379 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12380 (gst_basesrc_loop), (gst_basesrc_activate),
12381 (gst_basesrc_change_state):
12382 * gst/base/gstbasesrc.h:
12383 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12384 (gst_fakesrc_class_init), (gst_fakesrc_init),
12385 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12386 (gst_fakesrc_get_property), (gst_fakesrc_create):
12387 * gst/elements/gstfakesrc.h:
12388 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12389 (gst_filesrc_open_file), (gst_filesrc_loop),
12390 (gst_filesrc_activate), (filesrc_find_peek),
12391 (gst_filesrc_type_find):
12392 Made base source class, make fakesrc extend it.
12393 Add comments to basesink class.
12394 Some filesrc cleanup.
12396 2005-03-31 David Schleef <ds@schleef.org>
12398 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12399 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12400 expected to link against libgstreamer.
12401 * gst/base/Makefile.am: link against libgstreamer
12402 * gst/elements/Makefile.am: same
12404 2005-03-31 Andy Wingo <wingo@pobox.com>
12406 * tests/instantiate/Makefile.am:
12407 * tests/instantiate/caps.c: Add test to test speed of caps copy
12410 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12411 GMemChunk to be fair.
12413 * gst/gsttrashstack.h: Remove warning about using the fallback
12414 trash stack implementation, it's still faster than malloc.
12416 2005-03-30 Andy Wingo <wingo@pobox.com>
12418 * tests/complexity.c: Add a copyright.
12420 2005-03-31 Wim Taymans <wim@fluendo.com>
12422 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12423 (gst_base_transform_class_init), (gst_base_transform_init),
12424 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12425 (gst_base_transform_get_property),
12426 (gst_base_transform_sink_activate),
12427 (gst_base_transform_src_activate),
12428 (gst_base_transform_change_state):
12429 * gst/base/gstbasetransform.h:
12430 * gst/elements/gstidentity.c: (gst_identity_class_init),
12431 (gst_identity_event), (gst_identity_check_perfect),
12432 (gst_identity_transform), (gst_identity_start),
12433 (gst_identity_stop):
12434 Added start/stop methods to transform base class so subclasses
12435 don't need to deal with state changes even.
12437 2005-03-31 Wim Taymans <wim@fluendo.com>
12439 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12440 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12442 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12443 (gst_pad_pull_range):
12444 Added rate to the discont event to prepare for variable speed
12445 and reverse playback.
12447 2005-03-29 David Schleef <ds@schleef.org>
12450 * testsuite/trigger/Makefile.am:
12451 * testsuite/trigger/trigger.c: A little example program to show
12452 how trigger-based elements can work.
12454 2005-03-29 Wim Taymans <wim@fluendo.com>
12456 * gst/base/Makefile.am:
12458 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12459 (gst_basesink_base_init), (gst_basesink_class_init),
12460 (gst_basesink_pad_getcaps), (gst_basesink_init),
12461 (gst_basesink_activate), (gst_basesink_change_state):
12462 * gst/base/gstbasesink.h:
12463 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12464 (gst_base_transform_base_init), (gst_base_transform_finalize),
12465 (gst_base_transform_class_init), (gst_base_transform_init),
12466 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12467 (gst_base_transform_event), (gst_base_transform_getrange),
12468 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12469 (gst_base_transform_set_property),
12470 (gst_base_transform_get_property),
12471 (gst_base_transform_sink_activate),
12472 (gst_base_transform_src_activate),
12473 (gst_base_transform_change_state):
12474 * gst/base/gstbasetransform.h:
12475 * gst/elements/gstidentity.c: (gst_identity_finalize),
12476 (gst_identity_class_init), (gst_identity_init),
12477 (gst_identity_event), (gst_identity_check_perfect),
12478 (gst_identity_transform), (gst_identity_set_property),
12479 (gst_identity_get_property), (gst_identity_change_state):
12480 * gst/elements/gstidentity.h:
12481 * gst/gstelement.c: (gst_element_get_state_func),
12482 (gst_element_lost_state), (gst_element_pads_activate):
12483 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12484 (gst_pad_check_pull_range), (gst_pad_pull_range):
12486 Simplify pad activation.
12487 Added function to check if pull_range can be performed.
12488 Error out when pulling inactive or flushing pads.
12489 Removed const from refcounted types as it does not make sense.
12490 Simplify pad templates in basesink
12491 Added base class for simple 1-to-1 transforms.
12492 Make identity subclass the base transform.
12494 2005-03-29 Andy Wingo <wingo@pobox.com>
12496 * docs/libs/gstreamer-libs-overrides.txt:
12497 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12498 really don't understand what's going on, but like whatever. I want
12501 * docs/gst/Makefile.am:
12502 * docs/libs/Makefile.am: Dist the overrides files.
12504 * check/Makefile.am (clean-local): Remove .libs directories.
12506 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12507 elements to EXTRA_DIST, so po/ files are happy.
12509 * po/POTFILES.in: Er, remove it here.
12511 * po/POTFILES: Remove gstspider.c.
12513 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12515 * docs/libs/gstreamer-libs-docs.sgml:
12516 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12519 * tests/complexity.c (main): Set the length of the preroll queue
12520 on the sinks to prevent a lockup.
12522 * libs/gst/dataprotocol/Makefile.am:
12523 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12524 the same as the one in check/gst-libs/gdp.c.
12526 * po/, docs/gst/: Commit automatic changes to docs and po files.
12528 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12529 the versioned libgstbase.
12531 * check/Makefile.am: Depend on an unversioned gst-register, seems
12532 to make autoconf happier.
12534 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12536 2005-03-28 Wim Taymans <wim@fluendo.com>
12539 * docs/design/part-gstelement.txt:
12540 * docs/design/part-negotiation.txt:
12541 * docs/design/part-preroll.txt:
12542 * docs/design/part-scheduling.txt:
12543 * docs/design/part-states.txt:
12545 * gst/base/Makefile.am:
12547 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12548 (gst_basesink_base_init), (gst_basesink_class_init),
12549 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12550 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12551 (gst_basesink_set_pad_functions),
12552 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12553 (gst_basesink_set_property), (gst_basesink_get_property),
12554 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12555 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12556 (gst_basesink_preroll_queue_push),
12557 (gst_basesink_preroll_queue_empty),
12558 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12559 (gst_basesink_event), (gst_basesink_get_times),
12560 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12561 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12562 (gst_basesink_loop), (gst_basesink_activate),
12563 (gst_basesink_change_state):
12564 * gst/base/gstbasesink.h:
12565 * gst/elements/Makefile.am:
12566 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12567 (gst_fakesink_class_init), (gst_fakesink_init),
12568 (gst_fakesink_set_property), (gst_fakesink_get_property),
12569 (gst_fakesink_get_times), (gst_fakesink_event),
12570 (gst_fakesink_preroll), (gst_fakesink_render),
12571 (gst_fakesink_change_state):
12572 * gst/elements/gstfakesink.h:
12573 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12574 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12575 * gst/gstelement.c: (gst_element_add_pad),
12576 (gst_element_get_state_func), (gst_element_abort_state),
12577 (gst_element_commit_state), (gst_element_lost_state),
12578 (gst_element_set_state), (gst_element_pads_activate):
12579 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12580 * gst/gstpipeline.c: (gst_pipeline_send_event),
12581 (gst_pipeline_change_state):
12582 Added state change code.
12583 Added/updated docs.
12584 Added sink base class, make fakesink extend the base class.
12585 Small cleanups in GstPipeline.
12587 2005-03-26 David Schleef <ds@schleef.org>
12589 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12590 is broken and should be implemented in a different library.
12591 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12592 * gst/gst.h: remove gstcpu.h
12593 * gst/gstcpu.c: remove
12594 * gst/gstcpu.h: remove
12595 * gst/Makefile.am.future: Remove this file. It's ancient.
12597 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12600 (gst_bin_send_event):
12601 Add default event/set_manager handlers. The set_manager handler
12602 takes care that the manager is distributed over kids that were
12603 already in the bin before the manager was set. The event handler
12604 is a utility virtual function that sends the event over all sinks,
12605 so that gst_element_send_event (bin, event); has the expected
12607 * gst/gstpad.c: (gst_pad_event_default):
12608 Re-install default event handling for discontinuities, so that
12609 seeking works without requiring hacks in applications or extra
12611 * gst/gstpipeline.c: (gst_pipeline_class_init),
12612 (gst_pipeline_send_event):
12613 Half hack, half utility: set a pipeline to PAUSED for seek events,
12614 since that is the only way we can guarantee a/v sync. Means that
12615 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12616 and it "just works".
12618 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12620 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12621 Lock/unlock mismatch.
12623 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12625 * docs/faq/gst-uninstalled:
12626 add gst-plugins-base
12627 * docs/gst/Makefile.am:
12628 don't error out until docs are fixed
12629 * docs/gst/gstreamer.types:
12632 2005-03-22 Wim Taymans <wim@fluendo.com>
12634 * check/Makefile.am:
12635 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12636 * gst/gststructure.c: (gst_structure_set_valist),
12637 (gst_structure_copy_conditional):
12638 Activated more tests.
12639 Added message test.
12640 Added G_TYPE_POINTER to GstStructure.
12643 2005-03-22 Wim Taymans <wim@fluendo.com>
12645 * docs/design/part-TODO.txt:
12646 * docs/design/part-events.txt:
12647 * docs/design/part-gstbin.txt:
12648 * docs/design/part-gstbus.txt:
12649 * docs/design/part-gstpipeline.txt:
12650 * docs/design/part-messages.txt:
12652 * gst/gstmessage.c:
12655 2005-03-21 Wim Taymans <wim@fluendo.com>
12657 * gst/gstbus.c: (gst_bus_post):
12658 Fix copy-and-paste error.
12660 2005-03-21 Wim Taymans <wim@fluendo.com>
12662 * check/Makefile.am:
12664 * gst/elements/Makefile.am:
12665 * gst/elements/gstelements.c:
12666 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12667 (gst_fakesink_event), (gst_fakesink_chain):
12668 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12669 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12670 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12671 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12672 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12673 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12674 (gst_fakesrc_loop), (gst_fakesrc_activate),
12675 (gst_fakesrc_change_state):
12676 * gst/elements/gstfakesrc.h:
12677 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12678 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12679 (gst_filesrc_open_file), (gst_filesrc_loop),
12680 (gst_filesrc_activate), (gst_filesrc_change_state),
12681 (filesrc_find_peek), (filesrc_find_suggest),
12682 (gst_filesrc_type_find):
12683 * gst/elements/gstidentity.c: (gst_identity_finalize),
12684 (gst_identity_class_init), (gst_identity_init),
12685 (gst_identity_proxy_getcaps), (identity_queue_push),
12686 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12687 (gst_identity_getrange), (gst_identity_chain),
12688 (gst_identity_sink_loop), (gst_identity_src_loop),
12689 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12690 (gst_identity_set_property), (gst_identity_get_property),
12691 (gst_identity_change_state):
12692 * gst/elements/gstidentity.h:
12693 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12694 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12695 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12696 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12697 (gst_tee_sink_activate):
12698 * gst/elements/gsttee.h:
12699 * gst/gst.c: (gst_register_core_elements), (init_post):
12701 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12702 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12703 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12704 (gst_bin_change_state):
12706 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12707 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12708 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12709 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12710 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12711 (bus_watch_callback), (bus_watch_destroy),
12712 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12713 (poll_timeout), (gst_bus_poll):
12717 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12718 (gst_element_post_message), (gst_element_message_full),
12719 (gst_element_get_state_func), (gst_element_get_state),
12720 (gst_element_abort_state), (gst_element_commit_state),
12721 (gst_element_lost_state), (gst_element_set_state),
12722 (gst_element_pads_activate), (gst_element_change_state),
12723 (gst_element_dispose), (gst_element_set_manager_func),
12724 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12725 (gst_element_set_manager), (gst_element_get_manager),
12726 (gst_element_set_bus), (gst_element_get_bus),
12727 (gst_element_set_scheduler), (gst_element_get_scheduler):
12728 * gst/gstelement.h:
12729 * gst/gstevent.c: (gst_event_new_segment_seek),
12730 (gst_event_new_flush):
12732 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12733 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12734 (gst_message_new_eos), (gst_message_new_error),
12735 (gst_message_new_warning), (gst_message_new_tag),
12736 (gst_message_new_state_changed), (gst_message_new_application),
12737 (gst_message_get_structure), (gst_message_parse_tag),
12738 (gst_message_parse_state_changed), (gst_message_parse_error),
12739 (gst_message_parse_warning):
12740 * gst/gstmessage.h:
12741 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12742 (gst_real_pad_set_property), (gst_pad_set_active),
12743 (gst_pad_is_active), (gst_pad_set_blocked_async),
12744 (gst_pad_set_blocked), (gst_pad_is_blocked),
12745 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12746 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12747 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12748 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12749 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12750 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12751 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12752 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12753 (gst_pad_set_caps), (gst_pad_configure_sink),
12754 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12755 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12756 (gst_real_pad_dispose), (gst_real_pad_finalize),
12757 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12758 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12759 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12761 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12762 (pipeline_bus_handler), (gst_pipeline_change_state),
12763 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12764 * gst/gstpipeline.h:
12766 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12767 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12768 (gst_queue_link_src), (gst_queue_bufferalloc),
12769 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12770 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12771 (gst_queue_loop), (gst_queue_handle_src_event),
12772 (gst_queue_handle_src_query), (gst_queue_src_activate),
12773 (gst_queue_change_state):
12775 * gst/gstscheduler.c: (gst_scheduler_init),
12776 (gst_scheduler_dispose), (gst_scheduler_create_task),
12777 (gst_scheduler_factory_create):
12778 * gst/gstscheduler.h:
12779 * gst/gststructure.c: (gst_structure_get_type),
12780 (gst_structure_copy_conditional):
12781 * gst/gststructure.h:
12782 * gst/gsttaginterface.h:
12783 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12784 (gst_task_init), (gst_task_dispose), (gst_task_create),
12785 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12791 * gst/schedulers/Makefile.am:
12792 * gst/schedulers/cothreads_compat.h:
12793 * gst/schedulers/entryscheduler.c:
12794 * gst/schedulers/faircothreads.c:
12795 * gst/schedulers/faircothreads.h:
12796 * gst/schedulers/fairscheduler.c:
12797 * gst/schedulers/gstbasicscheduler.c:
12798 * gst/schedulers/gstoptimalscheduler.c:
12799 * gst/schedulers/gthread-cothreads.h:
12800 * gst/schedulers/threadscheduler.c:
12801 (gst_thread_scheduler_task_get_type),
12802 (gst_thread_scheduler_task_class_init),
12803 (gst_thread_scheduler_task_init),
12804 (gst_thread_scheduler_task_start),
12805 (gst_thread_scheduler_task_stop),
12806 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12807 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12808 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12809 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12811 * libs/gst/Makefile.am:
12812 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12813 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12814 (gst_file_pad_parent_set):
12815 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12816 (gst_dp_event_from_packet):
12817 * tests/complexity.c: (main):
12818 * tests/mass_elements.c: (main):
12819 * testsuite/states/locked.c: (message_received), (main):
12820 * testsuite/states/parent.c: (main):
12821 * tools/gst-inspect.c: (print_element_flag_info),
12822 (print_implementation_info), (print_pad_info):
12823 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12825 * tools/gst-md5sum.c: (event_loop), (main):
12826 * tools/gst-typefind.c: (main):
12827 * tools/gst-xmlinspect.c: (print_element_info):
12829 Added GstBus for mainloop integration.
12830 Added GstMessage for sending notifications on the bus.
12831 Added GstTask as an abstraction for pipeline entry points.
12833 Removed Schedulers.
12834 Simplified GstQueue for multithreaded core.
12835 Made _link threadsafe, removed old capsnego.
12836 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12837 Added pad blocking functions.
12838 Reworked scheduling functions in GstPad to prepare for
12839 scheduling updates soon.
12840 Moved events out of data stream.
12841 Simplified GstEvent types.
12842 Added return values to push/pull.
12843 Removed clocking from GstElement.
12844 Added prototypes for state change function for next merge.
12845 Removed iterate from bins and state change management.
12846 Fixed some elements, disabled others for now.
12847 Fixed -inspect and -launch.
12848 Added check for GstBus.
12850 2005-03-10 Wim Taymans <wim@fluendo.com>
12852 * docs/design/part-MT-refcounting.txt:
12853 * docs/design/part-clocks.txt:
12854 * docs/design/part-gstelement.txt:
12855 * docs/design/part-gstobject.txt:
12856 * docs/design/part-standards.txt:
12857 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12858 (gst_bin_remove_func), (gst_bin_remove):
12862 * testsuite/clock/clock1.c: (main):
12863 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12865 * testsuite/dlopen/loadgst.c: (do_test):
12866 * testsuite/refcounting/bin.c: (add_remove_test1),
12867 (add_remove_test2), (main):
12868 * testsuite/refcounting/element.c: (main):
12869 * testsuite/refcounting/element_pad.c: (main):
12870 * testsuite/refcounting/pad.c: (main):
12871 * tools/gst-launch.c: (sigint_handler_sighandler):
12872 * tools/gst-typefind.c: (main):
12874 Added doc about clock.
12875 removed gst_bin_iterate_recurse_up(), marked methods
12877 Fix more testsuites.
12879 2005-03-09 Wim Taymans <wim@fluendo.com>
12881 * gst/gstpad.c: (gst_pad_get_direction),
12882 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12883 (gst_pad_collect_valist):
12884 * testsuite/bins/interface.c: (main):
12885 * testsuite/caps/audioscale.c: (test_caps):
12886 * testsuite/caps/caps.c: (test1), (test2), (test3):
12887 * testsuite/caps/deserialize.c: (main):
12888 * testsuite/caps/enumcaps.c: (main):
12889 * testsuite/caps/filtercaps.c: (main):
12890 * testsuite/caps/intersect2.c: (main):
12891 * testsuite/caps/random.c: (main):
12892 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12893 * testsuite/caps/sets.c: (check_caps):
12894 * testsuite/caps/simplify.c: (check_caps), (main):
12895 * testsuite/caps/subtract.c: (check_caps):
12896 Fix _pad_get_direction wrt ghostpads.
12897 Fix caps testsuite.
12899 2005-03-09 Wim Taymans <wim@fluendo.com>
12901 * check/Makefile.am:
12902 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12903 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12904 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12905 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12906 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12907 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12908 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12909 (bin_element_is_sink), (gst_bin_iterate_sinks),
12910 (gst_bin_iterate_all_by_interface):
12912 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12913 (gst_element_change_state), (gst_element_dispose),
12914 (gst_element_finalize), (gst_element_set_loop_function):
12915 * gst/gstelement.h:
12916 * gst/gstiterator.c: (find_custom_fold_func):
12917 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12918 (gst_pad_collectv), (gst_pad_collect_valist),
12919 (gst_pad_template_new):
12920 * gst/gstpipeline.c: (gst_pipeline_class_init),
12921 (gst_pipeline_dispose), (gst_pipeline_set_property),
12922 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12923 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12924 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12926 * gst/schedulers/entryscheduler.c:
12927 * gst/schedulers/gstbasicscheduler.c:
12928 (gst_basic_scheduler_cothreaded_chain),
12929 (gst_basic_scheduler_chain_add_element):
12930 * testsuite/bins/interface.c: (main):
12932 Added GstSystemClock test.
12933 Implemented clock distribution code in GstBin.
12934 Implemented iterate sinks method for future use.
12935 Rearranged gstelement.h
12936 Fix GstIterator comparison bug.
12937 Moved some code to GstPipeline, mostly clocking related.
12939 2005-03-09 Wim Taymans <wim@fluendo.com>
12942 * gst/gst_private.h:
12943 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12944 (gst_bin_remove_func), (gst_bin_remove),
12945 (gst_bin_get_by_name_recurse_up):
12946 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12947 (gst_clock_id_compare_func), (gst_clock_id_wait),
12948 (gst_clock_id_wait_async), (gst_clock_init),
12949 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12950 * gst/gstelement.h:
12951 * gst/gstinfo.c: (_gst_debug_init):
12953 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12954 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12956 Bump version number, we're now 0.9.0
12957 Add future debugging category.
12958 Fix NULL _unref() in _get_by_name_recurse_up
12959 Rearrange gstpad.h.
12962 2005-03-08 Wim Taymans <wim@fluendo.com>
12964 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12965 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12966 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12967 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12968 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12969 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12970 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12971 * gst/elements/gstidentity.c: (gst_identity_class_init):
12972 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12973 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12974 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12975 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12976 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12978 * gst/gstelement.c: (gst_element_class_init),
12979 (gst_element_base_class_init), (gst_element_init),
12980 (gst_element_get_random_pad), (gst_element_wait_state_change),
12981 (gst_element_change_state), (gst_element_dispose),
12982 (gst_element_finalize), (gst_element_set_loop_function):
12983 * gst/gstelement.h:
12984 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12985 * gst/gstthread.c: (gst_thread_class_init),
12986 (gst_thread_release_children_locks), (gst_thread_change_state):
12987 * gst/schedulers/gstbasicscheduler.c:
12988 (gst_basic_scheduler_loopfunc_wrapper),
12989 (gst_basic_scheduler_chain_wrapper),
12990 (gst_basic_scheduler_src_wrapper),
12991 (gst_basic_scheduler_remove_element):
12992 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12993 Remove threadsafe properties. Fix elements because GObject
12994 complains when installing a property before declaring a
12995 set/get_property handler.
12996 Rearrange gstelement.h file, use STATE macros for state locks.
12997 Free mutexes in the finalize method instead of dispose.
12999 2005-03-08 Wim Taymans <wim@fluendo.com>
13001 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13002 * gst/gstthread.c: (gst_thread_release_children_locks):
13003 Added parentage check.
13004 Fix build og GstThread again.
13006 2005-03-08 Wim Taymans <wim@fluendo.com>
13008 * docs/design/part-MT-refcounting.txt:
13009 * docs/design/part-conventions.txt:
13010 * docs/design/part-gstobject.txt:
13011 * docs/design/part-relations.txt:
13012 * docs/design/part-standards.txt:
13013 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13014 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13015 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13016 (gst_bin_iterate_all_by_interface):
13019 * gst/gstelement.c: (gst_element_class_init),
13020 (gst_element_change_state), (gst_element_set_loop_function):
13021 * gst/gstelement.h:
13022 * gst/gstiterator.c:
13023 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13024 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13025 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13026 (gst_object_set_parent), (gst_object_unparent),
13027 (gst_object_check_uniqueness):
13029 Docs updates, clean up some headers.
13031 2005-03-07 Wim Taymans <wim@fluendo.com>
13033 * check/.cvsignore:
13034 * check/Makefile.am:
13035 * check/gst-libs/.cvsignore:
13036 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13037 * check/gst/.cvsignore:
13038 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13039 (START_TEST), (gstbus_suite), (main):
13040 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13041 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13042 (gst_data_suite), (main):
13043 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13044 (add_fold_func), (gstiterator_suite), (main):
13045 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13046 (thread_name_object), (thread_name_object_default),
13047 (gst_object_name_compare), (gst_object_suite), (main):
13048 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13049 (gst_pad_suite), (main):
13050 * check/gstcheck.c: (gst_check_log_message_func),
13051 (gst_check_log_critical_func), (gst_check_init):
13052 * check/gstcheck.h:
13053 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13054 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13057 2005-03-07 Wim Taymans <wim@fluendo.com>
13059 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13060 (gst_list_iterator_next), (gst_list_iterator_resync),
13061 (gst_list_iterator_free), (gst_iterator_new_list),
13062 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13063 (gst_iterator_free), (gst_iterator_push), (filter_next),
13064 (filter_resync), (filter_uninit), (filter_free),
13065 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13066 (gst_iterator_foreach), (find_custom_fold_func),
13067 (gst_iterator_find_custom):
13068 * gst/gstiterator.h:
13069 Added missing files.
13071 2005-03-07 Wim Taymans <wim@fluendo.com>
13075 * docs/design/part-MT-refcounting.txt:
13076 * docs/design/part-conventions.txt:
13077 * docs/design/part-gstobject.txt:
13078 * docs/design/part-relations.txt:
13079 * examples/mixer/mixer.c: (main):
13080 * examples/thread/thread.c: (eos), (main):
13082 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13083 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13084 (gst_spider_plug_from_srcpad):
13085 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13086 (gst_spider_identity_change_state),
13087 (gst_spider_identity_sink_loop_type_finding):
13088 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13089 * gst/elements/gstidentity.c: (gst_identity_init):
13090 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13091 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13092 * gst/elements/gsttypefindelement.c: (free_entry):
13095 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13096 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13097 (gst_bin_set_index), (gst_bin_set_element_sched),
13098 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13099 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13100 (gst_bin_iterate_elements), (iterate_child_recurse),
13101 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13102 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13103 (compare_interface), (gst_bin_get_by_interface),
13104 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13106 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13107 (gst_buffer_default_free), (gst_buffer_default_copy),
13108 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13109 (gst_buffer_create_sub):
13111 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13112 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13113 (gst_caps_unref), (gst_static_caps_get),
13114 (gst_caps_remove_and_get_structure), (gst_caps_append),
13115 (gst_caps_append_structure), (gst_caps_remove_structure),
13116 (gst_caps_copy_nth), (gst_caps_set_simple),
13117 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13118 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13119 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13120 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13121 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13122 (gst_caps_structure_figure_out_union),
13123 (gst_caps_switch_structures), (gst_caps_do_simplify),
13124 (gst_caps_replace), (gst_caps_from_string),
13125 (gst_caps_copy_conditional):
13127 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13128 (_gst_clock_id_free), (gst_clock_id_unref),
13129 (gst_clock_id_compare_func), (gst_clock_id_wait),
13130 (gst_clock_id_wait_async), (gst_clock_class_init),
13131 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13132 (gst_clock_get_time), (gst_clock_set_time_adjust),
13133 (gst_clock_set_property), (gst_clock_get_property):
13136 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13137 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13139 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13140 (gst_element_requires_clock), (gst_element_provides_clock),
13141 (gst_element_set_clock), (gst_element_clock_wait),
13142 (gst_element_wait), (gst_element_set_time_delay),
13143 (gst_element_is_indexable), (gst_element_add_pad),
13144 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13145 (pad_compare_name), (gst_element_get_static_pad),
13146 (gst_element_request_pad), (gst_element_get_request_pad),
13147 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13148 (gst_element_class_get_pad_template_list),
13149 (gst_element_class_get_pad_template), (gst_element_error_func),
13150 (gst_element_get_random_pad), (gst_element_get_event_masks),
13151 (gst_element_send_event), (gst_element_seek),
13152 (gst_element_get_query_types), (gst_element_query),
13153 (gst_element_get_formats), (gst_element_convert),
13154 (gst_element_is_locked_state), (gst_element_set_locked_state),
13155 (gst_element_sync_state_with_parent), (gst_element_change_state),
13156 (gst_element_finalize), (gst_element_yield),
13157 (gst_element_interrupt), (gst_element_set_scheduler),
13158 (gst_element_get_scheduler), (gst_element_set_loop_function):
13159 * gst/gstelement.h:
13161 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13162 (gst_format_get_by_nick), (gst_format_get_details),
13163 (gst_format_iterate_definitions):
13165 * gst/gstindex.c: (gst_index_gtype_resolver):
13168 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13169 (gst_mem_chunk_free):
13170 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13171 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13172 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13173 (gst_object_dispatch_properties_changed),
13174 (gst_object_set_name_default), (gst_object_set_name),
13175 (gst_object_get_name), (gst_object_set_name_prefix),
13176 (gst_object_get_name_prefix), (gst_object_set_parent),
13177 (gst_object_get_parent), (gst_object_unparent),
13178 (gst_object_check_uniqueness), (gst_object_save_thyself),
13179 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13180 (gst_object_set_property), (gst_object_get_property),
13181 (gst_object_get_path_string):
13183 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13184 (gst_real_pad_init), (gst_real_pad_get_property),
13185 (gst_pad_custom_new), (gst_pad_get_direction),
13186 (gst_pad_set_active), (gst_pad_is_active),
13187 (gst_pad_set_event_function), (gst_pad_is_linked),
13188 (gst_pad_link_free), (gst_pad_link_intersect),
13189 (gst_pad_link_fixate), (gst_pad_set_caps),
13190 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13191 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13192 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13193 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13194 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13195 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13196 (gst_pad_realize), (gst_pad_get_allowed_caps),
13197 (gst_real_pad_dispose), (gst_real_pad_finalize),
13198 (gst_pad_collectv), (gst_pad_collect_valist),
13199 (gst_pad_template_dispose), (gst_pad_template_new),
13200 (gst_pad_get_internal_links):
13202 * gst/gstpipeline.c: (gst_pipeline_dispose),
13203 (gst_pipeline_change_state):
13204 * gst/gstpipeline.h:
13206 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13207 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13208 * gst/gstpluginfeature.h:
13209 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13210 * gst/gstquery.c: (_gst_query_type_initialize),
13211 (gst_query_type_register), (gst_query_type_get_by_nick),
13212 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13214 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13215 * gst/gstscheduler.c: (gst_scheduler_add_element),
13216 (gst_scheduler_factory_create):
13217 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13218 (gst_structure_free), (gst_structure_set_name),
13219 (gst_structure_id_set_value), (gst_structure_set_value),
13220 (gst_structure_set_valist), (gst_structure_remove_field),
13221 (gst_structure_remove_fields),
13222 (gst_structure_remove_fields_valist),
13223 (gst_structure_remove_all_fields), (gst_structure_foreach),
13224 (gst_structure_map_in_place),
13225 (gst_caps_structure_fixate_field_nearest_int),
13226 (gst_caps_structure_fixate_field_nearest_double):
13227 * gst/gststructure.h:
13228 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13229 (gst_system_clock_init), (gst_system_clock_dispose),
13230 (gst_system_clock_async_thread),
13231 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13232 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13233 * gst/gstsystemclock.h:
13234 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13235 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13236 * gst/gsttaginterface.c:
13237 * gst/gstthread.c: (gst_thread_dispose),
13238 (gst_thread_release_children_locks), (gst_thread_change_state),
13239 (gst_thread_main_loop):
13240 * gst/gsttrashstack.h:
13241 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13243 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13244 (gst_element_request_pad), (gst_element_get_pad_from_template),
13245 (gst_element_request_compatible_pad),
13246 (gst_element_get_compatible_pad_filtered),
13247 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13248 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13249 (gst_element_link_many), (gst_element_link),
13250 (gst_element_link_pads), (gst_element_unlink_pads),
13251 (gst_element_unlink_many), (gst_element_unlink),
13252 (gst_pad_can_link_filtered), (gst_pad_can_link),
13253 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13254 (gst_object_default_error), (gst_bin_add_many),
13255 (gst_bin_remove_many), (gst_element_populate_std_props),
13256 (gst_element_class_install_std_props), (gst_buffer_merge),
13257 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13258 (link_fold_func), (gst_pad_proxy_setcaps):
13260 * gst/gstvalue.c: (gst_value_deserialize_string):
13261 * gst/parse/grammar.y:
13262 * gst/schedulers/gstbasicscheduler.c:
13263 (gst_basic_scheduler_cothreaded_chain),
13264 (gst_basic_scheduler_chain_recursive_add),
13265 (gst_basic_scheduler_pad_link):
13266 * gst/schedulers/gstoptimalscheduler.c:
13267 (get_group_schedule_function),
13268 (gst_opt_scheduler_state_transition),
13269 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13270 * libs/gst/bytestream/bytestream.c:
13271 * libs/gst/dataprotocol/dataprotocol.c:
13272 (gst_dp_header_from_buffer):
13275 * tests/threadstate/threadstate2.c: (eos):
13276 * tools/gst-compprep.c: (main):
13277 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13278 (print_pad_info), (print_children_info):
13279 * tools/gst-launch.c: (idle_func), (main):
13280 * tools/gst-md5sum.c: (idle_func), (main):
13281 * tools/gst-xmlinspect.c: (print_element_info):
13282 First THREADED backport attempt, focusing on adding locks and
13283 making sure the API is threadsafe. Needs more work. More docs
13286 2005-02-24 Andy Wingo <wingo@pobox.com>
13288 * tests/bench-complexity.scm:
13289 * tests/complexity.gnuplot: New files, good for running complexity
13292 * tests/Makefile.am:
13293 * tests/complexity.c: New test, sets up N elements, at each level
13294 teeing into M streams per element. Eeeenteresting.
13296 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13297 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13298 running bench-mass_elements.scm.
13300 * tests/bench-mass_elements.scm: New script, runs mass_elements
13301 for various numbers of identities, outputting the results to a
13302 file. Requires guile 1.6. Just for testing.
13304 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13306 * gst/schedulers/fairscheduler.c:
13307 compile with debug disabled
13309 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13312 hunting season on 0.9 is now OPEN