1 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
4 Spider no longer exists, and neither does gst-launch-ext.
5 Update examples to use decodebin and playbin and put
6 converters in front of sinks (fixes #323726).
8 2005-12-09 Michael Smith <msmith@fluendo.com>
10 * plugins/elements/gsttypefindelement.c: (find_peek),
11 (gst_type_find_element_chain):
12 Fix leaking element factories in typefinding.
13 Fix problem where we forgot about a probable type on non-seekable
14 files, and thus later mis-typefound it.
16 2005-12-09 Michael Smith <msmith@fluendo.com>
18 * common/m4/gst-makecontext.m4:
19 * common/m4/gst-mcsc.m4:
21 * win32/common/config.h:
22 * win32/common/config.h.in:
23 Remove makecontext stuff; not used in 0.10 and causes problems on
24 HPUX according to bug #322441
26 2005-12-07 Wim Taymans <wim@fluendo.com>
28 * tests/check/Makefile.am:
29 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
31 * tests/check/libs/struct_i386.h:
32 Added ABI check for libs
34 2005-12-07 Wim Taymans <wim@fluendo.com>
36 * tests/check/Makefile.am:
37 And add the struct_i386.h to dist.
39 2005-12-07 Wim Taymans <wim@fluendo.com>
41 * tests/check/Makefile.am:
42 * tests/check/gst/.cvsignore:
43 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
45 * tests/check/gst/struct_i386.h:
46 Added check for ABI compatibility.
48 2005-12-07 Wim Taymans <wim@fluendo.com>
50 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
51 (gst_fake_src_get_times), (gst_fake_src_create):
52 Fix broken sync option, fixes #323259
54 2005-12-07 Wim Taymans <wim@fluendo.com>
59 * gst/gstcaps.c: (gst_caps_is_equal):
60 Don't assert on NULL <--> X. Fixes #323260
62 * gst/gstminiobject.c: (gst_mini_object_replace):
63 If we're doing atomic operations, we might just as well use
64 the proper way to get an atomic pointer.
66 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
69 2005-12-07 Michael Smith <msmith@fluendo.com>
71 * gst/parse/grammar.y:
72 Remove handling of { } for threads.
74 2005-12-06 David Schleef <ds@schleef.org>
76 * libs/gst/base/gstbasetransform.c: speling fix.
78 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
80 * docs/libs/tmpl/gstdataprotocol.sgml:
81 * docs/random/omega/testing/gstobject.c:
85 * gst/gstelementfactory.c:
90 * gst/gstpadtemplate.c:
91 * gst/gstregistryxml.c:
96 * libs/gst/base/gstbasesrc.c:
97 * libs/gst/net/gstnetclientclock.c:
98 * libs/gst/net/gstnettimeprovider.c:
99 * plugins/elements/gstfakesrc.c:
100 * plugins/elements/gstfdsrc.c:
101 * plugins/elements/gstfilesrc.c:
102 * plugins/elements/gstidentity.c:
103 * plugins/elements/gstqueue.c:
104 * plugins/elements/gsttypefindelement.c:
105 * plugins/indexers/gstfileindex.c:
106 * plugins/indexers/gstmemindex.c:
107 * tests/check/gst/gsttag.c:
108 * tests/old/examples/cutter/cutter.c:
109 * tests/old/examples/mixer/mixer.c:
110 * tests/old/examples/xml/runxml.c: (main):
111 * tests/old/testsuite/caps/normalisation.c:
112 * tests/old/testsuite/debug/global.c:
113 * tests/old/testsuite/parse/parse1.c:
114 * tools/gst-xmlinspect.c:
115 * win32/common/dirent.c:
118 === release 0.10.0 ===
120 2005-12-05 <thomas (at) apestaart (dot) org>
123 releasing 0.10.0, "Maroilles"
125 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
127 submitted by: Funda Wang <fundawang@linux.net.cn>
131 added Chinese (Traditional) translation
133 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
135 * docs/gst/gstreamer-sections.txt:
136 * docs/libs/tmpl/gstdataprotocol.sgml:
137 * docs/random/thomasvs/TODO:
142 2005-12-05 Andy Wingo <wingo@pobox.com>
144 patch by: Wim Taymans <wim@fluendo.com>
146 * libs/gst/base/gstbasetransform.c
147 (gst_base_transform_prepare_output_buf)
148 (gst_base_transform_buffer_alloc):
149 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
150 alloc_buffer_and_set_caps.
152 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
153 set_caps on the source pad.
154 (gst_pad_alloc_buffer_and_set_caps): New function, does what
155 alloc_buffer used to do. Fixes #322874.
157 * docs/gst/gstreamer-sections.txt:
158 * docs/design/part-negotiation.txt:
159 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
162 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
164 patch by: Sebastien Moutte
167 * win32/common/config.h.in:
168 * win32/vs6/libgstcontroller.dsp:
171 2005-12-05 Wim Taymans <wim@fluendo.com>
173 * gst/gstcaps.c: (gst_caps_is_equal):
174 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
175 (gst_fake_src_create):
176 Back out previous code changes, leave doc updates, file bugs
179 2005-12-05 Wim Taymans <wim@fluendo.com>
181 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
182 (gst_fake_src_get_times), (gst_fake_src_create):
183 * plugins/elements/gstfakesrc.h:
184 Fix broken sync code.
186 2005-12-05 Wim Taymans <wim@fluendo.com>
188 * gst/gstcaps.c: (gst_caps_is_equal):
189 Comparing NULL against !NULL yields different caps, not a
192 2005-12-05 Wim Taymans <wim@fluendo.com>
195 Fix small typo in docs.
197 2005-12-05 Andy Wingo <wingo@pobox.com>
199 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
201 * gst/gst.c (init_post): remove hard-coded 0.9 location for
202 registries/plugins with a MAJORMINOR one.
203 (plugin_desc): Rename library from gstcoreleements to
204 staticelements. Fixes #323222.
206 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
208 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
209 Change debug category to 'collectpads' from 'collect_pads'
212 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
214 patch by: Sebastien Moutte
216 * libs/gst/controller/gstinterpolation.c:
217 use convert function for uint64/double
218 * win32/vs6/libgstcontroller.dsp:
221 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
223 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
224 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
226 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
227 add tests that seem to show that the guint64/gdouble conversions
230 2005-12-02 Wim Taymans <wim@fluendo.com>
232 * gst/gstregistry.c: (gst_registry_add_path):
234 * gst/gstregistryxml.c:
237 2005-12-02 Wim Taymans <wim@fluendo.com>
239 * gst/gstutils.c: (gst_util_uint64_scale_int64),
240 (gst_util_uint64_scale_int):
243 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
246 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
249 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
252 * win32/common/config.h:
253 * win32/vs6/gstreamer.dsw:
254 * win32/vs6/libgstcoreelements.dsp:
255 * win32/vs6/libgstelements.dsp:
256 renamed core elements plugin
258 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
260 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
262 do piece-wise major/minor comparison so 0.9 < 0.10
263 also allow .exe extensions for tools
265 2005-12-02 Michael Smith <msmith@fluendo.com>
268 Escape a % to make gtkdoc happier; bug 322958.
270 === release 0.9.7 ===
272 2005-12-01 <thomas (at) apestaart (dot) org>
275 releasing 0.9.7, "My Dog Has No Nose"
277 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
279 * common/gst-xmlinspect.py:
281 * docs/libs/tmpl/gstdataprotocol.sgml:
282 * docs/random/release:
301 * win32/common/config.h:
302 * win32/common/config.h.in:
303 * win32/vs6/gst_inspect.dsp:
304 * win32/vs6/gst_launch.dsp:
305 * win32/vs6/libgstbase.dsp:
306 * win32/vs6/libgstelements.dsp:
307 * win32/vs6/libgstreamer.dsp:
308 * win32/vs7/GStreamer.vcproj:
309 * win32/vs7/gst-inspect.vcproj:
310 * win32/vs7/gst-launch.vcproj:
311 * win32/vs7/libgstbase.vcproj:
312 bump GST_MAJORMINOR to 0.10
313 reset libtool version
315 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
319 Added Bulgarian translation by (Alexander Shopov)
321 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
323 * tests/check/gst/gstplugin.c:
326 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
328 * common/gst-xmlinspect.py:
329 * common/gtk-doc-plugins.mak:
332 * docs/gst/Makefile.am:
333 * docs/gst/gstreamer-docs.sgml:
334 * docs/gst/gstreamer-sections.txt:
335 * docs/gst/gstreamer.types:
336 * docs/gst/gstreamer.types.in:
337 * docs/plugins/Makefile.am:
338 * docs/plugins/gstreamer-plugins-docs.sgml:
339 * docs/plugins/gstreamer-plugins-sections.txt:
340 * docs/plugins/gstreamer-plugins.types:
341 * docs/plugins/inspect.stamp:
342 * docs/plugins/inspect/plugin-coreelements.xml:
343 * docs/plugins/inspect/plugin-coreindexers.xml:
344 * docs/plugins/scanobj-build.stamp:
346 * plugins/elements/Makefile.am:
347 * plugins/elements/gstelements.c:
348 * plugins/elements/gstfakesink.c:
349 * plugins/elements/gstfakesrc.c:
350 * plugins/elements/gstfilesink.c:
351 * plugins/elements/gstfilesrc.c:
352 * plugins/elements/gstqueue.c:
353 * plugins/indexers/Makefile.am:
354 * plugins/indexers/gstindexers.c:
355 document core plugins in a separate document just like all the
357 rename these plugins to something starting with core
359 2005-12-01 Andy Wingo <wingo@pobox.com>
361 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
362 padding here before, but it missed the commit.
364 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
366 * libs/gst/controller/gstinterpolation.c:
367 whitespace prices have crashed, we should feel free to use some now
368 use gst_guint64_to_gdouble
370 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
372 * libs/gst/controller/gstcontroller.c:
373 * libs/gst/controller/gsthelper.c:
374 * libs/gst/controller/gstinterpolation.c:
375 * libs/gst/controller/lib.c:
376 wrap config.h include
378 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
380 * docs/gst/gstreamer-sections.txt:
383 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
385 * plugins/elements/gstelements.c:
386 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
387 (gst_fd_sink__class_init), (gst_fd_sink__init),
388 (gst_fd_sink__chain), (gst_fd_sink__set_property),
389 (gst_fd_sink__get_property):
390 * plugins/elements/gstfdsink.h:
391 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
392 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
393 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
394 (gst_fd_src_unlock), (gst_fd_src_set_property),
395 (gst_fd_src_get_property), (gst_fd_src_create),
396 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
397 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
398 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
399 (gst_fd_src_uri_handler_init):
400 * plugins/elements/gstfdsrc.h:
401 * plugins/elements/gstqueue.c: (gst_queue_get_type):
404 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
406 * docs/gst/Makefile.am:
407 * docs/gst/gstreamer.types.in:
411 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
418 * tests/benchmarks/complexity.c:
419 * tests/benchmarks/mass-elements.c:
420 * tests/check/Makefile.am:
422 * tools/gst-inspect.c:
423 * tools/gst-xmlinspect.c:
424 various fixes to make
425 --disable-nls --disable-registry --disable-loadsave
426 --disable-parse --disable-gst-debug
427 work and get the core .so down to 360444 bytes after stripping
429 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
434 * docs/random/thomasvs/TODO:
439 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
441 * win32/GStreamer.vcproj:
444 * win32/Makefile.inspect:
445 * win32/Makefile.launch:
446 * win32/Makefile.register:
448 * win32/gst-inspect.vcproj:
449 * win32/gst-launch.vcproj:
450 * win32/gst-register.vcproj:
451 * win32/gstelements.vcproj:
452 * win32/gstgetbits.def:
453 * win32/gstgetbits.vcproj:
454 * win32/gstreamer-dbg.def:
455 * win32/gstreamer.def:
456 * win32/libgstbase.def:
457 * win32/libgstbase.vcproj:
458 * win32/link_oldruntime.c:
463 move even more stuff, win32/ is nice and clean now
465 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
467 * libs/gst/control/.cvsignore:
472 * win32/gstbytestream.def:
473 * win32/gstbytestream.vcproj:
475 * win32/gstenumtypes.c:
476 * win32/gstenumtypes.h:
477 * win32/gstoptimalscheduler.vcproj:
478 * win32/gstversion.h:
480 * win32/testsuite/bins.vcproj:
481 * win32/testsuite/bytestream.vcproj:
482 * win32/testsuite/caps.vcproj:
483 * win32/testsuite/cleanup.vcproj:
484 * win32/testsuite/clock.vcproj:
485 * win32/testsuite/debug.vcproj:
486 * win32/testsuite/dlopen.vcproj:
487 * win32/testsuite/dynparams.vcproj:
488 * win32/testsuite/elements.vcproj:
489 * win32/testsuite/ghostpads.vcproj:
490 * win32/testsuite/indexers.vcproj:
491 * win32/testsuite/negotiation.vcproj:
492 * win32/testsuite/parse.vcproj:
493 * win32/testsuite/plugin.vcproj:
494 * win32/testsuite/refcounting.vcproj:
495 * win32/testsuite/schedulers.vcproj:
496 * win32/testsuite/states.vcproj:
497 * win32/testsuite/tags.vcproj:
498 * win32/testsuite/threads.vcproj:
499 remove old win32 stuff that isn't maintained and should be
502 2005-11-30 Andy Wingo <wingo@pobox.com>
504 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
505 loading the gst.interfaces python module bork.
507 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
508 available since GLib 2.2. Fixes #318031.
510 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
515 * check/elements/.cvsignore:
516 * check/elements/fakesrc.c:
517 * check/elements/fdsrc.c:
518 * check/elements/identity.c:
519 * check/generic/.cvsignore:
520 * check/generic/states.c:
521 * check/gst-libs/.cvsignore:
522 * check/gst-libs/controller.c:
523 * check/gst-libs/gdp.c:
524 * check/gst/.cvsignore:
525 * check/gst/capslist.h:
527 * check/gst/gstbin.c:
528 * check/gst/gstbuffer.c:
529 * check/gst/gstbus.c:
530 * check/gst/gstcaps.c:
531 * check/gst/gstelement.c:
532 * check/gst/gstevent.c:
533 * check/gst/gstghostpad.c:
534 * check/gst/gstiterator.c:
535 * check/gst/gstmessage.c:
536 * check/gst/gstminiobject.c:
537 * check/gst/gstobject.c:
538 * check/gst/gstpad.c:
539 * check/gst/gstpipeline.c:
540 * check/gst/gstplugin.c:
541 * check/gst/gstsegment.c:
542 * check/gst/gststructure.c:
543 * check/gst/gstsystemclock.c:
544 * check/gst/gsttag.c:
545 * check/gst/gstutils.c:
546 * check/gst/gstvalue.c:
547 * check/net/.cvsignore:
548 * check/net/gstnetclientclock.c:
549 * check/net/gstnettimeprovider.c:
550 * check/pipelines/.cvsignore:
551 * check/pipelines/cleanup.c:
552 * check/pipelines/simple_launch_lines.c:
553 * check/pipelines/stress.c:
554 * check/states/.cvsignore:
555 * check/states/sinks.c:
557 * examples/Makefile.am:
558 * examples/appreader/.cvsignore:
559 * examples/appreader/Makefile.am:
560 * examples/appreader/appreader.c:
561 * examples/controller/.cvsignore:
562 * examples/controller/Makefile.am:
563 * examples/controller/audio-example.c:
564 * examples/cutter/.cvsignore:
565 * examples/cutter/Makefile.am:
566 * examples/cutter/cutter.c:
567 * examples/cutter/cutter.h:
568 * examples/events/Makefile.am:
569 * examples/events/seek.c:
570 * examples/helloworld/.cvsignore:
571 * examples/helloworld/Makefile.am:
572 * examples/helloworld/helloworld.c:
573 * examples/helloworld2/.cvsignore:
574 * examples/helloworld2/Makefile.am:
575 * examples/helloworld2/helloworld2.c:
576 * examples/launch/.cvsignore:
577 * examples/launch/Makefile.am:
578 * examples/launch/mp3parselaunch.c:
579 * examples/launch/mp3play:
580 * examples/manual/.cvsignore:
581 * examples/manual/Makefile.am:
582 * examples/manual/extract.pl:
583 * examples/metadata/Makefile.am:
584 * examples/metadata/read-metadata.c:
585 * examples/mixer/.cvsignore:
586 * examples/mixer/Makefile.am:
587 * examples/mixer/mixer.c:
588 * examples/mixer/mixer.h:
589 * examples/pingpong/.cvsignore:
590 * examples/pingpong/Makefile.am:
591 * examples/pingpong/pingpong.c:
592 * examples/plugins/.cvsignore:
593 * examples/plugins/Makefile.am:
594 * examples/plugins/example.c:
595 * examples/plugins/example.h:
596 * examples/pwg/.cvsignore:
597 * examples/pwg/Makefile.am:
598 * examples/pwg/extract.pl:
599 * examples/queue/.cvsignore:
600 * examples/queue/Makefile.am:
601 * examples/queue/queue.c:
602 * examples/queue2/.cvsignore:
603 * examples/queue2/Makefile.am:
604 * examples/queue2/queue2.c:
605 * examples/queue3/.cvsignore:
606 * examples/queue3/Makefile.am:
607 * examples/queue3/queue3.c:
608 * examples/queue4/.cvsignore:
609 * examples/queue4/Makefile.am:
610 * examples/queue4/queue4.c:
611 * examples/retag/.cvsignore:
612 * examples/retag/Makefile.am:
613 * examples/retag/retag.c:
614 * examples/retag/transcode.c:
615 * examples/thread/.cvsignore:
616 * examples/thread/Makefile.am:
617 * examples/thread/thread.c:
618 * examples/typefind/.cvsignore:
619 * examples/typefind/Makefile.am:
620 * examples/typefind/typefind.c:
621 * examples/xml/.cvsignore:
622 * examples/xml/Makefile.am:
623 * examples/xml/createxml.c:
624 * examples/xml/runxml.c:
626 * tests/check/Makefile.am:
627 * testsuite/.cvsignore:
628 * testsuite/Makefile.am:
630 * testsuite/caps/.cvsignore:
631 * testsuite/caps/Makefile.am:
632 * testsuite/caps/app_fixate.c:
633 * testsuite/caps/audioscale.c:
634 * testsuite/caps/caps.c:
635 * testsuite/caps/caps.h:
636 * testsuite/caps/caps_strings:
637 * testsuite/caps/compatibility.c:
638 * testsuite/caps/deserialize.c:
639 * testsuite/caps/enumcaps.c:
640 * testsuite/caps/eratosthenes.c:
641 * testsuite/caps/filtercaps.c:
642 * testsuite/caps/fixed.c:
643 * testsuite/caps/fraction-convert.c:
644 * testsuite/caps/fraction-multiply-and-zero.c:
645 * testsuite/caps/intersect2.c:
646 * testsuite/caps/intersection.c:
647 * testsuite/caps/normalisation.c:
648 * testsuite/caps/random.c:
649 * testsuite/caps/renegotiate.c:
650 * testsuite/caps/sets.c:
651 * testsuite/caps/simplify.c:
652 * testsuite/caps/string-conversions.c:
653 * testsuite/caps/structure.c:
654 * testsuite/caps/subtract.c:
655 * testsuite/caps/union.c:
656 * testsuite/debug/.cvsignore:
657 * testsuite/debug/Makefile.am:
658 * testsuite/debug/category.c:
659 * testsuite/debug/commandline.c:
660 * testsuite/debug/global.c:
661 * testsuite/debug/output.c:
662 * testsuite/debug/printf_extension.c:
663 * testsuite/dlopen/.cvsignore:
664 * testsuite/dlopen/Makefile.am:
665 * testsuite/dlopen/dlopen_gst.c:
666 * testsuite/dlopen/loadgst.c:
667 * testsuite/elements/.cvsignore:
668 * testsuite/elements/Makefile.am:
669 * testsuite/elements/gst-inspect-check.in:
670 * testsuite/elements/struct_i386.h:
671 * testsuite/elements/struct_size.c:
672 * testsuite/indexers/.cvsignore:
673 * testsuite/indexers/Makefile.am:
674 * testsuite/indexers/cache1.c:
675 * testsuite/indexers/indexdump.c:
676 * testsuite/parse/.cvsignore:
677 * testsuite/parse/Makefile.am:
678 * testsuite/parse/parse1.c:
679 * testsuite/parse/parse2.c:
680 * testsuite/plugin/.cvsignore:
681 * testsuite/plugin/Makefile.am:
682 * testsuite/plugin/README:
683 * testsuite/plugin/dynamic.c:
684 * testsuite/plugin/linked.c:
685 * testsuite/plugin/loading.c:
686 * testsuite/plugin/registry.c:
687 * testsuite/plugin/static.c:
688 * testsuite/plugin/static2.c:
689 * testsuite/plugin/testplugin.c:
690 * testsuite/plugin/testplugin2.c:
691 * testsuite/plugin/testplugin2_s.c:
692 * testsuite/plugin/testplugin_s.c:
693 * testsuite/refcounting/.cvsignore:
694 * testsuite/refcounting/Makefile.am:
695 * testsuite/refcounting/bin.c:
696 * testsuite/refcounting/element.c:
697 * testsuite/refcounting/element_pad.c:
698 * testsuite/refcounting/mainloop.c:
699 * testsuite/refcounting/mem.c:
700 * testsuite/refcounting/mem.h:
701 * testsuite/refcounting/object.c:
702 * testsuite/refcounting/pad.c:
703 * testsuite/refcounting/sched.c:
704 * testsuite/refcounting/thread.c:
705 * testsuite/states/.cvsignore:
706 * testsuite/states/Makefile.am:
707 * testsuite/states/bin.c:
708 * testsuite/states/locked.c:
709 * testsuite/states/parent.c:
710 * testsuite/threads/.cvsignore:
711 * testsuite/threads/159566.c:
712 * testsuite/threads/159852.c:
713 * testsuite/threads/Makefile.am:
714 * testsuite/threads/queue.c:
715 * testsuite/threads/signals.c:
716 * testsuite/threads/staticrec.c:
717 * testsuite/threads/thread.c:
718 * testsuite/threads/threadb.c:
719 * testsuite/threads/threadc.c:
720 * testsuite/threads/threadd.c:
721 * testsuite/threads/threade.c:
722 * testsuite/threads/threadf.c:
723 * testsuite/threads/threadg.c:
724 * testsuite/threads/threadh.c:
725 * testsuite/threads/threadi.c:
726 move all of these under tests
728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
734 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
736 * docs/gst/gstreamer-sections.txt:
737 * tests/sched/.cvsignore:
738 * tests/sched/Makefile.am:
739 * tests/sched/cases/(fs-fs).xml:
740 * tests/sched/cases/(fs-i-fs).xml:
741 * tests/sched/cases/(fs-i-i-fs).xml:
742 * tests/sched/cases/(fs-i-q[i-fs]).xml:
743 * tests/sched/dynamic-pipeline.c:
744 * tests/sched/interrupt1.c:
745 * tests/sched/interrupt2.c:
746 * tests/sched/interrupt3.c:
747 * tests/sched/runtestcases:
748 * tests/sched/runxml.c:
749 * tests/sched/sched-stress.c:
750 * tests/sched/sort.c:
751 * tests/sched/testcases:
752 * tests/sched/testcases1.tc:
753 * tests/seeking/.cvsignore:
754 * tests/seeking/Makefile.am:
755 * tests/seeking/seeking1.c:
756 * tests/threadstate/.cvsignore:
757 * tests/threadstate/Makefile.am:
758 * tests/threadstate/test1.c:
759 * tests/threadstate/test2.c:
760 * tests/threadstate/threadstate1.c:
761 * tests/threadstate/threadstate2.c:
762 * tests/threadstate/threadstate3.c:
763 * tests/threadstate/threadstate4.c:
764 * tests/threadstate/threadstate5.c:
765 remove obsolete tests
767 * tests/bench-complexity.scm:
768 * tests/bench-mass_elements.scm:
769 * tests/complexity.c:
770 * tests/complexity.gnuplot:
771 * tests/instantiate/.cvsignore:
772 * tests/instantiate/Makefile.am:
773 * tests/instantiate/caps.c:
774 * tests/mass_elements.c:
775 * tests/network-clock-utils.scm:
776 * tests/network-clock.scm:
778 First pass at cleaning up tests/ dir before moving the rest
779 Combined with CVS surgery
781 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
784 queue has moved, update
786 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
788 * docs/gst/gstreamer-sections.txt:
789 remove double entries from the docs
791 * gst/gstinfo.c: (_gst_debug_init):
792 remove the THREAD debug category
796 * docs/gst/gstreamer.types:
797 * plugins/elements/gstqueue.c: (gst_queue_get_type),
798 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
799 completely move queue and fix up debugging categories
801 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
803 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
804 make initialization portable, using LL is not
806 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
808 * win32/common/gstconfig.h:
811 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
813 * win32/common/libgstreamer.def:
814 rename symbols; sort base section
816 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
818 * gst/gstclock.c: (do_linear_regression):
819 remove crack non-portable handrolled DEBUG macro
821 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
823 * docs/random/release:
825 * win32/common/gstenumtypes.c: (register_gst_object_flags),
826 (gst_object_flags_get_type), (register_gst_bin_flags),
827 (gst_bin_flags_get_type), (register_gst_buffer_flag),
828 (gst_buffer_flag_get_type), (register_gst_bus_flags),
829 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
830 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
831 (gst_caps_flags_get_type), (register_gst_clock_return),
832 (gst_clock_return_get_type), (register_gst_clock_entry_type),
833 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
834 (gst_clock_flags_get_type), (register_gst_state),
835 (gst_state_get_type), (register_gst_state_change_return),
836 (gst_state_change_return_get_type), (register_gst_state_change),
837 (gst_state_change_get_type), (register_gst_element_flags),
838 (gst_element_flags_get_type), (register_gst_core_error),
839 (gst_core_error_get_type), (register_gst_library_error),
840 (gst_library_error_get_type), (register_gst_resource_error),
841 (gst_resource_error_get_type), (register_gst_stream_error),
842 (gst_stream_error_get_type), (register_gst_event_type_flags),
843 (gst_event_type_flags_get_type), (register_gst_event_type),
844 (gst_event_type_get_type), (register_gst_seek_type),
845 (gst_seek_type_get_type), (register_gst_seek_flags),
846 (gst_seek_flags_get_type), (register_gst_format),
847 (gst_format_get_type), (register_gst_index_certainty),
848 (gst_index_certainty_get_type), (register_gst_index_entry_type),
849 (gst_index_entry_type_get_type),
850 (register_gst_index_lookup_method),
851 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
852 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
853 (gst_index_resolver_method_get_type), (register_gst_index_flags),
854 (gst_index_flags_get_type), (register_gst_debug_level),
855 (gst_debug_level_get_type), (register_gst_debug_color_flags),
856 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
857 (gst_iterator_result_get_type), (register_gst_iterator_item),
858 (gst_iterator_item_get_type), (register_gst_message_type),
859 (gst_message_type_get_type), (register_gst_mini_object_flags),
860 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
861 (gst_pad_link_return_get_type), (register_gst_flow_return),
862 (gst_flow_return_get_type), (register_gst_activate_mode),
863 (gst_activate_mode_get_type), (register_gst_pad_direction),
864 (gst_pad_direction_get_type), (register_gst_pad_flags),
865 (gst_pad_flags_get_type), (register_gst_pad_presence),
866 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
867 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
868 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
869 (gst_plugin_error_get_type), (register_gst_plugin_flags),
870 (gst_plugin_flags_get_type), (register_gst_rank),
871 (gst_rank_get_type), (register_gst_query_type),
872 (gst_query_type_get_type), (register_gst_tag_merge_mode),
873 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
874 (gst_tag_flag_get_type), (register_gst_task_state),
875 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
876 (gst_alloc_trace_flags_get_type),
877 (register_gst_type_find_probability),
878 (gst_type_find_probability_get_type), (register_gst_uri_type),
879 (gst_uri_type_get_type), (register_gst_parse_error),
880 (gst_parse_error_get_type):
881 * win32/common/gstenumtypes.h:
882 * win32/common/gstversion.h:
883 update visual studio generated files
885 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
887 * win32/vs6/libgstbase.dsp:
888 * win32/vs6/libgstelements.dsp:
889 update project files for new locations
891 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
901 * docs/random/LICENSE:
904 2005-11-30 Edward Hervey <edward@fluendo.com>
906 * gst/gsttypefind.c: (gst_type_find_register):
908 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
909 (gst_type_find_factory_dispose):
910 * gst/gsttypefindfactory.h:
911 Fix memory leak in GstTypeFindFactory.
913 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
916 * plugins/elements/Makefile.am:
917 * plugins/elements/gstelements.c:
918 * plugins/elements/gstqueue.c:
919 move queue from core to the elements plugin
921 2005-11-29 Andy Wingo <wingo@pobox.com>
923 * libs/gst/base/gstbasetransform.h:
924 * libs/gst/base/gstbasesrc.h:
925 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
927 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
928 of pointers by which to pad very extensible base classes (like the
929 ones in libs/gst/base).
931 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
933 * docs/gst/gstreamer-docs.sgml:
934 * docs/gst/gstreamer-sections.txt:
935 * docs/libs/gstreamer-libs-docs.sgml:
936 * docs/libs/gstreamer-libs-sections.txt:
937 moving documentation from core to lib
939 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
943 * docs/gst/Makefile.am:
945 * gst/base/.cvsignore:
946 * gst/base/Makefile.am:
948 * gst/base/gstadapter.c:
949 * gst/base/gstadapter.h:
950 * gst/base/gstbasesink.c:
951 * gst/base/gstbasesink.h:
952 * gst/base/gstbasesrc.c:
953 * gst/base/gstbasesrc.h:
954 * gst/base/gstbasetransform.c:
955 * gst/base/gstbasetransform.h:
956 * gst/base/gstcollectpads.c:
957 * gst/base/gstcollectpads.h:
958 * gst/base/gstpushsrc.c:
959 * gst/base/gstpushsrc.h:
960 * gst/base/gsttypefindhelper.c:
961 * gst/base/gsttypefindhelper.h:
962 * gst/check/Makefile.am:
963 * gst/check/gstcheck.c:
964 * gst/check/gstcheck.h:
965 * gst/net/Makefile.am:
967 * gst/net/gstnetclientclock.c:
968 * gst/net/gstnetclientclock.h:
969 * gst/net/gstnettimepacket.c:
970 * gst/net/gstnettimepacket.h:
971 * gst/net/gstnettimeprovider.c:
972 * gst/net/gstnettimeprovider.h:
973 * libs/gst/Makefile.am:
974 * libs/gst/base/Makefile.am:
975 * libs/gst/base/gstbasetransform.c:
976 * libs/gst/check/Makefile.am:
977 * plugins/elements/Makefile.am:
979 CVS surgery + support to move base, check, and net out of gst
982 2005-11-29 Andy Wingo <wingo@pobox.com>
984 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
986 * gst/gststructure.h (struct _GstStructure): Only one pointer of
989 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
991 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
993 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
995 * gst/gstobject.h: (struct _GstObject): Only one pointer of
996 padding; reduces object size by about 30%. We don't expect
997 anything else to go into gstobject.
999 * gst/gstminiobject.h (struct _GstMiniObject)
1000 (struct _GstMiniObjectClass): Only one pointer of padding; the
1001 payload is only a pointer and two ints anyway. For the class there
1002 are only two methods as well.
1004 * gst/gstelement.h (struct _GstElementClass): Removed
1005 the state_changed signal callback, it is not used.
1007 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1009 * docs/gst/gstreamer.types:
1010 fix includes, though they are a little dinky
1012 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1014 * check/Makefile.am:
1015 look in the right place for elements, a lot more chance of
1018 remove indexers and elements subdirs
1019 * plugins/Makefile.am:
1020 make indexers conditional
1022 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1026 * plugins/elements/Makefile.am:
1027 * plugins/elements/gstcapsfilter.c:
1028 * plugins/elements/gstfilesink.c:
1029 * plugins/elements/gstfilesrc.c:
1030 * plugins/elements/gstidentity.c:
1031 * plugins/indexers/Makefile.am:
1032 do CVS surgery and related build fixery to move elements
1033 and indexers in a new gstreamer/plugins directory, out of the
1036 2005-11-29 Andy Wingo <wingo@pobox.com>
1038 * check/Makefile.am:
1039 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1040 * pkgconfig/gstreamer-net.pc.in:
1041 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1044 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1046 * tools/Makefile.am:
1047 * tools/gst-complete.1.in:
1048 * tools/gst-complete.c:
1049 * tools/gst-compprep.1.in:
1050 * tools/gst-compprep.c:
1051 removing -compprep and -complete
1053 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1055 * gst/gstevent.c: (gst_event_new_new_segment),
1056 (gst_event_parse_new_segment):
1058 fix #320529 - clean up new_segment API and structure.
1059 Let's hope everyone was using the methods, and not the structure.
1061 2005-11-29 Edward Hervey <edward@fluendo.com>
1063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1064 (gst_base_sink_event), (gst_base_sink_do_sync),
1065 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1066 Properly handle non GST_FORMAT_TIME segment
1067 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1068 Properly handle non GST_FORMAT_TIME segment
1070 This function is valid if the accumulator is 0 and the format
1071 is different from the requested format.
1073 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1075 * docs/gst/gstreamer-sections.txt:
1076 Add gst_query_new_seeking and gst_query_parse_seeking to the
1079 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1081 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1082 Treat a pad alloc with new caps the same as if we were not
1083 negotiated, in order to allow a changing upstream output
1084 to produce a new format of data.
1086 2005-11-29 Edward Hervey <edward@fluendo.com>
1088 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1089 (gst_base_transform_event), (gst_base_transform_eventfunc):
1090 The event virtual method is now properly implemented, with a default
1092 Sub classes should call the parent_class event method. They should
1093 return FALSE if they had a problem handling the given event, or don't
1094 want GstBaseTransform to send that even downstream
1095 * gst/elements/gstidentity.c: (gst_identity_class_init),
1096 (gst_identity_init), (gst_identity_event),
1097 (gst_identity_transform_ip), (gst_identity_set_property),
1098 (gst_identity_get_property):
1099 * gst/elements/gstidentity.h:
1100 Added the single-segment boolean property.
1101 If set to TRUE, it will output a single segment of data, starting from
1102 0, will eat up all incoming newsegment, and modify the timestamp of the
1105 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1107 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1108 Don't ref NULL target pad (#322751). Improve docs.
1110 2005-11-29 Michael Smith <msmith@fluendo.com>
1112 * gst/gstregistryxml.c: (load_plugin):
1113 Don't crash if we failed to load a feature from a plugin.
1115 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1117 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1119 use more check API and less GLib API
1121 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1124 don't run checks if we don't have check
1126 remove the registry when running make torture
1127 * docs/gst/gstreamer-sections.txt:
1128 remove second multiply
1129 * gst/gstqueue.c: (gst_queue_loop):
1130 fix a compile warning when disabling debug
1132 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1135 Hey! Let's print the pad name if the pointer != NULL instead
1136 of when it == NULL :-)
1138 2005-11-28 Wim Taymans <wim@fluendo.com>
1140 * check/gst/gstutils.c: (GST_START_TEST):
1141 Updated check, add some scaling accuracy checking code.
1143 * gst/gstutils.c: (gst_util_div128_64),
1144 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1145 (gst_util_uint64_scale_int):
1146 Fix 6 times faster division code. Optimize for common
1147 1/1 and less common X/1 cases.
1149 2005-11-28 Wim Taymans <wim@fluendo.com>
1151 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1154 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1155 (do_linear_regression), (gst_clock_add_observation):
1157 Release lock when the clock cannot be slaved.
1158 Catch the case where the regression returned an invalid denominator.
1160 * gst/gstutils.c: (gst_util_div128_64_iterate),
1161 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1162 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1163 Add protentially more performant non-iterative 128/64 divide function
1164 that unfortunatly does not work yet.
1165 Shortcut the trivial 0/X = 0 case.
1166 Remove the warnings on overflow.
1168 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1170 * gst/gstplugin.c: (gst_plugin_register_func):
1171 everything causing a plugin not to load should be at least a WARNING
1173 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1175 * docs/random/ensonic/dparams.txt:
1176 some TODOs for the next dev cycle
1177 * libs/gst/controller/gstcontroller.c:
1178 (gst_controlled_property_set_interpolation_mode),
1179 (gst_controlled_property_new):
1180 * libs/gst/controller/gstcontroller.h:
1181 use base type to assign acccessor functions
1183 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1185 * check/Makefile.am:
1186 Oops, that should have been top_srcdir
1188 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1190 * check/Makefile.am:
1191 * check/elements/fdsrc.c: (GST_START_TEST):
1192 Use a cmdline define to specify the location of a file to use for
1193 testing, to avoid breaking distcheck.
1195 2005-11-28 Andy Wingo <wingo@pobox.com>
1197 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1199 2005-11-28 Edward Hervey <edward@fluendo.com>
1201 * tools/gst-launch.c: (main):
1202 Clarify the output strings, makes it easier to translate.
1205 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1208 don't try and build net if we don't even have <sys/socket.h>
1210 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1212 * check/Makefile.am:
1213 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1214 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1215 Add tests for fdsrc seekability
1217 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1218 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1219 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1220 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1221 * gst/elements/gstfdsrc.h:
1222 fdsrc should not be a 'live' source.
1223 Implement seeking on seekable fd's.
1225 * gst/gstquery.c: (gst_query_new_seeking),
1226 (gst_query_parse_seeking):
1228 Implement SEEKING query functions:
1229 *_new_seeking and *_parse_seeking
1231 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1233 * gst/gstelement.c: (gst_element_dispose):
1236 * gst/gstiterator.c:
1237 * gst/gststructure.c:
1240 * libs/gst/controller/gstcontroller.c:
1241 (gst_controlled_property_set_interpolation_mode):
1242 * libs/gst/controller/gstcontroller.h:
1243 * libs/gst/controller/gstinterpolation.c:
1244 (interpolate_none_get_enum_value_array):
1245 support controlling enums
1247 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1250 Improve documentation for gst_value_union().
1253 Change return value for union, intersect and subtract functions
1254 from gint to gboolean.
1256 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1258 * gst/gstvalue.c: (gst_value_serialize_any_list),
1259 (gst_value_transform_any_list_string),
1260 (gst_value_deserialize_list), (gst_value_deserialize_array),
1261 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1262 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1263 (gst_value_set_fraction_range_full),
1264 (gst_value_deserialize_fraction_range),
1265 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1266 (gst_value_deserialize_boolean),
1267 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1268 (gst_value_serialize_float), (gst_value_deserialize_float),
1269 (gst_string_wrap), (gst_value_deserialize_string),
1270 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1271 (gst_value_union_int_range_int_range),
1272 (gst_value_intersect_int_range_int_range),
1273 (gst_value_intersect_double_range_double_range),
1274 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1275 (gst_value_subtract_int_range_int_range),
1276 (gst_value_subtract_double_double_range),
1277 (gst_value_subtract_double_range_double_range),
1278 (gst_value_deserialize_fraction):
1280 Use gint, gdouble and gchar in our API instead of int, double and
1281 char (and make usage in gstvalue.c more consistent).
1283 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1285 * check/Makefile.am:
1286 * libs/gst/controller/Makefile.am:
1287 * libs/gst/dataprotocol/Makefile.am:
1288 fix up Makefile.am and remove GST_ENABLE_NEW
1290 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1294 * gst/base/Makefile.am:
1295 * gst/check/Makefile.am:
1296 * gst/elements/Makefile.am:
1297 * gst/net/Makefile.am:
1298 update LDFLAGS use some more
1300 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1302 * common/m4/gst-doc.m4:
1305 2005-11-26 Edward Hervey <edward@fluendo.com>
1307 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1308 This shouldn't issue a g_warning since it returns NULL if it
1309 couldn't find the plugin, and all functions using this behave
1310 properly on a NULL return. Switching to a GST_WARNING.
1312 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1314 * gst/gstbin.c: (gst_bin_handle_message_func):
1315 Don't leak clock messages.
1317 2005-11-25 Wim Taymans <wim@fluendo.com>
1319 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1320 (gst_util_uint64_scale_int):
1321 Optimisations, remove unneeded vars.
1323 2005-11-25 Wim Taymans <wim@fluendo.com>
1325 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1326 Added more checks for the high precision uint64 cases.
1328 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1329 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1330 Implement high precision (guint64 * guint64) / guint64.
1332 2005-11-24 Wim Taymans <wim@fluendo.com>
1334 * gst/base/gstbasesrc.c: (gst_base_src_query):
1335 Fix wrong percentage query.
1337 * gst/gstutils.c: (gst_util_uint64_scale),
1338 (gst_util_uint64_scale_int):
1339 Add some more common cases that can be handled
1340 efficiently to _scale.
1342 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1344 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1345 (gst_mini_object_suite):
1346 don't use check calls from threads; check probably isn't
1347 threadsafe and using a lock to make it threadsafe would
1348 defeat the purpose of this check
1349 * gst/check/gstcheck.c:
1350 * gst/check/gstcheck.h:
1351 use GST_DEBUG some more
1353 2005-11-24 Wim Taymans <wim@fluendo.com>
1355 * gst/gstutils.c: (gst_util_uint64_scale),
1356 (gst_util_uint64_scale_int):
1357 Chain trivial case to _scale_int.
1359 2005-11-24 Wim Taymans <wim@fluendo.com>
1361 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1362 Added test for scaling.
1367 * gst/gstutils.c: (gst_util_uint64_scale_int):
1368 Implemented high precision scaling code.
1370 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1373 do not crash on pad==NULL
1375 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1377 Patch by: Stefan Kost
1379 * common/gtk-doc.mak:
1380 * docs/gst/Makefile.am:
1381 * docs/libs/Makefile.am:
1382 Fix distcheck issues for the libraries docs build
1385 2005-11-24 Michael Smith <msmith@fluendo.com>
1387 * docs/manual/basics-helloworld.xml:
1388 Fix bug #315027: memory leak in example code in docs.
1390 2005-11-24 Michael Smith <msmith@fluendo.com>
1392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1393 Unlock the PREROLL_LOCK in a failure case.
1395 2005-11-24 Wim Taymans <wim@fluendo.com>
1397 * docs/gst/gstreamer-sections.txt:
1398 * gst/base/gstadapter.h:
1399 * gst/base/gstbasesink.h:
1400 * gst/base/gstbasesrc.h:
1401 * gst/base/gstbasetransform.h:
1402 * gst/base/gstpushsrc.h:
1403 * gst/elements/gstfakesink.h:
1404 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1405 * gst/elements/gstfakesrc.h:
1406 * gst/elements/gstfilesink.h:
1407 * gst/elements/gstfilesrc.h:
1410 * gst/gstbuffer.c: (_gst_buffer_copy):
1413 * gst/gstchildproxy.c:
1416 * gst/gstelementfactory.c:
1417 * gst/gstelementfactory.h:
1419 * gst/gstghostpad.h:
1421 * gst/gstinterface.h:
1422 * gst/gstminiobject.c:
1423 * gst/gstminiobject.h:
1426 * gst/gstpadtemplate.h:
1427 * gst/gstpipeline.h:
1428 * gst/gstpluginfeature.h:
1433 * gst/gsttagsetter.c:
1434 * gst/gsttagsetter.h:
1437 * gst/gsttypefind.h:
1440 * gst/net/gstnetclientclock.c:
1441 * gst/net/gstnetclientclock.h:
1442 * gst/net/gstnettimepacket.c:
1443 * gst/net/gstnettimeprovider.c:
1444 * gst/net/gstnettimeprovider.h:
1447 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1449 * configure.ac: back to HEAD
1451 === release 0.9.6 ===
1453 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1456 releasing 0.9.6, "Always On Time"
1458 2005-11-23 Wim Taymans <wim@fluendo.com>
1460 * docs/gst/gstreamer-sections.txt:
1461 * gst/glib-compat.c:
1462 * gst/gsttagsetter.c:
1464 * gst/net/gstnetclientclock.c:
1465 * gst/net/gstnettimepacket.h:
1468 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1470 * docs/faq/using.xml:
1471 * docs/libs/tmpl/gstcontrol.sgml:
1472 * docs/manual/advanced-dparams.xml:
1473 * docs/manual/appendix-checklist.xml:
1474 * docs/manual/basics-elements.xml:
1475 * docs/pwg/other-source.xml:
1476 * docs/random/moving-plugins:
1478 * tools/gst-launch.1.in:
1479 remove mentions of sinesrc
1481 2005-11-23 Michael Smith <msmith@fluendo.com>
1483 * docs/gst/gstreamer-sections.txt:
1484 Update for new API and API changes.
1486 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1488 Documentation typo fix.
1489 * gst/net/gstnettimepacket.c:
1490 Documentation fixes for arguments.
1492 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1494 * gst/gststructure.c: (gst_structure_get_fraction),
1495 (gst_structure_parse_value),
1496 (gst_structure_fixate_field_nearest_fraction):
1497 * gst/gststructure.h:
1498 * gst/gstutils.c: (gst_util_uint64_scale_int):
1500 * scripts/update-funcnames:
1502 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1503 Make gst_structure_fixate_field_nearest_fraction take a numerator
1504 and denominator argument instead of a GValue
1505 add gst_structure_get_fraction helper function.
1507 2005-11-23 Wim Taymans <wim@fluendo.com>
1509 * docs/design/part-TODO.txt:
1512 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1513 * gst/net/gstnetclientclock.h:
1514 Use parent fields for timeout and window_size.
1516 2005-11-23 Andy Wingo <wingo@pobox.com>
1518 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1519 rate_num/rate_denom change.
1521 * gst/net/gstnetclientclock.c
1522 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1523 OBJECT_LOCK. Don't call add_observation with the lock.
1525 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1527 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1529 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1530 deal with rate as a fraction whose numerator and denominator are
1531 GstClockTime values.
1532 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1533 master; the other fields are protected by the SLAVE_LOCK.
1534 (do_linear_regression): Note that this must be called with the
1536 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1537 OBJECT_LOCK. Call set_calibration instead of touching the
1539 (gst_clock_set_property, gst_clock_get_property): Protect
1540 master/slave parameters with the SLAVE_LOCK.
1542 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1543 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1544 note that all of the instance variables that add_observation and
1545 the set_master functions use are protected by that lock and not
1547 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1549 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1550 the caller to take the object lock.
1552 2005-11-23 Wim Taymans <wim@fluendo.com>
1554 * gst/gsterror.c: (_gst_core_errors_init):
1556 Add error for clock stuff.
1558 * gst/gstpipeline.c: (gst_pipeline_change_state),
1559 (gst_pipeline_set_clock):
1560 Post clock error when clock cannot be used in a pipeline.
1562 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1564 * docs/gst/gstreamer-sections.txt:
1565 make two symbols from gstinfo private for the docs
1566 * gst/base/gstcollectpads.h:
1568 fix doc typos, update docs
1570 2005-11-22 Wim Taymans <wim@fluendo.com>
1572 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1573 (gst_base_sink_wait), (gst_base_sink_do_sync),
1574 (gst_base_sink_handle_event):
1575 * gst/base/gstbasesink.h:
1576 No need to store the clock, the parent element class already
1579 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1580 Updates for clock_set returning a gboolean
1582 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1583 (gst_clock_id_wait_async), (gst_clock_class_init),
1584 (gst_clock_init), (gst_clock_finalize),
1585 (gst_clock_get_internal_time), (gst_clock_get_time),
1586 (gst_clock_slave_callback), (gst_clock_set_master),
1587 (gst_clock_get_master), (do_linear_regression),
1588 (gst_clock_add_observation), (gst_clock_set_property),
1589 (gst_clock_get_property):
1591 Implement master/slave. When setting a clock as a slave, a
1592 periodic timeout is scheduled to sample master and slave times.
1593 Then the slave clock is recalibrated to match offset and rate
1594 of the master clock.
1595 Update logging a bit.
1596 Add flag so that a clock can state that is cannot be slaved to
1599 * gst/gstelement.c: (gst_element_set_clock):
1601 The set clock returns a gboolean for when an element cannot
1602 deal with the selected clock in the pipeline.
1604 * gst/gstpipeline.c: (gst_pipeline_change_state),
1605 (gst_pipeline_set_clock):
1606 * gst/gstpipeline.h:
1607 Handle the case where the selected clock cannot be set on
1610 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1611 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1612 (gst_net_client_clock_set_property),
1613 (gst_net_client_clock_get_property),
1614 (gst_net_client_clock_observe_times):
1615 * gst/net/gstnetclientclock.h:
1616 Use regression code in GstClock parent, remove duplicated
1619 2005-11-22 Michael Smith <msmith@fluendo.com>
1621 * gst/gstutils.c: (gst_util_clock_time_scale):
1623 * docs/gst/gstreamer-sections.txt:
1624 Rename method to have extra underscore.
1626 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1628 * gst/elements/Makefile.am:
1629 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1630 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1631 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1632 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1633 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1634 * gst/elements/gstfakesrc.h:
1635 * gst/gstqueue.c: (queue_leaky_get_type):
1636 correctly fix GEnumValues so that nick is the short lowercase
1638 * tools/gst-inspect.c: (print_element_properties_info):
1639 also show the nick, since it's useful to use from parse_launch
1643 2005-11-22 Michael Smith <msmith@fluendo.com>
1645 * gst/gstutils.c: (gst_util_clocktime_scale):
1647 * docs/gst/gstreamer-sections.txt:
1648 Add util method for scaling a clocktime by a fraction. Useful
1649 implementation is left as an exercise for the reader.
1651 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1653 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1654 If needed, allocate storage in the destination value during
1657 2005-11-22 Edward Hervey <edward@fluendo.com>
1659 * docs/gst/gstreamer-sections.txt:
1664 * gst/gstutils.c: (gst_util_set_object_arg):
1665 * tools/gst-compprep.c: (main):
1666 * tools/gst-inspect.c: (print_element_properties_info):
1667 Removed GstURI, closes bug #321061
1669 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1671 * check/gst/gststructure.c: (GST_START_TEST):
1672 * gst/gststructure.c: (gst_structure_parse_value):
1673 Oops, broke automatic string type parsing.
1674 Add a test to catch it in future.
1676 2005-11-22 Andy Wingo <wingo@pobox.com>
1678 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1679 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1680 Actually rename the function implementations. Grr.
1682 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1684 * check/gst/capslist.h:
1686 * check/gst/gststructure.c: (GST_START_TEST),
1687 (gst_structure_suite):
1688 Test automatic value type detection in gst_structure_from_string.
1689 * gst/gststructure.c: (gst_structure_parse_value):
1690 Add fraction as a type we try and guess automatically in
1691 caps/structure strings.
1693 2005-11-22 Andy Wingo <wingo@pobox.com>
1695 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1697 * gst/gsttagsetter.h:
1698 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1699 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1700 (gst_tag_setter_add_tag_valist)
1701 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1702 _add_values, _add_valist, and _add_valist_values. Since this is an
1703 interface the function suffixes should be more explicit so
1704 language binding don't end up with element.add_valist ->
1705 gst_tag_setter_add_valist, for example. Fixes #322069.
1707 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1709 * check/gst/gstcaps.c: (GST_START_TEST):
1710 Extend caps string tests to check that a caps to string
1711 conversion is reversible and produces the same caps.
1713 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1714 Output "fraction" as the generic type fraction range, so caps
1715 serialisation and deserialisation works.
1716 * check/gst/capslist.h:
1717 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1718 Support 'MIN' and 'MAX' for deserialising fractions.
1720 2005-11-22 Andy Wingo <wingo@pobox.com>
1722 * gst/gstevent.h (gst_event_new_new_segment)
1723 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1724 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1725 Renamed from *_newsegment, *_buffersize, *_notarget.
1727 * scripts/update-funcnames: New script, performs the changes
1730 2005-11-22 Wim Taymans <wim@fluendo.com>
1732 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1733 Make sure the GstFlowReturn is returned.
1735 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1736 (gst_bus_add_signal_watch):
1738 add gst_bus_add_signal_watch_full.
1740 * gst/gstplugin.c: (gst_plugin_load_file):
1741 Small style cleanup.
1743 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1745 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1746 Block the fakesrc srcpad when we send an event, to avoid
1747 contention on the stream_lock causing random test failures.
1749 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1751 * check/gst/gstvalue.c: (GST_START_TEST):
1752 * gst/gstvalue.c: (gst_value_fraction_subtract):
1755 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1758 include "gstchildproxy.h"
1759 * gst/gstchildproxy.h:
1760 * libs/gst/controller/gstcontroller.h:
1761 use G_GNUC_NULL_TERMINATED
1763 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1765 * check/gst/capslist.h:
1766 * check/gst/gstcaps.c: (GST_START_TEST):
1767 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1768 * gst/gststructure.c: (gst_structure_parse_range),
1769 (gst_structure_fixate_field_nearest_fraction):
1770 * gst/gststructure.h:
1771 * gst/gstvalue.c: (gst_value_init_fraction_range),
1772 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1773 (gst_value_collect_fraction_range),
1774 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1775 (gst_value_set_fraction_range_full),
1776 (gst_value_get_fraction_range_min),
1777 (gst_value_get_fraction_range_max),
1778 (gst_value_serialize_fraction_range),
1779 (gst_value_transform_fraction_range_string),
1780 (gst_value_compare_fraction_range),
1781 (gst_value_deserialize_fraction_range),
1782 (gst_value_intersect_fraction_fraction_range),
1783 (gst_value_intersect_fraction_range_fraction_range),
1784 (gst_value_subtract_fraction_fraction_range),
1785 (gst_value_subtract_fraction_range_fraction),
1786 (gst_value_subtract_fraction_range_fraction_range),
1787 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1788 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1789 (gst_value_transform_string_fraction), (_gst_value_initialize):
1791 Implement fraction ranges and extend GstFraction to support
1792 arithmetic subtraction, as well as deserialization from integer
1793 strings such as "100"
1794 Add a testsuite as for int and double range set operations
1796 2005-11-21 Andy Wingo <wingo@pobox.com>
1800 * gst/gststructure.h: Add glib-compat.h.
1802 2005-11-21 Wim Taymans <wim@fluendo.com>
1804 * gst/gstbin.c: (gst_bin_change_state_func):
1807 2005-11-21 Wim Taymans <wim@fluendo.com>
1810 And add a nice define too.
1812 2005-11-21 Wim Taymans <wim@fluendo.com>
1814 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1815 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1816 (gst_segment_set_duration), (gst_segment_set_last_stop),
1817 (gst_segment_set_seek), (gst_segment_set_newsegment),
1818 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1821 Make binding friendly.
1823 2005-11-21 Andy Wingo <wingo@pobox.com>
1825 * gst/gsttagsetter.h:
1827 * gst/gststructure.h:
1829 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1832 * gst/gsterror.c (_gst_core_errors_init):
1833 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1836 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1837 (noinst_HEADERS): noinst the -private.
1839 2005-11-21 Michael Smith <msmith@fluendo.com>
1842 * gst/gstregistry.h:
1843 Remove unimplemented declarations for which we can see no sensible
1846 2005-11-21 Andy Wingo <wingo@pobox.com>
1848 * gst/gst.h: Include glib-compat.h.
1850 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1852 * gst/glib-compat.c: Include the public and the private header.
1854 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1858 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1860 * check/gst/gstevent.c (create_custom_events): Check that
1861 FLUSH_STOP is serialized.
1863 * check/elements/identity.c (event_func):
1864 * check/elements/fakesrc.c (event_func): No stream lock, the core
1867 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1868 stream lock taking, yay.
1870 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1871 ensure that core takes the stream lock.
1873 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1876 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1877 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1878 it already. For the flush start we do take it though so we get the
1879 right preroll state change messages.
1881 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1882 the stream lock here, the core does it for us.
1884 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1885 GST_STREAM_GET_LOCK.
1886 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1887 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1888 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1889 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1890 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1891 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1893 * gst/gstpad.c: Update for stream lock name change.
1895 * gst/base/gstbasesink.c: Update for preroll lock name change.
1897 2005-11-21 Wim Taymans <wim@fluendo.com>
1899 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1900 (gst_clock_get_master):
1902 * gst/gstsystemclock.c: (gst_system_clock_init):
1903 Convert Clock flags to object flags.
1904 Added methods to manage master/slave clocks.
1906 2005-11-21 Wim Taymans <wim@fluendo.com>
1908 * check/gst/gstsegment.c: (GST_START_TEST):
1909 * docs/design/part-TODO.txt:
1910 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1911 (gst_base_sink_event), (gst_base_sink_do_sync),
1912 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1913 (gst_base_sink_query), (gst_base_sink_change_state):
1914 * gst/base/gstbasesink.h:
1915 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1916 (gst_base_src_default_newsegment),
1917 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1918 (gst_base_src_get_range), (gst_base_src_loop),
1919 (gst_base_src_change_state):
1920 * gst/base/gstbasesrc.h:
1921 * gst/base/gstbasetransform.c:
1922 (gst_base_transform_prepare_output_buf),
1923 (gst_base_transform_event), (gst_base_transform_change_state):
1924 * gst/base/gstbasetransform.h:
1925 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1926 (gst_collect_pads_event):
1927 * gst/base/gstcollectpads.h:
1928 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1929 (gst_fake_src_create):
1930 * gst/elements/gstfakesrc.h:
1931 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1932 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1933 (gst_segment_set_last_stop), (gst_segment_set_seek),
1934 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1935 (gst_segment_to_running_time), (gst_segment_clip):
1937 More segment updates, replace code in plugins with segment
1940 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1942 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1943 Don't ignore sscanf results
1945 2005-11-21 Andy Wingo <wingo@pobox.com>
1947 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1950 * *.c: Ran scripts/update-macros. Oh yes.
1952 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1953 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1956 * scripts/update-macros: New script. Run it on your files to
1957 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1960 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1962 * docs/gst/Makefile.am:
1963 * docs/gst/gstreamer-docs.sgml:
1964 * docs/gst/gstreamer-sections.txt:
1965 * docs/gst/gstreamer.types:
1967 more docs fixes, add new api to the docs
1969 2005-11-21 Andy Wingo <wingo@pobox.com>
1971 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1972 state_broadcast call.
1974 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1976 2005-11-21 Julien MOUTTE <julien@moutte.net>
1978 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1979 function calls for arrays.
1981 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1983 * docs/random/ensonic/media-device-daemon.txt:
1984 wild idea, can this be done?
1985 * docs/gst/gstreamer-sections.txt:
1990 * gst/gstpluginfeature.c:
1994 doc fixes and additions
1996 2005-11-21 Andy Wingo <wingo@pobox.com>
1998 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1999 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2000 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2001 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2002 private to the basesrc implementation.
2004 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2005 behalf of event function if necessary. It should no longer be
2006 necessary to take the stream lock in pad's event functions. Fixes
2009 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2010 * docs/gst/gstreamer-sections.txt:
2011 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2012 (gst_structure_fixate_field_nearest_double),
2013 (gst_structure_fixate_field_boolean):
2014 * gst/gststructure.h:
2015 * win32/common/libgstreamer.def:
2016 * win32/gstreamer.def:
2018 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2021 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2023 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2024 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2025 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2026 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2027 (gst_fdsrc_uri_handler_init):
2028 * gst/elements/gstfdsrc.h:
2029 Port fd:// URI handler from 0.8 to fdsrc
2031 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2033 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2034 (gst_value_serialize_fourcc):
2036 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2037 consistent with our other format defines (#320324).
2039 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2041 * gst/gstvalue.c: (gst_value_is_fixed):
2042 Revert previous commit. Value lists are by definition
2043 not fixed, as they are a list of possible values.
2045 2005-11-21 Andy Wingo <wingo@pobox.com>
2047 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2048 during the stable series if we need it. Fixes #319178.
2050 * gst/gstevent.c (gst_event_new_filler): Removed.
2052 * check/gst/gstevent.c: Update comment about filler events.
2054 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2056 * gst/gstvalue.c: (gst_value_is_fixed):
2057 Should handle both value arrays and value lists.
2059 2005-11-21 Andy Wingo <wingo@pobox.com>
2061 patch by: Alessandro Dessina <alessandro nnva org>
2063 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2064 functions to access arrays. Fixes #321962.
2066 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2068 * docs/gst/gstreamer.types:
2069 gst_collectpads_get_type => gst_collect_pads_get_type.
2071 * gst/base/gstbasetransform.c:
2072 Remove unused SIGNAL_HANDOFF enum.
2074 2005-11-21 Andy Wingo <wingo@pobox.com>
2076 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2077 the event type (upstream, downstream, serialized). Renamed
2078 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2079 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2080 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2082 * gst/gstevent.c: Update for new CUSTOM event names.
2084 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2087 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2090 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2092 * docs/gst/gstreamer-sections.txt:
2093 * win32/common/libgstbase.def:
2094 * win32/libgstbase.def:
2095 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2096 (gst_collect_pads_class_init), (gst_collect_pads_init),
2097 (gst_collect_pads_finalize), (gst_collect_pads_new),
2098 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2099 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2100 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2101 (gst_collect_pads_start), (gst_collect_pads_stop),
2102 (gst_collect_pads_peek), (gst_collect_pads_pop),
2103 (gst_collect_pads_available), (gst_collect_pads_read),
2104 (gst_collect_pads_flush), (gst_collect_pads_event),
2105 (gst_collect_pads_chain):
2106 * gst/base/gstcollectpads.h:
2107 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2108 unimplemented functions as unimplemented. Add padding to
2109 GstCollectData. (#320766, #320423)
2111 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2114 Improve docs for DURATION message (usage of duration parameter)
2117 2005-11-20 Wim Taymans <wim@fluendo.com>
2119 * check/Makefile.am:
2120 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2124 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2125 (gst_segment_set_seek), (gst_segment_set_newsegment),
2126 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2129 Added segment helper structure and methods. Not fully implemented
2131 Added segment check.
2133 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2135 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2136 Add a deserialisation test for fractions
2137 * examples/metadata/read-metadata.c: (message_loop),
2138 (make_pipeline), (main):
2139 Fix up metadata reading sample.
2140 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2142 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2143 Don't try and fixate empty caps
2144 * gst/gst_private.h:
2145 Wrap in G_BEGIN_DECLS/G_END_DECLS
2146 * gst/gstvalue.c: (gst_value_collect_fraction),
2147 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2148 (gst_value_transform_string_fraction),
2149 (gst_value_compare_fraction):
2150 Add some extra guards to ensure that we don't end up
2151 with an invalid denominator of 0 in a gstfraction and
2152 that fractions always get reduced.
2154 2005-11-20 Wim Taymans <wim@fluendo.com>
2156 * docs/gst/gstreamer-sections.txt:
2167 2005-11-20 Wim Taymans <wim@fluendo.com>
2169 * docs/design/part-TODO.txt:
2171 Make a proper enum of the flag.
2173 2005-11-19 Wim Taymans <wim@fluendo.com>
2175 * docs/design/part-TODO.txt:
2176 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2177 (gst_format_to_quark), (gst_format_register):
2179 * gst/gstquery.c: (_gst_query_initialize),
2180 (gst_query_type_get_name), (gst_query_type_to_quark),
2181 (gst_query_type_register):
2183 Add type to quark and type to string conversions.
2185 2005-11-19 Andy Wingo <wingo@pobox.com>
2187 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2190 2005-11-19 Wim Taymans <wim@fluendo.com>
2192 * docs/design/part-TODO.txt:
2193 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2194 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2195 (gst_bin_handle_message_func):
2197 Make message handling overridable.
2199 2005-11-19 Andy Wingo <wingo@pobox.com>
2201 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2204 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2206 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2207 is a GstClockTime. Fixes #321710.
2209 * gst/gstclock.h (GstClock): Remove offset property. Add
2210 internal_calibration and external_calibration. Fix padding. Pad
2211 also by GstClockTime so we don't run into problems.
2213 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2214 (gst_clock_get_rate_offset): Remove.
2215 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2218 * gst/gstutils.c (g_static_rec_cond_wait)
2219 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2221 * gst/gstbin.c: Remove terrible continue_state prototype.
2223 * gst/gstelement.h (gst_element_continue_state): Make public.
2226 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2227 by continue_state. Fixes #319389.
2229 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2230 Really fixes #168438. However I don't see anywhere where the
2231 filter function is called... stupid GStreamer...
2233 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2234 don't have a dispose function, so it won't get called when the
2235 object is unreffed, but oh well!
2237 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2238 allows a destroy function to be set so user_data can be freed.
2240 (gst_index_set_filter): Call gst_index_set_filter_full.
2242 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2244 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2245 string should produce an error, given the lack of a way to
2246 represent NULL strings. Fixes #165650.
2249 * gst/gstvalue.c (gst_value_array_append_value)
2250 (gst_value_array_prepend_value, gst_value_array_get_size)
2251 (gst_value_array_get_value): New API, copied from
2252 gst_value_list_*, only operates on arrays.
2253 (gst_value_list_append_value, gst_value_list_prepend_value)
2254 (gst_value_list_concat, gst_value_list_get_size)
2255 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2257 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2258 init_list, because it works on both.
2259 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2260 (gst_value_copy_list_or_array): Renamed from copy_list.
2261 (gst_value_free_list_or_array): Renamed from free_list.
2262 (gst_value_collect_list_or_array): Renamed from collect_list.
2263 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2264 (gst_value_list_or_array_peek_pointer): Renamed from
2266 (_gst_value_array_value_table, _gst_value_list_value_table):
2267 Update value table functions.
2268 (gst_value_compare_list_or_array): Renamed from compare_list.
2270 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2274 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2275 GstTagList*. Fixes #143472.
2277 * gst/gststructure.h: Clarify what the foreach/map functions can
2278 or can't do to their arguments.
2280 2005-11-18 Wim Taymans <wim@fluendo.com>
2282 * gst/gstclock.c: (gst_clock_set_calibration),
2283 (gst_clock_get_calibration):
2285 Calibration can be set with internal time equal to current
2288 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2294 2005-11-18 Andy Wingo <wingo@pobox.com>
2297 * pkgconfig/gstreamer-net.pc.in:
2298 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2299 * pkgconfig/Makefile.am: Add net pkgconfig files.
2301 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2304 * gst/gstghostpad.c:
2310 2005-11-18 Andy Wingo <wingo@pobox.com>
2312 * gst/net/gstnetclientclock.c: Turn off debugging.
2314 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2315 times connverge somewhat. Can't make a real test.
2317 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2318 integer arithmetic. Return the minimum of the domain, which can be
2319 set as "internal" for gst_clock_set_calibration.
2320 (gst_net_client_clock_observe_times): Call _set_calibration.
2321 (gst_net_client_clock_new): Call _set_calibration instead of
2324 * check/net/gstnetclientclock.c (test_functioning): Use the right
2328 * gst/gstclock.c (gst_clock_get_calibration)
2329 (gst_clock_set_calibration): New functions, obsolete the ones I
2330 added yesterday. Doh. Precision issues mean we have to extrapolate
2331 from a point in the more recent past than 1970.
2332 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2334 (gst_clock_adjust_unlocked): Use the right calibration data.
2336 2005-11-18 Edward Hervey <edward@fluendo.com>
2338 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2339 Also reset the ->current_* values in READY->PAUSED
2341 2005-11-18 Andy Wingo <wingo@pobox.com>
2343 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2344 Whoops, check the right fd. Also add some debugging.
2345 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2346 (do_linear_regression): Add a crapload of debugging. Subtract off
2347 the minimum values from the input series to discard unneeded bits.
2348 Use only int arithmetic. There is still double arithmetic when
2349 calculating the intercept that needs fixing. Return boolean to
2350 indicate success; FALSE would mean the domain or range is too
2351 great. Still needs fixes.
2353 2005-11-18 Wim Taymans <wim@fluendo.com>
2355 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2356 For the current position in stream time, we need to subtract
2359 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2360 Release lock before calling the callback function of async
2363 2005-11-18 Andy Wingo <wingo@pobox.com>
2365 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2366 Port goes all the way to MAXUINT16.
2368 * gst/net/gstnettimeprovider.c: Make the port range the same as
2369 for the kernel: 0 assigns, otherwise ports are less than
2372 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2375 * check/net/gstnetclientclock.c (test_functioning): Add the start
2378 2005-11-18 Wim Taymans <wim@fluendo.com>
2380 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2381 (gst_bin_remove_func), (bin_bus_handler):
2383 Removing a clock provider from a bin, triggers a clock lost message
2384 so that a new clock will be selected.
2385 Adding a clock to a bin triggers a clock provider message.
2386 Make sure we reselect a clock when we received a clock lost message.
2387 Keep a reference to the element that provided the clock.
2389 2005-11-18 Andy Wingo <wingo@pobox.com>
2391 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2392 the clock initially so it produces values around the base time.
2393 (gst_net_client_clock_class_init): Typo fix.
2394 (gst_net_client_clock_thread): Add note on when the socket gets
2397 2005-11-17 Wim Taymans <wim@fluendo.com>
2399 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2400 Free remote and local time arrays.
2402 2005-11-17 Wim Taymans <wim@fluendo.com>
2404 * gst/net/gstnetclientclock.c: (do_linear_regression),
2405 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2406 Fix compilation, uninitialized vars and a forgotten continue.
2408 2005-11-17 Andy Wingo <wingo@pobox.com>
2410 * check/Makefile.am (check_PROGRAMS):
2411 * check/net/gstnetclientclock.c: Add a most minimal test for the
2412 net client clock. More to come later.
2415 * gst/net/Makefile.am: Add netclientclock.
2417 * gst/net/gstnetclientclock.h:
2418 * gst/net/gstnetclientclock.c: New files, implement an untested
2419 GstClock that takes its time from a network time provider.
2420 Implements the algorithm in network-clock.scm.
2422 * tests/network-clock.scm (*window-size*): Rename from
2424 * tests/network-clock.scm (network-time):
2425 * tests/network-clock-utils.scm (q-push): Update callers.
2427 2005-11-17 Wim Taymans <wim@fluendo.com>
2429 * gst/gstbin.c: (gst_bin_provide_clock_func),
2430 (gst_bin_sort_iterator_new):
2431 And unref the child too..
2433 2005-11-17 Wim Taymans <wim@fluendo.com>
2435 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2436 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2437 Refactor the sort iterator so it can be used while holding the
2439 Make clock selection select a clock closest to the source.
2441 2005-11-17 Michael Smith <msmith@fluendo.com>
2443 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2444 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2446 Anonymous structs are a gcc (and some other compilers) extension, so
2447 don't use them. Since this is only for ABI-compatibility, and our
2448 API/ABI freeze is over in a few days, this whole thing will only
2449 last a few days, so don't bother trying to think up a meaningful
2450 name for the struct.
2452 2005-11-17 Andy Wingo <wingo@pobox.com>
2454 * gst/gstclock.h (GstClock): Add rate and offset properties,
2455 preserving ABI stability. Add rate/offset accessors. Will file bug
2456 for the freeze break.
2458 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2459 and offset, trying to keep precision and avoiding
2461 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2462 functions. Make gst_clock_set_time_adjust obsolete.
2463 (gst_clock_set_time_adjust): Note that this function is obsolete.
2466 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2467 greppable by using GST_PADDING-1+1.
2469 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2471 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2473 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2474 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2476 * gst/gstpadtemplate.h:
2477 * gst/gstpluginfeature.h:
2478 Don't use c++ style comments in headers (#321638).
2480 2005-11-16 Andy Wingo <wingo@pobox.com>
2482 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2485 * check/net/gstnettimeprovider.c: Check to see that the time
2486 provider actually provides times. Works, yo!
2488 2005-11-16 Wim Taymans <wim@fluendo.com>
2490 * check/Makefile.am:
2493 * check/elements/fakesrc.c: (GST_START_TEST):
2494 Set element to NULL before disposing it.
2496 2005-11-16 Andy Wingo <wingo@pobox.com>
2498 * gst/net/Makefile.am:
2500 * gst/net/gstnettimeprovider.c:
2501 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2502 provider, include it from gstnet.h, and add it to the build.
2504 * gst/net/gstnettimepacket.h:
2505 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2506 sending and receiving.
2508 2005-11-16 Wim Taymans <wim@fluendo.com>
2510 * check/Makefile.am:
2511 Enable valgrind check.
2513 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2514 (gst_fake_src_alloc_buffer):
2517 2005-11-16 Wim Taymans <wim@fluendo.com>
2519 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2520 Call parent finalize too.
2522 2005-11-16 Wim Taymans <wim@fluendo.com>
2524 * check/Makefile.am:
2525 Enable valgrind check that should work fine now.
2527 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2528 * gst/gstqueue.c: (gst_queue_init):
2529 Fix memleaks in pad allocation.
2531 2005-11-16 Andy Wingo <wingo@pobox.com>
2533 * gst/net/Makefile.am:
2534 * gst/net/gstnet.h: New part of core to hold network elements and
2535 objects. Put in core because it exposes API that applications want
2536 to use. The library is named libgstnet-tempname right now because
2537 of the existing libgstnet in gst-plugins-base. Solution is
2538 probably to rename the one in plugins-base; will file a bug for
2541 * gst/net/gstnettimeprovider.c:
2542 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2543 get_time call over the network.
2546 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2548 * check/Makefile.am:
2549 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2550 get additions shortly.
2552 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2554 * gst/gstpad.c: (gst_pad_new_from_static_template):
2556 add gst_pad_new_from_static_template functions
2557 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2558 (gst_check_setup_sink_pad):
2559 * gst/elements/gsttee.c: (gst_tee_init):
2562 2005-11-16 Wim Taymans <wim@fluendo.com>
2564 * gst/gstpad.c: (gst_pad_pause_task):
2565 Removed warning, it's not really an error either.
2567 2005-11-16 Wim Taymans <wim@fluendo.com>
2569 * gst/base/gstbasetransform.c:
2570 (gst_base_transform_prepare_output_buf),
2571 (gst_base_transform_event):
2572 Check if the caps are NULL, this can happen if the element
2573 is shutting down and the pad caps are set to NULL.
2575 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2577 * gst/elements/gsttee.c: (gst_tee_init):
2578 fix pad template leak in tee
2580 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2582 * gst/glib-compat.c: (g_value_dup_gst_object):
2583 * gst/glib-compat.h:
2584 * gst/gstpad.c: (gst_pad_set_property):
2585 use gst_object_ref when setting the pad template; this will
2586 trigger the pad template leaks on GLib 2.6 and the slaves
2588 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2590 * gst/glib-compat.c: (gst_flags_get_first_value):
2591 * gst/glib-compat.h:
2592 * gst/gstregistryxml.c:
2593 remove functions copied from GLib 2.6
2595 2005-11-16 Michael Smith <msmith@fluendo.com>
2598 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2599 do, but only breaks with newer valgrind versions. We're not a
2600 valgrind tool, we have no link-time dependencies on libcoregrind.
2602 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2604 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2609 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2611 * gst/base/gstbasesrc.c: (gst_base_src_init):
2612 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2613 * gst/gstqueue.c: (gst_queue_init):
2614 * gst/gstregistryxml.c: (load_feature):
2615 Revert all these unrefs, they don't even pass make check !
2617 2005-11-15 Johan Dahlin <johan@gnome.org>
2619 * gst/base/gstbasesrc.c: (gst_base_src_init):
2620 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2621 * gst/gstqueue.c: (gst_queue_init):
2622 Free pad templates, fixes a couple of leaks.
2624 2005-11-15 Daniel Fischer <dan at f3c dot com>
2626 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2628 * gst/gstpad.c: (gst_pad_get_property):
2629 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2630 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2633 2005-11-15 Wim Taymans <wim@fluendo.com>
2638 2005-11-15 Andy Wingo <wingo@pobox.com>
2640 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2642 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2643 using GST_CLOCK_TIME_NONE to disable base time management.
2644 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2645 time if it was NONE before.
2646 (gst_pipeline_change_state): Only munge the base time if
2647 stream_time != GST_CLOCK_TIME_NONE.
2649 * check/gst/gstpipeline.c (test_base_time): Punt around the
2650 problem of the probe not being called, because that's not the
2651 issue I'm looking at. Add a check that setting stream_time to NONE
2652 disables base time management.
2654 2005-11-15 Wim Taymans <wim@fluendo.com>
2656 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2657 segment_stop == -1 at startup.
2659 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2660 (gst_base_transform_change_state):
2661 Init segment values at start.
2663 2005-11-15 Wim Taymans <wim@fluendo.com>
2665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2666 0 segment values are 0 in any format.
2668 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2669 * gst/base/gstbasetransform.h:
2670 Parse newsegment correctly in basetransform
2672 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2673 Sync to clock using updated segment values.
2675 2005-11-15 Andy Wingo <wingo@pobox.com>
2677 * check/gst/gstpipeline.c (test_base_time): Add check that the
2678 base time and stream time are reset correctly.
2680 2005-11-15 Wim Taymans <wim@fluendo.com>
2682 * docs/design/part-TODO.txt:
2683 Some more TODO items.
2685 2005-11-15 Andy Wingo <wingo@pobox.com>
2687 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2688 error if the user selected "no clock" as the clocking method.
2690 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2691 timestamps with live capture.
2693 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2694 is 0 but we are a live source, timestamp the buffers using the
2697 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2699 * docs/gst/gstreamer-sections.txt:
2701 * gst/gstghostpad.c:
2706 2005-11-14 Wim Taymans <wim@fluendo.com>
2709 add suppressions from Wim's Debian machine
2711 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2714 add suppressions from Andy's AMD64 Ubuntu machine
2716 2005-11-14 Andy Wingo <wingo@pobox.com>
2718 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2719 STATE_LOCK not necessary. Fixes #311489.
2721 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2724 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2725 this function is not implemented.
2727 2005-11-14 Julien MOUTTE <julien@moutte.net>
2729 * gst/base/gstbasetransform.c:
2730 (gst_base_transform_prepare_output_buf):
2731 Ref the source pad caps while we need them.
2734 2005-11-11 Wim Taymans <wim@fluendo.com>
2736 * docs/gst/gstreamer-sections.txt:
2737 Added some docs for GstCollectData.
2739 * gst/base/gstadapter.c:
2740 Some small code example fix.
2742 * gst/base/gstcollectpads.c:
2743 * gst/base/gstcollectpads.h:
2746 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2748 * configure.ac: back to HEAD
2750 === release 0.9.5 ===
2752 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2755 releasing 0.9.5, "Bike Lunch Day"
2757 2005-11-11 Wim Taymans <wim@fluendo.com>
2759 * gst/gstbuffer.c: (_gst_buffer_copy):
2762 * gst/gstcaps.c: (gst_caps_is_equal):
2764 Make _is_equal fast in the trivial cases.
2766 * gst/gstminiobject.c:
2767 * gst/gstminiobject.h:
2768 More docs. Spifify .h file.
2773 2005-11-11 Wim Taymans <wim@fluendo.com>
2775 * gst/base/gstbasetransform.c:
2776 (gst_base_transform_prepare_output_buf),
2777 (gst_base_transform_handle_buffer):
2779 If we're processing a buffer and need to allocate an output
2780 buffer, we cannot accept a format change. If we did get a
2781 format change, we have to alloc a buffer ourselves of the
2784 2005-11-11 Wim Taymans <wim@fluendo.com>
2786 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2787 While checking the flag for reentrancy in the gstcaps function
2788 is nice to detect recursive invocations, it also makes it
2789 impossible to call getcaps from multiple threads, which must be
2790 possible. So, checking for recursive calls has to go.
2792 2005-11-11 Michael Smith <msmith@fluendo.com>
2794 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2795 Don't sync on buffers that fall partially outside our current
2796 segment. Prevents an assertion failure/abort playing some files.
2798 2005-11-10 Andy Wingo <wingo@pobox.com>
2800 * check/gst/gstbin.c (test_message_state_changed_children): Style
2803 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2804 gst_bus_poll with the signal watch. Ensures that poll and a signal
2805 watch see the same messages.
2807 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2808 a poll and a watch at the same time get the same messages.
2810 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2812 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2813 * gst/gstcaps.c: (gst_caps_intersect):
2814 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2815 and it's not needed.
2817 2005-11-10 Wim Taymans <wim@fluendo.com>
2819 * docs/design/part-TODO.txt:
2822 2005-11-10 Wim Taymans <wim@fluendo.com>
2824 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2825 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2826 (gst_base_src_do_sync), (gst_base_src_get_range):
2827 Implement clock sync in base class.
2829 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2831 patch by: Tim-Philipp Müller <tim at centricular dot net>
2833 * gst/gststructure.c: (gst_structure_parse_field),
2834 (gst_structure_from_string):
2835 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2836 so that gst_parse_launch() can deal with spaces in filtered link
2837 caps (fixes #164479)
2838 * check/gst/capslist.h:
2839 * check/gst/gststructure.c: (GST_START_TEST):
2840 add unit tests for this change
2842 2005-11-10 Wim Taymans <wim@fluendo.com>
2844 * docs/gst/gstreamer-sections.txt:
2847 Fix docs, move some STATE macros to private.
2849 2005-11-10 Wim Taymans <wim@fluendo.com>
2851 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2852 Added check for bug #317341
2856 Some more spiffifying.
2858 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2859 Call peer linkfunction if we are a source pad. Totally fixes
2863 Update docs, source pads should call the peer linkfunction
2864 so they can atomically perform the pad link.
2866 2005-11-09 Wim Taymans <wim@fluendo.com>
2870 Uber-spiffy-spiffify some more.
2872 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2874 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2875 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2876 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2877 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2878 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2879 * gst/gstpad.c: (gst_pad_init):
2880 Use GST_DEBUG_FUNCPTR() more extensively.
2882 2005-11-09 Wim Taymans <wim@fluendo.com>
2884 * gst/gstobject.c: (gst_object_class_init):
2886 Documentation fixes.
2888 2005-11-09 Edward Hervey <edward@fluendo.com>
2890 * gst/gsttypefindfactory.c:
2893 2005-11-09 Edward Hervey <edward@fluendo.com>
2895 * gst/base/gsttypefindhelper.c:
2896 * gst/gsttypefind.c:
2897 * gst/gsttypefind.h:
2900 2005-11-09 Wim Taymans <wim@fluendo.com>
2902 * gst/gstiterator.c:
2909 2005-11-09 Wim Taymans <wim@fluendo.com>
2915 2005-11-09 Wim Taymans <wim@fluendo.com>
2917 * docs/gst/gstreamer-sections.txt:
2918 Moved the message async delivery private lock and cond
2919 to the private section.
2925 2005-11-09 Edward Hervey <edward@fluendo.com>
2927 * docs/gst/gstreamer-sections.txt:
2930 Document GstURIHandler
2932 2005-11-09 Wim Taymans <wim@fluendo.com>
2934 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2935 (gst_iterator_find_custom):
2936 * gst/gstiterator.h:
2939 2005-11-09 Wim Taymans <wim@fluendo.com>
2942 Document another field.
2944 * gst/gststructure.c:
2945 * gst/gststructure.h:
2948 2005-11-09 Wim Taymans <wim@fluendo.com>
2953 2005-11-09 Wim Taymans <wim@fluendo.com>
2955 * docs/gst/gstreamer-sections.txt:
2956 Added some new macros.
2963 2005-11-09 Wim Taymans <wim@fluendo.com>
2965 * docs/design/part-TODO.txt:
2966 Some more items for the TODO
2972 2005-11-09 Andy Wingo <wingo@pobox.com>
2974 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2975 to work on something else now tho...
2977 * gst/base/gstadapter.c: More adapter docs.
2979 * gst/elements/gstfilesink.c (gst_file_sink_start)
2980 (gst_file_sink_stop): New functions, replace the state change
2982 (gst_file_sink_class_init): Hook up the start and stop functions.
2983 (gst_file_sink_base_init): Don't set the state change handler any
2984 more. It was a bit ugly too, being set from here...
2985 (gst_file_sink_get_property, gst_file_sink_set_property):
2987 (gst_file_sink_set_location): More robust check that doesn't call
2990 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2992 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2993 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2995 2005-11-08 Wim Taymans <wim@fluendo.com>
2997 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2998 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2999 (gst_base_sink_chain), (gst_base_sink_change_state):
3000 * gst/base/gstbasesink.h:
3001 * gst/base/gstbasesrc.h:
3004 Avoid excessive typechecking in macros.
3006 * gst/gstminiobject.c: (gst_mini_object_get_type),
3007 (gst_mini_object_init), (gst_mini_object_new),
3008 (gst_mini_object_free):
3009 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3010 (gst_object_finalize):
3011 Remove cruft code, optimize alloc_trace.
3013 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3015 * docs/faq/gst-uninstalled:
3016 fix up PS1 for systems that try to reset it
3018 2005-11-07 Wim Taymans <wim@fluendo.com>
3020 * gst/base/gstbasesrc.c: (gst_base_src_init),
3021 (gst_base_src_get_range):
3022 Set the segment_end to -1 initially. Fixed typefind.
3024 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3026 * gst/base/gstadapter.c:
3027 Debug category should be 'adapter', not 'GstAdapter'.
3029 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3030 (gst_collectpads_class_init), (gst_collectpads_init),
3031 (gst_collectpads_peek), (gst_collectpads_pop),
3032 (gst_collectpads_event), (gst_collectpads_chain):
3033 Add debug category and some debugging output. Use boilerplate
3034 macros. Remove some extraneous words from docs.
3036 2005-11-05 Andy Wingo <wingo@pobox.com>
3038 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3041 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3043 * docs/gst/gstreamer-sections.txt:
3046 * gst/gstminiobject.h:
3051 2005-11-04 Wim Taymans <wim@fluendo.com>
3053 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3054 Small update to stop at the configured segment_end
3057 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3059 * gst/gstregistry.c:
3060 * gst/gstregistry.h:
3063 2005-11-04 Edward Hervey <edward@fluendo.com>
3065 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3066 Check if we are doing a segment seek and have arrived at the
3067 end of that segment.
3069 2005-11-04 Wim Taymans <wim@fluendo.com>
3071 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3072 Don't leak a mutex unlock in case of an error.
3077 2005-11-04 Wim Taymans <wim@fluendo.com>
3079 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3081 Get the context to wake up only once.
3083 2005-11-03 Wim Taymans <wim@fluendo.com>
3085 * check/states/sinks.c: (GST_START_TEST):
3086 Uncomment fixed check.
3088 * docs/design/part-TODO.txt:
3091 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3092 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3093 (gst_base_sink_get_position):
3094 If we are going to PLAYING, post the right pending state
3095 when we post the intermediate paused message.
3097 * gst/gstelement.c: (gst_element_continue_state),
3098 (gst_element_set_state_func), (gst_element_change_state):
3099 Don't post state changes that were between the same state
3102 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3104 * docs/gst/gstreamer-sections.txt:
3107 * gst/gstminiobject.h:
3110 more docs and doc style fixes
3112 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3114 * docs/gst/gstreamer-sections.txt:
3116 * gst/gstminiobject.c:
3119 2005-11-03 Andy Wingo <wingo@pobox.com>
3121 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3122 state-changed messages actually have the right order and the right
3125 2005-11-03 Wim Taymans <wim@fluendo.com>
3127 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3128 Added some more checks. Specifically the case where NO_PREROLL
3129 elements are in the pipeline.
3131 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3132 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3133 (gst_base_sink_get_position):
3134 Post READY->PAUSED state change messages too.
3135 Fix bug where VOID was posted as pending state...
3137 * gst/gstbin.c: (gst_bin_recalc_state):
3138 use _element_continue_state() to continue the state change.
3140 * gst/gstelement.c: (gst_element_continue_state),
3141 (gst_element_commit_state), (gst_element_set_state_func),
3142 (gst_element_change_state), (gst_element_change_state_func):
3143 Lots of state change cleanups, assign the STATE_RETURN in
3144 a new continue_state() function that also propagates the
3145 last return value from a state change to the app.
3146 Update some debug statements with proper category.
3148 2005-11-03 Wim Taymans <wim@fluendo.com>
3150 * docs/design/part-events.txt:
3151 * docs/design/part-gstpipeline.txt:
3152 * docs/design/part-messages.txt:
3153 * docs/design/part-overview.txt:
3154 * docs/design/part-seeking.txt:
3155 * docs/design/part-states.txt:
3156 * docs/design/part-trickmodes.txt:
3157 * docs/manual/advanced-position.xml:
3161 People think !! is ugly, this looks better.
3163 * gst/gstpad.c: (gst_pad_set_blocked_async):
3164 Remove !! since it's fixed elsewhere now.
3166 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3168 * gst/gstminiobject.h:
3170 Add !! to _FLAG_IS_SET macros to make the result boolean.
3172 2005-11-03 Edward Hervey <edward@fluendo.com>
3174 * gst/gstpad.c: (gst_pad_set_blocked_async):
3175 comparing a flag and a gboolean rarely returns coherent results...
3176 Added two characters (!!) to make that work correctly.
3178 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3180 * gst/gstbus.c: (gst_bus_class_init):
3183 * gst/gstqueue.c: (gst_queue_loop):
3184 Don't assume a miniobject that isn't a buffer is an
3185 event (it could be that there is a refcounting
3186 problem somewhere and the pointer is stale and
3187 refers to an already destroyed miniobject).
3189 2005-11-03 Julien MOUTTE <julien@moutte.net>
3191 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3193 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3195 * docs/manual/advanced-position.xml:
3196 Update seek example and explanations to current 0.9 API.
3198 * gst/elements/gsttypefindelement.c:
3199 (gst_type_find_element_activate):
3200 Remove FIXME comment now that the found caps
3203 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3205 * gst/gstregistryxml.c: (load_feature):
3206 Add another GST_STR_NULL instance
3208 2005-11-02 Edward Hervey <edward@fluendo.com>
3210 * gst/gstpad.c: (handle_pad_block):
3211 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3213 2005-11-02 Wim Taymans <wim@fluendo.com>
3218 * gst/gstelement.c: (gst_element_commit_state):
3219 Remove unused value.
3221 * gst/gstiterator.c:
3222 Mention that the returned element is reffed in the docs.
3224 2005-11-02 Wim Taymans <wim@fluendo.com>
3226 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3227 (gst_pad_push), (gst_pad_push_event):
3228 Unlock blocked pads when they are flushed.
3230 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3233 * docs/gst/gstreamer-sections.txt:
3236 * gst/gstregistry.c: (gst_registry_scan_path_level):
3237 fix for a nasty little missed situation where an installed plug-in
3238 which was in the cache did not get overridden by an uninstalled one
3239 which was earlier in the plugin path because the newly created plugin
3240 for the uninstalled one (not in the registry) didn't get its
3241 ->registered set to TRUE
3243 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3245 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3246 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3247 (gst_collectpads_is_active), (gst_collectpads_collect),
3248 (gst_collectpads_collect_range), (gst_collectpads_start),
3249 (gst_collectpads_stop), (gst_collectpads_peek),
3250 (gst_collectpads_pop), (gst_collectpads_available),
3251 (gst_collectpads_read), (gst_collectpads_flush):
3252 Guard public API with assertions.
3255 Fix docs for gst_pad_set_link_function().
3257 2005-11-02 Johan Dahlin <johan@gnome.org>
3259 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3260 Unref found_caps after we used it.
3262 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3264 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3265 Don't try to ref NULL.
3267 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3269 * win32/common/config.h.in:
3270 provide a GST_FUNCTION that just gives a string for now
3272 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3274 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3275 (gst_object_flags_get_type), (register_gst_bin_flags),
3276 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3277 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3278 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3279 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3280 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3281 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3282 (gst_clock_flags_get_type), (register_gst_state),
3283 (gst_state_get_type), (register_gst_state_change_return),
3284 (gst_state_change_return_get_type), (register_gst_state_change),
3285 (gst_state_change_get_type), (register_gst_element_flags),
3286 (gst_element_flags_get_type), (register_gst_core_error),
3287 (gst_core_error_get_type), (register_gst_library_error),
3288 (gst_library_error_get_type), (register_gst_resource_error),
3289 (gst_resource_error_get_type), (register_gst_stream_error),
3290 (gst_stream_error_get_type), (register_gst_event_type),
3291 (gst_event_type_get_type), (register_gst_seek_type),
3292 (gst_seek_type_get_type), (register_gst_seek_flags),
3293 (gst_seek_flags_get_type), (register_gst_format),
3294 (gst_format_get_type), (register_gst_index_certainty),
3295 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3296 (gst_index_entry_type_get_type),
3297 (register_gst_index_lookup_method),
3298 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3299 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3300 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3301 (gst_index_flags_get_type), (register_gst_debug_level),
3302 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3303 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3304 (gst_iterator_result_get_type), (register_gst_iterator_item),
3305 (gst_iterator_item_get_type), (register_gst_message_type),
3306 (gst_message_type_get_type), (register_gst_mini_object_flags),
3307 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3308 (gst_pad_link_return_get_type), (register_gst_flow_return),
3309 (gst_flow_return_get_type), (register_gst_activate_mode),
3310 (gst_activate_mode_get_type), (register_gst_pad_direction),
3311 (gst_pad_direction_get_type), (register_gst_pad_flags),
3312 (gst_pad_flags_get_type), (register_gst_pad_presence),
3313 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3314 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3315 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3316 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3317 (gst_plugin_flags_get_type), (register_gst_rank),
3318 (gst_rank_get_type), (register_gst_query_type),
3319 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3320 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3321 (gst_tag_flag_get_type), (register_gst_task_state),
3322 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3323 (gst_alloc_trace_flags_get_type),
3324 (register_gst_type_find_probability),
3325 (gst_type_find_probability_get_type), (register_gst_uri_type),
3326 (gst_uri_type_get_type), (register_gst_parse_error),
3327 (gst_parse_error_get_type):
3328 * win32/common/gstversion.h:
3331 2005-11-01 Luca Ognibene <luogni@tin.it>
3334 fix docs. popt is dead, long live GOption.
3336 2005-10-31 Wim Taymans <wim@fluendo.com>
3341 2005-10-31 Andy Wingo <wingo@pobox.com>
3345 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3347 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3348 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3349 the possibility of deadlocks here if code calling notify() or
3350 set() has a lock that can be taken in another notify handler (ABBA
3351 with class lock and e.g. python GIL state lock).
3353 2005-10-28 Julien MOUTTE <julien@moutte.net>
3355 * gst/gstbus.c: Doc updates.
3357 2005-10-28 Wim Taymans <wim@fluendo.com>
3359 * docs/design/part-TODO.txt:
3360 * gst/gstiterator.c:
3361 * gst/gstsystemclock.c:
3362 * gst/gstsystemclock.h:
3365 2005-10-28 Edward Hervey <edward@fluendo.com>
3367 * docs/gst/gstreamer-docs.sgml:
3368 * docs/gst/gstreamer-sections.txt:
3369 the GstURIType documentation page is private, it only defines GstURIType
3370 which should be defined in the GstURIHandler page
3372 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3374 * gst/gstbin.c: (gst_bin_class_init):
3377 Documentation updates.
3379 2005-10-28 Wim Taymans <wim@fluendo.com>
3381 * docs/gst/gstreamer-sections.txt:
3384 Documented the clocks.
3386 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3388 * docs/gst/gstreamer-sections.txt:
3389 move some macros to private sections
3390 * gst/gstminiobject.c:
3391 * gst/gstminiobject.h:
3392 add descriptions provided by ds and some more
3394 mark macro as to be removed
3396 2005-10-28 Wim Taymans <wim@fluendo.com>
3398 * docs/design/part-TODO.txt:
3399 Add an item to TODO.
3401 * gst/gstiterator.c: (gst_iterator_fold),
3402 (gst_iterator_find_custom):
3403 * gst/gstiterator.h:
3406 2005-10-28 Wim Taymans <wim@fluendo.com>
3408 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3409 (gst_base_transform_init):
3412 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3413 An EOS event marks the queue as completely filled.
3415 2005-10-27 Wim Taymans <wim@fluendo.com>
3417 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3418 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3419 Some more debugging.
3421 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3422 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3423 (gst_base_transform_event), (gst_base_transform_getrange),
3424 (gst_base_transform_chain):
3425 * gst/base/gstbasetransform.h:
3427 Protect transform and concurrent buffer alloc with a new lock.
3428 Try not to break ABI/API.
3430 2005-10-27 Wim Taymans <wim@fluendo.com>
3432 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3433 (gst_base_src_init), (gst_base_src_query),
3434 (gst_base_src_default_newsegment),
3435 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3436 (gst_base_src_send_event), (gst_base_src_event_handler),
3437 (gst_base_src_pad_get_range), (gst_base_src_loop),
3438 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3439 (gst_base_src_start), (gst_base_src_deactivate),
3440 (gst_base_src_activate_push), (gst_base_src_change_state):
3441 Move some stuff around and cleanup things.
3443 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3445 * gst/base/gstbasesrc.c: (gst_base_src_query):
3446 Add missing break statements.
3448 2005-10-27 Wim Taymans <wim@fluendo.com>
3450 * check/gst/gstbin.c: (GST_START_TEST):
3451 An extra refcount is taken in basesrc.
3453 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3454 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3455 (gst_base_src_loop):
3456 Small cleanups, check for flushing after being unlocked from the
3457 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3458 Don't send out EOS when going to READY.
3460 2005-10-27 Wim Taymans <wim@fluendo.com>
3462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3463 (gst_base_sink_get_position):
3466 * gst/gstbin.c: (message_check), (bin_replace_message),
3467 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3468 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3469 (bin_query_duration_init), (bin_query_duration_fold),
3470 (bin_query_duration_done), (bin_query_generic_fold),
3472 * tools/gst-launch.c: (main):
3475 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3477 * examples/controller/audio-example.c: (main):
3478 * examples/queue/queue.c: (event_loop):
3479 * gst/base/gstbasetransform.h:
3480 * gst/gstelement.c: (gst_element_send_event):
3482 * gst/gstpad.c: (gst_pad_send_event):
3485 changing log priority in error situations
3487 2005-10-25 Wim Taymans <wim@fluendo.com>
3489 * gst/gstbin.c: (message_check), (bin_replace_message),
3490 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3491 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3492 (bin_query_duration_init), (bin_query_duration_fold),
3493 (bin_query_duration_done), (bin_query_generic_fold),
3495 Some doc and debug updates.
3496 Cache previously requested query DURATION for speed. invalidate
3497 cached duration if element posts a DURATION message.
3499 2005-10-25 Wim Taymans <wim@fluendo.com>
3501 * docs/design/part-TODO.txt:
3504 * gst/gstbin.c: (message_check), (bin_replace_message),
3505 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3506 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3507 (bin_query_duration_init), (bin_query_duration_fold),
3508 (bin_query_duration_done), (bin_query_generic_fold),
3510 Handle SEGMENT_START/DONE messages correctly.
3511 More evolved query algorithm that handles duration queries
3514 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3515 (gst_element_get_state_func), (gst_element_abort_state),
3516 (gst_element_commit_state), (gst_element_lost_state):
3517 Some more debugging.
3522 2005-10-25 Wim Taymans <wim@fluendo.com>
3524 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3525 Don't use invalid stream_time.
3527 * gst/gstevent.c: (gst_event_new_newsegment):
3528 stream_time in newsegment cannot be undefined.
3530 2005-10-24 Wim Taymans <wim@fluendo.com>
3535 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3537 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3539 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3541 * docs/libs/tmpl/gstdparam.sgml:
3542 * docs/libs/tmpl/gstdplinint.sgml:
3543 * docs/libs/tmpl/gstdpman.sgml:
3544 * docs/libs/tmpl/gstdpsmooth.sgml:
3545 * docs/libs/tmpl/gstunitconvert.sgml:
3548 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3553 === release 0.9.4 ===
3555 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3558 releasing 0.9.4, "Tyrannosaurus Rex"
3560 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3562 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3563 (gst_file_sink_get_current_offset):
3564 Use fseeko() and ftello() if available. When falling back on
3565 lseek() to get the current offset, fflush() first to make sure
3566 everything is up-to-date and we get the right offset.
3568 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3570 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3571 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3572 * gst/gsterror.c: (_gst_stream_errors_init):
3574 * gst/gstqueue.c: (gst_queue_loop):
3576 remove prematurely added error category and clean up the instances
3578 2005-10-21 Wim Taymans <wim@fluendo.com>
3580 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3581 (gst_base_sink_get_position), (gst_base_sink_query),
3582 (gst_base_sink_change_state):
3583 Simply set the right flag when going to playing, that's all
3584 we need to do instead of calling a function inside the object
3585 lock (that could take the lock as well and deadlock)
3587 2005-10-21 Wim Taymans <wim@fluendo.com>
3589 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3590 (gst_base_src_loop):
3591 Don't warn, the peer element knows what to do best when
3592 the seek failed, it might try something else.
3594 2005-10-21 Wim Taymans <wim@fluendo.com>
3596 * gst/base/gstbasesrc.c: (gst_base_src_init),
3597 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3600 2005-10-21 Wim Taymans <wim@fluendo.com>
3602 * docs/design/part-segments.txt:
3605 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3606 Correctly set caps, even on the subbufer.
3608 2005-10-21 Wim Taymans <wim@fluendo.com>
3610 * docs/gst/gstreamer-docs.sgml:
3611 * docs/gst/gstreamer-sections.txt:
3618 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3622 And 2% more doc coverage.
3624 2005-10-21 Andy Wingo <wingo@pobox.com>
3626 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3629 2005-10-20 Wim Taymans <wim@fluendo.com>
3631 * gst/gsterror.c: (gst_error_get_message):
3634 * gst/gststructure.c:
3639 2005-10-20 Wim Taymans <wim@fluendo.com>
3644 Another 1% more coverage.
3646 2005-10-20 Wim Taymans <wim@fluendo.com>
3648 * docs/gst/gstreamer-sections.txt:
3649 * gst/gstelement.c: (gst_element_get_state_func),
3650 (gst_element_abort_state), (gst_element_commit_state),
3651 (gst_element_lost_state):
3653 * gst/gstquery.c: (gst_query_set_position),
3654 (gst_query_parse_position), (gst_query_set_duration),
3655 (gst_query_parse_duration), (gst_query_new_convert):
3657 Yay! 1% more docs coverage.
3659 2005-10-20 Wim Taymans <wim@fluendo.com>
3662 * gst/gstquery.c: (gst_query_set_position),
3663 (gst_query_parse_position), (gst_query_set_duration),
3664 (gst_query_parse_duration), (gst_query_new_convert):
3666 * gst/gstutils.c: (gst_element_query_convert):
3668 Docs and consistency fixes.
3670 2005-10-20 Wim Taymans <wim@fluendo.com>
3676 2005-10-20 Wim Taymans <wim@fluendo.com>
3678 * gst/gstbin.c: (message_check), (bin_replace_message),
3679 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3680 (update_degree), (gst_bin_sort_iterator_next),
3681 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3682 Reworked the message handling a bit, cache the messages instead of
3683 only the senders. alows us to do more in the future.
3685 2005-10-20 Wim Taymans <wim@fluendo.com>
3687 * docs/design/part-TODO.txt:
3690 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3691 (gst_base_sink_query):
3692 Don't use clock time to report position when in EOS.
3694 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3696 * tools/gst-inspect.c: (print_interfaces),
3697 (print_element_properties_info), (print_element_info):
3698 Fix interface output with gst-inspect -a; don't print
3699 newlines after double/float properties.
3701 2005-10-20 Wim Taymans <wim@fluendo.com>
3703 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3704 (gst_base_sink_query):
3705 Speed up current position calculation.
3707 * gst/base/gstbasesrc.c: (gst_base_src_query),
3708 (gst_base_src_default_newsegment):
3709 Correctly set stream position in newsegment.
3711 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3712 (update_degree), (gst_bin_sort_iterator_next),
3713 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3714 * gst/gstmessage.c: (gst_message_new_custom):
3715 Clean up debugging info
3717 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3718 (gst_queue_loop), (gst_queue_handle_src_query):
3721 2005-10-19 Wim Taymans <wim@fluendo.com>
3723 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3724 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3725 Fix query handling again.
3727 2005-10-19 Wim Taymans <wim@fluendo.com>
3729 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3730 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3731 * gst/base/gstbasesrc.c: (gst_base_src_query):
3732 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3733 * gst/elements/gsttypefindelement.c:
3734 (gst_type_find_handle_src_query), (find_element_get_length),
3735 (gst_type_find_element_activate):
3738 * gst/gstquery.c: (gst_query_new_position),
3739 (gst_query_set_position), (gst_query_parse_position),
3740 (gst_query_new_duration), (gst_query_set_duration),
3741 (gst_query_parse_duration), (gst_query_set_segment),
3742 (gst_query_parse_segment):
3744 Bundling query position/duration is not a good idea since duration
3745 does not change much and we don't want to recalculate it for every
3746 position query, so they are separated again..
3747 Base value in segment query is not needed.
3749 * gst/gstqueue.c: (gst_queue_handle_src_query):
3750 * gst/gstutils.c: (gst_element_query_position),
3751 (gst_element_query_duration), (gst_pad_query_position),
3752 (gst_pad_query_duration):
3754 Updates for query API change.
3755 Added some docs here and there.
3757 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3759 * check/gst/gstbin.c: (GST_START_TEST):
3760 * check/gst/gstghostpad.c: (GST_START_TEST):
3761 * check/pipelines/cleanup.c: (GST_START_TEST):
3762 wait on thread to die so we can check refcount correctly
3764 2005-10-18 Wim Taymans <wim@fluendo.com>
3766 * check/pipelines/stress.c: (GST_START_TEST):
3767 Make check a little more time consuming.
3769 2005-10-18 Wim Taymans <wim@fluendo.com>
3771 * check/Makefile.am:
3772 * check/pipelines/stress.c: (GST_START_TEST),
3773 (simple_launch_lines_suite), (main):
3774 Small state change torture test.
3776 * docs/design/part-states.txt:
3777 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3778 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3779 (gst_base_sink_change_state):
3780 Never take state lock from streaming thread, clean up ugly
3781 hacks. Unfortunatly core does not yet support nice ways to
3784 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3786 Start state recalc if a STATE_DIRTY message is posted, but only
3787 on the toplevel bin.
3789 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3790 (gst_element_get_state_func), (gst_element_abort_state),
3791 (gst_element_commit_state), (gst_element_lost_state),
3792 (gst_element_set_state_func), (gst_element_change_state):
3794 State variables are now protected with the LOCK, the state
3795 lock is only used to serialize _set_state().
3797 2005-10-18 Wim Taymans <wim@fluendo.com>
3799 * check/gst/gstbin.c: (GST_START_TEST):
3800 * check/gst/gstmessage.c: (GST_START_TEST):
3801 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3802 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3804 * gst/gstelement.c: (gst_element_abort_state),
3805 (gst_element_commit_state), (gst_element_lost_state):
3806 * gst/gstmessage.c: (gst_message_new_state_changed),
3807 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3808 (gst_message_new_segment_done), (gst_message_new_duration),
3809 (gst_message_parse_state_changed),
3810 (gst_message_parse_segment_start),
3811 (gst_message_parse_segment_done), (gst_message_parse_duration):
3813 * tools/gst-launch.c: (event_loop):
3814 Seriously, this is better than a previous commit as we only need
3815 to notify the fact that an element changed state in a streaming
3816 thread, marking the state of the parents dirty, hence the
3817 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3820 2005-10-18 Wim Taymans <wim@fluendo.com>
3822 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3823 (gst_bin_recalc_func):
3824 * gst/gstelement.c: (gst_element_set_clock),
3825 (gst_element_abort_state), (gst_element_lost_state):
3826 Cleanups, prepare for state change fixes.
3828 2005-10-18 Wim Taymans <wim@fluendo.com>
3831 * gst/gstelement.c: (gst_element_class_init),
3832 (gst_element_set_state), (gst_element_set_state_func):
3834 Pending ABI changes.
3835 GThreadPool in GstBinClass to monitor async state changes.
3836 state_cookie in GstElement to detect concurrent gst/set state.
3837 set_state is now virtual too in case a very complicated element
3838 has to be constructed.
3840 2005-10-18 Wim Taymans <wim@fluendo.com>
3842 * check/gst/gstbin.c: (GST_START_TEST):
3843 * check/gst/gstmessage.c: (GST_START_TEST):
3844 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3845 * gst/gstbin.c: (bin_bus_handler):
3846 * gst/gstelement.c: (gst_element_commit_state),
3847 (gst_element_lost_state):
3848 * gst/gstmessage.c: (gst_message_new_state_changed),
3849 (gst_message_new_segment_start), (gst_message_new_segment_done),
3850 (gst_message_new_duration), (gst_message_parse_state_changed),
3851 (gst_message_parse_segment_start),
3852 (gst_message_parse_segment_done), (gst_message_parse_duration):
3854 * tools/gst-launch.c: (event_loop):
3855 Make messages future proof.
3856 state-change gets a flag if it was a message comming from the
3858 segment-start/stop can also be specified in other formats.
3859 A message to notify an app that a pipeline changed playback
3861 Also fix a GstMessage leak in -launch
3863 2005-10-18 Andy Wingo <wingo@pobox.com>
3865 * gst/gstelement.c (gst_element_dispose): More helpful message.
3867 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3869 reviewed by: <delete if not using a buddy>
3871 * common/gtk-doc.mak:
3873 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3875 * gst/gstregistry.c: (gst_registry_scan_path_level):
3876 unref a plug-in we get that was already initialized
3878 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3880 * docs/gst/gstreamer-sections.txt:
3881 * docs/libs/gstreamer-libs-sections.txt:
3886 2005-10-17 Andy Wingo <wingo@pobox.com>
3888 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3891 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3893 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3895 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3896 (gst_element_get_state_func): Better debug message.
3897 (gst_element_commit_state): s/INFO/DEBUG/.
3898 (gst_element_lost_state, gst_element_change_state):
3900 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3901 (gst_message_new_custom): s/INFO/LOG/.
3903 2005-10-17 Michael Smith <msmith@fluendo.com>
3905 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3906 Check if end time is valid using end time, not start time.
3908 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3910 * check/gst-libs/controller.c: (GST_START_TEST),
3911 (gst_controller_suite):
3912 * libs/gst/controller/gstcontroller.c:
3913 (gst_controlled_property_set_interpolation_mode):
3914 * libs/gst/controller/gstcontroller.h:
3915 * libs/gst/controller/gstinterpolation.c:
3916 * testsuite/controller/.cvsignore:
3917 * testsuite/controller/Makefile.am:
3918 * testsuite/controller/interpolator.c:
3919 merge controller testsuites
3921 remove mem-chunk from docs
3923 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3925 * gst/gstmemchunk.c:
3926 * gst/gstmemchunk.h:
3927 * gst/gsttrashstack.c:
3928 * gst/gsttrashstack.h:
3929 out. get out. you're fired. to the Attic !
3931 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3933 * gst/gstcaps.c: (gst_caps_intersect):
3934 fix signedness issues in a (hopefully) correct way
3935 * gst/gstelement.c: (gst_element_pads_activate):
3937 * gst/gstobject.c: (gst_object_set_parent):
3940 2005-10-17 Julien MOUTTE <julien@moutte.net>
3942 * gst/gstvalue.h: Fix prototypes.
3944 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3946 * docs/gst/gstreamer-sections.txt:
3947 * gst/gst.c: (gst_version_string):
3949 * gst/gstversion.h.in:
3950 * win32/common/libgstreamer.def:
3951 add gst_version_string ()
3953 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3957 * gst/gst.c: (init_post):
3958 * win32/common/config.h.in:
3960 * gst/gstcaps.c: (gst_caps_intersect):
3961 use gint64, the range could be bigger than a guint
3963 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3966 document potential problem in 2038
3968 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3970 * gst/gstcaps.c: (gst_caps_intersect):
3971 Fix guint j diving under 0
3973 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3976 * win32/common/config.h:
3977 * win32/common/config.h.in:
3978 check for process.h, declares getpid() on Windows
3980 include process.h if we have it
3981 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3982 * gst/gstmemchunk.h:
3983 fix signedness issues
3984 * win32/common/libgstreamer.def:
3987 2005-10-16 Julien MOUTTE <julien@moutte.net>
3989 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3990 fix. Because of unsigned ints, caps intersection was going nuts and
3991 trying to access structures with G_MAXUINT index. That fixes
3992 videotestsrc ! ffmpegcolorspace ! fakesink
3993 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3996 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3999 use the gettext macro
4000 * gst/elements/gstelements.c:
4002 * gst/indexers/gstindexers.c:
4003 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4004 * win32/common/config.h:
4006 * win32/common/config.h.in:
4007 add the template to generate config.h
4008 * win32/common/gstenumtypes.c:
4009 * win32/common/gstversion.h:
4012 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4014 * gst/gst.c: (gst_version):
4015 * gst/gstversion.h.in:
4018 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4021 Oops, add missing closing bracket.
4023 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4026 use common m4's for argument checking
4028 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4030 * docs/gst/gstreamer-sections.txt:
4032 Add GST_EVENT_TYPE_NAME() macro.
4034 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4037 * gst/gstpluginfeature.c:
4039 privatize more symbols
4041 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4044 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4045 everything that uses GStreamer API should have the includes
4047 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4049 * docs/gst/gstreamer-sections.txt:
4050 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4052 give each value a _get_type, removes the DATA exports
4054 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4058 remove _gst_registry_auto_load, not used anymore
4059 * gst/gstbin.c: (gst_bin_get_type):
4061 * gst/gstelement.c: (gst_element_get_type):
4063 * gst/gstobject.c: (gst_object_get_type):
4065 * gst/gstpad.c: (gst_pad_get_type):
4067 make _get_type functions similar, fixes data export from library
4069 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4072 correctly make conditionals
4073 * gst/elements/Makefile.am:
4074 * gst/elements/gstelements.c:
4075 fix typo causing fdsrc not to build
4077 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4079 * testsuite/Makefile.am:
4080 * testsuite/bytestream/.cvsignore:
4081 * testsuite/bytestream/Makefile.am:
4082 * testsuite/bytestream/filepadsink.c:
4083 * testsuite/bytestream/gstbstest.c:
4084 * testsuite/bytestream/test1.c:
4085 * testsuite/bytestream/testfile1:
4086 * testsuite/caps/normalisation.c:
4087 * testsuite/caps/random.c: (main):
4088 * testsuite/cleanup/.cvsignore:
4089 * testsuite/cleanup/Makefile.am:
4090 * testsuite/cleanup/cleanup1.c:
4091 * testsuite/cleanup/cleanup2.c:
4092 * testsuite/cleanup/cleanup3.c:
4093 * testsuite/cleanup/cleanup4.c:
4094 * testsuite/cleanup/cleanup5.c:
4095 * testsuite/controller/interpolator.c:
4096 * testsuite/debug/printf_extension.c: (main):
4097 * testsuite/elements/tee.c:
4098 * testsuite/negotiation/.cvsignore:
4099 * testsuite/negotiation/Makefile.am:
4100 * testsuite/negotiation/pad_link.c:
4101 * testsuite/pad/Makefile.am:
4102 * testsuite/pad/chainnopull.c:
4103 * testsuite/pad/getnopush.c:
4104 * testsuite/pad/link.c:
4105 * testsuite/refcounting/sched.c: (create_pipeline):
4106 * testsuite/registry/Makefile.am:
4107 * testsuite/registry/gst-print-formats.c:
4108 * testsuite/schedulers/.cvsignore:
4109 * testsuite/schedulers/142183-2.c:
4110 * testsuite/schedulers/142183.c:
4111 * testsuite/schedulers/143777-2.c:
4112 * testsuite/schedulers/143777.c:
4113 * testsuite/schedulers/147713.c:
4114 * testsuite/schedulers/147819.c:
4115 * testsuite/schedulers/147894-2.c:
4116 * testsuite/schedulers/147894.c:
4117 * testsuite/schedulers/Makefile.am:
4118 * testsuite/schedulers/group_link.c:
4119 * testsuite/schedulers/queue_link.c:
4120 * testsuite/schedulers/relink.c:
4121 * testsuite/schedulers/unlink.c:
4122 * testsuite/schedulers/unref.c:
4123 * testsuite/schedulers/useless_iteration.c:
4124 * testsuite/states/bin.c:
4125 clean out/remove some stuff from the testsuite directories
4127 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4130 check for some headers
4131 * gst/elements/Makefile.am:
4132 * gst/elements/gstelements.c:
4133 don't compile fdsrc without sys/socket.h
4134 * gst/indexers/Makefile.am:
4135 * gst/indexers/gstindexers.c: (plugin_init):
4136 don't compile fileindex without mmap
4138 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4145 * check/Makefile.am:
4146 * docs/gst/Makefile.am:
4147 * examples/helloworld/Makefile.am:
4149 * gst/base/Makefile.am:
4150 * gst/check/Makefile.am:
4151 * gst/elements/Makefile.am:
4152 * gst/indexers/Makefile.am:
4153 * gst/parse/Makefile.am:
4154 * libs/gst/controller/Makefile.am:
4155 * libs/gst/dataprotocol/Makefile.am:
4156 * examples/helloworld/helloworld.c: (event_loop):
4157 compile fixes, though it's not being compiled currently
4159 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4161 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4162 Add some simple tests for the new taglist date API.
4164 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4166 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4167 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4168 Beautify 'last-message' output: print 'none' for buffer timestamps
4169 and durations if none is set; improve alignment with next messages.
4171 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4173 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4174 * gst/gstpluginfeature.h:
4175 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4176 * gst/gstregistry.h:
4177 * docs/gst/gstreamer-sections.txt:
4178 Add new API to check plugin feature version requirements.
4180 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4181 Some basic tests for the above.
4183 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4185 * gst/gststructure.c: (gst_structure_to_string):
4186 guard against NULL printf - happens when for example
4187 a message structure with GstClock gets serialized
4189 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4191 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4192 Fix presumable copy'n'pasto.
4194 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4196 * gst/elements/gstfakesrc.h:
4197 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4198 * gst/elements/gsttypefindelement.c:
4200 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4201 I wonder if this could actually write +2GB files before
4203 2005-10-13 Andy Wingo <wingo@pobox.com>
4205 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4206 Fix Timmeke Waymans bug.
4207 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4208 string of the proper length to gst_caps_from_string. There's a
4209 potential for, before this fix, that this could cause someone
4210 connecting over the network to cause a segfault if the payload is
4213 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4215 * docs/design/draft-push-pull.txt:
4216 * docs/design/part-overview.txt:
4217 * docs/random/TODO-pre-0.9:
4218 * docs/random/old/ChangeLog.gstreamer:
4219 * gst/base/gstpushsrc.c:
4223 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4225 * gst/glib-compat.c: (gst_flags_get_first_value):
4226 * gst/glib-compat.h:
4227 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4228 (gst_value_compare_double), (gst_value_serialize_flags):
4229 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4232 2005-10-13 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_get_range):
4237 * tools/gst-launch.c: (event_loop):
4238 print out clock nicely
4240 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4242 * docs/gst/gstreamer-sections.txt:
4244 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4245 (gst_tag_list_get_date_index):
4246 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4247 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4249 2005-10-13 Julien MOUTTE <julien@moutte.net>
4251 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4252 (gst_collectpads_chain):
4253 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4256 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4258 * docs/gst/gstreamer-sections.txt:
4261 * tools/gst-inspect.c: (main):
4262 * tools/gst-launch.c: (main):
4263 * tools/gst-run.c: (main):
4264 * tools/gst-xmlinspect.c: (main):
4265 fix GOption context leaks
4268 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4272 * win32/common/config.h:
4274 * win32/vs6/grammar.dsp:
4275 * win32/vs6/libgstelements.dsp:
4276 * win32/vs6/libgstreamer.dsp:
4279 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4282 * gst/base/gstbasesrc.c: (gst_base_src_query):
4283 fix more guint64<->gdouble conversions
4285 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4288 add win32-update target
4289 * win32/common/gstconfig.h:
4290 * win32/common/gstenumtypes.c:
4291 * win32/common/gstenumtypes.h:
4292 * win32/common/gstversion.h:
4293 add files that visual studio can't generate
4295 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4298 add a win32-update target
4301 2005-10-12 Wim Taymans <wim@fluendo.com>
4303 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4304 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4305 * gst/gstelement.c: (gst_element_commit_state),
4306 (gst_element_set_state):
4307 Protect flags with proper lock.
4308 unref provided cached clock in dispose.
4310 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4313 * gst/gstminiobject.h:
4315 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4316 removed unused flags from miniobject
4319 2005-10-12 Wim Taymans <wim@fluendo.com>
4321 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4322 (gst_file_sink_event), (gst_file_sink_render):
4323 Flush before seeking.
4325 2005-10-12 Andy Wingo <wingo@pobox.com>
4327 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4328 always been the case.
4330 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4332 * check/gst/gstbin.c: (GST_START_TEST):
4333 * docs/gst/gstreamer-sections.txt:
4334 * gst/base/gstbasesink.c: (gst_base_sink_init):
4335 * gst/base/gstbasesrc.c: (gst_base_src_init),
4336 (gst_base_src_get_range), (gst_base_src_check_get_range),
4337 (gst_base_src_start), (gst_base_src_stop):
4338 * gst/base/gstbasesrc.h:
4339 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4340 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4341 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4345 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4347 * gst/gstelement.c: (gst_element_is_locked_state),
4348 (gst_element_set_locked_state), (gst_element_commit_state),
4349 (gst_element_set_state):
4351 * gst/gstindex.c: (gst_index_init):
4353 * gst/gstminiobject.h:
4354 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4355 (gst_object_set_parent):
4357 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4358 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4360 * gst/gstpadtemplate.h:
4361 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4362 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4363 * gst/gstpipeline.h:
4364 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4365 (gst_file_index_commit):
4366 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4367 * testsuite/pad/link.c: (gst_test_src_init),
4368 (gst_test_filter_init), (gst_test_sink_init):
4369 * testsuite/states/locked.c: (main):
4370 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4371 moved bitshift from macro to enum definition
4373 2005-10-12 Wim Taymans <wim@fluendo.com>
4375 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4376 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4377 (gst_file_sink_render):
4378 Some more debugging info.
4380 2005-10-12 Wim Taymans <wim@fluendo.com>
4382 * docs/design/part-states.txt:
4383 * tools/gst-launch.c: (main):
4385 Revert non-intentional change.
4387 2005-10-12 Wim Taymans <wim@fluendo.com>
4389 * check/gst/gstbin.c: (GST_START_TEST):
4390 * check/gst/gstelement.c: (GST_START_TEST):
4391 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4392 * check/gst/gstghostpad.c: (GST_START_TEST):
4393 * check/gst/gstpipeline.c: (GST_START_TEST):
4394 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4395 * check/states/sinks.c: (GST_START_TEST):
4396 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4397 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4398 (gst_bin_remove_func), (gst_bin_get_state_func),
4399 (gst_bin_recalc_state), (gst_bin_change_state_func),
4401 * gst/gstelement.c: (gst_element_get_state_func),
4402 (gst_element_get_state), (gst_element_abort_state),
4403 (gst_element_commit_state), (gst_element_set_state),
4404 (gst_element_change_state), (gst_element_change_state_func):
4406 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4407 (gst_pipeline_provide_clock_func):
4408 * gst/gstutils.c: (gst_element_link_pads_filtered):
4409 * tools/gst-launch.c: (main):
4410 * tools/gst-typefind.c: (main):
4411 Use GstClockTime in _get_state() instead of GTimeVal.
4412 Remove old code in gstutils.c
4414 2005-10-12 Andy Wingo <wingo@pobox.com>
4416 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4419 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4420 there is no task. Shouldn't affect any code, as nothing in our
4421 plugins checks this return value.
4422 (gst_pad_stop_task): Also take the stream lock if the pad has no
4425 2005-10-12 Wim Taymans <wim@fluendo.com>
4427 * gst/gstpad.c: (pre_activate), (post_activate),
4428 (gst_pad_activate_pull), (gst_pad_activate_push):
4429 Cleanup activation code. Reset old state if
4432 2005-10-12 Wim Taymans <wim@fluendo.com>
4434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4435 (gst_base_sink_change_state):
4436 No need to prerol after receiving EOS.
4438 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4439 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4440 * gst/elements/gstidentity.c: (gst_identity_event):
4441 Print events more verbosely.
4443 2005-10-12 Wim Taymans <wim@fluendo.com>
4445 * check/Makefile.am:
4446 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4447 * check/states/sinks2.c:
4448 Moved sinks2 testcode in sinks check.
4450 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4451 (gst_bin_remove_func), (gst_bin_recalc_state),
4452 (gst_bin_change_state_func), (bin_bus_handler):
4453 Fix potential race condition when _get_state() iterated over an
4454 ASYNC element right before it posted a state completion.
4457 Do proper cast here.
4459 * gst/gstevent.c: (gst_event_new_newsegment),
4460 (gst_event_parse_newsegment):
4461 A playback rate of 0.0 is not allowed.
4463 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4465 * win32/common/config.h:
4466 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4467 (_trewinddir), (_ttelldir), (_tseekdir):
4468 * win32/common/dirent.h:
4469 * win32/common/gtchar.h:
4470 * win32/common/libgstbase.def:
4471 * win32/common/libgstreamer.def:
4472 * win32/vs6/grammar.dsp:
4473 * win32/vs6/gst_inspect.dsp:
4474 * win32/vs6/gst_launch.dsp:
4475 * win32/vs6/gstreamer.dsw:
4476 * win32/vs6/libgstbase.dsp:
4477 * win32/vs6/libgstelements.dsp:
4478 * win32/vs6/libgstreamer.dsp:
4479 Visual Studio 6 project files, and a new common directory.
4482 2005-10-11 Wim Taymans <wim@fluendo.com>
4484 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4485 (gst_base_sink_do_sync), (gst_base_sink_query),
4486 (gst_base_sink_change_state):
4487 * gst/base/gstbasesink.h:
4488 Correctly parse newsegment info.
4490 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4492 * gst/gst.c: (init_post):
4493 split plugin paths correctly
4495 2005-10-11 Wim Taymans <wim@fluendo.com>
4497 * check/gst/gstevent.c: (GST_START_TEST):
4498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4499 (gst_base_sink_change_state):
4500 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4501 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4502 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4503 * gst/gstevent.c: (gst_event_new_newsegment),
4504 (gst_event_parse_newsegment):
4506 Added extra flag to newsegment for future API freeze.
4507 Updated check and base elements.
4509 2005-10-11 Julien MOUTTE <julien@moutte.net>
4511 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4512 (gst_collectpads_add_pad), (gst_collectpads_pop),
4513 (gst_collectpads_event), (gst_collectpads_chain):
4514 * gst/base/gstcollectpads.h: Handle EOS correctly.
4516 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4518 * tools/gst-launch.c: (main):
4519 more null protecting
4521 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4523 * gst/gst-i18n-lib.h:
4524 check for ENABLE_NLS, not GETTEXT_PACKAGE
4525 * gst/gstregistry.c: (gst_registry_add_plugin),
4526 (gst_registry_scan_path_level),
4527 (_gst_registry_remove_cache_plugins):
4528 protect possibly NULL strings
4529 * gst/parse/types.h:
4530 config.h already included before
4531 * tools/gst-inspect.c: (main):
4532 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4533 check for ENABLE_NLS, not GETTEXT_PACKAGE
4534 * tools/gst-launch.c: (main):
4535 check for ENABLE_NLS, not GETTEXT_PACKAGE
4537 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4540 if we don't have glib, fail before testing 2.8
4541 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4542 fix a leak, should fix plugins-base testsuite
4544 2005-10-11 Andy Wingo <wingo@pobox.com>
4546 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4547 take the mode we're going to as an arg. Go head and set the mode
4548 and flushing flags now, so that if the activate function starts a
4549 thread all the flags will be in the right state.
4550 (post_activate): Renamed also. Just handle making sure streaming
4551 finishes for the deactivation case, and setting the deactivated
4553 (gst_pad_set_active): Complain loudly if deactivation fails.
4554 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4555 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4556 remove the terrible hack.
4558 2005-10-11 Wim Taymans <wim@fluendo.com>
4560 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4561 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4562 (gst_bin_recalc_state), (gst_bin_change_state_func),
4563 (gst_bin_dispose), (bin_bus_handler):
4565 Prepare to make current EOS message queue more generic.
4568 * gst/gstevent.c: (gst_event_new_newsegment),
4569 (gst_event_parse_newsegment):
4571 Rename base to stream_time.
4576 2005-10-11 Wim Taymans <wim@fluendo.com>
4578 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4579 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4580 (gst_bin_change_state_func), (bin_bus_handler):
4582 Work on proper clock selection.
4584 2005-10-11 Edward Hervey <edward@fluendo.com>
4586 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4587 * libs/gst/controller/gstcontroller.h:
4588 Added GList* version of _remove_properties() in order to be able to wrap
4591 2005-10-11 Wim Taymans <wim@fluendo.com>
4593 * docs/design/part-states.txt:
4596 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4597 (gst_bin_change_state_func), (bin_bus_handler):
4598 Doc updates. Don't distribute the same clock over and over again.
4604 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4605 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4606 (gst_pad_send_event):
4608 Make probe emission threadsafe again.
4609 Register quarks and move _get_name() from utils.
4612 * gst/gstpipeline.c: (gst_pipeline_class_init),
4613 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4614 Only redistribute the clock of it changed.
4616 * gst/gstsystemclock.h:
4621 Moved the _flow_get_name() to GstPad.
4623 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4625 * check/gst-libs/gdp.c: (GST_START_TEST):
4626 * check/gst/gstcaps.c: (GST_START_TEST):
4627 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4628 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4629 (gst_dp_packet_from_caps):
4630 fix more valgrind warnings before turning up the heat
4632 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4634 * gst/parse/grammar.y:
4635 some cleanup before the hacking
4637 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4639 * gst/base/gstbasesrc.c: (gst_base_src_query):
4641 * gst/gstutils.c: (gst_guint64_to_gdouble),
4642 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4644 externalize, basesrc uses it
4645 obviously the implementation needs testing
4647 2005-10-10 Wim Taymans <wim@fluendo.com>
4649 * tests/sched/Makefile.am:
4650 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4651 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4653 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4655 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4656 apparently converting from guint64 to double is not implemented
4659 2005-10-10 Wim Taymans <wim@fluendo.com>
4661 * check/Makefile.am:
4662 * check/generic/states.c: (GST_START_TEST):
4663 * check/gst/gstbin.c: (GST_START_TEST):
4664 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4665 * check/states/sinks.c: (GST_START_TEST):
4666 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4668 Check fixes, use API as stated in design docs, remove hacks.
4670 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4671 (gst_base_sink_change_state):
4672 Catch stopping our task while we're shutting down.
4674 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4675 (gst_bin_remove_func), (gst_bin_get_state_func),
4676 (gst_bin_recalc_state), (gst_bin_change_state_func),
4679 * gst/gstelement.c: (gst_element_init),
4680 (gst_element_get_state_func), (gst_element_abort_state),
4681 (gst_element_commit_state), (gst_element_lost_state),
4682 (gst_element_set_state), (gst_element_change_state),
4683 (gst_element_change_state_func):
4685 New state change algorithm (see #318116)
4687 * gst/gstpipeline.c: (gst_pipeline_class_init),
4688 (gst_pipeline_init), (gst_pipeline_set_property),
4689 (gst_pipeline_get_property), (do_pipeline_seek),
4690 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4691 * gst/gstpipeline.h:
4692 Remove crude state change hacks.
4697 * tools/gst-launch.c: (main):
4698 Fixes for state change. Needs some more work to fully use the
4701 2005-10-10 Andy Wingo <wingo@pobox.com>
4703 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4705 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4706 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4709 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4711 * gst/gstiterator.c: (gst_iterator_new):
4712 Fix my previous commit: GTypes passed to gst_iterator_new()
4713 can be fundamental types.
4715 2005-10-10 Wim Taymans <wim@fluendo.com>
4717 * gst/gstelement.c: (gst_element_iterate_pad_list),
4718 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4719 (gst_element_iterate_sink_pads):
4720 Use src/sink pads lists for the respective iterators instead
4723 2005-10-10 Andy Wingo <wingo@pobox.com>
4725 Merged in popt removal + GOption addition patch from Ronald, bug
4728 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4729 GstElement macros around, remove popt-related symbols, add goption
4732 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4734 * docs/gst/Makefile.am:
4735 * docs/libs/Makefile.am: No POPT_CFLAGS.
4737 * examples/manual/Makefile.am:
4738 * docs/manual/basics-init.xml: Doc updates with an example.
4740 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4741 (gst_init), (parse_one_option), (parse_goption_arg):
4742 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4743 bit of hand merging and debugging to get the GOption stuff working
4746 * tests/Makefile.am:
4747 * tools/Makefile.am:
4748 * tools/gst-inspect.c: (main):
4749 * tools/gst-launch.c: (main):
4750 * tools/gst-run.c: (main):
4751 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4753 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4755 * gst/gstiterator.c: (gst_iterator_new):
4756 Add assertions to make sure passed GType is likely to really
4757 be a GType (as the compiler won't catch it if the size and
4758 GType arguments get mixed up, see #318447).
4760 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4762 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4764 * gst/gstbin.c: (gst_bin_iterate_sorted):
4765 Pass GType and size arguments to gst_iterator_new() in the right
4766 order (maybe we should make _new() take the GType as first argument
4767 just like _new_list()?) (#318447).
4770 2005-10-10 Wim Taymans <wim@fluendo.com>
4772 * gst/gstelement.c: (gst_element_finalize):
4773 And free the GStaticRecMutex too
4775 2005-10-10 Andy Wingo <wingo@pobox.com>
4777 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4778 Allocate and free the mutex properly.
4780 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4782 (GstElement): The state_lock is now recursive. Rebuild your
4783 plugins, suckers. Old macros adapted.
4785 * docs/gst/gstreamer-sections.txt: Doc updates.
4788 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4789 (g_static_rec_cond_wait): Ported from state changes patch, while
4790 we wait on bug #317802 to be solved in a well-distributed GLib.
4792 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4793 gst_element_change_state, variable name changes.
4794 (gst_element_change_state): Split out of gst_element_set_state in
4795 preparation for the state change merge. Doesn't pay attention to
4796 the 'transition' argument.
4797 (gst_element_set_state): Updates, hopefully purely cosmetic.
4798 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4800 (gst_element_get_state_func): Renamed from get_state, cosmetic
4803 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4805 * gst/elements/gstelements.c:
4806 * win32/GStreamer.vcproj:
4808 * win32/dirent.c: (_tseekdir):
4809 * win32/gst-inspect.vcproj:
4810 * win32/gst-launch.vcproj:
4811 * win32/gstconfig.h:
4812 * win32/gstelements.vcproj:
4813 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4814 * win32/gstreamer.def:
4816 updates for the win32 build (patch from Sebastien Moutte)
4818 2005-10-10 Andy Wingo <wingo@pobox.com>
4820 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4821 gst_bin_get_state, cleaned up (but no logic changes).
4822 (bin_element_is_sink): Comment updates.
4823 (sink_iterator_filter): Remove needless cast.
4824 (gst_bin_iterate_sinks): Doc update.
4825 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4826 cleaned up (but no logic changes).
4828 * check/states/sinks.c (test_src_sink): Cleanups from the state
4830 (test_livesrc_sink): Sync on the state.
4832 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4833 the state change patch.
4835 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4838 * check/gst/gstbin.c: Merge in some style fixes and additional
4839 checks from Wim's state change patch.
4841 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4843 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4844 (gst_type_find_helper):
4845 Check whether we have the requested data already in our list of
4846 cached buffers before pulling a new buffer; also make the buffer
4847 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4849 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4854 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4855 don't use long long, it's not portable. Replacing with
4856 gint64 seems to work; let's hope no skeletons fall out of the closet.
4858 2005-10-10 Andy Wingo <wingo@pobox.com>
4860 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4862 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4864 * docs/gst/gstreamer-sections.txt:
4869 * gst/gstmessage.c: (gst_message_parse_state_changed):
4872 more docs, fix compilation
4874 2005-10-09 Philippe Khalaf <burger@speedy.org>
4876 Fixed a few forgotten variables on previous commit
4878 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4880 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4881 Fix evil typefind crasher: getrange() might return a short
4882 buffer at the end of a file, but gst_type_find_peek() must
4883 either return the full data as requested or NULL, but
4884 never a short buffer.
4886 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4888 * gst/gstmessage.c: (gst_message_new_state_changed),
4889 (gst_message_parse_state_changed):
4891 don't use "new", it's a C++ keyword
4893 2005-10-08 Wim Taymans <wim@fluendo.com>
4895 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4896 * gst/gstelement.c: (gst_element_post_message):
4897 * gst/gstpipeline.c: (gst_pipeline_change_state):
4898 Small docs and debug updates.
4900 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4902 * docs/gst/gstreamer-sections.txt:
4903 * gst/gstelementfactory.c:
4908 2005-10-08 Wim Taymans <wim@fluendo.com>
4910 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4911 (gst_bin_dispose), (bin_bus_handler):
4912 Fix typos, add comments.
4913 Clear EOS list when going to PAUSED from any direction and do it
4914 in a threadsafe way.
4915 Get base time in a threadsafe way too.
4916 Fix confusing debug in the change_state function.
4917 Various other small cleanups.
4919 * gst/gstelement.c: (gst_element_post_message):
4920 Fix very verbose bus posting code.
4922 * gst/gstpipeline.c: (gst_pipeline_class_init),
4923 (gst_pipeline_set_property), (gst_pipeline_get_property),
4924 (gst_pipeline_change_state):
4925 Small ARG_ -> PROP_ cleanup
4927 2005-10-08 Wim Taymans <wim@fluendo.com>
4929 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4930 Do a less CPU demanding EOS check because we can.
4932 2005-10-08 Wim Taymans <wim@fluendo.com>
4934 * libs/gst/dataprotocol/dataprotocol.c:
4935 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4936 (gst_dp_packet_from_event):
4937 * libs/gst/dataprotocol/dataprotocol.h:
4938 * libs/gst/dataprotocol/dp-private.h:
4939 It's about time we bump the version number.
4940 Since event types don't fit in the guint8 anymore describing
4941 the payload type, make payload type 16 bits wide.
4943 2005-10-08 Wim Taymans <wim@fluendo.com>
4945 * docs/design/part-TODO.txt:
4946 * docs/design/part-clocks.txt:
4947 * docs/design/part-events.txt:
4948 * docs/design/part-gstbin.txt:
4949 * docs/design/part-gstelement.txt:
4950 * docs/design/part-gstpipeline.txt:
4951 * docs/design/part-live-source.txt:
4952 * docs/design/part-messages.txt:
4953 * docs/design/part-overview.txt:
4954 * docs/design/part-states.txt:
4957 2005-10-08 Wim Taymans <wim@fluendo.com>
4961 Fix event quark registration.
4962 Add some space between events so we can insert them in the
4965 2005-10-08 Wim Taymans <wim@fluendo.com>
4967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4968 (gst_base_sink_handle_buffer):
4975 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4976 (gst_queue_set_property), (gst_queue_get_property):
4978 Remove old unused properties.
4980 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4981 * docs/gst/gstreamer-sections.txt:
4984 * gst/gstminiobject.c:
4985 * gst/gstminiobject.h:
4989 lots of new docs and doc fixes
4991 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4993 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4995 * gst/gstregistry.c: (gst_registry_lookup_locked),
4996 (gst_registry_scan_path_level):
4997 * gst/gstregistryxml.c: (load_plugin):
4998 Only ever load one plugin for a given plugin basename.
4999 This ensures correct overriding of GST_PLUGIN_PATH over
5000 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5001 system installed plugins.
5003 2005-10-08 Wim Taymans <wim@fluendo.com>
5005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5006 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5007 Prepare for doing QOS.
5009 2005-10-08 Wim Taymans <wim@fluendo.com>
5011 * check/gst/gstbin.c: (GST_START_TEST):
5012 * check/pipelines/cleanup.c: (GST_START_TEST):
5013 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5014 Allow new clock message too.
5016 2005-10-08 Wim Taymans <wim@fluendo.com>
5018 * gst/gstmessage.c: (gst_message_new_error),
5019 (gst_message_new_warning), (gst_message_new_tag),
5020 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5021 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5022 (gst_message_new_segment_start), (gst_message_new_segment_done),
5023 (gst_message_parse_state_changed),
5024 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5025 (gst_message_parse_new_clock):
5027 Also carry the clock in question.
5029 2005-10-08 Wim Taymans <wim@fluendo.com>
5031 * gst/gstmessage.c: (gst_message_new_custom),
5032 (gst_message_new_eos), (gst_message_new_error),
5033 (gst_message_new_warning), (gst_message_new_tag),
5034 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5035 (gst_message_new_new_clock), (gst_message_new_segment_start),
5036 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5037 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5040 Added clock related messages.
5042 * gst/gstpipeline.c: (gst_pipeline_change_state):
5043 Post message when the clock changed.
5045 * tools/gst-launch.c: (event_loop):
5048 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5050 * tools/gst-inspect.c: (print_element_properties_info):
5051 Can't pass NULL strings to g_print() on windows.
5053 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5056 * docs/gst/Makefile.am:
5057 * docs/gst/gstreamer-docs.sgml:
5058 * docs/gst/running.xml:
5059 * docs/version.entities.in:
5060 add a chapter on running GStreamer.
5061 document GST_DEBUG and GST_PLUGIN* env vars
5063 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5068 remove PLUGINS_BUILDDIR stuff
5069 * gst/gst.c: (init_post):
5070 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5072 remove, it was condescending and not needed
5074 2005-10-08 Wim Taymans <wim@fluendo.com>
5076 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5077 (gst_base_sink_handle_object), (gst_base_sink_event),
5078 (gst_base_sink_wait), (gst_base_sink_handle_event),
5079 (gst_base_sink_change_state):
5080 * gst/base/gstbasesink.h:
5081 Repost EOS message while going to PLAYING if still EOS.
5082 Make sure that when receiving a FLUSH_START we don't attempt
5083 to sync on the clock anymore.
5085 2005-10-08 Wim Taymans <wim@fluendo.com>
5087 * tools/gst-launch.c: (event_loop):
5088 Better message printout.
5090 2005-10-08 Wim Taymans <wim@fluendo.com>
5092 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5093 (gst_bin_child_proxy_get_children_count):
5094 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5095 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5096 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5097 (gst_child_proxy_set_valist):
5098 * gst/parse/grammar.y:
5099 Make ChildProxy threadsafe and fix mem leaks.
5101 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5103 * gst/gst.c: (init_post):
5104 debug the GST_PLUGIN_ env vars
5106 2005-10-08 Wim Taymans <wim@fluendo.com>
5108 * check/gst/gstbin.c: (GST_START_TEST):
5109 * check/gst/gstmessage.c: (GST_START_TEST):
5110 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5111 * gst/gstelement.c: (gst_element_commit_state),
5112 (gst_element_lost_state):
5113 * gst/gstmessage.c: (gst_message_new_state_changed),
5114 (gst_message_parse_state_changed):
5116 * tools/gst-launch.c: (event_loop):
5117 Added extra field to STATE_CHANGE message with the pending
5118 state, which will be different from the new state soon.
5120 2005-10-08 Wim Taymans <wim@fluendo.com>
5122 * gst/gstbus.c: (gst_bus_pop):
5124 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5125 Small cleanups and doc updates.
5127 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5129 * gst/gst.c: (init_pre):
5130 * gst/gstbin.c: (gst_bin_add_func):
5131 log distributing clocks and base time
5132 * gst/gstregistry.c: (gst_registry_add_plugin),
5133 (gst_registry_scan_path_level), (gst_registry_scan_path):
5134 clean up the debugging output a little
5135 * gst/gstutils.c: (gst_element_state_get_name):
5136 warn about a memleak (I've actually seen this be used, though
5137 it was probably a bug)
5139 2005-10-07 Wim Taymans <wim@fluendo.com>
5141 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5142 (gst_base_src_init), (gst_base_src_default_newsegment),
5143 (gst_base_src_newsegment), (gst_base_src_do_seek),
5144 (gst_base_src_loop), (gst_base_src_start):
5145 * gst/base/gstbasesrc.h:
5146 Make the newsegment event customizable by subclasses.
5148 2005-10-07 Wim Taymans <wim@fluendo.com>
5150 * gst/gstevent.c: (gst_event_new_buffersize),
5151 (gst_event_parse_buffersize):
5153 New event for future idea.
5155 2005-10-07 Andy Wingo <wingo@pobox.com>
5157 * gst/gstelement.c (gst_element_post_message): Doc update.
5159 * docs/gst/gstreamer-sections.txt: Update.
5161 * gst/gstmessage.c (gst_message_new_application): Made into a
5162 function like honest API calls.
5163 (gst_message_new_element): New message type.
5165 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5167 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5168 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5171 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5172 NO_PREROLL from gst_element_change_state to fall through.
5174 2005-10-07 Wim Taymans <wim@fluendo.com>
5176 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5177 (gst_ghost_pad_do_activate_push):
5178 Activating a ghostpad with no internal pad in push mode
5181 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5184 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5185 Fixes compilation on Windows.
5187 2005-10-07 Michael Smith <msmith@fluendo.com>
5189 * tools/gst-inspect.c:
5190 Print out feature and plugin count at the end when printing out
5193 2005-10-04 Michael Smith <msmith@fluendo.com>
5195 * gst/gsterror.c: (_gst_stream_errors_init):
5196 Add another error string used in a few existing plugins.
5199 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5200 * tools/gst-inspect.c: (print_element_info):
5201 When a feature disappears from a plugin (and the feature exists in
5202 the cached registry file), things went horribly wrong. This isn't a
5203 complete fix, we should actually be removing the 'missing' features
5204 from the features list when we load the actual plugin. That's not
5207 2005-10-04 Johan Dahlin <johan@gnome.org>
5209 * check/gst/gstiterator.c: (GST_START_TEST):
5210 * gst/gstbin.c: (gst_bin_iterate_elements),
5211 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5212 * gst/gstelement.c: (gst_element_iterate_pads):
5213 * gst/gstformat.c: (gst_format_iterate_definitions):
5214 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5215 (gst_iterator_new_list), (gst_iterator_filter):
5216 * gst/gstiterator.h:
5217 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5218 Add a GType to GstIterator, update callsites and tests.
5220 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5222 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5223 give events a chance to be handled by event probes when the pad
5226 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5228 * gst/gstevent.c: (gst_event_type_get_name),
5229 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5231 add string representations for event types
5233 2005-10-06 Wim Taymans <wim@fluendo.com>
5235 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5236 Don't use NULL pointers.
5238 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5240 * gst/gst_private.h:
5244 * gst/gstpluginfeature.c:
5245 widen the debug category in output to fit the biggest one we have
5246 add a bus category and use it
5247 play with the colors
5248 fix up some categories
5250 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5252 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5253 add push activation of sink ghost pads.
5254 Andye, please verify
5256 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5258 * gst/gstutils.c: (gst_element_link_pads):
5259 fix a bug in the case where neither element has a pad
5260 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5261 add a test for that case
5263 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5265 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5266 emit have-data before checking for peers. This allows
5267 for probe handlers to connect elements. This helps autopluggers.
5268 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5270 add six checks, linked/unlinked with no/true/false probe
5272 2005-10-04 Wim Taymans <wim@fluendo.com>
5274 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5275 (gst_fake_sink_event), (gst_fake_sink_preroll),
5276 (gst_fake_sink_render), (gst_fake_sink_change_state):
5277 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5278 (gst_fake_src_get_property), (gst_fake_src_create),
5279 (gst_fake_src_stop):
5280 * gst/elements/gstidentity.c: (gst_identity_stop):
5281 Protect last_message with lock.
5283 2005-10-04 Edward Hervey <edward@fluendo.com>
5286 Added precision in the comments for GST_FORMAT_DEFAULT
5288 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5290 * tools/gst-launch.c: (main):
5291 Don't try to run erroneous pipelines.
5293 2005-10-04 Julien MOUTTE <julien@moutte.net>
5295 * gst/gstbus.c: We don't need this header.
5297 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5302 === release 0.9.3 ===
5304 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5308 Releasing 0.9.3, "Unregistered"
5310 2005-10-03 Andy Wingo <wingo@pobox.com>
5312 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5313 whereby calling a pad's activatepush() function can start a thread
5314 that starts to push or pull before the pad gets the FLUSHING flag
5315 unset. Hack around it by holding the stream lock until the flag is
5316 set. Need to replace this with a proper solution. Together with
5317 the ghost pad fixes, this fixes mp3 playing/tagreading.
5319 * docs/design/part-gstghostpad.txt: Add a note about activation of
5320 proxy pads outside of ghost pads.
5322 * gst/gstghostpad.c: Implement the ghost pad activation design.
5324 2005-10-02 Andy Wingo <wingo@pobox.com>
5326 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5327 It is volatile, after all.
5329 * docs/design/part-gstghostpad.txt: Flesh out activation with
5332 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5335 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5338 Fix (unused) AM_CONDITIONAL tests.
5340 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5342 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5344 * gst/gstutils.c: (gst_pad_query_convert):
5345 Add assertion that makes sure src_val is >=0, just like
5346 gst_query_new_convert() has. (#315895)
5348 2005-09-30 Edward Hervey <edward@fluendo.com>
5350 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5351 Let's not iterate pads we're not interested in, it avoids getting
5352 sky-high refcounts on sinkpad.
5354 2005-09-30 Wim Taymans <wim@fluendo.com>
5356 * gst/gstelement.c: (gst_element_set_state),
5357 (gst_element_change_state):
5358 Small tweak, element in ASYNC remains ASYNC.
5360 2005-09-30 Wim Taymans <wim@fluendo.com>
5362 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5363 Only error is an error.
5365 * gst/gstbin.c: (gst_bin_change_state):
5368 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5369 Also call pad_block in pad alloc.
5371 * gst/gstutils.c: (gst_flow_get_name):
5374 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5376 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5377 (gst_base_src_get_range):
5378 Fix documentation typos. Add some more debug info.
5380 2005-09-29 David Schleef <ds@schleef.org>
5382 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5383 more end-user friendly.
5384 * tools/gst-inspect.c: (main): Check if command-line argument is
5385 a file and attempt to load that file as a plugin.
5387 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5389 * check/gst/gstbin.c:
5390 * check/states/sinks.c:
5391 fix tests for the new warning
5392 * check/gst/gstpipeline.c:
5393 add a test for pipeline and bus interaction
5395 elements should be NULL if they get disposed; add a warning if not
5397 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5400 for 2.6 refcounting, make debug log more correct by printing
5401 the actual refcounts at the time of swap (Wim)
5403 2005-09-29 Andy Wingo <wingo@pobox.com>
5405 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5406 removes signal watches previously added via
5407 gst_bus_add_signal_watch.
5408 (gst_bus_add_signal_watch): Don't return the source id, just store
5409 it on the bus if there wasn't an id already.
5411 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5412 add_signal_watch and remove_signal_watch.
5414 2005-09-29 Edward Hervey <edward@fluendo.com>
5416 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5417 Better if we actually iterate the list :)
5419 2005-09-29 Wim Taymans <wim@fluendo.com>
5421 * check/gst/gstbin.c: (GST_START_TEST):
5422 Change for new bus API.
5424 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5425 (send_messages), (GST_START_TEST), (gstbus_suite):
5426 Change for new bus signal API.
5428 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5429 (gst_bus_source_prepare), (gst_bus_source_check),
5430 (gst_bus_create_watch), (gst_bus_add_watch_full),
5431 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5432 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5434 Remove support for multiple GSources operating on different
5435 message types as it is too complex and unneeded when using
5437 Added support for receiving signals from the bus.
5439 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5441 * docs/libs/tmpl/gstdataprotocol.sgml:
5442 * docs/manual/advanced-dataaccess.xml:
5443 * gst/elements/gstcapsfilter.c:
5445 rename filter-caps to caps property
5447 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5449 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5450 More robust fraction string parsing.
5452 * docs/pwg/appendix-porting.xml:
5453 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5455 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5457 * gst/gstcaps.c: (gst_caps_do_simplify):
5458 Thou shalt not free a structure and then continue using it
5459 in the next loop iteration.
5461 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5463 Add test case for caps simplification.
5465 2005-09-29 Wim Taymans <wim@fluendo.com>
5467 * check/gst/gstbin.c: (GST_START_TEST):
5470 2005-09-29 Wim Taymans <wim@fluendo.com>
5472 * check/gst/gstbin.c: (GST_START_TEST):
5475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5476 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5477 (find_element), (gst_bin_sort_iterator_next),
5478 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5479 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5480 (gst_bin_change_state), (gst_bin_dispose):
5481 A bin does not have a bus, it gets the bus from the parent.
5483 * gst/gstelement.c: (gst_element_requires_clock),
5484 (gst_element_provides_clock), (gst_element_is_indexable),
5485 (gst_element_is_locked_state), (gst_element_change_state),
5486 (gst_element_set_bus_func):
5489 * gst/gstpipeline.c: (gst_pipeline_class_init),
5490 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5491 The pipeline provides a bus.
5493 2005-09-28 Johan Dahlin <johan@gnome.org>
5495 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5496 gst_structure_get_enum instead of gst_structure_get_int
5498 * gst/gststructure.c (gst_structure_get_enum): Impl.
5500 * gst/gststructure.h (gst_structure_get_enum): Add
5502 * docs/gst/gstreamer-sections.txt: Ditto
5504 * gst/gstmessage.c (gst_message_new_state_changed): Use
5505 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5506 which does introspection.
5507 Reviewed by Christian Schaller
5509 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5511 * gst/gstinfo.c: (gst_debug_log_default):
5512 don't do dummy g_strdup()s
5513 * libs/gst/controller/gstcontroller.c:
5514 (on_object_controlled_property_changed),
5515 (gst_controlled_property_new), (gst_controller_new_valist),
5516 (gst_controller_new_list),
5517 (gst_controller_remove_properties_valist), (gst_controller_set),
5518 (gst_controller_get), (gst_controller_sync_values),
5519 (gst_controller_get_value_array), (_gst_controller_class_init),
5520 (gst_controller_get_type):
5521 * libs/gst/controller/gstcontroller.h:
5522 * libs/gst/controller/gstinterpolation.c:
5523 (gst_controlled_property_find_timed_value_node):
5524 convert // to /**/ comments
5526 2005-09-28 Wim Taymans <wim@fluendo.com>
5528 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5529 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5530 (gst_bus_sync_signal_handler):
5532 Added async-message and sync-message signals to the bus.
5533 Added helper BusFunc to emit signals for all posted messages.
5535 * gst/gstmessage.c: (gst_message_type_get_name),
5536 (gst_message_type_to_quark), (gst_message_get_type):
5538 Register quarks for message names.
5540 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5542 * docs/libs/gstreamer-libs-sections.txt:
5543 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5544 (gst_controller_new_list):
5545 * libs/gst/controller/gstcontroller.h:
5546 added another constructor for language bindings
5548 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5550 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5554 * gst/gstinfo.c: (_gst_debug_init):
5555 slightly more readable color for refcount debugging
5557 2005-09-28 Wim Taymans <wim@fluendo.com>
5559 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5560 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5561 (find_element), (gst_bin_sort_iterator_next),
5562 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5563 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5564 (gst_bin_change_state), (gst_bin_dispose):
5565 Small doc fixes. get_clock -> provide_clock.
5567 * gst/gstelement.c: (gst_element_class_init),
5568 (gst_element_provides_clock), (gst_element_provide_clock),
5569 (gst_element_get_clock), (gst_element_commit_state),
5570 (gst_element_lost_state):
5572 Make get/set_clock() symetric. Add provide_clock vmethod since
5573 that is actually what this function does.
5575 * gst/gstpipeline.c: (gst_pipeline_class_init),
5576 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5577 (gst_pipeline_get_clock):
5578 get_clock -> provide_clock.
5580 2005-09-28 Andy Wingo <wingo@pobox.com>
5582 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5583 lieu of real docs...
5585 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5587 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5589 * gst/elements/gstcapsfilter.c:
5590 * gst/elements/gstfakesink.c:
5591 * gst/elements/gstfakesrc.c:
5592 * gst/elements/gstfdsink.c:
5593 * gst/elements/gstfdsrc.c:
5594 * gst/elements/gstfilesink.c:
5595 * gst/elements/gstfilesrc.c:
5596 * gst/elements/gstidentity.c:
5597 * gst/elements/gsttee.c:
5598 * gst/elements/gsttypefindelement.c:
5599 Make element details static.
5601 2005-09-28 Wim Taymans <wim@fluendo.com>
5603 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5604 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5605 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5606 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5607 (gst_bin_change_state), (gst_bin_dispose):
5608 Some documentation updates.
5609 Clean up dispose handlers.
5611 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5612 * gst/gstpad.c: (gst_pad_dispose):
5613 Clean up dispose handler.
5615 * gst/gstpipeline.c: (gst_pipeline_change_state):
5616 Removed spurious UNLOCK.
5618 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5620 * docs/gst/gstreamer-sections.txt:
5621 * gst/base/gstbasesrc.h:
5626 * gst/gstpipeline.c:
5627 * gst/gstpipeline.h:
5630 added two new functions to the docs
5631 documents all undocumented GstXXXFlags
5632 completed some incomplete docs
5634 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5636 * gst/gstbin.c: (gst_bin_dispose):
5637 * gst/gstelement.c: (gst_element_dispose):
5638 remove now useless and leaky resurrection code in dispose
5639 * gst/base/gstbasesrc.c: (gst_base_src_init):
5640 * gst/gstelementfactory.c: (gst_element_factory_create):
5641 * gst/gstobject.c: (gst_object_set_parent):
5644 2005-09-27 Wim Taymans <wim@fluendo.com>
5646 * docs/design/part-TODO.txt:
5649 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5650 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5651 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5652 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5653 (gst_bin_change_state):
5655 Remove element variable, we keep element info in the iterator now.
5657 2005-09-27 Andy Wingo <wingo@pobox.com>
5659 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5662 2005-09-27 Wim Taymans <wim@fluendo.com>
5664 * check/gst/gstbin.c: (GST_START_TEST):
5665 Enable check that works now.
5667 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5668 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5669 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5670 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5671 (gst_bin_change_state):
5673 Redid the state change algorithm using a topological sort algo.
5674 Handles all cases correctly.
5675 Exposed iterator for state change order.
5678 Temp storage for state changes. Need to get rid of this soon.
5680 2005-09-27 Wim Taymans <wim@fluendo.com>
5682 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5683 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5684 (link_fold_func), (gst_pad_proxy_setcaps):
5685 Leak fixes, the fold functions need to unref the passed object and
5686 _get_parent_*() returns ref to parent.
5688 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5690 * check/gst/gstbuffer.c: (test_make_writable):
5691 Plug leak in test case and fix 'make check-valgrind'
5693 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5695 * gst/gstbuffer.c: (gst_subbuffer_init):
5696 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5697 works correctly in all circumstances (we could have just copied
5698 the parent buffer's readonly flag, but conceptually it seems
5699 cleaner to mark all subbuffers as read-only). (based on patch
5700 by Alessandro Decina, #314710).
5702 * check/gst/gstbuffer.c: (create_read_only_buffer),
5703 (test_make_writable), (test_subbuffer_make_writable),
5705 Add some tests for gst_buffer_make_writable().
5707 2005-09-27 Wim Taymans <wim@fluendo.com>
5709 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5710 use gst_object_has_ancestor().
5712 * gst/gstobject.c: (gst_object_has_ancestor):
5714 gst_object_has_ancestor() copied from gstbin.c as it is a
5717 * tests/instantiate/create.c: (create_all_elements):
5718 * tests/lat.c: (handoff_src), (handoff_sink):
5719 * tests/sched/runxml.c: (main):
5720 * tests/seeking/seeking1.c: (main):
5721 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5723 Fix compilation of some tests.
5725 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5728 Remove comment. GST_TYPE_G_ERROR is here to stay,
5729 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5732 2005-09-26 Wim Taymans <wim@fluendo.com>
5734 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5735 Added check that shows error in state change order.
5737 2005-09-26 Wim Taymans <wim@fluendo.com>
5739 * gst/gstbin.c: (gst_bin_change_state):
5740 Make state change function use 3 queues again, we were
5741 adding elements in the wrong order.
5743 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5746 * gst/gstpad.c: (gst_pad_dispose):
5747 Added some debug info first.
5749 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5751 * docs/design/draft-push-pull.txt:
5752 * docs/design/part-events.txt:
5753 * docs/design/part-overview.txt:
5754 * docs/design/part-scheduling.txt:
5755 Replace all _pull_region() with _pull_range()
5757 2005-09-26 Andy Wingo <wingo@pobox.com>
5759 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5761 * check/gst-libs/controller.c: Update for controller api change.
5764 * tests/Makefile.am:
5765 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5766 over by GLib bug 118439.
5768 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5769 routines to a function.
5771 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5773 * libs/gst/controller/gsthelper.c:
5774 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5775 (gst_object_sync_values): Renamed from sink_values. Ugh.
5777 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5779 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5780 Renamed from controller_key, as it is exported.
5782 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5784 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5789 * gst/gstpadtemplate.h:
5792 * gst/gstqueryutils.c:
5793 * gst/gstqueryutils.h:
5794 remove queryutils headers after moving the two used functions
5795 to gstquery. also fixes build problem for gstsiddec
5797 2005-09-26 Michael Smith <msmith@fluendo.com>
5799 * tools/gst-launch.1.in:
5800 Correct documentation in manpage of debug syntax
5802 2005-09-26 Wim Taymans <wim@fluendo.com>
5804 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5805 (gst_base_src_is_seekable), (gst_base_src_change_state):
5806 Some more debugging info.
5808 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5810 * docs/gst/gstreamer-sections.txt:
5811 * gst/base/gstbasetransform.h:
5815 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5817 * docs/gst/.cvsignore:
5818 * docs/gst/tmpl/.cvsignore:
5819 * docs/gst/tmpl/gstpipeline.sgml:
5820 * docs/gst/tmpl/gstplugin.sgml:
5821 * gst/gstpipeline.c:
5824 inlined the last two docs files
5825 removed the tmpl directory from cvs (no more conflicts here!)
5827 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5829 * docs/gst/gstreamer-sections.txt:
5830 * docs/gst/tmpl/.cvsignore:
5831 * docs/gst/tmpl/gstpad.sgml:
5832 * docs/gst/tmpl/gstpadtemplate.sgml:
5834 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5835 (gst_pad_finalize), (gst_pad_set_pad_template):
5837 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5838 (gst_pad_template_class_init), (gst_pad_template_init),
5839 (gst_pad_template_dispose), (name_is_valid),
5840 (gst_static_pad_template_get), (gst_pad_template_new),
5841 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5842 (gst_pad_template_pad_created):
5843 * gst/gstpadtemplate.h:
5844 inlined two more docs
5845 factored gstpadtemplate out of gstpad
5847 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5849 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5850 (test_children_state_change_order_semi_sink):
5851 Fix test case: we can't rely on a fixed state change order when
5852 going from READY => PAUSED because the sink might commit its
5853 new state first when the first buffer created by the source
5854 reaches the sink before the source has finished its change state.
5855 (Test case still fails at times, see #316856, comment 5 onwards)
5857 2005-09-24 Wim Taymans <wim@fluendo.com>
5859 * docs/design/part-events.txt:
5860 * docs/design/part-gstbus.txt:
5861 * docs/design/part-gstpipeline.txt:
5862 * docs/design/part-messages.txt:
5863 * docs/design/part-overview.txt:
5864 * docs/design/part-segments.txt:
5871 * gst/gstiterator.c:
5872 Various documentation updates.
5874 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5877 Well, that's embarassing. Luckily we weren't using
5878 GST_CLOCK_DIFF anywhere.
5880 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5882 * common/gtk-doc.mak:
5883 don't fail on building XML, FC4 slave shows a bunch of doc
5884 missing bits that I don't get
5886 * gst/gstpipeline.c:
5887 * gst/gststructure.c:
5890 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5892 * docs/design/part-gstbin.txt:
5893 * docs/design/part-gstbus.txt:
5895 Add blurb about how the bus goes into flushing mode and
5896 drops all messages when its bin goes from READY into NULL
5899 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5901 * docs/gst/gstreamer-sections.txt:
5902 * gst/gststructure.c: (gst_structure_get_clock_time):
5903 * gst/gststructure.h:
5904 add a method to get a GstClockTime out of a structure
5906 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5908 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5909 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5910 Added test to check state change order in bins (can still be made
5911 to fail here under heavy disk load; bails out with 'Push on pad
5912 fakesink:sink0, but it was not activated in push mode').
5914 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5915 Fix state change order when there is only a semi sink (#316856)
5917 * gst/gstbus.c: (gst_bus_class_init):
5918 Use _class_peek_parent(), not _class_ref(); fix docs to say
5919 'default main context' instead of 'mainloop' where that is
5922 * gst/gstelement.c: (gst_element_commit_state),
5923 (gst_element_set_state):
5924 Fix typos in debug messages
5926 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5929 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5930 * gst/gstpluginfeature.c:
5933 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5934 change an assert into an error until it gets fixed properly
5936 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5938 * docs/gst/gstreamer-sections.txt:
5939 * docs/gst/tmpl/.cvsignore:
5940 * docs/gst/tmpl/gstelement.sgml:
5941 * docs/gst/tmpl/gstinfo.sgml:
5942 * docs/gst/tmpl/gstobject.sgml:
5947 * gst/gstobject.c: (gst_object_class_init):
5949 inlined 3 more biiiig doc files and added some missing docs on the fly
5951 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5953 * check/gst/.cvsignore:
5954 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5955 * gst/gstregistryxml.c: (load_plugin),
5956 (gst_registry_xml_save_plugin):
5957 put back source in registry. add checks for find_plugin.
5958 * testsuite/states/bin.c: (assert_state), (empty_bin),
5959 (test_adding_one_element), (main):
5960 * testsuite/states/locked.c: (main):
5961 some compile/run fixes
5963 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5965 * check/gst/gstvalue.c: (GST_START_TEST):
5966 fix leaks in the test itself
5968 2005-09-22 Wim Taymans <wim@fluendo.com>
5970 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5971 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5972 (gst_base_sink_query):
5973 Prepare for more accurate position reporting and query
5976 * gst/gstelement.c: (gst_element_send_event),
5977 (gst_element_set_state):
5980 2005-09-22 Wim Taymans <wim@fluendo.com>
5982 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5983 (gst_query_parse_segment):
5986 Add segment query for future use.
5988 2005-09-22 Wim Taymans <wim@fluendo.com>
5990 * gst/gstbin.c: (gst_bin_add_func):
5991 Some more debug info.
5993 * gst/gstelement.c: (gst_element_send_event):
5997 Don't know how flags got broken.
6002 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6004 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6005 Add simplistic test suite for GST_TYPE_DATE serialisation and
6008 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6010 * docs/gst/gstreamer-sections.txt:
6011 * gst/gststructure.c: (gst_structure_set_valist),
6012 (gst_structure_get_date):
6013 * gst/gststructure.h:
6014 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6015 (gst_date_copy), (gst_value_compare_date),
6016 (gst_value_serialize_date), (gst_value_deserialize_date),
6017 (gst_value_transform_date_string),
6018 (gst_value_transform_string_date), (_gst_value_initialize):
6020 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6021 bunch of utility functions along with a hack that checks that
6022 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6023 is required. Part of the grand scheme in #170777.
6025 2005-09-22 Andy Wingo <wingo@pobox.com>
6027 * gst/gstconfig.h.in: Psych out gtk-doc.
6029 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6031 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6033 * tools/gst-inspect.c (print_element_list): Plug some
6034 inconsequential leaks.
6036 * gst/gstregistry.c (gst_registry_get_default): Doc.
6038 * check/gst/gstplugin.c:
6039 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6040 * gst/gstelementfactory.c (gst_element_factory_create):
6041 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6044 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6045 (gst_plugin_feature_load): Doc, don't eat refs.
6047 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6048 (gst_plugin_list_free): Doc.
6049 (gst_plugin_load_file): Doc updates.
6051 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6052 accessors returning refcounted objects, return a ref.
6054 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6055 accessor for caps. IDEMPOTENCE. Oh yes.
6057 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6059 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6061 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6062 (_gst_debug_register_funcptr):
6063 Add mutex to serialise access to the hash table with
6064 the function pointer => function name string mapping;
6065 make that hash table static scope (#316809).
6067 * gst/registries/.cvsignore:
6068 Remove left-over file.
6070 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6072 * docs/pwg/appendix-porting.xml:
6073 And something about newsegment events and caps-on-buffers to
6074 the porting guide (feel free to improve).
6076 2005-09-21 Andy Wingo <wingo@pobox.com>
6078 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6079 data and event probes on the same pad.
6080 (test_buffer_probe_once): Test that removing probes from within
6081 the probe functions works.
6083 2005-09-21 Andy Wingo <wingo@pobox.com>
6085 * check/gst/gstutils.c: New file.
6086 (test_buffer_probe_n_times): A simple buffer probe test. More to
6089 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6090 have-data::buffer, not have-data.
6091 (gst_pad_add_event_probe): Likewise for have-data::event.
6092 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6093 peer' isn't quite right yet though.
6094 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6095 (gst_pad_remove_data_probe): Change to take the guint handler_id
6096 as their arg, not the function+data, which is more glib-like.
6098 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6099 the signal emission to indicate if the data is a buffer or an
6101 (gst_pad_get_type): Initialize buffer and event quarks.
6102 (gst_pad_class_init): have-data is now a detailed signal, yes it
6105 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6107 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6108 * gst/gstutils.c: (gst_util_set_value_from_string),
6109 (gst_util_set_object_arg):
6110 Don't put functional code in g_return_if_fail() or
6111 g_return_val_if_fail() statements, otherwise things will
6112 break when G_DISABLE_CHECKS is defined during compilation.
6114 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6116 * docs/gst/tmpl/.cvsignore:
6117 * docs/gst/tmpl/gstvalue.sgml:
6120 inlied another one and added some obvious docs
6122 2005-09-21 Wim Taymans <wim@fluendo.com>
6124 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6125 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6126 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6127 (gst_fdsrc_get_property), (gst_fdsrc_create):
6128 * gst/elements/gstfdsrc.h:
6129 Properly implement fdsrc. Removed signal and timeout,
6130 better implemented somewhere else.
6132 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6134 * docs/gst/tmpl/.cvsignore:
6135 * docs/gst/tmpl/gstimplementsinterface.sgml:
6136 * gst/gstinterface.c:
6139 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6141 * docs/gst/gstreamer-sections.txt:
6142 * docs/gst/tmpl/.cvsignore:
6143 * docs/gst/tmpl/gstenumtypes.sgml:
6144 remove obsolete doc file
6146 2005-09-21 David Schleef <ds@schleef.org>
6148 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6149 little beer, fix a little leak.
6151 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6153 * docs/gst/gstreamer-docs.sgml:
6154 * docs/gst/gstreamer-sections.txt:
6155 * docs/gst/tmpl/.cvsignore:
6160 * gst/gstindex.c: (gst_index_class_init):
6162 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6163 (gst_index_factory_class_init), (gst_index_factory_init),
6164 (gst_index_factory_finalize), (gst_index_factory_new),
6165 (gst_index_factory_destroy), (gst_index_factory_find),
6166 (gst_index_factory_create), (gst_index_factory_make):
6167 * gst/gstindexfactory.h:
6168 * gst/gstpluginfeature.c:
6169 * gst/gstpluginfeature.h:
6170 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6171 more docs inlined, splitted gstindex.{c,h}
6173 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6175 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6178 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6180 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6181 Set sync to FALSE by default.
6183 2005-09-20 Wim Taymans <wim@fluendo.com>
6185 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6186 (gst_base_sink_init):
6187 Make sync property settable from subclass.
6189 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6190 (gst_fake_sink_change_state):
6191 Set sync to FALSE by default.
6193 2005-09-20 Wim Taymans <wim@fluendo.com>
6195 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6196 * tools/gst-launch.c: (main):
6197 The timeout handler should have lower priority than the source
6198 so we don't timeout before popping a message with 0 timeout.
6199 Dump error messages after failed state change.
6201 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6203 * tools/gst-inspect.c: (print_element_properties_info):
6206 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6208 * check/gst/gstevent.c:
6209 * gst/elements/gstfakesink.c:
6210 * gst/elements/gstfakesink.h:
6211 remove the sync property from fakesink.
6212 has the side effect of setting sync TRUE
6213 for fakesink, which is a change. Anyone who knows how
6214 to fix this nicely in a GObject-y way, feel free.
6216 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6218 * docs/gst/gstreamer-docs.sgml:
6219 remove probe refsection
6221 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6223 * check/Makefile.am:
6224 disable valgrinding the controller test again
6225 * docs/gst/gstreamer-sections.txt:
6226 update for api-changes
6228 2005-09-20 Wim Taymans <wim@fluendo.com>
6230 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6231 (gst_base_sink_set_property), (gst_base_sink_get_property),
6232 (gst_base_sink_do_sync):
6233 * gst/base/gstbasesink.h:
6234 Added sync property to basesink to disable clock sync.
6236 2005-09-20 Andy Wingo <wingo@pobox.com>
6238 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6239 eating the caller's refcount.
6241 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6242 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6245 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6246 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6247 of GLib 2.8 public, so we can know which refcount to check in
6250 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6251 (gst_object_init): Only set the gst refcount if we're going ahead
6252 with the refcount hack.
6254 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6256 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6257 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6258 more leaks plumbed, added more debug-logging
6262 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6265 remove include of gstmemchunk.h
6267 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6269 * gst/gstclock.c: (_gst_clock_id_free):
6270 Commit from the Political Party For More Atomic CVS Commits,
6271 so that people don't waste too much of their day fishing
6272 out obvious leaks out of massive commits.
6273 Oh, and fix a pretty damn obvious leak in the memchunk
6276 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6278 * check/Makefile.am:
6279 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6280 plug mem-leak, re-add to valgrindable tests
6282 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6285 unbreak the build for those who have chronic arthritis
6286 and typing "make check" is just too taxing on the hands
6288 2005-09-20 Andy Wingo <wingo@pobox.com>
6290 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6291 really want it out, you should fix plugins at the same time.
6293 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6296 * docs/gst/gstreamer-sections.txt:
6298 added missing symbols to api docs
6299 disable ref-count hack if we have glib >= 2.8
6301 2005-09-19 David Schleef <ds@schleef.org>
6303 * docs/gst/Makefile.am: Ignore a few more internal headers
6304 * docs/gst/gstreamer-docs.sgml: Remove old sections
6305 * docs/gst/gstreamer-sections.txt: Remove old sections
6306 * docs/gst/tmpl/gstobject.sgml: update
6307 * docs/gst/tmpl/gstplugin.sgml: update
6308 * docs/gst/tmpl/gstpluginfeature.sgml: update
6309 * docs/random/ds/0.9-suggested-changes: update.
6310 * gst/Makefile.am: remove memchunk and trashstack, since they're
6312 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6313 * gst/gst.h: don't include some headers
6314 * gst/gstchildproxy.c: add gstmarshal.h
6315 * gst/gstclock.c: Don't use memchunks
6316 * gst/gstminiobject.c: Add some docs
6317 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6318 * gst/gstobject.h: same
6319 * gst/gstplugin.c: include gstmacros.h
6320 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6321 * gst/gstquery.c: don't use memchunks
6322 * gst/gstregistry.c: rename gst_registry_deinit()
6323 * gst/gstregistry.h: same
6325 2005-09-19 David Schleef <ds@schleef.org>
6327 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6328 * docs/libs/gstreamer-libs-sections.txt:
6329 * docs/libs/tmpl/gstgetbits.sgml:
6330 * docs/libs/tmpl/gstputbits.sgml:
6332 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6334 * win32/gstenumtypes.c:
6335 * win32/gstenumtypes.h:
6338 2005-09-19 Wim Taymans <wim@fluendo.com>
6340 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6341 Automatically PAUSE and RESUME a pipeline when a flushing seek
6344 2005-09-19 Andy Wingo <wingo@pobox.com>
6346 * gst/gstregistry.h: Spacing fixen.
6348 2005-09-19 Wim Taymans <wim@fluendo.com>
6350 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6351 Handle state change failure more correctly.
6353 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6355 * check/Makefile.am:
6356 * check/pipelines/cleanup.c: (run_pipeline):
6357 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6359 enable cleanup again after fixing the leak
6361 some more info on docs
6363 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6365 * check/Makefile.am:
6366 re-enable tests now that leaks are plugged
6368 * check/gst/gstbin.c:
6369 * check/gst/gstpipeline.c:
6370 add some more tests while fixing leaks
6372 make sure binaries are uptodate when valgrinding/gdbing
6374 * gst/gstelementfactory.c:
6375 remove a ref too many, and add a FIXME for when we get
6376 round to disposing of classes
6378 fix the refcounting when loading a plugin from a file and
6379 the code pretends that the pointer is the same even though
6380 of course it can change
6381 * gst/gstpluginfeature.c:
6382 unref plugins marked cached (a bit confusing as a name)
6383 as the docs state should be done
6384 various doc additions to explain refcounting
6385 * gst/gstregistry.c:
6386 * gst/gstregistryxml.c:
6389 2005-09-19 Wim Taymans <wim@fluendo.com>
6391 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6392 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6393 (send_messages), (GST_START_TEST), (gstbus_suite):
6394 * check/gst/gstpipeline.c: (GST_START_TEST):
6395 * check/pipelines/cleanup.c: (run_pipeline):
6396 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6398 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6399 (gst_bus_source_check), (gst_bus_source_dispatch),
6400 (gst_bus_create_watch), (gst_bus_add_watch_full),
6401 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6403 * tools/gst-launch.c: (event_loop):
6404 * tools/gst-md5sum.c: (event_loop):
6405 GstBusHandler -> GstBusFunc, return value has the same meaning as
6406 any other GSource (FALSE == remove source).
6407 _add_watch() and _add_watch_full() now take a MessageType mask to
6408 only handle specific types of messages.
6409 _poll() returns the GstMessage instead of the message type to avoid
6411 _have_pending() takes a MessageType mask now too.
6412 Added testsuite for multiple bus watches.
6413 Fix testsuites and applications for new bus API.
6415 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6417 * check/Makefile.am:
6418 mark a bunch of the tests as to fix until we fix them
6420 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6423 use GST_PLUGIN settings for valgrind tests as well, so we're
6424 valgrinding the correct thing
6425 * gst/gst.c: (init_post):
6428 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6430 * gst/gst.c: (init_post), (gst_deinit):
6431 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6432 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6433 * gst/gstindex.c: (gst_index_factory_class_init),
6434 (gst_index_factory_finalize):
6435 * gst/gstobject.c: (gst_object_dispose):
6436 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6437 (gst_plugin_load_file), (gst_plugin_desc_free):
6438 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6439 (gst_plugin_feature_finalize):
6440 * gst/gstregistry.c: (gst_registry_class_init),
6441 (gst_registry_init), (gst_registry_finalize),
6442 (gst_registry_get_default), (gst_registry_deinit):
6443 * gst/gstregistry.h:
6444 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6445 various cleanups and memleak plugging. make valgrind is happy now.
6447 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6450 add a check-valgrind target
6452 2005-09-18 David Schleef <ds@schleef.org>
6454 * tools/gst-inspect.c: Revert the GOption code.
6456 2005-09-17 David Schleef <ds@schleef.org>
6458 * check/Makefile.am: Fix environment variables.
6459 * check/gst/gstplugin.c: Fix for API changes.
6460 * tools/gst-inspect.c: Fix for API changes.
6461 * tools/gst-xmlinspect.c: Fix for API changes.
6462 * gst/gstelementfactory.c:
6465 * gst/gstpluginfeature.c:
6466 * gst/gstpluginfeature.h:
6467 * gst/gstregistry.c:
6468 * gst/gstregistry.h:
6469 * gst/gstregistryxml.c:
6470 * gst/gsttypefind.c:
6471 * gst/gsttypefindfactory.c:
6472 * gst/indexers/gstfileindex.c:
6473 * gst/indexers/gstmemindex.c:
6474 * gst/schedulers/Makefile.am:
6475 Change registry to keep track of both plugins and features,
6476 removing the feature tracking from plugins themselves.
6478 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6480 * check/Makefile.am:
6481 * tools/gst-register.1.in:
6484 2005-09-15 David Schleef <ds@schleef.org>
6486 * check/gst/gstplugin.c:
6487 * gst/gstelementfactory.c:
6489 * gst/gstpluginfeature.c:
6490 * gst/gstregistry.c:
6491 Getting tired of debugging. Disabled all the unreffing of
6492 plugins and features, which fixes the segfaults, but of
6493 course leaks like crazy. At least playbin works.
6495 2005-09-15 David Schleef <ds@schleef.org>
6497 * check/gst/gstplugin.c: (register_check_elements),
6498 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6500 * gst/elements/gsttypefindelement.c: Fix refcounting.
6501 * gst/gsttypefind.c:
6502 * gst/gsttypefindfactory.c:
6503 * gst/gsttypefindfactory.h:
6505 2005-09-15 David Schleef <ds@schleef.org>
6507 * gst/gstindex.c: get refcounting correct.
6508 * gst/gstregistry.c: Handle the case where a feature/plugin is
6511 2005-09-15 David Schleef <ds@schleef.org>
6513 * check/Makefile.am:
6514 * check/gst/gstplugin.c: Add test
6515 * gst/gstplugin.c: Fix problems noticed by testsuite
6517 * gst/gstregistry.c:
6518 * gst/gstregistry.h:
6520 2005-09-15 David Schleef <ds@schleef.org>
6522 * gst/gstplugin.c: Implement semi-decent recounting and locking
6523 in plugins and plugin features.
6525 * gst/gstpluginfeature.c:
6526 * gst/gstpluginfeature.h:
6527 * gst/gstregistry.c:
6529 2005-09-15 Michael Smith <msmith@fluendo.com>
6531 * gst/gstregistry.c: (gst_registry_get_feature_list):
6532 Implement this. Makes oggdemux work; decodebin still broken.
6534 2005-09-14 David Schleef <ds@schleef.org>
6536 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6538 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6539 * gst/check/Makefile.am:
6540 * libs/gst/controller/Makefile.am:
6541 * libs/gst/dataprotocol/Makefile.am:
6543 2005-09-14 David Schleef <ds@schleef.org>
6545 * configure.ac: Remove getbits library. Nothing uses it, and
6546 it should be in something like liboil if someone did want
6548 * libs/gst/Makefile.am:
6549 * libs/gst/getbits/Makefile.am:
6550 * libs/gst/getbits/gbtest.c:
6551 * libs/gst/getbits/getbits.c:
6552 * libs/gst/getbits/getbits.h:
6553 * libs/gst/getbits/gstgetbits_generic.c:
6554 * libs/gst/getbits/gstgetbits_i386.s:
6555 * libs/gst/getbits/gstgetbits_inl.h:
6557 2005-09-14 David Schleef <ds@schleef.org>
6559 * gst/Makefile.am: Dist glib-compat.h
6561 2005-09-14 David Schleef <ds@schleef.org>
6563 * configure.ac: Remove gst/registries, since it's no longer used.
6564 * gst/registries/Makefile.am:
6565 * gst/registries/gstlibxmlregistry.c:
6566 * gst/registries/gstlibxmlregistry.h:
6567 * gst/registries/gstxmlregistry.c:
6568 * gst/registries/gstxmlregistry.h:
6569 * gst/registries/registrytest.c:
6571 2005-09-14 David Schleef <ds@schleef.org>
6573 * gst/glib-compat.h:
6574 * gst/gstregistryxml.c:
6575 Convergence is near. Seriously.
6577 2005-09-14 David Schleef <ds@schleef.org>
6579 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6580 * gst/glib-compat.h:
6581 Attempt #4 to appease the buildbots.
6583 2005-09-14 David Schleef <ds@schleef.org>
6585 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6588 2005-09-14 David Schleef <ds@schleef.org>
6590 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6593 2005-09-14 David Schleef <ds@schleef.org>
6595 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6598 2005-09-14 David Schleef <ds@schleef.org>
6600 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6601 * gst/glib-compat.h: Add some functions that are in newer versions
6602 of glib than we care to require.
6603 * gst/gstregistryxml.c: Use them.
6605 2005-09-14 David Schleef <ds@schleef.org>
6607 * po/POTFILES.in: remove gst-register.c
6609 2005-09-14 David Schleef <ds@schleef.org>
6611 * docs/gst/gstreamer-docs.sgml:
6612 * docs/gst/gstreamer-sections.txt:
6613 * docs/gst/gstreamer.types:
6614 * docs/gst/tmpl/gstelement.sgml:
6615 * docs/gst/tmpl/gstplugin.sgml:
6616 * docs/gst/tmpl/gstpluginfeature.sgml:
6617 Documentation updates for registry changes.
6619 2005-09-14 David Schleef <ds@schleef.org>
6621 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6622 because we don't require glib-2.8.
6624 2005-09-14 David Schleef <ds@schleef.org>
6626 * gst/gstregistryxml.c: Added. Essentially moved out of the
6627 registries directory.
6629 2005-09-14 David Schleef <ds@schleef.org>
6631 * check/Makefile.am:
6632 * check/generic/states.c:
6636 * gst/gst_private.h:
6637 * gst/gstelementfactory.c:
6642 * gst/gstpluginfeature.c:
6643 * gst/gstpluginfeature.h:
6644 * gst/gstregistry.c:
6645 * gst/gstregistry.h:
6646 * gst/gstregistrypool.c: remove
6647 * gst/gstregistrypool.h: remove
6648 * gst/gsttypefind.c:
6649 * gst/gsttypefindfactory.c:
6651 * tools/Makefile.am:
6652 * tools/gst-compprep.c:
6653 * tools/gst-inspect.c:
6654 * tools/gst-register.c: remove
6655 * tools/gst-xmlinspect.c:
6656 Registry rewrite. Changes registry from being a file created
6657 by a tool into a simple cache file created automatically by
6658 libgstreamer. Removed gst-register (because it's no longer
6659 needed). Remove registry pools, because we only have one
6660 registry implementation (XML). Fix up other subsystems as
6663 2005-09-13 Michael Smith <msmith@fluendo.com>
6665 * gst/gstconfig.h.in:
6666 Don't Use windows linking attributes for MinGW. Fixes #316157
6668 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6670 * gst/gstutils.c: (set_state_async_thread_func),
6671 (gst_element_set_state_async):
6672 Apparently people think it's better if this function doesn't
6673 try to set the state to whatever state was asked for on the first
6674 call to this function for any object. Seriously.
6676 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6678 * check/gst/gstpipeline.c: (GST_START_TEST):
6679 * docs/gst/gstreamer-sections.txt:
6680 * gst/gstutils.c: (set_state_async_thread_func),
6681 (gst_element_set_state_async):
6683 add a "gst_element_set_state_async" method that
6684 sets the state and starts a thread to make sure the state
6685 change completes as best as it can
6687 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6690 codify design+behaviour in testsuite after discussion
6692 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6694 * docs/gst/tmpl/gstelement.sgml:
6695 * docs/manual/appendix-quotes.xml:
6697 * gst/gstelement.c: (gst_element_set_state):
6700 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6702 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6703 (gst_base_transform_prepare_output_buf),
6704 (gst_base_transform_handle_buffer):
6705 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6706 (gst_capsfilter_prepare_buf):
6707 Remove the requirement for sub-classes to call the parent
6708 implementation of prepare_output_buffer with a wrapper function.
6711 * gst/gsttagsetter.h:
6714 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6716 * docs/gst/gstreamer-sections.txt:
6719 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6721 * docs/gst/gstreamer-sections.txt:
6722 * docs/gst/tmpl/gstelement.sgml:
6723 * docs/gst/tmpl/gstplugin.sgml:
6724 * gst/gstminiobject.c:
6726 docs now stop throwing warnings
6728 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6730 * docs/gst/gstreamer-sections.txt:
6731 * docs/gst/gstreamer.types:
6732 * docs/gst/tmpl/gstpad.sgml:
6733 * docs/gst/tmpl/gsttypes.sgml:
6734 * gst/base/gstadapter.h:
6735 * gst/base/gstbasesink.h:
6736 * gst/base/gstbasesrc.h:
6746 * gst/gststructure.c:
6747 * gst/registries/gstlibxmlregistry.h:
6748 various documentation fixes
6750 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6752 * docs/gst/gstreamer-sections.txt:
6753 * docs/gst/tmpl/gstvalue.sgml:
6754 rearrange gstvalue section
6755 * gst/gstutils.c: (gst_element_state_get_name):
6757 * gst/gstvalue.c: (_gst_value_initialize):
6761 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6763 * check/gst-libs/controller.c:
6765 * gst/base/gstbasetransform.c:
6766 (gst_base_transform_default_prepare_buf),
6767 (gst_base_transform_handle_buffer):
6768 * gst/base/gstbasetransform.h:
6769 Some more basetransform changes and fixes to enable sub-classes
6770 that modify buffer metadata only.
6771 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6772 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6773 (gst_capsfilter_prepare_buf):
6774 If the output pad has fixed allowed caps and input buffers
6775 don't have any, set the fixed caps on outgoing buffers.
6777 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6778 * check/elements/identity.c: (GST_START_TEST):
6779 Make the error a little clearer when the test fails because
6780 identity made a copy of the buffer.
6781 * docs/gst/gstreamer-sections.txt:
6782 New symbols in gstbasetransform.h
6783 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6784 (gst_base_transform_init), (gst_base_transform_transform_size),
6785 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6786 (gst_base_transform_default_prepare_buf),
6787 (gst_base_transform_get_unit_size),
6788 (gst_base_transform_buffer_alloc),
6789 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6790 (gst_base_transform_change_state),
6791 (gst_base_transform_set_passthrough),
6792 (gst_base_transform_set_in_place),
6793 (gst_base_transform_is_in_place):
6794 * gst/base/gstbasetransform.h:
6795 Change BaseTransform to separate in_place operate from same_caps
6796 output. in_place implies that the element can perform the transform
6797 on incoming buffers in-place, even if the caps on the output are
6799 Sub-class elements can now implement special buffer allocation
6800 methods for outgoing buffers if they wish to.
6801 Big documentation addition.
6802 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6803 * gst/elements/gstelements.c:
6804 Changes for basetransform modifications.
6805 * gst/elements/Makefile.am:
6806 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6807 Compile fix. Extra debug output.
6809 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6811 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6813 add tests for valid pad naming
6814 * gst/check/gstcheck.c: (gst_check_log_message_func),
6815 (gst_check_log_critical_func):
6817 remove printing of code, it is fragile when the code contains
6818 % and the line number is enough info
6819 * gst/check/gstcheck.h:
6820 * gst/gstpad.c: (gst_pad_template_new):
6823 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6826 say what CHECK flags we use
6827 * docs/libs/gstreamer-libs.types:
6828 * libs/gst/controller/Makefile.am:
6829 * libs/gst/controller/gst-controller.c:
6830 * libs/gst/controller/gst-controller.h:
6831 * libs/gst/controller/gst-helper.c:
6832 * libs/gst/controller/gst-interpolation.c:
6833 * libs/gst/controller/gstcontroller.c:
6834 * libs/gst/controller/gsthelper.c:
6835 * libs/gst/controller/gstinterpolation.c:
6836 * tools/gst-inspect.c: (print_plugin_info):
6837 we don't use dashes in header names
6839 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6841 * check/Makefile.am:
6842 * check/gst/.cvsignore:
6843 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6844 (gst_pipeline_suite), (main):
6845 adding a test for pipelines and state changes
6846 * gst/gstutils.c: (get_state_func):
6848 * gstreamer.spec.in:
6851 2005-09-08 Michael Smith <msmith@fluendo.com>
6853 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6854 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6855 (gst_file_src_is_seekable), (gst_file_src_get_size),
6856 (gst_file_src_start):
6857 * gst/elements/gstfilesrc.h:
6858 Various fixes for unseekable, unmmapable, and non-normal files, so
6859 that fallback to read() rather than mmap() works.
6860 * gst/gstevent.c: (gst_event_new_newsegment):
6861 Allow newsegment events with segment_start == segment_end, as will
6862 correctly happen if you use filesrc on a zero-size file, for
6865 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6867 * gst/gstplugin.c: (gst_plugin_load_file):
6868 Call g_module_close when we don't load the module
6870 * gst/registries/gstlibxmlregistry.c:
6871 (gst_xml_registry_get_property):
6872 Port leak fix from 0.8
6874 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6876 * docs/gst/gstreamer-docs.sgml:
6877 * docs/gst/tmpl/.cvsignore:
6878 * docs/gst/tmpl/gsttrace.sgml:
6879 * docs/gst/tmpl/gsttrashstack.sgml:
6888 * gst/gsttaginterface.c:
6889 * gst/gsttaginterface.h:
6892 * gst/gsttagsetter.c:
6893 * gst/gsttagsetter.h:
6896 * gst/gsttrashstack.c:
6897 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6898 inlined docs for gsttrace, gsttrashstack
6900 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6903 * gst/elements/gstbufferstore.h:
6904 * gst/elements/gsttypefindelement.c:
6905 * gst/elements/gsttypefindelement.h:
6907 * gst/gsttypefind.c:
6908 * gst/gsttypefind.h:
6909 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6910 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6911 (gst_type_find_factory_dispose),
6912 (gst_type_find_factory_unload_thyself),
6913 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6914 (gst_type_find_factory_get_caps),
6915 (gst_type_find_factory_get_extensions),
6916 (gst_type_find_factory_call_function):
6917 * gst/gsttypefindfactory.h:
6918 * gst/registries/gstlibxmlregistry.c:
6919 * gst/registries/gstxmlregistry.c:
6920 splitted gsttypefind into gsttypefind, gsttypefindfactory
6922 2005-09-07 Andy Wingo <wingo@pobox.com>
6924 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6925 condition whereby the pad's task function is entered before the
6926 pad_mode variable was set.
6928 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6930 * gst/gstpad.c: (gst_pad_alloc_buffer):
6931 Catch misbehaving pad_alloc functions that don't
6932 set up caps and do it for them.
6934 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6936 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6938 * docs/gst/tmpl/.cvsignore:
6939 * docs/gst/tmpl/gstmemchunk.sgml:
6940 * docs/gst/tmpl/gstparse.sgml:
6941 * docs/gst/tmpl/gsttaglist.sgml:
6942 * docs/gst/tmpl/gsttagsetter.sgml:
6943 * docs/gst/tmpl/gsttypefind.sgml:
6944 * docs/gst/tmpl/gsttypefindfactory.sgml:
6945 * gst/gstmemchunk.c:
6948 * gst/gsttaginterface.c:
6949 * gst/gsttypefind.c:
6950 * gst/gsttypefind.h:
6953 === release 0.9.2 ===
6955 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6960 releasing 0.9.2, "South"
6962 2005-09-05 Andy Wingo <wingo@pobox.com>
6964 * gst/registries/gstxmlregistry.h:
6965 * gst/registries/gstxmlregistry.c: Um... resurrect...
6967 * gst/registries/gstxmlregistry.h:
6968 * gst/registries/gstxmlregistry.c: and update to newer API.
6969 Incidentally they should be a bit faster now that they don't have
6972 2005-09-05 Andy Wingo <wingo@pobox.com>
6974 * gst/registries/gstxmlregistry.h:
6975 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6976 replaced by the libxml registry a while back
6978 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6980 * docs/gst/tmpl/gstplugin.sgml:
6981 * gst/elements/gstelements.c:
6983 * gst/gstplugin.c: (gst_plugin_register_func),
6984 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6985 (gst_plugin_get_source):
6987 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6988 (gst_xml_registry_save_plugin):
6989 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6990 (gst_xml_registry_save_plugin):
6991 * tools/gst-inspect.c: (print_plugin_info):
6992 add a "source" plugin description field, to represent the source
6993 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6994 will set it to PACKAGE, which is automake's idea of the name of
6997 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7003 * docs/faq/Makefile.am:
7004 * docs/gst/tmpl/gstelement.sgml:
7005 * docs/gst/tmpl/gsttypes.sgml:
7006 * docs/htmlinstall.mak:
7007 * docs/manual/Makefile.am:
7008 * docs/pwg/Makefile.am:
7009 reorganize doc build a little
7010 split out docbook and gtk-doc stuff
7011 have two separate --enable's and enable them through autogen
7012 but disable by default in configure (to be similar to other
7014 * gstreamer.spec.in:
7015 clean up docs install
7035 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7037 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7040 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7041 (gst_fake_sink_change_state):
7042 Make state change function thread-safe.
7044 * gst/gstpad.c: (gst_pad_alloc_buffer):
7045 Set offset on generic buffer allocated by fallback.
7047 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7049 * docs/gst/gstreamer-sections.txt:
7050 * docs/gst/tmpl/gstelement.sgml:
7052 * libs/gst/controller/gst-controller.c:
7053 (gst_controlled_property_set_interpolation_mode),
7054 (gst_controlled_property_new),
7055 (gst_controller_find_controlled_property):
7056 run the wingo-magic script against the docs
7058 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7060 * docs/gst/gstreamer-docs.sgml:
7061 * docs/gst/gstreamer-sections.txt:
7062 * docs/gst/tmpl/.cvsignore:
7063 * docs/gst/tmpl/gstelementdetails.sgml:
7064 * docs/gst/tmpl/gstelementfactory.sgml:
7067 * gst/gstelementfactory.c:
7068 * gst/gstelementfactory.h:
7069 merged elementdetails docs into elementfactory docs
7072 2005-09-02 Andy Wingo <wingo@pobox.com>
7074 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7075 consider this enum an enum and not a flags.
7077 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7079 * docs/gst/gstreamer-docs.sgml:
7080 * docs/gst/tmpl/.cvsignore:
7081 * docs/gst/tmpl/gstghostpad.sgml:
7082 * docs/gst/tmpl/gstiterator.sgml:
7083 * docs/gst/tmpl/gstmacros.sgml:
7084 * docs/gst/tmpl/gstrealpad.sgml:
7085 * docs/gst/tmpl/gstregistry.sgml:
7086 * docs/gst/tmpl/gstregistrypool.sgml:
7087 * docs/gst/tmpl/gststructure.sgml:
7088 * docs/gst/tmpl/gstsystemclock.sgml:
7089 * docs/gst/tmpl/gsttrace.sgml:
7090 * gst/gstghostpad.c:
7092 * gst/gstmemchunk.c:
7093 * gst/gstmemchunk.h:
7095 * gst/gstregistry.c:
7096 * gst/gstregistrypool.c:
7097 * gst/gststructure.c:
7098 * gst/gstsystemclock.c:
7101 2005-09-02 Andy Wingo <wingo@pobox.com>
7103 * gst/gstelement.h (GstState): Renamed from GstElementState,
7104 changed to be a normal enum instead of flags.
7105 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7106 munged to be GST_STATE_CHANGE_*.
7107 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7108 work with the new state representation.
7109 (GstStateChange): New enumeration of possible state transitions.
7110 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7111 (GstElementClass::change_state): Pass the GstStateChange along as
7112 an argument. Helps language bindings, so they don't have to use
7113 tricky lock-needing macros like GST_STATE_CHANGE ().
7115 * scripts/update-states (file): New script. Run it on a file to
7116 update it for state naming and API changes. Updates files in
7119 * All files updated for the new API.
7121 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7123 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7124 * gst/gstutils.c: (gst_util_set_value_from_string),
7125 (gst_util_set_object_arg):
7126 fix a bunch of unchecked return values
7127 * tools/gst-complete.c: (main):
7128 * gstreamer.spec.in:
7131 2005-09-01 Wim Taymans <wim@fluendo.com>
7133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7134 (gst_base_sink_event), (gst_base_sink_do_sync),
7135 (gst_base_sink_handle_event):
7136 * gst/base/gstbasesink.h:
7137 Handle newsegments more correctly.
7142 * gst/gstevent.c: (gst_event_new_newsegment):
7143 A newsegment cannot have a start_time of -1
7145 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7147 * win32/gstenumtypes.c:
7148 * win32/gstenumtypes.h:
7151 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7153 * libs/gst/controller/gst-controller.c:
7154 (gst_controlled_property_set_interpolation_mode),
7155 (gst_controlled_property_new):
7158 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7160 * docs/faq/gst-uninstalled:
7165 * gst/gstutils.c: (gst_element_link_filtered):
7167 add gst_element_link_filtered
7169 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7171 * docs/gst/gstreamer-docs.sgml:
7172 * docs/gst/gstreamer-sections.txt:
7173 * docs/gst/tmpl/.cvsignore:
7174 * docs/gst/tmpl/gsterror.sgml:
7175 * docs/gst/tmpl/gstfilter.sgml:
7176 * docs/gst/tmpl/gsturihandler.sgml:
7177 * docs/gst/tmpl/gsturitype.sgml:
7178 * docs/gst/tmpl/gstutils.sgml:
7179 * docs/gst/tmpl/gstxml.sgml:
7187 inlined more docs, fixed double id-ref
7189 2005-08-31 Wim Taymans <wim@fluendo.com>
7191 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7192 (gst_base_transform_handle_buffer):
7193 Passthrough elements don't need the caps as they don't care.
7195 2005-08-31 Wim Taymans <wim@fluendo.com>
7197 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7198 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7199 Don't leak refcounts on buffers.
7201 2005-08-31 Wim Taymans <wim@fluendo.com>
7203 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7204 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7205 (gst_base_transform_chain), (gst_base_transform_change_state):
7206 * gst/base/gstbasetransform.h:
7207 Handle the case where we are not negotiated more gracefully.
7209 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7211 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7212 (gst_file_src_map_region):
7213 Set READONLY flag on mmap'ed buffers, otherwise
7214 gst_buffer_make_writable() won't work properly (#314708).
7216 2005-08-31 Wim Taymans <wim@fluendo.com>
7218 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7219 passthrough elements can even do inplace on non writable
7220 buffers (as they don't touch them).
7222 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7224 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7225 (gst_test_mono_source_set_property),
7226 (gst_test_mono_source_class_init), (GST_START_TEST),
7227 (gst_controller_suite):
7228 more tests (hehe I have the most)
7230 describe popping messages whenusing mulltiple sources
7231 * libs/gst/controller/gst-controller.c:
7232 (gst_controlled_property_set_interpolation_mode),
7233 (gst_controlled_property_new):
7234 * libs/gst/controller/gst-controller.h:
7235 * libs/gst/controller/gst-interpolation.c:
7236 implement boolean properties
7238 2005-08-31 Wim Taymans <wim@fluendo.com>
7240 * gst/gstminiobject.c: (gst_mini_object_ref):
7241 Cannot assert that the refcount has to be positive
7242 since a disposed object can be resurrected.
7244 2005-08-31 Wim Taymans <wim@fluendo.com>
7246 * gst/gstpad.c: (gst_pad_init):
7247 Revert change, need to first fix badly behaving
7250 2005-08-30 Wim Taymans <wim@fluendo.com>
7252 * check/elements/fakesrc.c: (setup_fakesrc):
7253 * check/elements/identity.c: (setup_identity):
7254 Activate pads before using them.
7256 2005-08-30 Wim Taymans <wim@fluendo.com>
7258 * gst/base/gstadapter.c: (gst_adapter_flush):
7259 Flushing out 0 bytes is ok for this function.
7261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7262 no newsegment gives a warning and sets the start/stop to
7265 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7266 (gst_base_transform_set_passthrough):
7269 * gst/gstminiobject.c: (gst_mini_object_ref):
7270 Check refcount here too.
7272 * gst/gstpad.c: (gst_pad_init):
7273 Pads are initially flushing and refusing data.
7275 * gst/gstutils.c: (gst_element_link_pads_filtered):
7276 When adding a capsfilter element make sure it has the
7277 same state as the parent bin.
7279 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7281 * docs/gst/tmpl/.cvsignore:
7282 * docs/gst/tmpl/gstformat.sgml:
7283 * docs/gst/tmpl/gstversion.sgml:
7287 * gst/gstversion.h.in:
7288 more docs and two more inlined
7290 2005-08-30 Wim Taymans <wim@fluendo.com>
7292 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7293 Don't sync to clock.
7295 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7297 * docs/gst/gstreamer-sections.txt:
7298 ultral33t func10ns deserve to appear in the docs actually
7299 * docs/gst/tmpl/.cvsignore:
7300 * docs/gst/tmpl/gstcompat.sgml:
7301 * docs/gst/tmpl/gstconfig.sgml:
7302 * gst/check/gstcheck.c:
7304 * gst/gstconfig.h.in:
7307 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7309 * docs/gst/tmpl/.cvsignore:
7310 * docs/gst/tmpl/gstquery.sgml:
7311 * docs/gst/tmpl/gstutils.sgml:
7314 inlined and extended docs
7316 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7318 * check/gst-libs/controller.c: (GST_START_TEST),
7319 (gst_controller_suite):
7321 * docs/gst/tmpl/gstutils.sgml:
7322 * docs/libs/gstreamer-libs-sections.txt:
7323 * docs/libs/tmpl/gstdataprotocol.sgml:
7325 * examples/controller/audio-example.c: (main):
7326 controller example works now
7329 * tools/gst-inspect.c: (print_element_properties_info):
7330 show param spec flags
7332 2005-08-29 Andy Wingo <wingo@pobox.com>
7334 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7336 2005-08-28 Andy Wingo <wingo@pobox.com>
7338 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7339 as having two arguments instead of just one. Allows superclasses
7340 to access information on subclasses -- see the terrible for() loop
7341 in gtype.c:g_type_create_instance for the reason why. All callers
7344 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7346 * docs/design/part-messages.txt:
7348 * docs/gst/tmpl/.cvsignore:
7349 * docs/gst/tmpl/gstcaps.sgml:
7350 * docs/gst/tmpl/gstclock.sgml:
7357 added descriptions for bus and message
7358 inline caps and clock docs
7360 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7366 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7368 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7371 2005-08-26 Andy Wingo <wingo@pobox.com>
7373 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7374 element_set_state's return val.
7375 (test_2_elements): Add test that's been disabled for months.
7377 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7378 can-activate-pull properties.
7380 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7381 can-activate-pull properties. Implement is_seekable so fakesrc can
7382 operate in pull mode.
7384 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7386 (gst_base_sink_activate, gst_base_sink_activate_pull)
7387 (gst_base_sink_activate_push): Make activation mode choosing work.
7389 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7390 is right. Make pull mode work. Post an eos before pausing in pull
7392 (gst_base_sink_change_state): Pay attention to the core's
7393 change_state() return val.
7395 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7396 has-getrange properties. Cleanups.
7398 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7399 has_getrange and replace with can_activate_pull and
7402 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7403 locking comments. Remove has_loop, has_chain and replace with
7404 can_activate_pull and can_activate_push.
7406 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7409 * examples/Makefile.am:
7410 * examples/metadata/Makefile.am:
7411 * examples/metadata/read-metadata.c: (message_loop),
7412 (have_pad_handler), (make_pipeline), (print_tag), (main):
7413 Add metadata reading example that loops over a list of filenames,
7414 dumping any tags found.
7416 * gst/gstbus.c: (gst_bus_dispose):
7417 * gst/gstelement.c: (gst_element_dispose):
7418 Release a few potentially-held references in dispose.
7420 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7422 * docs/gst/tmpl/gstminiobject.sgml:
7423 do *not* add tmpl/*.sgml files to CVS!
7425 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7427 * libs/gst/bytestream/.cvsignore:
7428 * libs/gst/bytestream/Makefile.am:
7429 * libs/gst/bytestream/adapter.c:
7430 * libs/gst/bytestream/adapter.h:
7431 * libs/gst/bytestream/bytestream.c:
7432 * libs/gst/bytestream/bytestream.h:
7433 * libs/gst/bytestream/filepad.c:
7434 * libs/gst/bytestream/filepad.h:
7435 removing obsolete files
7437 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7439 * docs/gst/gstreamer-docs.sgml:
7440 * docs/libs/gstreamer-libs-docs.sgml:
7441 disabed additional index entries again, as this makes docs-gen just
7442 slow and they aren't useful yet
7443 * docs/libs/gstreamer-libs-sections.txt:
7444 little -section.txt cleanup for libs
7446 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7448 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7449 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7450 fix up some debugging
7451 (gst_base_transform_get_unit_size),
7452 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7453 (gst_base_transform_handle_buffer):
7454 * gst/base/gstbasetransform.h:
7455 handle and store timed NEWSEGMENT events so that subclasses that
7456 calculate time by counting samples have a segment_start time they
7457 need to add to their timestamps - see audioresample
7459 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7462 removed ';' from the end of macro defs
7463 * docs/gst/gstreamer-docs.sgml:
7464 * docs/gst/gstreamer-sections.txt:
7465 * docs/gst/tmpl/.cvsignore:
7467 * gst/gstelement.c: (gst_element_class_init),
7468 (gst_element_set_state), (activate_pads),
7469 (gst_element_save_thyself):
7470 * gst/gstevent.c: (gst_event_new_newsegment):
7472 * gst/gstiterator.c:
7473 * gst/gstiterator.h:
7476 * gst/gstutils.c: (gst_pad_query_convert):
7478 fixed parameter name mismatches between source, header and docs
7479 added some more docs, resolved the last batch of unused elements in
7480 docs (now someone needs to doc them)
7482 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7484 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7485 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7486 don't walk through the plugins backwards. Where is all this
7487 reversed logic coming from ?
7489 2005-08-25 Wim Taymans <wim@fluendo.com>
7491 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7492 (gst_base_transform_transform_size),
7493 (gst_base_transform_configure_caps),
7494 (gst_base_transform_get_unit_size),
7495 (gst_base_transform_buffer_alloc),
7496 (gst_base_transform_change_state):
7497 * gst/base/gstbasetransform.h:
7498 Cache caps unit_size.
7499 Make sure we cannot negotiate up and downstream at the
7502 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7504 * gst/gst.c: (init_pre), (init_post):
7505 register the installed plugin path after the env var
7506 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7507 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7508 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7509 directories, so the tests can prefer uninstalled over installed
7511 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7513 * gst/base/gstbasetransform.h:
7518 2005-08-25 Wim Taymans <wim@fluendo.com>
7520 * gst/gstbin.c: (bin_bus_handler):
7521 Be a bit more conservative about the posted message.
7523 * gst/gstbus.c: (gst_bus_post):
7524 Some cleanups, warn wrong return values.
7526 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7528 * check/gst/gstbin.c: (GST_START_TEST):
7529 * gst/gstbin.c: (bin_bus_handler):
7530 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7531 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7532 (gst_message_new_warning), (gst_message_new_tag),
7533 (gst_message_new_state_changed), (gst_message_new_segment_start),
7534 (gst_message_new_segment_done), (gst_message_new_custom):
7536 * tools/gst-launch.c: (event_loop):
7537 * tools/gst-md5sum.c: (event_loop):
7538 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7540 2005-08-25 Wim Taymans <wim@fluendo.com>
7542 * check/generic/states.c: (GST_START_TEST):
7543 Cleanup can be done at the end.
7545 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7546 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7547 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7548 Oh boy.. Thanks for finding this, Thomas.
7550 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7552 * docs/gst/gstreamer.types:
7555 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7557 * docs/gst/gstreamer-docs.sgml:
7558 * docs/gst/gstreamer-sections.txt:
7559 * docs/gst/tmpl/.cvsignore:
7561 * gst/gstiterator.c:
7563 * gst/registries/gstxmlregistry.h:
7564 added missing classes and symbols (123 more to go)
7565 removed removed symbols from section file
7566 fixed many doc-comments
7568 2005-08-24 Wim Taymans <wim@fluendo.com>
7570 * check/generic/states.c: (GST_START_TEST):
7571 Make sure all tasks are stopped.
7573 * check/gst/gstbin.c: (GST_START_TEST):
7574 Unref after usage for proper valgrinding.
7576 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7577 Really wait for the task to stop before destroying the
7580 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7581 (gst_queue_src_activate_push):
7582 Small cleanups. Don't stop the task when we did not start
7585 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7586 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7587 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7590 Protect the stream lock with the object lock.
7591 Disallow setting the stream lock when running.
7592 Add cleanup_all to wait for the threadpool to finish.
7593 Remove code to autoallocate a mutex if none was provided.
7594 Add _join() to wait for a task to stop.
7595 Protect the thread pool with a global lock.
7597 2005-08-24 Wim Taymans <wim@fluendo.com>
7599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7600 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7601 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7602 * gst/base/gstbasesink.h:
7603 Handle newsegment events correctly.
7604 Drop buffers out of the segment range.
7606 2005-08-22 Andy Wingo <wingo@pobox.com>
7608 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7609 macro, implements an interface and gstimplementsinterface for a
7612 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7614 * check/Makefile.am:
7615 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7616 add a test that does a bunch of state changes on elements
7617 needs some fixing for valgrind
7618 * check/states/sinks.c: (gst_object_suite):
7621 add prototype for gst_caps_is_equal_fixed
7623 * gst/gstregistrypool.c:
7626 2005-08-24 Andy Wingo <wingo@pobox.com>
7628 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7629 convert a negative value. Doesn't make much sense. Mostly this is
7630 here to force callers to ensure -1 maps to -1.
7632 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7634 * docs/pwg/advanced-types.xml:
7635 Well done to Michael for catching my deliberate introduction
7636 of this spelling mistake.
7637 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7639 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7640 unlink pads before removing the element from the bin.
7642 2005-08-24 Andy Wingo <wingo@pobox.com>
7644 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7645 the same thing as GST_DEBUG=*:4.
7646 (parse_debug_level, parse_debug_category): New helper parsers.
7648 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7650 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7651 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7652 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7653 (gst_base_transform_buffer_alloc),
7654 (gst_base_transform_handle_buffer):
7655 use gboolean return values and pointers to size so we can use the
7656 full GST_BUFFER_SIZE range (guint) for buffer sizes
7657 use GstPadDirection for transform_caps
7658 * gst/base/gstbasetransform.h:
7659 rename get_size to get_unit_size since that's what it is
7660 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7661 use GstPadDirection for transform_caps
7662 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7664 cleanup and debugging
7666 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7668 * gst/gstelement.c: (gst_element_class_init),
7669 (gst_element_set_state), (activate_pads),
7670 (gst_element_save_thyself):
7671 * tools/gst-compprep.c: (main):
7672 * tools/gst-inspect.c: (print_element_properties_info):
7673 * tools/gst-xmlinspect.c: (print_element_properties):
7674 Fixed long standing mem-leak
7676 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7678 * check/gst/gstbin.c: (GST_START_TEST):
7679 * gst/gstbin.c: (bin_bus_handler):
7680 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7681 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7682 (gst_message_new_warning), (gst_message_new_tag),
7683 (gst_message_new_state_changed), (gst_message_new_segment_start),
7684 (gst_message_new_segment_done), (gst_message_new_custom):
7686 * tools/gst-launch.c: (event_loop):
7687 * tools/gst-md5sum.c: (event_loop):
7688 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7689 that applications can sensibly post custom messages with references
7690 to their own objects.
7692 2005-08-24 Andy Wingo <wingo@pobox.com>
7694 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7697 2005-08-24 Wim Taymans <wim@fluendo.com>
7699 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7700 (gst_base_transform_transform_caps),
7701 (gst_base_transform_transform_size),
7702 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7703 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7704 (gst_base_transform_handle_buffer):
7705 * gst/base/gstbasetransform.h:
7706 Many fixes and new features added by Thomas. Can now also do
7707 transforms with variable sizes and a custom fixate_caps function.
7709 2005-08-24 Wim Taymans <wim@fluendo.com>
7711 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7715 Cast to ClockTime before formatting to time.
7720 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7722 * check/gst-libs/controller.c: (GST_START_TEST),
7723 (gst_controller_suite):
7724 * docs/gst/tmpl/gstcaps.sgml:
7725 * docs/gst/tmpl/gstghostpad.sgml:
7726 * docs/gst/tmpl/gstquery.sgml:
7727 * docs/gst/tmpl/gstutils.sgml:
7728 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7729 (gst_object_sink_values), (gst_object_get_value_arrays),
7730 (gst_object_get_value_array):
7731 gracefully handle helper method calls to objects that are not beeing
7732 controlled, added test case for that
7734 2005-08-23 Wim Taymans <wim@fluendo.com>
7736 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7737 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7738 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7739 (gst_event_parse_qos), (gst_event_new_seek),
7740 (gst_event_parse_seek):
7742 Some more debugging output and doc cleanups.
7744 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7745 Fix possible deadlock.
7747 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7749 * docs/gst/gstreamer-docs.sgml:
7750 * docs/gst/gstreamer-sections.txt:
7751 * docs/gst/gstreamer.types:
7752 * docs/gst/tmpl/.cvsignore:
7757 added 100 symbols from gstreamer-unused.txt to the right sections
7758 fixed more broken comments
7759 added GstBus to docs
7761 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7763 * docs/gst/gstreamer-sections.txt:
7764 * docs/gst/tmpl/.cvsignore:
7765 * docs/gst/tmpl/gstbin.sgml:
7766 * docs/gst/tmpl/gstbuffer.sgml:
7767 * gst/base/gstbasesrc.c:
7768 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7771 * tools/gst-launch.1.in:
7772 inlined more doc comments, added missing comments and fixed comments
7775 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7777 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7781 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7783 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7784 * gst/gststructure.h:
7785 add a fixate function for booleans; add a FIXME that these func
7786 names should probably be gst_structure_fixate_*
7788 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7790 * docs/gst/gstreamer-docs.sgml:
7791 * docs/gst/gstreamer-sections.txt:
7793 * gst/gstbin.c: (gst_bin_get_type),
7794 (gst_bin_child_proxy_get_child_by_index),
7795 (gst_bin_child_proxy_get_children_count),
7796 (gst_bin_child_proxy_init):
7797 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7798 (gst_child_proxy_get_child_by_index),
7799 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7800 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7801 (gst_child_proxy_get), (gst_child_proxy_set_property),
7802 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7803 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7804 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7805 * gst/gstchildproxy.h:
7806 * gst/parse/grammar.y:
7807 * tools/gst-inspect.c: (print_interfaces),
7808 (print_element_properties_info), (print_element_info):
7809 ported gstchildproxy over from 0.8
7810 ported gst-inspect fixes and enhancements over from 0.8
7812 2005-08-22 Wim Taymans <wim@fluendo.com>
7814 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7815 (gst_base_transform_handle_buffer):
7816 Also call the transform function if we have ANY caps.
7818 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7821 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7823 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7824 Don't pretend to handle seek events if the source is not seekable
7826 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7829 Remove extra parameter to debug output
7831 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7832 (gst_base_src_do_seek), (gst_base_src_activate_push):
7833 Fix seek event handling.
7835 * gst/gstpipeline.c: (gst_pipeline_change_state):
7836 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7837 (gst_queue_src_activate_push):
7838 Don't start the src pad task on FLUSH_STOP if the pad
7842 2005-08-22 Wim Taymans <wim@fluendo.com>
7844 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7845 Added check for gst_static_caps_get() refcounting.
7847 2005-08-22 Wim Taymans <wim@fluendo.com>
7849 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7850 Make _static_caps_get() refcounting sane.
7852 * gst/gstelement.c: (gst_element_set_state):
7853 Add g_return_val_if_fail() to protect against segfaults.
7855 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7857 * docs/gst/tmpl/gstevent.sgml:
7860 inlined remaining docs, added missing doc comments
7862 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7864 * check/gst/gstbin.c: (GST_START_TEST):
7865 since we don't know when preroll is done, use refcount range
7867 * gst/check/gstcheck.h:
7868 add macro for checking refcount range
7870 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7872 * check/Makefile.am:
7873 clean up environment for when registry gets built versus
7874 when actual tests are run; valgrind seems to not report
7875 leaks if GST_PLUGIN_PATH is set to some specific values
7876 * check/gst/gstbin.c: (GST_START_TEST):
7877 add more refcounting checks; maybe this exposes a
7880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7881 * gst/check/gstcheck.h:
7882 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7883 (gst_bin_change_state):
7884 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7885 add/fix debugging/whitespace
7887 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7889 * check/gst/gstevent.c: (event_probe), (test_event),
7891 Er, don't call gst_bin_watch_for_state_change you idiot.
7893 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7895 * check/Makefile.am:
7896 Use CHECK_CFLAGS and CHECK_LIBS
7897 * check/gst/gstevent.c: (event_probe), (test_event),
7900 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7901 (gst_base_src_start), (gst_base_src_stop),
7902 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7903 (gst_base_src_change_state):
7904 Sprinkle gst_base_src_stop liberally around error paths to fix
7905 problems reusing a source after failed state changes.
7906 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7907 (helper_find_suggest), (gst_type_find_helper):
7908 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7910 * docs/gst/tmpl/gstevent.sgml:
7911 Migrate part of the docs from the SGML file. Wait for ensonic to
7912 tell me how I did it wrong ;)
7913 * tools/gst-typefind.c: (main):
7914 Extra robustness to state changes between files.
7916 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7918 * check/Makefile.am:
7919 don't valgrind the controller test - it's leaking - Stefan, HELP
7920 * gst/check/gstcheck.c: (gst_check_message_error),
7921 (gst_check_chain_func), (gst_check_setup_element),
7922 (gst_check_teardown_element), (gst_check_setup_src_pad),
7923 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7924 (gst_check_teardown_sink_pad):
7925 * gst/check/gstcheck.h:
7926 add a bunch of methods to set up elements, and src and sink pads
7927 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7928 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7933 whitespace/doc fixes
7935 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7938 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7939 be handled by the application and not always printed as well
7941 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7943 * check/Makefile.am:
7945 * gst/check/gstcheck.c: (gst_check_message_error):
7946 * gst/check/gstcheck.h:
7947 add a fail_unless_equals_int
7948 add fail_unless for error messages
7950 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7952 * check/Makefile.am:
7954 * common/Makefile.am:
7957 factor out some of the common stuff so we can use it
7959 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7961 * check/Makefile.am:
7962 * check/gst/gstiterator.c: (GST_START_TEST):
7963 * check/gst/gstsystemclock.c: (GST_START_TEST),
7964 (gst_systemclock_suite):
7965 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7969 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7971 * check/elements/.cvsignore:
7972 * check/elements/gstfakesrc.c:
7973 rename to name of element
7974 * check/elements/identity.c: (chain_func), (event_func),
7975 (setup_identity), (cleanup_identity), (GST_START_TEST),
7976 (identity_suite), (main):
7977 add a test for identity
7978 * check/Makefile.am:
7979 * pkgconfig/Makefile.am:
7980 * pkgconfig/gstreamer-check.pc.in:
7981 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7985 move the check stuff to a library that gets installed
7986 * check/gst-libs/controller.c: (GST_START_TEST):
7987 * check/gst-libs/gdp.c:
7988 * check/gst/gst.c: (GST_START_TEST):
7989 * check/gst/gstbin.c:
7990 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7991 * check/gst/gstbus.c:
7992 * check/gst/gstcaps.c: (GST_START_TEST):
7993 * check/gst/gstelement.c:
7994 * check/gst/gstghostpad.c:
7995 * check/gst/gstiterator.c:
7996 * check/gst/gstmessage.c:
7997 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7998 * check/gst/gstobject.c:
7999 * check/gst/gstpad.c: (GST_START_TEST):
8000 * check/gst/gststructure.c: (GST_START_TEST):
8001 * check/gst/gstsystemclock.c: (GST_START_TEST),
8002 (gst_systemclock_suite):
8003 * check/gst/gsttag.c: (gst_tag_suite):
8004 * check/gst/gstvalue.c:
8005 * check/pipelines/cleanup.c:
8006 * check/pipelines/simple_launch_lines.c:
8007 * check/states/sinks.c:
8008 change include statement
8010 * docs/gst/gstreamer-sections.txt:
8011 * docs/gst/tmpl/gstpad.sgml:
8012 document more pad stuff
8013 * gst/gstminiobject.c: (gst_mini_object_ref),
8014 (gst_mini_object_unref):
8017 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8019 * docs/gst/tmpl/gst.sgml:
8021 eliminate another tmpl file, fix spelling in the long-description
8023 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8025 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8026 (test_event), (timediff), (gstevents_suite):
8027 Should fix build on 64-bit arch's
8029 2005-08-18 Andy Wingo <wingo@pobox.com>
8031 Make sure that when a pipeline goes to PLAYING, that data has
8032 actually hit the sink.
8034 * check/states/sinks.c (test_sink): A sink that doesn't get any
8035 data shouldn't return SUCCESS for going to either PLAYING or
8036 PAUSED. Test also the return values on the way back down.
8038 * gst/gstelement.c (gst_element_set_state): When changing the
8039 state of an element currently changing state asynchronously, go to
8040 lost-state after commiting the pending state. Makes future calls
8041 to get_state continue to return ASYNC.
8043 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8044 ASYNC when going to PLAYING if we still don't have preroll, as can
8045 happen with live sources.
8047 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8049 * docs/pwg/advanced-types.xml:
8050 Hack long paragraph into 2 chunks as a workaround for buggy
8051 jadetex version in sid and breezy that loops infinitely and
8054 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8056 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8057 (test_event), (timediff), (gstevents_suite):
8058 Provide more error margin in clock measurements to allow for
8059 g_get_current_time inaccuracies.
8061 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8063 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8064 (test_event), (timediff), (gstevents_suite):
8065 Fix error message output so I might be able to tell why the
8066 test works here but fails on the build farm.
8068 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8070 * check/Makefile.am:
8071 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8072 (test_event), (timediff), (gstevents_suite), (main):
8075 * docs/design/part-seeking.txt:
8078 * docs/gst/tmpl/gstevent.sgml:
8079 * docs/gst/tmpl/gstfakesrc.sgml:
8082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8083 Treat a buffer-without-newsegment the same as a receiving
8084 a newsegment not in time format, and disable syncing to the clock
8087 * gst/gstbus.c: (gst_bus_set_sync_handler):
8088 Assert if anyone tries to replace the existing sync_handler for bus,
8089 as only the owner should be setting it.
8092 Have a fixed set of custom event enums with events identified by
8093 their structure name (as in 0.8), rather than a free-for-all
8094 allowing collisions between enum values from different plugins.
8096 * gst/gstpad.c: (gst_pad_class_init):
8099 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8100 Handle out-of-band downstream events from the sending thread.
8102 2005-08-17 Andy Wingo <wingo@pobox.com>
8104 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8105 play-timeout==0 to mean no timeout at all. In that case, don't
8106 bother with a get_state or a warning, just return directly, even
8109 * gst/base/gstbasetransform.c: Debug changes.
8112 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8113 ensure bins post state change messages. A bit of a hack but I can't
8114 think of a way to avoid it.
8116 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8118 2005-08-16 Andy Wingo <wingo@pobox.com>
8120 * gst/base/gstadapter.h:
8121 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8122 peek() but you own the data. Not terribly efficient atm.
8124 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8126 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8127 (gst_element_found_tags):
8129 Add two utility functions for tag handling.
8131 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8133 * docs/manual/advanced-dataaccess.xml:
8134 * docs/manual/basics-helloworld.xml:
8135 Fix docs to use _bin_add() before _link(), which fixes the examples
8136 with recent core versions (reported by Madhan Raj M
8137 <raj_madan@rediffmail.com>, #313199).
8139 2005-08-16 Wim Taymans <wim@fluendo.com>
8141 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8142 Added subtract checks.
8144 * docs/design/part-events.txt:
8145 Some more docs about newsegment
8147 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8150 * gst/gstcaps.c: (gst_caps_to_string):
8151 Add comments, cleanups.
8153 * gst/gstelement.c: (gst_element_save_thyself):
8156 * gst/gstvalue.c: (gst_value_collect_int_range),
8157 (gst_string_unwrap), (gst_value_union_int_int_range),
8158 (gst_value_union_int_range_int_range),
8159 (gst_value_intersect_int_int_range),
8160 (gst_value_intersect_int_range_int_range),
8161 (gst_value_intersect_double_double_range),
8162 (gst_value_intersect_double_range_double_range),
8163 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8164 (gst_value_subtract_int_range_int),
8165 (gst_value_subtract_double_range_double),
8166 (gst_value_subtract_double_range_double_range),
8167 (gst_value_subtract_from_list), (gst_value_subtract_list),
8168 (gst_value_can_compare), (gst_value_compare_fraction):
8169 Cleanups, add comments, remove unneeded asserts.
8171 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8173 * tools/gst-launch.c: (event_loop):
8174 don't convert NULL structures to strings
8176 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8178 * docs/gst/gstreamer-sections.txt:
8179 made some defines private
8180 * docs/gst/tmpl/gstconfig.sgml:
8181 * docs/gst/tmpl/gstqueue.sgml:
8182 * docs/gst/tmpl/gsttaglist.sgml:
8183 * docs/gst/tmpl/gsttypes.sgml:
8184 * docs/gst/tmpl/gstutils.sgml:
8185 * docs/pwg/appendix-porting.xml:
8186 * gst/base/gstbasesink.h:
8187 * gst/base/gstbasesrc.c:
8188 * gst/base/gstbasesrc.h:
8189 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8190 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8191 * gst/gstelement.c: (gst_element_class_init):
8192 * gst/gstpad.c: (gst_pad_class_init):
8193 * gst/gstqueue.c: (gst_queue_class_init):
8194 * gst/gstxml.c: (gst_xml_class_init):
8195 documented all undocumented signal inline
8196 * libs/gst/controller/gst-controller.h:
8199 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8201 * docs/pwg/appendix-porting.xml:
8202 Document _set_link_function -> _set_setcaps_function.
8204 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8206 * check/Makefile.am:
8207 add a .check target for running the check
8208 * check/gst-libs/controller.c: (GST_START_TEST):
8210 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8211 complete checks for gstbuffer; would be nice if I could get the
8212 gcov stuff to work so I can see if I actually completed gstbuffer.c
8214 add ASSERT_BUFFER_REFCOUNT
8216 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8218 * docs/gst/gstreamer-sections.txt:
8219 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8221 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8222 spew out a warning if a tag that is already registered
8223 is re-registered, unless it is re-registered with a
8224 different type (#308438).
8226 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8228 * docs/pwg/appendix-porting.xml:
8229 * docs/pwg/building-state.xml:
8230 Add some paragraphs about state changes in 0.9 to the PWG
8231 and the porting guide, in particular about the new meaning
8232 of GST_STATE_PAUSED and how to write state change functions
8233 with concurrent access by multiple threads in mind.
8235 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8237 * docs/gst/gstreamer-docs.sgml:
8238 * docs/libs/gstreamer-libs-docs.sgml:
8239 added deprecation and since indexes
8240 * libs/gst/controller/gst-controller.c:
8241 * libs/gst/controller/gst-helper.c:
8245 2005-08-11 Wim Taymans <wim@fluendo.com>
8247 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8248 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8249 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8250 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8251 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8252 (gst_ghost_pad_set_target):
8253 Actually implement (re)setting the target on a ghostpad
8254 as described in the docs.
8256 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8258 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8259 Check whether GST_DEBUG_NO_COLOR environment variable is
8260 set and disable coloured debug output if that is the case.
8262 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8264 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8265 (gst_type_find_helper):
8266 The memory returned by gst_type_find_peek() needs to
8267 stay valid until the end of a typefind function, and
8268 typefind functions may keep results from different
8269 offsets around, so we can't just unref the buffer from
8270 the previous _peek(), but have to save all buffers
8271 returned by _peek() until typefinding is done and only
8274 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8276 * docs/gst/gstreamer-sections.txt:
8278 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8280 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8282 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8283 Fix a pretty good memleak.
8285 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8287 * gst/gstiterator.h:
8288 Fix wrong include and 'make distcheck'.
8290 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8292 * gst/gstbin.c: (bin_bus_handler):
8293 Use gst_element_post_message() instead.
8295 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8297 * gst/base/gstadapter.h:
8298 * gst/base/gstbasesink.h:
8299 * gst/base/gstbasesrc.h:
8300 * gst/base/gstbasetransform.h:
8301 * gst/base/gstcollectpads.h:
8302 * gst/base/gstpushsrc.h:
8303 * gst/gstiterator.h:
8304 Add padding to our base elements' class and instance structs and
8305 to GstIterator (you will need to rebuild all plugins and apps!)
8307 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8309 * gst/gstbin.c: (bin_bus_handler):
8310 Make default message forwarding from child->bus to bin->bus
8311 threadsafe and make it not emit warnings if the parent has no bus.
8313 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8315 * gst/gstelement.c: (activate_pads):
8316 On paused->ready, set pad->caps to NULL, as is the documented
8317 behaviour in this state change. Fixes playback of series of
8318 media files when visualization is enabled in Totem.
8320 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8322 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8323 Allow NULL as filter-caps (which means "any").
8325 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8327 * docs/libs/gstreamer-libs-sections.txt:
8328 * libs/gst/controller/gst-controller.c:
8329 * libs/gst/controller/gst-controller.h:
8330 * libs/gst/controller/gst-helper.c:
8331 adding more entries to the docs and fix small doc-bugs
8333 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8335 * docs/gst/gstreamer-docs.sgml:
8336 * docs/gst/gstreamer-sections.txt:
8337 * docs/gst/gstreamer.types:
8338 * docs/gst/tmpl/gstbasesink.sgml:
8339 * docs/gst/tmpl/gstbasesrc.sgml:
8340 * docs/gst/tmpl/gstbasetransform.sgml:
8341 * docs/gst/tmpl/gstfakesrc.sgml:
8342 * gst/base/gstcollectpads.c:
8343 * gst/base/gstcollectpads.h:
8344 * libs/gst/controller/gst-controller.c:
8345 * libs/gst/controller/gst-controller.h:
8346 * libs/gst/controller/gst-helper.c:
8347 * libs/gst/controller/gst-interpolation.c:
8348 * libs/gst/controller/lib.c:
8349 added long/short desc for controller docs
8350 added collectpads base class docs
8351 added correct includes to base-class docs
8353 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8355 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8356 (gst_test_mono_source_set_property),
8357 (gst_test_mono_source_class_init), (GST_START_TEST),
8358 (gst_controller_suite):
8359 * docs/gst/gstreamer-docs.sgml:
8360 * docs/gst/gstreamer-sections.txt:
8361 * docs/gst/gstreamer.types:
8362 * docs/libs/gstreamer-libs-docs.sgml:
8363 * docs/libs/gstreamer-libs-sections.txt:
8364 * gst/base/gstadapter.c:
8365 * libs/gst/controller/gst-controller.c:
8366 (gst_controlled_property_new), (gst_controlled_property_free),
8367 (gst_controller_new_valist),
8368 (gst_controller_remove_properties_valist),
8369 (gst_controller_sink_values), (_gst_controller_finalize):
8370 * libs/gst/controller/gst-controller.h:
8371 * libs/gst/controller/gst-helper.c:
8372 (gst_object_control_properties), (gst_object_uncontrol_properties),
8373 (gst_object_get_controller), (gst_object_set_controller),
8374 (gst_object_sink_values), (gst_object_get_value_arrays),
8375 (gst_object_get_value_array):
8376 more tests (and fixes) for the controller
8377 more docs for the controller
8378 integrated companies docs for the adapter
8380 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8382 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8383 (GST_START_TEST), (fakesrc_suite):
8384 add tests for sizetype
8386 2005-08-04 Andy Wingo <wingo@pobox.com>
8388 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8389 fixes buffer_alloc proxying among other things.
8391 * gst/base/gstbasetransform.c:
8392 * gst/base/gstbasetransform.h:
8393 Revert patch to gstbasetransform from 7-28 removing
8396 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8397 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8398 Semantics changed, should return not the size of the output buffer
8399 but the byte size of a buffer with a given caps.
8401 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8403 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8404 out) are not the pad caps until setcaps finishes.
8405 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8406 not-in-place case as well. Deal with changing from in-place to
8407 not-in-place within calling pad_alloc_buffer. Still a bit
8408 concerned about the overhead here...
8410 2005-08-03 Andy Wingo <wingo@pobox.com>
8412 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8413 fixating is an error.
8415 2005-08-04 Edward Hervey <edward@fluendo.com>
8417 * gst/base/gstadapter.h:
8418 Added gst_adapter_get_type() to the header
8420 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8422 * check/Makefile.am:
8423 * check/gst-libs/controller.c:
8424 * libs/gst/controller/gst-controller.c:
8425 (gst_controller_new_valist):
8426 added check test suite for the controller
8427 * gst/base/gstpushsrc.c:
8430 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8432 * docs/gst/Makefile.am:
8433 * docs/gst/gstreamer-docs.sgml:
8434 * docs/gst/gstreamer-sections.txt:
8435 * docs/gst/gstreamer.types:
8436 * docs/gst/tmpl/gstfakesrc.sgml:
8438 * gst/base/gstbasesink.c:
8439 * gst/base/gstbasesink.h:
8440 * gst/base/gstbasesrc.c:
8441 * gst/base/gstbasesrc.h:
8442 * gst/base/gstbasetransform.c:
8443 * gst/base/gstpushsrc.c:
8444 * gst/base/gstpushsrc.h:
8445 add short/long description docs to base classes
8446 add pushsrc to the docs
8447 remove consolidated doc fragments
8449 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8452 * docs/libs/Makefile.am:
8453 * docs/libs/gstreamer-libs-docs.sgml:
8454 * docs/libs/gstreamer-libs-sections.txt:
8455 * docs/libs/gstreamer-libs.types:
8456 * examples/Makefile.am:
8457 * examples/controller/.cvsignore:
8458 * examples/controller/Makefile.am:
8459 * examples/controller/audio-example.c: (main):
8460 * libs/gst/Makefile.am:
8461 * libs/gst/controller/.cvsignore:
8462 * libs/gst/controller/Makefile.am:
8463 * libs/gst/controller/gst-controller.c:
8464 (on_object_controlled_property_changed), (gst_timed_value_compare),
8465 (gst_timed_value_find),
8466 (gst_controlled_property_set_interpolation_mode),
8467 (gst_controlled_property_new), (gst_controlled_property_free),
8468 (gst_controller_find_controlled_property),
8469 (gst_controller_new_valist), (gst_controller_new),
8470 (gst_controller_remove_properties_valist),
8471 (gst_controller_remove_properties), (gst_controller_set),
8472 (gst_controller_set_from_list), (gst_controller_unset),
8473 (gst_controller_get), (gst_controller_get_all),
8474 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8475 (gst_controller_get_value_array),
8476 (gst_controller_set_interpolation_mode),
8477 (_gst_controller_finalize), (_gst_controller_init),
8478 (_gst_controller_class_init), (gst_controller_get_type):
8479 * libs/gst/controller/gst-controller.h:
8480 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8481 (g_object_uncontrol_properties), (g_object_get_controller),
8482 (g_object_set_controller), (g_object_sink_values),
8483 (g_object_get_value_arrays), (g_object_get_value_array):
8484 * libs/gst/controller/gst-interpolation.c:
8485 (gst_controlled_property_find_timed_value_node),
8486 (interpolate_none_get), (interpolate_trigger_get),
8487 (interpolate_trigger_get_value_array):
8488 * libs/gst/controller/lib.c: (gst_controller_init):
8489 * pkgconfig/Makefile.am:
8490 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8491 * pkgconfig/gstreamer-control.pc.in:
8492 * testsuite/Makefile.am:
8493 * testsuite/controller/.cvsignore:
8494 * testsuite/controller/Makefile.am:
8495 * testsuite/controller/interpolator.c: (main):
8496 added controller code
8497 removed dparam pc files
8499 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8500 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8501 (gst_collectpads_stop):
8502 Broadcast the condition when shutting down, to make sure we wake all
8503 threads up. Shut down pads on finalize, for safety.
8505 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8506 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8507 (gst_base_transform_handle_buffer),
8508 (gst_base_transform_change_state):
8509 Handle PAUSED->READY->PAUSED transition after negotiation
8511 * gst/gstmessage.c: (gst_message_init):
8512 Extra piece of debug for new messages.
8514 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8517 * docs/gst/tmpl/gstbasesrc.sgml:
8518 * docs/gst/tmpl/gstelement.sgml:
8519 * docs/gst/tmpl/gstevent.sgml:
8520 * docs/gst/tmpl/gstfakesrc.sgml:
8521 * docs/gst/tmpl/gstformat.sgml:
8522 * docs/gst/tmpl/gstghostpad.sgml:
8523 * docs/gst/tmpl/gstpad.sgml:
8524 * docs/gst/tmpl/gstquery.sgml:
8525 * docs/gst/tmpl/gststructure.sgml:
8526 * docs/gst/tmpl/gsttaglist.sgml:
8527 * docs/gst/tmpl/gstvalue.sgml:
8528 * docs/libs/gstreamer-libs-docs.sgml:
8529 * docs/libs/gstreamer-libs-sections.txt:
8530 * docs/libs/gstreamer-libs.types:
8531 * libs/gst/Makefile.am:
8532 * libs/gst/control/.cvsignore:
8533 * libs/gst/control/Makefile.am:
8534 * libs/gst/control/control.c:
8535 * libs/gst/control/control.h:
8536 * libs/gst/control/dparam.c:
8537 * libs/gst/control/dparam.h:
8538 * libs/gst/control/dparam_smooth.c:
8539 * libs/gst/control/dparam_smooth.h:
8540 * libs/gst/control/dparamcommon.h:
8541 * libs/gst/control/dparammanager.c:
8542 * libs/gst/control/dparammanager.h:
8543 * libs/gst/control/dplinearinterp.c:
8544 * libs/gst/control/dplinearinterp.h:
8545 * libs/gst/control/unitconvert.c:
8546 * libs/gst/control/unitconvert.h:
8547 * testsuite/Makefile.am:
8548 * testsuite/dynparams/.cvsignore:
8549 * testsuite/dynparams/Makefile.am:
8550 * testsuite/dynparams/dparamstest.c:
8551 * tools/Makefile.am:
8552 * tools/gst-inspect.c: (print_element_info), (main):
8553 * tools/gst-xmlinspect.c: (print_element_info), (main):
8554 deactivate and remove dparams (libgstcontrol)
8556 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8558 * gst/elements/gsttypefindelement.c:
8559 (gst_type_find_element_have_type), (gst_type_find_element_init),
8560 (stop_typefinding), (gst_type_find_element_handle_event),
8561 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8562 * gst/elements/gsttypefindelement.h:
8563 Set caps on all outgoing buffers, not just the first one.
8565 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8567 * gst/elements/gsttypefindelement.c:
8568 (gst_type_find_element_have_type),
8569 (gst_type_find_element_check_set_buffer_caps),
8570 (gst_type_find_element_init), (stop_typefinding),
8571 (gst_type_find_element_handle_event),
8572 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8573 * gst/elements/gsttypefindelement.h:
8574 Set caps on first outgoing buffer when we've found the type.
8576 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8578 * docs/gst/gstreamer-docs.sgml:
8579 * docs/gst/gstreamer-sections.txt:
8580 * docs/gst/tmpl/gstscheduler.sgml:
8581 * docs/gst/tmpl/gstschedulerfactory.sgml:
8582 Remove some old cruft from docs.
8584 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8587 Fix inline docs for GstPadLinkReturn.
8589 * gst/gststructure.c: (gst_structure_has_name):
8590 * gst/gststructure.h:
8591 * docs/gst/gstreamer-sections.txt:
8592 New API: gst_structure_has_name().
8594 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8597 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8598 and _LARGEFILE_SOURCE in config.h as required. Do not
8599 export those flags in our .pc files any longer (#142209).
8601 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8603 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8604 (gst_file_sink_do_seek), (gst_file_sink_event),
8605 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8606 Redo seek/tell calls with large file support in mind; add some
8607 debugging messages; add log message that tells us when large
8608 file support is unavailable or not enabled for some reason.
8610 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8611 Add log message that tells us when large file support
8612 is unavailable or not enabled for some reason.
8614 2005-07-29 Wim Taymans <wim@fluendo.com>
8616 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8617 Added test for removing an element with ghostpad from a bin.
8618 Fixed test as current implementation does the right thing.
8620 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8621 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8622 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8623 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8624 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8625 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8626 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8627 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8628 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8629 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8630 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8631 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8632 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8633 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8634 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8635 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8636 * gst/gstghostpad.h:
8637 Clean up ghostpads, remove properties for internal stuff.
8640 Prepare for switching targets, not all use cases work yet.
8642 2005-07-29 Wim Taymans <wim@fluendo.com>
8644 * docs/design/part-gstghostpad.txt:
8647 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8648 (gst_bin_remove_func):
8649 Unlinking pads while holding the bin LOCK is not a good
8652 * gst/gstpad.c: (gst_pad_class_init),
8653 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8654 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8655 No prob setting template after creating the pad.
8657 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8659 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8660 (gst_bus_peek), (gst_bus_source_dispatch),
8661 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8662 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8663 gst_bus_poll may be called from other threads. Handle
8664 this nicely by not making poll_data disappear off the
8665 stack once gst_bus_poll returns.
8666 gst_bus_peek now increments the refcount on the returned
8669 2005-07-29 Wim Taymans <wim@fluendo.com>
8671 * docs/design/part-gstghostpad.txt:
8672 Overview of current GhostPad datastructures and use
8673 cases for changing the target.
8675 2005-07-28 Wim Taymans <wim@fluendo.com>
8677 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8678 Added checks for hierarchy consistency whan adding linked
8681 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8682 Added check to test element scheduling without bin/pipeline.
8684 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8685 First add elements to bin, then link.
8687 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8688 (gst_bin_remove_func):
8689 Unlink pads from elements added/removed from bin to maintain
8690 hierarchy consistency.
8692 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8694 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8695 (gst_base_transform_handle_buffer):
8696 * gst/base/gstbasetransform.h:
8697 Remove broken delay_configure (fixes renegotiation of software
8698 scaling pipelines); remove some leftover printf()s.
8700 2005-07-28 Wim Taymans <wim@fluendo.com>
8702 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8703 Added some more tests for wrong hierarchy
8705 * docs/design/part-overview.txt:
8708 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8711 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8712 (gst_element_dispose):
8715 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8716 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8717 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8718 (gst_pad_set_caps), (gst_pad_send_event):
8719 Check for correct hierarchy when linking pads. Moving to
8720 strict requirement for ghostpads when linking elements in
8724 Clean ups. Added WRONG_HIERARCHY return value.
8726 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8728 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8729 Better debug if no transform is possible.
8731 2005-07-27 Wim Taymans <wim@fluendo.com>
8733 * docs/random/wtay/network-transp:
8736 2005-07-27 Wim Taymans <wim@fluendo.com>
8738 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8739 (gst_dp_event_from_packet):
8740 Fix serialization of seek events.
8742 2005-07-27 Wim Taymans <wim@fluendo.com>
8744 * check/gst-libs/gdp.c: (GST_START_TEST):
8745 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8746 Fix compilation and fix event serialization.
8748 2005-07-27 Wim Taymans <wim@fluendo.com>
8751 * docs/design/part-TODO.txt:
8752 * docs/design/part-events.txt:
8755 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8756 (gst_base_sink_event), (gst_base_sink_do_sync),
8757 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8758 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8759 (gst_base_src_do_seek), (gst_base_src_event_handler),
8760 (gst_base_src_loop):
8761 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8762 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8763 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8764 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8765 (gst_base_transform_set_passthrough),
8766 (gst_base_transform_is_passthrough):
8767 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8768 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8774 * gst/gstelement.c: (gst_element_seek):
8776 Update gst_element_seek.
8778 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8779 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8780 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8781 (gst_event_new_eos), (gst_event_new_newsegment),
8782 (gst_event_parse_newsegment), (gst_event_new_tag),
8783 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8784 (gst_event_parse_qos), (gst_event_new_seek),
8785 (gst_event_parse_seek), (gst_event_new_navigation):
8787 Make GstEvent use GstStructure. Add parsing code, make sure the
8788 API is sufficiently generic.
8789 Mark possible directions of events and serialization.
8791 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8792 (_gst_message_copy), (gst_message_new_segment_start),
8793 (gst_message_new_segment_done), (gst_message_new_custom),
8794 (gst_message_parse_segment_start),
8795 (gst_message_parse_segment_done):
8798 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8799 (gst_pad_set_caps), (gst_pad_send_event):
8800 Update for new events.
8801 Catch events sent in wrong directions.
8803 * gst/gstqueue.c: (gst_queue_link_src),
8804 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8805 (gst_queue_handle_src_query):
8810 Remove event code from this file.
8812 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8813 (gst_dp_event_from_packet):
8816 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8818 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8819 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8820 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8821 Make debugging actually useful.
8823 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8825 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8826 (gst_pad_fixate_caps):
8827 Implement default fixation once again, so that gst_pad_fixate()
8828 actually does anything at all. This probably needs to be some
8829 sort of a last resort, and use profile-based fixation first, but
8830 since that doesn't exist yet, this is the best we have. Fixes
8831 visualization in Totem.
8833 2005-07-22 Wim Taymans <wim@fluendo.com>
8835 * docs/design/part-events.txt:
8838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8839 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8840 (gst_base_sink_activate_pull):
8843 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8844 (gst_fake_src_create):
8845 Fix handoff marshall.
8847 * gst/elements/gstidentity.c: (gst_identity_class_init),
8848 (gst_identity_transform_ip):
8849 We're a real inplace element.
8851 * gst/gstbus.c: (gst_bus_post):
8852 Added some comments.
8854 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8855 * tests/muxing/case1.c: (main):
8856 * tests/sched/dynamic-pipeline.c: (main):
8857 * tests/sched/interrupt1.c: (main):
8858 * tests/sched/interrupt2.c: (main):
8859 * tests/sched/interrupt3.c: (main):
8860 * tests/sched/runxml.c: (main):
8861 * tests/sched/sched-stress.c: (main):
8862 * tests/seeking/seeking1.c: (event_received), (main):
8863 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8865 * tests/threadstate/threadstate3.c: (main):
8866 * tests/threadstate/threadstate4.c: (main):
8867 * tests/threadstate/threadstate5.c: (main):
8870 2005-07-21 Wim Taymans <wim@fluendo.com>
8872 * docs/design/part-seeking.txt:
8873 Some small additions.
8875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8876 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8877 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8878 * gst/base/gstbasesink.h:
8879 discont values are gint64, handle the math correctly.
8881 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8882 Make the basesrc report error if the source pad is not linked.
8884 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8885 (gst_queue_loop), (gst_queue_handle_src_query),
8886 (gst_queue_src_activate_push):
8887 Make queue collect data even if the srcpad is not linked.
8888 Start pushing out data as soon as it is linked.
8890 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8892 Added gst_flow_get_name() to ease error reporting.
8894 2005-07-20 Wim Taymans <wim@fluendo.com>
8896 * gst/gstmessage.c: (gst_message_new_segment_start),
8897 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8898 (gst_message_parse_segment_done):
8900 Added a bunch of messages for advanced seeking.
8902 * gst/parse/grammar.y:
8903 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8904 (gst_dpman_state_changed):
8905 Fix some new-pad -> pad-added signals
8907 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8909 * docs/manual/appendix-porting.xml:
8910 * docs/pwg/appendix-porting.xml:
8911 Document new-pad/state-change signal renames and the FixedList
8914 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8916 * docs/manual/advanced-autoplugging.xml:
8917 * docs/manual/basics-helloworld.xml:
8918 * docs/manual/basics-pads.xml:
8919 * docs/random/ds/0.9-suggested-changes:
8920 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8925 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8926 (gst_structure_parse_array), (gst_structure_parse_value):
8927 * gst/gstvalue.c: (gst_type_is_fixed),
8928 (gst_value_list_prepend_value), (gst_value_list_append_value),
8929 (gst_value_list_get_size), (gst_value_list_get_value),
8930 (gst_value_transform_array_string), (gst_value_serialize_array),
8931 (gst_value_deserialize_array), (gst_value_intersect_array),
8932 (gst_value_is_fixed), (_gst_value_initialize):
8934 GstElement::new-pad -> pad-added, GstElement::state-change ->
8935 state-changed, GstValueFixedList -> GstValueArray, add format and
8936 flags as their own arguments in gst_element_seek() (should improve
8937 "bindeability"), remove function generators since they don't work
8938 under a whole bunch of compilers (they were deprecated already
8941 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8943 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8944 (_gst_debug_register_funcptr):
8946 Fix illegal cast on some platforms (#309253).
8948 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8950 * gst/gstmessage.c: (gst_message_new_custom):
8952 Add _new_custom, make _new_application a macro to _new_custom.
8954 2005-07-20 Wim Taymans <wim@fluendo.com>
8956 * gst/base/gstbasesrc.c: (gst_base_src_init),
8957 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8958 * gst/base/gstbasesrc.h:
8959 Add a gboolean to decide when to push out a discont.
8961 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8962 (gst_queue_loop), (gst_queue_handle_src_query),
8963 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8964 (gst_queue_set_property), (gst_queue_get_property):
8967 * tests/threadstate/threadstate1.c: (main):
8968 Make a thread test compile and run... very silly..
8971 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8973 * docs/manual/appendix-porting.xml:
8974 Mention removal of libgstgconf-0.9.la and existence of gconf
8977 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8979 * docs/pwg/advanced-clock.xml:
8980 * docs/pwg/appendix-porting.xml:
8981 * docs/pwg/intro-preface.xml:
8982 * docs/pwg/other-base.xml:
8983 * docs/pwg/other-manager.xml:
8984 * docs/pwg/other-nton.xml:
8985 * docs/pwg/other-ntoone.xml:
8986 * docs/pwg/other-oneton.xml:
8988 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8989 demuxer), remove n-to-n (was never written), fix some code examples
8990 and links and update the porting section to include all this.
8992 2005-07-19 Wim Taymans <wim@fluendo.com>
8994 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8995 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8996 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8997 (gst_queue_src_activate_push), (gst_queue_change_state),
8998 (gst_queue_get_property):
9000 Propagate GstFlowReturn more intelligently upstream and output
9001 an ERROR/EOS when streaming stopped due to fatal error.
9003 2005-07-19 Wim Taymans <wim@fluendo.com>
9005 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9006 Don't block forever for the state change to complete, the
9007 pipeline already did with a sensible timeout.
9009 2005-07-19 Wim Taymans <wim@fluendo.com>
9011 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9012 Make sure we never call the create function is we
9015 2005-07-19 Andy Wingo <wingo@pobox.com>
9017 * gst/parse/parse.l: Attempt to solve bug #172815.
9019 2005-07-19 Wim Taymans <wim@fluendo.com>
9021 * docs/design/part-clocks.txt:
9022 * docs/design/part-events.txt:
9023 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9025 Only update the seeking values when we are not
9028 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9030 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9031 Oops, ignore the result of gst_pad_push_event here.
9033 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9035 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9036 (gst_base_src_activate_push):
9037 Send discont event from the loop function, as pads
9038 aren't activated yet in the activate_push handler.
9040 * gst/gstbin.c: (bin_bus_handler):
9041 Don't leak element name.
9043 2005-07-18 Andy Wingo <wingo@pobox.com>
9045 * configure.ac: Use AS_LIBTOOL_TAGS.
9047 2005-07-18 Wim Taymans <wim@fluendo.com>
9049 * docs/gst/gstreamer.types:
9050 Remove deleted types.
9052 2005-07-18 Wim Taymans <wim@fluendo.com>
9054 * check/elements/gstfakesrc.c: (GST_START_TEST):
9057 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9058 (init_popt_callback):
9060 * gst/gst_private.h:
9061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9062 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9065 * gst/gstconfig.h.in:
9066 * gst/gstelement.c: (gst_element_class_init),
9067 (gst_element_set_base_time), (gst_element_get_base_time),
9068 (iterator_fold_with_resync), (gst_element_change_state),
9069 (gst_element_dispose), (gst_element_get_bus):
9071 * gst/gstelementfactory.h:
9072 * gst/gsterror.c: (_gst_core_errors_init):
9075 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9077 * gst/gstinfo.c: (_gst_debug_init):
9078 * gst/gstmessage.c: (_gst_message_copy):
9080 * gst/gstminiobject.h:
9083 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9084 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9087 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9088 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9089 (gst_pipeline_get_last_stream_time):
9090 * gst/gstpipeline.h:
9091 * gst/gstpluginfeature.h:
9093 * gst/gstscheduler.c:
9094 * gst/gstscheduler.h:
9095 * gst/gststructure.h:
9096 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9097 (gst_task_finalize), (gst_task_func), (gst_task_create),
9098 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9099 (gst_task_stop), (gst_task_pause):
9101 * gst/gsttypefind.h:
9103 * gst/registries/gstlibxmlregistry.c: (load_feature),
9104 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9105 * gst/registries/gstxmlregistry.c:
9106 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9107 * gst/schedulers/threadscheduler.c:
9108 * libs/gst/control/dparammanager.h:
9109 * tools/gst-inspect.c: (print_element_list),
9110 (print_plugin_features), (print_element_features):
9111 * tools/gst-xmlinspect.c: (print_element_list),
9112 (print_plugin_info), (main):
9113 Removed plugable schedulers.
9114 Removed Scheduler/Manager from elements.
9115 Removed gsttypes.h, rearranged includes.
9116 Removed dependency pad<->element, element<>pipeline, and
9117 various others, fix includes.
9118 implement gst_pad_get_parent() with gst_object_get_parent()
9119 Make GstTask sefcontained.
9120 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9122 Fix endless loop in iterator_fold_with_resync.
9125 2005-07-18 Wim Taymans <wim@fluendo.com>
9131 2005-07-18 Wim Taymans <wim@fluendo.com>
9136 2005-07-18 Wim Taymans <wim@fluendo.com>
9142 2005-07-18 Wim Taymans <wim@fluendo.com>
9144 * docs/design/part-dynamic.txt:
9145 * docs/design/part-events.txt:
9146 * docs/design/part-seeking.txt:
9147 Some more docs in the works.
9149 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9150 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9151 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9152 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9153 (gst_base_transform_handle_buffer),
9154 (gst_base_transform_sink_activate_push),
9155 (gst_base_transform_src_activate_pull),
9156 (gst_base_transform_set_passthrough),
9157 (gst_base_transform_is_passthrough):
9160 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9163 * gst/gstevent.c: (gst_event_finalize):
9166 * gst/gstutils.c: (gst_element_unlink),
9167 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9168 (gst_pad_proxy_setcaps):
9170 Add _get_parent_element() to get a pads parent as an element.
9172 2005-07-18 Wim Taymans <wim@fluendo.com>
9174 * check/gst/gstbin.c: (GST_START_TEST):
9177 2005-07-18 Wim Taymans <wim@fluendo.com>
9179 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9180 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9181 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9182 (gst_base_sink_event), (gst_base_sink_do_sync),
9183 (gst_base_sink_chain), (gst_base_sink_loop),
9184 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9185 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9187 Fix logic for returning ASYNC when not prerolled.
9189 2005-07-18 Wim Taymans <wim@fluendo.com>
9191 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9192 Fix nasty refcount bug.
9194 2005-07-16 Philippe Khalaf <burger@speedy.org>
9196 * gst/elements/gstfdsrc.c:
9197 * gst/elements/gstfdsrc.h:
9198 * gst/elements/gstelements.c:
9199 * gst/elements/Makefile.am:
9200 Ported fdsrc to 0.9.
9202 2005-07-16 Wim Taymans <wim@fluendo.com>
9204 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9205 (gst_base_sink_do_sync):
9208 2005-07-16 Wim Taymans <wim@fluendo.com>
9210 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9211 (gst_base_sink_event), (gst_base_sink_get_times),
9212 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9213 * gst/base/gstbasesink.h:
9214 Store and use discont values when syncing buffers as described
9217 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9218 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9219 (gst_base_src_activate_push):
9220 Push discont event when starting.
9222 * gst/elements/gstidentity.c: (gst_identity_transform):
9225 * gst/gstbin.c: (gst_bin_change_state):
9226 Small cleanups in base_time distribution.
9228 * gst/gstelement.c: (gst_element_set_base_time),
9229 (gst_element_get_base_time), (gst_element_change_state):
9231 Added methods for the base_time of the element.
9234 * gst/gstpipeline.c: (gst_pipeline_send_event),
9235 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9236 (gst_pipeline_get_last_stream_time):
9237 * gst/gstpipeline.h:
9239 Handle seeking as described in design doc, remove stream_time
9241 Cleanups clock and stream_time selection code. Added accessors
9242 for the stream_time.
9245 2005-07-16 Andy Wingo <wingo@pobox.com>
9247 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9250 2005-07-16 Wim Taymans <wim@fluendo.com>
9252 * check/gst/gstbin.c: (GST_START_TEST):
9253 Make elements silent as the deep_notify refs the
9254 parent, which might make the test fail.
9256 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9257 Don't hold the lock for too long.
9259 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9261 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9262 Don't unref the caps we passed to gst_caps_make_writable() after
9263 passing them. gst_caps_make_writable() will do that for us.
9265 2005-07-15 Andy Wingo <wingo@pobox.com>
9267 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9270 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9271 own marshalling function for the handoff signal. Properly type the
9272 buffer as a buffer. Fixes some warnings. Should do a more general
9274 (gst_identity_class_init): Plug into the right marshaller.
9276 2005-07-15 Wim Taymans <wim@fluendo.com>
9278 * docs/design/part-TODO.txt:
9279 * docs/design/part-clocks.txt:
9280 * docs/design/part-element-sink.txt:
9281 * docs/design/part-events.txt:
9282 * docs/design/part-gstpipeline.txt:
9283 Updated docs, mostly DISCONT related.
9285 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9287 * docs/pwg/building-pads.xml:
9288 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9290 2005-07-15 Andy Wingo <wingo@pobox.com>
9292 * tools/gst-typefind.c: Update, add copyright block.
9294 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9295 Normalize and truncate caps before fixation.
9298 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9299 discards all but the first structure from its argument.
9301 2005-07-15 Wim Taymans <wim@fluendo.com>
9303 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9304 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9305 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9306 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9307 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9308 (gst_base_transform_chain), (gst_base_transform_change_state),
9309 (gst_base_transform_set_passthrough),
9310 (gst_base_transform_is_passthrough):
9311 * gst/base/gstbasetransform.h:
9312 Make passthrough work using the bufferpools.
9313 Changed API a bit, subclasses have to write into a buffer
9314 provided by the base class.
9315 More debug info in nego functions.
9317 * gst/elements/gstidentity.c: (gst_identity_init),
9318 (gst_identity_transform):
9319 Port to new base class.
9321 2005-07-15 Wim Taymans <wim@fluendo.com>
9323 * gst/gstmessage.c: (gst_message_new_state_changed):
9324 * tools/gst-launch.c: (event_loop), (main):
9325 Totally dump messages in -launch with the -m option.
9326 Fix message name for State messages,
9328 2005-07-14 Wim Taymans <wim@fluendo.com>
9330 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9331 Post error messages on errors.
9333 2005-07-14 Wim Taymans <wim@fluendo.com>
9335 * gst/gstcaps.c: (gst_caps_do_simplify):
9339 Define error for stream stopped.
9341 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9342 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9343 Do proper return values.
9345 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9346 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9347 (gst_pad_get_range):
9348 Better return values.
9351 Reorganise return values, add macro to check for fatal errors.
9353 * gst/gstqueue.c: (gst_queue_chain):
9354 Return proper GstFlowReturn values,
9356 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9358 * docs/gst/gstreamer-sections.txt:
9359 * docs/gst/gstreamer.types:
9360 * docs/gst/tmpl/gst.sgml:
9361 * docs/gst/tmpl/gstbasesink.sgml:
9362 * docs/gst/tmpl/gstbasesrc.sgml:
9363 * docs/gst/tmpl/gstbasetransform.sgml:
9364 * docs/gst/tmpl/gstbin.sgml:
9365 * docs/gst/tmpl/gstbuffer.sgml:
9366 * docs/gst/tmpl/gstcaps.sgml:
9367 * docs/gst/tmpl/gstclock.sgml:
9368 * docs/gst/tmpl/gstcompat.sgml:
9369 * docs/gst/tmpl/gstconfig.sgml:
9370 * docs/gst/tmpl/gstelement.sgml:
9371 * docs/gst/tmpl/gstelementdetails.sgml:
9372 * docs/gst/tmpl/gstelementfactory.sgml:
9373 * docs/gst/tmpl/gstenumtypes.sgml:
9374 * docs/gst/tmpl/gsterror.sgml:
9375 * docs/gst/tmpl/gstevent.sgml:
9376 * docs/gst/tmpl/gstfakesink.sgml:
9377 * docs/gst/tmpl/gstfakesrc.sgml:
9378 * docs/gst/tmpl/gstfilesink.sgml:
9379 * docs/gst/tmpl/gstfilesrc.sgml:
9380 * docs/gst/tmpl/gstfilter.sgml:
9381 * docs/gst/tmpl/gstformat.sgml:
9382 * docs/gst/tmpl/gstghostpad.sgml:
9383 * docs/gst/tmpl/gstimplementsinterface.sgml:
9384 * docs/gst/tmpl/gstindex.sgml:
9385 * docs/gst/tmpl/gstindexfactory.sgml:
9386 * docs/gst/tmpl/gstinfo.sgml:
9387 * docs/gst/tmpl/gstiterator.sgml:
9388 * docs/gst/tmpl/gstmacros.sgml:
9389 * docs/gst/tmpl/gstmemchunk.sgml:
9390 * docs/gst/tmpl/gstminiobject.sgml:
9391 * docs/gst/tmpl/gstobject.sgml:
9392 * docs/gst/tmpl/gstpad.sgml:
9393 * docs/gst/tmpl/gstpadtemplate.sgml:
9394 * docs/gst/tmpl/gstparse.sgml:
9395 * docs/gst/tmpl/gstpipeline.sgml:
9396 * docs/gst/tmpl/gstplugin.sgml:
9397 * docs/gst/tmpl/gstpluginfeature.sgml:
9398 * docs/gst/tmpl/gstquery.sgml:
9399 * docs/gst/tmpl/gstqueue.sgml:
9400 * docs/gst/tmpl/gstregistry.sgml:
9401 * docs/gst/tmpl/gstregistrypool.sgml:
9402 * docs/gst/tmpl/gstscheduler.sgml:
9403 * docs/gst/tmpl/gstschedulerfactory.sgml:
9404 * docs/gst/tmpl/gststructure.sgml:
9405 * docs/gst/tmpl/gstsystemclock.sgml:
9406 * docs/gst/tmpl/gsttaglist.sgml:
9407 * docs/gst/tmpl/gsttagsetter.sgml:
9408 * docs/gst/tmpl/gsttrace.sgml:
9409 * docs/gst/tmpl/gsttrashstack.sgml:
9410 * docs/gst/tmpl/gsttypefind.sgml:
9411 * docs/gst/tmpl/gsttypefindfactory.sgml:
9412 * docs/gst/tmpl/gsttypes.sgml:
9413 * docs/gst/tmpl/gsturihandler.sgml:
9414 * docs/gst/tmpl/gsturitype.sgml:
9415 * docs/gst/tmpl/gstutils.sgml:
9416 * docs/gst/tmpl/gstvalue.sgml:
9417 * docs/gst/tmpl/gstversion.sgml:
9418 * docs/gst/tmpl/gstxml.sgml:
9419 * docs/libs/tmpl/gstcontrol.sgml:
9420 * docs/libs/tmpl/gstdataprotocol.sgml:
9421 * docs/libs/tmpl/gstdparam.sgml:
9422 * docs/libs/tmpl/gstdplinint.sgml:
9423 * docs/libs/tmpl/gstdpman.sgml:
9424 * docs/libs/tmpl/gstdpsmooth.sgml:
9425 * docs/libs/tmpl/gstgetbits.sgml:
9426 * docs/libs/tmpl/gstunitconvert.sgml:
9427 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9428 (gst_push_src_base_init), (gst_push_src_class_init),
9429 (gst_push_src_init), (gst_push_src_create):
9430 * gst/base/gstpushsrc.h:
9431 * gst/elements/gstelements.c:
9432 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9433 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9434 (gst_fake_sink_init), (gst_fake_sink_set_property),
9435 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9436 (gst_fake_sink_event), (gst_fake_sink_preroll),
9437 (gst_fake_sink_render), (gst_fake_sink_change_state):
9438 * gst/elements/gstfakesink.h:
9439 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9440 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9441 (gst_fake_src_base_init), (gst_fake_src_class_init),
9442 (gst_fake_src_init), (gst_fake_src_event_handler),
9443 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9444 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9445 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9446 (gst_fake_src_create_buffer), (gst_fake_src_create),
9447 (gst_fake_src_start), (gst_fake_src_stop):
9448 * gst/elements/gstfakesrc.h:
9449 * gst/elements/gstfilesink.c: (_do_init),
9450 (gst_file_sink_base_init), (gst_file_sink_class_init),
9451 (gst_file_sink_init), (gst_file_sink_dispose),
9452 (gst_file_sink_set_location), (gst_file_sink_set_property),
9453 (gst_file_sink_get_property), (gst_file_sink_open_file),
9454 (gst_file_sink_close_file), (gst_file_sink_query),
9455 (gst_file_sink_event), (gst_file_sink_render),
9456 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9457 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9458 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9459 * gst/elements/gstfilesink.h:
9460 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9461 (gst_file_src_class_init), (gst_file_src_init),
9462 (gst_file_src_finalize), (gst_file_src_set_location),
9463 (gst_file_src_set_property), (gst_file_src_get_property),
9464 (gst_file_src_map_region), (gst_file_src_map_small_region),
9465 (gst_file_src_create_mmap), (gst_file_src_create_read),
9466 (gst_file_src_create), (gst_file_src_is_seekable),
9467 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9468 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9469 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9470 (gst_file_src_uri_handler_init):
9471 * gst/elements/gstfilesrc.h:
9472 more autistic cleanliness in functions/names/defines
9474 2005-07-13 Andy Wingo <wingo@pobox.com>
9476 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9477 source couldn't negotiate.
9479 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9483 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9484 function. I am channeling Hades. Put your boots on suckers!!!
9486 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9488 * testsuite/caps/Makefile.am:
9489 * testsuite/caps/value_compare.c:
9490 * testsuite/caps/value_intersect.c:
9491 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9492 move two testsuite apps over to the check dir
9494 2005-07-12 Wim Taymans <wim@fluendo.com>
9496 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9497 Added more debug info in the negotiate process.
9500 Prepare for segment playback.
9502 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9508 * tools/gst-launch.c: (main):
9509 NULL pipeline on errors.
9511 2005-07-12 Andy Wingo <wingo@pobox.com>
9513 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9514 not it comes from a malloc region. Make sure our copy gets freed.
9516 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9518 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9519 * check/gst/gstmessage.c: (GST_START_TEST):
9520 * check/gst/gststructure.c: (GST_START_TEST),
9521 (gst_structure_suite), (main):
9523 * gst/gstelement.c: (gst_element_message_full):
9524 clean up GError and debug string now that they get copied
9525 * gst/gstmessage.c: (gst_message_new_error),
9526 (gst_message_new_warning), (gst_message_parse_error),
9527 (gst_message_parse_warning):
9528 use GST_TYPE_G_ERROR for structure_new, and take copies of
9529 arguments, so that we don't mess up refcounting
9531 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9533 * check/Makefile.am:
9534 add per-test valgrind targets
9535 * check/gst-libs/gdp.c: (GST_START_TEST),
9536 (gst_data_protocol_suite), (main):
9539 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9541 * check/Makefile.am:
9542 instate more valgrindable tests
9543 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9544 (GST_START_TEST), (fakesrc_suite):
9545 * check/gst/gstpad.c: (GST_START_TEST):
9546 * check/gst/gststructure.c: (GST_START_TEST):
9548 * docs/gst/tmpl/gstminiobject.sgml:
9549 * gst/gstpad.c: (gst_pad_finalize):
9550 fix the static mutex leak
9552 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9554 * check/Makefile.am:
9555 add two more tests for valgrinding
9556 * check/gst/gstvalue.c: (GST_START_TEST):
9557 test refcount of deserialized buffer, found a leak
9558 * docs/gst/gstreamer-docs.sgml:
9559 * docs/gst/gstreamer-sections.txt:
9560 * docs/gst/gstreamer.types:
9561 * docs/gst/tmpl/gstminiobject.sgml:
9562 add miniobject to docs
9563 * gst/gstminiobject.c:
9565 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9566 (gst_string_unwrap):
9567 fix a hard-to-find invalid write for one of the tests
9568 fix a leak for deserialized buffers
9570 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9572 * docs/pwg/advanced-events.xml:
9573 * docs/pwg/advanced-request.xml:
9574 * docs/pwg/advanced-scheduling.xml:
9575 * docs/pwg/appendix-porting.xml:
9576 * docs/pwg/building-boiler.xml:
9577 * docs/pwg/intro-preface.xml:
9578 * docs/pwg/other-ntoone.xml:
9579 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9580 of example code and explanation for pad activation, loop() and
9581 getrange() functions and a bit more. Remove old comments pointing
9583 * examples/pwg/Makefile.am:
9584 Add loop/getrange examples.
9586 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9589 check for valgrind binary + some fixes
9591 valgrind suppressions for the tests
9592 * check/Makefile.am:
9593 add a valgrind: target that valgrinds the unit tests
9594 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9595 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9596 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9597 * check/gst/gstghostpad.c:
9599 * check/gst/gstdata.c:
9601 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9602 (thread_unref), (gst_mini_object_suite), (main):
9604 * gst/gst.c: (gst_deinit):
9606 add a method to clean up.
9607 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9608 (gst_system_clock_obtain):
9609 allow for disposing the system clock.
9610 * tools/gst-launch.c: (main):
9613 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9615 * docs/gst/tmpl/gstbasesrc.sgml:
9616 * docs/gst/tmpl/gstfakesrc.sgml:
9617 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9618 (gst_base_src_init), (gst_base_src_set_property),
9619 (gst_base_src_get_property), (gst_base_src_get_range),
9620 (gst_base_src_start):
9621 * gst/base/gstbasesrc.h:
9622 add num-buffers property
9623 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9624 (gst_fakesrc_init), (gst_fakesrc_set_property),
9625 (gst_fakesrc_get_property), (gst_fakesrc_create),
9626 (gst_fakesrc_start):
9627 remove num-buffers property
9629 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9631 * docs/gst/gstreamer-sections.txt:
9632 * docs/gst/tmpl/gstbasesink.sgml:
9633 * docs/gst/tmpl/gstbasesrc.sgml:
9634 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9635 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9636 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9637 (gst_base_sink_set_property), (gst_base_sink_get_property),
9638 (gst_base_sink_handle_object), (gst_base_sink_event),
9639 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9640 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9641 (gst_base_sink_loop), (gst_base_sink_deactivate),
9642 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9643 (gst_base_sink_change_state):
9644 * gst/base/gstbasesink.h:
9645 * gst/base/gstbasesrc.h:
9646 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9647 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9648 (gst_filesink_init):
9649 more macro splitting
9651 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9653 * gst/gstelement.c: (gst_element_get_bus):
9655 * tools/gst-launch.c: (check_intr), (event_loop):
9658 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9660 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9663 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9665 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9666 (gst_base_src_finalize):
9667 add finalize method and clean up properly
9668 * gst/gstpipeline.c: (gst_pipeline_dispose):
9671 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9673 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9675 add more things to check
9676 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9680 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9682 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9683 (GST_START_TEST), (fakesrc_suite):
9684 * check/gst-libs/gdp.c: (GST_START_TEST):
9685 * check/gst/gst.c: (GST_START_TEST):
9686 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9687 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9688 * check/gst/gstbus.c: (GST_START_TEST):
9689 * check/gst/gstcaps.c: (GST_START_TEST):
9690 * check/gst/gstdata.c: (GST_START_TEST):
9691 * check/gst/gstelement.c: (GST_START_TEST):
9692 * check/gst/gstghostpad.c: (GST_START_TEST):
9693 * check/gst/gstiterator.c: (GST_START_TEST):
9694 * check/gst/gstmessage.c: (GST_START_TEST):
9695 * check/gst/gstobject.c: (GST_START_TEST):
9696 * check/gst/gstpad.c: (GST_START_TEST):
9697 * check/gst/gststructure.c: (GST_START_TEST):
9698 * check/gst/gstsystemclock.c: (GST_START_TEST),
9699 (gst_systemclock_suite):
9700 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9701 * check/gst/gstvalue.c: (GST_START_TEST):
9702 * check/pipelines/cleanup.c: (GST_START_TEST):
9703 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9704 * check/states/sinks.c: (GST_START_TEST):
9705 * check/gstcheck.c: (gst_check_init):
9707 add debugging category
9708 use GST_START_TEST now, so we add a debug line
9710 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9712 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9713 add test for state change message on a bin
9714 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9716 * gst/gstbin.c: (gst_bin_init):
9717 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9718 * gst/gstelement.c: (gst_element_post_message),
9719 (gst_element_set_state):
9720 * gst/gstelementfactory.c: (gst_element_factory_create):
9721 * gst/gstmessage.c: (gst_message_new):
9722 * gst/gstscheduler.c:
9723 various debugging additions and cleanups
9725 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9727 * check/Makefile.am:
9728 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9730 adding tests for elements
9731 * gst/gstelement.c: (gst_element_dispose):
9733 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9735 * gst/registries/gstlibxmlregistry.c: (load_feature):
9736 plug more leaks. A simple gst_init() now is leakfree, yay.
9738 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9740 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9741 (gst_xml_registry_load):
9742 plug another memleak
9744 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9747 use GST_SET_ERROR_CFLAGS
9749 change to ERROR_CFLAGS
9751 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9754 make GST_ERROR_CFLAGS overridable and re-enable Werror
9756 add a note about error CFLAGS
9757 * docs/gst/tmpl/gstfakesrc.sgml:
9758 * gst/elements/gstfakesrc.c:
9759 comment out some unused code
9760 * gst/gst.c: (split_and_iterate):
9761 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9765 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9767 * common/Makefile.am:
9768 * common/gtk-doc.mak:
9769 * docs/gst/Makefile.am:
9770 factor out gtk-doc.mak
9772 2005-07-07 Wim Taymans <wim@fluendo.com>
9774 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9775 (gst_thread_scheduler_dispose):
9776 Unlock the STREAM_LOCK completely.
9778 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9780 * check/Makefile.am:
9781 * check/elements/.cvsignore:
9782 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9783 (START_TEST), (fakesrc_suite), (main):
9784 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9785 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9786 (gst_fakesrc_create), (gst_fakesrc_start):
9787 * gst/elements/gstfakesrc.h:
9788 adding a first element test
9790 2005-07-07 Andy Wingo <wingo@pobox.com>
9792 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9795 2005-07-07 Wim Taymans <wim@fluendo.com>
9801 2005-07-07 Wim Taymans <wim@fluendo.com>
9803 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9804 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9805 Allow subclasses to implement their own negotiation.
9807 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9809 * docs/design/part-gstbin.txt:
9810 * docs/design/part-gstpipeline.txt:
9811 Update design notes to reflect the movement of
9812 responsibility for bus handling from GstPipeline to
9815 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9818 Remove unnecessary queue2/3/4 examples.
9820 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9822 * examples/Makefile.am:
9823 * examples/helloworld/helloworld.c: (event_loop), (main):
9824 * examples/queue/queue.c: (event_loop), (main):
9825 * examples/queue2/queue2.c: (main):
9826 Update a couple of the examples to work again.
9828 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9829 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9830 Spelling corrections and extra debug.
9832 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9833 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9834 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9836 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9837 (gst_pipeline_change_state):
9838 * gst/gstpipeline.h:
9839 Move the bus handler for children to the GstBin, and create a
9840 separate bus for receiving messages from children to the one the
9841 bus sends 'upwards' on.
9843 2005-07-06 Wim Taymans <wim@fluendo.com>
9846 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9847 (gst_base_sink_handle_object), (gst_base_sink_loop),
9848 (gst_base_sink_change_state):
9849 * gst/base/gstbasesink.h:
9850 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9851 (gst_base_src_init), (gst_base_src_setcaps),
9852 (gst_base_src_getcaps), (gst_base_src_loop),
9853 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9854 (gst_base_src_start), (gst_base_src_change_state):
9855 * gst/base/gstbasesrc.h:
9856 Make basesrc negotiate.
9857 Handle the case where preroll fails in basesink.
9860 2005-07-06 Wim Taymans <wim@fluendo.com>
9862 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9863 Implement the fixate function.
9864 Clean up acceptcaps.
9866 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9868 * docs/pwg/building-filterfactory.xml:
9870 Remove never-written filter-factory chapter; I'll add the various
9871 base classes to part 4 ("other element types") later on.
9873 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9875 * docs/pwg/advanced-negotiation.xml:
9876 * docs/pwg/building-boiler.xml:
9877 * docs/pwg/building-pads.xml:
9879 * examples/pwg/Makefile.am:
9880 Add a chapter on caps negotiation, simplify the original code
9881 samples a bit w.r.t. caps negotiation, add link to the advanced
9882 section. Add a bunch of examples showing different use cases of
9883 different types of caps negotiation. Upstream renegotiation isn't
9884 fully documented yet since nobody knows how that works.
9886 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9888 * check/gst/gstpad.c:
9890 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9891 if pad has no parent, return NULL as list of internal links
9893 2005-07-05 Andy Wingo <wingo@pobox.com>
9895 * gst/elements/gstfilesrc.c:
9896 * gst/elements/gstfakesrc.c:
9897 * gst/base/gstpushsrc.c:
9898 * gst/base/gstbasesrc.h:
9899 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9901 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9904 better report generation target (lcov needs a patch)
9906 2005-07-05 Andy Wingo <wingo@pobox.com>
9908 * gst/elements, testsuite: Null if we got it...
9910 2005-07-05 Wim Taymans <wim@fluendo.com>
9913 * libs/gst/dataprotocol/Makefile.am:
9914 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9915 * libs/gst/dataprotocol/dataprotocol.h:
9916 * pkgconfig/Makefile.am:
9917 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9918 * pkgconfig/gstreamer-dataprotocol.pc.in:
9919 Ported dataprotol to 0.9.
9920 Added pkgconfig files.
9922 2005-07-05 Andy Wingo <wingo@pobox.com>
9924 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9925 Default to returning TRUE for the case when tranform_caps returns
9926 a fixed caps, like for identity or volume.
9928 * check/gst/gstbus.c (pound_bus_with_messages):
9929 * check/gst/gstmessage.c (START_TEST):
9930 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9933 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9934 logic weaks here: always run transform_caps, trying passthrough
9935 operation only if the original caps intersects with the transform.
9937 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9938 source and sink caps.
9940 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9941 Intersect the peer caps with the pad template before going into
9943 (gst_base_transform_transform_caps): More debugging.
9945 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9948 2005-07-04 Edward Hervey <edward@fluendo.com>
9952 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9955 2005-07-04 Andy Wingo <wingo@pobox.com>
9957 * check/gst/gstpad.c: Only set explicit caps on pads.
9959 2005-07-01 Andy Wingo <wingo@pobox.com>
9961 * tests/network-clock.scm: Commentary update.
9963 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9964 Didn't really make sense, not implementable with basetransform,
9966 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9967 attempt at implementing the sync property, needs an unlock method.
9969 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9970 New func, by default returns the same caps (the identity
9972 (gst_base_transform_getcaps): Uses transform_caps to return
9974 (gst_base_transform_setcaps): Complicated logic to get caps on
9975 both pads, even if they are different, and to call set_caps once
9976 for every time both pads get their caps set.
9977 (gst_base_transform_handle_buffer): Give the ref to the transform
9978 function. Allows in-place modification of the buffer.
9980 * gst/base/gstbasetransform.h (transform_caps): New class method.
9981 Given caps on one side, what can I do on the other.
9982 (set_caps): Take two caps, one for each side of the element.
9985 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9986 caps in place. This is safe because we can check the mutability of
9987 the caps, and a good idea because fixate functions are just called
9988 as a matter of last resort. (Not actually implemented.)
9989 (gst_pad_set_caps): If the caps we're setting is actually the same
9990 as the existing pad caps, just update the pointer without calling
9991 setcaps. Assert that caps is either NULL or fixed, as per the
9994 * gst/gstghostpad.c: Update for fixate changes.
9996 2005-07-02 Andy Wingo <wingo@pobox.com>
9999 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10000 two refcounts makes it immutable, which is enough. Doc more.
10002 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10004 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10005 Put the mini_object into GValue as a mini_object,
10006 not a gpointer, since that's how we declared
10009 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10011 * examples/pwg/Makefile.am:
10012 Fix buildbot again.
10014 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10016 * docs/pwg/building-testapp.xml:
10018 * examples/pwg/Makefile.am:
10021 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10024 * examples/Makefile.am:
10025 * examples/pwg/Makefile.am:
10026 * examples/pwg/extract.pl:
10027 Enable building the PWG examples.
10028 * docs/pwg/advanced-interfaces.xml:
10029 Add URI interface stub.
10030 * docs/pwg/advanced-types.xml:
10031 * docs/pwg/other-autoplugger.xml:
10032 * docs/pwg/appendix-porting.xml:
10033 * docs/pwg/pwg.xml:
10034 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10035 * docs/pwg/building-boiler.xml:
10036 * docs/pwg/building-chainfn.xml:
10037 * docs/pwg/building-pads.xml:
10038 * docs/pwg/building-props.xml:
10039 * docs/pwg/building-state.xml:
10040 * docs/pwg/building-testapp.xml:
10041 Update the building-*.xml parts for 0.9 changes. All examples
10042 code blocks compile in examples/pwg/*.
10044 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10046 * docs/manual/advanced-autoplugging.xml:
10047 * docs/manual/appendix-checklist.xml:
10048 * docs/manual/appendix-integration.xml:
10049 * docs/manual/highlevel-components.xml:
10050 Fix playbin/decodebin examples, update docs a bit, mention bus
10051 instead of signals in various places, mention kmplayer and
10052 kaffeine since they have a working GStreamer backend in the KDE
10055 2005-06-30 Wim Taymans <wim@fluendo.com>
10058 * docs/design/draft-ghostpads.txt:
10059 * docs/design/draft-push-pull.txt:
10060 * docs/design/draft-query.txt:
10061 * docs/design/part-TODO.txt:
10062 * docs/design/part-query.txt:
10063 Added CHANGES-0.9 doc, updated status of other docs.
10068 2005-06-30 Wim Taymans <wim@fluendo.com>
10070 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10071 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10072 (gst_base_sink_change_state):
10073 * gst/base/gstbasesink.h:
10074 Some tweaks, only EOS and a buffer complete a preroll.
10076 2005-06-30 Andy Wingo <wingo@pobox.com>
10078 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10079 activate_push down to the internal pad as well.
10081 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10083 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10085 * gst/gsttaginterface.c:
10086 Some documentation fixes (#307394 and #307397).
10088 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10090 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10092 * gst/gstvalue.c: (gst_value_intersect_list):
10093 Fix memleak (#309125).
10095 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10097 * docs/manual/advanced-dataaccess.xml:
10098 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10099 * docs/manual/basics-pads.xml:
10100 Add reference for filtered caps to above chapter.
10102 2005-06-30 Wim Taymans <wim@fluendo.com>
10104 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10105 (gst_bin_change_state):
10107 Lame attempt at making the state change function a bit
10110 2005-06-30 Wim Taymans <wim@fluendo.com>
10112 * docs/design/part-clocks.txt:
10113 * docs/design/part-element-sink.txt:
10114 * docs/design/part-events.txt:
10115 * docs/design/part-preroll.txt:
10116 * docs/design/part-states.txt:
10117 Some more tweeks and additions to the docs.
10119 2005-06-30 Wim Taymans <wim@fluendo.com>
10121 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10122 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10123 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10124 (gst_pad_check_pull_range), (gst_pad_get_range),
10125 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10127 * gst/gstutils.c: (gst_atomic_int_set), (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):
10131 Removed atomic operations, use existing LOCK.
10132 Move exception handling out of main code path.
10134 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10136 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10137 (silly_return_true_function), (gst_pad_class_init),
10138 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10139 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10140 (gst_pad_send_event):
10141 Fix accumulator, add default value by using _emitv() instead
10142 of _emit() for signal emission.
10144 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10146 * docs/manual/advanced-dataaccess.xml:
10147 * examples/manual/Makefile.am:
10149 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10152 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10154 * gst/elements/gstfilesink.c: (gst_filesink_render):
10155 Simplify code so that we don't have to handle short
10156 writes and return GST_FLOW_ERROR if an error occured.
10158 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10160 * docs/gst/gstreamer-docs.sgml:
10161 Remove probes more.
10163 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10165 * docs/gst/gstreamer-sections.txt:
10166 * docs/gst/tmpl/gstpad.sgml:
10167 * docs/gst/tmpl/gstprobe.sgml:
10169 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10170 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10171 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10172 (gst_pad_push_event), (gst_pad_send_event):
10174 * gst/gstutils.c: (gst_pad_add_data_probe),
10175 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10176 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10177 (gst_pad_remove_buffer_probe):
10179 Remove old probes, add new g-signal-based probes and some utility
10182 2005-06-29 Edward Hervey <edward@fluendo.com>
10184 * gst/gstelementfactory.c:
10187 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10188 the definition to the header file.
10190 2005-06-29 Andy Wingo <wingo@pobox.com>
10192 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10193 plugins from the source directory.
10195 2005-06-29 Wim Taymans <wim@fluendo.com>
10197 * docs/gst/tmpl/gstbuffer.sgml:
10198 * docs/gst/tmpl/gstclock.sgml:
10199 Some fixings for blantently wrong text.
10201 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10203 * check/Makefile.am:
10204 * gst/gst.c: (add_path_func), (init_pre):
10205 * gst/gstregistry.c: (gst_registry_add_path):
10206 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10207 only scan the GST_PLUGIN_PATH locations, and not add
10210 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10212 * docs/gst/gstreamer-sections.txt:
10213 * docs/gst/tmpl/gstbasesrc.sgml:
10214 * gst/gstelement.c:
10215 * gst/gstelement.h:
10220 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10222 * docs/manual/advanced-autoplugging.xml:
10223 Fix autoplugging example.
10225 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10227 * docs/manual/advanced-autoplugging.xml:
10228 * docs/manual/mime-world.fig:
10229 Try to get autoplugging working, fix type detection. Fix text
10230 in hello-world image.
10232 2005-06-29 Wim Taymans <wim@fluendo.com>
10234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10235 (gst_base_sink_change_state):
10239 map SIGNAL and BROADCAST to the right function.
10242 Remove redundant braces.
10244 * gst/gstpad.c: (gst_pad_set_caps):
10245 Don't call setcaps function when reseting caps to NULL.
10247 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10248 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10249 (gst_system_clock_id_unschedule):
10250 Use BROADCAST as this is what we do.
10252 2005-06-29 Wim Taymans <wim@fluendo.com>
10254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10255 We are actually prerolling before commiting the state
10258 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10260 * docs/manual/advanced-clocks.xml:
10261 * docs/manual/advanced-interfaces.xml:
10262 * docs/manual/advanced-metadata.xml:
10263 * docs/manual/advanced-position.xml:
10264 * docs/manual/advanced-schedulers.xml:
10265 * docs/manual/advanced-threads.xml:
10266 * docs/manual/appendix-porting.xml:
10267 * docs/manual/basics-bins.xml:
10268 * docs/manual/basics-bus.xml:
10269 * docs/manual/basics-elements.xml:
10270 * docs/manual/basics-helloworld.xml:
10271 * docs/manual/basics-pads.xml:
10272 * docs/manual/highlevel-components.xml:
10273 * docs/manual/manual.xml:
10274 * docs/manual/thread.fig:
10275 Update (until threads/scheduling) Application Development Manual;
10276 remove GstThread, add GstBus, add simple porting checklist, add
10277 documentation for tag writing, clocks, make all examples until this
10278 part compile and run.
10279 * examples/manual/Makefile.am:
10280 Update from changes to Application Development Manual; add bus
10281 example, remove thread example.
10283 2005-06-28 Wim Taymans <wim@fluendo.com>
10285 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10286 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10287 (gst_bus_source_dispatch):
10288 Add debugging messages.
10289 Make internal methods static.
10290 Handle the case where the bus is flushed in the handler.
10292 * gst/gstelement.c: (gst_element_get_bus):
10293 Fix refcount in _get_bus();
10295 * gst/gstpipeline.c: (gst_pipeline_change_state),
10296 (gst_pipeline_get_clock_func):
10297 Clock refcounting fixes.
10298 Handle the case where preroll timed out more gracefully.
10300 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10301 Clean up the internal thread in dispose. This is needed
10302 for subclasses that actually get disposed.
10304 * gst/schedulers/threadscheduler.c:
10305 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10306 (gst_thread_scheduler_dispose):
10307 Free thread pool in dispose.
10309 2005-06-28 Andy Wingo <wingo@pobox.com>
10311 * tests/network-clock-utils.scm (debug, print-event): New utils.
10313 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10314 (*packet-loss*): Unified loss probability.
10315 (network-time): Report out-of-band events.
10317 * tests/plot-data: Add support for out-of-band events. Hack it
10318 into this script instead of passing it down the pipe; should fix
10321 2005-06-28 Wim Taymans <wim@fluendo.com>
10323 * docs/gst/gstreamer.types:
10324 * docs/gst/tmpl/gstbasesrc.sgml:
10325 * docs/gst/tmpl/gstpad.sgml:
10328 2005-06-28 Wim Taymans <wim@fluendo.com>
10330 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10331 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10332 (gst_proxy_pad_do_fixatecaps):
10333 Correctly proxy the check_pull_range function.
10335 2005-06-28 Andy Wingo <wingo@pobox.com>
10337 * tests/network-clock.scm: Removed need for slib.
10339 2005-06-28 Wim Taymans <wim@fluendo.com>
10341 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10342 (gst_basesink_preroll_queue_flush):
10343 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10344 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10345 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10346 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10347 (gst_proxy_pad_set_property):
10350 * gst/gstqueue.c: (gst_queue_init):
10351 The deprecated pad loop function is removed now.
10353 2005-06-28 Andy Wingo <wingo@pobox.com>
10355 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10356 New parameters, simulate network packet loss.
10358 * tests/network-clock-utils.scm: Initialize the RNG.
10360 2005-06-28 Wim Taymans <wim@fluendo.com>
10362 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10363 (gst_basesink_event), (gst_basesink_deactivate):
10364 Flushing the preroll queue always needs to unlock the waiters.
10366 2005-06-28 Edward Hervey <edward@fluendo.com>
10368 * gst/gstpipeline.c: (gst_pipeline_send_event):
10369 Wheen a seek was successful on a pipeline, set the stream_time to the
10370 seek offset in order to have a synchronized stream_time.
10372 2005-06-28 Wim Taymans <wim@fluendo.com>
10374 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10375 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10376 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10377 (gst_proxy_pad_do_fixatecaps):
10378 Call wrapper function instead of just calling the function
10379 pointers. This takes care of any locking and whatmore.
10381 2005-06-28 Wim Taymans <wim@fluendo.com>
10383 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10384 (gst_pad_pull_range):
10386 CONNECTED -> LINKED.
10388 2005-06-28 Andy Wingo <wingo@pobox.com>
10390 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10391 source-munging commit!!!
10393 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10394 (gst_object_sink): Take gpointer arguments, not GstObject --
10395 avoids casts. Like GLib.
10397 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10400 2005-06-27 Andy Wingo <wingo@pobox.com>
10402 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10405 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10406 returns a sorted copy of the trace list.
10407 (gst_alloc_trace_print_live): New API, only prints traces with
10408 live objects. Sort the list.
10409 (gst_alloc_trace_print_all): Sort the list.
10410 (gst_alloc_trace_print): Align columns.
10412 * gst/elements/gstttypefindelement.c:
10413 * gst/elements/gsttee.c:
10414 * gst/base/gstbasesrc.c:
10415 * gst/base/gstbasesink.c:
10416 * gst/base/gstbasetransform.c:
10417 * gst/gstqueue.c: Adapt for pad activation changes.
10419 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10421 (gst_pipeline_dispose): Drop ref on sched.
10423 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10424 (gst_pad_activate_default): Push mode by default.
10425 (pre_activate_switch, post_activate_switch): New stubs, things to
10426 do before and after switching activation modes on pads.
10427 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10428 the pad's activate function to choose which mode to activate.
10429 Shortcut on deactivation and call the right function directly.
10430 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10432 (gst_pad_activate_push): New API, same for push mode.
10433 (gst_pad_set_activate_function)
10434 (gst_pad_set_activatepull_function)
10435 (gst_pad_set_activatepush_function): Setters for new API.
10437 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10438 Trace all miniobjects.
10439 (gst_mini_object_make_writable): Unref the arg if we copy, like
10440 gst_caps_make_writable.
10442 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10444 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10445 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10446 Adapt for new pad API.
10448 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10450 * gst/gstelement.h:
10451 * gst/gstelement.c (gst_element_iterate_src_pads)
10452 (gst_element_iterate_sink_pads): New API functions.
10454 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10455 should fold into gstiterator.c in some form.
10456 (gst_element_pads_activate): Simplified via use of fold and
10457 delegation of decisions to gstpad->activate.
10459 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10462 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10463 class once in init, like gstmessage. Didn't run into this issue
10464 but it seems correct. Don't initialize a trace, gstminiobject does
10467 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10468 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10470 (assert_live_count): New util function, uses alloc traces to check
10473 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10474 To be modified when unlink drops the internal pad.
10476 2005-06-27 Wim Taymans <wim@fluendo.com>
10478 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10479 (gst_bin_change_state):
10480 Cleanup the get_state() function a little, make sure it
10481 iterates the same set of elements.
10482 Added stub iterate_state_order().
10484 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10486 * docs/gst/gstreamer-docs.sgml:
10487 * docs/gst/gstreamer-sections.txt:
10488 * docs/gst/gstreamer.types:
10489 * docs/gst/tmpl/gstbasesink.sgml:
10490 * docs/gst/tmpl/gstbasesrc.sgml:
10491 * docs/gst/tmpl/gstbasetransform.sgml:
10492 * docs/gst/tmpl/gstelement.sgml:
10493 * docs/gst/tmpl/gstiterator.sgml:
10494 * gst/base/gstbasesrc.c:
10495 * gst/base/gstbasesrc.h:
10496 * gst/base/gstbasetransform.h:
10497 * gst/gstelement.c:
10498 * gst/gstiterator.h:
10499 adding basetransform and iterator docs
10501 2005-06-27 Andy Wingo <wingo@pobox.com>
10503 * docs/design/part-activation.txt: Notes on how activation should
10504 work -- not quite implemented yet.
10506 2005-06-25 Wim Taymans <wim@fluendo.com>
10508 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10509 At least get the chain function correct, needs more
10512 2005-06-25 Wim Taymans <wim@fluendo.com>
10514 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10515 (gst_basesink_handle_object), (gst_basesink_event),
10516 (gst_basesink_do_sync), (gst_basesink_handle_event),
10517 (gst_basesink_change_state):
10519 Right, two problems here: ghostpads don't take locks and
10520 glib _rec_mutex_lock_full() with depth==0 still locks.
10521 Catch illegal locking and g_warn them.
10523 2005-06-25 Wim Taymans <wim@fluendo.com>
10525 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10526 Have to check for completion now...
10528 2005-06-25 Wim Taymans <wim@fluendo.com>
10530 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10531 (gst_basesink_handle_object), (gst_basesink_event),
10532 (gst_basesink_do_sync), (gst_basesink_handle_event),
10533 (gst_basesink_change_state):
10535 Unlock STREAM_LOCK whatever the recursion was.
10537 2005-06-25 Wim Taymans <wim@fluendo.com>
10539 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10540 (gst_basesink_preroll_queue_empty),
10541 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10542 (gst_basesink_event), (gst_basesink_do_sync),
10543 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10544 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10545 (gst_basesink_change_state):
10546 Reworked the base sink, handle event and buffer serialisation
10547 correctly and removed possible deadlock.
10548 Handle EOS correctly.
10550 2005-06-25 Wim Taymans <wim@fluendo.com>
10552 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10553 (gst_pipeline_change_state):
10554 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10555 Allow elements to post EOS in the state change function.
10556 Fix up -launch, make it exit the poll loop when the
10557 pipeline actually changed state.
10558 Fix up warning parsing in -launch.
10560 2005-06-25 Wim Taymans <wim@fluendo.com>
10562 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10563 (gst_tee_sink_activate):
10564 Core takes STREAM_LOCK for us now.
10566 2005-06-25 Wim Taymans <wim@fluendo.com>
10568 * gst/gstelement.c: (gst_element_get_state_func),
10569 (gst_element_set_state):
10570 * gst/gstelement.h:
10571 * gst/gstmessage.c: (gst_message_parse_error),
10572 (gst_message_parse_warning):
10573 Keep track of current target state while performing a state
10574 change so that subclasses can do something interesting.
10575 Fix parsing of warning/error messages when GError is NULL.
10577 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10579 * docs/gst/Makefile.am:
10580 * docs/gst/gstreamer-docs.sgml:
10581 * docs/gst/gstreamer-sections.txt:
10582 * docs/gst/gstreamer.types:
10583 * docs/gst/tmpl/gstbasesink.sgml:
10584 * docs/gst/tmpl/gstbasesrc.sgml:
10585 * docs/gst/tmpl/gstbin.sgml:
10586 * docs/gst/tmpl/gstcompat.sgml:
10587 * docs/gst/tmpl/gstfakesink.sgml:
10588 * docs/gst/tmpl/gstfakesrc.sgml:
10589 * docs/gst/tmpl/gstfilesink.sgml:
10590 * docs/gst/tmpl/gstfilesrc.sgml:
10591 * docs/gst/tmpl/gstindex.sgml:
10592 * docs/manual/appendix-quotes.xml:
10593 * gst/base/gstbasesrc.h:
10594 * gst/elements/gstfakesrc.h:
10595 * gst/gstmessage.h:
10596 start pulling in base classes and elements in our docs
10598 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10600 * docs/gst/Makefile.am:
10601 * docs/libs/Makefile.am:
10602 fixed make distcheck with gtk-doc 1.3
10604 2005-06-23 Wim Taymans <wim@fluendo.com>
10606 * gst/gstelement.c: (gst_element_get_state_func),
10607 (gst_element_set_state), (gst_element_change_state):
10608 When the state did not change, also report NO_PREROLL
10611 2005-06-23 Wim Taymans <wim@fluendo.com>
10613 * gst/gstpad.c: (gst_pad_event_default):
10614 * gst/gstqueue.c: (gst_queue_loop):
10615 No unsafe task pausing please.
10617 2005-06-23 Wim Taymans <wim@fluendo.com>
10619 * gst/schedulers/threadscheduler.c:
10620 (gst_thread_scheduler_task_start),
10621 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10622 Ref the task before pushing it on the threadpool. This
10623 makes sure that we have a ref when the threadfunction is
10626 2005-06-23 Andy Wingo <wingo@pobox.com>
10628 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10629 offset is greater than the file's size.
10631 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10632 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10633 * gst/gstobject.c (gst_object_class_init): Make the class lock
10634 recursive. Wim won't let me drop deep_notify. Decodebin works
10635 again, whoopdy doo.
10637 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10638 internal pad, and hacks accordingly. Doesn't do it on the target
10639 pad because we change its caps. Probably catches all cases of
10641 (gst_ghost_pad_set_property): Connect to notify::caps as
10644 * tests/network-clock.scm (plot-simulation): Pipe data to the
10645 elite python skript.
10647 * tests/network-clock-utils.scm (define-parameter): New macro,
10648 defines a parameter that can be set via the command line.
10649 (set-parameter!, parse-parameter-arguments): Command line args
10652 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10655 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10657 * gst/elements/gsttypefindelement.c:
10658 (gst_type_find_element_handle_event):
10659 Don't restart typefinding on a discont.
10660 * gst/gstelement.c: (gst_element_set_state):
10661 Debug spelling fix.
10662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10663 Allow changing mode of an active pad.
10664 Debug output fixes.
10665 * gst/registries/gstlibxmlregistry.c: (load_feature):
10666 Don't cast a static pad template to a normal pad template.
10668 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10670 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10671 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10672 remove gst_strtoll completely, since it didn't actually do
10673 anything more than what g_ascii_strtoull already does.
10674 check for range errors when deserializing
10675 do a cast for the unsigned cases; but further fixing needs
10676 a decision on what the interpretation of "(int)" and
10677 deserialization should be for values that fall outside the
10678 type's boundaries (ie, refuse, or interpret as casting)
10680 2005-06-23 Wim Taymans <wim@fluendo.com>
10682 * check/Makefile.am:
10683 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10684 * docs/design/part-live-source.txt:
10685 * docs/design/part-states.txt:
10686 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10687 (gst_basesrc_set_live), (gst_basesrc_is_live),
10688 (gst_basesrc_get_range), (gst_basesrc_activate),
10689 (gst_basesrc_change_state):
10690 * gst/base/gstbasesrc.h:
10691 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10692 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10693 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10694 * gst/gstelement.c: (gst_element_get_state_func),
10695 (gst_element_set_state):
10696 * gst/gstelement.h:
10698 * tools/gst-launch.c: (event_loop), (main):
10699 Added support for live sources and other elements that
10701 Updated design docs, added live-source design doc.
10702 Implemented live source functionality in basesrc
10703 Fix error condition in _bin_get_state()
10704 Implement live source handling in -launch.
10705 Added check for live sources.
10706 Fixed case in GstBin where elements were changed state
10710 2005-06-23 Andy Wingo <wingo@pobox.com>
10712 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10713 borken refcounting.
10715 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10716 gst_caps_replace takes care of this for us.
10718 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10719 gst_pad_set_caps on the target, not just its setcaps() function.
10721 * tests/network-clock.scm:
10722 * tests/network-clock-utils.scm: A network clock simulator.
10723 Something of an algorithmic testbed before doing something in C.
10725 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10727 * check/Makefile.am:
10728 * check/gst/capslist.h:
10729 copy over from 0.8, and add two with bitmasks specified with
10731 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10732 add test to parse everything from capslist.h
10733 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10735 add test for structure deserialization
10736 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10737 add tests for deserialization of strings to int types
10738 * gst/gststructure.c: (gst_structure_nth_field_name):
10739 * gst/gststructure.h:
10740 add a way to get the name of a field referenced by index
10741 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10742 instead of checking if the resulting long long lies between
10743 min and max, we check if the long long would fit into
10744 a number of bytes for the final type.
10745 This fixes cases where a string represents 2^32 - 1, which
10746 when cast to int would be the (valid) -1, but is bigger than
10749 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10751 * gst/parse/grammar.y:
10752 add a log line for type deserialization
10754 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10756 * check/gst/gstvalue.c: (START_TEST):
10757 * gst/gstvalue.c: (gst_value_deserialize):
10758 return long long, not int, so gint64 deserialization actually
10759 works. Is there any flag that makes the compiler check this ?
10762 2005-06-22 Wim Taymans <wim@fluendo.com>
10765 Added convenience macros for setting buffers in GValue.
10767 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10769 * check/gst/.cvsignore:
10770 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10771 add a test deserializing int64, and comment part out because
10774 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10776 * check/Makefile.am:
10777 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10778 * testsuite/Makefile.am:
10779 * testsuite/caps/Makefile.am:
10780 * testsuite/caps/value_serialize.c:
10781 * testsuite/test_gst_init.c:
10782 move a value_serialize test over
10784 2005-06-20 Wim Taymans <wim@fluendo.com>
10789 * gst/gstvalue.c: (gst_value_compare_buffer),
10790 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10791 (gst_value_compare_flags), (gst_value_serialize_flags),
10792 (gst_value_deserialize_flags), (_gst_value_initialize):
10793 Fix serialisation of buffers, they are not boxed types anymore
10795 2005-06-20 Wim Taymans <wim@fluendo.com>
10797 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10798 Testcase to show error in buffer-on-caps serialisation.
10800 2005-06-20 Andy Wingo <wingo@pobox.com>
10802 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10803 will be adding to later.
10805 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10806 if its socks fill with rocks.
10807 (gst_system_clock_obtain): Set the name on object construction.
10808 Avoid double-checked locking.
10810 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10812 * gst/gsturi.c: (gst_element_make_from_uri):
10813 Fix potential endless loop.
10815 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10817 * check/Makefile.am:
10819 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10821 move over from testsuite dir and clean up
10824 * testsuite/Makefile.am:
10825 * testsuite/tags/.cvsignore:
10826 * testsuite/tags/Makefile.am:
10827 * testsuite/tags/merge.c:
10828 remove testsuite/tags
10830 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10832 * docs/gst/gstreamer-sections.txt:
10833 * docs/gst/tmpl/gstenumtypes.sgml:
10834 * win32/gstenumtypes.c:
10835 clean up documentation build a little
10837 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10839 * check/gstcheck.h:
10840 add macros for checking refcounts on objects and caps
10841 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10842 add some more unit tests
10843 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10844 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10845 fix leaked refcounts (I hope :)) so unittest works
10849 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10851 * configure.ac: back to HEAD
10853 === release 0.9.1 ===
10855 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10861 2005-06-17 Andy Wingo <wingo@pobox.com>
10863 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10864 assert; it's always possible that the pad gets deactivated in
10865 between the checks in gstpad.c and the implementation. Rely on
10866 finish_preroll() to return a FLUSHING or similar instead of on the
10869 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10870 clock and post an EOS message if we come out of finish_preroll in
10873 2005-06-16 David Schleef <ds@schleef.org>
10875 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10876 (gst_capsfilter_set_property): Allow NULL as possible value
10877 for filter_caps property, indicating GST_CAPS_ANY.
10879 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10881 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10883 * gst/schedulers/Makefile.am:
10885 * gstreamer.spec.in:
10888 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10890 * gstreamer.spec.in:
10893 2005-06-08 Andy Wingo <wingo@pobox.com>
10895 * gst/gstutils.c: RPAD fixes all around.
10896 (gst_element_link_pads): Refcounting fixes.
10898 * tools/gst-inspect.c:
10899 * tools/gst-xmlinspect.c:
10901 * gst/base/gsttypefindhelper.c:
10902 * gst/base/gstbasesink.c:
10903 * gst/gstqueue.c: RPAD fixes.
10905 * gst/gstghostpad.h:
10906 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10907 pads. The tricky thing is they provide both source and sink
10908 interfaces, since they proxy the internal pad for the external
10909 pad, and vice versa. Implement with lower-level ProxyPad objects,
10910 with the interior proxy pad as a child of the exterior ghost pad.
10911 Should write a doc on this.
10913 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10914 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10917 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10918 pads are real pads. No ghost pads in this file. Not documenting
10919 the myriad s/RPAD/PAD/ and REALIZE fixes.
10920 (gst_pad_class_init): Add properties for "direction" and
10921 "template". Both are construct-only, so they can't change during
10922 the life of the pad. Fixes properly deriving from GstPad.
10923 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10924 derived objects, just set properties when creating the objects via
10926 (gst_pad_get_parent): Implement as a function, return NULL if the
10927 parent is not an element.
10928 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10929 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10931 * gst/gstobject.c (gst_object_class_init): Make name a construct
10932 property. Don't set it in the object init.
10934 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10935 with UNKNOWN direction.
10936 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10937 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10938 (gst_element_remove_pad): Remove ghost-pad special cases.
10939 (gst_element_pads_activate): Remove rpad cruft.
10941 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10942 catch the pad's-parent-not-an-element case.
10944 * gst/gst.h: Include gstghostpad.h.
10946 * gst/gst.c (init_post): No more real, ghost pads.
10948 * gst/Makefile.am: Add gstghostpad.[ch].
10950 * check/Makefile.am:
10951 * check/gst/gstbin.c:
10952 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10953 into a bin creates ghost pads, and that the refcounts are right.
10954 Partly moved from gstbin.c.
10956 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10958 * check/gst-libs/.cvsignore:
10959 * check/gst/.cvsignore:
10960 * check/pipelines/.cvsignore:
10962 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10963 (START_TEST), (cleanup_suite), (main):
10964 add some tests related to cleanup after running pipelines
10966 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10968 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10969 add a testsuite for GstBuffer
10971 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10973 * gst/gstminiobject.h:
10974 add defines for accessing the refcount
10976 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10978 * Makefile.am: added support for html unit test coverage reports
10980 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10982 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10983 Free existing caps if the capsfilter changes. Add a FIXME about
10984 setting those caps on the pads.
10986 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10987 Before adding a ghost pad to a parent bin, check that there isn't
10988 already one for the element on the bin. Prevents infinite recursion
10989 when using decodebin in parse pipelines. Andy says he'll rewrite the
10990 way this works anyway, so ignore the hack.
10992 2005-06-02 Andy Wingo <wingo@pobox.com>
10994 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10995 file size, pass it on to the type find helper.
10997 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10998 segment_start and segment_end properly according to the seek
10999 method. Segment_end is still a bit flaky because offset can be
11000 negative for CUR and END cases, but it takes -1 as an "unset"
11003 2005-06-02 Wim Taymans <wim@fluendo.com>
11005 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11006 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11007 (gst_basesink_activate):
11008 * gst/base/gstbasesink.h:
11009 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11010 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11011 (gst_pad_query), (gst_pad_start_task):
11013 * gst/gstqueue.c: (gst_queue_bufferalloc),
11014 (gst_queue_handle_sink_event), (gst_queue_chain):
11015 Bufferalloc: return GstFlowReturn to more accuratly report
11016 why allocation failed.
11018 2005-06-02 Wim Taymans <wim@fluendo.com>
11020 * gst/gstpipeline.c: (gst_pipeline_send_event):
11021 Take snapshot of state without blocking.
11023 2005-06-02 Wim Taymans <wim@fluendo.com>
11025 * docs/design/part-TODO.txt:
11026 * docs/design/part-caps.txt:
11027 * docs/design/part-clocks.txt:
11028 * docs/design/part-negotiation.txt:
11029 * docs/design/part-preroll.txt:
11032 2005-05-30 Wim Taymans <wim@fluendo.com>
11034 * gst/elements/gstidentity.c: (gst_identity_event),
11035 (gst_identity_transform), (gst_identity_get_property):
11036 Protect last_message property as it is accessed from
11039 2005-05-30 Wim Taymans <wim@fluendo.com>
11041 * gst/gstelement.c: (gst_element_init),
11042 (gst_element_pads_activate), (gst_element_change_state):
11043 Slicker pad activation code.
11045 2005-05-30 Wim Taymans <wim@fluendo.com>
11048 * gst/gstelement.h:
11049 * gst/gstelementfactory.h:
11051 Move elementfactory methods to separate .h file.
11053 2005-05-30 Wim Taymans <wim@fluendo.com>
11055 * docs/design/part-overview.txt:
11056 * gst/gstsystemclock.h:
11057 Small typo fixes, doc updates.
11059 2005-05-30 Wim Taymans <wim@fluendo.com>
11061 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11062 (init_popt_callback):
11063 Remove cpu-opt flag.
11065 2005-05-30 Wim Taymans <wim@fluendo.com>
11067 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11068 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11070 Avoid typechecking in places where not needed.
11071 Added accessor for malloc_data.
11073 2005-05-30 Wim Taymans <wim@fluendo.com>
11075 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11076 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11077 (gst_pad_configure_sink), (gst_pad_configure_src),
11078 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11079 (gst_pad_start_task):
11080 Propagate errors from _set_caps() in configure_src/sink
11081 functions instead of returning TRUE.
11082 FLUSH events can travel up and downstream
11085 2005-05-30 Wim Taymans <wim@fluendo.com>
11087 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11088 (gst_basesink_activate):
11089 Handle EOS in preroll.
11091 2005-05-30 Wim Taymans <wim@fluendo.com>
11093 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11094 (gst_queue_loop), (gst_queue_handle_src_event):
11095 Remove old pieces of code
11096 Flushing the queue in an upstream event is a very bad idea.
11098 2005-05-26 Andy Wingo <wingo@pobox.com>
11100 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11101 gst_value_set_mini_object so as to add a ref on the object (which
11102 will be removed when the value is unset).
11104 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11105 arg type in ::handoff.
11107 * gst/gstelement.c (gst_element_change_state): Also deactivate
11108 pads in READY->NULL, just in case the element didn't make it to
11109 PAUSED. Wingo tested, Wim approved.
11111 2005-05-26 Wim Taymans <wim@fluendo.com>
11113 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11114 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11115 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11116 A flushing pad cannot be used to alloc_buffer from.
11118 2005-05-26 Wim Taymans <wim@fluendo.com>
11120 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11121 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11122 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11123 (gst_bus_create_watch), (gst_bus_add_watch_full):
11125 Implement a real GSource and use g_main_context_wakeup() to
11126 signal new messages instead of the socketpair.
11128 2005-05-25 Wim Taymans <wim@fluendo.com>
11130 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11131 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11132 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11133 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11134 (gst_pad_send_event), (gst_pad_start_task):
11135 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11136 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11137 (gst_queue_sink_activate), (gst_queue_src_activate),
11138 (gst_queue_change_state):
11140 Fix state changes for non sinks. We now change sinks, then elements
11141 with unconnected srcpads, then the rest.
11142 More efficient queue unlocking in flush and state changes.
11143 Set the pad activate mode even if it does not have an activate
11146 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11148 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11149 Don't go in pull mode for non-seekable sources.
11150 * gst/elements/gsttypefindelement.h:
11151 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11152 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11153 (free_entry), (stop_typefinding),
11154 (gst_type_find_element_handle_event), (find_peek),
11155 (gst_type_find_element_chain), (do_pull_typefind),
11156 (gst_type_find_element_change_state):
11157 Allow typefinding (w/o seeking) in push-mode, simplified version
11158 of what was in 0.8.
11159 * gst/gstutils.c: (gst_buffer_join):
11161 gst_buffer_join() from 0.8.
11163 2005-05-25 Wim Taymans <wim@fluendo.com>
11165 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11166 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11167 (gst_pad_send_event), (gst_pad_start_task):
11168 Disable attempt at mode switching until it is figured out.
11170 2005-05-25 Wim Taymans <wim@fluendo.com>
11172 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11173 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11174 (gst_basesink_finish_preroll), (gst_basesink_chain),
11175 (gst_basesink_loop), (gst_basesink_activate),
11176 (gst_basesink_change_state):
11177 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11178 (gst_basesrc_get_range), (gst_basesrc_loop),
11179 (gst_basesrc_activate):
11180 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11181 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11182 (gst_real_pad_init), (gst_real_pad_set_property),
11183 (gst_real_pad_get_property), (gst_pad_set_active),
11184 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11185 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11186 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11187 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11188 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11189 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11190 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11191 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11192 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11193 (gst_pad_stop_task):
11195 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11196 (gst_queue_loop), (gst_queue_src_activate):
11197 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11198 (gst_task_get_state):
11200 * gst/schedulers/threadscheduler.c:
11201 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11202 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11204 Remove ACTIVE pad flag, use FLUSHING everywhere
11205 Added _pad_chain(), _pad_get_range() to call chain/getrange
11207 Add locks around IS_FLUSHING when reading.
11208 Take STREAM lock in chain(), get_range() functions so plugins
11209 don't need to take it anymore.
11213 2005-05-25 Wim Taymans <wim@fluendo.com>
11215 * tools/gst-launch.c: (event_loop):
11216 Unref message after using its contents instead of
11219 2005-05-24 Wim Taymans <wim@fluendo.com>
11221 * docs/design/draft-ghostpads.txt:
11222 * docs/design/draft-push-pull.txt:
11223 * docs/design/draft-query.txt:
11224 * docs/design/part-overview.txt:
11225 Docs updates, added general overview doc.
11227 2005-05-21 David Schleef <ds@schleef.org>
11229 * docs/gst/tmpl/old/GstBin.sgml:
11230 * docs/gst/tmpl/old/GstBuffer.sgml:
11231 * docs/gst/tmpl/old/GstCaps.sgml:
11232 * docs/gst/tmpl/old/GstClock.sgml:
11233 * docs/gst/tmpl/old/GstCompat.sgml:
11234 * docs/gst/tmpl/old/GstData.sgml:
11235 * docs/gst/tmpl/old/GstElement.sgml:
11236 * docs/gst/tmpl/old/GstEvent.sgml:
11237 * docs/gst/tmpl/old/GstIndex.sgml:
11238 * docs/gst/tmpl/old/GstStructure.sgml:
11239 * docs/gst/tmpl/old/GstTag.sgml:
11240 * docs/gst/tmpl/old/cothreads.sgml:
11241 * docs/gst/tmpl/old/cothreads_compat.sgml:
11242 * docs/gst/tmpl/old/gettext.sgml:
11243 * docs/gst/tmpl/old/gobject2gtk.sgml:
11244 * docs/gst/tmpl/old/grammar.tab.sgml:
11245 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11246 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11247 * docs/gst/tmpl/old/gst_private.sgml:
11248 * docs/gst/tmpl/old/gstaggregator.sgml:
11249 * docs/gst/tmpl/old/gstarch.sgml:
11250 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11251 * docs/gst/tmpl/old/gstbufferstore.sgml:
11252 * docs/gst/tmpl/old/gstdata_private.sgml:
11253 * docs/gst/tmpl/old/gstdisksink.sgml:
11254 * docs/gst/tmpl/old/gstdisksrc.sgml:
11255 * docs/gst/tmpl/old/gstelementfactory.sgml:
11256 * docs/gst/tmpl/old/gstextratypes.sgml:
11257 * docs/gst/tmpl/old/gstfakesink.sgml:
11258 * docs/gst/tmpl/old/gstfakesrc.sgml:
11259 * docs/gst/tmpl/old/gstfdsink.sgml:
11260 * docs/gst/tmpl/old/gstfdsrc.sgml:
11261 * docs/gst/tmpl/old/gstfilesink.sgml:
11262 * docs/gst/tmpl/old/gstfilesrc.sgml:
11263 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11264 * docs/gst/tmpl/old/gstidentity.sgml:
11265 * docs/gst/tmpl/old/gstindexfactory.sgml:
11266 * docs/gst/tmpl/old/gstmarshal.sgml:
11267 * docs/gst/tmpl/old/gstmd5sink.sgml:
11268 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11269 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11270 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11271 * docs/gst/tmpl/old/gstpipefilter.sgml:
11272 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11273 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11274 * docs/gst/tmpl/old/gstshaper.sgml:
11275 * docs/gst/tmpl/old/gstspider.sgml:
11276 * docs/gst/tmpl/old/gstspideridentity.sgml:
11277 * docs/gst/tmpl/old/gststatistics.sgml:
11278 * docs/gst/tmpl/old/gsttee.sgml:
11279 * docs/gst/tmpl/old/gsttimecache.sgml:
11280 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11281 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11282 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11283 * docs/gst/tmpl/old/types.sgml:
11284 I didn't intend to add these or check them in.
11286 2005-05-19 David Schleef <ds@schleef.org>
11288 * configure.ac: Use -no-common everywhere. In a sane world, it
11289 would be the default in libtool, because without it, you can't
11290 build DLLs on Windows.
11291 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11292 * docs/gst/gstreamer-sections.txt:
11293 * docs/gst/tmpl/gstcpu.sgml:
11294 * docs/gst/tmpl/gstdata.sgml:
11295 * docs/gst/tmpl/gstthread.sgml:
11297 2005-05-19 David Schleef <ds@schleef.org>
11299 * gst/gstminiobject.c: (gst_value_set_mini_object),
11300 (gst_value_take_mini_object), (gst_value_get_mini_object):
11301 * gst/gstminiobject.h: Add GValue set/get functions.
11303 2005-05-19 Wim Taymans <wim@fluendo.com>
11305 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11306 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11307 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11309 * gst/gstbus.c: (gst_bus_post):
11310 * gst/gstelement.c: (gst_element_get_random_pad):
11311 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11312 Make subbufer unref the parent in finalize.
11313 some more debugging info.
11316 2005-05-19 Wim Taymans <wim@fluendo.com>
11318 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11319 (gst_basesink_init), (gst_basesink_finalize),
11320 (gst_basesink_activate), (gst_basesink_change_state):
11321 Don't free preroll queue too early.
11323 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11327 Hi, I'm outdated. Please shoot me.
11329 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11331 * gst/gstpipeline.c: (gst_pipeline_send_event):
11332 Do not access variables after they have been deleted.
11334 2005-05-19 Wim Taymans <wim@fluendo.com>
11336 * tools/gst-inspect.c: (print_plugin_features):
11337 A plugin feature does unfortunatly not use the
11340 2005-05-18 Wim Taymans <wim@fluendo.com>
11342 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11343 Port _span() functions to new subbuffers.
11345 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11347 * gst/gstbin.c: (gst_bin_add_func):
11348 Fix clock settery in bins when adding kids after the clock has
11351 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11353 * gst/elements/gstidentity.c: (gst_identity_class_init):
11354 Workaround until signals support GstMiniObject.
11356 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11359 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11361 2005-05-18 Wim Taymans <wim@fluendo.com>
11363 * gst/base/Makefile.am:
11364 * gst/base/gstadapter.c: (gst_adapter_base_init),
11365 (gst_adapter_class_init), (gst_adapter_init),
11366 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11367 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11368 (gst_adapter_flush), (gst_adapter_available),
11369 (gst_adapter_available_fast):
11370 * gst/base/gstadapter.h:
11371 Ported and added adapter to the base classes.
11373 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11376 * gst/gstmessage.c:
11377 Make sure the class is reffed/unreffed once before threads can be
11378 used. Fixes #304551.
11380 2005-05-17 Wim Taymans <wim@fluendo.com>
11382 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11383 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11384 * gst/gstminiobject.c: (gst_mini_object_get_type),
11385 (gst_mini_object_free):
11386 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11387 (gst_pad_push), (gst_pad_push_event):
11388 * gst/gstqueue.c: (gst_queue_change_state):
11389 Don't queue buffers in basesink when we are flushing.
11390 Unref buffer when flushing in basesink.
11391 Flush queue when going to READY
11392 Unref buffer when _push() returns an error.
11393 Don't free MiniObject instance when refcount is incremented
11394 in _finalize() so that we can recover objects.
11396 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11398 * docs/manual/advanced-schedulers.xml:
11399 * docs/manual/appendix-checklist.xml:
11400 * docs/pwg/advanced-clock.xml:
11401 * docs/pwg/advanced-interfaces.xml:
11402 * docs/pwg/advanced-request.xml:
11403 * docs/pwg/advanced-types.xml:
11404 * docs/pwg/intro-preface.xml:
11405 * examples/plugins/example.c: (gst_example_get_type),
11406 (gst_example_class_init), (gst_example_chain),
11407 (gst_example_set_property), (gst_example_get_property),
11408 (gst_example_change_state), (plugin_init):
11409 * examples/plugins/example.h:
11412 2005-05-17 Wim Taymans <wim@fluendo.com>
11414 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11415 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11416 * gst/gstqueue.c: (gst_queue_change_state):
11417 Clear queue when going to READY.
11418 Remove IN_SETCAPS flag too.
11420 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11422 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11423 Remove implicit cast from gboolean to GstElementStateReturn;
11424 make sure we still return failure in paused => ready case if
11425 the parent class fails to change state and our own stop
11428 2005-05-17 Wim Taymans <wim@fluendo.com>
11430 * tools/gst-launch.c: (event_loop):
11431 Message was unreffed too soon.
11433 2005-05-16 Andy Wingo <wingo@pobox.com>
11435 * gst/gstbin.c (sink_iterator_filter): Err... um...
11437 * check/gst/gstbin.c (test_ghost_pads): New test for the
11438 ghosting-if-elements-not-in-same-bin behavior.
11440 2005-05-16 David Schleef <ds@schleef.org>
11442 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11443 accessing refcount directly.
11445 2005-05-15 David Schleef <ds@schleef.org>
11447 * check/Makefile.am: remove GstData checks
11448 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11449 * gst/Makefile.am: add miniobject, remove data
11450 * gst/gst.h: add miniobject, remove data
11451 * gst/gstdata.c: remove
11452 * gst/gstdata.h: remove
11453 * gst/gstdata_private.h: remove
11454 * gst/gsttypes.h: remove GstEvent and GstMessage
11455 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11456 * gst/gstmarshal.list: change BOXED -> OBJECT
11458 Implement GstMiniObject.
11459 * gst/gstminiobject.c:
11460 * gst/gstminiobject.h:
11462 Modify to be subclasses of GstMiniObject.
11463 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11464 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11465 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11466 (gst_subbuffer_get_type), (gst_subbuffer_init),
11467 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11470 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11471 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11472 (_gst_event_copy), (gst_event_new):
11474 * gst/gstmessage.c: (_gst_message_initialize),
11475 (gst_message_get_type), (gst_message_class_init),
11476 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11477 (gst_message_new), (gst_message_new_error),
11478 (gst_message_new_warning), (gst_message_new_tag),
11479 (gst_message_new_state_changed), (gst_message_new_application):
11480 * gst/gstmessage.h:
11481 * gst/gstprobe.c: (gst_probe_perform),
11482 (gst_probe_dispatcher_dispatch):
11484 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11485 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11486 (_gst_query_copy), (gst_query_new):
11488 Update elements for GstData -> GstMiniObject changes
11490 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11491 (gst_queue_chain), (gst_queue_loop):
11492 * gst/elements/gstbufferstore.c:
11493 (gst_buffer_store_add_buffer_func),
11494 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11495 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11496 (gst_fakesink_render):
11497 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11498 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11499 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11500 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11501 (gst_filesrc_create_read):
11502 * gst/elements/gstidentity.c: (gst_identity_class_init):
11503 * gst/elements/gsttypefindelement.c:
11504 (gst_type_find_element_src_event), (free_entry_buffers),
11505 (gst_type_find_element_handle_event):
11506 * libs/gst/dataprotocol/dataprotocol.c:
11507 (gst_dp_header_from_buffer):
11508 * libs/gst/dataprotocol/dataprotocol.h:
11509 * libs/gst/dataprotocol/dp-private.h:
11511 2005-05-15 David Schleef <ds@schleef.org>
11513 * gst/elements/gstelements.c: Don't include headers that were
11516 2005-05-15 David Schleef <ds@schleef.org>
11518 * gst/elements/Makefile.am: Remove some elements that don't
11519 need to be in the core (or even exist at all).
11520 * gst/elements/gstaggregator.c:
11521 * gst/elements/gstaggregator.h:
11522 * gst/elements/gstmd5sink.c:
11523 * gst/elements/gstmd5sink.h:
11524 * gst/elements/gstmultifilesrc.c:
11525 * gst/elements/gstmultifilesrc.h:
11526 * gst/elements/gstpipefilter.c:
11527 * gst/elements/gstpipefilter.h:
11528 * gst/elements/gstshaper.c:
11529 * gst/elements/gstshaper.h:
11530 * gst/elements/gststatistics.c:
11531 * gst/elements/gststatistics.h:
11532 * po/POTFILES.in: Remove above files.
11534 2005-05-14 Andy Wingo <wingo@pobox.com>
11536 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11537 so as to get the refs right.
11538 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11539 unreffing objects that don't pass the filter.
11541 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11542 gst_element_set_bus.
11543 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11544 normal cases, this will destroy the bus.
11546 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11549 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11552 2005-05-13 Andy Wingo <wingo@pobox.com>
11554 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11555 gst_pad_link, call pad_link_maybe_ghosting,
11556 (pad_link_maybe_ghosting): Links pads, making sure that the
11557 elements being linked are in the same bin.
11558 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11559 Helpers for pad_link_maybe_ghosting.
11561 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11564 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11566 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11568 * docs/design/part-element-source.txt:
11571 2005-05-12 Wim Taymans <wim@fluendo.com>
11573 * gst/base/gstbasesink.c: (gst_basesink_init),
11574 (gst_basesink_activate):
11575 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11576 (gst_basesrc_is_seekable):
11577 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11578 (bin_element_is_sink), (gst_bin_change_state):
11579 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11580 * gst/gstelement.h:
11581 Identify sinks by their flag to avoid overly complicated
11583 Do state changes even for elements not reachable from the
11585 BaseSink is a sink now :)
11586 Some more debugging info in the basesrc.
11589 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11591 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11592 Implement _query on a bin, similar to _send_event.
11594 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11596 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11597 Discont event offset format should be GST_FORMAT_BYTES,
11598 not GST_FORMAT_TIME.
11600 2005-05-12 Wim Taymans <wim@fluendo.com>
11602 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11603 Same fix as Ronald's but without the signal.
11605 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11607 * gst/gstutils.c: (gst_element_query_position):
11608 No, an element is not a pad.
11610 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11612 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11613 (gst_bin_get_state):
11614 If a child is removed from a bin while we remove the child from
11615 the bin and while we're retrieving its state, signal this to the
11616 get_state function so we abort the wait (instead of waiting for
11617 a timeout) and can immediately re-iterate over all other elements.
11619 2005-05-12 Wim Taymans <wim@fluendo.com>
11621 * gst/base/Makefile.am:
11622 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11623 (gst_basesrc_start):
11624 * gst/base/gstbasesrc.h:
11625 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11626 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11627 (gst_pushsrc_init), (gst_pushsrc_create):
11628 * gst/base/gstpushsrc.h:
11629 Added is_seekable to BaseSrc
11630 Added simple PushSrc.
11632 2005-05-11 Wim Taymans <wim@fluendo.com>
11634 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11635 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11636 (gst_element_link_pads), (gst_element_query_position),
11637 (gst_element_query_convert), (intersect_caps_func),
11638 (gst_pad_query_position), (gst_pad_query_convert):
11639 Fix refcounting in utils function.
11640 No point in trying to activate a pad when it's added, it could
11641 be added from the state change function and then we deadlock, the
11642 element has to decide what to do.
11644 2005-05-10 Andy Wingo <wingo@pobox.com>
11646 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11647 *all* the arguments.
11649 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11650 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11651 lock (according to the docs -- if this is wrong change the docs).
11653 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11654 flush messages in the NULL state.
11656 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11657 message immediately and return.
11658 (gst_bus_set_flushing): New function. If a bus is flushing, it
11659 flushes out any queued messages and immediately unrefs new
11660 messages. This is so when an element goes to NULL, all of the
11661 unhandled messages coming from it can be freed, and their
11662 references to the element dropped. In other words: message source
11663 ref considered harmful :P
11665 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11666 we're finished with it.
11668 * gst/gstmessage.c (gst_message_new_state_changed):
11670 2005-05-10 Wim Taymans <wim@fluendo.com>
11672 * gst/gstvalue.c: (gst_value_compare_flags),
11673 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11674 (_gst_value_initialize):
11675 Added flags serialize/deserialize/compare code.
11677 2005-05-09 Andy Wingo <wingo@pobox.com>
11679 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11680 Intersect the peer's caps with our caps.
11682 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11684 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11685 * gst/elements/gsttypefindelement.c: (find_peek):
11686 Handle negative offsets better. Fixes decodebin.
11688 2005-05-09 Wim Taymans <wim@fluendo.com>
11690 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11691 (gst_base_transform_event):
11692 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11693 Implement accept_caps.
11694 Fix silly lock/unlock mismatch in base class.
11696 2005-05-09 Wim Taymans <wim@fluendo.com>
11698 * docs/design/draft-push-pull.txt:
11699 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11700 * gst/elements/gstfilesink.c: (gst_filesink_init),
11701 (gst_filesink_query):
11702 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11703 (gst_type_find_handle_src_query), (find_element_get_length):
11704 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11705 * gst/gstelement.h:
11706 * gst/gstmessage.c:
11707 * gst/gstmessage.h:
11708 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11709 (gst_real_pad_get_caps_unlocked),
11710 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11711 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11712 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11713 (gst_real_pad_dispose), (gst_real_pad_finalize),
11714 (gst_pad_load_and_link), (gst_pad_save_thyself),
11715 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11716 (gst_pad_check_pull_range), (gst_pad_pull_range),
11717 (gst_pad_template_get_type), (gst_pad_template_class_init),
11718 (gst_pad_template_init), (gst_pad_template_dispose),
11719 (name_is_valid), (gst_static_pad_template_get),
11720 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11721 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11722 (gst_pad_get_element_private), (gst_pad_start_task),
11723 (gst_pad_pause_task), (gst_pad_stop_task),
11724 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11725 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11726 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11727 (gst_ghost_pad_new):
11729 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11730 (gst_query_new_position), (gst_query_set_position),
11731 (gst_query_parse_position), (gst_query_new_convert),
11732 (gst_query_set_convert), (gst_query_parse_convert):
11734 * gst/gstqueryutils.c:
11735 * gst/gstqueryutils.h:
11736 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11737 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11738 (gst_queue_handle_src_query):
11739 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11740 (gst_element_query_position), (gst_element_query_convert),
11741 (intersect_caps_func), (gst_pad_query_position),
11742 (gst_pad_query_convert):
11744 * tools/gst-inspect.c: (print_pad_info):
11745 * tools/gst-xmlinspect.c: (print_element_info):
11746 Remove old query functions. Ported old code.
11747 Added position/convert helper functions to gstutils.
11748 Reordered gstpad.c code, grouping relevant things.
11749 Remove gst_message_new(), always need to speficy a specific
11753 2005-05-09 Andy Wingo <wingo@pobox.com>
11755 * gst/gstiterator.h: Add some includes.
11757 * gst/gstqueryutils.h: Include more headers.
11760 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11761 some uses of gst_pad_query.
11763 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11764 NULL out parameters.
11765 (gst_query_new_position): New proc, allocates a new position
11768 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11769 gstqueryutils.c to the build.
11771 * gst/gststructure.c (gst_structure_set_valist): Implement with
11772 the generic G_VALUE_COLLECT.
11774 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11776 * gst/Makefile.am: (gst_headers):
11777 Added gstqueryutils.h to the list of headers to install, that was
11778 a 'nachty' move wingo :)
11780 2005-05-06 Andy Wingo <wingo@pobox.com>
11783 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11784 GstData, init a memchunk.
11785 (standard_definitions): Add a few query types, deprecate a few.
11786 (gst_query_get_type): New proc.
11787 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11789 (gst_query_new_application, gst_query_get_structure): New public
11792 * docs/design/draft-query.txt: Removed LINKS from the query types,
11793 because all the rest can be dispatched to other pads -- seemed
11794 ugly to have a query that couldn't be dispatched. internal_links
11795 is fine as a pad method.
11797 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11798 in gstpad.c, but maintain binary compatibility for the moment.
11799 Will fix before 0.9 is out.
11801 * gst/gstqueryutils.c:
11802 * gst/gstqueryutils.h: New files, implement 3 methods for each
11803 query type: parse_query, parse_response, and set. Probably need an
11806 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11808 * gst/elements/gstfilesink.c (gst_filesink_query2):
11809 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11810 query_types, and formats methods.
11812 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11813 (gst_pad_set_query2_function): New functions.
11814 (gst_real_pad_init): Set query2_default as the default query2
11815 function. Basically just dispatches to internally linked pads.
11819 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11820 without using the atomic operations. Only one thread can possibly
11821 be accessing the data at this point. Changed so as to avoid
11822 gst_atomic operations.
11824 2005-05-06 Wim Taymans <wim@fluendo.com>
11826 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11827 Also set caps if we use the fallback buffer alloc.
11829 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11831 * docs/gst/Makefile.am:
11832 * docs/gst/gstreamer-docs.sgml:
11833 * docs/gst/gstreamer-sections.txt:
11834 * docs/gst/tmpl/gstatomic.sgml:
11835 * docs/gst/tmpl/gstmemchunk.sgml:
11836 * testsuite/elements/struct_i386.h:
11837 * win32/GStreamer.vcproj:
11839 Purge GstAtomic stuff from docs and win32 makefiles as well
11841 2005-05-06 Wim Taymans <wim@fluendo.com>
11843 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11844 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11845 * gst/gstpad.c: (gst_pad_peer_get_caps):
11846 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11847 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11848 (gst_queue_src_activate), (gst_queue_change_state):
11850 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11851 (intersect_caps_func):
11852 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11853 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11854 Some fixes for the peer_get_caps() change.
11856 2005-05-06 Wim Taymans <wim@fluendo.com>
11858 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11859 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11860 (gst_basesink_activate):
11861 Actually do something with error codes returned from the push
11864 2005-05-06 Wim Taymans <wim@fluendo.com>
11866 * docs/design/part-element-sink.txt:
11867 * docs/design/part-element-source.txt:
11868 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11869 (gst_basesink_event), (gst_basesink_activate):
11870 * gst/base/gstbasesink.h:
11871 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11872 (gst_basesrc_activate):
11873 * gst/base/gstbasesrc.h:
11874 * gst/gstelement.c: (gst_element_pads_activate):
11875 Some more documentation.
11876 Fixed scheduling decision in _pads_activate().
11878 2005-05-05 Andy Wingo <wingo@pobox.com>
11880 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11883 2005-05-05 Wim Taymans <wim@fluendo.com>
11885 * gst/base/Makefile.am:
11886 * gst/base/gstbasesink.h:
11887 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11888 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11889 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11890 (gst_collectpads_class_init), (gst_collectpads_init),
11891 (gst_collectpads_finalize), (gst_collectpads_new),
11892 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11893 (find_pad), (gst_collectpads_remove_pad),
11894 (gst_collectpads_is_active), (gst_collectpads_collect),
11895 (gst_collectpads_collect_range), (gst_collectpads_start),
11896 (gst_collectpads_stop), (gst_collectpads_peek),
11897 (gst_collectpads_pop), (gst_collectpads_available),
11898 (gst_collectpads_read), (gst_collectpads_flush),
11899 (gst_collectpads_chain):
11900 * gst/base/gstcollectpads.h:
11901 * gst/elements/Makefile.am:
11902 * gst/elements/gstelements.c:
11903 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11904 (gst_fakesink_get_times), (gst_fakesink_event),
11905 (gst_fakesink_preroll), (gst_fakesink_render):
11906 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11907 (gst_filesink_init), (gst_filesink_set_location),
11908 (gst_filesink_open_file), (gst_filesink_close_file),
11909 (gst_filesink_pad_query), (gst_filesink_event),
11910 (gst_filesink_render), (gst_filesink_change_state):
11911 * gst/elements/gstfilesink.h:
11912 Added object to help in making collect pad based elements.
11914 Make event function in sink baseclass return gboolean.
11916 2005-05-05 Wim Taymans <wim@fluendo.com>
11918 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11919 (gst_bin_get_by_name):
11921 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11922 (gst_clock_finalize):
11923 * gst/gstdata.c: (gst_data_replace):
11925 * gst/gstelement.c: (gst_element_request_pad),
11926 (gst_element_pads_activate):
11927 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11928 (gst_object_unref):
11929 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11930 (gst_pad_set_checkgetrange_function),
11931 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11932 (gst_pad_check_pull_range), (gst_pad_pull_range),
11933 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11934 (gst_pad_pause_task), (gst_pad_stop_task):
11935 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11936 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11937 Fix name lookup in GstBin.
11938 Added _data_replace() function and _buffer_replace()
11939 Use finalize method to clean up clock.
11940 Fix refcounting on request pads.
11941 Fix pad schedule mode error.
11942 Some more object refcounting debug info,
11945 2005-05-04 Andy Wingo <wingo@pobox.com>
11947 * check/Makefile.am:
11948 * docs/gst/tmpl/gstatomic.sgml:
11949 * docs/gst/tmpl/gstplugin.sgml:
11950 * gst/base/gstbasesink.c: (gst_basesink_activate):
11951 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11952 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11953 (gst_basesrc_query), (gst_basesrc_set_property),
11954 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11955 (gst_basesrc_activate):
11956 * gst/base/gstbasesrc.h:
11957 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11958 (gst_base_transform_src_activate):
11959 * gst/elements/gstelements.c:
11960 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11961 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11962 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11963 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11964 (gst_type_find_element_checkgetrange),
11965 (gst_type_find_element_activate):
11966 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11967 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11968 (gst_caps_load_thyself):
11969 * gst/gstelement.c: (gst_element_pads_activate),
11970 (gst_element_save_thyself), (gst_element_restore_thyself):
11971 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11972 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11974 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11975 (gst_xml_parse_file), (gst_xml_parse_memory),
11976 (gst_xml_get_element), (gst_xml_make_element):
11977 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11978 (_file_index_id_save_xml), (gst_file_index_commit):
11979 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11980 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11982 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11983 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11984 * tools/gst-complete.c: (main):
11985 * tools/gst-compprep.c: (main):
11986 * tools/gst-inspect.c: (print_element_properties_info):
11987 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11988 * tools/gst-xmlinspect.c: (print_element_properties):
11991 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11993 * gst/gstplugin.c: (gst_plugin_check_module),
11994 (gst_plugin_check_file), (gst_plugin_load_file):
11995 apply patch from #172526 to make register work on MacOSX
11997 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11999 * docs/gst/tmpl/gstconfig.sgml:
12000 * gst/gstconfig.h.in:
12001 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12002 * testsuite/debug/printf_extension.c: (main):
12003 Do not use GST_PTR_FORMAT on pointers to types with
12004 sizeof < sizeof(gpointer). Fixes test on 64-bit
12005 * testsuite/elements/property.h:
12006 use correct printf format
12008 2005-05-02 Wim Taymans <wim@fluendo.com>
12010 * docs/design/draft-push-pull.txt:
12011 * docs/design/draft-query.txt:
12012 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12013 (gst_basesrc_start):
12014 Added draft for new query API.
12015 Added draft for better selecting scheduling methods.
12016 Make basesrc ignore length if the subclass does not support
12019 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12022 possible fixes for automake-1.5 - _LIBADD is reserved
12024 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12026 * docs/faq/Makefile.am:
12027 * docs/manual/Makefile.am:
12028 * docs/manuals.mak:
12029 * docs/pwg/Makefile.am:
12031 possible fixes for automake-1.5
12033 2005-04-28 Wim Taymans <wim@fluendo.com>
12035 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12036 (gst_basesink_pad_getcaps), (gst_basesink_init),
12037 (gst_basesink_do_sync):
12038 * gst/gstclock.c: (gst_clock_entry_new):
12039 * gst/gstevent.c: (gst_event_discont_get_value):
12040 * gst/gstpipeline.c: (pipeline_bus_handler),
12041 (gst_pipeline_change_state):
12042 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12043 Better debugging of clocking info.
12044 Allow NULL values when getting discont values.
12046 2005-04-27 Wim Taymans <wim@fluendo.com>
12048 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12049 * check/gst/gstpad.c: (gst_pad_suite):
12050 Increase timeout for checks.
12052 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12054 * check/Makefile.am:
12055 fix the broken rule for cleanup. Apparently this rule is
12056 only needed on FC2, so maybe this warrants further autotool
12059 2005-04-26 Wim Taymans <wim@fluendo.com>
12061 * gst/gsttrashstack.h:
12062 Ooohh. a nasty one! After having a failed pop() from the stack,
12063 it's possible that the stack is empty. In that case, don't
12064 follow the NULL pointer.
12066 2005-04-25 Wim Taymans <wim@fluendo.com>
12068 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12069 (gst_pad_set_checkgetrange_function),
12070 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12071 (gst_pad_check_pull_range), (gst_pad_pull_range),
12072 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12073 (gst_pad_pause_task), (gst_pad_stop_task):
12074 * gst/gstplugin.c: (gst_plugin_load):
12076 Remove gst_library_load as it does more harm than good with
12077 the new g_module flags.
12078 Revert bogus caps template check in pad linking, pad caps
12079 are important when linking not the template, which is more
12080 general than the current caps.
12082 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12084 * gst/autoplug/.cvsignore:
12085 * gst/autoplug/Makefile.am:
12086 * gst/autoplug/gstsearchfuncs.c:
12087 * gst/autoplug/gstsearchfuncs.h:
12088 * gst/autoplug/gstspider.c:
12089 * gst/autoplug/gstspider.h:
12090 * gst/autoplug/gstspideridentity.c:
12091 * gst/autoplug/gstspideridentity.h:
12092 * gst/autoplug/spidertest.c:
12095 2005-04-25 Wim Taymans <wim@fluendo.com>
12097 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12098 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12099 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12100 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12102 Added stubs for unimplemented functions.
12104 2005-04-24 David Schleef <ds@schleef.org>
12106 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12109 2005-04-24 David Schleef <ds@schleef.org>
12111 Convert everything from GstAtomicInt to g_atomic_int_*, and
12116 * gst/gstatomic_impl.h:
12124 * gst/gstdata_private.h:
12128 * gst/gstmessage.c:
12131 * gst/gststructure.c:
12132 * gst/gststructure.h:
12133 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12136 2005-04-24 David Schleef <ds@schleef.org>
12138 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12139 make the regressions tests work. Remove some code that is no
12141 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12142 Disable warning for pads without templates.
12144 2005-04-24 David Schleef <ds@schleef.org>
12146 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12147 functions that handle filtered links.
12148 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12150 * gst/gstutils.c: Fix/remove utility functions that handle
12153 * gst/gstvalue.c: Add serialization/deserialization of caps
12154 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12155 requires fixing so that the filter caps notation creates
12156 a capsfilter element and sets the filter_caps property. I
12157 think everyone probably wants to keep the shorthand notation.
12158 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12159 * docs/gst/tmpl/gstpad.sgml:
12161 * gst/elements/gstelements.c: Register capsfilter element.
12162 * gst/Makefile.am: fix spacing
12163 * docs/random/ds/0.9-suggested-changes: random
12165 2005-04-23 David Schleef <ds@schleef.org>
12167 * gst/elements/Makefile.am:
12168 * gst/elements/gstcapsfilter.c: New element that acts like an
12169 identity, but filters caps. Will eventually replace filtered
12170 caps in pad linking.
12171 * gst/gstutils.c: (gst_element_create_all_pads): New function
12172 to create all the ALWAYS pads that are registered with an
12173 element class. This functionality should eventually be
12174 merged in with GstElement initialization.
12176 * testsuite/trigger/README: part of trigger test code that should
12177 have been checked in a long time ago.
12179 2005-04-23 David Schleef <ds@schleef.org>
12181 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12182 needed with new versions of libtool (nobody will confirm this),
12183 and hard to carry around.
12184 * gst/autoplug/Makefile.am:
12185 * gst/base/Makefile.am:
12186 * gst/elements/Makefile.am:
12187 * gst/indexers/Makefile.am:
12188 * gst/schedulers/Makefile.am:
12189 * libs/gst/bytestream/Makefile.am:
12190 * libs/gst/control/Makefile.am:
12191 * libs/gst/dataprotocol/Makefile.am:
12192 * libs/gst/getbits/Makefile.am:
12194 2005-04-21 Wim Taymans <wim@fluendo.com>
12196 * docs/design/draft-push-pull.txt:
12197 * docs/design/part-MT-refcounting.txt:
12198 * docs/design/part-TODO.txt:
12199 * docs/design/part-caps.txt:
12200 * docs/design/part-events.txt:
12201 * docs/design/part-gstbus.txt:
12202 * docs/design/part-gstpipeline.txt:
12203 * docs/design/part-messages.txt:
12204 * docs/design/part-push-pull.txt:
12205 * docs/design/part-query.txt:
12208 2005-04-21 Wim Taymans <wim@fluendo.com>
12210 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12211 (gst_message_new), (gst_message_new_error),
12212 (gst_message_new_warning), (gst_message_new_tag),
12213 (gst_message_new_state_changed), (gst_message_new_application),
12214 (gst_message_get_structure):
12215 * gst/gstmessage.h:
12216 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12217 (gst_structure_copy_conditional):
12218 Use parent refcount in GstMessage to ensure GstStructure
12220 Cleaned up headers a bit.
12223 2005-04-20 Wim Taymans <wim@fluendo.com>
12225 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12226 (gst_basesink_pad_getcaps), (gst_basesink_init),
12227 (gst_basesink_chain_unlocked):
12228 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12229 (gst_type_find_helper):
12230 * gst/elements/gsttypefindelement.c:
12231 (gst_type_find_element_have_type), (gst_type_find_element_init),
12232 (stop_typefinding), (gst_type_find_element_handle_event),
12233 (find_suggest), (gst_type_find_element_chain),
12234 (gst_type_find_element_checkgetrange),
12235 (gst_type_find_element_getrange), (do_typefind),
12236 (gst_type_find_element_activate):
12237 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12238 (gst_buffer_default_free), (gst_buffer_default_copy),
12239 (gst_buffer_set_caps):
12240 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12241 (gst_caps_replace):
12242 * gst/gstmessage.c: (gst_message_new),
12243 (gst_message_new_state_changed):
12244 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12245 (gst_pad_set_checkgetrange_function),
12246 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12247 (gst_pad_set_caps), (gst_pad_check_pull_range),
12248 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12250 * gst/gsttypefind.c: (gst_type_find_register):
12251 Make gst_caps_replace() work like other _replace() functions.
12252 Use _caps_replace() where possible.
12253 Make sure _message_new() initialises its field.
12254 Add gst_static_pad_template_get_caps()
12257 2005-04-18 Andy Wingo <wingo@pobox.com>
12259 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12260 on the peer, not the pad. I think that was a typo. Pass an extra
12261 arg to see if random access is possible. Activate the pads as
12262 PULL_RANGE if possible.
12264 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12266 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12267 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12270 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12272 * docs/faq/using.xml:
12273 Add note on gstreamer-properties (#154996).
12275 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12277 * docs/random/bbb/optional-properties:
12278 Some analysis on optional properties.
12280 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12282 * docs/gst/tmpl/gstelementfactory.sgml:
12283 * gst/gstelement.h:
12284 * gst/gstelementfactory.c: (gst_element_factory_init),
12285 (gst_element_factory_cleanup), (gst_element_register),
12286 (__gst_element_factory_add_static_pad_template),
12287 (gst_element_factory_get_static_pad_templates),
12288 (gst_element_factory_can_src_caps),
12289 (gst_element_factory_can_sink_caps):
12290 * gst/registries/Makefile.am:
12291 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12292 (gst_xml_registry_class_init), (gst_xml_registry_init),
12293 (gst_xml_registry_new), (gst_xml_registry_set_property),
12294 (gst_xml_registry_get_property), (get_time), (make_dir),
12295 (gst_xml_registry_get_perms_func),
12296 (plugin_times_older_than_recurse), (plugin_times_older_than),
12297 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12298 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12299 (add_to_char_array), (read_string), (read_uint), (read_enum),
12300 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12301 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12302 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12303 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12304 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12305 (gst_xml_registry_rebuild):
12306 * gst/registries/gstlibxmlregistry.h:
12307 * tools/gst-compprep.c: (main):
12308 * tools/gst-inspect.c: (print_pad_templates_info):
12309 * tools/gst-xmlinspect.c: (print_element_info):
12310 Use libxml2 for registry parsing, use staticpadtemplates in
12311 elementfactories. Makes gst_init() +/- 10x faster.
12313 2005-04-12 Wim Taymans <wim@fluendo.com>
12315 * gst/base/Makefile.am:
12316 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12317 (gst_basesink_pad_getcaps), (gst_basesink_init),
12318 (gst_basesink_event), (gst_basesink_change_state):
12319 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12320 (gst_basesrc_init), (gst_basesrc_query),
12321 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12322 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12323 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12324 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12325 (gst_basesrc_stop), (gst_basesrc_activate),
12326 (gst_basesrc_change_state):
12327 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12328 (helper_find_suggest), (gst_type_find_helper):
12329 * gst/base/gsttypefindhelper.h:
12330 * gst/elements/Makefile.am:
12331 * gst/elements/gstelements.c:
12332 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12333 (gst_fakesink_get_times), (gst_fakesink_event),
12334 (gst_fakesink_preroll), (gst_fakesink_render):
12335 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12336 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12337 (gst_fakesrc_get_property), (gst_fakesrc_create),
12338 (gst_fakesrc_start), (gst_fakesrc_stop):
12339 * gst/elements/gstfakesrc.h:
12340 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
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_is_seekable), (gst_filesrc_get_size),
12345 (gst_filesrc_start):
12346 * gst/elements/gsttypefindelement.c:
12347 (gst_type_find_element_have_type), (gst_type_find_element_init),
12348 (start_typefinding), (stop_typefinding), (push_buffer_store),
12349 (gst_type_find_element_handle_event),
12350 (gst_type_find_element_chain),
12351 (gst_type_find_element_checkgetrange),
12352 (gst_type_find_element_getrange), (do_typefind),
12353 (gst_type_find_element_activate),
12354 (gst_type_find_element_change_state):
12355 * gst/elements/gsttypefindelement.h:
12356 * gst/gstpipeline.c: (pipeline_bus_handler):
12357 Added typefind helper.
12358 Small preroll fix in the base sink.
12359 Disable typefind code in basesrc.
12360 Crude port of typefindelement.
12364 2005-04-11 Wim Taymans <wim@fluendo.com>
12366 * check/gst/gstbus.c: (gstbus_suite):
12367 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12368 * check/gstcheck.h:
12369 Fix up the timeout so that the test does not fail.
12371 2005-04-06 Wim Taymans <wim@fluendo.com>
12374 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12375 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12376 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12377 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12378 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12379 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12380 (gst_basesrc_stop), (gst_basesrc_activate),
12381 (gst_basesrc_change_state), (basesrc_find_peek),
12382 (basesrc_find_suggest), (gst_basesrc_type_find):
12383 * gst/base/gstbasesrc.h:
12384 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12385 (gst_filesrc_class_init), (gst_filesrc_init),
12386 (gst_filesrc_finalize), (gst_filesrc_set_location),
12387 (gst_filesrc_set_property), (gst_filesrc_get_property),
12388 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12389 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12390 (gst_filesrc_create_read), (gst_filesrc_create),
12391 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12392 * gst/elements/gstfilesrc.h:
12393 * gst/gstelement.c: (gst_element_get_state_func),
12394 (gst_element_lost_state), (gst_element_pads_activate):
12395 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12396 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12397 (gst_pad_pull_range):
12399 More work on the generic source base class, implement seeking,
12401 Make filesrc extend the base source class.
12402 Added gst_pad_set_checkgetrange_function to GstPad.
12404 2005-04-06 Andy Wingo <wingo@pobox.com>
12406 * pkgconfig/gstreamer-base.pc.in:
12407 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12409 * pkgconfig/Makefile.am:
12410 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12412 2005-04-04 Wim Taymans <wim@fluendo.com>
12414 * gst/base/Makefile.am:
12416 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12417 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12418 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12419 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12420 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12421 (gst_basesrc_base_init), (gst_basesrc_class_init),
12422 (gst_basesrc_init), (gst_basesrc_get_formats),
12423 (gst_basesrc_get_query_types), (gst_basesrc_query),
12424 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12425 (gst_basesrc_set_property), (gst_basesrc_get_property),
12426 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12427 (gst_basesrc_loop), (gst_basesrc_activate),
12428 (gst_basesrc_change_state):
12429 * gst/base/gstbasesrc.h:
12430 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12431 (gst_fakesrc_class_init), (gst_fakesrc_init),
12432 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12433 (gst_fakesrc_get_property), (gst_fakesrc_create):
12434 * gst/elements/gstfakesrc.h:
12435 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12436 (gst_filesrc_open_file), (gst_filesrc_loop),
12437 (gst_filesrc_activate), (filesrc_find_peek),
12438 (gst_filesrc_type_find):
12439 Made base source class, make fakesrc extend it.
12440 Add comments to basesink class.
12441 Some filesrc cleanup.
12443 2005-03-31 David Schleef <ds@schleef.org>
12445 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12446 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12447 expected to link against libgstreamer.
12448 * gst/base/Makefile.am: link against libgstreamer
12449 * gst/elements/Makefile.am: same
12451 2005-03-31 Andy Wingo <wingo@pobox.com>
12453 * tests/instantiate/Makefile.am:
12454 * tests/instantiate/caps.c: Add test to test speed of caps copy
12457 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12458 GMemChunk to be fair.
12460 * gst/gsttrashstack.h: Remove warning about using the fallback
12461 trash stack implementation, it's still faster than malloc.
12463 2005-03-30 Andy Wingo <wingo@pobox.com>
12465 * tests/complexity.c: Add a copyright.
12467 2005-03-31 Wim Taymans <wim@fluendo.com>
12469 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12470 (gst_base_transform_class_init), (gst_base_transform_init),
12471 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12472 (gst_base_transform_get_property),
12473 (gst_base_transform_sink_activate),
12474 (gst_base_transform_src_activate),
12475 (gst_base_transform_change_state):
12476 * gst/base/gstbasetransform.h:
12477 * gst/elements/gstidentity.c: (gst_identity_class_init),
12478 (gst_identity_event), (gst_identity_check_perfect),
12479 (gst_identity_transform), (gst_identity_start),
12480 (gst_identity_stop):
12481 Added start/stop methods to transform base class so subclasses
12482 don't need to deal with state changes even.
12484 2005-03-31 Wim Taymans <wim@fluendo.com>
12486 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12487 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12489 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12490 (gst_pad_pull_range):
12491 Added rate to the discont event to prepare for variable speed
12492 and reverse playback.
12494 2005-03-29 David Schleef <ds@schleef.org>
12497 * testsuite/trigger/Makefile.am:
12498 * testsuite/trigger/trigger.c: A little example program to show
12499 how trigger-based elements can work.
12501 2005-03-29 Wim Taymans <wim@fluendo.com>
12503 * gst/base/Makefile.am:
12505 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12506 (gst_basesink_base_init), (gst_basesink_class_init),
12507 (gst_basesink_pad_getcaps), (gst_basesink_init),
12508 (gst_basesink_activate), (gst_basesink_change_state):
12509 * gst/base/gstbasesink.h:
12510 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12511 (gst_base_transform_base_init), (gst_base_transform_finalize),
12512 (gst_base_transform_class_init), (gst_base_transform_init),
12513 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12514 (gst_base_transform_event), (gst_base_transform_getrange),
12515 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12516 (gst_base_transform_set_property),
12517 (gst_base_transform_get_property),
12518 (gst_base_transform_sink_activate),
12519 (gst_base_transform_src_activate),
12520 (gst_base_transform_change_state):
12521 * gst/base/gstbasetransform.h:
12522 * gst/elements/gstidentity.c: (gst_identity_finalize),
12523 (gst_identity_class_init), (gst_identity_init),
12524 (gst_identity_event), (gst_identity_check_perfect),
12525 (gst_identity_transform), (gst_identity_set_property),
12526 (gst_identity_get_property), (gst_identity_change_state):
12527 * gst/elements/gstidentity.h:
12528 * gst/gstelement.c: (gst_element_get_state_func),
12529 (gst_element_lost_state), (gst_element_pads_activate):
12530 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12531 (gst_pad_check_pull_range), (gst_pad_pull_range):
12533 Simplify pad activation.
12534 Added function to check if pull_range can be performed.
12535 Error out when pulling inactive or flushing pads.
12536 Removed const from refcounted types as it does not make sense.
12537 Simplify pad templates in basesink
12538 Added base class for simple 1-to-1 transforms.
12539 Make identity subclass the base transform.
12541 2005-03-29 Andy Wingo <wingo@pobox.com>
12543 * docs/libs/gstreamer-libs-overrides.txt:
12544 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12545 really don't understand what's going on, but like whatever. I want
12548 * docs/gst/Makefile.am:
12549 * docs/libs/Makefile.am: Dist the overrides files.
12551 * check/Makefile.am (clean-local): Remove .libs directories.
12553 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12554 elements to EXTRA_DIST, so po/ files are happy.
12556 * po/POTFILES.in: Er, remove it here.
12558 * po/POTFILES: Remove gstspider.c.
12560 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12562 * docs/libs/gstreamer-libs-docs.sgml:
12563 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12566 * tests/complexity.c (main): Set the length of the preroll queue
12567 on the sinks to prevent a lockup.
12569 * libs/gst/dataprotocol/Makefile.am:
12570 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12571 the same as the one in check/gst-libs/gdp.c.
12573 * po/, docs/gst/: Commit automatic changes to docs and po files.
12575 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12576 the versioned libgstbase.
12578 * check/Makefile.am: Depend on an unversioned gst-register, seems
12579 to make autoconf happier.
12581 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12583 2005-03-28 Wim Taymans <wim@fluendo.com>
12586 * docs/design/part-gstelement.txt:
12587 * docs/design/part-negotiation.txt:
12588 * docs/design/part-preroll.txt:
12589 * docs/design/part-scheduling.txt:
12590 * docs/design/part-states.txt:
12592 * gst/base/Makefile.am:
12594 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12595 (gst_basesink_base_init), (gst_basesink_class_init),
12596 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12597 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12598 (gst_basesink_set_pad_functions),
12599 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12600 (gst_basesink_set_property), (gst_basesink_get_property),
12601 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12602 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12603 (gst_basesink_preroll_queue_push),
12604 (gst_basesink_preroll_queue_empty),
12605 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12606 (gst_basesink_event), (gst_basesink_get_times),
12607 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12608 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12609 (gst_basesink_loop), (gst_basesink_activate),
12610 (gst_basesink_change_state):
12611 * gst/base/gstbasesink.h:
12612 * gst/elements/Makefile.am:
12613 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12614 (gst_fakesink_class_init), (gst_fakesink_init),
12615 (gst_fakesink_set_property), (gst_fakesink_get_property),
12616 (gst_fakesink_get_times), (gst_fakesink_event),
12617 (gst_fakesink_preroll), (gst_fakesink_render),
12618 (gst_fakesink_change_state):
12619 * gst/elements/gstfakesink.h:
12620 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12621 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12622 * gst/gstelement.c: (gst_element_add_pad),
12623 (gst_element_get_state_func), (gst_element_abort_state),
12624 (gst_element_commit_state), (gst_element_lost_state),
12625 (gst_element_set_state), (gst_element_pads_activate):
12626 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12627 * gst/gstpipeline.c: (gst_pipeline_send_event),
12628 (gst_pipeline_change_state):
12629 Added state change code.
12630 Added/updated docs.
12631 Added sink base class, make fakesink extend the base class.
12632 Small cleanups in GstPipeline.
12634 2005-03-26 David Schleef <ds@schleef.org>
12636 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12637 is broken and should be implemented in a different library.
12638 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12639 * gst/gst.h: remove gstcpu.h
12640 * gst/gstcpu.c: remove
12641 * gst/gstcpu.h: remove
12642 * gst/Makefile.am.future: Remove this file. It's ancient.
12644 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12646 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12647 (gst_bin_send_event):
12648 Add default event/set_manager handlers. The set_manager handler
12649 takes care that the manager is distributed over kids that were
12650 already in the bin before the manager was set. The event handler
12651 is a utility virtual function that sends the event over all sinks,
12652 so that gst_element_send_event (bin, event); has the expected
12654 * gst/gstpad.c: (gst_pad_event_default):
12655 Re-install default event handling for discontinuities, so that
12656 seeking works without requiring hacks in applications or extra
12658 * gst/gstpipeline.c: (gst_pipeline_class_init),
12659 (gst_pipeline_send_event):
12660 Half hack, half utility: set a pipeline to PAUSED for seek events,
12661 since that is the only way we can guarantee a/v sync. Means that
12662 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12663 and it "just works".
12665 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12667 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12668 Lock/unlock mismatch.
12670 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12672 * docs/faq/gst-uninstalled:
12673 add gst-plugins-base
12674 * docs/gst/Makefile.am:
12675 don't error out until docs are fixed
12676 * docs/gst/gstreamer.types:
12679 2005-03-22 Wim Taymans <wim@fluendo.com>
12681 * check/Makefile.am:
12682 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12683 * gst/gststructure.c: (gst_structure_set_valist),
12684 (gst_structure_copy_conditional):
12685 Activated more tests.
12686 Added message test.
12687 Added G_TYPE_POINTER to GstStructure.
12690 2005-03-22 Wim Taymans <wim@fluendo.com>
12692 * docs/design/part-TODO.txt:
12693 * docs/design/part-events.txt:
12694 * docs/design/part-gstbin.txt:
12695 * docs/design/part-gstbus.txt:
12696 * docs/design/part-gstpipeline.txt:
12697 * docs/design/part-messages.txt:
12699 * gst/gstmessage.c:
12702 2005-03-21 Wim Taymans <wim@fluendo.com>
12704 * gst/gstbus.c: (gst_bus_post):
12705 Fix copy-and-paste error.
12707 2005-03-21 Wim Taymans <wim@fluendo.com>
12709 * check/Makefile.am:
12711 * gst/elements/Makefile.am:
12712 * gst/elements/gstelements.c:
12713 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12714 (gst_fakesink_event), (gst_fakesink_chain):
12715 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12716 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12717 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12718 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12719 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12720 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12721 (gst_fakesrc_loop), (gst_fakesrc_activate),
12722 (gst_fakesrc_change_state):
12723 * gst/elements/gstfakesrc.h:
12724 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12725 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12726 (gst_filesrc_open_file), (gst_filesrc_loop),
12727 (gst_filesrc_activate), (gst_filesrc_change_state),
12728 (filesrc_find_peek), (filesrc_find_suggest),
12729 (gst_filesrc_type_find):
12730 * gst/elements/gstidentity.c: (gst_identity_finalize),
12731 (gst_identity_class_init), (gst_identity_init),
12732 (gst_identity_proxy_getcaps), (identity_queue_push),
12733 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12734 (gst_identity_getrange), (gst_identity_chain),
12735 (gst_identity_sink_loop), (gst_identity_src_loop),
12736 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12737 (gst_identity_set_property), (gst_identity_get_property),
12738 (gst_identity_change_state):
12739 * gst/elements/gstidentity.h:
12740 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12741 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12742 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12743 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12744 (gst_tee_sink_activate):
12745 * gst/elements/gsttee.h:
12746 * gst/gst.c: (gst_register_core_elements), (init_post):
12748 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12749 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12750 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12751 (gst_bin_change_state):
12753 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12754 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12755 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12756 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12757 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12758 (bus_watch_callback), (bus_watch_destroy),
12759 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12760 (poll_timeout), (gst_bus_poll):
12764 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12765 (gst_element_post_message), (gst_element_message_full),
12766 (gst_element_get_state_func), (gst_element_get_state),
12767 (gst_element_abort_state), (gst_element_commit_state),
12768 (gst_element_lost_state), (gst_element_set_state),
12769 (gst_element_pads_activate), (gst_element_change_state),
12770 (gst_element_dispose), (gst_element_set_manager_func),
12771 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12772 (gst_element_set_manager), (gst_element_get_manager),
12773 (gst_element_set_bus), (gst_element_get_bus),
12774 (gst_element_set_scheduler), (gst_element_get_scheduler):
12775 * gst/gstelement.h:
12776 * gst/gstevent.c: (gst_event_new_segment_seek),
12777 (gst_event_new_flush):
12779 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12780 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12781 (gst_message_new_eos), (gst_message_new_error),
12782 (gst_message_new_warning), (gst_message_new_tag),
12783 (gst_message_new_state_changed), (gst_message_new_application),
12784 (gst_message_get_structure), (gst_message_parse_tag),
12785 (gst_message_parse_state_changed), (gst_message_parse_error),
12786 (gst_message_parse_warning):
12787 * gst/gstmessage.h:
12788 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12789 (gst_real_pad_set_property), (gst_pad_set_active),
12790 (gst_pad_is_active), (gst_pad_set_blocked_async),
12791 (gst_pad_set_blocked), (gst_pad_is_blocked),
12792 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12793 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12794 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12795 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12796 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12797 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12798 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12799 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12800 (gst_pad_set_caps), (gst_pad_configure_sink),
12801 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12802 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12803 (gst_real_pad_dispose), (gst_real_pad_finalize),
12804 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12805 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12806 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12808 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12809 (pipeline_bus_handler), (gst_pipeline_change_state),
12810 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12811 * gst/gstpipeline.h:
12813 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12814 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12815 (gst_queue_link_src), (gst_queue_bufferalloc),
12816 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12817 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12818 (gst_queue_loop), (gst_queue_handle_src_event),
12819 (gst_queue_handle_src_query), (gst_queue_src_activate),
12820 (gst_queue_change_state):
12822 * gst/gstscheduler.c: (gst_scheduler_init),
12823 (gst_scheduler_dispose), (gst_scheduler_create_task),
12824 (gst_scheduler_factory_create):
12825 * gst/gstscheduler.h:
12826 * gst/gststructure.c: (gst_structure_get_type),
12827 (gst_structure_copy_conditional):
12828 * gst/gststructure.h:
12829 * gst/gsttaginterface.h:
12830 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12831 (gst_task_init), (gst_task_dispose), (gst_task_create),
12832 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12838 * gst/schedulers/Makefile.am:
12839 * gst/schedulers/cothreads_compat.h:
12840 * gst/schedulers/entryscheduler.c:
12841 * gst/schedulers/faircothreads.c:
12842 * gst/schedulers/faircothreads.h:
12843 * gst/schedulers/fairscheduler.c:
12844 * gst/schedulers/gstbasicscheduler.c:
12845 * gst/schedulers/gstoptimalscheduler.c:
12846 * gst/schedulers/gthread-cothreads.h:
12847 * gst/schedulers/threadscheduler.c:
12848 (gst_thread_scheduler_task_get_type),
12849 (gst_thread_scheduler_task_class_init),
12850 (gst_thread_scheduler_task_init),
12851 (gst_thread_scheduler_task_start),
12852 (gst_thread_scheduler_task_stop),
12853 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12854 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12855 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12856 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12858 * libs/gst/Makefile.am:
12859 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12860 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12861 (gst_file_pad_parent_set):
12862 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12863 (gst_dp_event_from_packet):
12864 * tests/complexity.c: (main):
12865 * tests/mass_elements.c: (main):
12866 * testsuite/states/locked.c: (message_received), (main):
12867 * testsuite/states/parent.c: (main):
12868 * tools/gst-inspect.c: (print_element_flag_info),
12869 (print_implementation_info), (print_pad_info):
12870 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12872 * tools/gst-md5sum.c: (event_loop), (main):
12873 * tools/gst-typefind.c: (main):
12874 * tools/gst-xmlinspect.c: (print_element_info):
12876 Added GstBus for mainloop integration.
12877 Added GstMessage for sending notifications on the bus.
12878 Added GstTask as an abstraction for pipeline entry points.
12880 Removed Schedulers.
12881 Simplified GstQueue for multithreaded core.
12882 Made _link threadsafe, removed old capsnego.
12883 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12884 Added pad blocking functions.
12885 Reworked scheduling functions in GstPad to prepare for
12886 scheduling updates soon.
12887 Moved events out of data stream.
12888 Simplified GstEvent types.
12889 Added return values to push/pull.
12890 Removed clocking from GstElement.
12891 Added prototypes for state change function for next merge.
12892 Removed iterate from bins and state change management.
12893 Fixed some elements, disabled others for now.
12894 Fixed -inspect and -launch.
12895 Added check for GstBus.
12897 2005-03-10 Wim Taymans <wim@fluendo.com>
12899 * docs/design/part-MT-refcounting.txt:
12900 * docs/design/part-clocks.txt:
12901 * docs/design/part-gstelement.txt:
12902 * docs/design/part-gstobject.txt:
12903 * docs/design/part-standards.txt:
12904 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12905 (gst_bin_remove_func), (gst_bin_remove):
12909 * testsuite/clock/clock1.c: (main):
12910 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12912 * testsuite/dlopen/loadgst.c: (do_test):
12913 * testsuite/refcounting/bin.c: (add_remove_test1),
12914 (add_remove_test2), (main):
12915 * testsuite/refcounting/element.c: (main):
12916 * testsuite/refcounting/element_pad.c: (main):
12917 * testsuite/refcounting/pad.c: (main):
12918 * tools/gst-launch.c: (sigint_handler_sighandler):
12919 * tools/gst-typefind.c: (main):
12921 Added doc about clock.
12922 removed gst_bin_iterate_recurse_up(), marked methods
12924 Fix more testsuites.
12926 2005-03-09 Wim Taymans <wim@fluendo.com>
12928 * gst/gstpad.c: (gst_pad_get_direction),
12929 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12930 (gst_pad_collect_valist):
12931 * testsuite/bins/interface.c: (main):
12932 * testsuite/caps/audioscale.c: (test_caps):
12933 * testsuite/caps/caps.c: (test1), (test2), (test3):
12934 * testsuite/caps/deserialize.c: (main):
12935 * testsuite/caps/enumcaps.c: (main):
12936 * testsuite/caps/filtercaps.c: (main):
12937 * testsuite/caps/intersect2.c: (main):
12938 * testsuite/caps/random.c: (main):
12939 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12940 * testsuite/caps/sets.c: (check_caps):
12941 * testsuite/caps/simplify.c: (check_caps), (main):
12942 * testsuite/caps/subtract.c: (check_caps):
12943 Fix _pad_get_direction wrt ghostpads.
12944 Fix caps testsuite.
12946 2005-03-09 Wim Taymans <wim@fluendo.com>
12948 * check/Makefile.am:
12949 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12950 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12951 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12952 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12953 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12954 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12955 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12956 (bin_element_is_sink), (gst_bin_iterate_sinks),
12957 (gst_bin_iterate_all_by_interface):
12959 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12960 (gst_element_change_state), (gst_element_dispose),
12961 (gst_element_finalize), (gst_element_set_loop_function):
12962 * gst/gstelement.h:
12963 * gst/gstiterator.c: (find_custom_fold_func):
12964 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12965 (gst_pad_collectv), (gst_pad_collect_valist),
12966 (gst_pad_template_new):
12967 * gst/gstpipeline.c: (gst_pipeline_class_init),
12968 (gst_pipeline_dispose), (gst_pipeline_set_property),
12969 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12970 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12971 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12973 * gst/schedulers/entryscheduler.c:
12974 * gst/schedulers/gstbasicscheduler.c:
12975 (gst_basic_scheduler_cothreaded_chain),
12976 (gst_basic_scheduler_chain_add_element):
12977 * testsuite/bins/interface.c: (main):
12979 Added GstSystemClock test.
12980 Implemented clock distribution code in GstBin.
12981 Implemented iterate sinks method for future use.
12982 Rearranged gstelement.h
12983 Fix GstIterator comparison bug.
12984 Moved some code to GstPipeline, mostly clocking related.
12986 2005-03-09 Wim Taymans <wim@fluendo.com>
12989 * gst/gst_private.h:
12990 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12991 (gst_bin_remove_func), (gst_bin_remove),
12992 (gst_bin_get_by_name_recurse_up):
12993 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12994 (gst_clock_id_compare_func), (gst_clock_id_wait),
12995 (gst_clock_id_wait_async), (gst_clock_init),
12996 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12997 * gst/gstelement.h:
12998 * gst/gstinfo.c: (_gst_debug_init):
13000 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13001 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13003 Bump version number, we're now 0.9.0
13004 Add future debugging category.
13005 Fix NULL _unref() in _get_by_name_recurse_up
13006 Rearrange gstpad.h.
13009 2005-03-08 Wim Taymans <wim@fluendo.com>
13011 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13012 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13013 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13014 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13015 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13016 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13017 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13018 * gst/elements/gstidentity.c: (gst_identity_class_init):
13019 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13020 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13021 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13022 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13023 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13025 * gst/gstelement.c: (gst_element_class_init),
13026 (gst_element_base_class_init), (gst_element_init),
13027 (gst_element_get_random_pad), (gst_element_wait_state_change),
13028 (gst_element_change_state), (gst_element_dispose),
13029 (gst_element_finalize), (gst_element_set_loop_function):
13030 * gst/gstelement.h:
13031 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13032 * gst/gstthread.c: (gst_thread_class_init),
13033 (gst_thread_release_children_locks), (gst_thread_change_state):
13034 * gst/schedulers/gstbasicscheduler.c:
13035 (gst_basic_scheduler_loopfunc_wrapper),
13036 (gst_basic_scheduler_chain_wrapper),
13037 (gst_basic_scheduler_src_wrapper),
13038 (gst_basic_scheduler_remove_element):
13039 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13040 Remove threadsafe properties. Fix elements because GObject
13041 complains when installing a property before declaring a
13042 set/get_property handler.
13043 Rearrange gstelement.h file, use STATE macros for state locks.
13044 Free mutexes in the finalize method instead of dispose.
13046 2005-03-08 Wim Taymans <wim@fluendo.com>
13048 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13049 * gst/gstthread.c: (gst_thread_release_children_locks):
13050 Added parentage check.
13051 Fix build og GstThread again.
13053 2005-03-08 Wim Taymans <wim@fluendo.com>
13055 * docs/design/part-MT-refcounting.txt:
13056 * docs/design/part-conventions.txt:
13057 * docs/design/part-gstobject.txt:
13058 * docs/design/part-relations.txt:
13059 * docs/design/part-standards.txt:
13060 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13061 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13062 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13063 (gst_bin_iterate_all_by_interface):
13066 * gst/gstelement.c: (gst_element_class_init),
13067 (gst_element_change_state), (gst_element_set_loop_function):
13068 * gst/gstelement.h:
13069 * gst/gstiterator.c:
13070 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13071 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13072 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13073 (gst_object_set_parent), (gst_object_unparent),
13074 (gst_object_check_uniqueness):
13076 Docs updates, clean up some headers.
13078 2005-03-07 Wim Taymans <wim@fluendo.com>
13080 * check/.cvsignore:
13081 * check/Makefile.am:
13082 * check/gst-libs/.cvsignore:
13083 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13084 * check/gst/.cvsignore:
13085 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13086 (START_TEST), (gstbus_suite), (main):
13087 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13088 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13089 (gst_data_suite), (main):
13090 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13091 (add_fold_func), (gstiterator_suite), (main):
13092 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13093 (thread_name_object), (thread_name_object_default),
13094 (gst_object_name_compare), (gst_object_suite), (main):
13095 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13096 (gst_pad_suite), (main):
13097 * check/gstcheck.c: (gst_check_log_message_func),
13098 (gst_check_log_critical_func), (gst_check_init):
13099 * check/gstcheck.h:
13100 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13101 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13104 2005-03-07 Wim Taymans <wim@fluendo.com>
13106 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13107 (gst_list_iterator_next), (gst_list_iterator_resync),
13108 (gst_list_iterator_free), (gst_iterator_new_list),
13109 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13110 (gst_iterator_free), (gst_iterator_push), (filter_next),
13111 (filter_resync), (filter_uninit), (filter_free),
13112 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13113 (gst_iterator_foreach), (find_custom_fold_func),
13114 (gst_iterator_find_custom):
13115 * gst/gstiterator.h:
13116 Added missing files.
13118 2005-03-07 Wim Taymans <wim@fluendo.com>
13122 * docs/design/part-MT-refcounting.txt:
13123 * docs/design/part-conventions.txt:
13124 * docs/design/part-gstobject.txt:
13125 * docs/design/part-relations.txt:
13126 * examples/mixer/mixer.c: (main):
13127 * examples/thread/thread.c: (eos), (main):
13129 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13130 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13131 (gst_spider_plug_from_srcpad):
13132 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13133 (gst_spider_identity_change_state),
13134 (gst_spider_identity_sink_loop_type_finding):
13135 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13136 * gst/elements/gstidentity.c: (gst_identity_init):
13137 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13138 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13139 * gst/elements/gsttypefindelement.c: (free_entry):
13142 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13143 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13144 (gst_bin_set_index), (gst_bin_set_element_sched),
13145 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13146 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13147 (gst_bin_iterate_elements), (iterate_child_recurse),
13148 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13149 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13150 (compare_interface), (gst_bin_get_by_interface),
13151 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13153 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13154 (gst_buffer_default_free), (gst_buffer_default_copy),
13155 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13156 (gst_buffer_create_sub):
13158 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13159 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13160 (gst_caps_unref), (gst_static_caps_get),
13161 (gst_caps_remove_and_get_structure), (gst_caps_append),
13162 (gst_caps_append_structure), (gst_caps_remove_structure),
13163 (gst_caps_copy_nth), (gst_caps_set_simple),
13164 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13165 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13166 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13167 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13168 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13169 (gst_caps_structure_figure_out_union),
13170 (gst_caps_switch_structures), (gst_caps_do_simplify),
13171 (gst_caps_replace), (gst_caps_from_string),
13172 (gst_caps_copy_conditional):
13174 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13175 (_gst_clock_id_free), (gst_clock_id_unref),
13176 (gst_clock_id_compare_func), (gst_clock_id_wait),
13177 (gst_clock_id_wait_async), (gst_clock_class_init),
13178 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13179 (gst_clock_get_time), (gst_clock_set_time_adjust),
13180 (gst_clock_set_property), (gst_clock_get_property):
13183 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13184 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13186 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13187 (gst_element_requires_clock), (gst_element_provides_clock),
13188 (gst_element_set_clock), (gst_element_clock_wait),
13189 (gst_element_wait), (gst_element_set_time_delay),
13190 (gst_element_is_indexable), (gst_element_add_pad),
13191 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13192 (pad_compare_name), (gst_element_get_static_pad),
13193 (gst_element_request_pad), (gst_element_get_request_pad),
13194 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13195 (gst_element_class_get_pad_template_list),
13196 (gst_element_class_get_pad_template), (gst_element_error_func),
13197 (gst_element_get_random_pad), (gst_element_get_event_masks),
13198 (gst_element_send_event), (gst_element_seek),
13199 (gst_element_get_query_types), (gst_element_query),
13200 (gst_element_get_formats), (gst_element_convert),
13201 (gst_element_is_locked_state), (gst_element_set_locked_state),
13202 (gst_element_sync_state_with_parent), (gst_element_change_state),
13203 (gst_element_finalize), (gst_element_yield),
13204 (gst_element_interrupt), (gst_element_set_scheduler),
13205 (gst_element_get_scheduler), (gst_element_set_loop_function):
13206 * gst/gstelement.h:
13208 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13209 (gst_format_get_by_nick), (gst_format_get_details),
13210 (gst_format_iterate_definitions):
13212 * gst/gstindex.c: (gst_index_gtype_resolver):
13215 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13216 (gst_mem_chunk_free):
13217 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13218 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13219 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13220 (gst_object_dispatch_properties_changed),
13221 (gst_object_set_name_default), (gst_object_set_name),
13222 (gst_object_get_name), (gst_object_set_name_prefix),
13223 (gst_object_get_name_prefix), (gst_object_set_parent),
13224 (gst_object_get_parent), (gst_object_unparent),
13225 (gst_object_check_uniqueness), (gst_object_save_thyself),
13226 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13227 (gst_object_set_property), (gst_object_get_property),
13228 (gst_object_get_path_string):
13230 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13231 (gst_real_pad_init), (gst_real_pad_get_property),
13232 (gst_pad_custom_new), (gst_pad_get_direction),
13233 (gst_pad_set_active), (gst_pad_is_active),
13234 (gst_pad_set_event_function), (gst_pad_is_linked),
13235 (gst_pad_link_free), (gst_pad_link_intersect),
13236 (gst_pad_link_fixate), (gst_pad_set_caps),
13237 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13238 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13239 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13240 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13241 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13242 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13243 (gst_pad_realize), (gst_pad_get_allowed_caps),
13244 (gst_real_pad_dispose), (gst_real_pad_finalize),
13245 (gst_pad_collectv), (gst_pad_collect_valist),
13246 (gst_pad_template_dispose), (gst_pad_template_new),
13247 (gst_pad_get_internal_links):
13249 * gst/gstpipeline.c: (gst_pipeline_dispose),
13250 (gst_pipeline_change_state):
13251 * gst/gstpipeline.h:
13253 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13254 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13255 * gst/gstpluginfeature.h:
13256 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13257 * gst/gstquery.c: (_gst_query_type_initialize),
13258 (gst_query_type_register), (gst_query_type_get_by_nick),
13259 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13261 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13262 * gst/gstscheduler.c: (gst_scheduler_add_element),
13263 (gst_scheduler_factory_create):
13264 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13265 (gst_structure_free), (gst_structure_set_name),
13266 (gst_structure_id_set_value), (gst_structure_set_value),
13267 (gst_structure_set_valist), (gst_structure_remove_field),
13268 (gst_structure_remove_fields),
13269 (gst_structure_remove_fields_valist),
13270 (gst_structure_remove_all_fields), (gst_structure_foreach),
13271 (gst_structure_map_in_place),
13272 (gst_caps_structure_fixate_field_nearest_int),
13273 (gst_caps_structure_fixate_field_nearest_double):
13274 * gst/gststructure.h:
13275 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13276 (gst_system_clock_init), (gst_system_clock_dispose),
13277 (gst_system_clock_async_thread),
13278 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13279 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13280 * gst/gstsystemclock.h:
13281 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13282 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13283 * gst/gsttaginterface.c:
13284 * gst/gstthread.c: (gst_thread_dispose),
13285 (gst_thread_release_children_locks), (gst_thread_change_state),
13286 (gst_thread_main_loop):
13287 * gst/gsttrashstack.h:
13288 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13290 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13291 (gst_element_request_pad), (gst_element_get_pad_from_template),
13292 (gst_element_request_compatible_pad),
13293 (gst_element_get_compatible_pad_filtered),
13294 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13295 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13296 (gst_element_link_many), (gst_element_link),
13297 (gst_element_link_pads), (gst_element_unlink_pads),
13298 (gst_element_unlink_many), (gst_element_unlink),
13299 (gst_pad_can_link_filtered), (gst_pad_can_link),
13300 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13301 (gst_object_default_error), (gst_bin_add_many),
13302 (gst_bin_remove_many), (gst_element_populate_std_props),
13303 (gst_element_class_install_std_props), (gst_buffer_merge),
13304 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13305 (link_fold_func), (gst_pad_proxy_setcaps):
13307 * gst/gstvalue.c: (gst_value_deserialize_string):
13308 * gst/parse/grammar.y:
13309 * gst/schedulers/gstbasicscheduler.c:
13310 (gst_basic_scheduler_cothreaded_chain),
13311 (gst_basic_scheduler_chain_recursive_add),
13312 (gst_basic_scheduler_pad_link):
13313 * gst/schedulers/gstoptimalscheduler.c:
13314 (get_group_schedule_function),
13315 (gst_opt_scheduler_state_transition),
13316 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13317 * libs/gst/bytestream/bytestream.c:
13318 * libs/gst/dataprotocol/dataprotocol.c:
13319 (gst_dp_header_from_buffer):
13322 * tests/threadstate/threadstate2.c: (eos):
13323 * tools/gst-compprep.c: (main):
13324 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13325 (print_pad_info), (print_children_info):
13326 * tools/gst-launch.c: (idle_func), (main):
13327 * tools/gst-md5sum.c: (idle_func), (main):
13328 * tools/gst-xmlinspect.c: (print_element_info):
13329 First THREADED backport attempt, focusing on adding locks and
13330 making sure the API is threadsafe. Needs more work. More docs
13333 2005-02-24 Andy Wingo <wingo@pobox.com>
13335 * tests/bench-complexity.scm:
13336 * tests/complexity.gnuplot: New files, good for running complexity
13339 * tests/Makefile.am:
13340 * tests/complexity.c: New test, sets up N elements, at each level
13341 teeing into M streams per element. Eeeenteresting.
13343 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13344 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13345 running bench-mass_elements.scm.
13347 * tests/bench-mass_elements.scm: New script, runs mass_elements
13348 for various numbers of identities, outputting the results to a
13349 file. Requires guile 1.6. Just for testing.
13351 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13353 * gst/schedulers/fairscheduler.c:
13354 compile with debug disabled
13356 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13359 hunting season on 0.9 is now OPEN