1 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/manual/advanced-dataaccess.xml:
4 * docs/manual/appendix-checklist.xml:
5 * docs/manual/appendix-programs.xml:
6 * docs/manual/basics-pads.xml:
7 * docs/manual/highlevel-components.xml:
8 * docs/manual/manual.xml:
9 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
10 add converters in front of pipelines; remove curly
11 brackets for threads stuff, they no longer exist; use
12 GST_TYPE_FRACTION for framerates; update some pieces of
13 code to 0.10, but there's plenty more to do.
15 * docs/manual/appendix-porting.xml:
16 Expand on asynchroneous state changes; s/0.9/0.10/;
17 mention disappearance of gst_init_get_popt_table()
20 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
23 Spider no longer exists, and neither does gst-launch-ext.
24 Update examples to use decodebin and playbin and put
25 converters in front of sinks (fixes #323726).
27 2005-12-09 Michael Smith <msmith@fluendo.com>
29 * plugins/elements/gsttypefindelement.c: (find_peek),
30 (gst_type_find_element_chain):
31 Fix leaking element factories in typefinding.
32 Fix problem where we forgot about a probable type on non-seekable
33 files, and thus later mis-typefound it.
35 2005-12-09 Michael Smith <msmith@fluendo.com>
37 * common/m4/gst-makecontext.m4:
38 * common/m4/gst-mcsc.m4:
40 * win32/common/config.h:
41 * win32/common/config.h.in:
42 Remove makecontext stuff; not used in 0.10 and causes problems on
43 HPUX according to bug #322441
45 2005-12-07 Wim Taymans <wim@fluendo.com>
47 * tests/check/Makefile.am:
48 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
50 * tests/check/libs/struct_i386.h:
51 Added ABI check for libs
53 2005-12-07 Wim Taymans <wim@fluendo.com>
55 * tests/check/Makefile.am:
56 And add the struct_i386.h to dist.
58 2005-12-07 Wim Taymans <wim@fluendo.com>
60 * tests/check/Makefile.am:
61 * tests/check/gst/.cvsignore:
62 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
64 * tests/check/gst/struct_i386.h:
65 Added check for ABI compatibility.
67 2005-12-07 Wim Taymans <wim@fluendo.com>
69 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
70 (gst_fake_src_get_times), (gst_fake_src_create):
71 Fix broken sync option, fixes #323259
73 2005-12-07 Wim Taymans <wim@fluendo.com>
78 * gst/gstcaps.c: (gst_caps_is_equal):
79 Don't assert on NULL <--> X. Fixes #323260
81 * gst/gstminiobject.c: (gst_mini_object_replace):
82 If we're doing atomic operations, we might just as well use
83 the proper way to get an atomic pointer.
85 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
88 2005-12-07 Michael Smith <msmith@fluendo.com>
90 * gst/parse/grammar.y:
91 Remove handling of { } for threads.
93 2005-12-06 David Schleef <ds@schleef.org>
95 * libs/gst/base/gstbasetransform.c: speling fix.
97 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
99 * docs/libs/tmpl/gstdataprotocol.sgml:
100 * docs/random/omega/testing/gstobject.c:
104 * gst/gstelementfactory.c:
109 * gst/gstpadtemplate.c:
110 * gst/gstregistryxml.c:
112 * gst/gsttagsetter.c:
115 * libs/gst/base/gstbasesrc.c:
116 * libs/gst/net/gstnetclientclock.c:
117 * libs/gst/net/gstnettimeprovider.c:
118 * plugins/elements/gstfakesrc.c:
119 * plugins/elements/gstfdsrc.c:
120 * plugins/elements/gstfilesrc.c:
121 * plugins/elements/gstidentity.c:
122 * plugins/elements/gstqueue.c:
123 * plugins/elements/gsttypefindelement.c:
124 * plugins/indexers/gstfileindex.c:
125 * plugins/indexers/gstmemindex.c:
126 * tests/check/gst/gsttag.c:
127 * tests/old/examples/cutter/cutter.c:
128 * tests/old/examples/mixer/mixer.c:
129 * tests/old/examples/xml/runxml.c: (main):
130 * tests/old/testsuite/caps/normalisation.c:
131 * tests/old/testsuite/debug/global.c:
132 * tests/old/testsuite/parse/parse1.c:
133 * tools/gst-xmlinspect.c:
134 * win32/common/dirent.c:
137 === release 0.10.0 ===
139 2005-12-05 <thomas (at) apestaart (dot) org>
142 releasing 0.10.0, "Maroilles"
144 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
146 submitted by: Funda Wang <fundawang@linux.net.cn>
150 added Chinese (Traditional) translation
152 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
154 * docs/gst/gstreamer-sections.txt:
155 * docs/libs/tmpl/gstdataprotocol.sgml:
156 * docs/random/thomasvs/TODO:
161 2005-12-05 Andy Wingo <wingo@pobox.com>
163 patch by: Wim Taymans <wim@fluendo.com>
165 * libs/gst/base/gstbasetransform.c
166 (gst_base_transform_prepare_output_buf)
167 (gst_base_transform_buffer_alloc):
168 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
169 alloc_buffer_and_set_caps.
171 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
172 set_caps on the source pad.
173 (gst_pad_alloc_buffer_and_set_caps): New function, does what
174 alloc_buffer used to do. Fixes #322874.
176 * docs/gst/gstreamer-sections.txt:
177 * docs/design/part-negotiation.txt:
178 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
181 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
183 patch by: Sebastien Moutte
186 * win32/common/config.h.in:
187 * win32/vs6/libgstcontroller.dsp:
190 2005-12-05 Wim Taymans <wim@fluendo.com>
192 * gst/gstcaps.c: (gst_caps_is_equal):
193 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
194 (gst_fake_src_create):
195 Back out previous code changes, leave doc updates, file bugs
198 2005-12-05 Wim Taymans <wim@fluendo.com>
200 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
201 (gst_fake_src_get_times), (gst_fake_src_create):
202 * plugins/elements/gstfakesrc.h:
203 Fix broken sync code.
205 2005-12-05 Wim Taymans <wim@fluendo.com>
207 * gst/gstcaps.c: (gst_caps_is_equal):
208 Comparing NULL against !NULL yields different caps, not a
211 2005-12-05 Wim Taymans <wim@fluendo.com>
214 Fix small typo in docs.
216 2005-12-05 Andy Wingo <wingo@pobox.com>
218 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
220 * gst/gst.c (init_post): remove hard-coded 0.9 location for
221 registries/plugins with a MAJORMINOR one.
222 (plugin_desc): Rename library from gstcoreleements to
223 staticelements. Fixes #323222.
225 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
227 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
228 Change debug category to 'collectpads' from 'collect_pads'
231 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
233 patch by: Sebastien Moutte
235 * libs/gst/controller/gstinterpolation.c:
236 use convert function for uint64/double
237 * win32/vs6/libgstcontroller.dsp:
240 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
242 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
243 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
245 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
246 add tests that seem to show that the guint64/gdouble conversions
249 2005-12-02 Wim Taymans <wim@fluendo.com>
251 * gst/gstregistry.c: (gst_registry_add_path):
253 * gst/gstregistryxml.c:
256 2005-12-02 Wim Taymans <wim@fluendo.com>
258 * gst/gstutils.c: (gst_util_uint64_scale_int64),
259 (gst_util_uint64_scale_int):
262 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
265 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
268 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
271 * win32/common/config.h:
272 * win32/vs6/gstreamer.dsw:
273 * win32/vs6/libgstcoreelements.dsp:
274 * win32/vs6/libgstelements.dsp:
275 renamed core elements plugin
277 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
279 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
281 do piece-wise major/minor comparison so 0.9 < 0.10
282 also allow .exe extensions for tools
284 2005-12-02 Michael Smith <msmith@fluendo.com>
287 Escape a % to make gtkdoc happier; bug 322958.
289 === release 0.9.7 ===
291 2005-12-01 <thomas (at) apestaart (dot) org>
294 releasing 0.9.7, "My Dog Has No Nose"
296 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
298 * common/gst-xmlinspect.py:
300 * docs/libs/tmpl/gstdataprotocol.sgml:
301 * docs/random/release:
320 * win32/common/config.h:
321 * win32/common/config.h.in:
322 * win32/vs6/gst_inspect.dsp:
323 * win32/vs6/gst_launch.dsp:
324 * win32/vs6/libgstbase.dsp:
325 * win32/vs6/libgstelements.dsp:
326 * win32/vs6/libgstreamer.dsp:
327 * win32/vs7/GStreamer.vcproj:
328 * win32/vs7/gst-inspect.vcproj:
329 * win32/vs7/gst-launch.vcproj:
330 * win32/vs7/libgstbase.vcproj:
331 bump GST_MAJORMINOR to 0.10
332 reset libtool version
334 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
338 Added Bulgarian translation by (Alexander Shopov)
340 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
342 * tests/check/gst/gstplugin.c:
345 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
347 * common/gst-xmlinspect.py:
348 * common/gtk-doc-plugins.mak:
351 * docs/gst/Makefile.am:
352 * docs/gst/gstreamer-docs.sgml:
353 * docs/gst/gstreamer-sections.txt:
354 * docs/gst/gstreamer.types:
355 * docs/gst/gstreamer.types.in:
356 * docs/plugins/Makefile.am:
357 * docs/plugins/gstreamer-plugins-docs.sgml:
358 * docs/plugins/gstreamer-plugins-sections.txt:
359 * docs/plugins/gstreamer-plugins.types:
360 * docs/plugins/inspect.stamp:
361 * docs/plugins/inspect/plugin-coreelements.xml:
362 * docs/plugins/inspect/plugin-coreindexers.xml:
363 * docs/plugins/scanobj-build.stamp:
365 * plugins/elements/Makefile.am:
366 * plugins/elements/gstelements.c:
367 * plugins/elements/gstfakesink.c:
368 * plugins/elements/gstfakesrc.c:
369 * plugins/elements/gstfilesink.c:
370 * plugins/elements/gstfilesrc.c:
371 * plugins/elements/gstqueue.c:
372 * plugins/indexers/Makefile.am:
373 * plugins/indexers/gstindexers.c:
374 document core plugins in a separate document just like all the
376 rename these plugins to something starting with core
378 2005-12-01 Andy Wingo <wingo@pobox.com>
380 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
381 padding here before, but it missed the commit.
383 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
385 * libs/gst/controller/gstinterpolation.c:
386 whitespace prices have crashed, we should feel free to use some now
387 use gst_guint64_to_gdouble
389 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
391 * libs/gst/controller/gstcontroller.c:
392 * libs/gst/controller/gsthelper.c:
393 * libs/gst/controller/gstinterpolation.c:
394 * libs/gst/controller/lib.c:
395 wrap config.h include
397 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
399 * docs/gst/gstreamer-sections.txt:
402 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
404 * plugins/elements/gstelements.c:
405 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
406 (gst_fd_sink__class_init), (gst_fd_sink__init),
407 (gst_fd_sink__chain), (gst_fd_sink__set_property),
408 (gst_fd_sink__get_property):
409 * plugins/elements/gstfdsink.h:
410 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
411 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
412 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
413 (gst_fd_src_unlock), (gst_fd_src_set_property),
414 (gst_fd_src_get_property), (gst_fd_src_create),
415 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
416 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
417 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
418 (gst_fd_src_uri_handler_init):
419 * plugins/elements/gstfdsrc.h:
420 * plugins/elements/gstqueue.c: (gst_queue_get_type):
423 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
425 * docs/gst/Makefile.am:
426 * docs/gst/gstreamer.types.in:
430 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
437 * tests/benchmarks/complexity.c:
438 * tests/benchmarks/mass-elements.c:
439 * tests/check/Makefile.am:
441 * tools/gst-inspect.c:
442 * tools/gst-xmlinspect.c:
443 various fixes to make
444 --disable-nls --disable-registry --disable-loadsave
445 --disable-parse --disable-gst-debug
446 work and get the core .so down to 360444 bytes after stripping
448 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
453 * docs/random/thomasvs/TODO:
458 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
460 * win32/GStreamer.vcproj:
463 * win32/Makefile.inspect:
464 * win32/Makefile.launch:
465 * win32/Makefile.register:
467 * win32/gst-inspect.vcproj:
468 * win32/gst-launch.vcproj:
469 * win32/gst-register.vcproj:
470 * win32/gstelements.vcproj:
471 * win32/gstgetbits.def:
472 * win32/gstgetbits.vcproj:
473 * win32/gstreamer-dbg.def:
474 * win32/gstreamer.def:
475 * win32/libgstbase.def:
476 * win32/libgstbase.vcproj:
477 * win32/link_oldruntime.c:
482 move even more stuff, win32/ is nice and clean now
484 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
486 * libs/gst/control/.cvsignore:
491 * win32/gstbytestream.def:
492 * win32/gstbytestream.vcproj:
494 * win32/gstenumtypes.c:
495 * win32/gstenumtypes.h:
496 * win32/gstoptimalscheduler.vcproj:
497 * win32/gstversion.h:
499 * win32/testsuite/bins.vcproj:
500 * win32/testsuite/bytestream.vcproj:
501 * win32/testsuite/caps.vcproj:
502 * win32/testsuite/cleanup.vcproj:
503 * win32/testsuite/clock.vcproj:
504 * win32/testsuite/debug.vcproj:
505 * win32/testsuite/dlopen.vcproj:
506 * win32/testsuite/dynparams.vcproj:
507 * win32/testsuite/elements.vcproj:
508 * win32/testsuite/ghostpads.vcproj:
509 * win32/testsuite/indexers.vcproj:
510 * win32/testsuite/negotiation.vcproj:
511 * win32/testsuite/parse.vcproj:
512 * win32/testsuite/plugin.vcproj:
513 * win32/testsuite/refcounting.vcproj:
514 * win32/testsuite/schedulers.vcproj:
515 * win32/testsuite/states.vcproj:
516 * win32/testsuite/tags.vcproj:
517 * win32/testsuite/threads.vcproj:
518 remove old win32 stuff that isn't maintained and should be
521 2005-11-30 Andy Wingo <wingo@pobox.com>
523 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
524 loading the gst.interfaces python module bork.
526 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
527 available since GLib 2.2. Fixes #318031.
529 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
534 * check/elements/.cvsignore:
535 * check/elements/fakesrc.c:
536 * check/elements/fdsrc.c:
537 * check/elements/identity.c:
538 * check/generic/.cvsignore:
539 * check/generic/states.c:
540 * check/gst-libs/.cvsignore:
541 * check/gst-libs/controller.c:
542 * check/gst-libs/gdp.c:
543 * check/gst/.cvsignore:
544 * check/gst/capslist.h:
546 * check/gst/gstbin.c:
547 * check/gst/gstbuffer.c:
548 * check/gst/gstbus.c:
549 * check/gst/gstcaps.c:
550 * check/gst/gstelement.c:
551 * check/gst/gstevent.c:
552 * check/gst/gstghostpad.c:
553 * check/gst/gstiterator.c:
554 * check/gst/gstmessage.c:
555 * check/gst/gstminiobject.c:
556 * check/gst/gstobject.c:
557 * check/gst/gstpad.c:
558 * check/gst/gstpipeline.c:
559 * check/gst/gstplugin.c:
560 * check/gst/gstsegment.c:
561 * check/gst/gststructure.c:
562 * check/gst/gstsystemclock.c:
563 * check/gst/gsttag.c:
564 * check/gst/gstutils.c:
565 * check/gst/gstvalue.c:
566 * check/net/.cvsignore:
567 * check/net/gstnetclientclock.c:
568 * check/net/gstnettimeprovider.c:
569 * check/pipelines/.cvsignore:
570 * check/pipelines/cleanup.c:
571 * check/pipelines/simple_launch_lines.c:
572 * check/pipelines/stress.c:
573 * check/states/.cvsignore:
574 * check/states/sinks.c:
576 * examples/Makefile.am:
577 * examples/appreader/.cvsignore:
578 * examples/appreader/Makefile.am:
579 * examples/appreader/appreader.c:
580 * examples/controller/.cvsignore:
581 * examples/controller/Makefile.am:
582 * examples/controller/audio-example.c:
583 * examples/cutter/.cvsignore:
584 * examples/cutter/Makefile.am:
585 * examples/cutter/cutter.c:
586 * examples/cutter/cutter.h:
587 * examples/events/Makefile.am:
588 * examples/events/seek.c:
589 * examples/helloworld/.cvsignore:
590 * examples/helloworld/Makefile.am:
591 * examples/helloworld/helloworld.c:
592 * examples/helloworld2/.cvsignore:
593 * examples/helloworld2/Makefile.am:
594 * examples/helloworld2/helloworld2.c:
595 * examples/launch/.cvsignore:
596 * examples/launch/Makefile.am:
597 * examples/launch/mp3parselaunch.c:
598 * examples/launch/mp3play:
599 * examples/manual/.cvsignore:
600 * examples/manual/Makefile.am:
601 * examples/manual/extract.pl:
602 * examples/metadata/Makefile.am:
603 * examples/metadata/read-metadata.c:
604 * examples/mixer/.cvsignore:
605 * examples/mixer/Makefile.am:
606 * examples/mixer/mixer.c:
607 * examples/mixer/mixer.h:
608 * examples/pingpong/.cvsignore:
609 * examples/pingpong/Makefile.am:
610 * examples/pingpong/pingpong.c:
611 * examples/plugins/.cvsignore:
612 * examples/plugins/Makefile.am:
613 * examples/plugins/example.c:
614 * examples/plugins/example.h:
615 * examples/pwg/.cvsignore:
616 * examples/pwg/Makefile.am:
617 * examples/pwg/extract.pl:
618 * examples/queue/.cvsignore:
619 * examples/queue/Makefile.am:
620 * examples/queue/queue.c:
621 * examples/queue2/.cvsignore:
622 * examples/queue2/Makefile.am:
623 * examples/queue2/queue2.c:
624 * examples/queue3/.cvsignore:
625 * examples/queue3/Makefile.am:
626 * examples/queue3/queue3.c:
627 * examples/queue4/.cvsignore:
628 * examples/queue4/Makefile.am:
629 * examples/queue4/queue4.c:
630 * examples/retag/.cvsignore:
631 * examples/retag/Makefile.am:
632 * examples/retag/retag.c:
633 * examples/retag/transcode.c:
634 * examples/thread/.cvsignore:
635 * examples/thread/Makefile.am:
636 * examples/thread/thread.c:
637 * examples/typefind/.cvsignore:
638 * examples/typefind/Makefile.am:
639 * examples/typefind/typefind.c:
640 * examples/xml/.cvsignore:
641 * examples/xml/Makefile.am:
642 * examples/xml/createxml.c:
643 * examples/xml/runxml.c:
645 * tests/check/Makefile.am:
646 * testsuite/.cvsignore:
647 * testsuite/Makefile.am:
649 * testsuite/caps/.cvsignore:
650 * testsuite/caps/Makefile.am:
651 * testsuite/caps/app_fixate.c:
652 * testsuite/caps/audioscale.c:
653 * testsuite/caps/caps.c:
654 * testsuite/caps/caps.h:
655 * testsuite/caps/caps_strings:
656 * testsuite/caps/compatibility.c:
657 * testsuite/caps/deserialize.c:
658 * testsuite/caps/enumcaps.c:
659 * testsuite/caps/eratosthenes.c:
660 * testsuite/caps/filtercaps.c:
661 * testsuite/caps/fixed.c:
662 * testsuite/caps/fraction-convert.c:
663 * testsuite/caps/fraction-multiply-and-zero.c:
664 * testsuite/caps/intersect2.c:
665 * testsuite/caps/intersection.c:
666 * testsuite/caps/normalisation.c:
667 * testsuite/caps/random.c:
668 * testsuite/caps/renegotiate.c:
669 * testsuite/caps/sets.c:
670 * testsuite/caps/simplify.c:
671 * testsuite/caps/string-conversions.c:
672 * testsuite/caps/structure.c:
673 * testsuite/caps/subtract.c:
674 * testsuite/caps/union.c:
675 * testsuite/debug/.cvsignore:
676 * testsuite/debug/Makefile.am:
677 * testsuite/debug/category.c:
678 * testsuite/debug/commandline.c:
679 * testsuite/debug/global.c:
680 * testsuite/debug/output.c:
681 * testsuite/debug/printf_extension.c:
682 * testsuite/dlopen/.cvsignore:
683 * testsuite/dlopen/Makefile.am:
684 * testsuite/dlopen/dlopen_gst.c:
685 * testsuite/dlopen/loadgst.c:
686 * testsuite/elements/.cvsignore:
687 * testsuite/elements/Makefile.am:
688 * testsuite/elements/gst-inspect-check.in:
689 * testsuite/elements/struct_i386.h:
690 * testsuite/elements/struct_size.c:
691 * testsuite/indexers/.cvsignore:
692 * testsuite/indexers/Makefile.am:
693 * testsuite/indexers/cache1.c:
694 * testsuite/indexers/indexdump.c:
695 * testsuite/parse/.cvsignore:
696 * testsuite/parse/Makefile.am:
697 * testsuite/parse/parse1.c:
698 * testsuite/parse/parse2.c:
699 * testsuite/plugin/.cvsignore:
700 * testsuite/plugin/Makefile.am:
701 * testsuite/plugin/README:
702 * testsuite/plugin/dynamic.c:
703 * testsuite/plugin/linked.c:
704 * testsuite/plugin/loading.c:
705 * testsuite/plugin/registry.c:
706 * testsuite/plugin/static.c:
707 * testsuite/plugin/static2.c:
708 * testsuite/plugin/testplugin.c:
709 * testsuite/plugin/testplugin2.c:
710 * testsuite/plugin/testplugin2_s.c:
711 * testsuite/plugin/testplugin_s.c:
712 * testsuite/refcounting/.cvsignore:
713 * testsuite/refcounting/Makefile.am:
714 * testsuite/refcounting/bin.c:
715 * testsuite/refcounting/element.c:
716 * testsuite/refcounting/element_pad.c:
717 * testsuite/refcounting/mainloop.c:
718 * testsuite/refcounting/mem.c:
719 * testsuite/refcounting/mem.h:
720 * testsuite/refcounting/object.c:
721 * testsuite/refcounting/pad.c:
722 * testsuite/refcounting/sched.c:
723 * testsuite/refcounting/thread.c:
724 * testsuite/states/.cvsignore:
725 * testsuite/states/Makefile.am:
726 * testsuite/states/bin.c:
727 * testsuite/states/locked.c:
728 * testsuite/states/parent.c:
729 * testsuite/threads/.cvsignore:
730 * testsuite/threads/159566.c:
731 * testsuite/threads/159852.c:
732 * testsuite/threads/Makefile.am:
733 * testsuite/threads/queue.c:
734 * testsuite/threads/signals.c:
735 * testsuite/threads/staticrec.c:
736 * testsuite/threads/thread.c:
737 * testsuite/threads/threadb.c:
738 * testsuite/threads/threadc.c:
739 * testsuite/threads/threadd.c:
740 * testsuite/threads/threade.c:
741 * testsuite/threads/threadf.c:
742 * testsuite/threads/threadg.c:
743 * testsuite/threads/threadh.c:
744 * testsuite/threads/threadi.c:
745 move all of these under tests
747 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
753 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
755 * docs/gst/gstreamer-sections.txt:
756 * tests/sched/.cvsignore:
757 * tests/sched/Makefile.am:
758 * tests/sched/cases/(fs-fs).xml:
759 * tests/sched/cases/(fs-i-fs).xml:
760 * tests/sched/cases/(fs-i-i-fs).xml:
761 * tests/sched/cases/(fs-i-q[i-fs]).xml:
762 * tests/sched/dynamic-pipeline.c:
763 * tests/sched/interrupt1.c:
764 * tests/sched/interrupt2.c:
765 * tests/sched/interrupt3.c:
766 * tests/sched/runtestcases:
767 * tests/sched/runxml.c:
768 * tests/sched/sched-stress.c:
769 * tests/sched/sort.c:
770 * tests/sched/testcases:
771 * tests/sched/testcases1.tc:
772 * tests/seeking/.cvsignore:
773 * tests/seeking/Makefile.am:
774 * tests/seeking/seeking1.c:
775 * tests/threadstate/.cvsignore:
776 * tests/threadstate/Makefile.am:
777 * tests/threadstate/test1.c:
778 * tests/threadstate/test2.c:
779 * tests/threadstate/threadstate1.c:
780 * tests/threadstate/threadstate2.c:
781 * tests/threadstate/threadstate3.c:
782 * tests/threadstate/threadstate4.c:
783 * tests/threadstate/threadstate5.c:
784 remove obsolete tests
786 * tests/bench-complexity.scm:
787 * tests/bench-mass_elements.scm:
788 * tests/complexity.c:
789 * tests/complexity.gnuplot:
790 * tests/instantiate/.cvsignore:
791 * tests/instantiate/Makefile.am:
792 * tests/instantiate/caps.c:
793 * tests/mass_elements.c:
794 * tests/network-clock-utils.scm:
795 * tests/network-clock.scm:
797 First pass at cleaning up tests/ dir before moving the rest
798 Combined with CVS surgery
800 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
803 queue has moved, update
805 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
807 * docs/gst/gstreamer-sections.txt:
808 remove double entries from the docs
810 * gst/gstinfo.c: (_gst_debug_init):
811 remove the THREAD debug category
815 * docs/gst/gstreamer.types:
816 * plugins/elements/gstqueue.c: (gst_queue_get_type),
817 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
818 completely move queue and fix up debugging categories
820 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
822 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
823 make initialization portable, using LL is not
825 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
827 * win32/common/gstconfig.h:
830 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
832 * win32/common/libgstreamer.def:
833 rename symbols; sort base section
835 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
837 * gst/gstclock.c: (do_linear_regression):
838 remove crack non-portable handrolled DEBUG macro
840 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
842 * docs/random/release:
844 * win32/common/gstenumtypes.c: (register_gst_object_flags),
845 (gst_object_flags_get_type), (register_gst_bin_flags),
846 (gst_bin_flags_get_type), (register_gst_buffer_flag),
847 (gst_buffer_flag_get_type), (register_gst_bus_flags),
848 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
849 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
850 (gst_caps_flags_get_type), (register_gst_clock_return),
851 (gst_clock_return_get_type), (register_gst_clock_entry_type),
852 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
853 (gst_clock_flags_get_type), (register_gst_state),
854 (gst_state_get_type), (register_gst_state_change_return),
855 (gst_state_change_return_get_type), (register_gst_state_change),
856 (gst_state_change_get_type), (register_gst_element_flags),
857 (gst_element_flags_get_type), (register_gst_core_error),
858 (gst_core_error_get_type), (register_gst_library_error),
859 (gst_library_error_get_type), (register_gst_resource_error),
860 (gst_resource_error_get_type), (register_gst_stream_error),
861 (gst_stream_error_get_type), (register_gst_event_type_flags),
862 (gst_event_type_flags_get_type), (register_gst_event_type),
863 (gst_event_type_get_type), (register_gst_seek_type),
864 (gst_seek_type_get_type), (register_gst_seek_flags),
865 (gst_seek_flags_get_type), (register_gst_format),
866 (gst_format_get_type), (register_gst_index_certainty),
867 (gst_index_certainty_get_type), (register_gst_index_entry_type),
868 (gst_index_entry_type_get_type),
869 (register_gst_index_lookup_method),
870 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
871 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
872 (gst_index_resolver_method_get_type), (register_gst_index_flags),
873 (gst_index_flags_get_type), (register_gst_debug_level),
874 (gst_debug_level_get_type), (register_gst_debug_color_flags),
875 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
876 (gst_iterator_result_get_type), (register_gst_iterator_item),
877 (gst_iterator_item_get_type), (register_gst_message_type),
878 (gst_message_type_get_type), (register_gst_mini_object_flags),
879 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
880 (gst_pad_link_return_get_type), (register_gst_flow_return),
881 (gst_flow_return_get_type), (register_gst_activate_mode),
882 (gst_activate_mode_get_type), (register_gst_pad_direction),
883 (gst_pad_direction_get_type), (register_gst_pad_flags),
884 (gst_pad_flags_get_type), (register_gst_pad_presence),
885 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
886 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
887 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
888 (gst_plugin_error_get_type), (register_gst_plugin_flags),
889 (gst_plugin_flags_get_type), (register_gst_rank),
890 (gst_rank_get_type), (register_gst_query_type),
891 (gst_query_type_get_type), (register_gst_tag_merge_mode),
892 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
893 (gst_tag_flag_get_type), (register_gst_task_state),
894 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
895 (gst_alloc_trace_flags_get_type),
896 (register_gst_type_find_probability),
897 (gst_type_find_probability_get_type), (register_gst_uri_type),
898 (gst_uri_type_get_type), (register_gst_parse_error),
899 (gst_parse_error_get_type):
900 * win32/common/gstenumtypes.h:
901 * win32/common/gstversion.h:
902 update visual studio generated files
904 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
906 * win32/vs6/libgstbase.dsp:
907 * win32/vs6/libgstelements.dsp:
908 update project files for new locations
910 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
920 * docs/random/LICENSE:
923 2005-11-30 Edward Hervey <edward@fluendo.com>
925 * gst/gsttypefind.c: (gst_type_find_register):
927 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
928 (gst_type_find_factory_dispose):
929 * gst/gsttypefindfactory.h:
930 Fix memory leak in GstTypeFindFactory.
932 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
935 * plugins/elements/Makefile.am:
936 * plugins/elements/gstelements.c:
937 * plugins/elements/gstqueue.c:
938 move queue from core to the elements plugin
940 2005-11-29 Andy Wingo <wingo@pobox.com>
942 * libs/gst/base/gstbasetransform.h:
943 * libs/gst/base/gstbasesrc.h:
944 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
946 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
947 of pointers by which to pad very extensible base classes (like the
948 ones in libs/gst/base).
950 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
952 * docs/gst/gstreamer-docs.sgml:
953 * docs/gst/gstreamer-sections.txt:
954 * docs/libs/gstreamer-libs-docs.sgml:
955 * docs/libs/gstreamer-libs-sections.txt:
956 moving documentation from core to lib
958 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
962 * docs/gst/Makefile.am:
964 * gst/base/.cvsignore:
965 * gst/base/Makefile.am:
967 * gst/base/gstadapter.c:
968 * gst/base/gstadapter.h:
969 * gst/base/gstbasesink.c:
970 * gst/base/gstbasesink.h:
971 * gst/base/gstbasesrc.c:
972 * gst/base/gstbasesrc.h:
973 * gst/base/gstbasetransform.c:
974 * gst/base/gstbasetransform.h:
975 * gst/base/gstcollectpads.c:
976 * gst/base/gstcollectpads.h:
977 * gst/base/gstpushsrc.c:
978 * gst/base/gstpushsrc.h:
979 * gst/base/gsttypefindhelper.c:
980 * gst/base/gsttypefindhelper.h:
981 * gst/check/Makefile.am:
982 * gst/check/gstcheck.c:
983 * gst/check/gstcheck.h:
984 * gst/net/Makefile.am:
986 * gst/net/gstnetclientclock.c:
987 * gst/net/gstnetclientclock.h:
988 * gst/net/gstnettimepacket.c:
989 * gst/net/gstnettimepacket.h:
990 * gst/net/gstnettimeprovider.c:
991 * gst/net/gstnettimeprovider.h:
992 * libs/gst/Makefile.am:
993 * libs/gst/base/Makefile.am:
994 * libs/gst/base/gstbasetransform.c:
995 * libs/gst/check/Makefile.am:
996 * plugins/elements/Makefile.am:
998 CVS surgery + support to move base, check, and net out of gst
1001 2005-11-29 Andy Wingo <wingo@pobox.com>
1003 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1005 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1008 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1010 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1012 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1014 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1015 padding; reduces object size by about 30%. We don't expect
1016 anything else to go into gstobject.
1018 * gst/gstminiobject.h (struct _GstMiniObject)
1019 (struct _GstMiniObjectClass): Only one pointer of padding; the
1020 payload is only a pointer and two ints anyway. For the class there
1021 are only two methods as well.
1023 * gst/gstelement.h (struct _GstElementClass): Removed
1024 the state_changed signal callback, it is not used.
1026 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1028 * docs/gst/gstreamer.types:
1029 fix includes, though they are a little dinky
1031 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1033 * check/Makefile.am:
1034 look in the right place for elements, a lot more chance of
1037 remove indexers and elements subdirs
1038 * plugins/Makefile.am:
1039 make indexers conditional
1041 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1045 * plugins/elements/Makefile.am:
1046 * plugins/elements/gstcapsfilter.c:
1047 * plugins/elements/gstfilesink.c:
1048 * plugins/elements/gstfilesrc.c:
1049 * plugins/elements/gstidentity.c:
1050 * plugins/indexers/Makefile.am:
1051 do CVS surgery and related build fixery to move elements
1052 and indexers in a new gstreamer/plugins directory, out of the
1055 2005-11-29 Andy Wingo <wingo@pobox.com>
1057 * check/Makefile.am:
1058 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1059 * pkgconfig/gstreamer-net.pc.in:
1060 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1063 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1065 * tools/Makefile.am:
1066 * tools/gst-complete.1.in:
1067 * tools/gst-complete.c:
1068 * tools/gst-compprep.1.in:
1069 * tools/gst-compprep.c:
1070 removing -compprep and -complete
1072 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1074 * gst/gstevent.c: (gst_event_new_new_segment),
1075 (gst_event_parse_new_segment):
1077 fix #320529 - clean up new_segment API and structure.
1078 Let's hope everyone was using the methods, and not the structure.
1080 2005-11-29 Edward Hervey <edward@fluendo.com>
1082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1083 (gst_base_sink_event), (gst_base_sink_do_sync),
1084 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1085 Properly handle non GST_FORMAT_TIME segment
1086 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1087 Properly handle non GST_FORMAT_TIME segment
1089 This function is valid if the accumulator is 0 and the format
1090 is different from the requested format.
1092 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1094 * docs/gst/gstreamer-sections.txt:
1095 Add gst_query_new_seeking and gst_query_parse_seeking to the
1098 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1100 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1101 Treat a pad alloc with new caps the same as if we were not
1102 negotiated, in order to allow a changing upstream output
1103 to produce a new format of data.
1105 2005-11-29 Edward Hervey <edward@fluendo.com>
1107 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1108 (gst_base_transform_event), (gst_base_transform_eventfunc):
1109 The event virtual method is now properly implemented, with a default
1111 Sub classes should call the parent_class event method. They should
1112 return FALSE if they had a problem handling the given event, or don't
1113 want GstBaseTransform to send that even downstream
1114 * gst/elements/gstidentity.c: (gst_identity_class_init),
1115 (gst_identity_init), (gst_identity_event),
1116 (gst_identity_transform_ip), (gst_identity_set_property),
1117 (gst_identity_get_property):
1118 * gst/elements/gstidentity.h:
1119 Added the single-segment boolean property.
1120 If set to TRUE, it will output a single segment of data, starting from
1121 0, will eat up all incoming newsegment, and modify the timestamp of the
1124 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1126 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1127 Don't ref NULL target pad (#322751). Improve docs.
1129 2005-11-29 Michael Smith <msmith@fluendo.com>
1131 * gst/gstregistryxml.c: (load_plugin):
1132 Don't crash if we failed to load a feature from a plugin.
1134 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1136 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1138 use more check API and less GLib API
1140 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1143 don't run checks if we don't have check
1145 remove the registry when running make torture
1146 * docs/gst/gstreamer-sections.txt:
1147 remove second multiply
1148 * gst/gstqueue.c: (gst_queue_loop):
1149 fix a compile warning when disabling debug
1151 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1154 Hey! Let's print the pad name if the pointer != NULL instead
1155 of when it == NULL :-)
1157 2005-11-28 Wim Taymans <wim@fluendo.com>
1159 * check/gst/gstutils.c: (GST_START_TEST):
1160 Updated check, add some scaling accuracy checking code.
1162 * gst/gstutils.c: (gst_util_div128_64),
1163 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1164 (gst_util_uint64_scale_int):
1165 Fix 6 times faster division code. Optimize for common
1166 1/1 and less common X/1 cases.
1168 2005-11-28 Wim Taymans <wim@fluendo.com>
1170 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1173 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1174 (do_linear_regression), (gst_clock_add_observation):
1176 Release lock when the clock cannot be slaved.
1177 Catch the case where the regression returned an invalid denominator.
1179 * gst/gstutils.c: (gst_util_div128_64_iterate),
1180 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1181 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1182 Add protentially more performant non-iterative 128/64 divide function
1183 that unfortunatly does not work yet.
1184 Shortcut the trivial 0/X = 0 case.
1185 Remove the warnings on overflow.
1187 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1189 * gst/gstplugin.c: (gst_plugin_register_func):
1190 everything causing a plugin not to load should be at least a WARNING
1192 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1194 * docs/random/ensonic/dparams.txt:
1195 some TODOs for the next dev cycle
1196 * libs/gst/controller/gstcontroller.c:
1197 (gst_controlled_property_set_interpolation_mode),
1198 (gst_controlled_property_new):
1199 * libs/gst/controller/gstcontroller.h:
1200 use base type to assign acccessor functions
1202 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1204 * check/Makefile.am:
1205 Oops, that should have been top_srcdir
1207 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1209 * check/Makefile.am:
1210 * check/elements/fdsrc.c: (GST_START_TEST):
1211 Use a cmdline define to specify the location of a file to use for
1212 testing, to avoid breaking distcheck.
1214 2005-11-28 Andy Wingo <wingo@pobox.com>
1216 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1218 2005-11-28 Edward Hervey <edward@fluendo.com>
1220 * tools/gst-launch.c: (main):
1221 Clarify the output strings, makes it easier to translate.
1224 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1227 don't try and build net if we don't even have <sys/socket.h>
1229 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1231 * check/Makefile.am:
1232 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1233 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1234 Add tests for fdsrc seekability
1236 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1237 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1238 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1239 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1240 * gst/elements/gstfdsrc.h:
1241 fdsrc should not be a 'live' source.
1242 Implement seeking on seekable fd's.
1244 * gst/gstquery.c: (gst_query_new_seeking),
1245 (gst_query_parse_seeking):
1247 Implement SEEKING query functions:
1248 *_new_seeking and *_parse_seeking
1250 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1252 * gst/gstelement.c: (gst_element_dispose):
1255 * gst/gstiterator.c:
1256 * gst/gststructure.c:
1259 * libs/gst/controller/gstcontroller.c:
1260 (gst_controlled_property_set_interpolation_mode):
1261 * libs/gst/controller/gstcontroller.h:
1262 * libs/gst/controller/gstinterpolation.c:
1263 (interpolate_none_get_enum_value_array):
1264 support controlling enums
1266 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1269 Improve documentation for gst_value_union().
1272 Change return value for union, intersect and subtract functions
1273 from gint to gboolean.
1275 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1277 * gst/gstvalue.c: (gst_value_serialize_any_list),
1278 (gst_value_transform_any_list_string),
1279 (gst_value_deserialize_list), (gst_value_deserialize_array),
1280 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1281 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1282 (gst_value_set_fraction_range_full),
1283 (gst_value_deserialize_fraction_range),
1284 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1285 (gst_value_deserialize_boolean),
1286 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1287 (gst_value_serialize_float), (gst_value_deserialize_float),
1288 (gst_string_wrap), (gst_value_deserialize_string),
1289 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1290 (gst_value_union_int_range_int_range),
1291 (gst_value_intersect_int_range_int_range),
1292 (gst_value_intersect_double_range_double_range),
1293 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1294 (gst_value_subtract_int_range_int_range),
1295 (gst_value_subtract_double_double_range),
1296 (gst_value_subtract_double_range_double_range),
1297 (gst_value_deserialize_fraction):
1299 Use gint, gdouble and gchar in our API instead of int, double and
1300 char (and make usage in gstvalue.c more consistent).
1302 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1304 * check/Makefile.am:
1305 * libs/gst/controller/Makefile.am:
1306 * libs/gst/dataprotocol/Makefile.am:
1307 fix up Makefile.am and remove GST_ENABLE_NEW
1309 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1313 * gst/base/Makefile.am:
1314 * gst/check/Makefile.am:
1315 * gst/elements/Makefile.am:
1316 * gst/net/Makefile.am:
1317 update LDFLAGS use some more
1319 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1321 * common/m4/gst-doc.m4:
1324 2005-11-26 Edward Hervey <edward@fluendo.com>
1326 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1327 This shouldn't issue a g_warning since it returns NULL if it
1328 couldn't find the plugin, and all functions using this behave
1329 properly on a NULL return. Switching to a GST_WARNING.
1331 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1333 * gst/gstbin.c: (gst_bin_handle_message_func):
1334 Don't leak clock messages.
1336 2005-11-25 Wim Taymans <wim@fluendo.com>
1338 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1339 (gst_util_uint64_scale_int):
1340 Optimisations, remove unneeded vars.
1342 2005-11-25 Wim Taymans <wim@fluendo.com>
1344 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1345 Added more checks for the high precision uint64 cases.
1347 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1348 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1349 Implement high precision (guint64 * guint64) / guint64.
1351 2005-11-24 Wim Taymans <wim@fluendo.com>
1353 * gst/base/gstbasesrc.c: (gst_base_src_query):
1354 Fix wrong percentage query.
1356 * gst/gstutils.c: (gst_util_uint64_scale),
1357 (gst_util_uint64_scale_int):
1358 Add some more common cases that can be handled
1359 efficiently to _scale.
1361 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1363 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1364 (gst_mini_object_suite):
1365 don't use check calls from threads; check probably isn't
1366 threadsafe and using a lock to make it threadsafe would
1367 defeat the purpose of this check
1368 * gst/check/gstcheck.c:
1369 * gst/check/gstcheck.h:
1370 use GST_DEBUG some more
1372 2005-11-24 Wim Taymans <wim@fluendo.com>
1374 * gst/gstutils.c: (gst_util_uint64_scale),
1375 (gst_util_uint64_scale_int):
1376 Chain trivial case to _scale_int.
1378 2005-11-24 Wim Taymans <wim@fluendo.com>
1380 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1381 Added test for scaling.
1386 * gst/gstutils.c: (gst_util_uint64_scale_int):
1387 Implemented high precision scaling code.
1389 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1392 do not crash on pad==NULL
1394 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1396 Patch by: Stefan Kost
1398 * common/gtk-doc.mak:
1399 * docs/gst/Makefile.am:
1400 * docs/libs/Makefile.am:
1401 Fix distcheck issues for the libraries docs build
1404 2005-11-24 Michael Smith <msmith@fluendo.com>
1406 * docs/manual/basics-helloworld.xml:
1407 Fix bug #315027: memory leak in example code in docs.
1409 2005-11-24 Michael Smith <msmith@fluendo.com>
1411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1412 Unlock the PREROLL_LOCK in a failure case.
1414 2005-11-24 Wim Taymans <wim@fluendo.com>
1416 * docs/gst/gstreamer-sections.txt:
1417 * gst/base/gstadapter.h:
1418 * gst/base/gstbasesink.h:
1419 * gst/base/gstbasesrc.h:
1420 * gst/base/gstbasetransform.h:
1421 * gst/base/gstpushsrc.h:
1422 * gst/elements/gstfakesink.h:
1423 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1424 * gst/elements/gstfakesrc.h:
1425 * gst/elements/gstfilesink.h:
1426 * gst/elements/gstfilesrc.h:
1429 * gst/gstbuffer.c: (_gst_buffer_copy):
1432 * gst/gstchildproxy.c:
1435 * gst/gstelementfactory.c:
1436 * gst/gstelementfactory.h:
1438 * gst/gstghostpad.h:
1440 * gst/gstinterface.h:
1441 * gst/gstminiobject.c:
1442 * gst/gstminiobject.h:
1445 * gst/gstpadtemplate.h:
1446 * gst/gstpipeline.h:
1447 * gst/gstpluginfeature.h:
1452 * gst/gsttagsetter.c:
1453 * gst/gsttagsetter.h:
1456 * gst/gsttypefind.h:
1459 * gst/net/gstnetclientclock.c:
1460 * gst/net/gstnetclientclock.h:
1461 * gst/net/gstnettimepacket.c:
1462 * gst/net/gstnettimeprovider.c:
1463 * gst/net/gstnettimeprovider.h:
1466 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1468 * configure.ac: back to HEAD
1470 === release 0.9.6 ===
1472 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1475 releasing 0.9.6, "Always On Time"
1477 2005-11-23 Wim Taymans <wim@fluendo.com>
1479 * docs/gst/gstreamer-sections.txt:
1480 * gst/glib-compat.c:
1481 * gst/gsttagsetter.c:
1483 * gst/net/gstnetclientclock.c:
1484 * gst/net/gstnettimepacket.h:
1487 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1489 * docs/faq/using.xml:
1490 * docs/libs/tmpl/gstcontrol.sgml:
1491 * docs/manual/advanced-dparams.xml:
1492 * docs/manual/appendix-checklist.xml:
1493 * docs/manual/basics-elements.xml:
1494 * docs/pwg/other-source.xml:
1495 * docs/random/moving-plugins:
1497 * tools/gst-launch.1.in:
1498 remove mentions of sinesrc
1500 2005-11-23 Michael Smith <msmith@fluendo.com>
1502 * docs/gst/gstreamer-sections.txt:
1503 Update for new API and API changes.
1505 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1507 Documentation typo fix.
1508 * gst/net/gstnettimepacket.c:
1509 Documentation fixes for arguments.
1511 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1513 * gst/gststructure.c: (gst_structure_get_fraction),
1514 (gst_structure_parse_value),
1515 (gst_structure_fixate_field_nearest_fraction):
1516 * gst/gststructure.h:
1517 * gst/gstutils.c: (gst_util_uint64_scale_int):
1519 * scripts/update-funcnames:
1521 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1522 Make gst_structure_fixate_field_nearest_fraction take a numerator
1523 and denominator argument instead of a GValue
1524 add gst_structure_get_fraction helper function.
1526 2005-11-23 Wim Taymans <wim@fluendo.com>
1528 * docs/design/part-TODO.txt:
1531 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1532 * gst/net/gstnetclientclock.h:
1533 Use parent fields for timeout and window_size.
1535 2005-11-23 Andy Wingo <wingo@pobox.com>
1537 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1538 rate_num/rate_denom change.
1540 * gst/net/gstnetclientclock.c
1541 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1542 OBJECT_LOCK. Don't call add_observation with the lock.
1544 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1546 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1548 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1549 deal with rate as a fraction whose numerator and denominator are
1550 GstClockTime values.
1551 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1552 master; the other fields are protected by the SLAVE_LOCK.
1553 (do_linear_regression): Note that this must be called with the
1555 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1556 OBJECT_LOCK. Call set_calibration instead of touching the
1558 (gst_clock_set_property, gst_clock_get_property): Protect
1559 master/slave parameters with the SLAVE_LOCK.
1561 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1562 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1563 note that all of the instance variables that add_observation and
1564 the set_master functions use are protected by that lock and not
1566 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1568 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1569 the caller to take the object lock.
1571 2005-11-23 Wim Taymans <wim@fluendo.com>
1573 * gst/gsterror.c: (_gst_core_errors_init):
1575 Add error for clock stuff.
1577 * gst/gstpipeline.c: (gst_pipeline_change_state),
1578 (gst_pipeline_set_clock):
1579 Post clock error when clock cannot be used in a pipeline.
1581 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1583 * docs/gst/gstreamer-sections.txt:
1584 make two symbols from gstinfo private for the docs
1585 * gst/base/gstcollectpads.h:
1587 fix doc typos, update docs
1589 2005-11-22 Wim Taymans <wim@fluendo.com>
1591 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1592 (gst_base_sink_wait), (gst_base_sink_do_sync),
1593 (gst_base_sink_handle_event):
1594 * gst/base/gstbasesink.h:
1595 No need to store the clock, the parent element class already
1598 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1599 Updates for clock_set returning a gboolean
1601 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1602 (gst_clock_id_wait_async), (gst_clock_class_init),
1603 (gst_clock_init), (gst_clock_finalize),
1604 (gst_clock_get_internal_time), (gst_clock_get_time),
1605 (gst_clock_slave_callback), (gst_clock_set_master),
1606 (gst_clock_get_master), (do_linear_regression),
1607 (gst_clock_add_observation), (gst_clock_set_property),
1608 (gst_clock_get_property):
1610 Implement master/slave. When setting a clock as a slave, a
1611 periodic timeout is scheduled to sample master and slave times.
1612 Then the slave clock is recalibrated to match offset and rate
1613 of the master clock.
1614 Update logging a bit.
1615 Add flag so that a clock can state that is cannot be slaved to
1618 * gst/gstelement.c: (gst_element_set_clock):
1620 The set clock returns a gboolean for when an element cannot
1621 deal with the selected clock in the pipeline.
1623 * gst/gstpipeline.c: (gst_pipeline_change_state),
1624 (gst_pipeline_set_clock):
1625 * gst/gstpipeline.h:
1626 Handle the case where the selected clock cannot be set on
1629 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1630 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1631 (gst_net_client_clock_set_property),
1632 (gst_net_client_clock_get_property),
1633 (gst_net_client_clock_observe_times):
1634 * gst/net/gstnetclientclock.h:
1635 Use regression code in GstClock parent, remove duplicated
1638 2005-11-22 Michael Smith <msmith@fluendo.com>
1640 * gst/gstutils.c: (gst_util_clock_time_scale):
1642 * docs/gst/gstreamer-sections.txt:
1643 Rename method to have extra underscore.
1645 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1647 * gst/elements/Makefile.am:
1648 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1649 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1650 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1651 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1652 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1653 * gst/elements/gstfakesrc.h:
1654 * gst/gstqueue.c: (queue_leaky_get_type):
1655 correctly fix GEnumValues so that nick is the short lowercase
1657 * tools/gst-inspect.c: (print_element_properties_info):
1658 also show the nick, since it's useful to use from parse_launch
1662 2005-11-22 Michael Smith <msmith@fluendo.com>
1664 * gst/gstutils.c: (gst_util_clocktime_scale):
1666 * docs/gst/gstreamer-sections.txt:
1667 Add util method for scaling a clocktime by a fraction. Useful
1668 implementation is left as an exercise for the reader.
1670 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1672 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1673 If needed, allocate storage in the destination value during
1676 2005-11-22 Edward Hervey <edward@fluendo.com>
1678 * docs/gst/gstreamer-sections.txt:
1683 * gst/gstutils.c: (gst_util_set_object_arg):
1684 * tools/gst-compprep.c: (main):
1685 * tools/gst-inspect.c: (print_element_properties_info):
1686 Removed GstURI, closes bug #321061
1688 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1690 * check/gst/gststructure.c: (GST_START_TEST):
1691 * gst/gststructure.c: (gst_structure_parse_value):
1692 Oops, broke automatic string type parsing.
1693 Add a test to catch it in future.
1695 2005-11-22 Andy Wingo <wingo@pobox.com>
1697 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1698 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1699 Actually rename the function implementations. Grr.
1701 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1703 * check/gst/capslist.h:
1705 * check/gst/gststructure.c: (GST_START_TEST),
1706 (gst_structure_suite):
1707 Test automatic value type detection in gst_structure_from_string.
1708 * gst/gststructure.c: (gst_structure_parse_value):
1709 Add fraction as a type we try and guess automatically in
1710 caps/structure strings.
1712 2005-11-22 Andy Wingo <wingo@pobox.com>
1714 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1716 * gst/gsttagsetter.h:
1717 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1718 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1719 (gst_tag_setter_add_tag_valist)
1720 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1721 _add_values, _add_valist, and _add_valist_values. Since this is an
1722 interface the function suffixes should be more explicit so
1723 language binding don't end up with element.add_valist ->
1724 gst_tag_setter_add_valist, for example. Fixes #322069.
1726 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1728 * check/gst/gstcaps.c: (GST_START_TEST):
1729 Extend caps string tests to check that a caps to string
1730 conversion is reversible and produces the same caps.
1732 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1733 Output "fraction" as the generic type fraction range, so caps
1734 serialisation and deserialisation works.
1735 * check/gst/capslist.h:
1736 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1737 Support 'MIN' and 'MAX' for deserialising fractions.
1739 2005-11-22 Andy Wingo <wingo@pobox.com>
1741 * gst/gstevent.h (gst_event_new_new_segment)
1742 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1743 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1744 Renamed from *_newsegment, *_buffersize, *_notarget.
1746 * scripts/update-funcnames: New script, performs the changes
1749 2005-11-22 Wim Taymans <wim@fluendo.com>
1751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1752 Make sure the GstFlowReturn is returned.
1754 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1755 (gst_bus_add_signal_watch):
1757 add gst_bus_add_signal_watch_full.
1759 * gst/gstplugin.c: (gst_plugin_load_file):
1760 Small style cleanup.
1762 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1764 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1765 Block the fakesrc srcpad when we send an event, to avoid
1766 contention on the stream_lock causing random test failures.
1768 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1770 * check/gst/gstvalue.c: (GST_START_TEST):
1771 * gst/gstvalue.c: (gst_value_fraction_subtract):
1774 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1777 include "gstchildproxy.h"
1778 * gst/gstchildproxy.h:
1779 * libs/gst/controller/gstcontroller.h:
1780 use G_GNUC_NULL_TERMINATED
1782 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1784 * check/gst/capslist.h:
1785 * check/gst/gstcaps.c: (GST_START_TEST):
1786 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1787 * gst/gststructure.c: (gst_structure_parse_range),
1788 (gst_structure_fixate_field_nearest_fraction):
1789 * gst/gststructure.h:
1790 * gst/gstvalue.c: (gst_value_init_fraction_range),
1791 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1792 (gst_value_collect_fraction_range),
1793 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1794 (gst_value_set_fraction_range_full),
1795 (gst_value_get_fraction_range_min),
1796 (gst_value_get_fraction_range_max),
1797 (gst_value_serialize_fraction_range),
1798 (gst_value_transform_fraction_range_string),
1799 (gst_value_compare_fraction_range),
1800 (gst_value_deserialize_fraction_range),
1801 (gst_value_intersect_fraction_fraction_range),
1802 (gst_value_intersect_fraction_range_fraction_range),
1803 (gst_value_subtract_fraction_fraction_range),
1804 (gst_value_subtract_fraction_range_fraction),
1805 (gst_value_subtract_fraction_range_fraction_range),
1806 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1807 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1808 (gst_value_transform_string_fraction), (_gst_value_initialize):
1810 Implement fraction ranges and extend GstFraction to support
1811 arithmetic subtraction, as well as deserialization from integer
1812 strings such as "100"
1813 Add a testsuite as for int and double range set operations
1815 2005-11-21 Andy Wingo <wingo@pobox.com>
1819 * gst/gststructure.h: Add glib-compat.h.
1821 2005-11-21 Wim Taymans <wim@fluendo.com>
1823 * gst/gstbin.c: (gst_bin_change_state_func):
1826 2005-11-21 Wim Taymans <wim@fluendo.com>
1829 And add a nice define too.
1831 2005-11-21 Wim Taymans <wim@fluendo.com>
1833 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1834 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1835 (gst_segment_set_duration), (gst_segment_set_last_stop),
1836 (gst_segment_set_seek), (gst_segment_set_newsegment),
1837 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1840 Make binding friendly.
1842 2005-11-21 Andy Wingo <wingo@pobox.com>
1844 * gst/gsttagsetter.h:
1846 * gst/gststructure.h:
1848 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1851 * gst/gsterror.c (_gst_core_errors_init):
1852 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1855 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1856 (noinst_HEADERS): noinst the -private.
1858 2005-11-21 Michael Smith <msmith@fluendo.com>
1861 * gst/gstregistry.h:
1862 Remove unimplemented declarations for which we can see no sensible
1865 2005-11-21 Andy Wingo <wingo@pobox.com>
1867 * gst/gst.h: Include glib-compat.h.
1869 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1871 * gst/glib-compat.c: Include the public and the private header.
1873 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1877 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1879 * check/gst/gstevent.c (create_custom_events): Check that
1880 FLUSH_STOP is serialized.
1882 * check/elements/identity.c (event_func):
1883 * check/elements/fakesrc.c (event_func): No stream lock, the core
1886 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1887 stream lock taking, yay.
1889 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1890 ensure that core takes the stream lock.
1892 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1895 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1896 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1897 it already. For the flush start we do take it though so we get the
1898 right preroll state change messages.
1900 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1901 the stream lock here, the core does it for us.
1903 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1904 GST_STREAM_GET_LOCK.
1905 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1906 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1907 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1908 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1909 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1910 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1912 * gst/gstpad.c: Update for stream lock name change.
1914 * gst/base/gstbasesink.c: Update for preroll lock name change.
1916 2005-11-21 Wim Taymans <wim@fluendo.com>
1918 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1919 (gst_clock_get_master):
1921 * gst/gstsystemclock.c: (gst_system_clock_init):
1922 Convert Clock flags to object flags.
1923 Added methods to manage master/slave clocks.
1925 2005-11-21 Wim Taymans <wim@fluendo.com>
1927 * check/gst/gstsegment.c: (GST_START_TEST):
1928 * docs/design/part-TODO.txt:
1929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1930 (gst_base_sink_event), (gst_base_sink_do_sync),
1931 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1932 (gst_base_sink_query), (gst_base_sink_change_state):
1933 * gst/base/gstbasesink.h:
1934 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1935 (gst_base_src_default_newsegment),
1936 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1937 (gst_base_src_get_range), (gst_base_src_loop),
1938 (gst_base_src_change_state):
1939 * gst/base/gstbasesrc.h:
1940 * gst/base/gstbasetransform.c:
1941 (gst_base_transform_prepare_output_buf),
1942 (gst_base_transform_event), (gst_base_transform_change_state):
1943 * gst/base/gstbasetransform.h:
1944 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1945 (gst_collect_pads_event):
1946 * gst/base/gstcollectpads.h:
1947 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1948 (gst_fake_src_create):
1949 * gst/elements/gstfakesrc.h:
1950 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1951 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1952 (gst_segment_set_last_stop), (gst_segment_set_seek),
1953 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1954 (gst_segment_to_running_time), (gst_segment_clip):
1956 More segment updates, replace code in plugins with segment
1959 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1961 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1962 Don't ignore sscanf results
1964 2005-11-21 Andy Wingo <wingo@pobox.com>
1966 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1969 * *.c: Ran scripts/update-macros. Oh yes.
1971 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1972 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1975 * scripts/update-macros: New script. Run it on your files to
1976 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1979 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1981 * docs/gst/Makefile.am:
1982 * docs/gst/gstreamer-docs.sgml:
1983 * docs/gst/gstreamer-sections.txt:
1984 * docs/gst/gstreamer.types:
1986 more docs fixes, add new api to the docs
1988 2005-11-21 Andy Wingo <wingo@pobox.com>
1990 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1991 state_broadcast call.
1993 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1995 2005-11-21 Julien MOUTTE <julien@moutte.net>
1997 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1998 function calls for arrays.
2000 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2002 * docs/random/ensonic/media-device-daemon.txt:
2003 wild idea, can this be done?
2004 * docs/gst/gstreamer-sections.txt:
2009 * gst/gstpluginfeature.c:
2013 doc fixes and additions
2015 2005-11-21 Andy Wingo <wingo@pobox.com>
2017 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2018 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2019 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2020 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2021 private to the basesrc implementation.
2023 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2024 behalf of event function if necessary. It should no longer be
2025 necessary to take the stream lock in pad's event functions. Fixes
2028 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2029 * docs/gst/gstreamer-sections.txt:
2030 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2031 (gst_structure_fixate_field_nearest_double),
2032 (gst_structure_fixate_field_boolean):
2033 * gst/gststructure.h:
2034 * win32/common/libgstreamer.def:
2035 * win32/gstreamer.def:
2037 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2040 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2042 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2043 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2044 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2045 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2046 (gst_fdsrc_uri_handler_init):
2047 * gst/elements/gstfdsrc.h:
2048 Port fd:// URI handler from 0.8 to fdsrc
2050 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2052 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2053 (gst_value_serialize_fourcc):
2055 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2056 consistent with our other format defines (#320324).
2058 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2060 * gst/gstvalue.c: (gst_value_is_fixed):
2061 Revert previous commit. Value lists are by definition
2062 not fixed, as they are a list of possible values.
2064 2005-11-21 Andy Wingo <wingo@pobox.com>
2066 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2067 during the stable series if we need it. Fixes #319178.
2069 * gst/gstevent.c (gst_event_new_filler): Removed.
2071 * check/gst/gstevent.c: Update comment about filler events.
2073 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2075 * gst/gstvalue.c: (gst_value_is_fixed):
2076 Should handle both value arrays and value lists.
2078 2005-11-21 Andy Wingo <wingo@pobox.com>
2080 patch by: Alessandro Dessina <alessandro nnva org>
2082 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2083 functions to access arrays. Fixes #321962.
2085 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2087 * docs/gst/gstreamer.types:
2088 gst_collectpads_get_type => gst_collect_pads_get_type.
2090 * gst/base/gstbasetransform.c:
2091 Remove unused SIGNAL_HANDOFF enum.
2093 2005-11-21 Andy Wingo <wingo@pobox.com>
2095 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2096 the event type (upstream, downstream, serialized). Renamed
2097 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2098 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2099 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2101 * gst/gstevent.c: Update for new CUSTOM event names.
2103 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2106 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2109 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2111 * docs/gst/gstreamer-sections.txt:
2112 * win32/common/libgstbase.def:
2113 * win32/libgstbase.def:
2114 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2115 (gst_collect_pads_class_init), (gst_collect_pads_init),
2116 (gst_collect_pads_finalize), (gst_collect_pads_new),
2117 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2118 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2119 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2120 (gst_collect_pads_start), (gst_collect_pads_stop),
2121 (gst_collect_pads_peek), (gst_collect_pads_pop),
2122 (gst_collect_pads_available), (gst_collect_pads_read),
2123 (gst_collect_pads_flush), (gst_collect_pads_event),
2124 (gst_collect_pads_chain):
2125 * gst/base/gstcollectpads.h:
2126 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2127 unimplemented functions as unimplemented. Add padding to
2128 GstCollectData. (#320766, #320423)
2130 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2133 Improve docs for DURATION message (usage of duration parameter)
2136 2005-11-20 Wim Taymans <wim@fluendo.com>
2138 * check/Makefile.am:
2139 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2143 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2144 (gst_segment_set_seek), (gst_segment_set_newsegment),
2145 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2148 Added segment helper structure and methods. Not fully implemented
2150 Added segment check.
2152 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2154 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2155 Add a deserialisation test for fractions
2156 * examples/metadata/read-metadata.c: (message_loop),
2157 (make_pipeline), (main):
2158 Fix up metadata reading sample.
2159 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2161 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2162 Don't try and fixate empty caps
2163 * gst/gst_private.h:
2164 Wrap in G_BEGIN_DECLS/G_END_DECLS
2165 * gst/gstvalue.c: (gst_value_collect_fraction),
2166 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2167 (gst_value_transform_string_fraction),
2168 (gst_value_compare_fraction):
2169 Add some extra guards to ensure that we don't end up
2170 with an invalid denominator of 0 in a gstfraction and
2171 that fractions always get reduced.
2173 2005-11-20 Wim Taymans <wim@fluendo.com>
2175 * docs/gst/gstreamer-sections.txt:
2186 2005-11-20 Wim Taymans <wim@fluendo.com>
2188 * docs/design/part-TODO.txt:
2190 Make a proper enum of the flag.
2192 2005-11-19 Wim Taymans <wim@fluendo.com>
2194 * docs/design/part-TODO.txt:
2195 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2196 (gst_format_to_quark), (gst_format_register):
2198 * gst/gstquery.c: (_gst_query_initialize),
2199 (gst_query_type_get_name), (gst_query_type_to_quark),
2200 (gst_query_type_register):
2202 Add type to quark and type to string conversions.
2204 2005-11-19 Andy Wingo <wingo@pobox.com>
2206 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2209 2005-11-19 Wim Taymans <wim@fluendo.com>
2211 * docs/design/part-TODO.txt:
2212 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2213 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2214 (gst_bin_handle_message_func):
2216 Make message handling overridable.
2218 2005-11-19 Andy Wingo <wingo@pobox.com>
2220 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2223 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2225 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2226 is a GstClockTime. Fixes #321710.
2228 * gst/gstclock.h (GstClock): Remove offset property. Add
2229 internal_calibration and external_calibration. Fix padding. Pad
2230 also by GstClockTime so we don't run into problems.
2232 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2233 (gst_clock_get_rate_offset): Remove.
2234 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2237 * gst/gstutils.c (g_static_rec_cond_wait)
2238 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2240 * gst/gstbin.c: Remove terrible continue_state prototype.
2242 * gst/gstelement.h (gst_element_continue_state): Make public.
2245 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2246 by continue_state. Fixes #319389.
2248 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2249 Really fixes #168438. However I don't see anywhere where the
2250 filter function is called... stupid GStreamer...
2252 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2253 don't have a dispose function, so it won't get called when the
2254 object is unreffed, but oh well!
2256 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2257 allows a destroy function to be set so user_data can be freed.
2259 (gst_index_set_filter): Call gst_index_set_filter_full.
2261 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2263 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2264 string should produce an error, given the lack of a way to
2265 represent NULL strings. Fixes #165650.
2268 * gst/gstvalue.c (gst_value_array_append_value)
2269 (gst_value_array_prepend_value, gst_value_array_get_size)
2270 (gst_value_array_get_value): New API, copied from
2271 gst_value_list_*, only operates on arrays.
2272 (gst_value_list_append_value, gst_value_list_prepend_value)
2273 (gst_value_list_concat, gst_value_list_get_size)
2274 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2276 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2277 init_list, because it works on both.
2278 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2279 (gst_value_copy_list_or_array): Renamed from copy_list.
2280 (gst_value_free_list_or_array): Renamed from free_list.
2281 (gst_value_collect_list_or_array): Renamed from collect_list.
2282 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2283 (gst_value_list_or_array_peek_pointer): Renamed from
2285 (_gst_value_array_value_table, _gst_value_list_value_table):
2286 Update value table functions.
2287 (gst_value_compare_list_or_array): Renamed from compare_list.
2289 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2293 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2294 GstTagList*. Fixes #143472.
2296 * gst/gststructure.h: Clarify what the foreach/map functions can
2297 or can't do to their arguments.
2299 2005-11-18 Wim Taymans <wim@fluendo.com>
2301 * gst/gstclock.c: (gst_clock_set_calibration),
2302 (gst_clock_get_calibration):
2304 Calibration can be set with internal time equal to current
2307 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2313 2005-11-18 Andy Wingo <wingo@pobox.com>
2316 * pkgconfig/gstreamer-net.pc.in:
2317 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2318 * pkgconfig/Makefile.am: Add net pkgconfig files.
2320 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2323 * gst/gstghostpad.c:
2329 2005-11-18 Andy Wingo <wingo@pobox.com>
2331 * gst/net/gstnetclientclock.c: Turn off debugging.
2333 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2334 times connverge somewhat. Can't make a real test.
2336 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2337 integer arithmetic. Return the minimum of the domain, which can be
2338 set as "internal" for gst_clock_set_calibration.
2339 (gst_net_client_clock_observe_times): Call _set_calibration.
2340 (gst_net_client_clock_new): Call _set_calibration instead of
2343 * check/net/gstnetclientclock.c (test_functioning): Use the right
2347 * gst/gstclock.c (gst_clock_get_calibration)
2348 (gst_clock_set_calibration): New functions, obsolete the ones I
2349 added yesterday. Doh. Precision issues mean we have to extrapolate
2350 from a point in the more recent past than 1970.
2351 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2353 (gst_clock_adjust_unlocked): Use the right calibration data.
2355 2005-11-18 Edward Hervey <edward@fluendo.com>
2357 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2358 Also reset the ->current_* values in READY->PAUSED
2360 2005-11-18 Andy Wingo <wingo@pobox.com>
2362 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2363 Whoops, check the right fd. Also add some debugging.
2364 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2365 (do_linear_regression): Add a crapload of debugging. Subtract off
2366 the minimum values from the input series to discard unneeded bits.
2367 Use only int arithmetic. There is still double arithmetic when
2368 calculating the intercept that needs fixing. Return boolean to
2369 indicate success; FALSE would mean the domain or range is too
2370 great. Still needs fixes.
2372 2005-11-18 Wim Taymans <wim@fluendo.com>
2374 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2375 For the current position in stream time, we need to subtract
2378 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2379 Release lock before calling the callback function of async
2382 2005-11-18 Andy Wingo <wingo@pobox.com>
2384 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2385 Port goes all the way to MAXUINT16.
2387 * gst/net/gstnettimeprovider.c: Make the port range the same as
2388 for the kernel: 0 assigns, otherwise ports are less than
2391 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2394 * check/net/gstnetclientclock.c (test_functioning): Add the start
2397 2005-11-18 Wim Taymans <wim@fluendo.com>
2399 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2400 (gst_bin_remove_func), (bin_bus_handler):
2402 Removing a clock provider from a bin, triggers a clock lost message
2403 so that a new clock will be selected.
2404 Adding a clock to a bin triggers a clock provider message.
2405 Make sure we reselect a clock when we received a clock lost message.
2406 Keep a reference to the element that provided the clock.
2408 2005-11-18 Andy Wingo <wingo@pobox.com>
2410 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2411 the clock initially so it produces values around the base time.
2412 (gst_net_client_clock_class_init): Typo fix.
2413 (gst_net_client_clock_thread): Add note on when the socket gets
2416 2005-11-17 Wim Taymans <wim@fluendo.com>
2418 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2419 Free remote and local time arrays.
2421 2005-11-17 Wim Taymans <wim@fluendo.com>
2423 * gst/net/gstnetclientclock.c: (do_linear_regression),
2424 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2425 Fix compilation, uninitialized vars and a forgotten continue.
2427 2005-11-17 Andy Wingo <wingo@pobox.com>
2429 * check/Makefile.am (check_PROGRAMS):
2430 * check/net/gstnetclientclock.c: Add a most minimal test for the
2431 net client clock. More to come later.
2434 * gst/net/Makefile.am: Add netclientclock.
2436 * gst/net/gstnetclientclock.h:
2437 * gst/net/gstnetclientclock.c: New files, implement an untested
2438 GstClock that takes its time from a network time provider.
2439 Implements the algorithm in network-clock.scm.
2441 * tests/network-clock.scm (*window-size*): Rename from
2443 * tests/network-clock.scm (network-time):
2444 * tests/network-clock-utils.scm (q-push): Update callers.
2446 2005-11-17 Wim Taymans <wim@fluendo.com>
2448 * gst/gstbin.c: (gst_bin_provide_clock_func),
2449 (gst_bin_sort_iterator_new):
2450 And unref the child too..
2452 2005-11-17 Wim Taymans <wim@fluendo.com>
2454 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2455 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2456 Refactor the sort iterator so it can be used while holding the
2458 Make clock selection select a clock closest to the source.
2460 2005-11-17 Michael Smith <msmith@fluendo.com>
2462 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2463 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2465 Anonymous structs are a gcc (and some other compilers) extension, so
2466 don't use them. Since this is only for ABI-compatibility, and our
2467 API/ABI freeze is over in a few days, this whole thing will only
2468 last a few days, so don't bother trying to think up a meaningful
2469 name for the struct.
2471 2005-11-17 Andy Wingo <wingo@pobox.com>
2473 * gst/gstclock.h (GstClock): Add rate and offset properties,
2474 preserving ABI stability. Add rate/offset accessors. Will file bug
2475 for the freeze break.
2477 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2478 and offset, trying to keep precision and avoiding
2480 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2481 functions. Make gst_clock_set_time_adjust obsolete.
2482 (gst_clock_set_time_adjust): Note that this function is obsolete.
2485 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2486 greppable by using GST_PADDING-1+1.
2488 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2490 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2492 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2493 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2495 * gst/gstpadtemplate.h:
2496 * gst/gstpluginfeature.h:
2497 Don't use c++ style comments in headers (#321638).
2499 2005-11-16 Andy Wingo <wingo@pobox.com>
2501 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2504 * check/net/gstnettimeprovider.c: Check to see that the time
2505 provider actually provides times. Works, yo!
2507 2005-11-16 Wim Taymans <wim@fluendo.com>
2509 * check/Makefile.am:
2512 * check/elements/fakesrc.c: (GST_START_TEST):
2513 Set element to NULL before disposing it.
2515 2005-11-16 Andy Wingo <wingo@pobox.com>
2517 * gst/net/Makefile.am:
2519 * gst/net/gstnettimeprovider.c:
2520 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2521 provider, include it from gstnet.h, and add it to the build.
2523 * gst/net/gstnettimepacket.h:
2524 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2525 sending and receiving.
2527 2005-11-16 Wim Taymans <wim@fluendo.com>
2529 * check/Makefile.am:
2530 Enable valgrind check.
2532 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2533 (gst_fake_src_alloc_buffer):
2536 2005-11-16 Wim Taymans <wim@fluendo.com>
2538 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2539 Call parent finalize too.
2541 2005-11-16 Wim Taymans <wim@fluendo.com>
2543 * check/Makefile.am:
2544 Enable valgrind check that should work fine now.
2546 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2547 * gst/gstqueue.c: (gst_queue_init):
2548 Fix memleaks in pad allocation.
2550 2005-11-16 Andy Wingo <wingo@pobox.com>
2552 * gst/net/Makefile.am:
2553 * gst/net/gstnet.h: New part of core to hold network elements and
2554 objects. Put in core because it exposes API that applications want
2555 to use. The library is named libgstnet-tempname right now because
2556 of the existing libgstnet in gst-plugins-base. Solution is
2557 probably to rename the one in plugins-base; will file a bug for
2560 * gst/net/gstnettimeprovider.c:
2561 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2562 get_time call over the network.
2565 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2567 * check/Makefile.am:
2568 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2569 get additions shortly.
2571 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2573 * gst/gstpad.c: (gst_pad_new_from_static_template):
2575 add gst_pad_new_from_static_template functions
2576 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2577 (gst_check_setup_sink_pad):
2578 * gst/elements/gsttee.c: (gst_tee_init):
2581 2005-11-16 Wim Taymans <wim@fluendo.com>
2583 * gst/gstpad.c: (gst_pad_pause_task):
2584 Removed warning, it's not really an error either.
2586 2005-11-16 Wim Taymans <wim@fluendo.com>
2588 * gst/base/gstbasetransform.c:
2589 (gst_base_transform_prepare_output_buf),
2590 (gst_base_transform_event):
2591 Check if the caps are NULL, this can happen if the element
2592 is shutting down and the pad caps are set to NULL.
2594 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2596 * gst/elements/gsttee.c: (gst_tee_init):
2597 fix pad template leak in tee
2599 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2601 * gst/glib-compat.c: (g_value_dup_gst_object):
2602 * gst/glib-compat.h:
2603 * gst/gstpad.c: (gst_pad_set_property):
2604 use gst_object_ref when setting the pad template; this will
2605 trigger the pad template leaks on GLib 2.6 and the slaves
2607 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2609 * gst/glib-compat.c: (gst_flags_get_first_value):
2610 * gst/glib-compat.h:
2611 * gst/gstregistryxml.c:
2612 remove functions copied from GLib 2.6
2614 2005-11-16 Michael Smith <msmith@fluendo.com>
2617 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2618 do, but only breaks with newer valgrind versions. We're not a
2619 valgrind tool, we have no link-time dependencies on libcoregrind.
2621 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2623 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2628 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2630 * gst/base/gstbasesrc.c: (gst_base_src_init):
2631 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2632 * gst/gstqueue.c: (gst_queue_init):
2633 * gst/gstregistryxml.c: (load_feature):
2634 Revert all these unrefs, they don't even pass make check !
2636 2005-11-15 Johan Dahlin <johan@gnome.org>
2638 * gst/base/gstbasesrc.c: (gst_base_src_init):
2639 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2640 * gst/gstqueue.c: (gst_queue_init):
2641 Free pad templates, fixes a couple of leaks.
2643 2005-11-15 Daniel Fischer <dan at f3c dot com>
2645 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2647 * gst/gstpad.c: (gst_pad_get_property):
2648 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2649 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2652 2005-11-15 Wim Taymans <wim@fluendo.com>
2657 2005-11-15 Andy Wingo <wingo@pobox.com>
2659 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2661 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2662 using GST_CLOCK_TIME_NONE to disable base time management.
2663 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2664 time if it was NONE before.
2665 (gst_pipeline_change_state): Only munge the base time if
2666 stream_time != GST_CLOCK_TIME_NONE.
2668 * check/gst/gstpipeline.c (test_base_time): Punt around the
2669 problem of the probe not being called, because that's not the
2670 issue I'm looking at. Add a check that setting stream_time to NONE
2671 disables base time management.
2673 2005-11-15 Wim Taymans <wim@fluendo.com>
2675 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2676 segment_stop == -1 at startup.
2678 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2679 (gst_base_transform_change_state):
2680 Init segment values at start.
2682 2005-11-15 Wim Taymans <wim@fluendo.com>
2684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2685 0 segment values are 0 in any format.
2687 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2688 * gst/base/gstbasetransform.h:
2689 Parse newsegment correctly in basetransform
2691 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2692 Sync to clock using updated segment values.
2694 2005-11-15 Andy Wingo <wingo@pobox.com>
2696 * check/gst/gstpipeline.c (test_base_time): Add check that the
2697 base time and stream time are reset correctly.
2699 2005-11-15 Wim Taymans <wim@fluendo.com>
2701 * docs/design/part-TODO.txt:
2702 Some more TODO items.
2704 2005-11-15 Andy Wingo <wingo@pobox.com>
2706 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2707 error if the user selected "no clock" as the clocking method.
2709 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2710 timestamps with live capture.
2712 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2713 is 0 but we are a live source, timestamp the buffers using the
2716 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2718 * docs/gst/gstreamer-sections.txt:
2720 * gst/gstghostpad.c:
2725 2005-11-14 Wim Taymans <wim@fluendo.com>
2728 add suppressions from Wim's Debian machine
2730 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2733 add suppressions from Andy's AMD64 Ubuntu machine
2735 2005-11-14 Andy Wingo <wingo@pobox.com>
2737 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2738 STATE_LOCK not necessary. Fixes #311489.
2740 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2743 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2744 this function is not implemented.
2746 2005-11-14 Julien MOUTTE <julien@moutte.net>
2748 * gst/base/gstbasetransform.c:
2749 (gst_base_transform_prepare_output_buf):
2750 Ref the source pad caps while we need them.
2753 2005-11-11 Wim Taymans <wim@fluendo.com>
2755 * docs/gst/gstreamer-sections.txt:
2756 Added some docs for GstCollectData.
2758 * gst/base/gstadapter.c:
2759 Some small code example fix.
2761 * gst/base/gstcollectpads.c:
2762 * gst/base/gstcollectpads.h:
2765 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2767 * configure.ac: back to HEAD
2769 === release 0.9.5 ===
2771 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2774 releasing 0.9.5, "Bike Lunch Day"
2776 2005-11-11 Wim Taymans <wim@fluendo.com>
2778 * gst/gstbuffer.c: (_gst_buffer_copy):
2781 * gst/gstcaps.c: (gst_caps_is_equal):
2783 Make _is_equal fast in the trivial cases.
2785 * gst/gstminiobject.c:
2786 * gst/gstminiobject.h:
2787 More docs. Spifify .h file.
2792 2005-11-11 Wim Taymans <wim@fluendo.com>
2794 * gst/base/gstbasetransform.c:
2795 (gst_base_transform_prepare_output_buf),
2796 (gst_base_transform_handle_buffer):
2798 If we're processing a buffer and need to allocate an output
2799 buffer, we cannot accept a format change. If we did get a
2800 format change, we have to alloc a buffer ourselves of the
2803 2005-11-11 Wim Taymans <wim@fluendo.com>
2805 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2806 While checking the flag for reentrancy in the gstcaps function
2807 is nice to detect recursive invocations, it also makes it
2808 impossible to call getcaps from multiple threads, which must be
2809 possible. So, checking for recursive calls has to go.
2811 2005-11-11 Michael Smith <msmith@fluendo.com>
2813 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2814 Don't sync on buffers that fall partially outside our current
2815 segment. Prevents an assertion failure/abort playing some files.
2817 2005-11-10 Andy Wingo <wingo@pobox.com>
2819 * check/gst/gstbin.c (test_message_state_changed_children): Style
2822 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2823 gst_bus_poll with the signal watch. Ensures that poll and a signal
2824 watch see the same messages.
2826 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2827 a poll and a watch at the same time get the same messages.
2829 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2831 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2832 * gst/gstcaps.c: (gst_caps_intersect):
2833 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2834 and it's not needed.
2836 2005-11-10 Wim Taymans <wim@fluendo.com>
2838 * docs/design/part-TODO.txt:
2841 2005-11-10 Wim Taymans <wim@fluendo.com>
2843 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2844 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2845 (gst_base_src_do_sync), (gst_base_src_get_range):
2846 Implement clock sync in base class.
2848 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2850 patch by: Tim-Philipp Müller <tim at centricular dot net>
2852 * gst/gststructure.c: (gst_structure_parse_field),
2853 (gst_structure_from_string):
2854 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2855 so that gst_parse_launch() can deal with spaces in filtered link
2856 caps (fixes #164479)
2857 * check/gst/capslist.h:
2858 * check/gst/gststructure.c: (GST_START_TEST):
2859 add unit tests for this change
2861 2005-11-10 Wim Taymans <wim@fluendo.com>
2863 * docs/gst/gstreamer-sections.txt:
2866 Fix docs, move some STATE macros to private.
2868 2005-11-10 Wim Taymans <wim@fluendo.com>
2870 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2871 Added check for bug #317341
2875 Some more spiffifying.
2877 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2878 Call peer linkfunction if we are a source pad. Totally fixes
2882 Update docs, source pads should call the peer linkfunction
2883 so they can atomically perform the pad link.
2885 2005-11-09 Wim Taymans <wim@fluendo.com>
2889 Uber-spiffy-spiffify some more.
2891 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2893 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2894 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2895 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2896 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2897 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2898 * gst/gstpad.c: (gst_pad_init):
2899 Use GST_DEBUG_FUNCPTR() more extensively.
2901 2005-11-09 Wim Taymans <wim@fluendo.com>
2903 * gst/gstobject.c: (gst_object_class_init):
2905 Documentation fixes.
2907 2005-11-09 Edward Hervey <edward@fluendo.com>
2909 * gst/gsttypefindfactory.c:
2912 2005-11-09 Edward Hervey <edward@fluendo.com>
2914 * gst/base/gsttypefindhelper.c:
2915 * gst/gsttypefind.c:
2916 * gst/gsttypefind.h:
2919 2005-11-09 Wim Taymans <wim@fluendo.com>
2921 * gst/gstiterator.c:
2928 2005-11-09 Wim Taymans <wim@fluendo.com>
2934 2005-11-09 Wim Taymans <wim@fluendo.com>
2936 * docs/gst/gstreamer-sections.txt:
2937 Moved the message async delivery private lock and cond
2938 to the private section.
2944 2005-11-09 Edward Hervey <edward@fluendo.com>
2946 * docs/gst/gstreamer-sections.txt:
2949 Document GstURIHandler
2951 2005-11-09 Wim Taymans <wim@fluendo.com>
2953 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2954 (gst_iterator_find_custom):
2955 * gst/gstiterator.h:
2958 2005-11-09 Wim Taymans <wim@fluendo.com>
2961 Document another field.
2963 * gst/gststructure.c:
2964 * gst/gststructure.h:
2967 2005-11-09 Wim Taymans <wim@fluendo.com>
2972 2005-11-09 Wim Taymans <wim@fluendo.com>
2974 * docs/gst/gstreamer-sections.txt:
2975 Added some new macros.
2982 2005-11-09 Wim Taymans <wim@fluendo.com>
2984 * docs/design/part-TODO.txt:
2985 Some more items for the TODO
2991 2005-11-09 Andy Wingo <wingo@pobox.com>
2993 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2994 to work on something else now tho...
2996 * gst/base/gstadapter.c: More adapter docs.
2998 * gst/elements/gstfilesink.c (gst_file_sink_start)
2999 (gst_file_sink_stop): New functions, replace the state change
3001 (gst_file_sink_class_init): Hook up the start and stop functions.
3002 (gst_file_sink_base_init): Don't set the state change handler any
3003 more. It was a bit ugly too, being set from here...
3004 (gst_file_sink_get_property, gst_file_sink_set_property):
3006 (gst_file_sink_set_location): More robust check that doesn't call
3009 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3011 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3012 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3014 2005-11-08 Wim Taymans <wim@fluendo.com>
3016 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3017 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3018 (gst_base_sink_chain), (gst_base_sink_change_state):
3019 * gst/base/gstbasesink.h:
3020 * gst/base/gstbasesrc.h:
3023 Avoid excessive typechecking in macros.
3025 * gst/gstminiobject.c: (gst_mini_object_get_type),
3026 (gst_mini_object_init), (gst_mini_object_new),
3027 (gst_mini_object_free):
3028 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3029 (gst_object_finalize):
3030 Remove cruft code, optimize alloc_trace.
3032 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3034 * docs/faq/gst-uninstalled:
3035 fix up PS1 for systems that try to reset it
3037 2005-11-07 Wim Taymans <wim@fluendo.com>
3039 * gst/base/gstbasesrc.c: (gst_base_src_init),
3040 (gst_base_src_get_range):
3041 Set the segment_end to -1 initially. Fixed typefind.
3043 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3045 * gst/base/gstadapter.c:
3046 Debug category should be 'adapter', not 'GstAdapter'.
3048 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3049 (gst_collectpads_class_init), (gst_collectpads_init),
3050 (gst_collectpads_peek), (gst_collectpads_pop),
3051 (gst_collectpads_event), (gst_collectpads_chain):
3052 Add debug category and some debugging output. Use boilerplate
3053 macros. Remove some extraneous words from docs.
3055 2005-11-05 Andy Wingo <wingo@pobox.com>
3057 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3060 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3062 * docs/gst/gstreamer-sections.txt:
3065 * gst/gstminiobject.h:
3070 2005-11-04 Wim Taymans <wim@fluendo.com>
3072 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3073 Small update to stop at the configured segment_end
3076 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3078 * gst/gstregistry.c:
3079 * gst/gstregistry.h:
3082 2005-11-04 Edward Hervey <edward@fluendo.com>
3084 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3085 Check if we are doing a segment seek and have arrived at the
3086 end of that segment.
3088 2005-11-04 Wim Taymans <wim@fluendo.com>
3090 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3091 Don't leak a mutex unlock in case of an error.
3096 2005-11-04 Wim Taymans <wim@fluendo.com>
3098 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3100 Get the context to wake up only once.
3102 2005-11-03 Wim Taymans <wim@fluendo.com>
3104 * check/states/sinks.c: (GST_START_TEST):
3105 Uncomment fixed check.
3107 * docs/design/part-TODO.txt:
3110 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3111 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3112 (gst_base_sink_get_position):
3113 If we are going to PLAYING, post the right pending state
3114 when we post the intermediate paused message.
3116 * gst/gstelement.c: (gst_element_continue_state),
3117 (gst_element_set_state_func), (gst_element_change_state):
3118 Don't post state changes that were between the same state
3121 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3123 * docs/gst/gstreamer-sections.txt:
3126 * gst/gstminiobject.h:
3129 more docs and doc style fixes
3131 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3133 * docs/gst/gstreamer-sections.txt:
3135 * gst/gstminiobject.c:
3138 2005-11-03 Andy Wingo <wingo@pobox.com>
3140 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3141 state-changed messages actually have the right order and the right
3144 2005-11-03 Wim Taymans <wim@fluendo.com>
3146 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3147 Added some more checks. Specifically the case where NO_PREROLL
3148 elements are in the pipeline.
3150 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3151 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3152 (gst_base_sink_get_position):
3153 Post READY->PAUSED state change messages too.
3154 Fix bug where VOID was posted as pending state...
3156 * gst/gstbin.c: (gst_bin_recalc_state):
3157 use _element_continue_state() to continue the state change.
3159 * gst/gstelement.c: (gst_element_continue_state),
3160 (gst_element_commit_state), (gst_element_set_state_func),
3161 (gst_element_change_state), (gst_element_change_state_func):
3162 Lots of state change cleanups, assign the STATE_RETURN in
3163 a new continue_state() function that also propagates the
3164 last return value from a state change to the app.
3165 Update some debug statements with proper category.
3167 2005-11-03 Wim Taymans <wim@fluendo.com>
3169 * docs/design/part-events.txt:
3170 * docs/design/part-gstpipeline.txt:
3171 * docs/design/part-messages.txt:
3172 * docs/design/part-overview.txt:
3173 * docs/design/part-seeking.txt:
3174 * docs/design/part-states.txt:
3175 * docs/design/part-trickmodes.txt:
3176 * docs/manual/advanced-position.xml:
3180 People think !! is ugly, this looks better.
3182 * gst/gstpad.c: (gst_pad_set_blocked_async):
3183 Remove !! since it's fixed elsewhere now.
3185 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3187 * gst/gstminiobject.h:
3189 Add !! to _FLAG_IS_SET macros to make the result boolean.
3191 2005-11-03 Edward Hervey <edward@fluendo.com>
3193 * gst/gstpad.c: (gst_pad_set_blocked_async):
3194 comparing a flag and a gboolean rarely returns coherent results...
3195 Added two characters (!!) to make that work correctly.
3197 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3199 * gst/gstbus.c: (gst_bus_class_init):
3202 * gst/gstqueue.c: (gst_queue_loop):
3203 Don't assume a miniobject that isn't a buffer is an
3204 event (it could be that there is a refcounting
3205 problem somewhere and the pointer is stale and
3206 refers to an already destroyed miniobject).
3208 2005-11-03 Julien MOUTTE <julien@moutte.net>
3210 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3212 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3214 * docs/manual/advanced-position.xml:
3215 Update seek example and explanations to current 0.9 API.
3217 * gst/elements/gsttypefindelement.c:
3218 (gst_type_find_element_activate):
3219 Remove FIXME comment now that the found caps
3222 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3224 * gst/gstregistryxml.c: (load_feature):
3225 Add another GST_STR_NULL instance
3227 2005-11-02 Edward Hervey <edward@fluendo.com>
3229 * gst/gstpad.c: (handle_pad_block):
3230 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3232 2005-11-02 Wim Taymans <wim@fluendo.com>
3237 * gst/gstelement.c: (gst_element_commit_state):
3238 Remove unused value.
3240 * gst/gstiterator.c:
3241 Mention that the returned element is reffed in the docs.
3243 2005-11-02 Wim Taymans <wim@fluendo.com>
3245 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3246 (gst_pad_push), (gst_pad_push_event):
3247 Unlock blocked pads when they are flushed.
3249 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3252 * docs/gst/gstreamer-sections.txt:
3255 * gst/gstregistry.c: (gst_registry_scan_path_level):
3256 fix for a nasty little missed situation where an installed plug-in
3257 which was in the cache did not get overridden by an uninstalled one
3258 which was earlier in the plugin path because the newly created plugin
3259 for the uninstalled one (not in the registry) didn't get its
3260 ->registered set to TRUE
3262 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3264 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3265 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3266 (gst_collectpads_is_active), (gst_collectpads_collect),
3267 (gst_collectpads_collect_range), (gst_collectpads_start),
3268 (gst_collectpads_stop), (gst_collectpads_peek),
3269 (gst_collectpads_pop), (gst_collectpads_available),
3270 (gst_collectpads_read), (gst_collectpads_flush):
3271 Guard public API with assertions.
3274 Fix docs for gst_pad_set_link_function().
3276 2005-11-02 Johan Dahlin <johan@gnome.org>
3278 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3279 Unref found_caps after we used it.
3281 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3283 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3284 Don't try to ref NULL.
3286 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3288 * win32/common/config.h.in:
3289 provide a GST_FUNCTION that just gives a string for now
3291 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3293 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3294 (gst_object_flags_get_type), (register_gst_bin_flags),
3295 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3296 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3297 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3298 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3299 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3300 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3301 (gst_clock_flags_get_type), (register_gst_state),
3302 (gst_state_get_type), (register_gst_state_change_return),
3303 (gst_state_change_return_get_type), (register_gst_state_change),
3304 (gst_state_change_get_type), (register_gst_element_flags),
3305 (gst_element_flags_get_type), (register_gst_core_error),
3306 (gst_core_error_get_type), (register_gst_library_error),
3307 (gst_library_error_get_type), (register_gst_resource_error),
3308 (gst_resource_error_get_type), (register_gst_stream_error),
3309 (gst_stream_error_get_type), (register_gst_event_type),
3310 (gst_event_type_get_type), (register_gst_seek_type),
3311 (gst_seek_type_get_type), (register_gst_seek_flags),
3312 (gst_seek_flags_get_type), (register_gst_format),
3313 (gst_format_get_type), (register_gst_index_certainty),
3314 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3315 (gst_index_entry_type_get_type),
3316 (register_gst_index_lookup_method),
3317 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3318 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3319 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3320 (gst_index_flags_get_type), (register_gst_debug_level),
3321 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3322 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3323 (gst_iterator_result_get_type), (register_gst_iterator_item),
3324 (gst_iterator_item_get_type), (register_gst_message_type),
3325 (gst_message_type_get_type), (register_gst_mini_object_flags),
3326 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3327 (gst_pad_link_return_get_type), (register_gst_flow_return),
3328 (gst_flow_return_get_type), (register_gst_activate_mode),
3329 (gst_activate_mode_get_type), (register_gst_pad_direction),
3330 (gst_pad_direction_get_type), (register_gst_pad_flags),
3331 (gst_pad_flags_get_type), (register_gst_pad_presence),
3332 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3333 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3334 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3335 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3336 (gst_plugin_flags_get_type), (register_gst_rank),
3337 (gst_rank_get_type), (register_gst_query_type),
3338 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3339 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3340 (gst_tag_flag_get_type), (register_gst_task_state),
3341 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3342 (gst_alloc_trace_flags_get_type),
3343 (register_gst_type_find_probability),
3344 (gst_type_find_probability_get_type), (register_gst_uri_type),
3345 (gst_uri_type_get_type), (register_gst_parse_error),
3346 (gst_parse_error_get_type):
3347 * win32/common/gstversion.h:
3350 2005-11-01 Luca Ognibene <luogni@tin.it>
3353 fix docs. popt is dead, long live GOption.
3355 2005-10-31 Wim Taymans <wim@fluendo.com>
3360 2005-10-31 Andy Wingo <wingo@pobox.com>
3364 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3366 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3367 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3368 the possibility of deadlocks here if code calling notify() or
3369 set() has a lock that can be taken in another notify handler (ABBA
3370 with class lock and e.g. python GIL state lock).
3372 2005-10-28 Julien MOUTTE <julien@moutte.net>
3374 * gst/gstbus.c: Doc updates.
3376 2005-10-28 Wim Taymans <wim@fluendo.com>
3378 * docs/design/part-TODO.txt:
3379 * gst/gstiterator.c:
3380 * gst/gstsystemclock.c:
3381 * gst/gstsystemclock.h:
3384 2005-10-28 Edward Hervey <edward@fluendo.com>
3386 * docs/gst/gstreamer-docs.sgml:
3387 * docs/gst/gstreamer-sections.txt:
3388 the GstURIType documentation page is private, it only defines GstURIType
3389 which should be defined in the GstURIHandler page
3391 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3393 * gst/gstbin.c: (gst_bin_class_init):
3396 Documentation updates.
3398 2005-10-28 Wim Taymans <wim@fluendo.com>
3400 * docs/gst/gstreamer-sections.txt:
3403 Documented the clocks.
3405 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3407 * docs/gst/gstreamer-sections.txt:
3408 move some macros to private sections
3409 * gst/gstminiobject.c:
3410 * gst/gstminiobject.h:
3411 add descriptions provided by ds and some more
3413 mark macro as to be removed
3415 2005-10-28 Wim Taymans <wim@fluendo.com>
3417 * docs/design/part-TODO.txt:
3418 Add an item to TODO.
3420 * gst/gstiterator.c: (gst_iterator_fold),
3421 (gst_iterator_find_custom):
3422 * gst/gstiterator.h:
3425 2005-10-28 Wim Taymans <wim@fluendo.com>
3427 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3428 (gst_base_transform_init):
3431 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3432 An EOS event marks the queue as completely filled.
3434 2005-10-27 Wim Taymans <wim@fluendo.com>
3436 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3437 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3438 Some more debugging.
3440 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3441 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3442 (gst_base_transform_event), (gst_base_transform_getrange),
3443 (gst_base_transform_chain):
3444 * gst/base/gstbasetransform.h:
3446 Protect transform and concurrent buffer alloc with a new lock.
3447 Try not to break ABI/API.
3449 2005-10-27 Wim Taymans <wim@fluendo.com>
3451 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3452 (gst_base_src_init), (gst_base_src_query),
3453 (gst_base_src_default_newsegment),
3454 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3455 (gst_base_src_send_event), (gst_base_src_event_handler),
3456 (gst_base_src_pad_get_range), (gst_base_src_loop),
3457 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3458 (gst_base_src_start), (gst_base_src_deactivate),
3459 (gst_base_src_activate_push), (gst_base_src_change_state):
3460 Move some stuff around and cleanup things.
3462 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3464 * gst/base/gstbasesrc.c: (gst_base_src_query):
3465 Add missing break statements.
3467 2005-10-27 Wim Taymans <wim@fluendo.com>
3469 * check/gst/gstbin.c: (GST_START_TEST):
3470 An extra refcount is taken in basesrc.
3472 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3473 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3474 (gst_base_src_loop):
3475 Small cleanups, check for flushing after being unlocked from the
3476 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3477 Don't send out EOS when going to READY.
3479 2005-10-27 Wim Taymans <wim@fluendo.com>
3481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3482 (gst_base_sink_get_position):
3485 * gst/gstbin.c: (message_check), (bin_replace_message),
3486 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3487 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3488 (bin_query_duration_init), (bin_query_duration_fold),
3489 (bin_query_duration_done), (bin_query_generic_fold),
3491 * tools/gst-launch.c: (main):
3494 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3496 * examples/controller/audio-example.c: (main):
3497 * examples/queue/queue.c: (event_loop):
3498 * gst/base/gstbasetransform.h:
3499 * gst/gstelement.c: (gst_element_send_event):
3501 * gst/gstpad.c: (gst_pad_send_event):
3504 changing log priority in error situations
3506 2005-10-25 Wim Taymans <wim@fluendo.com>
3508 * gst/gstbin.c: (message_check), (bin_replace_message),
3509 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3510 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3511 (bin_query_duration_init), (bin_query_duration_fold),
3512 (bin_query_duration_done), (bin_query_generic_fold),
3514 Some doc and debug updates.
3515 Cache previously requested query DURATION for speed. invalidate
3516 cached duration if element posts a DURATION message.
3518 2005-10-25 Wim Taymans <wim@fluendo.com>
3520 * docs/design/part-TODO.txt:
3523 * gst/gstbin.c: (message_check), (bin_replace_message),
3524 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3525 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3526 (bin_query_duration_init), (bin_query_duration_fold),
3527 (bin_query_duration_done), (bin_query_generic_fold),
3529 Handle SEGMENT_START/DONE messages correctly.
3530 More evolved query algorithm that handles duration queries
3533 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3534 (gst_element_get_state_func), (gst_element_abort_state),
3535 (gst_element_commit_state), (gst_element_lost_state):
3536 Some more debugging.
3541 2005-10-25 Wim Taymans <wim@fluendo.com>
3543 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3544 Don't use invalid stream_time.
3546 * gst/gstevent.c: (gst_event_new_newsegment):
3547 stream_time in newsegment cannot be undefined.
3549 2005-10-24 Wim Taymans <wim@fluendo.com>
3554 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3556 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3558 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3560 * docs/libs/tmpl/gstdparam.sgml:
3561 * docs/libs/tmpl/gstdplinint.sgml:
3562 * docs/libs/tmpl/gstdpman.sgml:
3563 * docs/libs/tmpl/gstdpsmooth.sgml:
3564 * docs/libs/tmpl/gstunitconvert.sgml:
3567 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3572 === release 0.9.4 ===
3574 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3577 releasing 0.9.4, "Tyrannosaurus Rex"
3579 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3581 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3582 (gst_file_sink_get_current_offset):
3583 Use fseeko() and ftello() if available. When falling back on
3584 lseek() to get the current offset, fflush() first to make sure
3585 everything is up-to-date and we get the right offset.
3587 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3590 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3591 * gst/gsterror.c: (_gst_stream_errors_init):
3593 * gst/gstqueue.c: (gst_queue_loop):
3595 remove prematurely added error category and clean up the instances
3597 2005-10-21 Wim Taymans <wim@fluendo.com>
3599 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3600 (gst_base_sink_get_position), (gst_base_sink_query),
3601 (gst_base_sink_change_state):
3602 Simply set the right flag when going to playing, that's all
3603 we need to do instead of calling a function inside the object
3604 lock (that could take the lock as well and deadlock)
3606 2005-10-21 Wim Taymans <wim@fluendo.com>
3608 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3609 (gst_base_src_loop):
3610 Don't warn, the peer element knows what to do best when
3611 the seek failed, it might try something else.
3613 2005-10-21 Wim Taymans <wim@fluendo.com>
3615 * gst/base/gstbasesrc.c: (gst_base_src_init),
3616 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3619 2005-10-21 Wim Taymans <wim@fluendo.com>
3621 * docs/design/part-segments.txt:
3624 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3625 Correctly set caps, even on the subbufer.
3627 2005-10-21 Wim Taymans <wim@fluendo.com>
3629 * docs/gst/gstreamer-docs.sgml:
3630 * docs/gst/gstreamer-sections.txt:
3637 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3641 And 2% more doc coverage.
3643 2005-10-21 Andy Wingo <wingo@pobox.com>
3645 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3648 2005-10-20 Wim Taymans <wim@fluendo.com>
3650 * gst/gsterror.c: (gst_error_get_message):
3653 * gst/gststructure.c:
3658 2005-10-20 Wim Taymans <wim@fluendo.com>
3663 Another 1% more coverage.
3665 2005-10-20 Wim Taymans <wim@fluendo.com>
3667 * docs/gst/gstreamer-sections.txt:
3668 * gst/gstelement.c: (gst_element_get_state_func),
3669 (gst_element_abort_state), (gst_element_commit_state),
3670 (gst_element_lost_state):
3672 * gst/gstquery.c: (gst_query_set_position),
3673 (gst_query_parse_position), (gst_query_set_duration),
3674 (gst_query_parse_duration), (gst_query_new_convert):
3676 Yay! 1% more docs coverage.
3678 2005-10-20 Wim Taymans <wim@fluendo.com>
3681 * gst/gstquery.c: (gst_query_set_position),
3682 (gst_query_parse_position), (gst_query_set_duration),
3683 (gst_query_parse_duration), (gst_query_new_convert):
3685 * gst/gstutils.c: (gst_element_query_convert):
3687 Docs and consistency fixes.
3689 2005-10-20 Wim Taymans <wim@fluendo.com>
3695 2005-10-20 Wim Taymans <wim@fluendo.com>
3697 * gst/gstbin.c: (message_check), (bin_replace_message),
3698 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3699 (update_degree), (gst_bin_sort_iterator_next),
3700 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3701 Reworked the message handling a bit, cache the messages instead of
3702 only the senders. alows us to do more in the future.
3704 2005-10-20 Wim Taymans <wim@fluendo.com>
3706 * docs/design/part-TODO.txt:
3709 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3710 (gst_base_sink_query):
3711 Don't use clock time to report position when in EOS.
3713 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3715 * tools/gst-inspect.c: (print_interfaces),
3716 (print_element_properties_info), (print_element_info):
3717 Fix interface output with gst-inspect -a; don't print
3718 newlines after double/float properties.
3720 2005-10-20 Wim Taymans <wim@fluendo.com>
3722 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3723 (gst_base_sink_query):
3724 Speed up current position calculation.
3726 * gst/base/gstbasesrc.c: (gst_base_src_query),
3727 (gst_base_src_default_newsegment):
3728 Correctly set stream position in newsegment.
3730 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3731 (update_degree), (gst_bin_sort_iterator_next),
3732 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3733 * gst/gstmessage.c: (gst_message_new_custom):
3734 Clean up debugging info
3736 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3737 (gst_queue_loop), (gst_queue_handle_src_query):
3740 2005-10-19 Wim Taymans <wim@fluendo.com>
3742 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3743 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3744 Fix query handling again.
3746 2005-10-19 Wim Taymans <wim@fluendo.com>
3748 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3749 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3750 * gst/base/gstbasesrc.c: (gst_base_src_query):
3751 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3752 * gst/elements/gsttypefindelement.c:
3753 (gst_type_find_handle_src_query), (find_element_get_length),
3754 (gst_type_find_element_activate):
3757 * gst/gstquery.c: (gst_query_new_position),
3758 (gst_query_set_position), (gst_query_parse_position),
3759 (gst_query_new_duration), (gst_query_set_duration),
3760 (gst_query_parse_duration), (gst_query_set_segment),
3761 (gst_query_parse_segment):
3763 Bundling query position/duration is not a good idea since duration
3764 does not change much and we don't want to recalculate it for every
3765 position query, so they are separated again..
3766 Base value in segment query is not needed.
3768 * gst/gstqueue.c: (gst_queue_handle_src_query):
3769 * gst/gstutils.c: (gst_element_query_position),
3770 (gst_element_query_duration), (gst_pad_query_position),
3771 (gst_pad_query_duration):
3773 Updates for query API change.
3774 Added some docs here and there.
3776 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3778 * check/gst/gstbin.c: (GST_START_TEST):
3779 * check/gst/gstghostpad.c: (GST_START_TEST):
3780 * check/pipelines/cleanup.c: (GST_START_TEST):
3781 wait on thread to die so we can check refcount correctly
3783 2005-10-18 Wim Taymans <wim@fluendo.com>
3785 * check/pipelines/stress.c: (GST_START_TEST):
3786 Make check a little more time consuming.
3788 2005-10-18 Wim Taymans <wim@fluendo.com>
3790 * check/Makefile.am:
3791 * check/pipelines/stress.c: (GST_START_TEST),
3792 (simple_launch_lines_suite), (main):
3793 Small state change torture test.
3795 * docs/design/part-states.txt:
3796 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3797 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3798 (gst_base_sink_change_state):
3799 Never take state lock from streaming thread, clean up ugly
3800 hacks. Unfortunatly core does not yet support nice ways to
3803 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3805 Start state recalc if a STATE_DIRTY message is posted, but only
3806 on the toplevel bin.
3808 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3809 (gst_element_get_state_func), (gst_element_abort_state),
3810 (gst_element_commit_state), (gst_element_lost_state),
3811 (gst_element_set_state_func), (gst_element_change_state):
3813 State variables are now protected with the LOCK, the state
3814 lock is only used to serialize _set_state().
3816 2005-10-18 Wim Taymans <wim@fluendo.com>
3818 * check/gst/gstbin.c: (GST_START_TEST):
3819 * check/gst/gstmessage.c: (GST_START_TEST):
3820 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3821 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3823 * gst/gstelement.c: (gst_element_abort_state),
3824 (gst_element_commit_state), (gst_element_lost_state):
3825 * gst/gstmessage.c: (gst_message_new_state_changed),
3826 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3827 (gst_message_new_segment_done), (gst_message_new_duration),
3828 (gst_message_parse_state_changed),
3829 (gst_message_parse_segment_start),
3830 (gst_message_parse_segment_done), (gst_message_parse_duration):
3832 * tools/gst-launch.c: (event_loop):
3833 Seriously, this is better than a previous commit as we only need
3834 to notify the fact that an element changed state in a streaming
3835 thread, marking the state of the parents dirty, hence the
3836 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3839 2005-10-18 Wim Taymans <wim@fluendo.com>
3841 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3842 (gst_bin_recalc_func):
3843 * gst/gstelement.c: (gst_element_set_clock),
3844 (gst_element_abort_state), (gst_element_lost_state):
3845 Cleanups, prepare for state change fixes.
3847 2005-10-18 Wim Taymans <wim@fluendo.com>
3850 * gst/gstelement.c: (gst_element_class_init),
3851 (gst_element_set_state), (gst_element_set_state_func):
3853 Pending ABI changes.
3854 GThreadPool in GstBinClass to monitor async state changes.
3855 state_cookie in GstElement to detect concurrent gst/set state.
3856 set_state is now virtual too in case a very complicated element
3857 has to be constructed.
3859 2005-10-18 Wim Taymans <wim@fluendo.com>
3861 * check/gst/gstbin.c: (GST_START_TEST):
3862 * check/gst/gstmessage.c: (GST_START_TEST):
3863 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3864 * gst/gstbin.c: (bin_bus_handler):
3865 * gst/gstelement.c: (gst_element_commit_state),
3866 (gst_element_lost_state):
3867 * gst/gstmessage.c: (gst_message_new_state_changed),
3868 (gst_message_new_segment_start), (gst_message_new_segment_done),
3869 (gst_message_new_duration), (gst_message_parse_state_changed),
3870 (gst_message_parse_segment_start),
3871 (gst_message_parse_segment_done), (gst_message_parse_duration):
3873 * tools/gst-launch.c: (event_loop):
3874 Make messages future proof.
3875 state-change gets a flag if it was a message comming from the
3877 segment-start/stop can also be specified in other formats.
3878 A message to notify an app that a pipeline changed playback
3880 Also fix a GstMessage leak in -launch
3882 2005-10-18 Andy Wingo <wingo@pobox.com>
3884 * gst/gstelement.c (gst_element_dispose): More helpful message.
3886 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3888 reviewed by: <delete if not using a buddy>
3890 * common/gtk-doc.mak:
3892 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3894 * gst/gstregistry.c: (gst_registry_scan_path_level):
3895 unref a plug-in we get that was already initialized
3897 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3899 * docs/gst/gstreamer-sections.txt:
3900 * docs/libs/gstreamer-libs-sections.txt:
3905 2005-10-17 Andy Wingo <wingo@pobox.com>
3907 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3910 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3912 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3914 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3915 (gst_element_get_state_func): Better debug message.
3916 (gst_element_commit_state): s/INFO/DEBUG/.
3917 (gst_element_lost_state, gst_element_change_state):
3919 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3920 (gst_message_new_custom): s/INFO/LOG/.
3922 2005-10-17 Michael Smith <msmith@fluendo.com>
3924 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3925 Check if end time is valid using end time, not start time.
3927 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3929 * check/gst-libs/controller.c: (GST_START_TEST),
3930 (gst_controller_suite):
3931 * libs/gst/controller/gstcontroller.c:
3932 (gst_controlled_property_set_interpolation_mode):
3933 * libs/gst/controller/gstcontroller.h:
3934 * libs/gst/controller/gstinterpolation.c:
3935 * testsuite/controller/.cvsignore:
3936 * testsuite/controller/Makefile.am:
3937 * testsuite/controller/interpolator.c:
3938 merge controller testsuites
3940 remove mem-chunk from docs
3942 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3944 * gst/gstmemchunk.c:
3945 * gst/gstmemchunk.h:
3946 * gst/gsttrashstack.c:
3947 * gst/gsttrashstack.h:
3948 out. get out. you're fired. to the Attic !
3950 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3952 * gst/gstcaps.c: (gst_caps_intersect):
3953 fix signedness issues in a (hopefully) correct way
3954 * gst/gstelement.c: (gst_element_pads_activate):
3956 * gst/gstobject.c: (gst_object_set_parent):
3959 2005-10-17 Julien MOUTTE <julien@moutte.net>
3961 * gst/gstvalue.h: Fix prototypes.
3963 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3965 * docs/gst/gstreamer-sections.txt:
3966 * gst/gst.c: (gst_version_string):
3968 * gst/gstversion.h.in:
3969 * win32/common/libgstreamer.def:
3970 add gst_version_string ()
3972 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3976 * gst/gst.c: (init_post):
3977 * win32/common/config.h.in:
3979 * gst/gstcaps.c: (gst_caps_intersect):
3980 use gint64, the range could be bigger than a guint
3982 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3985 document potential problem in 2038
3987 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3989 * gst/gstcaps.c: (gst_caps_intersect):
3990 Fix guint j diving under 0
3992 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3995 * win32/common/config.h:
3996 * win32/common/config.h.in:
3997 check for process.h, declares getpid() on Windows
3999 include process.h if we have it
4000 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4001 * gst/gstmemchunk.h:
4002 fix signedness issues
4003 * win32/common/libgstreamer.def:
4006 2005-10-16 Julien MOUTTE <julien@moutte.net>
4008 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4009 fix. Because of unsigned ints, caps intersection was going nuts and
4010 trying to access structures with G_MAXUINT index. That fixes
4011 videotestsrc ! ffmpegcolorspace ! fakesink
4012 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4015 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4018 use the gettext macro
4019 * gst/elements/gstelements.c:
4021 * gst/indexers/gstindexers.c:
4022 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4023 * win32/common/config.h:
4025 * win32/common/config.h.in:
4026 add the template to generate config.h
4027 * win32/common/gstenumtypes.c:
4028 * win32/common/gstversion.h:
4031 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4033 * gst/gst.c: (gst_version):
4034 * gst/gstversion.h.in:
4037 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4040 Oops, add missing closing bracket.
4042 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4045 use common m4's for argument checking
4047 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4049 * docs/gst/gstreamer-sections.txt:
4051 Add GST_EVENT_TYPE_NAME() macro.
4053 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4056 * gst/gstpluginfeature.c:
4058 privatize more symbols
4060 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4063 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4064 everything that uses GStreamer API should have the includes
4066 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4068 * docs/gst/gstreamer-sections.txt:
4069 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4071 give each value a _get_type, removes the DATA exports
4073 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4077 remove _gst_registry_auto_load, not used anymore
4078 * gst/gstbin.c: (gst_bin_get_type):
4080 * gst/gstelement.c: (gst_element_get_type):
4082 * gst/gstobject.c: (gst_object_get_type):
4084 * gst/gstpad.c: (gst_pad_get_type):
4086 make _get_type functions similar, fixes data export from library
4088 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4091 correctly make conditionals
4092 * gst/elements/Makefile.am:
4093 * gst/elements/gstelements.c:
4094 fix typo causing fdsrc not to build
4096 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4098 * testsuite/Makefile.am:
4099 * testsuite/bytestream/.cvsignore:
4100 * testsuite/bytestream/Makefile.am:
4101 * testsuite/bytestream/filepadsink.c:
4102 * testsuite/bytestream/gstbstest.c:
4103 * testsuite/bytestream/test1.c:
4104 * testsuite/bytestream/testfile1:
4105 * testsuite/caps/normalisation.c:
4106 * testsuite/caps/random.c: (main):
4107 * testsuite/cleanup/.cvsignore:
4108 * testsuite/cleanup/Makefile.am:
4109 * testsuite/cleanup/cleanup1.c:
4110 * testsuite/cleanup/cleanup2.c:
4111 * testsuite/cleanup/cleanup3.c:
4112 * testsuite/cleanup/cleanup4.c:
4113 * testsuite/cleanup/cleanup5.c:
4114 * testsuite/controller/interpolator.c:
4115 * testsuite/debug/printf_extension.c: (main):
4116 * testsuite/elements/tee.c:
4117 * testsuite/negotiation/.cvsignore:
4118 * testsuite/negotiation/Makefile.am:
4119 * testsuite/negotiation/pad_link.c:
4120 * testsuite/pad/Makefile.am:
4121 * testsuite/pad/chainnopull.c:
4122 * testsuite/pad/getnopush.c:
4123 * testsuite/pad/link.c:
4124 * testsuite/refcounting/sched.c: (create_pipeline):
4125 * testsuite/registry/Makefile.am:
4126 * testsuite/registry/gst-print-formats.c:
4127 * testsuite/schedulers/.cvsignore:
4128 * testsuite/schedulers/142183-2.c:
4129 * testsuite/schedulers/142183.c:
4130 * testsuite/schedulers/143777-2.c:
4131 * testsuite/schedulers/143777.c:
4132 * testsuite/schedulers/147713.c:
4133 * testsuite/schedulers/147819.c:
4134 * testsuite/schedulers/147894-2.c:
4135 * testsuite/schedulers/147894.c:
4136 * testsuite/schedulers/Makefile.am:
4137 * testsuite/schedulers/group_link.c:
4138 * testsuite/schedulers/queue_link.c:
4139 * testsuite/schedulers/relink.c:
4140 * testsuite/schedulers/unlink.c:
4141 * testsuite/schedulers/unref.c:
4142 * testsuite/schedulers/useless_iteration.c:
4143 * testsuite/states/bin.c:
4144 clean out/remove some stuff from the testsuite directories
4146 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4149 check for some headers
4150 * gst/elements/Makefile.am:
4151 * gst/elements/gstelements.c:
4152 don't compile fdsrc without sys/socket.h
4153 * gst/indexers/Makefile.am:
4154 * gst/indexers/gstindexers.c: (plugin_init):
4155 don't compile fileindex without mmap
4157 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4164 * check/Makefile.am:
4165 * docs/gst/Makefile.am:
4166 * examples/helloworld/Makefile.am:
4168 * gst/base/Makefile.am:
4169 * gst/check/Makefile.am:
4170 * gst/elements/Makefile.am:
4171 * gst/indexers/Makefile.am:
4172 * gst/parse/Makefile.am:
4173 * libs/gst/controller/Makefile.am:
4174 * libs/gst/dataprotocol/Makefile.am:
4175 * examples/helloworld/helloworld.c: (event_loop):
4176 compile fixes, though it's not being compiled currently
4178 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4180 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4181 Add some simple tests for the new taglist date API.
4183 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4185 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4186 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4187 Beautify 'last-message' output: print 'none' for buffer timestamps
4188 and durations if none is set; improve alignment with next messages.
4190 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4192 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4193 * gst/gstpluginfeature.h:
4194 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4195 * gst/gstregistry.h:
4196 * docs/gst/gstreamer-sections.txt:
4197 Add new API to check plugin feature version requirements.
4199 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4200 Some basic tests for the above.
4202 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4204 * gst/gststructure.c: (gst_structure_to_string):
4205 guard against NULL printf - happens when for example
4206 a message structure with GstClock gets serialized
4208 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4210 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4211 Fix presumable copy'n'pasto.
4213 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4215 * gst/elements/gstfakesrc.h:
4216 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4217 * gst/elements/gsttypefindelement.c:
4219 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4220 I wonder if this could actually write +2GB files before
4222 2005-10-13 Andy Wingo <wingo@pobox.com>
4224 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4225 Fix Timmeke Waymans bug.
4226 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4227 string of the proper length to gst_caps_from_string. There's a
4228 potential for, before this fix, that this could cause someone
4229 connecting over the network to cause a segfault if the payload is
4232 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4234 * docs/design/draft-push-pull.txt:
4235 * docs/design/part-overview.txt:
4236 * docs/random/TODO-pre-0.9:
4237 * docs/random/old/ChangeLog.gstreamer:
4238 * gst/base/gstpushsrc.c:
4242 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4244 * gst/glib-compat.c: (gst_flags_get_first_value):
4245 * gst/glib-compat.h:
4246 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4247 (gst_value_compare_double), (gst_value_serialize_flags):
4248 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4251 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4253 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4254 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4256 * tools/gst-launch.c: (event_loop):
4257 print out clock nicely
4259 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4261 * docs/gst/gstreamer-sections.txt:
4263 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4264 (gst_tag_list_get_date_index):
4265 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4266 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4268 2005-10-13 Julien MOUTTE <julien@moutte.net>
4270 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4271 (gst_collectpads_chain):
4272 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4275 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4277 * docs/gst/gstreamer-sections.txt:
4280 * tools/gst-inspect.c: (main):
4281 * tools/gst-launch.c: (main):
4282 * tools/gst-run.c: (main):
4283 * tools/gst-xmlinspect.c: (main):
4284 fix GOption context leaks
4287 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4291 * win32/common/config.h:
4293 * win32/vs6/grammar.dsp:
4294 * win32/vs6/libgstelements.dsp:
4295 * win32/vs6/libgstreamer.dsp:
4298 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4300 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4301 * gst/base/gstbasesrc.c: (gst_base_src_query):
4302 fix more guint64<->gdouble conversions
4304 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4307 add win32-update target
4308 * win32/common/gstconfig.h:
4309 * win32/common/gstenumtypes.c:
4310 * win32/common/gstenumtypes.h:
4311 * win32/common/gstversion.h:
4312 add files that visual studio can't generate
4314 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4317 add a win32-update target
4320 2005-10-12 Wim Taymans <wim@fluendo.com>
4322 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4323 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4324 * gst/gstelement.c: (gst_element_commit_state),
4325 (gst_element_set_state):
4326 Protect flags with proper lock.
4327 unref provided cached clock in dispose.
4329 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4332 * gst/gstminiobject.h:
4334 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4335 removed unused flags from miniobject
4338 2005-10-12 Wim Taymans <wim@fluendo.com>
4340 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4341 (gst_file_sink_event), (gst_file_sink_render):
4342 Flush before seeking.
4344 2005-10-12 Andy Wingo <wingo@pobox.com>
4346 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4347 always been the case.
4349 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4351 * check/gst/gstbin.c: (GST_START_TEST):
4352 * docs/gst/gstreamer-sections.txt:
4353 * gst/base/gstbasesink.c: (gst_base_sink_init):
4354 * gst/base/gstbasesrc.c: (gst_base_src_init),
4355 (gst_base_src_get_range), (gst_base_src_check_get_range),
4356 (gst_base_src_start), (gst_base_src_stop):
4357 * gst/base/gstbasesrc.h:
4358 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4359 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4360 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4364 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4366 * gst/gstelement.c: (gst_element_is_locked_state),
4367 (gst_element_set_locked_state), (gst_element_commit_state),
4368 (gst_element_set_state):
4370 * gst/gstindex.c: (gst_index_init):
4372 * gst/gstminiobject.h:
4373 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4374 (gst_object_set_parent):
4376 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4377 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4379 * gst/gstpadtemplate.h:
4380 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4381 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4382 * gst/gstpipeline.h:
4383 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4384 (gst_file_index_commit):
4385 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4386 * testsuite/pad/link.c: (gst_test_src_init),
4387 (gst_test_filter_init), (gst_test_sink_init):
4388 * testsuite/states/locked.c: (main):
4389 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4390 moved bitshift from macro to enum definition
4392 2005-10-12 Wim Taymans <wim@fluendo.com>
4394 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4395 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4396 (gst_file_sink_render):
4397 Some more debugging info.
4399 2005-10-12 Wim Taymans <wim@fluendo.com>
4401 * docs/design/part-states.txt:
4402 * tools/gst-launch.c: (main):
4404 Revert non-intentional change.
4406 2005-10-12 Wim Taymans <wim@fluendo.com>
4408 * check/gst/gstbin.c: (GST_START_TEST):
4409 * check/gst/gstelement.c: (GST_START_TEST):
4410 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4411 * check/gst/gstghostpad.c: (GST_START_TEST):
4412 * check/gst/gstpipeline.c: (GST_START_TEST):
4413 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4414 * check/states/sinks.c: (GST_START_TEST):
4415 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4416 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4417 (gst_bin_remove_func), (gst_bin_get_state_func),
4418 (gst_bin_recalc_state), (gst_bin_change_state_func),
4420 * gst/gstelement.c: (gst_element_get_state_func),
4421 (gst_element_get_state), (gst_element_abort_state),
4422 (gst_element_commit_state), (gst_element_set_state),
4423 (gst_element_change_state), (gst_element_change_state_func):
4425 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4426 (gst_pipeline_provide_clock_func):
4427 * gst/gstutils.c: (gst_element_link_pads_filtered):
4428 * tools/gst-launch.c: (main):
4429 * tools/gst-typefind.c: (main):
4430 Use GstClockTime in _get_state() instead of GTimeVal.
4431 Remove old code in gstutils.c
4433 2005-10-12 Andy Wingo <wingo@pobox.com>
4435 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4438 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4439 there is no task. Shouldn't affect any code, as nothing in our
4440 plugins checks this return value.
4441 (gst_pad_stop_task): Also take the stream lock if the pad has no
4444 2005-10-12 Wim Taymans <wim@fluendo.com>
4446 * gst/gstpad.c: (pre_activate), (post_activate),
4447 (gst_pad_activate_pull), (gst_pad_activate_push):
4448 Cleanup activation code. Reset old state if
4451 2005-10-12 Wim Taymans <wim@fluendo.com>
4453 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4454 (gst_base_sink_change_state):
4455 No need to prerol after receiving EOS.
4457 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4458 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4459 * gst/elements/gstidentity.c: (gst_identity_event):
4460 Print events more verbosely.
4462 2005-10-12 Wim Taymans <wim@fluendo.com>
4464 * check/Makefile.am:
4465 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4466 * check/states/sinks2.c:
4467 Moved sinks2 testcode in sinks check.
4469 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4470 (gst_bin_remove_func), (gst_bin_recalc_state),
4471 (gst_bin_change_state_func), (bin_bus_handler):
4472 Fix potential race condition when _get_state() iterated over an
4473 ASYNC element right before it posted a state completion.
4476 Do proper cast here.
4478 * gst/gstevent.c: (gst_event_new_newsegment),
4479 (gst_event_parse_newsegment):
4480 A playback rate of 0.0 is not allowed.
4482 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4484 * win32/common/config.h:
4485 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4486 (_trewinddir), (_ttelldir), (_tseekdir):
4487 * win32/common/dirent.h:
4488 * win32/common/gtchar.h:
4489 * win32/common/libgstbase.def:
4490 * win32/common/libgstreamer.def:
4491 * win32/vs6/grammar.dsp:
4492 * win32/vs6/gst_inspect.dsp:
4493 * win32/vs6/gst_launch.dsp:
4494 * win32/vs6/gstreamer.dsw:
4495 * win32/vs6/libgstbase.dsp:
4496 * win32/vs6/libgstelements.dsp:
4497 * win32/vs6/libgstreamer.dsp:
4498 Visual Studio 6 project files, and a new common directory.
4501 2005-10-11 Wim Taymans <wim@fluendo.com>
4503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4504 (gst_base_sink_do_sync), (gst_base_sink_query),
4505 (gst_base_sink_change_state):
4506 * gst/base/gstbasesink.h:
4507 Correctly parse newsegment info.
4509 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4511 * gst/gst.c: (init_post):
4512 split plugin paths correctly
4514 2005-10-11 Wim Taymans <wim@fluendo.com>
4516 * check/gst/gstevent.c: (GST_START_TEST):
4517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4518 (gst_base_sink_change_state):
4519 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4520 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4521 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4522 * gst/gstevent.c: (gst_event_new_newsegment),
4523 (gst_event_parse_newsegment):
4525 Added extra flag to newsegment for future API freeze.
4526 Updated check and base elements.
4528 2005-10-11 Julien MOUTTE <julien@moutte.net>
4530 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4531 (gst_collectpads_add_pad), (gst_collectpads_pop),
4532 (gst_collectpads_event), (gst_collectpads_chain):
4533 * gst/base/gstcollectpads.h: Handle EOS correctly.
4535 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4537 * tools/gst-launch.c: (main):
4538 more null protecting
4540 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4542 * gst/gst-i18n-lib.h:
4543 check for ENABLE_NLS, not GETTEXT_PACKAGE
4544 * gst/gstregistry.c: (gst_registry_add_plugin),
4545 (gst_registry_scan_path_level),
4546 (_gst_registry_remove_cache_plugins):
4547 protect possibly NULL strings
4548 * gst/parse/types.h:
4549 config.h already included before
4550 * tools/gst-inspect.c: (main):
4551 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4552 check for ENABLE_NLS, not GETTEXT_PACKAGE
4553 * tools/gst-launch.c: (main):
4554 check for ENABLE_NLS, not GETTEXT_PACKAGE
4556 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4559 if we don't have glib, fail before testing 2.8
4560 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4561 fix a leak, should fix plugins-base testsuite
4563 2005-10-11 Andy Wingo <wingo@pobox.com>
4565 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4566 take the mode we're going to as an arg. Go head and set the mode
4567 and flushing flags now, so that if the activate function starts a
4568 thread all the flags will be in the right state.
4569 (post_activate): Renamed also. Just handle making sure streaming
4570 finishes for the deactivation case, and setting the deactivated
4572 (gst_pad_set_active): Complain loudly if deactivation fails.
4573 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4574 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4575 remove the terrible hack.
4577 2005-10-11 Wim Taymans <wim@fluendo.com>
4579 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4580 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4581 (gst_bin_recalc_state), (gst_bin_change_state_func),
4582 (gst_bin_dispose), (bin_bus_handler):
4584 Prepare to make current EOS message queue more generic.
4587 * gst/gstevent.c: (gst_event_new_newsegment),
4588 (gst_event_parse_newsegment):
4590 Rename base to stream_time.
4595 2005-10-11 Wim Taymans <wim@fluendo.com>
4597 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4598 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4599 (gst_bin_change_state_func), (bin_bus_handler):
4601 Work on proper clock selection.
4603 2005-10-11 Edward Hervey <edward@fluendo.com>
4605 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4606 * libs/gst/controller/gstcontroller.h:
4607 Added GList* version of _remove_properties() in order to be able to wrap
4610 2005-10-11 Wim Taymans <wim@fluendo.com>
4612 * docs/design/part-states.txt:
4615 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4616 (gst_bin_change_state_func), (bin_bus_handler):
4617 Doc updates. Don't distribute the same clock over and over again.
4623 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4624 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4625 (gst_pad_send_event):
4627 Make probe emission threadsafe again.
4628 Register quarks and move _get_name() from utils.
4631 * gst/gstpipeline.c: (gst_pipeline_class_init),
4632 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4633 Only redistribute the clock of it changed.
4635 * gst/gstsystemclock.h:
4640 Moved the _flow_get_name() to GstPad.
4642 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4644 * check/gst-libs/gdp.c: (GST_START_TEST):
4645 * check/gst/gstcaps.c: (GST_START_TEST):
4646 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4647 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4648 (gst_dp_packet_from_caps):
4649 fix more valgrind warnings before turning up the heat
4651 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4653 * gst/parse/grammar.y:
4654 some cleanup before the hacking
4656 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4658 * gst/base/gstbasesrc.c: (gst_base_src_query):
4660 * gst/gstutils.c: (gst_guint64_to_gdouble),
4661 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4663 externalize, basesrc uses it
4664 obviously the implementation needs testing
4666 2005-10-10 Wim Taymans <wim@fluendo.com>
4668 * tests/sched/Makefile.am:
4669 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4670 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4672 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4674 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4675 apparently converting from guint64 to double is not implemented
4678 2005-10-10 Wim Taymans <wim@fluendo.com>
4680 * check/Makefile.am:
4681 * check/generic/states.c: (GST_START_TEST):
4682 * check/gst/gstbin.c: (GST_START_TEST):
4683 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4684 * check/states/sinks.c: (GST_START_TEST):
4685 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4687 Check fixes, use API as stated in design docs, remove hacks.
4689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4690 (gst_base_sink_change_state):
4691 Catch stopping our task while we're shutting down.
4693 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4694 (gst_bin_remove_func), (gst_bin_get_state_func),
4695 (gst_bin_recalc_state), (gst_bin_change_state_func),
4698 * gst/gstelement.c: (gst_element_init),
4699 (gst_element_get_state_func), (gst_element_abort_state),
4700 (gst_element_commit_state), (gst_element_lost_state),
4701 (gst_element_set_state), (gst_element_change_state),
4702 (gst_element_change_state_func):
4704 New state change algorithm (see #318116)
4706 * gst/gstpipeline.c: (gst_pipeline_class_init),
4707 (gst_pipeline_init), (gst_pipeline_set_property),
4708 (gst_pipeline_get_property), (do_pipeline_seek),
4709 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4710 * gst/gstpipeline.h:
4711 Remove crude state change hacks.
4716 * tools/gst-launch.c: (main):
4717 Fixes for state change. Needs some more work to fully use the
4720 2005-10-10 Andy Wingo <wingo@pobox.com>
4722 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4724 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4725 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4728 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4730 * gst/gstiterator.c: (gst_iterator_new):
4731 Fix my previous commit: GTypes passed to gst_iterator_new()
4732 can be fundamental types.
4734 2005-10-10 Wim Taymans <wim@fluendo.com>
4736 * gst/gstelement.c: (gst_element_iterate_pad_list),
4737 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4738 (gst_element_iterate_sink_pads):
4739 Use src/sink pads lists for the respective iterators instead
4742 2005-10-10 Andy Wingo <wingo@pobox.com>
4744 Merged in popt removal + GOption addition patch from Ronald, bug
4747 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4748 GstElement macros around, remove popt-related symbols, add goption
4751 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4753 * docs/gst/Makefile.am:
4754 * docs/libs/Makefile.am: No POPT_CFLAGS.
4756 * examples/manual/Makefile.am:
4757 * docs/manual/basics-init.xml: Doc updates with an example.
4759 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4760 (gst_init), (parse_one_option), (parse_goption_arg):
4761 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4762 bit of hand merging and debugging to get the GOption stuff working
4765 * tests/Makefile.am:
4766 * tools/Makefile.am:
4767 * tools/gst-inspect.c: (main):
4768 * tools/gst-launch.c: (main):
4769 * tools/gst-run.c: (main):
4770 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4772 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4774 * gst/gstiterator.c: (gst_iterator_new):
4775 Add assertions to make sure passed GType is likely to really
4776 be a GType (as the compiler won't catch it if the size and
4777 GType arguments get mixed up, see #318447).
4779 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4781 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4783 * gst/gstbin.c: (gst_bin_iterate_sorted):
4784 Pass GType and size arguments to gst_iterator_new() in the right
4785 order (maybe we should make _new() take the GType as first argument
4786 just like _new_list()?) (#318447).
4789 2005-10-10 Wim Taymans <wim@fluendo.com>
4791 * gst/gstelement.c: (gst_element_finalize):
4792 And free the GStaticRecMutex too
4794 2005-10-10 Andy Wingo <wingo@pobox.com>
4796 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4797 Allocate and free the mutex properly.
4799 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4801 (GstElement): The state_lock is now recursive. Rebuild your
4802 plugins, suckers. Old macros adapted.
4804 * docs/gst/gstreamer-sections.txt: Doc updates.
4807 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4808 (g_static_rec_cond_wait): Ported from state changes patch, while
4809 we wait on bug #317802 to be solved in a well-distributed GLib.
4811 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4812 gst_element_change_state, variable name changes.
4813 (gst_element_change_state): Split out of gst_element_set_state in
4814 preparation for the state change merge. Doesn't pay attention to
4815 the 'transition' argument.
4816 (gst_element_set_state): Updates, hopefully purely cosmetic.
4817 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4819 (gst_element_get_state_func): Renamed from get_state, cosmetic
4822 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4824 * gst/elements/gstelements.c:
4825 * win32/GStreamer.vcproj:
4827 * win32/dirent.c: (_tseekdir):
4828 * win32/gst-inspect.vcproj:
4829 * win32/gst-launch.vcproj:
4830 * win32/gstconfig.h:
4831 * win32/gstelements.vcproj:
4832 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4833 * win32/gstreamer.def:
4835 updates for the win32 build (patch from Sebastien Moutte)
4837 2005-10-10 Andy Wingo <wingo@pobox.com>
4839 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4840 gst_bin_get_state, cleaned up (but no logic changes).
4841 (bin_element_is_sink): Comment updates.
4842 (sink_iterator_filter): Remove needless cast.
4843 (gst_bin_iterate_sinks): Doc update.
4844 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4845 cleaned up (but no logic changes).
4847 * check/states/sinks.c (test_src_sink): Cleanups from the state
4849 (test_livesrc_sink): Sync on the state.
4851 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4852 the state change patch.
4854 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4857 * check/gst/gstbin.c: Merge in some style fixes and additional
4858 checks from Wim's state change patch.
4860 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4862 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4863 (gst_type_find_helper):
4864 Check whether we have the requested data already in our list of
4865 cached buffers before pulling a new buffer; also make the buffer
4866 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4868 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4873 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4874 don't use long long, it's not portable. Replacing with
4875 gint64 seems to work; let's hope no skeletons fall out of the closet.
4877 2005-10-10 Andy Wingo <wingo@pobox.com>
4879 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4881 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4883 * docs/gst/gstreamer-sections.txt:
4888 * gst/gstmessage.c: (gst_message_parse_state_changed):
4891 more docs, fix compilation
4893 2005-10-09 Philippe Khalaf <burger@speedy.org>
4895 Fixed a few forgotten variables on previous commit
4897 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4899 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4900 Fix evil typefind crasher: getrange() might return a short
4901 buffer at the end of a file, but gst_type_find_peek() must
4902 either return the full data as requested or NULL, but
4903 never a short buffer.
4905 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4907 * gst/gstmessage.c: (gst_message_new_state_changed),
4908 (gst_message_parse_state_changed):
4910 don't use "new", it's a C++ keyword
4912 2005-10-08 Wim Taymans <wim@fluendo.com>
4914 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4915 * gst/gstelement.c: (gst_element_post_message):
4916 * gst/gstpipeline.c: (gst_pipeline_change_state):
4917 Small docs and debug updates.
4919 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4921 * docs/gst/gstreamer-sections.txt:
4922 * gst/gstelementfactory.c:
4927 2005-10-08 Wim Taymans <wim@fluendo.com>
4929 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4930 (gst_bin_dispose), (bin_bus_handler):
4931 Fix typos, add comments.
4932 Clear EOS list when going to PAUSED from any direction and do it
4933 in a threadsafe way.
4934 Get base time in a threadsafe way too.
4935 Fix confusing debug in the change_state function.
4936 Various other small cleanups.
4938 * gst/gstelement.c: (gst_element_post_message):
4939 Fix very verbose bus posting code.
4941 * gst/gstpipeline.c: (gst_pipeline_class_init),
4942 (gst_pipeline_set_property), (gst_pipeline_get_property),
4943 (gst_pipeline_change_state):
4944 Small ARG_ -> PROP_ cleanup
4946 2005-10-08 Wim Taymans <wim@fluendo.com>
4948 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4949 Do a less CPU demanding EOS check because we can.
4951 2005-10-08 Wim Taymans <wim@fluendo.com>
4953 * libs/gst/dataprotocol/dataprotocol.c:
4954 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4955 (gst_dp_packet_from_event):
4956 * libs/gst/dataprotocol/dataprotocol.h:
4957 * libs/gst/dataprotocol/dp-private.h:
4958 It's about time we bump the version number.
4959 Since event types don't fit in the guint8 anymore describing
4960 the payload type, make payload type 16 bits wide.
4962 2005-10-08 Wim Taymans <wim@fluendo.com>
4964 * docs/design/part-TODO.txt:
4965 * docs/design/part-clocks.txt:
4966 * docs/design/part-events.txt:
4967 * docs/design/part-gstbin.txt:
4968 * docs/design/part-gstelement.txt:
4969 * docs/design/part-gstpipeline.txt:
4970 * docs/design/part-live-source.txt:
4971 * docs/design/part-messages.txt:
4972 * docs/design/part-overview.txt:
4973 * docs/design/part-states.txt:
4976 2005-10-08 Wim Taymans <wim@fluendo.com>
4980 Fix event quark registration.
4981 Add some space between events so we can insert them in the
4984 2005-10-08 Wim Taymans <wim@fluendo.com>
4986 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4987 (gst_base_sink_handle_buffer):
4994 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4995 (gst_queue_set_property), (gst_queue_get_property):
4997 Remove old unused properties.
4999 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5000 * docs/gst/gstreamer-sections.txt:
5003 * gst/gstminiobject.c:
5004 * gst/gstminiobject.h:
5008 lots of new docs and doc fixes
5010 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5012 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5014 * gst/gstregistry.c: (gst_registry_lookup_locked),
5015 (gst_registry_scan_path_level):
5016 * gst/gstregistryxml.c: (load_plugin):
5017 Only ever load one plugin for a given plugin basename.
5018 This ensures correct overriding of GST_PLUGIN_PATH over
5019 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5020 system installed plugins.
5022 2005-10-08 Wim Taymans <wim@fluendo.com>
5024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5025 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5026 Prepare for doing QOS.
5028 2005-10-08 Wim Taymans <wim@fluendo.com>
5030 * check/gst/gstbin.c: (GST_START_TEST):
5031 * check/pipelines/cleanup.c: (GST_START_TEST):
5032 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5033 Allow new clock message too.
5035 2005-10-08 Wim Taymans <wim@fluendo.com>
5037 * gst/gstmessage.c: (gst_message_new_error),
5038 (gst_message_new_warning), (gst_message_new_tag),
5039 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5040 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5041 (gst_message_new_segment_start), (gst_message_new_segment_done),
5042 (gst_message_parse_state_changed),
5043 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5044 (gst_message_parse_new_clock):
5046 Also carry the clock in question.
5048 2005-10-08 Wim Taymans <wim@fluendo.com>
5050 * gst/gstmessage.c: (gst_message_new_custom),
5051 (gst_message_new_eos), (gst_message_new_error),
5052 (gst_message_new_warning), (gst_message_new_tag),
5053 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5054 (gst_message_new_new_clock), (gst_message_new_segment_start),
5055 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5056 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5059 Added clock related messages.
5061 * gst/gstpipeline.c: (gst_pipeline_change_state):
5062 Post message when the clock changed.
5064 * tools/gst-launch.c: (event_loop):
5067 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5069 * tools/gst-inspect.c: (print_element_properties_info):
5070 Can't pass NULL strings to g_print() on windows.
5072 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5075 * docs/gst/Makefile.am:
5076 * docs/gst/gstreamer-docs.sgml:
5077 * docs/gst/running.xml:
5078 * docs/version.entities.in:
5079 add a chapter on running GStreamer.
5080 document GST_DEBUG and GST_PLUGIN* env vars
5082 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5087 remove PLUGINS_BUILDDIR stuff
5088 * gst/gst.c: (init_post):
5089 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5091 remove, it was condescending and not needed
5093 2005-10-08 Wim Taymans <wim@fluendo.com>
5095 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5096 (gst_base_sink_handle_object), (gst_base_sink_event),
5097 (gst_base_sink_wait), (gst_base_sink_handle_event),
5098 (gst_base_sink_change_state):
5099 * gst/base/gstbasesink.h:
5100 Repost EOS message while going to PLAYING if still EOS.
5101 Make sure that when receiving a FLUSH_START we don't attempt
5102 to sync on the clock anymore.
5104 2005-10-08 Wim Taymans <wim@fluendo.com>
5106 * tools/gst-launch.c: (event_loop):
5107 Better message printout.
5109 2005-10-08 Wim Taymans <wim@fluendo.com>
5111 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5112 (gst_bin_child_proxy_get_children_count):
5113 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5114 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5115 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5116 (gst_child_proxy_set_valist):
5117 * gst/parse/grammar.y:
5118 Make ChildProxy threadsafe and fix mem leaks.
5120 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5122 * gst/gst.c: (init_post):
5123 debug the GST_PLUGIN_ env vars
5125 2005-10-08 Wim Taymans <wim@fluendo.com>
5127 * check/gst/gstbin.c: (GST_START_TEST):
5128 * check/gst/gstmessage.c: (GST_START_TEST):
5129 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5130 * gst/gstelement.c: (gst_element_commit_state),
5131 (gst_element_lost_state):
5132 * gst/gstmessage.c: (gst_message_new_state_changed),
5133 (gst_message_parse_state_changed):
5135 * tools/gst-launch.c: (event_loop):
5136 Added extra field to STATE_CHANGE message with the pending
5137 state, which will be different from the new state soon.
5139 2005-10-08 Wim Taymans <wim@fluendo.com>
5141 * gst/gstbus.c: (gst_bus_pop):
5143 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5144 Small cleanups and doc updates.
5146 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5148 * gst/gst.c: (init_pre):
5149 * gst/gstbin.c: (gst_bin_add_func):
5150 log distributing clocks and base time
5151 * gst/gstregistry.c: (gst_registry_add_plugin),
5152 (gst_registry_scan_path_level), (gst_registry_scan_path):
5153 clean up the debugging output a little
5154 * gst/gstutils.c: (gst_element_state_get_name):
5155 warn about a memleak (I've actually seen this be used, though
5156 it was probably a bug)
5158 2005-10-07 Wim Taymans <wim@fluendo.com>
5160 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5161 (gst_base_src_init), (gst_base_src_default_newsegment),
5162 (gst_base_src_newsegment), (gst_base_src_do_seek),
5163 (gst_base_src_loop), (gst_base_src_start):
5164 * gst/base/gstbasesrc.h:
5165 Make the newsegment event customizable by subclasses.
5167 2005-10-07 Wim Taymans <wim@fluendo.com>
5169 * gst/gstevent.c: (gst_event_new_buffersize),
5170 (gst_event_parse_buffersize):
5172 New event for future idea.
5174 2005-10-07 Andy Wingo <wingo@pobox.com>
5176 * gst/gstelement.c (gst_element_post_message): Doc update.
5178 * docs/gst/gstreamer-sections.txt: Update.
5180 * gst/gstmessage.c (gst_message_new_application): Made into a
5181 function like honest API calls.
5182 (gst_message_new_element): New message type.
5184 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5186 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5187 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5190 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5191 NO_PREROLL from gst_element_change_state to fall through.
5193 2005-10-07 Wim Taymans <wim@fluendo.com>
5195 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5196 (gst_ghost_pad_do_activate_push):
5197 Activating a ghostpad with no internal pad in push mode
5200 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5203 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5204 Fixes compilation on Windows.
5206 2005-10-07 Michael Smith <msmith@fluendo.com>
5208 * tools/gst-inspect.c:
5209 Print out feature and plugin count at the end when printing out
5212 2005-10-04 Michael Smith <msmith@fluendo.com>
5214 * gst/gsterror.c: (_gst_stream_errors_init):
5215 Add another error string used in a few existing plugins.
5218 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5219 * tools/gst-inspect.c: (print_element_info):
5220 When a feature disappears from a plugin (and the feature exists in
5221 the cached registry file), things went horribly wrong. This isn't a
5222 complete fix, we should actually be removing the 'missing' features
5223 from the features list when we load the actual plugin. That's not
5226 2005-10-04 Johan Dahlin <johan@gnome.org>
5228 * check/gst/gstiterator.c: (GST_START_TEST):
5229 * gst/gstbin.c: (gst_bin_iterate_elements),
5230 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5231 * gst/gstelement.c: (gst_element_iterate_pads):
5232 * gst/gstformat.c: (gst_format_iterate_definitions):
5233 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5234 (gst_iterator_new_list), (gst_iterator_filter):
5235 * gst/gstiterator.h:
5236 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5237 Add a GType to GstIterator, update callsites and tests.
5239 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5241 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5242 give events a chance to be handled by event probes when the pad
5245 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5247 * gst/gstevent.c: (gst_event_type_get_name),
5248 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5250 add string representations for event types
5252 2005-10-06 Wim Taymans <wim@fluendo.com>
5254 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5255 Don't use NULL pointers.
5257 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5259 * gst/gst_private.h:
5263 * gst/gstpluginfeature.c:
5264 widen the debug category in output to fit the biggest one we have
5265 add a bus category and use it
5266 play with the colors
5267 fix up some categories
5269 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5271 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5272 add push activation of sink ghost pads.
5273 Andye, please verify
5275 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5277 * gst/gstutils.c: (gst_element_link_pads):
5278 fix a bug in the case where neither element has a pad
5279 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5280 add a test for that case
5282 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5284 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5285 emit have-data before checking for peers. This allows
5286 for probe handlers to connect elements. This helps autopluggers.
5287 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5289 add six checks, linked/unlinked with no/true/false probe
5291 2005-10-04 Wim Taymans <wim@fluendo.com>
5293 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5294 (gst_fake_sink_event), (gst_fake_sink_preroll),
5295 (gst_fake_sink_render), (gst_fake_sink_change_state):
5296 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5297 (gst_fake_src_get_property), (gst_fake_src_create),
5298 (gst_fake_src_stop):
5299 * gst/elements/gstidentity.c: (gst_identity_stop):
5300 Protect last_message with lock.
5302 2005-10-04 Edward Hervey <edward@fluendo.com>
5305 Added precision in the comments for GST_FORMAT_DEFAULT
5307 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5309 * tools/gst-launch.c: (main):
5310 Don't try to run erroneous pipelines.
5312 2005-10-04 Julien MOUTTE <julien@moutte.net>
5314 * gst/gstbus.c: We don't need this header.
5316 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5321 === release 0.9.3 ===
5323 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5327 Releasing 0.9.3, "Unregistered"
5329 2005-10-03 Andy Wingo <wingo@pobox.com>
5331 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5332 whereby calling a pad's activatepush() function can start a thread
5333 that starts to push or pull before the pad gets the FLUSHING flag
5334 unset. Hack around it by holding the stream lock until the flag is
5335 set. Need to replace this with a proper solution. Together with
5336 the ghost pad fixes, this fixes mp3 playing/tagreading.
5338 * docs/design/part-gstghostpad.txt: Add a note about activation of
5339 proxy pads outside of ghost pads.
5341 * gst/gstghostpad.c: Implement the ghost pad activation design.
5343 2005-10-02 Andy Wingo <wingo@pobox.com>
5345 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5346 It is volatile, after all.
5348 * docs/design/part-gstghostpad.txt: Flesh out activation with
5351 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5354 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5357 Fix (unused) AM_CONDITIONAL tests.
5359 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5361 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5363 * gst/gstutils.c: (gst_pad_query_convert):
5364 Add assertion that makes sure src_val is >=0, just like
5365 gst_query_new_convert() has. (#315895)
5367 2005-09-30 Edward Hervey <edward@fluendo.com>
5369 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5370 Let's not iterate pads we're not interested in, it avoids getting
5371 sky-high refcounts on sinkpad.
5373 2005-09-30 Wim Taymans <wim@fluendo.com>
5375 * gst/gstelement.c: (gst_element_set_state),
5376 (gst_element_change_state):
5377 Small tweak, element in ASYNC remains ASYNC.
5379 2005-09-30 Wim Taymans <wim@fluendo.com>
5381 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5382 Only error is an error.
5384 * gst/gstbin.c: (gst_bin_change_state):
5387 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5388 Also call pad_block in pad alloc.
5390 * gst/gstutils.c: (gst_flow_get_name):
5393 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5395 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5396 (gst_base_src_get_range):
5397 Fix documentation typos. Add some more debug info.
5399 2005-09-29 David Schleef <ds@schleef.org>
5401 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5402 more end-user friendly.
5403 * tools/gst-inspect.c: (main): Check if command-line argument is
5404 a file and attempt to load that file as a plugin.
5406 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5408 * check/gst/gstbin.c:
5409 * check/states/sinks.c:
5410 fix tests for the new warning
5411 * check/gst/gstpipeline.c:
5412 add a test for pipeline and bus interaction
5414 elements should be NULL if they get disposed; add a warning if not
5416 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5419 for 2.6 refcounting, make debug log more correct by printing
5420 the actual refcounts at the time of swap (Wim)
5422 2005-09-29 Andy Wingo <wingo@pobox.com>
5424 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5425 removes signal watches previously added via
5426 gst_bus_add_signal_watch.
5427 (gst_bus_add_signal_watch): Don't return the source id, just store
5428 it on the bus if there wasn't an id already.
5430 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5431 add_signal_watch and remove_signal_watch.
5433 2005-09-29 Edward Hervey <edward@fluendo.com>
5435 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5436 Better if we actually iterate the list :)
5438 2005-09-29 Wim Taymans <wim@fluendo.com>
5440 * check/gst/gstbin.c: (GST_START_TEST):
5441 Change for new bus API.
5443 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5444 (send_messages), (GST_START_TEST), (gstbus_suite):
5445 Change for new bus signal API.
5447 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5448 (gst_bus_source_prepare), (gst_bus_source_check),
5449 (gst_bus_create_watch), (gst_bus_add_watch_full),
5450 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5451 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5453 Remove support for multiple GSources operating on different
5454 message types as it is too complex and unneeded when using
5456 Added support for receiving signals from the bus.
5458 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5460 * docs/libs/tmpl/gstdataprotocol.sgml:
5461 * docs/manual/advanced-dataaccess.xml:
5462 * gst/elements/gstcapsfilter.c:
5464 rename filter-caps to caps property
5466 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5468 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5469 More robust fraction string parsing.
5471 * docs/pwg/appendix-porting.xml:
5472 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5474 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5476 * gst/gstcaps.c: (gst_caps_do_simplify):
5477 Thou shalt not free a structure and then continue using it
5478 in the next loop iteration.
5480 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5482 Add test case for caps simplification.
5484 2005-09-29 Wim Taymans <wim@fluendo.com>
5486 * check/gst/gstbin.c: (GST_START_TEST):
5489 2005-09-29 Wim Taymans <wim@fluendo.com>
5491 * check/gst/gstbin.c: (GST_START_TEST):
5494 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5495 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5496 (find_element), (gst_bin_sort_iterator_next),
5497 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5498 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5499 (gst_bin_change_state), (gst_bin_dispose):
5500 A bin does not have a bus, it gets the bus from the parent.
5502 * gst/gstelement.c: (gst_element_requires_clock),
5503 (gst_element_provides_clock), (gst_element_is_indexable),
5504 (gst_element_is_locked_state), (gst_element_change_state),
5505 (gst_element_set_bus_func):
5508 * gst/gstpipeline.c: (gst_pipeline_class_init),
5509 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5510 The pipeline provides a bus.
5512 2005-09-28 Johan Dahlin <johan@gnome.org>
5514 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5515 gst_structure_get_enum instead of gst_structure_get_int
5517 * gst/gststructure.c (gst_structure_get_enum): Impl.
5519 * gst/gststructure.h (gst_structure_get_enum): Add
5521 * docs/gst/gstreamer-sections.txt: Ditto
5523 * gst/gstmessage.c (gst_message_new_state_changed): Use
5524 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5525 which does introspection.
5526 Reviewed by Christian Schaller
5528 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5530 * gst/gstinfo.c: (gst_debug_log_default):
5531 don't do dummy g_strdup()s
5532 * libs/gst/controller/gstcontroller.c:
5533 (on_object_controlled_property_changed),
5534 (gst_controlled_property_new), (gst_controller_new_valist),
5535 (gst_controller_new_list),
5536 (gst_controller_remove_properties_valist), (gst_controller_set),
5537 (gst_controller_get), (gst_controller_sync_values),
5538 (gst_controller_get_value_array), (_gst_controller_class_init),
5539 (gst_controller_get_type):
5540 * libs/gst/controller/gstcontroller.h:
5541 * libs/gst/controller/gstinterpolation.c:
5542 (gst_controlled_property_find_timed_value_node):
5543 convert // to /**/ comments
5545 2005-09-28 Wim Taymans <wim@fluendo.com>
5547 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5548 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5549 (gst_bus_sync_signal_handler):
5551 Added async-message and sync-message signals to the bus.
5552 Added helper BusFunc to emit signals for all posted messages.
5554 * gst/gstmessage.c: (gst_message_type_get_name),
5555 (gst_message_type_to_quark), (gst_message_get_type):
5557 Register quarks for message names.
5559 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5561 * docs/libs/gstreamer-libs-sections.txt:
5562 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5563 (gst_controller_new_list):
5564 * libs/gst/controller/gstcontroller.h:
5565 added another constructor for language bindings
5567 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5569 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5573 * gst/gstinfo.c: (_gst_debug_init):
5574 slightly more readable color for refcount debugging
5576 2005-09-28 Wim Taymans <wim@fluendo.com>
5578 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5579 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5580 (find_element), (gst_bin_sort_iterator_next),
5581 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5582 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5583 (gst_bin_change_state), (gst_bin_dispose):
5584 Small doc fixes. get_clock -> provide_clock.
5586 * gst/gstelement.c: (gst_element_class_init),
5587 (gst_element_provides_clock), (gst_element_provide_clock),
5588 (gst_element_get_clock), (gst_element_commit_state),
5589 (gst_element_lost_state):
5591 Make get/set_clock() symetric. Add provide_clock vmethod since
5592 that is actually what this function does.
5594 * gst/gstpipeline.c: (gst_pipeline_class_init),
5595 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5596 (gst_pipeline_get_clock):
5597 get_clock -> provide_clock.
5599 2005-09-28 Andy Wingo <wingo@pobox.com>
5601 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5602 lieu of real docs...
5604 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5606 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5608 * gst/elements/gstcapsfilter.c:
5609 * gst/elements/gstfakesink.c:
5610 * gst/elements/gstfakesrc.c:
5611 * gst/elements/gstfdsink.c:
5612 * gst/elements/gstfdsrc.c:
5613 * gst/elements/gstfilesink.c:
5614 * gst/elements/gstfilesrc.c:
5615 * gst/elements/gstidentity.c:
5616 * gst/elements/gsttee.c:
5617 * gst/elements/gsttypefindelement.c:
5618 Make element details static.
5620 2005-09-28 Wim Taymans <wim@fluendo.com>
5622 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5623 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5624 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5625 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5626 (gst_bin_change_state), (gst_bin_dispose):
5627 Some documentation updates.
5628 Clean up dispose handlers.
5630 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5631 * gst/gstpad.c: (gst_pad_dispose):
5632 Clean up dispose handler.
5634 * gst/gstpipeline.c: (gst_pipeline_change_state):
5635 Removed spurious UNLOCK.
5637 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5639 * docs/gst/gstreamer-sections.txt:
5640 * gst/base/gstbasesrc.h:
5645 * gst/gstpipeline.c:
5646 * gst/gstpipeline.h:
5649 added two new functions to the docs
5650 documents all undocumented GstXXXFlags
5651 completed some incomplete docs
5653 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5655 * gst/gstbin.c: (gst_bin_dispose):
5656 * gst/gstelement.c: (gst_element_dispose):
5657 remove now useless and leaky resurrection code in dispose
5658 * gst/base/gstbasesrc.c: (gst_base_src_init):
5659 * gst/gstelementfactory.c: (gst_element_factory_create):
5660 * gst/gstobject.c: (gst_object_set_parent):
5663 2005-09-27 Wim Taymans <wim@fluendo.com>
5665 * docs/design/part-TODO.txt:
5668 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5669 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5670 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5671 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5672 (gst_bin_change_state):
5674 Remove element variable, we keep element info in the iterator now.
5676 2005-09-27 Andy Wingo <wingo@pobox.com>
5678 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5681 2005-09-27 Wim Taymans <wim@fluendo.com>
5683 * check/gst/gstbin.c: (GST_START_TEST):
5684 Enable check that works now.
5686 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5687 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5688 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5689 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5690 (gst_bin_change_state):
5692 Redid the state change algorithm using a topological sort algo.
5693 Handles all cases correctly.
5694 Exposed iterator for state change order.
5697 Temp storage for state changes. Need to get rid of this soon.
5699 2005-09-27 Wim Taymans <wim@fluendo.com>
5701 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5702 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5703 (link_fold_func), (gst_pad_proxy_setcaps):
5704 Leak fixes, the fold functions need to unref the passed object and
5705 _get_parent_*() returns ref to parent.
5707 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5709 * check/gst/gstbuffer.c: (test_make_writable):
5710 Plug leak in test case and fix 'make check-valgrind'
5712 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5714 * gst/gstbuffer.c: (gst_subbuffer_init):
5715 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5716 works correctly in all circumstances (we could have just copied
5717 the parent buffer's readonly flag, but conceptually it seems
5718 cleaner to mark all subbuffers as read-only). (based on patch
5719 by Alessandro Decina, #314710).
5721 * check/gst/gstbuffer.c: (create_read_only_buffer),
5722 (test_make_writable), (test_subbuffer_make_writable),
5724 Add some tests for gst_buffer_make_writable().
5726 2005-09-27 Wim Taymans <wim@fluendo.com>
5728 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5729 use gst_object_has_ancestor().
5731 * gst/gstobject.c: (gst_object_has_ancestor):
5733 gst_object_has_ancestor() copied from gstbin.c as it is a
5736 * tests/instantiate/create.c: (create_all_elements):
5737 * tests/lat.c: (handoff_src), (handoff_sink):
5738 * tests/sched/runxml.c: (main):
5739 * tests/seeking/seeking1.c: (main):
5740 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5742 Fix compilation of some tests.
5744 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5747 Remove comment. GST_TYPE_G_ERROR is here to stay,
5748 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5751 2005-09-26 Wim Taymans <wim@fluendo.com>
5753 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5754 Added check that shows error in state change order.
5756 2005-09-26 Wim Taymans <wim@fluendo.com>
5758 * gst/gstbin.c: (gst_bin_change_state):
5759 Make state change function use 3 queues again, we were
5760 adding elements in the wrong order.
5762 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5765 * gst/gstpad.c: (gst_pad_dispose):
5766 Added some debug info first.
5768 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5770 * docs/design/draft-push-pull.txt:
5771 * docs/design/part-events.txt:
5772 * docs/design/part-overview.txt:
5773 * docs/design/part-scheduling.txt:
5774 Replace all _pull_region() with _pull_range()
5776 2005-09-26 Andy Wingo <wingo@pobox.com>
5778 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5780 * check/gst-libs/controller.c: Update for controller api change.
5783 * tests/Makefile.am:
5784 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5785 over by GLib bug 118439.
5787 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5788 routines to a function.
5790 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5792 * libs/gst/controller/gsthelper.c:
5793 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5794 (gst_object_sync_values): Renamed from sink_values. Ugh.
5796 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5798 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5799 Renamed from controller_key, as it is exported.
5801 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5803 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5808 * gst/gstpadtemplate.h:
5811 * gst/gstqueryutils.c:
5812 * gst/gstqueryutils.h:
5813 remove queryutils headers after moving the two used functions
5814 to gstquery. also fixes build problem for gstsiddec
5816 2005-09-26 Michael Smith <msmith@fluendo.com>
5818 * tools/gst-launch.1.in:
5819 Correct documentation in manpage of debug syntax
5821 2005-09-26 Wim Taymans <wim@fluendo.com>
5823 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5824 (gst_base_src_is_seekable), (gst_base_src_change_state):
5825 Some more debugging info.
5827 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5829 * docs/gst/gstreamer-sections.txt:
5830 * gst/base/gstbasetransform.h:
5834 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5836 * docs/gst/.cvsignore:
5837 * docs/gst/tmpl/.cvsignore:
5838 * docs/gst/tmpl/gstpipeline.sgml:
5839 * docs/gst/tmpl/gstplugin.sgml:
5840 * gst/gstpipeline.c:
5843 inlined the last two docs files
5844 removed the tmpl directory from cvs (no more conflicts here!)
5846 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5848 * docs/gst/gstreamer-sections.txt:
5849 * docs/gst/tmpl/.cvsignore:
5850 * docs/gst/tmpl/gstpad.sgml:
5851 * docs/gst/tmpl/gstpadtemplate.sgml:
5853 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5854 (gst_pad_finalize), (gst_pad_set_pad_template):
5856 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5857 (gst_pad_template_class_init), (gst_pad_template_init),
5858 (gst_pad_template_dispose), (name_is_valid),
5859 (gst_static_pad_template_get), (gst_pad_template_new),
5860 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5861 (gst_pad_template_pad_created):
5862 * gst/gstpadtemplate.h:
5863 inlined two more docs
5864 factored gstpadtemplate out of gstpad
5866 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5868 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5869 (test_children_state_change_order_semi_sink):
5870 Fix test case: we can't rely on a fixed state change order when
5871 going from READY => PAUSED because the sink might commit its
5872 new state first when the first buffer created by the source
5873 reaches the sink before the source has finished its change state.
5874 (Test case still fails at times, see #316856, comment 5 onwards)
5876 2005-09-24 Wim Taymans <wim@fluendo.com>
5878 * docs/design/part-events.txt:
5879 * docs/design/part-gstbus.txt:
5880 * docs/design/part-gstpipeline.txt:
5881 * docs/design/part-messages.txt:
5882 * docs/design/part-overview.txt:
5883 * docs/design/part-segments.txt:
5890 * gst/gstiterator.c:
5891 Various documentation updates.
5893 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5896 Well, that's embarassing. Luckily we weren't using
5897 GST_CLOCK_DIFF anywhere.
5899 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5901 * common/gtk-doc.mak:
5902 don't fail on building XML, FC4 slave shows a bunch of doc
5903 missing bits that I don't get
5905 * gst/gstpipeline.c:
5906 * gst/gststructure.c:
5909 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5911 * docs/design/part-gstbin.txt:
5912 * docs/design/part-gstbus.txt:
5914 Add blurb about how the bus goes into flushing mode and
5915 drops all messages when its bin goes from READY into NULL
5918 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5920 * docs/gst/gstreamer-sections.txt:
5921 * gst/gststructure.c: (gst_structure_get_clock_time):
5922 * gst/gststructure.h:
5923 add a method to get a GstClockTime out of a structure
5925 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5927 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5928 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5929 Added test to check state change order in bins (can still be made
5930 to fail here under heavy disk load; bails out with 'Push on pad
5931 fakesink:sink0, but it was not activated in push mode').
5933 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5934 Fix state change order when there is only a semi sink (#316856)
5936 * gst/gstbus.c: (gst_bus_class_init):
5937 Use _class_peek_parent(), not _class_ref(); fix docs to say
5938 'default main context' instead of 'mainloop' where that is
5941 * gst/gstelement.c: (gst_element_commit_state),
5942 (gst_element_set_state):
5943 Fix typos in debug messages
5945 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5948 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5949 * gst/gstpluginfeature.c:
5952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5953 change an assert into an error until it gets fixed properly
5955 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5957 * docs/gst/gstreamer-sections.txt:
5958 * docs/gst/tmpl/.cvsignore:
5959 * docs/gst/tmpl/gstelement.sgml:
5960 * docs/gst/tmpl/gstinfo.sgml:
5961 * docs/gst/tmpl/gstobject.sgml:
5966 * gst/gstobject.c: (gst_object_class_init):
5968 inlined 3 more biiiig doc files and added some missing docs on the fly
5970 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5972 * check/gst/.cvsignore:
5973 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5974 * gst/gstregistryxml.c: (load_plugin),
5975 (gst_registry_xml_save_plugin):
5976 put back source in registry. add checks for find_plugin.
5977 * testsuite/states/bin.c: (assert_state), (empty_bin),
5978 (test_adding_one_element), (main):
5979 * testsuite/states/locked.c: (main):
5980 some compile/run fixes
5982 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5984 * check/gst/gstvalue.c: (GST_START_TEST):
5985 fix leaks in the test itself
5987 2005-09-22 Wim Taymans <wim@fluendo.com>
5989 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5990 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5991 (gst_base_sink_query):
5992 Prepare for more accurate position reporting and query
5995 * gst/gstelement.c: (gst_element_send_event),
5996 (gst_element_set_state):
5999 2005-09-22 Wim Taymans <wim@fluendo.com>
6001 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6002 (gst_query_parse_segment):
6005 Add segment query for future use.
6007 2005-09-22 Wim Taymans <wim@fluendo.com>
6009 * gst/gstbin.c: (gst_bin_add_func):
6010 Some more debug info.
6012 * gst/gstelement.c: (gst_element_send_event):
6016 Don't know how flags got broken.
6021 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6023 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6024 Add simplistic test suite for GST_TYPE_DATE serialisation and
6027 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6029 * docs/gst/gstreamer-sections.txt:
6030 * gst/gststructure.c: (gst_structure_set_valist),
6031 (gst_structure_get_date):
6032 * gst/gststructure.h:
6033 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6034 (gst_date_copy), (gst_value_compare_date),
6035 (gst_value_serialize_date), (gst_value_deserialize_date),
6036 (gst_value_transform_date_string),
6037 (gst_value_transform_string_date), (_gst_value_initialize):
6039 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6040 bunch of utility functions along with a hack that checks that
6041 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6042 is required. Part of the grand scheme in #170777.
6044 2005-09-22 Andy Wingo <wingo@pobox.com>
6046 * gst/gstconfig.h.in: Psych out gtk-doc.
6048 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6050 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6052 * tools/gst-inspect.c (print_element_list): Plug some
6053 inconsequential leaks.
6055 * gst/gstregistry.c (gst_registry_get_default): Doc.
6057 * check/gst/gstplugin.c:
6058 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6059 * gst/gstelementfactory.c (gst_element_factory_create):
6060 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6063 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6064 (gst_plugin_feature_load): Doc, don't eat refs.
6066 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6067 (gst_plugin_list_free): Doc.
6068 (gst_plugin_load_file): Doc updates.
6070 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6071 accessors returning refcounted objects, return a ref.
6073 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6074 accessor for caps. IDEMPOTENCE. Oh yes.
6076 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6078 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6080 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6081 (_gst_debug_register_funcptr):
6082 Add mutex to serialise access to the hash table with
6083 the function pointer => function name string mapping;
6084 make that hash table static scope (#316809).
6086 * gst/registries/.cvsignore:
6087 Remove left-over file.
6089 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6091 * docs/pwg/appendix-porting.xml:
6092 And something about newsegment events and caps-on-buffers to
6093 the porting guide (feel free to improve).
6095 2005-09-21 Andy Wingo <wingo@pobox.com>
6097 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6098 data and event probes on the same pad.
6099 (test_buffer_probe_once): Test that removing probes from within
6100 the probe functions works.
6102 2005-09-21 Andy Wingo <wingo@pobox.com>
6104 * check/gst/gstutils.c: New file.
6105 (test_buffer_probe_n_times): A simple buffer probe test. More to
6108 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6109 have-data::buffer, not have-data.
6110 (gst_pad_add_event_probe): Likewise for have-data::event.
6111 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6112 peer' isn't quite right yet though.
6113 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6114 (gst_pad_remove_data_probe): Change to take the guint handler_id
6115 as their arg, not the function+data, which is more glib-like.
6117 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6118 the signal emission to indicate if the data is a buffer or an
6120 (gst_pad_get_type): Initialize buffer and event quarks.
6121 (gst_pad_class_init): have-data is now a detailed signal, yes it
6124 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6126 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6127 * gst/gstutils.c: (gst_util_set_value_from_string),
6128 (gst_util_set_object_arg):
6129 Don't put functional code in g_return_if_fail() or
6130 g_return_val_if_fail() statements, otherwise things will
6131 break when G_DISABLE_CHECKS is defined during compilation.
6133 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6135 * docs/gst/tmpl/.cvsignore:
6136 * docs/gst/tmpl/gstvalue.sgml:
6139 inlied another one and added some obvious docs
6141 2005-09-21 Wim Taymans <wim@fluendo.com>
6143 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6144 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6145 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6146 (gst_fdsrc_get_property), (gst_fdsrc_create):
6147 * gst/elements/gstfdsrc.h:
6148 Properly implement fdsrc. Removed signal and timeout,
6149 better implemented somewhere else.
6151 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6153 * docs/gst/tmpl/.cvsignore:
6154 * docs/gst/tmpl/gstimplementsinterface.sgml:
6155 * gst/gstinterface.c:
6158 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6160 * docs/gst/gstreamer-sections.txt:
6161 * docs/gst/tmpl/.cvsignore:
6162 * docs/gst/tmpl/gstenumtypes.sgml:
6163 remove obsolete doc file
6165 2005-09-21 David Schleef <ds@schleef.org>
6167 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6168 little beer, fix a little leak.
6170 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6172 * docs/gst/gstreamer-docs.sgml:
6173 * docs/gst/gstreamer-sections.txt:
6174 * docs/gst/tmpl/.cvsignore:
6179 * gst/gstindex.c: (gst_index_class_init):
6181 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6182 (gst_index_factory_class_init), (gst_index_factory_init),
6183 (gst_index_factory_finalize), (gst_index_factory_new),
6184 (gst_index_factory_destroy), (gst_index_factory_find),
6185 (gst_index_factory_create), (gst_index_factory_make):
6186 * gst/gstindexfactory.h:
6187 * gst/gstpluginfeature.c:
6188 * gst/gstpluginfeature.h:
6189 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6190 more docs inlined, splitted gstindex.{c,h}
6192 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6194 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6197 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6199 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6200 Set sync to FALSE by default.
6202 2005-09-20 Wim Taymans <wim@fluendo.com>
6204 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6205 (gst_base_sink_init):
6206 Make sync property settable from subclass.
6208 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6209 (gst_fake_sink_change_state):
6210 Set sync to FALSE by default.
6212 2005-09-20 Wim Taymans <wim@fluendo.com>
6214 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6215 * tools/gst-launch.c: (main):
6216 The timeout handler should have lower priority than the source
6217 so we don't timeout before popping a message with 0 timeout.
6218 Dump error messages after failed state change.
6220 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6222 * tools/gst-inspect.c: (print_element_properties_info):
6225 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6227 * check/gst/gstevent.c:
6228 * gst/elements/gstfakesink.c:
6229 * gst/elements/gstfakesink.h:
6230 remove the sync property from fakesink.
6231 has the side effect of setting sync TRUE
6232 for fakesink, which is a change. Anyone who knows how
6233 to fix this nicely in a GObject-y way, feel free.
6235 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6237 * docs/gst/gstreamer-docs.sgml:
6238 remove probe refsection
6240 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6242 * check/Makefile.am:
6243 disable valgrinding the controller test again
6244 * docs/gst/gstreamer-sections.txt:
6245 update for api-changes
6247 2005-09-20 Wim Taymans <wim@fluendo.com>
6249 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6250 (gst_base_sink_set_property), (gst_base_sink_get_property),
6251 (gst_base_sink_do_sync):
6252 * gst/base/gstbasesink.h:
6253 Added sync property to basesink to disable clock sync.
6255 2005-09-20 Andy Wingo <wingo@pobox.com>
6257 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6258 eating the caller's refcount.
6260 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6261 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6264 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6265 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6266 of GLib 2.8 public, so we can know which refcount to check in
6269 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6270 (gst_object_init): Only set the gst refcount if we're going ahead
6271 with the refcount hack.
6273 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6275 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6276 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6277 more leaks plumbed, added more debug-logging
6281 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6284 remove include of gstmemchunk.h
6286 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6288 * gst/gstclock.c: (_gst_clock_id_free):
6289 Commit from the Political Party For More Atomic CVS Commits,
6290 so that people don't waste too much of their day fishing
6291 out obvious leaks out of massive commits.
6292 Oh, and fix a pretty damn obvious leak in the memchunk
6295 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6297 * check/Makefile.am:
6298 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6299 plug mem-leak, re-add to valgrindable tests
6301 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6304 unbreak the build for those who have chronic arthritis
6305 and typing "make check" is just too taxing on the hands
6307 2005-09-20 Andy Wingo <wingo@pobox.com>
6309 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6310 really want it out, you should fix plugins at the same time.
6312 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6315 * docs/gst/gstreamer-sections.txt:
6317 added missing symbols to api docs
6318 disable ref-count hack if we have glib >= 2.8
6320 2005-09-19 David Schleef <ds@schleef.org>
6322 * docs/gst/Makefile.am: Ignore a few more internal headers
6323 * docs/gst/gstreamer-docs.sgml: Remove old sections
6324 * docs/gst/gstreamer-sections.txt: Remove old sections
6325 * docs/gst/tmpl/gstobject.sgml: update
6326 * docs/gst/tmpl/gstplugin.sgml: update
6327 * docs/gst/tmpl/gstpluginfeature.sgml: update
6328 * docs/random/ds/0.9-suggested-changes: update.
6329 * gst/Makefile.am: remove memchunk and trashstack, since they're
6331 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6332 * gst/gst.h: don't include some headers
6333 * gst/gstchildproxy.c: add gstmarshal.h
6334 * gst/gstclock.c: Don't use memchunks
6335 * gst/gstminiobject.c: Add some docs
6336 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6337 * gst/gstobject.h: same
6338 * gst/gstplugin.c: include gstmacros.h
6339 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6340 * gst/gstquery.c: don't use memchunks
6341 * gst/gstregistry.c: rename gst_registry_deinit()
6342 * gst/gstregistry.h: same
6344 2005-09-19 David Schleef <ds@schleef.org>
6346 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6347 * docs/libs/gstreamer-libs-sections.txt:
6348 * docs/libs/tmpl/gstgetbits.sgml:
6349 * docs/libs/tmpl/gstputbits.sgml:
6351 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6353 * win32/gstenumtypes.c:
6354 * win32/gstenumtypes.h:
6357 2005-09-19 Wim Taymans <wim@fluendo.com>
6359 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6360 Automatically PAUSE and RESUME a pipeline when a flushing seek
6363 2005-09-19 Andy Wingo <wingo@pobox.com>
6365 * gst/gstregistry.h: Spacing fixen.
6367 2005-09-19 Wim Taymans <wim@fluendo.com>
6369 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6370 Handle state change failure more correctly.
6372 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6374 * check/Makefile.am:
6375 * check/pipelines/cleanup.c: (run_pipeline):
6376 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6378 enable cleanup again after fixing the leak
6380 some more info on docs
6382 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6384 * check/Makefile.am:
6385 re-enable tests now that leaks are plugged
6387 * check/gst/gstbin.c:
6388 * check/gst/gstpipeline.c:
6389 add some more tests while fixing leaks
6391 make sure binaries are uptodate when valgrinding/gdbing
6393 * gst/gstelementfactory.c:
6394 remove a ref too many, and add a FIXME for when we get
6395 round to disposing of classes
6397 fix the refcounting when loading a plugin from a file and
6398 the code pretends that the pointer is the same even though
6399 of course it can change
6400 * gst/gstpluginfeature.c:
6401 unref plugins marked cached (a bit confusing as a name)
6402 as the docs state should be done
6403 various doc additions to explain refcounting
6404 * gst/gstregistry.c:
6405 * gst/gstregistryxml.c:
6408 2005-09-19 Wim Taymans <wim@fluendo.com>
6410 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6411 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6412 (send_messages), (GST_START_TEST), (gstbus_suite):
6413 * check/gst/gstpipeline.c: (GST_START_TEST):
6414 * check/pipelines/cleanup.c: (run_pipeline):
6415 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6417 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6418 (gst_bus_source_check), (gst_bus_source_dispatch),
6419 (gst_bus_create_watch), (gst_bus_add_watch_full),
6420 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6422 * tools/gst-launch.c: (event_loop):
6423 * tools/gst-md5sum.c: (event_loop):
6424 GstBusHandler -> GstBusFunc, return value has the same meaning as
6425 any other GSource (FALSE == remove source).
6426 _add_watch() and _add_watch_full() now take a MessageType mask to
6427 only handle specific types of messages.
6428 _poll() returns the GstMessage instead of the message type to avoid
6430 _have_pending() takes a MessageType mask now too.
6431 Added testsuite for multiple bus watches.
6432 Fix testsuites and applications for new bus API.
6434 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6436 * check/Makefile.am:
6437 mark a bunch of the tests as to fix until we fix them
6439 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6442 use GST_PLUGIN settings for valgrind tests as well, so we're
6443 valgrinding the correct thing
6444 * gst/gst.c: (init_post):
6447 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6449 * gst/gst.c: (init_post), (gst_deinit):
6450 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6451 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6452 * gst/gstindex.c: (gst_index_factory_class_init),
6453 (gst_index_factory_finalize):
6454 * gst/gstobject.c: (gst_object_dispose):
6455 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6456 (gst_plugin_load_file), (gst_plugin_desc_free):
6457 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6458 (gst_plugin_feature_finalize):
6459 * gst/gstregistry.c: (gst_registry_class_init),
6460 (gst_registry_init), (gst_registry_finalize),
6461 (gst_registry_get_default), (gst_registry_deinit):
6462 * gst/gstregistry.h:
6463 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6464 various cleanups and memleak plugging. make valgrind is happy now.
6466 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6469 add a check-valgrind target
6471 2005-09-18 David Schleef <ds@schleef.org>
6473 * tools/gst-inspect.c: Revert the GOption code.
6475 2005-09-17 David Schleef <ds@schleef.org>
6477 * check/Makefile.am: Fix environment variables.
6478 * check/gst/gstplugin.c: Fix for API changes.
6479 * tools/gst-inspect.c: Fix for API changes.
6480 * tools/gst-xmlinspect.c: Fix for API changes.
6481 * gst/gstelementfactory.c:
6484 * gst/gstpluginfeature.c:
6485 * gst/gstpluginfeature.h:
6486 * gst/gstregistry.c:
6487 * gst/gstregistry.h:
6488 * gst/gstregistryxml.c:
6489 * gst/gsttypefind.c:
6490 * gst/gsttypefindfactory.c:
6491 * gst/indexers/gstfileindex.c:
6492 * gst/indexers/gstmemindex.c:
6493 * gst/schedulers/Makefile.am:
6494 Change registry to keep track of both plugins and features,
6495 removing the feature tracking from plugins themselves.
6497 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6499 * check/Makefile.am:
6500 * tools/gst-register.1.in:
6503 2005-09-15 David Schleef <ds@schleef.org>
6505 * check/gst/gstplugin.c:
6506 * gst/gstelementfactory.c:
6508 * gst/gstpluginfeature.c:
6509 * gst/gstregistry.c:
6510 Getting tired of debugging. Disabled all the unreffing of
6511 plugins and features, which fixes the segfaults, but of
6512 course leaks like crazy. At least playbin works.
6514 2005-09-15 David Schleef <ds@schleef.org>
6516 * check/gst/gstplugin.c: (register_check_elements),
6517 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6519 * gst/elements/gsttypefindelement.c: Fix refcounting.
6520 * gst/gsttypefind.c:
6521 * gst/gsttypefindfactory.c:
6522 * gst/gsttypefindfactory.h:
6524 2005-09-15 David Schleef <ds@schleef.org>
6526 * gst/gstindex.c: get refcounting correct.
6527 * gst/gstregistry.c: Handle the case where a feature/plugin is
6530 2005-09-15 David Schleef <ds@schleef.org>
6532 * check/Makefile.am:
6533 * check/gst/gstplugin.c: Add test
6534 * gst/gstplugin.c: Fix problems noticed by testsuite
6536 * gst/gstregistry.c:
6537 * gst/gstregistry.h:
6539 2005-09-15 David Schleef <ds@schleef.org>
6541 * gst/gstplugin.c: Implement semi-decent recounting and locking
6542 in plugins and plugin features.
6544 * gst/gstpluginfeature.c:
6545 * gst/gstpluginfeature.h:
6546 * gst/gstregistry.c:
6548 2005-09-15 Michael Smith <msmith@fluendo.com>
6550 * gst/gstregistry.c: (gst_registry_get_feature_list):
6551 Implement this. Makes oggdemux work; decodebin still broken.
6553 2005-09-14 David Schleef <ds@schleef.org>
6555 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6557 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6558 * gst/check/Makefile.am:
6559 * libs/gst/controller/Makefile.am:
6560 * libs/gst/dataprotocol/Makefile.am:
6562 2005-09-14 David Schleef <ds@schleef.org>
6564 * configure.ac: Remove getbits library. Nothing uses it, and
6565 it should be in something like liboil if someone did want
6567 * libs/gst/Makefile.am:
6568 * libs/gst/getbits/Makefile.am:
6569 * libs/gst/getbits/gbtest.c:
6570 * libs/gst/getbits/getbits.c:
6571 * libs/gst/getbits/getbits.h:
6572 * libs/gst/getbits/gstgetbits_generic.c:
6573 * libs/gst/getbits/gstgetbits_i386.s:
6574 * libs/gst/getbits/gstgetbits_inl.h:
6576 2005-09-14 David Schleef <ds@schleef.org>
6578 * gst/Makefile.am: Dist glib-compat.h
6580 2005-09-14 David Schleef <ds@schleef.org>
6582 * configure.ac: Remove gst/registries, since it's no longer used.
6583 * gst/registries/Makefile.am:
6584 * gst/registries/gstlibxmlregistry.c:
6585 * gst/registries/gstlibxmlregistry.h:
6586 * gst/registries/gstxmlregistry.c:
6587 * gst/registries/gstxmlregistry.h:
6588 * gst/registries/registrytest.c:
6590 2005-09-14 David Schleef <ds@schleef.org>
6592 * gst/glib-compat.h:
6593 * gst/gstregistryxml.c:
6594 Convergence is near. Seriously.
6596 2005-09-14 David Schleef <ds@schleef.org>
6598 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6599 * gst/glib-compat.h:
6600 Attempt #4 to appease the buildbots.
6602 2005-09-14 David Schleef <ds@schleef.org>
6604 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6607 2005-09-14 David Schleef <ds@schleef.org>
6609 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6612 2005-09-14 David Schleef <ds@schleef.org>
6614 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6617 2005-09-14 David Schleef <ds@schleef.org>
6619 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6620 * gst/glib-compat.h: Add some functions that are in newer versions
6621 of glib than we care to require.
6622 * gst/gstregistryxml.c: Use them.
6624 2005-09-14 David Schleef <ds@schleef.org>
6626 * po/POTFILES.in: remove gst-register.c
6628 2005-09-14 David Schleef <ds@schleef.org>
6630 * docs/gst/gstreamer-docs.sgml:
6631 * docs/gst/gstreamer-sections.txt:
6632 * docs/gst/gstreamer.types:
6633 * docs/gst/tmpl/gstelement.sgml:
6634 * docs/gst/tmpl/gstplugin.sgml:
6635 * docs/gst/tmpl/gstpluginfeature.sgml:
6636 Documentation updates for registry changes.
6638 2005-09-14 David Schleef <ds@schleef.org>
6640 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6641 because we don't require glib-2.8.
6643 2005-09-14 David Schleef <ds@schleef.org>
6645 * gst/gstregistryxml.c: Added. Essentially moved out of the
6646 registries directory.
6648 2005-09-14 David Schleef <ds@schleef.org>
6650 * check/Makefile.am:
6651 * check/generic/states.c:
6655 * gst/gst_private.h:
6656 * gst/gstelementfactory.c:
6661 * gst/gstpluginfeature.c:
6662 * gst/gstpluginfeature.h:
6663 * gst/gstregistry.c:
6664 * gst/gstregistry.h:
6665 * gst/gstregistrypool.c: remove
6666 * gst/gstregistrypool.h: remove
6667 * gst/gsttypefind.c:
6668 * gst/gsttypefindfactory.c:
6670 * tools/Makefile.am:
6671 * tools/gst-compprep.c:
6672 * tools/gst-inspect.c:
6673 * tools/gst-register.c: remove
6674 * tools/gst-xmlinspect.c:
6675 Registry rewrite. Changes registry from being a file created
6676 by a tool into a simple cache file created automatically by
6677 libgstreamer. Removed gst-register (because it's no longer
6678 needed). Remove registry pools, because we only have one
6679 registry implementation (XML). Fix up other subsystems as
6682 2005-09-13 Michael Smith <msmith@fluendo.com>
6684 * gst/gstconfig.h.in:
6685 Don't Use windows linking attributes for MinGW. Fixes #316157
6687 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * gst/gstutils.c: (set_state_async_thread_func),
6690 (gst_element_set_state_async):
6691 Apparently people think it's better if this function doesn't
6692 try to set the state to whatever state was asked for on the first
6693 call to this function for any object. Seriously.
6695 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6697 * check/gst/gstpipeline.c: (GST_START_TEST):
6698 * docs/gst/gstreamer-sections.txt:
6699 * gst/gstutils.c: (set_state_async_thread_func),
6700 (gst_element_set_state_async):
6702 add a "gst_element_set_state_async" method that
6703 sets the state and starts a thread to make sure the state
6704 change completes as best as it can
6706 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6708 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6709 codify design+behaviour in testsuite after discussion
6711 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6713 * docs/gst/tmpl/gstelement.sgml:
6714 * docs/manual/appendix-quotes.xml:
6716 * gst/gstelement.c: (gst_element_set_state):
6719 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6721 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6722 (gst_base_transform_prepare_output_buf),
6723 (gst_base_transform_handle_buffer):
6724 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6725 (gst_capsfilter_prepare_buf):
6726 Remove the requirement for sub-classes to call the parent
6727 implementation of prepare_output_buffer with a wrapper function.
6730 * gst/gsttagsetter.h:
6733 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6735 * docs/gst/gstreamer-sections.txt:
6738 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6740 * docs/gst/gstreamer-sections.txt:
6741 * docs/gst/tmpl/gstelement.sgml:
6742 * docs/gst/tmpl/gstplugin.sgml:
6743 * gst/gstminiobject.c:
6745 docs now stop throwing warnings
6747 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6749 * docs/gst/gstreamer-sections.txt:
6750 * docs/gst/gstreamer.types:
6751 * docs/gst/tmpl/gstpad.sgml:
6752 * docs/gst/tmpl/gsttypes.sgml:
6753 * gst/base/gstadapter.h:
6754 * gst/base/gstbasesink.h:
6755 * gst/base/gstbasesrc.h:
6765 * gst/gststructure.c:
6766 * gst/registries/gstlibxmlregistry.h:
6767 various documentation fixes
6769 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6771 * docs/gst/gstreamer-sections.txt:
6772 * docs/gst/tmpl/gstvalue.sgml:
6773 rearrange gstvalue section
6774 * gst/gstutils.c: (gst_element_state_get_name):
6776 * gst/gstvalue.c: (_gst_value_initialize):
6780 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6782 * check/gst-libs/controller.c:
6784 * gst/base/gstbasetransform.c:
6785 (gst_base_transform_default_prepare_buf),
6786 (gst_base_transform_handle_buffer):
6787 * gst/base/gstbasetransform.h:
6788 Some more basetransform changes and fixes to enable sub-classes
6789 that modify buffer metadata only.
6790 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6791 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6792 (gst_capsfilter_prepare_buf):
6793 If the output pad has fixed allowed caps and input buffers
6794 don't have any, set the fixed caps on outgoing buffers.
6796 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6797 * check/elements/identity.c: (GST_START_TEST):
6798 Make the error a little clearer when the test fails because
6799 identity made a copy of the buffer.
6800 * docs/gst/gstreamer-sections.txt:
6801 New symbols in gstbasetransform.h
6802 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6803 (gst_base_transform_init), (gst_base_transform_transform_size),
6804 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6805 (gst_base_transform_default_prepare_buf),
6806 (gst_base_transform_get_unit_size),
6807 (gst_base_transform_buffer_alloc),
6808 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6809 (gst_base_transform_change_state),
6810 (gst_base_transform_set_passthrough),
6811 (gst_base_transform_set_in_place),
6812 (gst_base_transform_is_in_place):
6813 * gst/base/gstbasetransform.h:
6814 Change BaseTransform to separate in_place operate from same_caps
6815 output. in_place implies that the element can perform the transform
6816 on incoming buffers in-place, even if the caps on the output are
6818 Sub-class elements can now implement special buffer allocation
6819 methods for outgoing buffers if they wish to.
6820 Big documentation addition.
6821 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6822 * gst/elements/gstelements.c:
6823 Changes for basetransform modifications.
6824 * gst/elements/Makefile.am:
6825 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6826 Compile fix. Extra debug output.
6828 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6830 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6832 add tests for valid pad naming
6833 * gst/check/gstcheck.c: (gst_check_log_message_func),
6834 (gst_check_log_critical_func):
6836 remove printing of code, it is fragile when the code contains
6837 % and the line number is enough info
6838 * gst/check/gstcheck.h:
6839 * gst/gstpad.c: (gst_pad_template_new):
6842 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6845 say what CHECK flags we use
6846 * docs/libs/gstreamer-libs.types:
6847 * libs/gst/controller/Makefile.am:
6848 * libs/gst/controller/gst-controller.c:
6849 * libs/gst/controller/gst-controller.h:
6850 * libs/gst/controller/gst-helper.c:
6851 * libs/gst/controller/gst-interpolation.c:
6852 * libs/gst/controller/gstcontroller.c:
6853 * libs/gst/controller/gsthelper.c:
6854 * libs/gst/controller/gstinterpolation.c:
6855 * tools/gst-inspect.c: (print_plugin_info):
6856 we don't use dashes in header names
6858 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6860 * check/Makefile.am:
6861 * check/gst/.cvsignore:
6862 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6863 (gst_pipeline_suite), (main):
6864 adding a test for pipelines and state changes
6865 * gst/gstutils.c: (get_state_func):
6867 * gstreamer.spec.in:
6870 2005-09-08 Michael Smith <msmith@fluendo.com>
6872 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6873 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6874 (gst_file_src_is_seekable), (gst_file_src_get_size),
6875 (gst_file_src_start):
6876 * gst/elements/gstfilesrc.h:
6877 Various fixes for unseekable, unmmapable, and non-normal files, so
6878 that fallback to read() rather than mmap() works.
6879 * gst/gstevent.c: (gst_event_new_newsegment):
6880 Allow newsegment events with segment_start == segment_end, as will
6881 correctly happen if you use filesrc on a zero-size file, for
6884 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6886 * gst/gstplugin.c: (gst_plugin_load_file):
6887 Call g_module_close when we don't load the module
6889 * gst/registries/gstlibxmlregistry.c:
6890 (gst_xml_registry_get_property):
6891 Port leak fix from 0.8
6893 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6895 * docs/gst/gstreamer-docs.sgml:
6896 * docs/gst/tmpl/.cvsignore:
6897 * docs/gst/tmpl/gsttrace.sgml:
6898 * docs/gst/tmpl/gsttrashstack.sgml:
6907 * gst/gsttaginterface.c:
6908 * gst/gsttaginterface.h:
6911 * gst/gsttagsetter.c:
6912 * gst/gsttagsetter.h:
6915 * gst/gsttrashstack.c:
6916 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6917 inlined docs for gsttrace, gsttrashstack
6919 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6922 * gst/elements/gstbufferstore.h:
6923 * gst/elements/gsttypefindelement.c:
6924 * gst/elements/gsttypefindelement.h:
6926 * gst/gsttypefind.c:
6927 * gst/gsttypefind.h:
6928 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6929 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6930 (gst_type_find_factory_dispose),
6931 (gst_type_find_factory_unload_thyself),
6932 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6933 (gst_type_find_factory_get_caps),
6934 (gst_type_find_factory_get_extensions),
6935 (gst_type_find_factory_call_function):
6936 * gst/gsttypefindfactory.h:
6937 * gst/registries/gstlibxmlregistry.c:
6938 * gst/registries/gstxmlregistry.c:
6939 splitted gsttypefind into gsttypefind, gsttypefindfactory
6941 2005-09-07 Andy Wingo <wingo@pobox.com>
6943 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6944 condition whereby the pad's task function is entered before the
6945 pad_mode variable was set.
6947 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6949 * gst/gstpad.c: (gst_pad_alloc_buffer):
6950 Catch misbehaving pad_alloc functions that don't
6951 set up caps and do it for them.
6953 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6955 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6957 * docs/gst/tmpl/.cvsignore:
6958 * docs/gst/tmpl/gstmemchunk.sgml:
6959 * docs/gst/tmpl/gstparse.sgml:
6960 * docs/gst/tmpl/gsttaglist.sgml:
6961 * docs/gst/tmpl/gsttagsetter.sgml:
6962 * docs/gst/tmpl/gsttypefind.sgml:
6963 * docs/gst/tmpl/gsttypefindfactory.sgml:
6964 * gst/gstmemchunk.c:
6967 * gst/gsttaginterface.c:
6968 * gst/gsttypefind.c:
6969 * gst/gsttypefind.h:
6972 === release 0.9.2 ===
6974 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6979 releasing 0.9.2, "South"
6981 2005-09-05 Andy Wingo <wingo@pobox.com>
6983 * gst/registries/gstxmlregistry.h:
6984 * gst/registries/gstxmlregistry.c: Um... resurrect...
6986 * gst/registries/gstxmlregistry.h:
6987 * gst/registries/gstxmlregistry.c: and update to newer API.
6988 Incidentally they should be a bit faster now that they don't have
6991 2005-09-05 Andy Wingo <wingo@pobox.com>
6993 * gst/registries/gstxmlregistry.h:
6994 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6995 replaced by the libxml registry a while back
6997 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6999 * docs/gst/tmpl/gstplugin.sgml:
7000 * gst/elements/gstelements.c:
7002 * gst/gstplugin.c: (gst_plugin_register_func),
7003 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7004 (gst_plugin_get_source):
7006 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7007 (gst_xml_registry_save_plugin):
7008 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7009 (gst_xml_registry_save_plugin):
7010 * tools/gst-inspect.c: (print_plugin_info):
7011 add a "source" plugin description field, to represent the source
7012 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7013 will set it to PACKAGE, which is automake's idea of the name of
7016 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7022 * docs/faq/Makefile.am:
7023 * docs/gst/tmpl/gstelement.sgml:
7024 * docs/gst/tmpl/gsttypes.sgml:
7025 * docs/htmlinstall.mak:
7026 * docs/manual/Makefile.am:
7027 * docs/pwg/Makefile.am:
7028 reorganize doc build a little
7029 split out docbook and gtk-doc stuff
7030 have two separate --enable's and enable them through autogen
7031 but disable by default in configure (to be similar to other
7033 * gstreamer.spec.in:
7034 clean up docs install
7054 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7056 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7059 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7060 (gst_fake_sink_change_state):
7061 Make state change function thread-safe.
7063 * gst/gstpad.c: (gst_pad_alloc_buffer):
7064 Set offset on generic buffer allocated by fallback.
7066 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7068 * docs/gst/gstreamer-sections.txt:
7069 * docs/gst/tmpl/gstelement.sgml:
7071 * libs/gst/controller/gst-controller.c:
7072 (gst_controlled_property_set_interpolation_mode),
7073 (gst_controlled_property_new),
7074 (gst_controller_find_controlled_property):
7075 run the wingo-magic script against the docs
7077 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7079 * docs/gst/gstreamer-docs.sgml:
7080 * docs/gst/gstreamer-sections.txt:
7081 * docs/gst/tmpl/.cvsignore:
7082 * docs/gst/tmpl/gstelementdetails.sgml:
7083 * docs/gst/tmpl/gstelementfactory.sgml:
7086 * gst/gstelementfactory.c:
7087 * gst/gstelementfactory.h:
7088 merged elementdetails docs into elementfactory docs
7091 2005-09-02 Andy Wingo <wingo@pobox.com>
7093 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7094 consider this enum an enum and not a flags.
7096 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7098 * docs/gst/gstreamer-docs.sgml:
7099 * docs/gst/tmpl/.cvsignore:
7100 * docs/gst/tmpl/gstghostpad.sgml:
7101 * docs/gst/tmpl/gstiterator.sgml:
7102 * docs/gst/tmpl/gstmacros.sgml:
7103 * docs/gst/tmpl/gstrealpad.sgml:
7104 * docs/gst/tmpl/gstregistry.sgml:
7105 * docs/gst/tmpl/gstregistrypool.sgml:
7106 * docs/gst/tmpl/gststructure.sgml:
7107 * docs/gst/tmpl/gstsystemclock.sgml:
7108 * docs/gst/tmpl/gsttrace.sgml:
7109 * gst/gstghostpad.c:
7111 * gst/gstmemchunk.c:
7112 * gst/gstmemchunk.h:
7114 * gst/gstregistry.c:
7115 * gst/gstregistrypool.c:
7116 * gst/gststructure.c:
7117 * gst/gstsystemclock.c:
7120 2005-09-02 Andy Wingo <wingo@pobox.com>
7122 * gst/gstelement.h (GstState): Renamed from GstElementState,
7123 changed to be a normal enum instead of flags.
7124 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7125 munged to be GST_STATE_CHANGE_*.
7126 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7127 work with the new state representation.
7128 (GstStateChange): New enumeration of possible state transitions.
7129 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7130 (GstElementClass::change_state): Pass the GstStateChange along as
7131 an argument. Helps language bindings, so they don't have to use
7132 tricky lock-needing macros like GST_STATE_CHANGE ().
7134 * scripts/update-states (file): New script. Run it on a file to
7135 update it for state naming and API changes. Updates files in
7138 * All files updated for the new API.
7140 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7142 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7143 * gst/gstutils.c: (gst_util_set_value_from_string),
7144 (gst_util_set_object_arg):
7145 fix a bunch of unchecked return values
7146 * tools/gst-complete.c: (main):
7147 * gstreamer.spec.in:
7150 2005-09-01 Wim Taymans <wim@fluendo.com>
7152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7153 (gst_base_sink_event), (gst_base_sink_do_sync),
7154 (gst_base_sink_handle_event):
7155 * gst/base/gstbasesink.h:
7156 Handle newsegments more correctly.
7161 * gst/gstevent.c: (gst_event_new_newsegment):
7162 A newsegment cannot have a start_time of -1
7164 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7166 * win32/gstenumtypes.c:
7167 * win32/gstenumtypes.h:
7170 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7172 * libs/gst/controller/gst-controller.c:
7173 (gst_controlled_property_set_interpolation_mode),
7174 (gst_controlled_property_new):
7177 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7179 * docs/faq/gst-uninstalled:
7184 * gst/gstutils.c: (gst_element_link_filtered):
7186 add gst_element_link_filtered
7188 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7190 * docs/gst/gstreamer-docs.sgml:
7191 * docs/gst/gstreamer-sections.txt:
7192 * docs/gst/tmpl/.cvsignore:
7193 * docs/gst/tmpl/gsterror.sgml:
7194 * docs/gst/tmpl/gstfilter.sgml:
7195 * docs/gst/tmpl/gsturihandler.sgml:
7196 * docs/gst/tmpl/gsturitype.sgml:
7197 * docs/gst/tmpl/gstutils.sgml:
7198 * docs/gst/tmpl/gstxml.sgml:
7206 inlined more docs, fixed double id-ref
7208 2005-08-31 Wim Taymans <wim@fluendo.com>
7210 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7211 (gst_base_transform_handle_buffer):
7212 Passthrough elements don't need the caps as they don't care.
7214 2005-08-31 Wim Taymans <wim@fluendo.com>
7216 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7217 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7218 Don't leak refcounts on buffers.
7220 2005-08-31 Wim Taymans <wim@fluendo.com>
7222 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7223 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7224 (gst_base_transform_chain), (gst_base_transform_change_state):
7225 * gst/base/gstbasetransform.h:
7226 Handle the case where we are not negotiated more gracefully.
7228 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7230 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7231 (gst_file_src_map_region):
7232 Set READONLY flag on mmap'ed buffers, otherwise
7233 gst_buffer_make_writable() won't work properly (#314708).
7235 2005-08-31 Wim Taymans <wim@fluendo.com>
7237 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7238 passthrough elements can even do inplace on non writable
7239 buffers (as they don't touch them).
7241 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7243 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7244 (gst_test_mono_source_set_property),
7245 (gst_test_mono_source_class_init), (GST_START_TEST),
7246 (gst_controller_suite):
7247 more tests (hehe I have the most)
7249 describe popping messages whenusing mulltiple sources
7250 * libs/gst/controller/gst-controller.c:
7251 (gst_controlled_property_set_interpolation_mode),
7252 (gst_controlled_property_new):
7253 * libs/gst/controller/gst-controller.h:
7254 * libs/gst/controller/gst-interpolation.c:
7255 implement boolean properties
7257 2005-08-31 Wim Taymans <wim@fluendo.com>
7259 * gst/gstminiobject.c: (gst_mini_object_ref):
7260 Cannot assert that the refcount has to be positive
7261 since a disposed object can be resurrected.
7263 2005-08-31 Wim Taymans <wim@fluendo.com>
7265 * gst/gstpad.c: (gst_pad_init):
7266 Revert change, need to first fix badly behaving
7269 2005-08-30 Wim Taymans <wim@fluendo.com>
7271 * check/elements/fakesrc.c: (setup_fakesrc):
7272 * check/elements/identity.c: (setup_identity):
7273 Activate pads before using them.
7275 2005-08-30 Wim Taymans <wim@fluendo.com>
7277 * gst/base/gstadapter.c: (gst_adapter_flush):
7278 Flushing out 0 bytes is ok for this function.
7280 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7281 no newsegment gives a warning and sets the start/stop to
7284 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7285 (gst_base_transform_set_passthrough):
7288 * gst/gstminiobject.c: (gst_mini_object_ref):
7289 Check refcount here too.
7291 * gst/gstpad.c: (gst_pad_init):
7292 Pads are initially flushing and refusing data.
7294 * gst/gstutils.c: (gst_element_link_pads_filtered):
7295 When adding a capsfilter element make sure it has the
7296 same state as the parent bin.
7298 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7300 * docs/gst/tmpl/.cvsignore:
7301 * docs/gst/tmpl/gstformat.sgml:
7302 * docs/gst/tmpl/gstversion.sgml:
7306 * gst/gstversion.h.in:
7307 more docs and two more inlined
7309 2005-08-30 Wim Taymans <wim@fluendo.com>
7311 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7312 Don't sync to clock.
7314 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7316 * docs/gst/gstreamer-sections.txt:
7317 ultral33t func10ns deserve to appear in the docs actually
7318 * docs/gst/tmpl/.cvsignore:
7319 * docs/gst/tmpl/gstcompat.sgml:
7320 * docs/gst/tmpl/gstconfig.sgml:
7321 * gst/check/gstcheck.c:
7323 * gst/gstconfig.h.in:
7326 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7328 * docs/gst/tmpl/.cvsignore:
7329 * docs/gst/tmpl/gstquery.sgml:
7330 * docs/gst/tmpl/gstutils.sgml:
7333 inlined and extended docs
7335 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7337 * check/gst-libs/controller.c: (GST_START_TEST),
7338 (gst_controller_suite):
7340 * docs/gst/tmpl/gstutils.sgml:
7341 * docs/libs/gstreamer-libs-sections.txt:
7342 * docs/libs/tmpl/gstdataprotocol.sgml:
7344 * examples/controller/audio-example.c: (main):
7345 controller example works now
7348 * tools/gst-inspect.c: (print_element_properties_info):
7349 show param spec flags
7351 2005-08-29 Andy Wingo <wingo@pobox.com>
7353 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7355 2005-08-28 Andy Wingo <wingo@pobox.com>
7357 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7358 as having two arguments instead of just one. Allows superclasses
7359 to access information on subclasses -- see the terrible for() loop
7360 in gtype.c:g_type_create_instance for the reason why. All callers
7363 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7365 * docs/design/part-messages.txt:
7367 * docs/gst/tmpl/.cvsignore:
7368 * docs/gst/tmpl/gstcaps.sgml:
7369 * docs/gst/tmpl/gstclock.sgml:
7376 added descriptions for bus and message
7377 inline caps and clock docs
7379 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7385 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7387 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7390 2005-08-26 Andy Wingo <wingo@pobox.com>
7392 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7393 element_set_state's return val.
7394 (test_2_elements): Add test that's been disabled for months.
7396 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7397 can-activate-pull properties.
7399 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7400 can-activate-pull properties. Implement is_seekable so fakesrc can
7401 operate in pull mode.
7403 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7405 (gst_base_sink_activate, gst_base_sink_activate_pull)
7406 (gst_base_sink_activate_push): Make activation mode choosing work.
7408 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7409 is right. Make pull mode work. Post an eos before pausing in pull
7411 (gst_base_sink_change_state): Pay attention to the core's
7412 change_state() return val.
7414 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7415 has-getrange properties. Cleanups.
7417 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7418 has_getrange and replace with can_activate_pull and
7421 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7422 locking comments. Remove has_loop, has_chain and replace with
7423 can_activate_pull and can_activate_push.
7425 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7428 * examples/Makefile.am:
7429 * examples/metadata/Makefile.am:
7430 * examples/metadata/read-metadata.c: (message_loop),
7431 (have_pad_handler), (make_pipeline), (print_tag), (main):
7432 Add metadata reading example that loops over a list of filenames,
7433 dumping any tags found.
7435 * gst/gstbus.c: (gst_bus_dispose):
7436 * gst/gstelement.c: (gst_element_dispose):
7437 Release a few potentially-held references in dispose.
7439 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7441 * docs/gst/tmpl/gstminiobject.sgml:
7442 do *not* add tmpl/*.sgml files to CVS!
7444 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7446 * libs/gst/bytestream/.cvsignore:
7447 * libs/gst/bytestream/Makefile.am:
7448 * libs/gst/bytestream/adapter.c:
7449 * libs/gst/bytestream/adapter.h:
7450 * libs/gst/bytestream/bytestream.c:
7451 * libs/gst/bytestream/bytestream.h:
7452 * libs/gst/bytestream/filepad.c:
7453 * libs/gst/bytestream/filepad.h:
7454 removing obsolete files
7456 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7458 * docs/gst/gstreamer-docs.sgml:
7459 * docs/libs/gstreamer-libs-docs.sgml:
7460 disabed additional index entries again, as this makes docs-gen just
7461 slow and they aren't useful yet
7462 * docs/libs/gstreamer-libs-sections.txt:
7463 little -section.txt cleanup for libs
7465 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7468 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7469 fix up some debugging
7470 (gst_base_transform_get_unit_size),
7471 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7472 (gst_base_transform_handle_buffer):
7473 * gst/base/gstbasetransform.h:
7474 handle and store timed NEWSEGMENT events so that subclasses that
7475 calculate time by counting samples have a segment_start time they
7476 need to add to their timestamps - see audioresample
7478 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7481 removed ';' from the end of macro defs
7482 * docs/gst/gstreamer-docs.sgml:
7483 * docs/gst/gstreamer-sections.txt:
7484 * docs/gst/tmpl/.cvsignore:
7486 * gst/gstelement.c: (gst_element_class_init),
7487 (gst_element_set_state), (activate_pads),
7488 (gst_element_save_thyself):
7489 * gst/gstevent.c: (gst_event_new_newsegment):
7491 * gst/gstiterator.c:
7492 * gst/gstiterator.h:
7495 * gst/gstutils.c: (gst_pad_query_convert):
7497 fixed parameter name mismatches between source, header and docs
7498 added some more docs, resolved the last batch of unused elements in
7499 docs (now someone needs to doc them)
7501 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7503 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7504 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7505 don't walk through the plugins backwards. Where is all this
7506 reversed logic coming from ?
7508 2005-08-25 Wim Taymans <wim@fluendo.com>
7510 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7511 (gst_base_transform_transform_size),
7512 (gst_base_transform_configure_caps),
7513 (gst_base_transform_get_unit_size),
7514 (gst_base_transform_buffer_alloc),
7515 (gst_base_transform_change_state):
7516 * gst/base/gstbasetransform.h:
7517 Cache caps unit_size.
7518 Make sure we cannot negotiate up and downstream at the
7521 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7523 * gst/gst.c: (init_pre), (init_post):
7524 register the installed plugin path after the env var
7525 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7526 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7527 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7528 directories, so the tests can prefer uninstalled over installed
7530 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7532 * gst/base/gstbasetransform.h:
7537 2005-08-25 Wim Taymans <wim@fluendo.com>
7539 * gst/gstbin.c: (bin_bus_handler):
7540 Be a bit more conservative about the posted message.
7542 * gst/gstbus.c: (gst_bus_post):
7543 Some cleanups, warn wrong return values.
7545 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7547 * check/gst/gstbin.c: (GST_START_TEST):
7548 * gst/gstbin.c: (bin_bus_handler):
7549 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7550 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7551 (gst_message_new_warning), (gst_message_new_tag),
7552 (gst_message_new_state_changed), (gst_message_new_segment_start),
7553 (gst_message_new_segment_done), (gst_message_new_custom):
7555 * tools/gst-launch.c: (event_loop):
7556 * tools/gst-md5sum.c: (event_loop):
7557 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7559 2005-08-25 Wim Taymans <wim@fluendo.com>
7561 * check/generic/states.c: (GST_START_TEST):
7562 Cleanup can be done at the end.
7564 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7565 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7566 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7567 Oh boy.. Thanks for finding this, Thomas.
7569 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7571 * docs/gst/gstreamer.types:
7574 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7576 * docs/gst/gstreamer-docs.sgml:
7577 * docs/gst/gstreamer-sections.txt:
7578 * docs/gst/tmpl/.cvsignore:
7580 * gst/gstiterator.c:
7582 * gst/registries/gstxmlregistry.h:
7583 added missing classes and symbols (123 more to go)
7584 removed removed symbols from section file
7585 fixed many doc-comments
7587 2005-08-24 Wim Taymans <wim@fluendo.com>
7589 * check/generic/states.c: (GST_START_TEST):
7590 Make sure all tasks are stopped.
7592 * check/gst/gstbin.c: (GST_START_TEST):
7593 Unref after usage for proper valgrinding.
7595 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7596 Really wait for the task to stop before destroying the
7599 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7600 (gst_queue_src_activate_push):
7601 Small cleanups. Don't stop the task when we did not start
7604 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7605 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7606 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7609 Protect the stream lock with the object lock.
7610 Disallow setting the stream lock when running.
7611 Add cleanup_all to wait for the threadpool to finish.
7612 Remove code to autoallocate a mutex if none was provided.
7613 Add _join() to wait for a task to stop.
7614 Protect the thread pool with a global lock.
7616 2005-08-24 Wim Taymans <wim@fluendo.com>
7618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7619 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7620 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7621 * gst/base/gstbasesink.h:
7622 Handle newsegment events correctly.
7623 Drop buffers out of the segment range.
7625 2005-08-22 Andy Wingo <wingo@pobox.com>
7627 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7628 macro, implements an interface and gstimplementsinterface for a
7631 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7633 * check/Makefile.am:
7634 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7635 add a test that does a bunch of state changes on elements
7636 needs some fixing for valgrind
7637 * check/states/sinks.c: (gst_object_suite):
7640 add prototype for gst_caps_is_equal_fixed
7642 * gst/gstregistrypool.c:
7645 2005-08-24 Andy Wingo <wingo@pobox.com>
7647 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7648 convert a negative value. Doesn't make much sense. Mostly this is
7649 here to force callers to ensure -1 maps to -1.
7651 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7653 * docs/pwg/advanced-types.xml:
7654 Well done to Michael for catching my deliberate introduction
7655 of this spelling mistake.
7656 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7658 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7659 unlink pads before removing the element from the bin.
7661 2005-08-24 Andy Wingo <wingo@pobox.com>
7663 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7664 the same thing as GST_DEBUG=*:4.
7665 (parse_debug_level, parse_debug_category): New helper parsers.
7667 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7669 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7670 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7671 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7672 (gst_base_transform_buffer_alloc),
7673 (gst_base_transform_handle_buffer):
7674 use gboolean return values and pointers to size so we can use the
7675 full GST_BUFFER_SIZE range (guint) for buffer sizes
7676 use GstPadDirection for transform_caps
7677 * gst/base/gstbasetransform.h:
7678 rename get_size to get_unit_size since that's what it is
7679 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7680 use GstPadDirection for transform_caps
7681 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7683 cleanup and debugging
7685 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7687 * gst/gstelement.c: (gst_element_class_init),
7688 (gst_element_set_state), (activate_pads),
7689 (gst_element_save_thyself):
7690 * tools/gst-compprep.c: (main):
7691 * tools/gst-inspect.c: (print_element_properties_info):
7692 * tools/gst-xmlinspect.c: (print_element_properties):
7693 Fixed long standing mem-leak
7695 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7697 * check/gst/gstbin.c: (GST_START_TEST):
7698 * gst/gstbin.c: (bin_bus_handler):
7699 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7700 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7701 (gst_message_new_warning), (gst_message_new_tag),
7702 (gst_message_new_state_changed), (gst_message_new_segment_start),
7703 (gst_message_new_segment_done), (gst_message_new_custom):
7705 * tools/gst-launch.c: (event_loop):
7706 * tools/gst-md5sum.c: (event_loop):
7707 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7708 that applications can sensibly post custom messages with references
7709 to their own objects.
7711 2005-08-24 Andy Wingo <wingo@pobox.com>
7713 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7716 2005-08-24 Wim Taymans <wim@fluendo.com>
7718 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7719 (gst_base_transform_transform_caps),
7720 (gst_base_transform_transform_size),
7721 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7722 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7723 (gst_base_transform_handle_buffer):
7724 * gst/base/gstbasetransform.h:
7725 Many fixes and new features added by Thomas. Can now also do
7726 transforms with variable sizes and a custom fixate_caps function.
7728 2005-08-24 Wim Taymans <wim@fluendo.com>
7730 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7734 Cast to ClockTime before formatting to time.
7739 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7741 * check/gst-libs/controller.c: (GST_START_TEST),
7742 (gst_controller_suite):
7743 * docs/gst/tmpl/gstcaps.sgml:
7744 * docs/gst/tmpl/gstghostpad.sgml:
7745 * docs/gst/tmpl/gstquery.sgml:
7746 * docs/gst/tmpl/gstutils.sgml:
7747 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7748 (gst_object_sink_values), (gst_object_get_value_arrays),
7749 (gst_object_get_value_array):
7750 gracefully handle helper method calls to objects that are not beeing
7751 controlled, added test case for that
7753 2005-08-23 Wim Taymans <wim@fluendo.com>
7755 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7756 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7757 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7758 (gst_event_parse_qos), (gst_event_new_seek),
7759 (gst_event_parse_seek):
7761 Some more debugging output and doc cleanups.
7763 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7764 Fix possible deadlock.
7766 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7768 * docs/gst/gstreamer-docs.sgml:
7769 * docs/gst/gstreamer-sections.txt:
7770 * docs/gst/gstreamer.types:
7771 * docs/gst/tmpl/.cvsignore:
7776 added 100 symbols from gstreamer-unused.txt to the right sections
7777 fixed more broken comments
7778 added GstBus to docs
7780 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7782 * docs/gst/gstreamer-sections.txt:
7783 * docs/gst/tmpl/.cvsignore:
7784 * docs/gst/tmpl/gstbin.sgml:
7785 * docs/gst/tmpl/gstbuffer.sgml:
7786 * gst/base/gstbasesrc.c:
7787 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7790 * tools/gst-launch.1.in:
7791 inlined more doc comments, added missing comments and fixed comments
7794 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7796 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7800 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7802 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7803 * gst/gststructure.h:
7804 add a fixate function for booleans; add a FIXME that these func
7805 names should probably be gst_structure_fixate_*
7807 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7809 * docs/gst/gstreamer-docs.sgml:
7810 * docs/gst/gstreamer-sections.txt:
7812 * gst/gstbin.c: (gst_bin_get_type),
7813 (gst_bin_child_proxy_get_child_by_index),
7814 (gst_bin_child_proxy_get_children_count),
7815 (gst_bin_child_proxy_init):
7816 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7817 (gst_child_proxy_get_child_by_index),
7818 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7819 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7820 (gst_child_proxy_get), (gst_child_proxy_set_property),
7821 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7822 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7823 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7824 * gst/gstchildproxy.h:
7825 * gst/parse/grammar.y:
7826 * tools/gst-inspect.c: (print_interfaces),
7827 (print_element_properties_info), (print_element_info):
7828 ported gstchildproxy over from 0.8
7829 ported gst-inspect fixes and enhancements over from 0.8
7831 2005-08-22 Wim Taymans <wim@fluendo.com>
7833 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7834 (gst_base_transform_handle_buffer):
7835 Also call the transform function if we have ANY caps.
7837 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7840 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7842 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7843 Don't pretend to handle seek events if the source is not seekable
7845 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7848 Remove extra parameter to debug output
7850 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7851 (gst_base_src_do_seek), (gst_base_src_activate_push):
7852 Fix seek event handling.
7854 * gst/gstpipeline.c: (gst_pipeline_change_state):
7855 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7856 (gst_queue_src_activate_push):
7857 Don't start the src pad task on FLUSH_STOP if the pad
7861 2005-08-22 Wim Taymans <wim@fluendo.com>
7863 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7864 Added check for gst_static_caps_get() refcounting.
7866 2005-08-22 Wim Taymans <wim@fluendo.com>
7868 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7869 Make _static_caps_get() refcounting sane.
7871 * gst/gstelement.c: (gst_element_set_state):
7872 Add g_return_val_if_fail() to protect against segfaults.
7874 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7876 * docs/gst/tmpl/gstevent.sgml:
7879 inlined remaining docs, added missing doc comments
7881 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7883 * check/gst/gstbin.c: (GST_START_TEST):
7884 since we don't know when preroll is done, use refcount range
7886 * gst/check/gstcheck.h:
7887 add macro for checking refcount range
7889 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7891 * check/Makefile.am:
7892 clean up environment for when registry gets built versus
7893 when actual tests are run; valgrind seems to not report
7894 leaks if GST_PLUGIN_PATH is set to some specific values
7895 * check/gst/gstbin.c: (GST_START_TEST):
7896 add more refcounting checks; maybe this exposes a
7899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7900 * gst/check/gstcheck.h:
7901 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7902 (gst_bin_change_state):
7903 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7904 add/fix debugging/whitespace
7906 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7908 * check/gst/gstevent.c: (event_probe), (test_event),
7910 Er, don't call gst_bin_watch_for_state_change you idiot.
7912 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7914 * check/Makefile.am:
7915 Use CHECK_CFLAGS and CHECK_LIBS
7916 * check/gst/gstevent.c: (event_probe), (test_event),
7919 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7920 (gst_base_src_start), (gst_base_src_stop),
7921 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7922 (gst_base_src_change_state):
7923 Sprinkle gst_base_src_stop liberally around error paths to fix
7924 problems reusing a source after failed state changes.
7925 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7926 (helper_find_suggest), (gst_type_find_helper):
7927 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7929 * docs/gst/tmpl/gstevent.sgml:
7930 Migrate part of the docs from the SGML file. Wait for ensonic to
7931 tell me how I did it wrong ;)
7932 * tools/gst-typefind.c: (main):
7933 Extra robustness to state changes between files.
7935 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7937 * check/Makefile.am:
7938 don't valgrind the controller test - it's leaking - Stefan, HELP
7939 * gst/check/gstcheck.c: (gst_check_message_error),
7940 (gst_check_chain_func), (gst_check_setup_element),
7941 (gst_check_teardown_element), (gst_check_setup_src_pad),
7942 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7943 (gst_check_teardown_sink_pad):
7944 * gst/check/gstcheck.h:
7945 add a bunch of methods to set up elements, and src and sink pads
7946 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7947 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7952 whitespace/doc fixes
7954 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7957 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7958 be handled by the application and not always printed as well
7960 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7962 * check/Makefile.am:
7964 * gst/check/gstcheck.c: (gst_check_message_error):
7965 * gst/check/gstcheck.h:
7966 add a fail_unless_equals_int
7967 add fail_unless for error messages
7969 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7971 * check/Makefile.am:
7973 * common/Makefile.am:
7976 factor out some of the common stuff so we can use it
7978 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7980 * check/Makefile.am:
7981 * check/gst/gstiterator.c: (GST_START_TEST):
7982 * check/gst/gstsystemclock.c: (GST_START_TEST),
7983 (gst_systemclock_suite):
7984 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7988 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7990 * check/elements/.cvsignore:
7991 * check/elements/gstfakesrc.c:
7992 rename to name of element
7993 * check/elements/identity.c: (chain_func), (event_func),
7994 (setup_identity), (cleanup_identity), (GST_START_TEST),
7995 (identity_suite), (main):
7996 add a test for identity
7997 * check/Makefile.am:
7998 * pkgconfig/Makefile.am:
7999 * pkgconfig/gstreamer-check.pc.in:
8000 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8004 move the check stuff to a library that gets installed
8005 * check/gst-libs/controller.c: (GST_START_TEST):
8006 * check/gst-libs/gdp.c:
8007 * check/gst/gst.c: (GST_START_TEST):
8008 * check/gst/gstbin.c:
8009 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8010 * check/gst/gstbus.c:
8011 * check/gst/gstcaps.c: (GST_START_TEST):
8012 * check/gst/gstelement.c:
8013 * check/gst/gstghostpad.c:
8014 * check/gst/gstiterator.c:
8015 * check/gst/gstmessage.c:
8016 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8017 * check/gst/gstobject.c:
8018 * check/gst/gstpad.c: (GST_START_TEST):
8019 * check/gst/gststructure.c: (GST_START_TEST):
8020 * check/gst/gstsystemclock.c: (GST_START_TEST),
8021 (gst_systemclock_suite):
8022 * check/gst/gsttag.c: (gst_tag_suite):
8023 * check/gst/gstvalue.c:
8024 * check/pipelines/cleanup.c:
8025 * check/pipelines/simple_launch_lines.c:
8026 * check/states/sinks.c:
8027 change include statement
8029 * docs/gst/gstreamer-sections.txt:
8030 * docs/gst/tmpl/gstpad.sgml:
8031 document more pad stuff
8032 * gst/gstminiobject.c: (gst_mini_object_ref),
8033 (gst_mini_object_unref):
8036 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8038 * docs/gst/tmpl/gst.sgml:
8040 eliminate another tmpl file, fix spelling in the long-description
8042 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8044 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8045 (test_event), (timediff), (gstevents_suite):
8046 Should fix build on 64-bit arch's
8048 2005-08-18 Andy Wingo <wingo@pobox.com>
8050 Make sure that when a pipeline goes to PLAYING, that data has
8051 actually hit the sink.
8053 * check/states/sinks.c (test_sink): A sink that doesn't get any
8054 data shouldn't return SUCCESS for going to either PLAYING or
8055 PAUSED. Test also the return values on the way back down.
8057 * gst/gstelement.c (gst_element_set_state): When changing the
8058 state of an element currently changing state asynchronously, go to
8059 lost-state after commiting the pending state. Makes future calls
8060 to get_state continue to return ASYNC.
8062 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8063 ASYNC when going to PLAYING if we still don't have preroll, as can
8064 happen with live sources.
8066 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8068 * docs/pwg/advanced-types.xml:
8069 Hack long paragraph into 2 chunks as a workaround for buggy
8070 jadetex version in sid and breezy that loops infinitely and
8073 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8075 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8076 (test_event), (timediff), (gstevents_suite):
8077 Provide more error margin in clock measurements to allow for
8078 g_get_current_time inaccuracies.
8080 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8082 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8083 (test_event), (timediff), (gstevents_suite):
8084 Fix error message output so I might be able to tell why the
8085 test works here but fails on the build farm.
8087 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8089 * check/Makefile.am:
8090 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8091 (test_event), (timediff), (gstevents_suite), (main):
8094 * docs/design/part-seeking.txt:
8097 * docs/gst/tmpl/gstevent.sgml:
8098 * docs/gst/tmpl/gstfakesrc.sgml:
8101 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8102 Treat a buffer-without-newsegment the same as a receiving
8103 a newsegment not in time format, and disable syncing to the clock
8106 * gst/gstbus.c: (gst_bus_set_sync_handler):
8107 Assert if anyone tries to replace the existing sync_handler for bus,
8108 as only the owner should be setting it.
8111 Have a fixed set of custom event enums with events identified by
8112 their structure name (as in 0.8), rather than a free-for-all
8113 allowing collisions between enum values from different plugins.
8115 * gst/gstpad.c: (gst_pad_class_init):
8118 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8119 Handle out-of-band downstream events from the sending thread.
8121 2005-08-17 Andy Wingo <wingo@pobox.com>
8123 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8124 play-timeout==0 to mean no timeout at all. In that case, don't
8125 bother with a get_state or a warning, just return directly, even
8128 * gst/base/gstbasetransform.c: Debug changes.
8131 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8132 ensure bins post state change messages. A bit of a hack but I can't
8133 think of a way to avoid it.
8135 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8137 2005-08-16 Andy Wingo <wingo@pobox.com>
8139 * gst/base/gstadapter.h:
8140 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8141 peek() but you own the data. Not terribly efficient atm.
8143 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8145 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8146 (gst_element_found_tags):
8148 Add two utility functions for tag handling.
8150 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8152 * docs/manual/advanced-dataaccess.xml:
8153 * docs/manual/basics-helloworld.xml:
8154 Fix docs to use _bin_add() before _link(), which fixes the examples
8155 with recent core versions (reported by Madhan Raj M
8156 <raj_madan@rediffmail.com>, #313199).
8158 2005-08-16 Wim Taymans <wim@fluendo.com>
8160 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8161 Added subtract checks.
8163 * docs/design/part-events.txt:
8164 Some more docs about newsegment
8166 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8169 * gst/gstcaps.c: (gst_caps_to_string):
8170 Add comments, cleanups.
8172 * gst/gstelement.c: (gst_element_save_thyself):
8175 * gst/gstvalue.c: (gst_value_collect_int_range),
8176 (gst_string_unwrap), (gst_value_union_int_int_range),
8177 (gst_value_union_int_range_int_range),
8178 (gst_value_intersect_int_int_range),
8179 (gst_value_intersect_int_range_int_range),
8180 (gst_value_intersect_double_double_range),
8181 (gst_value_intersect_double_range_double_range),
8182 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8183 (gst_value_subtract_int_range_int),
8184 (gst_value_subtract_double_range_double),
8185 (gst_value_subtract_double_range_double_range),
8186 (gst_value_subtract_from_list), (gst_value_subtract_list),
8187 (gst_value_can_compare), (gst_value_compare_fraction):
8188 Cleanups, add comments, remove unneeded asserts.
8190 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8192 * tools/gst-launch.c: (event_loop):
8193 don't convert NULL structures to strings
8195 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8197 * docs/gst/gstreamer-sections.txt:
8198 made some defines private
8199 * docs/gst/tmpl/gstconfig.sgml:
8200 * docs/gst/tmpl/gstqueue.sgml:
8201 * docs/gst/tmpl/gsttaglist.sgml:
8202 * docs/gst/tmpl/gsttypes.sgml:
8203 * docs/gst/tmpl/gstutils.sgml:
8204 * docs/pwg/appendix-porting.xml:
8205 * gst/base/gstbasesink.h:
8206 * gst/base/gstbasesrc.c:
8207 * gst/base/gstbasesrc.h:
8208 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8209 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8210 * gst/gstelement.c: (gst_element_class_init):
8211 * gst/gstpad.c: (gst_pad_class_init):
8212 * gst/gstqueue.c: (gst_queue_class_init):
8213 * gst/gstxml.c: (gst_xml_class_init):
8214 documented all undocumented signal inline
8215 * libs/gst/controller/gst-controller.h:
8218 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8220 * docs/pwg/appendix-porting.xml:
8221 Document _set_link_function -> _set_setcaps_function.
8223 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8225 * check/Makefile.am:
8226 add a .check target for running the check
8227 * check/gst-libs/controller.c: (GST_START_TEST):
8229 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8230 complete checks for gstbuffer; would be nice if I could get the
8231 gcov stuff to work so I can see if I actually completed gstbuffer.c
8233 add ASSERT_BUFFER_REFCOUNT
8235 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8237 * docs/gst/gstreamer-sections.txt:
8238 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8240 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8241 spew out a warning if a tag that is already registered
8242 is re-registered, unless it is re-registered with a
8243 different type (#308438).
8245 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8247 * docs/pwg/appendix-porting.xml:
8248 * docs/pwg/building-state.xml:
8249 Add some paragraphs about state changes in 0.9 to the PWG
8250 and the porting guide, in particular about the new meaning
8251 of GST_STATE_PAUSED and how to write state change functions
8252 with concurrent access by multiple threads in mind.
8254 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8256 * docs/gst/gstreamer-docs.sgml:
8257 * docs/libs/gstreamer-libs-docs.sgml:
8258 added deprecation and since indexes
8259 * libs/gst/controller/gst-controller.c:
8260 * libs/gst/controller/gst-helper.c:
8264 2005-08-11 Wim Taymans <wim@fluendo.com>
8266 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8267 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8268 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8269 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8270 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8271 (gst_ghost_pad_set_target):
8272 Actually implement (re)setting the target on a ghostpad
8273 as described in the docs.
8275 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8277 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8278 Check whether GST_DEBUG_NO_COLOR environment variable is
8279 set and disable coloured debug output if that is the case.
8281 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8283 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8284 (gst_type_find_helper):
8285 The memory returned by gst_type_find_peek() needs to
8286 stay valid until the end of a typefind function, and
8287 typefind functions may keep results from different
8288 offsets around, so we can't just unref the buffer from
8289 the previous _peek(), but have to save all buffers
8290 returned by _peek() until typefinding is done and only
8293 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8295 * docs/gst/gstreamer-sections.txt:
8297 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8299 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8301 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8302 Fix a pretty good memleak.
8304 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8306 * gst/gstiterator.h:
8307 Fix wrong include and 'make distcheck'.
8309 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8311 * gst/gstbin.c: (bin_bus_handler):
8312 Use gst_element_post_message() instead.
8314 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8316 * gst/base/gstadapter.h:
8317 * gst/base/gstbasesink.h:
8318 * gst/base/gstbasesrc.h:
8319 * gst/base/gstbasetransform.h:
8320 * gst/base/gstcollectpads.h:
8321 * gst/base/gstpushsrc.h:
8322 * gst/gstiterator.h:
8323 Add padding to our base elements' class and instance structs and
8324 to GstIterator (you will need to rebuild all plugins and apps!)
8326 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8328 * gst/gstbin.c: (bin_bus_handler):
8329 Make default message forwarding from child->bus to bin->bus
8330 threadsafe and make it not emit warnings if the parent has no bus.
8332 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8334 * gst/gstelement.c: (activate_pads):
8335 On paused->ready, set pad->caps to NULL, as is the documented
8336 behaviour in this state change. Fixes playback of series of
8337 media files when visualization is enabled in Totem.
8339 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8341 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8342 Allow NULL as filter-caps (which means "any").
8344 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8346 * docs/libs/gstreamer-libs-sections.txt:
8347 * libs/gst/controller/gst-controller.c:
8348 * libs/gst/controller/gst-controller.h:
8349 * libs/gst/controller/gst-helper.c:
8350 adding more entries to the docs and fix small doc-bugs
8352 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8354 * docs/gst/gstreamer-docs.sgml:
8355 * docs/gst/gstreamer-sections.txt:
8356 * docs/gst/gstreamer.types:
8357 * docs/gst/tmpl/gstbasesink.sgml:
8358 * docs/gst/tmpl/gstbasesrc.sgml:
8359 * docs/gst/tmpl/gstbasetransform.sgml:
8360 * docs/gst/tmpl/gstfakesrc.sgml:
8361 * gst/base/gstcollectpads.c:
8362 * gst/base/gstcollectpads.h:
8363 * libs/gst/controller/gst-controller.c:
8364 * libs/gst/controller/gst-controller.h:
8365 * libs/gst/controller/gst-helper.c:
8366 * libs/gst/controller/gst-interpolation.c:
8367 * libs/gst/controller/lib.c:
8368 added long/short desc for controller docs
8369 added collectpads base class docs
8370 added correct includes to base-class docs
8372 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8374 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8375 (gst_test_mono_source_set_property),
8376 (gst_test_mono_source_class_init), (GST_START_TEST),
8377 (gst_controller_suite):
8378 * docs/gst/gstreamer-docs.sgml:
8379 * docs/gst/gstreamer-sections.txt:
8380 * docs/gst/gstreamer.types:
8381 * docs/libs/gstreamer-libs-docs.sgml:
8382 * docs/libs/gstreamer-libs-sections.txt:
8383 * gst/base/gstadapter.c:
8384 * libs/gst/controller/gst-controller.c:
8385 (gst_controlled_property_new), (gst_controlled_property_free),
8386 (gst_controller_new_valist),
8387 (gst_controller_remove_properties_valist),
8388 (gst_controller_sink_values), (_gst_controller_finalize):
8389 * libs/gst/controller/gst-controller.h:
8390 * libs/gst/controller/gst-helper.c:
8391 (gst_object_control_properties), (gst_object_uncontrol_properties),
8392 (gst_object_get_controller), (gst_object_set_controller),
8393 (gst_object_sink_values), (gst_object_get_value_arrays),
8394 (gst_object_get_value_array):
8395 more tests (and fixes) for the controller
8396 more docs for the controller
8397 integrated companies docs for the adapter
8399 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8401 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8402 (GST_START_TEST), (fakesrc_suite):
8403 add tests for sizetype
8405 2005-08-04 Andy Wingo <wingo@pobox.com>
8407 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8408 fixes buffer_alloc proxying among other things.
8410 * gst/base/gstbasetransform.c:
8411 * gst/base/gstbasetransform.h:
8412 Revert patch to gstbasetransform from 7-28 removing
8415 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8416 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8417 Semantics changed, should return not the size of the output buffer
8418 but the byte size of a buffer with a given caps.
8420 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8422 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8423 out) are not the pad caps until setcaps finishes.
8424 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8425 not-in-place case as well. Deal with changing from in-place to
8426 not-in-place within calling pad_alloc_buffer. Still a bit
8427 concerned about the overhead here...
8429 2005-08-03 Andy Wingo <wingo@pobox.com>
8431 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8432 fixating is an error.
8434 2005-08-04 Edward Hervey <edward@fluendo.com>
8436 * gst/base/gstadapter.h:
8437 Added gst_adapter_get_type() to the header
8439 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8441 * check/Makefile.am:
8442 * check/gst-libs/controller.c:
8443 * libs/gst/controller/gst-controller.c:
8444 (gst_controller_new_valist):
8445 added check test suite for the controller
8446 * gst/base/gstpushsrc.c:
8449 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8451 * docs/gst/Makefile.am:
8452 * docs/gst/gstreamer-docs.sgml:
8453 * docs/gst/gstreamer-sections.txt:
8454 * docs/gst/gstreamer.types:
8455 * docs/gst/tmpl/gstfakesrc.sgml:
8457 * gst/base/gstbasesink.c:
8458 * gst/base/gstbasesink.h:
8459 * gst/base/gstbasesrc.c:
8460 * gst/base/gstbasesrc.h:
8461 * gst/base/gstbasetransform.c:
8462 * gst/base/gstpushsrc.c:
8463 * gst/base/gstpushsrc.h:
8464 add short/long description docs to base classes
8465 add pushsrc to the docs
8466 remove consolidated doc fragments
8468 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8471 * docs/libs/Makefile.am:
8472 * docs/libs/gstreamer-libs-docs.sgml:
8473 * docs/libs/gstreamer-libs-sections.txt:
8474 * docs/libs/gstreamer-libs.types:
8475 * examples/Makefile.am:
8476 * examples/controller/.cvsignore:
8477 * examples/controller/Makefile.am:
8478 * examples/controller/audio-example.c: (main):
8479 * libs/gst/Makefile.am:
8480 * libs/gst/controller/.cvsignore:
8481 * libs/gst/controller/Makefile.am:
8482 * libs/gst/controller/gst-controller.c:
8483 (on_object_controlled_property_changed), (gst_timed_value_compare),
8484 (gst_timed_value_find),
8485 (gst_controlled_property_set_interpolation_mode),
8486 (gst_controlled_property_new), (gst_controlled_property_free),
8487 (gst_controller_find_controlled_property),
8488 (gst_controller_new_valist), (gst_controller_new),
8489 (gst_controller_remove_properties_valist),
8490 (gst_controller_remove_properties), (gst_controller_set),
8491 (gst_controller_set_from_list), (gst_controller_unset),
8492 (gst_controller_get), (gst_controller_get_all),
8493 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8494 (gst_controller_get_value_array),
8495 (gst_controller_set_interpolation_mode),
8496 (_gst_controller_finalize), (_gst_controller_init),
8497 (_gst_controller_class_init), (gst_controller_get_type):
8498 * libs/gst/controller/gst-controller.h:
8499 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8500 (g_object_uncontrol_properties), (g_object_get_controller),
8501 (g_object_set_controller), (g_object_sink_values),
8502 (g_object_get_value_arrays), (g_object_get_value_array):
8503 * libs/gst/controller/gst-interpolation.c:
8504 (gst_controlled_property_find_timed_value_node),
8505 (interpolate_none_get), (interpolate_trigger_get),
8506 (interpolate_trigger_get_value_array):
8507 * libs/gst/controller/lib.c: (gst_controller_init):
8508 * pkgconfig/Makefile.am:
8509 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8510 * pkgconfig/gstreamer-control.pc.in:
8511 * testsuite/Makefile.am:
8512 * testsuite/controller/.cvsignore:
8513 * testsuite/controller/Makefile.am:
8514 * testsuite/controller/interpolator.c: (main):
8515 added controller code
8516 removed dparam pc files
8518 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8519 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8520 (gst_collectpads_stop):
8521 Broadcast the condition when shutting down, to make sure we wake all
8522 threads up. Shut down pads on finalize, for safety.
8524 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8525 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8526 (gst_base_transform_handle_buffer),
8527 (gst_base_transform_change_state):
8528 Handle PAUSED->READY->PAUSED transition after negotiation
8530 * gst/gstmessage.c: (gst_message_init):
8531 Extra piece of debug for new messages.
8533 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8536 * docs/gst/tmpl/gstbasesrc.sgml:
8537 * docs/gst/tmpl/gstelement.sgml:
8538 * docs/gst/tmpl/gstevent.sgml:
8539 * docs/gst/tmpl/gstfakesrc.sgml:
8540 * docs/gst/tmpl/gstformat.sgml:
8541 * docs/gst/tmpl/gstghostpad.sgml:
8542 * docs/gst/tmpl/gstpad.sgml:
8543 * docs/gst/tmpl/gstquery.sgml:
8544 * docs/gst/tmpl/gststructure.sgml:
8545 * docs/gst/tmpl/gsttaglist.sgml:
8546 * docs/gst/tmpl/gstvalue.sgml:
8547 * docs/libs/gstreamer-libs-docs.sgml:
8548 * docs/libs/gstreamer-libs-sections.txt:
8549 * docs/libs/gstreamer-libs.types:
8550 * libs/gst/Makefile.am:
8551 * libs/gst/control/.cvsignore:
8552 * libs/gst/control/Makefile.am:
8553 * libs/gst/control/control.c:
8554 * libs/gst/control/control.h:
8555 * libs/gst/control/dparam.c:
8556 * libs/gst/control/dparam.h:
8557 * libs/gst/control/dparam_smooth.c:
8558 * libs/gst/control/dparam_smooth.h:
8559 * libs/gst/control/dparamcommon.h:
8560 * libs/gst/control/dparammanager.c:
8561 * libs/gst/control/dparammanager.h:
8562 * libs/gst/control/dplinearinterp.c:
8563 * libs/gst/control/dplinearinterp.h:
8564 * libs/gst/control/unitconvert.c:
8565 * libs/gst/control/unitconvert.h:
8566 * testsuite/Makefile.am:
8567 * testsuite/dynparams/.cvsignore:
8568 * testsuite/dynparams/Makefile.am:
8569 * testsuite/dynparams/dparamstest.c:
8570 * tools/Makefile.am:
8571 * tools/gst-inspect.c: (print_element_info), (main):
8572 * tools/gst-xmlinspect.c: (print_element_info), (main):
8573 deactivate and remove dparams (libgstcontrol)
8575 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8577 * gst/elements/gsttypefindelement.c:
8578 (gst_type_find_element_have_type), (gst_type_find_element_init),
8579 (stop_typefinding), (gst_type_find_element_handle_event),
8580 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8581 * gst/elements/gsttypefindelement.h:
8582 Set caps on all outgoing buffers, not just the first one.
8584 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8586 * gst/elements/gsttypefindelement.c:
8587 (gst_type_find_element_have_type),
8588 (gst_type_find_element_check_set_buffer_caps),
8589 (gst_type_find_element_init), (stop_typefinding),
8590 (gst_type_find_element_handle_event),
8591 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8592 * gst/elements/gsttypefindelement.h:
8593 Set caps on first outgoing buffer when we've found the type.
8595 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8597 * docs/gst/gstreamer-docs.sgml:
8598 * docs/gst/gstreamer-sections.txt:
8599 * docs/gst/tmpl/gstscheduler.sgml:
8600 * docs/gst/tmpl/gstschedulerfactory.sgml:
8601 Remove some old cruft from docs.
8603 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8606 Fix inline docs for GstPadLinkReturn.
8608 * gst/gststructure.c: (gst_structure_has_name):
8609 * gst/gststructure.h:
8610 * docs/gst/gstreamer-sections.txt:
8611 New API: gst_structure_has_name().
8613 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8616 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8617 and _LARGEFILE_SOURCE in config.h as required. Do not
8618 export those flags in our .pc files any longer (#142209).
8620 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8622 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8623 (gst_file_sink_do_seek), (gst_file_sink_event),
8624 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8625 Redo seek/tell calls with large file support in mind; add some
8626 debugging messages; add log message that tells us when large
8627 file support is unavailable or not enabled for some reason.
8629 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8630 Add log message that tells us when large file support
8631 is unavailable or not enabled for some reason.
8633 2005-07-29 Wim Taymans <wim@fluendo.com>
8635 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8636 Added test for removing an element with ghostpad from a bin.
8637 Fixed test as current implementation does the right thing.
8639 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8640 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8641 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8642 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8643 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8644 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8645 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8646 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8647 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8648 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8649 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8650 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8651 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8652 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8653 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8654 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8655 * gst/gstghostpad.h:
8656 Clean up ghostpads, remove properties for internal stuff.
8659 Prepare for switching targets, not all use cases work yet.
8661 2005-07-29 Wim Taymans <wim@fluendo.com>
8663 * docs/design/part-gstghostpad.txt:
8666 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8667 (gst_bin_remove_func):
8668 Unlinking pads while holding the bin LOCK is not a good
8671 * gst/gstpad.c: (gst_pad_class_init),
8672 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8673 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8674 No prob setting template after creating the pad.
8676 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8678 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8679 (gst_bus_peek), (gst_bus_source_dispatch),
8680 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8681 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8682 gst_bus_poll may be called from other threads. Handle
8683 this nicely by not making poll_data disappear off the
8684 stack once gst_bus_poll returns.
8685 gst_bus_peek now increments the refcount on the returned
8688 2005-07-29 Wim Taymans <wim@fluendo.com>
8690 * docs/design/part-gstghostpad.txt:
8691 Overview of current GhostPad datastructures and use
8692 cases for changing the target.
8694 2005-07-28 Wim Taymans <wim@fluendo.com>
8696 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8697 Added checks for hierarchy consistency whan adding linked
8700 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8701 Added check to test element scheduling without bin/pipeline.
8703 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8704 First add elements to bin, then link.
8706 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8707 (gst_bin_remove_func):
8708 Unlink pads from elements added/removed from bin to maintain
8709 hierarchy consistency.
8711 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8713 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8714 (gst_base_transform_handle_buffer):
8715 * gst/base/gstbasetransform.h:
8716 Remove broken delay_configure (fixes renegotiation of software
8717 scaling pipelines); remove some leftover printf()s.
8719 2005-07-28 Wim Taymans <wim@fluendo.com>
8721 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8722 Added some more tests for wrong hierarchy
8724 * docs/design/part-overview.txt:
8727 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8730 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8731 (gst_element_dispose):
8734 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8735 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8736 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8737 (gst_pad_set_caps), (gst_pad_send_event):
8738 Check for correct hierarchy when linking pads. Moving to
8739 strict requirement for ghostpads when linking elements in
8743 Clean ups. Added WRONG_HIERARCHY return value.
8745 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8747 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8748 Better debug if no transform is possible.
8750 2005-07-27 Wim Taymans <wim@fluendo.com>
8752 * docs/random/wtay/network-transp:
8755 2005-07-27 Wim Taymans <wim@fluendo.com>
8757 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8758 (gst_dp_event_from_packet):
8759 Fix serialization of seek events.
8761 2005-07-27 Wim Taymans <wim@fluendo.com>
8763 * check/gst-libs/gdp.c: (GST_START_TEST):
8764 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8765 Fix compilation and fix event serialization.
8767 2005-07-27 Wim Taymans <wim@fluendo.com>
8770 * docs/design/part-TODO.txt:
8771 * docs/design/part-events.txt:
8774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8775 (gst_base_sink_event), (gst_base_sink_do_sync),
8776 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8777 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8778 (gst_base_src_do_seek), (gst_base_src_event_handler),
8779 (gst_base_src_loop):
8780 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8781 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8782 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8783 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8784 (gst_base_transform_set_passthrough),
8785 (gst_base_transform_is_passthrough):
8786 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8787 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8793 * gst/gstelement.c: (gst_element_seek):
8795 Update gst_element_seek.
8797 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8798 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8799 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8800 (gst_event_new_eos), (gst_event_new_newsegment),
8801 (gst_event_parse_newsegment), (gst_event_new_tag),
8802 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8803 (gst_event_parse_qos), (gst_event_new_seek),
8804 (gst_event_parse_seek), (gst_event_new_navigation):
8806 Make GstEvent use GstStructure. Add parsing code, make sure the
8807 API is sufficiently generic.
8808 Mark possible directions of events and serialization.
8810 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8811 (_gst_message_copy), (gst_message_new_segment_start),
8812 (gst_message_new_segment_done), (gst_message_new_custom),
8813 (gst_message_parse_segment_start),
8814 (gst_message_parse_segment_done):
8817 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8818 (gst_pad_set_caps), (gst_pad_send_event):
8819 Update for new events.
8820 Catch events sent in wrong directions.
8822 * gst/gstqueue.c: (gst_queue_link_src),
8823 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8824 (gst_queue_handle_src_query):
8829 Remove event code from this file.
8831 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8832 (gst_dp_event_from_packet):
8835 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8837 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8838 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8839 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8840 Make debugging actually useful.
8842 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8844 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8845 (gst_pad_fixate_caps):
8846 Implement default fixation once again, so that gst_pad_fixate()
8847 actually does anything at all. This probably needs to be some
8848 sort of a last resort, and use profile-based fixation first, but
8849 since that doesn't exist yet, this is the best we have. Fixes
8850 visualization in Totem.
8852 2005-07-22 Wim Taymans <wim@fluendo.com>
8854 * docs/design/part-events.txt:
8857 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8858 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8859 (gst_base_sink_activate_pull):
8862 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8863 (gst_fake_src_create):
8864 Fix handoff marshall.
8866 * gst/elements/gstidentity.c: (gst_identity_class_init),
8867 (gst_identity_transform_ip):
8868 We're a real inplace element.
8870 * gst/gstbus.c: (gst_bus_post):
8871 Added some comments.
8873 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8874 * tests/muxing/case1.c: (main):
8875 * tests/sched/dynamic-pipeline.c: (main):
8876 * tests/sched/interrupt1.c: (main):
8877 * tests/sched/interrupt2.c: (main):
8878 * tests/sched/interrupt3.c: (main):
8879 * tests/sched/runxml.c: (main):
8880 * tests/sched/sched-stress.c: (main):
8881 * tests/seeking/seeking1.c: (event_received), (main):
8882 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8884 * tests/threadstate/threadstate3.c: (main):
8885 * tests/threadstate/threadstate4.c: (main):
8886 * tests/threadstate/threadstate5.c: (main):
8889 2005-07-21 Wim Taymans <wim@fluendo.com>
8891 * docs/design/part-seeking.txt:
8892 Some small additions.
8894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8895 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8896 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8897 * gst/base/gstbasesink.h:
8898 discont values are gint64, handle the math correctly.
8900 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8901 Make the basesrc report error if the source pad is not linked.
8903 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8904 (gst_queue_loop), (gst_queue_handle_src_query),
8905 (gst_queue_src_activate_push):
8906 Make queue collect data even if the srcpad is not linked.
8907 Start pushing out data as soon as it is linked.
8909 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8911 Added gst_flow_get_name() to ease error reporting.
8913 2005-07-20 Wim Taymans <wim@fluendo.com>
8915 * gst/gstmessage.c: (gst_message_new_segment_start),
8916 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8917 (gst_message_parse_segment_done):
8919 Added a bunch of messages for advanced seeking.
8921 * gst/parse/grammar.y:
8922 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8923 (gst_dpman_state_changed):
8924 Fix some new-pad -> pad-added signals
8926 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8928 * docs/manual/appendix-porting.xml:
8929 * docs/pwg/appendix-porting.xml:
8930 Document new-pad/state-change signal renames and the FixedList
8933 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8935 * docs/manual/advanced-autoplugging.xml:
8936 * docs/manual/basics-helloworld.xml:
8937 * docs/manual/basics-pads.xml:
8938 * docs/random/ds/0.9-suggested-changes:
8939 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8944 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8945 (gst_structure_parse_array), (gst_structure_parse_value):
8946 * gst/gstvalue.c: (gst_type_is_fixed),
8947 (gst_value_list_prepend_value), (gst_value_list_append_value),
8948 (gst_value_list_get_size), (gst_value_list_get_value),
8949 (gst_value_transform_array_string), (gst_value_serialize_array),
8950 (gst_value_deserialize_array), (gst_value_intersect_array),
8951 (gst_value_is_fixed), (_gst_value_initialize):
8953 GstElement::new-pad -> pad-added, GstElement::state-change ->
8954 state-changed, GstValueFixedList -> GstValueArray, add format and
8955 flags as their own arguments in gst_element_seek() (should improve
8956 "bindeability"), remove function generators since they don't work
8957 under a whole bunch of compilers (they were deprecated already
8960 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8962 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8963 (_gst_debug_register_funcptr):
8965 Fix illegal cast on some platforms (#309253).
8967 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8969 * gst/gstmessage.c: (gst_message_new_custom):
8971 Add _new_custom, make _new_application a macro to _new_custom.
8973 2005-07-20 Wim Taymans <wim@fluendo.com>
8975 * gst/base/gstbasesrc.c: (gst_base_src_init),
8976 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8977 * gst/base/gstbasesrc.h:
8978 Add a gboolean to decide when to push out a discont.
8980 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8981 (gst_queue_loop), (gst_queue_handle_src_query),
8982 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8983 (gst_queue_set_property), (gst_queue_get_property):
8986 * tests/threadstate/threadstate1.c: (main):
8987 Make a thread test compile and run... very silly..
8990 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8992 * docs/manual/appendix-porting.xml:
8993 Mention removal of libgstgconf-0.9.la and existence of gconf
8996 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8998 * docs/pwg/advanced-clock.xml:
8999 * docs/pwg/appendix-porting.xml:
9000 * docs/pwg/intro-preface.xml:
9001 * docs/pwg/other-base.xml:
9002 * docs/pwg/other-manager.xml:
9003 * docs/pwg/other-nton.xml:
9004 * docs/pwg/other-ntoone.xml:
9005 * docs/pwg/other-oneton.xml:
9007 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9008 demuxer), remove n-to-n (was never written), fix some code examples
9009 and links and update the porting section to include all this.
9011 2005-07-19 Wim Taymans <wim@fluendo.com>
9013 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9014 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9015 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9016 (gst_queue_src_activate_push), (gst_queue_change_state),
9017 (gst_queue_get_property):
9019 Propagate GstFlowReturn more intelligently upstream and output
9020 an ERROR/EOS when streaming stopped due to fatal error.
9022 2005-07-19 Wim Taymans <wim@fluendo.com>
9024 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9025 Don't block forever for the state change to complete, the
9026 pipeline already did with a sensible timeout.
9028 2005-07-19 Wim Taymans <wim@fluendo.com>
9030 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9031 Make sure we never call the create function is we
9034 2005-07-19 Andy Wingo <wingo@pobox.com>
9036 * gst/parse/parse.l: Attempt to solve bug #172815.
9038 2005-07-19 Wim Taymans <wim@fluendo.com>
9040 * docs/design/part-clocks.txt:
9041 * docs/design/part-events.txt:
9042 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9044 Only update the seeking values when we are not
9047 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9049 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9050 Oops, ignore the result of gst_pad_push_event here.
9052 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9054 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9055 (gst_base_src_activate_push):
9056 Send discont event from the loop function, as pads
9057 aren't activated yet in the activate_push handler.
9059 * gst/gstbin.c: (bin_bus_handler):
9060 Don't leak element name.
9062 2005-07-18 Andy Wingo <wingo@pobox.com>
9064 * configure.ac: Use AS_LIBTOOL_TAGS.
9066 2005-07-18 Wim Taymans <wim@fluendo.com>
9068 * docs/gst/gstreamer.types:
9069 Remove deleted types.
9071 2005-07-18 Wim Taymans <wim@fluendo.com>
9073 * check/elements/gstfakesrc.c: (GST_START_TEST):
9076 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9077 (init_popt_callback):
9079 * gst/gst_private.h:
9080 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9081 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9084 * gst/gstconfig.h.in:
9085 * gst/gstelement.c: (gst_element_class_init),
9086 (gst_element_set_base_time), (gst_element_get_base_time),
9087 (iterator_fold_with_resync), (gst_element_change_state),
9088 (gst_element_dispose), (gst_element_get_bus):
9090 * gst/gstelementfactory.h:
9091 * gst/gsterror.c: (_gst_core_errors_init):
9094 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9096 * gst/gstinfo.c: (_gst_debug_init):
9097 * gst/gstmessage.c: (_gst_message_copy):
9099 * gst/gstminiobject.h:
9102 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9103 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9106 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9107 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9108 (gst_pipeline_get_last_stream_time):
9109 * gst/gstpipeline.h:
9110 * gst/gstpluginfeature.h:
9112 * gst/gstscheduler.c:
9113 * gst/gstscheduler.h:
9114 * gst/gststructure.h:
9115 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9116 (gst_task_finalize), (gst_task_func), (gst_task_create),
9117 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9118 (gst_task_stop), (gst_task_pause):
9120 * gst/gsttypefind.h:
9122 * gst/registries/gstlibxmlregistry.c: (load_feature),
9123 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9124 * gst/registries/gstxmlregistry.c:
9125 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9126 * gst/schedulers/threadscheduler.c:
9127 * libs/gst/control/dparammanager.h:
9128 * tools/gst-inspect.c: (print_element_list),
9129 (print_plugin_features), (print_element_features):
9130 * tools/gst-xmlinspect.c: (print_element_list),
9131 (print_plugin_info), (main):
9132 Removed plugable schedulers.
9133 Removed Scheduler/Manager from elements.
9134 Removed gsttypes.h, rearranged includes.
9135 Removed dependency pad<->element, element<>pipeline, and
9136 various others, fix includes.
9137 implement gst_pad_get_parent() with gst_object_get_parent()
9138 Make GstTask sefcontained.
9139 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9141 Fix endless loop in iterator_fold_with_resync.
9144 2005-07-18 Wim Taymans <wim@fluendo.com>
9150 2005-07-18 Wim Taymans <wim@fluendo.com>
9155 2005-07-18 Wim Taymans <wim@fluendo.com>
9161 2005-07-18 Wim Taymans <wim@fluendo.com>
9163 * docs/design/part-dynamic.txt:
9164 * docs/design/part-events.txt:
9165 * docs/design/part-seeking.txt:
9166 Some more docs in the works.
9168 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9169 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9170 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9171 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9172 (gst_base_transform_handle_buffer),
9173 (gst_base_transform_sink_activate_push),
9174 (gst_base_transform_src_activate_pull),
9175 (gst_base_transform_set_passthrough),
9176 (gst_base_transform_is_passthrough):
9179 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9182 * gst/gstevent.c: (gst_event_finalize):
9185 * gst/gstutils.c: (gst_element_unlink),
9186 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9187 (gst_pad_proxy_setcaps):
9189 Add _get_parent_element() to get a pads parent as an element.
9191 2005-07-18 Wim Taymans <wim@fluendo.com>
9193 * check/gst/gstbin.c: (GST_START_TEST):
9196 2005-07-18 Wim Taymans <wim@fluendo.com>
9198 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9199 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9200 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9201 (gst_base_sink_event), (gst_base_sink_do_sync),
9202 (gst_base_sink_chain), (gst_base_sink_loop),
9203 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9204 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9206 Fix logic for returning ASYNC when not prerolled.
9208 2005-07-18 Wim Taymans <wim@fluendo.com>
9210 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9211 Fix nasty refcount bug.
9213 2005-07-16 Philippe Khalaf <burger@speedy.org>
9215 * gst/elements/gstfdsrc.c:
9216 * gst/elements/gstfdsrc.h:
9217 * gst/elements/gstelements.c:
9218 * gst/elements/Makefile.am:
9219 Ported fdsrc to 0.9.
9221 2005-07-16 Wim Taymans <wim@fluendo.com>
9223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9224 (gst_base_sink_do_sync):
9227 2005-07-16 Wim Taymans <wim@fluendo.com>
9229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9230 (gst_base_sink_event), (gst_base_sink_get_times),
9231 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9232 * gst/base/gstbasesink.h:
9233 Store and use discont values when syncing buffers as described
9236 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9237 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9238 (gst_base_src_activate_push):
9239 Push discont event when starting.
9241 * gst/elements/gstidentity.c: (gst_identity_transform):
9244 * gst/gstbin.c: (gst_bin_change_state):
9245 Small cleanups in base_time distribution.
9247 * gst/gstelement.c: (gst_element_set_base_time),
9248 (gst_element_get_base_time), (gst_element_change_state):
9250 Added methods for the base_time of the element.
9253 * gst/gstpipeline.c: (gst_pipeline_send_event),
9254 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9255 (gst_pipeline_get_last_stream_time):
9256 * gst/gstpipeline.h:
9258 Handle seeking as described in design doc, remove stream_time
9260 Cleanups clock and stream_time selection code. Added accessors
9261 for the stream_time.
9264 2005-07-16 Andy Wingo <wingo@pobox.com>
9266 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9269 2005-07-16 Wim Taymans <wim@fluendo.com>
9271 * check/gst/gstbin.c: (GST_START_TEST):
9272 Make elements silent as the deep_notify refs the
9273 parent, which might make the test fail.
9275 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9276 Don't hold the lock for too long.
9278 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9280 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9281 Don't unref the caps we passed to gst_caps_make_writable() after
9282 passing them. gst_caps_make_writable() will do that for us.
9284 2005-07-15 Andy Wingo <wingo@pobox.com>
9286 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9289 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9290 own marshalling function for the handoff signal. Properly type the
9291 buffer as a buffer. Fixes some warnings. Should do a more general
9293 (gst_identity_class_init): Plug into the right marshaller.
9295 2005-07-15 Wim Taymans <wim@fluendo.com>
9297 * docs/design/part-TODO.txt:
9298 * docs/design/part-clocks.txt:
9299 * docs/design/part-element-sink.txt:
9300 * docs/design/part-events.txt:
9301 * docs/design/part-gstpipeline.txt:
9302 Updated docs, mostly DISCONT related.
9304 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9306 * docs/pwg/building-pads.xml:
9307 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9309 2005-07-15 Andy Wingo <wingo@pobox.com>
9311 * tools/gst-typefind.c: Update, add copyright block.
9313 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9314 Normalize and truncate caps before fixation.
9317 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9318 discards all but the first structure from its argument.
9320 2005-07-15 Wim Taymans <wim@fluendo.com>
9322 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9323 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9324 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9325 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9326 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9327 (gst_base_transform_chain), (gst_base_transform_change_state),
9328 (gst_base_transform_set_passthrough),
9329 (gst_base_transform_is_passthrough):
9330 * gst/base/gstbasetransform.h:
9331 Make passthrough work using the bufferpools.
9332 Changed API a bit, subclasses have to write into a buffer
9333 provided by the base class.
9334 More debug info in nego functions.
9336 * gst/elements/gstidentity.c: (gst_identity_init),
9337 (gst_identity_transform):
9338 Port to new base class.
9340 2005-07-15 Wim Taymans <wim@fluendo.com>
9342 * gst/gstmessage.c: (gst_message_new_state_changed):
9343 * tools/gst-launch.c: (event_loop), (main):
9344 Totally dump messages in -launch with the -m option.
9345 Fix message name for State messages,
9347 2005-07-14 Wim Taymans <wim@fluendo.com>
9349 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9350 Post error messages on errors.
9352 2005-07-14 Wim Taymans <wim@fluendo.com>
9354 * gst/gstcaps.c: (gst_caps_do_simplify):
9358 Define error for stream stopped.
9360 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9361 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9362 Do proper return values.
9364 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9365 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9366 (gst_pad_get_range):
9367 Better return values.
9370 Reorganise return values, add macro to check for fatal errors.
9372 * gst/gstqueue.c: (gst_queue_chain):
9373 Return proper GstFlowReturn values,
9375 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9377 * docs/gst/gstreamer-sections.txt:
9378 * docs/gst/gstreamer.types:
9379 * docs/gst/tmpl/gst.sgml:
9380 * docs/gst/tmpl/gstbasesink.sgml:
9381 * docs/gst/tmpl/gstbasesrc.sgml:
9382 * docs/gst/tmpl/gstbasetransform.sgml:
9383 * docs/gst/tmpl/gstbin.sgml:
9384 * docs/gst/tmpl/gstbuffer.sgml:
9385 * docs/gst/tmpl/gstcaps.sgml:
9386 * docs/gst/tmpl/gstclock.sgml:
9387 * docs/gst/tmpl/gstcompat.sgml:
9388 * docs/gst/tmpl/gstconfig.sgml:
9389 * docs/gst/tmpl/gstelement.sgml:
9390 * docs/gst/tmpl/gstelementdetails.sgml:
9391 * docs/gst/tmpl/gstelementfactory.sgml:
9392 * docs/gst/tmpl/gstenumtypes.sgml:
9393 * docs/gst/tmpl/gsterror.sgml:
9394 * docs/gst/tmpl/gstevent.sgml:
9395 * docs/gst/tmpl/gstfakesink.sgml:
9396 * docs/gst/tmpl/gstfakesrc.sgml:
9397 * docs/gst/tmpl/gstfilesink.sgml:
9398 * docs/gst/tmpl/gstfilesrc.sgml:
9399 * docs/gst/tmpl/gstfilter.sgml:
9400 * docs/gst/tmpl/gstformat.sgml:
9401 * docs/gst/tmpl/gstghostpad.sgml:
9402 * docs/gst/tmpl/gstimplementsinterface.sgml:
9403 * docs/gst/tmpl/gstindex.sgml:
9404 * docs/gst/tmpl/gstindexfactory.sgml:
9405 * docs/gst/tmpl/gstinfo.sgml:
9406 * docs/gst/tmpl/gstiterator.sgml:
9407 * docs/gst/tmpl/gstmacros.sgml:
9408 * docs/gst/tmpl/gstmemchunk.sgml:
9409 * docs/gst/tmpl/gstminiobject.sgml:
9410 * docs/gst/tmpl/gstobject.sgml:
9411 * docs/gst/tmpl/gstpad.sgml:
9412 * docs/gst/tmpl/gstpadtemplate.sgml:
9413 * docs/gst/tmpl/gstparse.sgml:
9414 * docs/gst/tmpl/gstpipeline.sgml:
9415 * docs/gst/tmpl/gstplugin.sgml:
9416 * docs/gst/tmpl/gstpluginfeature.sgml:
9417 * docs/gst/tmpl/gstquery.sgml:
9418 * docs/gst/tmpl/gstqueue.sgml:
9419 * docs/gst/tmpl/gstregistry.sgml:
9420 * docs/gst/tmpl/gstregistrypool.sgml:
9421 * docs/gst/tmpl/gstscheduler.sgml:
9422 * docs/gst/tmpl/gstschedulerfactory.sgml:
9423 * docs/gst/tmpl/gststructure.sgml:
9424 * docs/gst/tmpl/gstsystemclock.sgml:
9425 * docs/gst/tmpl/gsttaglist.sgml:
9426 * docs/gst/tmpl/gsttagsetter.sgml:
9427 * docs/gst/tmpl/gsttrace.sgml:
9428 * docs/gst/tmpl/gsttrashstack.sgml:
9429 * docs/gst/tmpl/gsttypefind.sgml:
9430 * docs/gst/tmpl/gsttypefindfactory.sgml:
9431 * docs/gst/tmpl/gsttypes.sgml:
9432 * docs/gst/tmpl/gsturihandler.sgml:
9433 * docs/gst/tmpl/gsturitype.sgml:
9434 * docs/gst/tmpl/gstutils.sgml:
9435 * docs/gst/tmpl/gstvalue.sgml:
9436 * docs/gst/tmpl/gstversion.sgml:
9437 * docs/gst/tmpl/gstxml.sgml:
9438 * docs/libs/tmpl/gstcontrol.sgml:
9439 * docs/libs/tmpl/gstdataprotocol.sgml:
9440 * docs/libs/tmpl/gstdparam.sgml:
9441 * docs/libs/tmpl/gstdplinint.sgml:
9442 * docs/libs/tmpl/gstdpman.sgml:
9443 * docs/libs/tmpl/gstdpsmooth.sgml:
9444 * docs/libs/tmpl/gstgetbits.sgml:
9445 * docs/libs/tmpl/gstunitconvert.sgml:
9446 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9447 (gst_push_src_base_init), (gst_push_src_class_init),
9448 (gst_push_src_init), (gst_push_src_create):
9449 * gst/base/gstpushsrc.h:
9450 * gst/elements/gstelements.c:
9451 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9452 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9453 (gst_fake_sink_init), (gst_fake_sink_set_property),
9454 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9455 (gst_fake_sink_event), (gst_fake_sink_preroll),
9456 (gst_fake_sink_render), (gst_fake_sink_change_state):
9457 * gst/elements/gstfakesink.h:
9458 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9459 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9460 (gst_fake_src_base_init), (gst_fake_src_class_init),
9461 (gst_fake_src_init), (gst_fake_src_event_handler),
9462 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9463 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9464 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9465 (gst_fake_src_create_buffer), (gst_fake_src_create),
9466 (gst_fake_src_start), (gst_fake_src_stop):
9467 * gst/elements/gstfakesrc.h:
9468 * gst/elements/gstfilesink.c: (_do_init),
9469 (gst_file_sink_base_init), (gst_file_sink_class_init),
9470 (gst_file_sink_init), (gst_file_sink_dispose),
9471 (gst_file_sink_set_location), (gst_file_sink_set_property),
9472 (gst_file_sink_get_property), (gst_file_sink_open_file),
9473 (gst_file_sink_close_file), (gst_file_sink_query),
9474 (gst_file_sink_event), (gst_file_sink_render),
9475 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9476 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9477 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9478 * gst/elements/gstfilesink.h:
9479 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9480 (gst_file_src_class_init), (gst_file_src_init),
9481 (gst_file_src_finalize), (gst_file_src_set_location),
9482 (gst_file_src_set_property), (gst_file_src_get_property),
9483 (gst_file_src_map_region), (gst_file_src_map_small_region),
9484 (gst_file_src_create_mmap), (gst_file_src_create_read),
9485 (gst_file_src_create), (gst_file_src_is_seekable),
9486 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9487 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9488 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9489 (gst_file_src_uri_handler_init):
9490 * gst/elements/gstfilesrc.h:
9491 more autistic cleanliness in functions/names/defines
9493 2005-07-13 Andy Wingo <wingo@pobox.com>
9495 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9496 source couldn't negotiate.
9498 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9502 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9503 function. I am channeling Hades. Put your boots on suckers!!!
9505 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9507 * testsuite/caps/Makefile.am:
9508 * testsuite/caps/value_compare.c:
9509 * testsuite/caps/value_intersect.c:
9510 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9511 move two testsuite apps over to the check dir
9513 2005-07-12 Wim Taymans <wim@fluendo.com>
9515 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9516 Added more debug info in the negotiate process.
9519 Prepare for segment playback.
9521 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9527 * tools/gst-launch.c: (main):
9528 NULL pipeline on errors.
9530 2005-07-12 Andy Wingo <wingo@pobox.com>
9532 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9533 not it comes from a malloc region. Make sure our copy gets freed.
9535 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9537 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9538 * check/gst/gstmessage.c: (GST_START_TEST):
9539 * check/gst/gststructure.c: (GST_START_TEST),
9540 (gst_structure_suite), (main):
9542 * gst/gstelement.c: (gst_element_message_full):
9543 clean up GError and debug string now that they get copied
9544 * gst/gstmessage.c: (gst_message_new_error),
9545 (gst_message_new_warning), (gst_message_parse_error),
9546 (gst_message_parse_warning):
9547 use GST_TYPE_G_ERROR for structure_new, and take copies of
9548 arguments, so that we don't mess up refcounting
9550 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9552 * check/Makefile.am:
9553 add per-test valgrind targets
9554 * check/gst-libs/gdp.c: (GST_START_TEST),
9555 (gst_data_protocol_suite), (main):
9558 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9560 * check/Makefile.am:
9561 instate more valgrindable tests
9562 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9563 (GST_START_TEST), (fakesrc_suite):
9564 * check/gst/gstpad.c: (GST_START_TEST):
9565 * check/gst/gststructure.c: (GST_START_TEST):
9567 * docs/gst/tmpl/gstminiobject.sgml:
9568 * gst/gstpad.c: (gst_pad_finalize):
9569 fix the static mutex leak
9571 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9573 * check/Makefile.am:
9574 add two more tests for valgrinding
9575 * check/gst/gstvalue.c: (GST_START_TEST):
9576 test refcount of deserialized buffer, found a leak
9577 * docs/gst/gstreamer-docs.sgml:
9578 * docs/gst/gstreamer-sections.txt:
9579 * docs/gst/gstreamer.types:
9580 * docs/gst/tmpl/gstminiobject.sgml:
9581 add miniobject to docs
9582 * gst/gstminiobject.c:
9584 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9585 (gst_string_unwrap):
9586 fix a hard-to-find invalid write for one of the tests
9587 fix a leak for deserialized buffers
9589 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9591 * docs/pwg/advanced-events.xml:
9592 * docs/pwg/advanced-request.xml:
9593 * docs/pwg/advanced-scheduling.xml:
9594 * docs/pwg/appendix-porting.xml:
9595 * docs/pwg/building-boiler.xml:
9596 * docs/pwg/intro-preface.xml:
9597 * docs/pwg/other-ntoone.xml:
9598 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9599 of example code and explanation for pad activation, loop() and
9600 getrange() functions and a bit more. Remove old comments pointing
9602 * examples/pwg/Makefile.am:
9603 Add loop/getrange examples.
9605 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9608 check for valgrind binary + some fixes
9610 valgrind suppressions for the tests
9611 * check/Makefile.am:
9612 add a valgrind: target that valgrinds the unit tests
9613 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9614 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9615 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9616 * check/gst/gstghostpad.c:
9618 * check/gst/gstdata.c:
9620 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9621 (thread_unref), (gst_mini_object_suite), (main):
9623 * gst/gst.c: (gst_deinit):
9625 add a method to clean up.
9626 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9627 (gst_system_clock_obtain):
9628 allow for disposing the system clock.
9629 * tools/gst-launch.c: (main):
9632 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9634 * docs/gst/tmpl/gstbasesrc.sgml:
9635 * docs/gst/tmpl/gstfakesrc.sgml:
9636 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9637 (gst_base_src_init), (gst_base_src_set_property),
9638 (gst_base_src_get_property), (gst_base_src_get_range),
9639 (gst_base_src_start):
9640 * gst/base/gstbasesrc.h:
9641 add num-buffers property
9642 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9643 (gst_fakesrc_init), (gst_fakesrc_set_property),
9644 (gst_fakesrc_get_property), (gst_fakesrc_create),
9645 (gst_fakesrc_start):
9646 remove num-buffers property
9648 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9650 * docs/gst/gstreamer-sections.txt:
9651 * docs/gst/tmpl/gstbasesink.sgml:
9652 * docs/gst/tmpl/gstbasesrc.sgml:
9653 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9654 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9655 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9656 (gst_base_sink_set_property), (gst_base_sink_get_property),
9657 (gst_base_sink_handle_object), (gst_base_sink_event),
9658 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9659 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9660 (gst_base_sink_loop), (gst_base_sink_deactivate),
9661 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9662 (gst_base_sink_change_state):
9663 * gst/base/gstbasesink.h:
9664 * gst/base/gstbasesrc.h:
9665 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9666 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9667 (gst_filesink_init):
9668 more macro splitting
9670 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9672 * gst/gstelement.c: (gst_element_get_bus):
9674 * tools/gst-launch.c: (check_intr), (event_loop):
9677 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9679 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9682 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9684 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9685 (gst_base_src_finalize):
9686 add finalize method and clean up properly
9687 * gst/gstpipeline.c: (gst_pipeline_dispose):
9690 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9692 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9694 add more things to check
9695 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9699 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9701 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9702 (GST_START_TEST), (fakesrc_suite):
9703 * check/gst-libs/gdp.c: (GST_START_TEST):
9704 * check/gst/gst.c: (GST_START_TEST):
9705 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9706 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9707 * check/gst/gstbus.c: (GST_START_TEST):
9708 * check/gst/gstcaps.c: (GST_START_TEST):
9709 * check/gst/gstdata.c: (GST_START_TEST):
9710 * check/gst/gstelement.c: (GST_START_TEST):
9711 * check/gst/gstghostpad.c: (GST_START_TEST):
9712 * check/gst/gstiterator.c: (GST_START_TEST):
9713 * check/gst/gstmessage.c: (GST_START_TEST):
9714 * check/gst/gstobject.c: (GST_START_TEST):
9715 * check/gst/gstpad.c: (GST_START_TEST):
9716 * check/gst/gststructure.c: (GST_START_TEST):
9717 * check/gst/gstsystemclock.c: (GST_START_TEST),
9718 (gst_systemclock_suite):
9719 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9720 * check/gst/gstvalue.c: (GST_START_TEST):
9721 * check/pipelines/cleanup.c: (GST_START_TEST):
9722 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9723 * check/states/sinks.c: (GST_START_TEST):
9724 * check/gstcheck.c: (gst_check_init):
9726 add debugging category
9727 use GST_START_TEST now, so we add a debug line
9729 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9731 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9732 add test for state change message on a bin
9733 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9735 * gst/gstbin.c: (gst_bin_init):
9736 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9737 * gst/gstelement.c: (gst_element_post_message),
9738 (gst_element_set_state):
9739 * gst/gstelementfactory.c: (gst_element_factory_create):
9740 * gst/gstmessage.c: (gst_message_new):
9741 * gst/gstscheduler.c:
9742 various debugging additions and cleanups
9744 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9746 * check/Makefile.am:
9747 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9749 adding tests for elements
9750 * gst/gstelement.c: (gst_element_dispose):
9752 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9754 * gst/registries/gstlibxmlregistry.c: (load_feature):
9755 plug more leaks. A simple gst_init() now is leakfree, yay.
9757 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9759 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9760 (gst_xml_registry_load):
9761 plug another memleak
9763 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9766 use GST_SET_ERROR_CFLAGS
9768 change to ERROR_CFLAGS
9770 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9773 make GST_ERROR_CFLAGS overridable and re-enable Werror
9775 add a note about error CFLAGS
9776 * docs/gst/tmpl/gstfakesrc.sgml:
9777 * gst/elements/gstfakesrc.c:
9778 comment out some unused code
9779 * gst/gst.c: (split_and_iterate):
9780 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9784 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9786 * common/Makefile.am:
9787 * common/gtk-doc.mak:
9788 * docs/gst/Makefile.am:
9789 factor out gtk-doc.mak
9791 2005-07-07 Wim Taymans <wim@fluendo.com>
9793 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9794 (gst_thread_scheduler_dispose):
9795 Unlock the STREAM_LOCK completely.
9797 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9799 * check/Makefile.am:
9800 * check/elements/.cvsignore:
9801 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9802 (START_TEST), (fakesrc_suite), (main):
9803 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9804 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9805 (gst_fakesrc_create), (gst_fakesrc_start):
9806 * gst/elements/gstfakesrc.h:
9807 adding a first element test
9809 2005-07-07 Andy Wingo <wingo@pobox.com>
9811 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9814 2005-07-07 Wim Taymans <wim@fluendo.com>
9820 2005-07-07 Wim Taymans <wim@fluendo.com>
9822 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9823 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9824 Allow subclasses to implement their own negotiation.
9826 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9828 * docs/design/part-gstbin.txt:
9829 * docs/design/part-gstpipeline.txt:
9830 Update design notes to reflect the movement of
9831 responsibility for bus handling from GstPipeline to
9834 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9837 Remove unnecessary queue2/3/4 examples.
9839 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9841 * examples/Makefile.am:
9842 * examples/helloworld/helloworld.c: (event_loop), (main):
9843 * examples/queue/queue.c: (event_loop), (main):
9844 * examples/queue2/queue2.c: (main):
9845 Update a couple of the examples to work again.
9847 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9848 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9849 Spelling corrections and extra debug.
9851 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9852 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9853 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9855 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9856 (gst_pipeline_change_state):
9857 * gst/gstpipeline.h:
9858 Move the bus handler for children to the GstBin, and create a
9859 separate bus for receiving messages from children to the one the
9860 bus sends 'upwards' on.
9862 2005-07-06 Wim Taymans <wim@fluendo.com>
9865 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9866 (gst_base_sink_handle_object), (gst_base_sink_loop),
9867 (gst_base_sink_change_state):
9868 * gst/base/gstbasesink.h:
9869 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9870 (gst_base_src_init), (gst_base_src_setcaps),
9871 (gst_base_src_getcaps), (gst_base_src_loop),
9872 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9873 (gst_base_src_start), (gst_base_src_change_state):
9874 * gst/base/gstbasesrc.h:
9875 Make basesrc negotiate.
9876 Handle the case where preroll fails in basesink.
9879 2005-07-06 Wim Taymans <wim@fluendo.com>
9881 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9882 Implement the fixate function.
9883 Clean up acceptcaps.
9885 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9887 * docs/pwg/building-filterfactory.xml:
9889 Remove never-written filter-factory chapter; I'll add the various
9890 base classes to part 4 ("other element types") later on.
9892 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9894 * docs/pwg/advanced-negotiation.xml:
9895 * docs/pwg/building-boiler.xml:
9896 * docs/pwg/building-pads.xml:
9898 * examples/pwg/Makefile.am:
9899 Add a chapter on caps negotiation, simplify the original code
9900 samples a bit w.r.t. caps negotiation, add link to the advanced
9901 section. Add a bunch of examples showing different use cases of
9902 different types of caps negotiation. Upstream renegotiation isn't
9903 fully documented yet since nobody knows how that works.
9905 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9907 * check/gst/gstpad.c:
9909 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9910 if pad has no parent, return NULL as list of internal links
9912 2005-07-05 Andy Wingo <wingo@pobox.com>
9914 * gst/elements/gstfilesrc.c:
9915 * gst/elements/gstfakesrc.c:
9916 * gst/base/gstpushsrc.c:
9917 * gst/base/gstbasesrc.h:
9918 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9920 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9923 better report generation target (lcov needs a patch)
9925 2005-07-05 Andy Wingo <wingo@pobox.com>
9927 * gst/elements, testsuite: Null if we got it...
9929 2005-07-05 Wim Taymans <wim@fluendo.com>
9932 * libs/gst/dataprotocol/Makefile.am:
9933 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9934 * libs/gst/dataprotocol/dataprotocol.h:
9935 * pkgconfig/Makefile.am:
9936 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9937 * pkgconfig/gstreamer-dataprotocol.pc.in:
9938 Ported dataprotol to 0.9.
9939 Added pkgconfig files.
9941 2005-07-05 Andy Wingo <wingo@pobox.com>
9943 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9944 Default to returning TRUE for the case when tranform_caps returns
9945 a fixed caps, like for identity or volume.
9947 * check/gst/gstbus.c (pound_bus_with_messages):
9948 * check/gst/gstmessage.c (START_TEST):
9949 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9952 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9953 logic weaks here: always run transform_caps, trying passthrough
9954 operation only if the original caps intersects with the transform.
9956 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9957 source and sink caps.
9959 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9960 Intersect the peer caps with the pad template before going into
9962 (gst_base_transform_transform_caps): More debugging.
9964 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9967 2005-07-04 Edward Hervey <edward@fluendo.com>
9971 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9974 2005-07-04 Andy Wingo <wingo@pobox.com>
9976 * check/gst/gstpad.c: Only set explicit caps on pads.
9978 2005-07-01 Andy Wingo <wingo@pobox.com>
9980 * tests/network-clock.scm: Commentary update.
9982 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9983 Didn't really make sense, not implementable with basetransform,
9985 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9986 attempt at implementing the sync property, needs an unlock method.
9988 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9989 New func, by default returns the same caps (the identity
9991 (gst_base_transform_getcaps): Uses transform_caps to return
9993 (gst_base_transform_setcaps): Complicated logic to get caps on
9994 both pads, even if they are different, and to call set_caps once
9995 for every time both pads get their caps set.
9996 (gst_base_transform_handle_buffer): Give the ref to the transform
9997 function. Allows in-place modification of the buffer.
9999 * gst/base/gstbasetransform.h (transform_caps): New class method.
10000 Given caps on one side, what can I do on the other.
10001 (set_caps): Take two caps, one for each side of the element.
10004 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10005 caps in place. This is safe because we can check the mutability of
10006 the caps, and a good idea because fixate functions are just called
10007 as a matter of last resort. (Not actually implemented.)
10008 (gst_pad_set_caps): If the caps we're setting is actually the same
10009 as the existing pad caps, just update the pointer without calling
10010 setcaps. Assert that caps is either NULL or fixed, as per the
10013 * gst/gstghostpad.c: Update for fixate changes.
10015 2005-07-02 Andy Wingo <wingo@pobox.com>
10018 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10019 two refcounts makes it immutable, which is enough. Doc more.
10021 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10023 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10024 Put the mini_object into GValue as a mini_object,
10025 not a gpointer, since that's how we declared
10028 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10030 * examples/pwg/Makefile.am:
10031 Fix buildbot again.
10033 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10035 * docs/pwg/building-testapp.xml:
10037 * examples/pwg/Makefile.am:
10040 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10043 * examples/Makefile.am:
10044 * examples/pwg/Makefile.am:
10045 * examples/pwg/extract.pl:
10046 Enable building the PWG examples.
10047 * docs/pwg/advanced-interfaces.xml:
10048 Add URI interface stub.
10049 * docs/pwg/advanced-types.xml:
10050 * docs/pwg/other-autoplugger.xml:
10051 * docs/pwg/appendix-porting.xml:
10052 * docs/pwg/pwg.xml:
10053 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10054 * docs/pwg/building-boiler.xml:
10055 * docs/pwg/building-chainfn.xml:
10056 * docs/pwg/building-pads.xml:
10057 * docs/pwg/building-props.xml:
10058 * docs/pwg/building-state.xml:
10059 * docs/pwg/building-testapp.xml:
10060 Update the building-*.xml parts for 0.9 changes. All examples
10061 code blocks compile in examples/pwg/*.
10063 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10065 * docs/manual/advanced-autoplugging.xml:
10066 * docs/manual/appendix-checklist.xml:
10067 * docs/manual/appendix-integration.xml:
10068 * docs/manual/highlevel-components.xml:
10069 Fix playbin/decodebin examples, update docs a bit, mention bus
10070 instead of signals in various places, mention kmplayer and
10071 kaffeine since they have a working GStreamer backend in the KDE
10074 2005-06-30 Wim Taymans <wim@fluendo.com>
10077 * docs/design/draft-ghostpads.txt:
10078 * docs/design/draft-push-pull.txt:
10079 * docs/design/draft-query.txt:
10080 * docs/design/part-TODO.txt:
10081 * docs/design/part-query.txt:
10082 Added CHANGES-0.9 doc, updated status of other docs.
10087 2005-06-30 Wim Taymans <wim@fluendo.com>
10089 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10090 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10091 (gst_base_sink_change_state):
10092 * gst/base/gstbasesink.h:
10093 Some tweaks, only EOS and a buffer complete a preroll.
10095 2005-06-30 Andy Wingo <wingo@pobox.com>
10097 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10098 activate_push down to the internal pad as well.
10100 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10102 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10104 * gst/gsttaginterface.c:
10105 Some documentation fixes (#307394 and #307397).
10107 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10109 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10111 * gst/gstvalue.c: (gst_value_intersect_list):
10112 Fix memleak (#309125).
10114 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10116 * docs/manual/advanced-dataaccess.xml:
10117 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10118 * docs/manual/basics-pads.xml:
10119 Add reference for filtered caps to above chapter.
10121 2005-06-30 Wim Taymans <wim@fluendo.com>
10123 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10124 (gst_bin_change_state):
10126 Lame attempt at making the state change function a bit
10129 2005-06-30 Wim Taymans <wim@fluendo.com>
10131 * docs/design/part-clocks.txt:
10132 * docs/design/part-element-sink.txt:
10133 * docs/design/part-events.txt:
10134 * docs/design/part-preroll.txt:
10135 * docs/design/part-states.txt:
10136 Some more tweeks and additions to the docs.
10138 2005-06-30 Wim Taymans <wim@fluendo.com>
10140 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10141 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10142 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10143 (gst_pad_check_pull_range), (gst_pad_get_range),
10144 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10146 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10147 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10148 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10149 (gst_pad_remove_buffer_probe):
10150 Removed atomic operations, use existing LOCK.
10151 Move exception handling out of main code path.
10153 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10155 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10156 (silly_return_true_function), (gst_pad_class_init),
10157 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10158 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10159 (gst_pad_send_event):
10160 Fix accumulator, add default value by using _emitv() instead
10161 of _emit() for signal emission.
10163 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10165 * docs/manual/advanced-dataaccess.xml:
10166 * examples/manual/Makefile.am:
10168 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10171 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10173 * gst/elements/gstfilesink.c: (gst_filesink_render):
10174 Simplify code so that we don't have to handle short
10175 writes and return GST_FLOW_ERROR if an error occured.
10177 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10179 * docs/gst/gstreamer-docs.sgml:
10180 Remove probes more.
10182 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10184 * docs/gst/gstreamer-sections.txt:
10185 * docs/gst/tmpl/gstpad.sgml:
10186 * docs/gst/tmpl/gstprobe.sgml:
10188 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10189 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10190 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10191 (gst_pad_push_event), (gst_pad_send_event):
10193 * gst/gstutils.c: (gst_pad_add_data_probe),
10194 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10195 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10196 (gst_pad_remove_buffer_probe):
10198 Remove old probes, add new g-signal-based probes and some utility
10201 2005-06-29 Edward Hervey <edward@fluendo.com>
10203 * gst/gstelementfactory.c:
10206 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10207 the definition to the header file.
10209 2005-06-29 Andy Wingo <wingo@pobox.com>
10211 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10212 plugins from the source directory.
10214 2005-06-29 Wim Taymans <wim@fluendo.com>
10216 * docs/gst/tmpl/gstbuffer.sgml:
10217 * docs/gst/tmpl/gstclock.sgml:
10218 Some fixings for blantently wrong text.
10220 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10222 * check/Makefile.am:
10223 * gst/gst.c: (add_path_func), (init_pre):
10224 * gst/gstregistry.c: (gst_registry_add_path):
10225 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10226 only scan the GST_PLUGIN_PATH locations, and not add
10229 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10231 * docs/gst/gstreamer-sections.txt:
10232 * docs/gst/tmpl/gstbasesrc.sgml:
10233 * gst/gstelement.c:
10234 * gst/gstelement.h:
10239 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10241 * docs/manual/advanced-autoplugging.xml:
10242 Fix autoplugging example.
10244 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10246 * docs/manual/advanced-autoplugging.xml:
10247 * docs/manual/mime-world.fig:
10248 Try to get autoplugging working, fix type detection. Fix text
10249 in hello-world image.
10251 2005-06-29 Wim Taymans <wim@fluendo.com>
10253 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10254 (gst_base_sink_change_state):
10258 map SIGNAL and BROADCAST to the right function.
10261 Remove redundant braces.
10263 * gst/gstpad.c: (gst_pad_set_caps):
10264 Don't call setcaps function when reseting caps to NULL.
10266 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10267 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10268 (gst_system_clock_id_unschedule):
10269 Use BROADCAST as this is what we do.
10271 2005-06-29 Wim Taymans <wim@fluendo.com>
10273 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10274 We are actually prerolling before commiting the state
10277 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10279 * docs/manual/advanced-clocks.xml:
10280 * docs/manual/advanced-interfaces.xml:
10281 * docs/manual/advanced-metadata.xml:
10282 * docs/manual/advanced-position.xml:
10283 * docs/manual/advanced-schedulers.xml:
10284 * docs/manual/advanced-threads.xml:
10285 * docs/manual/appendix-porting.xml:
10286 * docs/manual/basics-bins.xml:
10287 * docs/manual/basics-bus.xml:
10288 * docs/manual/basics-elements.xml:
10289 * docs/manual/basics-helloworld.xml:
10290 * docs/manual/basics-pads.xml:
10291 * docs/manual/highlevel-components.xml:
10292 * docs/manual/manual.xml:
10293 * docs/manual/thread.fig:
10294 Update (until threads/scheduling) Application Development Manual;
10295 remove GstThread, add GstBus, add simple porting checklist, add
10296 documentation for tag writing, clocks, make all examples until this
10297 part compile and run.
10298 * examples/manual/Makefile.am:
10299 Update from changes to Application Development Manual; add bus
10300 example, remove thread example.
10302 2005-06-28 Wim Taymans <wim@fluendo.com>
10304 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10305 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10306 (gst_bus_source_dispatch):
10307 Add debugging messages.
10308 Make internal methods static.
10309 Handle the case where the bus is flushed in the handler.
10311 * gst/gstelement.c: (gst_element_get_bus):
10312 Fix refcount in _get_bus();
10314 * gst/gstpipeline.c: (gst_pipeline_change_state),
10315 (gst_pipeline_get_clock_func):
10316 Clock refcounting fixes.
10317 Handle the case where preroll timed out more gracefully.
10319 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10320 Clean up the internal thread in dispose. This is needed
10321 for subclasses that actually get disposed.
10323 * gst/schedulers/threadscheduler.c:
10324 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10325 (gst_thread_scheduler_dispose):
10326 Free thread pool in dispose.
10328 2005-06-28 Andy Wingo <wingo@pobox.com>
10330 * tests/network-clock-utils.scm (debug, print-event): New utils.
10332 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10333 (*packet-loss*): Unified loss probability.
10334 (network-time): Report out-of-band events.
10336 * tests/plot-data: Add support for out-of-band events. Hack it
10337 into this script instead of passing it down the pipe; should fix
10340 2005-06-28 Wim Taymans <wim@fluendo.com>
10342 * docs/gst/gstreamer.types:
10343 * docs/gst/tmpl/gstbasesrc.sgml:
10344 * docs/gst/tmpl/gstpad.sgml:
10347 2005-06-28 Wim Taymans <wim@fluendo.com>
10349 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10350 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10351 (gst_proxy_pad_do_fixatecaps):
10352 Correctly proxy the check_pull_range function.
10354 2005-06-28 Andy Wingo <wingo@pobox.com>
10356 * tests/network-clock.scm: Removed need for slib.
10358 2005-06-28 Wim Taymans <wim@fluendo.com>
10360 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10361 (gst_basesink_preroll_queue_flush):
10362 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10363 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10364 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10365 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10366 (gst_proxy_pad_set_property):
10369 * gst/gstqueue.c: (gst_queue_init):
10370 The deprecated pad loop function is removed now.
10372 2005-06-28 Andy Wingo <wingo@pobox.com>
10374 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10375 New parameters, simulate network packet loss.
10377 * tests/network-clock-utils.scm: Initialize the RNG.
10379 2005-06-28 Wim Taymans <wim@fluendo.com>
10381 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10382 (gst_basesink_event), (gst_basesink_deactivate):
10383 Flushing the preroll queue always needs to unlock the waiters.
10385 2005-06-28 Edward Hervey <edward@fluendo.com>
10387 * gst/gstpipeline.c: (gst_pipeline_send_event):
10388 Wheen a seek was successful on a pipeline, set the stream_time to the
10389 seek offset in order to have a synchronized stream_time.
10391 2005-06-28 Wim Taymans <wim@fluendo.com>
10393 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10394 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10395 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10396 (gst_proxy_pad_do_fixatecaps):
10397 Call wrapper function instead of just calling the function
10398 pointers. This takes care of any locking and whatmore.
10400 2005-06-28 Wim Taymans <wim@fluendo.com>
10402 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10403 (gst_pad_pull_range):
10405 CONNECTED -> LINKED.
10407 2005-06-28 Andy Wingo <wingo@pobox.com>
10409 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10410 source-munging commit!!!
10412 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10413 (gst_object_sink): Take gpointer arguments, not GstObject --
10414 avoids casts. Like GLib.
10416 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10419 2005-06-27 Andy Wingo <wingo@pobox.com>
10421 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10424 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10425 returns a sorted copy of the trace list.
10426 (gst_alloc_trace_print_live): New API, only prints traces with
10427 live objects. Sort the list.
10428 (gst_alloc_trace_print_all): Sort the list.
10429 (gst_alloc_trace_print): Align columns.
10431 * gst/elements/gstttypefindelement.c:
10432 * gst/elements/gsttee.c:
10433 * gst/base/gstbasesrc.c:
10434 * gst/base/gstbasesink.c:
10435 * gst/base/gstbasetransform.c:
10436 * gst/gstqueue.c: Adapt for pad activation changes.
10438 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10440 (gst_pipeline_dispose): Drop ref on sched.
10442 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10443 (gst_pad_activate_default): Push mode by default.
10444 (pre_activate_switch, post_activate_switch): New stubs, things to
10445 do before and after switching activation modes on pads.
10446 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10447 the pad's activate function to choose which mode to activate.
10448 Shortcut on deactivation and call the right function directly.
10449 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10451 (gst_pad_activate_push): New API, same for push mode.
10452 (gst_pad_set_activate_function)
10453 (gst_pad_set_activatepull_function)
10454 (gst_pad_set_activatepush_function): Setters for new API.
10456 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10457 Trace all miniobjects.
10458 (gst_mini_object_make_writable): Unref the arg if we copy, like
10459 gst_caps_make_writable.
10461 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10463 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10464 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10465 Adapt for new pad API.
10467 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10469 * gst/gstelement.h:
10470 * gst/gstelement.c (gst_element_iterate_src_pads)
10471 (gst_element_iterate_sink_pads): New API functions.
10473 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10474 should fold into gstiterator.c in some form.
10475 (gst_element_pads_activate): Simplified via use of fold and
10476 delegation of decisions to gstpad->activate.
10478 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10481 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10482 class once in init, like gstmessage. Didn't run into this issue
10483 but it seems correct. Don't initialize a trace, gstminiobject does
10486 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10487 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10489 (assert_live_count): New util function, uses alloc traces to check
10492 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10493 To be modified when unlink drops the internal pad.
10495 2005-06-27 Wim Taymans <wim@fluendo.com>
10497 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10498 (gst_bin_change_state):
10499 Cleanup the get_state() function a little, make sure it
10500 iterates the same set of elements.
10501 Added stub iterate_state_order().
10503 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10505 * docs/gst/gstreamer-docs.sgml:
10506 * docs/gst/gstreamer-sections.txt:
10507 * docs/gst/gstreamer.types:
10508 * docs/gst/tmpl/gstbasesink.sgml:
10509 * docs/gst/tmpl/gstbasesrc.sgml:
10510 * docs/gst/tmpl/gstbasetransform.sgml:
10511 * docs/gst/tmpl/gstelement.sgml:
10512 * docs/gst/tmpl/gstiterator.sgml:
10513 * gst/base/gstbasesrc.c:
10514 * gst/base/gstbasesrc.h:
10515 * gst/base/gstbasetransform.h:
10516 * gst/gstelement.c:
10517 * gst/gstiterator.h:
10518 adding basetransform and iterator docs
10520 2005-06-27 Andy Wingo <wingo@pobox.com>
10522 * docs/design/part-activation.txt: Notes on how activation should
10523 work -- not quite implemented yet.
10525 2005-06-25 Wim Taymans <wim@fluendo.com>
10527 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10528 At least get the chain function correct, needs more
10531 2005-06-25 Wim Taymans <wim@fluendo.com>
10533 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10534 (gst_basesink_handle_object), (gst_basesink_event),
10535 (gst_basesink_do_sync), (gst_basesink_handle_event),
10536 (gst_basesink_change_state):
10538 Right, two problems here: ghostpads don't take locks and
10539 glib _rec_mutex_lock_full() with depth==0 still locks.
10540 Catch illegal locking and g_warn them.
10542 2005-06-25 Wim Taymans <wim@fluendo.com>
10544 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10545 Have to check for completion now...
10547 2005-06-25 Wim Taymans <wim@fluendo.com>
10549 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10550 (gst_basesink_handle_object), (gst_basesink_event),
10551 (gst_basesink_do_sync), (gst_basesink_handle_event),
10552 (gst_basesink_change_state):
10554 Unlock STREAM_LOCK whatever the recursion was.
10556 2005-06-25 Wim Taymans <wim@fluendo.com>
10558 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10559 (gst_basesink_preroll_queue_empty),
10560 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10561 (gst_basesink_event), (gst_basesink_do_sync),
10562 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10563 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10564 (gst_basesink_change_state):
10565 Reworked the base sink, handle event and buffer serialisation
10566 correctly and removed possible deadlock.
10567 Handle EOS correctly.
10569 2005-06-25 Wim Taymans <wim@fluendo.com>
10571 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10572 (gst_pipeline_change_state):
10573 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10574 Allow elements to post EOS in the state change function.
10575 Fix up -launch, make it exit the poll loop when the
10576 pipeline actually changed state.
10577 Fix up warning parsing in -launch.
10579 2005-06-25 Wim Taymans <wim@fluendo.com>
10581 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10582 (gst_tee_sink_activate):
10583 Core takes STREAM_LOCK for us now.
10585 2005-06-25 Wim Taymans <wim@fluendo.com>
10587 * gst/gstelement.c: (gst_element_get_state_func),
10588 (gst_element_set_state):
10589 * gst/gstelement.h:
10590 * gst/gstmessage.c: (gst_message_parse_error),
10591 (gst_message_parse_warning):
10592 Keep track of current target state while performing a state
10593 change so that subclasses can do something interesting.
10594 Fix parsing of warning/error messages when GError is NULL.
10596 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10598 * docs/gst/Makefile.am:
10599 * docs/gst/gstreamer-docs.sgml:
10600 * docs/gst/gstreamer-sections.txt:
10601 * docs/gst/gstreamer.types:
10602 * docs/gst/tmpl/gstbasesink.sgml:
10603 * docs/gst/tmpl/gstbasesrc.sgml:
10604 * docs/gst/tmpl/gstbin.sgml:
10605 * docs/gst/tmpl/gstcompat.sgml:
10606 * docs/gst/tmpl/gstfakesink.sgml:
10607 * docs/gst/tmpl/gstfakesrc.sgml:
10608 * docs/gst/tmpl/gstfilesink.sgml:
10609 * docs/gst/tmpl/gstfilesrc.sgml:
10610 * docs/gst/tmpl/gstindex.sgml:
10611 * docs/manual/appendix-quotes.xml:
10612 * gst/base/gstbasesrc.h:
10613 * gst/elements/gstfakesrc.h:
10614 * gst/gstmessage.h:
10615 start pulling in base classes and elements in our docs
10617 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10619 * docs/gst/Makefile.am:
10620 * docs/libs/Makefile.am:
10621 fixed make distcheck with gtk-doc 1.3
10623 2005-06-23 Wim Taymans <wim@fluendo.com>
10625 * gst/gstelement.c: (gst_element_get_state_func),
10626 (gst_element_set_state), (gst_element_change_state):
10627 When the state did not change, also report NO_PREROLL
10630 2005-06-23 Wim Taymans <wim@fluendo.com>
10632 * gst/gstpad.c: (gst_pad_event_default):
10633 * gst/gstqueue.c: (gst_queue_loop):
10634 No unsafe task pausing please.
10636 2005-06-23 Wim Taymans <wim@fluendo.com>
10638 * gst/schedulers/threadscheduler.c:
10639 (gst_thread_scheduler_task_start),
10640 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10641 Ref the task before pushing it on the threadpool. This
10642 makes sure that we have a ref when the threadfunction is
10645 2005-06-23 Andy Wingo <wingo@pobox.com>
10647 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10648 offset is greater than the file's size.
10650 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10651 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10652 * gst/gstobject.c (gst_object_class_init): Make the class lock
10653 recursive. Wim won't let me drop deep_notify. Decodebin works
10654 again, whoopdy doo.
10656 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10657 internal pad, and hacks accordingly. Doesn't do it on the target
10658 pad because we change its caps. Probably catches all cases of
10660 (gst_ghost_pad_set_property): Connect to notify::caps as
10663 * tests/network-clock.scm (plot-simulation): Pipe data to the
10664 elite python skript.
10666 * tests/network-clock-utils.scm (define-parameter): New macro,
10667 defines a parameter that can be set via the command line.
10668 (set-parameter!, parse-parameter-arguments): Command line args
10671 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10674 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10676 * gst/elements/gsttypefindelement.c:
10677 (gst_type_find_element_handle_event):
10678 Don't restart typefinding on a discont.
10679 * gst/gstelement.c: (gst_element_set_state):
10680 Debug spelling fix.
10681 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10682 Allow changing mode of an active pad.
10683 Debug output fixes.
10684 * gst/registries/gstlibxmlregistry.c: (load_feature):
10685 Don't cast a static pad template to a normal pad template.
10687 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10689 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10690 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10691 remove gst_strtoll completely, since it didn't actually do
10692 anything more than what g_ascii_strtoull already does.
10693 check for range errors when deserializing
10694 do a cast for the unsigned cases; but further fixing needs
10695 a decision on what the interpretation of "(int)" and
10696 deserialization should be for values that fall outside the
10697 type's boundaries (ie, refuse, or interpret as casting)
10699 2005-06-23 Wim Taymans <wim@fluendo.com>
10701 * check/Makefile.am:
10702 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10703 * docs/design/part-live-source.txt:
10704 * docs/design/part-states.txt:
10705 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10706 (gst_basesrc_set_live), (gst_basesrc_is_live),
10707 (gst_basesrc_get_range), (gst_basesrc_activate),
10708 (gst_basesrc_change_state):
10709 * gst/base/gstbasesrc.h:
10710 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10711 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10712 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10713 * gst/gstelement.c: (gst_element_get_state_func),
10714 (gst_element_set_state):
10715 * gst/gstelement.h:
10717 * tools/gst-launch.c: (event_loop), (main):
10718 Added support for live sources and other elements that
10720 Updated design docs, added live-source design doc.
10721 Implemented live source functionality in basesrc
10722 Fix error condition in _bin_get_state()
10723 Implement live source handling in -launch.
10724 Added check for live sources.
10725 Fixed case in GstBin where elements were changed state
10729 2005-06-23 Andy Wingo <wingo@pobox.com>
10731 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10732 borken refcounting.
10734 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10735 gst_caps_replace takes care of this for us.
10737 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10738 gst_pad_set_caps on the target, not just its setcaps() function.
10740 * tests/network-clock.scm:
10741 * tests/network-clock-utils.scm: A network clock simulator.
10742 Something of an algorithmic testbed before doing something in C.
10744 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10746 * check/Makefile.am:
10747 * check/gst/capslist.h:
10748 copy over from 0.8, and add two with bitmasks specified with
10750 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10751 add test to parse everything from capslist.h
10752 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10754 add test for structure deserialization
10755 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10756 add tests for deserialization of strings to int types
10757 * gst/gststructure.c: (gst_structure_nth_field_name):
10758 * gst/gststructure.h:
10759 add a way to get the name of a field referenced by index
10760 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10761 instead of checking if the resulting long long lies between
10762 min and max, we check if the long long would fit into
10763 a number of bytes for the final type.
10764 This fixes cases where a string represents 2^32 - 1, which
10765 when cast to int would be the (valid) -1, but is bigger than
10768 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10770 * gst/parse/grammar.y:
10771 add a log line for type deserialization
10773 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10775 * check/gst/gstvalue.c: (START_TEST):
10776 * gst/gstvalue.c: (gst_value_deserialize):
10777 return long long, not int, so gint64 deserialization actually
10778 works. Is there any flag that makes the compiler check this ?
10781 2005-06-22 Wim Taymans <wim@fluendo.com>
10784 Added convenience macros for setting buffers in GValue.
10786 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10788 * check/gst/.cvsignore:
10789 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10790 add a test deserializing int64, and comment part out because
10793 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10795 * check/Makefile.am:
10796 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10797 * testsuite/Makefile.am:
10798 * testsuite/caps/Makefile.am:
10799 * testsuite/caps/value_serialize.c:
10800 * testsuite/test_gst_init.c:
10801 move a value_serialize test over
10803 2005-06-20 Wim Taymans <wim@fluendo.com>
10808 * gst/gstvalue.c: (gst_value_compare_buffer),
10809 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10810 (gst_value_compare_flags), (gst_value_serialize_flags),
10811 (gst_value_deserialize_flags), (_gst_value_initialize):
10812 Fix serialisation of buffers, they are not boxed types anymore
10814 2005-06-20 Wim Taymans <wim@fluendo.com>
10816 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10817 Testcase to show error in buffer-on-caps serialisation.
10819 2005-06-20 Andy Wingo <wingo@pobox.com>
10821 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10822 will be adding to later.
10824 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10825 if its socks fill with rocks.
10826 (gst_system_clock_obtain): Set the name on object construction.
10827 Avoid double-checked locking.
10829 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10831 * gst/gsturi.c: (gst_element_make_from_uri):
10832 Fix potential endless loop.
10834 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10836 * check/Makefile.am:
10838 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10840 move over from testsuite dir and clean up
10843 * testsuite/Makefile.am:
10844 * testsuite/tags/.cvsignore:
10845 * testsuite/tags/Makefile.am:
10846 * testsuite/tags/merge.c:
10847 remove testsuite/tags
10849 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10851 * docs/gst/gstreamer-sections.txt:
10852 * docs/gst/tmpl/gstenumtypes.sgml:
10853 * win32/gstenumtypes.c:
10854 clean up documentation build a little
10856 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10858 * check/gstcheck.h:
10859 add macros for checking refcounts on objects and caps
10860 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10861 add some more unit tests
10862 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10863 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10864 fix leaked refcounts (I hope :)) so unittest works
10868 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10870 * configure.ac: back to HEAD
10872 === release 0.9.1 ===
10874 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10880 2005-06-17 Andy Wingo <wingo@pobox.com>
10882 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10883 assert; it's always possible that the pad gets deactivated in
10884 between the checks in gstpad.c and the implementation. Rely on
10885 finish_preroll() to return a FLUSHING or similar instead of on the
10888 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10889 clock and post an EOS message if we come out of finish_preroll in
10892 2005-06-16 David Schleef <ds@schleef.org>
10894 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10895 (gst_capsfilter_set_property): Allow NULL as possible value
10896 for filter_caps property, indicating GST_CAPS_ANY.
10898 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10900 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10902 * gst/schedulers/Makefile.am:
10904 * gstreamer.spec.in:
10907 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10909 * gstreamer.spec.in:
10912 2005-06-08 Andy Wingo <wingo@pobox.com>
10914 * gst/gstutils.c: RPAD fixes all around.
10915 (gst_element_link_pads): Refcounting fixes.
10917 * tools/gst-inspect.c:
10918 * tools/gst-xmlinspect.c:
10920 * gst/base/gsttypefindhelper.c:
10921 * gst/base/gstbasesink.c:
10922 * gst/gstqueue.c: RPAD fixes.
10924 * gst/gstghostpad.h:
10925 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10926 pads. The tricky thing is they provide both source and sink
10927 interfaces, since they proxy the internal pad for the external
10928 pad, and vice versa. Implement with lower-level ProxyPad objects,
10929 with the interior proxy pad as a child of the exterior ghost pad.
10930 Should write a doc on this.
10932 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10933 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10936 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10937 pads are real pads. No ghost pads in this file. Not documenting
10938 the myriad s/RPAD/PAD/ and REALIZE fixes.
10939 (gst_pad_class_init): Add properties for "direction" and
10940 "template". Both are construct-only, so they can't change during
10941 the life of the pad. Fixes properly deriving from GstPad.
10942 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10943 derived objects, just set properties when creating the objects via
10945 (gst_pad_get_parent): Implement as a function, return NULL if the
10946 parent is not an element.
10947 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10948 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10950 * gst/gstobject.c (gst_object_class_init): Make name a construct
10951 property. Don't set it in the object init.
10953 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10954 with UNKNOWN direction.
10955 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10956 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10957 (gst_element_remove_pad): Remove ghost-pad special cases.
10958 (gst_element_pads_activate): Remove rpad cruft.
10960 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10961 catch the pad's-parent-not-an-element case.
10963 * gst/gst.h: Include gstghostpad.h.
10965 * gst/gst.c (init_post): No more real, ghost pads.
10967 * gst/Makefile.am: Add gstghostpad.[ch].
10969 * check/Makefile.am:
10970 * check/gst/gstbin.c:
10971 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10972 into a bin creates ghost pads, and that the refcounts are right.
10973 Partly moved from gstbin.c.
10975 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10977 * check/gst-libs/.cvsignore:
10978 * check/gst/.cvsignore:
10979 * check/pipelines/.cvsignore:
10981 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10982 (START_TEST), (cleanup_suite), (main):
10983 add some tests related to cleanup after running pipelines
10985 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10987 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10988 add a testsuite for GstBuffer
10990 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10992 * gst/gstminiobject.h:
10993 add defines for accessing the refcount
10995 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10997 * Makefile.am: added support for html unit test coverage reports
10999 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11001 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11002 Free existing caps if the capsfilter changes. Add a FIXME about
11003 setting those caps on the pads.
11005 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11006 Before adding a ghost pad to a parent bin, check that there isn't
11007 already one for the element on the bin. Prevents infinite recursion
11008 when using decodebin in parse pipelines. Andy says he'll rewrite the
11009 way this works anyway, so ignore the hack.
11011 2005-06-02 Andy Wingo <wingo@pobox.com>
11013 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11014 file size, pass it on to the type find helper.
11016 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11017 segment_start and segment_end properly according to the seek
11018 method. Segment_end is still a bit flaky because offset can be
11019 negative for CUR and END cases, but it takes -1 as an "unset"
11022 2005-06-02 Wim Taymans <wim@fluendo.com>
11024 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11025 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11026 (gst_basesink_activate):
11027 * gst/base/gstbasesink.h:
11028 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11029 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11030 (gst_pad_query), (gst_pad_start_task):
11032 * gst/gstqueue.c: (gst_queue_bufferalloc),
11033 (gst_queue_handle_sink_event), (gst_queue_chain):
11034 Bufferalloc: return GstFlowReturn to more accuratly report
11035 why allocation failed.
11037 2005-06-02 Wim Taymans <wim@fluendo.com>
11039 * gst/gstpipeline.c: (gst_pipeline_send_event):
11040 Take snapshot of state without blocking.
11042 2005-06-02 Wim Taymans <wim@fluendo.com>
11044 * docs/design/part-TODO.txt:
11045 * docs/design/part-caps.txt:
11046 * docs/design/part-clocks.txt:
11047 * docs/design/part-negotiation.txt:
11048 * docs/design/part-preroll.txt:
11051 2005-05-30 Wim Taymans <wim@fluendo.com>
11053 * gst/elements/gstidentity.c: (gst_identity_event),
11054 (gst_identity_transform), (gst_identity_get_property):
11055 Protect last_message property as it is accessed from
11058 2005-05-30 Wim Taymans <wim@fluendo.com>
11060 * gst/gstelement.c: (gst_element_init),
11061 (gst_element_pads_activate), (gst_element_change_state):
11062 Slicker pad activation code.
11064 2005-05-30 Wim Taymans <wim@fluendo.com>
11067 * gst/gstelement.h:
11068 * gst/gstelementfactory.h:
11070 Move elementfactory methods to separate .h file.
11072 2005-05-30 Wim Taymans <wim@fluendo.com>
11074 * docs/design/part-overview.txt:
11075 * gst/gstsystemclock.h:
11076 Small typo fixes, doc updates.
11078 2005-05-30 Wim Taymans <wim@fluendo.com>
11080 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11081 (init_popt_callback):
11082 Remove cpu-opt flag.
11084 2005-05-30 Wim Taymans <wim@fluendo.com>
11086 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11087 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11089 Avoid typechecking in places where not needed.
11090 Added accessor for malloc_data.
11092 2005-05-30 Wim Taymans <wim@fluendo.com>
11094 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11095 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11096 (gst_pad_configure_sink), (gst_pad_configure_src),
11097 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11098 (gst_pad_start_task):
11099 Propagate errors from _set_caps() in configure_src/sink
11100 functions instead of returning TRUE.
11101 FLUSH events can travel up and downstream
11104 2005-05-30 Wim Taymans <wim@fluendo.com>
11106 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11107 (gst_basesink_activate):
11108 Handle EOS in preroll.
11110 2005-05-30 Wim Taymans <wim@fluendo.com>
11112 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11113 (gst_queue_loop), (gst_queue_handle_src_event):
11114 Remove old pieces of code
11115 Flushing the queue in an upstream event is a very bad idea.
11117 2005-05-26 Andy Wingo <wingo@pobox.com>
11119 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11120 gst_value_set_mini_object so as to add a ref on the object (which
11121 will be removed when the value is unset).
11123 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11124 arg type in ::handoff.
11126 * gst/gstelement.c (gst_element_change_state): Also deactivate
11127 pads in READY->NULL, just in case the element didn't make it to
11128 PAUSED. Wingo tested, Wim approved.
11130 2005-05-26 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_alloc_buffer),
11134 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11135 A flushing pad cannot be used to alloc_buffer from.
11137 2005-05-26 Wim Taymans <wim@fluendo.com>
11139 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11140 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11141 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11142 (gst_bus_create_watch), (gst_bus_add_watch_full):
11144 Implement a real GSource and use g_main_context_wakeup() to
11145 signal new messages instead of the socketpair.
11147 2005-05-25 Wim Taymans <wim@fluendo.com>
11149 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11150 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11151 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11152 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11153 (gst_pad_send_event), (gst_pad_start_task):
11154 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11155 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11156 (gst_queue_sink_activate), (gst_queue_src_activate),
11157 (gst_queue_change_state):
11159 Fix state changes for non sinks. We now change sinks, then elements
11160 with unconnected srcpads, then the rest.
11161 More efficient queue unlocking in flush and state changes.
11162 Set the pad activate mode even if it does not have an activate
11165 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11167 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11168 Don't go in pull mode for non-seekable sources.
11169 * gst/elements/gsttypefindelement.h:
11170 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11171 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11172 (free_entry), (stop_typefinding),
11173 (gst_type_find_element_handle_event), (find_peek),
11174 (gst_type_find_element_chain), (do_pull_typefind),
11175 (gst_type_find_element_change_state):
11176 Allow typefinding (w/o seeking) in push-mode, simplified version
11177 of what was in 0.8.
11178 * gst/gstutils.c: (gst_buffer_join):
11180 gst_buffer_join() from 0.8.
11182 2005-05-25 Wim Taymans <wim@fluendo.com>
11184 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11185 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11186 (gst_pad_send_event), (gst_pad_start_task):
11187 Disable attempt at mode switching until it is figured out.
11189 2005-05-25 Wim Taymans <wim@fluendo.com>
11191 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11192 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11193 (gst_basesink_finish_preroll), (gst_basesink_chain),
11194 (gst_basesink_loop), (gst_basesink_activate),
11195 (gst_basesink_change_state):
11196 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11197 (gst_basesrc_get_range), (gst_basesrc_loop),
11198 (gst_basesrc_activate):
11199 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11200 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11201 (gst_real_pad_init), (gst_real_pad_set_property),
11202 (gst_real_pad_get_property), (gst_pad_set_active),
11203 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11204 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11205 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11206 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11207 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11208 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11209 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11210 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11211 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11212 (gst_pad_stop_task):
11214 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11215 (gst_queue_loop), (gst_queue_src_activate):
11216 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11217 (gst_task_get_state):
11219 * gst/schedulers/threadscheduler.c:
11220 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11221 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11223 Remove ACTIVE pad flag, use FLUSHING everywhere
11224 Added _pad_chain(), _pad_get_range() to call chain/getrange
11226 Add locks around IS_FLUSHING when reading.
11227 Take STREAM lock in chain(), get_range() functions so plugins
11228 don't need to take it anymore.
11232 2005-05-25 Wim Taymans <wim@fluendo.com>
11234 * tools/gst-launch.c: (event_loop):
11235 Unref message after using its contents instead of
11238 2005-05-24 Wim Taymans <wim@fluendo.com>
11240 * docs/design/draft-ghostpads.txt:
11241 * docs/design/draft-push-pull.txt:
11242 * docs/design/draft-query.txt:
11243 * docs/design/part-overview.txt:
11244 Docs updates, added general overview doc.
11246 2005-05-21 David Schleef <ds@schleef.org>
11248 * docs/gst/tmpl/old/GstBin.sgml:
11249 * docs/gst/tmpl/old/GstBuffer.sgml:
11250 * docs/gst/tmpl/old/GstCaps.sgml:
11251 * docs/gst/tmpl/old/GstClock.sgml:
11252 * docs/gst/tmpl/old/GstCompat.sgml:
11253 * docs/gst/tmpl/old/GstData.sgml:
11254 * docs/gst/tmpl/old/GstElement.sgml:
11255 * docs/gst/tmpl/old/GstEvent.sgml:
11256 * docs/gst/tmpl/old/GstIndex.sgml:
11257 * docs/gst/tmpl/old/GstStructure.sgml:
11258 * docs/gst/tmpl/old/GstTag.sgml:
11259 * docs/gst/tmpl/old/cothreads.sgml:
11260 * docs/gst/tmpl/old/cothreads_compat.sgml:
11261 * docs/gst/tmpl/old/gettext.sgml:
11262 * docs/gst/tmpl/old/gobject2gtk.sgml:
11263 * docs/gst/tmpl/old/grammar.tab.sgml:
11264 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11265 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11266 * docs/gst/tmpl/old/gst_private.sgml:
11267 * docs/gst/tmpl/old/gstaggregator.sgml:
11268 * docs/gst/tmpl/old/gstarch.sgml:
11269 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11270 * docs/gst/tmpl/old/gstbufferstore.sgml:
11271 * docs/gst/tmpl/old/gstdata_private.sgml:
11272 * docs/gst/tmpl/old/gstdisksink.sgml:
11273 * docs/gst/tmpl/old/gstdisksrc.sgml:
11274 * docs/gst/tmpl/old/gstelementfactory.sgml:
11275 * docs/gst/tmpl/old/gstextratypes.sgml:
11276 * docs/gst/tmpl/old/gstfakesink.sgml:
11277 * docs/gst/tmpl/old/gstfakesrc.sgml:
11278 * docs/gst/tmpl/old/gstfdsink.sgml:
11279 * docs/gst/tmpl/old/gstfdsrc.sgml:
11280 * docs/gst/tmpl/old/gstfilesink.sgml:
11281 * docs/gst/tmpl/old/gstfilesrc.sgml:
11282 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11283 * docs/gst/tmpl/old/gstidentity.sgml:
11284 * docs/gst/tmpl/old/gstindexfactory.sgml:
11285 * docs/gst/tmpl/old/gstmarshal.sgml:
11286 * docs/gst/tmpl/old/gstmd5sink.sgml:
11287 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11288 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11289 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11290 * docs/gst/tmpl/old/gstpipefilter.sgml:
11291 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11292 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11293 * docs/gst/tmpl/old/gstshaper.sgml:
11294 * docs/gst/tmpl/old/gstspider.sgml:
11295 * docs/gst/tmpl/old/gstspideridentity.sgml:
11296 * docs/gst/tmpl/old/gststatistics.sgml:
11297 * docs/gst/tmpl/old/gsttee.sgml:
11298 * docs/gst/tmpl/old/gsttimecache.sgml:
11299 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11300 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11301 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11302 * docs/gst/tmpl/old/types.sgml:
11303 I didn't intend to add these or check them in.
11305 2005-05-19 David Schleef <ds@schleef.org>
11307 * configure.ac: Use -no-common everywhere. In a sane world, it
11308 would be the default in libtool, because without it, you can't
11309 build DLLs on Windows.
11310 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11311 * docs/gst/gstreamer-sections.txt:
11312 * docs/gst/tmpl/gstcpu.sgml:
11313 * docs/gst/tmpl/gstdata.sgml:
11314 * docs/gst/tmpl/gstthread.sgml:
11316 2005-05-19 David Schleef <ds@schleef.org>
11318 * gst/gstminiobject.c: (gst_value_set_mini_object),
11319 (gst_value_take_mini_object), (gst_value_get_mini_object):
11320 * gst/gstminiobject.h: Add GValue set/get functions.
11322 2005-05-19 Wim Taymans <wim@fluendo.com>
11324 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11325 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11326 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11328 * gst/gstbus.c: (gst_bus_post):
11329 * gst/gstelement.c: (gst_element_get_random_pad):
11330 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11331 Make subbufer unref the parent in finalize.
11332 some more debugging info.
11335 2005-05-19 Wim Taymans <wim@fluendo.com>
11337 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11338 (gst_basesink_init), (gst_basesink_finalize),
11339 (gst_basesink_activate), (gst_basesink_change_state):
11340 Don't free preroll queue too early.
11342 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11346 Hi, I'm outdated. Please shoot me.
11348 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11350 * gst/gstpipeline.c: (gst_pipeline_send_event):
11351 Do not access variables after they have been deleted.
11353 2005-05-19 Wim Taymans <wim@fluendo.com>
11355 * tools/gst-inspect.c: (print_plugin_features):
11356 A plugin feature does unfortunatly not use the
11359 2005-05-18 Wim Taymans <wim@fluendo.com>
11361 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11362 Port _span() functions to new subbuffers.
11364 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11366 * gst/gstbin.c: (gst_bin_add_func):
11367 Fix clock settery in bins when adding kids after the clock has
11370 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11372 * gst/elements/gstidentity.c: (gst_identity_class_init):
11373 Workaround until signals support GstMiniObject.
11375 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11378 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11380 2005-05-18 Wim Taymans <wim@fluendo.com>
11382 * gst/base/Makefile.am:
11383 * gst/base/gstadapter.c: (gst_adapter_base_init),
11384 (gst_adapter_class_init), (gst_adapter_init),
11385 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11386 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11387 (gst_adapter_flush), (gst_adapter_available),
11388 (gst_adapter_available_fast):
11389 * gst/base/gstadapter.h:
11390 Ported and added adapter to the base classes.
11392 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11395 * gst/gstmessage.c:
11396 Make sure the class is reffed/unreffed once before threads can be
11397 used. Fixes #304551.
11399 2005-05-17 Wim Taymans <wim@fluendo.com>
11401 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11402 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11403 * gst/gstminiobject.c: (gst_mini_object_get_type),
11404 (gst_mini_object_free):
11405 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11406 (gst_pad_push), (gst_pad_push_event):
11407 * gst/gstqueue.c: (gst_queue_change_state):
11408 Don't queue buffers in basesink when we are flushing.
11409 Unref buffer when flushing in basesink.
11410 Flush queue when going to READY
11411 Unref buffer when _push() returns an error.
11412 Don't free MiniObject instance when refcount is incremented
11413 in _finalize() so that we can recover objects.
11415 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11417 * docs/manual/advanced-schedulers.xml:
11418 * docs/manual/appendix-checklist.xml:
11419 * docs/pwg/advanced-clock.xml:
11420 * docs/pwg/advanced-interfaces.xml:
11421 * docs/pwg/advanced-request.xml:
11422 * docs/pwg/advanced-types.xml:
11423 * docs/pwg/intro-preface.xml:
11424 * examples/plugins/example.c: (gst_example_get_type),
11425 (gst_example_class_init), (gst_example_chain),
11426 (gst_example_set_property), (gst_example_get_property),
11427 (gst_example_change_state), (plugin_init):
11428 * examples/plugins/example.h:
11431 2005-05-17 Wim Taymans <wim@fluendo.com>
11433 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11434 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11435 * gst/gstqueue.c: (gst_queue_change_state):
11436 Clear queue when going to READY.
11437 Remove IN_SETCAPS flag too.
11439 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11441 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11442 Remove implicit cast from gboolean to GstElementStateReturn;
11443 make sure we still return failure in paused => ready case if
11444 the parent class fails to change state and our own stop
11447 2005-05-17 Wim Taymans <wim@fluendo.com>
11449 * tools/gst-launch.c: (event_loop):
11450 Message was unreffed too soon.
11452 2005-05-16 Andy Wingo <wingo@pobox.com>
11454 * gst/gstbin.c (sink_iterator_filter): Err... um...
11456 * check/gst/gstbin.c (test_ghost_pads): New test for the
11457 ghosting-if-elements-not-in-same-bin behavior.
11459 2005-05-16 David Schleef <ds@schleef.org>
11461 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11462 accessing refcount directly.
11464 2005-05-15 David Schleef <ds@schleef.org>
11466 * check/Makefile.am: remove GstData checks
11467 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11468 * gst/Makefile.am: add miniobject, remove data
11469 * gst/gst.h: add miniobject, remove data
11470 * gst/gstdata.c: remove
11471 * gst/gstdata.h: remove
11472 * gst/gstdata_private.h: remove
11473 * gst/gsttypes.h: remove GstEvent and GstMessage
11474 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11475 * gst/gstmarshal.list: change BOXED -> OBJECT
11477 Implement GstMiniObject.
11478 * gst/gstminiobject.c:
11479 * gst/gstminiobject.h:
11481 Modify to be subclasses of GstMiniObject.
11482 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11483 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11484 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11485 (gst_subbuffer_get_type), (gst_subbuffer_init),
11486 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11489 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11490 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11491 (_gst_event_copy), (gst_event_new):
11493 * gst/gstmessage.c: (_gst_message_initialize),
11494 (gst_message_get_type), (gst_message_class_init),
11495 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11496 (gst_message_new), (gst_message_new_error),
11497 (gst_message_new_warning), (gst_message_new_tag),
11498 (gst_message_new_state_changed), (gst_message_new_application):
11499 * gst/gstmessage.h:
11500 * gst/gstprobe.c: (gst_probe_perform),
11501 (gst_probe_dispatcher_dispatch):
11503 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11504 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11505 (_gst_query_copy), (gst_query_new):
11507 Update elements for GstData -> GstMiniObject changes
11509 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11510 (gst_queue_chain), (gst_queue_loop):
11511 * gst/elements/gstbufferstore.c:
11512 (gst_buffer_store_add_buffer_func),
11513 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11514 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11515 (gst_fakesink_render):
11516 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11517 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11518 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11519 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11520 (gst_filesrc_create_read):
11521 * gst/elements/gstidentity.c: (gst_identity_class_init):
11522 * gst/elements/gsttypefindelement.c:
11523 (gst_type_find_element_src_event), (free_entry_buffers),
11524 (gst_type_find_element_handle_event):
11525 * libs/gst/dataprotocol/dataprotocol.c:
11526 (gst_dp_header_from_buffer):
11527 * libs/gst/dataprotocol/dataprotocol.h:
11528 * libs/gst/dataprotocol/dp-private.h:
11530 2005-05-15 David Schleef <ds@schleef.org>
11532 * gst/elements/gstelements.c: Don't include headers that were
11535 2005-05-15 David Schleef <ds@schleef.org>
11537 * gst/elements/Makefile.am: Remove some elements that don't
11538 need to be in the core (or even exist at all).
11539 * gst/elements/gstaggregator.c:
11540 * gst/elements/gstaggregator.h:
11541 * gst/elements/gstmd5sink.c:
11542 * gst/elements/gstmd5sink.h:
11543 * gst/elements/gstmultifilesrc.c:
11544 * gst/elements/gstmultifilesrc.h:
11545 * gst/elements/gstpipefilter.c:
11546 * gst/elements/gstpipefilter.h:
11547 * gst/elements/gstshaper.c:
11548 * gst/elements/gstshaper.h:
11549 * gst/elements/gststatistics.c:
11550 * gst/elements/gststatistics.h:
11551 * po/POTFILES.in: Remove above files.
11553 2005-05-14 Andy Wingo <wingo@pobox.com>
11555 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11556 so as to get the refs right.
11557 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11558 unreffing objects that don't pass the filter.
11560 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11561 gst_element_set_bus.
11562 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11563 normal cases, this will destroy the bus.
11565 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11568 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11571 2005-05-13 Andy Wingo <wingo@pobox.com>
11573 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11574 gst_pad_link, call pad_link_maybe_ghosting,
11575 (pad_link_maybe_ghosting): Links pads, making sure that the
11576 elements being linked are in the same bin.
11577 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11578 Helpers for pad_link_maybe_ghosting.
11580 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11583 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11585 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11587 * docs/design/part-element-source.txt:
11590 2005-05-12 Wim Taymans <wim@fluendo.com>
11592 * gst/base/gstbasesink.c: (gst_basesink_init),
11593 (gst_basesink_activate):
11594 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11595 (gst_basesrc_is_seekable):
11596 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11597 (bin_element_is_sink), (gst_bin_change_state):
11598 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11599 * gst/gstelement.h:
11600 Identify sinks by their flag to avoid overly complicated
11602 Do state changes even for elements not reachable from the
11604 BaseSink is a sink now :)
11605 Some more debugging info in the basesrc.
11608 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11610 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11611 Implement _query on a bin, similar to _send_event.
11613 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11615 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11616 Discont event offset format should be GST_FORMAT_BYTES,
11617 not GST_FORMAT_TIME.
11619 2005-05-12 Wim Taymans <wim@fluendo.com>
11621 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11622 Same fix as Ronald's but without the signal.
11624 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11626 * gst/gstutils.c: (gst_element_query_position):
11627 No, an element is not a pad.
11629 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11631 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11632 (gst_bin_get_state):
11633 If a child is removed from a bin while we remove the child from
11634 the bin and while we're retrieving its state, signal this to the
11635 get_state function so we abort the wait (instead of waiting for
11636 a timeout) and can immediately re-iterate over all other elements.
11638 2005-05-12 Wim Taymans <wim@fluendo.com>
11640 * gst/base/Makefile.am:
11641 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11642 (gst_basesrc_start):
11643 * gst/base/gstbasesrc.h:
11644 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11645 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11646 (gst_pushsrc_init), (gst_pushsrc_create):
11647 * gst/base/gstpushsrc.h:
11648 Added is_seekable to BaseSrc
11649 Added simple PushSrc.
11651 2005-05-11 Wim Taymans <wim@fluendo.com>
11653 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11654 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11655 (gst_element_link_pads), (gst_element_query_position),
11656 (gst_element_query_convert), (intersect_caps_func),
11657 (gst_pad_query_position), (gst_pad_query_convert):
11658 Fix refcounting in utils function.
11659 No point in trying to activate a pad when it's added, it could
11660 be added from the state change function and then we deadlock, the
11661 element has to decide what to do.
11663 2005-05-10 Andy Wingo <wingo@pobox.com>
11665 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11666 *all* the arguments.
11668 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11669 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11670 lock (according to the docs -- if this is wrong change the docs).
11672 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11673 flush messages in the NULL state.
11675 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11676 message immediately and return.
11677 (gst_bus_set_flushing): New function. If a bus is flushing, it
11678 flushes out any queued messages and immediately unrefs new
11679 messages. This is so when an element goes to NULL, all of the
11680 unhandled messages coming from it can be freed, and their
11681 references to the element dropped. In other words: message source
11682 ref considered harmful :P
11684 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11685 we're finished with it.
11687 * gst/gstmessage.c (gst_message_new_state_changed):
11689 2005-05-10 Wim Taymans <wim@fluendo.com>
11691 * gst/gstvalue.c: (gst_value_compare_flags),
11692 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11693 (_gst_value_initialize):
11694 Added flags serialize/deserialize/compare code.
11696 2005-05-09 Andy Wingo <wingo@pobox.com>
11698 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11699 Intersect the peer's caps with our caps.
11701 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11703 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11704 * gst/elements/gsttypefindelement.c: (find_peek):
11705 Handle negative offsets better. Fixes decodebin.
11707 2005-05-09 Wim Taymans <wim@fluendo.com>
11709 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11710 (gst_base_transform_event):
11711 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11712 Implement accept_caps.
11713 Fix silly lock/unlock mismatch in base class.
11715 2005-05-09 Wim Taymans <wim@fluendo.com>
11717 * docs/design/draft-push-pull.txt:
11718 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11719 * gst/elements/gstfilesink.c: (gst_filesink_init),
11720 (gst_filesink_query):
11721 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11722 (gst_type_find_handle_src_query), (find_element_get_length):
11723 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11724 * gst/gstelement.h:
11725 * gst/gstmessage.c:
11726 * gst/gstmessage.h:
11727 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11728 (gst_real_pad_get_caps_unlocked),
11729 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11730 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11731 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11732 (gst_real_pad_dispose), (gst_real_pad_finalize),
11733 (gst_pad_load_and_link), (gst_pad_save_thyself),
11734 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11735 (gst_pad_check_pull_range), (gst_pad_pull_range),
11736 (gst_pad_template_get_type), (gst_pad_template_class_init),
11737 (gst_pad_template_init), (gst_pad_template_dispose),
11738 (name_is_valid), (gst_static_pad_template_get),
11739 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11740 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11741 (gst_pad_get_element_private), (gst_pad_start_task),
11742 (gst_pad_pause_task), (gst_pad_stop_task),
11743 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11744 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11745 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11746 (gst_ghost_pad_new):
11748 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11749 (gst_query_new_position), (gst_query_set_position),
11750 (gst_query_parse_position), (gst_query_new_convert),
11751 (gst_query_set_convert), (gst_query_parse_convert):
11753 * gst/gstqueryutils.c:
11754 * gst/gstqueryutils.h:
11755 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11756 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11757 (gst_queue_handle_src_query):
11758 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11759 (gst_element_query_position), (gst_element_query_convert),
11760 (intersect_caps_func), (gst_pad_query_position),
11761 (gst_pad_query_convert):
11763 * tools/gst-inspect.c: (print_pad_info):
11764 * tools/gst-xmlinspect.c: (print_element_info):
11765 Remove old query functions. Ported old code.
11766 Added position/convert helper functions to gstutils.
11767 Reordered gstpad.c code, grouping relevant things.
11768 Remove gst_message_new(), always need to speficy a specific
11772 2005-05-09 Andy Wingo <wingo@pobox.com>
11774 * gst/gstiterator.h: Add some includes.
11776 * gst/gstqueryutils.h: Include more headers.
11779 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11780 some uses of gst_pad_query.
11782 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11783 NULL out parameters.
11784 (gst_query_new_position): New proc, allocates a new position
11787 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11788 gstqueryutils.c to the build.
11790 * gst/gststructure.c (gst_structure_set_valist): Implement with
11791 the generic G_VALUE_COLLECT.
11793 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11795 * gst/Makefile.am: (gst_headers):
11796 Added gstqueryutils.h to the list of headers to install, that was
11797 a 'nachty' move wingo :)
11799 2005-05-06 Andy Wingo <wingo@pobox.com>
11802 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11803 GstData, init a memchunk.
11804 (standard_definitions): Add a few query types, deprecate a few.
11805 (gst_query_get_type): New proc.
11806 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11808 (gst_query_new_application, gst_query_get_structure): New public
11811 * docs/design/draft-query.txt: Removed LINKS from the query types,
11812 because all the rest can be dispatched to other pads -- seemed
11813 ugly to have a query that couldn't be dispatched. internal_links
11814 is fine as a pad method.
11816 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11817 in gstpad.c, but maintain binary compatibility for the moment.
11818 Will fix before 0.9 is out.
11820 * gst/gstqueryutils.c:
11821 * gst/gstqueryutils.h: New files, implement 3 methods for each
11822 query type: parse_query, parse_response, and set. Probably need an
11825 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11827 * gst/elements/gstfilesink.c (gst_filesink_query2):
11828 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11829 query_types, and formats methods.
11831 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11832 (gst_pad_set_query2_function): New functions.
11833 (gst_real_pad_init): Set query2_default as the default query2
11834 function. Basically just dispatches to internally linked pads.
11838 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11839 without using the atomic operations. Only one thread can possibly
11840 be accessing the data at this point. Changed so as to avoid
11841 gst_atomic operations.
11843 2005-05-06 Wim Taymans <wim@fluendo.com>
11845 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11846 Also set caps if we use the fallback buffer alloc.
11848 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11850 * docs/gst/Makefile.am:
11851 * docs/gst/gstreamer-docs.sgml:
11852 * docs/gst/gstreamer-sections.txt:
11853 * docs/gst/tmpl/gstatomic.sgml:
11854 * docs/gst/tmpl/gstmemchunk.sgml:
11855 * testsuite/elements/struct_i386.h:
11856 * win32/GStreamer.vcproj:
11858 Purge GstAtomic stuff from docs and win32 makefiles as well
11860 2005-05-06 Wim Taymans <wim@fluendo.com>
11862 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11863 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11864 * gst/gstpad.c: (gst_pad_peer_get_caps):
11865 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11866 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11867 (gst_queue_src_activate), (gst_queue_change_state):
11869 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11870 (intersect_caps_func):
11871 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11872 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11873 Some fixes for the peer_get_caps() change.
11875 2005-05-06 Wim Taymans <wim@fluendo.com>
11877 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11878 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11879 (gst_basesink_activate):
11880 Actually do something with error codes returned from the push
11883 2005-05-06 Wim Taymans <wim@fluendo.com>
11885 * docs/design/part-element-sink.txt:
11886 * docs/design/part-element-source.txt:
11887 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11888 (gst_basesink_event), (gst_basesink_activate):
11889 * gst/base/gstbasesink.h:
11890 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11891 (gst_basesrc_activate):
11892 * gst/base/gstbasesrc.h:
11893 * gst/gstelement.c: (gst_element_pads_activate):
11894 Some more documentation.
11895 Fixed scheduling decision in _pads_activate().
11897 2005-05-05 Andy Wingo <wingo@pobox.com>
11899 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11902 2005-05-05 Wim Taymans <wim@fluendo.com>
11904 * gst/base/Makefile.am:
11905 * gst/base/gstbasesink.h:
11906 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11907 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11908 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11909 (gst_collectpads_class_init), (gst_collectpads_init),
11910 (gst_collectpads_finalize), (gst_collectpads_new),
11911 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11912 (find_pad), (gst_collectpads_remove_pad),
11913 (gst_collectpads_is_active), (gst_collectpads_collect),
11914 (gst_collectpads_collect_range), (gst_collectpads_start),
11915 (gst_collectpads_stop), (gst_collectpads_peek),
11916 (gst_collectpads_pop), (gst_collectpads_available),
11917 (gst_collectpads_read), (gst_collectpads_flush),
11918 (gst_collectpads_chain):
11919 * gst/base/gstcollectpads.h:
11920 * gst/elements/Makefile.am:
11921 * gst/elements/gstelements.c:
11922 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11923 (gst_fakesink_get_times), (gst_fakesink_event),
11924 (gst_fakesink_preroll), (gst_fakesink_render):
11925 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11926 (gst_filesink_init), (gst_filesink_set_location),
11927 (gst_filesink_open_file), (gst_filesink_close_file),
11928 (gst_filesink_pad_query), (gst_filesink_event),
11929 (gst_filesink_render), (gst_filesink_change_state):
11930 * gst/elements/gstfilesink.h:
11931 Added object to help in making collect pad based elements.
11933 Make event function in sink baseclass return gboolean.
11935 2005-05-05 Wim Taymans <wim@fluendo.com>
11937 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11938 (gst_bin_get_by_name):
11940 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11941 (gst_clock_finalize):
11942 * gst/gstdata.c: (gst_data_replace):
11944 * gst/gstelement.c: (gst_element_request_pad),
11945 (gst_element_pads_activate):
11946 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11947 (gst_object_unref):
11948 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11949 (gst_pad_set_checkgetrange_function),
11950 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11951 (gst_pad_check_pull_range), (gst_pad_pull_range),
11952 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11953 (gst_pad_pause_task), (gst_pad_stop_task):
11954 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11955 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11956 Fix name lookup in GstBin.
11957 Added _data_replace() function and _buffer_replace()
11958 Use finalize method to clean up clock.
11959 Fix refcounting on request pads.
11960 Fix pad schedule mode error.
11961 Some more object refcounting debug info,
11964 2005-05-04 Andy Wingo <wingo@pobox.com>
11966 * check/Makefile.am:
11967 * docs/gst/tmpl/gstatomic.sgml:
11968 * docs/gst/tmpl/gstplugin.sgml:
11969 * gst/base/gstbasesink.c: (gst_basesink_activate):
11970 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11971 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11972 (gst_basesrc_query), (gst_basesrc_set_property),
11973 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11974 (gst_basesrc_activate):
11975 * gst/base/gstbasesrc.h:
11976 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11977 (gst_base_transform_src_activate):
11978 * gst/elements/gstelements.c:
11979 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11980 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11981 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11982 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11983 (gst_type_find_element_checkgetrange),
11984 (gst_type_find_element_activate):
11985 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11986 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11987 (gst_caps_load_thyself):
11988 * gst/gstelement.c: (gst_element_pads_activate),
11989 (gst_element_save_thyself), (gst_element_restore_thyself):
11990 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11991 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11993 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11994 (gst_xml_parse_file), (gst_xml_parse_memory),
11995 (gst_xml_get_element), (gst_xml_make_element):
11996 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11997 (_file_index_id_save_xml), (gst_file_index_commit):
11998 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11999 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12001 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12002 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12003 * tools/gst-complete.c: (main):
12004 * tools/gst-compprep.c: (main):
12005 * tools/gst-inspect.c: (print_element_properties_info):
12006 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12007 * tools/gst-xmlinspect.c: (print_element_properties):
12010 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12012 * gst/gstplugin.c: (gst_plugin_check_module),
12013 (gst_plugin_check_file), (gst_plugin_load_file):
12014 apply patch from #172526 to make register work on MacOSX
12016 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12018 * docs/gst/tmpl/gstconfig.sgml:
12019 * gst/gstconfig.h.in:
12020 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12021 * testsuite/debug/printf_extension.c: (main):
12022 Do not use GST_PTR_FORMAT on pointers to types with
12023 sizeof < sizeof(gpointer). Fixes test on 64-bit
12024 * testsuite/elements/property.h:
12025 use correct printf format
12027 2005-05-02 Wim Taymans <wim@fluendo.com>
12029 * docs/design/draft-push-pull.txt:
12030 * docs/design/draft-query.txt:
12031 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12032 (gst_basesrc_start):
12033 Added draft for new query API.
12034 Added draft for better selecting scheduling methods.
12035 Make basesrc ignore length if the subclass does not support
12038 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12041 possible fixes for automake-1.5 - _LIBADD is reserved
12043 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12045 * docs/faq/Makefile.am:
12046 * docs/manual/Makefile.am:
12047 * docs/manuals.mak:
12048 * docs/pwg/Makefile.am:
12050 possible fixes for automake-1.5
12052 2005-04-28 Wim Taymans <wim@fluendo.com>
12054 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12055 (gst_basesink_pad_getcaps), (gst_basesink_init),
12056 (gst_basesink_do_sync):
12057 * gst/gstclock.c: (gst_clock_entry_new):
12058 * gst/gstevent.c: (gst_event_discont_get_value):
12059 * gst/gstpipeline.c: (pipeline_bus_handler),
12060 (gst_pipeline_change_state):
12061 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12062 Better debugging of clocking info.
12063 Allow NULL values when getting discont values.
12065 2005-04-27 Wim Taymans <wim@fluendo.com>
12067 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12068 * check/gst/gstpad.c: (gst_pad_suite):
12069 Increase timeout for checks.
12071 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12073 * check/Makefile.am:
12074 fix the broken rule for cleanup. Apparently this rule is
12075 only needed on FC2, so maybe this warrants further autotool
12078 2005-04-26 Wim Taymans <wim@fluendo.com>
12080 * gst/gsttrashstack.h:
12081 Ooohh. a nasty one! After having a failed pop() from the stack,
12082 it's possible that the stack is empty. In that case, don't
12083 follow the NULL pointer.
12085 2005-04-25 Wim Taymans <wim@fluendo.com>
12087 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12088 (gst_pad_set_checkgetrange_function),
12089 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12090 (gst_pad_check_pull_range), (gst_pad_pull_range),
12091 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12092 (gst_pad_pause_task), (gst_pad_stop_task):
12093 * gst/gstplugin.c: (gst_plugin_load):
12095 Remove gst_library_load as it does more harm than good with
12096 the new g_module flags.
12097 Revert bogus caps template check in pad linking, pad caps
12098 are important when linking not the template, which is more
12099 general than the current caps.
12101 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12103 * gst/autoplug/.cvsignore:
12104 * gst/autoplug/Makefile.am:
12105 * gst/autoplug/gstsearchfuncs.c:
12106 * gst/autoplug/gstsearchfuncs.h:
12107 * gst/autoplug/gstspider.c:
12108 * gst/autoplug/gstspider.h:
12109 * gst/autoplug/gstspideridentity.c:
12110 * gst/autoplug/gstspideridentity.h:
12111 * gst/autoplug/spidertest.c:
12114 2005-04-25 Wim Taymans <wim@fluendo.com>
12116 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12117 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12118 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12119 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12121 Added stubs for unimplemented functions.
12123 2005-04-24 David Schleef <ds@schleef.org>
12125 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12128 2005-04-24 David Schleef <ds@schleef.org>
12130 Convert everything from GstAtomicInt to g_atomic_int_*, and
12135 * gst/gstatomic_impl.h:
12143 * gst/gstdata_private.h:
12147 * gst/gstmessage.c:
12150 * gst/gststructure.c:
12151 * gst/gststructure.h:
12152 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12155 2005-04-24 David Schleef <ds@schleef.org>
12157 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12158 make the regressions tests work. Remove some code that is no
12160 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12161 Disable warning for pads without templates.
12163 2005-04-24 David Schleef <ds@schleef.org>
12165 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12166 functions that handle filtered links.
12167 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12169 * gst/gstutils.c: Fix/remove utility functions that handle
12172 * gst/gstvalue.c: Add serialization/deserialization of caps
12173 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12174 requires fixing so that the filter caps notation creates
12175 a capsfilter element and sets the filter_caps property. I
12176 think everyone probably wants to keep the shorthand notation.
12177 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12178 * docs/gst/tmpl/gstpad.sgml:
12180 * gst/elements/gstelements.c: Register capsfilter element.
12181 * gst/Makefile.am: fix spacing
12182 * docs/random/ds/0.9-suggested-changes: random
12184 2005-04-23 David Schleef <ds@schleef.org>
12186 * gst/elements/Makefile.am:
12187 * gst/elements/gstcapsfilter.c: New element that acts like an
12188 identity, but filters caps. Will eventually replace filtered
12189 caps in pad linking.
12190 * gst/gstutils.c: (gst_element_create_all_pads): New function
12191 to create all the ALWAYS pads that are registered with an
12192 element class. This functionality should eventually be
12193 merged in with GstElement initialization.
12195 * testsuite/trigger/README: part of trigger test code that should
12196 have been checked in a long time ago.
12198 2005-04-23 David Schleef <ds@schleef.org>
12200 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12201 needed with new versions of libtool (nobody will confirm this),
12202 and hard to carry around.
12203 * gst/autoplug/Makefile.am:
12204 * gst/base/Makefile.am:
12205 * gst/elements/Makefile.am:
12206 * gst/indexers/Makefile.am:
12207 * gst/schedulers/Makefile.am:
12208 * libs/gst/bytestream/Makefile.am:
12209 * libs/gst/control/Makefile.am:
12210 * libs/gst/dataprotocol/Makefile.am:
12211 * libs/gst/getbits/Makefile.am:
12213 2005-04-21 Wim Taymans <wim@fluendo.com>
12215 * docs/design/draft-push-pull.txt:
12216 * docs/design/part-MT-refcounting.txt:
12217 * docs/design/part-TODO.txt:
12218 * docs/design/part-caps.txt:
12219 * docs/design/part-events.txt:
12220 * docs/design/part-gstbus.txt:
12221 * docs/design/part-gstpipeline.txt:
12222 * docs/design/part-messages.txt:
12223 * docs/design/part-push-pull.txt:
12224 * docs/design/part-query.txt:
12227 2005-04-21 Wim Taymans <wim@fluendo.com>
12229 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12230 (gst_message_new), (gst_message_new_error),
12231 (gst_message_new_warning), (gst_message_new_tag),
12232 (gst_message_new_state_changed), (gst_message_new_application),
12233 (gst_message_get_structure):
12234 * gst/gstmessage.h:
12235 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12236 (gst_structure_copy_conditional):
12237 Use parent refcount in GstMessage to ensure GstStructure
12239 Cleaned up headers a bit.
12242 2005-04-20 Wim Taymans <wim@fluendo.com>
12244 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12245 (gst_basesink_pad_getcaps), (gst_basesink_init),
12246 (gst_basesink_chain_unlocked):
12247 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12248 (gst_type_find_helper):
12249 * gst/elements/gsttypefindelement.c:
12250 (gst_type_find_element_have_type), (gst_type_find_element_init),
12251 (stop_typefinding), (gst_type_find_element_handle_event),
12252 (find_suggest), (gst_type_find_element_chain),
12253 (gst_type_find_element_checkgetrange),
12254 (gst_type_find_element_getrange), (do_typefind),
12255 (gst_type_find_element_activate):
12256 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12257 (gst_buffer_default_free), (gst_buffer_default_copy),
12258 (gst_buffer_set_caps):
12259 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12260 (gst_caps_replace):
12261 * gst/gstmessage.c: (gst_message_new),
12262 (gst_message_new_state_changed):
12263 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12264 (gst_pad_set_checkgetrange_function),
12265 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12266 (gst_pad_set_caps), (gst_pad_check_pull_range),
12267 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12269 * gst/gsttypefind.c: (gst_type_find_register):
12270 Make gst_caps_replace() work like other _replace() functions.
12271 Use _caps_replace() where possible.
12272 Make sure _message_new() initialises its field.
12273 Add gst_static_pad_template_get_caps()
12276 2005-04-18 Andy Wingo <wingo@pobox.com>
12278 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12279 on the peer, not the pad. I think that was a typo. Pass an extra
12280 arg to see if random access is possible. Activate the pads as
12281 PULL_RANGE if possible.
12283 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12285 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12286 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12289 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12291 * docs/faq/using.xml:
12292 Add note on gstreamer-properties (#154996).
12294 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12296 * docs/random/bbb/optional-properties:
12297 Some analysis on optional properties.
12299 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12301 * docs/gst/tmpl/gstelementfactory.sgml:
12302 * gst/gstelement.h:
12303 * gst/gstelementfactory.c: (gst_element_factory_init),
12304 (gst_element_factory_cleanup), (gst_element_register),
12305 (__gst_element_factory_add_static_pad_template),
12306 (gst_element_factory_get_static_pad_templates),
12307 (gst_element_factory_can_src_caps),
12308 (gst_element_factory_can_sink_caps):
12309 * gst/registries/Makefile.am:
12310 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12311 (gst_xml_registry_class_init), (gst_xml_registry_init),
12312 (gst_xml_registry_new), (gst_xml_registry_set_property),
12313 (gst_xml_registry_get_property), (get_time), (make_dir),
12314 (gst_xml_registry_get_perms_func),
12315 (plugin_times_older_than_recurse), (plugin_times_older_than),
12316 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12317 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12318 (add_to_char_array), (read_string), (read_uint), (read_enum),
12319 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12320 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12321 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12322 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12323 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12324 (gst_xml_registry_rebuild):
12325 * gst/registries/gstlibxmlregistry.h:
12326 * tools/gst-compprep.c: (main):
12327 * tools/gst-inspect.c: (print_pad_templates_info):
12328 * tools/gst-xmlinspect.c: (print_element_info):
12329 Use libxml2 for registry parsing, use staticpadtemplates in
12330 elementfactories. Makes gst_init() +/- 10x faster.
12332 2005-04-12 Wim Taymans <wim@fluendo.com>
12334 * gst/base/Makefile.am:
12335 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12336 (gst_basesink_pad_getcaps), (gst_basesink_init),
12337 (gst_basesink_event), (gst_basesink_change_state):
12338 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12339 (gst_basesrc_init), (gst_basesrc_query),
12340 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12341 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12342 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12343 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12344 (gst_basesrc_stop), (gst_basesrc_activate),
12345 (gst_basesrc_change_state):
12346 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12347 (helper_find_suggest), (gst_type_find_helper):
12348 * gst/base/gsttypefindhelper.h:
12349 * gst/elements/Makefile.am:
12350 * gst/elements/gstelements.c:
12351 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12352 (gst_fakesink_get_times), (gst_fakesink_event),
12353 (gst_fakesink_preroll), (gst_fakesink_render):
12354 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12355 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12356 (gst_fakesrc_get_property), (gst_fakesrc_create),
12357 (gst_fakesrc_start), (gst_fakesrc_stop):
12358 * gst/elements/gstfakesrc.h:
12359 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12360 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12361 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12362 (gst_filesrc_create_read), (gst_filesrc_create),
12363 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12364 (gst_filesrc_start):
12365 * gst/elements/gsttypefindelement.c:
12366 (gst_type_find_element_have_type), (gst_type_find_element_init),
12367 (start_typefinding), (stop_typefinding), (push_buffer_store),
12368 (gst_type_find_element_handle_event),
12369 (gst_type_find_element_chain),
12370 (gst_type_find_element_checkgetrange),
12371 (gst_type_find_element_getrange), (do_typefind),
12372 (gst_type_find_element_activate),
12373 (gst_type_find_element_change_state):
12374 * gst/elements/gsttypefindelement.h:
12375 * gst/gstpipeline.c: (pipeline_bus_handler):
12376 Added typefind helper.
12377 Small preroll fix in the base sink.
12378 Disable typefind code in basesrc.
12379 Crude port of typefindelement.
12383 2005-04-11 Wim Taymans <wim@fluendo.com>
12385 * check/gst/gstbus.c: (gstbus_suite):
12386 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12387 * check/gstcheck.h:
12388 Fix up the timeout so that the test does not fail.
12390 2005-04-06 Wim Taymans <wim@fluendo.com>
12393 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12394 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12395 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12396 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12397 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12398 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12399 (gst_basesrc_stop), (gst_basesrc_activate),
12400 (gst_basesrc_change_state), (basesrc_find_peek),
12401 (basesrc_find_suggest), (gst_basesrc_type_find):
12402 * gst/base/gstbasesrc.h:
12403 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12404 (gst_filesrc_class_init), (gst_filesrc_init),
12405 (gst_filesrc_finalize), (gst_filesrc_set_location),
12406 (gst_filesrc_set_property), (gst_filesrc_get_property),
12407 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12408 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12409 (gst_filesrc_create_read), (gst_filesrc_create),
12410 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12411 * gst/elements/gstfilesrc.h:
12412 * gst/gstelement.c: (gst_element_get_state_func),
12413 (gst_element_lost_state), (gst_element_pads_activate):
12414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12415 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12416 (gst_pad_pull_range):
12418 More work on the generic source base class, implement seeking,
12420 Make filesrc extend the base source class.
12421 Added gst_pad_set_checkgetrange_function to GstPad.
12423 2005-04-06 Andy Wingo <wingo@pobox.com>
12425 * pkgconfig/gstreamer-base.pc.in:
12426 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12428 * pkgconfig/Makefile.am:
12429 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12431 2005-04-04 Wim Taymans <wim@fluendo.com>
12433 * gst/base/Makefile.am:
12435 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12436 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12437 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12438 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12439 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12440 (gst_basesrc_base_init), (gst_basesrc_class_init),
12441 (gst_basesrc_init), (gst_basesrc_get_formats),
12442 (gst_basesrc_get_query_types), (gst_basesrc_query),
12443 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12444 (gst_basesrc_set_property), (gst_basesrc_get_property),
12445 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12446 (gst_basesrc_loop), (gst_basesrc_activate),
12447 (gst_basesrc_change_state):
12448 * gst/base/gstbasesrc.h:
12449 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12450 (gst_fakesrc_class_init), (gst_fakesrc_init),
12451 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12452 (gst_fakesrc_get_property), (gst_fakesrc_create):
12453 * gst/elements/gstfakesrc.h:
12454 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12455 (gst_filesrc_open_file), (gst_filesrc_loop),
12456 (gst_filesrc_activate), (filesrc_find_peek),
12457 (gst_filesrc_type_find):
12458 Made base source class, make fakesrc extend it.
12459 Add comments to basesink class.
12460 Some filesrc cleanup.
12462 2005-03-31 David Schleef <ds@schleef.org>
12464 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12465 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12466 expected to link against libgstreamer.
12467 * gst/base/Makefile.am: link against libgstreamer
12468 * gst/elements/Makefile.am: same
12470 2005-03-31 Andy Wingo <wingo@pobox.com>
12472 * tests/instantiate/Makefile.am:
12473 * tests/instantiate/caps.c: Add test to test speed of caps copy
12476 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12477 GMemChunk to be fair.
12479 * gst/gsttrashstack.h: Remove warning about using the fallback
12480 trash stack implementation, it's still faster than malloc.
12482 2005-03-30 Andy Wingo <wingo@pobox.com>
12484 * tests/complexity.c: Add a copyright.
12486 2005-03-31 Wim Taymans <wim@fluendo.com>
12488 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12489 (gst_base_transform_class_init), (gst_base_transform_init),
12490 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12491 (gst_base_transform_get_property),
12492 (gst_base_transform_sink_activate),
12493 (gst_base_transform_src_activate),
12494 (gst_base_transform_change_state):
12495 * gst/base/gstbasetransform.h:
12496 * gst/elements/gstidentity.c: (gst_identity_class_init),
12497 (gst_identity_event), (gst_identity_check_perfect),
12498 (gst_identity_transform), (gst_identity_start),
12499 (gst_identity_stop):
12500 Added start/stop methods to transform base class so subclasses
12501 don't need to deal with state changes even.
12503 2005-03-31 Wim Taymans <wim@fluendo.com>
12505 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12506 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12508 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12509 (gst_pad_pull_range):
12510 Added rate to the discont event to prepare for variable speed
12511 and reverse playback.
12513 2005-03-29 David Schleef <ds@schleef.org>
12516 * testsuite/trigger/Makefile.am:
12517 * testsuite/trigger/trigger.c: A little example program to show
12518 how trigger-based elements can work.
12520 2005-03-29 Wim Taymans <wim@fluendo.com>
12522 * gst/base/Makefile.am:
12524 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12525 (gst_basesink_base_init), (gst_basesink_class_init),
12526 (gst_basesink_pad_getcaps), (gst_basesink_init),
12527 (gst_basesink_activate), (gst_basesink_change_state):
12528 * gst/base/gstbasesink.h:
12529 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12530 (gst_base_transform_base_init), (gst_base_transform_finalize),
12531 (gst_base_transform_class_init), (gst_base_transform_init),
12532 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12533 (gst_base_transform_event), (gst_base_transform_getrange),
12534 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12535 (gst_base_transform_set_property),
12536 (gst_base_transform_get_property),
12537 (gst_base_transform_sink_activate),
12538 (gst_base_transform_src_activate),
12539 (gst_base_transform_change_state):
12540 * gst/base/gstbasetransform.h:
12541 * gst/elements/gstidentity.c: (gst_identity_finalize),
12542 (gst_identity_class_init), (gst_identity_init),
12543 (gst_identity_event), (gst_identity_check_perfect),
12544 (gst_identity_transform), (gst_identity_set_property),
12545 (gst_identity_get_property), (gst_identity_change_state):
12546 * gst/elements/gstidentity.h:
12547 * gst/gstelement.c: (gst_element_get_state_func),
12548 (gst_element_lost_state), (gst_element_pads_activate):
12549 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12550 (gst_pad_check_pull_range), (gst_pad_pull_range):
12552 Simplify pad activation.
12553 Added function to check if pull_range can be performed.
12554 Error out when pulling inactive or flushing pads.
12555 Removed const from refcounted types as it does not make sense.
12556 Simplify pad templates in basesink
12557 Added base class for simple 1-to-1 transforms.
12558 Make identity subclass the base transform.
12560 2005-03-29 Andy Wingo <wingo@pobox.com>
12562 * docs/libs/gstreamer-libs-overrides.txt:
12563 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12564 really don't understand what's going on, but like whatever. I want
12567 * docs/gst/Makefile.am:
12568 * docs/libs/Makefile.am: Dist the overrides files.
12570 * check/Makefile.am (clean-local): Remove .libs directories.
12572 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12573 elements to EXTRA_DIST, so po/ files are happy.
12575 * po/POTFILES.in: Er, remove it here.
12577 * po/POTFILES: Remove gstspider.c.
12579 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12581 * docs/libs/gstreamer-libs-docs.sgml:
12582 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12585 * tests/complexity.c (main): Set the length of the preroll queue
12586 on the sinks to prevent a lockup.
12588 * libs/gst/dataprotocol/Makefile.am:
12589 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12590 the same as the one in check/gst-libs/gdp.c.
12592 * po/, docs/gst/: Commit automatic changes to docs and po files.
12594 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12595 the versioned libgstbase.
12597 * check/Makefile.am: Depend on an unversioned gst-register, seems
12598 to make autoconf happier.
12600 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12602 2005-03-28 Wim Taymans <wim@fluendo.com>
12605 * docs/design/part-gstelement.txt:
12606 * docs/design/part-negotiation.txt:
12607 * docs/design/part-preroll.txt:
12608 * docs/design/part-scheduling.txt:
12609 * docs/design/part-states.txt:
12611 * gst/base/Makefile.am:
12613 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12614 (gst_basesink_base_init), (gst_basesink_class_init),
12615 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12616 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12617 (gst_basesink_set_pad_functions),
12618 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12619 (gst_basesink_set_property), (gst_basesink_get_property),
12620 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12621 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12622 (gst_basesink_preroll_queue_push),
12623 (gst_basesink_preroll_queue_empty),
12624 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12625 (gst_basesink_event), (gst_basesink_get_times),
12626 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12627 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12628 (gst_basesink_loop), (gst_basesink_activate),
12629 (gst_basesink_change_state):
12630 * gst/base/gstbasesink.h:
12631 * gst/elements/Makefile.am:
12632 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12633 (gst_fakesink_class_init), (gst_fakesink_init),
12634 (gst_fakesink_set_property), (gst_fakesink_get_property),
12635 (gst_fakesink_get_times), (gst_fakesink_event),
12636 (gst_fakesink_preroll), (gst_fakesink_render),
12637 (gst_fakesink_change_state):
12638 * gst/elements/gstfakesink.h:
12639 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12640 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12641 * gst/gstelement.c: (gst_element_add_pad),
12642 (gst_element_get_state_func), (gst_element_abort_state),
12643 (gst_element_commit_state), (gst_element_lost_state),
12644 (gst_element_set_state), (gst_element_pads_activate):
12645 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12646 * gst/gstpipeline.c: (gst_pipeline_send_event),
12647 (gst_pipeline_change_state):
12648 Added state change code.
12649 Added/updated docs.
12650 Added sink base class, make fakesink extend the base class.
12651 Small cleanups in GstPipeline.
12653 2005-03-26 David Schleef <ds@schleef.org>
12655 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12656 is broken and should be implemented in a different library.
12657 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12658 * gst/gst.h: remove gstcpu.h
12659 * gst/gstcpu.c: remove
12660 * gst/gstcpu.h: remove
12661 * gst/Makefile.am.future: Remove this file. It's ancient.
12663 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12665 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12666 (gst_bin_send_event):
12667 Add default event/set_manager handlers. The set_manager handler
12668 takes care that the manager is distributed over kids that were
12669 already in the bin before the manager was set. The event handler
12670 is a utility virtual function that sends the event over all sinks,
12671 so that gst_element_send_event (bin, event); has the expected
12673 * gst/gstpad.c: (gst_pad_event_default):
12674 Re-install default event handling for discontinuities, so that
12675 seeking works without requiring hacks in applications or extra
12677 * gst/gstpipeline.c: (gst_pipeline_class_init),
12678 (gst_pipeline_send_event):
12679 Half hack, half utility: set a pipeline to PAUSED for seek events,
12680 since that is the only way we can guarantee a/v sync. Means that
12681 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12682 and it "just works".
12684 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12686 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12687 Lock/unlock mismatch.
12689 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12691 * docs/faq/gst-uninstalled:
12692 add gst-plugins-base
12693 * docs/gst/Makefile.am:
12694 don't error out until docs are fixed
12695 * docs/gst/gstreamer.types:
12698 2005-03-22 Wim Taymans <wim@fluendo.com>
12700 * check/Makefile.am:
12701 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12702 * gst/gststructure.c: (gst_structure_set_valist),
12703 (gst_structure_copy_conditional):
12704 Activated more tests.
12705 Added message test.
12706 Added G_TYPE_POINTER to GstStructure.
12709 2005-03-22 Wim Taymans <wim@fluendo.com>
12711 * docs/design/part-TODO.txt:
12712 * docs/design/part-events.txt:
12713 * docs/design/part-gstbin.txt:
12714 * docs/design/part-gstbus.txt:
12715 * docs/design/part-gstpipeline.txt:
12716 * docs/design/part-messages.txt:
12718 * gst/gstmessage.c:
12721 2005-03-21 Wim Taymans <wim@fluendo.com>
12723 * gst/gstbus.c: (gst_bus_post):
12724 Fix copy-and-paste error.
12726 2005-03-21 Wim Taymans <wim@fluendo.com>
12728 * check/Makefile.am:
12730 * gst/elements/Makefile.am:
12731 * gst/elements/gstelements.c:
12732 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12733 (gst_fakesink_event), (gst_fakesink_chain):
12734 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12735 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12736 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12737 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12738 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12739 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12740 (gst_fakesrc_loop), (gst_fakesrc_activate),
12741 (gst_fakesrc_change_state):
12742 * gst/elements/gstfakesrc.h:
12743 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12744 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12745 (gst_filesrc_open_file), (gst_filesrc_loop),
12746 (gst_filesrc_activate), (gst_filesrc_change_state),
12747 (filesrc_find_peek), (filesrc_find_suggest),
12748 (gst_filesrc_type_find):
12749 * gst/elements/gstidentity.c: (gst_identity_finalize),
12750 (gst_identity_class_init), (gst_identity_init),
12751 (gst_identity_proxy_getcaps), (identity_queue_push),
12752 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12753 (gst_identity_getrange), (gst_identity_chain),
12754 (gst_identity_sink_loop), (gst_identity_src_loop),
12755 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12756 (gst_identity_set_property), (gst_identity_get_property),
12757 (gst_identity_change_state):
12758 * gst/elements/gstidentity.h:
12759 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12760 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12761 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12762 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12763 (gst_tee_sink_activate):
12764 * gst/elements/gsttee.h:
12765 * gst/gst.c: (gst_register_core_elements), (init_post):
12767 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12768 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12769 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12770 (gst_bin_change_state):
12772 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12773 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12774 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12775 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12776 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12777 (bus_watch_callback), (bus_watch_destroy),
12778 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12779 (poll_timeout), (gst_bus_poll):
12783 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12784 (gst_element_post_message), (gst_element_message_full),
12785 (gst_element_get_state_func), (gst_element_get_state),
12786 (gst_element_abort_state), (gst_element_commit_state),
12787 (gst_element_lost_state), (gst_element_set_state),
12788 (gst_element_pads_activate), (gst_element_change_state),
12789 (gst_element_dispose), (gst_element_set_manager_func),
12790 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12791 (gst_element_set_manager), (gst_element_get_manager),
12792 (gst_element_set_bus), (gst_element_get_bus),
12793 (gst_element_set_scheduler), (gst_element_get_scheduler):
12794 * gst/gstelement.h:
12795 * gst/gstevent.c: (gst_event_new_segment_seek),
12796 (gst_event_new_flush):
12798 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12799 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12800 (gst_message_new_eos), (gst_message_new_error),
12801 (gst_message_new_warning), (gst_message_new_tag),
12802 (gst_message_new_state_changed), (gst_message_new_application),
12803 (gst_message_get_structure), (gst_message_parse_tag),
12804 (gst_message_parse_state_changed), (gst_message_parse_error),
12805 (gst_message_parse_warning):
12806 * gst/gstmessage.h:
12807 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12808 (gst_real_pad_set_property), (gst_pad_set_active),
12809 (gst_pad_is_active), (gst_pad_set_blocked_async),
12810 (gst_pad_set_blocked), (gst_pad_is_blocked),
12811 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12812 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12813 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12814 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12815 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12816 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12817 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12818 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12819 (gst_pad_set_caps), (gst_pad_configure_sink),
12820 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12821 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12822 (gst_real_pad_dispose), (gst_real_pad_finalize),
12823 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12824 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12825 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12827 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12828 (pipeline_bus_handler), (gst_pipeline_change_state),
12829 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12830 * gst/gstpipeline.h:
12832 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12833 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12834 (gst_queue_link_src), (gst_queue_bufferalloc),
12835 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12836 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12837 (gst_queue_loop), (gst_queue_handle_src_event),
12838 (gst_queue_handle_src_query), (gst_queue_src_activate),
12839 (gst_queue_change_state):
12841 * gst/gstscheduler.c: (gst_scheduler_init),
12842 (gst_scheduler_dispose), (gst_scheduler_create_task),
12843 (gst_scheduler_factory_create):
12844 * gst/gstscheduler.h:
12845 * gst/gststructure.c: (gst_structure_get_type),
12846 (gst_structure_copy_conditional):
12847 * gst/gststructure.h:
12848 * gst/gsttaginterface.h:
12849 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12850 (gst_task_init), (gst_task_dispose), (gst_task_create),
12851 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12857 * gst/schedulers/Makefile.am:
12858 * gst/schedulers/cothreads_compat.h:
12859 * gst/schedulers/entryscheduler.c:
12860 * gst/schedulers/faircothreads.c:
12861 * gst/schedulers/faircothreads.h:
12862 * gst/schedulers/fairscheduler.c:
12863 * gst/schedulers/gstbasicscheduler.c:
12864 * gst/schedulers/gstoptimalscheduler.c:
12865 * gst/schedulers/gthread-cothreads.h:
12866 * gst/schedulers/threadscheduler.c:
12867 (gst_thread_scheduler_task_get_type),
12868 (gst_thread_scheduler_task_class_init),
12869 (gst_thread_scheduler_task_init),
12870 (gst_thread_scheduler_task_start),
12871 (gst_thread_scheduler_task_stop),
12872 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12873 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12874 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12875 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12877 * libs/gst/Makefile.am:
12878 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12879 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12880 (gst_file_pad_parent_set):
12881 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12882 (gst_dp_event_from_packet):
12883 * tests/complexity.c: (main):
12884 * tests/mass_elements.c: (main):
12885 * testsuite/states/locked.c: (message_received), (main):
12886 * testsuite/states/parent.c: (main):
12887 * tools/gst-inspect.c: (print_element_flag_info),
12888 (print_implementation_info), (print_pad_info):
12889 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12891 * tools/gst-md5sum.c: (event_loop), (main):
12892 * tools/gst-typefind.c: (main):
12893 * tools/gst-xmlinspect.c: (print_element_info):
12895 Added GstBus for mainloop integration.
12896 Added GstMessage for sending notifications on the bus.
12897 Added GstTask as an abstraction for pipeline entry points.
12899 Removed Schedulers.
12900 Simplified GstQueue for multithreaded core.
12901 Made _link threadsafe, removed old capsnego.
12902 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12903 Added pad blocking functions.
12904 Reworked scheduling functions in GstPad to prepare for
12905 scheduling updates soon.
12906 Moved events out of data stream.
12907 Simplified GstEvent types.
12908 Added return values to push/pull.
12909 Removed clocking from GstElement.
12910 Added prototypes for state change function for next merge.
12911 Removed iterate from bins and state change management.
12912 Fixed some elements, disabled others for now.
12913 Fixed -inspect and -launch.
12914 Added check for GstBus.
12916 2005-03-10 Wim Taymans <wim@fluendo.com>
12918 * docs/design/part-MT-refcounting.txt:
12919 * docs/design/part-clocks.txt:
12920 * docs/design/part-gstelement.txt:
12921 * docs/design/part-gstobject.txt:
12922 * docs/design/part-standards.txt:
12923 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12924 (gst_bin_remove_func), (gst_bin_remove):
12928 * testsuite/clock/clock1.c: (main):
12929 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12931 * testsuite/dlopen/loadgst.c: (do_test):
12932 * testsuite/refcounting/bin.c: (add_remove_test1),
12933 (add_remove_test2), (main):
12934 * testsuite/refcounting/element.c: (main):
12935 * testsuite/refcounting/element_pad.c: (main):
12936 * testsuite/refcounting/pad.c: (main):
12937 * tools/gst-launch.c: (sigint_handler_sighandler):
12938 * tools/gst-typefind.c: (main):
12940 Added doc about clock.
12941 removed gst_bin_iterate_recurse_up(), marked methods
12943 Fix more testsuites.
12945 2005-03-09 Wim Taymans <wim@fluendo.com>
12947 * gst/gstpad.c: (gst_pad_get_direction),
12948 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12949 (gst_pad_collect_valist):
12950 * testsuite/bins/interface.c: (main):
12951 * testsuite/caps/audioscale.c: (test_caps):
12952 * testsuite/caps/caps.c: (test1), (test2), (test3):
12953 * testsuite/caps/deserialize.c: (main):
12954 * testsuite/caps/enumcaps.c: (main):
12955 * testsuite/caps/filtercaps.c: (main):
12956 * testsuite/caps/intersect2.c: (main):
12957 * testsuite/caps/random.c: (main):
12958 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12959 * testsuite/caps/sets.c: (check_caps):
12960 * testsuite/caps/simplify.c: (check_caps), (main):
12961 * testsuite/caps/subtract.c: (check_caps):
12962 Fix _pad_get_direction wrt ghostpads.
12963 Fix caps testsuite.
12965 2005-03-09 Wim Taymans <wim@fluendo.com>
12967 * check/Makefile.am:
12968 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12969 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12970 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12971 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12972 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12973 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12974 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12975 (bin_element_is_sink), (gst_bin_iterate_sinks),
12976 (gst_bin_iterate_all_by_interface):
12978 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12979 (gst_element_change_state), (gst_element_dispose),
12980 (gst_element_finalize), (gst_element_set_loop_function):
12981 * gst/gstelement.h:
12982 * gst/gstiterator.c: (find_custom_fold_func):
12983 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12984 (gst_pad_collectv), (gst_pad_collect_valist),
12985 (gst_pad_template_new):
12986 * gst/gstpipeline.c: (gst_pipeline_class_init),
12987 (gst_pipeline_dispose), (gst_pipeline_set_property),
12988 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12989 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12990 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12992 * gst/schedulers/entryscheduler.c:
12993 * gst/schedulers/gstbasicscheduler.c:
12994 (gst_basic_scheduler_cothreaded_chain),
12995 (gst_basic_scheduler_chain_add_element):
12996 * testsuite/bins/interface.c: (main):
12998 Added GstSystemClock test.
12999 Implemented clock distribution code in GstBin.
13000 Implemented iterate sinks method for future use.
13001 Rearranged gstelement.h
13002 Fix GstIterator comparison bug.
13003 Moved some code to GstPipeline, mostly clocking related.
13005 2005-03-09 Wim Taymans <wim@fluendo.com>
13008 * gst/gst_private.h:
13009 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13010 (gst_bin_remove_func), (gst_bin_remove),
13011 (gst_bin_get_by_name_recurse_up):
13012 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13013 (gst_clock_id_compare_func), (gst_clock_id_wait),
13014 (gst_clock_id_wait_async), (gst_clock_init),
13015 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13016 * gst/gstelement.h:
13017 * gst/gstinfo.c: (_gst_debug_init):
13019 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13020 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13022 Bump version number, we're now 0.9.0
13023 Add future debugging category.
13024 Fix NULL _unref() in _get_by_name_recurse_up
13025 Rearrange gstpad.h.
13028 2005-03-08 Wim Taymans <wim@fluendo.com>
13030 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13031 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13032 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13033 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13034 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13035 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13036 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13037 * gst/elements/gstidentity.c: (gst_identity_class_init):
13038 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13039 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13040 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13041 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13042 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13044 * gst/gstelement.c: (gst_element_class_init),
13045 (gst_element_base_class_init), (gst_element_init),
13046 (gst_element_get_random_pad), (gst_element_wait_state_change),
13047 (gst_element_change_state), (gst_element_dispose),
13048 (gst_element_finalize), (gst_element_set_loop_function):
13049 * gst/gstelement.h:
13050 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13051 * gst/gstthread.c: (gst_thread_class_init),
13052 (gst_thread_release_children_locks), (gst_thread_change_state):
13053 * gst/schedulers/gstbasicscheduler.c:
13054 (gst_basic_scheduler_loopfunc_wrapper),
13055 (gst_basic_scheduler_chain_wrapper),
13056 (gst_basic_scheduler_src_wrapper),
13057 (gst_basic_scheduler_remove_element):
13058 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13059 Remove threadsafe properties. Fix elements because GObject
13060 complains when installing a property before declaring a
13061 set/get_property handler.
13062 Rearrange gstelement.h file, use STATE macros for state locks.
13063 Free mutexes in the finalize method instead of dispose.
13065 2005-03-08 Wim Taymans <wim@fluendo.com>
13067 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13068 * gst/gstthread.c: (gst_thread_release_children_locks):
13069 Added parentage check.
13070 Fix build og GstThread again.
13072 2005-03-08 Wim Taymans <wim@fluendo.com>
13074 * docs/design/part-MT-refcounting.txt:
13075 * docs/design/part-conventions.txt:
13076 * docs/design/part-gstobject.txt:
13077 * docs/design/part-relations.txt:
13078 * docs/design/part-standards.txt:
13079 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13080 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13081 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13082 (gst_bin_iterate_all_by_interface):
13085 * gst/gstelement.c: (gst_element_class_init),
13086 (gst_element_change_state), (gst_element_set_loop_function):
13087 * gst/gstelement.h:
13088 * gst/gstiterator.c:
13089 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13090 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13091 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13092 (gst_object_set_parent), (gst_object_unparent),
13093 (gst_object_check_uniqueness):
13095 Docs updates, clean up some headers.
13097 2005-03-07 Wim Taymans <wim@fluendo.com>
13099 * check/.cvsignore:
13100 * check/Makefile.am:
13101 * check/gst-libs/.cvsignore:
13102 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13103 * check/gst/.cvsignore:
13104 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13105 (START_TEST), (gstbus_suite), (main):
13106 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13107 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13108 (gst_data_suite), (main):
13109 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13110 (add_fold_func), (gstiterator_suite), (main):
13111 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13112 (thread_name_object), (thread_name_object_default),
13113 (gst_object_name_compare), (gst_object_suite), (main):
13114 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13115 (gst_pad_suite), (main):
13116 * check/gstcheck.c: (gst_check_log_message_func),
13117 (gst_check_log_critical_func), (gst_check_init):
13118 * check/gstcheck.h:
13119 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13120 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13123 2005-03-07 Wim Taymans <wim@fluendo.com>
13125 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13126 (gst_list_iterator_next), (gst_list_iterator_resync),
13127 (gst_list_iterator_free), (gst_iterator_new_list),
13128 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13129 (gst_iterator_free), (gst_iterator_push), (filter_next),
13130 (filter_resync), (filter_uninit), (filter_free),
13131 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13132 (gst_iterator_foreach), (find_custom_fold_func),
13133 (gst_iterator_find_custom):
13134 * gst/gstiterator.h:
13135 Added missing files.
13137 2005-03-07 Wim Taymans <wim@fluendo.com>
13141 * docs/design/part-MT-refcounting.txt:
13142 * docs/design/part-conventions.txt:
13143 * docs/design/part-gstobject.txt:
13144 * docs/design/part-relations.txt:
13145 * examples/mixer/mixer.c: (main):
13146 * examples/thread/thread.c: (eos), (main):
13148 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13149 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13150 (gst_spider_plug_from_srcpad):
13151 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13152 (gst_spider_identity_change_state),
13153 (gst_spider_identity_sink_loop_type_finding):
13154 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13155 * gst/elements/gstidentity.c: (gst_identity_init):
13156 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13157 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13158 * gst/elements/gsttypefindelement.c: (free_entry):
13161 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13162 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13163 (gst_bin_set_index), (gst_bin_set_element_sched),
13164 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13165 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13166 (gst_bin_iterate_elements), (iterate_child_recurse),
13167 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13168 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13169 (compare_interface), (gst_bin_get_by_interface),
13170 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13172 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13173 (gst_buffer_default_free), (gst_buffer_default_copy),
13174 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13175 (gst_buffer_create_sub):
13177 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13178 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13179 (gst_caps_unref), (gst_static_caps_get),
13180 (gst_caps_remove_and_get_structure), (gst_caps_append),
13181 (gst_caps_append_structure), (gst_caps_remove_structure),
13182 (gst_caps_copy_nth), (gst_caps_set_simple),
13183 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13184 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13185 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13186 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13187 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13188 (gst_caps_structure_figure_out_union),
13189 (gst_caps_switch_structures), (gst_caps_do_simplify),
13190 (gst_caps_replace), (gst_caps_from_string),
13191 (gst_caps_copy_conditional):
13193 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13194 (_gst_clock_id_free), (gst_clock_id_unref),
13195 (gst_clock_id_compare_func), (gst_clock_id_wait),
13196 (gst_clock_id_wait_async), (gst_clock_class_init),
13197 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13198 (gst_clock_get_time), (gst_clock_set_time_adjust),
13199 (gst_clock_set_property), (gst_clock_get_property):
13202 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13203 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13205 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13206 (gst_element_requires_clock), (gst_element_provides_clock),
13207 (gst_element_set_clock), (gst_element_clock_wait),
13208 (gst_element_wait), (gst_element_set_time_delay),
13209 (gst_element_is_indexable), (gst_element_add_pad),
13210 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13211 (pad_compare_name), (gst_element_get_static_pad),
13212 (gst_element_request_pad), (gst_element_get_request_pad),
13213 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13214 (gst_element_class_get_pad_template_list),
13215 (gst_element_class_get_pad_template), (gst_element_error_func),
13216 (gst_element_get_random_pad), (gst_element_get_event_masks),
13217 (gst_element_send_event), (gst_element_seek),
13218 (gst_element_get_query_types), (gst_element_query),
13219 (gst_element_get_formats), (gst_element_convert),
13220 (gst_element_is_locked_state), (gst_element_set_locked_state),
13221 (gst_element_sync_state_with_parent), (gst_element_change_state),
13222 (gst_element_finalize), (gst_element_yield),
13223 (gst_element_interrupt), (gst_element_set_scheduler),
13224 (gst_element_get_scheduler), (gst_element_set_loop_function):
13225 * gst/gstelement.h:
13227 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13228 (gst_format_get_by_nick), (gst_format_get_details),
13229 (gst_format_iterate_definitions):
13231 * gst/gstindex.c: (gst_index_gtype_resolver):
13234 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13235 (gst_mem_chunk_free):
13236 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13237 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13238 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13239 (gst_object_dispatch_properties_changed),
13240 (gst_object_set_name_default), (gst_object_set_name),
13241 (gst_object_get_name), (gst_object_set_name_prefix),
13242 (gst_object_get_name_prefix), (gst_object_set_parent),
13243 (gst_object_get_parent), (gst_object_unparent),
13244 (gst_object_check_uniqueness), (gst_object_save_thyself),
13245 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13246 (gst_object_set_property), (gst_object_get_property),
13247 (gst_object_get_path_string):
13249 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13250 (gst_real_pad_init), (gst_real_pad_get_property),
13251 (gst_pad_custom_new), (gst_pad_get_direction),
13252 (gst_pad_set_active), (gst_pad_is_active),
13253 (gst_pad_set_event_function), (gst_pad_is_linked),
13254 (gst_pad_link_free), (gst_pad_link_intersect),
13255 (gst_pad_link_fixate), (gst_pad_set_caps),
13256 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13257 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13258 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13259 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13260 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13261 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13262 (gst_pad_realize), (gst_pad_get_allowed_caps),
13263 (gst_real_pad_dispose), (gst_real_pad_finalize),
13264 (gst_pad_collectv), (gst_pad_collect_valist),
13265 (gst_pad_template_dispose), (gst_pad_template_new),
13266 (gst_pad_get_internal_links):
13268 * gst/gstpipeline.c: (gst_pipeline_dispose),
13269 (gst_pipeline_change_state):
13270 * gst/gstpipeline.h:
13272 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13273 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13274 * gst/gstpluginfeature.h:
13275 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13276 * gst/gstquery.c: (_gst_query_type_initialize),
13277 (gst_query_type_register), (gst_query_type_get_by_nick),
13278 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13280 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13281 * gst/gstscheduler.c: (gst_scheduler_add_element),
13282 (gst_scheduler_factory_create):
13283 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13284 (gst_structure_free), (gst_structure_set_name),
13285 (gst_structure_id_set_value), (gst_structure_set_value),
13286 (gst_structure_set_valist), (gst_structure_remove_field),
13287 (gst_structure_remove_fields),
13288 (gst_structure_remove_fields_valist),
13289 (gst_structure_remove_all_fields), (gst_structure_foreach),
13290 (gst_structure_map_in_place),
13291 (gst_caps_structure_fixate_field_nearest_int),
13292 (gst_caps_structure_fixate_field_nearest_double):
13293 * gst/gststructure.h:
13294 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13295 (gst_system_clock_init), (gst_system_clock_dispose),
13296 (gst_system_clock_async_thread),
13297 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13298 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13299 * gst/gstsystemclock.h:
13300 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13301 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13302 * gst/gsttaginterface.c:
13303 * gst/gstthread.c: (gst_thread_dispose),
13304 (gst_thread_release_children_locks), (gst_thread_change_state),
13305 (gst_thread_main_loop):
13306 * gst/gsttrashstack.h:
13307 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13309 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13310 (gst_element_request_pad), (gst_element_get_pad_from_template),
13311 (gst_element_request_compatible_pad),
13312 (gst_element_get_compatible_pad_filtered),
13313 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13314 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13315 (gst_element_link_many), (gst_element_link),
13316 (gst_element_link_pads), (gst_element_unlink_pads),
13317 (gst_element_unlink_many), (gst_element_unlink),
13318 (gst_pad_can_link_filtered), (gst_pad_can_link),
13319 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13320 (gst_object_default_error), (gst_bin_add_many),
13321 (gst_bin_remove_many), (gst_element_populate_std_props),
13322 (gst_element_class_install_std_props), (gst_buffer_merge),
13323 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13324 (link_fold_func), (gst_pad_proxy_setcaps):
13326 * gst/gstvalue.c: (gst_value_deserialize_string):
13327 * gst/parse/grammar.y:
13328 * gst/schedulers/gstbasicscheduler.c:
13329 (gst_basic_scheduler_cothreaded_chain),
13330 (gst_basic_scheduler_chain_recursive_add),
13331 (gst_basic_scheduler_pad_link):
13332 * gst/schedulers/gstoptimalscheduler.c:
13333 (get_group_schedule_function),
13334 (gst_opt_scheduler_state_transition),
13335 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13336 * libs/gst/bytestream/bytestream.c:
13337 * libs/gst/dataprotocol/dataprotocol.c:
13338 (gst_dp_header_from_buffer):
13341 * tests/threadstate/threadstate2.c: (eos):
13342 * tools/gst-compprep.c: (main):
13343 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13344 (print_pad_info), (print_children_info):
13345 * tools/gst-launch.c: (idle_func), (main):
13346 * tools/gst-md5sum.c: (idle_func), (main):
13347 * tools/gst-xmlinspect.c: (print_element_info):
13348 First THREADED backport attempt, focusing on adding locks and
13349 making sure the API is threadsafe. Needs more work. More docs
13352 2005-02-24 Andy Wingo <wingo@pobox.com>
13354 * tests/bench-complexity.scm:
13355 * tests/complexity.gnuplot: New files, good for running complexity
13358 * tests/Makefile.am:
13359 * tests/complexity.c: New test, sets up N elements, at each level
13360 teeing into M streams per element. Eeeenteresting.
13362 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13363 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13364 running bench-mass_elements.scm.
13366 * tests/bench-mass_elements.scm: New script, runs mass_elements
13367 for various numbers of identities, outputting the results to a
13368 file. Requires guile 1.6. Just for testing.
13370 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13372 * gst/schedulers/fairscheduler.c:
13373 compile with debug disabled
13375 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13378 hunting season on 0.9 is now OPEN