1 2005-12-07 Wim Taymans <wim@fluendo.com>
3 * tests/check/Makefile.am:
4 And add the struct_i386.h to dist.
6 2005-12-07 Wim Taymans <wim@fluendo.com>
8 * tests/check/Makefile.am:
9 * tests/check/gst/.cvsignore:
10 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12 * tests/check/gst/struct_i386.h:
13 Added check for ABI compatibility.
15 2005-12-07 Wim Taymans <wim@fluendo.com>
17 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18 (gst_fake_src_get_times), (gst_fake_src_create):
19 Fix broken sync option, fixes #323259
21 2005-12-07 Wim Taymans <wim@fluendo.com>
26 * gst/gstcaps.c: (gst_caps_is_equal):
27 Don't assert on NULL <--> X. Fixes #323260
29 * gst/gstminiobject.c: (gst_mini_object_replace):
30 If we're doing atomic operations, we might just as well use
31 the proper way to get an atomic pointer.
33 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
36 2005-12-07 Michael Smith <msmith@fluendo.com>
38 * gst/parse/grammar.y:
39 Remove handling of { } for threads.
41 2005-12-06 David Schleef <ds@schleef.org>
43 * libs/gst/base/gstbasetransform.c: speling fix.
45 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
47 * docs/libs/tmpl/gstdataprotocol.sgml:
48 * docs/random/omega/testing/gstobject.c:
52 * gst/gstelementfactory.c:
57 * gst/gstpadtemplate.c:
58 * gst/gstregistryxml.c:
63 * libs/gst/base/gstbasesrc.c:
64 * libs/gst/net/gstnetclientclock.c:
65 * libs/gst/net/gstnettimeprovider.c:
66 * plugins/elements/gstfakesrc.c:
67 * plugins/elements/gstfdsrc.c:
68 * plugins/elements/gstfilesrc.c:
69 * plugins/elements/gstidentity.c:
70 * plugins/elements/gstqueue.c:
71 * plugins/elements/gsttypefindelement.c:
72 * plugins/indexers/gstfileindex.c:
73 * plugins/indexers/gstmemindex.c:
74 * tests/check/gst/gsttag.c:
75 * tests/old/examples/cutter/cutter.c:
76 * tests/old/examples/mixer/mixer.c:
77 * tests/old/examples/xml/runxml.c: (main):
78 * tests/old/testsuite/caps/normalisation.c:
79 * tests/old/testsuite/debug/global.c:
80 * tests/old/testsuite/parse/parse1.c:
81 * tools/gst-xmlinspect.c:
82 * win32/common/dirent.c:
85 === release 0.10.0 ===
87 2005-12-05 <thomas (at) apestaart (dot) org>
90 releasing 0.10.0, "Maroilles"
92 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
94 submitted by: Funda Wang <fundawang@linux.net.cn>
98 added Chinese (Traditional) translation
100 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
102 * docs/gst/gstreamer-sections.txt:
103 * docs/libs/tmpl/gstdataprotocol.sgml:
104 * docs/random/thomasvs/TODO:
109 2005-12-05 Andy Wingo <wingo@pobox.com>
111 patch by: Wim Taymans <wim@fluendo.com>
113 * libs/gst/base/gstbasetransform.c
114 (gst_base_transform_prepare_output_buf)
115 (gst_base_transform_buffer_alloc):
116 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
117 alloc_buffer_and_set_caps.
119 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
120 set_caps on the source pad.
121 (gst_pad_alloc_buffer_and_set_caps): New function, does what
122 alloc_buffer used to do. Fixes #322874.
124 * docs/gst/gstreamer-sections.txt:
125 * docs/design/part-negotiation.txt:
126 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
129 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
131 patch by: Sebastien Moutte
134 * win32/common/config.h.in:
135 * win32/vs6/libgstcontroller.dsp:
138 2005-12-05 Wim Taymans <wim@fluendo.com>
140 * gst/gstcaps.c: (gst_caps_is_equal):
141 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
142 (gst_fake_src_create):
143 Back out previous code changes, leave doc updates, file bugs
146 2005-12-05 Wim Taymans <wim@fluendo.com>
148 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
149 (gst_fake_src_get_times), (gst_fake_src_create):
150 * plugins/elements/gstfakesrc.h:
151 Fix broken sync code.
153 2005-12-05 Wim Taymans <wim@fluendo.com>
155 * gst/gstcaps.c: (gst_caps_is_equal):
156 Comparing NULL against !NULL yields different caps, not a
159 2005-12-05 Wim Taymans <wim@fluendo.com>
162 Fix small typo in docs.
164 2005-12-05 Andy Wingo <wingo@pobox.com>
166 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
168 * gst/gst.c (init_post): remove hard-coded 0.9 location for
169 registries/plugins with a MAJORMINOR one.
170 (plugin_desc): Rename library from gstcoreleements to
171 staticelements. Fixes #323222.
173 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
175 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
176 Change debug category to 'collectpads' from 'collect_pads'
179 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
181 patch by: Sebastien Moutte
183 * libs/gst/controller/gstinterpolation.c:
184 use convert function for uint64/double
185 * win32/vs6/libgstcontroller.dsp:
188 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
190 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
191 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
193 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
194 add tests that seem to show that the guint64/gdouble conversions
197 2005-12-02 Wim Taymans <wim@fluendo.com>
199 * gst/gstregistry.c: (gst_registry_add_path):
201 * gst/gstregistryxml.c:
204 2005-12-02 Wim Taymans <wim@fluendo.com>
206 * gst/gstutils.c: (gst_util_uint64_scale_int64),
207 (gst_util_uint64_scale_int):
210 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
213 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
216 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
219 * win32/common/config.h:
220 * win32/vs6/gstreamer.dsw:
221 * win32/vs6/libgstcoreelements.dsp:
222 * win32/vs6/libgstelements.dsp:
223 renamed core elements plugin
225 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
227 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
229 do piece-wise major/minor comparison so 0.9 < 0.10
230 also allow .exe extensions for tools
232 2005-12-02 Michael Smith <msmith@fluendo.com>
235 Escape a % to make gtkdoc happier; bug 322958.
237 === release 0.9.7 ===
239 2005-12-01 <thomas (at) apestaart (dot) org>
242 releasing 0.9.7, "My Dog Has No Nose"
244 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
246 * common/gst-xmlinspect.py:
248 * docs/libs/tmpl/gstdataprotocol.sgml:
249 * docs/random/release:
268 * win32/common/config.h:
269 * win32/common/config.h.in:
270 * win32/vs6/gst_inspect.dsp:
271 * win32/vs6/gst_launch.dsp:
272 * win32/vs6/libgstbase.dsp:
273 * win32/vs6/libgstelements.dsp:
274 * win32/vs6/libgstreamer.dsp:
275 * win32/vs7/GStreamer.vcproj:
276 * win32/vs7/gst-inspect.vcproj:
277 * win32/vs7/gst-launch.vcproj:
278 * win32/vs7/libgstbase.vcproj:
279 bump GST_MAJORMINOR to 0.10
280 reset libtool version
282 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
286 Added Bulgarian translation by (Alexander Shopov)
288 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
290 * tests/check/gst/gstplugin.c:
293 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
295 * common/gst-xmlinspect.py:
296 * common/gtk-doc-plugins.mak:
299 * docs/gst/Makefile.am:
300 * docs/gst/gstreamer-docs.sgml:
301 * docs/gst/gstreamer-sections.txt:
302 * docs/gst/gstreamer.types:
303 * docs/gst/gstreamer.types.in:
304 * docs/plugins/Makefile.am:
305 * docs/plugins/gstreamer-plugins-docs.sgml:
306 * docs/plugins/gstreamer-plugins-sections.txt:
307 * docs/plugins/gstreamer-plugins.types:
308 * docs/plugins/inspect.stamp:
309 * docs/plugins/inspect/plugin-coreelements.xml:
310 * docs/plugins/inspect/plugin-coreindexers.xml:
311 * docs/plugins/scanobj-build.stamp:
313 * plugins/elements/Makefile.am:
314 * plugins/elements/gstelements.c:
315 * plugins/elements/gstfakesink.c:
316 * plugins/elements/gstfakesrc.c:
317 * plugins/elements/gstfilesink.c:
318 * plugins/elements/gstfilesrc.c:
319 * plugins/elements/gstqueue.c:
320 * plugins/indexers/Makefile.am:
321 * plugins/indexers/gstindexers.c:
322 document core plugins in a separate document just like all the
324 rename these plugins to something starting with core
326 2005-12-01 Andy Wingo <wingo@pobox.com>
328 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
329 padding here before, but it missed the commit.
331 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
333 * libs/gst/controller/gstinterpolation.c:
334 whitespace prices have crashed, we should feel free to use some now
335 use gst_guint64_to_gdouble
337 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
339 * libs/gst/controller/gstcontroller.c:
340 * libs/gst/controller/gsthelper.c:
341 * libs/gst/controller/gstinterpolation.c:
342 * libs/gst/controller/lib.c:
343 wrap config.h include
345 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
347 * docs/gst/gstreamer-sections.txt:
350 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
352 * plugins/elements/gstelements.c:
353 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
354 (gst_fd_sink__class_init), (gst_fd_sink__init),
355 (gst_fd_sink__chain), (gst_fd_sink__set_property),
356 (gst_fd_sink__get_property):
357 * plugins/elements/gstfdsink.h:
358 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
359 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
360 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
361 (gst_fd_src_unlock), (gst_fd_src_set_property),
362 (gst_fd_src_get_property), (gst_fd_src_create),
363 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
364 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
365 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
366 (gst_fd_src_uri_handler_init):
367 * plugins/elements/gstfdsrc.h:
368 * plugins/elements/gstqueue.c: (gst_queue_get_type):
371 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
373 * docs/gst/Makefile.am:
374 * docs/gst/gstreamer.types.in:
378 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
385 * tests/benchmarks/complexity.c:
386 * tests/benchmarks/mass-elements.c:
387 * tests/check/Makefile.am:
389 * tools/gst-inspect.c:
390 * tools/gst-xmlinspect.c:
391 various fixes to make
392 --disable-nls --disable-registry --disable-loadsave
393 --disable-parse --disable-gst-debug
394 work and get the core .so down to 360444 bytes after stripping
396 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
401 * docs/random/thomasvs/TODO:
406 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
408 * win32/GStreamer.vcproj:
411 * win32/Makefile.inspect:
412 * win32/Makefile.launch:
413 * win32/Makefile.register:
415 * win32/gst-inspect.vcproj:
416 * win32/gst-launch.vcproj:
417 * win32/gst-register.vcproj:
418 * win32/gstelements.vcproj:
419 * win32/gstgetbits.def:
420 * win32/gstgetbits.vcproj:
421 * win32/gstreamer-dbg.def:
422 * win32/gstreamer.def:
423 * win32/libgstbase.def:
424 * win32/libgstbase.vcproj:
425 * win32/link_oldruntime.c:
430 move even more stuff, win32/ is nice and clean now
432 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
434 * libs/gst/control/.cvsignore:
439 * win32/gstbytestream.def:
440 * win32/gstbytestream.vcproj:
442 * win32/gstenumtypes.c:
443 * win32/gstenumtypes.h:
444 * win32/gstoptimalscheduler.vcproj:
445 * win32/gstversion.h:
447 * win32/testsuite/bins.vcproj:
448 * win32/testsuite/bytestream.vcproj:
449 * win32/testsuite/caps.vcproj:
450 * win32/testsuite/cleanup.vcproj:
451 * win32/testsuite/clock.vcproj:
452 * win32/testsuite/debug.vcproj:
453 * win32/testsuite/dlopen.vcproj:
454 * win32/testsuite/dynparams.vcproj:
455 * win32/testsuite/elements.vcproj:
456 * win32/testsuite/ghostpads.vcproj:
457 * win32/testsuite/indexers.vcproj:
458 * win32/testsuite/negotiation.vcproj:
459 * win32/testsuite/parse.vcproj:
460 * win32/testsuite/plugin.vcproj:
461 * win32/testsuite/refcounting.vcproj:
462 * win32/testsuite/schedulers.vcproj:
463 * win32/testsuite/states.vcproj:
464 * win32/testsuite/tags.vcproj:
465 * win32/testsuite/threads.vcproj:
466 remove old win32 stuff that isn't maintained and should be
469 2005-11-30 Andy Wingo <wingo@pobox.com>
471 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
472 loading the gst.interfaces python module bork.
474 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
475 available since GLib 2.2. Fixes #318031.
477 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
482 * check/elements/.cvsignore:
483 * check/elements/fakesrc.c:
484 * check/elements/fdsrc.c:
485 * check/elements/identity.c:
486 * check/generic/.cvsignore:
487 * check/generic/states.c:
488 * check/gst-libs/.cvsignore:
489 * check/gst-libs/controller.c:
490 * check/gst-libs/gdp.c:
491 * check/gst/.cvsignore:
492 * check/gst/capslist.h:
494 * check/gst/gstbin.c:
495 * check/gst/gstbuffer.c:
496 * check/gst/gstbus.c:
497 * check/gst/gstcaps.c:
498 * check/gst/gstelement.c:
499 * check/gst/gstevent.c:
500 * check/gst/gstghostpad.c:
501 * check/gst/gstiterator.c:
502 * check/gst/gstmessage.c:
503 * check/gst/gstminiobject.c:
504 * check/gst/gstobject.c:
505 * check/gst/gstpad.c:
506 * check/gst/gstpipeline.c:
507 * check/gst/gstplugin.c:
508 * check/gst/gstsegment.c:
509 * check/gst/gststructure.c:
510 * check/gst/gstsystemclock.c:
511 * check/gst/gsttag.c:
512 * check/gst/gstutils.c:
513 * check/gst/gstvalue.c:
514 * check/net/.cvsignore:
515 * check/net/gstnetclientclock.c:
516 * check/net/gstnettimeprovider.c:
517 * check/pipelines/.cvsignore:
518 * check/pipelines/cleanup.c:
519 * check/pipelines/simple_launch_lines.c:
520 * check/pipelines/stress.c:
521 * check/states/.cvsignore:
522 * check/states/sinks.c:
524 * examples/Makefile.am:
525 * examples/appreader/.cvsignore:
526 * examples/appreader/Makefile.am:
527 * examples/appreader/appreader.c:
528 * examples/controller/.cvsignore:
529 * examples/controller/Makefile.am:
530 * examples/controller/audio-example.c:
531 * examples/cutter/.cvsignore:
532 * examples/cutter/Makefile.am:
533 * examples/cutter/cutter.c:
534 * examples/cutter/cutter.h:
535 * examples/events/Makefile.am:
536 * examples/events/seek.c:
537 * examples/helloworld/.cvsignore:
538 * examples/helloworld/Makefile.am:
539 * examples/helloworld/helloworld.c:
540 * examples/helloworld2/.cvsignore:
541 * examples/helloworld2/Makefile.am:
542 * examples/helloworld2/helloworld2.c:
543 * examples/launch/.cvsignore:
544 * examples/launch/Makefile.am:
545 * examples/launch/mp3parselaunch.c:
546 * examples/launch/mp3play:
547 * examples/manual/.cvsignore:
548 * examples/manual/Makefile.am:
549 * examples/manual/extract.pl:
550 * examples/metadata/Makefile.am:
551 * examples/metadata/read-metadata.c:
552 * examples/mixer/.cvsignore:
553 * examples/mixer/Makefile.am:
554 * examples/mixer/mixer.c:
555 * examples/mixer/mixer.h:
556 * examples/pingpong/.cvsignore:
557 * examples/pingpong/Makefile.am:
558 * examples/pingpong/pingpong.c:
559 * examples/plugins/.cvsignore:
560 * examples/plugins/Makefile.am:
561 * examples/plugins/example.c:
562 * examples/plugins/example.h:
563 * examples/pwg/.cvsignore:
564 * examples/pwg/Makefile.am:
565 * examples/pwg/extract.pl:
566 * examples/queue/.cvsignore:
567 * examples/queue/Makefile.am:
568 * examples/queue/queue.c:
569 * examples/queue2/.cvsignore:
570 * examples/queue2/Makefile.am:
571 * examples/queue2/queue2.c:
572 * examples/queue3/.cvsignore:
573 * examples/queue3/Makefile.am:
574 * examples/queue3/queue3.c:
575 * examples/queue4/.cvsignore:
576 * examples/queue4/Makefile.am:
577 * examples/queue4/queue4.c:
578 * examples/retag/.cvsignore:
579 * examples/retag/Makefile.am:
580 * examples/retag/retag.c:
581 * examples/retag/transcode.c:
582 * examples/thread/.cvsignore:
583 * examples/thread/Makefile.am:
584 * examples/thread/thread.c:
585 * examples/typefind/.cvsignore:
586 * examples/typefind/Makefile.am:
587 * examples/typefind/typefind.c:
588 * examples/xml/.cvsignore:
589 * examples/xml/Makefile.am:
590 * examples/xml/createxml.c:
591 * examples/xml/runxml.c:
593 * tests/check/Makefile.am:
594 * testsuite/.cvsignore:
595 * testsuite/Makefile.am:
597 * testsuite/caps/.cvsignore:
598 * testsuite/caps/Makefile.am:
599 * testsuite/caps/app_fixate.c:
600 * testsuite/caps/audioscale.c:
601 * testsuite/caps/caps.c:
602 * testsuite/caps/caps.h:
603 * testsuite/caps/caps_strings:
604 * testsuite/caps/compatibility.c:
605 * testsuite/caps/deserialize.c:
606 * testsuite/caps/enumcaps.c:
607 * testsuite/caps/eratosthenes.c:
608 * testsuite/caps/filtercaps.c:
609 * testsuite/caps/fixed.c:
610 * testsuite/caps/fraction-convert.c:
611 * testsuite/caps/fraction-multiply-and-zero.c:
612 * testsuite/caps/intersect2.c:
613 * testsuite/caps/intersection.c:
614 * testsuite/caps/normalisation.c:
615 * testsuite/caps/random.c:
616 * testsuite/caps/renegotiate.c:
617 * testsuite/caps/sets.c:
618 * testsuite/caps/simplify.c:
619 * testsuite/caps/string-conversions.c:
620 * testsuite/caps/structure.c:
621 * testsuite/caps/subtract.c:
622 * testsuite/caps/union.c:
623 * testsuite/debug/.cvsignore:
624 * testsuite/debug/Makefile.am:
625 * testsuite/debug/category.c:
626 * testsuite/debug/commandline.c:
627 * testsuite/debug/global.c:
628 * testsuite/debug/output.c:
629 * testsuite/debug/printf_extension.c:
630 * testsuite/dlopen/.cvsignore:
631 * testsuite/dlopen/Makefile.am:
632 * testsuite/dlopen/dlopen_gst.c:
633 * testsuite/dlopen/loadgst.c:
634 * testsuite/elements/.cvsignore:
635 * testsuite/elements/Makefile.am:
636 * testsuite/elements/gst-inspect-check.in:
637 * testsuite/elements/struct_i386.h:
638 * testsuite/elements/struct_size.c:
639 * testsuite/indexers/.cvsignore:
640 * testsuite/indexers/Makefile.am:
641 * testsuite/indexers/cache1.c:
642 * testsuite/indexers/indexdump.c:
643 * testsuite/parse/.cvsignore:
644 * testsuite/parse/Makefile.am:
645 * testsuite/parse/parse1.c:
646 * testsuite/parse/parse2.c:
647 * testsuite/plugin/.cvsignore:
648 * testsuite/plugin/Makefile.am:
649 * testsuite/plugin/README:
650 * testsuite/plugin/dynamic.c:
651 * testsuite/plugin/linked.c:
652 * testsuite/plugin/loading.c:
653 * testsuite/plugin/registry.c:
654 * testsuite/plugin/static.c:
655 * testsuite/plugin/static2.c:
656 * testsuite/plugin/testplugin.c:
657 * testsuite/plugin/testplugin2.c:
658 * testsuite/plugin/testplugin2_s.c:
659 * testsuite/plugin/testplugin_s.c:
660 * testsuite/refcounting/.cvsignore:
661 * testsuite/refcounting/Makefile.am:
662 * testsuite/refcounting/bin.c:
663 * testsuite/refcounting/element.c:
664 * testsuite/refcounting/element_pad.c:
665 * testsuite/refcounting/mainloop.c:
666 * testsuite/refcounting/mem.c:
667 * testsuite/refcounting/mem.h:
668 * testsuite/refcounting/object.c:
669 * testsuite/refcounting/pad.c:
670 * testsuite/refcounting/sched.c:
671 * testsuite/refcounting/thread.c:
672 * testsuite/states/.cvsignore:
673 * testsuite/states/Makefile.am:
674 * testsuite/states/bin.c:
675 * testsuite/states/locked.c:
676 * testsuite/states/parent.c:
677 * testsuite/threads/.cvsignore:
678 * testsuite/threads/159566.c:
679 * testsuite/threads/159852.c:
680 * testsuite/threads/Makefile.am:
681 * testsuite/threads/queue.c:
682 * testsuite/threads/signals.c:
683 * testsuite/threads/staticrec.c:
684 * testsuite/threads/thread.c:
685 * testsuite/threads/threadb.c:
686 * testsuite/threads/threadc.c:
687 * testsuite/threads/threadd.c:
688 * testsuite/threads/threade.c:
689 * testsuite/threads/threadf.c:
690 * testsuite/threads/threadg.c:
691 * testsuite/threads/threadh.c:
692 * testsuite/threads/threadi.c:
693 move all of these under tests
695 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
701 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
703 * docs/gst/gstreamer-sections.txt:
704 * tests/sched/.cvsignore:
705 * tests/sched/Makefile.am:
706 * tests/sched/cases/(fs-fs).xml:
707 * tests/sched/cases/(fs-i-fs).xml:
708 * tests/sched/cases/(fs-i-i-fs).xml:
709 * tests/sched/cases/(fs-i-q[i-fs]).xml:
710 * tests/sched/dynamic-pipeline.c:
711 * tests/sched/interrupt1.c:
712 * tests/sched/interrupt2.c:
713 * tests/sched/interrupt3.c:
714 * tests/sched/runtestcases:
715 * tests/sched/runxml.c:
716 * tests/sched/sched-stress.c:
717 * tests/sched/sort.c:
718 * tests/sched/testcases:
719 * tests/sched/testcases1.tc:
720 * tests/seeking/.cvsignore:
721 * tests/seeking/Makefile.am:
722 * tests/seeking/seeking1.c:
723 * tests/threadstate/.cvsignore:
724 * tests/threadstate/Makefile.am:
725 * tests/threadstate/test1.c:
726 * tests/threadstate/test2.c:
727 * tests/threadstate/threadstate1.c:
728 * tests/threadstate/threadstate2.c:
729 * tests/threadstate/threadstate3.c:
730 * tests/threadstate/threadstate4.c:
731 * tests/threadstate/threadstate5.c:
732 remove obsolete tests
734 * tests/bench-complexity.scm:
735 * tests/bench-mass_elements.scm:
736 * tests/complexity.c:
737 * tests/complexity.gnuplot:
738 * tests/instantiate/.cvsignore:
739 * tests/instantiate/Makefile.am:
740 * tests/instantiate/caps.c:
741 * tests/mass_elements.c:
742 * tests/network-clock-utils.scm:
743 * tests/network-clock.scm:
745 First pass at cleaning up tests/ dir before moving the rest
746 Combined with CVS surgery
748 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
751 queue has moved, update
753 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
755 * docs/gst/gstreamer-sections.txt:
756 remove double entries from the docs
758 * gst/gstinfo.c: (_gst_debug_init):
759 remove the THREAD debug category
763 * docs/gst/gstreamer.types:
764 * plugins/elements/gstqueue.c: (gst_queue_get_type),
765 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
766 completely move queue and fix up debugging categories
768 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
770 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
771 make initialization portable, using LL is not
773 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
775 * win32/common/gstconfig.h:
778 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
780 * win32/common/libgstreamer.def:
781 rename symbols; sort base section
783 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
785 * gst/gstclock.c: (do_linear_regression):
786 remove crack non-portable handrolled DEBUG macro
788 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
790 * docs/random/release:
792 * win32/common/gstenumtypes.c: (register_gst_object_flags),
793 (gst_object_flags_get_type), (register_gst_bin_flags),
794 (gst_bin_flags_get_type), (register_gst_buffer_flag),
795 (gst_buffer_flag_get_type), (register_gst_bus_flags),
796 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
797 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
798 (gst_caps_flags_get_type), (register_gst_clock_return),
799 (gst_clock_return_get_type), (register_gst_clock_entry_type),
800 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
801 (gst_clock_flags_get_type), (register_gst_state),
802 (gst_state_get_type), (register_gst_state_change_return),
803 (gst_state_change_return_get_type), (register_gst_state_change),
804 (gst_state_change_get_type), (register_gst_element_flags),
805 (gst_element_flags_get_type), (register_gst_core_error),
806 (gst_core_error_get_type), (register_gst_library_error),
807 (gst_library_error_get_type), (register_gst_resource_error),
808 (gst_resource_error_get_type), (register_gst_stream_error),
809 (gst_stream_error_get_type), (register_gst_event_type_flags),
810 (gst_event_type_flags_get_type), (register_gst_event_type),
811 (gst_event_type_get_type), (register_gst_seek_type),
812 (gst_seek_type_get_type), (register_gst_seek_flags),
813 (gst_seek_flags_get_type), (register_gst_format),
814 (gst_format_get_type), (register_gst_index_certainty),
815 (gst_index_certainty_get_type), (register_gst_index_entry_type),
816 (gst_index_entry_type_get_type),
817 (register_gst_index_lookup_method),
818 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
819 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
820 (gst_index_resolver_method_get_type), (register_gst_index_flags),
821 (gst_index_flags_get_type), (register_gst_debug_level),
822 (gst_debug_level_get_type), (register_gst_debug_color_flags),
823 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
824 (gst_iterator_result_get_type), (register_gst_iterator_item),
825 (gst_iterator_item_get_type), (register_gst_message_type),
826 (gst_message_type_get_type), (register_gst_mini_object_flags),
827 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
828 (gst_pad_link_return_get_type), (register_gst_flow_return),
829 (gst_flow_return_get_type), (register_gst_activate_mode),
830 (gst_activate_mode_get_type), (register_gst_pad_direction),
831 (gst_pad_direction_get_type), (register_gst_pad_flags),
832 (gst_pad_flags_get_type), (register_gst_pad_presence),
833 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
834 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
835 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
836 (gst_plugin_error_get_type), (register_gst_plugin_flags),
837 (gst_plugin_flags_get_type), (register_gst_rank),
838 (gst_rank_get_type), (register_gst_query_type),
839 (gst_query_type_get_type), (register_gst_tag_merge_mode),
840 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
841 (gst_tag_flag_get_type), (register_gst_task_state),
842 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
843 (gst_alloc_trace_flags_get_type),
844 (register_gst_type_find_probability),
845 (gst_type_find_probability_get_type), (register_gst_uri_type),
846 (gst_uri_type_get_type), (register_gst_parse_error),
847 (gst_parse_error_get_type):
848 * win32/common/gstenumtypes.h:
849 * win32/common/gstversion.h:
850 update visual studio generated files
852 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
854 * win32/vs6/libgstbase.dsp:
855 * win32/vs6/libgstelements.dsp:
856 update project files for new locations
858 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
868 * docs/random/LICENSE:
871 2005-11-30 Edward Hervey <edward@fluendo.com>
873 * gst/gsttypefind.c: (gst_type_find_register):
875 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
876 (gst_type_find_factory_dispose):
877 * gst/gsttypefindfactory.h:
878 Fix memory leak in GstTypeFindFactory.
880 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
883 * plugins/elements/Makefile.am:
884 * plugins/elements/gstelements.c:
885 * plugins/elements/gstqueue.c:
886 move queue from core to the elements plugin
888 2005-11-29 Andy Wingo <wingo@pobox.com>
890 * libs/gst/base/gstbasetransform.h:
891 * libs/gst/base/gstbasesrc.h:
892 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
894 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
895 of pointers by which to pad very extensible base classes (like the
896 ones in libs/gst/base).
898 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
900 * docs/gst/gstreamer-docs.sgml:
901 * docs/gst/gstreamer-sections.txt:
902 * docs/libs/gstreamer-libs-docs.sgml:
903 * docs/libs/gstreamer-libs-sections.txt:
904 moving documentation from core to lib
906 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
910 * docs/gst/Makefile.am:
912 * gst/base/.cvsignore:
913 * gst/base/Makefile.am:
915 * gst/base/gstadapter.c:
916 * gst/base/gstadapter.h:
917 * gst/base/gstbasesink.c:
918 * gst/base/gstbasesink.h:
919 * gst/base/gstbasesrc.c:
920 * gst/base/gstbasesrc.h:
921 * gst/base/gstbasetransform.c:
922 * gst/base/gstbasetransform.h:
923 * gst/base/gstcollectpads.c:
924 * gst/base/gstcollectpads.h:
925 * gst/base/gstpushsrc.c:
926 * gst/base/gstpushsrc.h:
927 * gst/base/gsttypefindhelper.c:
928 * gst/base/gsttypefindhelper.h:
929 * gst/check/Makefile.am:
930 * gst/check/gstcheck.c:
931 * gst/check/gstcheck.h:
932 * gst/net/Makefile.am:
934 * gst/net/gstnetclientclock.c:
935 * gst/net/gstnetclientclock.h:
936 * gst/net/gstnettimepacket.c:
937 * gst/net/gstnettimepacket.h:
938 * gst/net/gstnettimeprovider.c:
939 * gst/net/gstnettimeprovider.h:
940 * libs/gst/Makefile.am:
941 * libs/gst/base/Makefile.am:
942 * libs/gst/base/gstbasetransform.c:
943 * libs/gst/check/Makefile.am:
944 * plugins/elements/Makefile.am:
946 CVS surgery + support to move base, check, and net out of gst
949 2005-11-29 Andy Wingo <wingo@pobox.com>
951 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
953 * gst/gststructure.h (struct _GstStructure): Only one pointer of
956 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
958 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
960 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
962 * gst/gstobject.h: (struct _GstObject): Only one pointer of
963 padding; reduces object size by about 30%. We don't expect
964 anything else to go into gstobject.
966 * gst/gstminiobject.h (struct _GstMiniObject)
967 (struct _GstMiniObjectClass): Only one pointer of padding; the
968 payload is only a pointer and two ints anyway. For the class there
969 are only two methods as well.
971 * gst/gstelement.h (struct _GstElementClass): Removed
972 the state_changed signal callback, it is not used.
974 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
976 * docs/gst/gstreamer.types:
977 fix includes, though they are a little dinky
979 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
982 look in the right place for elements, a lot more chance of
985 remove indexers and elements subdirs
986 * plugins/Makefile.am:
987 make indexers conditional
989 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
993 * plugins/elements/Makefile.am:
994 * plugins/elements/gstcapsfilter.c:
995 * plugins/elements/gstfilesink.c:
996 * plugins/elements/gstfilesrc.c:
997 * plugins/elements/gstidentity.c:
998 * plugins/indexers/Makefile.am:
999 do CVS surgery and related build fixery to move elements
1000 and indexers in a new gstreamer/plugins directory, out of the
1003 2005-11-29 Andy Wingo <wingo@pobox.com>
1005 * check/Makefile.am:
1006 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1007 * pkgconfig/gstreamer-net.pc.in:
1008 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1011 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1013 * tools/Makefile.am:
1014 * tools/gst-complete.1.in:
1015 * tools/gst-complete.c:
1016 * tools/gst-compprep.1.in:
1017 * tools/gst-compprep.c:
1018 removing -compprep and -complete
1020 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1022 * gst/gstevent.c: (gst_event_new_new_segment),
1023 (gst_event_parse_new_segment):
1025 fix #320529 - clean up new_segment API and structure.
1026 Let's hope everyone was using the methods, and not the structure.
1028 2005-11-29 Edward Hervey <edward@fluendo.com>
1030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1031 (gst_base_sink_event), (gst_base_sink_do_sync),
1032 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1033 Properly handle non GST_FORMAT_TIME segment
1034 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1035 Properly handle non GST_FORMAT_TIME segment
1037 This function is valid if the accumulator is 0 and the format
1038 is different from the requested format.
1040 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1042 * docs/gst/gstreamer-sections.txt:
1043 Add gst_query_new_seeking and gst_query_parse_seeking to the
1046 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1048 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1049 Treat a pad alloc with new caps the same as if we were not
1050 negotiated, in order to allow a changing upstream output
1051 to produce a new format of data.
1053 2005-11-29 Edward Hervey <edward@fluendo.com>
1055 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1056 (gst_base_transform_event), (gst_base_transform_eventfunc):
1057 The event virtual method is now properly implemented, with a default
1059 Sub classes should call the parent_class event method. They should
1060 return FALSE if they had a problem handling the given event, or don't
1061 want GstBaseTransform to send that even downstream
1062 * gst/elements/gstidentity.c: (gst_identity_class_init),
1063 (gst_identity_init), (gst_identity_event),
1064 (gst_identity_transform_ip), (gst_identity_set_property),
1065 (gst_identity_get_property):
1066 * gst/elements/gstidentity.h:
1067 Added the single-segment boolean property.
1068 If set to TRUE, it will output a single segment of data, starting from
1069 0, will eat up all incoming newsegment, and modify the timestamp of the
1072 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1074 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1075 Don't ref NULL target pad (#322751). Improve docs.
1077 2005-11-29 Michael Smith <msmith@fluendo.com>
1079 * gst/gstregistryxml.c: (load_plugin):
1080 Don't crash if we failed to load a feature from a plugin.
1082 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1084 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1086 use more check API and less GLib API
1088 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1091 don't run checks if we don't have check
1093 remove the registry when running make torture
1094 * docs/gst/gstreamer-sections.txt:
1095 remove second multiply
1096 * gst/gstqueue.c: (gst_queue_loop):
1097 fix a compile warning when disabling debug
1099 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1102 Hey! Let's print the pad name if the pointer != NULL instead
1103 of when it == NULL :-)
1105 2005-11-28 Wim Taymans <wim@fluendo.com>
1107 * check/gst/gstutils.c: (GST_START_TEST):
1108 Updated check, add some scaling accuracy checking code.
1110 * gst/gstutils.c: (gst_util_div128_64),
1111 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1112 (gst_util_uint64_scale_int):
1113 Fix 6 times faster division code. Optimize for common
1114 1/1 and less common X/1 cases.
1116 2005-11-28 Wim Taymans <wim@fluendo.com>
1118 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1121 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1122 (do_linear_regression), (gst_clock_add_observation):
1124 Release lock when the clock cannot be slaved.
1125 Catch the case where the regression returned an invalid denominator.
1127 * gst/gstutils.c: (gst_util_div128_64_iterate),
1128 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1129 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1130 Add protentially more performant non-iterative 128/64 divide function
1131 that unfortunatly does not work yet.
1132 Shortcut the trivial 0/X = 0 case.
1133 Remove the warnings on overflow.
1135 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1137 * gst/gstplugin.c: (gst_plugin_register_func):
1138 everything causing a plugin not to load should be at least a WARNING
1140 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1142 * docs/random/ensonic/dparams.txt:
1143 some TODOs for the next dev cycle
1144 * libs/gst/controller/gstcontroller.c:
1145 (gst_controlled_property_set_interpolation_mode),
1146 (gst_controlled_property_new):
1147 * libs/gst/controller/gstcontroller.h:
1148 use base type to assign acccessor functions
1150 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1152 * check/Makefile.am:
1153 Oops, that should have been top_srcdir
1155 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1157 * check/Makefile.am:
1158 * check/elements/fdsrc.c: (GST_START_TEST):
1159 Use a cmdline define to specify the location of a file to use for
1160 testing, to avoid breaking distcheck.
1162 2005-11-28 Andy Wingo <wingo@pobox.com>
1164 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1166 2005-11-28 Edward Hervey <edward@fluendo.com>
1168 * tools/gst-launch.c: (main):
1169 Clarify the output strings, makes it easier to translate.
1172 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1175 don't try and build net if we don't even have <sys/socket.h>
1177 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1179 * check/Makefile.am:
1180 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1181 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1182 Add tests for fdsrc seekability
1184 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1185 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1186 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1187 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1188 * gst/elements/gstfdsrc.h:
1189 fdsrc should not be a 'live' source.
1190 Implement seeking on seekable fd's.
1192 * gst/gstquery.c: (gst_query_new_seeking),
1193 (gst_query_parse_seeking):
1195 Implement SEEKING query functions:
1196 *_new_seeking and *_parse_seeking
1198 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1200 * gst/gstelement.c: (gst_element_dispose):
1203 * gst/gstiterator.c:
1204 * gst/gststructure.c:
1207 * libs/gst/controller/gstcontroller.c:
1208 (gst_controlled_property_set_interpolation_mode):
1209 * libs/gst/controller/gstcontroller.h:
1210 * libs/gst/controller/gstinterpolation.c:
1211 (interpolate_none_get_enum_value_array):
1212 support controlling enums
1214 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1217 Improve documentation for gst_value_union().
1220 Change return value for union, intersect and subtract functions
1221 from gint to gboolean.
1223 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1225 * gst/gstvalue.c: (gst_value_serialize_any_list),
1226 (gst_value_transform_any_list_string),
1227 (gst_value_deserialize_list), (gst_value_deserialize_array),
1228 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1229 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1230 (gst_value_set_fraction_range_full),
1231 (gst_value_deserialize_fraction_range),
1232 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1233 (gst_value_deserialize_boolean),
1234 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1235 (gst_value_serialize_float), (gst_value_deserialize_float),
1236 (gst_string_wrap), (gst_value_deserialize_string),
1237 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1238 (gst_value_union_int_range_int_range),
1239 (gst_value_intersect_int_range_int_range),
1240 (gst_value_intersect_double_range_double_range),
1241 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1242 (gst_value_subtract_int_range_int_range),
1243 (gst_value_subtract_double_double_range),
1244 (gst_value_subtract_double_range_double_range),
1245 (gst_value_deserialize_fraction):
1247 Use gint, gdouble and gchar in our API instead of int, double and
1248 char (and make usage in gstvalue.c more consistent).
1250 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1252 * check/Makefile.am:
1253 * libs/gst/controller/Makefile.am:
1254 * libs/gst/dataprotocol/Makefile.am:
1255 fix up Makefile.am and remove GST_ENABLE_NEW
1257 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1261 * gst/base/Makefile.am:
1262 * gst/check/Makefile.am:
1263 * gst/elements/Makefile.am:
1264 * gst/net/Makefile.am:
1265 update LDFLAGS use some more
1267 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1269 * common/m4/gst-doc.m4:
1272 2005-11-26 Edward Hervey <edward@fluendo.com>
1274 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1275 This shouldn't issue a g_warning since it returns NULL if it
1276 couldn't find the plugin, and all functions using this behave
1277 properly on a NULL return. Switching to a GST_WARNING.
1279 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1281 * gst/gstbin.c: (gst_bin_handle_message_func):
1282 Don't leak clock messages.
1284 2005-11-25 Wim Taymans <wim@fluendo.com>
1286 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1287 (gst_util_uint64_scale_int):
1288 Optimisations, remove unneeded vars.
1290 2005-11-25 Wim Taymans <wim@fluendo.com>
1292 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1293 Added more checks for the high precision uint64 cases.
1295 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1296 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1297 Implement high precision (guint64 * guint64) / guint64.
1299 2005-11-24 Wim Taymans <wim@fluendo.com>
1301 * gst/base/gstbasesrc.c: (gst_base_src_query):
1302 Fix wrong percentage query.
1304 * gst/gstutils.c: (gst_util_uint64_scale),
1305 (gst_util_uint64_scale_int):
1306 Add some more common cases that can be handled
1307 efficiently to _scale.
1309 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1311 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1312 (gst_mini_object_suite):
1313 don't use check calls from threads; check probably isn't
1314 threadsafe and using a lock to make it threadsafe would
1315 defeat the purpose of this check
1316 * gst/check/gstcheck.c:
1317 * gst/check/gstcheck.h:
1318 use GST_DEBUG some more
1320 2005-11-24 Wim Taymans <wim@fluendo.com>
1322 * gst/gstutils.c: (gst_util_uint64_scale),
1323 (gst_util_uint64_scale_int):
1324 Chain trivial case to _scale_int.
1326 2005-11-24 Wim Taymans <wim@fluendo.com>
1328 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1329 Added test for scaling.
1334 * gst/gstutils.c: (gst_util_uint64_scale_int):
1335 Implemented high precision scaling code.
1337 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1340 do not crash on pad==NULL
1342 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1344 Patch by: Stefan Kost
1346 * common/gtk-doc.mak:
1347 * docs/gst/Makefile.am:
1348 * docs/libs/Makefile.am:
1349 Fix distcheck issues for the libraries docs build
1352 2005-11-24 Michael Smith <msmith@fluendo.com>
1354 * docs/manual/basics-helloworld.xml:
1355 Fix bug #315027: memory leak in example code in docs.
1357 2005-11-24 Michael Smith <msmith@fluendo.com>
1359 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1360 Unlock the PREROLL_LOCK in a failure case.
1362 2005-11-24 Wim Taymans <wim@fluendo.com>
1364 * docs/gst/gstreamer-sections.txt:
1365 * gst/base/gstadapter.h:
1366 * gst/base/gstbasesink.h:
1367 * gst/base/gstbasesrc.h:
1368 * gst/base/gstbasetransform.h:
1369 * gst/base/gstpushsrc.h:
1370 * gst/elements/gstfakesink.h:
1371 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1372 * gst/elements/gstfakesrc.h:
1373 * gst/elements/gstfilesink.h:
1374 * gst/elements/gstfilesrc.h:
1377 * gst/gstbuffer.c: (_gst_buffer_copy):
1380 * gst/gstchildproxy.c:
1383 * gst/gstelementfactory.c:
1384 * gst/gstelementfactory.h:
1386 * gst/gstghostpad.h:
1388 * gst/gstinterface.h:
1389 * gst/gstminiobject.c:
1390 * gst/gstminiobject.h:
1393 * gst/gstpadtemplate.h:
1394 * gst/gstpipeline.h:
1395 * gst/gstpluginfeature.h:
1400 * gst/gsttagsetter.c:
1401 * gst/gsttagsetter.h:
1404 * gst/gsttypefind.h:
1407 * gst/net/gstnetclientclock.c:
1408 * gst/net/gstnetclientclock.h:
1409 * gst/net/gstnettimepacket.c:
1410 * gst/net/gstnettimeprovider.c:
1411 * gst/net/gstnettimeprovider.h:
1414 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1416 * configure.ac: back to HEAD
1418 === release 0.9.6 ===
1420 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1423 releasing 0.9.6, "Always On Time"
1425 2005-11-23 Wim Taymans <wim@fluendo.com>
1427 * docs/gst/gstreamer-sections.txt:
1428 * gst/glib-compat.c:
1429 * gst/gsttagsetter.c:
1431 * gst/net/gstnetclientclock.c:
1432 * gst/net/gstnettimepacket.h:
1435 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1437 * docs/faq/using.xml:
1438 * docs/libs/tmpl/gstcontrol.sgml:
1439 * docs/manual/advanced-dparams.xml:
1440 * docs/manual/appendix-checklist.xml:
1441 * docs/manual/basics-elements.xml:
1442 * docs/pwg/other-source.xml:
1443 * docs/random/moving-plugins:
1445 * tools/gst-launch.1.in:
1446 remove mentions of sinesrc
1448 2005-11-23 Michael Smith <msmith@fluendo.com>
1450 * docs/gst/gstreamer-sections.txt:
1451 Update for new API and API changes.
1453 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1455 Documentation typo fix.
1456 * gst/net/gstnettimepacket.c:
1457 Documentation fixes for arguments.
1459 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1461 * gst/gststructure.c: (gst_structure_get_fraction),
1462 (gst_structure_parse_value),
1463 (gst_structure_fixate_field_nearest_fraction):
1464 * gst/gststructure.h:
1465 * gst/gstutils.c: (gst_util_uint64_scale_int):
1467 * scripts/update-funcnames:
1469 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1470 Make gst_structure_fixate_field_nearest_fraction take a numerator
1471 and denominator argument instead of a GValue
1472 add gst_structure_get_fraction helper function.
1474 2005-11-23 Wim Taymans <wim@fluendo.com>
1476 * docs/design/part-TODO.txt:
1479 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1480 * gst/net/gstnetclientclock.h:
1481 Use parent fields for timeout and window_size.
1483 2005-11-23 Andy Wingo <wingo@pobox.com>
1485 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1486 rate_num/rate_denom change.
1488 * gst/net/gstnetclientclock.c
1489 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1490 OBJECT_LOCK. Don't call add_observation with the lock.
1492 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1494 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1496 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1497 deal with rate as a fraction whose numerator and denominator are
1498 GstClockTime values.
1499 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1500 master; the other fields are protected by the SLAVE_LOCK.
1501 (do_linear_regression): Note that this must be called with the
1503 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1504 OBJECT_LOCK. Call set_calibration instead of touching the
1506 (gst_clock_set_property, gst_clock_get_property): Protect
1507 master/slave parameters with the SLAVE_LOCK.
1509 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1510 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1511 note that all of the instance variables that add_observation and
1512 the set_master functions use are protected by that lock and not
1514 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1516 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1517 the caller to take the object lock.
1519 2005-11-23 Wim Taymans <wim@fluendo.com>
1521 * gst/gsterror.c: (_gst_core_errors_init):
1523 Add error for clock stuff.
1525 * gst/gstpipeline.c: (gst_pipeline_change_state),
1526 (gst_pipeline_set_clock):
1527 Post clock error when clock cannot be used in a pipeline.
1529 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1531 * docs/gst/gstreamer-sections.txt:
1532 make two symbols from gstinfo private for the docs
1533 * gst/base/gstcollectpads.h:
1535 fix doc typos, update docs
1537 2005-11-22 Wim Taymans <wim@fluendo.com>
1539 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1540 (gst_base_sink_wait), (gst_base_sink_do_sync),
1541 (gst_base_sink_handle_event):
1542 * gst/base/gstbasesink.h:
1543 No need to store the clock, the parent element class already
1546 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1547 Updates for clock_set returning a gboolean
1549 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1550 (gst_clock_id_wait_async), (gst_clock_class_init),
1551 (gst_clock_init), (gst_clock_finalize),
1552 (gst_clock_get_internal_time), (gst_clock_get_time),
1553 (gst_clock_slave_callback), (gst_clock_set_master),
1554 (gst_clock_get_master), (do_linear_regression),
1555 (gst_clock_add_observation), (gst_clock_set_property),
1556 (gst_clock_get_property):
1558 Implement master/slave. When setting a clock as a slave, a
1559 periodic timeout is scheduled to sample master and slave times.
1560 Then the slave clock is recalibrated to match offset and rate
1561 of the master clock.
1562 Update logging a bit.
1563 Add flag so that a clock can state that is cannot be slaved to
1566 * gst/gstelement.c: (gst_element_set_clock):
1568 The set clock returns a gboolean for when an element cannot
1569 deal with the selected clock in the pipeline.
1571 * gst/gstpipeline.c: (gst_pipeline_change_state),
1572 (gst_pipeline_set_clock):
1573 * gst/gstpipeline.h:
1574 Handle the case where the selected clock cannot be set on
1577 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1578 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1579 (gst_net_client_clock_set_property),
1580 (gst_net_client_clock_get_property),
1581 (gst_net_client_clock_observe_times):
1582 * gst/net/gstnetclientclock.h:
1583 Use regression code in GstClock parent, remove duplicated
1586 2005-11-22 Michael Smith <msmith@fluendo.com>
1588 * gst/gstutils.c: (gst_util_clock_time_scale):
1590 * docs/gst/gstreamer-sections.txt:
1591 Rename method to have extra underscore.
1593 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1595 * gst/elements/Makefile.am:
1596 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1597 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1598 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1599 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1600 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1601 * gst/elements/gstfakesrc.h:
1602 * gst/gstqueue.c: (queue_leaky_get_type):
1603 correctly fix GEnumValues so that nick is the short lowercase
1605 * tools/gst-inspect.c: (print_element_properties_info):
1606 also show the nick, since it's useful to use from parse_launch
1610 2005-11-22 Michael Smith <msmith@fluendo.com>
1612 * gst/gstutils.c: (gst_util_clocktime_scale):
1614 * docs/gst/gstreamer-sections.txt:
1615 Add util method for scaling a clocktime by a fraction. Useful
1616 implementation is left as an exercise for the reader.
1618 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1620 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1621 If needed, allocate storage in the destination value during
1624 2005-11-22 Edward Hervey <edward@fluendo.com>
1626 * docs/gst/gstreamer-sections.txt:
1631 * gst/gstutils.c: (gst_util_set_object_arg):
1632 * tools/gst-compprep.c: (main):
1633 * tools/gst-inspect.c: (print_element_properties_info):
1634 Removed GstURI, closes bug #321061
1636 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1638 * check/gst/gststructure.c: (GST_START_TEST):
1639 * gst/gststructure.c: (gst_structure_parse_value):
1640 Oops, broke automatic string type parsing.
1641 Add a test to catch it in future.
1643 2005-11-22 Andy Wingo <wingo@pobox.com>
1645 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1646 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1647 Actually rename the function implementations. Grr.
1649 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1651 * check/gst/capslist.h:
1653 * check/gst/gststructure.c: (GST_START_TEST),
1654 (gst_structure_suite):
1655 Test automatic value type detection in gst_structure_from_string.
1656 * gst/gststructure.c: (gst_structure_parse_value):
1657 Add fraction as a type we try and guess automatically in
1658 caps/structure strings.
1660 2005-11-22 Andy Wingo <wingo@pobox.com>
1662 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1664 * gst/gsttagsetter.h:
1665 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1666 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1667 (gst_tag_setter_add_tag_valist)
1668 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1669 _add_values, _add_valist, and _add_valist_values. Since this is an
1670 interface the function suffixes should be more explicit so
1671 language binding don't end up with element.add_valist ->
1672 gst_tag_setter_add_valist, for example. Fixes #322069.
1674 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1676 * check/gst/gstcaps.c: (GST_START_TEST):
1677 Extend caps string tests to check that a caps to string
1678 conversion is reversible and produces the same caps.
1680 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1681 Output "fraction" as the generic type fraction range, so caps
1682 serialisation and deserialisation works.
1683 * check/gst/capslist.h:
1684 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1685 Support 'MIN' and 'MAX' for deserialising fractions.
1687 2005-11-22 Andy Wingo <wingo@pobox.com>
1689 * gst/gstevent.h (gst_event_new_new_segment)
1690 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1691 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1692 Renamed from *_newsegment, *_buffersize, *_notarget.
1694 * scripts/update-funcnames: New script, performs the changes
1697 2005-11-22 Wim Taymans <wim@fluendo.com>
1699 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1700 Make sure the GstFlowReturn is returned.
1702 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1703 (gst_bus_add_signal_watch):
1705 add gst_bus_add_signal_watch_full.
1707 * gst/gstplugin.c: (gst_plugin_load_file):
1708 Small style cleanup.
1710 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1712 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1713 Block the fakesrc srcpad when we send an event, to avoid
1714 contention on the stream_lock causing random test failures.
1716 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1718 * check/gst/gstvalue.c: (GST_START_TEST):
1719 * gst/gstvalue.c: (gst_value_fraction_subtract):
1722 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1725 include "gstchildproxy.h"
1726 * gst/gstchildproxy.h:
1727 * libs/gst/controller/gstcontroller.h:
1728 use G_GNUC_NULL_TERMINATED
1730 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1732 * check/gst/capslist.h:
1733 * check/gst/gstcaps.c: (GST_START_TEST):
1734 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1735 * gst/gststructure.c: (gst_structure_parse_range),
1736 (gst_structure_fixate_field_nearest_fraction):
1737 * gst/gststructure.h:
1738 * gst/gstvalue.c: (gst_value_init_fraction_range),
1739 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1740 (gst_value_collect_fraction_range),
1741 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1742 (gst_value_set_fraction_range_full),
1743 (gst_value_get_fraction_range_min),
1744 (gst_value_get_fraction_range_max),
1745 (gst_value_serialize_fraction_range),
1746 (gst_value_transform_fraction_range_string),
1747 (gst_value_compare_fraction_range),
1748 (gst_value_deserialize_fraction_range),
1749 (gst_value_intersect_fraction_fraction_range),
1750 (gst_value_intersect_fraction_range_fraction_range),
1751 (gst_value_subtract_fraction_fraction_range),
1752 (gst_value_subtract_fraction_range_fraction),
1753 (gst_value_subtract_fraction_range_fraction_range),
1754 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1755 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1756 (gst_value_transform_string_fraction), (_gst_value_initialize):
1758 Implement fraction ranges and extend GstFraction to support
1759 arithmetic subtraction, as well as deserialization from integer
1760 strings such as "100"
1761 Add a testsuite as for int and double range set operations
1763 2005-11-21 Andy Wingo <wingo@pobox.com>
1767 * gst/gststructure.h: Add glib-compat.h.
1769 2005-11-21 Wim Taymans <wim@fluendo.com>
1771 * gst/gstbin.c: (gst_bin_change_state_func):
1774 2005-11-21 Wim Taymans <wim@fluendo.com>
1777 And add a nice define too.
1779 2005-11-21 Wim Taymans <wim@fluendo.com>
1781 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1782 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1783 (gst_segment_set_duration), (gst_segment_set_last_stop),
1784 (gst_segment_set_seek), (gst_segment_set_newsegment),
1785 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1788 Make binding friendly.
1790 2005-11-21 Andy Wingo <wingo@pobox.com>
1792 * gst/gsttagsetter.h:
1794 * gst/gststructure.h:
1796 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1799 * gst/gsterror.c (_gst_core_errors_init):
1800 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1803 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1804 (noinst_HEADERS): noinst the -private.
1806 2005-11-21 Michael Smith <msmith@fluendo.com>
1809 * gst/gstregistry.h:
1810 Remove unimplemented declarations for which we can see no sensible
1813 2005-11-21 Andy Wingo <wingo@pobox.com>
1815 * gst/gst.h: Include glib-compat.h.
1817 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1819 * gst/glib-compat.c: Include the public and the private header.
1821 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1825 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1827 * check/gst/gstevent.c (create_custom_events): Check that
1828 FLUSH_STOP is serialized.
1830 * check/elements/identity.c (event_func):
1831 * check/elements/fakesrc.c (event_func): No stream lock, the core
1834 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1835 stream lock taking, yay.
1837 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1838 ensure that core takes the stream lock.
1840 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1843 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1844 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1845 it already. For the flush start we do take it though so we get the
1846 right preroll state change messages.
1848 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1849 the stream lock here, the core does it for us.
1851 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1852 GST_STREAM_GET_LOCK.
1853 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1854 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1855 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1856 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1857 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1858 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1860 * gst/gstpad.c: Update for stream lock name change.
1862 * gst/base/gstbasesink.c: Update for preroll lock name change.
1864 2005-11-21 Wim Taymans <wim@fluendo.com>
1866 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1867 (gst_clock_get_master):
1869 * gst/gstsystemclock.c: (gst_system_clock_init):
1870 Convert Clock flags to object flags.
1871 Added methods to manage master/slave clocks.
1873 2005-11-21 Wim Taymans <wim@fluendo.com>
1875 * check/gst/gstsegment.c: (GST_START_TEST):
1876 * docs/design/part-TODO.txt:
1877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1878 (gst_base_sink_event), (gst_base_sink_do_sync),
1879 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1880 (gst_base_sink_query), (gst_base_sink_change_state):
1881 * gst/base/gstbasesink.h:
1882 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1883 (gst_base_src_default_newsegment),
1884 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1885 (gst_base_src_get_range), (gst_base_src_loop),
1886 (gst_base_src_change_state):
1887 * gst/base/gstbasesrc.h:
1888 * gst/base/gstbasetransform.c:
1889 (gst_base_transform_prepare_output_buf),
1890 (gst_base_transform_event), (gst_base_transform_change_state):
1891 * gst/base/gstbasetransform.h:
1892 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1893 (gst_collect_pads_event):
1894 * gst/base/gstcollectpads.h:
1895 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1896 (gst_fake_src_create):
1897 * gst/elements/gstfakesrc.h:
1898 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1899 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1900 (gst_segment_set_last_stop), (gst_segment_set_seek),
1901 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1902 (gst_segment_to_running_time), (gst_segment_clip):
1904 More segment updates, replace code in plugins with segment
1907 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1909 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1910 Don't ignore sscanf results
1912 2005-11-21 Andy Wingo <wingo@pobox.com>
1914 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1917 * *.c: Ran scripts/update-macros. Oh yes.
1919 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1920 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1923 * scripts/update-macros: New script. Run it on your files to
1924 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1927 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1929 * docs/gst/Makefile.am:
1930 * docs/gst/gstreamer-docs.sgml:
1931 * docs/gst/gstreamer-sections.txt:
1932 * docs/gst/gstreamer.types:
1934 more docs fixes, add new api to the docs
1936 2005-11-21 Andy Wingo <wingo@pobox.com>
1938 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1939 state_broadcast call.
1941 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1943 2005-11-21 Julien MOUTTE <julien@moutte.net>
1945 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1946 function calls for arrays.
1948 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1950 * docs/random/ensonic/media-device-daemon.txt:
1951 wild idea, can this be done?
1952 * docs/gst/gstreamer-sections.txt:
1957 * gst/gstpluginfeature.c:
1961 doc fixes and additions
1963 2005-11-21 Andy Wingo <wingo@pobox.com>
1965 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1966 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1967 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1968 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1969 private to the basesrc implementation.
1971 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1972 behalf of event function if necessary. It should no longer be
1973 necessary to take the stream lock in pad's event functions. Fixes
1976 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1977 * docs/gst/gstreamer-sections.txt:
1978 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1979 (gst_structure_fixate_field_nearest_double),
1980 (gst_structure_fixate_field_boolean):
1981 * gst/gststructure.h:
1982 * win32/common/libgstreamer.def:
1983 * win32/gstreamer.def:
1985 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1988 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1990 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1991 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1992 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1993 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1994 (gst_fdsrc_uri_handler_init):
1995 * gst/elements/gstfdsrc.h:
1996 Port fd:// URI handler from 0.8 to fdsrc
1998 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2000 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2001 (gst_value_serialize_fourcc):
2003 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2004 consistent with our other format defines (#320324).
2006 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2008 * gst/gstvalue.c: (gst_value_is_fixed):
2009 Revert previous commit. Value lists are by definition
2010 not fixed, as they are a list of possible values.
2012 2005-11-21 Andy Wingo <wingo@pobox.com>
2014 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2015 during the stable series if we need it. Fixes #319178.
2017 * gst/gstevent.c (gst_event_new_filler): Removed.
2019 * check/gst/gstevent.c: Update comment about filler events.
2021 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2023 * gst/gstvalue.c: (gst_value_is_fixed):
2024 Should handle both value arrays and value lists.
2026 2005-11-21 Andy Wingo <wingo@pobox.com>
2028 patch by: Alessandro Dessina <alessandro nnva org>
2030 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2031 functions to access arrays. Fixes #321962.
2033 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2035 * docs/gst/gstreamer.types:
2036 gst_collectpads_get_type => gst_collect_pads_get_type.
2038 * gst/base/gstbasetransform.c:
2039 Remove unused SIGNAL_HANDOFF enum.
2041 2005-11-21 Andy Wingo <wingo@pobox.com>
2043 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2044 the event type (upstream, downstream, serialized). Renamed
2045 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2046 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2047 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2049 * gst/gstevent.c: Update for new CUSTOM event names.
2051 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2054 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2057 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2059 * docs/gst/gstreamer-sections.txt:
2060 * win32/common/libgstbase.def:
2061 * win32/libgstbase.def:
2062 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2063 (gst_collect_pads_class_init), (gst_collect_pads_init),
2064 (gst_collect_pads_finalize), (gst_collect_pads_new),
2065 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2066 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2067 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2068 (gst_collect_pads_start), (gst_collect_pads_stop),
2069 (gst_collect_pads_peek), (gst_collect_pads_pop),
2070 (gst_collect_pads_available), (gst_collect_pads_read),
2071 (gst_collect_pads_flush), (gst_collect_pads_event),
2072 (gst_collect_pads_chain):
2073 * gst/base/gstcollectpads.h:
2074 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2075 unimplemented functions as unimplemented. Add padding to
2076 GstCollectData. (#320766, #320423)
2078 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2081 Improve docs for DURATION message (usage of duration parameter)
2084 2005-11-20 Wim Taymans <wim@fluendo.com>
2086 * check/Makefile.am:
2087 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2091 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2092 (gst_segment_set_seek), (gst_segment_set_newsegment),
2093 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2096 Added segment helper structure and methods. Not fully implemented
2098 Added segment check.
2100 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2102 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2103 Add a deserialisation test for fractions
2104 * examples/metadata/read-metadata.c: (message_loop),
2105 (make_pipeline), (main):
2106 Fix up metadata reading sample.
2107 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2109 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2110 Don't try and fixate empty caps
2111 * gst/gst_private.h:
2112 Wrap in G_BEGIN_DECLS/G_END_DECLS
2113 * gst/gstvalue.c: (gst_value_collect_fraction),
2114 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2115 (gst_value_transform_string_fraction),
2116 (gst_value_compare_fraction):
2117 Add some extra guards to ensure that we don't end up
2118 with an invalid denominator of 0 in a gstfraction and
2119 that fractions always get reduced.
2121 2005-11-20 Wim Taymans <wim@fluendo.com>
2123 * docs/gst/gstreamer-sections.txt:
2134 2005-11-20 Wim Taymans <wim@fluendo.com>
2136 * docs/design/part-TODO.txt:
2138 Make a proper enum of the flag.
2140 2005-11-19 Wim Taymans <wim@fluendo.com>
2142 * docs/design/part-TODO.txt:
2143 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2144 (gst_format_to_quark), (gst_format_register):
2146 * gst/gstquery.c: (_gst_query_initialize),
2147 (gst_query_type_get_name), (gst_query_type_to_quark),
2148 (gst_query_type_register):
2150 Add type to quark and type to string conversions.
2152 2005-11-19 Andy Wingo <wingo@pobox.com>
2154 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2157 2005-11-19 Wim Taymans <wim@fluendo.com>
2159 * docs/design/part-TODO.txt:
2160 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2161 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2162 (gst_bin_handle_message_func):
2164 Make message handling overridable.
2166 2005-11-19 Andy Wingo <wingo@pobox.com>
2168 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2171 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2173 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2174 is a GstClockTime. Fixes #321710.
2176 * gst/gstclock.h (GstClock): Remove offset property. Add
2177 internal_calibration and external_calibration. Fix padding. Pad
2178 also by GstClockTime so we don't run into problems.
2180 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2181 (gst_clock_get_rate_offset): Remove.
2182 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2185 * gst/gstutils.c (g_static_rec_cond_wait)
2186 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2188 * gst/gstbin.c: Remove terrible continue_state prototype.
2190 * gst/gstelement.h (gst_element_continue_state): Make public.
2193 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2194 by continue_state. Fixes #319389.
2196 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2197 Really fixes #168438. However I don't see anywhere where the
2198 filter function is called... stupid GStreamer...
2200 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2201 don't have a dispose function, so it won't get called when the
2202 object is unreffed, but oh well!
2204 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2205 allows a destroy function to be set so user_data can be freed.
2207 (gst_index_set_filter): Call gst_index_set_filter_full.
2209 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2211 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2212 string should produce an error, given the lack of a way to
2213 represent NULL strings. Fixes #165650.
2216 * gst/gstvalue.c (gst_value_array_append_value)
2217 (gst_value_array_prepend_value, gst_value_array_get_size)
2218 (gst_value_array_get_value): New API, copied from
2219 gst_value_list_*, only operates on arrays.
2220 (gst_value_list_append_value, gst_value_list_prepend_value)
2221 (gst_value_list_concat, gst_value_list_get_size)
2222 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2224 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2225 init_list, because it works on both.
2226 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2227 (gst_value_copy_list_or_array): Renamed from copy_list.
2228 (gst_value_free_list_or_array): Renamed from free_list.
2229 (gst_value_collect_list_or_array): Renamed from collect_list.
2230 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2231 (gst_value_list_or_array_peek_pointer): Renamed from
2233 (_gst_value_array_value_table, _gst_value_list_value_table):
2234 Update value table functions.
2235 (gst_value_compare_list_or_array): Renamed from compare_list.
2237 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2241 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2242 GstTagList*. Fixes #143472.
2244 * gst/gststructure.h: Clarify what the foreach/map functions can
2245 or can't do to their arguments.
2247 2005-11-18 Wim Taymans <wim@fluendo.com>
2249 * gst/gstclock.c: (gst_clock_set_calibration),
2250 (gst_clock_get_calibration):
2252 Calibration can be set with internal time equal to current
2255 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2261 2005-11-18 Andy Wingo <wingo@pobox.com>
2264 * pkgconfig/gstreamer-net.pc.in:
2265 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2266 * pkgconfig/Makefile.am: Add net pkgconfig files.
2268 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2271 * gst/gstghostpad.c:
2277 2005-11-18 Andy Wingo <wingo@pobox.com>
2279 * gst/net/gstnetclientclock.c: Turn off debugging.
2281 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2282 times connverge somewhat. Can't make a real test.
2284 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2285 integer arithmetic. Return the minimum of the domain, which can be
2286 set as "internal" for gst_clock_set_calibration.
2287 (gst_net_client_clock_observe_times): Call _set_calibration.
2288 (gst_net_client_clock_new): Call _set_calibration instead of
2291 * check/net/gstnetclientclock.c (test_functioning): Use the right
2295 * gst/gstclock.c (gst_clock_get_calibration)
2296 (gst_clock_set_calibration): New functions, obsolete the ones I
2297 added yesterday. Doh. Precision issues mean we have to extrapolate
2298 from a point in the more recent past than 1970.
2299 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2301 (gst_clock_adjust_unlocked): Use the right calibration data.
2303 2005-11-18 Edward Hervey <edward@fluendo.com>
2305 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2306 Also reset the ->current_* values in READY->PAUSED
2308 2005-11-18 Andy Wingo <wingo@pobox.com>
2310 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2311 Whoops, check the right fd. Also add some debugging.
2312 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2313 (do_linear_regression): Add a crapload of debugging. Subtract off
2314 the minimum values from the input series to discard unneeded bits.
2315 Use only int arithmetic. There is still double arithmetic when
2316 calculating the intercept that needs fixing. Return boolean to
2317 indicate success; FALSE would mean the domain or range is too
2318 great. Still needs fixes.
2320 2005-11-18 Wim Taymans <wim@fluendo.com>
2322 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2323 For the current position in stream time, we need to subtract
2326 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2327 Release lock before calling the callback function of async
2330 2005-11-18 Andy Wingo <wingo@pobox.com>
2332 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2333 Port goes all the way to MAXUINT16.
2335 * gst/net/gstnettimeprovider.c: Make the port range the same as
2336 for the kernel: 0 assigns, otherwise ports are less than
2339 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2342 * check/net/gstnetclientclock.c (test_functioning): Add the start
2345 2005-11-18 Wim Taymans <wim@fluendo.com>
2347 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2348 (gst_bin_remove_func), (bin_bus_handler):
2350 Removing a clock provider from a bin, triggers a clock lost message
2351 so that a new clock will be selected.
2352 Adding a clock to a bin triggers a clock provider message.
2353 Make sure we reselect a clock when we received a clock lost message.
2354 Keep a reference to the element that provided the clock.
2356 2005-11-18 Andy Wingo <wingo@pobox.com>
2358 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2359 the clock initially so it produces values around the base time.
2360 (gst_net_client_clock_class_init): Typo fix.
2361 (gst_net_client_clock_thread): Add note on when the socket gets
2364 2005-11-17 Wim Taymans <wim@fluendo.com>
2366 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2367 Free remote and local time arrays.
2369 2005-11-17 Wim Taymans <wim@fluendo.com>
2371 * gst/net/gstnetclientclock.c: (do_linear_regression),
2372 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2373 Fix compilation, uninitialized vars and a forgotten continue.
2375 2005-11-17 Andy Wingo <wingo@pobox.com>
2377 * check/Makefile.am (check_PROGRAMS):
2378 * check/net/gstnetclientclock.c: Add a most minimal test for the
2379 net client clock. More to come later.
2382 * gst/net/Makefile.am: Add netclientclock.
2384 * gst/net/gstnetclientclock.h:
2385 * gst/net/gstnetclientclock.c: New files, implement an untested
2386 GstClock that takes its time from a network time provider.
2387 Implements the algorithm in network-clock.scm.
2389 * tests/network-clock.scm (*window-size*): Rename from
2391 * tests/network-clock.scm (network-time):
2392 * tests/network-clock-utils.scm (q-push): Update callers.
2394 2005-11-17 Wim Taymans <wim@fluendo.com>
2396 * gst/gstbin.c: (gst_bin_provide_clock_func),
2397 (gst_bin_sort_iterator_new):
2398 And unref the child too..
2400 2005-11-17 Wim Taymans <wim@fluendo.com>
2402 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2403 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2404 Refactor the sort iterator so it can be used while holding the
2406 Make clock selection select a clock closest to the source.
2408 2005-11-17 Michael Smith <msmith@fluendo.com>
2410 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2411 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2413 Anonymous structs are a gcc (and some other compilers) extension, so
2414 don't use them. Since this is only for ABI-compatibility, and our
2415 API/ABI freeze is over in a few days, this whole thing will only
2416 last a few days, so don't bother trying to think up a meaningful
2417 name for the struct.
2419 2005-11-17 Andy Wingo <wingo@pobox.com>
2421 * gst/gstclock.h (GstClock): Add rate and offset properties,
2422 preserving ABI stability. Add rate/offset accessors. Will file bug
2423 for the freeze break.
2425 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2426 and offset, trying to keep precision and avoiding
2428 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2429 functions. Make gst_clock_set_time_adjust obsolete.
2430 (gst_clock_set_time_adjust): Note that this function is obsolete.
2433 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2434 greppable by using GST_PADDING-1+1.
2436 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2438 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2440 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2441 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2443 * gst/gstpadtemplate.h:
2444 * gst/gstpluginfeature.h:
2445 Don't use c++ style comments in headers (#321638).
2447 2005-11-16 Andy Wingo <wingo@pobox.com>
2449 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2452 * check/net/gstnettimeprovider.c: Check to see that the time
2453 provider actually provides times. Works, yo!
2455 2005-11-16 Wim Taymans <wim@fluendo.com>
2457 * check/Makefile.am:
2460 * check/elements/fakesrc.c: (GST_START_TEST):
2461 Set element to NULL before disposing it.
2463 2005-11-16 Andy Wingo <wingo@pobox.com>
2465 * gst/net/Makefile.am:
2467 * gst/net/gstnettimeprovider.c:
2468 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2469 provider, include it from gstnet.h, and add it to the build.
2471 * gst/net/gstnettimepacket.h:
2472 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2473 sending and receiving.
2475 2005-11-16 Wim Taymans <wim@fluendo.com>
2477 * check/Makefile.am:
2478 Enable valgrind check.
2480 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2481 (gst_fake_src_alloc_buffer):
2484 2005-11-16 Wim Taymans <wim@fluendo.com>
2486 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2487 Call parent finalize too.
2489 2005-11-16 Wim Taymans <wim@fluendo.com>
2491 * check/Makefile.am:
2492 Enable valgrind check that should work fine now.
2494 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2495 * gst/gstqueue.c: (gst_queue_init):
2496 Fix memleaks in pad allocation.
2498 2005-11-16 Andy Wingo <wingo@pobox.com>
2500 * gst/net/Makefile.am:
2501 * gst/net/gstnet.h: New part of core to hold network elements and
2502 objects. Put in core because it exposes API that applications want
2503 to use. The library is named libgstnet-tempname right now because
2504 of the existing libgstnet in gst-plugins-base. Solution is
2505 probably to rename the one in plugins-base; will file a bug for
2508 * gst/net/gstnettimeprovider.c:
2509 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2510 get_time call over the network.
2513 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2515 * check/Makefile.am:
2516 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2517 get additions shortly.
2519 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2521 * gst/gstpad.c: (gst_pad_new_from_static_template):
2523 add gst_pad_new_from_static_template functions
2524 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2525 (gst_check_setup_sink_pad):
2526 * gst/elements/gsttee.c: (gst_tee_init):
2529 2005-11-16 Wim Taymans <wim@fluendo.com>
2531 * gst/gstpad.c: (gst_pad_pause_task):
2532 Removed warning, it's not really an error either.
2534 2005-11-16 Wim Taymans <wim@fluendo.com>
2536 * gst/base/gstbasetransform.c:
2537 (gst_base_transform_prepare_output_buf),
2538 (gst_base_transform_event):
2539 Check if the caps are NULL, this can happen if the element
2540 is shutting down and the pad caps are set to NULL.
2542 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2544 * gst/elements/gsttee.c: (gst_tee_init):
2545 fix pad template leak in tee
2547 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2549 * gst/glib-compat.c: (g_value_dup_gst_object):
2550 * gst/glib-compat.h:
2551 * gst/gstpad.c: (gst_pad_set_property):
2552 use gst_object_ref when setting the pad template; this will
2553 trigger the pad template leaks on GLib 2.6 and the slaves
2555 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2557 * gst/glib-compat.c: (gst_flags_get_first_value):
2558 * gst/glib-compat.h:
2559 * gst/gstregistryxml.c:
2560 remove functions copied from GLib 2.6
2562 2005-11-16 Michael Smith <msmith@fluendo.com>
2565 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2566 do, but only breaks with newer valgrind versions. We're not a
2567 valgrind tool, we have no link-time dependencies on libcoregrind.
2569 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2571 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2576 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2578 * gst/base/gstbasesrc.c: (gst_base_src_init):
2579 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2580 * gst/gstqueue.c: (gst_queue_init):
2581 * gst/gstregistryxml.c: (load_feature):
2582 Revert all these unrefs, they don't even pass make check !
2584 2005-11-15 Johan Dahlin <johan@gnome.org>
2586 * gst/base/gstbasesrc.c: (gst_base_src_init):
2587 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2588 * gst/gstqueue.c: (gst_queue_init):
2589 Free pad templates, fixes a couple of leaks.
2591 2005-11-15 Daniel Fischer <dan at f3c dot com>
2593 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2595 * gst/gstpad.c: (gst_pad_get_property):
2596 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2597 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2600 2005-11-15 Wim Taymans <wim@fluendo.com>
2605 2005-11-15 Andy Wingo <wingo@pobox.com>
2607 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2609 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2610 using GST_CLOCK_TIME_NONE to disable base time management.
2611 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2612 time if it was NONE before.
2613 (gst_pipeline_change_state): Only munge the base time if
2614 stream_time != GST_CLOCK_TIME_NONE.
2616 * check/gst/gstpipeline.c (test_base_time): Punt around the
2617 problem of the probe not being called, because that's not the
2618 issue I'm looking at. Add a check that setting stream_time to NONE
2619 disables base time management.
2621 2005-11-15 Wim Taymans <wim@fluendo.com>
2623 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2624 segment_stop == -1 at startup.
2626 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2627 (gst_base_transform_change_state):
2628 Init segment values at start.
2630 2005-11-15 Wim Taymans <wim@fluendo.com>
2632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2633 0 segment values are 0 in any format.
2635 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2636 * gst/base/gstbasetransform.h:
2637 Parse newsegment correctly in basetransform
2639 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2640 Sync to clock using updated segment values.
2642 2005-11-15 Andy Wingo <wingo@pobox.com>
2644 * check/gst/gstpipeline.c (test_base_time): Add check that the
2645 base time and stream time are reset correctly.
2647 2005-11-15 Wim Taymans <wim@fluendo.com>
2649 * docs/design/part-TODO.txt:
2650 Some more TODO items.
2652 2005-11-15 Andy Wingo <wingo@pobox.com>
2654 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2655 error if the user selected "no clock" as the clocking method.
2657 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2658 timestamps with live capture.
2660 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2661 is 0 but we are a live source, timestamp the buffers using the
2664 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2666 * docs/gst/gstreamer-sections.txt:
2668 * gst/gstghostpad.c:
2673 2005-11-14 Wim Taymans <wim@fluendo.com>
2676 add suppressions from Wim's Debian machine
2678 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2681 add suppressions from Andy's AMD64 Ubuntu machine
2683 2005-11-14 Andy Wingo <wingo@pobox.com>
2685 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2686 STATE_LOCK not necessary. Fixes #311489.
2688 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2691 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2692 this function is not implemented.
2694 2005-11-14 Julien MOUTTE <julien@moutte.net>
2696 * gst/base/gstbasetransform.c:
2697 (gst_base_transform_prepare_output_buf):
2698 Ref the source pad caps while we need them.
2701 2005-11-11 Wim Taymans <wim@fluendo.com>
2703 * docs/gst/gstreamer-sections.txt:
2704 Added some docs for GstCollectData.
2706 * gst/base/gstadapter.c:
2707 Some small code example fix.
2709 * gst/base/gstcollectpads.c:
2710 * gst/base/gstcollectpads.h:
2713 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2715 * configure.ac: back to HEAD
2717 === release 0.9.5 ===
2719 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2722 releasing 0.9.5, "Bike Lunch Day"
2724 2005-11-11 Wim Taymans <wim@fluendo.com>
2726 * gst/gstbuffer.c: (_gst_buffer_copy):
2729 * gst/gstcaps.c: (gst_caps_is_equal):
2731 Make _is_equal fast in the trivial cases.
2733 * gst/gstminiobject.c:
2734 * gst/gstminiobject.h:
2735 More docs. Spifify .h file.
2740 2005-11-11 Wim Taymans <wim@fluendo.com>
2742 * gst/base/gstbasetransform.c:
2743 (gst_base_transform_prepare_output_buf),
2744 (gst_base_transform_handle_buffer):
2746 If we're processing a buffer and need to allocate an output
2747 buffer, we cannot accept a format change. If we did get a
2748 format change, we have to alloc a buffer ourselves of the
2751 2005-11-11 Wim Taymans <wim@fluendo.com>
2753 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2754 While checking the flag for reentrancy in the gstcaps function
2755 is nice to detect recursive invocations, it also makes it
2756 impossible to call getcaps from multiple threads, which must be
2757 possible. So, checking for recursive calls has to go.
2759 2005-11-11 Michael Smith <msmith@fluendo.com>
2761 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2762 Don't sync on buffers that fall partially outside our current
2763 segment. Prevents an assertion failure/abort playing some files.
2765 2005-11-10 Andy Wingo <wingo@pobox.com>
2767 * check/gst/gstbin.c (test_message_state_changed_children): Style
2770 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2771 gst_bus_poll with the signal watch. Ensures that poll and a signal
2772 watch see the same messages.
2774 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2775 a poll and a watch at the same time get the same messages.
2777 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2779 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2780 * gst/gstcaps.c: (gst_caps_intersect):
2781 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2782 and it's not needed.
2784 2005-11-10 Wim Taymans <wim@fluendo.com>
2786 * docs/design/part-TODO.txt:
2789 2005-11-10 Wim Taymans <wim@fluendo.com>
2791 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2792 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2793 (gst_base_src_do_sync), (gst_base_src_get_range):
2794 Implement clock sync in base class.
2796 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2798 patch by: Tim-Philipp Müller <tim at centricular dot net>
2800 * gst/gststructure.c: (gst_structure_parse_field),
2801 (gst_structure_from_string):
2802 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2803 so that gst_parse_launch() can deal with spaces in filtered link
2804 caps (fixes #164479)
2805 * check/gst/capslist.h:
2806 * check/gst/gststructure.c: (GST_START_TEST):
2807 add unit tests for this change
2809 2005-11-10 Wim Taymans <wim@fluendo.com>
2811 * docs/gst/gstreamer-sections.txt:
2814 Fix docs, move some STATE macros to private.
2816 2005-11-10 Wim Taymans <wim@fluendo.com>
2818 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2819 Added check for bug #317341
2823 Some more spiffifying.
2825 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2826 Call peer linkfunction if we are a source pad. Totally fixes
2830 Update docs, source pads should call the peer linkfunction
2831 so they can atomically perform the pad link.
2833 2005-11-09 Wim Taymans <wim@fluendo.com>
2837 Uber-spiffy-spiffify some more.
2839 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2841 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2842 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2843 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2844 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2845 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2846 * gst/gstpad.c: (gst_pad_init):
2847 Use GST_DEBUG_FUNCPTR() more extensively.
2849 2005-11-09 Wim Taymans <wim@fluendo.com>
2851 * gst/gstobject.c: (gst_object_class_init):
2853 Documentation fixes.
2855 2005-11-09 Edward Hervey <edward@fluendo.com>
2857 * gst/gsttypefindfactory.c:
2860 2005-11-09 Edward Hervey <edward@fluendo.com>
2862 * gst/base/gsttypefindhelper.c:
2863 * gst/gsttypefind.c:
2864 * gst/gsttypefind.h:
2867 2005-11-09 Wim Taymans <wim@fluendo.com>
2869 * gst/gstiterator.c:
2876 2005-11-09 Wim Taymans <wim@fluendo.com>
2882 2005-11-09 Wim Taymans <wim@fluendo.com>
2884 * docs/gst/gstreamer-sections.txt:
2885 Moved the message async delivery private lock and cond
2886 to the private section.
2892 2005-11-09 Edward Hervey <edward@fluendo.com>
2894 * docs/gst/gstreamer-sections.txt:
2897 Document GstURIHandler
2899 2005-11-09 Wim Taymans <wim@fluendo.com>
2901 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2902 (gst_iterator_find_custom):
2903 * gst/gstiterator.h:
2906 2005-11-09 Wim Taymans <wim@fluendo.com>
2909 Document another field.
2911 * gst/gststructure.c:
2912 * gst/gststructure.h:
2915 2005-11-09 Wim Taymans <wim@fluendo.com>
2920 2005-11-09 Wim Taymans <wim@fluendo.com>
2922 * docs/gst/gstreamer-sections.txt:
2923 Added some new macros.
2930 2005-11-09 Wim Taymans <wim@fluendo.com>
2932 * docs/design/part-TODO.txt:
2933 Some more items for the TODO
2939 2005-11-09 Andy Wingo <wingo@pobox.com>
2941 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2942 to work on something else now tho...
2944 * gst/base/gstadapter.c: More adapter docs.
2946 * gst/elements/gstfilesink.c (gst_file_sink_start)
2947 (gst_file_sink_stop): New functions, replace the state change
2949 (gst_file_sink_class_init): Hook up the start and stop functions.
2950 (gst_file_sink_base_init): Don't set the state change handler any
2951 more. It was a bit ugly too, being set from here...
2952 (gst_file_sink_get_property, gst_file_sink_set_property):
2954 (gst_file_sink_set_location): More robust check that doesn't call
2957 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2959 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2960 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2962 2005-11-08 Wim Taymans <wim@fluendo.com>
2964 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2965 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2966 (gst_base_sink_chain), (gst_base_sink_change_state):
2967 * gst/base/gstbasesink.h:
2968 * gst/base/gstbasesrc.h:
2971 Avoid excessive typechecking in macros.
2973 * gst/gstminiobject.c: (gst_mini_object_get_type),
2974 (gst_mini_object_init), (gst_mini_object_new),
2975 (gst_mini_object_free):
2976 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2977 (gst_object_finalize):
2978 Remove cruft code, optimize alloc_trace.
2980 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2982 * docs/faq/gst-uninstalled:
2983 fix up PS1 for systems that try to reset it
2985 2005-11-07 Wim Taymans <wim@fluendo.com>
2987 * gst/base/gstbasesrc.c: (gst_base_src_init),
2988 (gst_base_src_get_range):
2989 Set the segment_end to -1 initially. Fixed typefind.
2991 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2993 * gst/base/gstadapter.c:
2994 Debug category should be 'adapter', not 'GstAdapter'.
2996 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2997 (gst_collectpads_class_init), (gst_collectpads_init),
2998 (gst_collectpads_peek), (gst_collectpads_pop),
2999 (gst_collectpads_event), (gst_collectpads_chain):
3000 Add debug category and some debugging output. Use boilerplate
3001 macros. Remove some extraneous words from docs.
3003 2005-11-05 Andy Wingo <wingo@pobox.com>
3005 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3008 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3010 * docs/gst/gstreamer-sections.txt:
3013 * gst/gstminiobject.h:
3018 2005-11-04 Wim Taymans <wim@fluendo.com>
3020 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3021 Small update to stop at the configured segment_end
3024 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3026 * gst/gstregistry.c:
3027 * gst/gstregistry.h:
3030 2005-11-04 Edward Hervey <edward@fluendo.com>
3032 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3033 Check if we are doing a segment seek and have arrived at the
3034 end of that segment.
3036 2005-11-04 Wim Taymans <wim@fluendo.com>
3038 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3039 Don't leak a mutex unlock in case of an error.
3044 2005-11-04 Wim Taymans <wim@fluendo.com>
3046 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3048 Get the context to wake up only once.
3050 2005-11-03 Wim Taymans <wim@fluendo.com>
3052 * check/states/sinks.c: (GST_START_TEST):
3053 Uncomment fixed check.
3055 * docs/design/part-TODO.txt:
3058 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3059 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3060 (gst_base_sink_get_position):
3061 If we are going to PLAYING, post the right pending state
3062 when we post the intermediate paused message.
3064 * gst/gstelement.c: (gst_element_continue_state),
3065 (gst_element_set_state_func), (gst_element_change_state):
3066 Don't post state changes that were between the same state
3069 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3071 * docs/gst/gstreamer-sections.txt:
3074 * gst/gstminiobject.h:
3077 more docs and doc style fixes
3079 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3081 * docs/gst/gstreamer-sections.txt:
3083 * gst/gstminiobject.c:
3086 2005-11-03 Andy Wingo <wingo@pobox.com>
3088 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3089 state-changed messages actually have the right order and the right
3092 2005-11-03 Wim Taymans <wim@fluendo.com>
3094 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3095 Added some more checks. Specifically the case where NO_PREROLL
3096 elements are in the pipeline.
3098 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3099 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3100 (gst_base_sink_get_position):
3101 Post READY->PAUSED state change messages too.
3102 Fix bug where VOID was posted as pending state...
3104 * gst/gstbin.c: (gst_bin_recalc_state):
3105 use _element_continue_state() to continue the state change.
3107 * gst/gstelement.c: (gst_element_continue_state),
3108 (gst_element_commit_state), (gst_element_set_state_func),
3109 (gst_element_change_state), (gst_element_change_state_func):
3110 Lots of state change cleanups, assign the STATE_RETURN in
3111 a new continue_state() function that also propagates the
3112 last return value from a state change to the app.
3113 Update some debug statements with proper category.
3115 2005-11-03 Wim Taymans <wim@fluendo.com>
3117 * docs/design/part-events.txt:
3118 * docs/design/part-gstpipeline.txt:
3119 * docs/design/part-messages.txt:
3120 * docs/design/part-overview.txt:
3121 * docs/design/part-seeking.txt:
3122 * docs/design/part-states.txt:
3123 * docs/design/part-trickmodes.txt:
3124 * docs/manual/advanced-position.xml:
3128 People think !! is ugly, this looks better.
3130 * gst/gstpad.c: (gst_pad_set_blocked_async):
3131 Remove !! since it's fixed elsewhere now.
3133 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3135 * gst/gstminiobject.h:
3137 Add !! to _FLAG_IS_SET macros to make the result boolean.
3139 2005-11-03 Edward Hervey <edward@fluendo.com>
3141 * gst/gstpad.c: (gst_pad_set_blocked_async):
3142 comparing a flag and a gboolean rarely returns coherent results...
3143 Added two characters (!!) to make that work correctly.
3145 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3147 * gst/gstbus.c: (gst_bus_class_init):
3150 * gst/gstqueue.c: (gst_queue_loop):
3151 Don't assume a miniobject that isn't a buffer is an
3152 event (it could be that there is a refcounting
3153 problem somewhere and the pointer is stale and
3154 refers to an already destroyed miniobject).
3156 2005-11-03 Julien MOUTTE <julien@moutte.net>
3158 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3160 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3162 * docs/manual/advanced-position.xml:
3163 Update seek example and explanations to current 0.9 API.
3165 * gst/elements/gsttypefindelement.c:
3166 (gst_type_find_element_activate):
3167 Remove FIXME comment now that the found caps
3170 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3172 * gst/gstregistryxml.c: (load_feature):
3173 Add another GST_STR_NULL instance
3175 2005-11-02 Edward Hervey <edward@fluendo.com>
3177 * gst/gstpad.c: (handle_pad_block):
3178 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3180 2005-11-02 Wim Taymans <wim@fluendo.com>
3185 * gst/gstelement.c: (gst_element_commit_state):
3186 Remove unused value.
3188 * gst/gstiterator.c:
3189 Mention that the returned element is reffed in the docs.
3191 2005-11-02 Wim Taymans <wim@fluendo.com>
3193 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3194 (gst_pad_push), (gst_pad_push_event):
3195 Unlock blocked pads when they are flushed.
3197 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3200 * docs/gst/gstreamer-sections.txt:
3203 * gst/gstregistry.c: (gst_registry_scan_path_level):
3204 fix for a nasty little missed situation where an installed plug-in
3205 which was in the cache did not get overridden by an uninstalled one
3206 which was earlier in the plugin path because the newly created plugin
3207 for the uninstalled one (not in the registry) didn't get its
3208 ->registered set to TRUE
3210 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3212 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3213 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3214 (gst_collectpads_is_active), (gst_collectpads_collect),
3215 (gst_collectpads_collect_range), (gst_collectpads_start),
3216 (gst_collectpads_stop), (gst_collectpads_peek),
3217 (gst_collectpads_pop), (gst_collectpads_available),
3218 (gst_collectpads_read), (gst_collectpads_flush):
3219 Guard public API with assertions.
3222 Fix docs for gst_pad_set_link_function().
3224 2005-11-02 Johan Dahlin <johan@gnome.org>
3226 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3227 Unref found_caps after we used it.
3229 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3231 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3232 Don't try to ref NULL.
3234 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3236 * win32/common/config.h.in:
3237 provide a GST_FUNCTION that just gives a string for now
3239 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3241 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3242 (gst_object_flags_get_type), (register_gst_bin_flags),
3243 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3244 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3245 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3246 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3247 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3248 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3249 (gst_clock_flags_get_type), (register_gst_state),
3250 (gst_state_get_type), (register_gst_state_change_return),
3251 (gst_state_change_return_get_type), (register_gst_state_change),
3252 (gst_state_change_get_type), (register_gst_element_flags),
3253 (gst_element_flags_get_type), (register_gst_core_error),
3254 (gst_core_error_get_type), (register_gst_library_error),
3255 (gst_library_error_get_type), (register_gst_resource_error),
3256 (gst_resource_error_get_type), (register_gst_stream_error),
3257 (gst_stream_error_get_type), (register_gst_event_type),
3258 (gst_event_type_get_type), (register_gst_seek_type),
3259 (gst_seek_type_get_type), (register_gst_seek_flags),
3260 (gst_seek_flags_get_type), (register_gst_format),
3261 (gst_format_get_type), (register_gst_index_certainty),
3262 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3263 (gst_index_entry_type_get_type),
3264 (register_gst_index_lookup_method),
3265 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3266 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3267 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3268 (gst_index_flags_get_type), (register_gst_debug_level),
3269 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3270 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3271 (gst_iterator_result_get_type), (register_gst_iterator_item),
3272 (gst_iterator_item_get_type), (register_gst_message_type),
3273 (gst_message_type_get_type), (register_gst_mini_object_flags),
3274 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3275 (gst_pad_link_return_get_type), (register_gst_flow_return),
3276 (gst_flow_return_get_type), (register_gst_activate_mode),
3277 (gst_activate_mode_get_type), (register_gst_pad_direction),
3278 (gst_pad_direction_get_type), (register_gst_pad_flags),
3279 (gst_pad_flags_get_type), (register_gst_pad_presence),
3280 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3281 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3282 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3283 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3284 (gst_plugin_flags_get_type), (register_gst_rank),
3285 (gst_rank_get_type), (register_gst_query_type),
3286 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3287 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3288 (gst_tag_flag_get_type), (register_gst_task_state),
3289 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3290 (gst_alloc_trace_flags_get_type),
3291 (register_gst_type_find_probability),
3292 (gst_type_find_probability_get_type), (register_gst_uri_type),
3293 (gst_uri_type_get_type), (register_gst_parse_error),
3294 (gst_parse_error_get_type):
3295 * win32/common/gstversion.h:
3298 2005-11-01 Luca Ognibene <luogni@tin.it>
3301 fix docs. popt is dead, long live GOption.
3303 2005-10-31 Wim Taymans <wim@fluendo.com>
3308 2005-10-31 Andy Wingo <wingo@pobox.com>
3312 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3314 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3315 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3316 the possibility of deadlocks here if code calling notify() or
3317 set() has a lock that can be taken in another notify handler (ABBA
3318 with class lock and e.g. python GIL state lock).
3320 2005-10-28 Julien MOUTTE <julien@moutte.net>
3322 * gst/gstbus.c: Doc updates.
3324 2005-10-28 Wim Taymans <wim@fluendo.com>
3326 * docs/design/part-TODO.txt:
3327 * gst/gstiterator.c:
3328 * gst/gstsystemclock.c:
3329 * gst/gstsystemclock.h:
3332 2005-10-28 Edward Hervey <edward@fluendo.com>
3334 * docs/gst/gstreamer-docs.sgml:
3335 * docs/gst/gstreamer-sections.txt:
3336 the GstURIType documentation page is private, it only defines GstURIType
3337 which should be defined in the GstURIHandler page
3339 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3341 * gst/gstbin.c: (gst_bin_class_init):
3344 Documentation updates.
3346 2005-10-28 Wim Taymans <wim@fluendo.com>
3348 * docs/gst/gstreamer-sections.txt:
3351 Documented the clocks.
3353 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3355 * docs/gst/gstreamer-sections.txt:
3356 move some macros to private sections
3357 * gst/gstminiobject.c:
3358 * gst/gstminiobject.h:
3359 add descriptions provided by ds and some more
3361 mark macro as to be removed
3363 2005-10-28 Wim Taymans <wim@fluendo.com>
3365 * docs/design/part-TODO.txt:
3366 Add an item to TODO.
3368 * gst/gstiterator.c: (gst_iterator_fold),
3369 (gst_iterator_find_custom):
3370 * gst/gstiterator.h:
3373 2005-10-28 Wim Taymans <wim@fluendo.com>
3375 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3376 (gst_base_transform_init):
3379 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3380 An EOS event marks the queue as completely filled.
3382 2005-10-27 Wim Taymans <wim@fluendo.com>
3384 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3385 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3386 Some more debugging.
3388 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3389 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3390 (gst_base_transform_event), (gst_base_transform_getrange),
3391 (gst_base_transform_chain):
3392 * gst/base/gstbasetransform.h:
3394 Protect transform and concurrent buffer alloc with a new lock.
3395 Try not to break ABI/API.
3397 2005-10-27 Wim Taymans <wim@fluendo.com>
3399 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3400 (gst_base_src_init), (gst_base_src_query),
3401 (gst_base_src_default_newsegment),
3402 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3403 (gst_base_src_send_event), (gst_base_src_event_handler),
3404 (gst_base_src_pad_get_range), (gst_base_src_loop),
3405 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3406 (gst_base_src_start), (gst_base_src_deactivate),
3407 (gst_base_src_activate_push), (gst_base_src_change_state):
3408 Move some stuff around and cleanup things.
3410 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3412 * gst/base/gstbasesrc.c: (gst_base_src_query):
3413 Add missing break statements.
3415 2005-10-27 Wim Taymans <wim@fluendo.com>
3417 * check/gst/gstbin.c: (GST_START_TEST):
3418 An extra refcount is taken in basesrc.
3420 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3421 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3422 (gst_base_src_loop):
3423 Small cleanups, check for flushing after being unlocked from the
3424 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3425 Don't send out EOS when going to READY.
3427 2005-10-27 Wim Taymans <wim@fluendo.com>
3429 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3430 (gst_base_sink_get_position):
3433 * gst/gstbin.c: (message_check), (bin_replace_message),
3434 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3435 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3436 (bin_query_duration_init), (bin_query_duration_fold),
3437 (bin_query_duration_done), (bin_query_generic_fold),
3439 * tools/gst-launch.c: (main):
3442 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3444 * examples/controller/audio-example.c: (main):
3445 * examples/queue/queue.c: (event_loop):
3446 * gst/base/gstbasetransform.h:
3447 * gst/gstelement.c: (gst_element_send_event):
3449 * gst/gstpad.c: (gst_pad_send_event):
3452 changing log priority in error situations
3454 2005-10-25 Wim Taymans <wim@fluendo.com>
3456 * gst/gstbin.c: (message_check), (bin_replace_message),
3457 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3458 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3459 (bin_query_duration_init), (bin_query_duration_fold),
3460 (bin_query_duration_done), (bin_query_generic_fold),
3462 Some doc and debug updates.
3463 Cache previously requested query DURATION for speed. invalidate
3464 cached duration if element posts a DURATION message.
3466 2005-10-25 Wim Taymans <wim@fluendo.com>
3468 * docs/design/part-TODO.txt:
3471 * gst/gstbin.c: (message_check), (bin_replace_message),
3472 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3473 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3474 (bin_query_duration_init), (bin_query_duration_fold),
3475 (bin_query_duration_done), (bin_query_generic_fold),
3477 Handle SEGMENT_START/DONE messages correctly.
3478 More evolved query algorithm that handles duration queries
3481 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3482 (gst_element_get_state_func), (gst_element_abort_state),
3483 (gst_element_commit_state), (gst_element_lost_state):
3484 Some more debugging.
3489 2005-10-25 Wim Taymans <wim@fluendo.com>
3491 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3492 Don't use invalid stream_time.
3494 * gst/gstevent.c: (gst_event_new_newsegment):
3495 stream_time in newsegment cannot be undefined.
3497 2005-10-24 Wim Taymans <wim@fluendo.com>
3502 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3504 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3506 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3508 * docs/libs/tmpl/gstdparam.sgml:
3509 * docs/libs/tmpl/gstdplinint.sgml:
3510 * docs/libs/tmpl/gstdpman.sgml:
3511 * docs/libs/tmpl/gstdpsmooth.sgml:
3512 * docs/libs/tmpl/gstunitconvert.sgml:
3515 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3520 === release 0.9.4 ===
3522 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3525 releasing 0.9.4, "Tyrannosaurus Rex"
3527 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3529 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3530 (gst_file_sink_get_current_offset):
3531 Use fseeko() and ftello() if available. When falling back on
3532 lseek() to get the current offset, fflush() first to make sure
3533 everything is up-to-date and we get the right offset.
3535 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3538 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3539 * gst/gsterror.c: (_gst_stream_errors_init):
3541 * gst/gstqueue.c: (gst_queue_loop):
3543 remove prematurely added error category and clean up the instances
3545 2005-10-21 Wim Taymans <wim@fluendo.com>
3547 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3548 (gst_base_sink_get_position), (gst_base_sink_query),
3549 (gst_base_sink_change_state):
3550 Simply set the right flag when going to playing, that's all
3551 we need to do instead of calling a function inside the object
3552 lock (that could take the lock as well and deadlock)
3554 2005-10-21 Wim Taymans <wim@fluendo.com>
3556 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3557 (gst_base_src_loop):
3558 Don't warn, the peer element knows what to do best when
3559 the seek failed, it might try something else.
3561 2005-10-21 Wim Taymans <wim@fluendo.com>
3563 * gst/base/gstbasesrc.c: (gst_base_src_init),
3564 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3567 2005-10-21 Wim Taymans <wim@fluendo.com>
3569 * docs/design/part-segments.txt:
3572 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3573 Correctly set caps, even on the subbufer.
3575 2005-10-21 Wim Taymans <wim@fluendo.com>
3577 * docs/gst/gstreamer-docs.sgml:
3578 * docs/gst/gstreamer-sections.txt:
3585 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3589 And 2% more doc coverage.
3591 2005-10-21 Andy Wingo <wingo@pobox.com>
3593 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3596 2005-10-20 Wim Taymans <wim@fluendo.com>
3598 * gst/gsterror.c: (gst_error_get_message):
3601 * gst/gststructure.c:
3606 2005-10-20 Wim Taymans <wim@fluendo.com>
3611 Another 1% more coverage.
3613 2005-10-20 Wim Taymans <wim@fluendo.com>
3615 * docs/gst/gstreamer-sections.txt:
3616 * gst/gstelement.c: (gst_element_get_state_func),
3617 (gst_element_abort_state), (gst_element_commit_state),
3618 (gst_element_lost_state):
3620 * gst/gstquery.c: (gst_query_set_position),
3621 (gst_query_parse_position), (gst_query_set_duration),
3622 (gst_query_parse_duration), (gst_query_new_convert):
3624 Yay! 1% more docs coverage.
3626 2005-10-20 Wim Taymans <wim@fluendo.com>
3629 * gst/gstquery.c: (gst_query_set_position),
3630 (gst_query_parse_position), (gst_query_set_duration),
3631 (gst_query_parse_duration), (gst_query_new_convert):
3633 * gst/gstutils.c: (gst_element_query_convert):
3635 Docs and consistency fixes.
3637 2005-10-20 Wim Taymans <wim@fluendo.com>
3643 2005-10-20 Wim Taymans <wim@fluendo.com>
3645 * gst/gstbin.c: (message_check), (bin_replace_message),
3646 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3647 (update_degree), (gst_bin_sort_iterator_next),
3648 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3649 Reworked the message handling a bit, cache the messages instead of
3650 only the senders. alows us to do more in the future.
3652 2005-10-20 Wim Taymans <wim@fluendo.com>
3654 * docs/design/part-TODO.txt:
3657 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3658 (gst_base_sink_query):
3659 Don't use clock time to report position when in EOS.
3661 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3663 * tools/gst-inspect.c: (print_interfaces),
3664 (print_element_properties_info), (print_element_info):
3665 Fix interface output with gst-inspect -a; don't print
3666 newlines after double/float properties.
3668 2005-10-20 Wim Taymans <wim@fluendo.com>
3670 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3671 (gst_base_sink_query):
3672 Speed up current position calculation.
3674 * gst/base/gstbasesrc.c: (gst_base_src_query),
3675 (gst_base_src_default_newsegment):
3676 Correctly set stream position in newsegment.
3678 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3679 (update_degree), (gst_bin_sort_iterator_next),
3680 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3681 * gst/gstmessage.c: (gst_message_new_custom):
3682 Clean up debugging info
3684 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3685 (gst_queue_loop), (gst_queue_handle_src_query):
3688 2005-10-19 Wim Taymans <wim@fluendo.com>
3690 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3691 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3692 Fix query handling again.
3694 2005-10-19 Wim Taymans <wim@fluendo.com>
3696 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3697 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3698 * gst/base/gstbasesrc.c: (gst_base_src_query):
3699 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3700 * gst/elements/gsttypefindelement.c:
3701 (gst_type_find_handle_src_query), (find_element_get_length),
3702 (gst_type_find_element_activate):
3705 * gst/gstquery.c: (gst_query_new_position),
3706 (gst_query_set_position), (gst_query_parse_position),
3707 (gst_query_new_duration), (gst_query_set_duration),
3708 (gst_query_parse_duration), (gst_query_set_segment),
3709 (gst_query_parse_segment):
3711 Bundling query position/duration is not a good idea since duration
3712 does not change much and we don't want to recalculate it for every
3713 position query, so they are separated again..
3714 Base value in segment query is not needed.
3716 * gst/gstqueue.c: (gst_queue_handle_src_query):
3717 * gst/gstutils.c: (gst_element_query_position),
3718 (gst_element_query_duration), (gst_pad_query_position),
3719 (gst_pad_query_duration):
3721 Updates for query API change.
3722 Added some docs here and there.
3724 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3726 * check/gst/gstbin.c: (GST_START_TEST):
3727 * check/gst/gstghostpad.c: (GST_START_TEST):
3728 * check/pipelines/cleanup.c: (GST_START_TEST):
3729 wait on thread to die so we can check refcount correctly
3731 2005-10-18 Wim Taymans <wim@fluendo.com>
3733 * check/pipelines/stress.c: (GST_START_TEST):
3734 Make check a little more time consuming.
3736 2005-10-18 Wim Taymans <wim@fluendo.com>
3738 * check/Makefile.am:
3739 * check/pipelines/stress.c: (GST_START_TEST),
3740 (simple_launch_lines_suite), (main):
3741 Small state change torture test.
3743 * docs/design/part-states.txt:
3744 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3745 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3746 (gst_base_sink_change_state):
3747 Never take state lock from streaming thread, clean up ugly
3748 hacks. Unfortunatly core does not yet support nice ways to
3751 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3753 Start state recalc if a STATE_DIRTY message is posted, but only
3754 on the toplevel bin.
3756 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3757 (gst_element_get_state_func), (gst_element_abort_state),
3758 (gst_element_commit_state), (gst_element_lost_state),
3759 (gst_element_set_state_func), (gst_element_change_state):
3761 State variables are now protected with the LOCK, the state
3762 lock is only used to serialize _set_state().
3764 2005-10-18 Wim Taymans <wim@fluendo.com>
3766 * check/gst/gstbin.c: (GST_START_TEST):
3767 * check/gst/gstmessage.c: (GST_START_TEST):
3768 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3769 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3771 * gst/gstelement.c: (gst_element_abort_state),
3772 (gst_element_commit_state), (gst_element_lost_state):
3773 * gst/gstmessage.c: (gst_message_new_state_changed),
3774 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3775 (gst_message_new_segment_done), (gst_message_new_duration),
3776 (gst_message_parse_state_changed),
3777 (gst_message_parse_segment_start),
3778 (gst_message_parse_segment_done), (gst_message_parse_duration):
3780 * tools/gst-launch.c: (event_loop):
3781 Seriously, this is better than a previous commit as we only need
3782 to notify the fact that an element changed state in a streaming
3783 thread, marking the state of the parents dirty, hence the
3784 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3787 2005-10-18 Wim Taymans <wim@fluendo.com>
3789 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3790 (gst_bin_recalc_func):
3791 * gst/gstelement.c: (gst_element_set_clock),
3792 (gst_element_abort_state), (gst_element_lost_state):
3793 Cleanups, prepare for state change fixes.
3795 2005-10-18 Wim Taymans <wim@fluendo.com>
3798 * gst/gstelement.c: (gst_element_class_init),
3799 (gst_element_set_state), (gst_element_set_state_func):
3801 Pending ABI changes.
3802 GThreadPool in GstBinClass to monitor async state changes.
3803 state_cookie in GstElement to detect concurrent gst/set state.
3804 set_state is now virtual too in case a very complicated element
3805 has to be constructed.
3807 2005-10-18 Wim Taymans <wim@fluendo.com>
3809 * check/gst/gstbin.c: (GST_START_TEST):
3810 * check/gst/gstmessage.c: (GST_START_TEST):
3811 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3812 * gst/gstbin.c: (bin_bus_handler):
3813 * gst/gstelement.c: (gst_element_commit_state),
3814 (gst_element_lost_state):
3815 * gst/gstmessage.c: (gst_message_new_state_changed),
3816 (gst_message_new_segment_start), (gst_message_new_segment_done),
3817 (gst_message_new_duration), (gst_message_parse_state_changed),
3818 (gst_message_parse_segment_start),
3819 (gst_message_parse_segment_done), (gst_message_parse_duration):
3821 * tools/gst-launch.c: (event_loop):
3822 Make messages future proof.
3823 state-change gets a flag if it was a message comming from the
3825 segment-start/stop can also be specified in other formats.
3826 A message to notify an app that a pipeline changed playback
3828 Also fix a GstMessage leak in -launch
3830 2005-10-18 Andy Wingo <wingo@pobox.com>
3832 * gst/gstelement.c (gst_element_dispose): More helpful message.
3834 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3836 reviewed by: <delete if not using a buddy>
3838 * common/gtk-doc.mak:
3840 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3842 * gst/gstregistry.c: (gst_registry_scan_path_level):
3843 unref a plug-in we get that was already initialized
3845 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3847 * docs/gst/gstreamer-sections.txt:
3848 * docs/libs/gstreamer-libs-sections.txt:
3853 2005-10-17 Andy Wingo <wingo@pobox.com>
3855 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3858 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3860 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3862 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3863 (gst_element_get_state_func): Better debug message.
3864 (gst_element_commit_state): s/INFO/DEBUG/.
3865 (gst_element_lost_state, gst_element_change_state):
3867 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3868 (gst_message_new_custom): s/INFO/LOG/.
3870 2005-10-17 Michael Smith <msmith@fluendo.com>
3872 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3873 Check if end time is valid using end time, not start time.
3875 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3877 * check/gst-libs/controller.c: (GST_START_TEST),
3878 (gst_controller_suite):
3879 * libs/gst/controller/gstcontroller.c:
3880 (gst_controlled_property_set_interpolation_mode):
3881 * libs/gst/controller/gstcontroller.h:
3882 * libs/gst/controller/gstinterpolation.c:
3883 * testsuite/controller/.cvsignore:
3884 * testsuite/controller/Makefile.am:
3885 * testsuite/controller/interpolator.c:
3886 merge controller testsuites
3888 remove mem-chunk from docs
3890 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3892 * gst/gstmemchunk.c:
3893 * gst/gstmemchunk.h:
3894 * gst/gsttrashstack.c:
3895 * gst/gsttrashstack.h:
3896 out. get out. you're fired. to the Attic !
3898 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3900 * gst/gstcaps.c: (gst_caps_intersect):
3901 fix signedness issues in a (hopefully) correct way
3902 * gst/gstelement.c: (gst_element_pads_activate):
3904 * gst/gstobject.c: (gst_object_set_parent):
3907 2005-10-17 Julien MOUTTE <julien@moutte.net>
3909 * gst/gstvalue.h: Fix prototypes.
3911 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3913 * docs/gst/gstreamer-sections.txt:
3914 * gst/gst.c: (gst_version_string):
3916 * gst/gstversion.h.in:
3917 * win32/common/libgstreamer.def:
3918 add gst_version_string ()
3920 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3924 * gst/gst.c: (init_post):
3925 * win32/common/config.h.in:
3927 * gst/gstcaps.c: (gst_caps_intersect):
3928 use gint64, the range could be bigger than a guint
3930 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3933 document potential problem in 2038
3935 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3937 * gst/gstcaps.c: (gst_caps_intersect):
3938 Fix guint j diving under 0
3940 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3943 * win32/common/config.h:
3944 * win32/common/config.h.in:
3945 check for process.h, declares getpid() on Windows
3947 include process.h if we have it
3948 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3949 * gst/gstmemchunk.h:
3950 fix signedness issues
3951 * win32/common/libgstreamer.def:
3954 2005-10-16 Julien MOUTTE <julien@moutte.net>
3956 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3957 fix. Because of unsigned ints, caps intersection was going nuts and
3958 trying to access structures with G_MAXUINT index. That fixes
3959 videotestsrc ! ffmpegcolorspace ! fakesink
3960 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3963 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3966 use the gettext macro
3967 * gst/elements/gstelements.c:
3969 * gst/indexers/gstindexers.c:
3970 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3971 * win32/common/config.h:
3973 * win32/common/config.h.in:
3974 add the template to generate config.h
3975 * win32/common/gstenumtypes.c:
3976 * win32/common/gstversion.h:
3979 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3981 * gst/gst.c: (gst_version):
3982 * gst/gstversion.h.in:
3985 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3988 Oops, add missing closing bracket.
3990 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3993 use common m4's for argument checking
3995 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3997 * docs/gst/gstreamer-sections.txt:
3999 Add GST_EVENT_TYPE_NAME() macro.
4001 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4004 * gst/gstpluginfeature.c:
4006 privatize more symbols
4008 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4011 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4012 everything that uses GStreamer API should have the includes
4014 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4016 * docs/gst/gstreamer-sections.txt:
4017 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4019 give each value a _get_type, removes the DATA exports
4021 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4025 remove _gst_registry_auto_load, not used anymore
4026 * gst/gstbin.c: (gst_bin_get_type):
4028 * gst/gstelement.c: (gst_element_get_type):
4030 * gst/gstobject.c: (gst_object_get_type):
4032 * gst/gstpad.c: (gst_pad_get_type):
4034 make _get_type functions similar, fixes data export from library
4036 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4039 correctly make conditionals
4040 * gst/elements/Makefile.am:
4041 * gst/elements/gstelements.c:
4042 fix typo causing fdsrc not to build
4044 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4046 * testsuite/Makefile.am:
4047 * testsuite/bytestream/.cvsignore:
4048 * testsuite/bytestream/Makefile.am:
4049 * testsuite/bytestream/filepadsink.c:
4050 * testsuite/bytestream/gstbstest.c:
4051 * testsuite/bytestream/test1.c:
4052 * testsuite/bytestream/testfile1:
4053 * testsuite/caps/normalisation.c:
4054 * testsuite/caps/random.c: (main):
4055 * testsuite/cleanup/.cvsignore:
4056 * testsuite/cleanup/Makefile.am:
4057 * testsuite/cleanup/cleanup1.c:
4058 * testsuite/cleanup/cleanup2.c:
4059 * testsuite/cleanup/cleanup3.c:
4060 * testsuite/cleanup/cleanup4.c:
4061 * testsuite/cleanup/cleanup5.c:
4062 * testsuite/controller/interpolator.c:
4063 * testsuite/debug/printf_extension.c: (main):
4064 * testsuite/elements/tee.c:
4065 * testsuite/negotiation/.cvsignore:
4066 * testsuite/negotiation/Makefile.am:
4067 * testsuite/negotiation/pad_link.c:
4068 * testsuite/pad/Makefile.am:
4069 * testsuite/pad/chainnopull.c:
4070 * testsuite/pad/getnopush.c:
4071 * testsuite/pad/link.c:
4072 * testsuite/refcounting/sched.c: (create_pipeline):
4073 * testsuite/registry/Makefile.am:
4074 * testsuite/registry/gst-print-formats.c:
4075 * testsuite/schedulers/.cvsignore:
4076 * testsuite/schedulers/142183-2.c:
4077 * testsuite/schedulers/142183.c:
4078 * testsuite/schedulers/143777-2.c:
4079 * testsuite/schedulers/143777.c:
4080 * testsuite/schedulers/147713.c:
4081 * testsuite/schedulers/147819.c:
4082 * testsuite/schedulers/147894-2.c:
4083 * testsuite/schedulers/147894.c:
4084 * testsuite/schedulers/Makefile.am:
4085 * testsuite/schedulers/group_link.c:
4086 * testsuite/schedulers/queue_link.c:
4087 * testsuite/schedulers/relink.c:
4088 * testsuite/schedulers/unlink.c:
4089 * testsuite/schedulers/unref.c:
4090 * testsuite/schedulers/useless_iteration.c:
4091 * testsuite/states/bin.c:
4092 clean out/remove some stuff from the testsuite directories
4094 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4097 check for some headers
4098 * gst/elements/Makefile.am:
4099 * gst/elements/gstelements.c:
4100 don't compile fdsrc without sys/socket.h
4101 * gst/indexers/Makefile.am:
4102 * gst/indexers/gstindexers.c: (plugin_init):
4103 don't compile fileindex without mmap
4105 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4112 * check/Makefile.am:
4113 * docs/gst/Makefile.am:
4114 * examples/helloworld/Makefile.am:
4116 * gst/base/Makefile.am:
4117 * gst/check/Makefile.am:
4118 * gst/elements/Makefile.am:
4119 * gst/indexers/Makefile.am:
4120 * gst/parse/Makefile.am:
4121 * libs/gst/controller/Makefile.am:
4122 * libs/gst/dataprotocol/Makefile.am:
4123 * examples/helloworld/helloworld.c: (event_loop):
4124 compile fixes, though it's not being compiled currently
4126 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4128 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4129 Add some simple tests for the new taglist date API.
4131 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4133 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4134 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4135 Beautify 'last-message' output: print 'none' for buffer timestamps
4136 and durations if none is set; improve alignment with next messages.
4138 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4140 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4141 * gst/gstpluginfeature.h:
4142 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4143 * gst/gstregistry.h:
4144 * docs/gst/gstreamer-sections.txt:
4145 Add new API to check plugin feature version requirements.
4147 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4148 Some basic tests for the above.
4150 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4152 * gst/gststructure.c: (gst_structure_to_string):
4153 guard against NULL printf - happens when for example
4154 a message structure with GstClock gets serialized
4156 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4158 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4159 Fix presumable copy'n'pasto.
4161 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4163 * gst/elements/gstfakesrc.h:
4164 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4165 * gst/elements/gsttypefindelement.c:
4167 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4168 I wonder if this could actually write +2GB files before
4170 2005-10-13 Andy Wingo <wingo@pobox.com>
4172 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4173 Fix Timmeke Waymans bug.
4174 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4175 string of the proper length to gst_caps_from_string. There's a
4176 potential for, before this fix, that this could cause someone
4177 connecting over the network to cause a segfault if the payload is
4180 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4182 * docs/design/draft-push-pull.txt:
4183 * docs/design/part-overview.txt:
4184 * docs/random/TODO-pre-0.9:
4185 * docs/random/old/ChangeLog.gstreamer:
4186 * gst/base/gstpushsrc.c:
4190 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4192 * gst/glib-compat.c: (gst_flags_get_first_value):
4193 * gst/glib-compat.h:
4194 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4195 (gst_value_compare_double), (gst_value_serialize_flags):
4196 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4199 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4202 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4204 * tools/gst-launch.c: (event_loop):
4205 print out clock nicely
4207 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4209 * docs/gst/gstreamer-sections.txt:
4211 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4212 (gst_tag_list_get_date_index):
4213 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4214 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4216 2005-10-13 Julien MOUTTE <julien@moutte.net>
4218 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4219 (gst_collectpads_chain):
4220 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4223 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4225 * docs/gst/gstreamer-sections.txt:
4228 * tools/gst-inspect.c: (main):
4229 * tools/gst-launch.c: (main):
4230 * tools/gst-run.c: (main):
4231 * tools/gst-xmlinspect.c: (main):
4232 fix GOption context leaks
4235 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4239 * win32/common/config.h:
4241 * win32/vs6/grammar.dsp:
4242 * win32/vs6/libgstelements.dsp:
4243 * win32/vs6/libgstreamer.dsp:
4246 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4248 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4249 * gst/base/gstbasesrc.c: (gst_base_src_query):
4250 fix more guint64<->gdouble conversions
4252 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4255 add win32-update target
4256 * win32/common/gstconfig.h:
4257 * win32/common/gstenumtypes.c:
4258 * win32/common/gstenumtypes.h:
4259 * win32/common/gstversion.h:
4260 add files that visual studio can't generate
4262 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4265 add a win32-update target
4268 2005-10-12 Wim Taymans <wim@fluendo.com>
4270 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4271 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4272 * gst/gstelement.c: (gst_element_commit_state),
4273 (gst_element_set_state):
4274 Protect flags with proper lock.
4275 unref provided cached clock in dispose.
4277 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4280 * gst/gstminiobject.h:
4282 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4283 removed unused flags from miniobject
4286 2005-10-12 Wim Taymans <wim@fluendo.com>
4288 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4289 (gst_file_sink_event), (gst_file_sink_render):
4290 Flush before seeking.
4292 2005-10-12 Andy Wingo <wingo@pobox.com>
4294 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4295 always been the case.
4297 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4299 * check/gst/gstbin.c: (GST_START_TEST):
4300 * docs/gst/gstreamer-sections.txt:
4301 * gst/base/gstbasesink.c: (gst_base_sink_init):
4302 * gst/base/gstbasesrc.c: (gst_base_src_init),
4303 (gst_base_src_get_range), (gst_base_src_check_get_range),
4304 (gst_base_src_start), (gst_base_src_stop):
4305 * gst/base/gstbasesrc.h:
4306 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4307 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4308 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4312 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4314 * gst/gstelement.c: (gst_element_is_locked_state),
4315 (gst_element_set_locked_state), (gst_element_commit_state),
4316 (gst_element_set_state):
4318 * gst/gstindex.c: (gst_index_init):
4320 * gst/gstminiobject.h:
4321 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4322 (gst_object_set_parent):
4324 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4325 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4327 * gst/gstpadtemplate.h:
4328 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4329 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4330 * gst/gstpipeline.h:
4331 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4332 (gst_file_index_commit):
4333 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4334 * testsuite/pad/link.c: (gst_test_src_init),
4335 (gst_test_filter_init), (gst_test_sink_init):
4336 * testsuite/states/locked.c: (main):
4337 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4338 moved bitshift from macro to enum definition
4340 2005-10-12 Wim Taymans <wim@fluendo.com>
4342 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4343 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4344 (gst_file_sink_render):
4345 Some more debugging info.
4347 2005-10-12 Wim Taymans <wim@fluendo.com>
4349 * docs/design/part-states.txt:
4350 * tools/gst-launch.c: (main):
4352 Revert non-intentional change.
4354 2005-10-12 Wim Taymans <wim@fluendo.com>
4356 * check/gst/gstbin.c: (GST_START_TEST):
4357 * check/gst/gstelement.c: (GST_START_TEST):
4358 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4359 * check/gst/gstghostpad.c: (GST_START_TEST):
4360 * check/gst/gstpipeline.c: (GST_START_TEST):
4361 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4362 * check/states/sinks.c: (GST_START_TEST):
4363 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4364 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4365 (gst_bin_remove_func), (gst_bin_get_state_func),
4366 (gst_bin_recalc_state), (gst_bin_change_state_func),
4368 * gst/gstelement.c: (gst_element_get_state_func),
4369 (gst_element_get_state), (gst_element_abort_state),
4370 (gst_element_commit_state), (gst_element_set_state),
4371 (gst_element_change_state), (gst_element_change_state_func):
4373 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4374 (gst_pipeline_provide_clock_func):
4375 * gst/gstutils.c: (gst_element_link_pads_filtered):
4376 * tools/gst-launch.c: (main):
4377 * tools/gst-typefind.c: (main):
4378 Use GstClockTime in _get_state() instead of GTimeVal.
4379 Remove old code in gstutils.c
4381 2005-10-12 Andy Wingo <wingo@pobox.com>
4383 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4386 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4387 there is no task. Shouldn't affect any code, as nothing in our
4388 plugins checks this return value.
4389 (gst_pad_stop_task): Also take the stream lock if the pad has no
4392 2005-10-12 Wim Taymans <wim@fluendo.com>
4394 * gst/gstpad.c: (pre_activate), (post_activate),
4395 (gst_pad_activate_pull), (gst_pad_activate_push):
4396 Cleanup activation code. Reset old state if
4399 2005-10-12 Wim Taymans <wim@fluendo.com>
4401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4402 (gst_base_sink_change_state):
4403 No need to prerol after receiving EOS.
4405 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4406 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4407 * gst/elements/gstidentity.c: (gst_identity_event):
4408 Print events more verbosely.
4410 2005-10-12 Wim Taymans <wim@fluendo.com>
4412 * check/Makefile.am:
4413 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4414 * check/states/sinks2.c:
4415 Moved sinks2 testcode in sinks check.
4417 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4418 (gst_bin_remove_func), (gst_bin_recalc_state),
4419 (gst_bin_change_state_func), (bin_bus_handler):
4420 Fix potential race condition when _get_state() iterated over an
4421 ASYNC element right before it posted a state completion.
4424 Do proper cast here.
4426 * gst/gstevent.c: (gst_event_new_newsegment),
4427 (gst_event_parse_newsegment):
4428 A playback rate of 0.0 is not allowed.
4430 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4432 * win32/common/config.h:
4433 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4434 (_trewinddir), (_ttelldir), (_tseekdir):
4435 * win32/common/dirent.h:
4436 * win32/common/gtchar.h:
4437 * win32/common/libgstbase.def:
4438 * win32/common/libgstreamer.def:
4439 * win32/vs6/grammar.dsp:
4440 * win32/vs6/gst_inspect.dsp:
4441 * win32/vs6/gst_launch.dsp:
4442 * win32/vs6/gstreamer.dsw:
4443 * win32/vs6/libgstbase.dsp:
4444 * win32/vs6/libgstelements.dsp:
4445 * win32/vs6/libgstreamer.dsp:
4446 Visual Studio 6 project files, and a new common directory.
4449 2005-10-11 Wim Taymans <wim@fluendo.com>
4451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4452 (gst_base_sink_do_sync), (gst_base_sink_query),
4453 (gst_base_sink_change_state):
4454 * gst/base/gstbasesink.h:
4455 Correctly parse newsegment info.
4457 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4459 * gst/gst.c: (init_post):
4460 split plugin paths correctly
4462 2005-10-11 Wim Taymans <wim@fluendo.com>
4464 * check/gst/gstevent.c: (GST_START_TEST):
4465 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4466 (gst_base_sink_change_state):
4467 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4468 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4469 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4470 * gst/gstevent.c: (gst_event_new_newsegment),
4471 (gst_event_parse_newsegment):
4473 Added extra flag to newsegment for future API freeze.
4474 Updated check and base elements.
4476 2005-10-11 Julien MOUTTE <julien@moutte.net>
4478 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4479 (gst_collectpads_add_pad), (gst_collectpads_pop),
4480 (gst_collectpads_event), (gst_collectpads_chain):
4481 * gst/base/gstcollectpads.h: Handle EOS correctly.
4483 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4485 * tools/gst-launch.c: (main):
4486 more null protecting
4488 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4490 * gst/gst-i18n-lib.h:
4491 check for ENABLE_NLS, not GETTEXT_PACKAGE
4492 * gst/gstregistry.c: (gst_registry_add_plugin),
4493 (gst_registry_scan_path_level),
4494 (_gst_registry_remove_cache_plugins):
4495 protect possibly NULL strings
4496 * gst/parse/types.h:
4497 config.h already included before
4498 * tools/gst-inspect.c: (main):
4499 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4500 check for ENABLE_NLS, not GETTEXT_PACKAGE
4501 * tools/gst-launch.c: (main):
4502 check for ENABLE_NLS, not GETTEXT_PACKAGE
4504 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4507 if we don't have glib, fail before testing 2.8
4508 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4509 fix a leak, should fix plugins-base testsuite
4511 2005-10-11 Andy Wingo <wingo@pobox.com>
4513 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4514 take the mode we're going to as an arg. Go head and set the mode
4515 and flushing flags now, so that if the activate function starts a
4516 thread all the flags will be in the right state.
4517 (post_activate): Renamed also. Just handle making sure streaming
4518 finishes for the deactivation case, and setting the deactivated
4520 (gst_pad_set_active): Complain loudly if deactivation fails.
4521 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4522 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4523 remove the terrible hack.
4525 2005-10-11 Wim Taymans <wim@fluendo.com>
4527 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4528 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4529 (gst_bin_recalc_state), (gst_bin_change_state_func),
4530 (gst_bin_dispose), (bin_bus_handler):
4532 Prepare to make current EOS message queue more generic.
4535 * gst/gstevent.c: (gst_event_new_newsegment),
4536 (gst_event_parse_newsegment):
4538 Rename base to stream_time.
4543 2005-10-11 Wim Taymans <wim@fluendo.com>
4545 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4546 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4547 (gst_bin_change_state_func), (bin_bus_handler):
4549 Work on proper clock selection.
4551 2005-10-11 Edward Hervey <edward@fluendo.com>
4553 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4554 * libs/gst/controller/gstcontroller.h:
4555 Added GList* version of _remove_properties() in order to be able to wrap
4558 2005-10-11 Wim Taymans <wim@fluendo.com>
4560 * docs/design/part-states.txt:
4563 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4564 (gst_bin_change_state_func), (bin_bus_handler):
4565 Doc updates. Don't distribute the same clock over and over again.
4571 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4572 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4573 (gst_pad_send_event):
4575 Make probe emission threadsafe again.
4576 Register quarks and move _get_name() from utils.
4579 * gst/gstpipeline.c: (gst_pipeline_class_init),
4580 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4581 Only redistribute the clock of it changed.
4583 * gst/gstsystemclock.h:
4588 Moved the _flow_get_name() to GstPad.
4590 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4592 * check/gst-libs/gdp.c: (GST_START_TEST):
4593 * check/gst/gstcaps.c: (GST_START_TEST):
4594 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4595 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4596 (gst_dp_packet_from_caps):
4597 fix more valgrind warnings before turning up the heat
4599 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4601 * gst/parse/grammar.y:
4602 some cleanup before the hacking
4604 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4606 * gst/base/gstbasesrc.c: (gst_base_src_query):
4608 * gst/gstutils.c: (gst_guint64_to_gdouble),
4609 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4611 externalize, basesrc uses it
4612 obviously the implementation needs testing
4614 2005-10-10 Wim Taymans <wim@fluendo.com>
4616 * tests/sched/Makefile.am:
4617 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4618 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4620 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4622 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4623 apparently converting from guint64 to double is not implemented
4626 2005-10-10 Wim Taymans <wim@fluendo.com>
4628 * check/Makefile.am:
4629 * check/generic/states.c: (GST_START_TEST):
4630 * check/gst/gstbin.c: (GST_START_TEST):
4631 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4632 * check/states/sinks.c: (GST_START_TEST):
4633 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4635 Check fixes, use API as stated in design docs, remove hacks.
4637 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4638 (gst_base_sink_change_state):
4639 Catch stopping our task while we're shutting down.
4641 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4642 (gst_bin_remove_func), (gst_bin_get_state_func),
4643 (gst_bin_recalc_state), (gst_bin_change_state_func),
4646 * gst/gstelement.c: (gst_element_init),
4647 (gst_element_get_state_func), (gst_element_abort_state),
4648 (gst_element_commit_state), (gst_element_lost_state),
4649 (gst_element_set_state), (gst_element_change_state),
4650 (gst_element_change_state_func):
4652 New state change algorithm (see #318116)
4654 * gst/gstpipeline.c: (gst_pipeline_class_init),
4655 (gst_pipeline_init), (gst_pipeline_set_property),
4656 (gst_pipeline_get_property), (do_pipeline_seek),
4657 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4658 * gst/gstpipeline.h:
4659 Remove crude state change hacks.
4664 * tools/gst-launch.c: (main):
4665 Fixes for state change. Needs some more work to fully use the
4668 2005-10-10 Andy Wingo <wingo@pobox.com>
4670 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4672 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4673 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4676 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4678 * gst/gstiterator.c: (gst_iterator_new):
4679 Fix my previous commit: GTypes passed to gst_iterator_new()
4680 can be fundamental types.
4682 2005-10-10 Wim Taymans <wim@fluendo.com>
4684 * gst/gstelement.c: (gst_element_iterate_pad_list),
4685 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4686 (gst_element_iterate_sink_pads):
4687 Use src/sink pads lists for the respective iterators instead
4690 2005-10-10 Andy Wingo <wingo@pobox.com>
4692 Merged in popt removal + GOption addition patch from Ronald, bug
4695 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4696 GstElement macros around, remove popt-related symbols, add goption
4699 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4701 * docs/gst/Makefile.am:
4702 * docs/libs/Makefile.am: No POPT_CFLAGS.
4704 * examples/manual/Makefile.am:
4705 * docs/manual/basics-init.xml: Doc updates with an example.
4707 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4708 (gst_init), (parse_one_option), (parse_goption_arg):
4709 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4710 bit of hand merging and debugging to get the GOption stuff working
4713 * tests/Makefile.am:
4714 * tools/Makefile.am:
4715 * tools/gst-inspect.c: (main):
4716 * tools/gst-launch.c: (main):
4717 * tools/gst-run.c: (main):
4718 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4720 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4722 * gst/gstiterator.c: (gst_iterator_new):
4723 Add assertions to make sure passed GType is likely to really
4724 be a GType (as the compiler won't catch it if the size and
4725 GType arguments get mixed up, see #318447).
4727 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4729 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4731 * gst/gstbin.c: (gst_bin_iterate_sorted):
4732 Pass GType and size arguments to gst_iterator_new() in the right
4733 order (maybe we should make _new() take the GType as first argument
4734 just like _new_list()?) (#318447).
4737 2005-10-10 Wim Taymans <wim@fluendo.com>
4739 * gst/gstelement.c: (gst_element_finalize):
4740 And free the GStaticRecMutex too
4742 2005-10-10 Andy Wingo <wingo@pobox.com>
4744 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4745 Allocate and free the mutex properly.
4747 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4749 (GstElement): The state_lock is now recursive. Rebuild your
4750 plugins, suckers. Old macros adapted.
4752 * docs/gst/gstreamer-sections.txt: Doc updates.
4755 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4756 (g_static_rec_cond_wait): Ported from state changes patch, while
4757 we wait on bug #317802 to be solved in a well-distributed GLib.
4759 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4760 gst_element_change_state, variable name changes.
4761 (gst_element_change_state): Split out of gst_element_set_state in
4762 preparation for the state change merge. Doesn't pay attention to
4763 the 'transition' argument.
4764 (gst_element_set_state): Updates, hopefully purely cosmetic.
4765 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4767 (gst_element_get_state_func): Renamed from get_state, cosmetic
4770 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4772 * gst/elements/gstelements.c:
4773 * win32/GStreamer.vcproj:
4775 * win32/dirent.c: (_tseekdir):
4776 * win32/gst-inspect.vcproj:
4777 * win32/gst-launch.vcproj:
4778 * win32/gstconfig.h:
4779 * win32/gstelements.vcproj:
4780 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4781 * win32/gstreamer.def:
4783 updates for the win32 build (patch from Sebastien Moutte)
4785 2005-10-10 Andy Wingo <wingo@pobox.com>
4787 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4788 gst_bin_get_state, cleaned up (but no logic changes).
4789 (bin_element_is_sink): Comment updates.
4790 (sink_iterator_filter): Remove needless cast.
4791 (gst_bin_iterate_sinks): Doc update.
4792 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4793 cleaned up (but no logic changes).
4795 * check/states/sinks.c (test_src_sink): Cleanups from the state
4797 (test_livesrc_sink): Sync on the state.
4799 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4800 the state change patch.
4802 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4805 * check/gst/gstbin.c: Merge in some style fixes and additional
4806 checks from Wim's state change patch.
4808 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4810 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4811 (gst_type_find_helper):
4812 Check whether we have the requested data already in our list of
4813 cached buffers before pulling a new buffer; also make the buffer
4814 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4816 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4821 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4822 don't use long long, it's not portable. Replacing with
4823 gint64 seems to work; let's hope no skeletons fall out of the closet.
4825 2005-10-10 Andy Wingo <wingo@pobox.com>
4827 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4829 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4831 * docs/gst/gstreamer-sections.txt:
4836 * gst/gstmessage.c: (gst_message_parse_state_changed):
4839 more docs, fix compilation
4841 2005-10-09 Philippe Khalaf <burger@speedy.org>
4843 Fixed a few forgotten variables on previous commit
4845 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4847 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4848 Fix evil typefind crasher: getrange() might return a short
4849 buffer at the end of a file, but gst_type_find_peek() must
4850 either return the full data as requested or NULL, but
4851 never a short buffer.
4853 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4855 * gst/gstmessage.c: (gst_message_new_state_changed),
4856 (gst_message_parse_state_changed):
4858 don't use "new", it's a C++ keyword
4860 2005-10-08 Wim Taymans <wim@fluendo.com>
4862 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4863 * gst/gstelement.c: (gst_element_post_message):
4864 * gst/gstpipeline.c: (gst_pipeline_change_state):
4865 Small docs and debug updates.
4867 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4869 * docs/gst/gstreamer-sections.txt:
4870 * gst/gstelementfactory.c:
4875 2005-10-08 Wim Taymans <wim@fluendo.com>
4877 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4878 (gst_bin_dispose), (bin_bus_handler):
4879 Fix typos, add comments.
4880 Clear EOS list when going to PAUSED from any direction and do it
4881 in a threadsafe way.
4882 Get base time in a threadsafe way too.
4883 Fix confusing debug in the change_state function.
4884 Various other small cleanups.
4886 * gst/gstelement.c: (gst_element_post_message):
4887 Fix very verbose bus posting code.
4889 * gst/gstpipeline.c: (gst_pipeline_class_init),
4890 (gst_pipeline_set_property), (gst_pipeline_get_property),
4891 (gst_pipeline_change_state):
4892 Small ARG_ -> PROP_ cleanup
4894 2005-10-08 Wim Taymans <wim@fluendo.com>
4896 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4897 Do a less CPU demanding EOS check because we can.
4899 2005-10-08 Wim Taymans <wim@fluendo.com>
4901 * libs/gst/dataprotocol/dataprotocol.c:
4902 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4903 (gst_dp_packet_from_event):
4904 * libs/gst/dataprotocol/dataprotocol.h:
4905 * libs/gst/dataprotocol/dp-private.h:
4906 It's about time we bump the version number.
4907 Since event types don't fit in the guint8 anymore describing
4908 the payload type, make payload type 16 bits wide.
4910 2005-10-08 Wim Taymans <wim@fluendo.com>
4912 * docs/design/part-TODO.txt:
4913 * docs/design/part-clocks.txt:
4914 * docs/design/part-events.txt:
4915 * docs/design/part-gstbin.txt:
4916 * docs/design/part-gstelement.txt:
4917 * docs/design/part-gstpipeline.txt:
4918 * docs/design/part-live-source.txt:
4919 * docs/design/part-messages.txt:
4920 * docs/design/part-overview.txt:
4921 * docs/design/part-states.txt:
4924 2005-10-08 Wim Taymans <wim@fluendo.com>
4928 Fix event quark registration.
4929 Add some space between events so we can insert them in the
4932 2005-10-08 Wim Taymans <wim@fluendo.com>
4934 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4935 (gst_base_sink_handle_buffer):
4942 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4943 (gst_queue_set_property), (gst_queue_get_property):
4945 Remove old unused properties.
4947 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4948 * docs/gst/gstreamer-sections.txt:
4951 * gst/gstminiobject.c:
4952 * gst/gstminiobject.h:
4956 lots of new docs and doc fixes
4958 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4960 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4962 * gst/gstregistry.c: (gst_registry_lookup_locked),
4963 (gst_registry_scan_path_level):
4964 * gst/gstregistryxml.c: (load_plugin):
4965 Only ever load one plugin for a given plugin basename.
4966 This ensures correct overriding of GST_PLUGIN_PATH over
4967 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4968 system installed plugins.
4970 2005-10-08 Wim Taymans <wim@fluendo.com>
4972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4973 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4974 Prepare for doing QOS.
4976 2005-10-08 Wim Taymans <wim@fluendo.com>
4978 * check/gst/gstbin.c: (GST_START_TEST):
4979 * check/pipelines/cleanup.c: (GST_START_TEST):
4980 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4981 Allow new clock message too.
4983 2005-10-08 Wim Taymans <wim@fluendo.com>
4985 * gst/gstmessage.c: (gst_message_new_error),
4986 (gst_message_new_warning), (gst_message_new_tag),
4987 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4988 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4989 (gst_message_new_segment_start), (gst_message_new_segment_done),
4990 (gst_message_parse_state_changed),
4991 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4992 (gst_message_parse_new_clock):
4994 Also carry the clock in question.
4996 2005-10-08 Wim Taymans <wim@fluendo.com>
4998 * gst/gstmessage.c: (gst_message_new_custom),
4999 (gst_message_new_eos), (gst_message_new_error),
5000 (gst_message_new_warning), (gst_message_new_tag),
5001 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5002 (gst_message_new_new_clock), (gst_message_new_segment_start),
5003 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5004 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5007 Added clock related messages.
5009 * gst/gstpipeline.c: (gst_pipeline_change_state):
5010 Post message when the clock changed.
5012 * tools/gst-launch.c: (event_loop):
5015 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5017 * tools/gst-inspect.c: (print_element_properties_info):
5018 Can't pass NULL strings to g_print() on windows.
5020 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5023 * docs/gst/Makefile.am:
5024 * docs/gst/gstreamer-docs.sgml:
5025 * docs/gst/running.xml:
5026 * docs/version.entities.in:
5027 add a chapter on running GStreamer.
5028 document GST_DEBUG and GST_PLUGIN* env vars
5030 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5035 remove PLUGINS_BUILDDIR stuff
5036 * gst/gst.c: (init_post):
5037 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5039 remove, it was condescending and not needed
5041 2005-10-08 Wim Taymans <wim@fluendo.com>
5043 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5044 (gst_base_sink_handle_object), (gst_base_sink_event),
5045 (gst_base_sink_wait), (gst_base_sink_handle_event),
5046 (gst_base_sink_change_state):
5047 * gst/base/gstbasesink.h:
5048 Repost EOS message while going to PLAYING if still EOS.
5049 Make sure that when receiving a FLUSH_START we don't attempt
5050 to sync on the clock anymore.
5052 2005-10-08 Wim Taymans <wim@fluendo.com>
5054 * tools/gst-launch.c: (event_loop):
5055 Better message printout.
5057 2005-10-08 Wim Taymans <wim@fluendo.com>
5059 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5060 (gst_bin_child_proxy_get_children_count):
5061 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5062 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5063 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5064 (gst_child_proxy_set_valist):
5065 * gst/parse/grammar.y:
5066 Make ChildProxy threadsafe and fix mem leaks.
5068 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5070 * gst/gst.c: (init_post):
5071 debug the GST_PLUGIN_ env vars
5073 2005-10-08 Wim Taymans <wim@fluendo.com>
5075 * check/gst/gstbin.c: (GST_START_TEST):
5076 * check/gst/gstmessage.c: (GST_START_TEST):
5077 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5078 * gst/gstelement.c: (gst_element_commit_state),
5079 (gst_element_lost_state):
5080 * gst/gstmessage.c: (gst_message_new_state_changed),
5081 (gst_message_parse_state_changed):
5083 * tools/gst-launch.c: (event_loop):
5084 Added extra field to STATE_CHANGE message with the pending
5085 state, which will be different from the new state soon.
5087 2005-10-08 Wim Taymans <wim@fluendo.com>
5089 * gst/gstbus.c: (gst_bus_pop):
5091 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5092 Small cleanups and doc updates.
5094 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5096 * gst/gst.c: (init_pre):
5097 * gst/gstbin.c: (gst_bin_add_func):
5098 log distributing clocks and base time
5099 * gst/gstregistry.c: (gst_registry_add_plugin),
5100 (gst_registry_scan_path_level), (gst_registry_scan_path):
5101 clean up the debugging output a little
5102 * gst/gstutils.c: (gst_element_state_get_name):
5103 warn about a memleak (I've actually seen this be used, though
5104 it was probably a bug)
5106 2005-10-07 Wim Taymans <wim@fluendo.com>
5108 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5109 (gst_base_src_init), (gst_base_src_default_newsegment),
5110 (gst_base_src_newsegment), (gst_base_src_do_seek),
5111 (gst_base_src_loop), (gst_base_src_start):
5112 * gst/base/gstbasesrc.h:
5113 Make the newsegment event customizable by subclasses.
5115 2005-10-07 Wim Taymans <wim@fluendo.com>
5117 * gst/gstevent.c: (gst_event_new_buffersize),
5118 (gst_event_parse_buffersize):
5120 New event for future idea.
5122 2005-10-07 Andy Wingo <wingo@pobox.com>
5124 * gst/gstelement.c (gst_element_post_message): Doc update.
5126 * docs/gst/gstreamer-sections.txt: Update.
5128 * gst/gstmessage.c (gst_message_new_application): Made into a
5129 function like honest API calls.
5130 (gst_message_new_element): New message type.
5132 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5134 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5135 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5138 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5139 NO_PREROLL from gst_element_change_state to fall through.
5141 2005-10-07 Wim Taymans <wim@fluendo.com>
5143 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5144 (gst_ghost_pad_do_activate_push):
5145 Activating a ghostpad with no internal pad in push mode
5148 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5151 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5152 Fixes compilation on Windows.
5154 2005-10-07 Michael Smith <msmith@fluendo.com>
5156 * tools/gst-inspect.c:
5157 Print out feature and plugin count at the end when printing out
5160 2005-10-04 Michael Smith <msmith@fluendo.com>
5162 * gst/gsterror.c: (_gst_stream_errors_init):
5163 Add another error string used in a few existing plugins.
5166 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5167 * tools/gst-inspect.c: (print_element_info):
5168 When a feature disappears from a plugin (and the feature exists in
5169 the cached registry file), things went horribly wrong. This isn't a
5170 complete fix, we should actually be removing the 'missing' features
5171 from the features list when we load the actual plugin. That's not
5174 2005-10-04 Johan Dahlin <johan@gnome.org>
5176 * check/gst/gstiterator.c: (GST_START_TEST):
5177 * gst/gstbin.c: (gst_bin_iterate_elements),
5178 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5179 * gst/gstelement.c: (gst_element_iterate_pads):
5180 * gst/gstformat.c: (gst_format_iterate_definitions):
5181 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5182 (gst_iterator_new_list), (gst_iterator_filter):
5183 * gst/gstiterator.h:
5184 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5185 Add a GType to GstIterator, update callsites and tests.
5187 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5189 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5190 give events a chance to be handled by event probes when the pad
5193 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5195 * gst/gstevent.c: (gst_event_type_get_name),
5196 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5198 add string representations for event types
5200 2005-10-06 Wim Taymans <wim@fluendo.com>
5202 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5203 Don't use NULL pointers.
5205 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5207 * gst/gst_private.h:
5211 * gst/gstpluginfeature.c:
5212 widen the debug category in output to fit the biggest one we have
5213 add a bus category and use it
5214 play with the colors
5215 fix up some categories
5217 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5219 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5220 add push activation of sink ghost pads.
5221 Andye, please verify
5223 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5225 * gst/gstutils.c: (gst_element_link_pads):
5226 fix a bug in the case where neither element has a pad
5227 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5228 add a test for that case
5230 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5232 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5233 emit have-data before checking for peers. This allows
5234 for probe handlers to connect elements. This helps autopluggers.
5235 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5237 add six checks, linked/unlinked with no/true/false probe
5239 2005-10-04 Wim Taymans <wim@fluendo.com>
5241 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5242 (gst_fake_sink_event), (gst_fake_sink_preroll),
5243 (gst_fake_sink_render), (gst_fake_sink_change_state):
5244 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5245 (gst_fake_src_get_property), (gst_fake_src_create),
5246 (gst_fake_src_stop):
5247 * gst/elements/gstidentity.c: (gst_identity_stop):
5248 Protect last_message with lock.
5250 2005-10-04 Edward Hervey <edward@fluendo.com>
5253 Added precision in the comments for GST_FORMAT_DEFAULT
5255 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5257 * tools/gst-launch.c: (main):
5258 Don't try to run erroneous pipelines.
5260 2005-10-04 Julien MOUTTE <julien@moutte.net>
5262 * gst/gstbus.c: We don't need this header.
5264 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5269 === release 0.9.3 ===
5271 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5275 Releasing 0.9.3, "Unregistered"
5277 2005-10-03 Andy Wingo <wingo@pobox.com>
5279 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5280 whereby calling a pad's activatepush() function can start a thread
5281 that starts to push or pull before the pad gets the FLUSHING flag
5282 unset. Hack around it by holding the stream lock until the flag is
5283 set. Need to replace this with a proper solution. Together with
5284 the ghost pad fixes, this fixes mp3 playing/tagreading.
5286 * docs/design/part-gstghostpad.txt: Add a note about activation of
5287 proxy pads outside of ghost pads.
5289 * gst/gstghostpad.c: Implement the ghost pad activation design.
5291 2005-10-02 Andy Wingo <wingo@pobox.com>
5293 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5294 It is volatile, after all.
5296 * docs/design/part-gstghostpad.txt: Flesh out activation with
5299 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5302 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5305 Fix (unused) AM_CONDITIONAL tests.
5307 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5309 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5311 * gst/gstutils.c: (gst_pad_query_convert):
5312 Add assertion that makes sure src_val is >=0, just like
5313 gst_query_new_convert() has. (#315895)
5315 2005-09-30 Edward Hervey <edward@fluendo.com>
5317 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5318 Let's not iterate pads we're not interested in, it avoids getting
5319 sky-high refcounts on sinkpad.
5321 2005-09-30 Wim Taymans <wim@fluendo.com>
5323 * gst/gstelement.c: (gst_element_set_state),
5324 (gst_element_change_state):
5325 Small tweak, element in ASYNC remains ASYNC.
5327 2005-09-30 Wim Taymans <wim@fluendo.com>
5329 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5330 Only error is an error.
5332 * gst/gstbin.c: (gst_bin_change_state):
5335 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5336 Also call pad_block in pad alloc.
5338 * gst/gstutils.c: (gst_flow_get_name):
5341 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5343 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5344 (gst_base_src_get_range):
5345 Fix documentation typos. Add some more debug info.
5347 2005-09-29 David Schleef <ds@schleef.org>
5349 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5350 more end-user friendly.
5351 * tools/gst-inspect.c: (main): Check if command-line argument is
5352 a file and attempt to load that file as a plugin.
5354 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5356 * check/gst/gstbin.c:
5357 * check/states/sinks.c:
5358 fix tests for the new warning
5359 * check/gst/gstpipeline.c:
5360 add a test for pipeline and bus interaction
5362 elements should be NULL if they get disposed; add a warning if not
5364 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5367 for 2.6 refcounting, make debug log more correct by printing
5368 the actual refcounts at the time of swap (Wim)
5370 2005-09-29 Andy Wingo <wingo@pobox.com>
5372 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5373 removes signal watches previously added via
5374 gst_bus_add_signal_watch.
5375 (gst_bus_add_signal_watch): Don't return the source id, just store
5376 it on the bus if there wasn't an id already.
5378 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5379 add_signal_watch and remove_signal_watch.
5381 2005-09-29 Edward Hervey <edward@fluendo.com>
5383 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5384 Better if we actually iterate the list :)
5386 2005-09-29 Wim Taymans <wim@fluendo.com>
5388 * check/gst/gstbin.c: (GST_START_TEST):
5389 Change for new bus API.
5391 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5392 (send_messages), (GST_START_TEST), (gstbus_suite):
5393 Change for new bus signal API.
5395 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5396 (gst_bus_source_prepare), (gst_bus_source_check),
5397 (gst_bus_create_watch), (gst_bus_add_watch_full),
5398 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5399 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5401 Remove support for multiple GSources operating on different
5402 message types as it is too complex and unneeded when using
5404 Added support for receiving signals from the bus.
5406 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5408 * docs/libs/tmpl/gstdataprotocol.sgml:
5409 * docs/manual/advanced-dataaccess.xml:
5410 * gst/elements/gstcapsfilter.c:
5412 rename filter-caps to caps property
5414 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5416 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5417 More robust fraction string parsing.
5419 * docs/pwg/appendix-porting.xml:
5420 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5422 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5424 * gst/gstcaps.c: (gst_caps_do_simplify):
5425 Thou shalt not free a structure and then continue using it
5426 in the next loop iteration.
5428 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5430 Add test case for caps simplification.
5432 2005-09-29 Wim Taymans <wim@fluendo.com>
5434 * check/gst/gstbin.c: (GST_START_TEST):
5437 2005-09-29 Wim Taymans <wim@fluendo.com>
5439 * check/gst/gstbin.c: (GST_START_TEST):
5442 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5443 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5444 (find_element), (gst_bin_sort_iterator_next),
5445 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5446 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5447 (gst_bin_change_state), (gst_bin_dispose):
5448 A bin does not have a bus, it gets the bus from the parent.
5450 * gst/gstelement.c: (gst_element_requires_clock),
5451 (gst_element_provides_clock), (gst_element_is_indexable),
5452 (gst_element_is_locked_state), (gst_element_change_state),
5453 (gst_element_set_bus_func):
5456 * gst/gstpipeline.c: (gst_pipeline_class_init),
5457 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5458 The pipeline provides a bus.
5460 2005-09-28 Johan Dahlin <johan@gnome.org>
5462 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5463 gst_structure_get_enum instead of gst_structure_get_int
5465 * gst/gststructure.c (gst_structure_get_enum): Impl.
5467 * gst/gststructure.h (gst_structure_get_enum): Add
5469 * docs/gst/gstreamer-sections.txt: Ditto
5471 * gst/gstmessage.c (gst_message_new_state_changed): Use
5472 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5473 which does introspection.
5474 Reviewed by Christian Schaller
5476 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5478 * gst/gstinfo.c: (gst_debug_log_default):
5479 don't do dummy g_strdup()s
5480 * libs/gst/controller/gstcontroller.c:
5481 (on_object_controlled_property_changed),
5482 (gst_controlled_property_new), (gst_controller_new_valist),
5483 (gst_controller_new_list),
5484 (gst_controller_remove_properties_valist), (gst_controller_set),
5485 (gst_controller_get), (gst_controller_sync_values),
5486 (gst_controller_get_value_array), (_gst_controller_class_init),
5487 (gst_controller_get_type):
5488 * libs/gst/controller/gstcontroller.h:
5489 * libs/gst/controller/gstinterpolation.c:
5490 (gst_controlled_property_find_timed_value_node):
5491 convert // to /**/ comments
5493 2005-09-28 Wim Taymans <wim@fluendo.com>
5495 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5496 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5497 (gst_bus_sync_signal_handler):
5499 Added async-message and sync-message signals to the bus.
5500 Added helper BusFunc to emit signals for all posted messages.
5502 * gst/gstmessage.c: (gst_message_type_get_name),
5503 (gst_message_type_to_quark), (gst_message_get_type):
5505 Register quarks for message names.
5507 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5509 * docs/libs/gstreamer-libs-sections.txt:
5510 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5511 (gst_controller_new_list):
5512 * libs/gst/controller/gstcontroller.h:
5513 added another constructor for language bindings
5515 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5517 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5521 * gst/gstinfo.c: (_gst_debug_init):
5522 slightly more readable color for refcount debugging
5524 2005-09-28 Wim Taymans <wim@fluendo.com>
5526 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5527 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5528 (find_element), (gst_bin_sort_iterator_next),
5529 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5530 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5531 (gst_bin_change_state), (gst_bin_dispose):
5532 Small doc fixes. get_clock -> provide_clock.
5534 * gst/gstelement.c: (gst_element_class_init),
5535 (gst_element_provides_clock), (gst_element_provide_clock),
5536 (gst_element_get_clock), (gst_element_commit_state),
5537 (gst_element_lost_state):
5539 Make get/set_clock() symetric. Add provide_clock vmethod since
5540 that is actually what this function does.
5542 * gst/gstpipeline.c: (gst_pipeline_class_init),
5543 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5544 (gst_pipeline_get_clock):
5545 get_clock -> provide_clock.
5547 2005-09-28 Andy Wingo <wingo@pobox.com>
5549 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5550 lieu of real docs...
5552 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5554 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5556 * gst/elements/gstcapsfilter.c:
5557 * gst/elements/gstfakesink.c:
5558 * gst/elements/gstfakesrc.c:
5559 * gst/elements/gstfdsink.c:
5560 * gst/elements/gstfdsrc.c:
5561 * gst/elements/gstfilesink.c:
5562 * gst/elements/gstfilesrc.c:
5563 * gst/elements/gstidentity.c:
5564 * gst/elements/gsttee.c:
5565 * gst/elements/gsttypefindelement.c:
5566 Make element details static.
5568 2005-09-28 Wim Taymans <wim@fluendo.com>
5570 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5571 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5572 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5573 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5574 (gst_bin_change_state), (gst_bin_dispose):
5575 Some documentation updates.
5576 Clean up dispose handlers.
5578 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5579 * gst/gstpad.c: (gst_pad_dispose):
5580 Clean up dispose handler.
5582 * gst/gstpipeline.c: (gst_pipeline_change_state):
5583 Removed spurious UNLOCK.
5585 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5587 * docs/gst/gstreamer-sections.txt:
5588 * gst/base/gstbasesrc.h:
5593 * gst/gstpipeline.c:
5594 * gst/gstpipeline.h:
5597 added two new functions to the docs
5598 documents all undocumented GstXXXFlags
5599 completed some incomplete docs
5601 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5603 * gst/gstbin.c: (gst_bin_dispose):
5604 * gst/gstelement.c: (gst_element_dispose):
5605 remove now useless and leaky resurrection code in dispose
5606 * gst/base/gstbasesrc.c: (gst_base_src_init):
5607 * gst/gstelementfactory.c: (gst_element_factory_create):
5608 * gst/gstobject.c: (gst_object_set_parent):
5611 2005-09-27 Wim Taymans <wim@fluendo.com>
5613 * docs/design/part-TODO.txt:
5616 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5617 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5618 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5619 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5620 (gst_bin_change_state):
5622 Remove element variable, we keep element info in the iterator now.
5624 2005-09-27 Andy Wingo <wingo@pobox.com>
5626 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5629 2005-09-27 Wim Taymans <wim@fluendo.com>
5631 * check/gst/gstbin.c: (GST_START_TEST):
5632 Enable check that works now.
5634 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5635 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5636 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5637 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5638 (gst_bin_change_state):
5640 Redid the state change algorithm using a topological sort algo.
5641 Handles all cases correctly.
5642 Exposed iterator for state change order.
5645 Temp storage for state changes. Need to get rid of this soon.
5647 2005-09-27 Wim Taymans <wim@fluendo.com>
5649 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5650 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5651 (link_fold_func), (gst_pad_proxy_setcaps):
5652 Leak fixes, the fold functions need to unref the passed object and
5653 _get_parent_*() returns ref to parent.
5655 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5657 * check/gst/gstbuffer.c: (test_make_writable):
5658 Plug leak in test case and fix 'make check-valgrind'
5660 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5662 * gst/gstbuffer.c: (gst_subbuffer_init):
5663 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5664 works correctly in all circumstances (we could have just copied
5665 the parent buffer's readonly flag, but conceptually it seems
5666 cleaner to mark all subbuffers as read-only). (based on patch
5667 by Alessandro Decina, #314710).
5669 * check/gst/gstbuffer.c: (create_read_only_buffer),
5670 (test_make_writable), (test_subbuffer_make_writable),
5672 Add some tests for gst_buffer_make_writable().
5674 2005-09-27 Wim Taymans <wim@fluendo.com>
5676 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5677 use gst_object_has_ancestor().
5679 * gst/gstobject.c: (gst_object_has_ancestor):
5681 gst_object_has_ancestor() copied from gstbin.c as it is a
5684 * tests/instantiate/create.c: (create_all_elements):
5685 * tests/lat.c: (handoff_src), (handoff_sink):
5686 * tests/sched/runxml.c: (main):
5687 * tests/seeking/seeking1.c: (main):
5688 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5690 Fix compilation of some tests.
5692 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5695 Remove comment. GST_TYPE_G_ERROR is here to stay,
5696 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5699 2005-09-26 Wim Taymans <wim@fluendo.com>
5701 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5702 Added check that shows error in state change order.
5704 2005-09-26 Wim Taymans <wim@fluendo.com>
5706 * gst/gstbin.c: (gst_bin_change_state):
5707 Make state change function use 3 queues again, we were
5708 adding elements in the wrong order.
5710 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5713 * gst/gstpad.c: (gst_pad_dispose):
5714 Added some debug info first.
5716 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5718 * docs/design/draft-push-pull.txt:
5719 * docs/design/part-events.txt:
5720 * docs/design/part-overview.txt:
5721 * docs/design/part-scheduling.txt:
5722 Replace all _pull_region() with _pull_range()
5724 2005-09-26 Andy Wingo <wingo@pobox.com>
5726 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5728 * check/gst-libs/controller.c: Update for controller api change.
5731 * tests/Makefile.am:
5732 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5733 over by GLib bug 118439.
5735 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5736 routines to a function.
5738 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5740 * libs/gst/controller/gsthelper.c:
5741 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5742 (gst_object_sync_values): Renamed from sink_values. Ugh.
5744 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5746 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5747 Renamed from controller_key, as it is exported.
5749 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5751 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5756 * gst/gstpadtemplate.h:
5759 * gst/gstqueryutils.c:
5760 * gst/gstqueryutils.h:
5761 remove queryutils headers after moving the two used functions
5762 to gstquery. also fixes build problem for gstsiddec
5764 2005-09-26 Michael Smith <msmith@fluendo.com>
5766 * tools/gst-launch.1.in:
5767 Correct documentation in manpage of debug syntax
5769 2005-09-26 Wim Taymans <wim@fluendo.com>
5771 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5772 (gst_base_src_is_seekable), (gst_base_src_change_state):
5773 Some more debugging info.
5775 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5777 * docs/gst/gstreamer-sections.txt:
5778 * gst/base/gstbasetransform.h:
5782 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5784 * docs/gst/.cvsignore:
5785 * docs/gst/tmpl/.cvsignore:
5786 * docs/gst/tmpl/gstpipeline.sgml:
5787 * docs/gst/tmpl/gstplugin.sgml:
5788 * gst/gstpipeline.c:
5791 inlined the last two docs files
5792 removed the tmpl directory from cvs (no more conflicts here!)
5794 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5796 * docs/gst/gstreamer-sections.txt:
5797 * docs/gst/tmpl/.cvsignore:
5798 * docs/gst/tmpl/gstpad.sgml:
5799 * docs/gst/tmpl/gstpadtemplate.sgml:
5801 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5802 (gst_pad_finalize), (gst_pad_set_pad_template):
5804 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5805 (gst_pad_template_class_init), (gst_pad_template_init),
5806 (gst_pad_template_dispose), (name_is_valid),
5807 (gst_static_pad_template_get), (gst_pad_template_new),
5808 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5809 (gst_pad_template_pad_created):
5810 * gst/gstpadtemplate.h:
5811 inlined two more docs
5812 factored gstpadtemplate out of gstpad
5814 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5816 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5817 (test_children_state_change_order_semi_sink):
5818 Fix test case: we can't rely on a fixed state change order when
5819 going from READY => PAUSED because the sink might commit its
5820 new state first when the first buffer created by the source
5821 reaches the sink before the source has finished its change state.
5822 (Test case still fails at times, see #316856, comment 5 onwards)
5824 2005-09-24 Wim Taymans <wim@fluendo.com>
5826 * docs/design/part-events.txt:
5827 * docs/design/part-gstbus.txt:
5828 * docs/design/part-gstpipeline.txt:
5829 * docs/design/part-messages.txt:
5830 * docs/design/part-overview.txt:
5831 * docs/design/part-segments.txt:
5838 * gst/gstiterator.c:
5839 Various documentation updates.
5841 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5844 Well, that's embarassing. Luckily we weren't using
5845 GST_CLOCK_DIFF anywhere.
5847 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5849 * common/gtk-doc.mak:
5850 don't fail on building XML, FC4 slave shows a bunch of doc
5851 missing bits that I don't get
5853 * gst/gstpipeline.c:
5854 * gst/gststructure.c:
5857 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5859 * docs/design/part-gstbin.txt:
5860 * docs/design/part-gstbus.txt:
5862 Add blurb about how the bus goes into flushing mode and
5863 drops all messages when its bin goes from READY into NULL
5866 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5868 * docs/gst/gstreamer-sections.txt:
5869 * gst/gststructure.c: (gst_structure_get_clock_time):
5870 * gst/gststructure.h:
5871 add a method to get a GstClockTime out of a structure
5873 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5875 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5876 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5877 Added test to check state change order in bins (can still be made
5878 to fail here under heavy disk load; bails out with 'Push on pad
5879 fakesink:sink0, but it was not activated in push mode').
5881 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5882 Fix state change order when there is only a semi sink (#316856)
5884 * gst/gstbus.c: (gst_bus_class_init):
5885 Use _class_peek_parent(), not _class_ref(); fix docs to say
5886 'default main context' instead of 'mainloop' where that is
5889 * gst/gstelement.c: (gst_element_commit_state),
5890 (gst_element_set_state):
5891 Fix typos in debug messages
5893 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5896 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5897 * gst/gstpluginfeature.c:
5900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5901 change an assert into an error until it gets fixed properly
5903 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5905 * docs/gst/gstreamer-sections.txt:
5906 * docs/gst/tmpl/.cvsignore:
5907 * docs/gst/tmpl/gstelement.sgml:
5908 * docs/gst/tmpl/gstinfo.sgml:
5909 * docs/gst/tmpl/gstobject.sgml:
5914 * gst/gstobject.c: (gst_object_class_init):
5916 inlined 3 more biiiig doc files and added some missing docs on the fly
5918 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5920 * check/gst/.cvsignore:
5921 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5922 * gst/gstregistryxml.c: (load_plugin),
5923 (gst_registry_xml_save_plugin):
5924 put back source in registry. add checks for find_plugin.
5925 * testsuite/states/bin.c: (assert_state), (empty_bin),
5926 (test_adding_one_element), (main):
5927 * testsuite/states/locked.c: (main):
5928 some compile/run fixes
5930 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5932 * check/gst/gstvalue.c: (GST_START_TEST):
5933 fix leaks in the test itself
5935 2005-09-22 Wim Taymans <wim@fluendo.com>
5937 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5938 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5939 (gst_base_sink_query):
5940 Prepare for more accurate position reporting and query
5943 * gst/gstelement.c: (gst_element_send_event),
5944 (gst_element_set_state):
5947 2005-09-22 Wim Taymans <wim@fluendo.com>
5949 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5950 (gst_query_parse_segment):
5953 Add segment query for future use.
5955 2005-09-22 Wim Taymans <wim@fluendo.com>
5957 * gst/gstbin.c: (gst_bin_add_func):
5958 Some more debug info.
5960 * gst/gstelement.c: (gst_element_send_event):
5964 Don't know how flags got broken.
5969 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5971 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5972 Add simplistic test suite for GST_TYPE_DATE serialisation and
5975 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5977 * docs/gst/gstreamer-sections.txt:
5978 * gst/gststructure.c: (gst_structure_set_valist),
5979 (gst_structure_get_date):
5980 * gst/gststructure.h:
5981 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5982 (gst_date_copy), (gst_value_compare_date),
5983 (gst_value_serialize_date), (gst_value_deserialize_date),
5984 (gst_value_transform_date_string),
5985 (gst_value_transform_string_date), (_gst_value_initialize):
5987 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5988 bunch of utility functions along with a hack that checks that
5989 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5990 is required. Part of the grand scheme in #170777.
5992 2005-09-22 Andy Wingo <wingo@pobox.com>
5994 * gst/gstconfig.h.in: Psych out gtk-doc.
5996 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5998 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6000 * tools/gst-inspect.c (print_element_list): Plug some
6001 inconsequential leaks.
6003 * gst/gstregistry.c (gst_registry_get_default): Doc.
6005 * check/gst/gstplugin.c:
6006 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6007 * gst/gstelementfactory.c (gst_element_factory_create):
6008 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6011 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6012 (gst_plugin_feature_load): Doc, don't eat refs.
6014 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6015 (gst_plugin_list_free): Doc.
6016 (gst_plugin_load_file): Doc updates.
6018 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6019 accessors returning refcounted objects, return a ref.
6021 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6022 accessor for caps. IDEMPOTENCE. Oh yes.
6024 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6026 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6028 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6029 (_gst_debug_register_funcptr):
6030 Add mutex to serialise access to the hash table with
6031 the function pointer => function name string mapping;
6032 make that hash table static scope (#316809).
6034 * gst/registries/.cvsignore:
6035 Remove left-over file.
6037 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6039 * docs/pwg/appendix-porting.xml:
6040 And something about newsegment events and caps-on-buffers to
6041 the porting guide (feel free to improve).
6043 2005-09-21 Andy Wingo <wingo@pobox.com>
6045 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6046 data and event probes on the same pad.
6047 (test_buffer_probe_once): Test that removing probes from within
6048 the probe functions works.
6050 2005-09-21 Andy Wingo <wingo@pobox.com>
6052 * check/gst/gstutils.c: New file.
6053 (test_buffer_probe_n_times): A simple buffer probe test. More to
6056 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6057 have-data::buffer, not have-data.
6058 (gst_pad_add_event_probe): Likewise for have-data::event.
6059 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6060 peer' isn't quite right yet though.
6061 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6062 (gst_pad_remove_data_probe): Change to take the guint handler_id
6063 as their arg, not the function+data, which is more glib-like.
6065 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6066 the signal emission to indicate if the data is a buffer or an
6068 (gst_pad_get_type): Initialize buffer and event quarks.
6069 (gst_pad_class_init): have-data is now a detailed signal, yes it
6072 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6074 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6075 * gst/gstutils.c: (gst_util_set_value_from_string),
6076 (gst_util_set_object_arg):
6077 Don't put functional code in g_return_if_fail() or
6078 g_return_val_if_fail() statements, otherwise things will
6079 break when G_DISABLE_CHECKS is defined during compilation.
6081 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6083 * docs/gst/tmpl/.cvsignore:
6084 * docs/gst/tmpl/gstvalue.sgml:
6087 inlied another one and added some obvious docs
6089 2005-09-21 Wim Taymans <wim@fluendo.com>
6091 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6092 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6093 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6094 (gst_fdsrc_get_property), (gst_fdsrc_create):
6095 * gst/elements/gstfdsrc.h:
6096 Properly implement fdsrc. Removed signal and timeout,
6097 better implemented somewhere else.
6099 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6101 * docs/gst/tmpl/.cvsignore:
6102 * docs/gst/tmpl/gstimplementsinterface.sgml:
6103 * gst/gstinterface.c:
6106 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6108 * docs/gst/gstreamer-sections.txt:
6109 * docs/gst/tmpl/.cvsignore:
6110 * docs/gst/tmpl/gstenumtypes.sgml:
6111 remove obsolete doc file
6113 2005-09-21 David Schleef <ds@schleef.org>
6115 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6116 little beer, fix a little leak.
6118 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6120 * docs/gst/gstreamer-docs.sgml:
6121 * docs/gst/gstreamer-sections.txt:
6122 * docs/gst/tmpl/.cvsignore:
6127 * gst/gstindex.c: (gst_index_class_init):
6129 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6130 (gst_index_factory_class_init), (gst_index_factory_init),
6131 (gst_index_factory_finalize), (gst_index_factory_new),
6132 (gst_index_factory_destroy), (gst_index_factory_find),
6133 (gst_index_factory_create), (gst_index_factory_make):
6134 * gst/gstindexfactory.h:
6135 * gst/gstpluginfeature.c:
6136 * gst/gstpluginfeature.h:
6137 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6138 more docs inlined, splitted gstindex.{c,h}
6140 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6142 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6145 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6147 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6148 Set sync to FALSE by default.
6150 2005-09-20 Wim Taymans <wim@fluendo.com>
6152 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6153 (gst_base_sink_init):
6154 Make sync property settable from subclass.
6156 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6157 (gst_fake_sink_change_state):
6158 Set sync to FALSE by default.
6160 2005-09-20 Wim Taymans <wim@fluendo.com>
6162 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6163 * tools/gst-launch.c: (main):
6164 The timeout handler should have lower priority than the source
6165 so we don't timeout before popping a message with 0 timeout.
6166 Dump error messages after failed state change.
6168 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6170 * tools/gst-inspect.c: (print_element_properties_info):
6173 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6175 * check/gst/gstevent.c:
6176 * gst/elements/gstfakesink.c:
6177 * gst/elements/gstfakesink.h:
6178 remove the sync property from fakesink.
6179 has the side effect of setting sync TRUE
6180 for fakesink, which is a change. Anyone who knows how
6181 to fix this nicely in a GObject-y way, feel free.
6183 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6185 * docs/gst/gstreamer-docs.sgml:
6186 remove probe refsection
6188 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6190 * check/Makefile.am:
6191 disable valgrinding the controller test again
6192 * docs/gst/gstreamer-sections.txt:
6193 update for api-changes
6195 2005-09-20 Wim Taymans <wim@fluendo.com>
6197 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6198 (gst_base_sink_set_property), (gst_base_sink_get_property),
6199 (gst_base_sink_do_sync):
6200 * gst/base/gstbasesink.h:
6201 Added sync property to basesink to disable clock sync.
6203 2005-09-20 Andy Wingo <wingo@pobox.com>
6205 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6206 eating the caller's refcount.
6208 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6209 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6212 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6213 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6214 of GLib 2.8 public, so we can know which refcount to check in
6217 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6218 (gst_object_init): Only set the gst refcount if we're going ahead
6219 with the refcount hack.
6221 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6223 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6224 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6225 more leaks plumbed, added more debug-logging
6229 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6232 remove include of gstmemchunk.h
6234 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6236 * gst/gstclock.c: (_gst_clock_id_free):
6237 Commit from the Political Party For More Atomic CVS Commits,
6238 so that people don't waste too much of their day fishing
6239 out obvious leaks out of massive commits.
6240 Oh, and fix a pretty damn obvious leak in the memchunk
6243 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6245 * check/Makefile.am:
6246 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6247 plug mem-leak, re-add to valgrindable tests
6249 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6252 unbreak the build for those who have chronic arthritis
6253 and typing "make check" is just too taxing on the hands
6255 2005-09-20 Andy Wingo <wingo@pobox.com>
6257 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6258 really want it out, you should fix plugins at the same time.
6260 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6263 * docs/gst/gstreamer-sections.txt:
6265 added missing symbols to api docs
6266 disable ref-count hack if we have glib >= 2.8
6268 2005-09-19 David Schleef <ds@schleef.org>
6270 * docs/gst/Makefile.am: Ignore a few more internal headers
6271 * docs/gst/gstreamer-docs.sgml: Remove old sections
6272 * docs/gst/gstreamer-sections.txt: Remove old sections
6273 * docs/gst/tmpl/gstobject.sgml: update
6274 * docs/gst/tmpl/gstplugin.sgml: update
6275 * docs/gst/tmpl/gstpluginfeature.sgml: update
6276 * docs/random/ds/0.9-suggested-changes: update.
6277 * gst/Makefile.am: remove memchunk and trashstack, since they're
6279 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6280 * gst/gst.h: don't include some headers
6281 * gst/gstchildproxy.c: add gstmarshal.h
6282 * gst/gstclock.c: Don't use memchunks
6283 * gst/gstminiobject.c: Add some docs
6284 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6285 * gst/gstobject.h: same
6286 * gst/gstplugin.c: include gstmacros.h
6287 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6288 * gst/gstquery.c: don't use memchunks
6289 * gst/gstregistry.c: rename gst_registry_deinit()
6290 * gst/gstregistry.h: same
6292 2005-09-19 David Schleef <ds@schleef.org>
6294 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6295 * docs/libs/gstreamer-libs-sections.txt:
6296 * docs/libs/tmpl/gstgetbits.sgml:
6297 * docs/libs/tmpl/gstputbits.sgml:
6299 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6301 * win32/gstenumtypes.c:
6302 * win32/gstenumtypes.h:
6305 2005-09-19 Wim Taymans <wim@fluendo.com>
6307 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6308 Automatically PAUSE and RESUME a pipeline when a flushing seek
6311 2005-09-19 Andy Wingo <wingo@pobox.com>
6313 * gst/gstregistry.h: Spacing fixen.
6315 2005-09-19 Wim Taymans <wim@fluendo.com>
6317 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6318 Handle state change failure more correctly.
6320 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6322 * check/Makefile.am:
6323 * check/pipelines/cleanup.c: (run_pipeline):
6324 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6326 enable cleanup again after fixing the leak
6328 some more info on docs
6330 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6332 * check/Makefile.am:
6333 re-enable tests now that leaks are plugged
6335 * check/gst/gstbin.c:
6336 * check/gst/gstpipeline.c:
6337 add some more tests while fixing leaks
6339 make sure binaries are uptodate when valgrinding/gdbing
6341 * gst/gstelementfactory.c:
6342 remove a ref too many, and add a FIXME for when we get
6343 round to disposing of classes
6345 fix the refcounting when loading a plugin from a file and
6346 the code pretends that the pointer is the same even though
6347 of course it can change
6348 * gst/gstpluginfeature.c:
6349 unref plugins marked cached (a bit confusing as a name)
6350 as the docs state should be done
6351 various doc additions to explain refcounting
6352 * gst/gstregistry.c:
6353 * gst/gstregistryxml.c:
6356 2005-09-19 Wim Taymans <wim@fluendo.com>
6358 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6359 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6360 (send_messages), (GST_START_TEST), (gstbus_suite):
6361 * check/gst/gstpipeline.c: (GST_START_TEST):
6362 * check/pipelines/cleanup.c: (run_pipeline):
6363 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6365 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6366 (gst_bus_source_check), (gst_bus_source_dispatch),
6367 (gst_bus_create_watch), (gst_bus_add_watch_full),
6368 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6370 * tools/gst-launch.c: (event_loop):
6371 * tools/gst-md5sum.c: (event_loop):
6372 GstBusHandler -> GstBusFunc, return value has the same meaning as
6373 any other GSource (FALSE == remove source).
6374 _add_watch() and _add_watch_full() now take a MessageType mask to
6375 only handle specific types of messages.
6376 _poll() returns the GstMessage instead of the message type to avoid
6378 _have_pending() takes a MessageType mask now too.
6379 Added testsuite for multiple bus watches.
6380 Fix testsuites and applications for new bus API.
6382 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6384 * check/Makefile.am:
6385 mark a bunch of the tests as to fix until we fix them
6387 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6390 use GST_PLUGIN settings for valgrind tests as well, so we're
6391 valgrinding the correct thing
6392 * gst/gst.c: (init_post):
6395 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6397 * gst/gst.c: (init_post), (gst_deinit):
6398 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6399 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6400 * gst/gstindex.c: (gst_index_factory_class_init),
6401 (gst_index_factory_finalize):
6402 * gst/gstobject.c: (gst_object_dispose):
6403 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6404 (gst_plugin_load_file), (gst_plugin_desc_free):
6405 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6406 (gst_plugin_feature_finalize):
6407 * gst/gstregistry.c: (gst_registry_class_init),
6408 (gst_registry_init), (gst_registry_finalize),
6409 (gst_registry_get_default), (gst_registry_deinit):
6410 * gst/gstregistry.h:
6411 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6412 various cleanups and memleak plugging. make valgrind is happy now.
6414 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6417 add a check-valgrind target
6419 2005-09-18 David Schleef <ds@schleef.org>
6421 * tools/gst-inspect.c: Revert the GOption code.
6423 2005-09-17 David Schleef <ds@schleef.org>
6425 * check/Makefile.am: Fix environment variables.
6426 * check/gst/gstplugin.c: Fix for API changes.
6427 * tools/gst-inspect.c: Fix for API changes.
6428 * tools/gst-xmlinspect.c: Fix for API changes.
6429 * gst/gstelementfactory.c:
6432 * gst/gstpluginfeature.c:
6433 * gst/gstpluginfeature.h:
6434 * gst/gstregistry.c:
6435 * gst/gstregistry.h:
6436 * gst/gstregistryxml.c:
6437 * gst/gsttypefind.c:
6438 * gst/gsttypefindfactory.c:
6439 * gst/indexers/gstfileindex.c:
6440 * gst/indexers/gstmemindex.c:
6441 * gst/schedulers/Makefile.am:
6442 Change registry to keep track of both plugins and features,
6443 removing the feature tracking from plugins themselves.
6445 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6447 * check/Makefile.am:
6448 * tools/gst-register.1.in:
6451 2005-09-15 David Schleef <ds@schleef.org>
6453 * check/gst/gstplugin.c:
6454 * gst/gstelementfactory.c:
6456 * gst/gstpluginfeature.c:
6457 * gst/gstregistry.c:
6458 Getting tired of debugging. Disabled all the unreffing of
6459 plugins and features, which fixes the segfaults, but of
6460 course leaks like crazy. At least playbin works.
6462 2005-09-15 David Schleef <ds@schleef.org>
6464 * check/gst/gstplugin.c: (register_check_elements),
6465 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6467 * gst/elements/gsttypefindelement.c: Fix refcounting.
6468 * gst/gsttypefind.c:
6469 * gst/gsttypefindfactory.c:
6470 * gst/gsttypefindfactory.h:
6472 2005-09-15 David Schleef <ds@schleef.org>
6474 * gst/gstindex.c: get refcounting correct.
6475 * gst/gstregistry.c: Handle the case where a feature/plugin is
6478 2005-09-15 David Schleef <ds@schleef.org>
6480 * check/Makefile.am:
6481 * check/gst/gstplugin.c: Add test
6482 * gst/gstplugin.c: Fix problems noticed by testsuite
6484 * gst/gstregistry.c:
6485 * gst/gstregistry.h:
6487 2005-09-15 David Schleef <ds@schleef.org>
6489 * gst/gstplugin.c: Implement semi-decent recounting and locking
6490 in plugins and plugin features.
6492 * gst/gstpluginfeature.c:
6493 * gst/gstpluginfeature.h:
6494 * gst/gstregistry.c:
6496 2005-09-15 Michael Smith <msmith@fluendo.com>
6498 * gst/gstregistry.c: (gst_registry_get_feature_list):
6499 Implement this. Makes oggdemux work; decodebin still broken.
6501 2005-09-14 David Schleef <ds@schleef.org>
6503 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6505 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6506 * gst/check/Makefile.am:
6507 * libs/gst/controller/Makefile.am:
6508 * libs/gst/dataprotocol/Makefile.am:
6510 2005-09-14 David Schleef <ds@schleef.org>
6512 * configure.ac: Remove getbits library. Nothing uses it, and
6513 it should be in something like liboil if someone did want
6515 * libs/gst/Makefile.am:
6516 * libs/gst/getbits/Makefile.am:
6517 * libs/gst/getbits/gbtest.c:
6518 * libs/gst/getbits/getbits.c:
6519 * libs/gst/getbits/getbits.h:
6520 * libs/gst/getbits/gstgetbits_generic.c:
6521 * libs/gst/getbits/gstgetbits_i386.s:
6522 * libs/gst/getbits/gstgetbits_inl.h:
6524 2005-09-14 David Schleef <ds@schleef.org>
6526 * gst/Makefile.am: Dist glib-compat.h
6528 2005-09-14 David Schleef <ds@schleef.org>
6530 * configure.ac: Remove gst/registries, since it's no longer used.
6531 * gst/registries/Makefile.am:
6532 * gst/registries/gstlibxmlregistry.c:
6533 * gst/registries/gstlibxmlregistry.h:
6534 * gst/registries/gstxmlregistry.c:
6535 * gst/registries/gstxmlregistry.h:
6536 * gst/registries/registrytest.c:
6538 2005-09-14 David Schleef <ds@schleef.org>
6540 * gst/glib-compat.h:
6541 * gst/gstregistryxml.c:
6542 Convergence is near. Seriously.
6544 2005-09-14 David Schleef <ds@schleef.org>
6546 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6547 * gst/glib-compat.h:
6548 Attempt #4 to appease the buildbots.
6550 2005-09-14 David Schleef <ds@schleef.org>
6552 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6555 2005-09-14 David Schleef <ds@schleef.org>
6557 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6560 2005-09-14 David Schleef <ds@schleef.org>
6562 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6565 2005-09-14 David Schleef <ds@schleef.org>
6567 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6568 * gst/glib-compat.h: Add some functions that are in newer versions
6569 of glib than we care to require.
6570 * gst/gstregistryxml.c: Use them.
6572 2005-09-14 David Schleef <ds@schleef.org>
6574 * po/POTFILES.in: remove gst-register.c
6576 2005-09-14 David Schleef <ds@schleef.org>
6578 * docs/gst/gstreamer-docs.sgml:
6579 * docs/gst/gstreamer-sections.txt:
6580 * docs/gst/gstreamer.types:
6581 * docs/gst/tmpl/gstelement.sgml:
6582 * docs/gst/tmpl/gstplugin.sgml:
6583 * docs/gst/tmpl/gstpluginfeature.sgml:
6584 Documentation updates for registry changes.
6586 2005-09-14 David Schleef <ds@schleef.org>
6588 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6589 because we don't require glib-2.8.
6591 2005-09-14 David Schleef <ds@schleef.org>
6593 * gst/gstregistryxml.c: Added. Essentially moved out of the
6594 registries directory.
6596 2005-09-14 David Schleef <ds@schleef.org>
6598 * check/Makefile.am:
6599 * check/generic/states.c:
6603 * gst/gst_private.h:
6604 * gst/gstelementfactory.c:
6609 * gst/gstpluginfeature.c:
6610 * gst/gstpluginfeature.h:
6611 * gst/gstregistry.c:
6612 * gst/gstregistry.h:
6613 * gst/gstregistrypool.c: remove
6614 * gst/gstregistrypool.h: remove
6615 * gst/gsttypefind.c:
6616 * gst/gsttypefindfactory.c:
6618 * tools/Makefile.am:
6619 * tools/gst-compprep.c:
6620 * tools/gst-inspect.c:
6621 * tools/gst-register.c: remove
6622 * tools/gst-xmlinspect.c:
6623 Registry rewrite. Changes registry from being a file created
6624 by a tool into a simple cache file created automatically by
6625 libgstreamer. Removed gst-register (because it's no longer
6626 needed). Remove registry pools, because we only have one
6627 registry implementation (XML). Fix up other subsystems as
6630 2005-09-13 Michael Smith <msmith@fluendo.com>
6632 * gst/gstconfig.h.in:
6633 Don't Use windows linking attributes for MinGW. Fixes #316157
6635 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6637 * gst/gstutils.c: (set_state_async_thread_func),
6638 (gst_element_set_state_async):
6639 Apparently people think it's better if this function doesn't
6640 try to set the state to whatever state was asked for on the first
6641 call to this function for any object. Seriously.
6643 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6645 * check/gst/gstpipeline.c: (GST_START_TEST):
6646 * docs/gst/gstreamer-sections.txt:
6647 * gst/gstutils.c: (set_state_async_thread_func),
6648 (gst_element_set_state_async):
6650 add a "gst_element_set_state_async" method that
6651 sets the state and starts a thread to make sure the state
6652 change completes as best as it can
6654 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6656 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6657 codify design+behaviour in testsuite after discussion
6659 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6661 * docs/gst/tmpl/gstelement.sgml:
6662 * docs/manual/appendix-quotes.xml:
6664 * gst/gstelement.c: (gst_element_set_state):
6667 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6669 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6670 (gst_base_transform_prepare_output_buf),
6671 (gst_base_transform_handle_buffer):
6672 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6673 (gst_capsfilter_prepare_buf):
6674 Remove the requirement for sub-classes to call the parent
6675 implementation of prepare_output_buffer with a wrapper function.
6678 * gst/gsttagsetter.h:
6681 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6683 * docs/gst/gstreamer-sections.txt:
6686 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6688 * docs/gst/gstreamer-sections.txt:
6689 * docs/gst/tmpl/gstelement.sgml:
6690 * docs/gst/tmpl/gstplugin.sgml:
6691 * gst/gstminiobject.c:
6693 docs now stop throwing warnings
6695 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6697 * docs/gst/gstreamer-sections.txt:
6698 * docs/gst/gstreamer.types:
6699 * docs/gst/tmpl/gstpad.sgml:
6700 * docs/gst/tmpl/gsttypes.sgml:
6701 * gst/base/gstadapter.h:
6702 * gst/base/gstbasesink.h:
6703 * gst/base/gstbasesrc.h:
6713 * gst/gststructure.c:
6714 * gst/registries/gstlibxmlregistry.h:
6715 various documentation fixes
6717 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6719 * docs/gst/gstreamer-sections.txt:
6720 * docs/gst/tmpl/gstvalue.sgml:
6721 rearrange gstvalue section
6722 * gst/gstutils.c: (gst_element_state_get_name):
6724 * gst/gstvalue.c: (_gst_value_initialize):
6728 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6730 * check/gst-libs/controller.c:
6732 * gst/base/gstbasetransform.c:
6733 (gst_base_transform_default_prepare_buf),
6734 (gst_base_transform_handle_buffer):
6735 * gst/base/gstbasetransform.h:
6736 Some more basetransform changes and fixes to enable sub-classes
6737 that modify buffer metadata only.
6738 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6739 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6740 (gst_capsfilter_prepare_buf):
6741 If the output pad has fixed allowed caps and input buffers
6742 don't have any, set the fixed caps on outgoing buffers.
6744 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6745 * check/elements/identity.c: (GST_START_TEST):
6746 Make the error a little clearer when the test fails because
6747 identity made a copy of the buffer.
6748 * docs/gst/gstreamer-sections.txt:
6749 New symbols in gstbasetransform.h
6750 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6751 (gst_base_transform_init), (gst_base_transform_transform_size),
6752 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6753 (gst_base_transform_default_prepare_buf),
6754 (gst_base_transform_get_unit_size),
6755 (gst_base_transform_buffer_alloc),
6756 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6757 (gst_base_transform_change_state),
6758 (gst_base_transform_set_passthrough),
6759 (gst_base_transform_set_in_place),
6760 (gst_base_transform_is_in_place):
6761 * gst/base/gstbasetransform.h:
6762 Change BaseTransform to separate in_place operate from same_caps
6763 output. in_place implies that the element can perform the transform
6764 on incoming buffers in-place, even if the caps on the output are
6766 Sub-class elements can now implement special buffer allocation
6767 methods for outgoing buffers if they wish to.
6768 Big documentation addition.
6769 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6770 * gst/elements/gstelements.c:
6771 Changes for basetransform modifications.
6772 * gst/elements/Makefile.am:
6773 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6774 Compile fix. Extra debug output.
6776 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6778 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6780 add tests for valid pad naming
6781 * gst/check/gstcheck.c: (gst_check_log_message_func),
6782 (gst_check_log_critical_func):
6784 remove printing of code, it is fragile when the code contains
6785 % and the line number is enough info
6786 * gst/check/gstcheck.h:
6787 * gst/gstpad.c: (gst_pad_template_new):
6790 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6793 say what CHECK flags we use
6794 * docs/libs/gstreamer-libs.types:
6795 * libs/gst/controller/Makefile.am:
6796 * libs/gst/controller/gst-controller.c:
6797 * libs/gst/controller/gst-controller.h:
6798 * libs/gst/controller/gst-helper.c:
6799 * libs/gst/controller/gst-interpolation.c:
6800 * libs/gst/controller/gstcontroller.c:
6801 * libs/gst/controller/gsthelper.c:
6802 * libs/gst/controller/gstinterpolation.c:
6803 * tools/gst-inspect.c: (print_plugin_info):
6804 we don't use dashes in header names
6806 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6808 * check/Makefile.am:
6809 * check/gst/.cvsignore:
6810 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6811 (gst_pipeline_suite), (main):
6812 adding a test for pipelines and state changes
6813 * gst/gstutils.c: (get_state_func):
6815 * gstreamer.spec.in:
6818 2005-09-08 Michael Smith <msmith@fluendo.com>
6820 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6821 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6822 (gst_file_src_is_seekable), (gst_file_src_get_size),
6823 (gst_file_src_start):
6824 * gst/elements/gstfilesrc.h:
6825 Various fixes for unseekable, unmmapable, and non-normal files, so
6826 that fallback to read() rather than mmap() works.
6827 * gst/gstevent.c: (gst_event_new_newsegment):
6828 Allow newsegment events with segment_start == segment_end, as will
6829 correctly happen if you use filesrc on a zero-size file, for
6832 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6834 * gst/gstplugin.c: (gst_plugin_load_file):
6835 Call g_module_close when we don't load the module
6837 * gst/registries/gstlibxmlregistry.c:
6838 (gst_xml_registry_get_property):
6839 Port leak fix from 0.8
6841 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6843 * docs/gst/gstreamer-docs.sgml:
6844 * docs/gst/tmpl/.cvsignore:
6845 * docs/gst/tmpl/gsttrace.sgml:
6846 * docs/gst/tmpl/gsttrashstack.sgml:
6855 * gst/gsttaginterface.c:
6856 * gst/gsttaginterface.h:
6859 * gst/gsttagsetter.c:
6860 * gst/gsttagsetter.h:
6863 * gst/gsttrashstack.c:
6864 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6865 inlined docs for gsttrace, gsttrashstack
6867 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6870 * gst/elements/gstbufferstore.h:
6871 * gst/elements/gsttypefindelement.c:
6872 * gst/elements/gsttypefindelement.h:
6874 * gst/gsttypefind.c:
6875 * gst/gsttypefind.h:
6876 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6877 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6878 (gst_type_find_factory_dispose),
6879 (gst_type_find_factory_unload_thyself),
6880 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6881 (gst_type_find_factory_get_caps),
6882 (gst_type_find_factory_get_extensions),
6883 (gst_type_find_factory_call_function):
6884 * gst/gsttypefindfactory.h:
6885 * gst/registries/gstlibxmlregistry.c:
6886 * gst/registries/gstxmlregistry.c:
6887 splitted gsttypefind into gsttypefind, gsttypefindfactory
6889 2005-09-07 Andy Wingo <wingo@pobox.com>
6891 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6892 condition whereby the pad's task function is entered before the
6893 pad_mode variable was set.
6895 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6897 * gst/gstpad.c: (gst_pad_alloc_buffer):
6898 Catch misbehaving pad_alloc functions that don't
6899 set up caps and do it for them.
6901 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6903 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6905 * docs/gst/tmpl/.cvsignore:
6906 * docs/gst/tmpl/gstmemchunk.sgml:
6907 * docs/gst/tmpl/gstparse.sgml:
6908 * docs/gst/tmpl/gsttaglist.sgml:
6909 * docs/gst/tmpl/gsttagsetter.sgml:
6910 * docs/gst/tmpl/gsttypefind.sgml:
6911 * docs/gst/tmpl/gsttypefindfactory.sgml:
6912 * gst/gstmemchunk.c:
6915 * gst/gsttaginterface.c:
6916 * gst/gsttypefind.c:
6917 * gst/gsttypefind.h:
6920 === release 0.9.2 ===
6922 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6927 releasing 0.9.2, "South"
6929 2005-09-05 Andy Wingo <wingo@pobox.com>
6931 * gst/registries/gstxmlregistry.h:
6932 * gst/registries/gstxmlregistry.c: Um... resurrect...
6934 * gst/registries/gstxmlregistry.h:
6935 * gst/registries/gstxmlregistry.c: and update to newer API.
6936 Incidentally they should be a bit faster now that they don't have
6939 2005-09-05 Andy Wingo <wingo@pobox.com>
6941 * gst/registries/gstxmlregistry.h:
6942 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6943 replaced by the libxml registry a while back
6945 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6947 * docs/gst/tmpl/gstplugin.sgml:
6948 * gst/elements/gstelements.c:
6950 * gst/gstplugin.c: (gst_plugin_register_func),
6951 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6952 (gst_plugin_get_source):
6954 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6955 (gst_xml_registry_save_plugin):
6956 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6957 (gst_xml_registry_save_plugin):
6958 * tools/gst-inspect.c: (print_plugin_info):
6959 add a "source" plugin description field, to represent the source
6960 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6961 will set it to PACKAGE, which is automake's idea of the name of
6964 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6970 * docs/faq/Makefile.am:
6971 * docs/gst/tmpl/gstelement.sgml:
6972 * docs/gst/tmpl/gsttypes.sgml:
6973 * docs/htmlinstall.mak:
6974 * docs/manual/Makefile.am:
6975 * docs/pwg/Makefile.am:
6976 reorganize doc build a little
6977 split out docbook and gtk-doc stuff
6978 have two separate --enable's and enable them through autogen
6979 but disable by default in configure (to be similar to other
6981 * gstreamer.spec.in:
6982 clean up docs install
7002 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7004 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7007 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7008 (gst_fake_sink_change_state):
7009 Make state change function thread-safe.
7011 * gst/gstpad.c: (gst_pad_alloc_buffer):
7012 Set offset on generic buffer allocated by fallback.
7014 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7016 * docs/gst/gstreamer-sections.txt:
7017 * docs/gst/tmpl/gstelement.sgml:
7019 * libs/gst/controller/gst-controller.c:
7020 (gst_controlled_property_set_interpolation_mode),
7021 (gst_controlled_property_new),
7022 (gst_controller_find_controlled_property):
7023 run the wingo-magic script against the docs
7025 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7027 * docs/gst/gstreamer-docs.sgml:
7028 * docs/gst/gstreamer-sections.txt:
7029 * docs/gst/tmpl/.cvsignore:
7030 * docs/gst/tmpl/gstelementdetails.sgml:
7031 * docs/gst/tmpl/gstelementfactory.sgml:
7034 * gst/gstelementfactory.c:
7035 * gst/gstelementfactory.h:
7036 merged elementdetails docs into elementfactory docs
7039 2005-09-02 Andy Wingo <wingo@pobox.com>
7041 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7042 consider this enum an enum and not a flags.
7044 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7046 * docs/gst/gstreamer-docs.sgml:
7047 * docs/gst/tmpl/.cvsignore:
7048 * docs/gst/tmpl/gstghostpad.sgml:
7049 * docs/gst/tmpl/gstiterator.sgml:
7050 * docs/gst/tmpl/gstmacros.sgml:
7051 * docs/gst/tmpl/gstrealpad.sgml:
7052 * docs/gst/tmpl/gstregistry.sgml:
7053 * docs/gst/tmpl/gstregistrypool.sgml:
7054 * docs/gst/tmpl/gststructure.sgml:
7055 * docs/gst/tmpl/gstsystemclock.sgml:
7056 * docs/gst/tmpl/gsttrace.sgml:
7057 * gst/gstghostpad.c:
7059 * gst/gstmemchunk.c:
7060 * gst/gstmemchunk.h:
7062 * gst/gstregistry.c:
7063 * gst/gstregistrypool.c:
7064 * gst/gststructure.c:
7065 * gst/gstsystemclock.c:
7068 2005-09-02 Andy Wingo <wingo@pobox.com>
7070 * gst/gstelement.h (GstState): Renamed from GstElementState,
7071 changed to be a normal enum instead of flags.
7072 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7073 munged to be GST_STATE_CHANGE_*.
7074 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7075 work with the new state representation.
7076 (GstStateChange): New enumeration of possible state transitions.
7077 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7078 (GstElementClass::change_state): Pass the GstStateChange along as
7079 an argument. Helps language bindings, so they don't have to use
7080 tricky lock-needing macros like GST_STATE_CHANGE ().
7082 * scripts/update-states (file): New script. Run it on a file to
7083 update it for state naming and API changes. Updates files in
7086 * All files updated for the new API.
7088 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7090 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7091 * gst/gstutils.c: (gst_util_set_value_from_string),
7092 (gst_util_set_object_arg):
7093 fix a bunch of unchecked return values
7094 * tools/gst-complete.c: (main):
7095 * gstreamer.spec.in:
7098 2005-09-01 Wim Taymans <wim@fluendo.com>
7100 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7101 (gst_base_sink_event), (gst_base_sink_do_sync),
7102 (gst_base_sink_handle_event):
7103 * gst/base/gstbasesink.h:
7104 Handle newsegments more correctly.
7109 * gst/gstevent.c: (gst_event_new_newsegment):
7110 A newsegment cannot have a start_time of -1
7112 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7114 * win32/gstenumtypes.c:
7115 * win32/gstenumtypes.h:
7118 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7120 * libs/gst/controller/gst-controller.c:
7121 (gst_controlled_property_set_interpolation_mode),
7122 (gst_controlled_property_new):
7125 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7127 * docs/faq/gst-uninstalled:
7132 * gst/gstutils.c: (gst_element_link_filtered):
7134 add gst_element_link_filtered
7136 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7138 * docs/gst/gstreamer-docs.sgml:
7139 * docs/gst/gstreamer-sections.txt:
7140 * docs/gst/tmpl/.cvsignore:
7141 * docs/gst/tmpl/gsterror.sgml:
7142 * docs/gst/tmpl/gstfilter.sgml:
7143 * docs/gst/tmpl/gsturihandler.sgml:
7144 * docs/gst/tmpl/gsturitype.sgml:
7145 * docs/gst/tmpl/gstutils.sgml:
7146 * docs/gst/tmpl/gstxml.sgml:
7154 inlined more docs, fixed double id-ref
7156 2005-08-31 Wim Taymans <wim@fluendo.com>
7158 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7159 (gst_base_transform_handle_buffer):
7160 Passthrough elements don't need the caps as they don't care.
7162 2005-08-31 Wim Taymans <wim@fluendo.com>
7164 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7165 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7166 Don't leak refcounts on buffers.
7168 2005-08-31 Wim Taymans <wim@fluendo.com>
7170 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7171 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7172 (gst_base_transform_chain), (gst_base_transform_change_state):
7173 * gst/base/gstbasetransform.h:
7174 Handle the case where we are not negotiated more gracefully.
7176 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7178 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7179 (gst_file_src_map_region):
7180 Set READONLY flag on mmap'ed buffers, otherwise
7181 gst_buffer_make_writable() won't work properly (#314708).
7183 2005-08-31 Wim Taymans <wim@fluendo.com>
7185 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7186 passthrough elements can even do inplace on non writable
7187 buffers (as they don't touch them).
7189 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7191 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7192 (gst_test_mono_source_set_property),
7193 (gst_test_mono_source_class_init), (GST_START_TEST),
7194 (gst_controller_suite):
7195 more tests (hehe I have the most)
7197 describe popping messages whenusing mulltiple sources
7198 * libs/gst/controller/gst-controller.c:
7199 (gst_controlled_property_set_interpolation_mode),
7200 (gst_controlled_property_new):
7201 * libs/gst/controller/gst-controller.h:
7202 * libs/gst/controller/gst-interpolation.c:
7203 implement boolean properties
7205 2005-08-31 Wim Taymans <wim@fluendo.com>
7207 * gst/gstminiobject.c: (gst_mini_object_ref):
7208 Cannot assert that the refcount has to be positive
7209 since a disposed object can be resurrected.
7211 2005-08-31 Wim Taymans <wim@fluendo.com>
7213 * gst/gstpad.c: (gst_pad_init):
7214 Revert change, need to first fix badly behaving
7217 2005-08-30 Wim Taymans <wim@fluendo.com>
7219 * check/elements/fakesrc.c: (setup_fakesrc):
7220 * check/elements/identity.c: (setup_identity):
7221 Activate pads before using them.
7223 2005-08-30 Wim Taymans <wim@fluendo.com>
7225 * gst/base/gstadapter.c: (gst_adapter_flush):
7226 Flushing out 0 bytes is ok for this function.
7228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7229 no newsegment gives a warning and sets the start/stop to
7232 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7233 (gst_base_transform_set_passthrough):
7236 * gst/gstminiobject.c: (gst_mini_object_ref):
7237 Check refcount here too.
7239 * gst/gstpad.c: (gst_pad_init):
7240 Pads are initially flushing and refusing data.
7242 * gst/gstutils.c: (gst_element_link_pads_filtered):
7243 When adding a capsfilter element make sure it has the
7244 same state as the parent bin.
7246 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7248 * docs/gst/tmpl/.cvsignore:
7249 * docs/gst/tmpl/gstformat.sgml:
7250 * docs/gst/tmpl/gstversion.sgml:
7254 * gst/gstversion.h.in:
7255 more docs and two more inlined
7257 2005-08-30 Wim Taymans <wim@fluendo.com>
7259 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7260 Don't sync to clock.
7262 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7264 * docs/gst/gstreamer-sections.txt:
7265 ultral33t func10ns deserve to appear in the docs actually
7266 * docs/gst/tmpl/.cvsignore:
7267 * docs/gst/tmpl/gstcompat.sgml:
7268 * docs/gst/tmpl/gstconfig.sgml:
7269 * gst/check/gstcheck.c:
7271 * gst/gstconfig.h.in:
7274 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7276 * docs/gst/tmpl/.cvsignore:
7277 * docs/gst/tmpl/gstquery.sgml:
7278 * docs/gst/tmpl/gstutils.sgml:
7281 inlined and extended docs
7283 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7285 * check/gst-libs/controller.c: (GST_START_TEST),
7286 (gst_controller_suite):
7288 * docs/gst/tmpl/gstutils.sgml:
7289 * docs/libs/gstreamer-libs-sections.txt:
7290 * docs/libs/tmpl/gstdataprotocol.sgml:
7292 * examples/controller/audio-example.c: (main):
7293 controller example works now
7296 * tools/gst-inspect.c: (print_element_properties_info):
7297 show param spec flags
7299 2005-08-29 Andy Wingo <wingo@pobox.com>
7301 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7303 2005-08-28 Andy Wingo <wingo@pobox.com>
7305 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7306 as having two arguments instead of just one. Allows superclasses
7307 to access information on subclasses -- see the terrible for() loop
7308 in gtype.c:g_type_create_instance for the reason why. All callers
7311 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7313 * docs/design/part-messages.txt:
7315 * docs/gst/tmpl/.cvsignore:
7316 * docs/gst/tmpl/gstcaps.sgml:
7317 * docs/gst/tmpl/gstclock.sgml:
7324 added descriptions for bus and message
7325 inline caps and clock docs
7327 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7333 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7335 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7338 2005-08-26 Andy Wingo <wingo@pobox.com>
7340 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7341 element_set_state's return val.
7342 (test_2_elements): Add test that's been disabled for months.
7344 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7345 can-activate-pull properties.
7347 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7348 can-activate-pull properties. Implement is_seekable so fakesrc can
7349 operate in pull mode.
7351 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7353 (gst_base_sink_activate, gst_base_sink_activate_pull)
7354 (gst_base_sink_activate_push): Make activation mode choosing work.
7356 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7357 is right. Make pull mode work. Post an eos before pausing in pull
7359 (gst_base_sink_change_state): Pay attention to the core's
7360 change_state() return val.
7362 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7363 has-getrange properties. Cleanups.
7365 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7366 has_getrange and replace with can_activate_pull and
7369 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7370 locking comments. Remove has_loop, has_chain and replace with
7371 can_activate_pull and can_activate_push.
7373 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7376 * examples/Makefile.am:
7377 * examples/metadata/Makefile.am:
7378 * examples/metadata/read-metadata.c: (message_loop),
7379 (have_pad_handler), (make_pipeline), (print_tag), (main):
7380 Add metadata reading example that loops over a list of filenames,
7381 dumping any tags found.
7383 * gst/gstbus.c: (gst_bus_dispose):
7384 * gst/gstelement.c: (gst_element_dispose):
7385 Release a few potentially-held references in dispose.
7387 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7389 * docs/gst/tmpl/gstminiobject.sgml:
7390 do *not* add tmpl/*.sgml files to CVS!
7392 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7394 * libs/gst/bytestream/.cvsignore:
7395 * libs/gst/bytestream/Makefile.am:
7396 * libs/gst/bytestream/adapter.c:
7397 * libs/gst/bytestream/adapter.h:
7398 * libs/gst/bytestream/bytestream.c:
7399 * libs/gst/bytestream/bytestream.h:
7400 * libs/gst/bytestream/filepad.c:
7401 * libs/gst/bytestream/filepad.h:
7402 removing obsolete files
7404 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7406 * docs/gst/gstreamer-docs.sgml:
7407 * docs/libs/gstreamer-libs-docs.sgml:
7408 disabed additional index entries again, as this makes docs-gen just
7409 slow and they aren't useful yet
7410 * docs/libs/gstreamer-libs-sections.txt:
7411 little -section.txt cleanup for libs
7413 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7416 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7417 fix up some debugging
7418 (gst_base_transform_get_unit_size),
7419 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7420 (gst_base_transform_handle_buffer):
7421 * gst/base/gstbasetransform.h:
7422 handle and store timed NEWSEGMENT events so that subclasses that
7423 calculate time by counting samples have a segment_start time they
7424 need to add to their timestamps - see audioresample
7426 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7429 removed ';' from the end of macro defs
7430 * docs/gst/gstreamer-docs.sgml:
7431 * docs/gst/gstreamer-sections.txt:
7432 * docs/gst/tmpl/.cvsignore:
7434 * gst/gstelement.c: (gst_element_class_init),
7435 (gst_element_set_state), (activate_pads),
7436 (gst_element_save_thyself):
7437 * gst/gstevent.c: (gst_event_new_newsegment):
7439 * gst/gstiterator.c:
7440 * gst/gstiterator.h:
7443 * gst/gstutils.c: (gst_pad_query_convert):
7445 fixed parameter name mismatches between source, header and docs
7446 added some more docs, resolved the last batch of unused elements in
7447 docs (now someone needs to doc them)
7449 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7451 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7452 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7453 don't walk through the plugins backwards. Where is all this
7454 reversed logic coming from ?
7456 2005-08-25 Wim Taymans <wim@fluendo.com>
7458 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7459 (gst_base_transform_transform_size),
7460 (gst_base_transform_configure_caps),
7461 (gst_base_transform_get_unit_size),
7462 (gst_base_transform_buffer_alloc),
7463 (gst_base_transform_change_state):
7464 * gst/base/gstbasetransform.h:
7465 Cache caps unit_size.
7466 Make sure we cannot negotiate up and downstream at the
7469 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7471 * gst/gst.c: (init_pre), (init_post):
7472 register the installed plugin path after the env var
7473 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7474 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7475 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7476 directories, so the tests can prefer uninstalled over installed
7478 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7480 * gst/base/gstbasetransform.h:
7485 2005-08-25 Wim Taymans <wim@fluendo.com>
7487 * gst/gstbin.c: (bin_bus_handler):
7488 Be a bit more conservative about the posted message.
7490 * gst/gstbus.c: (gst_bus_post):
7491 Some cleanups, warn wrong return values.
7493 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7495 * check/gst/gstbin.c: (GST_START_TEST):
7496 * gst/gstbin.c: (bin_bus_handler):
7497 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7498 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7499 (gst_message_new_warning), (gst_message_new_tag),
7500 (gst_message_new_state_changed), (gst_message_new_segment_start),
7501 (gst_message_new_segment_done), (gst_message_new_custom):
7503 * tools/gst-launch.c: (event_loop):
7504 * tools/gst-md5sum.c: (event_loop):
7505 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7507 2005-08-25 Wim Taymans <wim@fluendo.com>
7509 * check/generic/states.c: (GST_START_TEST):
7510 Cleanup can be done at the end.
7512 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7513 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7514 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7515 Oh boy.. Thanks for finding this, Thomas.
7517 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7519 * docs/gst/gstreamer.types:
7522 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7524 * docs/gst/gstreamer-docs.sgml:
7525 * docs/gst/gstreamer-sections.txt:
7526 * docs/gst/tmpl/.cvsignore:
7528 * gst/gstiterator.c:
7530 * gst/registries/gstxmlregistry.h:
7531 added missing classes and symbols (123 more to go)
7532 removed removed symbols from section file
7533 fixed many doc-comments
7535 2005-08-24 Wim Taymans <wim@fluendo.com>
7537 * check/generic/states.c: (GST_START_TEST):
7538 Make sure all tasks are stopped.
7540 * check/gst/gstbin.c: (GST_START_TEST):
7541 Unref after usage for proper valgrinding.
7543 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7544 Really wait for the task to stop before destroying the
7547 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7548 (gst_queue_src_activate_push):
7549 Small cleanups. Don't stop the task when we did not start
7552 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7553 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7554 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7557 Protect the stream lock with the object lock.
7558 Disallow setting the stream lock when running.
7559 Add cleanup_all to wait for the threadpool to finish.
7560 Remove code to autoallocate a mutex if none was provided.
7561 Add _join() to wait for a task to stop.
7562 Protect the thread pool with a global lock.
7564 2005-08-24 Wim Taymans <wim@fluendo.com>
7566 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7567 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7568 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7569 * gst/base/gstbasesink.h:
7570 Handle newsegment events correctly.
7571 Drop buffers out of the segment range.
7573 2005-08-22 Andy Wingo <wingo@pobox.com>
7575 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7576 macro, implements an interface and gstimplementsinterface for a
7579 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7581 * check/Makefile.am:
7582 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7583 add a test that does a bunch of state changes on elements
7584 needs some fixing for valgrind
7585 * check/states/sinks.c: (gst_object_suite):
7588 add prototype for gst_caps_is_equal_fixed
7590 * gst/gstregistrypool.c:
7593 2005-08-24 Andy Wingo <wingo@pobox.com>
7595 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7596 convert a negative value. Doesn't make much sense. Mostly this is
7597 here to force callers to ensure -1 maps to -1.
7599 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7601 * docs/pwg/advanced-types.xml:
7602 Well done to Michael for catching my deliberate introduction
7603 of this spelling mistake.
7604 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7606 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7607 unlink pads before removing the element from the bin.
7609 2005-08-24 Andy Wingo <wingo@pobox.com>
7611 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7612 the same thing as GST_DEBUG=*:4.
7613 (parse_debug_level, parse_debug_category): New helper parsers.
7615 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7617 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7618 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7619 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7620 (gst_base_transform_buffer_alloc),
7621 (gst_base_transform_handle_buffer):
7622 use gboolean return values and pointers to size so we can use the
7623 full GST_BUFFER_SIZE range (guint) for buffer sizes
7624 use GstPadDirection for transform_caps
7625 * gst/base/gstbasetransform.h:
7626 rename get_size to get_unit_size since that's what it is
7627 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7628 use GstPadDirection for transform_caps
7629 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7631 cleanup and debugging
7633 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7635 * gst/gstelement.c: (gst_element_class_init),
7636 (gst_element_set_state), (activate_pads),
7637 (gst_element_save_thyself):
7638 * tools/gst-compprep.c: (main):
7639 * tools/gst-inspect.c: (print_element_properties_info):
7640 * tools/gst-xmlinspect.c: (print_element_properties):
7641 Fixed long standing mem-leak
7643 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7645 * check/gst/gstbin.c: (GST_START_TEST):
7646 * gst/gstbin.c: (bin_bus_handler):
7647 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7648 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7649 (gst_message_new_warning), (gst_message_new_tag),
7650 (gst_message_new_state_changed), (gst_message_new_segment_start),
7651 (gst_message_new_segment_done), (gst_message_new_custom):
7653 * tools/gst-launch.c: (event_loop):
7654 * tools/gst-md5sum.c: (event_loop):
7655 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7656 that applications can sensibly post custom messages with references
7657 to their own objects.
7659 2005-08-24 Andy Wingo <wingo@pobox.com>
7661 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7664 2005-08-24 Wim Taymans <wim@fluendo.com>
7666 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7667 (gst_base_transform_transform_caps),
7668 (gst_base_transform_transform_size),
7669 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7670 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7671 (gst_base_transform_handle_buffer):
7672 * gst/base/gstbasetransform.h:
7673 Many fixes and new features added by Thomas. Can now also do
7674 transforms with variable sizes and a custom fixate_caps function.
7676 2005-08-24 Wim Taymans <wim@fluendo.com>
7678 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7682 Cast to ClockTime before formatting to time.
7687 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7689 * check/gst-libs/controller.c: (GST_START_TEST),
7690 (gst_controller_suite):
7691 * docs/gst/tmpl/gstcaps.sgml:
7692 * docs/gst/tmpl/gstghostpad.sgml:
7693 * docs/gst/tmpl/gstquery.sgml:
7694 * docs/gst/tmpl/gstutils.sgml:
7695 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7696 (gst_object_sink_values), (gst_object_get_value_arrays),
7697 (gst_object_get_value_array):
7698 gracefully handle helper method calls to objects that are not beeing
7699 controlled, added test case for that
7701 2005-08-23 Wim Taymans <wim@fluendo.com>
7703 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7704 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7705 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7706 (gst_event_parse_qos), (gst_event_new_seek),
7707 (gst_event_parse_seek):
7709 Some more debugging output and doc cleanups.
7711 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7712 Fix possible deadlock.
7714 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7716 * docs/gst/gstreamer-docs.sgml:
7717 * docs/gst/gstreamer-sections.txt:
7718 * docs/gst/gstreamer.types:
7719 * docs/gst/tmpl/.cvsignore:
7724 added 100 symbols from gstreamer-unused.txt to the right sections
7725 fixed more broken comments
7726 added GstBus to docs
7728 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7730 * docs/gst/gstreamer-sections.txt:
7731 * docs/gst/tmpl/.cvsignore:
7732 * docs/gst/tmpl/gstbin.sgml:
7733 * docs/gst/tmpl/gstbuffer.sgml:
7734 * gst/base/gstbasesrc.c:
7735 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7738 * tools/gst-launch.1.in:
7739 inlined more doc comments, added missing comments and fixed comments
7742 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7744 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7748 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7750 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7751 * gst/gststructure.h:
7752 add a fixate function for booleans; add a FIXME that these func
7753 names should probably be gst_structure_fixate_*
7755 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7757 * docs/gst/gstreamer-docs.sgml:
7758 * docs/gst/gstreamer-sections.txt:
7760 * gst/gstbin.c: (gst_bin_get_type),
7761 (gst_bin_child_proxy_get_child_by_index),
7762 (gst_bin_child_proxy_get_children_count),
7763 (gst_bin_child_proxy_init):
7764 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7765 (gst_child_proxy_get_child_by_index),
7766 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7767 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7768 (gst_child_proxy_get), (gst_child_proxy_set_property),
7769 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7770 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7771 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7772 * gst/gstchildproxy.h:
7773 * gst/parse/grammar.y:
7774 * tools/gst-inspect.c: (print_interfaces),
7775 (print_element_properties_info), (print_element_info):
7776 ported gstchildproxy over from 0.8
7777 ported gst-inspect fixes and enhancements over from 0.8
7779 2005-08-22 Wim Taymans <wim@fluendo.com>
7781 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7782 (gst_base_transform_handle_buffer):
7783 Also call the transform function if we have ANY caps.
7785 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7788 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7790 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7791 Don't pretend to handle seek events if the source is not seekable
7793 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7795 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7796 Remove extra parameter to debug output
7798 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7799 (gst_base_src_do_seek), (gst_base_src_activate_push):
7800 Fix seek event handling.
7802 * gst/gstpipeline.c: (gst_pipeline_change_state):
7803 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7804 (gst_queue_src_activate_push):
7805 Don't start the src pad task on FLUSH_STOP if the pad
7809 2005-08-22 Wim Taymans <wim@fluendo.com>
7811 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7812 Added check for gst_static_caps_get() refcounting.
7814 2005-08-22 Wim Taymans <wim@fluendo.com>
7816 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7817 Make _static_caps_get() refcounting sane.
7819 * gst/gstelement.c: (gst_element_set_state):
7820 Add g_return_val_if_fail() to protect against segfaults.
7822 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7824 * docs/gst/tmpl/gstevent.sgml:
7827 inlined remaining docs, added missing doc comments
7829 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7831 * check/gst/gstbin.c: (GST_START_TEST):
7832 since we don't know when preroll is done, use refcount range
7834 * gst/check/gstcheck.h:
7835 add macro for checking refcount range
7837 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7839 * check/Makefile.am:
7840 clean up environment for when registry gets built versus
7841 when actual tests are run; valgrind seems to not report
7842 leaks if GST_PLUGIN_PATH is set to some specific values
7843 * check/gst/gstbin.c: (GST_START_TEST):
7844 add more refcounting checks; maybe this exposes a
7847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7848 * gst/check/gstcheck.h:
7849 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7850 (gst_bin_change_state):
7851 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7852 add/fix debugging/whitespace
7854 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7856 * check/gst/gstevent.c: (event_probe), (test_event),
7858 Er, don't call gst_bin_watch_for_state_change you idiot.
7860 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7862 * check/Makefile.am:
7863 Use CHECK_CFLAGS and CHECK_LIBS
7864 * check/gst/gstevent.c: (event_probe), (test_event),
7867 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7868 (gst_base_src_start), (gst_base_src_stop),
7869 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7870 (gst_base_src_change_state):
7871 Sprinkle gst_base_src_stop liberally around error paths to fix
7872 problems reusing a source after failed state changes.
7873 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7874 (helper_find_suggest), (gst_type_find_helper):
7875 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7877 * docs/gst/tmpl/gstevent.sgml:
7878 Migrate part of the docs from the SGML file. Wait for ensonic to
7879 tell me how I did it wrong ;)
7880 * tools/gst-typefind.c: (main):
7881 Extra robustness to state changes between files.
7883 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7885 * check/Makefile.am:
7886 don't valgrind the controller test - it's leaking - Stefan, HELP
7887 * gst/check/gstcheck.c: (gst_check_message_error),
7888 (gst_check_chain_func), (gst_check_setup_element),
7889 (gst_check_teardown_element), (gst_check_setup_src_pad),
7890 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7891 (gst_check_teardown_sink_pad):
7892 * gst/check/gstcheck.h:
7893 add a bunch of methods to set up elements, and src and sink pads
7894 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7895 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7900 whitespace/doc fixes
7902 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7905 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7906 be handled by the application and not always printed as well
7908 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7910 * check/Makefile.am:
7912 * gst/check/gstcheck.c: (gst_check_message_error):
7913 * gst/check/gstcheck.h:
7914 add a fail_unless_equals_int
7915 add fail_unless for error messages
7917 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7919 * check/Makefile.am:
7921 * common/Makefile.am:
7924 factor out some of the common stuff so we can use it
7926 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7928 * check/Makefile.am:
7929 * check/gst/gstiterator.c: (GST_START_TEST):
7930 * check/gst/gstsystemclock.c: (GST_START_TEST),
7931 (gst_systemclock_suite):
7932 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7936 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7938 * check/elements/.cvsignore:
7939 * check/elements/gstfakesrc.c:
7940 rename to name of element
7941 * check/elements/identity.c: (chain_func), (event_func),
7942 (setup_identity), (cleanup_identity), (GST_START_TEST),
7943 (identity_suite), (main):
7944 add a test for identity
7945 * check/Makefile.am:
7946 * pkgconfig/Makefile.am:
7947 * pkgconfig/gstreamer-check.pc.in:
7948 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7952 move the check stuff to a library that gets installed
7953 * check/gst-libs/controller.c: (GST_START_TEST):
7954 * check/gst-libs/gdp.c:
7955 * check/gst/gst.c: (GST_START_TEST):
7956 * check/gst/gstbin.c:
7957 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7958 * check/gst/gstbus.c:
7959 * check/gst/gstcaps.c: (GST_START_TEST):
7960 * check/gst/gstelement.c:
7961 * check/gst/gstghostpad.c:
7962 * check/gst/gstiterator.c:
7963 * check/gst/gstmessage.c:
7964 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7965 * check/gst/gstobject.c:
7966 * check/gst/gstpad.c: (GST_START_TEST):
7967 * check/gst/gststructure.c: (GST_START_TEST):
7968 * check/gst/gstsystemclock.c: (GST_START_TEST),
7969 (gst_systemclock_suite):
7970 * check/gst/gsttag.c: (gst_tag_suite):
7971 * check/gst/gstvalue.c:
7972 * check/pipelines/cleanup.c:
7973 * check/pipelines/simple_launch_lines.c:
7974 * check/states/sinks.c:
7975 change include statement
7977 * docs/gst/gstreamer-sections.txt:
7978 * docs/gst/tmpl/gstpad.sgml:
7979 document more pad stuff
7980 * gst/gstminiobject.c: (gst_mini_object_ref),
7981 (gst_mini_object_unref):
7984 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7986 * docs/gst/tmpl/gst.sgml:
7988 eliminate another tmpl file, fix spelling in the long-description
7990 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7992 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7993 (test_event), (timediff), (gstevents_suite):
7994 Should fix build on 64-bit arch's
7996 2005-08-18 Andy Wingo <wingo@pobox.com>
7998 Make sure that when a pipeline goes to PLAYING, that data has
7999 actually hit the sink.
8001 * check/states/sinks.c (test_sink): A sink that doesn't get any
8002 data shouldn't return SUCCESS for going to either PLAYING or
8003 PAUSED. Test also the return values on the way back down.
8005 * gst/gstelement.c (gst_element_set_state): When changing the
8006 state of an element currently changing state asynchronously, go to
8007 lost-state after commiting the pending state. Makes future calls
8008 to get_state continue to return ASYNC.
8010 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8011 ASYNC when going to PLAYING if we still don't have preroll, as can
8012 happen with live sources.
8014 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8016 * docs/pwg/advanced-types.xml:
8017 Hack long paragraph into 2 chunks as a workaround for buggy
8018 jadetex version in sid and breezy that loops infinitely and
8021 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8023 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8024 (test_event), (timediff), (gstevents_suite):
8025 Provide more error margin in clock measurements to allow for
8026 g_get_current_time inaccuracies.
8028 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8030 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8031 (test_event), (timediff), (gstevents_suite):
8032 Fix error message output so I might be able to tell why the
8033 test works here but fails on the build farm.
8035 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8037 * check/Makefile.am:
8038 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8039 (test_event), (timediff), (gstevents_suite), (main):
8042 * docs/design/part-seeking.txt:
8045 * docs/gst/tmpl/gstevent.sgml:
8046 * docs/gst/tmpl/gstfakesrc.sgml:
8049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8050 Treat a buffer-without-newsegment the same as a receiving
8051 a newsegment not in time format, and disable syncing to the clock
8054 * gst/gstbus.c: (gst_bus_set_sync_handler):
8055 Assert if anyone tries to replace the existing sync_handler for bus,
8056 as only the owner should be setting it.
8059 Have a fixed set of custom event enums with events identified by
8060 their structure name (as in 0.8), rather than a free-for-all
8061 allowing collisions between enum values from different plugins.
8063 * gst/gstpad.c: (gst_pad_class_init):
8066 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8067 Handle out-of-band downstream events from the sending thread.
8069 2005-08-17 Andy Wingo <wingo@pobox.com>
8071 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8072 play-timeout==0 to mean no timeout at all. In that case, don't
8073 bother with a get_state or a warning, just return directly, even
8076 * gst/base/gstbasetransform.c: Debug changes.
8079 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8080 ensure bins post state change messages. A bit of a hack but I can't
8081 think of a way to avoid it.
8083 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8085 2005-08-16 Andy Wingo <wingo@pobox.com>
8087 * gst/base/gstadapter.h:
8088 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8089 peek() but you own the data. Not terribly efficient atm.
8091 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8093 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8094 (gst_element_found_tags):
8096 Add two utility functions for tag handling.
8098 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8100 * docs/manual/advanced-dataaccess.xml:
8101 * docs/manual/basics-helloworld.xml:
8102 Fix docs to use _bin_add() before _link(), which fixes the examples
8103 with recent core versions (reported by Madhan Raj M
8104 <raj_madan@rediffmail.com>, #313199).
8106 2005-08-16 Wim Taymans <wim@fluendo.com>
8108 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8109 Added subtract checks.
8111 * docs/design/part-events.txt:
8112 Some more docs about newsegment
8114 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8117 * gst/gstcaps.c: (gst_caps_to_string):
8118 Add comments, cleanups.
8120 * gst/gstelement.c: (gst_element_save_thyself):
8123 * gst/gstvalue.c: (gst_value_collect_int_range),
8124 (gst_string_unwrap), (gst_value_union_int_int_range),
8125 (gst_value_union_int_range_int_range),
8126 (gst_value_intersect_int_int_range),
8127 (gst_value_intersect_int_range_int_range),
8128 (gst_value_intersect_double_double_range),
8129 (gst_value_intersect_double_range_double_range),
8130 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8131 (gst_value_subtract_int_range_int),
8132 (gst_value_subtract_double_range_double),
8133 (gst_value_subtract_double_range_double_range),
8134 (gst_value_subtract_from_list), (gst_value_subtract_list),
8135 (gst_value_can_compare), (gst_value_compare_fraction):
8136 Cleanups, add comments, remove unneeded asserts.
8138 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8140 * tools/gst-launch.c: (event_loop):
8141 don't convert NULL structures to strings
8143 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8145 * docs/gst/gstreamer-sections.txt:
8146 made some defines private
8147 * docs/gst/tmpl/gstconfig.sgml:
8148 * docs/gst/tmpl/gstqueue.sgml:
8149 * docs/gst/tmpl/gsttaglist.sgml:
8150 * docs/gst/tmpl/gsttypes.sgml:
8151 * docs/gst/tmpl/gstutils.sgml:
8152 * docs/pwg/appendix-porting.xml:
8153 * gst/base/gstbasesink.h:
8154 * gst/base/gstbasesrc.c:
8155 * gst/base/gstbasesrc.h:
8156 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8157 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8158 * gst/gstelement.c: (gst_element_class_init):
8159 * gst/gstpad.c: (gst_pad_class_init):
8160 * gst/gstqueue.c: (gst_queue_class_init):
8161 * gst/gstxml.c: (gst_xml_class_init):
8162 documented all undocumented signal inline
8163 * libs/gst/controller/gst-controller.h:
8166 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8168 * docs/pwg/appendix-porting.xml:
8169 Document _set_link_function -> _set_setcaps_function.
8171 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8173 * check/Makefile.am:
8174 add a .check target for running the check
8175 * check/gst-libs/controller.c: (GST_START_TEST):
8177 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8178 complete checks for gstbuffer; would be nice if I could get the
8179 gcov stuff to work so I can see if I actually completed gstbuffer.c
8181 add ASSERT_BUFFER_REFCOUNT
8183 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8185 * docs/gst/gstreamer-sections.txt:
8186 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8188 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8189 spew out a warning if a tag that is already registered
8190 is re-registered, unless it is re-registered with a
8191 different type (#308438).
8193 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8195 * docs/pwg/appendix-porting.xml:
8196 * docs/pwg/building-state.xml:
8197 Add some paragraphs about state changes in 0.9 to the PWG
8198 and the porting guide, in particular about the new meaning
8199 of GST_STATE_PAUSED and how to write state change functions
8200 with concurrent access by multiple threads in mind.
8202 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8204 * docs/gst/gstreamer-docs.sgml:
8205 * docs/libs/gstreamer-libs-docs.sgml:
8206 added deprecation and since indexes
8207 * libs/gst/controller/gst-controller.c:
8208 * libs/gst/controller/gst-helper.c:
8212 2005-08-11 Wim Taymans <wim@fluendo.com>
8214 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8215 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8216 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8217 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8218 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8219 (gst_ghost_pad_set_target):
8220 Actually implement (re)setting the target on a ghostpad
8221 as described in the docs.
8223 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8225 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8226 Check whether GST_DEBUG_NO_COLOR environment variable is
8227 set and disable coloured debug output if that is the case.
8229 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8231 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8232 (gst_type_find_helper):
8233 The memory returned by gst_type_find_peek() needs to
8234 stay valid until the end of a typefind function, and
8235 typefind functions may keep results from different
8236 offsets around, so we can't just unref the buffer from
8237 the previous _peek(), but have to save all buffers
8238 returned by _peek() until typefinding is done and only
8241 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8243 * docs/gst/gstreamer-sections.txt:
8245 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8247 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8249 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8250 Fix a pretty good memleak.
8252 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8254 * gst/gstiterator.h:
8255 Fix wrong include and 'make distcheck'.
8257 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8259 * gst/gstbin.c: (bin_bus_handler):
8260 Use gst_element_post_message() instead.
8262 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8264 * gst/base/gstadapter.h:
8265 * gst/base/gstbasesink.h:
8266 * gst/base/gstbasesrc.h:
8267 * gst/base/gstbasetransform.h:
8268 * gst/base/gstcollectpads.h:
8269 * gst/base/gstpushsrc.h:
8270 * gst/gstiterator.h:
8271 Add padding to our base elements' class and instance structs and
8272 to GstIterator (you will need to rebuild all plugins and apps!)
8274 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8276 * gst/gstbin.c: (bin_bus_handler):
8277 Make default message forwarding from child->bus to bin->bus
8278 threadsafe and make it not emit warnings if the parent has no bus.
8280 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8282 * gst/gstelement.c: (activate_pads):
8283 On paused->ready, set pad->caps to NULL, as is the documented
8284 behaviour in this state change. Fixes playback of series of
8285 media files when visualization is enabled in Totem.
8287 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8289 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8290 Allow NULL as filter-caps (which means "any").
8292 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8294 * docs/libs/gstreamer-libs-sections.txt:
8295 * libs/gst/controller/gst-controller.c:
8296 * libs/gst/controller/gst-controller.h:
8297 * libs/gst/controller/gst-helper.c:
8298 adding more entries to the docs and fix small doc-bugs
8300 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8302 * docs/gst/gstreamer-docs.sgml:
8303 * docs/gst/gstreamer-sections.txt:
8304 * docs/gst/gstreamer.types:
8305 * docs/gst/tmpl/gstbasesink.sgml:
8306 * docs/gst/tmpl/gstbasesrc.sgml:
8307 * docs/gst/tmpl/gstbasetransform.sgml:
8308 * docs/gst/tmpl/gstfakesrc.sgml:
8309 * gst/base/gstcollectpads.c:
8310 * gst/base/gstcollectpads.h:
8311 * libs/gst/controller/gst-controller.c:
8312 * libs/gst/controller/gst-controller.h:
8313 * libs/gst/controller/gst-helper.c:
8314 * libs/gst/controller/gst-interpolation.c:
8315 * libs/gst/controller/lib.c:
8316 added long/short desc for controller docs
8317 added collectpads base class docs
8318 added correct includes to base-class docs
8320 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8322 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8323 (gst_test_mono_source_set_property),
8324 (gst_test_mono_source_class_init), (GST_START_TEST),
8325 (gst_controller_suite):
8326 * docs/gst/gstreamer-docs.sgml:
8327 * docs/gst/gstreamer-sections.txt:
8328 * docs/gst/gstreamer.types:
8329 * docs/libs/gstreamer-libs-docs.sgml:
8330 * docs/libs/gstreamer-libs-sections.txt:
8331 * gst/base/gstadapter.c:
8332 * libs/gst/controller/gst-controller.c:
8333 (gst_controlled_property_new), (gst_controlled_property_free),
8334 (gst_controller_new_valist),
8335 (gst_controller_remove_properties_valist),
8336 (gst_controller_sink_values), (_gst_controller_finalize):
8337 * libs/gst/controller/gst-controller.h:
8338 * libs/gst/controller/gst-helper.c:
8339 (gst_object_control_properties), (gst_object_uncontrol_properties),
8340 (gst_object_get_controller), (gst_object_set_controller),
8341 (gst_object_sink_values), (gst_object_get_value_arrays),
8342 (gst_object_get_value_array):
8343 more tests (and fixes) for the controller
8344 more docs for the controller
8345 integrated companies docs for the adapter
8347 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8349 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8350 (GST_START_TEST), (fakesrc_suite):
8351 add tests for sizetype
8353 2005-08-04 Andy Wingo <wingo@pobox.com>
8355 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8356 fixes buffer_alloc proxying among other things.
8358 * gst/base/gstbasetransform.c:
8359 * gst/base/gstbasetransform.h:
8360 Revert patch to gstbasetransform from 7-28 removing
8363 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8364 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8365 Semantics changed, should return not the size of the output buffer
8366 but the byte size of a buffer with a given caps.
8368 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8370 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8371 out) are not the pad caps until setcaps finishes.
8372 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8373 not-in-place case as well. Deal with changing from in-place to
8374 not-in-place within calling pad_alloc_buffer. Still a bit
8375 concerned about the overhead here...
8377 2005-08-03 Andy Wingo <wingo@pobox.com>
8379 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8380 fixating is an error.
8382 2005-08-04 Edward Hervey <edward@fluendo.com>
8384 * gst/base/gstadapter.h:
8385 Added gst_adapter_get_type() to the header
8387 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8389 * check/Makefile.am:
8390 * check/gst-libs/controller.c:
8391 * libs/gst/controller/gst-controller.c:
8392 (gst_controller_new_valist):
8393 added check test suite for the controller
8394 * gst/base/gstpushsrc.c:
8397 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8399 * docs/gst/Makefile.am:
8400 * docs/gst/gstreamer-docs.sgml:
8401 * docs/gst/gstreamer-sections.txt:
8402 * docs/gst/gstreamer.types:
8403 * docs/gst/tmpl/gstfakesrc.sgml:
8405 * gst/base/gstbasesink.c:
8406 * gst/base/gstbasesink.h:
8407 * gst/base/gstbasesrc.c:
8408 * gst/base/gstbasesrc.h:
8409 * gst/base/gstbasetransform.c:
8410 * gst/base/gstpushsrc.c:
8411 * gst/base/gstpushsrc.h:
8412 add short/long description docs to base classes
8413 add pushsrc to the docs
8414 remove consolidated doc fragments
8416 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8419 * docs/libs/Makefile.am:
8420 * docs/libs/gstreamer-libs-docs.sgml:
8421 * docs/libs/gstreamer-libs-sections.txt:
8422 * docs/libs/gstreamer-libs.types:
8423 * examples/Makefile.am:
8424 * examples/controller/.cvsignore:
8425 * examples/controller/Makefile.am:
8426 * examples/controller/audio-example.c: (main):
8427 * libs/gst/Makefile.am:
8428 * libs/gst/controller/.cvsignore:
8429 * libs/gst/controller/Makefile.am:
8430 * libs/gst/controller/gst-controller.c:
8431 (on_object_controlled_property_changed), (gst_timed_value_compare),
8432 (gst_timed_value_find),
8433 (gst_controlled_property_set_interpolation_mode),
8434 (gst_controlled_property_new), (gst_controlled_property_free),
8435 (gst_controller_find_controlled_property),
8436 (gst_controller_new_valist), (gst_controller_new),
8437 (gst_controller_remove_properties_valist),
8438 (gst_controller_remove_properties), (gst_controller_set),
8439 (gst_controller_set_from_list), (gst_controller_unset),
8440 (gst_controller_get), (gst_controller_get_all),
8441 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8442 (gst_controller_get_value_array),
8443 (gst_controller_set_interpolation_mode),
8444 (_gst_controller_finalize), (_gst_controller_init),
8445 (_gst_controller_class_init), (gst_controller_get_type):
8446 * libs/gst/controller/gst-controller.h:
8447 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8448 (g_object_uncontrol_properties), (g_object_get_controller),
8449 (g_object_set_controller), (g_object_sink_values),
8450 (g_object_get_value_arrays), (g_object_get_value_array):
8451 * libs/gst/controller/gst-interpolation.c:
8452 (gst_controlled_property_find_timed_value_node),
8453 (interpolate_none_get), (interpolate_trigger_get),
8454 (interpolate_trigger_get_value_array):
8455 * libs/gst/controller/lib.c: (gst_controller_init):
8456 * pkgconfig/Makefile.am:
8457 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8458 * pkgconfig/gstreamer-control.pc.in:
8459 * testsuite/Makefile.am:
8460 * testsuite/controller/.cvsignore:
8461 * testsuite/controller/Makefile.am:
8462 * testsuite/controller/interpolator.c: (main):
8463 added controller code
8464 removed dparam pc files
8466 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8467 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8468 (gst_collectpads_stop):
8469 Broadcast the condition when shutting down, to make sure we wake all
8470 threads up. Shut down pads on finalize, for safety.
8472 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8473 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8474 (gst_base_transform_handle_buffer),
8475 (gst_base_transform_change_state):
8476 Handle PAUSED->READY->PAUSED transition after negotiation
8478 * gst/gstmessage.c: (gst_message_init):
8479 Extra piece of debug for new messages.
8481 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8484 * docs/gst/tmpl/gstbasesrc.sgml:
8485 * docs/gst/tmpl/gstelement.sgml:
8486 * docs/gst/tmpl/gstevent.sgml:
8487 * docs/gst/tmpl/gstfakesrc.sgml:
8488 * docs/gst/tmpl/gstformat.sgml:
8489 * docs/gst/tmpl/gstghostpad.sgml:
8490 * docs/gst/tmpl/gstpad.sgml:
8491 * docs/gst/tmpl/gstquery.sgml:
8492 * docs/gst/tmpl/gststructure.sgml:
8493 * docs/gst/tmpl/gsttaglist.sgml:
8494 * docs/gst/tmpl/gstvalue.sgml:
8495 * docs/libs/gstreamer-libs-docs.sgml:
8496 * docs/libs/gstreamer-libs-sections.txt:
8497 * docs/libs/gstreamer-libs.types:
8498 * libs/gst/Makefile.am:
8499 * libs/gst/control/.cvsignore:
8500 * libs/gst/control/Makefile.am:
8501 * libs/gst/control/control.c:
8502 * libs/gst/control/control.h:
8503 * libs/gst/control/dparam.c:
8504 * libs/gst/control/dparam.h:
8505 * libs/gst/control/dparam_smooth.c:
8506 * libs/gst/control/dparam_smooth.h:
8507 * libs/gst/control/dparamcommon.h:
8508 * libs/gst/control/dparammanager.c:
8509 * libs/gst/control/dparammanager.h:
8510 * libs/gst/control/dplinearinterp.c:
8511 * libs/gst/control/dplinearinterp.h:
8512 * libs/gst/control/unitconvert.c:
8513 * libs/gst/control/unitconvert.h:
8514 * testsuite/Makefile.am:
8515 * testsuite/dynparams/.cvsignore:
8516 * testsuite/dynparams/Makefile.am:
8517 * testsuite/dynparams/dparamstest.c:
8518 * tools/Makefile.am:
8519 * tools/gst-inspect.c: (print_element_info), (main):
8520 * tools/gst-xmlinspect.c: (print_element_info), (main):
8521 deactivate and remove dparams (libgstcontrol)
8523 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8525 * gst/elements/gsttypefindelement.c:
8526 (gst_type_find_element_have_type), (gst_type_find_element_init),
8527 (stop_typefinding), (gst_type_find_element_handle_event),
8528 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8529 * gst/elements/gsttypefindelement.h:
8530 Set caps on all outgoing buffers, not just the first one.
8532 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8534 * gst/elements/gsttypefindelement.c:
8535 (gst_type_find_element_have_type),
8536 (gst_type_find_element_check_set_buffer_caps),
8537 (gst_type_find_element_init), (stop_typefinding),
8538 (gst_type_find_element_handle_event),
8539 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8540 * gst/elements/gsttypefindelement.h:
8541 Set caps on first outgoing buffer when we've found the type.
8543 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8545 * docs/gst/gstreamer-docs.sgml:
8546 * docs/gst/gstreamer-sections.txt:
8547 * docs/gst/tmpl/gstscheduler.sgml:
8548 * docs/gst/tmpl/gstschedulerfactory.sgml:
8549 Remove some old cruft from docs.
8551 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8554 Fix inline docs for GstPadLinkReturn.
8556 * gst/gststructure.c: (gst_structure_has_name):
8557 * gst/gststructure.h:
8558 * docs/gst/gstreamer-sections.txt:
8559 New API: gst_structure_has_name().
8561 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8564 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8565 and _LARGEFILE_SOURCE in config.h as required. Do not
8566 export those flags in our .pc files any longer (#142209).
8568 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8570 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8571 (gst_file_sink_do_seek), (gst_file_sink_event),
8572 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8573 Redo seek/tell calls with large file support in mind; add some
8574 debugging messages; add log message that tells us when large
8575 file support is unavailable or not enabled for some reason.
8577 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8578 Add log message that tells us when large file support
8579 is unavailable or not enabled for some reason.
8581 2005-07-29 Wim Taymans <wim@fluendo.com>
8583 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8584 Added test for removing an element with ghostpad from a bin.
8585 Fixed test as current implementation does the right thing.
8587 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8588 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8589 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8590 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8591 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8592 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8593 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8594 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8595 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8596 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8597 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8598 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8599 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8600 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8601 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8602 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8603 * gst/gstghostpad.h:
8604 Clean up ghostpads, remove properties for internal stuff.
8607 Prepare for switching targets, not all use cases work yet.
8609 2005-07-29 Wim Taymans <wim@fluendo.com>
8611 * docs/design/part-gstghostpad.txt:
8614 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8615 (gst_bin_remove_func):
8616 Unlinking pads while holding the bin LOCK is not a good
8619 * gst/gstpad.c: (gst_pad_class_init),
8620 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8621 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8622 No prob setting template after creating the pad.
8624 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8626 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8627 (gst_bus_peek), (gst_bus_source_dispatch),
8628 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8629 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8630 gst_bus_poll may be called from other threads. Handle
8631 this nicely by not making poll_data disappear off the
8632 stack once gst_bus_poll returns.
8633 gst_bus_peek now increments the refcount on the returned
8636 2005-07-29 Wim Taymans <wim@fluendo.com>
8638 * docs/design/part-gstghostpad.txt:
8639 Overview of current GhostPad datastructures and use
8640 cases for changing the target.
8642 2005-07-28 Wim Taymans <wim@fluendo.com>
8644 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8645 Added checks for hierarchy consistency whan adding linked
8648 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8649 Added check to test element scheduling without bin/pipeline.
8651 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8652 First add elements to bin, then link.
8654 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8655 (gst_bin_remove_func):
8656 Unlink pads from elements added/removed from bin to maintain
8657 hierarchy consistency.
8659 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8661 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8662 (gst_base_transform_handle_buffer):
8663 * gst/base/gstbasetransform.h:
8664 Remove broken delay_configure (fixes renegotiation of software
8665 scaling pipelines); remove some leftover printf()s.
8667 2005-07-28 Wim Taymans <wim@fluendo.com>
8669 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8670 Added some more tests for wrong hierarchy
8672 * docs/design/part-overview.txt:
8675 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8678 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8679 (gst_element_dispose):
8682 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8683 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8684 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8685 (gst_pad_set_caps), (gst_pad_send_event):
8686 Check for correct hierarchy when linking pads. Moving to
8687 strict requirement for ghostpads when linking elements in
8691 Clean ups. Added WRONG_HIERARCHY return value.
8693 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8695 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8696 Better debug if no transform is possible.
8698 2005-07-27 Wim Taymans <wim@fluendo.com>
8700 * docs/random/wtay/network-transp:
8703 2005-07-27 Wim Taymans <wim@fluendo.com>
8705 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8706 (gst_dp_event_from_packet):
8707 Fix serialization of seek events.
8709 2005-07-27 Wim Taymans <wim@fluendo.com>
8711 * check/gst-libs/gdp.c: (GST_START_TEST):
8712 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8713 Fix compilation and fix event serialization.
8715 2005-07-27 Wim Taymans <wim@fluendo.com>
8718 * docs/design/part-TODO.txt:
8719 * docs/design/part-events.txt:
8722 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8723 (gst_base_sink_event), (gst_base_sink_do_sync),
8724 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8725 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8726 (gst_base_src_do_seek), (gst_base_src_event_handler),
8727 (gst_base_src_loop):
8728 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8729 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8730 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8731 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8732 (gst_base_transform_set_passthrough),
8733 (gst_base_transform_is_passthrough):
8734 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8735 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8741 * gst/gstelement.c: (gst_element_seek):
8743 Update gst_element_seek.
8745 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8746 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8747 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8748 (gst_event_new_eos), (gst_event_new_newsegment),
8749 (gst_event_parse_newsegment), (gst_event_new_tag),
8750 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8751 (gst_event_parse_qos), (gst_event_new_seek),
8752 (gst_event_parse_seek), (gst_event_new_navigation):
8754 Make GstEvent use GstStructure. Add parsing code, make sure the
8755 API is sufficiently generic.
8756 Mark possible directions of events and serialization.
8758 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8759 (_gst_message_copy), (gst_message_new_segment_start),
8760 (gst_message_new_segment_done), (gst_message_new_custom),
8761 (gst_message_parse_segment_start),
8762 (gst_message_parse_segment_done):
8765 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8766 (gst_pad_set_caps), (gst_pad_send_event):
8767 Update for new events.
8768 Catch events sent in wrong directions.
8770 * gst/gstqueue.c: (gst_queue_link_src),
8771 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8772 (gst_queue_handle_src_query):
8777 Remove event code from this file.
8779 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8780 (gst_dp_event_from_packet):
8783 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8785 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8786 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8787 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8788 Make debugging actually useful.
8790 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8792 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8793 (gst_pad_fixate_caps):
8794 Implement default fixation once again, so that gst_pad_fixate()
8795 actually does anything at all. This probably needs to be some
8796 sort of a last resort, and use profile-based fixation first, but
8797 since that doesn't exist yet, this is the best we have. Fixes
8798 visualization in Totem.
8800 2005-07-22 Wim Taymans <wim@fluendo.com>
8802 * docs/design/part-events.txt:
8805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8806 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8807 (gst_base_sink_activate_pull):
8810 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8811 (gst_fake_src_create):
8812 Fix handoff marshall.
8814 * gst/elements/gstidentity.c: (gst_identity_class_init),
8815 (gst_identity_transform_ip):
8816 We're a real inplace element.
8818 * gst/gstbus.c: (gst_bus_post):
8819 Added some comments.
8821 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8822 * tests/muxing/case1.c: (main):
8823 * tests/sched/dynamic-pipeline.c: (main):
8824 * tests/sched/interrupt1.c: (main):
8825 * tests/sched/interrupt2.c: (main):
8826 * tests/sched/interrupt3.c: (main):
8827 * tests/sched/runxml.c: (main):
8828 * tests/sched/sched-stress.c: (main):
8829 * tests/seeking/seeking1.c: (event_received), (main):
8830 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8832 * tests/threadstate/threadstate3.c: (main):
8833 * tests/threadstate/threadstate4.c: (main):
8834 * tests/threadstate/threadstate5.c: (main):
8837 2005-07-21 Wim Taymans <wim@fluendo.com>
8839 * docs/design/part-seeking.txt:
8840 Some small additions.
8842 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8843 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8844 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8845 * gst/base/gstbasesink.h:
8846 discont values are gint64, handle the math correctly.
8848 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8849 Make the basesrc report error if the source pad is not linked.
8851 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8852 (gst_queue_loop), (gst_queue_handle_src_query),
8853 (gst_queue_src_activate_push):
8854 Make queue collect data even if the srcpad is not linked.
8855 Start pushing out data as soon as it is linked.
8857 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8859 Added gst_flow_get_name() to ease error reporting.
8861 2005-07-20 Wim Taymans <wim@fluendo.com>
8863 * gst/gstmessage.c: (gst_message_new_segment_start),
8864 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8865 (gst_message_parse_segment_done):
8867 Added a bunch of messages for advanced seeking.
8869 * gst/parse/grammar.y:
8870 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8871 (gst_dpman_state_changed):
8872 Fix some new-pad -> pad-added signals
8874 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8876 * docs/manual/appendix-porting.xml:
8877 * docs/pwg/appendix-porting.xml:
8878 Document new-pad/state-change signal renames and the FixedList
8881 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8883 * docs/manual/advanced-autoplugging.xml:
8884 * docs/manual/basics-helloworld.xml:
8885 * docs/manual/basics-pads.xml:
8886 * docs/random/ds/0.9-suggested-changes:
8887 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8892 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8893 (gst_structure_parse_array), (gst_structure_parse_value):
8894 * gst/gstvalue.c: (gst_type_is_fixed),
8895 (gst_value_list_prepend_value), (gst_value_list_append_value),
8896 (gst_value_list_get_size), (gst_value_list_get_value),
8897 (gst_value_transform_array_string), (gst_value_serialize_array),
8898 (gst_value_deserialize_array), (gst_value_intersect_array),
8899 (gst_value_is_fixed), (_gst_value_initialize):
8901 GstElement::new-pad -> pad-added, GstElement::state-change ->
8902 state-changed, GstValueFixedList -> GstValueArray, add format and
8903 flags as their own arguments in gst_element_seek() (should improve
8904 "bindeability"), remove function generators since they don't work
8905 under a whole bunch of compilers (they were deprecated already
8908 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8910 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8911 (_gst_debug_register_funcptr):
8913 Fix illegal cast on some platforms (#309253).
8915 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8917 * gst/gstmessage.c: (gst_message_new_custom):
8919 Add _new_custom, make _new_application a macro to _new_custom.
8921 2005-07-20 Wim Taymans <wim@fluendo.com>
8923 * gst/base/gstbasesrc.c: (gst_base_src_init),
8924 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8925 * gst/base/gstbasesrc.h:
8926 Add a gboolean to decide when to push out a discont.
8928 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8929 (gst_queue_loop), (gst_queue_handle_src_query),
8930 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8931 (gst_queue_set_property), (gst_queue_get_property):
8934 * tests/threadstate/threadstate1.c: (main):
8935 Make a thread test compile and run... very silly..
8938 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8940 * docs/manual/appendix-porting.xml:
8941 Mention removal of libgstgconf-0.9.la and existence of gconf
8944 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8946 * docs/pwg/advanced-clock.xml:
8947 * docs/pwg/appendix-porting.xml:
8948 * docs/pwg/intro-preface.xml:
8949 * docs/pwg/other-base.xml:
8950 * docs/pwg/other-manager.xml:
8951 * docs/pwg/other-nton.xml:
8952 * docs/pwg/other-ntoone.xml:
8953 * docs/pwg/other-oneton.xml:
8955 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8956 demuxer), remove n-to-n (was never written), fix some code examples
8957 and links and update the porting section to include all this.
8959 2005-07-19 Wim Taymans <wim@fluendo.com>
8961 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8962 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8963 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8964 (gst_queue_src_activate_push), (gst_queue_change_state),
8965 (gst_queue_get_property):
8967 Propagate GstFlowReturn more intelligently upstream and output
8968 an ERROR/EOS when streaming stopped due to fatal error.
8970 2005-07-19 Wim Taymans <wim@fluendo.com>
8972 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8973 Don't block forever for the state change to complete, the
8974 pipeline already did with a sensible timeout.
8976 2005-07-19 Wim Taymans <wim@fluendo.com>
8978 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8979 Make sure we never call the create function is we
8982 2005-07-19 Andy Wingo <wingo@pobox.com>
8984 * gst/parse/parse.l: Attempt to solve bug #172815.
8986 2005-07-19 Wim Taymans <wim@fluendo.com>
8988 * docs/design/part-clocks.txt:
8989 * docs/design/part-events.txt:
8990 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8992 Only update the seeking values when we are not
8995 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8997 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8998 Oops, ignore the result of gst_pad_push_event here.
9000 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9002 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9003 (gst_base_src_activate_push):
9004 Send discont event from the loop function, as pads
9005 aren't activated yet in the activate_push handler.
9007 * gst/gstbin.c: (bin_bus_handler):
9008 Don't leak element name.
9010 2005-07-18 Andy Wingo <wingo@pobox.com>
9012 * configure.ac: Use AS_LIBTOOL_TAGS.
9014 2005-07-18 Wim Taymans <wim@fluendo.com>
9016 * docs/gst/gstreamer.types:
9017 Remove deleted types.
9019 2005-07-18 Wim Taymans <wim@fluendo.com>
9021 * check/elements/gstfakesrc.c: (GST_START_TEST):
9024 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9025 (init_popt_callback):
9027 * gst/gst_private.h:
9028 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9029 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9032 * gst/gstconfig.h.in:
9033 * gst/gstelement.c: (gst_element_class_init),
9034 (gst_element_set_base_time), (gst_element_get_base_time),
9035 (iterator_fold_with_resync), (gst_element_change_state),
9036 (gst_element_dispose), (gst_element_get_bus):
9038 * gst/gstelementfactory.h:
9039 * gst/gsterror.c: (_gst_core_errors_init):
9042 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9044 * gst/gstinfo.c: (_gst_debug_init):
9045 * gst/gstmessage.c: (_gst_message_copy):
9047 * gst/gstminiobject.h:
9050 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9051 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9054 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9055 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9056 (gst_pipeline_get_last_stream_time):
9057 * gst/gstpipeline.h:
9058 * gst/gstpluginfeature.h:
9060 * gst/gstscheduler.c:
9061 * gst/gstscheduler.h:
9062 * gst/gststructure.h:
9063 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9064 (gst_task_finalize), (gst_task_func), (gst_task_create),
9065 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9066 (gst_task_stop), (gst_task_pause):
9068 * gst/gsttypefind.h:
9070 * gst/registries/gstlibxmlregistry.c: (load_feature),
9071 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9072 * gst/registries/gstxmlregistry.c:
9073 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9074 * gst/schedulers/threadscheduler.c:
9075 * libs/gst/control/dparammanager.h:
9076 * tools/gst-inspect.c: (print_element_list),
9077 (print_plugin_features), (print_element_features):
9078 * tools/gst-xmlinspect.c: (print_element_list),
9079 (print_plugin_info), (main):
9080 Removed plugable schedulers.
9081 Removed Scheduler/Manager from elements.
9082 Removed gsttypes.h, rearranged includes.
9083 Removed dependency pad<->element, element<>pipeline, and
9084 various others, fix includes.
9085 implement gst_pad_get_parent() with gst_object_get_parent()
9086 Make GstTask sefcontained.
9087 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9089 Fix endless loop in iterator_fold_with_resync.
9092 2005-07-18 Wim Taymans <wim@fluendo.com>
9098 2005-07-18 Wim Taymans <wim@fluendo.com>
9103 2005-07-18 Wim Taymans <wim@fluendo.com>
9109 2005-07-18 Wim Taymans <wim@fluendo.com>
9111 * docs/design/part-dynamic.txt:
9112 * docs/design/part-events.txt:
9113 * docs/design/part-seeking.txt:
9114 Some more docs in the works.
9116 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9117 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9118 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9119 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9120 (gst_base_transform_handle_buffer),
9121 (gst_base_transform_sink_activate_push),
9122 (gst_base_transform_src_activate_pull),
9123 (gst_base_transform_set_passthrough),
9124 (gst_base_transform_is_passthrough):
9127 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9130 * gst/gstevent.c: (gst_event_finalize):
9133 * gst/gstutils.c: (gst_element_unlink),
9134 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9135 (gst_pad_proxy_setcaps):
9137 Add _get_parent_element() to get a pads parent as an element.
9139 2005-07-18 Wim Taymans <wim@fluendo.com>
9141 * check/gst/gstbin.c: (GST_START_TEST):
9144 2005-07-18 Wim Taymans <wim@fluendo.com>
9146 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9147 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9148 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9149 (gst_base_sink_event), (gst_base_sink_do_sync),
9150 (gst_base_sink_chain), (gst_base_sink_loop),
9151 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9152 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9154 Fix logic for returning ASYNC when not prerolled.
9156 2005-07-18 Wim Taymans <wim@fluendo.com>
9158 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9159 Fix nasty refcount bug.
9161 2005-07-16 Philippe Khalaf <burger@speedy.org>
9163 * gst/elements/gstfdsrc.c:
9164 * gst/elements/gstfdsrc.h:
9165 * gst/elements/gstelements.c:
9166 * gst/elements/Makefile.am:
9167 Ported fdsrc to 0.9.
9169 2005-07-16 Wim Taymans <wim@fluendo.com>
9171 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9172 (gst_base_sink_do_sync):
9175 2005-07-16 Wim Taymans <wim@fluendo.com>
9177 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9178 (gst_base_sink_event), (gst_base_sink_get_times),
9179 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9180 * gst/base/gstbasesink.h:
9181 Store and use discont values when syncing buffers as described
9184 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9185 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9186 (gst_base_src_activate_push):
9187 Push discont event when starting.
9189 * gst/elements/gstidentity.c: (gst_identity_transform):
9192 * gst/gstbin.c: (gst_bin_change_state):
9193 Small cleanups in base_time distribution.
9195 * gst/gstelement.c: (gst_element_set_base_time),
9196 (gst_element_get_base_time), (gst_element_change_state):
9198 Added methods for the base_time of the element.
9201 * gst/gstpipeline.c: (gst_pipeline_send_event),
9202 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9203 (gst_pipeline_get_last_stream_time):
9204 * gst/gstpipeline.h:
9206 Handle seeking as described in design doc, remove stream_time
9208 Cleanups clock and stream_time selection code. Added accessors
9209 for the stream_time.
9212 2005-07-16 Andy Wingo <wingo@pobox.com>
9214 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9217 2005-07-16 Wim Taymans <wim@fluendo.com>
9219 * check/gst/gstbin.c: (GST_START_TEST):
9220 Make elements silent as the deep_notify refs the
9221 parent, which might make the test fail.
9223 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9224 Don't hold the lock for too long.
9226 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9228 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9229 Don't unref the caps we passed to gst_caps_make_writable() after
9230 passing them. gst_caps_make_writable() will do that for us.
9232 2005-07-15 Andy Wingo <wingo@pobox.com>
9234 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9237 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9238 own marshalling function for the handoff signal. Properly type the
9239 buffer as a buffer. Fixes some warnings. Should do a more general
9241 (gst_identity_class_init): Plug into the right marshaller.
9243 2005-07-15 Wim Taymans <wim@fluendo.com>
9245 * docs/design/part-TODO.txt:
9246 * docs/design/part-clocks.txt:
9247 * docs/design/part-element-sink.txt:
9248 * docs/design/part-events.txt:
9249 * docs/design/part-gstpipeline.txt:
9250 Updated docs, mostly DISCONT related.
9252 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9254 * docs/pwg/building-pads.xml:
9255 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9257 2005-07-15 Andy Wingo <wingo@pobox.com>
9259 * tools/gst-typefind.c: Update, add copyright block.
9261 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9262 Normalize and truncate caps before fixation.
9265 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9266 discards all but the first structure from its argument.
9268 2005-07-15 Wim Taymans <wim@fluendo.com>
9270 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9271 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9272 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9273 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9274 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9275 (gst_base_transform_chain), (gst_base_transform_change_state),
9276 (gst_base_transform_set_passthrough),
9277 (gst_base_transform_is_passthrough):
9278 * gst/base/gstbasetransform.h:
9279 Make passthrough work using the bufferpools.
9280 Changed API a bit, subclasses have to write into a buffer
9281 provided by the base class.
9282 More debug info in nego functions.
9284 * gst/elements/gstidentity.c: (gst_identity_init),
9285 (gst_identity_transform):
9286 Port to new base class.
9288 2005-07-15 Wim Taymans <wim@fluendo.com>
9290 * gst/gstmessage.c: (gst_message_new_state_changed):
9291 * tools/gst-launch.c: (event_loop), (main):
9292 Totally dump messages in -launch with the -m option.
9293 Fix message name for State messages,
9295 2005-07-14 Wim Taymans <wim@fluendo.com>
9297 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9298 Post error messages on errors.
9300 2005-07-14 Wim Taymans <wim@fluendo.com>
9302 * gst/gstcaps.c: (gst_caps_do_simplify):
9306 Define error for stream stopped.
9308 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9309 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9310 Do proper return values.
9312 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9313 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9314 (gst_pad_get_range):
9315 Better return values.
9318 Reorganise return values, add macro to check for fatal errors.
9320 * gst/gstqueue.c: (gst_queue_chain):
9321 Return proper GstFlowReturn values,
9323 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9325 * docs/gst/gstreamer-sections.txt:
9326 * docs/gst/gstreamer.types:
9327 * docs/gst/tmpl/gst.sgml:
9328 * docs/gst/tmpl/gstbasesink.sgml:
9329 * docs/gst/tmpl/gstbasesrc.sgml:
9330 * docs/gst/tmpl/gstbasetransform.sgml:
9331 * docs/gst/tmpl/gstbin.sgml:
9332 * docs/gst/tmpl/gstbuffer.sgml:
9333 * docs/gst/tmpl/gstcaps.sgml:
9334 * docs/gst/tmpl/gstclock.sgml:
9335 * docs/gst/tmpl/gstcompat.sgml:
9336 * docs/gst/tmpl/gstconfig.sgml:
9337 * docs/gst/tmpl/gstelement.sgml:
9338 * docs/gst/tmpl/gstelementdetails.sgml:
9339 * docs/gst/tmpl/gstelementfactory.sgml:
9340 * docs/gst/tmpl/gstenumtypes.sgml:
9341 * docs/gst/tmpl/gsterror.sgml:
9342 * docs/gst/tmpl/gstevent.sgml:
9343 * docs/gst/tmpl/gstfakesink.sgml:
9344 * docs/gst/tmpl/gstfakesrc.sgml:
9345 * docs/gst/tmpl/gstfilesink.sgml:
9346 * docs/gst/tmpl/gstfilesrc.sgml:
9347 * docs/gst/tmpl/gstfilter.sgml:
9348 * docs/gst/tmpl/gstformat.sgml:
9349 * docs/gst/tmpl/gstghostpad.sgml:
9350 * docs/gst/tmpl/gstimplementsinterface.sgml:
9351 * docs/gst/tmpl/gstindex.sgml:
9352 * docs/gst/tmpl/gstindexfactory.sgml:
9353 * docs/gst/tmpl/gstinfo.sgml:
9354 * docs/gst/tmpl/gstiterator.sgml:
9355 * docs/gst/tmpl/gstmacros.sgml:
9356 * docs/gst/tmpl/gstmemchunk.sgml:
9357 * docs/gst/tmpl/gstminiobject.sgml:
9358 * docs/gst/tmpl/gstobject.sgml:
9359 * docs/gst/tmpl/gstpad.sgml:
9360 * docs/gst/tmpl/gstpadtemplate.sgml:
9361 * docs/gst/tmpl/gstparse.sgml:
9362 * docs/gst/tmpl/gstpipeline.sgml:
9363 * docs/gst/tmpl/gstplugin.sgml:
9364 * docs/gst/tmpl/gstpluginfeature.sgml:
9365 * docs/gst/tmpl/gstquery.sgml:
9366 * docs/gst/tmpl/gstqueue.sgml:
9367 * docs/gst/tmpl/gstregistry.sgml:
9368 * docs/gst/tmpl/gstregistrypool.sgml:
9369 * docs/gst/tmpl/gstscheduler.sgml:
9370 * docs/gst/tmpl/gstschedulerfactory.sgml:
9371 * docs/gst/tmpl/gststructure.sgml:
9372 * docs/gst/tmpl/gstsystemclock.sgml:
9373 * docs/gst/tmpl/gsttaglist.sgml:
9374 * docs/gst/tmpl/gsttagsetter.sgml:
9375 * docs/gst/tmpl/gsttrace.sgml:
9376 * docs/gst/tmpl/gsttrashstack.sgml:
9377 * docs/gst/tmpl/gsttypefind.sgml:
9378 * docs/gst/tmpl/gsttypefindfactory.sgml:
9379 * docs/gst/tmpl/gsttypes.sgml:
9380 * docs/gst/tmpl/gsturihandler.sgml:
9381 * docs/gst/tmpl/gsturitype.sgml:
9382 * docs/gst/tmpl/gstutils.sgml:
9383 * docs/gst/tmpl/gstvalue.sgml:
9384 * docs/gst/tmpl/gstversion.sgml:
9385 * docs/gst/tmpl/gstxml.sgml:
9386 * docs/libs/tmpl/gstcontrol.sgml:
9387 * docs/libs/tmpl/gstdataprotocol.sgml:
9388 * docs/libs/tmpl/gstdparam.sgml:
9389 * docs/libs/tmpl/gstdplinint.sgml:
9390 * docs/libs/tmpl/gstdpman.sgml:
9391 * docs/libs/tmpl/gstdpsmooth.sgml:
9392 * docs/libs/tmpl/gstgetbits.sgml:
9393 * docs/libs/tmpl/gstunitconvert.sgml:
9394 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9395 (gst_push_src_base_init), (gst_push_src_class_init),
9396 (gst_push_src_init), (gst_push_src_create):
9397 * gst/base/gstpushsrc.h:
9398 * gst/elements/gstelements.c:
9399 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9400 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9401 (gst_fake_sink_init), (gst_fake_sink_set_property),
9402 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9403 (gst_fake_sink_event), (gst_fake_sink_preroll),
9404 (gst_fake_sink_render), (gst_fake_sink_change_state):
9405 * gst/elements/gstfakesink.h:
9406 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9407 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9408 (gst_fake_src_base_init), (gst_fake_src_class_init),
9409 (gst_fake_src_init), (gst_fake_src_event_handler),
9410 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9411 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9412 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9413 (gst_fake_src_create_buffer), (gst_fake_src_create),
9414 (gst_fake_src_start), (gst_fake_src_stop):
9415 * gst/elements/gstfakesrc.h:
9416 * gst/elements/gstfilesink.c: (_do_init),
9417 (gst_file_sink_base_init), (gst_file_sink_class_init),
9418 (gst_file_sink_init), (gst_file_sink_dispose),
9419 (gst_file_sink_set_location), (gst_file_sink_set_property),
9420 (gst_file_sink_get_property), (gst_file_sink_open_file),
9421 (gst_file_sink_close_file), (gst_file_sink_query),
9422 (gst_file_sink_event), (gst_file_sink_render),
9423 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9424 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9425 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9426 * gst/elements/gstfilesink.h:
9427 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9428 (gst_file_src_class_init), (gst_file_src_init),
9429 (gst_file_src_finalize), (gst_file_src_set_location),
9430 (gst_file_src_set_property), (gst_file_src_get_property),
9431 (gst_file_src_map_region), (gst_file_src_map_small_region),
9432 (gst_file_src_create_mmap), (gst_file_src_create_read),
9433 (gst_file_src_create), (gst_file_src_is_seekable),
9434 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9435 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9436 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9437 (gst_file_src_uri_handler_init):
9438 * gst/elements/gstfilesrc.h:
9439 more autistic cleanliness in functions/names/defines
9441 2005-07-13 Andy Wingo <wingo@pobox.com>
9443 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9444 source couldn't negotiate.
9446 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9450 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9451 function. I am channeling Hades. Put your boots on suckers!!!
9453 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9455 * testsuite/caps/Makefile.am:
9456 * testsuite/caps/value_compare.c:
9457 * testsuite/caps/value_intersect.c:
9458 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9459 move two testsuite apps over to the check dir
9461 2005-07-12 Wim Taymans <wim@fluendo.com>
9463 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9464 Added more debug info in the negotiate process.
9467 Prepare for segment playback.
9469 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9475 * tools/gst-launch.c: (main):
9476 NULL pipeline on errors.
9478 2005-07-12 Andy Wingo <wingo@pobox.com>
9480 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9481 not it comes from a malloc region. Make sure our copy gets freed.
9483 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9485 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9486 * check/gst/gstmessage.c: (GST_START_TEST):
9487 * check/gst/gststructure.c: (GST_START_TEST),
9488 (gst_structure_suite), (main):
9490 * gst/gstelement.c: (gst_element_message_full):
9491 clean up GError and debug string now that they get copied
9492 * gst/gstmessage.c: (gst_message_new_error),
9493 (gst_message_new_warning), (gst_message_parse_error),
9494 (gst_message_parse_warning):
9495 use GST_TYPE_G_ERROR for structure_new, and take copies of
9496 arguments, so that we don't mess up refcounting
9498 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9500 * check/Makefile.am:
9501 add per-test valgrind targets
9502 * check/gst-libs/gdp.c: (GST_START_TEST),
9503 (gst_data_protocol_suite), (main):
9506 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9508 * check/Makefile.am:
9509 instate more valgrindable tests
9510 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9511 (GST_START_TEST), (fakesrc_suite):
9512 * check/gst/gstpad.c: (GST_START_TEST):
9513 * check/gst/gststructure.c: (GST_START_TEST):
9515 * docs/gst/tmpl/gstminiobject.sgml:
9516 * gst/gstpad.c: (gst_pad_finalize):
9517 fix the static mutex leak
9519 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9521 * check/Makefile.am:
9522 add two more tests for valgrinding
9523 * check/gst/gstvalue.c: (GST_START_TEST):
9524 test refcount of deserialized buffer, found a leak
9525 * docs/gst/gstreamer-docs.sgml:
9526 * docs/gst/gstreamer-sections.txt:
9527 * docs/gst/gstreamer.types:
9528 * docs/gst/tmpl/gstminiobject.sgml:
9529 add miniobject to docs
9530 * gst/gstminiobject.c:
9532 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9533 (gst_string_unwrap):
9534 fix a hard-to-find invalid write for one of the tests
9535 fix a leak for deserialized buffers
9537 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9539 * docs/pwg/advanced-events.xml:
9540 * docs/pwg/advanced-request.xml:
9541 * docs/pwg/advanced-scheduling.xml:
9542 * docs/pwg/appendix-porting.xml:
9543 * docs/pwg/building-boiler.xml:
9544 * docs/pwg/intro-preface.xml:
9545 * docs/pwg/other-ntoone.xml:
9546 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9547 of example code and explanation for pad activation, loop() and
9548 getrange() functions and a bit more. Remove old comments pointing
9550 * examples/pwg/Makefile.am:
9551 Add loop/getrange examples.
9553 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9556 check for valgrind binary + some fixes
9558 valgrind suppressions for the tests
9559 * check/Makefile.am:
9560 add a valgrind: target that valgrinds the unit tests
9561 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9562 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9563 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9564 * check/gst/gstghostpad.c:
9566 * check/gst/gstdata.c:
9568 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9569 (thread_unref), (gst_mini_object_suite), (main):
9571 * gst/gst.c: (gst_deinit):
9573 add a method to clean up.
9574 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9575 (gst_system_clock_obtain):
9576 allow for disposing the system clock.
9577 * tools/gst-launch.c: (main):
9580 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9582 * docs/gst/tmpl/gstbasesrc.sgml:
9583 * docs/gst/tmpl/gstfakesrc.sgml:
9584 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9585 (gst_base_src_init), (gst_base_src_set_property),
9586 (gst_base_src_get_property), (gst_base_src_get_range),
9587 (gst_base_src_start):
9588 * gst/base/gstbasesrc.h:
9589 add num-buffers property
9590 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9591 (gst_fakesrc_init), (gst_fakesrc_set_property),
9592 (gst_fakesrc_get_property), (gst_fakesrc_create),
9593 (gst_fakesrc_start):
9594 remove num-buffers property
9596 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9598 * docs/gst/gstreamer-sections.txt:
9599 * docs/gst/tmpl/gstbasesink.sgml:
9600 * docs/gst/tmpl/gstbasesrc.sgml:
9601 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9602 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9603 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9604 (gst_base_sink_set_property), (gst_base_sink_get_property),
9605 (gst_base_sink_handle_object), (gst_base_sink_event),
9606 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9607 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9608 (gst_base_sink_loop), (gst_base_sink_deactivate),
9609 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9610 (gst_base_sink_change_state):
9611 * gst/base/gstbasesink.h:
9612 * gst/base/gstbasesrc.h:
9613 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9614 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9615 (gst_filesink_init):
9616 more macro splitting
9618 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9620 * gst/gstelement.c: (gst_element_get_bus):
9622 * tools/gst-launch.c: (check_intr), (event_loop):
9625 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9627 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9630 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9632 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9633 (gst_base_src_finalize):
9634 add finalize method and clean up properly
9635 * gst/gstpipeline.c: (gst_pipeline_dispose):
9638 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9640 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9642 add more things to check
9643 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9647 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9649 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9650 (GST_START_TEST), (fakesrc_suite):
9651 * check/gst-libs/gdp.c: (GST_START_TEST):
9652 * check/gst/gst.c: (GST_START_TEST):
9653 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9654 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9655 * check/gst/gstbus.c: (GST_START_TEST):
9656 * check/gst/gstcaps.c: (GST_START_TEST):
9657 * check/gst/gstdata.c: (GST_START_TEST):
9658 * check/gst/gstelement.c: (GST_START_TEST):
9659 * check/gst/gstghostpad.c: (GST_START_TEST):
9660 * check/gst/gstiterator.c: (GST_START_TEST):
9661 * check/gst/gstmessage.c: (GST_START_TEST):
9662 * check/gst/gstobject.c: (GST_START_TEST):
9663 * check/gst/gstpad.c: (GST_START_TEST):
9664 * check/gst/gststructure.c: (GST_START_TEST):
9665 * check/gst/gstsystemclock.c: (GST_START_TEST),
9666 (gst_systemclock_suite):
9667 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9668 * check/gst/gstvalue.c: (GST_START_TEST):
9669 * check/pipelines/cleanup.c: (GST_START_TEST):
9670 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9671 * check/states/sinks.c: (GST_START_TEST):
9672 * check/gstcheck.c: (gst_check_init):
9674 add debugging category
9675 use GST_START_TEST now, so we add a debug line
9677 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9679 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9680 add test for state change message on a bin
9681 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9683 * gst/gstbin.c: (gst_bin_init):
9684 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9685 * gst/gstelement.c: (gst_element_post_message),
9686 (gst_element_set_state):
9687 * gst/gstelementfactory.c: (gst_element_factory_create):
9688 * gst/gstmessage.c: (gst_message_new):
9689 * gst/gstscheduler.c:
9690 various debugging additions and cleanups
9692 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9694 * check/Makefile.am:
9695 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9697 adding tests for elements
9698 * gst/gstelement.c: (gst_element_dispose):
9700 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9702 * gst/registries/gstlibxmlregistry.c: (load_feature):
9703 plug more leaks. A simple gst_init() now is leakfree, yay.
9705 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9707 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9708 (gst_xml_registry_load):
9709 plug another memleak
9711 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9714 use GST_SET_ERROR_CFLAGS
9716 change to ERROR_CFLAGS
9718 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9721 make GST_ERROR_CFLAGS overridable and re-enable Werror
9723 add a note about error CFLAGS
9724 * docs/gst/tmpl/gstfakesrc.sgml:
9725 * gst/elements/gstfakesrc.c:
9726 comment out some unused code
9727 * gst/gst.c: (split_and_iterate):
9728 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9732 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9734 * common/Makefile.am:
9735 * common/gtk-doc.mak:
9736 * docs/gst/Makefile.am:
9737 factor out gtk-doc.mak
9739 2005-07-07 Wim Taymans <wim@fluendo.com>
9741 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9742 (gst_thread_scheduler_dispose):
9743 Unlock the STREAM_LOCK completely.
9745 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9747 * check/Makefile.am:
9748 * check/elements/.cvsignore:
9749 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9750 (START_TEST), (fakesrc_suite), (main):
9751 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9752 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9753 (gst_fakesrc_create), (gst_fakesrc_start):
9754 * gst/elements/gstfakesrc.h:
9755 adding a first element test
9757 2005-07-07 Andy Wingo <wingo@pobox.com>
9759 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9762 2005-07-07 Wim Taymans <wim@fluendo.com>
9768 2005-07-07 Wim Taymans <wim@fluendo.com>
9770 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9771 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9772 Allow subclasses to implement their own negotiation.
9774 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9776 * docs/design/part-gstbin.txt:
9777 * docs/design/part-gstpipeline.txt:
9778 Update design notes to reflect the movement of
9779 responsibility for bus handling from GstPipeline to
9782 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9785 Remove unnecessary queue2/3/4 examples.
9787 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9789 * examples/Makefile.am:
9790 * examples/helloworld/helloworld.c: (event_loop), (main):
9791 * examples/queue/queue.c: (event_loop), (main):
9792 * examples/queue2/queue2.c: (main):
9793 Update a couple of the examples to work again.
9795 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9796 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9797 Spelling corrections and extra debug.
9799 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9800 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9801 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9803 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9804 (gst_pipeline_change_state):
9805 * gst/gstpipeline.h:
9806 Move the bus handler for children to the GstBin, and create a
9807 separate bus for receiving messages from children to the one the
9808 bus sends 'upwards' on.
9810 2005-07-06 Wim Taymans <wim@fluendo.com>
9813 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9814 (gst_base_sink_handle_object), (gst_base_sink_loop),
9815 (gst_base_sink_change_state):
9816 * gst/base/gstbasesink.h:
9817 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9818 (gst_base_src_init), (gst_base_src_setcaps),
9819 (gst_base_src_getcaps), (gst_base_src_loop),
9820 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9821 (gst_base_src_start), (gst_base_src_change_state):
9822 * gst/base/gstbasesrc.h:
9823 Make basesrc negotiate.
9824 Handle the case where preroll fails in basesink.
9827 2005-07-06 Wim Taymans <wim@fluendo.com>
9829 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9830 Implement the fixate function.
9831 Clean up acceptcaps.
9833 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9835 * docs/pwg/building-filterfactory.xml:
9837 Remove never-written filter-factory chapter; I'll add the various
9838 base classes to part 4 ("other element types") later on.
9840 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9842 * docs/pwg/advanced-negotiation.xml:
9843 * docs/pwg/building-boiler.xml:
9844 * docs/pwg/building-pads.xml:
9846 * examples/pwg/Makefile.am:
9847 Add a chapter on caps negotiation, simplify the original code
9848 samples a bit w.r.t. caps negotiation, add link to the advanced
9849 section. Add a bunch of examples showing different use cases of
9850 different types of caps negotiation. Upstream renegotiation isn't
9851 fully documented yet since nobody knows how that works.
9853 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9855 * check/gst/gstpad.c:
9857 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9858 if pad has no parent, return NULL as list of internal links
9860 2005-07-05 Andy Wingo <wingo@pobox.com>
9862 * gst/elements/gstfilesrc.c:
9863 * gst/elements/gstfakesrc.c:
9864 * gst/base/gstpushsrc.c:
9865 * gst/base/gstbasesrc.h:
9866 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9868 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9871 better report generation target (lcov needs a patch)
9873 2005-07-05 Andy Wingo <wingo@pobox.com>
9875 * gst/elements, testsuite: Null if we got it...
9877 2005-07-05 Wim Taymans <wim@fluendo.com>
9880 * libs/gst/dataprotocol/Makefile.am:
9881 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9882 * libs/gst/dataprotocol/dataprotocol.h:
9883 * pkgconfig/Makefile.am:
9884 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9885 * pkgconfig/gstreamer-dataprotocol.pc.in:
9886 Ported dataprotol to 0.9.
9887 Added pkgconfig files.
9889 2005-07-05 Andy Wingo <wingo@pobox.com>
9891 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9892 Default to returning TRUE for the case when tranform_caps returns
9893 a fixed caps, like for identity or volume.
9895 * check/gst/gstbus.c (pound_bus_with_messages):
9896 * check/gst/gstmessage.c (START_TEST):
9897 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9900 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9901 logic weaks here: always run transform_caps, trying passthrough
9902 operation only if the original caps intersects with the transform.
9904 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9905 source and sink caps.
9907 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9908 Intersect the peer caps with the pad template before going into
9910 (gst_base_transform_transform_caps): More debugging.
9912 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9915 2005-07-04 Edward Hervey <edward@fluendo.com>
9919 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9922 2005-07-04 Andy Wingo <wingo@pobox.com>
9924 * check/gst/gstpad.c: Only set explicit caps on pads.
9926 2005-07-01 Andy Wingo <wingo@pobox.com>
9928 * tests/network-clock.scm: Commentary update.
9930 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9931 Didn't really make sense, not implementable with basetransform,
9933 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9934 attempt at implementing the sync property, needs an unlock method.
9936 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9937 New func, by default returns the same caps (the identity
9939 (gst_base_transform_getcaps): Uses transform_caps to return
9941 (gst_base_transform_setcaps): Complicated logic to get caps on
9942 both pads, even if they are different, and to call set_caps once
9943 for every time both pads get their caps set.
9944 (gst_base_transform_handle_buffer): Give the ref to the transform
9945 function. Allows in-place modification of the buffer.
9947 * gst/base/gstbasetransform.h (transform_caps): New class method.
9948 Given caps on one side, what can I do on the other.
9949 (set_caps): Take two caps, one for each side of the element.
9952 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9953 caps in place. This is safe because we can check the mutability of
9954 the caps, and a good idea because fixate functions are just called
9955 as a matter of last resort. (Not actually implemented.)
9956 (gst_pad_set_caps): If the caps we're setting is actually the same
9957 as the existing pad caps, just update the pointer without calling
9958 setcaps. Assert that caps is either NULL or fixed, as per the
9961 * gst/gstghostpad.c: Update for fixate changes.
9963 2005-07-02 Andy Wingo <wingo@pobox.com>
9966 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9967 two refcounts makes it immutable, which is enough. Doc more.
9969 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9971 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9972 Put the mini_object into GValue as a mini_object,
9973 not a gpointer, since that's how we declared
9976 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9978 * examples/pwg/Makefile.am:
9981 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9983 * docs/pwg/building-testapp.xml:
9985 * examples/pwg/Makefile.am:
9988 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9991 * examples/Makefile.am:
9992 * examples/pwg/Makefile.am:
9993 * examples/pwg/extract.pl:
9994 Enable building the PWG examples.
9995 * docs/pwg/advanced-interfaces.xml:
9996 Add URI interface stub.
9997 * docs/pwg/advanced-types.xml:
9998 * docs/pwg/other-autoplugger.xml:
9999 * docs/pwg/appendix-porting.xml:
10000 * docs/pwg/pwg.xml:
10001 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10002 * docs/pwg/building-boiler.xml:
10003 * docs/pwg/building-chainfn.xml:
10004 * docs/pwg/building-pads.xml:
10005 * docs/pwg/building-props.xml:
10006 * docs/pwg/building-state.xml:
10007 * docs/pwg/building-testapp.xml:
10008 Update the building-*.xml parts for 0.9 changes. All examples
10009 code blocks compile in examples/pwg/*.
10011 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10013 * docs/manual/advanced-autoplugging.xml:
10014 * docs/manual/appendix-checklist.xml:
10015 * docs/manual/appendix-integration.xml:
10016 * docs/manual/highlevel-components.xml:
10017 Fix playbin/decodebin examples, update docs a bit, mention bus
10018 instead of signals in various places, mention kmplayer and
10019 kaffeine since they have a working GStreamer backend in the KDE
10022 2005-06-30 Wim Taymans <wim@fluendo.com>
10025 * docs/design/draft-ghostpads.txt:
10026 * docs/design/draft-push-pull.txt:
10027 * docs/design/draft-query.txt:
10028 * docs/design/part-TODO.txt:
10029 * docs/design/part-query.txt:
10030 Added CHANGES-0.9 doc, updated status of other docs.
10035 2005-06-30 Wim Taymans <wim@fluendo.com>
10037 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10038 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10039 (gst_base_sink_change_state):
10040 * gst/base/gstbasesink.h:
10041 Some tweaks, only EOS and a buffer complete a preroll.
10043 2005-06-30 Andy Wingo <wingo@pobox.com>
10045 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10046 activate_push down to the internal pad as well.
10048 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10050 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10052 * gst/gsttaginterface.c:
10053 Some documentation fixes (#307394 and #307397).
10055 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10057 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10059 * gst/gstvalue.c: (gst_value_intersect_list):
10060 Fix memleak (#309125).
10062 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10064 * docs/manual/advanced-dataaccess.xml:
10065 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10066 * docs/manual/basics-pads.xml:
10067 Add reference for filtered caps to above chapter.
10069 2005-06-30 Wim Taymans <wim@fluendo.com>
10071 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10072 (gst_bin_change_state):
10074 Lame attempt at making the state change function a bit
10077 2005-06-30 Wim Taymans <wim@fluendo.com>
10079 * docs/design/part-clocks.txt:
10080 * docs/design/part-element-sink.txt:
10081 * docs/design/part-events.txt:
10082 * docs/design/part-preroll.txt:
10083 * docs/design/part-states.txt:
10084 Some more tweeks and additions to the docs.
10086 2005-06-30 Wim Taymans <wim@fluendo.com>
10088 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10089 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10090 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10091 (gst_pad_check_pull_range), (gst_pad_get_range),
10092 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10094 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10095 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10096 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10097 (gst_pad_remove_buffer_probe):
10098 Removed atomic operations, use existing LOCK.
10099 Move exception handling out of main code path.
10101 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10103 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10104 (silly_return_true_function), (gst_pad_class_init),
10105 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10106 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10107 (gst_pad_send_event):
10108 Fix accumulator, add default value by using _emitv() instead
10109 of _emit() for signal emission.
10111 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10113 * docs/manual/advanced-dataaccess.xml:
10114 * examples/manual/Makefile.am:
10116 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10119 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10121 * gst/elements/gstfilesink.c: (gst_filesink_render):
10122 Simplify code so that we don't have to handle short
10123 writes and return GST_FLOW_ERROR if an error occured.
10125 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10127 * docs/gst/gstreamer-docs.sgml:
10128 Remove probes more.
10130 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10132 * docs/gst/gstreamer-sections.txt:
10133 * docs/gst/tmpl/gstpad.sgml:
10134 * docs/gst/tmpl/gstprobe.sgml:
10136 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10137 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10138 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10139 (gst_pad_push_event), (gst_pad_send_event):
10141 * gst/gstutils.c: (gst_pad_add_data_probe),
10142 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10143 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10144 (gst_pad_remove_buffer_probe):
10146 Remove old probes, add new g-signal-based probes and some utility
10149 2005-06-29 Edward Hervey <edward@fluendo.com>
10151 * gst/gstelementfactory.c:
10154 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10155 the definition to the header file.
10157 2005-06-29 Andy Wingo <wingo@pobox.com>
10159 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10160 plugins from the source directory.
10162 2005-06-29 Wim Taymans <wim@fluendo.com>
10164 * docs/gst/tmpl/gstbuffer.sgml:
10165 * docs/gst/tmpl/gstclock.sgml:
10166 Some fixings for blantently wrong text.
10168 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10170 * check/Makefile.am:
10171 * gst/gst.c: (add_path_func), (init_pre):
10172 * gst/gstregistry.c: (gst_registry_add_path):
10173 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10174 only scan the GST_PLUGIN_PATH locations, and not add
10177 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10179 * docs/gst/gstreamer-sections.txt:
10180 * docs/gst/tmpl/gstbasesrc.sgml:
10181 * gst/gstelement.c:
10182 * gst/gstelement.h:
10187 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10189 * docs/manual/advanced-autoplugging.xml:
10190 Fix autoplugging example.
10192 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10194 * docs/manual/advanced-autoplugging.xml:
10195 * docs/manual/mime-world.fig:
10196 Try to get autoplugging working, fix type detection. Fix text
10197 in hello-world image.
10199 2005-06-29 Wim Taymans <wim@fluendo.com>
10201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10202 (gst_base_sink_change_state):
10206 map SIGNAL and BROADCAST to the right function.
10209 Remove redundant braces.
10211 * gst/gstpad.c: (gst_pad_set_caps):
10212 Don't call setcaps function when reseting caps to NULL.
10214 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10215 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10216 (gst_system_clock_id_unschedule):
10217 Use BROADCAST as this is what we do.
10219 2005-06-29 Wim Taymans <wim@fluendo.com>
10221 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10222 We are actually prerolling before commiting the state
10225 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10227 * docs/manual/advanced-clocks.xml:
10228 * docs/manual/advanced-interfaces.xml:
10229 * docs/manual/advanced-metadata.xml:
10230 * docs/manual/advanced-position.xml:
10231 * docs/manual/advanced-schedulers.xml:
10232 * docs/manual/advanced-threads.xml:
10233 * docs/manual/appendix-porting.xml:
10234 * docs/manual/basics-bins.xml:
10235 * docs/manual/basics-bus.xml:
10236 * docs/manual/basics-elements.xml:
10237 * docs/manual/basics-helloworld.xml:
10238 * docs/manual/basics-pads.xml:
10239 * docs/manual/highlevel-components.xml:
10240 * docs/manual/manual.xml:
10241 * docs/manual/thread.fig:
10242 Update (until threads/scheduling) Application Development Manual;
10243 remove GstThread, add GstBus, add simple porting checklist, add
10244 documentation for tag writing, clocks, make all examples until this
10245 part compile and run.
10246 * examples/manual/Makefile.am:
10247 Update from changes to Application Development Manual; add bus
10248 example, remove thread example.
10250 2005-06-28 Wim Taymans <wim@fluendo.com>
10252 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10253 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10254 (gst_bus_source_dispatch):
10255 Add debugging messages.
10256 Make internal methods static.
10257 Handle the case where the bus is flushed in the handler.
10259 * gst/gstelement.c: (gst_element_get_bus):
10260 Fix refcount in _get_bus();
10262 * gst/gstpipeline.c: (gst_pipeline_change_state),
10263 (gst_pipeline_get_clock_func):
10264 Clock refcounting fixes.
10265 Handle the case where preroll timed out more gracefully.
10267 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10268 Clean up the internal thread in dispose. This is needed
10269 for subclasses that actually get disposed.
10271 * gst/schedulers/threadscheduler.c:
10272 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10273 (gst_thread_scheduler_dispose):
10274 Free thread pool in dispose.
10276 2005-06-28 Andy Wingo <wingo@pobox.com>
10278 * tests/network-clock-utils.scm (debug, print-event): New utils.
10280 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10281 (*packet-loss*): Unified loss probability.
10282 (network-time): Report out-of-band events.
10284 * tests/plot-data: Add support for out-of-band events. Hack it
10285 into this script instead of passing it down the pipe; should fix
10288 2005-06-28 Wim Taymans <wim@fluendo.com>
10290 * docs/gst/gstreamer.types:
10291 * docs/gst/tmpl/gstbasesrc.sgml:
10292 * docs/gst/tmpl/gstpad.sgml:
10295 2005-06-28 Wim Taymans <wim@fluendo.com>
10297 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10298 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10299 (gst_proxy_pad_do_fixatecaps):
10300 Correctly proxy the check_pull_range function.
10302 2005-06-28 Andy Wingo <wingo@pobox.com>
10304 * tests/network-clock.scm: Removed need for slib.
10306 2005-06-28 Wim Taymans <wim@fluendo.com>
10308 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10309 (gst_basesink_preroll_queue_flush):
10310 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10311 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10312 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10313 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10314 (gst_proxy_pad_set_property):
10317 * gst/gstqueue.c: (gst_queue_init):
10318 The deprecated pad loop function is removed now.
10320 2005-06-28 Andy Wingo <wingo@pobox.com>
10322 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10323 New parameters, simulate network packet loss.
10325 * tests/network-clock-utils.scm: Initialize the RNG.
10327 2005-06-28 Wim Taymans <wim@fluendo.com>
10329 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10330 (gst_basesink_event), (gst_basesink_deactivate):
10331 Flushing the preroll queue always needs to unlock the waiters.
10333 2005-06-28 Edward Hervey <edward@fluendo.com>
10335 * gst/gstpipeline.c: (gst_pipeline_send_event):
10336 Wheen a seek was successful on a pipeline, set the stream_time to the
10337 seek offset in order to have a synchronized stream_time.
10339 2005-06-28 Wim Taymans <wim@fluendo.com>
10341 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10342 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10343 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10344 (gst_proxy_pad_do_fixatecaps):
10345 Call wrapper function instead of just calling the function
10346 pointers. This takes care of any locking and whatmore.
10348 2005-06-28 Wim Taymans <wim@fluendo.com>
10350 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10351 (gst_pad_pull_range):
10353 CONNECTED -> LINKED.
10355 2005-06-28 Andy Wingo <wingo@pobox.com>
10357 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10358 source-munging commit!!!
10360 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10361 (gst_object_sink): Take gpointer arguments, not GstObject --
10362 avoids casts. Like GLib.
10364 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10367 2005-06-27 Andy Wingo <wingo@pobox.com>
10369 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10372 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10373 returns a sorted copy of the trace list.
10374 (gst_alloc_trace_print_live): New API, only prints traces with
10375 live objects. Sort the list.
10376 (gst_alloc_trace_print_all): Sort the list.
10377 (gst_alloc_trace_print): Align columns.
10379 * gst/elements/gstttypefindelement.c:
10380 * gst/elements/gsttee.c:
10381 * gst/base/gstbasesrc.c:
10382 * gst/base/gstbasesink.c:
10383 * gst/base/gstbasetransform.c:
10384 * gst/gstqueue.c: Adapt for pad activation changes.
10386 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10388 (gst_pipeline_dispose): Drop ref on sched.
10390 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10391 (gst_pad_activate_default): Push mode by default.
10392 (pre_activate_switch, post_activate_switch): New stubs, things to
10393 do before and after switching activation modes on pads.
10394 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10395 the pad's activate function to choose which mode to activate.
10396 Shortcut on deactivation and call the right function directly.
10397 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10399 (gst_pad_activate_push): New API, same for push mode.
10400 (gst_pad_set_activate_function)
10401 (gst_pad_set_activatepull_function)
10402 (gst_pad_set_activatepush_function): Setters for new API.
10404 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10405 Trace all miniobjects.
10406 (gst_mini_object_make_writable): Unref the arg if we copy, like
10407 gst_caps_make_writable.
10409 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10411 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10412 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10413 Adapt for new pad API.
10415 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10417 * gst/gstelement.h:
10418 * gst/gstelement.c (gst_element_iterate_src_pads)
10419 (gst_element_iterate_sink_pads): New API functions.
10421 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10422 should fold into gstiterator.c in some form.
10423 (gst_element_pads_activate): Simplified via use of fold and
10424 delegation of decisions to gstpad->activate.
10426 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10429 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10430 class once in init, like gstmessage. Didn't run into this issue
10431 but it seems correct. Don't initialize a trace, gstminiobject does
10434 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10435 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10437 (assert_live_count): New util function, uses alloc traces to check
10440 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10441 To be modified when unlink drops the internal pad.
10443 2005-06-27 Wim Taymans <wim@fluendo.com>
10445 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10446 (gst_bin_change_state):
10447 Cleanup the get_state() function a little, make sure it
10448 iterates the same set of elements.
10449 Added stub iterate_state_order().
10451 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10453 * docs/gst/gstreamer-docs.sgml:
10454 * docs/gst/gstreamer-sections.txt:
10455 * docs/gst/gstreamer.types:
10456 * docs/gst/tmpl/gstbasesink.sgml:
10457 * docs/gst/tmpl/gstbasesrc.sgml:
10458 * docs/gst/tmpl/gstbasetransform.sgml:
10459 * docs/gst/tmpl/gstelement.sgml:
10460 * docs/gst/tmpl/gstiterator.sgml:
10461 * gst/base/gstbasesrc.c:
10462 * gst/base/gstbasesrc.h:
10463 * gst/base/gstbasetransform.h:
10464 * gst/gstelement.c:
10465 * gst/gstiterator.h:
10466 adding basetransform and iterator docs
10468 2005-06-27 Andy Wingo <wingo@pobox.com>
10470 * docs/design/part-activation.txt: Notes on how activation should
10471 work -- not quite implemented yet.
10473 2005-06-25 Wim Taymans <wim@fluendo.com>
10475 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10476 At least get the chain function correct, needs more
10479 2005-06-25 Wim Taymans <wim@fluendo.com>
10481 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10482 (gst_basesink_handle_object), (gst_basesink_event),
10483 (gst_basesink_do_sync), (gst_basesink_handle_event),
10484 (gst_basesink_change_state):
10486 Right, two problems here: ghostpads don't take locks and
10487 glib _rec_mutex_lock_full() with depth==0 still locks.
10488 Catch illegal locking and g_warn them.
10490 2005-06-25 Wim Taymans <wim@fluendo.com>
10492 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10493 Have to check for completion now...
10495 2005-06-25 Wim Taymans <wim@fluendo.com>
10497 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10498 (gst_basesink_handle_object), (gst_basesink_event),
10499 (gst_basesink_do_sync), (gst_basesink_handle_event),
10500 (gst_basesink_change_state):
10502 Unlock STREAM_LOCK whatever the recursion was.
10504 2005-06-25 Wim Taymans <wim@fluendo.com>
10506 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10507 (gst_basesink_preroll_queue_empty),
10508 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10509 (gst_basesink_event), (gst_basesink_do_sync),
10510 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10511 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10512 (gst_basesink_change_state):
10513 Reworked the base sink, handle event and buffer serialisation
10514 correctly and removed possible deadlock.
10515 Handle EOS correctly.
10517 2005-06-25 Wim Taymans <wim@fluendo.com>
10519 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10520 (gst_pipeline_change_state):
10521 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10522 Allow elements to post EOS in the state change function.
10523 Fix up -launch, make it exit the poll loop when the
10524 pipeline actually changed state.
10525 Fix up warning parsing in -launch.
10527 2005-06-25 Wim Taymans <wim@fluendo.com>
10529 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10530 (gst_tee_sink_activate):
10531 Core takes STREAM_LOCK for us now.
10533 2005-06-25 Wim Taymans <wim@fluendo.com>
10535 * gst/gstelement.c: (gst_element_get_state_func),
10536 (gst_element_set_state):
10537 * gst/gstelement.h:
10538 * gst/gstmessage.c: (gst_message_parse_error),
10539 (gst_message_parse_warning):
10540 Keep track of current target state while performing a state
10541 change so that subclasses can do something interesting.
10542 Fix parsing of warning/error messages when GError is NULL.
10544 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10546 * docs/gst/Makefile.am:
10547 * docs/gst/gstreamer-docs.sgml:
10548 * docs/gst/gstreamer-sections.txt:
10549 * docs/gst/gstreamer.types:
10550 * docs/gst/tmpl/gstbasesink.sgml:
10551 * docs/gst/tmpl/gstbasesrc.sgml:
10552 * docs/gst/tmpl/gstbin.sgml:
10553 * docs/gst/tmpl/gstcompat.sgml:
10554 * docs/gst/tmpl/gstfakesink.sgml:
10555 * docs/gst/tmpl/gstfakesrc.sgml:
10556 * docs/gst/tmpl/gstfilesink.sgml:
10557 * docs/gst/tmpl/gstfilesrc.sgml:
10558 * docs/gst/tmpl/gstindex.sgml:
10559 * docs/manual/appendix-quotes.xml:
10560 * gst/base/gstbasesrc.h:
10561 * gst/elements/gstfakesrc.h:
10562 * gst/gstmessage.h:
10563 start pulling in base classes and elements in our docs
10565 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10567 * docs/gst/Makefile.am:
10568 * docs/libs/Makefile.am:
10569 fixed make distcheck with gtk-doc 1.3
10571 2005-06-23 Wim Taymans <wim@fluendo.com>
10573 * gst/gstelement.c: (gst_element_get_state_func),
10574 (gst_element_set_state), (gst_element_change_state):
10575 When the state did not change, also report NO_PREROLL
10578 2005-06-23 Wim Taymans <wim@fluendo.com>
10580 * gst/gstpad.c: (gst_pad_event_default):
10581 * gst/gstqueue.c: (gst_queue_loop):
10582 No unsafe task pausing please.
10584 2005-06-23 Wim Taymans <wim@fluendo.com>
10586 * gst/schedulers/threadscheduler.c:
10587 (gst_thread_scheduler_task_start),
10588 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10589 Ref the task before pushing it on the threadpool. This
10590 makes sure that we have a ref when the threadfunction is
10593 2005-06-23 Andy Wingo <wingo@pobox.com>
10595 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10596 offset is greater than the file's size.
10598 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10599 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10600 * gst/gstobject.c (gst_object_class_init): Make the class lock
10601 recursive. Wim won't let me drop deep_notify. Decodebin works
10602 again, whoopdy doo.
10604 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10605 internal pad, and hacks accordingly. Doesn't do it on the target
10606 pad because we change its caps. Probably catches all cases of
10608 (gst_ghost_pad_set_property): Connect to notify::caps as
10611 * tests/network-clock.scm (plot-simulation): Pipe data to the
10612 elite python skript.
10614 * tests/network-clock-utils.scm (define-parameter): New macro,
10615 defines a parameter that can be set via the command line.
10616 (set-parameter!, parse-parameter-arguments): Command line args
10619 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10622 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10624 * gst/elements/gsttypefindelement.c:
10625 (gst_type_find_element_handle_event):
10626 Don't restart typefinding on a discont.
10627 * gst/gstelement.c: (gst_element_set_state):
10628 Debug spelling fix.
10629 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10630 Allow changing mode of an active pad.
10631 Debug output fixes.
10632 * gst/registries/gstlibxmlregistry.c: (load_feature):
10633 Don't cast a static pad template to a normal pad template.
10635 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10637 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10638 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10639 remove gst_strtoll completely, since it didn't actually do
10640 anything more than what g_ascii_strtoull already does.
10641 check for range errors when deserializing
10642 do a cast for the unsigned cases; but further fixing needs
10643 a decision on what the interpretation of "(int)" and
10644 deserialization should be for values that fall outside the
10645 type's boundaries (ie, refuse, or interpret as casting)
10647 2005-06-23 Wim Taymans <wim@fluendo.com>
10649 * check/Makefile.am:
10650 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10651 * docs/design/part-live-source.txt:
10652 * docs/design/part-states.txt:
10653 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10654 (gst_basesrc_set_live), (gst_basesrc_is_live),
10655 (gst_basesrc_get_range), (gst_basesrc_activate),
10656 (gst_basesrc_change_state):
10657 * gst/base/gstbasesrc.h:
10658 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10659 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10660 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10661 * gst/gstelement.c: (gst_element_get_state_func),
10662 (gst_element_set_state):
10663 * gst/gstelement.h:
10665 * tools/gst-launch.c: (event_loop), (main):
10666 Added support for live sources and other elements that
10668 Updated design docs, added live-source design doc.
10669 Implemented live source functionality in basesrc
10670 Fix error condition in _bin_get_state()
10671 Implement live source handling in -launch.
10672 Added check for live sources.
10673 Fixed case in GstBin where elements were changed state
10677 2005-06-23 Andy Wingo <wingo@pobox.com>
10679 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10680 borken refcounting.
10682 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10683 gst_caps_replace takes care of this for us.
10685 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10686 gst_pad_set_caps on the target, not just its setcaps() function.
10688 * tests/network-clock.scm:
10689 * tests/network-clock-utils.scm: A network clock simulator.
10690 Something of an algorithmic testbed before doing something in C.
10692 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10694 * check/Makefile.am:
10695 * check/gst/capslist.h:
10696 copy over from 0.8, and add two with bitmasks specified with
10698 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10699 add test to parse everything from capslist.h
10700 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10702 add test for structure deserialization
10703 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10704 add tests for deserialization of strings to int types
10705 * gst/gststructure.c: (gst_structure_nth_field_name):
10706 * gst/gststructure.h:
10707 add a way to get the name of a field referenced by index
10708 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10709 instead of checking if the resulting long long lies between
10710 min and max, we check if the long long would fit into
10711 a number of bytes for the final type.
10712 This fixes cases where a string represents 2^32 - 1, which
10713 when cast to int would be the (valid) -1, but is bigger than
10716 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10718 * gst/parse/grammar.y:
10719 add a log line for type deserialization
10721 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10723 * check/gst/gstvalue.c: (START_TEST):
10724 * gst/gstvalue.c: (gst_value_deserialize):
10725 return long long, not int, so gint64 deserialization actually
10726 works. Is there any flag that makes the compiler check this ?
10729 2005-06-22 Wim Taymans <wim@fluendo.com>
10732 Added convenience macros for setting buffers in GValue.
10734 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10736 * check/gst/.cvsignore:
10737 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10738 add a test deserializing int64, and comment part out because
10741 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10743 * check/Makefile.am:
10744 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10745 * testsuite/Makefile.am:
10746 * testsuite/caps/Makefile.am:
10747 * testsuite/caps/value_serialize.c:
10748 * testsuite/test_gst_init.c:
10749 move a value_serialize test over
10751 2005-06-20 Wim Taymans <wim@fluendo.com>
10756 * gst/gstvalue.c: (gst_value_compare_buffer),
10757 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10758 (gst_value_compare_flags), (gst_value_serialize_flags),
10759 (gst_value_deserialize_flags), (_gst_value_initialize):
10760 Fix serialisation of buffers, they are not boxed types anymore
10762 2005-06-20 Wim Taymans <wim@fluendo.com>
10764 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10765 Testcase to show error in buffer-on-caps serialisation.
10767 2005-06-20 Andy Wingo <wingo@pobox.com>
10769 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10770 will be adding to later.
10772 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10773 if its socks fill with rocks.
10774 (gst_system_clock_obtain): Set the name on object construction.
10775 Avoid double-checked locking.
10777 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10779 * gst/gsturi.c: (gst_element_make_from_uri):
10780 Fix potential endless loop.
10782 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10784 * check/Makefile.am:
10786 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10788 move over from testsuite dir and clean up
10791 * testsuite/Makefile.am:
10792 * testsuite/tags/.cvsignore:
10793 * testsuite/tags/Makefile.am:
10794 * testsuite/tags/merge.c:
10795 remove testsuite/tags
10797 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10799 * docs/gst/gstreamer-sections.txt:
10800 * docs/gst/tmpl/gstenumtypes.sgml:
10801 * win32/gstenumtypes.c:
10802 clean up documentation build a little
10804 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10806 * check/gstcheck.h:
10807 add macros for checking refcounts on objects and caps
10808 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10809 add some more unit tests
10810 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10811 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10812 fix leaked refcounts (I hope :)) so unittest works
10816 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10818 * configure.ac: back to HEAD
10820 === release 0.9.1 ===
10822 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10828 2005-06-17 Andy Wingo <wingo@pobox.com>
10830 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10831 assert; it's always possible that the pad gets deactivated in
10832 between the checks in gstpad.c and the implementation. Rely on
10833 finish_preroll() to return a FLUSHING or similar instead of on the
10836 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10837 clock and post an EOS message if we come out of finish_preroll in
10840 2005-06-16 David Schleef <ds@schleef.org>
10842 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10843 (gst_capsfilter_set_property): Allow NULL as possible value
10844 for filter_caps property, indicating GST_CAPS_ANY.
10846 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10848 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10850 * gst/schedulers/Makefile.am:
10852 * gstreamer.spec.in:
10855 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10857 * gstreamer.spec.in:
10860 2005-06-08 Andy Wingo <wingo@pobox.com>
10862 * gst/gstutils.c: RPAD fixes all around.
10863 (gst_element_link_pads): Refcounting fixes.
10865 * tools/gst-inspect.c:
10866 * tools/gst-xmlinspect.c:
10868 * gst/base/gsttypefindhelper.c:
10869 * gst/base/gstbasesink.c:
10870 * gst/gstqueue.c: RPAD fixes.
10872 * gst/gstghostpad.h:
10873 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10874 pads. The tricky thing is they provide both source and sink
10875 interfaces, since they proxy the internal pad for the external
10876 pad, and vice versa. Implement with lower-level ProxyPad objects,
10877 with the interior proxy pad as a child of the exterior ghost pad.
10878 Should write a doc on this.
10880 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10881 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10884 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10885 pads are real pads. No ghost pads in this file. Not documenting
10886 the myriad s/RPAD/PAD/ and REALIZE fixes.
10887 (gst_pad_class_init): Add properties for "direction" and
10888 "template". Both are construct-only, so they can't change during
10889 the life of the pad. Fixes properly deriving from GstPad.
10890 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10891 derived objects, just set properties when creating the objects via
10893 (gst_pad_get_parent): Implement as a function, return NULL if the
10894 parent is not an element.
10895 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10896 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10898 * gst/gstobject.c (gst_object_class_init): Make name a construct
10899 property. Don't set it in the object init.
10901 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10902 with UNKNOWN direction.
10903 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10904 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10905 (gst_element_remove_pad): Remove ghost-pad special cases.
10906 (gst_element_pads_activate): Remove rpad cruft.
10908 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10909 catch the pad's-parent-not-an-element case.
10911 * gst/gst.h: Include gstghostpad.h.
10913 * gst/gst.c (init_post): No more real, ghost pads.
10915 * gst/Makefile.am: Add gstghostpad.[ch].
10917 * check/Makefile.am:
10918 * check/gst/gstbin.c:
10919 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10920 into a bin creates ghost pads, and that the refcounts are right.
10921 Partly moved from gstbin.c.
10923 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10925 * check/gst-libs/.cvsignore:
10926 * check/gst/.cvsignore:
10927 * check/pipelines/.cvsignore:
10929 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10930 (START_TEST), (cleanup_suite), (main):
10931 add some tests related to cleanup after running pipelines
10933 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10935 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10936 add a testsuite for GstBuffer
10938 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10940 * gst/gstminiobject.h:
10941 add defines for accessing the refcount
10943 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10945 * Makefile.am: added support for html unit test coverage reports
10947 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10949 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10950 Free existing caps if the capsfilter changes. Add a FIXME about
10951 setting those caps on the pads.
10953 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10954 Before adding a ghost pad to a parent bin, check that there isn't
10955 already one for the element on the bin. Prevents infinite recursion
10956 when using decodebin in parse pipelines. Andy says he'll rewrite the
10957 way this works anyway, so ignore the hack.
10959 2005-06-02 Andy Wingo <wingo@pobox.com>
10961 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10962 file size, pass it on to the type find helper.
10964 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10965 segment_start and segment_end properly according to the seek
10966 method. Segment_end is still a bit flaky because offset can be
10967 negative for CUR and END cases, but it takes -1 as an "unset"
10970 2005-06-02 Wim Taymans <wim@fluendo.com>
10972 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10973 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10974 (gst_basesink_activate):
10975 * gst/base/gstbasesink.h:
10976 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10977 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10978 (gst_pad_query), (gst_pad_start_task):
10980 * gst/gstqueue.c: (gst_queue_bufferalloc),
10981 (gst_queue_handle_sink_event), (gst_queue_chain):
10982 Bufferalloc: return GstFlowReturn to more accuratly report
10983 why allocation failed.
10985 2005-06-02 Wim Taymans <wim@fluendo.com>
10987 * gst/gstpipeline.c: (gst_pipeline_send_event):
10988 Take snapshot of state without blocking.
10990 2005-06-02 Wim Taymans <wim@fluendo.com>
10992 * docs/design/part-TODO.txt:
10993 * docs/design/part-caps.txt:
10994 * docs/design/part-clocks.txt:
10995 * docs/design/part-negotiation.txt:
10996 * docs/design/part-preroll.txt:
10999 2005-05-30 Wim Taymans <wim@fluendo.com>
11001 * gst/elements/gstidentity.c: (gst_identity_event),
11002 (gst_identity_transform), (gst_identity_get_property):
11003 Protect last_message property as it is accessed from
11006 2005-05-30 Wim Taymans <wim@fluendo.com>
11008 * gst/gstelement.c: (gst_element_init),
11009 (gst_element_pads_activate), (gst_element_change_state):
11010 Slicker pad activation code.
11012 2005-05-30 Wim Taymans <wim@fluendo.com>
11015 * gst/gstelement.h:
11016 * gst/gstelementfactory.h:
11018 Move elementfactory methods to separate .h file.
11020 2005-05-30 Wim Taymans <wim@fluendo.com>
11022 * docs/design/part-overview.txt:
11023 * gst/gstsystemclock.h:
11024 Small typo fixes, doc updates.
11026 2005-05-30 Wim Taymans <wim@fluendo.com>
11028 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11029 (init_popt_callback):
11030 Remove cpu-opt flag.
11032 2005-05-30 Wim Taymans <wim@fluendo.com>
11034 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11035 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11037 Avoid typechecking in places where not needed.
11038 Added accessor for malloc_data.
11040 2005-05-30 Wim Taymans <wim@fluendo.com>
11042 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11043 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11044 (gst_pad_configure_sink), (gst_pad_configure_src),
11045 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11046 (gst_pad_start_task):
11047 Propagate errors from _set_caps() in configure_src/sink
11048 functions instead of returning TRUE.
11049 FLUSH events can travel up and downstream
11052 2005-05-30 Wim Taymans <wim@fluendo.com>
11054 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11055 (gst_basesink_activate):
11056 Handle EOS in preroll.
11058 2005-05-30 Wim Taymans <wim@fluendo.com>
11060 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11061 (gst_queue_loop), (gst_queue_handle_src_event):
11062 Remove old pieces of code
11063 Flushing the queue in an upstream event is a very bad idea.
11065 2005-05-26 Andy Wingo <wingo@pobox.com>
11067 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11068 gst_value_set_mini_object so as to add a ref on the object (which
11069 will be removed when the value is unset).
11071 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11072 arg type in ::handoff.
11074 * gst/gstelement.c (gst_element_change_state): Also deactivate
11075 pads in READY->NULL, just in case the element didn't make it to
11076 PAUSED. Wingo tested, Wim approved.
11078 2005-05-26 Wim Taymans <wim@fluendo.com>
11080 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11081 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11082 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11083 A flushing pad cannot be used to alloc_buffer from.
11085 2005-05-26 Wim Taymans <wim@fluendo.com>
11087 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11088 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11089 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11090 (gst_bus_create_watch), (gst_bus_add_watch_full):
11092 Implement a real GSource and use g_main_context_wakeup() to
11093 signal new messages instead of the socketpair.
11095 2005-05-25 Wim Taymans <wim@fluendo.com>
11097 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11098 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11099 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11100 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11101 (gst_pad_send_event), (gst_pad_start_task):
11102 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11103 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11104 (gst_queue_sink_activate), (gst_queue_src_activate),
11105 (gst_queue_change_state):
11107 Fix state changes for non sinks. We now change sinks, then elements
11108 with unconnected srcpads, then the rest.
11109 More efficient queue unlocking in flush and state changes.
11110 Set the pad activate mode even if it does not have an activate
11113 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11115 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11116 Don't go in pull mode for non-seekable sources.
11117 * gst/elements/gsttypefindelement.h:
11118 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11119 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11120 (free_entry), (stop_typefinding),
11121 (gst_type_find_element_handle_event), (find_peek),
11122 (gst_type_find_element_chain), (do_pull_typefind),
11123 (gst_type_find_element_change_state):
11124 Allow typefinding (w/o seeking) in push-mode, simplified version
11125 of what was in 0.8.
11126 * gst/gstutils.c: (gst_buffer_join):
11128 gst_buffer_join() from 0.8.
11130 2005-05-25 Wim Taymans <wim@fluendo.com>
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 Disable attempt at mode switching until it is figured out.
11137 2005-05-25 Wim Taymans <wim@fluendo.com>
11139 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11140 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11141 (gst_basesink_finish_preroll), (gst_basesink_chain),
11142 (gst_basesink_loop), (gst_basesink_activate),
11143 (gst_basesink_change_state):
11144 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11145 (gst_basesrc_get_range), (gst_basesrc_loop),
11146 (gst_basesrc_activate):
11147 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11148 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11149 (gst_real_pad_init), (gst_real_pad_set_property),
11150 (gst_real_pad_get_property), (gst_pad_set_active),
11151 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11152 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11153 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11154 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11155 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11156 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11157 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11158 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11159 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11160 (gst_pad_stop_task):
11162 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11163 (gst_queue_loop), (gst_queue_src_activate):
11164 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11165 (gst_task_get_state):
11167 * gst/schedulers/threadscheduler.c:
11168 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11169 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11171 Remove ACTIVE pad flag, use FLUSHING everywhere
11172 Added _pad_chain(), _pad_get_range() to call chain/getrange
11174 Add locks around IS_FLUSHING when reading.
11175 Take STREAM lock in chain(), get_range() functions so plugins
11176 don't need to take it anymore.
11180 2005-05-25 Wim Taymans <wim@fluendo.com>
11182 * tools/gst-launch.c: (event_loop):
11183 Unref message after using its contents instead of
11186 2005-05-24 Wim Taymans <wim@fluendo.com>
11188 * docs/design/draft-ghostpads.txt:
11189 * docs/design/draft-push-pull.txt:
11190 * docs/design/draft-query.txt:
11191 * docs/design/part-overview.txt:
11192 Docs updates, added general overview doc.
11194 2005-05-21 David Schleef <ds@schleef.org>
11196 * docs/gst/tmpl/old/GstBin.sgml:
11197 * docs/gst/tmpl/old/GstBuffer.sgml:
11198 * docs/gst/tmpl/old/GstCaps.sgml:
11199 * docs/gst/tmpl/old/GstClock.sgml:
11200 * docs/gst/tmpl/old/GstCompat.sgml:
11201 * docs/gst/tmpl/old/GstData.sgml:
11202 * docs/gst/tmpl/old/GstElement.sgml:
11203 * docs/gst/tmpl/old/GstEvent.sgml:
11204 * docs/gst/tmpl/old/GstIndex.sgml:
11205 * docs/gst/tmpl/old/GstStructure.sgml:
11206 * docs/gst/tmpl/old/GstTag.sgml:
11207 * docs/gst/tmpl/old/cothreads.sgml:
11208 * docs/gst/tmpl/old/cothreads_compat.sgml:
11209 * docs/gst/tmpl/old/gettext.sgml:
11210 * docs/gst/tmpl/old/gobject2gtk.sgml:
11211 * docs/gst/tmpl/old/grammar.tab.sgml:
11212 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11213 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11214 * docs/gst/tmpl/old/gst_private.sgml:
11215 * docs/gst/tmpl/old/gstaggregator.sgml:
11216 * docs/gst/tmpl/old/gstarch.sgml:
11217 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11218 * docs/gst/tmpl/old/gstbufferstore.sgml:
11219 * docs/gst/tmpl/old/gstdata_private.sgml:
11220 * docs/gst/tmpl/old/gstdisksink.sgml:
11221 * docs/gst/tmpl/old/gstdisksrc.sgml:
11222 * docs/gst/tmpl/old/gstelementfactory.sgml:
11223 * docs/gst/tmpl/old/gstextratypes.sgml:
11224 * docs/gst/tmpl/old/gstfakesink.sgml:
11225 * docs/gst/tmpl/old/gstfakesrc.sgml:
11226 * docs/gst/tmpl/old/gstfdsink.sgml:
11227 * docs/gst/tmpl/old/gstfdsrc.sgml:
11228 * docs/gst/tmpl/old/gstfilesink.sgml:
11229 * docs/gst/tmpl/old/gstfilesrc.sgml:
11230 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11231 * docs/gst/tmpl/old/gstidentity.sgml:
11232 * docs/gst/tmpl/old/gstindexfactory.sgml:
11233 * docs/gst/tmpl/old/gstmarshal.sgml:
11234 * docs/gst/tmpl/old/gstmd5sink.sgml:
11235 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11236 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11237 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11238 * docs/gst/tmpl/old/gstpipefilter.sgml:
11239 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11240 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11241 * docs/gst/tmpl/old/gstshaper.sgml:
11242 * docs/gst/tmpl/old/gstspider.sgml:
11243 * docs/gst/tmpl/old/gstspideridentity.sgml:
11244 * docs/gst/tmpl/old/gststatistics.sgml:
11245 * docs/gst/tmpl/old/gsttee.sgml:
11246 * docs/gst/tmpl/old/gsttimecache.sgml:
11247 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11248 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11249 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11250 * docs/gst/tmpl/old/types.sgml:
11251 I didn't intend to add these or check them in.
11253 2005-05-19 David Schleef <ds@schleef.org>
11255 * configure.ac: Use -no-common everywhere. In a sane world, it
11256 would be the default in libtool, because without it, you can't
11257 build DLLs on Windows.
11258 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11259 * docs/gst/gstreamer-sections.txt:
11260 * docs/gst/tmpl/gstcpu.sgml:
11261 * docs/gst/tmpl/gstdata.sgml:
11262 * docs/gst/tmpl/gstthread.sgml:
11264 2005-05-19 David Schleef <ds@schleef.org>
11266 * gst/gstminiobject.c: (gst_value_set_mini_object),
11267 (gst_value_take_mini_object), (gst_value_get_mini_object):
11268 * gst/gstminiobject.h: Add GValue set/get functions.
11270 2005-05-19 Wim Taymans <wim@fluendo.com>
11272 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11273 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11274 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11276 * gst/gstbus.c: (gst_bus_post):
11277 * gst/gstelement.c: (gst_element_get_random_pad):
11278 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11279 Make subbufer unref the parent in finalize.
11280 some more debugging info.
11283 2005-05-19 Wim Taymans <wim@fluendo.com>
11285 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11286 (gst_basesink_init), (gst_basesink_finalize),
11287 (gst_basesink_activate), (gst_basesink_change_state):
11288 Don't free preroll queue too early.
11290 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11294 Hi, I'm outdated. Please shoot me.
11296 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11298 * gst/gstpipeline.c: (gst_pipeline_send_event):
11299 Do not access variables after they have been deleted.
11301 2005-05-19 Wim Taymans <wim@fluendo.com>
11303 * tools/gst-inspect.c: (print_plugin_features):
11304 A plugin feature does unfortunatly not use the
11307 2005-05-18 Wim Taymans <wim@fluendo.com>
11309 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11310 Port _span() functions to new subbuffers.
11312 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11314 * gst/gstbin.c: (gst_bin_add_func):
11315 Fix clock settery in bins when adding kids after the clock has
11318 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11320 * gst/elements/gstidentity.c: (gst_identity_class_init):
11321 Workaround until signals support GstMiniObject.
11323 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11326 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11328 2005-05-18 Wim Taymans <wim@fluendo.com>
11330 * gst/base/Makefile.am:
11331 * gst/base/gstadapter.c: (gst_adapter_base_init),
11332 (gst_adapter_class_init), (gst_adapter_init),
11333 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11334 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11335 (gst_adapter_flush), (gst_adapter_available),
11336 (gst_adapter_available_fast):
11337 * gst/base/gstadapter.h:
11338 Ported and added adapter to the base classes.
11340 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11343 * gst/gstmessage.c:
11344 Make sure the class is reffed/unreffed once before threads can be
11345 used. Fixes #304551.
11347 2005-05-17 Wim Taymans <wim@fluendo.com>
11349 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11350 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11351 * gst/gstminiobject.c: (gst_mini_object_get_type),
11352 (gst_mini_object_free):
11353 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11354 (gst_pad_push), (gst_pad_push_event):
11355 * gst/gstqueue.c: (gst_queue_change_state):
11356 Don't queue buffers in basesink when we are flushing.
11357 Unref buffer when flushing in basesink.
11358 Flush queue when going to READY
11359 Unref buffer when _push() returns an error.
11360 Don't free MiniObject instance when refcount is incremented
11361 in _finalize() so that we can recover objects.
11363 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11365 * docs/manual/advanced-schedulers.xml:
11366 * docs/manual/appendix-checklist.xml:
11367 * docs/pwg/advanced-clock.xml:
11368 * docs/pwg/advanced-interfaces.xml:
11369 * docs/pwg/advanced-request.xml:
11370 * docs/pwg/advanced-types.xml:
11371 * docs/pwg/intro-preface.xml:
11372 * examples/plugins/example.c: (gst_example_get_type),
11373 (gst_example_class_init), (gst_example_chain),
11374 (gst_example_set_property), (gst_example_get_property),
11375 (gst_example_change_state), (plugin_init):
11376 * examples/plugins/example.h:
11379 2005-05-17 Wim Taymans <wim@fluendo.com>
11381 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11382 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11383 * gst/gstqueue.c: (gst_queue_change_state):
11384 Clear queue when going to READY.
11385 Remove IN_SETCAPS flag too.
11387 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11389 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11390 Remove implicit cast from gboolean to GstElementStateReturn;
11391 make sure we still return failure in paused => ready case if
11392 the parent class fails to change state and our own stop
11395 2005-05-17 Wim Taymans <wim@fluendo.com>
11397 * tools/gst-launch.c: (event_loop):
11398 Message was unreffed too soon.
11400 2005-05-16 Andy Wingo <wingo@pobox.com>
11402 * gst/gstbin.c (sink_iterator_filter): Err... um...
11404 * check/gst/gstbin.c (test_ghost_pads): New test for the
11405 ghosting-if-elements-not-in-same-bin behavior.
11407 2005-05-16 David Schleef <ds@schleef.org>
11409 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11410 accessing refcount directly.
11412 2005-05-15 David Schleef <ds@schleef.org>
11414 * check/Makefile.am: remove GstData checks
11415 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11416 * gst/Makefile.am: add miniobject, remove data
11417 * gst/gst.h: add miniobject, remove data
11418 * gst/gstdata.c: remove
11419 * gst/gstdata.h: remove
11420 * gst/gstdata_private.h: remove
11421 * gst/gsttypes.h: remove GstEvent and GstMessage
11422 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11423 * gst/gstmarshal.list: change BOXED -> OBJECT
11425 Implement GstMiniObject.
11426 * gst/gstminiobject.c:
11427 * gst/gstminiobject.h:
11429 Modify to be subclasses of GstMiniObject.
11430 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11431 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11432 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11433 (gst_subbuffer_get_type), (gst_subbuffer_init),
11434 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11437 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11438 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11439 (_gst_event_copy), (gst_event_new):
11441 * gst/gstmessage.c: (_gst_message_initialize),
11442 (gst_message_get_type), (gst_message_class_init),
11443 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11444 (gst_message_new), (gst_message_new_error),
11445 (gst_message_new_warning), (gst_message_new_tag),
11446 (gst_message_new_state_changed), (gst_message_new_application):
11447 * gst/gstmessage.h:
11448 * gst/gstprobe.c: (gst_probe_perform),
11449 (gst_probe_dispatcher_dispatch):
11451 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11452 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11453 (_gst_query_copy), (gst_query_new):
11455 Update elements for GstData -> GstMiniObject changes
11457 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11458 (gst_queue_chain), (gst_queue_loop):
11459 * gst/elements/gstbufferstore.c:
11460 (gst_buffer_store_add_buffer_func),
11461 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11462 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11463 (gst_fakesink_render):
11464 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11465 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11466 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11467 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11468 (gst_filesrc_create_read):
11469 * gst/elements/gstidentity.c: (gst_identity_class_init):
11470 * gst/elements/gsttypefindelement.c:
11471 (gst_type_find_element_src_event), (free_entry_buffers),
11472 (gst_type_find_element_handle_event):
11473 * libs/gst/dataprotocol/dataprotocol.c:
11474 (gst_dp_header_from_buffer):
11475 * libs/gst/dataprotocol/dataprotocol.h:
11476 * libs/gst/dataprotocol/dp-private.h:
11478 2005-05-15 David Schleef <ds@schleef.org>
11480 * gst/elements/gstelements.c: Don't include headers that were
11483 2005-05-15 David Schleef <ds@schleef.org>
11485 * gst/elements/Makefile.am: Remove some elements that don't
11486 need to be in the core (or even exist at all).
11487 * gst/elements/gstaggregator.c:
11488 * gst/elements/gstaggregator.h:
11489 * gst/elements/gstmd5sink.c:
11490 * gst/elements/gstmd5sink.h:
11491 * gst/elements/gstmultifilesrc.c:
11492 * gst/elements/gstmultifilesrc.h:
11493 * gst/elements/gstpipefilter.c:
11494 * gst/elements/gstpipefilter.h:
11495 * gst/elements/gstshaper.c:
11496 * gst/elements/gstshaper.h:
11497 * gst/elements/gststatistics.c:
11498 * gst/elements/gststatistics.h:
11499 * po/POTFILES.in: Remove above files.
11501 2005-05-14 Andy Wingo <wingo@pobox.com>
11503 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11504 so as to get the refs right.
11505 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11506 unreffing objects that don't pass the filter.
11508 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11509 gst_element_set_bus.
11510 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11511 normal cases, this will destroy the bus.
11513 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11516 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11519 2005-05-13 Andy Wingo <wingo@pobox.com>
11521 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11522 gst_pad_link, call pad_link_maybe_ghosting,
11523 (pad_link_maybe_ghosting): Links pads, making sure that the
11524 elements being linked are in the same bin.
11525 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11526 Helpers for pad_link_maybe_ghosting.
11528 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11531 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11533 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11535 * docs/design/part-element-source.txt:
11538 2005-05-12 Wim Taymans <wim@fluendo.com>
11540 * gst/base/gstbasesink.c: (gst_basesink_init),
11541 (gst_basesink_activate):
11542 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11543 (gst_basesrc_is_seekable):
11544 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11545 (bin_element_is_sink), (gst_bin_change_state):
11546 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11547 * gst/gstelement.h:
11548 Identify sinks by their flag to avoid overly complicated
11550 Do state changes even for elements not reachable from the
11552 BaseSink is a sink now :)
11553 Some more debugging info in the basesrc.
11556 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11558 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11559 Implement _query on a bin, similar to _send_event.
11561 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11563 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11564 Discont event offset format should be GST_FORMAT_BYTES,
11565 not GST_FORMAT_TIME.
11567 2005-05-12 Wim Taymans <wim@fluendo.com>
11569 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11570 Same fix as Ronald's but without the signal.
11572 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11574 * gst/gstutils.c: (gst_element_query_position):
11575 No, an element is not a pad.
11577 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11579 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11580 (gst_bin_get_state):
11581 If a child is removed from a bin while we remove the child from
11582 the bin and while we're retrieving its state, signal this to the
11583 get_state function so we abort the wait (instead of waiting for
11584 a timeout) and can immediately re-iterate over all other elements.
11586 2005-05-12 Wim Taymans <wim@fluendo.com>
11588 * gst/base/Makefile.am:
11589 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11590 (gst_basesrc_start):
11591 * gst/base/gstbasesrc.h:
11592 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11593 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11594 (gst_pushsrc_init), (gst_pushsrc_create):
11595 * gst/base/gstpushsrc.h:
11596 Added is_seekable to BaseSrc
11597 Added simple PushSrc.
11599 2005-05-11 Wim Taymans <wim@fluendo.com>
11601 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11602 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11603 (gst_element_link_pads), (gst_element_query_position),
11604 (gst_element_query_convert), (intersect_caps_func),
11605 (gst_pad_query_position), (gst_pad_query_convert):
11606 Fix refcounting in utils function.
11607 No point in trying to activate a pad when it's added, it could
11608 be added from the state change function and then we deadlock, the
11609 element has to decide what to do.
11611 2005-05-10 Andy Wingo <wingo@pobox.com>
11613 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11614 *all* the arguments.
11616 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11617 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11618 lock (according to the docs -- if this is wrong change the docs).
11620 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11621 flush messages in the NULL state.
11623 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11624 message immediately and return.
11625 (gst_bus_set_flushing): New function. If a bus is flushing, it
11626 flushes out any queued messages and immediately unrefs new
11627 messages. This is so when an element goes to NULL, all of the
11628 unhandled messages coming from it can be freed, and their
11629 references to the element dropped. In other words: message source
11630 ref considered harmful :P
11632 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11633 we're finished with it.
11635 * gst/gstmessage.c (gst_message_new_state_changed):
11637 2005-05-10 Wim Taymans <wim@fluendo.com>
11639 * gst/gstvalue.c: (gst_value_compare_flags),
11640 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11641 (_gst_value_initialize):
11642 Added flags serialize/deserialize/compare code.
11644 2005-05-09 Andy Wingo <wingo@pobox.com>
11646 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11647 Intersect the peer's caps with our caps.
11649 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11651 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11652 * gst/elements/gsttypefindelement.c: (find_peek):
11653 Handle negative offsets better. Fixes decodebin.
11655 2005-05-09 Wim Taymans <wim@fluendo.com>
11657 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11658 (gst_base_transform_event):
11659 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11660 Implement accept_caps.
11661 Fix silly lock/unlock mismatch in base class.
11663 2005-05-09 Wim Taymans <wim@fluendo.com>
11665 * docs/design/draft-push-pull.txt:
11666 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11667 * gst/elements/gstfilesink.c: (gst_filesink_init),
11668 (gst_filesink_query):
11669 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11670 (gst_type_find_handle_src_query), (find_element_get_length):
11671 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11672 * gst/gstelement.h:
11673 * gst/gstmessage.c:
11674 * gst/gstmessage.h:
11675 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11676 (gst_real_pad_get_caps_unlocked),
11677 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11678 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11679 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11680 (gst_real_pad_dispose), (gst_real_pad_finalize),
11681 (gst_pad_load_and_link), (gst_pad_save_thyself),
11682 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11683 (gst_pad_check_pull_range), (gst_pad_pull_range),
11684 (gst_pad_template_get_type), (gst_pad_template_class_init),
11685 (gst_pad_template_init), (gst_pad_template_dispose),
11686 (name_is_valid), (gst_static_pad_template_get),
11687 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11688 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11689 (gst_pad_get_element_private), (gst_pad_start_task),
11690 (gst_pad_pause_task), (gst_pad_stop_task),
11691 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11692 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11693 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11694 (gst_ghost_pad_new):
11696 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11697 (gst_query_new_position), (gst_query_set_position),
11698 (gst_query_parse_position), (gst_query_new_convert),
11699 (gst_query_set_convert), (gst_query_parse_convert):
11701 * gst/gstqueryutils.c:
11702 * gst/gstqueryutils.h:
11703 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11704 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11705 (gst_queue_handle_src_query):
11706 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11707 (gst_element_query_position), (gst_element_query_convert),
11708 (intersect_caps_func), (gst_pad_query_position),
11709 (gst_pad_query_convert):
11711 * tools/gst-inspect.c: (print_pad_info):
11712 * tools/gst-xmlinspect.c: (print_element_info):
11713 Remove old query functions. Ported old code.
11714 Added position/convert helper functions to gstutils.
11715 Reordered gstpad.c code, grouping relevant things.
11716 Remove gst_message_new(), always need to speficy a specific
11720 2005-05-09 Andy Wingo <wingo@pobox.com>
11722 * gst/gstiterator.h: Add some includes.
11724 * gst/gstqueryutils.h: Include more headers.
11727 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11728 some uses of gst_pad_query.
11730 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11731 NULL out parameters.
11732 (gst_query_new_position): New proc, allocates a new position
11735 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11736 gstqueryutils.c to the build.
11738 * gst/gststructure.c (gst_structure_set_valist): Implement with
11739 the generic G_VALUE_COLLECT.
11741 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11743 * gst/Makefile.am: (gst_headers):
11744 Added gstqueryutils.h to the list of headers to install, that was
11745 a 'nachty' move wingo :)
11747 2005-05-06 Andy Wingo <wingo@pobox.com>
11750 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11751 GstData, init a memchunk.
11752 (standard_definitions): Add a few query types, deprecate a few.
11753 (gst_query_get_type): New proc.
11754 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11756 (gst_query_new_application, gst_query_get_structure): New public
11759 * docs/design/draft-query.txt: Removed LINKS from the query types,
11760 because all the rest can be dispatched to other pads -- seemed
11761 ugly to have a query that couldn't be dispatched. internal_links
11762 is fine as a pad method.
11764 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11765 in gstpad.c, but maintain binary compatibility for the moment.
11766 Will fix before 0.9 is out.
11768 * gst/gstqueryutils.c:
11769 * gst/gstqueryutils.h: New files, implement 3 methods for each
11770 query type: parse_query, parse_response, and set. Probably need an
11773 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11775 * gst/elements/gstfilesink.c (gst_filesink_query2):
11776 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11777 query_types, and formats methods.
11779 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11780 (gst_pad_set_query2_function): New functions.
11781 (gst_real_pad_init): Set query2_default as the default query2
11782 function. Basically just dispatches to internally linked pads.
11786 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11787 without using the atomic operations. Only one thread can possibly
11788 be accessing the data at this point. Changed so as to avoid
11789 gst_atomic operations.
11791 2005-05-06 Wim Taymans <wim@fluendo.com>
11793 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11794 Also set caps if we use the fallback buffer alloc.
11796 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11798 * docs/gst/Makefile.am:
11799 * docs/gst/gstreamer-docs.sgml:
11800 * docs/gst/gstreamer-sections.txt:
11801 * docs/gst/tmpl/gstatomic.sgml:
11802 * docs/gst/tmpl/gstmemchunk.sgml:
11803 * testsuite/elements/struct_i386.h:
11804 * win32/GStreamer.vcproj:
11806 Purge GstAtomic stuff from docs and win32 makefiles as well
11808 2005-05-06 Wim Taymans <wim@fluendo.com>
11810 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11811 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11812 * gst/gstpad.c: (gst_pad_peer_get_caps):
11813 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11814 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11815 (gst_queue_src_activate), (gst_queue_change_state):
11817 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11818 (intersect_caps_func):
11819 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11820 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11821 Some fixes for the peer_get_caps() change.
11823 2005-05-06 Wim Taymans <wim@fluendo.com>
11825 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11826 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11827 (gst_basesink_activate):
11828 Actually do something with error codes returned from the push
11831 2005-05-06 Wim Taymans <wim@fluendo.com>
11833 * docs/design/part-element-sink.txt:
11834 * docs/design/part-element-source.txt:
11835 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11836 (gst_basesink_event), (gst_basesink_activate):
11837 * gst/base/gstbasesink.h:
11838 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11839 (gst_basesrc_activate):
11840 * gst/base/gstbasesrc.h:
11841 * gst/gstelement.c: (gst_element_pads_activate):
11842 Some more documentation.
11843 Fixed scheduling decision in _pads_activate().
11845 2005-05-05 Andy Wingo <wingo@pobox.com>
11847 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11850 2005-05-05 Wim Taymans <wim@fluendo.com>
11852 * gst/base/Makefile.am:
11853 * gst/base/gstbasesink.h:
11854 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11855 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11856 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11857 (gst_collectpads_class_init), (gst_collectpads_init),
11858 (gst_collectpads_finalize), (gst_collectpads_new),
11859 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11860 (find_pad), (gst_collectpads_remove_pad),
11861 (gst_collectpads_is_active), (gst_collectpads_collect),
11862 (gst_collectpads_collect_range), (gst_collectpads_start),
11863 (gst_collectpads_stop), (gst_collectpads_peek),
11864 (gst_collectpads_pop), (gst_collectpads_available),
11865 (gst_collectpads_read), (gst_collectpads_flush),
11866 (gst_collectpads_chain):
11867 * gst/base/gstcollectpads.h:
11868 * gst/elements/Makefile.am:
11869 * gst/elements/gstelements.c:
11870 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11871 (gst_fakesink_get_times), (gst_fakesink_event),
11872 (gst_fakesink_preroll), (gst_fakesink_render):
11873 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11874 (gst_filesink_init), (gst_filesink_set_location),
11875 (gst_filesink_open_file), (gst_filesink_close_file),
11876 (gst_filesink_pad_query), (gst_filesink_event),
11877 (gst_filesink_render), (gst_filesink_change_state):
11878 * gst/elements/gstfilesink.h:
11879 Added object to help in making collect pad based elements.
11881 Make event function in sink baseclass return gboolean.
11883 2005-05-05 Wim Taymans <wim@fluendo.com>
11885 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11886 (gst_bin_get_by_name):
11888 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11889 (gst_clock_finalize):
11890 * gst/gstdata.c: (gst_data_replace):
11892 * gst/gstelement.c: (gst_element_request_pad),
11893 (gst_element_pads_activate):
11894 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11895 (gst_object_unref):
11896 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11897 (gst_pad_set_checkgetrange_function),
11898 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11899 (gst_pad_check_pull_range), (gst_pad_pull_range),
11900 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11901 (gst_pad_pause_task), (gst_pad_stop_task):
11902 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11903 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11904 Fix name lookup in GstBin.
11905 Added _data_replace() function and _buffer_replace()
11906 Use finalize method to clean up clock.
11907 Fix refcounting on request pads.
11908 Fix pad schedule mode error.
11909 Some more object refcounting debug info,
11912 2005-05-04 Andy Wingo <wingo@pobox.com>
11914 * check/Makefile.am:
11915 * docs/gst/tmpl/gstatomic.sgml:
11916 * docs/gst/tmpl/gstplugin.sgml:
11917 * gst/base/gstbasesink.c: (gst_basesink_activate):
11918 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11919 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11920 (gst_basesrc_query), (gst_basesrc_set_property),
11921 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11922 (gst_basesrc_activate):
11923 * gst/base/gstbasesrc.h:
11924 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11925 (gst_base_transform_src_activate):
11926 * gst/elements/gstelements.c:
11927 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11928 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11929 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11930 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11931 (gst_type_find_element_checkgetrange),
11932 (gst_type_find_element_activate):
11933 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11934 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11935 (gst_caps_load_thyself):
11936 * gst/gstelement.c: (gst_element_pads_activate),
11937 (gst_element_save_thyself), (gst_element_restore_thyself):
11938 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11939 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11941 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11942 (gst_xml_parse_file), (gst_xml_parse_memory),
11943 (gst_xml_get_element), (gst_xml_make_element):
11944 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11945 (_file_index_id_save_xml), (gst_file_index_commit):
11946 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11947 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11949 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11950 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11951 * tools/gst-complete.c: (main):
11952 * tools/gst-compprep.c: (main):
11953 * tools/gst-inspect.c: (print_element_properties_info):
11954 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11955 * tools/gst-xmlinspect.c: (print_element_properties):
11958 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11960 * gst/gstplugin.c: (gst_plugin_check_module),
11961 (gst_plugin_check_file), (gst_plugin_load_file):
11962 apply patch from #172526 to make register work on MacOSX
11964 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11966 * docs/gst/tmpl/gstconfig.sgml:
11967 * gst/gstconfig.h.in:
11968 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11969 * testsuite/debug/printf_extension.c: (main):
11970 Do not use GST_PTR_FORMAT on pointers to types with
11971 sizeof < sizeof(gpointer). Fixes test on 64-bit
11972 * testsuite/elements/property.h:
11973 use correct printf format
11975 2005-05-02 Wim Taymans <wim@fluendo.com>
11977 * docs/design/draft-push-pull.txt:
11978 * docs/design/draft-query.txt:
11979 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11980 (gst_basesrc_start):
11981 Added draft for new query API.
11982 Added draft for better selecting scheduling methods.
11983 Make basesrc ignore length if the subclass does not support
11986 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11989 possible fixes for automake-1.5 - _LIBADD is reserved
11991 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11993 * docs/faq/Makefile.am:
11994 * docs/manual/Makefile.am:
11995 * docs/manuals.mak:
11996 * docs/pwg/Makefile.am:
11998 possible fixes for automake-1.5
12000 2005-04-28 Wim Taymans <wim@fluendo.com>
12002 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12003 (gst_basesink_pad_getcaps), (gst_basesink_init),
12004 (gst_basesink_do_sync):
12005 * gst/gstclock.c: (gst_clock_entry_new):
12006 * gst/gstevent.c: (gst_event_discont_get_value):
12007 * gst/gstpipeline.c: (pipeline_bus_handler),
12008 (gst_pipeline_change_state):
12009 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12010 Better debugging of clocking info.
12011 Allow NULL values when getting discont values.
12013 2005-04-27 Wim Taymans <wim@fluendo.com>
12015 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12016 * check/gst/gstpad.c: (gst_pad_suite):
12017 Increase timeout for checks.
12019 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12021 * check/Makefile.am:
12022 fix the broken rule for cleanup. Apparently this rule is
12023 only needed on FC2, so maybe this warrants further autotool
12026 2005-04-26 Wim Taymans <wim@fluendo.com>
12028 * gst/gsttrashstack.h:
12029 Ooohh. a nasty one! After having a failed pop() from the stack,
12030 it's possible that the stack is empty. In that case, don't
12031 follow the NULL pointer.
12033 2005-04-25 Wim Taymans <wim@fluendo.com>
12035 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12036 (gst_pad_set_checkgetrange_function),
12037 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12038 (gst_pad_check_pull_range), (gst_pad_pull_range),
12039 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12040 (gst_pad_pause_task), (gst_pad_stop_task):
12041 * gst/gstplugin.c: (gst_plugin_load):
12043 Remove gst_library_load as it does more harm than good with
12044 the new g_module flags.
12045 Revert bogus caps template check in pad linking, pad caps
12046 are important when linking not the template, which is more
12047 general than the current caps.
12049 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12051 * gst/autoplug/.cvsignore:
12052 * gst/autoplug/Makefile.am:
12053 * gst/autoplug/gstsearchfuncs.c:
12054 * gst/autoplug/gstsearchfuncs.h:
12055 * gst/autoplug/gstspider.c:
12056 * gst/autoplug/gstspider.h:
12057 * gst/autoplug/gstspideridentity.c:
12058 * gst/autoplug/gstspideridentity.h:
12059 * gst/autoplug/spidertest.c:
12062 2005-04-25 Wim Taymans <wim@fluendo.com>
12064 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12065 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12066 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12067 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12069 Added stubs for unimplemented functions.
12071 2005-04-24 David Schleef <ds@schleef.org>
12073 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12076 2005-04-24 David Schleef <ds@schleef.org>
12078 Convert everything from GstAtomicInt to g_atomic_int_*, and
12083 * gst/gstatomic_impl.h:
12091 * gst/gstdata_private.h:
12095 * gst/gstmessage.c:
12098 * gst/gststructure.c:
12099 * gst/gststructure.h:
12100 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12103 2005-04-24 David Schleef <ds@schleef.org>
12105 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12106 make the regressions tests work. Remove some code that is no
12108 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12109 Disable warning for pads without templates.
12111 2005-04-24 David Schleef <ds@schleef.org>
12113 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12114 functions that handle filtered links.
12115 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12117 * gst/gstutils.c: Fix/remove utility functions that handle
12120 * gst/gstvalue.c: Add serialization/deserialization of caps
12121 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12122 requires fixing so that the filter caps notation creates
12123 a capsfilter element and sets the filter_caps property. I
12124 think everyone probably wants to keep the shorthand notation.
12125 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12126 * docs/gst/tmpl/gstpad.sgml:
12128 * gst/elements/gstelements.c: Register capsfilter element.
12129 * gst/Makefile.am: fix spacing
12130 * docs/random/ds/0.9-suggested-changes: random
12132 2005-04-23 David Schleef <ds@schleef.org>
12134 * gst/elements/Makefile.am:
12135 * gst/elements/gstcapsfilter.c: New element that acts like an
12136 identity, but filters caps. Will eventually replace filtered
12137 caps in pad linking.
12138 * gst/gstutils.c: (gst_element_create_all_pads): New function
12139 to create all the ALWAYS pads that are registered with an
12140 element class. This functionality should eventually be
12141 merged in with GstElement initialization.
12143 * testsuite/trigger/README: part of trigger test code that should
12144 have been checked in a long time ago.
12146 2005-04-23 David Schleef <ds@schleef.org>
12148 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12149 needed with new versions of libtool (nobody will confirm this),
12150 and hard to carry around.
12151 * gst/autoplug/Makefile.am:
12152 * gst/base/Makefile.am:
12153 * gst/elements/Makefile.am:
12154 * gst/indexers/Makefile.am:
12155 * gst/schedulers/Makefile.am:
12156 * libs/gst/bytestream/Makefile.am:
12157 * libs/gst/control/Makefile.am:
12158 * libs/gst/dataprotocol/Makefile.am:
12159 * libs/gst/getbits/Makefile.am:
12161 2005-04-21 Wim Taymans <wim@fluendo.com>
12163 * docs/design/draft-push-pull.txt:
12164 * docs/design/part-MT-refcounting.txt:
12165 * docs/design/part-TODO.txt:
12166 * docs/design/part-caps.txt:
12167 * docs/design/part-events.txt:
12168 * docs/design/part-gstbus.txt:
12169 * docs/design/part-gstpipeline.txt:
12170 * docs/design/part-messages.txt:
12171 * docs/design/part-push-pull.txt:
12172 * docs/design/part-query.txt:
12175 2005-04-21 Wim Taymans <wim@fluendo.com>
12177 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12178 (gst_message_new), (gst_message_new_error),
12179 (gst_message_new_warning), (gst_message_new_tag),
12180 (gst_message_new_state_changed), (gst_message_new_application),
12181 (gst_message_get_structure):
12182 * gst/gstmessage.h:
12183 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12184 (gst_structure_copy_conditional):
12185 Use parent refcount in GstMessage to ensure GstStructure
12187 Cleaned up headers a bit.
12190 2005-04-20 Wim Taymans <wim@fluendo.com>
12192 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12193 (gst_basesink_pad_getcaps), (gst_basesink_init),
12194 (gst_basesink_chain_unlocked):
12195 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12196 (gst_type_find_helper):
12197 * gst/elements/gsttypefindelement.c:
12198 (gst_type_find_element_have_type), (gst_type_find_element_init),
12199 (stop_typefinding), (gst_type_find_element_handle_event),
12200 (find_suggest), (gst_type_find_element_chain),
12201 (gst_type_find_element_checkgetrange),
12202 (gst_type_find_element_getrange), (do_typefind),
12203 (gst_type_find_element_activate):
12204 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12205 (gst_buffer_default_free), (gst_buffer_default_copy),
12206 (gst_buffer_set_caps):
12207 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12208 (gst_caps_replace):
12209 * gst/gstmessage.c: (gst_message_new),
12210 (gst_message_new_state_changed):
12211 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12212 (gst_pad_set_checkgetrange_function),
12213 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12214 (gst_pad_set_caps), (gst_pad_check_pull_range),
12215 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12217 * gst/gsttypefind.c: (gst_type_find_register):
12218 Make gst_caps_replace() work like other _replace() functions.
12219 Use _caps_replace() where possible.
12220 Make sure _message_new() initialises its field.
12221 Add gst_static_pad_template_get_caps()
12224 2005-04-18 Andy Wingo <wingo@pobox.com>
12226 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12227 on the peer, not the pad. I think that was a typo. Pass an extra
12228 arg to see if random access is possible. Activate the pads as
12229 PULL_RANGE if possible.
12231 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12233 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12234 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12237 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12239 * docs/faq/using.xml:
12240 Add note on gstreamer-properties (#154996).
12242 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12244 * docs/random/bbb/optional-properties:
12245 Some analysis on optional properties.
12247 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12249 * docs/gst/tmpl/gstelementfactory.sgml:
12250 * gst/gstelement.h:
12251 * gst/gstelementfactory.c: (gst_element_factory_init),
12252 (gst_element_factory_cleanup), (gst_element_register),
12253 (__gst_element_factory_add_static_pad_template),
12254 (gst_element_factory_get_static_pad_templates),
12255 (gst_element_factory_can_src_caps),
12256 (gst_element_factory_can_sink_caps):
12257 * gst/registries/Makefile.am:
12258 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12259 (gst_xml_registry_class_init), (gst_xml_registry_init),
12260 (gst_xml_registry_new), (gst_xml_registry_set_property),
12261 (gst_xml_registry_get_property), (get_time), (make_dir),
12262 (gst_xml_registry_get_perms_func),
12263 (plugin_times_older_than_recurse), (plugin_times_older_than),
12264 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12265 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12266 (add_to_char_array), (read_string), (read_uint), (read_enum),
12267 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12268 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12269 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12270 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12271 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12272 (gst_xml_registry_rebuild):
12273 * gst/registries/gstlibxmlregistry.h:
12274 * tools/gst-compprep.c: (main):
12275 * tools/gst-inspect.c: (print_pad_templates_info):
12276 * tools/gst-xmlinspect.c: (print_element_info):
12277 Use libxml2 for registry parsing, use staticpadtemplates in
12278 elementfactories. Makes gst_init() +/- 10x faster.
12280 2005-04-12 Wim Taymans <wim@fluendo.com>
12282 * gst/base/Makefile.am:
12283 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12284 (gst_basesink_pad_getcaps), (gst_basesink_init),
12285 (gst_basesink_event), (gst_basesink_change_state):
12286 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12287 (gst_basesrc_init), (gst_basesrc_query),
12288 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12289 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12290 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12291 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12292 (gst_basesrc_stop), (gst_basesrc_activate),
12293 (gst_basesrc_change_state):
12294 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12295 (helper_find_suggest), (gst_type_find_helper):
12296 * gst/base/gsttypefindhelper.h:
12297 * gst/elements/Makefile.am:
12298 * gst/elements/gstelements.c:
12299 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12300 (gst_fakesink_get_times), (gst_fakesink_event),
12301 (gst_fakesink_preroll), (gst_fakesink_render):
12302 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12303 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12304 (gst_fakesrc_get_property), (gst_fakesrc_create),
12305 (gst_fakesrc_start), (gst_fakesrc_stop):
12306 * gst/elements/gstfakesrc.h:
12307 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12308 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12309 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12310 (gst_filesrc_create_read), (gst_filesrc_create),
12311 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12312 (gst_filesrc_start):
12313 * gst/elements/gsttypefindelement.c:
12314 (gst_type_find_element_have_type), (gst_type_find_element_init),
12315 (start_typefinding), (stop_typefinding), (push_buffer_store),
12316 (gst_type_find_element_handle_event),
12317 (gst_type_find_element_chain),
12318 (gst_type_find_element_checkgetrange),
12319 (gst_type_find_element_getrange), (do_typefind),
12320 (gst_type_find_element_activate),
12321 (gst_type_find_element_change_state):
12322 * gst/elements/gsttypefindelement.h:
12323 * gst/gstpipeline.c: (pipeline_bus_handler):
12324 Added typefind helper.
12325 Small preroll fix in the base sink.
12326 Disable typefind code in basesrc.
12327 Crude port of typefindelement.
12331 2005-04-11 Wim Taymans <wim@fluendo.com>
12333 * check/gst/gstbus.c: (gstbus_suite):
12334 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12335 * check/gstcheck.h:
12336 Fix up the timeout so that the test does not fail.
12338 2005-04-06 Wim Taymans <wim@fluendo.com>
12341 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12342 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12343 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12344 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12345 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12346 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12347 (gst_basesrc_stop), (gst_basesrc_activate),
12348 (gst_basesrc_change_state), (basesrc_find_peek),
12349 (basesrc_find_suggest), (gst_basesrc_type_find):
12350 * gst/base/gstbasesrc.h:
12351 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12352 (gst_filesrc_class_init), (gst_filesrc_init),
12353 (gst_filesrc_finalize), (gst_filesrc_set_location),
12354 (gst_filesrc_set_property), (gst_filesrc_get_property),
12355 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12356 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12357 (gst_filesrc_create_read), (gst_filesrc_create),
12358 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12359 * gst/elements/gstfilesrc.h:
12360 * gst/gstelement.c: (gst_element_get_state_func),
12361 (gst_element_lost_state), (gst_element_pads_activate):
12362 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12363 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12364 (gst_pad_pull_range):
12366 More work on the generic source base class, implement seeking,
12368 Make filesrc extend the base source class.
12369 Added gst_pad_set_checkgetrange_function to GstPad.
12371 2005-04-06 Andy Wingo <wingo@pobox.com>
12373 * pkgconfig/gstreamer-base.pc.in:
12374 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12376 * pkgconfig/Makefile.am:
12377 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12379 2005-04-04 Wim Taymans <wim@fluendo.com>
12381 * gst/base/Makefile.am:
12383 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12384 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12385 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12386 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12387 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12388 (gst_basesrc_base_init), (gst_basesrc_class_init),
12389 (gst_basesrc_init), (gst_basesrc_get_formats),
12390 (gst_basesrc_get_query_types), (gst_basesrc_query),
12391 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12392 (gst_basesrc_set_property), (gst_basesrc_get_property),
12393 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12394 (gst_basesrc_loop), (gst_basesrc_activate),
12395 (gst_basesrc_change_state):
12396 * gst/base/gstbasesrc.h:
12397 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12398 (gst_fakesrc_class_init), (gst_fakesrc_init),
12399 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12400 (gst_fakesrc_get_property), (gst_fakesrc_create):
12401 * gst/elements/gstfakesrc.h:
12402 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12403 (gst_filesrc_open_file), (gst_filesrc_loop),
12404 (gst_filesrc_activate), (filesrc_find_peek),
12405 (gst_filesrc_type_find):
12406 Made base source class, make fakesrc extend it.
12407 Add comments to basesink class.
12408 Some filesrc cleanup.
12410 2005-03-31 David Schleef <ds@schleef.org>
12412 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12413 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12414 expected to link against libgstreamer.
12415 * gst/base/Makefile.am: link against libgstreamer
12416 * gst/elements/Makefile.am: same
12418 2005-03-31 Andy Wingo <wingo@pobox.com>
12420 * tests/instantiate/Makefile.am:
12421 * tests/instantiate/caps.c: Add test to test speed of caps copy
12424 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12425 GMemChunk to be fair.
12427 * gst/gsttrashstack.h: Remove warning about using the fallback
12428 trash stack implementation, it's still faster than malloc.
12430 2005-03-30 Andy Wingo <wingo@pobox.com>
12432 * tests/complexity.c: Add a copyright.
12434 2005-03-31 Wim Taymans <wim@fluendo.com>
12436 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12437 (gst_base_transform_class_init), (gst_base_transform_init),
12438 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12439 (gst_base_transform_get_property),
12440 (gst_base_transform_sink_activate),
12441 (gst_base_transform_src_activate),
12442 (gst_base_transform_change_state):
12443 * gst/base/gstbasetransform.h:
12444 * gst/elements/gstidentity.c: (gst_identity_class_init),
12445 (gst_identity_event), (gst_identity_check_perfect),
12446 (gst_identity_transform), (gst_identity_start),
12447 (gst_identity_stop):
12448 Added start/stop methods to transform base class so subclasses
12449 don't need to deal with state changes even.
12451 2005-03-31 Wim Taymans <wim@fluendo.com>
12453 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12454 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12456 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12457 (gst_pad_pull_range):
12458 Added rate to the discont event to prepare for variable speed
12459 and reverse playback.
12461 2005-03-29 David Schleef <ds@schleef.org>
12464 * testsuite/trigger/Makefile.am:
12465 * testsuite/trigger/trigger.c: A little example program to show
12466 how trigger-based elements can work.
12468 2005-03-29 Wim Taymans <wim@fluendo.com>
12470 * gst/base/Makefile.am:
12472 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12473 (gst_basesink_base_init), (gst_basesink_class_init),
12474 (gst_basesink_pad_getcaps), (gst_basesink_init),
12475 (gst_basesink_activate), (gst_basesink_change_state):
12476 * gst/base/gstbasesink.h:
12477 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12478 (gst_base_transform_base_init), (gst_base_transform_finalize),
12479 (gst_base_transform_class_init), (gst_base_transform_init),
12480 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12481 (gst_base_transform_event), (gst_base_transform_getrange),
12482 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12483 (gst_base_transform_set_property),
12484 (gst_base_transform_get_property),
12485 (gst_base_transform_sink_activate),
12486 (gst_base_transform_src_activate),
12487 (gst_base_transform_change_state):
12488 * gst/base/gstbasetransform.h:
12489 * gst/elements/gstidentity.c: (gst_identity_finalize),
12490 (gst_identity_class_init), (gst_identity_init),
12491 (gst_identity_event), (gst_identity_check_perfect),
12492 (gst_identity_transform), (gst_identity_set_property),
12493 (gst_identity_get_property), (gst_identity_change_state):
12494 * gst/elements/gstidentity.h:
12495 * gst/gstelement.c: (gst_element_get_state_func),
12496 (gst_element_lost_state), (gst_element_pads_activate):
12497 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12498 (gst_pad_check_pull_range), (gst_pad_pull_range):
12500 Simplify pad activation.
12501 Added function to check if pull_range can be performed.
12502 Error out when pulling inactive or flushing pads.
12503 Removed const from refcounted types as it does not make sense.
12504 Simplify pad templates in basesink
12505 Added base class for simple 1-to-1 transforms.
12506 Make identity subclass the base transform.
12508 2005-03-29 Andy Wingo <wingo@pobox.com>
12510 * docs/libs/gstreamer-libs-overrides.txt:
12511 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12512 really don't understand what's going on, but like whatever. I want
12515 * docs/gst/Makefile.am:
12516 * docs/libs/Makefile.am: Dist the overrides files.
12518 * check/Makefile.am (clean-local): Remove .libs directories.
12520 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12521 elements to EXTRA_DIST, so po/ files are happy.
12523 * po/POTFILES.in: Er, remove it here.
12525 * po/POTFILES: Remove gstspider.c.
12527 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12529 * docs/libs/gstreamer-libs-docs.sgml:
12530 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12533 * tests/complexity.c (main): Set the length of the preroll queue
12534 on the sinks to prevent a lockup.
12536 * libs/gst/dataprotocol/Makefile.am:
12537 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12538 the same as the one in check/gst-libs/gdp.c.
12540 * po/, docs/gst/: Commit automatic changes to docs and po files.
12542 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12543 the versioned libgstbase.
12545 * check/Makefile.am: Depend on an unversioned gst-register, seems
12546 to make autoconf happier.
12548 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12550 2005-03-28 Wim Taymans <wim@fluendo.com>
12553 * docs/design/part-gstelement.txt:
12554 * docs/design/part-negotiation.txt:
12555 * docs/design/part-preroll.txt:
12556 * docs/design/part-scheduling.txt:
12557 * docs/design/part-states.txt:
12559 * gst/base/Makefile.am:
12561 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12562 (gst_basesink_base_init), (gst_basesink_class_init),
12563 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12564 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12565 (gst_basesink_set_pad_functions),
12566 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12567 (gst_basesink_set_property), (gst_basesink_get_property),
12568 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12569 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12570 (gst_basesink_preroll_queue_push),
12571 (gst_basesink_preroll_queue_empty),
12572 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12573 (gst_basesink_event), (gst_basesink_get_times),
12574 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12575 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12576 (gst_basesink_loop), (gst_basesink_activate),
12577 (gst_basesink_change_state):
12578 * gst/base/gstbasesink.h:
12579 * gst/elements/Makefile.am:
12580 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12581 (gst_fakesink_class_init), (gst_fakesink_init),
12582 (gst_fakesink_set_property), (gst_fakesink_get_property),
12583 (gst_fakesink_get_times), (gst_fakesink_event),
12584 (gst_fakesink_preroll), (gst_fakesink_render),
12585 (gst_fakesink_change_state):
12586 * gst/elements/gstfakesink.h:
12587 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12588 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12589 * gst/gstelement.c: (gst_element_add_pad),
12590 (gst_element_get_state_func), (gst_element_abort_state),
12591 (gst_element_commit_state), (gst_element_lost_state),
12592 (gst_element_set_state), (gst_element_pads_activate):
12593 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12594 * gst/gstpipeline.c: (gst_pipeline_send_event),
12595 (gst_pipeline_change_state):
12596 Added state change code.
12597 Added/updated docs.
12598 Added sink base class, make fakesink extend the base class.
12599 Small cleanups in GstPipeline.
12601 2005-03-26 David Schleef <ds@schleef.org>
12603 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12604 is broken and should be implemented in a different library.
12605 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12606 * gst/gst.h: remove gstcpu.h
12607 * gst/gstcpu.c: remove
12608 * gst/gstcpu.h: remove
12609 * gst/Makefile.am.future: Remove this file. It's ancient.
12611 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12613 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12614 (gst_bin_send_event):
12615 Add default event/set_manager handlers. The set_manager handler
12616 takes care that the manager is distributed over kids that were
12617 already in the bin before the manager was set. The event handler
12618 is a utility virtual function that sends the event over all sinks,
12619 so that gst_element_send_event (bin, event); has the expected
12621 * gst/gstpad.c: (gst_pad_event_default):
12622 Re-install default event handling for discontinuities, so that
12623 seeking works without requiring hacks in applications or extra
12625 * gst/gstpipeline.c: (gst_pipeline_class_init),
12626 (gst_pipeline_send_event):
12627 Half hack, half utility: set a pipeline to PAUSED for seek events,
12628 since that is the only way we can guarantee a/v sync. Means that
12629 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12630 and it "just works".
12632 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12634 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12635 Lock/unlock mismatch.
12637 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12639 * docs/faq/gst-uninstalled:
12640 add gst-plugins-base
12641 * docs/gst/Makefile.am:
12642 don't error out until docs are fixed
12643 * docs/gst/gstreamer.types:
12646 2005-03-22 Wim Taymans <wim@fluendo.com>
12648 * check/Makefile.am:
12649 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12650 * gst/gststructure.c: (gst_structure_set_valist),
12651 (gst_structure_copy_conditional):
12652 Activated more tests.
12653 Added message test.
12654 Added G_TYPE_POINTER to GstStructure.
12657 2005-03-22 Wim Taymans <wim@fluendo.com>
12659 * docs/design/part-TODO.txt:
12660 * docs/design/part-events.txt:
12661 * docs/design/part-gstbin.txt:
12662 * docs/design/part-gstbus.txt:
12663 * docs/design/part-gstpipeline.txt:
12664 * docs/design/part-messages.txt:
12666 * gst/gstmessage.c:
12669 2005-03-21 Wim Taymans <wim@fluendo.com>
12671 * gst/gstbus.c: (gst_bus_post):
12672 Fix copy-and-paste error.
12674 2005-03-21 Wim Taymans <wim@fluendo.com>
12676 * check/Makefile.am:
12678 * gst/elements/Makefile.am:
12679 * gst/elements/gstelements.c:
12680 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12681 (gst_fakesink_event), (gst_fakesink_chain):
12682 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12683 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12684 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12685 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12686 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12687 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12688 (gst_fakesrc_loop), (gst_fakesrc_activate),
12689 (gst_fakesrc_change_state):
12690 * gst/elements/gstfakesrc.h:
12691 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12692 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12693 (gst_filesrc_open_file), (gst_filesrc_loop),
12694 (gst_filesrc_activate), (gst_filesrc_change_state),
12695 (filesrc_find_peek), (filesrc_find_suggest),
12696 (gst_filesrc_type_find):
12697 * gst/elements/gstidentity.c: (gst_identity_finalize),
12698 (gst_identity_class_init), (gst_identity_init),
12699 (gst_identity_proxy_getcaps), (identity_queue_push),
12700 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12701 (gst_identity_getrange), (gst_identity_chain),
12702 (gst_identity_sink_loop), (gst_identity_src_loop),
12703 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12704 (gst_identity_set_property), (gst_identity_get_property),
12705 (gst_identity_change_state):
12706 * gst/elements/gstidentity.h:
12707 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12708 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12709 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12710 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12711 (gst_tee_sink_activate):
12712 * gst/elements/gsttee.h:
12713 * gst/gst.c: (gst_register_core_elements), (init_post):
12715 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12716 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12717 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12718 (gst_bin_change_state):
12720 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12721 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12722 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12723 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12724 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12725 (bus_watch_callback), (bus_watch_destroy),
12726 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12727 (poll_timeout), (gst_bus_poll):
12731 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12732 (gst_element_post_message), (gst_element_message_full),
12733 (gst_element_get_state_func), (gst_element_get_state),
12734 (gst_element_abort_state), (gst_element_commit_state),
12735 (gst_element_lost_state), (gst_element_set_state),
12736 (gst_element_pads_activate), (gst_element_change_state),
12737 (gst_element_dispose), (gst_element_set_manager_func),
12738 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12739 (gst_element_set_manager), (gst_element_get_manager),
12740 (gst_element_set_bus), (gst_element_get_bus),
12741 (gst_element_set_scheduler), (gst_element_get_scheduler):
12742 * gst/gstelement.h:
12743 * gst/gstevent.c: (gst_event_new_segment_seek),
12744 (gst_event_new_flush):
12746 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12747 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12748 (gst_message_new_eos), (gst_message_new_error),
12749 (gst_message_new_warning), (gst_message_new_tag),
12750 (gst_message_new_state_changed), (gst_message_new_application),
12751 (gst_message_get_structure), (gst_message_parse_tag),
12752 (gst_message_parse_state_changed), (gst_message_parse_error),
12753 (gst_message_parse_warning):
12754 * gst/gstmessage.h:
12755 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12756 (gst_real_pad_set_property), (gst_pad_set_active),
12757 (gst_pad_is_active), (gst_pad_set_blocked_async),
12758 (gst_pad_set_blocked), (gst_pad_is_blocked),
12759 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12760 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12761 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12762 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12763 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12764 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12765 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12766 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12767 (gst_pad_set_caps), (gst_pad_configure_sink),
12768 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12769 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12770 (gst_real_pad_dispose), (gst_real_pad_finalize),
12771 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12772 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12773 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12775 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12776 (pipeline_bus_handler), (gst_pipeline_change_state),
12777 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12778 * gst/gstpipeline.h:
12780 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12781 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12782 (gst_queue_link_src), (gst_queue_bufferalloc),
12783 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12784 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12785 (gst_queue_loop), (gst_queue_handle_src_event),
12786 (gst_queue_handle_src_query), (gst_queue_src_activate),
12787 (gst_queue_change_state):
12789 * gst/gstscheduler.c: (gst_scheduler_init),
12790 (gst_scheduler_dispose), (gst_scheduler_create_task),
12791 (gst_scheduler_factory_create):
12792 * gst/gstscheduler.h:
12793 * gst/gststructure.c: (gst_structure_get_type),
12794 (gst_structure_copy_conditional):
12795 * gst/gststructure.h:
12796 * gst/gsttaginterface.h:
12797 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12798 (gst_task_init), (gst_task_dispose), (gst_task_create),
12799 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12805 * gst/schedulers/Makefile.am:
12806 * gst/schedulers/cothreads_compat.h:
12807 * gst/schedulers/entryscheduler.c:
12808 * gst/schedulers/faircothreads.c:
12809 * gst/schedulers/faircothreads.h:
12810 * gst/schedulers/fairscheduler.c:
12811 * gst/schedulers/gstbasicscheduler.c:
12812 * gst/schedulers/gstoptimalscheduler.c:
12813 * gst/schedulers/gthread-cothreads.h:
12814 * gst/schedulers/threadscheduler.c:
12815 (gst_thread_scheduler_task_get_type),
12816 (gst_thread_scheduler_task_class_init),
12817 (gst_thread_scheduler_task_init),
12818 (gst_thread_scheduler_task_start),
12819 (gst_thread_scheduler_task_stop),
12820 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12821 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12822 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12823 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12825 * libs/gst/Makefile.am:
12826 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12827 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12828 (gst_file_pad_parent_set):
12829 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12830 (gst_dp_event_from_packet):
12831 * tests/complexity.c: (main):
12832 * tests/mass_elements.c: (main):
12833 * testsuite/states/locked.c: (message_received), (main):
12834 * testsuite/states/parent.c: (main):
12835 * tools/gst-inspect.c: (print_element_flag_info),
12836 (print_implementation_info), (print_pad_info):
12837 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12839 * tools/gst-md5sum.c: (event_loop), (main):
12840 * tools/gst-typefind.c: (main):
12841 * tools/gst-xmlinspect.c: (print_element_info):
12843 Added GstBus for mainloop integration.
12844 Added GstMessage for sending notifications on the bus.
12845 Added GstTask as an abstraction for pipeline entry points.
12847 Removed Schedulers.
12848 Simplified GstQueue for multithreaded core.
12849 Made _link threadsafe, removed old capsnego.
12850 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12851 Added pad blocking functions.
12852 Reworked scheduling functions in GstPad to prepare for
12853 scheduling updates soon.
12854 Moved events out of data stream.
12855 Simplified GstEvent types.
12856 Added return values to push/pull.
12857 Removed clocking from GstElement.
12858 Added prototypes for state change function for next merge.
12859 Removed iterate from bins and state change management.
12860 Fixed some elements, disabled others for now.
12861 Fixed -inspect and -launch.
12862 Added check for GstBus.
12864 2005-03-10 Wim Taymans <wim@fluendo.com>
12866 * docs/design/part-MT-refcounting.txt:
12867 * docs/design/part-clocks.txt:
12868 * docs/design/part-gstelement.txt:
12869 * docs/design/part-gstobject.txt:
12870 * docs/design/part-standards.txt:
12871 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12872 (gst_bin_remove_func), (gst_bin_remove):
12876 * testsuite/clock/clock1.c: (main):
12877 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12879 * testsuite/dlopen/loadgst.c: (do_test):
12880 * testsuite/refcounting/bin.c: (add_remove_test1),
12881 (add_remove_test2), (main):
12882 * testsuite/refcounting/element.c: (main):
12883 * testsuite/refcounting/element_pad.c: (main):
12884 * testsuite/refcounting/pad.c: (main):
12885 * tools/gst-launch.c: (sigint_handler_sighandler):
12886 * tools/gst-typefind.c: (main):
12888 Added doc about clock.
12889 removed gst_bin_iterate_recurse_up(), marked methods
12891 Fix more testsuites.
12893 2005-03-09 Wim Taymans <wim@fluendo.com>
12895 * gst/gstpad.c: (gst_pad_get_direction),
12896 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12897 (gst_pad_collect_valist):
12898 * testsuite/bins/interface.c: (main):
12899 * testsuite/caps/audioscale.c: (test_caps):
12900 * testsuite/caps/caps.c: (test1), (test2), (test3):
12901 * testsuite/caps/deserialize.c: (main):
12902 * testsuite/caps/enumcaps.c: (main):
12903 * testsuite/caps/filtercaps.c: (main):
12904 * testsuite/caps/intersect2.c: (main):
12905 * testsuite/caps/random.c: (main):
12906 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12907 * testsuite/caps/sets.c: (check_caps):
12908 * testsuite/caps/simplify.c: (check_caps), (main):
12909 * testsuite/caps/subtract.c: (check_caps):
12910 Fix _pad_get_direction wrt ghostpads.
12911 Fix caps testsuite.
12913 2005-03-09 Wim Taymans <wim@fluendo.com>
12915 * check/Makefile.am:
12916 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12917 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12918 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12919 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12920 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12921 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12922 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12923 (bin_element_is_sink), (gst_bin_iterate_sinks),
12924 (gst_bin_iterate_all_by_interface):
12926 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12927 (gst_element_change_state), (gst_element_dispose),
12928 (gst_element_finalize), (gst_element_set_loop_function):
12929 * gst/gstelement.h:
12930 * gst/gstiterator.c: (find_custom_fold_func):
12931 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12932 (gst_pad_collectv), (gst_pad_collect_valist),
12933 (gst_pad_template_new):
12934 * gst/gstpipeline.c: (gst_pipeline_class_init),
12935 (gst_pipeline_dispose), (gst_pipeline_set_property),
12936 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12937 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12938 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12940 * gst/schedulers/entryscheduler.c:
12941 * gst/schedulers/gstbasicscheduler.c:
12942 (gst_basic_scheduler_cothreaded_chain),
12943 (gst_basic_scheduler_chain_add_element):
12944 * testsuite/bins/interface.c: (main):
12946 Added GstSystemClock test.
12947 Implemented clock distribution code in GstBin.
12948 Implemented iterate sinks method for future use.
12949 Rearranged gstelement.h
12950 Fix GstIterator comparison bug.
12951 Moved some code to GstPipeline, mostly clocking related.
12953 2005-03-09 Wim Taymans <wim@fluendo.com>
12956 * gst/gst_private.h:
12957 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12958 (gst_bin_remove_func), (gst_bin_remove),
12959 (gst_bin_get_by_name_recurse_up):
12960 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12961 (gst_clock_id_compare_func), (gst_clock_id_wait),
12962 (gst_clock_id_wait_async), (gst_clock_init),
12963 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12964 * gst/gstelement.h:
12965 * gst/gstinfo.c: (_gst_debug_init):
12967 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12968 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12970 Bump version number, we're now 0.9.0
12971 Add future debugging category.
12972 Fix NULL _unref() in _get_by_name_recurse_up
12973 Rearrange gstpad.h.
12976 2005-03-08 Wim Taymans <wim@fluendo.com>
12978 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12979 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12980 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12981 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12982 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12983 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12984 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12985 * gst/elements/gstidentity.c: (gst_identity_class_init):
12986 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12987 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12988 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12989 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12990 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12992 * gst/gstelement.c: (gst_element_class_init),
12993 (gst_element_base_class_init), (gst_element_init),
12994 (gst_element_get_random_pad), (gst_element_wait_state_change),
12995 (gst_element_change_state), (gst_element_dispose),
12996 (gst_element_finalize), (gst_element_set_loop_function):
12997 * gst/gstelement.h:
12998 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12999 * gst/gstthread.c: (gst_thread_class_init),
13000 (gst_thread_release_children_locks), (gst_thread_change_state):
13001 * gst/schedulers/gstbasicscheduler.c:
13002 (gst_basic_scheduler_loopfunc_wrapper),
13003 (gst_basic_scheduler_chain_wrapper),
13004 (gst_basic_scheduler_src_wrapper),
13005 (gst_basic_scheduler_remove_element):
13006 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13007 Remove threadsafe properties. Fix elements because GObject
13008 complains when installing a property before declaring a
13009 set/get_property handler.
13010 Rearrange gstelement.h file, use STATE macros for state locks.
13011 Free mutexes in the finalize method instead of dispose.
13013 2005-03-08 Wim Taymans <wim@fluendo.com>
13015 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13016 * gst/gstthread.c: (gst_thread_release_children_locks):
13017 Added parentage check.
13018 Fix build og GstThread again.
13020 2005-03-08 Wim Taymans <wim@fluendo.com>
13022 * docs/design/part-MT-refcounting.txt:
13023 * docs/design/part-conventions.txt:
13024 * docs/design/part-gstobject.txt:
13025 * docs/design/part-relations.txt:
13026 * docs/design/part-standards.txt:
13027 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13028 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13029 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13030 (gst_bin_iterate_all_by_interface):
13033 * gst/gstelement.c: (gst_element_class_init),
13034 (gst_element_change_state), (gst_element_set_loop_function):
13035 * gst/gstelement.h:
13036 * gst/gstiterator.c:
13037 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13038 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13039 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13040 (gst_object_set_parent), (gst_object_unparent),
13041 (gst_object_check_uniqueness):
13043 Docs updates, clean up some headers.
13045 2005-03-07 Wim Taymans <wim@fluendo.com>
13047 * check/.cvsignore:
13048 * check/Makefile.am:
13049 * check/gst-libs/.cvsignore:
13050 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13051 * check/gst/.cvsignore:
13052 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13053 (START_TEST), (gstbus_suite), (main):
13054 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13055 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13056 (gst_data_suite), (main):
13057 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13058 (add_fold_func), (gstiterator_suite), (main):
13059 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13060 (thread_name_object), (thread_name_object_default),
13061 (gst_object_name_compare), (gst_object_suite), (main):
13062 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13063 (gst_pad_suite), (main):
13064 * check/gstcheck.c: (gst_check_log_message_func),
13065 (gst_check_log_critical_func), (gst_check_init):
13066 * check/gstcheck.h:
13067 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13068 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13071 2005-03-07 Wim Taymans <wim@fluendo.com>
13073 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13074 (gst_list_iterator_next), (gst_list_iterator_resync),
13075 (gst_list_iterator_free), (gst_iterator_new_list),
13076 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13077 (gst_iterator_free), (gst_iterator_push), (filter_next),
13078 (filter_resync), (filter_uninit), (filter_free),
13079 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13080 (gst_iterator_foreach), (find_custom_fold_func),
13081 (gst_iterator_find_custom):
13082 * gst/gstiterator.h:
13083 Added missing files.
13085 2005-03-07 Wim Taymans <wim@fluendo.com>
13089 * docs/design/part-MT-refcounting.txt:
13090 * docs/design/part-conventions.txt:
13091 * docs/design/part-gstobject.txt:
13092 * docs/design/part-relations.txt:
13093 * examples/mixer/mixer.c: (main):
13094 * examples/thread/thread.c: (eos), (main):
13096 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13097 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13098 (gst_spider_plug_from_srcpad):
13099 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13100 (gst_spider_identity_change_state),
13101 (gst_spider_identity_sink_loop_type_finding):
13102 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13103 * gst/elements/gstidentity.c: (gst_identity_init):
13104 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13105 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13106 * gst/elements/gsttypefindelement.c: (free_entry):
13109 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13110 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13111 (gst_bin_set_index), (gst_bin_set_element_sched),
13112 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13113 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13114 (gst_bin_iterate_elements), (iterate_child_recurse),
13115 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13116 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13117 (compare_interface), (gst_bin_get_by_interface),
13118 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13120 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13121 (gst_buffer_default_free), (gst_buffer_default_copy),
13122 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13123 (gst_buffer_create_sub):
13125 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13126 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13127 (gst_caps_unref), (gst_static_caps_get),
13128 (gst_caps_remove_and_get_structure), (gst_caps_append),
13129 (gst_caps_append_structure), (gst_caps_remove_structure),
13130 (gst_caps_copy_nth), (gst_caps_set_simple),
13131 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13132 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13133 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13134 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13135 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13136 (gst_caps_structure_figure_out_union),
13137 (gst_caps_switch_structures), (gst_caps_do_simplify),
13138 (gst_caps_replace), (gst_caps_from_string),
13139 (gst_caps_copy_conditional):
13141 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13142 (_gst_clock_id_free), (gst_clock_id_unref),
13143 (gst_clock_id_compare_func), (gst_clock_id_wait),
13144 (gst_clock_id_wait_async), (gst_clock_class_init),
13145 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13146 (gst_clock_get_time), (gst_clock_set_time_adjust),
13147 (gst_clock_set_property), (gst_clock_get_property):
13150 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13151 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13153 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13154 (gst_element_requires_clock), (gst_element_provides_clock),
13155 (gst_element_set_clock), (gst_element_clock_wait),
13156 (gst_element_wait), (gst_element_set_time_delay),
13157 (gst_element_is_indexable), (gst_element_add_pad),
13158 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13159 (pad_compare_name), (gst_element_get_static_pad),
13160 (gst_element_request_pad), (gst_element_get_request_pad),
13161 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13162 (gst_element_class_get_pad_template_list),
13163 (gst_element_class_get_pad_template), (gst_element_error_func),
13164 (gst_element_get_random_pad), (gst_element_get_event_masks),
13165 (gst_element_send_event), (gst_element_seek),
13166 (gst_element_get_query_types), (gst_element_query),
13167 (gst_element_get_formats), (gst_element_convert),
13168 (gst_element_is_locked_state), (gst_element_set_locked_state),
13169 (gst_element_sync_state_with_parent), (gst_element_change_state),
13170 (gst_element_finalize), (gst_element_yield),
13171 (gst_element_interrupt), (gst_element_set_scheduler),
13172 (gst_element_get_scheduler), (gst_element_set_loop_function):
13173 * gst/gstelement.h:
13175 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13176 (gst_format_get_by_nick), (gst_format_get_details),
13177 (gst_format_iterate_definitions):
13179 * gst/gstindex.c: (gst_index_gtype_resolver):
13182 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13183 (gst_mem_chunk_free):
13184 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13185 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13186 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13187 (gst_object_dispatch_properties_changed),
13188 (gst_object_set_name_default), (gst_object_set_name),
13189 (gst_object_get_name), (gst_object_set_name_prefix),
13190 (gst_object_get_name_prefix), (gst_object_set_parent),
13191 (gst_object_get_parent), (gst_object_unparent),
13192 (gst_object_check_uniqueness), (gst_object_save_thyself),
13193 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13194 (gst_object_set_property), (gst_object_get_property),
13195 (gst_object_get_path_string):
13197 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13198 (gst_real_pad_init), (gst_real_pad_get_property),
13199 (gst_pad_custom_new), (gst_pad_get_direction),
13200 (gst_pad_set_active), (gst_pad_is_active),
13201 (gst_pad_set_event_function), (gst_pad_is_linked),
13202 (gst_pad_link_free), (gst_pad_link_intersect),
13203 (gst_pad_link_fixate), (gst_pad_set_caps),
13204 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13205 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13206 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13207 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13208 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13209 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13210 (gst_pad_realize), (gst_pad_get_allowed_caps),
13211 (gst_real_pad_dispose), (gst_real_pad_finalize),
13212 (gst_pad_collectv), (gst_pad_collect_valist),
13213 (gst_pad_template_dispose), (gst_pad_template_new),
13214 (gst_pad_get_internal_links):
13216 * gst/gstpipeline.c: (gst_pipeline_dispose),
13217 (gst_pipeline_change_state):
13218 * gst/gstpipeline.h:
13220 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13221 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13222 * gst/gstpluginfeature.h:
13223 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13224 * gst/gstquery.c: (_gst_query_type_initialize),
13225 (gst_query_type_register), (gst_query_type_get_by_nick),
13226 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13228 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13229 * gst/gstscheduler.c: (gst_scheduler_add_element),
13230 (gst_scheduler_factory_create):
13231 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13232 (gst_structure_free), (gst_structure_set_name),
13233 (gst_structure_id_set_value), (gst_structure_set_value),
13234 (gst_structure_set_valist), (gst_structure_remove_field),
13235 (gst_structure_remove_fields),
13236 (gst_structure_remove_fields_valist),
13237 (gst_structure_remove_all_fields), (gst_structure_foreach),
13238 (gst_structure_map_in_place),
13239 (gst_caps_structure_fixate_field_nearest_int),
13240 (gst_caps_structure_fixate_field_nearest_double):
13241 * gst/gststructure.h:
13242 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13243 (gst_system_clock_init), (gst_system_clock_dispose),
13244 (gst_system_clock_async_thread),
13245 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13246 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13247 * gst/gstsystemclock.h:
13248 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13249 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13250 * gst/gsttaginterface.c:
13251 * gst/gstthread.c: (gst_thread_dispose),
13252 (gst_thread_release_children_locks), (gst_thread_change_state),
13253 (gst_thread_main_loop):
13254 * gst/gsttrashstack.h:
13255 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13257 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13258 (gst_element_request_pad), (gst_element_get_pad_from_template),
13259 (gst_element_request_compatible_pad),
13260 (gst_element_get_compatible_pad_filtered),
13261 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13262 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13263 (gst_element_link_many), (gst_element_link),
13264 (gst_element_link_pads), (gst_element_unlink_pads),
13265 (gst_element_unlink_many), (gst_element_unlink),
13266 (gst_pad_can_link_filtered), (gst_pad_can_link),
13267 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13268 (gst_object_default_error), (gst_bin_add_many),
13269 (gst_bin_remove_many), (gst_element_populate_std_props),
13270 (gst_element_class_install_std_props), (gst_buffer_merge),
13271 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13272 (link_fold_func), (gst_pad_proxy_setcaps):
13274 * gst/gstvalue.c: (gst_value_deserialize_string):
13275 * gst/parse/grammar.y:
13276 * gst/schedulers/gstbasicscheduler.c:
13277 (gst_basic_scheduler_cothreaded_chain),
13278 (gst_basic_scheduler_chain_recursive_add),
13279 (gst_basic_scheduler_pad_link):
13280 * gst/schedulers/gstoptimalscheduler.c:
13281 (get_group_schedule_function),
13282 (gst_opt_scheduler_state_transition),
13283 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13284 * libs/gst/bytestream/bytestream.c:
13285 * libs/gst/dataprotocol/dataprotocol.c:
13286 (gst_dp_header_from_buffer):
13289 * tests/threadstate/threadstate2.c: (eos):
13290 * tools/gst-compprep.c: (main):
13291 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13292 (print_pad_info), (print_children_info):
13293 * tools/gst-launch.c: (idle_func), (main):
13294 * tools/gst-md5sum.c: (idle_func), (main):
13295 * tools/gst-xmlinspect.c: (print_element_info):
13296 First THREADED backport attempt, focusing on adding locks and
13297 making sure the API is threadsafe. Needs more work. More docs
13300 2005-02-24 Andy Wingo <wingo@pobox.com>
13302 * tests/bench-complexity.scm:
13303 * tests/complexity.gnuplot: New files, good for running complexity
13306 * tests/Makefile.am:
13307 * tests/complexity.c: New test, sets up N elements, at each level
13308 teeing into M streams per element. Eeeenteresting.
13310 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13311 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13312 running bench-mass_elements.scm.
13314 * tests/bench-mass_elements.scm: New script, runs mass_elements
13315 for various numbers of identities, outputting the results to a
13316 file. Requires guile 1.6. Just for testing.
13318 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13320 * gst/schedulers/fairscheduler.c:
13321 compile with debug disabled
13323 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13326 hunting season on 0.9 is now OPEN