1 2005-12-12 Michael Smith <msmith@fluendo.com>
3 * plugins/elements/gsttypefindelement.c: (free_entry),
4 (gst_type_find_element_chain):
5 Now that we're not leaking factories, make sure we keep references
6 to them while we need them.
8 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
10 * tests/check/gst/struct_i386.h:
11 ifdef out the XML structs
13 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
15 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16 floor is not needed, F is always positive; this obviates the
17 need for adding -lm when building without libxml
19 2005-12-12 Wim Taymans <wim@fluendo.com>
21 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
22 Take current playback rate into account when reporting
25 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
27 * docs/manual/mime-world.fig:
28 Let's try this again, this time with a file that is
29 actually in XFig format.
31 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
33 * docs/manual/mime-world.fig:
34 Add audioconvert element to diagram so that it
35 matches the text and the code (fixes #319526).
37 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
39 * docs/pwg/building-chainfn.xml:
40 * docs/pwg/building-pads.xml:
41 * docs/pwg/building-state.xml:
42 * docs/pwg/other-source.xml:
43 Update state change stuff for 0.10 (fixes #322969).
45 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
47 * docs/manual/advanced-dataaccess.xml:
48 * docs/manual/appendix-checklist.xml:
49 * docs/manual/appendix-programs.xml:
50 * docs/manual/basics-pads.xml:
51 * docs/manual/highlevel-components.xml:
52 * docs/manual/manual.xml:
53 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
54 add converters in front of pipelines; remove curly
55 brackets for threads stuff, they no longer exist; use
56 GST_TYPE_FRACTION for framerates; update some pieces of
57 code to 0.10, but there's plenty more to do.
59 * docs/manual/appendix-porting.xml:
60 Expand on asynchroneous state changes; s/0.9/0.10/;
61 mention disappearance of gst_init_get_popt_table()
64 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
67 Spider no longer exists, and neither does gst-launch-ext.
68 Update examples to use decodebin and playbin and put
69 converters in front of sinks (fixes #323726).
71 2005-12-09 Michael Smith <msmith@fluendo.com>
73 * plugins/elements/gsttypefindelement.c: (find_peek),
74 (gst_type_find_element_chain):
75 Fix leaking element factories in typefinding.
76 Fix problem where we forgot about a probable type on non-seekable
77 files, and thus later mis-typefound it.
79 2005-12-09 Michael Smith <msmith@fluendo.com>
81 * common/m4/gst-makecontext.m4:
82 * common/m4/gst-mcsc.m4:
84 * win32/common/config.h:
85 * win32/common/config.h.in:
86 Remove makecontext stuff; not used in 0.10 and causes problems on
87 HPUX according to bug #322441
89 2005-12-07 Wim Taymans <wim@fluendo.com>
91 * tests/check/Makefile.am:
92 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
94 * tests/check/libs/struct_i386.h:
95 Added ABI check for libs
97 2005-12-07 Wim Taymans <wim@fluendo.com>
99 * tests/check/Makefile.am:
100 And add the struct_i386.h to dist.
102 2005-12-07 Wim Taymans <wim@fluendo.com>
104 * tests/check/Makefile.am:
105 * tests/check/gst/.cvsignore:
106 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
108 * tests/check/gst/struct_i386.h:
109 Added check for ABI compatibility.
111 2005-12-07 Wim Taymans <wim@fluendo.com>
113 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
114 (gst_fake_src_get_times), (gst_fake_src_create):
115 Fix broken sync option, fixes #323259
117 2005-12-07 Wim Taymans <wim@fluendo.com>
122 * gst/gstcaps.c: (gst_caps_is_equal):
123 Don't assert on NULL <--> X. Fixes #323260
125 * gst/gstminiobject.c: (gst_mini_object_replace):
126 If we're doing atomic operations, we might just as well use
127 the proper way to get an atomic pointer.
129 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
132 2005-12-07 Michael Smith <msmith@fluendo.com>
134 * gst/parse/grammar.y:
135 Remove handling of { } for threads.
137 2005-12-06 David Schleef <ds@schleef.org>
139 * libs/gst/base/gstbasetransform.c: speling fix.
141 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
143 * docs/libs/tmpl/gstdataprotocol.sgml:
144 * docs/random/omega/testing/gstobject.c:
148 * gst/gstelementfactory.c:
153 * gst/gstpadtemplate.c:
154 * gst/gstregistryxml.c:
156 * gst/gsttagsetter.c:
159 * libs/gst/base/gstbasesrc.c:
160 * libs/gst/net/gstnetclientclock.c:
161 * libs/gst/net/gstnettimeprovider.c:
162 * plugins/elements/gstfakesrc.c:
163 * plugins/elements/gstfdsrc.c:
164 * plugins/elements/gstfilesrc.c:
165 * plugins/elements/gstidentity.c:
166 * plugins/elements/gstqueue.c:
167 * plugins/elements/gsttypefindelement.c:
168 * plugins/indexers/gstfileindex.c:
169 * plugins/indexers/gstmemindex.c:
170 * tests/check/gst/gsttag.c:
171 * tests/old/examples/cutter/cutter.c:
172 * tests/old/examples/mixer/mixer.c:
173 * tests/old/examples/xml/runxml.c: (main):
174 * tests/old/testsuite/caps/normalisation.c:
175 * tests/old/testsuite/debug/global.c:
176 * tests/old/testsuite/parse/parse1.c:
177 * tools/gst-xmlinspect.c:
178 * win32/common/dirent.c:
181 === release 0.10.0 ===
183 2005-12-05 <thomas (at) apestaart (dot) org>
186 releasing 0.10.0, "Maroilles"
188 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
190 submitted by: Funda Wang <fundawang@linux.net.cn>
194 added Chinese (Traditional) translation
196 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
198 * docs/gst/gstreamer-sections.txt:
199 * docs/libs/tmpl/gstdataprotocol.sgml:
200 * docs/random/thomasvs/TODO:
205 2005-12-05 Andy Wingo <wingo@pobox.com>
207 patch by: Wim Taymans <wim@fluendo.com>
209 * libs/gst/base/gstbasetransform.c
210 (gst_base_transform_prepare_output_buf)
211 (gst_base_transform_buffer_alloc):
212 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
213 alloc_buffer_and_set_caps.
215 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
216 set_caps on the source pad.
217 (gst_pad_alloc_buffer_and_set_caps): New function, does what
218 alloc_buffer used to do. Fixes #322874.
220 * docs/gst/gstreamer-sections.txt:
221 * docs/design/part-negotiation.txt:
222 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
225 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
227 patch by: Sebastien Moutte
230 * win32/common/config.h.in:
231 * win32/vs6/libgstcontroller.dsp:
234 2005-12-05 Wim Taymans <wim@fluendo.com>
236 * gst/gstcaps.c: (gst_caps_is_equal):
237 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
238 (gst_fake_src_create):
239 Back out previous code changes, leave doc updates, file bugs
242 2005-12-05 Wim Taymans <wim@fluendo.com>
244 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
245 (gst_fake_src_get_times), (gst_fake_src_create):
246 * plugins/elements/gstfakesrc.h:
247 Fix broken sync code.
249 2005-12-05 Wim Taymans <wim@fluendo.com>
251 * gst/gstcaps.c: (gst_caps_is_equal):
252 Comparing NULL against !NULL yields different caps, not a
255 2005-12-05 Wim Taymans <wim@fluendo.com>
258 Fix small typo in docs.
260 2005-12-05 Andy Wingo <wingo@pobox.com>
262 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
264 * gst/gst.c (init_post): remove hard-coded 0.9 location for
265 registries/plugins with a MAJORMINOR one.
266 (plugin_desc): Rename library from gstcoreleements to
267 staticelements. Fixes #323222.
269 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
271 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
272 Change debug category to 'collectpads' from 'collect_pads'
275 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
277 patch by: Sebastien Moutte
279 * libs/gst/controller/gstinterpolation.c:
280 use convert function for uint64/double
281 * win32/vs6/libgstcontroller.dsp:
284 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
286 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
287 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
289 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
290 add tests that seem to show that the guint64/gdouble conversions
293 2005-12-02 Wim Taymans <wim@fluendo.com>
295 * gst/gstregistry.c: (gst_registry_add_path):
297 * gst/gstregistryxml.c:
300 2005-12-02 Wim Taymans <wim@fluendo.com>
302 * gst/gstutils.c: (gst_util_uint64_scale_int64),
303 (gst_util_uint64_scale_int):
306 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
309 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
312 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
315 * win32/common/config.h:
316 * win32/vs6/gstreamer.dsw:
317 * win32/vs6/libgstcoreelements.dsp:
318 * win32/vs6/libgstelements.dsp:
319 renamed core elements plugin
321 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
323 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
325 do piece-wise major/minor comparison so 0.9 < 0.10
326 also allow .exe extensions for tools
328 2005-12-02 Michael Smith <msmith@fluendo.com>
331 Escape a % to make gtkdoc happier; bug 322958.
333 === release 0.9.7 ===
335 2005-12-01 <thomas (at) apestaart (dot) org>
338 releasing 0.9.7, "My Dog Has No Nose"
340 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
342 * common/gst-xmlinspect.py:
344 * docs/libs/tmpl/gstdataprotocol.sgml:
345 * docs/random/release:
364 * win32/common/config.h:
365 * win32/common/config.h.in:
366 * win32/vs6/gst_inspect.dsp:
367 * win32/vs6/gst_launch.dsp:
368 * win32/vs6/libgstbase.dsp:
369 * win32/vs6/libgstelements.dsp:
370 * win32/vs6/libgstreamer.dsp:
371 * win32/vs7/GStreamer.vcproj:
372 * win32/vs7/gst-inspect.vcproj:
373 * win32/vs7/gst-launch.vcproj:
374 * win32/vs7/libgstbase.vcproj:
375 bump GST_MAJORMINOR to 0.10
376 reset libtool version
378 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
382 Added Bulgarian translation by (Alexander Shopov)
384 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
386 * tests/check/gst/gstplugin.c:
389 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
391 * common/gst-xmlinspect.py:
392 * common/gtk-doc-plugins.mak:
395 * docs/gst/Makefile.am:
396 * docs/gst/gstreamer-docs.sgml:
397 * docs/gst/gstreamer-sections.txt:
398 * docs/gst/gstreamer.types:
399 * docs/gst/gstreamer.types.in:
400 * docs/plugins/Makefile.am:
401 * docs/plugins/gstreamer-plugins-docs.sgml:
402 * docs/plugins/gstreamer-plugins-sections.txt:
403 * docs/plugins/gstreamer-plugins.types:
404 * docs/plugins/inspect.stamp:
405 * docs/plugins/inspect/plugin-coreelements.xml:
406 * docs/plugins/inspect/plugin-coreindexers.xml:
407 * docs/plugins/scanobj-build.stamp:
409 * plugins/elements/Makefile.am:
410 * plugins/elements/gstelements.c:
411 * plugins/elements/gstfakesink.c:
412 * plugins/elements/gstfakesrc.c:
413 * plugins/elements/gstfilesink.c:
414 * plugins/elements/gstfilesrc.c:
415 * plugins/elements/gstqueue.c:
416 * plugins/indexers/Makefile.am:
417 * plugins/indexers/gstindexers.c:
418 document core plugins in a separate document just like all the
420 rename these plugins to something starting with core
422 2005-12-01 Andy Wingo <wingo@pobox.com>
424 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
425 padding here before, but it missed the commit.
427 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
429 * libs/gst/controller/gstinterpolation.c:
430 whitespace prices have crashed, we should feel free to use some now
431 use gst_guint64_to_gdouble
433 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
435 * libs/gst/controller/gstcontroller.c:
436 * libs/gst/controller/gsthelper.c:
437 * libs/gst/controller/gstinterpolation.c:
438 * libs/gst/controller/lib.c:
439 wrap config.h include
441 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
443 * docs/gst/gstreamer-sections.txt:
446 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
448 * plugins/elements/gstelements.c:
449 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
450 (gst_fd_sink__class_init), (gst_fd_sink__init),
451 (gst_fd_sink__chain), (gst_fd_sink__set_property),
452 (gst_fd_sink__get_property):
453 * plugins/elements/gstfdsink.h:
454 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
455 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
456 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
457 (gst_fd_src_unlock), (gst_fd_src_set_property),
458 (gst_fd_src_get_property), (gst_fd_src_create),
459 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
460 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
461 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
462 (gst_fd_src_uri_handler_init):
463 * plugins/elements/gstfdsrc.h:
464 * plugins/elements/gstqueue.c: (gst_queue_get_type):
467 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
469 * docs/gst/Makefile.am:
470 * docs/gst/gstreamer.types.in:
474 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
481 * tests/benchmarks/complexity.c:
482 * tests/benchmarks/mass-elements.c:
483 * tests/check/Makefile.am:
485 * tools/gst-inspect.c:
486 * tools/gst-xmlinspect.c:
487 various fixes to make
488 --disable-nls --disable-registry --disable-loadsave
489 --disable-parse --disable-gst-debug
490 work and get the core .so down to 360444 bytes after stripping
492 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
497 * docs/random/thomasvs/TODO:
502 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
504 * win32/GStreamer.vcproj:
507 * win32/Makefile.inspect:
508 * win32/Makefile.launch:
509 * win32/Makefile.register:
511 * win32/gst-inspect.vcproj:
512 * win32/gst-launch.vcproj:
513 * win32/gst-register.vcproj:
514 * win32/gstelements.vcproj:
515 * win32/gstgetbits.def:
516 * win32/gstgetbits.vcproj:
517 * win32/gstreamer-dbg.def:
518 * win32/gstreamer.def:
519 * win32/libgstbase.def:
520 * win32/libgstbase.vcproj:
521 * win32/link_oldruntime.c:
526 move even more stuff, win32/ is nice and clean now
528 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
530 * libs/gst/control/.cvsignore:
535 * win32/gstbytestream.def:
536 * win32/gstbytestream.vcproj:
538 * win32/gstenumtypes.c:
539 * win32/gstenumtypes.h:
540 * win32/gstoptimalscheduler.vcproj:
541 * win32/gstversion.h:
543 * win32/testsuite/bins.vcproj:
544 * win32/testsuite/bytestream.vcproj:
545 * win32/testsuite/caps.vcproj:
546 * win32/testsuite/cleanup.vcproj:
547 * win32/testsuite/clock.vcproj:
548 * win32/testsuite/debug.vcproj:
549 * win32/testsuite/dlopen.vcproj:
550 * win32/testsuite/dynparams.vcproj:
551 * win32/testsuite/elements.vcproj:
552 * win32/testsuite/ghostpads.vcproj:
553 * win32/testsuite/indexers.vcproj:
554 * win32/testsuite/negotiation.vcproj:
555 * win32/testsuite/parse.vcproj:
556 * win32/testsuite/plugin.vcproj:
557 * win32/testsuite/refcounting.vcproj:
558 * win32/testsuite/schedulers.vcproj:
559 * win32/testsuite/states.vcproj:
560 * win32/testsuite/tags.vcproj:
561 * win32/testsuite/threads.vcproj:
562 remove old win32 stuff that isn't maintained and should be
565 2005-11-30 Andy Wingo <wingo@pobox.com>
567 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
568 loading the gst.interfaces python module bork.
570 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
571 available since GLib 2.2. Fixes #318031.
573 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
578 * check/elements/.cvsignore:
579 * check/elements/fakesrc.c:
580 * check/elements/fdsrc.c:
581 * check/elements/identity.c:
582 * check/generic/.cvsignore:
583 * check/generic/states.c:
584 * check/gst-libs/.cvsignore:
585 * check/gst-libs/controller.c:
586 * check/gst-libs/gdp.c:
587 * check/gst/.cvsignore:
588 * check/gst/capslist.h:
590 * check/gst/gstbin.c:
591 * check/gst/gstbuffer.c:
592 * check/gst/gstbus.c:
593 * check/gst/gstcaps.c:
594 * check/gst/gstelement.c:
595 * check/gst/gstevent.c:
596 * check/gst/gstghostpad.c:
597 * check/gst/gstiterator.c:
598 * check/gst/gstmessage.c:
599 * check/gst/gstminiobject.c:
600 * check/gst/gstobject.c:
601 * check/gst/gstpad.c:
602 * check/gst/gstpipeline.c:
603 * check/gst/gstplugin.c:
604 * check/gst/gstsegment.c:
605 * check/gst/gststructure.c:
606 * check/gst/gstsystemclock.c:
607 * check/gst/gsttag.c:
608 * check/gst/gstutils.c:
609 * check/gst/gstvalue.c:
610 * check/net/.cvsignore:
611 * check/net/gstnetclientclock.c:
612 * check/net/gstnettimeprovider.c:
613 * check/pipelines/.cvsignore:
614 * check/pipelines/cleanup.c:
615 * check/pipelines/simple_launch_lines.c:
616 * check/pipelines/stress.c:
617 * check/states/.cvsignore:
618 * check/states/sinks.c:
620 * examples/Makefile.am:
621 * examples/appreader/.cvsignore:
622 * examples/appreader/Makefile.am:
623 * examples/appreader/appreader.c:
624 * examples/controller/.cvsignore:
625 * examples/controller/Makefile.am:
626 * examples/controller/audio-example.c:
627 * examples/cutter/.cvsignore:
628 * examples/cutter/Makefile.am:
629 * examples/cutter/cutter.c:
630 * examples/cutter/cutter.h:
631 * examples/events/Makefile.am:
632 * examples/events/seek.c:
633 * examples/helloworld/.cvsignore:
634 * examples/helloworld/Makefile.am:
635 * examples/helloworld/helloworld.c:
636 * examples/helloworld2/.cvsignore:
637 * examples/helloworld2/Makefile.am:
638 * examples/helloworld2/helloworld2.c:
639 * examples/launch/.cvsignore:
640 * examples/launch/Makefile.am:
641 * examples/launch/mp3parselaunch.c:
642 * examples/launch/mp3play:
643 * examples/manual/.cvsignore:
644 * examples/manual/Makefile.am:
645 * examples/manual/extract.pl:
646 * examples/metadata/Makefile.am:
647 * examples/metadata/read-metadata.c:
648 * examples/mixer/.cvsignore:
649 * examples/mixer/Makefile.am:
650 * examples/mixer/mixer.c:
651 * examples/mixer/mixer.h:
652 * examples/pingpong/.cvsignore:
653 * examples/pingpong/Makefile.am:
654 * examples/pingpong/pingpong.c:
655 * examples/plugins/.cvsignore:
656 * examples/plugins/Makefile.am:
657 * examples/plugins/example.c:
658 * examples/plugins/example.h:
659 * examples/pwg/.cvsignore:
660 * examples/pwg/Makefile.am:
661 * examples/pwg/extract.pl:
662 * examples/queue/.cvsignore:
663 * examples/queue/Makefile.am:
664 * examples/queue/queue.c:
665 * examples/queue2/.cvsignore:
666 * examples/queue2/Makefile.am:
667 * examples/queue2/queue2.c:
668 * examples/queue3/.cvsignore:
669 * examples/queue3/Makefile.am:
670 * examples/queue3/queue3.c:
671 * examples/queue4/.cvsignore:
672 * examples/queue4/Makefile.am:
673 * examples/queue4/queue4.c:
674 * examples/retag/.cvsignore:
675 * examples/retag/Makefile.am:
676 * examples/retag/retag.c:
677 * examples/retag/transcode.c:
678 * examples/thread/.cvsignore:
679 * examples/thread/Makefile.am:
680 * examples/thread/thread.c:
681 * examples/typefind/.cvsignore:
682 * examples/typefind/Makefile.am:
683 * examples/typefind/typefind.c:
684 * examples/xml/.cvsignore:
685 * examples/xml/Makefile.am:
686 * examples/xml/createxml.c:
687 * examples/xml/runxml.c:
689 * tests/check/Makefile.am:
690 * testsuite/.cvsignore:
691 * testsuite/Makefile.am:
693 * testsuite/caps/.cvsignore:
694 * testsuite/caps/Makefile.am:
695 * testsuite/caps/app_fixate.c:
696 * testsuite/caps/audioscale.c:
697 * testsuite/caps/caps.c:
698 * testsuite/caps/caps.h:
699 * testsuite/caps/caps_strings:
700 * testsuite/caps/compatibility.c:
701 * testsuite/caps/deserialize.c:
702 * testsuite/caps/enumcaps.c:
703 * testsuite/caps/eratosthenes.c:
704 * testsuite/caps/filtercaps.c:
705 * testsuite/caps/fixed.c:
706 * testsuite/caps/fraction-convert.c:
707 * testsuite/caps/fraction-multiply-and-zero.c:
708 * testsuite/caps/intersect2.c:
709 * testsuite/caps/intersection.c:
710 * testsuite/caps/normalisation.c:
711 * testsuite/caps/random.c:
712 * testsuite/caps/renegotiate.c:
713 * testsuite/caps/sets.c:
714 * testsuite/caps/simplify.c:
715 * testsuite/caps/string-conversions.c:
716 * testsuite/caps/structure.c:
717 * testsuite/caps/subtract.c:
718 * testsuite/caps/union.c:
719 * testsuite/debug/.cvsignore:
720 * testsuite/debug/Makefile.am:
721 * testsuite/debug/category.c:
722 * testsuite/debug/commandline.c:
723 * testsuite/debug/global.c:
724 * testsuite/debug/output.c:
725 * testsuite/debug/printf_extension.c:
726 * testsuite/dlopen/.cvsignore:
727 * testsuite/dlopen/Makefile.am:
728 * testsuite/dlopen/dlopen_gst.c:
729 * testsuite/dlopen/loadgst.c:
730 * testsuite/elements/.cvsignore:
731 * testsuite/elements/Makefile.am:
732 * testsuite/elements/gst-inspect-check.in:
733 * testsuite/elements/struct_i386.h:
734 * testsuite/elements/struct_size.c:
735 * testsuite/indexers/.cvsignore:
736 * testsuite/indexers/Makefile.am:
737 * testsuite/indexers/cache1.c:
738 * testsuite/indexers/indexdump.c:
739 * testsuite/parse/.cvsignore:
740 * testsuite/parse/Makefile.am:
741 * testsuite/parse/parse1.c:
742 * testsuite/parse/parse2.c:
743 * testsuite/plugin/.cvsignore:
744 * testsuite/plugin/Makefile.am:
745 * testsuite/plugin/README:
746 * testsuite/plugin/dynamic.c:
747 * testsuite/plugin/linked.c:
748 * testsuite/plugin/loading.c:
749 * testsuite/plugin/registry.c:
750 * testsuite/plugin/static.c:
751 * testsuite/plugin/static2.c:
752 * testsuite/plugin/testplugin.c:
753 * testsuite/plugin/testplugin2.c:
754 * testsuite/plugin/testplugin2_s.c:
755 * testsuite/plugin/testplugin_s.c:
756 * testsuite/refcounting/.cvsignore:
757 * testsuite/refcounting/Makefile.am:
758 * testsuite/refcounting/bin.c:
759 * testsuite/refcounting/element.c:
760 * testsuite/refcounting/element_pad.c:
761 * testsuite/refcounting/mainloop.c:
762 * testsuite/refcounting/mem.c:
763 * testsuite/refcounting/mem.h:
764 * testsuite/refcounting/object.c:
765 * testsuite/refcounting/pad.c:
766 * testsuite/refcounting/sched.c:
767 * testsuite/refcounting/thread.c:
768 * testsuite/states/.cvsignore:
769 * testsuite/states/Makefile.am:
770 * testsuite/states/bin.c:
771 * testsuite/states/locked.c:
772 * testsuite/states/parent.c:
773 * testsuite/threads/.cvsignore:
774 * testsuite/threads/159566.c:
775 * testsuite/threads/159852.c:
776 * testsuite/threads/Makefile.am:
777 * testsuite/threads/queue.c:
778 * testsuite/threads/signals.c:
779 * testsuite/threads/staticrec.c:
780 * testsuite/threads/thread.c:
781 * testsuite/threads/threadb.c:
782 * testsuite/threads/threadc.c:
783 * testsuite/threads/threadd.c:
784 * testsuite/threads/threade.c:
785 * testsuite/threads/threadf.c:
786 * testsuite/threads/threadg.c:
787 * testsuite/threads/threadh.c:
788 * testsuite/threads/threadi.c:
789 move all of these under tests
791 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
797 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
799 * docs/gst/gstreamer-sections.txt:
800 * tests/sched/.cvsignore:
801 * tests/sched/Makefile.am:
802 * tests/sched/cases/(fs-fs).xml:
803 * tests/sched/cases/(fs-i-fs).xml:
804 * tests/sched/cases/(fs-i-i-fs).xml:
805 * tests/sched/cases/(fs-i-q[i-fs]).xml:
806 * tests/sched/dynamic-pipeline.c:
807 * tests/sched/interrupt1.c:
808 * tests/sched/interrupt2.c:
809 * tests/sched/interrupt3.c:
810 * tests/sched/runtestcases:
811 * tests/sched/runxml.c:
812 * tests/sched/sched-stress.c:
813 * tests/sched/sort.c:
814 * tests/sched/testcases:
815 * tests/sched/testcases1.tc:
816 * tests/seeking/.cvsignore:
817 * tests/seeking/Makefile.am:
818 * tests/seeking/seeking1.c:
819 * tests/threadstate/.cvsignore:
820 * tests/threadstate/Makefile.am:
821 * tests/threadstate/test1.c:
822 * tests/threadstate/test2.c:
823 * tests/threadstate/threadstate1.c:
824 * tests/threadstate/threadstate2.c:
825 * tests/threadstate/threadstate3.c:
826 * tests/threadstate/threadstate4.c:
827 * tests/threadstate/threadstate5.c:
828 remove obsolete tests
830 * tests/bench-complexity.scm:
831 * tests/bench-mass_elements.scm:
832 * tests/complexity.c:
833 * tests/complexity.gnuplot:
834 * tests/instantiate/.cvsignore:
835 * tests/instantiate/Makefile.am:
836 * tests/instantiate/caps.c:
837 * tests/mass_elements.c:
838 * tests/network-clock-utils.scm:
839 * tests/network-clock.scm:
841 First pass at cleaning up tests/ dir before moving the rest
842 Combined with CVS surgery
844 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
847 queue has moved, update
849 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
851 * docs/gst/gstreamer-sections.txt:
852 remove double entries from the docs
854 * gst/gstinfo.c: (_gst_debug_init):
855 remove the THREAD debug category
859 * docs/gst/gstreamer.types:
860 * plugins/elements/gstqueue.c: (gst_queue_get_type),
861 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
862 completely move queue and fix up debugging categories
864 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
866 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
867 make initialization portable, using LL is not
869 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
871 * win32/common/gstconfig.h:
874 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
876 * win32/common/libgstreamer.def:
877 rename symbols; sort base section
879 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
881 * gst/gstclock.c: (do_linear_regression):
882 remove crack non-portable handrolled DEBUG macro
884 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
886 * docs/random/release:
888 * win32/common/gstenumtypes.c: (register_gst_object_flags),
889 (gst_object_flags_get_type), (register_gst_bin_flags),
890 (gst_bin_flags_get_type), (register_gst_buffer_flag),
891 (gst_buffer_flag_get_type), (register_gst_bus_flags),
892 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
893 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
894 (gst_caps_flags_get_type), (register_gst_clock_return),
895 (gst_clock_return_get_type), (register_gst_clock_entry_type),
896 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
897 (gst_clock_flags_get_type), (register_gst_state),
898 (gst_state_get_type), (register_gst_state_change_return),
899 (gst_state_change_return_get_type), (register_gst_state_change),
900 (gst_state_change_get_type), (register_gst_element_flags),
901 (gst_element_flags_get_type), (register_gst_core_error),
902 (gst_core_error_get_type), (register_gst_library_error),
903 (gst_library_error_get_type), (register_gst_resource_error),
904 (gst_resource_error_get_type), (register_gst_stream_error),
905 (gst_stream_error_get_type), (register_gst_event_type_flags),
906 (gst_event_type_flags_get_type), (register_gst_event_type),
907 (gst_event_type_get_type), (register_gst_seek_type),
908 (gst_seek_type_get_type), (register_gst_seek_flags),
909 (gst_seek_flags_get_type), (register_gst_format),
910 (gst_format_get_type), (register_gst_index_certainty),
911 (gst_index_certainty_get_type), (register_gst_index_entry_type),
912 (gst_index_entry_type_get_type),
913 (register_gst_index_lookup_method),
914 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
915 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
916 (gst_index_resolver_method_get_type), (register_gst_index_flags),
917 (gst_index_flags_get_type), (register_gst_debug_level),
918 (gst_debug_level_get_type), (register_gst_debug_color_flags),
919 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
920 (gst_iterator_result_get_type), (register_gst_iterator_item),
921 (gst_iterator_item_get_type), (register_gst_message_type),
922 (gst_message_type_get_type), (register_gst_mini_object_flags),
923 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
924 (gst_pad_link_return_get_type), (register_gst_flow_return),
925 (gst_flow_return_get_type), (register_gst_activate_mode),
926 (gst_activate_mode_get_type), (register_gst_pad_direction),
927 (gst_pad_direction_get_type), (register_gst_pad_flags),
928 (gst_pad_flags_get_type), (register_gst_pad_presence),
929 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
930 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
931 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
932 (gst_plugin_error_get_type), (register_gst_plugin_flags),
933 (gst_plugin_flags_get_type), (register_gst_rank),
934 (gst_rank_get_type), (register_gst_query_type),
935 (gst_query_type_get_type), (register_gst_tag_merge_mode),
936 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
937 (gst_tag_flag_get_type), (register_gst_task_state),
938 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
939 (gst_alloc_trace_flags_get_type),
940 (register_gst_type_find_probability),
941 (gst_type_find_probability_get_type), (register_gst_uri_type),
942 (gst_uri_type_get_type), (register_gst_parse_error),
943 (gst_parse_error_get_type):
944 * win32/common/gstenumtypes.h:
945 * win32/common/gstversion.h:
946 update visual studio generated files
948 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
950 * win32/vs6/libgstbase.dsp:
951 * win32/vs6/libgstelements.dsp:
952 update project files for new locations
954 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
964 * docs/random/LICENSE:
967 2005-11-30 Edward Hervey <edward@fluendo.com>
969 * gst/gsttypefind.c: (gst_type_find_register):
971 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
972 (gst_type_find_factory_dispose):
973 * gst/gsttypefindfactory.h:
974 Fix memory leak in GstTypeFindFactory.
976 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
979 * plugins/elements/Makefile.am:
980 * plugins/elements/gstelements.c:
981 * plugins/elements/gstqueue.c:
982 move queue from core to the elements plugin
984 2005-11-29 Andy Wingo <wingo@pobox.com>
986 * libs/gst/base/gstbasetransform.h:
987 * libs/gst/base/gstbasesrc.h:
988 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
990 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
991 of pointers by which to pad very extensible base classes (like the
992 ones in libs/gst/base).
994 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
996 * docs/gst/gstreamer-docs.sgml:
997 * docs/gst/gstreamer-sections.txt:
998 * docs/libs/gstreamer-libs-docs.sgml:
999 * docs/libs/gstreamer-libs-sections.txt:
1000 moving documentation from core to lib
1002 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1004 * check/Makefile.am:
1006 * docs/gst/Makefile.am:
1008 * gst/base/.cvsignore:
1009 * gst/base/Makefile.am:
1011 * gst/base/gstadapter.c:
1012 * gst/base/gstadapter.h:
1013 * gst/base/gstbasesink.c:
1014 * gst/base/gstbasesink.h:
1015 * gst/base/gstbasesrc.c:
1016 * gst/base/gstbasesrc.h:
1017 * gst/base/gstbasetransform.c:
1018 * gst/base/gstbasetransform.h:
1019 * gst/base/gstcollectpads.c:
1020 * gst/base/gstcollectpads.h:
1021 * gst/base/gstpushsrc.c:
1022 * gst/base/gstpushsrc.h:
1023 * gst/base/gsttypefindhelper.c:
1024 * gst/base/gsttypefindhelper.h:
1025 * gst/check/Makefile.am:
1026 * gst/check/gstcheck.c:
1027 * gst/check/gstcheck.h:
1028 * gst/net/Makefile.am:
1030 * gst/net/gstnetclientclock.c:
1031 * gst/net/gstnetclientclock.h:
1032 * gst/net/gstnettimepacket.c:
1033 * gst/net/gstnettimepacket.h:
1034 * gst/net/gstnettimeprovider.c:
1035 * gst/net/gstnettimeprovider.h:
1036 * libs/gst/Makefile.am:
1037 * libs/gst/base/Makefile.am:
1038 * libs/gst/base/gstbasetransform.c:
1039 * libs/gst/check/Makefile.am:
1040 * plugins/elements/Makefile.am:
1042 CVS surgery + support to move base, check, and net out of gst
1045 2005-11-29 Andy Wingo <wingo@pobox.com>
1047 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1049 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1052 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1054 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1056 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1058 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1059 padding; reduces object size by about 30%. We don't expect
1060 anything else to go into gstobject.
1062 * gst/gstminiobject.h (struct _GstMiniObject)
1063 (struct _GstMiniObjectClass): Only one pointer of padding; the
1064 payload is only a pointer and two ints anyway. For the class there
1065 are only two methods as well.
1067 * gst/gstelement.h (struct _GstElementClass): Removed
1068 the state_changed signal callback, it is not used.
1070 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1072 * docs/gst/gstreamer.types:
1073 fix includes, though they are a little dinky
1075 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1077 * check/Makefile.am:
1078 look in the right place for elements, a lot more chance of
1081 remove indexers and elements subdirs
1082 * plugins/Makefile.am:
1083 make indexers conditional
1085 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1089 * plugins/elements/Makefile.am:
1090 * plugins/elements/gstcapsfilter.c:
1091 * plugins/elements/gstfilesink.c:
1092 * plugins/elements/gstfilesrc.c:
1093 * plugins/elements/gstidentity.c:
1094 * plugins/indexers/Makefile.am:
1095 do CVS surgery and related build fixery to move elements
1096 and indexers in a new gstreamer/plugins directory, out of the
1099 2005-11-29 Andy Wingo <wingo@pobox.com>
1101 * check/Makefile.am:
1102 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1103 * pkgconfig/gstreamer-net.pc.in:
1104 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1107 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1109 * tools/Makefile.am:
1110 * tools/gst-complete.1.in:
1111 * tools/gst-complete.c:
1112 * tools/gst-compprep.1.in:
1113 * tools/gst-compprep.c:
1114 removing -compprep and -complete
1116 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1118 * gst/gstevent.c: (gst_event_new_new_segment),
1119 (gst_event_parse_new_segment):
1121 fix #320529 - clean up new_segment API and structure.
1122 Let's hope everyone was using the methods, and not the structure.
1124 2005-11-29 Edward Hervey <edward@fluendo.com>
1126 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1127 (gst_base_sink_event), (gst_base_sink_do_sync),
1128 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1129 Properly handle non GST_FORMAT_TIME segment
1130 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1131 Properly handle non GST_FORMAT_TIME segment
1133 This function is valid if the accumulator is 0 and the format
1134 is different from the requested format.
1136 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1138 * docs/gst/gstreamer-sections.txt:
1139 Add gst_query_new_seeking and gst_query_parse_seeking to the
1142 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1144 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1145 Treat a pad alloc with new caps the same as if we were not
1146 negotiated, in order to allow a changing upstream output
1147 to produce a new format of data.
1149 2005-11-29 Edward Hervey <edward@fluendo.com>
1151 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1152 (gst_base_transform_event), (gst_base_transform_eventfunc):
1153 The event virtual method is now properly implemented, with a default
1155 Sub classes should call the parent_class event method. They should
1156 return FALSE if they had a problem handling the given event, or don't
1157 want GstBaseTransform to send that even downstream
1158 * gst/elements/gstidentity.c: (gst_identity_class_init),
1159 (gst_identity_init), (gst_identity_event),
1160 (gst_identity_transform_ip), (gst_identity_set_property),
1161 (gst_identity_get_property):
1162 * gst/elements/gstidentity.h:
1163 Added the single-segment boolean property.
1164 If set to TRUE, it will output a single segment of data, starting from
1165 0, will eat up all incoming newsegment, and modify the timestamp of the
1168 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1170 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1171 Don't ref NULL target pad (#322751). Improve docs.
1173 2005-11-29 Michael Smith <msmith@fluendo.com>
1175 * gst/gstregistryxml.c: (load_plugin):
1176 Don't crash if we failed to load a feature from a plugin.
1178 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1180 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1182 use more check API and less GLib API
1184 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1187 don't run checks if we don't have check
1189 remove the registry when running make torture
1190 * docs/gst/gstreamer-sections.txt:
1191 remove second multiply
1192 * gst/gstqueue.c: (gst_queue_loop):
1193 fix a compile warning when disabling debug
1195 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1198 Hey! Let's print the pad name if the pointer != NULL instead
1199 of when it == NULL :-)
1201 2005-11-28 Wim Taymans <wim@fluendo.com>
1203 * check/gst/gstutils.c: (GST_START_TEST):
1204 Updated check, add some scaling accuracy checking code.
1206 * gst/gstutils.c: (gst_util_div128_64),
1207 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1208 (gst_util_uint64_scale_int):
1209 Fix 6 times faster division code. Optimize for common
1210 1/1 and less common X/1 cases.
1212 2005-11-28 Wim Taymans <wim@fluendo.com>
1214 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1217 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1218 (do_linear_regression), (gst_clock_add_observation):
1220 Release lock when the clock cannot be slaved.
1221 Catch the case where the regression returned an invalid denominator.
1223 * gst/gstutils.c: (gst_util_div128_64_iterate),
1224 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1225 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1226 Add protentially more performant non-iterative 128/64 divide function
1227 that unfortunatly does not work yet.
1228 Shortcut the trivial 0/X = 0 case.
1229 Remove the warnings on overflow.
1231 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1233 * gst/gstplugin.c: (gst_plugin_register_func):
1234 everything causing a plugin not to load should be at least a WARNING
1236 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1238 * docs/random/ensonic/dparams.txt:
1239 some TODOs for the next dev cycle
1240 * libs/gst/controller/gstcontroller.c:
1241 (gst_controlled_property_set_interpolation_mode),
1242 (gst_controlled_property_new):
1243 * libs/gst/controller/gstcontroller.h:
1244 use base type to assign acccessor functions
1246 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1248 * check/Makefile.am:
1249 Oops, that should have been top_srcdir
1251 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1253 * check/Makefile.am:
1254 * check/elements/fdsrc.c: (GST_START_TEST):
1255 Use a cmdline define to specify the location of a file to use for
1256 testing, to avoid breaking distcheck.
1258 2005-11-28 Andy Wingo <wingo@pobox.com>
1260 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1262 2005-11-28 Edward Hervey <edward@fluendo.com>
1264 * tools/gst-launch.c: (main):
1265 Clarify the output strings, makes it easier to translate.
1268 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1271 don't try and build net if we don't even have <sys/socket.h>
1273 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1275 * check/Makefile.am:
1276 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1277 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1278 Add tests for fdsrc seekability
1280 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1281 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1282 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1283 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1284 * gst/elements/gstfdsrc.h:
1285 fdsrc should not be a 'live' source.
1286 Implement seeking on seekable fd's.
1288 * gst/gstquery.c: (gst_query_new_seeking),
1289 (gst_query_parse_seeking):
1291 Implement SEEKING query functions:
1292 *_new_seeking and *_parse_seeking
1294 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1296 * gst/gstelement.c: (gst_element_dispose):
1299 * gst/gstiterator.c:
1300 * gst/gststructure.c:
1303 * libs/gst/controller/gstcontroller.c:
1304 (gst_controlled_property_set_interpolation_mode):
1305 * libs/gst/controller/gstcontroller.h:
1306 * libs/gst/controller/gstinterpolation.c:
1307 (interpolate_none_get_enum_value_array):
1308 support controlling enums
1310 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1313 Improve documentation for gst_value_union().
1316 Change return value for union, intersect and subtract functions
1317 from gint to gboolean.
1319 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1321 * gst/gstvalue.c: (gst_value_serialize_any_list),
1322 (gst_value_transform_any_list_string),
1323 (gst_value_deserialize_list), (gst_value_deserialize_array),
1324 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1325 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1326 (gst_value_set_fraction_range_full),
1327 (gst_value_deserialize_fraction_range),
1328 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1329 (gst_value_deserialize_boolean),
1330 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1331 (gst_value_serialize_float), (gst_value_deserialize_float),
1332 (gst_string_wrap), (gst_value_deserialize_string),
1333 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1334 (gst_value_union_int_range_int_range),
1335 (gst_value_intersect_int_range_int_range),
1336 (gst_value_intersect_double_range_double_range),
1337 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1338 (gst_value_subtract_int_range_int_range),
1339 (gst_value_subtract_double_double_range),
1340 (gst_value_subtract_double_range_double_range),
1341 (gst_value_deserialize_fraction):
1343 Use gint, gdouble and gchar in our API instead of int, double and
1344 char (and make usage in gstvalue.c more consistent).
1346 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1348 * check/Makefile.am:
1349 * libs/gst/controller/Makefile.am:
1350 * libs/gst/dataprotocol/Makefile.am:
1351 fix up Makefile.am and remove GST_ENABLE_NEW
1353 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1357 * gst/base/Makefile.am:
1358 * gst/check/Makefile.am:
1359 * gst/elements/Makefile.am:
1360 * gst/net/Makefile.am:
1361 update LDFLAGS use some more
1363 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1365 * common/m4/gst-doc.m4:
1368 2005-11-26 Edward Hervey <edward@fluendo.com>
1370 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1371 This shouldn't issue a g_warning since it returns NULL if it
1372 couldn't find the plugin, and all functions using this behave
1373 properly on a NULL return. Switching to a GST_WARNING.
1375 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1377 * gst/gstbin.c: (gst_bin_handle_message_func):
1378 Don't leak clock messages.
1380 2005-11-25 Wim Taymans <wim@fluendo.com>
1382 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1383 (gst_util_uint64_scale_int):
1384 Optimisations, remove unneeded vars.
1386 2005-11-25 Wim Taymans <wim@fluendo.com>
1388 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1389 Added more checks for the high precision uint64 cases.
1391 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1392 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1393 Implement high precision (guint64 * guint64) / guint64.
1395 2005-11-24 Wim Taymans <wim@fluendo.com>
1397 * gst/base/gstbasesrc.c: (gst_base_src_query):
1398 Fix wrong percentage query.
1400 * gst/gstutils.c: (gst_util_uint64_scale),
1401 (gst_util_uint64_scale_int):
1402 Add some more common cases that can be handled
1403 efficiently to _scale.
1405 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1407 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1408 (gst_mini_object_suite):
1409 don't use check calls from threads; check probably isn't
1410 threadsafe and using a lock to make it threadsafe would
1411 defeat the purpose of this check
1412 * gst/check/gstcheck.c:
1413 * gst/check/gstcheck.h:
1414 use GST_DEBUG some more
1416 2005-11-24 Wim Taymans <wim@fluendo.com>
1418 * gst/gstutils.c: (gst_util_uint64_scale),
1419 (gst_util_uint64_scale_int):
1420 Chain trivial case to _scale_int.
1422 2005-11-24 Wim Taymans <wim@fluendo.com>
1424 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1425 Added test for scaling.
1430 * gst/gstutils.c: (gst_util_uint64_scale_int):
1431 Implemented high precision scaling code.
1433 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1436 do not crash on pad==NULL
1438 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1440 Patch by: Stefan Kost
1442 * common/gtk-doc.mak:
1443 * docs/gst/Makefile.am:
1444 * docs/libs/Makefile.am:
1445 Fix distcheck issues for the libraries docs build
1448 2005-11-24 Michael Smith <msmith@fluendo.com>
1450 * docs/manual/basics-helloworld.xml:
1451 Fix bug #315027: memory leak in example code in docs.
1453 2005-11-24 Michael Smith <msmith@fluendo.com>
1455 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1456 Unlock the PREROLL_LOCK in a failure case.
1458 2005-11-24 Wim Taymans <wim@fluendo.com>
1460 * docs/gst/gstreamer-sections.txt:
1461 * gst/base/gstadapter.h:
1462 * gst/base/gstbasesink.h:
1463 * gst/base/gstbasesrc.h:
1464 * gst/base/gstbasetransform.h:
1465 * gst/base/gstpushsrc.h:
1466 * gst/elements/gstfakesink.h:
1467 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1468 * gst/elements/gstfakesrc.h:
1469 * gst/elements/gstfilesink.h:
1470 * gst/elements/gstfilesrc.h:
1473 * gst/gstbuffer.c: (_gst_buffer_copy):
1476 * gst/gstchildproxy.c:
1479 * gst/gstelementfactory.c:
1480 * gst/gstelementfactory.h:
1482 * gst/gstghostpad.h:
1484 * gst/gstinterface.h:
1485 * gst/gstminiobject.c:
1486 * gst/gstminiobject.h:
1489 * gst/gstpadtemplate.h:
1490 * gst/gstpipeline.h:
1491 * gst/gstpluginfeature.h:
1496 * gst/gsttagsetter.c:
1497 * gst/gsttagsetter.h:
1500 * gst/gsttypefind.h:
1503 * gst/net/gstnetclientclock.c:
1504 * gst/net/gstnetclientclock.h:
1505 * gst/net/gstnettimepacket.c:
1506 * gst/net/gstnettimeprovider.c:
1507 * gst/net/gstnettimeprovider.h:
1510 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1512 * configure.ac: back to HEAD
1514 === release 0.9.6 ===
1516 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1519 releasing 0.9.6, "Always On Time"
1521 2005-11-23 Wim Taymans <wim@fluendo.com>
1523 * docs/gst/gstreamer-sections.txt:
1524 * gst/glib-compat.c:
1525 * gst/gsttagsetter.c:
1527 * gst/net/gstnetclientclock.c:
1528 * gst/net/gstnettimepacket.h:
1531 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1533 * docs/faq/using.xml:
1534 * docs/libs/tmpl/gstcontrol.sgml:
1535 * docs/manual/advanced-dparams.xml:
1536 * docs/manual/appendix-checklist.xml:
1537 * docs/manual/basics-elements.xml:
1538 * docs/pwg/other-source.xml:
1539 * docs/random/moving-plugins:
1541 * tools/gst-launch.1.in:
1542 remove mentions of sinesrc
1544 2005-11-23 Michael Smith <msmith@fluendo.com>
1546 * docs/gst/gstreamer-sections.txt:
1547 Update for new API and API changes.
1549 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1551 Documentation typo fix.
1552 * gst/net/gstnettimepacket.c:
1553 Documentation fixes for arguments.
1555 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1557 * gst/gststructure.c: (gst_structure_get_fraction),
1558 (gst_structure_parse_value),
1559 (gst_structure_fixate_field_nearest_fraction):
1560 * gst/gststructure.h:
1561 * gst/gstutils.c: (gst_util_uint64_scale_int):
1563 * scripts/update-funcnames:
1565 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1566 Make gst_structure_fixate_field_nearest_fraction take a numerator
1567 and denominator argument instead of a GValue
1568 add gst_structure_get_fraction helper function.
1570 2005-11-23 Wim Taymans <wim@fluendo.com>
1572 * docs/design/part-TODO.txt:
1575 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1576 * gst/net/gstnetclientclock.h:
1577 Use parent fields for timeout and window_size.
1579 2005-11-23 Andy Wingo <wingo@pobox.com>
1581 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1582 rate_num/rate_denom change.
1584 * gst/net/gstnetclientclock.c
1585 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1586 OBJECT_LOCK. Don't call add_observation with the lock.
1588 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1590 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1592 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1593 deal with rate as a fraction whose numerator and denominator are
1594 GstClockTime values.
1595 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1596 master; the other fields are protected by the SLAVE_LOCK.
1597 (do_linear_regression): Note that this must be called with the
1599 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1600 OBJECT_LOCK. Call set_calibration instead of touching the
1602 (gst_clock_set_property, gst_clock_get_property): Protect
1603 master/slave parameters with the SLAVE_LOCK.
1605 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1606 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1607 note that all of the instance variables that add_observation and
1608 the set_master functions use are protected by that lock and not
1610 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1612 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1613 the caller to take the object lock.
1615 2005-11-23 Wim Taymans <wim@fluendo.com>
1617 * gst/gsterror.c: (_gst_core_errors_init):
1619 Add error for clock stuff.
1621 * gst/gstpipeline.c: (gst_pipeline_change_state),
1622 (gst_pipeline_set_clock):
1623 Post clock error when clock cannot be used in a pipeline.
1625 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1627 * docs/gst/gstreamer-sections.txt:
1628 make two symbols from gstinfo private for the docs
1629 * gst/base/gstcollectpads.h:
1631 fix doc typos, update docs
1633 2005-11-22 Wim Taymans <wim@fluendo.com>
1635 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1636 (gst_base_sink_wait), (gst_base_sink_do_sync),
1637 (gst_base_sink_handle_event):
1638 * gst/base/gstbasesink.h:
1639 No need to store the clock, the parent element class already
1642 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1643 Updates for clock_set returning a gboolean
1645 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1646 (gst_clock_id_wait_async), (gst_clock_class_init),
1647 (gst_clock_init), (gst_clock_finalize),
1648 (gst_clock_get_internal_time), (gst_clock_get_time),
1649 (gst_clock_slave_callback), (gst_clock_set_master),
1650 (gst_clock_get_master), (do_linear_regression),
1651 (gst_clock_add_observation), (gst_clock_set_property),
1652 (gst_clock_get_property):
1654 Implement master/slave. When setting a clock as a slave, a
1655 periodic timeout is scheduled to sample master and slave times.
1656 Then the slave clock is recalibrated to match offset and rate
1657 of the master clock.
1658 Update logging a bit.
1659 Add flag so that a clock can state that is cannot be slaved to
1662 * gst/gstelement.c: (gst_element_set_clock):
1664 The set clock returns a gboolean for when an element cannot
1665 deal with the selected clock in the pipeline.
1667 * gst/gstpipeline.c: (gst_pipeline_change_state),
1668 (gst_pipeline_set_clock):
1669 * gst/gstpipeline.h:
1670 Handle the case where the selected clock cannot be set on
1673 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1674 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1675 (gst_net_client_clock_set_property),
1676 (gst_net_client_clock_get_property),
1677 (gst_net_client_clock_observe_times):
1678 * gst/net/gstnetclientclock.h:
1679 Use regression code in GstClock parent, remove duplicated
1682 2005-11-22 Michael Smith <msmith@fluendo.com>
1684 * gst/gstutils.c: (gst_util_clock_time_scale):
1686 * docs/gst/gstreamer-sections.txt:
1687 Rename method to have extra underscore.
1689 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1691 * gst/elements/Makefile.am:
1692 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1693 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1694 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1695 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1696 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1697 * gst/elements/gstfakesrc.h:
1698 * gst/gstqueue.c: (queue_leaky_get_type):
1699 correctly fix GEnumValues so that nick is the short lowercase
1701 * tools/gst-inspect.c: (print_element_properties_info):
1702 also show the nick, since it's useful to use from parse_launch
1706 2005-11-22 Michael Smith <msmith@fluendo.com>
1708 * gst/gstutils.c: (gst_util_clocktime_scale):
1710 * docs/gst/gstreamer-sections.txt:
1711 Add util method for scaling a clocktime by a fraction. Useful
1712 implementation is left as an exercise for the reader.
1714 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1716 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1717 If needed, allocate storage in the destination value during
1720 2005-11-22 Edward Hervey <edward@fluendo.com>
1722 * docs/gst/gstreamer-sections.txt:
1727 * gst/gstutils.c: (gst_util_set_object_arg):
1728 * tools/gst-compprep.c: (main):
1729 * tools/gst-inspect.c: (print_element_properties_info):
1730 Removed GstURI, closes bug #321061
1732 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1734 * check/gst/gststructure.c: (GST_START_TEST):
1735 * gst/gststructure.c: (gst_structure_parse_value):
1736 Oops, broke automatic string type parsing.
1737 Add a test to catch it in future.
1739 2005-11-22 Andy Wingo <wingo@pobox.com>
1741 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1742 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1743 Actually rename the function implementations. Grr.
1745 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1747 * check/gst/capslist.h:
1749 * check/gst/gststructure.c: (GST_START_TEST),
1750 (gst_structure_suite):
1751 Test automatic value type detection in gst_structure_from_string.
1752 * gst/gststructure.c: (gst_structure_parse_value):
1753 Add fraction as a type we try and guess automatically in
1754 caps/structure strings.
1756 2005-11-22 Andy Wingo <wingo@pobox.com>
1758 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1760 * gst/gsttagsetter.h:
1761 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1762 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1763 (gst_tag_setter_add_tag_valist)
1764 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1765 _add_values, _add_valist, and _add_valist_values. Since this is an
1766 interface the function suffixes should be more explicit so
1767 language binding don't end up with element.add_valist ->
1768 gst_tag_setter_add_valist, for example. Fixes #322069.
1770 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1772 * check/gst/gstcaps.c: (GST_START_TEST):
1773 Extend caps string tests to check that a caps to string
1774 conversion is reversible and produces the same caps.
1776 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1777 Output "fraction" as the generic type fraction range, so caps
1778 serialisation and deserialisation works.
1779 * check/gst/capslist.h:
1780 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1781 Support 'MIN' and 'MAX' for deserialising fractions.
1783 2005-11-22 Andy Wingo <wingo@pobox.com>
1785 * gst/gstevent.h (gst_event_new_new_segment)
1786 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1787 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1788 Renamed from *_newsegment, *_buffersize, *_notarget.
1790 * scripts/update-funcnames: New script, performs the changes
1793 2005-11-22 Wim Taymans <wim@fluendo.com>
1795 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1796 Make sure the GstFlowReturn is returned.
1798 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1799 (gst_bus_add_signal_watch):
1801 add gst_bus_add_signal_watch_full.
1803 * gst/gstplugin.c: (gst_plugin_load_file):
1804 Small style cleanup.
1806 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1808 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1809 Block the fakesrc srcpad when we send an event, to avoid
1810 contention on the stream_lock causing random test failures.
1812 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1814 * check/gst/gstvalue.c: (GST_START_TEST):
1815 * gst/gstvalue.c: (gst_value_fraction_subtract):
1818 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1821 include "gstchildproxy.h"
1822 * gst/gstchildproxy.h:
1823 * libs/gst/controller/gstcontroller.h:
1824 use G_GNUC_NULL_TERMINATED
1826 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1828 * check/gst/capslist.h:
1829 * check/gst/gstcaps.c: (GST_START_TEST):
1830 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1831 * gst/gststructure.c: (gst_structure_parse_range),
1832 (gst_structure_fixate_field_nearest_fraction):
1833 * gst/gststructure.h:
1834 * gst/gstvalue.c: (gst_value_init_fraction_range),
1835 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1836 (gst_value_collect_fraction_range),
1837 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1838 (gst_value_set_fraction_range_full),
1839 (gst_value_get_fraction_range_min),
1840 (gst_value_get_fraction_range_max),
1841 (gst_value_serialize_fraction_range),
1842 (gst_value_transform_fraction_range_string),
1843 (gst_value_compare_fraction_range),
1844 (gst_value_deserialize_fraction_range),
1845 (gst_value_intersect_fraction_fraction_range),
1846 (gst_value_intersect_fraction_range_fraction_range),
1847 (gst_value_subtract_fraction_fraction_range),
1848 (gst_value_subtract_fraction_range_fraction),
1849 (gst_value_subtract_fraction_range_fraction_range),
1850 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1851 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1852 (gst_value_transform_string_fraction), (_gst_value_initialize):
1854 Implement fraction ranges and extend GstFraction to support
1855 arithmetic subtraction, as well as deserialization from integer
1856 strings such as "100"
1857 Add a testsuite as for int and double range set operations
1859 2005-11-21 Andy Wingo <wingo@pobox.com>
1863 * gst/gststructure.h: Add glib-compat.h.
1865 2005-11-21 Wim Taymans <wim@fluendo.com>
1867 * gst/gstbin.c: (gst_bin_change_state_func):
1870 2005-11-21 Wim Taymans <wim@fluendo.com>
1873 And add a nice define too.
1875 2005-11-21 Wim Taymans <wim@fluendo.com>
1877 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1878 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1879 (gst_segment_set_duration), (gst_segment_set_last_stop),
1880 (gst_segment_set_seek), (gst_segment_set_newsegment),
1881 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1884 Make binding friendly.
1886 2005-11-21 Andy Wingo <wingo@pobox.com>
1888 * gst/gsttagsetter.h:
1890 * gst/gststructure.h:
1892 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1895 * gst/gsterror.c (_gst_core_errors_init):
1896 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1899 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1900 (noinst_HEADERS): noinst the -private.
1902 2005-11-21 Michael Smith <msmith@fluendo.com>
1905 * gst/gstregistry.h:
1906 Remove unimplemented declarations for which we can see no sensible
1909 2005-11-21 Andy Wingo <wingo@pobox.com>
1911 * gst/gst.h: Include glib-compat.h.
1913 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1915 * gst/glib-compat.c: Include the public and the private header.
1917 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1921 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1923 * check/gst/gstevent.c (create_custom_events): Check that
1924 FLUSH_STOP is serialized.
1926 * check/elements/identity.c (event_func):
1927 * check/elements/fakesrc.c (event_func): No stream lock, the core
1930 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1931 stream lock taking, yay.
1933 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1934 ensure that core takes the stream lock.
1936 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1939 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1940 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1941 it already. For the flush start we do take it though so we get the
1942 right preroll state change messages.
1944 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1945 the stream lock here, the core does it for us.
1947 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1948 GST_STREAM_GET_LOCK.
1949 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1950 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1951 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1952 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1953 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1954 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1956 * gst/gstpad.c: Update for stream lock name change.
1958 * gst/base/gstbasesink.c: Update for preroll lock name change.
1960 2005-11-21 Wim Taymans <wim@fluendo.com>
1962 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1963 (gst_clock_get_master):
1965 * gst/gstsystemclock.c: (gst_system_clock_init):
1966 Convert Clock flags to object flags.
1967 Added methods to manage master/slave clocks.
1969 2005-11-21 Wim Taymans <wim@fluendo.com>
1971 * check/gst/gstsegment.c: (GST_START_TEST):
1972 * docs/design/part-TODO.txt:
1973 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1974 (gst_base_sink_event), (gst_base_sink_do_sync),
1975 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1976 (gst_base_sink_query), (gst_base_sink_change_state):
1977 * gst/base/gstbasesink.h:
1978 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1979 (gst_base_src_default_newsegment),
1980 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1981 (gst_base_src_get_range), (gst_base_src_loop),
1982 (gst_base_src_change_state):
1983 * gst/base/gstbasesrc.h:
1984 * gst/base/gstbasetransform.c:
1985 (gst_base_transform_prepare_output_buf),
1986 (gst_base_transform_event), (gst_base_transform_change_state):
1987 * gst/base/gstbasetransform.h:
1988 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1989 (gst_collect_pads_event):
1990 * gst/base/gstcollectpads.h:
1991 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1992 (gst_fake_src_create):
1993 * gst/elements/gstfakesrc.h:
1994 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1995 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1996 (gst_segment_set_last_stop), (gst_segment_set_seek),
1997 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1998 (gst_segment_to_running_time), (gst_segment_clip):
2000 More segment updates, replace code in plugins with segment
2003 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2005 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2006 Don't ignore sscanf results
2008 2005-11-21 Andy Wingo <wingo@pobox.com>
2010 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2013 * *.c: Ran scripts/update-macros. Oh yes.
2015 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2016 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2019 * scripts/update-macros: New script. Run it on your files to
2020 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2023 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2025 * docs/gst/Makefile.am:
2026 * docs/gst/gstreamer-docs.sgml:
2027 * docs/gst/gstreamer-sections.txt:
2028 * docs/gst/gstreamer.types:
2030 more docs fixes, add new api to the docs
2032 2005-11-21 Andy Wingo <wingo@pobox.com>
2034 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2035 state_broadcast call.
2037 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2039 2005-11-21 Julien MOUTTE <julien@moutte.net>
2041 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2042 function calls for arrays.
2044 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2046 * docs/random/ensonic/media-device-daemon.txt:
2047 wild idea, can this be done?
2048 * docs/gst/gstreamer-sections.txt:
2053 * gst/gstpluginfeature.c:
2057 doc fixes and additions
2059 2005-11-21 Andy Wingo <wingo@pobox.com>
2061 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2062 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2063 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2064 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2065 private to the basesrc implementation.
2067 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2068 behalf of event function if necessary. It should no longer be
2069 necessary to take the stream lock in pad's event functions. Fixes
2072 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2073 * docs/gst/gstreamer-sections.txt:
2074 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2075 (gst_structure_fixate_field_nearest_double),
2076 (gst_structure_fixate_field_boolean):
2077 * gst/gststructure.h:
2078 * win32/common/libgstreamer.def:
2079 * win32/gstreamer.def:
2081 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2084 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2086 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2087 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2088 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2089 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2090 (gst_fdsrc_uri_handler_init):
2091 * gst/elements/gstfdsrc.h:
2092 Port fd:// URI handler from 0.8 to fdsrc
2094 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2096 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2097 (gst_value_serialize_fourcc):
2099 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2100 consistent with our other format defines (#320324).
2102 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2104 * gst/gstvalue.c: (gst_value_is_fixed):
2105 Revert previous commit. Value lists are by definition
2106 not fixed, as they are a list of possible values.
2108 2005-11-21 Andy Wingo <wingo@pobox.com>
2110 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2111 during the stable series if we need it. Fixes #319178.
2113 * gst/gstevent.c (gst_event_new_filler): Removed.
2115 * check/gst/gstevent.c: Update comment about filler events.
2117 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2119 * gst/gstvalue.c: (gst_value_is_fixed):
2120 Should handle both value arrays and value lists.
2122 2005-11-21 Andy Wingo <wingo@pobox.com>
2124 patch by: Alessandro Dessina <alessandro nnva org>
2126 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2127 functions to access arrays. Fixes #321962.
2129 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2131 * docs/gst/gstreamer.types:
2132 gst_collectpads_get_type => gst_collect_pads_get_type.
2134 * gst/base/gstbasetransform.c:
2135 Remove unused SIGNAL_HANDOFF enum.
2137 2005-11-21 Andy Wingo <wingo@pobox.com>
2139 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2140 the event type (upstream, downstream, serialized). Renamed
2141 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2142 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2143 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2145 * gst/gstevent.c: Update for new CUSTOM event names.
2147 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2150 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2153 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2155 * docs/gst/gstreamer-sections.txt:
2156 * win32/common/libgstbase.def:
2157 * win32/libgstbase.def:
2158 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2159 (gst_collect_pads_class_init), (gst_collect_pads_init),
2160 (gst_collect_pads_finalize), (gst_collect_pads_new),
2161 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2162 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2163 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2164 (gst_collect_pads_start), (gst_collect_pads_stop),
2165 (gst_collect_pads_peek), (gst_collect_pads_pop),
2166 (gst_collect_pads_available), (gst_collect_pads_read),
2167 (gst_collect_pads_flush), (gst_collect_pads_event),
2168 (gst_collect_pads_chain):
2169 * gst/base/gstcollectpads.h:
2170 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2171 unimplemented functions as unimplemented. Add padding to
2172 GstCollectData. (#320766, #320423)
2174 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2177 Improve docs for DURATION message (usage of duration parameter)
2180 2005-11-20 Wim Taymans <wim@fluendo.com>
2182 * check/Makefile.am:
2183 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2187 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2188 (gst_segment_set_seek), (gst_segment_set_newsegment),
2189 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2192 Added segment helper structure and methods. Not fully implemented
2194 Added segment check.
2196 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2198 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2199 Add a deserialisation test for fractions
2200 * examples/metadata/read-metadata.c: (message_loop),
2201 (make_pipeline), (main):
2202 Fix up metadata reading sample.
2203 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2205 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2206 Don't try and fixate empty caps
2207 * gst/gst_private.h:
2208 Wrap in G_BEGIN_DECLS/G_END_DECLS
2209 * gst/gstvalue.c: (gst_value_collect_fraction),
2210 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2211 (gst_value_transform_string_fraction),
2212 (gst_value_compare_fraction):
2213 Add some extra guards to ensure that we don't end up
2214 with an invalid denominator of 0 in a gstfraction and
2215 that fractions always get reduced.
2217 2005-11-20 Wim Taymans <wim@fluendo.com>
2219 * docs/gst/gstreamer-sections.txt:
2230 2005-11-20 Wim Taymans <wim@fluendo.com>
2232 * docs/design/part-TODO.txt:
2234 Make a proper enum of the flag.
2236 2005-11-19 Wim Taymans <wim@fluendo.com>
2238 * docs/design/part-TODO.txt:
2239 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2240 (gst_format_to_quark), (gst_format_register):
2242 * gst/gstquery.c: (_gst_query_initialize),
2243 (gst_query_type_get_name), (gst_query_type_to_quark),
2244 (gst_query_type_register):
2246 Add type to quark and type to string conversions.
2248 2005-11-19 Andy Wingo <wingo@pobox.com>
2250 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2253 2005-11-19 Wim Taymans <wim@fluendo.com>
2255 * docs/design/part-TODO.txt:
2256 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2257 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2258 (gst_bin_handle_message_func):
2260 Make message handling overridable.
2262 2005-11-19 Andy Wingo <wingo@pobox.com>
2264 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2267 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2269 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2270 is a GstClockTime. Fixes #321710.
2272 * gst/gstclock.h (GstClock): Remove offset property. Add
2273 internal_calibration and external_calibration. Fix padding. Pad
2274 also by GstClockTime so we don't run into problems.
2276 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2277 (gst_clock_get_rate_offset): Remove.
2278 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2281 * gst/gstutils.c (g_static_rec_cond_wait)
2282 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2284 * gst/gstbin.c: Remove terrible continue_state prototype.
2286 * gst/gstelement.h (gst_element_continue_state): Make public.
2289 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2290 by continue_state. Fixes #319389.
2292 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2293 Really fixes #168438. However I don't see anywhere where the
2294 filter function is called... stupid GStreamer...
2296 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2297 don't have a dispose function, so it won't get called when the
2298 object is unreffed, but oh well!
2300 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2301 allows a destroy function to be set so user_data can be freed.
2303 (gst_index_set_filter): Call gst_index_set_filter_full.
2305 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2307 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2308 string should produce an error, given the lack of a way to
2309 represent NULL strings. Fixes #165650.
2312 * gst/gstvalue.c (gst_value_array_append_value)
2313 (gst_value_array_prepend_value, gst_value_array_get_size)
2314 (gst_value_array_get_value): New API, copied from
2315 gst_value_list_*, only operates on arrays.
2316 (gst_value_list_append_value, gst_value_list_prepend_value)
2317 (gst_value_list_concat, gst_value_list_get_size)
2318 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2320 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2321 init_list, because it works on both.
2322 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2323 (gst_value_copy_list_or_array): Renamed from copy_list.
2324 (gst_value_free_list_or_array): Renamed from free_list.
2325 (gst_value_collect_list_or_array): Renamed from collect_list.
2326 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2327 (gst_value_list_or_array_peek_pointer): Renamed from
2329 (_gst_value_array_value_table, _gst_value_list_value_table):
2330 Update value table functions.
2331 (gst_value_compare_list_or_array): Renamed from compare_list.
2333 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2337 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2338 GstTagList*. Fixes #143472.
2340 * gst/gststructure.h: Clarify what the foreach/map functions can
2341 or can't do to their arguments.
2343 2005-11-18 Wim Taymans <wim@fluendo.com>
2345 * gst/gstclock.c: (gst_clock_set_calibration),
2346 (gst_clock_get_calibration):
2348 Calibration can be set with internal time equal to current
2351 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2357 2005-11-18 Andy Wingo <wingo@pobox.com>
2360 * pkgconfig/gstreamer-net.pc.in:
2361 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2362 * pkgconfig/Makefile.am: Add net pkgconfig files.
2364 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2367 * gst/gstghostpad.c:
2373 2005-11-18 Andy Wingo <wingo@pobox.com>
2375 * gst/net/gstnetclientclock.c: Turn off debugging.
2377 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2378 times connverge somewhat. Can't make a real test.
2380 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2381 integer arithmetic. Return the minimum of the domain, which can be
2382 set as "internal" for gst_clock_set_calibration.
2383 (gst_net_client_clock_observe_times): Call _set_calibration.
2384 (gst_net_client_clock_new): Call _set_calibration instead of
2387 * check/net/gstnetclientclock.c (test_functioning): Use the right
2391 * gst/gstclock.c (gst_clock_get_calibration)
2392 (gst_clock_set_calibration): New functions, obsolete the ones I
2393 added yesterday. Doh. Precision issues mean we have to extrapolate
2394 from a point in the more recent past than 1970.
2395 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2397 (gst_clock_adjust_unlocked): Use the right calibration data.
2399 2005-11-18 Edward Hervey <edward@fluendo.com>
2401 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2402 Also reset the ->current_* values in READY->PAUSED
2404 2005-11-18 Andy Wingo <wingo@pobox.com>
2406 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2407 Whoops, check the right fd. Also add some debugging.
2408 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2409 (do_linear_regression): Add a crapload of debugging. Subtract off
2410 the minimum values from the input series to discard unneeded bits.
2411 Use only int arithmetic. There is still double arithmetic when
2412 calculating the intercept that needs fixing. Return boolean to
2413 indicate success; FALSE would mean the domain or range is too
2414 great. Still needs fixes.
2416 2005-11-18 Wim Taymans <wim@fluendo.com>
2418 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2419 For the current position in stream time, we need to subtract
2422 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2423 Release lock before calling the callback function of async
2426 2005-11-18 Andy Wingo <wingo@pobox.com>
2428 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2429 Port goes all the way to MAXUINT16.
2431 * gst/net/gstnettimeprovider.c: Make the port range the same as
2432 for the kernel: 0 assigns, otherwise ports are less than
2435 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2438 * check/net/gstnetclientclock.c (test_functioning): Add the start
2441 2005-11-18 Wim Taymans <wim@fluendo.com>
2443 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2444 (gst_bin_remove_func), (bin_bus_handler):
2446 Removing a clock provider from a bin, triggers a clock lost message
2447 so that a new clock will be selected.
2448 Adding a clock to a bin triggers a clock provider message.
2449 Make sure we reselect a clock when we received a clock lost message.
2450 Keep a reference to the element that provided the clock.
2452 2005-11-18 Andy Wingo <wingo@pobox.com>
2454 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2455 the clock initially so it produces values around the base time.
2456 (gst_net_client_clock_class_init): Typo fix.
2457 (gst_net_client_clock_thread): Add note on when the socket gets
2460 2005-11-17 Wim Taymans <wim@fluendo.com>
2462 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2463 Free remote and local time arrays.
2465 2005-11-17 Wim Taymans <wim@fluendo.com>
2467 * gst/net/gstnetclientclock.c: (do_linear_regression),
2468 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2469 Fix compilation, uninitialized vars and a forgotten continue.
2471 2005-11-17 Andy Wingo <wingo@pobox.com>
2473 * check/Makefile.am (check_PROGRAMS):
2474 * check/net/gstnetclientclock.c: Add a most minimal test for the
2475 net client clock. More to come later.
2478 * gst/net/Makefile.am: Add netclientclock.
2480 * gst/net/gstnetclientclock.h:
2481 * gst/net/gstnetclientclock.c: New files, implement an untested
2482 GstClock that takes its time from a network time provider.
2483 Implements the algorithm in network-clock.scm.
2485 * tests/network-clock.scm (*window-size*): Rename from
2487 * tests/network-clock.scm (network-time):
2488 * tests/network-clock-utils.scm (q-push): Update callers.
2490 2005-11-17 Wim Taymans <wim@fluendo.com>
2492 * gst/gstbin.c: (gst_bin_provide_clock_func),
2493 (gst_bin_sort_iterator_new):
2494 And unref the child too..
2496 2005-11-17 Wim Taymans <wim@fluendo.com>
2498 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2499 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2500 Refactor the sort iterator so it can be used while holding the
2502 Make clock selection select a clock closest to the source.
2504 2005-11-17 Michael Smith <msmith@fluendo.com>
2506 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2507 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2509 Anonymous structs are a gcc (and some other compilers) extension, so
2510 don't use them. Since this is only for ABI-compatibility, and our
2511 API/ABI freeze is over in a few days, this whole thing will only
2512 last a few days, so don't bother trying to think up a meaningful
2513 name for the struct.
2515 2005-11-17 Andy Wingo <wingo@pobox.com>
2517 * gst/gstclock.h (GstClock): Add rate and offset properties,
2518 preserving ABI stability. Add rate/offset accessors. Will file bug
2519 for the freeze break.
2521 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2522 and offset, trying to keep precision and avoiding
2524 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2525 functions. Make gst_clock_set_time_adjust obsolete.
2526 (gst_clock_set_time_adjust): Note that this function is obsolete.
2529 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2530 greppable by using GST_PADDING-1+1.
2532 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2534 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2536 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2537 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2539 * gst/gstpadtemplate.h:
2540 * gst/gstpluginfeature.h:
2541 Don't use c++ style comments in headers (#321638).
2543 2005-11-16 Andy Wingo <wingo@pobox.com>
2545 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2548 * check/net/gstnettimeprovider.c: Check to see that the time
2549 provider actually provides times. Works, yo!
2551 2005-11-16 Wim Taymans <wim@fluendo.com>
2553 * check/Makefile.am:
2556 * check/elements/fakesrc.c: (GST_START_TEST):
2557 Set element to NULL before disposing it.
2559 2005-11-16 Andy Wingo <wingo@pobox.com>
2561 * gst/net/Makefile.am:
2563 * gst/net/gstnettimeprovider.c:
2564 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2565 provider, include it from gstnet.h, and add it to the build.
2567 * gst/net/gstnettimepacket.h:
2568 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2569 sending and receiving.
2571 2005-11-16 Wim Taymans <wim@fluendo.com>
2573 * check/Makefile.am:
2574 Enable valgrind check.
2576 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2577 (gst_fake_src_alloc_buffer):
2580 2005-11-16 Wim Taymans <wim@fluendo.com>
2582 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2583 Call parent finalize too.
2585 2005-11-16 Wim Taymans <wim@fluendo.com>
2587 * check/Makefile.am:
2588 Enable valgrind check that should work fine now.
2590 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2591 * gst/gstqueue.c: (gst_queue_init):
2592 Fix memleaks in pad allocation.
2594 2005-11-16 Andy Wingo <wingo@pobox.com>
2596 * gst/net/Makefile.am:
2597 * gst/net/gstnet.h: New part of core to hold network elements and
2598 objects. Put in core because it exposes API that applications want
2599 to use. The library is named libgstnet-tempname right now because
2600 of the existing libgstnet in gst-plugins-base. Solution is
2601 probably to rename the one in plugins-base; will file a bug for
2604 * gst/net/gstnettimeprovider.c:
2605 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2606 get_time call over the network.
2609 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2611 * check/Makefile.am:
2612 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2613 get additions shortly.
2615 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2617 * gst/gstpad.c: (gst_pad_new_from_static_template):
2619 add gst_pad_new_from_static_template functions
2620 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2621 (gst_check_setup_sink_pad):
2622 * gst/elements/gsttee.c: (gst_tee_init):
2625 2005-11-16 Wim Taymans <wim@fluendo.com>
2627 * gst/gstpad.c: (gst_pad_pause_task):
2628 Removed warning, it's not really an error either.
2630 2005-11-16 Wim Taymans <wim@fluendo.com>
2632 * gst/base/gstbasetransform.c:
2633 (gst_base_transform_prepare_output_buf),
2634 (gst_base_transform_event):
2635 Check if the caps are NULL, this can happen if the element
2636 is shutting down and the pad caps are set to NULL.
2638 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2640 * gst/elements/gsttee.c: (gst_tee_init):
2641 fix pad template leak in tee
2643 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2645 * gst/glib-compat.c: (g_value_dup_gst_object):
2646 * gst/glib-compat.h:
2647 * gst/gstpad.c: (gst_pad_set_property):
2648 use gst_object_ref when setting the pad template; this will
2649 trigger the pad template leaks on GLib 2.6 and the slaves
2651 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2653 * gst/glib-compat.c: (gst_flags_get_first_value):
2654 * gst/glib-compat.h:
2655 * gst/gstregistryxml.c:
2656 remove functions copied from GLib 2.6
2658 2005-11-16 Michael Smith <msmith@fluendo.com>
2661 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2662 do, but only breaks with newer valgrind versions. We're not a
2663 valgrind tool, we have no link-time dependencies on libcoregrind.
2665 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2667 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2672 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2674 * gst/base/gstbasesrc.c: (gst_base_src_init):
2675 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2676 * gst/gstqueue.c: (gst_queue_init):
2677 * gst/gstregistryxml.c: (load_feature):
2678 Revert all these unrefs, they don't even pass make check !
2680 2005-11-15 Johan Dahlin <johan@gnome.org>
2682 * gst/base/gstbasesrc.c: (gst_base_src_init):
2683 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2684 * gst/gstqueue.c: (gst_queue_init):
2685 Free pad templates, fixes a couple of leaks.
2687 2005-11-15 Daniel Fischer <dan at f3c dot com>
2689 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2691 * gst/gstpad.c: (gst_pad_get_property):
2692 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2693 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2696 2005-11-15 Wim Taymans <wim@fluendo.com>
2701 2005-11-15 Andy Wingo <wingo@pobox.com>
2703 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2705 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2706 using GST_CLOCK_TIME_NONE to disable base time management.
2707 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2708 time if it was NONE before.
2709 (gst_pipeline_change_state): Only munge the base time if
2710 stream_time != GST_CLOCK_TIME_NONE.
2712 * check/gst/gstpipeline.c (test_base_time): Punt around the
2713 problem of the probe not being called, because that's not the
2714 issue I'm looking at. Add a check that setting stream_time to NONE
2715 disables base time management.
2717 2005-11-15 Wim Taymans <wim@fluendo.com>
2719 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2720 segment_stop == -1 at startup.
2722 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2723 (gst_base_transform_change_state):
2724 Init segment values at start.
2726 2005-11-15 Wim Taymans <wim@fluendo.com>
2728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2729 0 segment values are 0 in any format.
2731 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2732 * gst/base/gstbasetransform.h:
2733 Parse newsegment correctly in basetransform
2735 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2736 Sync to clock using updated segment values.
2738 2005-11-15 Andy Wingo <wingo@pobox.com>
2740 * check/gst/gstpipeline.c (test_base_time): Add check that the
2741 base time and stream time are reset correctly.
2743 2005-11-15 Wim Taymans <wim@fluendo.com>
2745 * docs/design/part-TODO.txt:
2746 Some more TODO items.
2748 2005-11-15 Andy Wingo <wingo@pobox.com>
2750 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2751 error if the user selected "no clock" as the clocking method.
2753 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2754 timestamps with live capture.
2756 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2757 is 0 but we are a live source, timestamp the buffers using the
2760 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2762 * docs/gst/gstreamer-sections.txt:
2764 * gst/gstghostpad.c:
2769 2005-11-14 Wim Taymans <wim@fluendo.com>
2772 add suppressions from Wim's Debian machine
2774 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2777 add suppressions from Andy's AMD64 Ubuntu machine
2779 2005-11-14 Andy Wingo <wingo@pobox.com>
2781 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2782 STATE_LOCK not necessary. Fixes #311489.
2784 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2787 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2788 this function is not implemented.
2790 2005-11-14 Julien MOUTTE <julien@moutte.net>
2792 * gst/base/gstbasetransform.c:
2793 (gst_base_transform_prepare_output_buf):
2794 Ref the source pad caps while we need them.
2797 2005-11-11 Wim Taymans <wim@fluendo.com>
2799 * docs/gst/gstreamer-sections.txt:
2800 Added some docs for GstCollectData.
2802 * gst/base/gstadapter.c:
2803 Some small code example fix.
2805 * gst/base/gstcollectpads.c:
2806 * gst/base/gstcollectpads.h:
2809 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2811 * configure.ac: back to HEAD
2813 === release 0.9.5 ===
2815 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2818 releasing 0.9.5, "Bike Lunch Day"
2820 2005-11-11 Wim Taymans <wim@fluendo.com>
2822 * gst/gstbuffer.c: (_gst_buffer_copy):
2825 * gst/gstcaps.c: (gst_caps_is_equal):
2827 Make _is_equal fast in the trivial cases.
2829 * gst/gstminiobject.c:
2830 * gst/gstminiobject.h:
2831 More docs. Spifify .h file.
2836 2005-11-11 Wim Taymans <wim@fluendo.com>
2838 * gst/base/gstbasetransform.c:
2839 (gst_base_transform_prepare_output_buf),
2840 (gst_base_transform_handle_buffer):
2842 If we're processing a buffer and need to allocate an output
2843 buffer, we cannot accept a format change. If we did get a
2844 format change, we have to alloc a buffer ourselves of the
2847 2005-11-11 Wim Taymans <wim@fluendo.com>
2849 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2850 While checking the flag for reentrancy in the gstcaps function
2851 is nice to detect recursive invocations, it also makes it
2852 impossible to call getcaps from multiple threads, which must be
2853 possible. So, checking for recursive calls has to go.
2855 2005-11-11 Michael Smith <msmith@fluendo.com>
2857 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2858 Don't sync on buffers that fall partially outside our current
2859 segment. Prevents an assertion failure/abort playing some files.
2861 2005-11-10 Andy Wingo <wingo@pobox.com>
2863 * check/gst/gstbin.c (test_message_state_changed_children): Style
2866 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2867 gst_bus_poll with the signal watch. Ensures that poll and a signal
2868 watch see the same messages.
2870 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2871 a poll and a watch at the same time get the same messages.
2873 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2875 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2876 * gst/gstcaps.c: (gst_caps_intersect):
2877 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2878 and it's not needed.
2880 2005-11-10 Wim Taymans <wim@fluendo.com>
2882 * docs/design/part-TODO.txt:
2885 2005-11-10 Wim Taymans <wim@fluendo.com>
2887 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2888 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2889 (gst_base_src_do_sync), (gst_base_src_get_range):
2890 Implement clock sync in base class.
2892 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2894 patch by: Tim-Philipp Müller <tim at centricular dot net>
2896 * gst/gststructure.c: (gst_structure_parse_field),
2897 (gst_structure_from_string):
2898 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2899 so that gst_parse_launch() can deal with spaces in filtered link
2900 caps (fixes #164479)
2901 * check/gst/capslist.h:
2902 * check/gst/gststructure.c: (GST_START_TEST):
2903 add unit tests for this change
2905 2005-11-10 Wim Taymans <wim@fluendo.com>
2907 * docs/gst/gstreamer-sections.txt:
2910 Fix docs, move some STATE macros to private.
2912 2005-11-10 Wim Taymans <wim@fluendo.com>
2914 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2915 Added check for bug #317341
2919 Some more spiffifying.
2921 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2922 Call peer linkfunction if we are a source pad. Totally fixes
2926 Update docs, source pads should call the peer linkfunction
2927 so they can atomically perform the pad link.
2929 2005-11-09 Wim Taymans <wim@fluendo.com>
2933 Uber-spiffy-spiffify some more.
2935 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2937 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2938 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2939 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2940 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2941 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2942 * gst/gstpad.c: (gst_pad_init):
2943 Use GST_DEBUG_FUNCPTR() more extensively.
2945 2005-11-09 Wim Taymans <wim@fluendo.com>
2947 * gst/gstobject.c: (gst_object_class_init):
2949 Documentation fixes.
2951 2005-11-09 Edward Hervey <edward@fluendo.com>
2953 * gst/gsttypefindfactory.c:
2956 2005-11-09 Edward Hervey <edward@fluendo.com>
2958 * gst/base/gsttypefindhelper.c:
2959 * gst/gsttypefind.c:
2960 * gst/gsttypefind.h:
2963 2005-11-09 Wim Taymans <wim@fluendo.com>
2965 * gst/gstiterator.c:
2972 2005-11-09 Wim Taymans <wim@fluendo.com>
2978 2005-11-09 Wim Taymans <wim@fluendo.com>
2980 * docs/gst/gstreamer-sections.txt:
2981 Moved the message async delivery private lock and cond
2982 to the private section.
2988 2005-11-09 Edward Hervey <edward@fluendo.com>
2990 * docs/gst/gstreamer-sections.txt:
2993 Document GstURIHandler
2995 2005-11-09 Wim Taymans <wim@fluendo.com>
2997 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2998 (gst_iterator_find_custom):
2999 * gst/gstiterator.h:
3002 2005-11-09 Wim Taymans <wim@fluendo.com>
3005 Document another field.
3007 * gst/gststructure.c:
3008 * gst/gststructure.h:
3011 2005-11-09 Wim Taymans <wim@fluendo.com>
3016 2005-11-09 Wim Taymans <wim@fluendo.com>
3018 * docs/gst/gstreamer-sections.txt:
3019 Added some new macros.
3026 2005-11-09 Wim Taymans <wim@fluendo.com>
3028 * docs/design/part-TODO.txt:
3029 Some more items for the TODO
3035 2005-11-09 Andy Wingo <wingo@pobox.com>
3037 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3038 to work on something else now tho...
3040 * gst/base/gstadapter.c: More adapter docs.
3042 * gst/elements/gstfilesink.c (gst_file_sink_start)
3043 (gst_file_sink_stop): New functions, replace the state change
3045 (gst_file_sink_class_init): Hook up the start and stop functions.
3046 (gst_file_sink_base_init): Don't set the state change handler any
3047 more. It was a bit ugly too, being set from here...
3048 (gst_file_sink_get_property, gst_file_sink_set_property):
3050 (gst_file_sink_set_location): More robust check that doesn't call
3053 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3055 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3056 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3058 2005-11-08 Wim Taymans <wim@fluendo.com>
3060 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3061 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3062 (gst_base_sink_chain), (gst_base_sink_change_state):
3063 * gst/base/gstbasesink.h:
3064 * gst/base/gstbasesrc.h:
3067 Avoid excessive typechecking in macros.
3069 * gst/gstminiobject.c: (gst_mini_object_get_type),
3070 (gst_mini_object_init), (gst_mini_object_new),
3071 (gst_mini_object_free):
3072 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3073 (gst_object_finalize):
3074 Remove cruft code, optimize alloc_trace.
3076 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3078 * docs/faq/gst-uninstalled:
3079 fix up PS1 for systems that try to reset it
3081 2005-11-07 Wim Taymans <wim@fluendo.com>
3083 * gst/base/gstbasesrc.c: (gst_base_src_init),
3084 (gst_base_src_get_range):
3085 Set the segment_end to -1 initially. Fixed typefind.
3087 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3089 * gst/base/gstadapter.c:
3090 Debug category should be 'adapter', not 'GstAdapter'.
3092 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3093 (gst_collectpads_class_init), (gst_collectpads_init),
3094 (gst_collectpads_peek), (gst_collectpads_pop),
3095 (gst_collectpads_event), (gst_collectpads_chain):
3096 Add debug category and some debugging output. Use boilerplate
3097 macros. Remove some extraneous words from docs.
3099 2005-11-05 Andy Wingo <wingo@pobox.com>
3101 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3104 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3106 * docs/gst/gstreamer-sections.txt:
3109 * gst/gstminiobject.h:
3114 2005-11-04 Wim Taymans <wim@fluendo.com>
3116 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3117 Small update to stop at the configured segment_end
3120 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3122 * gst/gstregistry.c:
3123 * gst/gstregistry.h:
3126 2005-11-04 Edward Hervey <edward@fluendo.com>
3128 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3129 Check if we are doing a segment seek and have arrived at the
3130 end of that segment.
3132 2005-11-04 Wim Taymans <wim@fluendo.com>
3134 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3135 Don't leak a mutex unlock in case of an error.
3140 2005-11-04 Wim Taymans <wim@fluendo.com>
3142 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3144 Get the context to wake up only once.
3146 2005-11-03 Wim Taymans <wim@fluendo.com>
3148 * check/states/sinks.c: (GST_START_TEST):
3149 Uncomment fixed check.
3151 * docs/design/part-TODO.txt:
3154 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3155 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3156 (gst_base_sink_get_position):
3157 If we are going to PLAYING, post the right pending state
3158 when we post the intermediate paused message.
3160 * gst/gstelement.c: (gst_element_continue_state),
3161 (gst_element_set_state_func), (gst_element_change_state):
3162 Don't post state changes that were between the same state
3165 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3167 * docs/gst/gstreamer-sections.txt:
3170 * gst/gstminiobject.h:
3173 more docs and doc style fixes
3175 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3177 * docs/gst/gstreamer-sections.txt:
3179 * gst/gstminiobject.c:
3182 2005-11-03 Andy Wingo <wingo@pobox.com>
3184 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3185 state-changed messages actually have the right order and the right
3188 2005-11-03 Wim Taymans <wim@fluendo.com>
3190 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3191 Added some more checks. Specifically the case where NO_PREROLL
3192 elements are in the pipeline.
3194 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3195 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3196 (gst_base_sink_get_position):
3197 Post READY->PAUSED state change messages too.
3198 Fix bug where VOID was posted as pending state...
3200 * gst/gstbin.c: (gst_bin_recalc_state):
3201 use _element_continue_state() to continue the state change.
3203 * gst/gstelement.c: (gst_element_continue_state),
3204 (gst_element_commit_state), (gst_element_set_state_func),
3205 (gst_element_change_state), (gst_element_change_state_func):
3206 Lots of state change cleanups, assign the STATE_RETURN in
3207 a new continue_state() function that also propagates the
3208 last return value from a state change to the app.
3209 Update some debug statements with proper category.
3211 2005-11-03 Wim Taymans <wim@fluendo.com>
3213 * docs/design/part-events.txt:
3214 * docs/design/part-gstpipeline.txt:
3215 * docs/design/part-messages.txt:
3216 * docs/design/part-overview.txt:
3217 * docs/design/part-seeking.txt:
3218 * docs/design/part-states.txt:
3219 * docs/design/part-trickmodes.txt:
3220 * docs/manual/advanced-position.xml:
3224 People think !! is ugly, this looks better.
3226 * gst/gstpad.c: (gst_pad_set_blocked_async):
3227 Remove !! since it's fixed elsewhere now.
3229 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3231 * gst/gstminiobject.h:
3233 Add !! to _FLAG_IS_SET macros to make the result boolean.
3235 2005-11-03 Edward Hervey <edward@fluendo.com>
3237 * gst/gstpad.c: (gst_pad_set_blocked_async):
3238 comparing a flag and a gboolean rarely returns coherent results...
3239 Added two characters (!!) to make that work correctly.
3241 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3243 * gst/gstbus.c: (gst_bus_class_init):
3246 * gst/gstqueue.c: (gst_queue_loop):
3247 Don't assume a miniobject that isn't a buffer is an
3248 event (it could be that there is a refcounting
3249 problem somewhere and the pointer is stale and
3250 refers to an already destroyed miniobject).
3252 2005-11-03 Julien MOUTTE <julien@moutte.net>
3254 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3256 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3258 * docs/manual/advanced-position.xml:
3259 Update seek example and explanations to current 0.9 API.
3261 * gst/elements/gsttypefindelement.c:
3262 (gst_type_find_element_activate):
3263 Remove FIXME comment now that the found caps
3266 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3268 * gst/gstregistryxml.c: (load_feature):
3269 Add another GST_STR_NULL instance
3271 2005-11-02 Edward Hervey <edward@fluendo.com>
3273 * gst/gstpad.c: (handle_pad_block):
3274 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3276 2005-11-02 Wim Taymans <wim@fluendo.com>
3281 * gst/gstelement.c: (gst_element_commit_state):
3282 Remove unused value.
3284 * gst/gstiterator.c:
3285 Mention that the returned element is reffed in the docs.
3287 2005-11-02 Wim Taymans <wim@fluendo.com>
3289 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3290 (gst_pad_push), (gst_pad_push_event):
3291 Unlock blocked pads when they are flushed.
3293 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3296 * docs/gst/gstreamer-sections.txt:
3299 * gst/gstregistry.c: (gst_registry_scan_path_level):
3300 fix for a nasty little missed situation where an installed plug-in
3301 which was in the cache did not get overridden by an uninstalled one
3302 which was earlier in the plugin path because the newly created plugin
3303 for the uninstalled one (not in the registry) didn't get its
3304 ->registered set to TRUE
3306 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3308 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3309 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3310 (gst_collectpads_is_active), (gst_collectpads_collect),
3311 (gst_collectpads_collect_range), (gst_collectpads_start),
3312 (gst_collectpads_stop), (gst_collectpads_peek),
3313 (gst_collectpads_pop), (gst_collectpads_available),
3314 (gst_collectpads_read), (gst_collectpads_flush):
3315 Guard public API with assertions.
3318 Fix docs for gst_pad_set_link_function().
3320 2005-11-02 Johan Dahlin <johan@gnome.org>
3322 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3323 Unref found_caps after we used it.
3325 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3327 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3328 Don't try to ref NULL.
3330 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3332 * win32/common/config.h.in:
3333 provide a GST_FUNCTION that just gives a string for now
3335 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3337 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3338 (gst_object_flags_get_type), (register_gst_bin_flags),
3339 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3340 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3341 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3342 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3343 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3344 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3345 (gst_clock_flags_get_type), (register_gst_state),
3346 (gst_state_get_type), (register_gst_state_change_return),
3347 (gst_state_change_return_get_type), (register_gst_state_change),
3348 (gst_state_change_get_type), (register_gst_element_flags),
3349 (gst_element_flags_get_type), (register_gst_core_error),
3350 (gst_core_error_get_type), (register_gst_library_error),
3351 (gst_library_error_get_type), (register_gst_resource_error),
3352 (gst_resource_error_get_type), (register_gst_stream_error),
3353 (gst_stream_error_get_type), (register_gst_event_type),
3354 (gst_event_type_get_type), (register_gst_seek_type),
3355 (gst_seek_type_get_type), (register_gst_seek_flags),
3356 (gst_seek_flags_get_type), (register_gst_format),
3357 (gst_format_get_type), (register_gst_index_certainty),
3358 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3359 (gst_index_entry_type_get_type),
3360 (register_gst_index_lookup_method),
3361 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3362 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3363 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3364 (gst_index_flags_get_type), (register_gst_debug_level),
3365 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3366 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3367 (gst_iterator_result_get_type), (register_gst_iterator_item),
3368 (gst_iterator_item_get_type), (register_gst_message_type),
3369 (gst_message_type_get_type), (register_gst_mini_object_flags),
3370 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3371 (gst_pad_link_return_get_type), (register_gst_flow_return),
3372 (gst_flow_return_get_type), (register_gst_activate_mode),
3373 (gst_activate_mode_get_type), (register_gst_pad_direction),
3374 (gst_pad_direction_get_type), (register_gst_pad_flags),
3375 (gst_pad_flags_get_type), (register_gst_pad_presence),
3376 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3377 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3378 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3379 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3380 (gst_plugin_flags_get_type), (register_gst_rank),
3381 (gst_rank_get_type), (register_gst_query_type),
3382 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3383 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3384 (gst_tag_flag_get_type), (register_gst_task_state),
3385 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3386 (gst_alloc_trace_flags_get_type),
3387 (register_gst_type_find_probability),
3388 (gst_type_find_probability_get_type), (register_gst_uri_type),
3389 (gst_uri_type_get_type), (register_gst_parse_error),
3390 (gst_parse_error_get_type):
3391 * win32/common/gstversion.h:
3394 2005-11-01 Luca Ognibene <luogni@tin.it>
3397 fix docs. popt is dead, long live GOption.
3399 2005-10-31 Wim Taymans <wim@fluendo.com>
3404 2005-10-31 Andy Wingo <wingo@pobox.com>
3408 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3410 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3411 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3412 the possibility of deadlocks here if code calling notify() or
3413 set() has a lock that can be taken in another notify handler (ABBA
3414 with class lock and e.g. python GIL state lock).
3416 2005-10-28 Julien MOUTTE <julien@moutte.net>
3418 * gst/gstbus.c: Doc updates.
3420 2005-10-28 Wim Taymans <wim@fluendo.com>
3422 * docs/design/part-TODO.txt:
3423 * gst/gstiterator.c:
3424 * gst/gstsystemclock.c:
3425 * gst/gstsystemclock.h:
3428 2005-10-28 Edward Hervey <edward@fluendo.com>
3430 * docs/gst/gstreamer-docs.sgml:
3431 * docs/gst/gstreamer-sections.txt:
3432 the GstURIType documentation page is private, it only defines GstURIType
3433 which should be defined in the GstURIHandler page
3435 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3437 * gst/gstbin.c: (gst_bin_class_init):
3440 Documentation updates.
3442 2005-10-28 Wim Taymans <wim@fluendo.com>
3444 * docs/gst/gstreamer-sections.txt:
3447 Documented the clocks.
3449 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3451 * docs/gst/gstreamer-sections.txt:
3452 move some macros to private sections
3453 * gst/gstminiobject.c:
3454 * gst/gstminiobject.h:
3455 add descriptions provided by ds and some more
3457 mark macro as to be removed
3459 2005-10-28 Wim Taymans <wim@fluendo.com>
3461 * docs/design/part-TODO.txt:
3462 Add an item to TODO.
3464 * gst/gstiterator.c: (gst_iterator_fold),
3465 (gst_iterator_find_custom):
3466 * gst/gstiterator.h:
3469 2005-10-28 Wim Taymans <wim@fluendo.com>
3471 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3472 (gst_base_transform_init):
3475 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3476 An EOS event marks the queue as completely filled.
3478 2005-10-27 Wim Taymans <wim@fluendo.com>
3480 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3481 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3482 Some more debugging.
3484 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3485 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3486 (gst_base_transform_event), (gst_base_transform_getrange),
3487 (gst_base_transform_chain):
3488 * gst/base/gstbasetransform.h:
3490 Protect transform and concurrent buffer alloc with a new lock.
3491 Try not to break ABI/API.
3493 2005-10-27 Wim Taymans <wim@fluendo.com>
3495 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3496 (gst_base_src_init), (gst_base_src_query),
3497 (gst_base_src_default_newsegment),
3498 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3499 (gst_base_src_send_event), (gst_base_src_event_handler),
3500 (gst_base_src_pad_get_range), (gst_base_src_loop),
3501 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3502 (gst_base_src_start), (gst_base_src_deactivate),
3503 (gst_base_src_activate_push), (gst_base_src_change_state):
3504 Move some stuff around and cleanup things.
3506 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3508 * gst/base/gstbasesrc.c: (gst_base_src_query):
3509 Add missing break statements.
3511 2005-10-27 Wim Taymans <wim@fluendo.com>
3513 * check/gst/gstbin.c: (GST_START_TEST):
3514 An extra refcount is taken in basesrc.
3516 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3517 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3518 (gst_base_src_loop):
3519 Small cleanups, check for flushing after being unlocked from the
3520 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3521 Don't send out EOS when going to READY.
3523 2005-10-27 Wim Taymans <wim@fluendo.com>
3525 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3526 (gst_base_sink_get_position):
3529 * gst/gstbin.c: (message_check), (bin_replace_message),
3530 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3531 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3532 (bin_query_duration_init), (bin_query_duration_fold),
3533 (bin_query_duration_done), (bin_query_generic_fold),
3535 * tools/gst-launch.c: (main):
3538 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3540 * examples/controller/audio-example.c: (main):
3541 * examples/queue/queue.c: (event_loop):
3542 * gst/base/gstbasetransform.h:
3543 * gst/gstelement.c: (gst_element_send_event):
3545 * gst/gstpad.c: (gst_pad_send_event):
3548 changing log priority in error situations
3550 2005-10-25 Wim Taymans <wim@fluendo.com>
3552 * gst/gstbin.c: (message_check), (bin_replace_message),
3553 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3554 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3555 (bin_query_duration_init), (bin_query_duration_fold),
3556 (bin_query_duration_done), (bin_query_generic_fold),
3558 Some doc and debug updates.
3559 Cache previously requested query DURATION for speed. invalidate
3560 cached duration if element posts a DURATION message.
3562 2005-10-25 Wim Taymans <wim@fluendo.com>
3564 * docs/design/part-TODO.txt:
3567 * gst/gstbin.c: (message_check), (bin_replace_message),
3568 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3569 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3570 (bin_query_duration_init), (bin_query_duration_fold),
3571 (bin_query_duration_done), (bin_query_generic_fold),
3573 Handle SEGMENT_START/DONE messages correctly.
3574 More evolved query algorithm that handles duration queries
3577 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3578 (gst_element_get_state_func), (gst_element_abort_state),
3579 (gst_element_commit_state), (gst_element_lost_state):
3580 Some more debugging.
3585 2005-10-25 Wim Taymans <wim@fluendo.com>
3587 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3588 Don't use invalid stream_time.
3590 * gst/gstevent.c: (gst_event_new_newsegment):
3591 stream_time in newsegment cannot be undefined.
3593 2005-10-24 Wim Taymans <wim@fluendo.com>
3598 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3600 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3602 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3604 * docs/libs/tmpl/gstdparam.sgml:
3605 * docs/libs/tmpl/gstdplinint.sgml:
3606 * docs/libs/tmpl/gstdpman.sgml:
3607 * docs/libs/tmpl/gstdpsmooth.sgml:
3608 * docs/libs/tmpl/gstunitconvert.sgml:
3611 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3616 === release 0.9.4 ===
3618 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3621 releasing 0.9.4, "Tyrannosaurus Rex"
3623 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3625 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3626 (gst_file_sink_get_current_offset):
3627 Use fseeko() and ftello() if available. When falling back on
3628 lseek() to get the current offset, fflush() first to make sure
3629 everything is up-to-date and we get the right offset.
3631 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3633 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3634 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3635 * gst/gsterror.c: (_gst_stream_errors_init):
3637 * gst/gstqueue.c: (gst_queue_loop):
3639 remove prematurely added error category and clean up the instances
3641 2005-10-21 Wim Taymans <wim@fluendo.com>
3643 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3644 (gst_base_sink_get_position), (gst_base_sink_query),
3645 (gst_base_sink_change_state):
3646 Simply set the right flag when going to playing, that's all
3647 we need to do instead of calling a function inside the object
3648 lock (that could take the lock as well and deadlock)
3650 2005-10-21 Wim Taymans <wim@fluendo.com>
3652 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3653 (gst_base_src_loop):
3654 Don't warn, the peer element knows what to do best when
3655 the seek failed, it might try something else.
3657 2005-10-21 Wim Taymans <wim@fluendo.com>
3659 * gst/base/gstbasesrc.c: (gst_base_src_init),
3660 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3663 2005-10-21 Wim Taymans <wim@fluendo.com>
3665 * docs/design/part-segments.txt:
3668 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3669 Correctly set caps, even on the subbufer.
3671 2005-10-21 Wim Taymans <wim@fluendo.com>
3673 * docs/gst/gstreamer-docs.sgml:
3674 * docs/gst/gstreamer-sections.txt:
3681 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3685 And 2% more doc coverage.
3687 2005-10-21 Andy Wingo <wingo@pobox.com>
3689 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3692 2005-10-20 Wim Taymans <wim@fluendo.com>
3694 * gst/gsterror.c: (gst_error_get_message):
3697 * gst/gststructure.c:
3702 2005-10-20 Wim Taymans <wim@fluendo.com>
3707 Another 1% more coverage.
3709 2005-10-20 Wim Taymans <wim@fluendo.com>
3711 * docs/gst/gstreamer-sections.txt:
3712 * gst/gstelement.c: (gst_element_get_state_func),
3713 (gst_element_abort_state), (gst_element_commit_state),
3714 (gst_element_lost_state):
3716 * gst/gstquery.c: (gst_query_set_position),
3717 (gst_query_parse_position), (gst_query_set_duration),
3718 (gst_query_parse_duration), (gst_query_new_convert):
3720 Yay! 1% more docs coverage.
3722 2005-10-20 Wim Taymans <wim@fluendo.com>
3725 * gst/gstquery.c: (gst_query_set_position),
3726 (gst_query_parse_position), (gst_query_set_duration),
3727 (gst_query_parse_duration), (gst_query_new_convert):
3729 * gst/gstutils.c: (gst_element_query_convert):
3731 Docs and consistency fixes.
3733 2005-10-20 Wim Taymans <wim@fluendo.com>
3739 2005-10-20 Wim Taymans <wim@fluendo.com>
3741 * gst/gstbin.c: (message_check), (bin_replace_message),
3742 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3743 (update_degree), (gst_bin_sort_iterator_next),
3744 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3745 Reworked the message handling a bit, cache the messages instead of
3746 only the senders. alows us to do more in the future.
3748 2005-10-20 Wim Taymans <wim@fluendo.com>
3750 * docs/design/part-TODO.txt:
3753 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3754 (gst_base_sink_query):
3755 Don't use clock time to report position when in EOS.
3757 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3759 * tools/gst-inspect.c: (print_interfaces),
3760 (print_element_properties_info), (print_element_info):
3761 Fix interface output with gst-inspect -a; don't print
3762 newlines after double/float properties.
3764 2005-10-20 Wim Taymans <wim@fluendo.com>
3766 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3767 (gst_base_sink_query):
3768 Speed up current position calculation.
3770 * gst/base/gstbasesrc.c: (gst_base_src_query),
3771 (gst_base_src_default_newsegment):
3772 Correctly set stream position in newsegment.
3774 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3775 (update_degree), (gst_bin_sort_iterator_next),
3776 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3777 * gst/gstmessage.c: (gst_message_new_custom):
3778 Clean up debugging info
3780 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3781 (gst_queue_loop), (gst_queue_handle_src_query):
3784 2005-10-19 Wim Taymans <wim@fluendo.com>
3786 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3787 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3788 Fix query handling again.
3790 2005-10-19 Wim Taymans <wim@fluendo.com>
3792 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3793 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3794 * gst/base/gstbasesrc.c: (gst_base_src_query):
3795 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3796 * gst/elements/gsttypefindelement.c:
3797 (gst_type_find_handle_src_query), (find_element_get_length),
3798 (gst_type_find_element_activate):
3801 * gst/gstquery.c: (gst_query_new_position),
3802 (gst_query_set_position), (gst_query_parse_position),
3803 (gst_query_new_duration), (gst_query_set_duration),
3804 (gst_query_parse_duration), (gst_query_set_segment),
3805 (gst_query_parse_segment):
3807 Bundling query position/duration is not a good idea since duration
3808 does not change much and we don't want to recalculate it for every
3809 position query, so they are separated again..
3810 Base value in segment query is not needed.
3812 * gst/gstqueue.c: (gst_queue_handle_src_query):
3813 * gst/gstutils.c: (gst_element_query_position),
3814 (gst_element_query_duration), (gst_pad_query_position),
3815 (gst_pad_query_duration):
3817 Updates for query API change.
3818 Added some docs here and there.
3820 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3822 * check/gst/gstbin.c: (GST_START_TEST):
3823 * check/gst/gstghostpad.c: (GST_START_TEST):
3824 * check/pipelines/cleanup.c: (GST_START_TEST):
3825 wait on thread to die so we can check refcount correctly
3827 2005-10-18 Wim Taymans <wim@fluendo.com>
3829 * check/pipelines/stress.c: (GST_START_TEST):
3830 Make check a little more time consuming.
3832 2005-10-18 Wim Taymans <wim@fluendo.com>
3834 * check/Makefile.am:
3835 * check/pipelines/stress.c: (GST_START_TEST),
3836 (simple_launch_lines_suite), (main):
3837 Small state change torture test.
3839 * docs/design/part-states.txt:
3840 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3841 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3842 (gst_base_sink_change_state):
3843 Never take state lock from streaming thread, clean up ugly
3844 hacks. Unfortunatly core does not yet support nice ways to
3847 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3849 Start state recalc if a STATE_DIRTY message is posted, but only
3850 on the toplevel bin.
3852 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3853 (gst_element_get_state_func), (gst_element_abort_state),
3854 (gst_element_commit_state), (gst_element_lost_state),
3855 (gst_element_set_state_func), (gst_element_change_state):
3857 State variables are now protected with the LOCK, the state
3858 lock is only used to serialize _set_state().
3860 2005-10-18 Wim Taymans <wim@fluendo.com>
3862 * check/gst/gstbin.c: (GST_START_TEST):
3863 * check/gst/gstmessage.c: (GST_START_TEST):
3864 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3865 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3867 * gst/gstelement.c: (gst_element_abort_state),
3868 (gst_element_commit_state), (gst_element_lost_state):
3869 * gst/gstmessage.c: (gst_message_new_state_changed),
3870 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3871 (gst_message_new_segment_done), (gst_message_new_duration),
3872 (gst_message_parse_state_changed),
3873 (gst_message_parse_segment_start),
3874 (gst_message_parse_segment_done), (gst_message_parse_duration):
3876 * tools/gst-launch.c: (event_loop):
3877 Seriously, this is better than a previous commit as we only need
3878 to notify the fact that an element changed state in a streaming
3879 thread, marking the state of the parents dirty, hence the
3880 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3883 2005-10-18 Wim Taymans <wim@fluendo.com>
3885 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3886 (gst_bin_recalc_func):
3887 * gst/gstelement.c: (gst_element_set_clock),
3888 (gst_element_abort_state), (gst_element_lost_state):
3889 Cleanups, prepare for state change fixes.
3891 2005-10-18 Wim Taymans <wim@fluendo.com>
3894 * gst/gstelement.c: (gst_element_class_init),
3895 (gst_element_set_state), (gst_element_set_state_func):
3897 Pending ABI changes.
3898 GThreadPool in GstBinClass to monitor async state changes.
3899 state_cookie in GstElement to detect concurrent gst/set state.
3900 set_state is now virtual too in case a very complicated element
3901 has to be constructed.
3903 2005-10-18 Wim Taymans <wim@fluendo.com>
3905 * check/gst/gstbin.c: (GST_START_TEST):
3906 * check/gst/gstmessage.c: (GST_START_TEST):
3907 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3908 * gst/gstbin.c: (bin_bus_handler):
3909 * gst/gstelement.c: (gst_element_commit_state),
3910 (gst_element_lost_state):
3911 * gst/gstmessage.c: (gst_message_new_state_changed),
3912 (gst_message_new_segment_start), (gst_message_new_segment_done),
3913 (gst_message_new_duration), (gst_message_parse_state_changed),
3914 (gst_message_parse_segment_start),
3915 (gst_message_parse_segment_done), (gst_message_parse_duration):
3917 * tools/gst-launch.c: (event_loop):
3918 Make messages future proof.
3919 state-change gets a flag if it was a message comming from the
3921 segment-start/stop can also be specified in other formats.
3922 A message to notify an app that a pipeline changed playback
3924 Also fix a GstMessage leak in -launch
3926 2005-10-18 Andy Wingo <wingo@pobox.com>
3928 * gst/gstelement.c (gst_element_dispose): More helpful message.
3930 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3932 reviewed by: <delete if not using a buddy>
3934 * common/gtk-doc.mak:
3936 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3938 * gst/gstregistry.c: (gst_registry_scan_path_level):
3939 unref a plug-in we get that was already initialized
3941 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3943 * docs/gst/gstreamer-sections.txt:
3944 * docs/libs/gstreamer-libs-sections.txt:
3949 2005-10-17 Andy Wingo <wingo@pobox.com>
3951 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3954 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3956 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3958 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3959 (gst_element_get_state_func): Better debug message.
3960 (gst_element_commit_state): s/INFO/DEBUG/.
3961 (gst_element_lost_state, gst_element_change_state):
3963 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3964 (gst_message_new_custom): s/INFO/LOG/.
3966 2005-10-17 Michael Smith <msmith@fluendo.com>
3968 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3969 Check if end time is valid using end time, not start time.
3971 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3973 * check/gst-libs/controller.c: (GST_START_TEST),
3974 (gst_controller_suite):
3975 * libs/gst/controller/gstcontroller.c:
3976 (gst_controlled_property_set_interpolation_mode):
3977 * libs/gst/controller/gstcontroller.h:
3978 * libs/gst/controller/gstinterpolation.c:
3979 * testsuite/controller/.cvsignore:
3980 * testsuite/controller/Makefile.am:
3981 * testsuite/controller/interpolator.c:
3982 merge controller testsuites
3984 remove mem-chunk from docs
3986 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3988 * gst/gstmemchunk.c:
3989 * gst/gstmemchunk.h:
3990 * gst/gsttrashstack.c:
3991 * gst/gsttrashstack.h:
3992 out. get out. you're fired. to the Attic !
3994 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3996 * gst/gstcaps.c: (gst_caps_intersect):
3997 fix signedness issues in a (hopefully) correct way
3998 * gst/gstelement.c: (gst_element_pads_activate):
4000 * gst/gstobject.c: (gst_object_set_parent):
4003 2005-10-17 Julien MOUTTE <julien@moutte.net>
4005 * gst/gstvalue.h: Fix prototypes.
4007 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4009 * docs/gst/gstreamer-sections.txt:
4010 * gst/gst.c: (gst_version_string):
4012 * gst/gstversion.h.in:
4013 * win32/common/libgstreamer.def:
4014 add gst_version_string ()
4016 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4020 * gst/gst.c: (init_post):
4021 * win32/common/config.h.in:
4023 * gst/gstcaps.c: (gst_caps_intersect):
4024 use gint64, the range could be bigger than a guint
4026 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4029 document potential problem in 2038
4031 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4033 * gst/gstcaps.c: (gst_caps_intersect):
4034 Fix guint j diving under 0
4036 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4039 * win32/common/config.h:
4040 * win32/common/config.h.in:
4041 check for process.h, declares getpid() on Windows
4043 include process.h if we have it
4044 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4045 * gst/gstmemchunk.h:
4046 fix signedness issues
4047 * win32/common/libgstreamer.def:
4050 2005-10-16 Julien MOUTTE <julien@moutte.net>
4052 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4053 fix. Because of unsigned ints, caps intersection was going nuts and
4054 trying to access structures with G_MAXUINT index. That fixes
4055 videotestsrc ! ffmpegcolorspace ! fakesink
4056 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4059 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4062 use the gettext macro
4063 * gst/elements/gstelements.c:
4065 * gst/indexers/gstindexers.c:
4066 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4067 * win32/common/config.h:
4069 * win32/common/config.h.in:
4070 add the template to generate config.h
4071 * win32/common/gstenumtypes.c:
4072 * win32/common/gstversion.h:
4075 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4077 * gst/gst.c: (gst_version):
4078 * gst/gstversion.h.in:
4081 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4084 Oops, add missing closing bracket.
4086 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4089 use common m4's for argument checking
4091 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4093 * docs/gst/gstreamer-sections.txt:
4095 Add GST_EVENT_TYPE_NAME() macro.
4097 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4100 * gst/gstpluginfeature.c:
4102 privatize more symbols
4104 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4107 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4108 everything that uses GStreamer API should have the includes
4110 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4112 * docs/gst/gstreamer-sections.txt:
4113 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4115 give each value a _get_type, removes the DATA exports
4117 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4121 remove _gst_registry_auto_load, not used anymore
4122 * gst/gstbin.c: (gst_bin_get_type):
4124 * gst/gstelement.c: (gst_element_get_type):
4126 * gst/gstobject.c: (gst_object_get_type):
4128 * gst/gstpad.c: (gst_pad_get_type):
4130 make _get_type functions similar, fixes data export from library
4132 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4135 correctly make conditionals
4136 * gst/elements/Makefile.am:
4137 * gst/elements/gstelements.c:
4138 fix typo causing fdsrc not to build
4140 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4142 * testsuite/Makefile.am:
4143 * testsuite/bytestream/.cvsignore:
4144 * testsuite/bytestream/Makefile.am:
4145 * testsuite/bytestream/filepadsink.c:
4146 * testsuite/bytestream/gstbstest.c:
4147 * testsuite/bytestream/test1.c:
4148 * testsuite/bytestream/testfile1:
4149 * testsuite/caps/normalisation.c:
4150 * testsuite/caps/random.c: (main):
4151 * testsuite/cleanup/.cvsignore:
4152 * testsuite/cleanup/Makefile.am:
4153 * testsuite/cleanup/cleanup1.c:
4154 * testsuite/cleanup/cleanup2.c:
4155 * testsuite/cleanup/cleanup3.c:
4156 * testsuite/cleanup/cleanup4.c:
4157 * testsuite/cleanup/cleanup5.c:
4158 * testsuite/controller/interpolator.c:
4159 * testsuite/debug/printf_extension.c: (main):
4160 * testsuite/elements/tee.c:
4161 * testsuite/negotiation/.cvsignore:
4162 * testsuite/negotiation/Makefile.am:
4163 * testsuite/negotiation/pad_link.c:
4164 * testsuite/pad/Makefile.am:
4165 * testsuite/pad/chainnopull.c:
4166 * testsuite/pad/getnopush.c:
4167 * testsuite/pad/link.c:
4168 * testsuite/refcounting/sched.c: (create_pipeline):
4169 * testsuite/registry/Makefile.am:
4170 * testsuite/registry/gst-print-formats.c:
4171 * testsuite/schedulers/.cvsignore:
4172 * testsuite/schedulers/142183-2.c:
4173 * testsuite/schedulers/142183.c:
4174 * testsuite/schedulers/143777-2.c:
4175 * testsuite/schedulers/143777.c:
4176 * testsuite/schedulers/147713.c:
4177 * testsuite/schedulers/147819.c:
4178 * testsuite/schedulers/147894-2.c:
4179 * testsuite/schedulers/147894.c:
4180 * testsuite/schedulers/Makefile.am:
4181 * testsuite/schedulers/group_link.c:
4182 * testsuite/schedulers/queue_link.c:
4183 * testsuite/schedulers/relink.c:
4184 * testsuite/schedulers/unlink.c:
4185 * testsuite/schedulers/unref.c:
4186 * testsuite/schedulers/useless_iteration.c:
4187 * testsuite/states/bin.c:
4188 clean out/remove some stuff from the testsuite directories
4190 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4193 check for some headers
4194 * gst/elements/Makefile.am:
4195 * gst/elements/gstelements.c:
4196 don't compile fdsrc without sys/socket.h
4197 * gst/indexers/Makefile.am:
4198 * gst/indexers/gstindexers.c: (plugin_init):
4199 don't compile fileindex without mmap
4201 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4208 * check/Makefile.am:
4209 * docs/gst/Makefile.am:
4210 * examples/helloworld/Makefile.am:
4212 * gst/base/Makefile.am:
4213 * gst/check/Makefile.am:
4214 * gst/elements/Makefile.am:
4215 * gst/indexers/Makefile.am:
4216 * gst/parse/Makefile.am:
4217 * libs/gst/controller/Makefile.am:
4218 * libs/gst/dataprotocol/Makefile.am:
4219 * examples/helloworld/helloworld.c: (event_loop):
4220 compile fixes, though it's not being compiled currently
4222 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4224 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4225 Add some simple tests for the new taglist date API.
4227 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4229 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4230 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4231 Beautify 'last-message' output: print 'none' for buffer timestamps
4232 and durations if none is set; improve alignment with next messages.
4234 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4236 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4237 * gst/gstpluginfeature.h:
4238 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4239 * gst/gstregistry.h:
4240 * docs/gst/gstreamer-sections.txt:
4241 Add new API to check plugin feature version requirements.
4243 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4244 Some basic tests for the above.
4246 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4248 * gst/gststructure.c: (gst_structure_to_string):
4249 guard against NULL printf - happens when for example
4250 a message structure with GstClock gets serialized
4252 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4254 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4255 Fix presumable copy'n'pasto.
4257 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4259 * gst/elements/gstfakesrc.h:
4260 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4261 * gst/elements/gsttypefindelement.c:
4263 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4264 I wonder if this could actually write +2GB files before
4266 2005-10-13 Andy Wingo <wingo@pobox.com>
4268 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4269 Fix Timmeke Waymans bug.
4270 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4271 string of the proper length to gst_caps_from_string. There's a
4272 potential for, before this fix, that this could cause someone
4273 connecting over the network to cause a segfault if the payload is
4276 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4278 * docs/design/draft-push-pull.txt:
4279 * docs/design/part-overview.txt:
4280 * docs/random/TODO-pre-0.9:
4281 * docs/random/old/ChangeLog.gstreamer:
4282 * gst/base/gstpushsrc.c:
4286 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4288 * gst/glib-compat.c: (gst_flags_get_first_value):
4289 * gst/glib-compat.h:
4290 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4291 (gst_value_compare_double), (gst_value_serialize_flags):
4292 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4295 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4298 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4300 * tools/gst-launch.c: (event_loop):
4301 print out clock nicely
4303 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4305 * docs/gst/gstreamer-sections.txt:
4307 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4308 (gst_tag_list_get_date_index):
4309 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4310 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4312 2005-10-13 Julien MOUTTE <julien@moutte.net>
4314 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4315 (gst_collectpads_chain):
4316 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4319 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4321 * docs/gst/gstreamer-sections.txt:
4324 * tools/gst-inspect.c: (main):
4325 * tools/gst-launch.c: (main):
4326 * tools/gst-run.c: (main):
4327 * tools/gst-xmlinspect.c: (main):
4328 fix GOption context leaks
4331 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4335 * win32/common/config.h:
4337 * win32/vs6/grammar.dsp:
4338 * win32/vs6/libgstelements.dsp:
4339 * win32/vs6/libgstreamer.dsp:
4342 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4345 * gst/base/gstbasesrc.c: (gst_base_src_query):
4346 fix more guint64<->gdouble conversions
4348 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4351 add win32-update target
4352 * win32/common/gstconfig.h:
4353 * win32/common/gstenumtypes.c:
4354 * win32/common/gstenumtypes.h:
4355 * win32/common/gstversion.h:
4356 add files that visual studio can't generate
4358 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4361 add a win32-update target
4364 2005-10-12 Wim Taymans <wim@fluendo.com>
4366 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4367 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4368 * gst/gstelement.c: (gst_element_commit_state),
4369 (gst_element_set_state):
4370 Protect flags with proper lock.
4371 unref provided cached clock in dispose.
4373 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4376 * gst/gstminiobject.h:
4378 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4379 removed unused flags from miniobject
4382 2005-10-12 Wim Taymans <wim@fluendo.com>
4384 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4385 (gst_file_sink_event), (gst_file_sink_render):
4386 Flush before seeking.
4388 2005-10-12 Andy Wingo <wingo@pobox.com>
4390 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4391 always been the case.
4393 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4395 * check/gst/gstbin.c: (GST_START_TEST):
4396 * docs/gst/gstreamer-sections.txt:
4397 * gst/base/gstbasesink.c: (gst_base_sink_init):
4398 * gst/base/gstbasesrc.c: (gst_base_src_init),
4399 (gst_base_src_get_range), (gst_base_src_check_get_range),
4400 (gst_base_src_start), (gst_base_src_stop):
4401 * gst/base/gstbasesrc.h:
4402 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4403 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4404 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4408 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4410 * gst/gstelement.c: (gst_element_is_locked_state),
4411 (gst_element_set_locked_state), (gst_element_commit_state),
4412 (gst_element_set_state):
4414 * gst/gstindex.c: (gst_index_init):
4416 * gst/gstminiobject.h:
4417 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4418 (gst_object_set_parent):
4420 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4421 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4423 * gst/gstpadtemplate.h:
4424 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4425 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4426 * gst/gstpipeline.h:
4427 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4428 (gst_file_index_commit):
4429 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4430 * testsuite/pad/link.c: (gst_test_src_init),
4431 (gst_test_filter_init), (gst_test_sink_init):
4432 * testsuite/states/locked.c: (main):
4433 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4434 moved bitshift from macro to enum definition
4436 2005-10-12 Wim Taymans <wim@fluendo.com>
4438 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4439 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4440 (gst_file_sink_render):
4441 Some more debugging info.
4443 2005-10-12 Wim Taymans <wim@fluendo.com>
4445 * docs/design/part-states.txt:
4446 * tools/gst-launch.c: (main):
4448 Revert non-intentional change.
4450 2005-10-12 Wim Taymans <wim@fluendo.com>
4452 * check/gst/gstbin.c: (GST_START_TEST):
4453 * check/gst/gstelement.c: (GST_START_TEST):
4454 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4455 * check/gst/gstghostpad.c: (GST_START_TEST):
4456 * check/gst/gstpipeline.c: (GST_START_TEST):
4457 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4458 * check/states/sinks.c: (GST_START_TEST):
4459 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4460 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4461 (gst_bin_remove_func), (gst_bin_get_state_func),
4462 (gst_bin_recalc_state), (gst_bin_change_state_func),
4464 * gst/gstelement.c: (gst_element_get_state_func),
4465 (gst_element_get_state), (gst_element_abort_state),
4466 (gst_element_commit_state), (gst_element_set_state),
4467 (gst_element_change_state), (gst_element_change_state_func):
4469 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4470 (gst_pipeline_provide_clock_func):
4471 * gst/gstutils.c: (gst_element_link_pads_filtered):
4472 * tools/gst-launch.c: (main):
4473 * tools/gst-typefind.c: (main):
4474 Use GstClockTime in _get_state() instead of GTimeVal.
4475 Remove old code in gstutils.c
4477 2005-10-12 Andy Wingo <wingo@pobox.com>
4479 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4482 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4483 there is no task. Shouldn't affect any code, as nothing in our
4484 plugins checks this return value.
4485 (gst_pad_stop_task): Also take the stream lock if the pad has no
4488 2005-10-12 Wim Taymans <wim@fluendo.com>
4490 * gst/gstpad.c: (pre_activate), (post_activate),
4491 (gst_pad_activate_pull), (gst_pad_activate_push):
4492 Cleanup activation code. Reset old state if
4495 2005-10-12 Wim Taymans <wim@fluendo.com>
4497 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4498 (gst_base_sink_change_state):
4499 No need to prerol after receiving EOS.
4501 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4502 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4503 * gst/elements/gstidentity.c: (gst_identity_event):
4504 Print events more verbosely.
4506 2005-10-12 Wim Taymans <wim@fluendo.com>
4508 * check/Makefile.am:
4509 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4510 * check/states/sinks2.c:
4511 Moved sinks2 testcode in sinks check.
4513 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4514 (gst_bin_remove_func), (gst_bin_recalc_state),
4515 (gst_bin_change_state_func), (bin_bus_handler):
4516 Fix potential race condition when _get_state() iterated over an
4517 ASYNC element right before it posted a state completion.
4520 Do proper cast here.
4522 * gst/gstevent.c: (gst_event_new_newsegment),
4523 (gst_event_parse_newsegment):
4524 A playback rate of 0.0 is not allowed.
4526 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4528 * win32/common/config.h:
4529 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4530 (_trewinddir), (_ttelldir), (_tseekdir):
4531 * win32/common/dirent.h:
4532 * win32/common/gtchar.h:
4533 * win32/common/libgstbase.def:
4534 * win32/common/libgstreamer.def:
4535 * win32/vs6/grammar.dsp:
4536 * win32/vs6/gst_inspect.dsp:
4537 * win32/vs6/gst_launch.dsp:
4538 * win32/vs6/gstreamer.dsw:
4539 * win32/vs6/libgstbase.dsp:
4540 * win32/vs6/libgstelements.dsp:
4541 * win32/vs6/libgstreamer.dsp:
4542 Visual Studio 6 project files, and a new common directory.
4545 2005-10-11 Wim Taymans <wim@fluendo.com>
4547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4548 (gst_base_sink_do_sync), (gst_base_sink_query),
4549 (gst_base_sink_change_state):
4550 * gst/base/gstbasesink.h:
4551 Correctly parse newsegment info.
4553 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4555 * gst/gst.c: (init_post):
4556 split plugin paths correctly
4558 2005-10-11 Wim Taymans <wim@fluendo.com>
4560 * check/gst/gstevent.c: (GST_START_TEST):
4561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4562 (gst_base_sink_change_state):
4563 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4564 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4565 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4566 * gst/gstevent.c: (gst_event_new_newsegment),
4567 (gst_event_parse_newsegment):
4569 Added extra flag to newsegment for future API freeze.
4570 Updated check and base elements.
4572 2005-10-11 Julien MOUTTE <julien@moutte.net>
4574 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4575 (gst_collectpads_add_pad), (gst_collectpads_pop),
4576 (gst_collectpads_event), (gst_collectpads_chain):
4577 * gst/base/gstcollectpads.h: Handle EOS correctly.
4579 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4581 * tools/gst-launch.c: (main):
4582 more null protecting
4584 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4586 * gst/gst-i18n-lib.h:
4587 check for ENABLE_NLS, not GETTEXT_PACKAGE
4588 * gst/gstregistry.c: (gst_registry_add_plugin),
4589 (gst_registry_scan_path_level),
4590 (_gst_registry_remove_cache_plugins):
4591 protect possibly NULL strings
4592 * gst/parse/types.h:
4593 config.h already included before
4594 * tools/gst-inspect.c: (main):
4595 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4596 check for ENABLE_NLS, not GETTEXT_PACKAGE
4597 * tools/gst-launch.c: (main):
4598 check for ENABLE_NLS, not GETTEXT_PACKAGE
4600 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4603 if we don't have glib, fail before testing 2.8
4604 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4605 fix a leak, should fix plugins-base testsuite
4607 2005-10-11 Andy Wingo <wingo@pobox.com>
4609 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4610 take the mode we're going to as an arg. Go head and set the mode
4611 and flushing flags now, so that if the activate function starts a
4612 thread all the flags will be in the right state.
4613 (post_activate): Renamed also. Just handle making sure streaming
4614 finishes for the deactivation case, and setting the deactivated
4616 (gst_pad_set_active): Complain loudly if deactivation fails.
4617 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4618 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4619 remove the terrible hack.
4621 2005-10-11 Wim Taymans <wim@fluendo.com>
4623 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4624 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4625 (gst_bin_recalc_state), (gst_bin_change_state_func),
4626 (gst_bin_dispose), (bin_bus_handler):
4628 Prepare to make current EOS message queue more generic.
4631 * gst/gstevent.c: (gst_event_new_newsegment),
4632 (gst_event_parse_newsegment):
4634 Rename base to stream_time.
4639 2005-10-11 Wim Taymans <wim@fluendo.com>
4641 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4642 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4643 (gst_bin_change_state_func), (bin_bus_handler):
4645 Work on proper clock selection.
4647 2005-10-11 Edward Hervey <edward@fluendo.com>
4649 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4650 * libs/gst/controller/gstcontroller.h:
4651 Added GList* version of _remove_properties() in order to be able to wrap
4654 2005-10-11 Wim Taymans <wim@fluendo.com>
4656 * docs/design/part-states.txt:
4659 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4660 (gst_bin_change_state_func), (bin_bus_handler):
4661 Doc updates. Don't distribute the same clock over and over again.
4667 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4668 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4669 (gst_pad_send_event):
4671 Make probe emission threadsafe again.
4672 Register quarks and move _get_name() from utils.
4675 * gst/gstpipeline.c: (gst_pipeline_class_init),
4676 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4677 Only redistribute the clock of it changed.
4679 * gst/gstsystemclock.h:
4684 Moved the _flow_get_name() to GstPad.
4686 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4688 * check/gst-libs/gdp.c: (GST_START_TEST):
4689 * check/gst/gstcaps.c: (GST_START_TEST):
4690 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4691 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4692 (gst_dp_packet_from_caps):
4693 fix more valgrind warnings before turning up the heat
4695 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4697 * gst/parse/grammar.y:
4698 some cleanup before the hacking
4700 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4702 * gst/base/gstbasesrc.c: (gst_base_src_query):
4704 * gst/gstutils.c: (gst_guint64_to_gdouble),
4705 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4707 externalize, basesrc uses it
4708 obviously the implementation needs testing
4710 2005-10-10 Wim Taymans <wim@fluendo.com>
4712 * tests/sched/Makefile.am:
4713 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4714 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4716 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4718 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4719 apparently converting from guint64 to double is not implemented
4722 2005-10-10 Wim Taymans <wim@fluendo.com>
4724 * check/Makefile.am:
4725 * check/generic/states.c: (GST_START_TEST):
4726 * check/gst/gstbin.c: (GST_START_TEST):
4727 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4728 * check/states/sinks.c: (GST_START_TEST):
4729 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4731 Check fixes, use API as stated in design docs, remove hacks.
4733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4734 (gst_base_sink_change_state):
4735 Catch stopping our task while we're shutting down.
4737 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4738 (gst_bin_remove_func), (gst_bin_get_state_func),
4739 (gst_bin_recalc_state), (gst_bin_change_state_func),
4742 * gst/gstelement.c: (gst_element_init),
4743 (gst_element_get_state_func), (gst_element_abort_state),
4744 (gst_element_commit_state), (gst_element_lost_state),
4745 (gst_element_set_state), (gst_element_change_state),
4746 (gst_element_change_state_func):
4748 New state change algorithm (see #318116)
4750 * gst/gstpipeline.c: (gst_pipeline_class_init),
4751 (gst_pipeline_init), (gst_pipeline_set_property),
4752 (gst_pipeline_get_property), (do_pipeline_seek),
4753 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4754 * gst/gstpipeline.h:
4755 Remove crude state change hacks.
4760 * tools/gst-launch.c: (main):
4761 Fixes for state change. Needs some more work to fully use the
4764 2005-10-10 Andy Wingo <wingo@pobox.com>
4766 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4768 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4769 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4772 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4774 * gst/gstiterator.c: (gst_iterator_new):
4775 Fix my previous commit: GTypes passed to gst_iterator_new()
4776 can be fundamental types.
4778 2005-10-10 Wim Taymans <wim@fluendo.com>
4780 * gst/gstelement.c: (gst_element_iterate_pad_list),
4781 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4782 (gst_element_iterate_sink_pads):
4783 Use src/sink pads lists for the respective iterators instead
4786 2005-10-10 Andy Wingo <wingo@pobox.com>
4788 Merged in popt removal + GOption addition patch from Ronald, bug
4791 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4792 GstElement macros around, remove popt-related symbols, add goption
4795 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4797 * docs/gst/Makefile.am:
4798 * docs/libs/Makefile.am: No POPT_CFLAGS.
4800 * examples/manual/Makefile.am:
4801 * docs/manual/basics-init.xml: Doc updates with an example.
4803 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4804 (gst_init), (parse_one_option), (parse_goption_arg):
4805 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4806 bit of hand merging and debugging to get the GOption stuff working
4809 * tests/Makefile.am:
4810 * tools/Makefile.am:
4811 * tools/gst-inspect.c: (main):
4812 * tools/gst-launch.c: (main):
4813 * tools/gst-run.c: (main):
4814 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4816 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4818 * gst/gstiterator.c: (gst_iterator_new):
4819 Add assertions to make sure passed GType is likely to really
4820 be a GType (as the compiler won't catch it if the size and
4821 GType arguments get mixed up, see #318447).
4823 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4825 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4827 * gst/gstbin.c: (gst_bin_iterate_sorted):
4828 Pass GType and size arguments to gst_iterator_new() in the right
4829 order (maybe we should make _new() take the GType as first argument
4830 just like _new_list()?) (#318447).
4833 2005-10-10 Wim Taymans <wim@fluendo.com>
4835 * gst/gstelement.c: (gst_element_finalize):
4836 And free the GStaticRecMutex too
4838 2005-10-10 Andy Wingo <wingo@pobox.com>
4840 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4841 Allocate and free the mutex properly.
4843 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4845 (GstElement): The state_lock is now recursive. Rebuild your
4846 plugins, suckers. Old macros adapted.
4848 * docs/gst/gstreamer-sections.txt: Doc updates.
4851 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4852 (g_static_rec_cond_wait): Ported from state changes patch, while
4853 we wait on bug #317802 to be solved in a well-distributed GLib.
4855 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4856 gst_element_change_state, variable name changes.
4857 (gst_element_change_state): Split out of gst_element_set_state in
4858 preparation for the state change merge. Doesn't pay attention to
4859 the 'transition' argument.
4860 (gst_element_set_state): Updates, hopefully purely cosmetic.
4861 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4863 (gst_element_get_state_func): Renamed from get_state, cosmetic
4866 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4868 * gst/elements/gstelements.c:
4869 * win32/GStreamer.vcproj:
4871 * win32/dirent.c: (_tseekdir):
4872 * win32/gst-inspect.vcproj:
4873 * win32/gst-launch.vcproj:
4874 * win32/gstconfig.h:
4875 * win32/gstelements.vcproj:
4876 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4877 * win32/gstreamer.def:
4879 updates for the win32 build (patch from Sebastien Moutte)
4881 2005-10-10 Andy Wingo <wingo@pobox.com>
4883 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4884 gst_bin_get_state, cleaned up (but no logic changes).
4885 (bin_element_is_sink): Comment updates.
4886 (sink_iterator_filter): Remove needless cast.
4887 (gst_bin_iterate_sinks): Doc update.
4888 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4889 cleaned up (but no logic changes).
4891 * check/states/sinks.c (test_src_sink): Cleanups from the state
4893 (test_livesrc_sink): Sync on the state.
4895 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4896 the state change patch.
4898 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4901 * check/gst/gstbin.c: Merge in some style fixes and additional
4902 checks from Wim's state change patch.
4904 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4906 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4907 (gst_type_find_helper):
4908 Check whether we have the requested data already in our list of
4909 cached buffers before pulling a new buffer; also make the buffer
4910 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4912 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4917 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4918 don't use long long, it's not portable. Replacing with
4919 gint64 seems to work; let's hope no skeletons fall out of the closet.
4921 2005-10-10 Andy Wingo <wingo@pobox.com>
4923 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4925 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4927 * docs/gst/gstreamer-sections.txt:
4932 * gst/gstmessage.c: (gst_message_parse_state_changed):
4935 more docs, fix compilation
4937 2005-10-09 Philippe Khalaf <burger@speedy.org>
4939 Fixed a few forgotten variables on previous commit
4941 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4943 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4944 Fix evil typefind crasher: getrange() might return a short
4945 buffer at the end of a file, but gst_type_find_peek() must
4946 either return the full data as requested or NULL, but
4947 never a short buffer.
4949 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4951 * gst/gstmessage.c: (gst_message_new_state_changed),
4952 (gst_message_parse_state_changed):
4954 don't use "new", it's a C++ keyword
4956 2005-10-08 Wim Taymans <wim@fluendo.com>
4958 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4959 * gst/gstelement.c: (gst_element_post_message):
4960 * gst/gstpipeline.c: (gst_pipeline_change_state):
4961 Small docs and debug updates.
4963 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4965 * docs/gst/gstreamer-sections.txt:
4966 * gst/gstelementfactory.c:
4971 2005-10-08 Wim Taymans <wim@fluendo.com>
4973 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4974 (gst_bin_dispose), (bin_bus_handler):
4975 Fix typos, add comments.
4976 Clear EOS list when going to PAUSED from any direction and do it
4977 in a threadsafe way.
4978 Get base time in a threadsafe way too.
4979 Fix confusing debug in the change_state function.
4980 Various other small cleanups.
4982 * gst/gstelement.c: (gst_element_post_message):
4983 Fix very verbose bus posting code.
4985 * gst/gstpipeline.c: (gst_pipeline_class_init),
4986 (gst_pipeline_set_property), (gst_pipeline_get_property),
4987 (gst_pipeline_change_state):
4988 Small ARG_ -> PROP_ cleanup
4990 2005-10-08 Wim Taymans <wim@fluendo.com>
4992 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4993 Do a less CPU demanding EOS check because we can.
4995 2005-10-08 Wim Taymans <wim@fluendo.com>
4997 * libs/gst/dataprotocol/dataprotocol.c:
4998 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4999 (gst_dp_packet_from_event):
5000 * libs/gst/dataprotocol/dataprotocol.h:
5001 * libs/gst/dataprotocol/dp-private.h:
5002 It's about time we bump the version number.
5003 Since event types don't fit in the guint8 anymore describing
5004 the payload type, make payload type 16 bits wide.
5006 2005-10-08 Wim Taymans <wim@fluendo.com>
5008 * docs/design/part-TODO.txt:
5009 * docs/design/part-clocks.txt:
5010 * docs/design/part-events.txt:
5011 * docs/design/part-gstbin.txt:
5012 * docs/design/part-gstelement.txt:
5013 * docs/design/part-gstpipeline.txt:
5014 * docs/design/part-live-source.txt:
5015 * docs/design/part-messages.txt:
5016 * docs/design/part-overview.txt:
5017 * docs/design/part-states.txt:
5020 2005-10-08 Wim Taymans <wim@fluendo.com>
5024 Fix event quark registration.
5025 Add some space between events so we can insert them in the
5028 2005-10-08 Wim Taymans <wim@fluendo.com>
5030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5031 (gst_base_sink_handle_buffer):
5038 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5039 (gst_queue_set_property), (gst_queue_get_property):
5041 Remove old unused properties.
5043 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5044 * docs/gst/gstreamer-sections.txt:
5047 * gst/gstminiobject.c:
5048 * gst/gstminiobject.h:
5052 lots of new docs and doc fixes
5054 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5056 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5058 * gst/gstregistry.c: (gst_registry_lookup_locked),
5059 (gst_registry_scan_path_level):
5060 * gst/gstregistryxml.c: (load_plugin):
5061 Only ever load one plugin for a given plugin basename.
5062 This ensures correct overriding of GST_PLUGIN_PATH over
5063 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5064 system installed plugins.
5066 2005-10-08 Wim Taymans <wim@fluendo.com>
5068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5069 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5070 Prepare for doing QOS.
5072 2005-10-08 Wim Taymans <wim@fluendo.com>
5074 * check/gst/gstbin.c: (GST_START_TEST):
5075 * check/pipelines/cleanup.c: (GST_START_TEST):
5076 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5077 Allow new clock message too.
5079 2005-10-08 Wim Taymans <wim@fluendo.com>
5081 * gst/gstmessage.c: (gst_message_new_error),
5082 (gst_message_new_warning), (gst_message_new_tag),
5083 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5084 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5085 (gst_message_new_segment_start), (gst_message_new_segment_done),
5086 (gst_message_parse_state_changed),
5087 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5088 (gst_message_parse_new_clock):
5090 Also carry the clock in question.
5092 2005-10-08 Wim Taymans <wim@fluendo.com>
5094 * gst/gstmessage.c: (gst_message_new_custom),
5095 (gst_message_new_eos), (gst_message_new_error),
5096 (gst_message_new_warning), (gst_message_new_tag),
5097 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5098 (gst_message_new_new_clock), (gst_message_new_segment_start),
5099 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5100 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5103 Added clock related messages.
5105 * gst/gstpipeline.c: (gst_pipeline_change_state):
5106 Post message when the clock changed.
5108 * tools/gst-launch.c: (event_loop):
5111 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5113 * tools/gst-inspect.c: (print_element_properties_info):
5114 Can't pass NULL strings to g_print() on windows.
5116 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5119 * docs/gst/Makefile.am:
5120 * docs/gst/gstreamer-docs.sgml:
5121 * docs/gst/running.xml:
5122 * docs/version.entities.in:
5123 add a chapter on running GStreamer.
5124 document GST_DEBUG and GST_PLUGIN* env vars
5126 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5131 remove PLUGINS_BUILDDIR stuff
5132 * gst/gst.c: (init_post):
5133 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5135 remove, it was condescending and not needed
5137 2005-10-08 Wim Taymans <wim@fluendo.com>
5139 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5140 (gst_base_sink_handle_object), (gst_base_sink_event),
5141 (gst_base_sink_wait), (gst_base_sink_handle_event),
5142 (gst_base_sink_change_state):
5143 * gst/base/gstbasesink.h:
5144 Repost EOS message while going to PLAYING if still EOS.
5145 Make sure that when receiving a FLUSH_START we don't attempt
5146 to sync on the clock anymore.
5148 2005-10-08 Wim Taymans <wim@fluendo.com>
5150 * tools/gst-launch.c: (event_loop):
5151 Better message printout.
5153 2005-10-08 Wim Taymans <wim@fluendo.com>
5155 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5156 (gst_bin_child_proxy_get_children_count):
5157 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5158 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5159 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5160 (gst_child_proxy_set_valist):
5161 * gst/parse/grammar.y:
5162 Make ChildProxy threadsafe and fix mem leaks.
5164 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5166 * gst/gst.c: (init_post):
5167 debug the GST_PLUGIN_ env vars
5169 2005-10-08 Wim Taymans <wim@fluendo.com>
5171 * check/gst/gstbin.c: (GST_START_TEST):
5172 * check/gst/gstmessage.c: (GST_START_TEST):
5173 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5174 * gst/gstelement.c: (gst_element_commit_state),
5175 (gst_element_lost_state):
5176 * gst/gstmessage.c: (gst_message_new_state_changed),
5177 (gst_message_parse_state_changed):
5179 * tools/gst-launch.c: (event_loop):
5180 Added extra field to STATE_CHANGE message with the pending
5181 state, which will be different from the new state soon.
5183 2005-10-08 Wim Taymans <wim@fluendo.com>
5185 * gst/gstbus.c: (gst_bus_pop):
5187 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5188 Small cleanups and doc updates.
5190 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5192 * gst/gst.c: (init_pre):
5193 * gst/gstbin.c: (gst_bin_add_func):
5194 log distributing clocks and base time
5195 * gst/gstregistry.c: (gst_registry_add_plugin),
5196 (gst_registry_scan_path_level), (gst_registry_scan_path):
5197 clean up the debugging output a little
5198 * gst/gstutils.c: (gst_element_state_get_name):
5199 warn about a memleak (I've actually seen this be used, though
5200 it was probably a bug)
5202 2005-10-07 Wim Taymans <wim@fluendo.com>
5204 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5205 (gst_base_src_init), (gst_base_src_default_newsegment),
5206 (gst_base_src_newsegment), (gst_base_src_do_seek),
5207 (gst_base_src_loop), (gst_base_src_start):
5208 * gst/base/gstbasesrc.h:
5209 Make the newsegment event customizable by subclasses.
5211 2005-10-07 Wim Taymans <wim@fluendo.com>
5213 * gst/gstevent.c: (gst_event_new_buffersize),
5214 (gst_event_parse_buffersize):
5216 New event for future idea.
5218 2005-10-07 Andy Wingo <wingo@pobox.com>
5220 * gst/gstelement.c (gst_element_post_message): Doc update.
5222 * docs/gst/gstreamer-sections.txt: Update.
5224 * gst/gstmessage.c (gst_message_new_application): Made into a
5225 function like honest API calls.
5226 (gst_message_new_element): New message type.
5228 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5230 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5231 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5234 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5235 NO_PREROLL from gst_element_change_state to fall through.
5237 2005-10-07 Wim Taymans <wim@fluendo.com>
5239 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5240 (gst_ghost_pad_do_activate_push):
5241 Activating a ghostpad with no internal pad in push mode
5244 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5247 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5248 Fixes compilation on Windows.
5250 2005-10-07 Michael Smith <msmith@fluendo.com>
5252 * tools/gst-inspect.c:
5253 Print out feature and plugin count at the end when printing out
5256 2005-10-04 Michael Smith <msmith@fluendo.com>
5258 * gst/gsterror.c: (_gst_stream_errors_init):
5259 Add another error string used in a few existing plugins.
5262 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5263 * tools/gst-inspect.c: (print_element_info):
5264 When a feature disappears from a plugin (and the feature exists in
5265 the cached registry file), things went horribly wrong. This isn't a
5266 complete fix, we should actually be removing the 'missing' features
5267 from the features list when we load the actual plugin. That's not
5270 2005-10-04 Johan Dahlin <johan@gnome.org>
5272 * check/gst/gstiterator.c: (GST_START_TEST):
5273 * gst/gstbin.c: (gst_bin_iterate_elements),
5274 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5275 * gst/gstelement.c: (gst_element_iterate_pads):
5276 * gst/gstformat.c: (gst_format_iterate_definitions):
5277 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5278 (gst_iterator_new_list), (gst_iterator_filter):
5279 * gst/gstiterator.h:
5280 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5281 Add a GType to GstIterator, update callsites and tests.
5283 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5285 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5286 give events a chance to be handled by event probes when the pad
5289 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5291 * gst/gstevent.c: (gst_event_type_get_name),
5292 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5294 add string representations for event types
5296 2005-10-06 Wim Taymans <wim@fluendo.com>
5298 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5299 Don't use NULL pointers.
5301 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5303 * gst/gst_private.h:
5307 * gst/gstpluginfeature.c:
5308 widen the debug category in output to fit the biggest one we have
5309 add a bus category and use it
5310 play with the colors
5311 fix up some categories
5313 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5315 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5316 add push activation of sink ghost pads.
5317 Andye, please verify
5319 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5321 * gst/gstutils.c: (gst_element_link_pads):
5322 fix a bug in the case where neither element has a pad
5323 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5324 add a test for that case
5326 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5328 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5329 emit have-data before checking for peers. This allows
5330 for probe handlers to connect elements. This helps autopluggers.
5331 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5333 add six checks, linked/unlinked with no/true/false probe
5335 2005-10-04 Wim Taymans <wim@fluendo.com>
5337 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5338 (gst_fake_sink_event), (gst_fake_sink_preroll),
5339 (gst_fake_sink_render), (gst_fake_sink_change_state):
5340 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5341 (gst_fake_src_get_property), (gst_fake_src_create),
5342 (gst_fake_src_stop):
5343 * gst/elements/gstidentity.c: (gst_identity_stop):
5344 Protect last_message with lock.
5346 2005-10-04 Edward Hervey <edward@fluendo.com>
5349 Added precision in the comments for GST_FORMAT_DEFAULT
5351 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5353 * tools/gst-launch.c: (main):
5354 Don't try to run erroneous pipelines.
5356 2005-10-04 Julien MOUTTE <julien@moutte.net>
5358 * gst/gstbus.c: We don't need this header.
5360 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5365 === release 0.9.3 ===
5367 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5371 Releasing 0.9.3, "Unregistered"
5373 2005-10-03 Andy Wingo <wingo@pobox.com>
5375 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5376 whereby calling a pad's activatepush() function can start a thread
5377 that starts to push or pull before the pad gets the FLUSHING flag
5378 unset. Hack around it by holding the stream lock until the flag is
5379 set. Need to replace this with a proper solution. Together with
5380 the ghost pad fixes, this fixes mp3 playing/tagreading.
5382 * docs/design/part-gstghostpad.txt: Add a note about activation of
5383 proxy pads outside of ghost pads.
5385 * gst/gstghostpad.c: Implement the ghost pad activation design.
5387 2005-10-02 Andy Wingo <wingo@pobox.com>
5389 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5390 It is volatile, after all.
5392 * docs/design/part-gstghostpad.txt: Flesh out activation with
5395 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5398 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5401 Fix (unused) AM_CONDITIONAL tests.
5403 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5405 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5407 * gst/gstutils.c: (gst_pad_query_convert):
5408 Add assertion that makes sure src_val is >=0, just like
5409 gst_query_new_convert() has. (#315895)
5411 2005-09-30 Edward Hervey <edward@fluendo.com>
5413 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5414 Let's not iterate pads we're not interested in, it avoids getting
5415 sky-high refcounts on sinkpad.
5417 2005-09-30 Wim Taymans <wim@fluendo.com>
5419 * gst/gstelement.c: (gst_element_set_state),
5420 (gst_element_change_state):
5421 Small tweak, element in ASYNC remains ASYNC.
5423 2005-09-30 Wim Taymans <wim@fluendo.com>
5425 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5426 Only error is an error.
5428 * gst/gstbin.c: (gst_bin_change_state):
5431 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5432 Also call pad_block in pad alloc.
5434 * gst/gstutils.c: (gst_flow_get_name):
5437 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5439 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5440 (gst_base_src_get_range):
5441 Fix documentation typos. Add some more debug info.
5443 2005-09-29 David Schleef <ds@schleef.org>
5445 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5446 more end-user friendly.
5447 * tools/gst-inspect.c: (main): Check if command-line argument is
5448 a file and attempt to load that file as a plugin.
5450 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5452 * check/gst/gstbin.c:
5453 * check/states/sinks.c:
5454 fix tests for the new warning
5455 * check/gst/gstpipeline.c:
5456 add a test for pipeline and bus interaction
5458 elements should be NULL if they get disposed; add a warning if not
5460 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5463 for 2.6 refcounting, make debug log more correct by printing
5464 the actual refcounts at the time of swap (Wim)
5466 2005-09-29 Andy Wingo <wingo@pobox.com>
5468 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5469 removes signal watches previously added via
5470 gst_bus_add_signal_watch.
5471 (gst_bus_add_signal_watch): Don't return the source id, just store
5472 it on the bus if there wasn't an id already.
5474 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5475 add_signal_watch and remove_signal_watch.
5477 2005-09-29 Edward Hervey <edward@fluendo.com>
5479 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5480 Better if we actually iterate the list :)
5482 2005-09-29 Wim Taymans <wim@fluendo.com>
5484 * check/gst/gstbin.c: (GST_START_TEST):
5485 Change for new bus API.
5487 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5488 (send_messages), (GST_START_TEST), (gstbus_suite):
5489 Change for new bus signal API.
5491 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5492 (gst_bus_source_prepare), (gst_bus_source_check),
5493 (gst_bus_create_watch), (gst_bus_add_watch_full),
5494 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5495 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5497 Remove support for multiple GSources operating on different
5498 message types as it is too complex and unneeded when using
5500 Added support for receiving signals from the bus.
5502 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5504 * docs/libs/tmpl/gstdataprotocol.sgml:
5505 * docs/manual/advanced-dataaccess.xml:
5506 * gst/elements/gstcapsfilter.c:
5508 rename filter-caps to caps property
5510 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5512 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5513 More robust fraction string parsing.
5515 * docs/pwg/appendix-porting.xml:
5516 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5518 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5520 * gst/gstcaps.c: (gst_caps_do_simplify):
5521 Thou shalt not free a structure and then continue using it
5522 in the next loop iteration.
5524 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5526 Add test case for caps simplification.
5528 2005-09-29 Wim Taymans <wim@fluendo.com>
5530 * check/gst/gstbin.c: (GST_START_TEST):
5533 2005-09-29 Wim Taymans <wim@fluendo.com>
5535 * check/gst/gstbin.c: (GST_START_TEST):
5538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5539 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5540 (find_element), (gst_bin_sort_iterator_next),
5541 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5542 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5543 (gst_bin_change_state), (gst_bin_dispose):
5544 A bin does not have a bus, it gets the bus from the parent.
5546 * gst/gstelement.c: (gst_element_requires_clock),
5547 (gst_element_provides_clock), (gst_element_is_indexable),
5548 (gst_element_is_locked_state), (gst_element_change_state),
5549 (gst_element_set_bus_func):
5552 * gst/gstpipeline.c: (gst_pipeline_class_init),
5553 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5554 The pipeline provides a bus.
5556 2005-09-28 Johan Dahlin <johan@gnome.org>
5558 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5559 gst_structure_get_enum instead of gst_structure_get_int
5561 * gst/gststructure.c (gst_structure_get_enum): Impl.
5563 * gst/gststructure.h (gst_structure_get_enum): Add
5565 * docs/gst/gstreamer-sections.txt: Ditto
5567 * gst/gstmessage.c (gst_message_new_state_changed): Use
5568 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5569 which does introspection.
5570 Reviewed by Christian Schaller
5572 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5574 * gst/gstinfo.c: (gst_debug_log_default):
5575 don't do dummy g_strdup()s
5576 * libs/gst/controller/gstcontroller.c:
5577 (on_object_controlled_property_changed),
5578 (gst_controlled_property_new), (gst_controller_new_valist),
5579 (gst_controller_new_list),
5580 (gst_controller_remove_properties_valist), (gst_controller_set),
5581 (gst_controller_get), (gst_controller_sync_values),
5582 (gst_controller_get_value_array), (_gst_controller_class_init),
5583 (gst_controller_get_type):
5584 * libs/gst/controller/gstcontroller.h:
5585 * libs/gst/controller/gstinterpolation.c:
5586 (gst_controlled_property_find_timed_value_node):
5587 convert // to /**/ comments
5589 2005-09-28 Wim Taymans <wim@fluendo.com>
5591 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5592 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5593 (gst_bus_sync_signal_handler):
5595 Added async-message and sync-message signals to the bus.
5596 Added helper BusFunc to emit signals for all posted messages.
5598 * gst/gstmessage.c: (gst_message_type_get_name),
5599 (gst_message_type_to_quark), (gst_message_get_type):
5601 Register quarks for message names.
5603 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5605 * docs/libs/gstreamer-libs-sections.txt:
5606 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5607 (gst_controller_new_list):
5608 * libs/gst/controller/gstcontroller.h:
5609 added another constructor for language bindings
5611 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5613 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5617 * gst/gstinfo.c: (_gst_debug_init):
5618 slightly more readable color for refcount debugging
5620 2005-09-28 Wim Taymans <wim@fluendo.com>
5622 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5623 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5624 (find_element), (gst_bin_sort_iterator_next),
5625 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5626 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5627 (gst_bin_change_state), (gst_bin_dispose):
5628 Small doc fixes. get_clock -> provide_clock.
5630 * gst/gstelement.c: (gst_element_class_init),
5631 (gst_element_provides_clock), (gst_element_provide_clock),
5632 (gst_element_get_clock), (gst_element_commit_state),
5633 (gst_element_lost_state):
5635 Make get/set_clock() symetric. Add provide_clock vmethod since
5636 that is actually what this function does.
5638 * gst/gstpipeline.c: (gst_pipeline_class_init),
5639 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5640 (gst_pipeline_get_clock):
5641 get_clock -> provide_clock.
5643 2005-09-28 Andy Wingo <wingo@pobox.com>
5645 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5646 lieu of real docs...
5648 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5650 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5652 * gst/elements/gstcapsfilter.c:
5653 * gst/elements/gstfakesink.c:
5654 * gst/elements/gstfakesrc.c:
5655 * gst/elements/gstfdsink.c:
5656 * gst/elements/gstfdsrc.c:
5657 * gst/elements/gstfilesink.c:
5658 * gst/elements/gstfilesrc.c:
5659 * gst/elements/gstidentity.c:
5660 * gst/elements/gsttee.c:
5661 * gst/elements/gsttypefindelement.c:
5662 Make element details static.
5664 2005-09-28 Wim Taymans <wim@fluendo.com>
5666 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5667 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5668 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5669 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5670 (gst_bin_change_state), (gst_bin_dispose):
5671 Some documentation updates.
5672 Clean up dispose handlers.
5674 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5675 * gst/gstpad.c: (gst_pad_dispose):
5676 Clean up dispose handler.
5678 * gst/gstpipeline.c: (gst_pipeline_change_state):
5679 Removed spurious UNLOCK.
5681 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5683 * docs/gst/gstreamer-sections.txt:
5684 * gst/base/gstbasesrc.h:
5689 * gst/gstpipeline.c:
5690 * gst/gstpipeline.h:
5693 added two new functions to the docs
5694 documents all undocumented GstXXXFlags
5695 completed some incomplete docs
5697 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5699 * gst/gstbin.c: (gst_bin_dispose):
5700 * gst/gstelement.c: (gst_element_dispose):
5701 remove now useless and leaky resurrection code in dispose
5702 * gst/base/gstbasesrc.c: (gst_base_src_init):
5703 * gst/gstelementfactory.c: (gst_element_factory_create):
5704 * gst/gstobject.c: (gst_object_set_parent):
5707 2005-09-27 Wim Taymans <wim@fluendo.com>
5709 * docs/design/part-TODO.txt:
5712 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5713 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5714 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5715 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5716 (gst_bin_change_state):
5718 Remove element variable, we keep element info in the iterator now.
5720 2005-09-27 Andy Wingo <wingo@pobox.com>
5722 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5725 2005-09-27 Wim Taymans <wim@fluendo.com>
5727 * check/gst/gstbin.c: (GST_START_TEST):
5728 Enable check that works now.
5730 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5731 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5732 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5733 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5734 (gst_bin_change_state):
5736 Redid the state change algorithm using a topological sort algo.
5737 Handles all cases correctly.
5738 Exposed iterator for state change order.
5741 Temp storage for state changes. Need to get rid of this soon.
5743 2005-09-27 Wim Taymans <wim@fluendo.com>
5745 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5746 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5747 (link_fold_func), (gst_pad_proxy_setcaps):
5748 Leak fixes, the fold functions need to unref the passed object and
5749 _get_parent_*() returns ref to parent.
5751 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5753 * check/gst/gstbuffer.c: (test_make_writable):
5754 Plug leak in test case and fix 'make check-valgrind'
5756 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5758 * gst/gstbuffer.c: (gst_subbuffer_init):
5759 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5760 works correctly in all circumstances (we could have just copied
5761 the parent buffer's readonly flag, but conceptually it seems
5762 cleaner to mark all subbuffers as read-only). (based on patch
5763 by Alessandro Decina, #314710).
5765 * check/gst/gstbuffer.c: (create_read_only_buffer),
5766 (test_make_writable), (test_subbuffer_make_writable),
5768 Add some tests for gst_buffer_make_writable().
5770 2005-09-27 Wim Taymans <wim@fluendo.com>
5772 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5773 use gst_object_has_ancestor().
5775 * gst/gstobject.c: (gst_object_has_ancestor):
5777 gst_object_has_ancestor() copied from gstbin.c as it is a
5780 * tests/instantiate/create.c: (create_all_elements):
5781 * tests/lat.c: (handoff_src), (handoff_sink):
5782 * tests/sched/runxml.c: (main):
5783 * tests/seeking/seeking1.c: (main):
5784 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5786 Fix compilation of some tests.
5788 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5791 Remove comment. GST_TYPE_G_ERROR is here to stay,
5792 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5795 2005-09-26 Wim Taymans <wim@fluendo.com>
5797 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5798 Added check that shows error in state change order.
5800 2005-09-26 Wim Taymans <wim@fluendo.com>
5802 * gst/gstbin.c: (gst_bin_change_state):
5803 Make state change function use 3 queues again, we were
5804 adding elements in the wrong order.
5806 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5809 * gst/gstpad.c: (gst_pad_dispose):
5810 Added some debug info first.
5812 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5814 * docs/design/draft-push-pull.txt:
5815 * docs/design/part-events.txt:
5816 * docs/design/part-overview.txt:
5817 * docs/design/part-scheduling.txt:
5818 Replace all _pull_region() with _pull_range()
5820 2005-09-26 Andy Wingo <wingo@pobox.com>
5822 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5824 * check/gst-libs/controller.c: Update for controller api change.
5827 * tests/Makefile.am:
5828 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5829 over by GLib bug 118439.
5831 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5832 routines to a function.
5834 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5836 * libs/gst/controller/gsthelper.c:
5837 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5838 (gst_object_sync_values): Renamed from sink_values. Ugh.
5840 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5842 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5843 Renamed from controller_key, as it is exported.
5845 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5847 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5852 * gst/gstpadtemplate.h:
5855 * gst/gstqueryutils.c:
5856 * gst/gstqueryutils.h:
5857 remove queryutils headers after moving the two used functions
5858 to gstquery. also fixes build problem for gstsiddec
5860 2005-09-26 Michael Smith <msmith@fluendo.com>
5862 * tools/gst-launch.1.in:
5863 Correct documentation in manpage of debug syntax
5865 2005-09-26 Wim Taymans <wim@fluendo.com>
5867 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5868 (gst_base_src_is_seekable), (gst_base_src_change_state):
5869 Some more debugging info.
5871 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5873 * docs/gst/gstreamer-sections.txt:
5874 * gst/base/gstbasetransform.h:
5878 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5880 * docs/gst/.cvsignore:
5881 * docs/gst/tmpl/.cvsignore:
5882 * docs/gst/tmpl/gstpipeline.sgml:
5883 * docs/gst/tmpl/gstplugin.sgml:
5884 * gst/gstpipeline.c:
5887 inlined the last two docs files
5888 removed the tmpl directory from cvs (no more conflicts here!)
5890 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5892 * docs/gst/gstreamer-sections.txt:
5893 * docs/gst/tmpl/.cvsignore:
5894 * docs/gst/tmpl/gstpad.sgml:
5895 * docs/gst/tmpl/gstpadtemplate.sgml:
5897 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5898 (gst_pad_finalize), (gst_pad_set_pad_template):
5900 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5901 (gst_pad_template_class_init), (gst_pad_template_init),
5902 (gst_pad_template_dispose), (name_is_valid),
5903 (gst_static_pad_template_get), (gst_pad_template_new),
5904 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5905 (gst_pad_template_pad_created):
5906 * gst/gstpadtemplate.h:
5907 inlined two more docs
5908 factored gstpadtemplate out of gstpad
5910 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5912 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5913 (test_children_state_change_order_semi_sink):
5914 Fix test case: we can't rely on a fixed state change order when
5915 going from READY => PAUSED because the sink might commit its
5916 new state first when the first buffer created by the source
5917 reaches the sink before the source has finished its change state.
5918 (Test case still fails at times, see #316856, comment 5 onwards)
5920 2005-09-24 Wim Taymans <wim@fluendo.com>
5922 * docs/design/part-events.txt:
5923 * docs/design/part-gstbus.txt:
5924 * docs/design/part-gstpipeline.txt:
5925 * docs/design/part-messages.txt:
5926 * docs/design/part-overview.txt:
5927 * docs/design/part-segments.txt:
5934 * gst/gstiterator.c:
5935 Various documentation updates.
5937 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5940 Well, that's embarassing. Luckily we weren't using
5941 GST_CLOCK_DIFF anywhere.
5943 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5945 * common/gtk-doc.mak:
5946 don't fail on building XML, FC4 slave shows a bunch of doc
5947 missing bits that I don't get
5949 * gst/gstpipeline.c:
5950 * gst/gststructure.c:
5953 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5955 * docs/design/part-gstbin.txt:
5956 * docs/design/part-gstbus.txt:
5958 Add blurb about how the bus goes into flushing mode and
5959 drops all messages when its bin goes from READY into NULL
5962 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5964 * docs/gst/gstreamer-sections.txt:
5965 * gst/gststructure.c: (gst_structure_get_clock_time):
5966 * gst/gststructure.h:
5967 add a method to get a GstClockTime out of a structure
5969 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5971 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5972 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5973 Added test to check state change order in bins (can still be made
5974 to fail here under heavy disk load; bails out with 'Push on pad
5975 fakesink:sink0, but it was not activated in push mode').
5977 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5978 Fix state change order when there is only a semi sink (#316856)
5980 * gst/gstbus.c: (gst_bus_class_init):
5981 Use _class_peek_parent(), not _class_ref(); fix docs to say
5982 'default main context' instead of 'mainloop' where that is
5985 * gst/gstelement.c: (gst_element_commit_state),
5986 (gst_element_set_state):
5987 Fix typos in debug messages
5989 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5992 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5993 * gst/gstpluginfeature.c:
5996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5997 change an assert into an error until it gets fixed properly
5999 2005-09-23 Stefan Kost <ensonic@users.sf.net>
6001 * docs/gst/gstreamer-sections.txt:
6002 * docs/gst/tmpl/.cvsignore:
6003 * docs/gst/tmpl/gstelement.sgml:
6004 * docs/gst/tmpl/gstinfo.sgml:
6005 * docs/gst/tmpl/gstobject.sgml:
6010 * gst/gstobject.c: (gst_object_class_init):
6012 inlined 3 more biiiig doc files and added some missing docs on the fly
6014 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6016 * check/gst/.cvsignore:
6017 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6018 * gst/gstregistryxml.c: (load_plugin),
6019 (gst_registry_xml_save_plugin):
6020 put back source in registry. add checks for find_plugin.
6021 * testsuite/states/bin.c: (assert_state), (empty_bin),
6022 (test_adding_one_element), (main):
6023 * testsuite/states/locked.c: (main):
6024 some compile/run fixes
6026 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6028 * check/gst/gstvalue.c: (GST_START_TEST):
6029 fix leaks in the test itself
6031 2005-09-22 Wim Taymans <wim@fluendo.com>
6033 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6034 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6035 (gst_base_sink_query):
6036 Prepare for more accurate position reporting and query
6039 * gst/gstelement.c: (gst_element_send_event),
6040 (gst_element_set_state):
6043 2005-09-22 Wim Taymans <wim@fluendo.com>
6045 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6046 (gst_query_parse_segment):
6049 Add segment query for future use.
6051 2005-09-22 Wim Taymans <wim@fluendo.com>
6053 * gst/gstbin.c: (gst_bin_add_func):
6054 Some more debug info.
6056 * gst/gstelement.c: (gst_element_send_event):
6060 Don't know how flags got broken.
6065 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6067 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6068 Add simplistic test suite for GST_TYPE_DATE serialisation and
6071 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6073 * docs/gst/gstreamer-sections.txt:
6074 * gst/gststructure.c: (gst_structure_set_valist),
6075 (gst_structure_get_date):
6076 * gst/gststructure.h:
6077 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6078 (gst_date_copy), (gst_value_compare_date),
6079 (gst_value_serialize_date), (gst_value_deserialize_date),
6080 (gst_value_transform_date_string),
6081 (gst_value_transform_string_date), (_gst_value_initialize):
6083 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6084 bunch of utility functions along with a hack that checks that
6085 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6086 is required. Part of the grand scheme in #170777.
6088 2005-09-22 Andy Wingo <wingo@pobox.com>
6090 * gst/gstconfig.h.in: Psych out gtk-doc.
6092 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6094 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6096 * tools/gst-inspect.c (print_element_list): Plug some
6097 inconsequential leaks.
6099 * gst/gstregistry.c (gst_registry_get_default): Doc.
6101 * check/gst/gstplugin.c:
6102 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6103 * gst/gstelementfactory.c (gst_element_factory_create):
6104 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6107 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6108 (gst_plugin_feature_load): Doc, don't eat refs.
6110 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6111 (gst_plugin_list_free): Doc.
6112 (gst_plugin_load_file): Doc updates.
6114 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6115 accessors returning refcounted objects, return a ref.
6117 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6118 accessor for caps. IDEMPOTENCE. Oh yes.
6120 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6122 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6124 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6125 (_gst_debug_register_funcptr):
6126 Add mutex to serialise access to the hash table with
6127 the function pointer => function name string mapping;
6128 make that hash table static scope (#316809).
6130 * gst/registries/.cvsignore:
6131 Remove left-over file.
6133 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6135 * docs/pwg/appendix-porting.xml:
6136 And something about newsegment events and caps-on-buffers to
6137 the porting guide (feel free to improve).
6139 2005-09-21 Andy Wingo <wingo@pobox.com>
6141 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6142 data and event probes on the same pad.
6143 (test_buffer_probe_once): Test that removing probes from within
6144 the probe functions works.
6146 2005-09-21 Andy Wingo <wingo@pobox.com>
6148 * check/gst/gstutils.c: New file.
6149 (test_buffer_probe_n_times): A simple buffer probe test. More to
6152 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6153 have-data::buffer, not have-data.
6154 (gst_pad_add_event_probe): Likewise for have-data::event.
6155 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6156 peer' isn't quite right yet though.
6157 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6158 (gst_pad_remove_data_probe): Change to take the guint handler_id
6159 as their arg, not the function+data, which is more glib-like.
6161 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6162 the signal emission to indicate if the data is a buffer or an
6164 (gst_pad_get_type): Initialize buffer and event quarks.
6165 (gst_pad_class_init): have-data is now a detailed signal, yes it
6168 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6170 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6171 * gst/gstutils.c: (gst_util_set_value_from_string),
6172 (gst_util_set_object_arg):
6173 Don't put functional code in g_return_if_fail() or
6174 g_return_val_if_fail() statements, otherwise things will
6175 break when G_DISABLE_CHECKS is defined during compilation.
6177 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6179 * docs/gst/tmpl/.cvsignore:
6180 * docs/gst/tmpl/gstvalue.sgml:
6183 inlied another one and added some obvious docs
6185 2005-09-21 Wim Taymans <wim@fluendo.com>
6187 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6188 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6189 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6190 (gst_fdsrc_get_property), (gst_fdsrc_create):
6191 * gst/elements/gstfdsrc.h:
6192 Properly implement fdsrc. Removed signal and timeout,
6193 better implemented somewhere else.
6195 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6197 * docs/gst/tmpl/.cvsignore:
6198 * docs/gst/tmpl/gstimplementsinterface.sgml:
6199 * gst/gstinterface.c:
6202 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6204 * docs/gst/gstreamer-sections.txt:
6205 * docs/gst/tmpl/.cvsignore:
6206 * docs/gst/tmpl/gstenumtypes.sgml:
6207 remove obsolete doc file
6209 2005-09-21 David Schleef <ds@schleef.org>
6211 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6212 little beer, fix a little leak.
6214 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6216 * docs/gst/gstreamer-docs.sgml:
6217 * docs/gst/gstreamer-sections.txt:
6218 * docs/gst/tmpl/.cvsignore:
6223 * gst/gstindex.c: (gst_index_class_init):
6225 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6226 (gst_index_factory_class_init), (gst_index_factory_init),
6227 (gst_index_factory_finalize), (gst_index_factory_new),
6228 (gst_index_factory_destroy), (gst_index_factory_find),
6229 (gst_index_factory_create), (gst_index_factory_make):
6230 * gst/gstindexfactory.h:
6231 * gst/gstpluginfeature.c:
6232 * gst/gstpluginfeature.h:
6233 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6234 more docs inlined, splitted gstindex.{c,h}
6236 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6238 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6241 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6243 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6244 Set sync to FALSE by default.
6246 2005-09-20 Wim Taymans <wim@fluendo.com>
6248 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6249 (gst_base_sink_init):
6250 Make sync property settable from subclass.
6252 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6253 (gst_fake_sink_change_state):
6254 Set sync to FALSE by default.
6256 2005-09-20 Wim Taymans <wim@fluendo.com>
6258 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6259 * tools/gst-launch.c: (main):
6260 The timeout handler should have lower priority than the source
6261 so we don't timeout before popping a message with 0 timeout.
6262 Dump error messages after failed state change.
6264 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6266 * tools/gst-inspect.c: (print_element_properties_info):
6269 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6271 * check/gst/gstevent.c:
6272 * gst/elements/gstfakesink.c:
6273 * gst/elements/gstfakesink.h:
6274 remove the sync property from fakesink.
6275 has the side effect of setting sync TRUE
6276 for fakesink, which is a change. Anyone who knows how
6277 to fix this nicely in a GObject-y way, feel free.
6279 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6281 * docs/gst/gstreamer-docs.sgml:
6282 remove probe refsection
6284 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6286 * check/Makefile.am:
6287 disable valgrinding the controller test again
6288 * docs/gst/gstreamer-sections.txt:
6289 update for api-changes
6291 2005-09-20 Wim Taymans <wim@fluendo.com>
6293 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6294 (gst_base_sink_set_property), (gst_base_sink_get_property),
6295 (gst_base_sink_do_sync):
6296 * gst/base/gstbasesink.h:
6297 Added sync property to basesink to disable clock sync.
6299 2005-09-20 Andy Wingo <wingo@pobox.com>
6301 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6302 eating the caller's refcount.
6304 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6305 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6308 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6309 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6310 of GLib 2.8 public, so we can know which refcount to check in
6313 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6314 (gst_object_init): Only set the gst refcount if we're going ahead
6315 with the refcount hack.
6317 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6319 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6320 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6321 more leaks plumbed, added more debug-logging
6325 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6328 remove include of gstmemchunk.h
6330 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6332 * gst/gstclock.c: (_gst_clock_id_free):
6333 Commit from the Political Party For More Atomic CVS Commits,
6334 so that people don't waste too much of their day fishing
6335 out obvious leaks out of massive commits.
6336 Oh, and fix a pretty damn obvious leak in the memchunk
6339 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6341 * check/Makefile.am:
6342 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6343 plug mem-leak, re-add to valgrindable tests
6345 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6348 unbreak the build for those who have chronic arthritis
6349 and typing "make check" is just too taxing on the hands
6351 2005-09-20 Andy Wingo <wingo@pobox.com>
6353 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6354 really want it out, you should fix plugins at the same time.
6356 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6359 * docs/gst/gstreamer-sections.txt:
6361 added missing symbols to api docs
6362 disable ref-count hack if we have glib >= 2.8
6364 2005-09-19 David Schleef <ds@schleef.org>
6366 * docs/gst/Makefile.am: Ignore a few more internal headers
6367 * docs/gst/gstreamer-docs.sgml: Remove old sections
6368 * docs/gst/gstreamer-sections.txt: Remove old sections
6369 * docs/gst/tmpl/gstobject.sgml: update
6370 * docs/gst/tmpl/gstplugin.sgml: update
6371 * docs/gst/tmpl/gstpluginfeature.sgml: update
6372 * docs/random/ds/0.9-suggested-changes: update.
6373 * gst/Makefile.am: remove memchunk and trashstack, since they're
6375 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6376 * gst/gst.h: don't include some headers
6377 * gst/gstchildproxy.c: add gstmarshal.h
6378 * gst/gstclock.c: Don't use memchunks
6379 * gst/gstminiobject.c: Add some docs
6380 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6381 * gst/gstobject.h: same
6382 * gst/gstplugin.c: include gstmacros.h
6383 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6384 * gst/gstquery.c: don't use memchunks
6385 * gst/gstregistry.c: rename gst_registry_deinit()
6386 * gst/gstregistry.h: same
6388 2005-09-19 David Schleef <ds@schleef.org>
6390 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6391 * docs/libs/gstreamer-libs-sections.txt:
6392 * docs/libs/tmpl/gstgetbits.sgml:
6393 * docs/libs/tmpl/gstputbits.sgml:
6395 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6397 * win32/gstenumtypes.c:
6398 * win32/gstenumtypes.h:
6401 2005-09-19 Wim Taymans <wim@fluendo.com>
6403 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6404 Automatically PAUSE and RESUME a pipeline when a flushing seek
6407 2005-09-19 Andy Wingo <wingo@pobox.com>
6409 * gst/gstregistry.h: Spacing fixen.
6411 2005-09-19 Wim Taymans <wim@fluendo.com>
6413 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6414 Handle state change failure more correctly.
6416 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6418 * check/Makefile.am:
6419 * check/pipelines/cleanup.c: (run_pipeline):
6420 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6422 enable cleanup again after fixing the leak
6424 some more info on docs
6426 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6428 * check/Makefile.am:
6429 re-enable tests now that leaks are plugged
6431 * check/gst/gstbin.c:
6432 * check/gst/gstpipeline.c:
6433 add some more tests while fixing leaks
6435 make sure binaries are uptodate when valgrinding/gdbing
6437 * gst/gstelementfactory.c:
6438 remove a ref too many, and add a FIXME for when we get
6439 round to disposing of classes
6441 fix the refcounting when loading a plugin from a file and
6442 the code pretends that the pointer is the same even though
6443 of course it can change
6444 * gst/gstpluginfeature.c:
6445 unref plugins marked cached (a bit confusing as a name)
6446 as the docs state should be done
6447 various doc additions to explain refcounting
6448 * gst/gstregistry.c:
6449 * gst/gstregistryxml.c:
6452 2005-09-19 Wim Taymans <wim@fluendo.com>
6454 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6455 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6456 (send_messages), (GST_START_TEST), (gstbus_suite):
6457 * check/gst/gstpipeline.c: (GST_START_TEST):
6458 * check/pipelines/cleanup.c: (run_pipeline):
6459 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6461 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6462 (gst_bus_source_check), (gst_bus_source_dispatch),
6463 (gst_bus_create_watch), (gst_bus_add_watch_full),
6464 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6466 * tools/gst-launch.c: (event_loop):
6467 * tools/gst-md5sum.c: (event_loop):
6468 GstBusHandler -> GstBusFunc, return value has the same meaning as
6469 any other GSource (FALSE == remove source).
6470 _add_watch() and _add_watch_full() now take a MessageType mask to
6471 only handle specific types of messages.
6472 _poll() returns the GstMessage instead of the message type to avoid
6474 _have_pending() takes a MessageType mask now too.
6475 Added testsuite for multiple bus watches.
6476 Fix testsuites and applications for new bus API.
6478 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6480 * check/Makefile.am:
6481 mark a bunch of the tests as to fix until we fix them
6483 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6486 use GST_PLUGIN settings for valgrind tests as well, so we're
6487 valgrinding the correct thing
6488 * gst/gst.c: (init_post):
6491 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6493 * gst/gst.c: (init_post), (gst_deinit):
6494 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6495 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6496 * gst/gstindex.c: (gst_index_factory_class_init),
6497 (gst_index_factory_finalize):
6498 * gst/gstobject.c: (gst_object_dispose):
6499 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6500 (gst_plugin_load_file), (gst_plugin_desc_free):
6501 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6502 (gst_plugin_feature_finalize):
6503 * gst/gstregistry.c: (gst_registry_class_init),
6504 (gst_registry_init), (gst_registry_finalize),
6505 (gst_registry_get_default), (gst_registry_deinit):
6506 * gst/gstregistry.h:
6507 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6508 various cleanups and memleak plugging. make valgrind is happy now.
6510 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6513 add a check-valgrind target
6515 2005-09-18 David Schleef <ds@schleef.org>
6517 * tools/gst-inspect.c: Revert the GOption code.
6519 2005-09-17 David Schleef <ds@schleef.org>
6521 * check/Makefile.am: Fix environment variables.
6522 * check/gst/gstplugin.c: Fix for API changes.
6523 * tools/gst-inspect.c: Fix for API changes.
6524 * tools/gst-xmlinspect.c: Fix for API changes.
6525 * gst/gstelementfactory.c:
6528 * gst/gstpluginfeature.c:
6529 * gst/gstpluginfeature.h:
6530 * gst/gstregistry.c:
6531 * gst/gstregistry.h:
6532 * gst/gstregistryxml.c:
6533 * gst/gsttypefind.c:
6534 * gst/gsttypefindfactory.c:
6535 * gst/indexers/gstfileindex.c:
6536 * gst/indexers/gstmemindex.c:
6537 * gst/schedulers/Makefile.am:
6538 Change registry to keep track of both plugins and features,
6539 removing the feature tracking from plugins themselves.
6541 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6543 * check/Makefile.am:
6544 * tools/gst-register.1.in:
6547 2005-09-15 David Schleef <ds@schleef.org>
6549 * check/gst/gstplugin.c:
6550 * gst/gstelementfactory.c:
6552 * gst/gstpluginfeature.c:
6553 * gst/gstregistry.c:
6554 Getting tired of debugging. Disabled all the unreffing of
6555 plugins and features, which fixes the segfaults, but of
6556 course leaks like crazy. At least playbin works.
6558 2005-09-15 David Schleef <ds@schleef.org>
6560 * check/gst/gstplugin.c: (register_check_elements),
6561 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6563 * gst/elements/gsttypefindelement.c: Fix refcounting.
6564 * gst/gsttypefind.c:
6565 * gst/gsttypefindfactory.c:
6566 * gst/gsttypefindfactory.h:
6568 2005-09-15 David Schleef <ds@schleef.org>
6570 * gst/gstindex.c: get refcounting correct.
6571 * gst/gstregistry.c: Handle the case where a feature/plugin is
6574 2005-09-15 David Schleef <ds@schleef.org>
6576 * check/Makefile.am:
6577 * check/gst/gstplugin.c: Add test
6578 * gst/gstplugin.c: Fix problems noticed by testsuite
6580 * gst/gstregistry.c:
6581 * gst/gstregistry.h:
6583 2005-09-15 David Schleef <ds@schleef.org>
6585 * gst/gstplugin.c: Implement semi-decent recounting and locking
6586 in plugins and plugin features.
6588 * gst/gstpluginfeature.c:
6589 * gst/gstpluginfeature.h:
6590 * gst/gstregistry.c:
6592 2005-09-15 Michael Smith <msmith@fluendo.com>
6594 * gst/gstregistry.c: (gst_registry_get_feature_list):
6595 Implement this. Makes oggdemux work; decodebin still broken.
6597 2005-09-14 David Schleef <ds@schleef.org>
6599 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6601 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6602 * gst/check/Makefile.am:
6603 * libs/gst/controller/Makefile.am:
6604 * libs/gst/dataprotocol/Makefile.am:
6606 2005-09-14 David Schleef <ds@schleef.org>
6608 * configure.ac: Remove getbits library. Nothing uses it, and
6609 it should be in something like liboil if someone did want
6611 * libs/gst/Makefile.am:
6612 * libs/gst/getbits/Makefile.am:
6613 * libs/gst/getbits/gbtest.c:
6614 * libs/gst/getbits/getbits.c:
6615 * libs/gst/getbits/getbits.h:
6616 * libs/gst/getbits/gstgetbits_generic.c:
6617 * libs/gst/getbits/gstgetbits_i386.s:
6618 * libs/gst/getbits/gstgetbits_inl.h:
6620 2005-09-14 David Schleef <ds@schleef.org>
6622 * gst/Makefile.am: Dist glib-compat.h
6624 2005-09-14 David Schleef <ds@schleef.org>
6626 * configure.ac: Remove gst/registries, since it's no longer used.
6627 * gst/registries/Makefile.am:
6628 * gst/registries/gstlibxmlregistry.c:
6629 * gst/registries/gstlibxmlregistry.h:
6630 * gst/registries/gstxmlregistry.c:
6631 * gst/registries/gstxmlregistry.h:
6632 * gst/registries/registrytest.c:
6634 2005-09-14 David Schleef <ds@schleef.org>
6636 * gst/glib-compat.h:
6637 * gst/gstregistryxml.c:
6638 Convergence is near. Seriously.
6640 2005-09-14 David Schleef <ds@schleef.org>
6642 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6643 * gst/glib-compat.h:
6644 Attempt #4 to appease the buildbots.
6646 2005-09-14 David Schleef <ds@schleef.org>
6648 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6651 2005-09-14 David Schleef <ds@schleef.org>
6653 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6656 2005-09-14 David Schleef <ds@schleef.org>
6658 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6661 2005-09-14 David Schleef <ds@schleef.org>
6663 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6664 * gst/glib-compat.h: Add some functions that are in newer versions
6665 of glib than we care to require.
6666 * gst/gstregistryxml.c: Use them.
6668 2005-09-14 David Schleef <ds@schleef.org>
6670 * po/POTFILES.in: remove gst-register.c
6672 2005-09-14 David Schleef <ds@schleef.org>
6674 * docs/gst/gstreamer-docs.sgml:
6675 * docs/gst/gstreamer-sections.txt:
6676 * docs/gst/gstreamer.types:
6677 * docs/gst/tmpl/gstelement.sgml:
6678 * docs/gst/tmpl/gstplugin.sgml:
6679 * docs/gst/tmpl/gstpluginfeature.sgml:
6680 Documentation updates for registry changes.
6682 2005-09-14 David Schleef <ds@schleef.org>
6684 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6685 because we don't require glib-2.8.
6687 2005-09-14 David Schleef <ds@schleef.org>
6689 * gst/gstregistryxml.c: Added. Essentially moved out of the
6690 registries directory.
6692 2005-09-14 David Schleef <ds@schleef.org>
6694 * check/Makefile.am:
6695 * check/generic/states.c:
6699 * gst/gst_private.h:
6700 * gst/gstelementfactory.c:
6705 * gst/gstpluginfeature.c:
6706 * gst/gstpluginfeature.h:
6707 * gst/gstregistry.c:
6708 * gst/gstregistry.h:
6709 * gst/gstregistrypool.c: remove
6710 * gst/gstregistrypool.h: remove
6711 * gst/gsttypefind.c:
6712 * gst/gsttypefindfactory.c:
6714 * tools/Makefile.am:
6715 * tools/gst-compprep.c:
6716 * tools/gst-inspect.c:
6717 * tools/gst-register.c: remove
6718 * tools/gst-xmlinspect.c:
6719 Registry rewrite. Changes registry from being a file created
6720 by a tool into a simple cache file created automatically by
6721 libgstreamer. Removed gst-register (because it's no longer
6722 needed). Remove registry pools, because we only have one
6723 registry implementation (XML). Fix up other subsystems as
6726 2005-09-13 Michael Smith <msmith@fluendo.com>
6728 * gst/gstconfig.h.in:
6729 Don't Use windows linking attributes for MinGW. Fixes #316157
6731 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6733 * gst/gstutils.c: (set_state_async_thread_func),
6734 (gst_element_set_state_async):
6735 Apparently people think it's better if this function doesn't
6736 try to set the state to whatever state was asked for on the first
6737 call to this function for any object. Seriously.
6739 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6741 * check/gst/gstpipeline.c: (GST_START_TEST):
6742 * docs/gst/gstreamer-sections.txt:
6743 * gst/gstutils.c: (set_state_async_thread_func),
6744 (gst_element_set_state_async):
6746 add a "gst_element_set_state_async" method that
6747 sets the state and starts a thread to make sure the state
6748 change completes as best as it can
6750 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6752 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6753 codify design+behaviour in testsuite after discussion
6755 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6757 * docs/gst/tmpl/gstelement.sgml:
6758 * docs/manual/appendix-quotes.xml:
6760 * gst/gstelement.c: (gst_element_set_state):
6763 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6765 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6766 (gst_base_transform_prepare_output_buf),
6767 (gst_base_transform_handle_buffer):
6768 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6769 (gst_capsfilter_prepare_buf):
6770 Remove the requirement for sub-classes to call the parent
6771 implementation of prepare_output_buffer with a wrapper function.
6774 * gst/gsttagsetter.h:
6777 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6779 * docs/gst/gstreamer-sections.txt:
6782 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6784 * docs/gst/gstreamer-sections.txt:
6785 * docs/gst/tmpl/gstelement.sgml:
6786 * docs/gst/tmpl/gstplugin.sgml:
6787 * gst/gstminiobject.c:
6789 docs now stop throwing warnings
6791 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6793 * docs/gst/gstreamer-sections.txt:
6794 * docs/gst/gstreamer.types:
6795 * docs/gst/tmpl/gstpad.sgml:
6796 * docs/gst/tmpl/gsttypes.sgml:
6797 * gst/base/gstadapter.h:
6798 * gst/base/gstbasesink.h:
6799 * gst/base/gstbasesrc.h:
6809 * gst/gststructure.c:
6810 * gst/registries/gstlibxmlregistry.h:
6811 various documentation fixes
6813 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6815 * docs/gst/gstreamer-sections.txt:
6816 * docs/gst/tmpl/gstvalue.sgml:
6817 rearrange gstvalue section
6818 * gst/gstutils.c: (gst_element_state_get_name):
6820 * gst/gstvalue.c: (_gst_value_initialize):
6824 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6826 * check/gst-libs/controller.c:
6828 * gst/base/gstbasetransform.c:
6829 (gst_base_transform_default_prepare_buf),
6830 (gst_base_transform_handle_buffer):
6831 * gst/base/gstbasetransform.h:
6832 Some more basetransform changes and fixes to enable sub-classes
6833 that modify buffer metadata only.
6834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6835 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6836 (gst_capsfilter_prepare_buf):
6837 If the output pad has fixed allowed caps and input buffers
6838 don't have any, set the fixed caps on outgoing buffers.
6840 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6841 * check/elements/identity.c: (GST_START_TEST):
6842 Make the error a little clearer when the test fails because
6843 identity made a copy of the buffer.
6844 * docs/gst/gstreamer-sections.txt:
6845 New symbols in gstbasetransform.h
6846 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6847 (gst_base_transform_init), (gst_base_transform_transform_size),
6848 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6849 (gst_base_transform_default_prepare_buf),
6850 (gst_base_transform_get_unit_size),
6851 (gst_base_transform_buffer_alloc),
6852 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6853 (gst_base_transform_change_state),
6854 (gst_base_transform_set_passthrough),
6855 (gst_base_transform_set_in_place),
6856 (gst_base_transform_is_in_place):
6857 * gst/base/gstbasetransform.h:
6858 Change BaseTransform to separate in_place operate from same_caps
6859 output. in_place implies that the element can perform the transform
6860 on incoming buffers in-place, even if the caps on the output are
6862 Sub-class elements can now implement special buffer allocation
6863 methods for outgoing buffers if they wish to.
6864 Big documentation addition.
6865 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6866 * gst/elements/gstelements.c:
6867 Changes for basetransform modifications.
6868 * gst/elements/Makefile.am:
6869 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6870 Compile fix. Extra debug output.
6872 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6874 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6876 add tests for valid pad naming
6877 * gst/check/gstcheck.c: (gst_check_log_message_func),
6878 (gst_check_log_critical_func):
6880 remove printing of code, it is fragile when the code contains
6881 % and the line number is enough info
6882 * gst/check/gstcheck.h:
6883 * gst/gstpad.c: (gst_pad_template_new):
6886 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6889 say what CHECK flags we use
6890 * docs/libs/gstreamer-libs.types:
6891 * libs/gst/controller/Makefile.am:
6892 * libs/gst/controller/gst-controller.c:
6893 * libs/gst/controller/gst-controller.h:
6894 * libs/gst/controller/gst-helper.c:
6895 * libs/gst/controller/gst-interpolation.c:
6896 * libs/gst/controller/gstcontroller.c:
6897 * libs/gst/controller/gsthelper.c:
6898 * libs/gst/controller/gstinterpolation.c:
6899 * tools/gst-inspect.c: (print_plugin_info):
6900 we don't use dashes in header names
6902 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6904 * check/Makefile.am:
6905 * check/gst/.cvsignore:
6906 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6907 (gst_pipeline_suite), (main):
6908 adding a test for pipelines and state changes
6909 * gst/gstutils.c: (get_state_func):
6911 * gstreamer.spec.in:
6914 2005-09-08 Michael Smith <msmith@fluendo.com>
6916 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6917 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6918 (gst_file_src_is_seekable), (gst_file_src_get_size),
6919 (gst_file_src_start):
6920 * gst/elements/gstfilesrc.h:
6921 Various fixes for unseekable, unmmapable, and non-normal files, so
6922 that fallback to read() rather than mmap() works.
6923 * gst/gstevent.c: (gst_event_new_newsegment):
6924 Allow newsegment events with segment_start == segment_end, as will
6925 correctly happen if you use filesrc on a zero-size file, for
6928 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6930 * gst/gstplugin.c: (gst_plugin_load_file):
6931 Call g_module_close when we don't load the module
6933 * gst/registries/gstlibxmlregistry.c:
6934 (gst_xml_registry_get_property):
6935 Port leak fix from 0.8
6937 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6939 * docs/gst/gstreamer-docs.sgml:
6940 * docs/gst/tmpl/.cvsignore:
6941 * docs/gst/tmpl/gsttrace.sgml:
6942 * docs/gst/tmpl/gsttrashstack.sgml:
6951 * gst/gsttaginterface.c:
6952 * gst/gsttaginterface.h:
6955 * gst/gsttagsetter.c:
6956 * gst/gsttagsetter.h:
6959 * gst/gsttrashstack.c:
6960 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6961 inlined docs for gsttrace, gsttrashstack
6963 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6966 * gst/elements/gstbufferstore.h:
6967 * gst/elements/gsttypefindelement.c:
6968 * gst/elements/gsttypefindelement.h:
6970 * gst/gsttypefind.c:
6971 * gst/gsttypefind.h:
6972 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6973 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6974 (gst_type_find_factory_dispose),
6975 (gst_type_find_factory_unload_thyself),
6976 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6977 (gst_type_find_factory_get_caps),
6978 (gst_type_find_factory_get_extensions),
6979 (gst_type_find_factory_call_function):
6980 * gst/gsttypefindfactory.h:
6981 * gst/registries/gstlibxmlregistry.c:
6982 * gst/registries/gstxmlregistry.c:
6983 splitted gsttypefind into gsttypefind, gsttypefindfactory
6985 2005-09-07 Andy Wingo <wingo@pobox.com>
6987 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6988 condition whereby the pad's task function is entered before the
6989 pad_mode variable was set.
6991 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6993 * gst/gstpad.c: (gst_pad_alloc_buffer):
6994 Catch misbehaving pad_alloc functions that don't
6995 set up caps and do it for them.
6997 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6999 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7001 * docs/gst/tmpl/.cvsignore:
7002 * docs/gst/tmpl/gstmemchunk.sgml:
7003 * docs/gst/tmpl/gstparse.sgml:
7004 * docs/gst/tmpl/gsttaglist.sgml:
7005 * docs/gst/tmpl/gsttagsetter.sgml:
7006 * docs/gst/tmpl/gsttypefind.sgml:
7007 * docs/gst/tmpl/gsttypefindfactory.sgml:
7008 * gst/gstmemchunk.c:
7011 * gst/gsttaginterface.c:
7012 * gst/gsttypefind.c:
7013 * gst/gsttypefind.h:
7016 === release 0.9.2 ===
7018 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
7023 releasing 0.9.2, "South"
7025 2005-09-05 Andy Wingo <wingo@pobox.com>
7027 * gst/registries/gstxmlregistry.h:
7028 * gst/registries/gstxmlregistry.c: Um... resurrect...
7030 * gst/registries/gstxmlregistry.h:
7031 * gst/registries/gstxmlregistry.c: and update to newer API.
7032 Incidentally they should be a bit faster now that they don't have
7035 2005-09-05 Andy Wingo <wingo@pobox.com>
7037 * gst/registries/gstxmlregistry.h:
7038 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7039 replaced by the libxml registry a while back
7041 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7043 * docs/gst/tmpl/gstplugin.sgml:
7044 * gst/elements/gstelements.c:
7046 * gst/gstplugin.c: (gst_plugin_register_func),
7047 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7048 (gst_plugin_get_source):
7050 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7051 (gst_xml_registry_save_plugin):
7052 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7053 (gst_xml_registry_save_plugin):
7054 * tools/gst-inspect.c: (print_plugin_info):
7055 add a "source" plugin description field, to represent the source
7056 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7057 will set it to PACKAGE, which is automake's idea of the name of
7060 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7066 * docs/faq/Makefile.am:
7067 * docs/gst/tmpl/gstelement.sgml:
7068 * docs/gst/tmpl/gsttypes.sgml:
7069 * docs/htmlinstall.mak:
7070 * docs/manual/Makefile.am:
7071 * docs/pwg/Makefile.am:
7072 reorganize doc build a little
7073 split out docbook and gtk-doc stuff
7074 have two separate --enable's and enable them through autogen
7075 but disable by default in configure (to be similar to other
7077 * gstreamer.spec.in:
7078 clean up docs install
7098 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7100 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7103 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7104 (gst_fake_sink_change_state):
7105 Make state change function thread-safe.
7107 * gst/gstpad.c: (gst_pad_alloc_buffer):
7108 Set offset on generic buffer allocated by fallback.
7110 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7112 * docs/gst/gstreamer-sections.txt:
7113 * docs/gst/tmpl/gstelement.sgml:
7115 * libs/gst/controller/gst-controller.c:
7116 (gst_controlled_property_set_interpolation_mode),
7117 (gst_controlled_property_new),
7118 (gst_controller_find_controlled_property):
7119 run the wingo-magic script against the docs
7121 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7123 * docs/gst/gstreamer-docs.sgml:
7124 * docs/gst/gstreamer-sections.txt:
7125 * docs/gst/tmpl/.cvsignore:
7126 * docs/gst/tmpl/gstelementdetails.sgml:
7127 * docs/gst/tmpl/gstelementfactory.sgml:
7130 * gst/gstelementfactory.c:
7131 * gst/gstelementfactory.h:
7132 merged elementdetails docs into elementfactory docs
7135 2005-09-02 Andy Wingo <wingo@pobox.com>
7137 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7138 consider this enum an enum and not a flags.
7140 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7142 * docs/gst/gstreamer-docs.sgml:
7143 * docs/gst/tmpl/.cvsignore:
7144 * docs/gst/tmpl/gstghostpad.sgml:
7145 * docs/gst/tmpl/gstiterator.sgml:
7146 * docs/gst/tmpl/gstmacros.sgml:
7147 * docs/gst/tmpl/gstrealpad.sgml:
7148 * docs/gst/tmpl/gstregistry.sgml:
7149 * docs/gst/tmpl/gstregistrypool.sgml:
7150 * docs/gst/tmpl/gststructure.sgml:
7151 * docs/gst/tmpl/gstsystemclock.sgml:
7152 * docs/gst/tmpl/gsttrace.sgml:
7153 * gst/gstghostpad.c:
7155 * gst/gstmemchunk.c:
7156 * gst/gstmemchunk.h:
7158 * gst/gstregistry.c:
7159 * gst/gstregistrypool.c:
7160 * gst/gststructure.c:
7161 * gst/gstsystemclock.c:
7164 2005-09-02 Andy Wingo <wingo@pobox.com>
7166 * gst/gstelement.h (GstState): Renamed from GstElementState,
7167 changed to be a normal enum instead of flags.
7168 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7169 munged to be GST_STATE_CHANGE_*.
7170 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7171 work with the new state representation.
7172 (GstStateChange): New enumeration of possible state transitions.
7173 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7174 (GstElementClass::change_state): Pass the GstStateChange along as
7175 an argument. Helps language bindings, so they don't have to use
7176 tricky lock-needing macros like GST_STATE_CHANGE ().
7178 * scripts/update-states (file): New script. Run it on a file to
7179 update it for state naming and API changes. Updates files in
7182 * All files updated for the new API.
7184 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7186 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7187 * gst/gstutils.c: (gst_util_set_value_from_string),
7188 (gst_util_set_object_arg):
7189 fix a bunch of unchecked return values
7190 * tools/gst-complete.c: (main):
7191 * gstreamer.spec.in:
7194 2005-09-01 Wim Taymans <wim@fluendo.com>
7196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7197 (gst_base_sink_event), (gst_base_sink_do_sync),
7198 (gst_base_sink_handle_event):
7199 * gst/base/gstbasesink.h:
7200 Handle newsegments more correctly.
7205 * gst/gstevent.c: (gst_event_new_newsegment):
7206 A newsegment cannot have a start_time of -1
7208 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7210 * win32/gstenumtypes.c:
7211 * win32/gstenumtypes.h:
7214 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7216 * libs/gst/controller/gst-controller.c:
7217 (gst_controlled_property_set_interpolation_mode),
7218 (gst_controlled_property_new):
7221 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7223 * docs/faq/gst-uninstalled:
7228 * gst/gstutils.c: (gst_element_link_filtered):
7230 add gst_element_link_filtered
7232 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7234 * docs/gst/gstreamer-docs.sgml:
7235 * docs/gst/gstreamer-sections.txt:
7236 * docs/gst/tmpl/.cvsignore:
7237 * docs/gst/tmpl/gsterror.sgml:
7238 * docs/gst/tmpl/gstfilter.sgml:
7239 * docs/gst/tmpl/gsturihandler.sgml:
7240 * docs/gst/tmpl/gsturitype.sgml:
7241 * docs/gst/tmpl/gstutils.sgml:
7242 * docs/gst/tmpl/gstxml.sgml:
7250 inlined more docs, fixed double id-ref
7252 2005-08-31 Wim Taymans <wim@fluendo.com>
7254 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7255 (gst_base_transform_handle_buffer):
7256 Passthrough elements don't need the caps as they don't care.
7258 2005-08-31 Wim Taymans <wim@fluendo.com>
7260 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7261 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7262 Don't leak refcounts on buffers.
7264 2005-08-31 Wim Taymans <wim@fluendo.com>
7266 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7267 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7268 (gst_base_transform_chain), (gst_base_transform_change_state):
7269 * gst/base/gstbasetransform.h:
7270 Handle the case where we are not negotiated more gracefully.
7272 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7274 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7275 (gst_file_src_map_region):
7276 Set READONLY flag on mmap'ed buffers, otherwise
7277 gst_buffer_make_writable() won't work properly (#314708).
7279 2005-08-31 Wim Taymans <wim@fluendo.com>
7281 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7282 passthrough elements can even do inplace on non writable
7283 buffers (as they don't touch them).
7285 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7287 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7288 (gst_test_mono_source_set_property),
7289 (gst_test_mono_source_class_init), (GST_START_TEST),
7290 (gst_controller_suite):
7291 more tests (hehe I have the most)
7293 describe popping messages whenusing mulltiple sources
7294 * libs/gst/controller/gst-controller.c:
7295 (gst_controlled_property_set_interpolation_mode),
7296 (gst_controlled_property_new):
7297 * libs/gst/controller/gst-controller.h:
7298 * libs/gst/controller/gst-interpolation.c:
7299 implement boolean properties
7301 2005-08-31 Wim Taymans <wim@fluendo.com>
7303 * gst/gstminiobject.c: (gst_mini_object_ref):
7304 Cannot assert that the refcount has to be positive
7305 since a disposed object can be resurrected.
7307 2005-08-31 Wim Taymans <wim@fluendo.com>
7309 * gst/gstpad.c: (gst_pad_init):
7310 Revert change, need to first fix badly behaving
7313 2005-08-30 Wim Taymans <wim@fluendo.com>
7315 * check/elements/fakesrc.c: (setup_fakesrc):
7316 * check/elements/identity.c: (setup_identity):
7317 Activate pads before using them.
7319 2005-08-30 Wim Taymans <wim@fluendo.com>
7321 * gst/base/gstadapter.c: (gst_adapter_flush):
7322 Flushing out 0 bytes is ok for this function.
7324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7325 no newsegment gives a warning and sets the start/stop to
7328 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7329 (gst_base_transform_set_passthrough):
7332 * gst/gstminiobject.c: (gst_mini_object_ref):
7333 Check refcount here too.
7335 * gst/gstpad.c: (gst_pad_init):
7336 Pads are initially flushing and refusing data.
7338 * gst/gstutils.c: (gst_element_link_pads_filtered):
7339 When adding a capsfilter element make sure it has the
7340 same state as the parent bin.
7342 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7344 * docs/gst/tmpl/.cvsignore:
7345 * docs/gst/tmpl/gstformat.sgml:
7346 * docs/gst/tmpl/gstversion.sgml:
7350 * gst/gstversion.h.in:
7351 more docs and two more inlined
7353 2005-08-30 Wim Taymans <wim@fluendo.com>
7355 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7356 Don't sync to clock.
7358 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7360 * docs/gst/gstreamer-sections.txt:
7361 ultral33t func10ns deserve to appear in the docs actually
7362 * docs/gst/tmpl/.cvsignore:
7363 * docs/gst/tmpl/gstcompat.sgml:
7364 * docs/gst/tmpl/gstconfig.sgml:
7365 * gst/check/gstcheck.c:
7367 * gst/gstconfig.h.in:
7370 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7372 * docs/gst/tmpl/.cvsignore:
7373 * docs/gst/tmpl/gstquery.sgml:
7374 * docs/gst/tmpl/gstutils.sgml:
7377 inlined and extended docs
7379 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7381 * check/gst-libs/controller.c: (GST_START_TEST),
7382 (gst_controller_suite):
7384 * docs/gst/tmpl/gstutils.sgml:
7385 * docs/libs/gstreamer-libs-sections.txt:
7386 * docs/libs/tmpl/gstdataprotocol.sgml:
7388 * examples/controller/audio-example.c: (main):
7389 controller example works now
7392 * tools/gst-inspect.c: (print_element_properties_info):
7393 show param spec flags
7395 2005-08-29 Andy Wingo <wingo@pobox.com>
7397 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7399 2005-08-28 Andy Wingo <wingo@pobox.com>
7401 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7402 as having two arguments instead of just one. Allows superclasses
7403 to access information on subclasses -- see the terrible for() loop
7404 in gtype.c:g_type_create_instance for the reason why. All callers
7407 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7409 * docs/design/part-messages.txt:
7411 * docs/gst/tmpl/.cvsignore:
7412 * docs/gst/tmpl/gstcaps.sgml:
7413 * docs/gst/tmpl/gstclock.sgml:
7420 added descriptions for bus and message
7421 inline caps and clock docs
7423 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7429 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7431 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7434 2005-08-26 Andy Wingo <wingo@pobox.com>
7436 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7437 element_set_state's return val.
7438 (test_2_elements): Add test that's been disabled for months.
7440 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7441 can-activate-pull properties.
7443 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7444 can-activate-pull properties. Implement is_seekable so fakesrc can
7445 operate in pull mode.
7447 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7449 (gst_base_sink_activate, gst_base_sink_activate_pull)
7450 (gst_base_sink_activate_push): Make activation mode choosing work.
7452 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7453 is right. Make pull mode work. Post an eos before pausing in pull
7455 (gst_base_sink_change_state): Pay attention to the core's
7456 change_state() return val.
7458 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7459 has-getrange properties. Cleanups.
7461 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7462 has_getrange and replace with can_activate_pull and
7465 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7466 locking comments. Remove has_loop, has_chain and replace with
7467 can_activate_pull and can_activate_push.
7469 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7472 * examples/Makefile.am:
7473 * examples/metadata/Makefile.am:
7474 * examples/metadata/read-metadata.c: (message_loop),
7475 (have_pad_handler), (make_pipeline), (print_tag), (main):
7476 Add metadata reading example that loops over a list of filenames,
7477 dumping any tags found.
7479 * gst/gstbus.c: (gst_bus_dispose):
7480 * gst/gstelement.c: (gst_element_dispose):
7481 Release a few potentially-held references in dispose.
7483 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7485 * docs/gst/tmpl/gstminiobject.sgml:
7486 do *not* add tmpl/*.sgml files to CVS!
7488 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7490 * libs/gst/bytestream/.cvsignore:
7491 * libs/gst/bytestream/Makefile.am:
7492 * libs/gst/bytestream/adapter.c:
7493 * libs/gst/bytestream/adapter.h:
7494 * libs/gst/bytestream/bytestream.c:
7495 * libs/gst/bytestream/bytestream.h:
7496 * libs/gst/bytestream/filepad.c:
7497 * libs/gst/bytestream/filepad.h:
7498 removing obsolete files
7500 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7502 * docs/gst/gstreamer-docs.sgml:
7503 * docs/libs/gstreamer-libs-docs.sgml:
7504 disabed additional index entries again, as this makes docs-gen just
7505 slow and they aren't useful yet
7506 * docs/libs/gstreamer-libs-sections.txt:
7507 little -section.txt cleanup for libs
7509 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7512 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7513 fix up some debugging
7514 (gst_base_transform_get_unit_size),
7515 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7516 (gst_base_transform_handle_buffer):
7517 * gst/base/gstbasetransform.h:
7518 handle and store timed NEWSEGMENT events so that subclasses that
7519 calculate time by counting samples have a segment_start time they
7520 need to add to their timestamps - see audioresample
7522 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7525 removed ';' from the end of macro defs
7526 * docs/gst/gstreamer-docs.sgml:
7527 * docs/gst/gstreamer-sections.txt:
7528 * docs/gst/tmpl/.cvsignore:
7530 * gst/gstelement.c: (gst_element_class_init),
7531 (gst_element_set_state), (activate_pads),
7532 (gst_element_save_thyself):
7533 * gst/gstevent.c: (gst_event_new_newsegment):
7535 * gst/gstiterator.c:
7536 * gst/gstiterator.h:
7539 * gst/gstutils.c: (gst_pad_query_convert):
7541 fixed parameter name mismatches between source, header and docs
7542 added some more docs, resolved the last batch of unused elements in
7543 docs (now someone needs to doc them)
7545 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7547 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7548 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7549 don't walk through the plugins backwards. Where is all this
7550 reversed logic coming from ?
7552 2005-08-25 Wim Taymans <wim@fluendo.com>
7554 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7555 (gst_base_transform_transform_size),
7556 (gst_base_transform_configure_caps),
7557 (gst_base_transform_get_unit_size),
7558 (gst_base_transform_buffer_alloc),
7559 (gst_base_transform_change_state):
7560 * gst/base/gstbasetransform.h:
7561 Cache caps unit_size.
7562 Make sure we cannot negotiate up and downstream at the
7565 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7567 * gst/gst.c: (init_pre), (init_post):
7568 register the installed plugin path after the env var
7569 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7570 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7571 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7572 directories, so the tests can prefer uninstalled over installed
7574 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7576 * gst/base/gstbasetransform.h:
7581 2005-08-25 Wim Taymans <wim@fluendo.com>
7583 * gst/gstbin.c: (bin_bus_handler):
7584 Be a bit more conservative about the posted message.
7586 * gst/gstbus.c: (gst_bus_post):
7587 Some cleanups, warn wrong return values.
7589 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7591 * check/gst/gstbin.c: (GST_START_TEST):
7592 * gst/gstbin.c: (bin_bus_handler):
7593 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7594 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7595 (gst_message_new_warning), (gst_message_new_tag),
7596 (gst_message_new_state_changed), (gst_message_new_segment_start),
7597 (gst_message_new_segment_done), (gst_message_new_custom):
7599 * tools/gst-launch.c: (event_loop):
7600 * tools/gst-md5sum.c: (event_loop):
7601 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7603 2005-08-25 Wim Taymans <wim@fluendo.com>
7605 * check/generic/states.c: (GST_START_TEST):
7606 Cleanup can be done at the end.
7608 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7609 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7610 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7611 Oh boy.. Thanks for finding this, Thomas.
7613 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7615 * docs/gst/gstreamer.types:
7618 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7620 * docs/gst/gstreamer-docs.sgml:
7621 * docs/gst/gstreamer-sections.txt:
7622 * docs/gst/tmpl/.cvsignore:
7624 * gst/gstiterator.c:
7626 * gst/registries/gstxmlregistry.h:
7627 added missing classes and symbols (123 more to go)
7628 removed removed symbols from section file
7629 fixed many doc-comments
7631 2005-08-24 Wim Taymans <wim@fluendo.com>
7633 * check/generic/states.c: (GST_START_TEST):
7634 Make sure all tasks are stopped.
7636 * check/gst/gstbin.c: (GST_START_TEST):
7637 Unref after usage for proper valgrinding.
7639 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7640 Really wait for the task to stop before destroying the
7643 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7644 (gst_queue_src_activate_push):
7645 Small cleanups. Don't stop the task when we did not start
7648 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7649 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7650 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7653 Protect the stream lock with the object lock.
7654 Disallow setting the stream lock when running.
7655 Add cleanup_all to wait for the threadpool to finish.
7656 Remove code to autoallocate a mutex if none was provided.
7657 Add _join() to wait for a task to stop.
7658 Protect the thread pool with a global lock.
7660 2005-08-24 Wim Taymans <wim@fluendo.com>
7662 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7663 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7664 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7665 * gst/base/gstbasesink.h:
7666 Handle newsegment events correctly.
7667 Drop buffers out of the segment range.
7669 2005-08-22 Andy Wingo <wingo@pobox.com>
7671 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7672 macro, implements an interface and gstimplementsinterface for a
7675 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7677 * check/Makefile.am:
7678 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7679 add a test that does a bunch of state changes on elements
7680 needs some fixing for valgrind
7681 * check/states/sinks.c: (gst_object_suite):
7684 add prototype for gst_caps_is_equal_fixed
7686 * gst/gstregistrypool.c:
7689 2005-08-24 Andy Wingo <wingo@pobox.com>
7691 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7692 convert a negative value. Doesn't make much sense. Mostly this is
7693 here to force callers to ensure -1 maps to -1.
7695 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7697 * docs/pwg/advanced-types.xml:
7698 Well done to Michael for catching my deliberate introduction
7699 of this spelling mistake.
7700 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7702 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7703 unlink pads before removing the element from the bin.
7705 2005-08-24 Andy Wingo <wingo@pobox.com>
7707 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7708 the same thing as GST_DEBUG=*:4.
7709 (parse_debug_level, parse_debug_category): New helper parsers.
7711 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7713 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7714 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7715 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7716 (gst_base_transform_buffer_alloc),
7717 (gst_base_transform_handle_buffer):
7718 use gboolean return values and pointers to size so we can use the
7719 full GST_BUFFER_SIZE range (guint) for buffer sizes
7720 use GstPadDirection for transform_caps
7721 * gst/base/gstbasetransform.h:
7722 rename get_size to get_unit_size since that's what it is
7723 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7724 use GstPadDirection for transform_caps
7725 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7727 cleanup and debugging
7729 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7731 * gst/gstelement.c: (gst_element_class_init),
7732 (gst_element_set_state), (activate_pads),
7733 (gst_element_save_thyself):
7734 * tools/gst-compprep.c: (main):
7735 * tools/gst-inspect.c: (print_element_properties_info):
7736 * tools/gst-xmlinspect.c: (print_element_properties):
7737 Fixed long standing mem-leak
7739 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7741 * check/gst/gstbin.c: (GST_START_TEST):
7742 * gst/gstbin.c: (bin_bus_handler):
7743 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7744 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7745 (gst_message_new_warning), (gst_message_new_tag),
7746 (gst_message_new_state_changed), (gst_message_new_segment_start),
7747 (gst_message_new_segment_done), (gst_message_new_custom):
7749 * tools/gst-launch.c: (event_loop):
7750 * tools/gst-md5sum.c: (event_loop):
7751 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7752 that applications can sensibly post custom messages with references
7753 to their own objects.
7755 2005-08-24 Andy Wingo <wingo@pobox.com>
7757 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7760 2005-08-24 Wim Taymans <wim@fluendo.com>
7762 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7763 (gst_base_transform_transform_caps),
7764 (gst_base_transform_transform_size),
7765 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7766 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7767 (gst_base_transform_handle_buffer):
7768 * gst/base/gstbasetransform.h:
7769 Many fixes and new features added by Thomas. Can now also do
7770 transforms with variable sizes and a custom fixate_caps function.
7772 2005-08-24 Wim Taymans <wim@fluendo.com>
7774 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7778 Cast to ClockTime before formatting to time.
7783 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7785 * check/gst-libs/controller.c: (GST_START_TEST),
7786 (gst_controller_suite):
7787 * docs/gst/tmpl/gstcaps.sgml:
7788 * docs/gst/tmpl/gstghostpad.sgml:
7789 * docs/gst/tmpl/gstquery.sgml:
7790 * docs/gst/tmpl/gstutils.sgml:
7791 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7792 (gst_object_sink_values), (gst_object_get_value_arrays),
7793 (gst_object_get_value_array):
7794 gracefully handle helper method calls to objects that are not beeing
7795 controlled, added test case for that
7797 2005-08-23 Wim Taymans <wim@fluendo.com>
7799 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7800 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7801 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7802 (gst_event_parse_qos), (gst_event_new_seek),
7803 (gst_event_parse_seek):
7805 Some more debugging output and doc cleanups.
7807 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7808 Fix possible deadlock.
7810 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7812 * docs/gst/gstreamer-docs.sgml:
7813 * docs/gst/gstreamer-sections.txt:
7814 * docs/gst/gstreamer.types:
7815 * docs/gst/tmpl/.cvsignore:
7820 added 100 symbols from gstreamer-unused.txt to the right sections
7821 fixed more broken comments
7822 added GstBus to docs
7824 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7826 * docs/gst/gstreamer-sections.txt:
7827 * docs/gst/tmpl/.cvsignore:
7828 * docs/gst/tmpl/gstbin.sgml:
7829 * docs/gst/tmpl/gstbuffer.sgml:
7830 * gst/base/gstbasesrc.c:
7831 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7834 * tools/gst-launch.1.in:
7835 inlined more doc comments, added missing comments and fixed comments
7838 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7840 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7844 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7846 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7847 * gst/gststructure.h:
7848 add a fixate function for booleans; add a FIXME that these func
7849 names should probably be gst_structure_fixate_*
7851 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7853 * docs/gst/gstreamer-docs.sgml:
7854 * docs/gst/gstreamer-sections.txt:
7856 * gst/gstbin.c: (gst_bin_get_type),
7857 (gst_bin_child_proxy_get_child_by_index),
7858 (gst_bin_child_proxy_get_children_count),
7859 (gst_bin_child_proxy_init):
7860 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7861 (gst_child_proxy_get_child_by_index),
7862 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7863 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7864 (gst_child_proxy_get), (gst_child_proxy_set_property),
7865 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7866 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7867 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7868 * gst/gstchildproxy.h:
7869 * gst/parse/grammar.y:
7870 * tools/gst-inspect.c: (print_interfaces),
7871 (print_element_properties_info), (print_element_info):
7872 ported gstchildproxy over from 0.8
7873 ported gst-inspect fixes and enhancements over from 0.8
7875 2005-08-22 Wim Taymans <wim@fluendo.com>
7877 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7878 (gst_base_transform_handle_buffer):
7879 Also call the transform function if we have ANY caps.
7881 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7884 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7886 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7887 Don't pretend to handle seek events if the source is not seekable
7889 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7892 Remove extra parameter to debug output
7894 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7895 (gst_base_src_do_seek), (gst_base_src_activate_push):
7896 Fix seek event handling.
7898 * gst/gstpipeline.c: (gst_pipeline_change_state):
7899 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7900 (gst_queue_src_activate_push):
7901 Don't start the src pad task on FLUSH_STOP if the pad
7905 2005-08-22 Wim Taymans <wim@fluendo.com>
7907 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7908 Added check for gst_static_caps_get() refcounting.
7910 2005-08-22 Wim Taymans <wim@fluendo.com>
7912 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7913 Make _static_caps_get() refcounting sane.
7915 * gst/gstelement.c: (gst_element_set_state):
7916 Add g_return_val_if_fail() to protect against segfaults.
7918 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7920 * docs/gst/tmpl/gstevent.sgml:
7923 inlined remaining docs, added missing doc comments
7925 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7927 * check/gst/gstbin.c: (GST_START_TEST):
7928 since we don't know when preroll is done, use refcount range
7930 * gst/check/gstcheck.h:
7931 add macro for checking refcount range
7933 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7935 * check/Makefile.am:
7936 clean up environment for when registry gets built versus
7937 when actual tests are run; valgrind seems to not report
7938 leaks if GST_PLUGIN_PATH is set to some specific values
7939 * check/gst/gstbin.c: (GST_START_TEST):
7940 add more refcounting checks; maybe this exposes a
7943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7944 * gst/check/gstcheck.h:
7945 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7946 (gst_bin_change_state):
7947 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7948 add/fix debugging/whitespace
7950 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7952 * check/gst/gstevent.c: (event_probe), (test_event),
7954 Er, don't call gst_bin_watch_for_state_change you idiot.
7956 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7958 * check/Makefile.am:
7959 Use CHECK_CFLAGS and CHECK_LIBS
7960 * check/gst/gstevent.c: (event_probe), (test_event),
7963 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7964 (gst_base_src_start), (gst_base_src_stop),
7965 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7966 (gst_base_src_change_state):
7967 Sprinkle gst_base_src_stop liberally around error paths to fix
7968 problems reusing a source after failed state changes.
7969 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7970 (helper_find_suggest), (gst_type_find_helper):
7971 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7973 * docs/gst/tmpl/gstevent.sgml:
7974 Migrate part of the docs from the SGML file. Wait for ensonic to
7975 tell me how I did it wrong ;)
7976 * tools/gst-typefind.c: (main):
7977 Extra robustness to state changes between files.
7979 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7981 * check/Makefile.am:
7982 don't valgrind the controller test - it's leaking - Stefan, HELP
7983 * gst/check/gstcheck.c: (gst_check_message_error),
7984 (gst_check_chain_func), (gst_check_setup_element),
7985 (gst_check_teardown_element), (gst_check_setup_src_pad),
7986 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7987 (gst_check_teardown_sink_pad):
7988 * gst/check/gstcheck.h:
7989 add a bunch of methods to set up elements, and src and sink pads
7990 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7991 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7996 whitespace/doc fixes
7998 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8001 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8002 be handled by the application and not always printed as well
8004 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8006 * check/Makefile.am:
8008 * gst/check/gstcheck.c: (gst_check_message_error):
8009 * gst/check/gstcheck.h:
8010 add a fail_unless_equals_int
8011 add fail_unless for error messages
8013 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8015 * check/Makefile.am:
8017 * common/Makefile.am:
8020 factor out some of the common stuff so we can use it
8022 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8024 * check/Makefile.am:
8025 * check/gst/gstiterator.c: (GST_START_TEST):
8026 * check/gst/gstsystemclock.c: (GST_START_TEST),
8027 (gst_systemclock_suite):
8028 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8032 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8034 * check/elements/.cvsignore:
8035 * check/elements/gstfakesrc.c:
8036 rename to name of element
8037 * check/elements/identity.c: (chain_func), (event_func),
8038 (setup_identity), (cleanup_identity), (GST_START_TEST),
8039 (identity_suite), (main):
8040 add a test for identity
8041 * check/Makefile.am:
8042 * pkgconfig/Makefile.am:
8043 * pkgconfig/gstreamer-check.pc.in:
8044 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8048 move the check stuff to a library that gets installed
8049 * check/gst-libs/controller.c: (GST_START_TEST):
8050 * check/gst-libs/gdp.c:
8051 * check/gst/gst.c: (GST_START_TEST):
8052 * check/gst/gstbin.c:
8053 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8054 * check/gst/gstbus.c:
8055 * check/gst/gstcaps.c: (GST_START_TEST):
8056 * check/gst/gstelement.c:
8057 * check/gst/gstghostpad.c:
8058 * check/gst/gstiterator.c:
8059 * check/gst/gstmessage.c:
8060 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8061 * check/gst/gstobject.c:
8062 * check/gst/gstpad.c: (GST_START_TEST):
8063 * check/gst/gststructure.c: (GST_START_TEST):
8064 * check/gst/gstsystemclock.c: (GST_START_TEST),
8065 (gst_systemclock_suite):
8066 * check/gst/gsttag.c: (gst_tag_suite):
8067 * check/gst/gstvalue.c:
8068 * check/pipelines/cleanup.c:
8069 * check/pipelines/simple_launch_lines.c:
8070 * check/states/sinks.c:
8071 change include statement
8073 * docs/gst/gstreamer-sections.txt:
8074 * docs/gst/tmpl/gstpad.sgml:
8075 document more pad stuff
8076 * gst/gstminiobject.c: (gst_mini_object_ref),
8077 (gst_mini_object_unref):
8080 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8082 * docs/gst/tmpl/gst.sgml:
8084 eliminate another tmpl file, fix spelling in the long-description
8086 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8088 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8089 (test_event), (timediff), (gstevents_suite):
8090 Should fix build on 64-bit arch's
8092 2005-08-18 Andy Wingo <wingo@pobox.com>
8094 Make sure that when a pipeline goes to PLAYING, that data has
8095 actually hit the sink.
8097 * check/states/sinks.c (test_sink): A sink that doesn't get any
8098 data shouldn't return SUCCESS for going to either PLAYING or
8099 PAUSED. Test also the return values on the way back down.
8101 * gst/gstelement.c (gst_element_set_state): When changing the
8102 state of an element currently changing state asynchronously, go to
8103 lost-state after commiting the pending state. Makes future calls
8104 to get_state continue to return ASYNC.
8106 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8107 ASYNC when going to PLAYING if we still don't have preroll, as can
8108 happen with live sources.
8110 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8112 * docs/pwg/advanced-types.xml:
8113 Hack long paragraph into 2 chunks as a workaround for buggy
8114 jadetex version in sid and breezy that loops infinitely and
8117 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8119 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8120 (test_event), (timediff), (gstevents_suite):
8121 Provide more error margin in clock measurements to allow for
8122 g_get_current_time inaccuracies.
8124 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8126 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8127 (test_event), (timediff), (gstevents_suite):
8128 Fix error message output so I might be able to tell why the
8129 test works here but fails on the build farm.
8131 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8133 * check/Makefile.am:
8134 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8135 (test_event), (timediff), (gstevents_suite), (main):
8138 * docs/design/part-seeking.txt:
8141 * docs/gst/tmpl/gstevent.sgml:
8142 * docs/gst/tmpl/gstfakesrc.sgml:
8145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8146 Treat a buffer-without-newsegment the same as a receiving
8147 a newsegment not in time format, and disable syncing to the clock
8150 * gst/gstbus.c: (gst_bus_set_sync_handler):
8151 Assert if anyone tries to replace the existing sync_handler for bus,
8152 as only the owner should be setting it.
8155 Have a fixed set of custom event enums with events identified by
8156 their structure name (as in 0.8), rather than a free-for-all
8157 allowing collisions between enum values from different plugins.
8159 * gst/gstpad.c: (gst_pad_class_init):
8162 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8163 Handle out-of-band downstream events from the sending thread.
8165 2005-08-17 Andy Wingo <wingo@pobox.com>
8167 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8168 play-timeout==0 to mean no timeout at all. In that case, don't
8169 bother with a get_state or a warning, just return directly, even
8172 * gst/base/gstbasetransform.c: Debug changes.
8175 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8176 ensure bins post state change messages. A bit of a hack but I can't
8177 think of a way to avoid it.
8179 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8181 2005-08-16 Andy Wingo <wingo@pobox.com>
8183 * gst/base/gstadapter.h:
8184 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8185 peek() but you own the data. Not terribly efficient atm.
8187 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8189 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8190 (gst_element_found_tags):
8192 Add two utility functions for tag handling.
8194 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8196 * docs/manual/advanced-dataaccess.xml:
8197 * docs/manual/basics-helloworld.xml:
8198 Fix docs to use _bin_add() before _link(), which fixes the examples
8199 with recent core versions (reported by Madhan Raj M
8200 <raj_madan@rediffmail.com>, #313199).
8202 2005-08-16 Wim Taymans <wim@fluendo.com>
8204 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8205 Added subtract checks.
8207 * docs/design/part-events.txt:
8208 Some more docs about newsegment
8210 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8213 * gst/gstcaps.c: (gst_caps_to_string):
8214 Add comments, cleanups.
8216 * gst/gstelement.c: (gst_element_save_thyself):
8219 * gst/gstvalue.c: (gst_value_collect_int_range),
8220 (gst_string_unwrap), (gst_value_union_int_int_range),
8221 (gst_value_union_int_range_int_range),
8222 (gst_value_intersect_int_int_range),
8223 (gst_value_intersect_int_range_int_range),
8224 (gst_value_intersect_double_double_range),
8225 (gst_value_intersect_double_range_double_range),
8226 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8227 (gst_value_subtract_int_range_int),
8228 (gst_value_subtract_double_range_double),
8229 (gst_value_subtract_double_range_double_range),
8230 (gst_value_subtract_from_list), (gst_value_subtract_list),
8231 (gst_value_can_compare), (gst_value_compare_fraction):
8232 Cleanups, add comments, remove unneeded asserts.
8234 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8236 * tools/gst-launch.c: (event_loop):
8237 don't convert NULL structures to strings
8239 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8241 * docs/gst/gstreamer-sections.txt:
8242 made some defines private
8243 * docs/gst/tmpl/gstconfig.sgml:
8244 * docs/gst/tmpl/gstqueue.sgml:
8245 * docs/gst/tmpl/gsttaglist.sgml:
8246 * docs/gst/tmpl/gsttypes.sgml:
8247 * docs/gst/tmpl/gstutils.sgml:
8248 * docs/pwg/appendix-porting.xml:
8249 * gst/base/gstbasesink.h:
8250 * gst/base/gstbasesrc.c:
8251 * gst/base/gstbasesrc.h:
8252 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8253 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8254 * gst/gstelement.c: (gst_element_class_init):
8255 * gst/gstpad.c: (gst_pad_class_init):
8256 * gst/gstqueue.c: (gst_queue_class_init):
8257 * gst/gstxml.c: (gst_xml_class_init):
8258 documented all undocumented signal inline
8259 * libs/gst/controller/gst-controller.h:
8262 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8264 * docs/pwg/appendix-porting.xml:
8265 Document _set_link_function -> _set_setcaps_function.
8267 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8269 * check/Makefile.am:
8270 add a .check target for running the check
8271 * check/gst-libs/controller.c: (GST_START_TEST):
8273 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8274 complete checks for gstbuffer; would be nice if I could get the
8275 gcov stuff to work so I can see if I actually completed gstbuffer.c
8277 add ASSERT_BUFFER_REFCOUNT
8279 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8281 * docs/gst/gstreamer-sections.txt:
8282 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8284 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8285 spew out a warning if a tag that is already registered
8286 is re-registered, unless it is re-registered with a
8287 different type (#308438).
8289 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8291 * docs/pwg/appendix-porting.xml:
8292 * docs/pwg/building-state.xml:
8293 Add some paragraphs about state changes in 0.9 to the PWG
8294 and the porting guide, in particular about the new meaning
8295 of GST_STATE_PAUSED and how to write state change functions
8296 with concurrent access by multiple threads in mind.
8298 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8300 * docs/gst/gstreamer-docs.sgml:
8301 * docs/libs/gstreamer-libs-docs.sgml:
8302 added deprecation and since indexes
8303 * libs/gst/controller/gst-controller.c:
8304 * libs/gst/controller/gst-helper.c:
8308 2005-08-11 Wim Taymans <wim@fluendo.com>
8310 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8311 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8312 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8313 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8314 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8315 (gst_ghost_pad_set_target):
8316 Actually implement (re)setting the target on a ghostpad
8317 as described in the docs.
8319 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8321 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8322 Check whether GST_DEBUG_NO_COLOR environment variable is
8323 set and disable coloured debug output if that is the case.
8325 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8327 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8328 (gst_type_find_helper):
8329 The memory returned by gst_type_find_peek() needs to
8330 stay valid until the end of a typefind function, and
8331 typefind functions may keep results from different
8332 offsets around, so we can't just unref the buffer from
8333 the previous _peek(), but have to save all buffers
8334 returned by _peek() until typefinding is done and only
8337 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8339 * docs/gst/gstreamer-sections.txt:
8341 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8343 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8345 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8346 Fix a pretty good memleak.
8348 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8350 * gst/gstiterator.h:
8351 Fix wrong include and 'make distcheck'.
8353 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8355 * gst/gstbin.c: (bin_bus_handler):
8356 Use gst_element_post_message() instead.
8358 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8360 * gst/base/gstadapter.h:
8361 * gst/base/gstbasesink.h:
8362 * gst/base/gstbasesrc.h:
8363 * gst/base/gstbasetransform.h:
8364 * gst/base/gstcollectpads.h:
8365 * gst/base/gstpushsrc.h:
8366 * gst/gstiterator.h:
8367 Add padding to our base elements' class and instance structs and
8368 to GstIterator (you will need to rebuild all plugins and apps!)
8370 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8372 * gst/gstbin.c: (bin_bus_handler):
8373 Make default message forwarding from child->bus to bin->bus
8374 threadsafe and make it not emit warnings if the parent has no bus.
8376 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8378 * gst/gstelement.c: (activate_pads):
8379 On paused->ready, set pad->caps to NULL, as is the documented
8380 behaviour in this state change. Fixes playback of series of
8381 media files when visualization is enabled in Totem.
8383 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8385 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8386 Allow NULL as filter-caps (which means "any").
8388 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8390 * docs/libs/gstreamer-libs-sections.txt:
8391 * libs/gst/controller/gst-controller.c:
8392 * libs/gst/controller/gst-controller.h:
8393 * libs/gst/controller/gst-helper.c:
8394 adding more entries to the docs and fix small doc-bugs
8396 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8398 * docs/gst/gstreamer-docs.sgml:
8399 * docs/gst/gstreamer-sections.txt:
8400 * docs/gst/gstreamer.types:
8401 * docs/gst/tmpl/gstbasesink.sgml:
8402 * docs/gst/tmpl/gstbasesrc.sgml:
8403 * docs/gst/tmpl/gstbasetransform.sgml:
8404 * docs/gst/tmpl/gstfakesrc.sgml:
8405 * gst/base/gstcollectpads.c:
8406 * gst/base/gstcollectpads.h:
8407 * libs/gst/controller/gst-controller.c:
8408 * libs/gst/controller/gst-controller.h:
8409 * libs/gst/controller/gst-helper.c:
8410 * libs/gst/controller/gst-interpolation.c:
8411 * libs/gst/controller/lib.c:
8412 added long/short desc for controller docs
8413 added collectpads base class docs
8414 added correct includes to base-class docs
8416 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8418 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8419 (gst_test_mono_source_set_property),
8420 (gst_test_mono_source_class_init), (GST_START_TEST),
8421 (gst_controller_suite):
8422 * docs/gst/gstreamer-docs.sgml:
8423 * docs/gst/gstreamer-sections.txt:
8424 * docs/gst/gstreamer.types:
8425 * docs/libs/gstreamer-libs-docs.sgml:
8426 * docs/libs/gstreamer-libs-sections.txt:
8427 * gst/base/gstadapter.c:
8428 * libs/gst/controller/gst-controller.c:
8429 (gst_controlled_property_new), (gst_controlled_property_free),
8430 (gst_controller_new_valist),
8431 (gst_controller_remove_properties_valist),
8432 (gst_controller_sink_values), (_gst_controller_finalize):
8433 * libs/gst/controller/gst-controller.h:
8434 * libs/gst/controller/gst-helper.c:
8435 (gst_object_control_properties), (gst_object_uncontrol_properties),
8436 (gst_object_get_controller), (gst_object_set_controller),
8437 (gst_object_sink_values), (gst_object_get_value_arrays),
8438 (gst_object_get_value_array):
8439 more tests (and fixes) for the controller
8440 more docs for the controller
8441 integrated companies docs for the adapter
8443 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8445 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8446 (GST_START_TEST), (fakesrc_suite):
8447 add tests for sizetype
8449 2005-08-04 Andy Wingo <wingo@pobox.com>
8451 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8452 fixes buffer_alloc proxying among other things.
8454 * gst/base/gstbasetransform.c:
8455 * gst/base/gstbasetransform.h:
8456 Revert patch to gstbasetransform from 7-28 removing
8459 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8460 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8461 Semantics changed, should return not the size of the output buffer
8462 but the byte size of a buffer with a given caps.
8464 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8466 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8467 out) are not the pad caps until setcaps finishes.
8468 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8469 not-in-place case as well. Deal with changing from in-place to
8470 not-in-place within calling pad_alloc_buffer. Still a bit
8471 concerned about the overhead here...
8473 2005-08-03 Andy Wingo <wingo@pobox.com>
8475 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8476 fixating is an error.
8478 2005-08-04 Edward Hervey <edward@fluendo.com>
8480 * gst/base/gstadapter.h:
8481 Added gst_adapter_get_type() to the header
8483 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8485 * check/Makefile.am:
8486 * check/gst-libs/controller.c:
8487 * libs/gst/controller/gst-controller.c:
8488 (gst_controller_new_valist):
8489 added check test suite for the controller
8490 * gst/base/gstpushsrc.c:
8493 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8495 * docs/gst/Makefile.am:
8496 * docs/gst/gstreamer-docs.sgml:
8497 * docs/gst/gstreamer-sections.txt:
8498 * docs/gst/gstreamer.types:
8499 * docs/gst/tmpl/gstfakesrc.sgml:
8501 * gst/base/gstbasesink.c:
8502 * gst/base/gstbasesink.h:
8503 * gst/base/gstbasesrc.c:
8504 * gst/base/gstbasesrc.h:
8505 * gst/base/gstbasetransform.c:
8506 * gst/base/gstpushsrc.c:
8507 * gst/base/gstpushsrc.h:
8508 add short/long description docs to base classes
8509 add pushsrc to the docs
8510 remove consolidated doc fragments
8512 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8515 * docs/libs/Makefile.am:
8516 * docs/libs/gstreamer-libs-docs.sgml:
8517 * docs/libs/gstreamer-libs-sections.txt:
8518 * docs/libs/gstreamer-libs.types:
8519 * examples/Makefile.am:
8520 * examples/controller/.cvsignore:
8521 * examples/controller/Makefile.am:
8522 * examples/controller/audio-example.c: (main):
8523 * libs/gst/Makefile.am:
8524 * libs/gst/controller/.cvsignore:
8525 * libs/gst/controller/Makefile.am:
8526 * libs/gst/controller/gst-controller.c:
8527 (on_object_controlled_property_changed), (gst_timed_value_compare),
8528 (gst_timed_value_find),
8529 (gst_controlled_property_set_interpolation_mode),
8530 (gst_controlled_property_new), (gst_controlled_property_free),
8531 (gst_controller_find_controlled_property),
8532 (gst_controller_new_valist), (gst_controller_new),
8533 (gst_controller_remove_properties_valist),
8534 (gst_controller_remove_properties), (gst_controller_set),
8535 (gst_controller_set_from_list), (gst_controller_unset),
8536 (gst_controller_get), (gst_controller_get_all),
8537 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8538 (gst_controller_get_value_array),
8539 (gst_controller_set_interpolation_mode),
8540 (_gst_controller_finalize), (_gst_controller_init),
8541 (_gst_controller_class_init), (gst_controller_get_type):
8542 * libs/gst/controller/gst-controller.h:
8543 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8544 (g_object_uncontrol_properties), (g_object_get_controller),
8545 (g_object_set_controller), (g_object_sink_values),
8546 (g_object_get_value_arrays), (g_object_get_value_array):
8547 * libs/gst/controller/gst-interpolation.c:
8548 (gst_controlled_property_find_timed_value_node),
8549 (interpolate_none_get), (interpolate_trigger_get),
8550 (interpolate_trigger_get_value_array):
8551 * libs/gst/controller/lib.c: (gst_controller_init):
8552 * pkgconfig/Makefile.am:
8553 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8554 * pkgconfig/gstreamer-control.pc.in:
8555 * testsuite/Makefile.am:
8556 * testsuite/controller/.cvsignore:
8557 * testsuite/controller/Makefile.am:
8558 * testsuite/controller/interpolator.c: (main):
8559 added controller code
8560 removed dparam pc files
8562 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8563 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8564 (gst_collectpads_stop):
8565 Broadcast the condition when shutting down, to make sure we wake all
8566 threads up. Shut down pads on finalize, for safety.
8568 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8569 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8570 (gst_base_transform_handle_buffer),
8571 (gst_base_transform_change_state):
8572 Handle PAUSED->READY->PAUSED transition after negotiation
8574 * gst/gstmessage.c: (gst_message_init):
8575 Extra piece of debug for new messages.
8577 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8580 * docs/gst/tmpl/gstbasesrc.sgml:
8581 * docs/gst/tmpl/gstelement.sgml:
8582 * docs/gst/tmpl/gstevent.sgml:
8583 * docs/gst/tmpl/gstfakesrc.sgml:
8584 * docs/gst/tmpl/gstformat.sgml:
8585 * docs/gst/tmpl/gstghostpad.sgml:
8586 * docs/gst/tmpl/gstpad.sgml:
8587 * docs/gst/tmpl/gstquery.sgml:
8588 * docs/gst/tmpl/gststructure.sgml:
8589 * docs/gst/tmpl/gsttaglist.sgml:
8590 * docs/gst/tmpl/gstvalue.sgml:
8591 * docs/libs/gstreamer-libs-docs.sgml:
8592 * docs/libs/gstreamer-libs-sections.txt:
8593 * docs/libs/gstreamer-libs.types:
8594 * libs/gst/Makefile.am:
8595 * libs/gst/control/.cvsignore:
8596 * libs/gst/control/Makefile.am:
8597 * libs/gst/control/control.c:
8598 * libs/gst/control/control.h:
8599 * libs/gst/control/dparam.c:
8600 * libs/gst/control/dparam.h:
8601 * libs/gst/control/dparam_smooth.c:
8602 * libs/gst/control/dparam_smooth.h:
8603 * libs/gst/control/dparamcommon.h:
8604 * libs/gst/control/dparammanager.c:
8605 * libs/gst/control/dparammanager.h:
8606 * libs/gst/control/dplinearinterp.c:
8607 * libs/gst/control/dplinearinterp.h:
8608 * libs/gst/control/unitconvert.c:
8609 * libs/gst/control/unitconvert.h:
8610 * testsuite/Makefile.am:
8611 * testsuite/dynparams/.cvsignore:
8612 * testsuite/dynparams/Makefile.am:
8613 * testsuite/dynparams/dparamstest.c:
8614 * tools/Makefile.am:
8615 * tools/gst-inspect.c: (print_element_info), (main):
8616 * tools/gst-xmlinspect.c: (print_element_info), (main):
8617 deactivate and remove dparams (libgstcontrol)
8619 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8621 * gst/elements/gsttypefindelement.c:
8622 (gst_type_find_element_have_type), (gst_type_find_element_init),
8623 (stop_typefinding), (gst_type_find_element_handle_event),
8624 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8625 * gst/elements/gsttypefindelement.h:
8626 Set caps on all outgoing buffers, not just the first one.
8628 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8630 * gst/elements/gsttypefindelement.c:
8631 (gst_type_find_element_have_type),
8632 (gst_type_find_element_check_set_buffer_caps),
8633 (gst_type_find_element_init), (stop_typefinding),
8634 (gst_type_find_element_handle_event),
8635 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8636 * gst/elements/gsttypefindelement.h:
8637 Set caps on first outgoing buffer when we've found the type.
8639 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8641 * docs/gst/gstreamer-docs.sgml:
8642 * docs/gst/gstreamer-sections.txt:
8643 * docs/gst/tmpl/gstscheduler.sgml:
8644 * docs/gst/tmpl/gstschedulerfactory.sgml:
8645 Remove some old cruft from docs.
8647 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8650 Fix inline docs for GstPadLinkReturn.
8652 * gst/gststructure.c: (gst_structure_has_name):
8653 * gst/gststructure.h:
8654 * docs/gst/gstreamer-sections.txt:
8655 New API: gst_structure_has_name().
8657 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8660 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8661 and _LARGEFILE_SOURCE in config.h as required. Do not
8662 export those flags in our .pc files any longer (#142209).
8664 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8666 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8667 (gst_file_sink_do_seek), (gst_file_sink_event),
8668 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8669 Redo seek/tell calls with large file support in mind; add some
8670 debugging messages; add log message that tells us when large
8671 file support is unavailable or not enabled for some reason.
8673 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8674 Add log message that tells us when large file support
8675 is unavailable or not enabled for some reason.
8677 2005-07-29 Wim Taymans <wim@fluendo.com>
8679 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8680 Added test for removing an element with ghostpad from a bin.
8681 Fixed test as current implementation does the right thing.
8683 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8684 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8685 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8686 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8687 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8688 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8689 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8690 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8691 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8692 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8693 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8694 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8695 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8696 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8697 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8698 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8699 * gst/gstghostpad.h:
8700 Clean up ghostpads, remove properties for internal stuff.
8703 Prepare for switching targets, not all use cases work yet.
8705 2005-07-29 Wim Taymans <wim@fluendo.com>
8707 * docs/design/part-gstghostpad.txt:
8710 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8711 (gst_bin_remove_func):
8712 Unlinking pads while holding the bin LOCK is not a good
8715 * gst/gstpad.c: (gst_pad_class_init),
8716 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8717 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8718 No prob setting template after creating the pad.
8720 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8722 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8723 (gst_bus_peek), (gst_bus_source_dispatch),
8724 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8725 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8726 gst_bus_poll may be called from other threads. Handle
8727 this nicely by not making poll_data disappear off the
8728 stack once gst_bus_poll returns.
8729 gst_bus_peek now increments the refcount on the returned
8732 2005-07-29 Wim Taymans <wim@fluendo.com>
8734 * docs/design/part-gstghostpad.txt:
8735 Overview of current GhostPad datastructures and use
8736 cases for changing the target.
8738 2005-07-28 Wim Taymans <wim@fluendo.com>
8740 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8741 Added checks for hierarchy consistency whan adding linked
8744 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8745 Added check to test element scheduling without bin/pipeline.
8747 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8748 First add elements to bin, then link.
8750 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8751 (gst_bin_remove_func):
8752 Unlink pads from elements added/removed from bin to maintain
8753 hierarchy consistency.
8755 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8757 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8758 (gst_base_transform_handle_buffer):
8759 * gst/base/gstbasetransform.h:
8760 Remove broken delay_configure (fixes renegotiation of software
8761 scaling pipelines); remove some leftover printf()s.
8763 2005-07-28 Wim Taymans <wim@fluendo.com>
8765 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8766 Added some more tests for wrong hierarchy
8768 * docs/design/part-overview.txt:
8771 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8774 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8775 (gst_element_dispose):
8778 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8779 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8780 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8781 (gst_pad_set_caps), (gst_pad_send_event):
8782 Check for correct hierarchy when linking pads. Moving to
8783 strict requirement for ghostpads when linking elements in
8787 Clean ups. Added WRONG_HIERARCHY return value.
8789 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8791 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8792 Better debug if no transform is possible.
8794 2005-07-27 Wim Taymans <wim@fluendo.com>
8796 * docs/random/wtay/network-transp:
8799 2005-07-27 Wim Taymans <wim@fluendo.com>
8801 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8802 (gst_dp_event_from_packet):
8803 Fix serialization of seek events.
8805 2005-07-27 Wim Taymans <wim@fluendo.com>
8807 * check/gst-libs/gdp.c: (GST_START_TEST):
8808 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8809 Fix compilation and fix event serialization.
8811 2005-07-27 Wim Taymans <wim@fluendo.com>
8814 * docs/design/part-TODO.txt:
8815 * docs/design/part-events.txt:
8818 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8819 (gst_base_sink_event), (gst_base_sink_do_sync),
8820 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8821 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8822 (gst_base_src_do_seek), (gst_base_src_event_handler),
8823 (gst_base_src_loop):
8824 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8825 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8826 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8827 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8828 (gst_base_transform_set_passthrough),
8829 (gst_base_transform_is_passthrough):
8830 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8831 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8837 * gst/gstelement.c: (gst_element_seek):
8839 Update gst_element_seek.
8841 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8842 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8843 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8844 (gst_event_new_eos), (gst_event_new_newsegment),
8845 (gst_event_parse_newsegment), (gst_event_new_tag),
8846 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8847 (gst_event_parse_qos), (gst_event_new_seek),
8848 (gst_event_parse_seek), (gst_event_new_navigation):
8850 Make GstEvent use GstStructure. Add parsing code, make sure the
8851 API is sufficiently generic.
8852 Mark possible directions of events and serialization.
8854 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8855 (_gst_message_copy), (gst_message_new_segment_start),
8856 (gst_message_new_segment_done), (gst_message_new_custom),
8857 (gst_message_parse_segment_start),
8858 (gst_message_parse_segment_done):
8861 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8862 (gst_pad_set_caps), (gst_pad_send_event):
8863 Update for new events.
8864 Catch events sent in wrong directions.
8866 * gst/gstqueue.c: (gst_queue_link_src),
8867 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8868 (gst_queue_handle_src_query):
8873 Remove event code from this file.
8875 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8876 (gst_dp_event_from_packet):
8879 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8881 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8882 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8883 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8884 Make debugging actually useful.
8886 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8888 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8889 (gst_pad_fixate_caps):
8890 Implement default fixation once again, so that gst_pad_fixate()
8891 actually does anything at all. This probably needs to be some
8892 sort of a last resort, and use profile-based fixation first, but
8893 since that doesn't exist yet, this is the best we have. Fixes
8894 visualization in Totem.
8896 2005-07-22 Wim Taymans <wim@fluendo.com>
8898 * docs/design/part-events.txt:
8901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8902 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8903 (gst_base_sink_activate_pull):
8906 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8907 (gst_fake_src_create):
8908 Fix handoff marshall.
8910 * gst/elements/gstidentity.c: (gst_identity_class_init),
8911 (gst_identity_transform_ip):
8912 We're a real inplace element.
8914 * gst/gstbus.c: (gst_bus_post):
8915 Added some comments.
8917 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8918 * tests/muxing/case1.c: (main):
8919 * tests/sched/dynamic-pipeline.c: (main):
8920 * tests/sched/interrupt1.c: (main):
8921 * tests/sched/interrupt2.c: (main):
8922 * tests/sched/interrupt3.c: (main):
8923 * tests/sched/runxml.c: (main):
8924 * tests/sched/sched-stress.c: (main):
8925 * tests/seeking/seeking1.c: (event_received), (main):
8926 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8928 * tests/threadstate/threadstate3.c: (main):
8929 * tests/threadstate/threadstate4.c: (main):
8930 * tests/threadstate/threadstate5.c: (main):
8933 2005-07-21 Wim Taymans <wim@fluendo.com>
8935 * docs/design/part-seeking.txt:
8936 Some small additions.
8938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8939 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8940 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8941 * gst/base/gstbasesink.h:
8942 discont values are gint64, handle the math correctly.
8944 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8945 Make the basesrc report error if the source pad is not linked.
8947 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8948 (gst_queue_loop), (gst_queue_handle_src_query),
8949 (gst_queue_src_activate_push):
8950 Make queue collect data even if the srcpad is not linked.
8951 Start pushing out data as soon as it is linked.
8953 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8955 Added gst_flow_get_name() to ease error reporting.
8957 2005-07-20 Wim Taymans <wim@fluendo.com>
8959 * gst/gstmessage.c: (gst_message_new_segment_start),
8960 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8961 (gst_message_parse_segment_done):
8963 Added a bunch of messages for advanced seeking.
8965 * gst/parse/grammar.y:
8966 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8967 (gst_dpman_state_changed):
8968 Fix some new-pad -> pad-added signals
8970 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8972 * docs/manual/appendix-porting.xml:
8973 * docs/pwg/appendix-porting.xml:
8974 Document new-pad/state-change signal renames and the FixedList
8977 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8979 * docs/manual/advanced-autoplugging.xml:
8980 * docs/manual/basics-helloworld.xml:
8981 * docs/manual/basics-pads.xml:
8982 * docs/random/ds/0.9-suggested-changes:
8983 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8988 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8989 (gst_structure_parse_array), (gst_structure_parse_value):
8990 * gst/gstvalue.c: (gst_type_is_fixed),
8991 (gst_value_list_prepend_value), (gst_value_list_append_value),
8992 (gst_value_list_get_size), (gst_value_list_get_value),
8993 (gst_value_transform_array_string), (gst_value_serialize_array),
8994 (gst_value_deserialize_array), (gst_value_intersect_array),
8995 (gst_value_is_fixed), (_gst_value_initialize):
8997 GstElement::new-pad -> pad-added, GstElement::state-change ->
8998 state-changed, GstValueFixedList -> GstValueArray, add format and
8999 flags as their own arguments in gst_element_seek() (should improve
9000 "bindeability"), remove function generators since they don't work
9001 under a whole bunch of compilers (they were deprecated already
9004 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9006 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9007 (_gst_debug_register_funcptr):
9009 Fix illegal cast on some platforms (#309253).
9011 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9013 * gst/gstmessage.c: (gst_message_new_custom):
9015 Add _new_custom, make _new_application a macro to _new_custom.
9017 2005-07-20 Wim Taymans <wim@fluendo.com>
9019 * gst/base/gstbasesrc.c: (gst_base_src_init),
9020 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9021 * gst/base/gstbasesrc.h:
9022 Add a gboolean to decide when to push out a discont.
9024 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9025 (gst_queue_loop), (gst_queue_handle_src_query),
9026 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9027 (gst_queue_set_property), (gst_queue_get_property):
9030 * tests/threadstate/threadstate1.c: (main):
9031 Make a thread test compile and run... very silly..
9034 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9036 * docs/manual/appendix-porting.xml:
9037 Mention removal of libgstgconf-0.9.la and existence of gconf
9040 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9042 * docs/pwg/advanced-clock.xml:
9043 * docs/pwg/appendix-porting.xml:
9044 * docs/pwg/intro-preface.xml:
9045 * docs/pwg/other-base.xml:
9046 * docs/pwg/other-manager.xml:
9047 * docs/pwg/other-nton.xml:
9048 * docs/pwg/other-ntoone.xml:
9049 * docs/pwg/other-oneton.xml:
9051 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9052 demuxer), remove n-to-n (was never written), fix some code examples
9053 and links and update the porting section to include all this.
9055 2005-07-19 Wim Taymans <wim@fluendo.com>
9057 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9058 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9059 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9060 (gst_queue_src_activate_push), (gst_queue_change_state),
9061 (gst_queue_get_property):
9063 Propagate GstFlowReturn more intelligently upstream and output
9064 an ERROR/EOS when streaming stopped due to fatal error.
9066 2005-07-19 Wim Taymans <wim@fluendo.com>
9068 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9069 Don't block forever for the state change to complete, the
9070 pipeline already did with a sensible timeout.
9072 2005-07-19 Wim Taymans <wim@fluendo.com>
9074 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9075 Make sure we never call the create function is we
9078 2005-07-19 Andy Wingo <wingo@pobox.com>
9080 * gst/parse/parse.l: Attempt to solve bug #172815.
9082 2005-07-19 Wim Taymans <wim@fluendo.com>
9084 * docs/design/part-clocks.txt:
9085 * docs/design/part-events.txt:
9086 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9088 Only update the seeking values when we are not
9091 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9093 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9094 Oops, ignore the result of gst_pad_push_event here.
9096 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9098 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9099 (gst_base_src_activate_push):
9100 Send discont event from the loop function, as pads
9101 aren't activated yet in the activate_push handler.
9103 * gst/gstbin.c: (bin_bus_handler):
9104 Don't leak element name.
9106 2005-07-18 Andy Wingo <wingo@pobox.com>
9108 * configure.ac: Use AS_LIBTOOL_TAGS.
9110 2005-07-18 Wim Taymans <wim@fluendo.com>
9112 * docs/gst/gstreamer.types:
9113 Remove deleted types.
9115 2005-07-18 Wim Taymans <wim@fluendo.com>
9117 * check/elements/gstfakesrc.c: (GST_START_TEST):
9120 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9121 (init_popt_callback):
9123 * gst/gst_private.h:
9124 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9125 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9128 * gst/gstconfig.h.in:
9129 * gst/gstelement.c: (gst_element_class_init),
9130 (gst_element_set_base_time), (gst_element_get_base_time),
9131 (iterator_fold_with_resync), (gst_element_change_state),
9132 (gst_element_dispose), (gst_element_get_bus):
9134 * gst/gstelementfactory.h:
9135 * gst/gsterror.c: (_gst_core_errors_init):
9138 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9140 * gst/gstinfo.c: (_gst_debug_init):
9141 * gst/gstmessage.c: (_gst_message_copy):
9143 * gst/gstminiobject.h:
9146 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9147 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9150 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9151 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9152 (gst_pipeline_get_last_stream_time):
9153 * gst/gstpipeline.h:
9154 * gst/gstpluginfeature.h:
9156 * gst/gstscheduler.c:
9157 * gst/gstscheduler.h:
9158 * gst/gststructure.h:
9159 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9160 (gst_task_finalize), (gst_task_func), (gst_task_create),
9161 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9162 (gst_task_stop), (gst_task_pause):
9164 * gst/gsttypefind.h:
9166 * gst/registries/gstlibxmlregistry.c: (load_feature),
9167 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9168 * gst/registries/gstxmlregistry.c:
9169 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9170 * gst/schedulers/threadscheduler.c:
9171 * libs/gst/control/dparammanager.h:
9172 * tools/gst-inspect.c: (print_element_list),
9173 (print_plugin_features), (print_element_features):
9174 * tools/gst-xmlinspect.c: (print_element_list),
9175 (print_plugin_info), (main):
9176 Removed plugable schedulers.
9177 Removed Scheduler/Manager from elements.
9178 Removed gsttypes.h, rearranged includes.
9179 Removed dependency pad<->element, element<>pipeline, and
9180 various others, fix includes.
9181 implement gst_pad_get_parent() with gst_object_get_parent()
9182 Make GstTask sefcontained.
9183 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9185 Fix endless loop in iterator_fold_with_resync.
9188 2005-07-18 Wim Taymans <wim@fluendo.com>
9194 2005-07-18 Wim Taymans <wim@fluendo.com>
9199 2005-07-18 Wim Taymans <wim@fluendo.com>
9205 2005-07-18 Wim Taymans <wim@fluendo.com>
9207 * docs/design/part-dynamic.txt:
9208 * docs/design/part-events.txt:
9209 * docs/design/part-seeking.txt:
9210 Some more docs in the works.
9212 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9213 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9214 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9215 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9216 (gst_base_transform_handle_buffer),
9217 (gst_base_transform_sink_activate_push),
9218 (gst_base_transform_src_activate_pull),
9219 (gst_base_transform_set_passthrough),
9220 (gst_base_transform_is_passthrough):
9223 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9226 * gst/gstevent.c: (gst_event_finalize):
9229 * gst/gstutils.c: (gst_element_unlink),
9230 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9231 (gst_pad_proxy_setcaps):
9233 Add _get_parent_element() to get a pads parent as an element.
9235 2005-07-18 Wim Taymans <wim@fluendo.com>
9237 * check/gst/gstbin.c: (GST_START_TEST):
9240 2005-07-18 Wim Taymans <wim@fluendo.com>
9242 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9243 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9244 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9245 (gst_base_sink_event), (gst_base_sink_do_sync),
9246 (gst_base_sink_chain), (gst_base_sink_loop),
9247 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9248 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9250 Fix logic for returning ASYNC when not prerolled.
9252 2005-07-18 Wim Taymans <wim@fluendo.com>
9254 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9255 Fix nasty refcount bug.
9257 2005-07-16 Philippe Khalaf <burger@speedy.org>
9259 * gst/elements/gstfdsrc.c:
9260 * gst/elements/gstfdsrc.h:
9261 * gst/elements/gstelements.c:
9262 * gst/elements/Makefile.am:
9263 Ported fdsrc to 0.9.
9265 2005-07-16 Wim Taymans <wim@fluendo.com>
9267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9268 (gst_base_sink_do_sync):
9271 2005-07-16 Wim Taymans <wim@fluendo.com>
9273 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9274 (gst_base_sink_event), (gst_base_sink_get_times),
9275 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9276 * gst/base/gstbasesink.h:
9277 Store and use discont values when syncing buffers as described
9280 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9281 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9282 (gst_base_src_activate_push):
9283 Push discont event when starting.
9285 * gst/elements/gstidentity.c: (gst_identity_transform):
9288 * gst/gstbin.c: (gst_bin_change_state):
9289 Small cleanups in base_time distribution.
9291 * gst/gstelement.c: (gst_element_set_base_time),
9292 (gst_element_get_base_time), (gst_element_change_state):
9294 Added methods for the base_time of the element.
9297 * gst/gstpipeline.c: (gst_pipeline_send_event),
9298 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9299 (gst_pipeline_get_last_stream_time):
9300 * gst/gstpipeline.h:
9302 Handle seeking as described in design doc, remove stream_time
9304 Cleanups clock and stream_time selection code. Added accessors
9305 for the stream_time.
9308 2005-07-16 Andy Wingo <wingo@pobox.com>
9310 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9313 2005-07-16 Wim Taymans <wim@fluendo.com>
9315 * check/gst/gstbin.c: (GST_START_TEST):
9316 Make elements silent as the deep_notify refs the
9317 parent, which might make the test fail.
9319 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9320 Don't hold the lock for too long.
9322 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9324 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9325 Don't unref the caps we passed to gst_caps_make_writable() after
9326 passing them. gst_caps_make_writable() will do that for us.
9328 2005-07-15 Andy Wingo <wingo@pobox.com>
9330 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9333 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9334 own marshalling function for the handoff signal. Properly type the
9335 buffer as a buffer. Fixes some warnings. Should do a more general
9337 (gst_identity_class_init): Plug into the right marshaller.
9339 2005-07-15 Wim Taymans <wim@fluendo.com>
9341 * docs/design/part-TODO.txt:
9342 * docs/design/part-clocks.txt:
9343 * docs/design/part-element-sink.txt:
9344 * docs/design/part-events.txt:
9345 * docs/design/part-gstpipeline.txt:
9346 Updated docs, mostly DISCONT related.
9348 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9350 * docs/pwg/building-pads.xml:
9351 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9353 2005-07-15 Andy Wingo <wingo@pobox.com>
9355 * tools/gst-typefind.c: Update, add copyright block.
9357 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9358 Normalize and truncate caps before fixation.
9361 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9362 discards all but the first structure from its argument.
9364 2005-07-15 Wim Taymans <wim@fluendo.com>
9366 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9367 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9368 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9369 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9370 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9371 (gst_base_transform_chain), (gst_base_transform_change_state),
9372 (gst_base_transform_set_passthrough),
9373 (gst_base_transform_is_passthrough):
9374 * gst/base/gstbasetransform.h:
9375 Make passthrough work using the bufferpools.
9376 Changed API a bit, subclasses have to write into a buffer
9377 provided by the base class.
9378 More debug info in nego functions.
9380 * gst/elements/gstidentity.c: (gst_identity_init),
9381 (gst_identity_transform):
9382 Port to new base class.
9384 2005-07-15 Wim Taymans <wim@fluendo.com>
9386 * gst/gstmessage.c: (gst_message_new_state_changed):
9387 * tools/gst-launch.c: (event_loop), (main):
9388 Totally dump messages in -launch with the -m option.
9389 Fix message name for State messages,
9391 2005-07-14 Wim Taymans <wim@fluendo.com>
9393 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9394 Post error messages on errors.
9396 2005-07-14 Wim Taymans <wim@fluendo.com>
9398 * gst/gstcaps.c: (gst_caps_do_simplify):
9402 Define error for stream stopped.
9404 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9405 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9406 Do proper return values.
9408 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9409 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9410 (gst_pad_get_range):
9411 Better return values.
9414 Reorganise return values, add macro to check for fatal errors.
9416 * gst/gstqueue.c: (gst_queue_chain):
9417 Return proper GstFlowReturn values,
9419 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9421 * docs/gst/gstreamer-sections.txt:
9422 * docs/gst/gstreamer.types:
9423 * docs/gst/tmpl/gst.sgml:
9424 * docs/gst/tmpl/gstbasesink.sgml:
9425 * docs/gst/tmpl/gstbasesrc.sgml:
9426 * docs/gst/tmpl/gstbasetransform.sgml:
9427 * docs/gst/tmpl/gstbin.sgml:
9428 * docs/gst/tmpl/gstbuffer.sgml:
9429 * docs/gst/tmpl/gstcaps.sgml:
9430 * docs/gst/tmpl/gstclock.sgml:
9431 * docs/gst/tmpl/gstcompat.sgml:
9432 * docs/gst/tmpl/gstconfig.sgml:
9433 * docs/gst/tmpl/gstelement.sgml:
9434 * docs/gst/tmpl/gstelementdetails.sgml:
9435 * docs/gst/tmpl/gstelementfactory.sgml:
9436 * docs/gst/tmpl/gstenumtypes.sgml:
9437 * docs/gst/tmpl/gsterror.sgml:
9438 * docs/gst/tmpl/gstevent.sgml:
9439 * docs/gst/tmpl/gstfakesink.sgml:
9440 * docs/gst/tmpl/gstfakesrc.sgml:
9441 * docs/gst/tmpl/gstfilesink.sgml:
9442 * docs/gst/tmpl/gstfilesrc.sgml:
9443 * docs/gst/tmpl/gstfilter.sgml:
9444 * docs/gst/tmpl/gstformat.sgml:
9445 * docs/gst/tmpl/gstghostpad.sgml:
9446 * docs/gst/tmpl/gstimplementsinterface.sgml:
9447 * docs/gst/tmpl/gstindex.sgml:
9448 * docs/gst/tmpl/gstindexfactory.sgml:
9449 * docs/gst/tmpl/gstinfo.sgml:
9450 * docs/gst/tmpl/gstiterator.sgml:
9451 * docs/gst/tmpl/gstmacros.sgml:
9452 * docs/gst/tmpl/gstmemchunk.sgml:
9453 * docs/gst/tmpl/gstminiobject.sgml:
9454 * docs/gst/tmpl/gstobject.sgml:
9455 * docs/gst/tmpl/gstpad.sgml:
9456 * docs/gst/tmpl/gstpadtemplate.sgml:
9457 * docs/gst/tmpl/gstparse.sgml:
9458 * docs/gst/tmpl/gstpipeline.sgml:
9459 * docs/gst/tmpl/gstplugin.sgml:
9460 * docs/gst/tmpl/gstpluginfeature.sgml:
9461 * docs/gst/tmpl/gstquery.sgml:
9462 * docs/gst/tmpl/gstqueue.sgml:
9463 * docs/gst/tmpl/gstregistry.sgml:
9464 * docs/gst/tmpl/gstregistrypool.sgml:
9465 * docs/gst/tmpl/gstscheduler.sgml:
9466 * docs/gst/tmpl/gstschedulerfactory.sgml:
9467 * docs/gst/tmpl/gststructure.sgml:
9468 * docs/gst/tmpl/gstsystemclock.sgml:
9469 * docs/gst/tmpl/gsttaglist.sgml:
9470 * docs/gst/tmpl/gsttagsetter.sgml:
9471 * docs/gst/tmpl/gsttrace.sgml:
9472 * docs/gst/tmpl/gsttrashstack.sgml:
9473 * docs/gst/tmpl/gsttypefind.sgml:
9474 * docs/gst/tmpl/gsttypefindfactory.sgml:
9475 * docs/gst/tmpl/gsttypes.sgml:
9476 * docs/gst/tmpl/gsturihandler.sgml:
9477 * docs/gst/tmpl/gsturitype.sgml:
9478 * docs/gst/tmpl/gstutils.sgml:
9479 * docs/gst/tmpl/gstvalue.sgml:
9480 * docs/gst/tmpl/gstversion.sgml:
9481 * docs/gst/tmpl/gstxml.sgml:
9482 * docs/libs/tmpl/gstcontrol.sgml:
9483 * docs/libs/tmpl/gstdataprotocol.sgml:
9484 * docs/libs/tmpl/gstdparam.sgml:
9485 * docs/libs/tmpl/gstdplinint.sgml:
9486 * docs/libs/tmpl/gstdpman.sgml:
9487 * docs/libs/tmpl/gstdpsmooth.sgml:
9488 * docs/libs/tmpl/gstgetbits.sgml:
9489 * docs/libs/tmpl/gstunitconvert.sgml:
9490 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9491 (gst_push_src_base_init), (gst_push_src_class_init),
9492 (gst_push_src_init), (gst_push_src_create):
9493 * gst/base/gstpushsrc.h:
9494 * gst/elements/gstelements.c:
9495 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9496 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9497 (gst_fake_sink_init), (gst_fake_sink_set_property),
9498 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9499 (gst_fake_sink_event), (gst_fake_sink_preroll),
9500 (gst_fake_sink_render), (gst_fake_sink_change_state):
9501 * gst/elements/gstfakesink.h:
9502 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9503 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9504 (gst_fake_src_base_init), (gst_fake_src_class_init),
9505 (gst_fake_src_init), (gst_fake_src_event_handler),
9506 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9507 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9508 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9509 (gst_fake_src_create_buffer), (gst_fake_src_create),
9510 (gst_fake_src_start), (gst_fake_src_stop):
9511 * gst/elements/gstfakesrc.h:
9512 * gst/elements/gstfilesink.c: (_do_init),
9513 (gst_file_sink_base_init), (gst_file_sink_class_init),
9514 (gst_file_sink_init), (gst_file_sink_dispose),
9515 (gst_file_sink_set_location), (gst_file_sink_set_property),
9516 (gst_file_sink_get_property), (gst_file_sink_open_file),
9517 (gst_file_sink_close_file), (gst_file_sink_query),
9518 (gst_file_sink_event), (gst_file_sink_render),
9519 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9520 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9521 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9522 * gst/elements/gstfilesink.h:
9523 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9524 (gst_file_src_class_init), (gst_file_src_init),
9525 (gst_file_src_finalize), (gst_file_src_set_location),
9526 (gst_file_src_set_property), (gst_file_src_get_property),
9527 (gst_file_src_map_region), (gst_file_src_map_small_region),
9528 (gst_file_src_create_mmap), (gst_file_src_create_read),
9529 (gst_file_src_create), (gst_file_src_is_seekable),
9530 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9531 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9532 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9533 (gst_file_src_uri_handler_init):
9534 * gst/elements/gstfilesrc.h:
9535 more autistic cleanliness in functions/names/defines
9537 2005-07-13 Andy Wingo <wingo@pobox.com>
9539 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9540 source couldn't negotiate.
9542 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9546 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9547 function. I am channeling Hades. Put your boots on suckers!!!
9549 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9551 * testsuite/caps/Makefile.am:
9552 * testsuite/caps/value_compare.c:
9553 * testsuite/caps/value_intersect.c:
9554 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9555 move two testsuite apps over to the check dir
9557 2005-07-12 Wim Taymans <wim@fluendo.com>
9559 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9560 Added more debug info in the negotiate process.
9563 Prepare for segment playback.
9565 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9571 * tools/gst-launch.c: (main):
9572 NULL pipeline on errors.
9574 2005-07-12 Andy Wingo <wingo@pobox.com>
9576 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9577 not it comes from a malloc region. Make sure our copy gets freed.
9579 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9581 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9582 * check/gst/gstmessage.c: (GST_START_TEST):
9583 * check/gst/gststructure.c: (GST_START_TEST),
9584 (gst_structure_suite), (main):
9586 * gst/gstelement.c: (gst_element_message_full):
9587 clean up GError and debug string now that they get copied
9588 * gst/gstmessage.c: (gst_message_new_error),
9589 (gst_message_new_warning), (gst_message_parse_error),
9590 (gst_message_parse_warning):
9591 use GST_TYPE_G_ERROR for structure_new, and take copies of
9592 arguments, so that we don't mess up refcounting
9594 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9596 * check/Makefile.am:
9597 add per-test valgrind targets
9598 * check/gst-libs/gdp.c: (GST_START_TEST),
9599 (gst_data_protocol_suite), (main):
9602 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9604 * check/Makefile.am:
9605 instate more valgrindable tests
9606 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9607 (GST_START_TEST), (fakesrc_suite):
9608 * check/gst/gstpad.c: (GST_START_TEST):
9609 * check/gst/gststructure.c: (GST_START_TEST):
9611 * docs/gst/tmpl/gstminiobject.sgml:
9612 * gst/gstpad.c: (gst_pad_finalize):
9613 fix the static mutex leak
9615 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9617 * check/Makefile.am:
9618 add two more tests for valgrinding
9619 * check/gst/gstvalue.c: (GST_START_TEST):
9620 test refcount of deserialized buffer, found a leak
9621 * docs/gst/gstreamer-docs.sgml:
9622 * docs/gst/gstreamer-sections.txt:
9623 * docs/gst/gstreamer.types:
9624 * docs/gst/tmpl/gstminiobject.sgml:
9625 add miniobject to docs
9626 * gst/gstminiobject.c:
9628 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9629 (gst_string_unwrap):
9630 fix a hard-to-find invalid write for one of the tests
9631 fix a leak for deserialized buffers
9633 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9635 * docs/pwg/advanced-events.xml:
9636 * docs/pwg/advanced-request.xml:
9637 * docs/pwg/advanced-scheduling.xml:
9638 * docs/pwg/appendix-porting.xml:
9639 * docs/pwg/building-boiler.xml:
9640 * docs/pwg/intro-preface.xml:
9641 * docs/pwg/other-ntoone.xml:
9642 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9643 of example code and explanation for pad activation, loop() and
9644 getrange() functions and a bit more. Remove old comments pointing
9646 * examples/pwg/Makefile.am:
9647 Add loop/getrange examples.
9649 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9652 check for valgrind binary + some fixes
9654 valgrind suppressions for the tests
9655 * check/Makefile.am:
9656 add a valgrind: target that valgrinds the unit tests
9657 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9658 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9659 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9660 * check/gst/gstghostpad.c:
9662 * check/gst/gstdata.c:
9664 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9665 (thread_unref), (gst_mini_object_suite), (main):
9667 * gst/gst.c: (gst_deinit):
9669 add a method to clean up.
9670 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9671 (gst_system_clock_obtain):
9672 allow for disposing the system clock.
9673 * tools/gst-launch.c: (main):
9676 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9678 * docs/gst/tmpl/gstbasesrc.sgml:
9679 * docs/gst/tmpl/gstfakesrc.sgml:
9680 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9681 (gst_base_src_init), (gst_base_src_set_property),
9682 (gst_base_src_get_property), (gst_base_src_get_range),
9683 (gst_base_src_start):
9684 * gst/base/gstbasesrc.h:
9685 add num-buffers property
9686 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9687 (gst_fakesrc_init), (gst_fakesrc_set_property),
9688 (gst_fakesrc_get_property), (gst_fakesrc_create),
9689 (gst_fakesrc_start):
9690 remove num-buffers property
9692 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9694 * docs/gst/gstreamer-sections.txt:
9695 * docs/gst/tmpl/gstbasesink.sgml:
9696 * docs/gst/tmpl/gstbasesrc.sgml:
9697 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9698 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9699 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9700 (gst_base_sink_set_property), (gst_base_sink_get_property),
9701 (gst_base_sink_handle_object), (gst_base_sink_event),
9702 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9703 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9704 (gst_base_sink_loop), (gst_base_sink_deactivate),
9705 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9706 (gst_base_sink_change_state):
9707 * gst/base/gstbasesink.h:
9708 * gst/base/gstbasesrc.h:
9709 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9710 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9711 (gst_filesink_init):
9712 more macro splitting
9714 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9716 * gst/gstelement.c: (gst_element_get_bus):
9718 * tools/gst-launch.c: (check_intr), (event_loop):
9721 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9723 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9726 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9728 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9729 (gst_base_src_finalize):
9730 add finalize method and clean up properly
9731 * gst/gstpipeline.c: (gst_pipeline_dispose):
9734 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9736 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9738 add more things to check
9739 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9743 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9745 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9746 (GST_START_TEST), (fakesrc_suite):
9747 * check/gst-libs/gdp.c: (GST_START_TEST):
9748 * check/gst/gst.c: (GST_START_TEST):
9749 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9750 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9751 * check/gst/gstbus.c: (GST_START_TEST):
9752 * check/gst/gstcaps.c: (GST_START_TEST):
9753 * check/gst/gstdata.c: (GST_START_TEST):
9754 * check/gst/gstelement.c: (GST_START_TEST):
9755 * check/gst/gstghostpad.c: (GST_START_TEST):
9756 * check/gst/gstiterator.c: (GST_START_TEST):
9757 * check/gst/gstmessage.c: (GST_START_TEST):
9758 * check/gst/gstobject.c: (GST_START_TEST):
9759 * check/gst/gstpad.c: (GST_START_TEST):
9760 * check/gst/gststructure.c: (GST_START_TEST):
9761 * check/gst/gstsystemclock.c: (GST_START_TEST),
9762 (gst_systemclock_suite):
9763 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9764 * check/gst/gstvalue.c: (GST_START_TEST):
9765 * check/pipelines/cleanup.c: (GST_START_TEST):
9766 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9767 * check/states/sinks.c: (GST_START_TEST):
9768 * check/gstcheck.c: (gst_check_init):
9770 add debugging category
9771 use GST_START_TEST now, so we add a debug line
9773 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9775 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9776 add test for state change message on a bin
9777 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9779 * gst/gstbin.c: (gst_bin_init):
9780 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9781 * gst/gstelement.c: (gst_element_post_message),
9782 (gst_element_set_state):
9783 * gst/gstelementfactory.c: (gst_element_factory_create):
9784 * gst/gstmessage.c: (gst_message_new):
9785 * gst/gstscheduler.c:
9786 various debugging additions and cleanups
9788 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9790 * check/Makefile.am:
9791 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9793 adding tests for elements
9794 * gst/gstelement.c: (gst_element_dispose):
9796 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9798 * gst/registries/gstlibxmlregistry.c: (load_feature):
9799 plug more leaks. A simple gst_init() now is leakfree, yay.
9801 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9803 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9804 (gst_xml_registry_load):
9805 plug another memleak
9807 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9810 use GST_SET_ERROR_CFLAGS
9812 change to ERROR_CFLAGS
9814 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9817 make GST_ERROR_CFLAGS overridable and re-enable Werror
9819 add a note about error CFLAGS
9820 * docs/gst/tmpl/gstfakesrc.sgml:
9821 * gst/elements/gstfakesrc.c:
9822 comment out some unused code
9823 * gst/gst.c: (split_and_iterate):
9824 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9828 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9830 * common/Makefile.am:
9831 * common/gtk-doc.mak:
9832 * docs/gst/Makefile.am:
9833 factor out gtk-doc.mak
9835 2005-07-07 Wim Taymans <wim@fluendo.com>
9837 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9838 (gst_thread_scheduler_dispose):
9839 Unlock the STREAM_LOCK completely.
9841 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9843 * check/Makefile.am:
9844 * check/elements/.cvsignore:
9845 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9846 (START_TEST), (fakesrc_suite), (main):
9847 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9848 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9849 (gst_fakesrc_create), (gst_fakesrc_start):
9850 * gst/elements/gstfakesrc.h:
9851 adding a first element test
9853 2005-07-07 Andy Wingo <wingo@pobox.com>
9855 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9858 2005-07-07 Wim Taymans <wim@fluendo.com>
9864 2005-07-07 Wim Taymans <wim@fluendo.com>
9866 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9867 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9868 Allow subclasses to implement their own negotiation.
9870 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9872 * docs/design/part-gstbin.txt:
9873 * docs/design/part-gstpipeline.txt:
9874 Update design notes to reflect the movement of
9875 responsibility for bus handling from GstPipeline to
9878 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9881 Remove unnecessary queue2/3/4 examples.
9883 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9885 * examples/Makefile.am:
9886 * examples/helloworld/helloworld.c: (event_loop), (main):
9887 * examples/queue/queue.c: (event_loop), (main):
9888 * examples/queue2/queue2.c: (main):
9889 Update a couple of the examples to work again.
9891 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9892 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9893 Spelling corrections and extra debug.
9895 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9896 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9897 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9899 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9900 (gst_pipeline_change_state):
9901 * gst/gstpipeline.h:
9902 Move the bus handler for children to the GstBin, and create a
9903 separate bus for receiving messages from children to the one the
9904 bus sends 'upwards' on.
9906 2005-07-06 Wim Taymans <wim@fluendo.com>
9909 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9910 (gst_base_sink_handle_object), (gst_base_sink_loop),
9911 (gst_base_sink_change_state):
9912 * gst/base/gstbasesink.h:
9913 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9914 (gst_base_src_init), (gst_base_src_setcaps),
9915 (gst_base_src_getcaps), (gst_base_src_loop),
9916 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9917 (gst_base_src_start), (gst_base_src_change_state):
9918 * gst/base/gstbasesrc.h:
9919 Make basesrc negotiate.
9920 Handle the case where preroll fails in basesink.
9923 2005-07-06 Wim Taymans <wim@fluendo.com>
9925 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9926 Implement the fixate function.
9927 Clean up acceptcaps.
9929 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9931 * docs/pwg/building-filterfactory.xml:
9933 Remove never-written filter-factory chapter; I'll add the various
9934 base classes to part 4 ("other element types") later on.
9936 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9938 * docs/pwg/advanced-negotiation.xml:
9939 * docs/pwg/building-boiler.xml:
9940 * docs/pwg/building-pads.xml:
9942 * examples/pwg/Makefile.am:
9943 Add a chapter on caps negotiation, simplify the original code
9944 samples a bit w.r.t. caps negotiation, add link to the advanced
9945 section. Add a bunch of examples showing different use cases of
9946 different types of caps negotiation. Upstream renegotiation isn't
9947 fully documented yet since nobody knows how that works.
9949 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9951 * check/gst/gstpad.c:
9953 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9954 if pad has no parent, return NULL as list of internal links
9956 2005-07-05 Andy Wingo <wingo@pobox.com>
9958 * gst/elements/gstfilesrc.c:
9959 * gst/elements/gstfakesrc.c:
9960 * gst/base/gstpushsrc.c:
9961 * gst/base/gstbasesrc.h:
9962 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9964 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9967 better report generation target (lcov needs a patch)
9969 2005-07-05 Andy Wingo <wingo@pobox.com>
9971 * gst/elements, testsuite: Null if we got it...
9973 2005-07-05 Wim Taymans <wim@fluendo.com>
9976 * libs/gst/dataprotocol/Makefile.am:
9977 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9978 * libs/gst/dataprotocol/dataprotocol.h:
9979 * pkgconfig/Makefile.am:
9980 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9981 * pkgconfig/gstreamer-dataprotocol.pc.in:
9982 Ported dataprotol to 0.9.
9983 Added pkgconfig files.
9985 2005-07-05 Andy Wingo <wingo@pobox.com>
9987 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9988 Default to returning TRUE for the case when tranform_caps returns
9989 a fixed caps, like for identity or volume.
9991 * check/gst/gstbus.c (pound_bus_with_messages):
9992 * check/gst/gstmessage.c (START_TEST):
9993 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9996 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9997 logic weaks here: always run transform_caps, trying passthrough
9998 operation only if the original caps intersects with the transform.
10000 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10001 source and sink caps.
10003 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10004 Intersect the peer caps with the pad template before going into
10006 (gst_base_transform_transform_caps): More debugging.
10008 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10011 2005-07-04 Edward Hervey <edward@fluendo.com>
10015 (gst_pad_add_*_probe): now returns the signal id for better wrapping
10018 2005-07-04 Andy Wingo <wingo@pobox.com>
10020 * check/gst/gstpad.c: Only set explicit caps on pads.
10022 2005-07-01 Andy Wingo <wingo@pobox.com>
10024 * tests/network-clock.scm: Commentary update.
10026 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10027 Didn't really make sense, not implementable with basetransform,
10029 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10030 attempt at implementing the sync property, needs an unlock method.
10032 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10033 New func, by default returns the same caps (the identity
10035 (gst_base_transform_getcaps): Uses transform_caps to return
10036 something sensible.
10037 (gst_base_transform_setcaps): Complicated logic to get caps on
10038 both pads, even if they are different, and to call set_caps once
10039 for every time both pads get their caps set.
10040 (gst_base_transform_handle_buffer): Give the ref to the transform
10041 function. Allows in-place modification of the buffer.
10043 * gst/base/gstbasetransform.h (transform_caps): New class method.
10044 Given caps on one side, what can I do on the other.
10045 (set_caps): Take two caps, one for each side of the element.
10048 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10049 caps in place. This is safe because we can check the mutability of
10050 the caps, and a good idea because fixate functions are just called
10051 as a matter of last resort. (Not actually implemented.)
10052 (gst_pad_set_caps): If the caps we're setting is actually the same
10053 as the existing pad caps, just update the pointer without calling
10054 setcaps. Assert that caps is either NULL or fixed, as per the
10057 * gst/gstghostpad.c: Update for fixate changes.
10059 2005-07-02 Andy Wingo <wingo@pobox.com>
10062 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10063 two refcounts makes it immutable, which is enough. Doc more.
10065 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10067 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10068 Put the mini_object into GValue as a mini_object,
10069 not a gpointer, since that's how we declared
10072 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10074 * examples/pwg/Makefile.am:
10075 Fix buildbot again.
10077 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10079 * docs/pwg/building-testapp.xml:
10081 * examples/pwg/Makefile.am:
10084 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10087 * examples/Makefile.am:
10088 * examples/pwg/Makefile.am:
10089 * examples/pwg/extract.pl:
10090 Enable building the PWG examples.
10091 * docs/pwg/advanced-interfaces.xml:
10092 Add URI interface stub.
10093 * docs/pwg/advanced-types.xml:
10094 * docs/pwg/other-autoplugger.xml:
10095 * docs/pwg/appendix-porting.xml:
10096 * docs/pwg/pwg.xml:
10097 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10098 * docs/pwg/building-boiler.xml:
10099 * docs/pwg/building-chainfn.xml:
10100 * docs/pwg/building-pads.xml:
10101 * docs/pwg/building-props.xml:
10102 * docs/pwg/building-state.xml:
10103 * docs/pwg/building-testapp.xml:
10104 Update the building-*.xml parts for 0.9 changes. All examples
10105 code blocks compile in examples/pwg/*.
10107 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10109 * docs/manual/advanced-autoplugging.xml:
10110 * docs/manual/appendix-checklist.xml:
10111 * docs/manual/appendix-integration.xml:
10112 * docs/manual/highlevel-components.xml:
10113 Fix playbin/decodebin examples, update docs a bit, mention bus
10114 instead of signals in various places, mention kmplayer and
10115 kaffeine since they have a working GStreamer backend in the KDE
10118 2005-06-30 Wim Taymans <wim@fluendo.com>
10121 * docs/design/draft-ghostpads.txt:
10122 * docs/design/draft-push-pull.txt:
10123 * docs/design/draft-query.txt:
10124 * docs/design/part-TODO.txt:
10125 * docs/design/part-query.txt:
10126 Added CHANGES-0.9 doc, updated status of other docs.
10131 2005-06-30 Wim Taymans <wim@fluendo.com>
10133 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10134 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10135 (gst_base_sink_change_state):
10136 * gst/base/gstbasesink.h:
10137 Some tweaks, only EOS and a buffer complete a preroll.
10139 2005-06-30 Andy Wingo <wingo@pobox.com>
10141 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10142 activate_push down to the internal pad as well.
10144 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10146 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10148 * gst/gsttaginterface.c:
10149 Some documentation fixes (#307394 and #307397).
10151 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10153 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10155 * gst/gstvalue.c: (gst_value_intersect_list):
10156 Fix memleak (#309125).
10158 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10160 * docs/manual/advanced-dataaccess.xml:
10161 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10162 * docs/manual/basics-pads.xml:
10163 Add reference for filtered caps to above chapter.
10165 2005-06-30 Wim Taymans <wim@fluendo.com>
10167 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10168 (gst_bin_change_state):
10170 Lame attempt at making the state change function a bit
10173 2005-06-30 Wim Taymans <wim@fluendo.com>
10175 * docs/design/part-clocks.txt:
10176 * docs/design/part-element-sink.txt:
10177 * docs/design/part-events.txt:
10178 * docs/design/part-preroll.txt:
10179 * docs/design/part-states.txt:
10180 Some more tweeks and additions to the docs.
10182 2005-06-30 Wim Taymans <wim@fluendo.com>
10184 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10185 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10186 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10187 (gst_pad_check_pull_range), (gst_pad_get_range),
10188 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10190 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10191 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10192 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10193 (gst_pad_remove_buffer_probe):
10194 Removed atomic operations, use existing LOCK.
10195 Move exception handling out of main code path.
10197 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10199 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10200 (silly_return_true_function), (gst_pad_class_init),
10201 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10202 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10203 (gst_pad_send_event):
10204 Fix accumulator, add default value by using _emitv() instead
10205 of _emit() for signal emission.
10207 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10209 * docs/manual/advanced-dataaccess.xml:
10210 * examples/manual/Makefile.am:
10212 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10215 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10217 * gst/elements/gstfilesink.c: (gst_filesink_render):
10218 Simplify code so that we don't have to handle short
10219 writes and return GST_FLOW_ERROR if an error occured.
10221 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10223 * docs/gst/gstreamer-docs.sgml:
10224 Remove probes more.
10226 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10228 * docs/gst/gstreamer-sections.txt:
10229 * docs/gst/tmpl/gstpad.sgml:
10230 * docs/gst/tmpl/gstprobe.sgml:
10232 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10233 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10234 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10235 (gst_pad_push_event), (gst_pad_send_event):
10237 * gst/gstutils.c: (gst_pad_add_data_probe),
10238 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10239 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10240 (gst_pad_remove_buffer_probe):
10242 Remove old probes, add new g-signal-based probes and some utility
10245 2005-06-29 Edward Hervey <edward@fluendo.com>
10247 * gst/gstelementfactory.c:
10250 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10251 the definition to the header file.
10253 2005-06-29 Andy Wingo <wingo@pobox.com>
10255 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10256 plugins from the source directory.
10258 2005-06-29 Wim Taymans <wim@fluendo.com>
10260 * docs/gst/tmpl/gstbuffer.sgml:
10261 * docs/gst/tmpl/gstclock.sgml:
10262 Some fixings for blantently wrong text.
10264 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10266 * check/Makefile.am:
10267 * gst/gst.c: (add_path_func), (init_pre):
10268 * gst/gstregistry.c: (gst_registry_add_path):
10269 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10270 only scan the GST_PLUGIN_PATH locations, and not add
10273 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10275 * docs/gst/gstreamer-sections.txt:
10276 * docs/gst/tmpl/gstbasesrc.sgml:
10277 * gst/gstelement.c:
10278 * gst/gstelement.h:
10283 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10285 * docs/manual/advanced-autoplugging.xml:
10286 Fix autoplugging example.
10288 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10290 * docs/manual/advanced-autoplugging.xml:
10291 * docs/manual/mime-world.fig:
10292 Try to get autoplugging working, fix type detection. Fix text
10293 in hello-world image.
10295 2005-06-29 Wim Taymans <wim@fluendo.com>
10297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10298 (gst_base_sink_change_state):
10302 map SIGNAL and BROADCAST to the right function.
10305 Remove redundant braces.
10307 * gst/gstpad.c: (gst_pad_set_caps):
10308 Don't call setcaps function when reseting caps to NULL.
10310 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10311 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10312 (gst_system_clock_id_unschedule):
10313 Use BROADCAST as this is what we do.
10315 2005-06-29 Wim Taymans <wim@fluendo.com>
10317 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10318 We are actually prerolling before commiting the state
10321 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10323 * docs/manual/advanced-clocks.xml:
10324 * docs/manual/advanced-interfaces.xml:
10325 * docs/manual/advanced-metadata.xml:
10326 * docs/manual/advanced-position.xml:
10327 * docs/manual/advanced-schedulers.xml:
10328 * docs/manual/advanced-threads.xml:
10329 * docs/manual/appendix-porting.xml:
10330 * docs/manual/basics-bins.xml:
10331 * docs/manual/basics-bus.xml:
10332 * docs/manual/basics-elements.xml:
10333 * docs/manual/basics-helloworld.xml:
10334 * docs/manual/basics-pads.xml:
10335 * docs/manual/highlevel-components.xml:
10336 * docs/manual/manual.xml:
10337 * docs/manual/thread.fig:
10338 Update (until threads/scheduling) Application Development Manual;
10339 remove GstThread, add GstBus, add simple porting checklist, add
10340 documentation for tag writing, clocks, make all examples until this
10341 part compile and run.
10342 * examples/manual/Makefile.am:
10343 Update from changes to Application Development Manual; add bus
10344 example, remove thread example.
10346 2005-06-28 Wim Taymans <wim@fluendo.com>
10348 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10349 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10350 (gst_bus_source_dispatch):
10351 Add debugging messages.
10352 Make internal methods static.
10353 Handle the case where the bus is flushed in the handler.
10355 * gst/gstelement.c: (gst_element_get_bus):
10356 Fix refcount in _get_bus();
10358 * gst/gstpipeline.c: (gst_pipeline_change_state),
10359 (gst_pipeline_get_clock_func):
10360 Clock refcounting fixes.
10361 Handle the case where preroll timed out more gracefully.
10363 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10364 Clean up the internal thread in dispose. This is needed
10365 for subclasses that actually get disposed.
10367 * gst/schedulers/threadscheduler.c:
10368 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10369 (gst_thread_scheduler_dispose):
10370 Free thread pool in dispose.
10372 2005-06-28 Andy Wingo <wingo@pobox.com>
10374 * tests/network-clock-utils.scm (debug, print-event): New utils.
10376 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10377 (*packet-loss*): Unified loss probability.
10378 (network-time): Report out-of-band events.
10380 * tests/plot-data: Add support for out-of-band events. Hack it
10381 into this script instead of passing it down the pipe; should fix
10384 2005-06-28 Wim Taymans <wim@fluendo.com>
10386 * docs/gst/gstreamer.types:
10387 * docs/gst/tmpl/gstbasesrc.sgml:
10388 * docs/gst/tmpl/gstpad.sgml:
10391 2005-06-28 Wim Taymans <wim@fluendo.com>
10393 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10394 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10395 (gst_proxy_pad_do_fixatecaps):
10396 Correctly proxy the check_pull_range function.
10398 2005-06-28 Andy Wingo <wingo@pobox.com>
10400 * tests/network-clock.scm: Removed need for slib.
10402 2005-06-28 Wim Taymans <wim@fluendo.com>
10404 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10405 (gst_basesink_preroll_queue_flush):
10406 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10407 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10408 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10409 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10410 (gst_proxy_pad_set_property):
10413 * gst/gstqueue.c: (gst_queue_init):
10414 The deprecated pad loop function is removed now.
10416 2005-06-28 Andy Wingo <wingo@pobox.com>
10418 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10419 New parameters, simulate network packet loss.
10421 * tests/network-clock-utils.scm: Initialize the RNG.
10423 2005-06-28 Wim Taymans <wim@fluendo.com>
10425 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10426 (gst_basesink_event), (gst_basesink_deactivate):
10427 Flushing the preroll queue always needs to unlock the waiters.
10429 2005-06-28 Edward Hervey <edward@fluendo.com>
10431 * gst/gstpipeline.c: (gst_pipeline_send_event):
10432 Wheen a seek was successful on a pipeline, set the stream_time to the
10433 seek offset in order to have a synchronized stream_time.
10435 2005-06-28 Wim Taymans <wim@fluendo.com>
10437 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10438 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10439 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10440 (gst_proxy_pad_do_fixatecaps):
10441 Call wrapper function instead of just calling the function
10442 pointers. This takes care of any locking and whatmore.
10444 2005-06-28 Wim Taymans <wim@fluendo.com>
10446 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10447 (gst_pad_pull_range):
10449 CONNECTED -> LINKED.
10451 2005-06-28 Andy Wingo <wingo@pobox.com>
10453 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10454 source-munging commit!!!
10456 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10457 (gst_object_sink): Take gpointer arguments, not GstObject --
10458 avoids casts. Like GLib.
10460 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10463 2005-06-27 Andy Wingo <wingo@pobox.com>
10465 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10468 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10469 returns a sorted copy of the trace list.
10470 (gst_alloc_trace_print_live): New API, only prints traces with
10471 live objects. Sort the list.
10472 (gst_alloc_trace_print_all): Sort the list.
10473 (gst_alloc_trace_print): Align columns.
10475 * gst/elements/gstttypefindelement.c:
10476 * gst/elements/gsttee.c:
10477 * gst/base/gstbasesrc.c:
10478 * gst/base/gstbasesink.c:
10479 * gst/base/gstbasetransform.c:
10480 * gst/gstqueue.c: Adapt for pad activation changes.
10482 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10484 (gst_pipeline_dispose): Drop ref on sched.
10486 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10487 (gst_pad_activate_default): Push mode by default.
10488 (pre_activate_switch, post_activate_switch): New stubs, things to
10489 do before and after switching activation modes on pads.
10490 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10491 the pad's activate function to choose which mode to activate.
10492 Shortcut on deactivation and call the right function directly.
10493 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10495 (gst_pad_activate_push): New API, same for push mode.
10496 (gst_pad_set_activate_function)
10497 (gst_pad_set_activatepull_function)
10498 (gst_pad_set_activatepush_function): Setters for new API.
10500 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10501 Trace all miniobjects.
10502 (gst_mini_object_make_writable): Unref the arg if we copy, like
10503 gst_caps_make_writable.
10505 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10507 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10508 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10509 Adapt for new pad API.
10511 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10513 * gst/gstelement.h:
10514 * gst/gstelement.c (gst_element_iterate_src_pads)
10515 (gst_element_iterate_sink_pads): New API functions.
10517 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10518 should fold into gstiterator.c in some form.
10519 (gst_element_pads_activate): Simplified via use of fold and
10520 delegation of decisions to gstpad->activate.
10522 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10525 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10526 class once in init, like gstmessage. Didn't run into this issue
10527 but it seems correct. Don't initialize a trace, gstminiobject does
10530 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10531 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10533 (assert_live_count): New util function, uses alloc traces to check
10536 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10537 To be modified when unlink drops the internal pad.
10539 2005-06-27 Wim Taymans <wim@fluendo.com>
10541 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10542 (gst_bin_change_state):
10543 Cleanup the get_state() function a little, make sure it
10544 iterates the same set of elements.
10545 Added stub iterate_state_order().
10547 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10549 * docs/gst/gstreamer-docs.sgml:
10550 * docs/gst/gstreamer-sections.txt:
10551 * docs/gst/gstreamer.types:
10552 * docs/gst/tmpl/gstbasesink.sgml:
10553 * docs/gst/tmpl/gstbasesrc.sgml:
10554 * docs/gst/tmpl/gstbasetransform.sgml:
10555 * docs/gst/tmpl/gstelement.sgml:
10556 * docs/gst/tmpl/gstiterator.sgml:
10557 * gst/base/gstbasesrc.c:
10558 * gst/base/gstbasesrc.h:
10559 * gst/base/gstbasetransform.h:
10560 * gst/gstelement.c:
10561 * gst/gstiterator.h:
10562 adding basetransform and iterator docs
10564 2005-06-27 Andy Wingo <wingo@pobox.com>
10566 * docs/design/part-activation.txt: Notes on how activation should
10567 work -- not quite implemented yet.
10569 2005-06-25 Wim Taymans <wim@fluendo.com>
10571 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10572 At least get the chain function correct, needs more
10575 2005-06-25 Wim Taymans <wim@fluendo.com>
10577 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10578 (gst_basesink_handle_object), (gst_basesink_event),
10579 (gst_basesink_do_sync), (gst_basesink_handle_event),
10580 (gst_basesink_change_state):
10582 Right, two problems here: ghostpads don't take locks and
10583 glib _rec_mutex_lock_full() with depth==0 still locks.
10584 Catch illegal locking and g_warn them.
10586 2005-06-25 Wim Taymans <wim@fluendo.com>
10588 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10589 Have to check for completion now...
10591 2005-06-25 Wim Taymans <wim@fluendo.com>
10593 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10594 (gst_basesink_handle_object), (gst_basesink_event),
10595 (gst_basesink_do_sync), (gst_basesink_handle_event),
10596 (gst_basesink_change_state):
10598 Unlock STREAM_LOCK whatever the recursion was.
10600 2005-06-25 Wim Taymans <wim@fluendo.com>
10602 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10603 (gst_basesink_preroll_queue_empty),
10604 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10605 (gst_basesink_event), (gst_basesink_do_sync),
10606 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10607 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10608 (gst_basesink_change_state):
10609 Reworked the base sink, handle event and buffer serialisation
10610 correctly and removed possible deadlock.
10611 Handle EOS correctly.
10613 2005-06-25 Wim Taymans <wim@fluendo.com>
10615 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10616 (gst_pipeline_change_state):
10617 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10618 Allow elements to post EOS in the state change function.
10619 Fix up -launch, make it exit the poll loop when the
10620 pipeline actually changed state.
10621 Fix up warning parsing in -launch.
10623 2005-06-25 Wim Taymans <wim@fluendo.com>
10625 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10626 (gst_tee_sink_activate):
10627 Core takes STREAM_LOCK for us now.
10629 2005-06-25 Wim Taymans <wim@fluendo.com>
10631 * gst/gstelement.c: (gst_element_get_state_func),
10632 (gst_element_set_state):
10633 * gst/gstelement.h:
10634 * gst/gstmessage.c: (gst_message_parse_error),
10635 (gst_message_parse_warning):
10636 Keep track of current target state while performing a state
10637 change so that subclasses can do something interesting.
10638 Fix parsing of warning/error messages when GError is NULL.
10640 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10642 * docs/gst/Makefile.am:
10643 * docs/gst/gstreamer-docs.sgml:
10644 * docs/gst/gstreamer-sections.txt:
10645 * docs/gst/gstreamer.types:
10646 * docs/gst/tmpl/gstbasesink.sgml:
10647 * docs/gst/tmpl/gstbasesrc.sgml:
10648 * docs/gst/tmpl/gstbin.sgml:
10649 * docs/gst/tmpl/gstcompat.sgml:
10650 * docs/gst/tmpl/gstfakesink.sgml:
10651 * docs/gst/tmpl/gstfakesrc.sgml:
10652 * docs/gst/tmpl/gstfilesink.sgml:
10653 * docs/gst/tmpl/gstfilesrc.sgml:
10654 * docs/gst/tmpl/gstindex.sgml:
10655 * docs/manual/appendix-quotes.xml:
10656 * gst/base/gstbasesrc.h:
10657 * gst/elements/gstfakesrc.h:
10658 * gst/gstmessage.h:
10659 start pulling in base classes and elements in our docs
10661 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10663 * docs/gst/Makefile.am:
10664 * docs/libs/Makefile.am:
10665 fixed make distcheck with gtk-doc 1.3
10667 2005-06-23 Wim Taymans <wim@fluendo.com>
10669 * gst/gstelement.c: (gst_element_get_state_func),
10670 (gst_element_set_state), (gst_element_change_state):
10671 When the state did not change, also report NO_PREROLL
10674 2005-06-23 Wim Taymans <wim@fluendo.com>
10676 * gst/gstpad.c: (gst_pad_event_default):
10677 * gst/gstqueue.c: (gst_queue_loop):
10678 No unsafe task pausing please.
10680 2005-06-23 Wim Taymans <wim@fluendo.com>
10682 * gst/schedulers/threadscheduler.c:
10683 (gst_thread_scheduler_task_start),
10684 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10685 Ref the task before pushing it on the threadpool. This
10686 makes sure that we have a ref when the threadfunction is
10689 2005-06-23 Andy Wingo <wingo@pobox.com>
10691 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10692 offset is greater than the file's size.
10694 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10695 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10696 * gst/gstobject.c (gst_object_class_init): Make the class lock
10697 recursive. Wim won't let me drop deep_notify. Decodebin works
10698 again, whoopdy doo.
10700 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10701 internal pad, and hacks accordingly. Doesn't do it on the target
10702 pad because we change its caps. Probably catches all cases of
10704 (gst_ghost_pad_set_property): Connect to notify::caps as
10707 * tests/network-clock.scm (plot-simulation): Pipe data to the
10708 elite python skript.
10710 * tests/network-clock-utils.scm (define-parameter): New macro,
10711 defines a parameter that can be set via the command line.
10712 (set-parameter!, parse-parameter-arguments): Command line args
10715 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10718 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10720 * gst/elements/gsttypefindelement.c:
10721 (gst_type_find_element_handle_event):
10722 Don't restart typefinding on a discont.
10723 * gst/gstelement.c: (gst_element_set_state):
10724 Debug spelling fix.
10725 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10726 Allow changing mode of an active pad.
10727 Debug output fixes.
10728 * gst/registries/gstlibxmlregistry.c: (load_feature):
10729 Don't cast a static pad template to a normal pad template.
10731 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10733 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10734 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10735 remove gst_strtoll completely, since it didn't actually do
10736 anything more than what g_ascii_strtoull already does.
10737 check for range errors when deserializing
10738 do a cast for the unsigned cases; but further fixing needs
10739 a decision on what the interpretation of "(int)" and
10740 deserialization should be for values that fall outside the
10741 type's boundaries (ie, refuse, or interpret as casting)
10743 2005-06-23 Wim Taymans <wim@fluendo.com>
10745 * check/Makefile.am:
10746 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10747 * docs/design/part-live-source.txt:
10748 * docs/design/part-states.txt:
10749 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10750 (gst_basesrc_set_live), (gst_basesrc_is_live),
10751 (gst_basesrc_get_range), (gst_basesrc_activate),
10752 (gst_basesrc_change_state):
10753 * gst/base/gstbasesrc.h:
10754 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10755 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10756 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10757 * gst/gstelement.c: (gst_element_get_state_func),
10758 (gst_element_set_state):
10759 * gst/gstelement.h:
10761 * tools/gst-launch.c: (event_loop), (main):
10762 Added support for live sources and other elements that
10764 Updated design docs, added live-source design doc.
10765 Implemented live source functionality in basesrc
10766 Fix error condition in _bin_get_state()
10767 Implement live source handling in -launch.
10768 Added check for live sources.
10769 Fixed case in GstBin where elements were changed state
10773 2005-06-23 Andy Wingo <wingo@pobox.com>
10775 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10776 borken refcounting.
10778 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10779 gst_caps_replace takes care of this for us.
10781 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10782 gst_pad_set_caps on the target, not just its setcaps() function.
10784 * tests/network-clock.scm:
10785 * tests/network-clock-utils.scm: A network clock simulator.
10786 Something of an algorithmic testbed before doing something in C.
10788 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10790 * check/Makefile.am:
10791 * check/gst/capslist.h:
10792 copy over from 0.8, and add two with bitmasks specified with
10794 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10795 add test to parse everything from capslist.h
10796 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10798 add test for structure deserialization
10799 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10800 add tests for deserialization of strings to int types
10801 * gst/gststructure.c: (gst_structure_nth_field_name):
10802 * gst/gststructure.h:
10803 add a way to get the name of a field referenced by index
10804 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10805 instead of checking if the resulting long long lies between
10806 min and max, we check if the long long would fit into
10807 a number of bytes for the final type.
10808 This fixes cases where a string represents 2^32 - 1, which
10809 when cast to int would be the (valid) -1, but is bigger than
10812 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10814 * gst/parse/grammar.y:
10815 add a log line for type deserialization
10817 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10819 * check/gst/gstvalue.c: (START_TEST):
10820 * gst/gstvalue.c: (gst_value_deserialize):
10821 return long long, not int, so gint64 deserialization actually
10822 works. Is there any flag that makes the compiler check this ?
10825 2005-06-22 Wim Taymans <wim@fluendo.com>
10828 Added convenience macros for setting buffers in GValue.
10830 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10832 * check/gst/.cvsignore:
10833 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10834 add a test deserializing int64, and comment part out because
10837 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10839 * check/Makefile.am:
10840 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10841 * testsuite/Makefile.am:
10842 * testsuite/caps/Makefile.am:
10843 * testsuite/caps/value_serialize.c:
10844 * testsuite/test_gst_init.c:
10845 move a value_serialize test over
10847 2005-06-20 Wim Taymans <wim@fluendo.com>
10852 * gst/gstvalue.c: (gst_value_compare_buffer),
10853 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10854 (gst_value_compare_flags), (gst_value_serialize_flags),
10855 (gst_value_deserialize_flags), (_gst_value_initialize):
10856 Fix serialisation of buffers, they are not boxed types anymore
10858 2005-06-20 Wim Taymans <wim@fluendo.com>
10860 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10861 Testcase to show error in buffer-on-caps serialisation.
10863 2005-06-20 Andy Wingo <wingo@pobox.com>
10865 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10866 will be adding to later.
10868 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10869 if its socks fill with rocks.
10870 (gst_system_clock_obtain): Set the name on object construction.
10871 Avoid double-checked locking.
10873 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10875 * gst/gsturi.c: (gst_element_make_from_uri):
10876 Fix potential endless loop.
10878 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10880 * check/Makefile.am:
10882 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10884 move over from testsuite dir and clean up
10887 * testsuite/Makefile.am:
10888 * testsuite/tags/.cvsignore:
10889 * testsuite/tags/Makefile.am:
10890 * testsuite/tags/merge.c:
10891 remove testsuite/tags
10893 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10895 * docs/gst/gstreamer-sections.txt:
10896 * docs/gst/tmpl/gstenumtypes.sgml:
10897 * win32/gstenumtypes.c:
10898 clean up documentation build a little
10900 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10902 * check/gstcheck.h:
10903 add macros for checking refcounts on objects and caps
10904 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10905 add some more unit tests
10906 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10907 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10908 fix leaked refcounts (I hope :)) so unittest works
10912 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10914 * configure.ac: back to HEAD
10916 === release 0.9.1 ===
10918 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10924 2005-06-17 Andy Wingo <wingo@pobox.com>
10926 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10927 assert; it's always possible that the pad gets deactivated in
10928 between the checks in gstpad.c and the implementation. Rely on
10929 finish_preroll() to return a FLUSHING or similar instead of on the
10932 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10933 clock and post an EOS message if we come out of finish_preroll in
10936 2005-06-16 David Schleef <ds@schleef.org>
10938 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10939 (gst_capsfilter_set_property): Allow NULL as possible value
10940 for filter_caps property, indicating GST_CAPS_ANY.
10942 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10944 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10946 * gst/schedulers/Makefile.am:
10948 * gstreamer.spec.in:
10951 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10953 * gstreamer.spec.in:
10956 2005-06-08 Andy Wingo <wingo@pobox.com>
10958 * gst/gstutils.c: RPAD fixes all around.
10959 (gst_element_link_pads): Refcounting fixes.
10961 * tools/gst-inspect.c:
10962 * tools/gst-xmlinspect.c:
10964 * gst/base/gsttypefindhelper.c:
10965 * gst/base/gstbasesink.c:
10966 * gst/gstqueue.c: RPAD fixes.
10968 * gst/gstghostpad.h:
10969 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10970 pads. The tricky thing is they provide both source and sink
10971 interfaces, since they proxy the internal pad for the external
10972 pad, and vice versa. Implement with lower-level ProxyPad objects,
10973 with the interior proxy pad as a child of the exterior ghost pad.
10974 Should write a doc on this.
10976 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10977 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10980 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10981 pads are real pads. No ghost pads in this file. Not documenting
10982 the myriad s/RPAD/PAD/ and REALIZE fixes.
10983 (gst_pad_class_init): Add properties for "direction" and
10984 "template". Both are construct-only, so they can't change during
10985 the life of the pad. Fixes properly deriving from GstPad.
10986 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10987 derived objects, just set properties when creating the objects via
10989 (gst_pad_get_parent): Implement as a function, return NULL if the
10990 parent is not an element.
10991 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10992 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10994 * gst/gstobject.c (gst_object_class_init): Make name a construct
10995 property. Don't set it in the object init.
10997 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10998 with UNKNOWN direction.
10999 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11000 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11001 (gst_element_remove_pad): Remove ghost-pad special cases.
11002 (gst_element_pads_activate): Remove rpad cruft.
11004 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11005 catch the pad's-parent-not-an-element case.
11007 * gst/gst.h: Include gstghostpad.h.
11009 * gst/gst.c (init_post): No more real, ghost pads.
11011 * gst/Makefile.am: Add gstghostpad.[ch].
11013 * check/Makefile.am:
11014 * check/gst/gstbin.c:
11015 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11016 into a bin creates ghost pads, and that the refcounts are right.
11017 Partly moved from gstbin.c.
11019 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11021 * check/gst-libs/.cvsignore:
11022 * check/gst/.cvsignore:
11023 * check/pipelines/.cvsignore:
11025 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11026 (START_TEST), (cleanup_suite), (main):
11027 add some tests related to cleanup after running pipelines
11029 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11031 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11032 add a testsuite for GstBuffer
11034 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11036 * gst/gstminiobject.h:
11037 add defines for accessing the refcount
11039 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11041 * Makefile.am: added support for html unit test coverage reports
11043 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11045 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11046 Free existing caps if the capsfilter changes. Add a FIXME about
11047 setting those caps on the pads.
11049 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11050 Before adding a ghost pad to a parent bin, check that there isn't
11051 already one for the element on the bin. Prevents infinite recursion
11052 when using decodebin in parse pipelines. Andy says he'll rewrite the
11053 way this works anyway, so ignore the hack.
11055 2005-06-02 Andy Wingo <wingo@pobox.com>
11057 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11058 file size, pass it on to the type find helper.
11060 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11061 segment_start and segment_end properly according to the seek
11062 method. Segment_end is still a bit flaky because offset can be
11063 negative for CUR and END cases, but it takes -1 as an "unset"
11066 2005-06-02 Wim Taymans <wim@fluendo.com>
11068 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11069 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11070 (gst_basesink_activate):
11071 * gst/base/gstbasesink.h:
11072 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11073 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11074 (gst_pad_query), (gst_pad_start_task):
11076 * gst/gstqueue.c: (gst_queue_bufferalloc),
11077 (gst_queue_handle_sink_event), (gst_queue_chain):
11078 Bufferalloc: return GstFlowReturn to more accuratly report
11079 why allocation failed.
11081 2005-06-02 Wim Taymans <wim@fluendo.com>
11083 * gst/gstpipeline.c: (gst_pipeline_send_event):
11084 Take snapshot of state without blocking.
11086 2005-06-02 Wim Taymans <wim@fluendo.com>
11088 * docs/design/part-TODO.txt:
11089 * docs/design/part-caps.txt:
11090 * docs/design/part-clocks.txt:
11091 * docs/design/part-negotiation.txt:
11092 * docs/design/part-preroll.txt:
11095 2005-05-30 Wim Taymans <wim@fluendo.com>
11097 * gst/elements/gstidentity.c: (gst_identity_event),
11098 (gst_identity_transform), (gst_identity_get_property):
11099 Protect last_message property as it is accessed from
11102 2005-05-30 Wim Taymans <wim@fluendo.com>
11104 * gst/gstelement.c: (gst_element_init),
11105 (gst_element_pads_activate), (gst_element_change_state):
11106 Slicker pad activation code.
11108 2005-05-30 Wim Taymans <wim@fluendo.com>
11111 * gst/gstelement.h:
11112 * gst/gstelementfactory.h:
11114 Move elementfactory methods to separate .h file.
11116 2005-05-30 Wim Taymans <wim@fluendo.com>
11118 * docs/design/part-overview.txt:
11119 * gst/gstsystemclock.h:
11120 Small typo fixes, doc updates.
11122 2005-05-30 Wim Taymans <wim@fluendo.com>
11124 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11125 (init_popt_callback):
11126 Remove cpu-opt flag.
11128 2005-05-30 Wim Taymans <wim@fluendo.com>
11130 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11131 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11133 Avoid typechecking in places where not needed.
11134 Added accessor for malloc_data.
11136 2005-05-30 Wim Taymans <wim@fluendo.com>
11138 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11139 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11140 (gst_pad_configure_sink), (gst_pad_configure_src),
11141 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11142 (gst_pad_start_task):
11143 Propagate errors from _set_caps() in configure_src/sink
11144 functions instead of returning TRUE.
11145 FLUSH events can travel up and downstream
11148 2005-05-30 Wim Taymans <wim@fluendo.com>
11150 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11151 (gst_basesink_activate):
11152 Handle EOS in preroll.
11154 2005-05-30 Wim Taymans <wim@fluendo.com>
11156 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11157 (gst_queue_loop), (gst_queue_handle_src_event):
11158 Remove old pieces of code
11159 Flushing the queue in an upstream event is a very bad idea.
11161 2005-05-26 Andy Wingo <wingo@pobox.com>
11163 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11164 gst_value_set_mini_object so as to add a ref on the object (which
11165 will be removed when the value is unset).
11167 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11168 arg type in ::handoff.
11170 * gst/gstelement.c (gst_element_change_state): Also deactivate
11171 pads in READY->NULL, just in case the element didn't make it to
11172 PAUSED. Wingo tested, Wim approved.
11174 2005-05-26 Wim Taymans <wim@fluendo.com>
11176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11177 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11178 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11179 A flushing pad cannot be used to alloc_buffer from.
11181 2005-05-26 Wim Taymans <wim@fluendo.com>
11183 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11184 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11185 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11186 (gst_bus_create_watch), (gst_bus_add_watch_full):
11188 Implement a real GSource and use g_main_context_wakeup() to
11189 signal new messages instead of the socketpair.
11191 2005-05-25 Wim Taymans <wim@fluendo.com>
11193 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11194 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11195 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11196 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11197 (gst_pad_send_event), (gst_pad_start_task):
11198 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11199 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11200 (gst_queue_sink_activate), (gst_queue_src_activate),
11201 (gst_queue_change_state):
11203 Fix state changes for non sinks. We now change sinks, then elements
11204 with unconnected srcpads, then the rest.
11205 More efficient queue unlocking in flush and state changes.
11206 Set the pad activate mode even if it does not have an activate
11209 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11211 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11212 Don't go in pull mode for non-seekable sources.
11213 * gst/elements/gsttypefindelement.h:
11214 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11215 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11216 (free_entry), (stop_typefinding),
11217 (gst_type_find_element_handle_event), (find_peek),
11218 (gst_type_find_element_chain), (do_pull_typefind),
11219 (gst_type_find_element_change_state):
11220 Allow typefinding (w/o seeking) in push-mode, simplified version
11221 of what was in 0.8.
11222 * gst/gstutils.c: (gst_buffer_join):
11224 gst_buffer_join() from 0.8.
11226 2005-05-25 Wim Taymans <wim@fluendo.com>
11228 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11229 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11230 (gst_pad_send_event), (gst_pad_start_task):
11231 Disable attempt at mode switching until it is figured out.
11233 2005-05-25 Wim Taymans <wim@fluendo.com>
11235 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11236 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11237 (gst_basesink_finish_preroll), (gst_basesink_chain),
11238 (gst_basesink_loop), (gst_basesink_activate),
11239 (gst_basesink_change_state):
11240 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11241 (gst_basesrc_get_range), (gst_basesrc_loop),
11242 (gst_basesrc_activate):
11243 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11244 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11245 (gst_real_pad_init), (gst_real_pad_set_property),
11246 (gst_real_pad_get_property), (gst_pad_set_active),
11247 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11248 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11249 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11250 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11251 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11252 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11253 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11254 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11255 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11256 (gst_pad_stop_task):
11258 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11259 (gst_queue_loop), (gst_queue_src_activate):
11260 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11261 (gst_task_get_state):
11263 * gst/schedulers/threadscheduler.c:
11264 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11265 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11267 Remove ACTIVE pad flag, use FLUSHING everywhere
11268 Added _pad_chain(), _pad_get_range() to call chain/getrange
11270 Add locks around IS_FLUSHING when reading.
11271 Take STREAM lock in chain(), get_range() functions so plugins
11272 don't need to take it anymore.
11276 2005-05-25 Wim Taymans <wim@fluendo.com>
11278 * tools/gst-launch.c: (event_loop):
11279 Unref message after using its contents instead of
11282 2005-05-24 Wim Taymans <wim@fluendo.com>
11284 * docs/design/draft-ghostpads.txt:
11285 * docs/design/draft-push-pull.txt:
11286 * docs/design/draft-query.txt:
11287 * docs/design/part-overview.txt:
11288 Docs updates, added general overview doc.
11290 2005-05-21 David Schleef <ds@schleef.org>
11292 * docs/gst/tmpl/old/GstBin.sgml:
11293 * docs/gst/tmpl/old/GstBuffer.sgml:
11294 * docs/gst/tmpl/old/GstCaps.sgml:
11295 * docs/gst/tmpl/old/GstClock.sgml:
11296 * docs/gst/tmpl/old/GstCompat.sgml:
11297 * docs/gst/tmpl/old/GstData.sgml:
11298 * docs/gst/tmpl/old/GstElement.sgml:
11299 * docs/gst/tmpl/old/GstEvent.sgml:
11300 * docs/gst/tmpl/old/GstIndex.sgml:
11301 * docs/gst/tmpl/old/GstStructure.sgml:
11302 * docs/gst/tmpl/old/GstTag.sgml:
11303 * docs/gst/tmpl/old/cothreads.sgml:
11304 * docs/gst/tmpl/old/cothreads_compat.sgml:
11305 * docs/gst/tmpl/old/gettext.sgml:
11306 * docs/gst/tmpl/old/gobject2gtk.sgml:
11307 * docs/gst/tmpl/old/grammar.tab.sgml:
11308 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11309 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11310 * docs/gst/tmpl/old/gst_private.sgml:
11311 * docs/gst/tmpl/old/gstaggregator.sgml:
11312 * docs/gst/tmpl/old/gstarch.sgml:
11313 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11314 * docs/gst/tmpl/old/gstbufferstore.sgml:
11315 * docs/gst/tmpl/old/gstdata_private.sgml:
11316 * docs/gst/tmpl/old/gstdisksink.sgml:
11317 * docs/gst/tmpl/old/gstdisksrc.sgml:
11318 * docs/gst/tmpl/old/gstelementfactory.sgml:
11319 * docs/gst/tmpl/old/gstextratypes.sgml:
11320 * docs/gst/tmpl/old/gstfakesink.sgml:
11321 * docs/gst/tmpl/old/gstfakesrc.sgml:
11322 * docs/gst/tmpl/old/gstfdsink.sgml:
11323 * docs/gst/tmpl/old/gstfdsrc.sgml:
11324 * docs/gst/tmpl/old/gstfilesink.sgml:
11325 * docs/gst/tmpl/old/gstfilesrc.sgml:
11326 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11327 * docs/gst/tmpl/old/gstidentity.sgml:
11328 * docs/gst/tmpl/old/gstindexfactory.sgml:
11329 * docs/gst/tmpl/old/gstmarshal.sgml:
11330 * docs/gst/tmpl/old/gstmd5sink.sgml:
11331 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11332 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11333 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11334 * docs/gst/tmpl/old/gstpipefilter.sgml:
11335 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11336 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11337 * docs/gst/tmpl/old/gstshaper.sgml:
11338 * docs/gst/tmpl/old/gstspider.sgml:
11339 * docs/gst/tmpl/old/gstspideridentity.sgml:
11340 * docs/gst/tmpl/old/gststatistics.sgml:
11341 * docs/gst/tmpl/old/gsttee.sgml:
11342 * docs/gst/tmpl/old/gsttimecache.sgml:
11343 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11344 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11345 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11346 * docs/gst/tmpl/old/types.sgml:
11347 I didn't intend to add these or check them in.
11349 2005-05-19 David Schleef <ds@schleef.org>
11351 * configure.ac: Use -no-common everywhere. In a sane world, it
11352 would be the default in libtool, because without it, you can't
11353 build DLLs on Windows.
11354 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11355 * docs/gst/gstreamer-sections.txt:
11356 * docs/gst/tmpl/gstcpu.sgml:
11357 * docs/gst/tmpl/gstdata.sgml:
11358 * docs/gst/tmpl/gstthread.sgml:
11360 2005-05-19 David Schleef <ds@schleef.org>
11362 * gst/gstminiobject.c: (gst_value_set_mini_object),
11363 (gst_value_take_mini_object), (gst_value_get_mini_object):
11364 * gst/gstminiobject.h: Add GValue set/get functions.
11366 2005-05-19 Wim Taymans <wim@fluendo.com>
11368 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11369 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11370 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11372 * gst/gstbus.c: (gst_bus_post):
11373 * gst/gstelement.c: (gst_element_get_random_pad):
11374 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11375 Make subbufer unref the parent in finalize.
11376 some more debugging info.
11379 2005-05-19 Wim Taymans <wim@fluendo.com>
11381 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11382 (gst_basesink_init), (gst_basesink_finalize),
11383 (gst_basesink_activate), (gst_basesink_change_state):
11384 Don't free preroll queue too early.
11386 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11390 Hi, I'm outdated. Please shoot me.
11392 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11394 * gst/gstpipeline.c: (gst_pipeline_send_event):
11395 Do not access variables after they have been deleted.
11397 2005-05-19 Wim Taymans <wim@fluendo.com>
11399 * tools/gst-inspect.c: (print_plugin_features):
11400 A plugin feature does unfortunatly not use the
11403 2005-05-18 Wim Taymans <wim@fluendo.com>
11405 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11406 Port _span() functions to new subbuffers.
11408 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11410 * gst/gstbin.c: (gst_bin_add_func):
11411 Fix clock settery in bins when adding kids after the clock has
11414 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11416 * gst/elements/gstidentity.c: (gst_identity_class_init):
11417 Workaround until signals support GstMiniObject.
11419 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11422 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11424 2005-05-18 Wim Taymans <wim@fluendo.com>
11426 * gst/base/Makefile.am:
11427 * gst/base/gstadapter.c: (gst_adapter_base_init),
11428 (gst_adapter_class_init), (gst_adapter_init),
11429 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11430 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11431 (gst_adapter_flush), (gst_adapter_available),
11432 (gst_adapter_available_fast):
11433 * gst/base/gstadapter.h:
11434 Ported and added adapter to the base classes.
11436 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11439 * gst/gstmessage.c:
11440 Make sure the class is reffed/unreffed once before threads can be
11441 used. Fixes #304551.
11443 2005-05-17 Wim Taymans <wim@fluendo.com>
11445 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11446 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11447 * gst/gstminiobject.c: (gst_mini_object_get_type),
11448 (gst_mini_object_free):
11449 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11450 (gst_pad_push), (gst_pad_push_event):
11451 * gst/gstqueue.c: (gst_queue_change_state):
11452 Don't queue buffers in basesink when we are flushing.
11453 Unref buffer when flushing in basesink.
11454 Flush queue when going to READY
11455 Unref buffer when _push() returns an error.
11456 Don't free MiniObject instance when refcount is incremented
11457 in _finalize() so that we can recover objects.
11459 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11461 * docs/manual/advanced-schedulers.xml:
11462 * docs/manual/appendix-checklist.xml:
11463 * docs/pwg/advanced-clock.xml:
11464 * docs/pwg/advanced-interfaces.xml:
11465 * docs/pwg/advanced-request.xml:
11466 * docs/pwg/advanced-types.xml:
11467 * docs/pwg/intro-preface.xml:
11468 * examples/plugins/example.c: (gst_example_get_type),
11469 (gst_example_class_init), (gst_example_chain),
11470 (gst_example_set_property), (gst_example_get_property),
11471 (gst_example_change_state), (plugin_init):
11472 * examples/plugins/example.h:
11475 2005-05-17 Wim Taymans <wim@fluendo.com>
11477 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11478 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11479 * gst/gstqueue.c: (gst_queue_change_state):
11480 Clear queue when going to READY.
11481 Remove IN_SETCAPS flag too.
11483 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11485 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11486 Remove implicit cast from gboolean to GstElementStateReturn;
11487 make sure we still return failure in paused => ready case if
11488 the parent class fails to change state and our own stop
11491 2005-05-17 Wim Taymans <wim@fluendo.com>
11493 * tools/gst-launch.c: (event_loop):
11494 Message was unreffed too soon.
11496 2005-05-16 Andy Wingo <wingo@pobox.com>
11498 * gst/gstbin.c (sink_iterator_filter): Err... um...
11500 * check/gst/gstbin.c (test_ghost_pads): New test for the
11501 ghosting-if-elements-not-in-same-bin behavior.
11503 2005-05-16 David Schleef <ds@schleef.org>
11505 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11506 accessing refcount directly.
11508 2005-05-15 David Schleef <ds@schleef.org>
11510 * check/Makefile.am: remove GstData checks
11511 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11512 * gst/Makefile.am: add miniobject, remove data
11513 * gst/gst.h: add miniobject, remove data
11514 * gst/gstdata.c: remove
11515 * gst/gstdata.h: remove
11516 * gst/gstdata_private.h: remove
11517 * gst/gsttypes.h: remove GstEvent and GstMessage
11518 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11519 * gst/gstmarshal.list: change BOXED -> OBJECT
11521 Implement GstMiniObject.
11522 * gst/gstminiobject.c:
11523 * gst/gstminiobject.h:
11525 Modify to be subclasses of GstMiniObject.
11526 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11527 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11528 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11529 (gst_subbuffer_get_type), (gst_subbuffer_init),
11530 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11533 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11534 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11535 (_gst_event_copy), (gst_event_new):
11537 * gst/gstmessage.c: (_gst_message_initialize),
11538 (gst_message_get_type), (gst_message_class_init),
11539 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11540 (gst_message_new), (gst_message_new_error),
11541 (gst_message_new_warning), (gst_message_new_tag),
11542 (gst_message_new_state_changed), (gst_message_new_application):
11543 * gst/gstmessage.h:
11544 * gst/gstprobe.c: (gst_probe_perform),
11545 (gst_probe_dispatcher_dispatch):
11547 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11548 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11549 (_gst_query_copy), (gst_query_new):
11551 Update elements for GstData -> GstMiniObject changes
11553 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11554 (gst_queue_chain), (gst_queue_loop):
11555 * gst/elements/gstbufferstore.c:
11556 (gst_buffer_store_add_buffer_func),
11557 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11558 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11559 (gst_fakesink_render):
11560 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11561 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11562 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11563 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11564 (gst_filesrc_create_read):
11565 * gst/elements/gstidentity.c: (gst_identity_class_init):
11566 * gst/elements/gsttypefindelement.c:
11567 (gst_type_find_element_src_event), (free_entry_buffers),
11568 (gst_type_find_element_handle_event):
11569 * libs/gst/dataprotocol/dataprotocol.c:
11570 (gst_dp_header_from_buffer):
11571 * libs/gst/dataprotocol/dataprotocol.h:
11572 * libs/gst/dataprotocol/dp-private.h:
11574 2005-05-15 David Schleef <ds@schleef.org>
11576 * gst/elements/gstelements.c: Don't include headers that were
11579 2005-05-15 David Schleef <ds@schleef.org>
11581 * gst/elements/Makefile.am: Remove some elements that don't
11582 need to be in the core (or even exist at all).
11583 * gst/elements/gstaggregator.c:
11584 * gst/elements/gstaggregator.h:
11585 * gst/elements/gstmd5sink.c:
11586 * gst/elements/gstmd5sink.h:
11587 * gst/elements/gstmultifilesrc.c:
11588 * gst/elements/gstmultifilesrc.h:
11589 * gst/elements/gstpipefilter.c:
11590 * gst/elements/gstpipefilter.h:
11591 * gst/elements/gstshaper.c:
11592 * gst/elements/gstshaper.h:
11593 * gst/elements/gststatistics.c:
11594 * gst/elements/gststatistics.h:
11595 * po/POTFILES.in: Remove above files.
11597 2005-05-14 Andy Wingo <wingo@pobox.com>
11599 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11600 so as to get the refs right.
11601 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11602 unreffing objects that don't pass the filter.
11604 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11605 gst_element_set_bus.
11606 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11607 normal cases, this will destroy the bus.
11609 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11612 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11615 2005-05-13 Andy Wingo <wingo@pobox.com>
11617 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11618 gst_pad_link, call pad_link_maybe_ghosting,
11619 (pad_link_maybe_ghosting): Links pads, making sure that the
11620 elements being linked are in the same bin.
11621 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11622 Helpers for pad_link_maybe_ghosting.
11624 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11627 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11629 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11631 * docs/design/part-element-source.txt:
11634 2005-05-12 Wim Taymans <wim@fluendo.com>
11636 * gst/base/gstbasesink.c: (gst_basesink_init),
11637 (gst_basesink_activate):
11638 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11639 (gst_basesrc_is_seekable):
11640 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11641 (bin_element_is_sink), (gst_bin_change_state):
11642 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11643 * gst/gstelement.h:
11644 Identify sinks by their flag to avoid overly complicated
11646 Do state changes even for elements not reachable from the
11648 BaseSink is a sink now :)
11649 Some more debugging info in the basesrc.
11652 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11654 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11655 Implement _query on a bin, similar to _send_event.
11657 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11659 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11660 Discont event offset format should be GST_FORMAT_BYTES,
11661 not GST_FORMAT_TIME.
11663 2005-05-12 Wim Taymans <wim@fluendo.com>
11665 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11666 Same fix as Ronald's but without the signal.
11668 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11670 * gst/gstutils.c: (gst_element_query_position):
11671 No, an element is not a pad.
11673 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11675 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11676 (gst_bin_get_state):
11677 If a child is removed from a bin while we remove the child from
11678 the bin and while we're retrieving its state, signal this to the
11679 get_state function so we abort the wait (instead of waiting for
11680 a timeout) and can immediately re-iterate over all other elements.
11682 2005-05-12 Wim Taymans <wim@fluendo.com>
11684 * gst/base/Makefile.am:
11685 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11686 (gst_basesrc_start):
11687 * gst/base/gstbasesrc.h:
11688 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11689 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11690 (gst_pushsrc_init), (gst_pushsrc_create):
11691 * gst/base/gstpushsrc.h:
11692 Added is_seekable to BaseSrc
11693 Added simple PushSrc.
11695 2005-05-11 Wim Taymans <wim@fluendo.com>
11697 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11698 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11699 (gst_element_link_pads), (gst_element_query_position),
11700 (gst_element_query_convert), (intersect_caps_func),
11701 (gst_pad_query_position), (gst_pad_query_convert):
11702 Fix refcounting in utils function.
11703 No point in trying to activate a pad when it's added, it could
11704 be added from the state change function and then we deadlock, the
11705 element has to decide what to do.
11707 2005-05-10 Andy Wingo <wingo@pobox.com>
11709 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11710 *all* the arguments.
11712 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11713 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11714 lock (according to the docs -- if this is wrong change the docs).
11716 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11717 flush messages in the NULL state.
11719 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11720 message immediately and return.
11721 (gst_bus_set_flushing): New function. If a bus is flushing, it
11722 flushes out any queued messages and immediately unrefs new
11723 messages. This is so when an element goes to NULL, all of the
11724 unhandled messages coming from it can be freed, and their
11725 references to the element dropped. In other words: message source
11726 ref considered harmful :P
11728 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11729 we're finished with it.
11731 * gst/gstmessage.c (gst_message_new_state_changed):
11733 2005-05-10 Wim Taymans <wim@fluendo.com>
11735 * gst/gstvalue.c: (gst_value_compare_flags),
11736 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11737 (_gst_value_initialize):
11738 Added flags serialize/deserialize/compare code.
11740 2005-05-09 Andy Wingo <wingo@pobox.com>
11742 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11743 Intersect the peer's caps with our caps.
11745 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11747 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11748 * gst/elements/gsttypefindelement.c: (find_peek):
11749 Handle negative offsets better. Fixes decodebin.
11751 2005-05-09 Wim Taymans <wim@fluendo.com>
11753 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11754 (gst_base_transform_event):
11755 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11756 Implement accept_caps.
11757 Fix silly lock/unlock mismatch in base class.
11759 2005-05-09 Wim Taymans <wim@fluendo.com>
11761 * docs/design/draft-push-pull.txt:
11762 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11763 * gst/elements/gstfilesink.c: (gst_filesink_init),
11764 (gst_filesink_query):
11765 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11766 (gst_type_find_handle_src_query), (find_element_get_length):
11767 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11768 * gst/gstelement.h:
11769 * gst/gstmessage.c:
11770 * gst/gstmessage.h:
11771 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11772 (gst_real_pad_get_caps_unlocked),
11773 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11774 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11775 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11776 (gst_real_pad_dispose), (gst_real_pad_finalize),
11777 (gst_pad_load_and_link), (gst_pad_save_thyself),
11778 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11779 (gst_pad_check_pull_range), (gst_pad_pull_range),
11780 (gst_pad_template_get_type), (gst_pad_template_class_init),
11781 (gst_pad_template_init), (gst_pad_template_dispose),
11782 (name_is_valid), (gst_static_pad_template_get),
11783 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11784 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11785 (gst_pad_get_element_private), (gst_pad_start_task),
11786 (gst_pad_pause_task), (gst_pad_stop_task),
11787 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11788 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11789 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11790 (gst_ghost_pad_new):
11792 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11793 (gst_query_new_position), (gst_query_set_position),
11794 (gst_query_parse_position), (gst_query_new_convert),
11795 (gst_query_set_convert), (gst_query_parse_convert):
11797 * gst/gstqueryutils.c:
11798 * gst/gstqueryutils.h:
11799 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11800 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11801 (gst_queue_handle_src_query):
11802 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11803 (gst_element_query_position), (gst_element_query_convert),
11804 (intersect_caps_func), (gst_pad_query_position),
11805 (gst_pad_query_convert):
11807 * tools/gst-inspect.c: (print_pad_info):
11808 * tools/gst-xmlinspect.c: (print_element_info):
11809 Remove old query functions. Ported old code.
11810 Added position/convert helper functions to gstutils.
11811 Reordered gstpad.c code, grouping relevant things.
11812 Remove gst_message_new(), always need to speficy a specific
11816 2005-05-09 Andy Wingo <wingo@pobox.com>
11818 * gst/gstiterator.h: Add some includes.
11820 * gst/gstqueryutils.h: Include more headers.
11823 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11824 some uses of gst_pad_query.
11826 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11827 NULL out parameters.
11828 (gst_query_new_position): New proc, allocates a new position
11831 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11832 gstqueryutils.c to the build.
11834 * gst/gststructure.c (gst_structure_set_valist): Implement with
11835 the generic G_VALUE_COLLECT.
11837 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11839 * gst/Makefile.am: (gst_headers):
11840 Added gstqueryutils.h to the list of headers to install, that was
11841 a 'nachty' move wingo :)
11843 2005-05-06 Andy Wingo <wingo@pobox.com>
11846 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11847 GstData, init a memchunk.
11848 (standard_definitions): Add a few query types, deprecate a few.
11849 (gst_query_get_type): New proc.
11850 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11852 (gst_query_new_application, gst_query_get_structure): New public
11855 * docs/design/draft-query.txt: Removed LINKS from the query types,
11856 because all the rest can be dispatched to other pads -- seemed
11857 ugly to have a query that couldn't be dispatched. internal_links
11858 is fine as a pad method.
11860 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11861 in gstpad.c, but maintain binary compatibility for the moment.
11862 Will fix before 0.9 is out.
11864 * gst/gstqueryutils.c:
11865 * gst/gstqueryutils.h: New files, implement 3 methods for each
11866 query type: parse_query, parse_response, and set. Probably need an
11869 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11871 * gst/elements/gstfilesink.c (gst_filesink_query2):
11872 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11873 query_types, and formats methods.
11875 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11876 (gst_pad_set_query2_function): New functions.
11877 (gst_real_pad_init): Set query2_default as the default query2
11878 function. Basically just dispatches to internally linked pads.
11882 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11883 without using the atomic operations. Only one thread can possibly
11884 be accessing the data at this point. Changed so as to avoid
11885 gst_atomic operations.
11887 2005-05-06 Wim Taymans <wim@fluendo.com>
11889 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11890 Also set caps if we use the fallback buffer alloc.
11892 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11894 * docs/gst/Makefile.am:
11895 * docs/gst/gstreamer-docs.sgml:
11896 * docs/gst/gstreamer-sections.txt:
11897 * docs/gst/tmpl/gstatomic.sgml:
11898 * docs/gst/tmpl/gstmemchunk.sgml:
11899 * testsuite/elements/struct_i386.h:
11900 * win32/GStreamer.vcproj:
11902 Purge GstAtomic stuff from docs and win32 makefiles as well
11904 2005-05-06 Wim Taymans <wim@fluendo.com>
11906 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11907 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11908 * gst/gstpad.c: (gst_pad_peer_get_caps):
11909 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11910 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11911 (gst_queue_src_activate), (gst_queue_change_state):
11913 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11914 (intersect_caps_func):
11915 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11916 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11917 Some fixes for the peer_get_caps() change.
11919 2005-05-06 Wim Taymans <wim@fluendo.com>
11921 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11922 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11923 (gst_basesink_activate):
11924 Actually do something with error codes returned from the push
11927 2005-05-06 Wim Taymans <wim@fluendo.com>
11929 * docs/design/part-element-sink.txt:
11930 * docs/design/part-element-source.txt:
11931 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11932 (gst_basesink_event), (gst_basesink_activate):
11933 * gst/base/gstbasesink.h:
11934 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11935 (gst_basesrc_activate):
11936 * gst/base/gstbasesrc.h:
11937 * gst/gstelement.c: (gst_element_pads_activate):
11938 Some more documentation.
11939 Fixed scheduling decision in _pads_activate().
11941 2005-05-05 Andy Wingo <wingo@pobox.com>
11943 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11946 2005-05-05 Wim Taymans <wim@fluendo.com>
11948 * gst/base/Makefile.am:
11949 * gst/base/gstbasesink.h:
11950 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11951 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11952 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11953 (gst_collectpads_class_init), (gst_collectpads_init),
11954 (gst_collectpads_finalize), (gst_collectpads_new),
11955 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11956 (find_pad), (gst_collectpads_remove_pad),
11957 (gst_collectpads_is_active), (gst_collectpads_collect),
11958 (gst_collectpads_collect_range), (gst_collectpads_start),
11959 (gst_collectpads_stop), (gst_collectpads_peek),
11960 (gst_collectpads_pop), (gst_collectpads_available),
11961 (gst_collectpads_read), (gst_collectpads_flush),
11962 (gst_collectpads_chain):
11963 * gst/base/gstcollectpads.h:
11964 * gst/elements/Makefile.am:
11965 * gst/elements/gstelements.c:
11966 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11967 (gst_fakesink_get_times), (gst_fakesink_event),
11968 (gst_fakesink_preroll), (gst_fakesink_render):
11969 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11970 (gst_filesink_init), (gst_filesink_set_location),
11971 (gst_filesink_open_file), (gst_filesink_close_file),
11972 (gst_filesink_pad_query), (gst_filesink_event),
11973 (gst_filesink_render), (gst_filesink_change_state):
11974 * gst/elements/gstfilesink.h:
11975 Added object to help in making collect pad based elements.
11977 Make event function in sink baseclass return gboolean.
11979 2005-05-05 Wim Taymans <wim@fluendo.com>
11981 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11982 (gst_bin_get_by_name):
11984 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11985 (gst_clock_finalize):
11986 * gst/gstdata.c: (gst_data_replace):
11988 * gst/gstelement.c: (gst_element_request_pad),
11989 (gst_element_pads_activate):
11990 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11991 (gst_object_unref):
11992 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11993 (gst_pad_set_checkgetrange_function),
11994 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11995 (gst_pad_check_pull_range), (gst_pad_pull_range),
11996 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11997 (gst_pad_pause_task), (gst_pad_stop_task):
11998 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11999 (gst_element_request_pad), (gst_pad_proxy_getcaps):
12000 Fix name lookup in GstBin.
12001 Added _data_replace() function and _buffer_replace()
12002 Use finalize method to clean up clock.
12003 Fix refcounting on request pads.
12004 Fix pad schedule mode error.
12005 Some more object refcounting debug info,
12008 2005-05-04 Andy Wingo <wingo@pobox.com>
12010 * check/Makefile.am:
12011 * docs/gst/tmpl/gstatomic.sgml:
12012 * docs/gst/tmpl/gstplugin.sgml:
12013 * gst/base/gstbasesink.c: (gst_basesink_activate):
12014 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12015 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12016 (gst_basesrc_query), (gst_basesrc_set_property),
12017 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12018 (gst_basesrc_activate):
12019 * gst/base/gstbasesrc.h:
12020 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12021 (gst_base_transform_src_activate):
12022 * gst/elements/gstelements.c:
12023 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12024 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12025 * gst/elements/gsttee.c: (gst_tee_sink_activate):
12026 * gst/elements/gsttypefindelement.c: (find_element_get_length),
12027 (gst_type_find_element_checkgetrange),
12028 (gst_type_find_element_activate):
12029 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12030 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12031 (gst_caps_load_thyself):
12032 * gst/gstelement.c: (gst_element_pads_activate),
12033 (gst_element_save_thyself), (gst_element_restore_thyself):
12034 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12035 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12037 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12038 (gst_xml_parse_file), (gst_xml_parse_memory),
12039 (gst_xml_get_element), (gst_xml_make_element):
12040 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12041 (_file_index_id_save_xml), (gst_file_index_commit):
12042 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12043 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12045 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12046 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12047 * tools/gst-complete.c: (main):
12048 * tools/gst-compprep.c: (main):
12049 * tools/gst-inspect.c: (print_element_properties_info):
12050 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12051 * tools/gst-xmlinspect.c: (print_element_properties):
12054 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12056 * gst/gstplugin.c: (gst_plugin_check_module),
12057 (gst_plugin_check_file), (gst_plugin_load_file):
12058 apply patch from #172526 to make register work on MacOSX
12060 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12062 * docs/gst/tmpl/gstconfig.sgml:
12063 * gst/gstconfig.h.in:
12064 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12065 * testsuite/debug/printf_extension.c: (main):
12066 Do not use GST_PTR_FORMAT on pointers to types with
12067 sizeof < sizeof(gpointer). Fixes test on 64-bit
12068 * testsuite/elements/property.h:
12069 use correct printf format
12071 2005-05-02 Wim Taymans <wim@fluendo.com>
12073 * docs/design/draft-push-pull.txt:
12074 * docs/design/draft-query.txt:
12075 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12076 (gst_basesrc_start):
12077 Added draft for new query API.
12078 Added draft for better selecting scheduling methods.
12079 Make basesrc ignore length if the subclass does not support
12082 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12085 possible fixes for automake-1.5 - _LIBADD is reserved
12087 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12089 * docs/faq/Makefile.am:
12090 * docs/manual/Makefile.am:
12091 * docs/manuals.mak:
12092 * docs/pwg/Makefile.am:
12094 possible fixes for automake-1.5
12096 2005-04-28 Wim Taymans <wim@fluendo.com>
12098 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12099 (gst_basesink_pad_getcaps), (gst_basesink_init),
12100 (gst_basesink_do_sync):
12101 * gst/gstclock.c: (gst_clock_entry_new):
12102 * gst/gstevent.c: (gst_event_discont_get_value):
12103 * gst/gstpipeline.c: (pipeline_bus_handler),
12104 (gst_pipeline_change_state):
12105 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12106 Better debugging of clocking info.
12107 Allow NULL values when getting discont values.
12109 2005-04-27 Wim Taymans <wim@fluendo.com>
12111 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12112 * check/gst/gstpad.c: (gst_pad_suite):
12113 Increase timeout for checks.
12115 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12117 * check/Makefile.am:
12118 fix the broken rule for cleanup. Apparently this rule is
12119 only needed on FC2, so maybe this warrants further autotool
12122 2005-04-26 Wim Taymans <wim@fluendo.com>
12124 * gst/gsttrashstack.h:
12125 Ooohh. a nasty one! After having a failed pop() from the stack,
12126 it's possible that the stack is empty. In that case, don't
12127 follow the NULL pointer.
12129 2005-04-25 Wim Taymans <wim@fluendo.com>
12131 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12132 (gst_pad_set_checkgetrange_function),
12133 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12134 (gst_pad_check_pull_range), (gst_pad_pull_range),
12135 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12136 (gst_pad_pause_task), (gst_pad_stop_task):
12137 * gst/gstplugin.c: (gst_plugin_load):
12139 Remove gst_library_load as it does more harm than good with
12140 the new g_module flags.
12141 Revert bogus caps template check in pad linking, pad caps
12142 are important when linking not the template, which is more
12143 general than the current caps.
12145 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12147 * gst/autoplug/.cvsignore:
12148 * gst/autoplug/Makefile.am:
12149 * gst/autoplug/gstsearchfuncs.c:
12150 * gst/autoplug/gstsearchfuncs.h:
12151 * gst/autoplug/gstspider.c:
12152 * gst/autoplug/gstspider.h:
12153 * gst/autoplug/gstspideridentity.c:
12154 * gst/autoplug/gstspideridentity.h:
12155 * gst/autoplug/spidertest.c:
12158 2005-04-25 Wim Taymans <wim@fluendo.com>
12160 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12161 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12162 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12163 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12165 Added stubs for unimplemented functions.
12167 2005-04-24 David Schleef <ds@schleef.org>
12169 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12172 2005-04-24 David Schleef <ds@schleef.org>
12174 Convert everything from GstAtomicInt to g_atomic_int_*, and
12179 * gst/gstatomic_impl.h:
12187 * gst/gstdata_private.h:
12191 * gst/gstmessage.c:
12194 * gst/gststructure.c:
12195 * gst/gststructure.h:
12196 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12199 2005-04-24 David Schleef <ds@schleef.org>
12201 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12202 make the regressions tests work. Remove some code that is no
12204 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12205 Disable warning for pads without templates.
12207 2005-04-24 David Schleef <ds@schleef.org>
12209 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12210 functions that handle filtered links.
12211 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12213 * gst/gstutils.c: Fix/remove utility functions that handle
12216 * gst/gstvalue.c: Add serialization/deserialization of caps
12217 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12218 requires fixing so that the filter caps notation creates
12219 a capsfilter element and sets the filter_caps property. I
12220 think everyone probably wants to keep the shorthand notation.
12221 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12222 * docs/gst/tmpl/gstpad.sgml:
12224 * gst/elements/gstelements.c: Register capsfilter element.
12225 * gst/Makefile.am: fix spacing
12226 * docs/random/ds/0.9-suggested-changes: random
12228 2005-04-23 David Schleef <ds@schleef.org>
12230 * gst/elements/Makefile.am:
12231 * gst/elements/gstcapsfilter.c: New element that acts like an
12232 identity, but filters caps. Will eventually replace filtered
12233 caps in pad linking.
12234 * gst/gstutils.c: (gst_element_create_all_pads): New function
12235 to create all the ALWAYS pads that are registered with an
12236 element class. This functionality should eventually be
12237 merged in with GstElement initialization.
12239 * testsuite/trigger/README: part of trigger test code that should
12240 have been checked in a long time ago.
12242 2005-04-23 David Schleef <ds@schleef.org>
12244 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12245 needed with new versions of libtool (nobody will confirm this),
12246 and hard to carry around.
12247 * gst/autoplug/Makefile.am:
12248 * gst/base/Makefile.am:
12249 * gst/elements/Makefile.am:
12250 * gst/indexers/Makefile.am:
12251 * gst/schedulers/Makefile.am:
12252 * libs/gst/bytestream/Makefile.am:
12253 * libs/gst/control/Makefile.am:
12254 * libs/gst/dataprotocol/Makefile.am:
12255 * libs/gst/getbits/Makefile.am:
12257 2005-04-21 Wim Taymans <wim@fluendo.com>
12259 * docs/design/draft-push-pull.txt:
12260 * docs/design/part-MT-refcounting.txt:
12261 * docs/design/part-TODO.txt:
12262 * docs/design/part-caps.txt:
12263 * docs/design/part-events.txt:
12264 * docs/design/part-gstbus.txt:
12265 * docs/design/part-gstpipeline.txt:
12266 * docs/design/part-messages.txt:
12267 * docs/design/part-push-pull.txt:
12268 * docs/design/part-query.txt:
12271 2005-04-21 Wim Taymans <wim@fluendo.com>
12273 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12274 (gst_message_new), (gst_message_new_error),
12275 (gst_message_new_warning), (gst_message_new_tag),
12276 (gst_message_new_state_changed), (gst_message_new_application),
12277 (gst_message_get_structure):
12278 * gst/gstmessage.h:
12279 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12280 (gst_structure_copy_conditional):
12281 Use parent refcount in GstMessage to ensure GstStructure
12283 Cleaned up headers a bit.
12286 2005-04-20 Wim Taymans <wim@fluendo.com>
12288 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12289 (gst_basesink_pad_getcaps), (gst_basesink_init),
12290 (gst_basesink_chain_unlocked):
12291 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12292 (gst_type_find_helper):
12293 * gst/elements/gsttypefindelement.c:
12294 (gst_type_find_element_have_type), (gst_type_find_element_init),
12295 (stop_typefinding), (gst_type_find_element_handle_event),
12296 (find_suggest), (gst_type_find_element_chain),
12297 (gst_type_find_element_checkgetrange),
12298 (gst_type_find_element_getrange), (do_typefind),
12299 (gst_type_find_element_activate):
12300 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12301 (gst_buffer_default_free), (gst_buffer_default_copy),
12302 (gst_buffer_set_caps):
12303 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12304 (gst_caps_replace):
12305 * gst/gstmessage.c: (gst_message_new),
12306 (gst_message_new_state_changed):
12307 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12308 (gst_pad_set_checkgetrange_function),
12309 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12310 (gst_pad_set_caps), (gst_pad_check_pull_range),
12311 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12313 * gst/gsttypefind.c: (gst_type_find_register):
12314 Make gst_caps_replace() work like other _replace() functions.
12315 Use _caps_replace() where possible.
12316 Make sure _message_new() initialises its field.
12317 Add gst_static_pad_template_get_caps()
12320 2005-04-18 Andy Wingo <wingo@pobox.com>
12322 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12323 on the peer, not the pad. I think that was a typo. Pass an extra
12324 arg to see if random access is possible. Activate the pads as
12325 PULL_RANGE if possible.
12327 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12329 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12330 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12333 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12335 * docs/faq/using.xml:
12336 Add note on gstreamer-properties (#154996).
12338 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12340 * docs/random/bbb/optional-properties:
12341 Some analysis on optional properties.
12343 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12345 * docs/gst/tmpl/gstelementfactory.sgml:
12346 * gst/gstelement.h:
12347 * gst/gstelementfactory.c: (gst_element_factory_init),
12348 (gst_element_factory_cleanup), (gst_element_register),
12349 (__gst_element_factory_add_static_pad_template),
12350 (gst_element_factory_get_static_pad_templates),
12351 (gst_element_factory_can_src_caps),
12352 (gst_element_factory_can_sink_caps):
12353 * gst/registries/Makefile.am:
12354 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12355 (gst_xml_registry_class_init), (gst_xml_registry_init),
12356 (gst_xml_registry_new), (gst_xml_registry_set_property),
12357 (gst_xml_registry_get_property), (get_time), (make_dir),
12358 (gst_xml_registry_get_perms_func),
12359 (plugin_times_older_than_recurse), (plugin_times_older_than),
12360 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12361 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12362 (add_to_char_array), (read_string), (read_uint), (read_enum),
12363 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12364 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12365 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12366 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12367 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12368 (gst_xml_registry_rebuild):
12369 * gst/registries/gstlibxmlregistry.h:
12370 * tools/gst-compprep.c: (main):
12371 * tools/gst-inspect.c: (print_pad_templates_info):
12372 * tools/gst-xmlinspect.c: (print_element_info):
12373 Use libxml2 for registry parsing, use staticpadtemplates in
12374 elementfactories. Makes gst_init() +/- 10x faster.
12376 2005-04-12 Wim Taymans <wim@fluendo.com>
12378 * gst/base/Makefile.am:
12379 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12380 (gst_basesink_pad_getcaps), (gst_basesink_init),
12381 (gst_basesink_event), (gst_basesink_change_state):
12382 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12383 (gst_basesrc_init), (gst_basesrc_query),
12384 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12385 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12386 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12387 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12388 (gst_basesrc_stop), (gst_basesrc_activate),
12389 (gst_basesrc_change_state):
12390 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12391 (helper_find_suggest), (gst_type_find_helper):
12392 * gst/base/gsttypefindhelper.h:
12393 * gst/elements/Makefile.am:
12394 * gst/elements/gstelements.c:
12395 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12396 (gst_fakesink_get_times), (gst_fakesink_event),
12397 (gst_fakesink_preroll), (gst_fakesink_render):
12398 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12399 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12400 (gst_fakesrc_get_property), (gst_fakesrc_create),
12401 (gst_fakesrc_start), (gst_fakesrc_stop):
12402 * gst/elements/gstfakesrc.h:
12403 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12404 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12405 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12406 (gst_filesrc_create_read), (gst_filesrc_create),
12407 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12408 (gst_filesrc_start):
12409 * gst/elements/gsttypefindelement.c:
12410 (gst_type_find_element_have_type), (gst_type_find_element_init),
12411 (start_typefinding), (stop_typefinding), (push_buffer_store),
12412 (gst_type_find_element_handle_event),
12413 (gst_type_find_element_chain),
12414 (gst_type_find_element_checkgetrange),
12415 (gst_type_find_element_getrange), (do_typefind),
12416 (gst_type_find_element_activate),
12417 (gst_type_find_element_change_state):
12418 * gst/elements/gsttypefindelement.h:
12419 * gst/gstpipeline.c: (pipeline_bus_handler):
12420 Added typefind helper.
12421 Small preroll fix in the base sink.
12422 Disable typefind code in basesrc.
12423 Crude port of typefindelement.
12427 2005-04-11 Wim Taymans <wim@fluendo.com>
12429 * check/gst/gstbus.c: (gstbus_suite):
12430 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12431 * check/gstcheck.h:
12432 Fix up the timeout so that the test does not fail.
12434 2005-04-06 Wim Taymans <wim@fluendo.com>
12437 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12438 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12439 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12440 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12441 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12442 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12443 (gst_basesrc_stop), (gst_basesrc_activate),
12444 (gst_basesrc_change_state), (basesrc_find_peek),
12445 (basesrc_find_suggest), (gst_basesrc_type_find):
12446 * gst/base/gstbasesrc.h:
12447 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12448 (gst_filesrc_class_init), (gst_filesrc_init),
12449 (gst_filesrc_finalize), (gst_filesrc_set_location),
12450 (gst_filesrc_set_property), (gst_filesrc_get_property),
12451 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12452 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12453 (gst_filesrc_create_read), (gst_filesrc_create),
12454 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12455 * gst/elements/gstfilesrc.h:
12456 * gst/gstelement.c: (gst_element_get_state_func),
12457 (gst_element_lost_state), (gst_element_pads_activate):
12458 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12459 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12460 (gst_pad_pull_range):
12462 More work on the generic source base class, implement seeking,
12464 Make filesrc extend the base source class.
12465 Added gst_pad_set_checkgetrange_function to GstPad.
12467 2005-04-06 Andy Wingo <wingo@pobox.com>
12469 * pkgconfig/gstreamer-base.pc.in:
12470 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12472 * pkgconfig/Makefile.am:
12473 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12475 2005-04-04 Wim Taymans <wim@fluendo.com>
12477 * gst/base/Makefile.am:
12479 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12480 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12481 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12482 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12483 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12484 (gst_basesrc_base_init), (gst_basesrc_class_init),
12485 (gst_basesrc_init), (gst_basesrc_get_formats),
12486 (gst_basesrc_get_query_types), (gst_basesrc_query),
12487 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12488 (gst_basesrc_set_property), (gst_basesrc_get_property),
12489 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12490 (gst_basesrc_loop), (gst_basesrc_activate),
12491 (gst_basesrc_change_state):
12492 * gst/base/gstbasesrc.h:
12493 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12494 (gst_fakesrc_class_init), (gst_fakesrc_init),
12495 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12496 (gst_fakesrc_get_property), (gst_fakesrc_create):
12497 * gst/elements/gstfakesrc.h:
12498 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12499 (gst_filesrc_open_file), (gst_filesrc_loop),
12500 (gst_filesrc_activate), (filesrc_find_peek),
12501 (gst_filesrc_type_find):
12502 Made base source class, make fakesrc extend it.
12503 Add comments to basesink class.
12504 Some filesrc cleanup.
12506 2005-03-31 David Schleef <ds@schleef.org>
12508 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12509 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12510 expected to link against libgstreamer.
12511 * gst/base/Makefile.am: link against libgstreamer
12512 * gst/elements/Makefile.am: same
12514 2005-03-31 Andy Wingo <wingo@pobox.com>
12516 * tests/instantiate/Makefile.am:
12517 * tests/instantiate/caps.c: Add test to test speed of caps copy
12520 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12521 GMemChunk to be fair.
12523 * gst/gsttrashstack.h: Remove warning about using the fallback
12524 trash stack implementation, it's still faster than malloc.
12526 2005-03-30 Andy Wingo <wingo@pobox.com>
12528 * tests/complexity.c: Add a copyright.
12530 2005-03-31 Wim Taymans <wim@fluendo.com>
12532 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12533 (gst_base_transform_class_init), (gst_base_transform_init),
12534 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12535 (gst_base_transform_get_property),
12536 (gst_base_transform_sink_activate),
12537 (gst_base_transform_src_activate),
12538 (gst_base_transform_change_state):
12539 * gst/base/gstbasetransform.h:
12540 * gst/elements/gstidentity.c: (gst_identity_class_init),
12541 (gst_identity_event), (gst_identity_check_perfect),
12542 (gst_identity_transform), (gst_identity_start),
12543 (gst_identity_stop):
12544 Added start/stop methods to transform base class so subclasses
12545 don't need to deal with state changes even.
12547 2005-03-31 Wim Taymans <wim@fluendo.com>
12549 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12550 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12552 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12553 (gst_pad_pull_range):
12554 Added rate to the discont event to prepare for variable speed
12555 and reverse playback.
12557 2005-03-29 David Schleef <ds@schleef.org>
12560 * testsuite/trigger/Makefile.am:
12561 * testsuite/trigger/trigger.c: A little example program to show
12562 how trigger-based elements can work.
12564 2005-03-29 Wim Taymans <wim@fluendo.com>
12566 * gst/base/Makefile.am:
12568 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12569 (gst_basesink_base_init), (gst_basesink_class_init),
12570 (gst_basesink_pad_getcaps), (gst_basesink_init),
12571 (gst_basesink_activate), (gst_basesink_change_state):
12572 * gst/base/gstbasesink.h:
12573 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12574 (gst_base_transform_base_init), (gst_base_transform_finalize),
12575 (gst_base_transform_class_init), (gst_base_transform_init),
12576 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12577 (gst_base_transform_event), (gst_base_transform_getrange),
12578 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12579 (gst_base_transform_set_property),
12580 (gst_base_transform_get_property),
12581 (gst_base_transform_sink_activate),
12582 (gst_base_transform_src_activate),
12583 (gst_base_transform_change_state):
12584 * gst/base/gstbasetransform.h:
12585 * gst/elements/gstidentity.c: (gst_identity_finalize),
12586 (gst_identity_class_init), (gst_identity_init),
12587 (gst_identity_event), (gst_identity_check_perfect),
12588 (gst_identity_transform), (gst_identity_set_property),
12589 (gst_identity_get_property), (gst_identity_change_state):
12590 * gst/elements/gstidentity.h:
12591 * gst/gstelement.c: (gst_element_get_state_func),
12592 (gst_element_lost_state), (gst_element_pads_activate):
12593 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12594 (gst_pad_check_pull_range), (gst_pad_pull_range):
12596 Simplify pad activation.
12597 Added function to check if pull_range can be performed.
12598 Error out when pulling inactive or flushing pads.
12599 Removed const from refcounted types as it does not make sense.
12600 Simplify pad templates in basesink
12601 Added base class for simple 1-to-1 transforms.
12602 Make identity subclass the base transform.
12604 2005-03-29 Andy Wingo <wingo@pobox.com>
12606 * docs/libs/gstreamer-libs-overrides.txt:
12607 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12608 really don't understand what's going on, but like whatever. I want
12611 * docs/gst/Makefile.am:
12612 * docs/libs/Makefile.am: Dist the overrides files.
12614 * check/Makefile.am (clean-local): Remove .libs directories.
12616 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12617 elements to EXTRA_DIST, so po/ files are happy.
12619 * po/POTFILES.in: Er, remove it here.
12621 * po/POTFILES: Remove gstspider.c.
12623 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12625 * docs/libs/gstreamer-libs-docs.sgml:
12626 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12629 * tests/complexity.c (main): Set the length of the preroll queue
12630 on the sinks to prevent a lockup.
12632 * libs/gst/dataprotocol/Makefile.am:
12633 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12634 the same as the one in check/gst-libs/gdp.c.
12636 * po/, docs/gst/: Commit automatic changes to docs and po files.
12638 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12639 the versioned libgstbase.
12641 * check/Makefile.am: Depend on an unversioned gst-register, seems
12642 to make autoconf happier.
12644 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12646 2005-03-28 Wim Taymans <wim@fluendo.com>
12649 * docs/design/part-gstelement.txt:
12650 * docs/design/part-negotiation.txt:
12651 * docs/design/part-preroll.txt:
12652 * docs/design/part-scheduling.txt:
12653 * docs/design/part-states.txt:
12655 * gst/base/Makefile.am:
12657 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12658 (gst_basesink_base_init), (gst_basesink_class_init),
12659 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12660 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12661 (gst_basesink_set_pad_functions),
12662 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12663 (gst_basesink_set_property), (gst_basesink_get_property),
12664 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12665 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12666 (gst_basesink_preroll_queue_push),
12667 (gst_basesink_preroll_queue_empty),
12668 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12669 (gst_basesink_event), (gst_basesink_get_times),
12670 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12671 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12672 (gst_basesink_loop), (gst_basesink_activate),
12673 (gst_basesink_change_state):
12674 * gst/base/gstbasesink.h:
12675 * gst/elements/Makefile.am:
12676 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12677 (gst_fakesink_class_init), (gst_fakesink_init),
12678 (gst_fakesink_set_property), (gst_fakesink_get_property),
12679 (gst_fakesink_get_times), (gst_fakesink_event),
12680 (gst_fakesink_preroll), (gst_fakesink_render),
12681 (gst_fakesink_change_state):
12682 * gst/elements/gstfakesink.h:
12683 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12684 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12685 * gst/gstelement.c: (gst_element_add_pad),
12686 (gst_element_get_state_func), (gst_element_abort_state),
12687 (gst_element_commit_state), (gst_element_lost_state),
12688 (gst_element_set_state), (gst_element_pads_activate):
12689 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12690 * gst/gstpipeline.c: (gst_pipeline_send_event),
12691 (gst_pipeline_change_state):
12692 Added state change code.
12693 Added/updated docs.
12694 Added sink base class, make fakesink extend the base class.
12695 Small cleanups in GstPipeline.
12697 2005-03-26 David Schleef <ds@schleef.org>
12699 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12700 is broken and should be implemented in a different library.
12701 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12702 * gst/gst.h: remove gstcpu.h
12703 * gst/gstcpu.c: remove
12704 * gst/gstcpu.h: remove
12705 * gst/Makefile.am.future: Remove this file. It's ancient.
12707 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12709 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12710 (gst_bin_send_event):
12711 Add default event/set_manager handlers. The set_manager handler
12712 takes care that the manager is distributed over kids that were
12713 already in the bin before the manager was set. The event handler
12714 is a utility virtual function that sends the event over all sinks,
12715 so that gst_element_send_event (bin, event); has the expected
12717 * gst/gstpad.c: (gst_pad_event_default):
12718 Re-install default event handling for discontinuities, so that
12719 seeking works without requiring hacks in applications or extra
12721 * gst/gstpipeline.c: (gst_pipeline_class_init),
12722 (gst_pipeline_send_event):
12723 Half hack, half utility: set a pipeline to PAUSED for seek events,
12724 since that is the only way we can guarantee a/v sync. Means that
12725 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12726 and it "just works".
12728 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12730 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12731 Lock/unlock mismatch.
12733 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12735 * docs/faq/gst-uninstalled:
12736 add gst-plugins-base
12737 * docs/gst/Makefile.am:
12738 don't error out until docs are fixed
12739 * docs/gst/gstreamer.types:
12742 2005-03-22 Wim Taymans <wim@fluendo.com>
12744 * check/Makefile.am:
12745 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12746 * gst/gststructure.c: (gst_structure_set_valist),
12747 (gst_structure_copy_conditional):
12748 Activated more tests.
12749 Added message test.
12750 Added G_TYPE_POINTER to GstStructure.
12753 2005-03-22 Wim Taymans <wim@fluendo.com>
12755 * docs/design/part-TODO.txt:
12756 * docs/design/part-events.txt:
12757 * docs/design/part-gstbin.txt:
12758 * docs/design/part-gstbus.txt:
12759 * docs/design/part-gstpipeline.txt:
12760 * docs/design/part-messages.txt:
12762 * gst/gstmessage.c:
12765 2005-03-21 Wim Taymans <wim@fluendo.com>
12767 * gst/gstbus.c: (gst_bus_post):
12768 Fix copy-and-paste error.
12770 2005-03-21 Wim Taymans <wim@fluendo.com>
12772 * check/Makefile.am:
12774 * gst/elements/Makefile.am:
12775 * gst/elements/gstelements.c:
12776 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12777 (gst_fakesink_event), (gst_fakesink_chain):
12778 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12779 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12780 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12781 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12782 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12783 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12784 (gst_fakesrc_loop), (gst_fakesrc_activate),
12785 (gst_fakesrc_change_state):
12786 * gst/elements/gstfakesrc.h:
12787 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12788 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12789 (gst_filesrc_open_file), (gst_filesrc_loop),
12790 (gst_filesrc_activate), (gst_filesrc_change_state),
12791 (filesrc_find_peek), (filesrc_find_suggest),
12792 (gst_filesrc_type_find):
12793 * gst/elements/gstidentity.c: (gst_identity_finalize),
12794 (gst_identity_class_init), (gst_identity_init),
12795 (gst_identity_proxy_getcaps), (identity_queue_push),
12796 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12797 (gst_identity_getrange), (gst_identity_chain),
12798 (gst_identity_sink_loop), (gst_identity_src_loop),
12799 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12800 (gst_identity_set_property), (gst_identity_get_property),
12801 (gst_identity_change_state):
12802 * gst/elements/gstidentity.h:
12803 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12804 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12805 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12806 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12807 (gst_tee_sink_activate):
12808 * gst/elements/gsttee.h:
12809 * gst/gst.c: (gst_register_core_elements), (init_post):
12811 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12812 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12813 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12814 (gst_bin_change_state):
12816 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12817 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12818 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12819 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12820 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12821 (bus_watch_callback), (bus_watch_destroy),
12822 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12823 (poll_timeout), (gst_bus_poll):
12827 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12828 (gst_element_post_message), (gst_element_message_full),
12829 (gst_element_get_state_func), (gst_element_get_state),
12830 (gst_element_abort_state), (gst_element_commit_state),
12831 (gst_element_lost_state), (gst_element_set_state),
12832 (gst_element_pads_activate), (gst_element_change_state),
12833 (gst_element_dispose), (gst_element_set_manager_func),
12834 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12835 (gst_element_set_manager), (gst_element_get_manager),
12836 (gst_element_set_bus), (gst_element_get_bus),
12837 (gst_element_set_scheduler), (gst_element_get_scheduler):
12838 * gst/gstelement.h:
12839 * gst/gstevent.c: (gst_event_new_segment_seek),
12840 (gst_event_new_flush):
12842 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12843 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12844 (gst_message_new_eos), (gst_message_new_error),
12845 (gst_message_new_warning), (gst_message_new_tag),
12846 (gst_message_new_state_changed), (gst_message_new_application),
12847 (gst_message_get_structure), (gst_message_parse_tag),
12848 (gst_message_parse_state_changed), (gst_message_parse_error),
12849 (gst_message_parse_warning):
12850 * gst/gstmessage.h:
12851 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12852 (gst_real_pad_set_property), (gst_pad_set_active),
12853 (gst_pad_is_active), (gst_pad_set_blocked_async),
12854 (gst_pad_set_blocked), (gst_pad_is_blocked),
12855 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12856 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12857 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12858 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12859 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12860 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12861 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12862 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12863 (gst_pad_set_caps), (gst_pad_configure_sink),
12864 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12865 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12866 (gst_real_pad_dispose), (gst_real_pad_finalize),
12867 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12868 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12869 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12871 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12872 (pipeline_bus_handler), (gst_pipeline_change_state),
12873 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12874 * gst/gstpipeline.h:
12876 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12877 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12878 (gst_queue_link_src), (gst_queue_bufferalloc),
12879 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12880 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12881 (gst_queue_loop), (gst_queue_handle_src_event),
12882 (gst_queue_handle_src_query), (gst_queue_src_activate),
12883 (gst_queue_change_state):
12885 * gst/gstscheduler.c: (gst_scheduler_init),
12886 (gst_scheduler_dispose), (gst_scheduler_create_task),
12887 (gst_scheduler_factory_create):
12888 * gst/gstscheduler.h:
12889 * gst/gststructure.c: (gst_structure_get_type),
12890 (gst_structure_copy_conditional):
12891 * gst/gststructure.h:
12892 * gst/gsttaginterface.h:
12893 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12894 (gst_task_init), (gst_task_dispose), (gst_task_create),
12895 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12901 * gst/schedulers/Makefile.am:
12902 * gst/schedulers/cothreads_compat.h:
12903 * gst/schedulers/entryscheduler.c:
12904 * gst/schedulers/faircothreads.c:
12905 * gst/schedulers/faircothreads.h:
12906 * gst/schedulers/fairscheduler.c:
12907 * gst/schedulers/gstbasicscheduler.c:
12908 * gst/schedulers/gstoptimalscheduler.c:
12909 * gst/schedulers/gthread-cothreads.h:
12910 * gst/schedulers/threadscheduler.c:
12911 (gst_thread_scheduler_task_get_type),
12912 (gst_thread_scheduler_task_class_init),
12913 (gst_thread_scheduler_task_init),
12914 (gst_thread_scheduler_task_start),
12915 (gst_thread_scheduler_task_stop),
12916 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12917 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12918 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12919 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12921 * libs/gst/Makefile.am:
12922 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12923 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12924 (gst_file_pad_parent_set):
12925 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12926 (gst_dp_event_from_packet):
12927 * tests/complexity.c: (main):
12928 * tests/mass_elements.c: (main):
12929 * testsuite/states/locked.c: (message_received), (main):
12930 * testsuite/states/parent.c: (main):
12931 * tools/gst-inspect.c: (print_element_flag_info),
12932 (print_implementation_info), (print_pad_info):
12933 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12935 * tools/gst-md5sum.c: (event_loop), (main):
12936 * tools/gst-typefind.c: (main):
12937 * tools/gst-xmlinspect.c: (print_element_info):
12939 Added GstBus for mainloop integration.
12940 Added GstMessage for sending notifications on the bus.
12941 Added GstTask as an abstraction for pipeline entry points.
12943 Removed Schedulers.
12944 Simplified GstQueue for multithreaded core.
12945 Made _link threadsafe, removed old capsnego.
12946 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12947 Added pad blocking functions.
12948 Reworked scheduling functions in GstPad to prepare for
12949 scheduling updates soon.
12950 Moved events out of data stream.
12951 Simplified GstEvent types.
12952 Added return values to push/pull.
12953 Removed clocking from GstElement.
12954 Added prototypes for state change function for next merge.
12955 Removed iterate from bins and state change management.
12956 Fixed some elements, disabled others for now.
12957 Fixed -inspect and -launch.
12958 Added check for GstBus.
12960 2005-03-10 Wim Taymans <wim@fluendo.com>
12962 * docs/design/part-MT-refcounting.txt:
12963 * docs/design/part-clocks.txt:
12964 * docs/design/part-gstelement.txt:
12965 * docs/design/part-gstobject.txt:
12966 * docs/design/part-standards.txt:
12967 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12968 (gst_bin_remove_func), (gst_bin_remove):
12972 * testsuite/clock/clock1.c: (main):
12973 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12975 * testsuite/dlopen/loadgst.c: (do_test):
12976 * testsuite/refcounting/bin.c: (add_remove_test1),
12977 (add_remove_test2), (main):
12978 * testsuite/refcounting/element.c: (main):
12979 * testsuite/refcounting/element_pad.c: (main):
12980 * testsuite/refcounting/pad.c: (main):
12981 * tools/gst-launch.c: (sigint_handler_sighandler):
12982 * tools/gst-typefind.c: (main):
12984 Added doc about clock.
12985 removed gst_bin_iterate_recurse_up(), marked methods
12987 Fix more testsuites.
12989 2005-03-09 Wim Taymans <wim@fluendo.com>
12991 * gst/gstpad.c: (gst_pad_get_direction),
12992 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12993 (gst_pad_collect_valist):
12994 * testsuite/bins/interface.c: (main):
12995 * testsuite/caps/audioscale.c: (test_caps):
12996 * testsuite/caps/caps.c: (test1), (test2), (test3):
12997 * testsuite/caps/deserialize.c: (main):
12998 * testsuite/caps/enumcaps.c: (main):
12999 * testsuite/caps/filtercaps.c: (main):
13000 * testsuite/caps/intersect2.c: (main):
13001 * testsuite/caps/random.c: (main):
13002 * testsuite/caps/renegotiate.c: (my_fixate), (main):
13003 * testsuite/caps/sets.c: (check_caps):
13004 * testsuite/caps/simplify.c: (check_caps), (main):
13005 * testsuite/caps/subtract.c: (check_caps):
13006 Fix _pad_get_direction wrt ghostpads.
13007 Fix caps testsuite.
13009 2005-03-09 Wim Taymans <wim@fluendo.com>
13011 * check/Makefile.am:
13012 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13013 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13014 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13016 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13017 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13018 (gst_bin_remove), (gst_bin_iterate_recurse_up),
13019 (bin_element_is_sink), (gst_bin_iterate_sinks),
13020 (gst_bin_iterate_all_by_interface):
13022 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13023 (gst_element_change_state), (gst_element_dispose),
13024 (gst_element_finalize), (gst_element_set_loop_function):
13025 * gst/gstelement.h:
13026 * gst/gstiterator.c: (find_custom_fold_func):
13027 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13028 (gst_pad_collectv), (gst_pad_collect_valist),
13029 (gst_pad_template_new):
13030 * gst/gstpipeline.c: (gst_pipeline_class_init),
13031 (gst_pipeline_dispose), (gst_pipeline_set_property),
13032 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13033 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13034 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13036 * gst/schedulers/entryscheduler.c:
13037 * gst/schedulers/gstbasicscheduler.c:
13038 (gst_basic_scheduler_cothreaded_chain),
13039 (gst_basic_scheduler_chain_add_element):
13040 * testsuite/bins/interface.c: (main):
13042 Added GstSystemClock test.
13043 Implemented clock distribution code in GstBin.
13044 Implemented iterate sinks method for future use.
13045 Rearranged gstelement.h
13046 Fix GstIterator comparison bug.
13047 Moved some code to GstPipeline, mostly clocking related.
13049 2005-03-09 Wim Taymans <wim@fluendo.com>
13052 * gst/gst_private.h:
13053 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13054 (gst_bin_remove_func), (gst_bin_remove),
13055 (gst_bin_get_by_name_recurse_up):
13056 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13057 (gst_clock_id_compare_func), (gst_clock_id_wait),
13058 (gst_clock_id_wait_async), (gst_clock_init),
13059 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13060 * gst/gstelement.h:
13061 * gst/gstinfo.c: (_gst_debug_init):
13063 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13064 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13066 Bump version number, we're now 0.9.0
13067 Add future debugging category.
13068 Fix NULL _unref() in _get_by_name_recurse_up
13069 Rearrange gstpad.h.
13072 2005-03-08 Wim Taymans <wim@fluendo.com>
13074 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13075 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13076 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13077 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13078 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13079 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13080 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13081 * gst/elements/gstidentity.c: (gst_identity_class_init):
13082 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13083 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13084 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13085 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13086 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13088 * gst/gstelement.c: (gst_element_class_init),
13089 (gst_element_base_class_init), (gst_element_init),
13090 (gst_element_get_random_pad), (gst_element_wait_state_change),
13091 (gst_element_change_state), (gst_element_dispose),
13092 (gst_element_finalize), (gst_element_set_loop_function):
13093 * gst/gstelement.h:
13094 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13095 * gst/gstthread.c: (gst_thread_class_init),
13096 (gst_thread_release_children_locks), (gst_thread_change_state):
13097 * gst/schedulers/gstbasicscheduler.c:
13098 (gst_basic_scheduler_loopfunc_wrapper),
13099 (gst_basic_scheduler_chain_wrapper),
13100 (gst_basic_scheduler_src_wrapper),
13101 (gst_basic_scheduler_remove_element):
13102 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13103 Remove threadsafe properties. Fix elements because GObject
13104 complains when installing a property before declaring a
13105 set/get_property handler.
13106 Rearrange gstelement.h file, use STATE macros for state locks.
13107 Free mutexes in the finalize method instead of dispose.
13109 2005-03-08 Wim Taymans <wim@fluendo.com>
13111 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13112 * gst/gstthread.c: (gst_thread_release_children_locks):
13113 Added parentage check.
13114 Fix build og GstThread again.
13116 2005-03-08 Wim Taymans <wim@fluendo.com>
13118 * docs/design/part-MT-refcounting.txt:
13119 * docs/design/part-conventions.txt:
13120 * docs/design/part-gstobject.txt:
13121 * docs/design/part-relations.txt:
13122 * docs/design/part-standards.txt:
13123 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13124 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13125 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13126 (gst_bin_iterate_all_by_interface):
13129 * gst/gstelement.c: (gst_element_class_init),
13130 (gst_element_change_state), (gst_element_set_loop_function):
13131 * gst/gstelement.h:
13132 * gst/gstiterator.c:
13133 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13134 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13135 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13136 (gst_object_set_parent), (gst_object_unparent),
13137 (gst_object_check_uniqueness):
13139 Docs updates, clean up some headers.
13141 2005-03-07 Wim Taymans <wim@fluendo.com>
13143 * check/.cvsignore:
13144 * check/Makefile.am:
13145 * check/gst-libs/.cvsignore:
13146 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13147 * check/gst/.cvsignore:
13148 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13149 (START_TEST), (gstbus_suite), (main):
13150 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13151 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13152 (gst_data_suite), (main):
13153 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13154 (add_fold_func), (gstiterator_suite), (main):
13155 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13156 (thread_name_object), (thread_name_object_default),
13157 (gst_object_name_compare), (gst_object_suite), (main):
13158 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13159 (gst_pad_suite), (main):
13160 * check/gstcheck.c: (gst_check_log_message_func),
13161 (gst_check_log_critical_func), (gst_check_init):
13162 * check/gstcheck.h:
13163 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13164 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13167 2005-03-07 Wim Taymans <wim@fluendo.com>
13169 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13170 (gst_list_iterator_next), (gst_list_iterator_resync),
13171 (gst_list_iterator_free), (gst_iterator_new_list),
13172 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13173 (gst_iterator_free), (gst_iterator_push), (filter_next),
13174 (filter_resync), (filter_uninit), (filter_free),
13175 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13176 (gst_iterator_foreach), (find_custom_fold_func),
13177 (gst_iterator_find_custom):
13178 * gst/gstiterator.h:
13179 Added missing files.
13181 2005-03-07 Wim Taymans <wim@fluendo.com>
13185 * docs/design/part-MT-refcounting.txt:
13186 * docs/design/part-conventions.txt:
13187 * docs/design/part-gstobject.txt:
13188 * docs/design/part-relations.txt:
13189 * examples/mixer/mixer.c: (main):
13190 * examples/thread/thread.c: (eos), (main):
13192 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13193 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13194 (gst_spider_plug_from_srcpad):
13195 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13196 (gst_spider_identity_change_state),
13197 (gst_spider_identity_sink_loop_type_finding):
13198 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13199 * gst/elements/gstidentity.c: (gst_identity_init):
13200 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13201 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13202 * gst/elements/gsttypefindelement.c: (free_entry):
13205 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13206 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13207 (gst_bin_set_index), (gst_bin_set_element_sched),
13208 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13209 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13210 (gst_bin_iterate_elements), (iterate_child_recurse),
13211 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13212 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13213 (compare_interface), (gst_bin_get_by_interface),
13214 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13216 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13217 (gst_buffer_default_free), (gst_buffer_default_copy),
13218 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13219 (gst_buffer_create_sub):
13221 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13222 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13223 (gst_caps_unref), (gst_static_caps_get),
13224 (gst_caps_remove_and_get_structure), (gst_caps_append),
13225 (gst_caps_append_structure), (gst_caps_remove_structure),
13226 (gst_caps_copy_nth), (gst_caps_set_simple),
13227 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13228 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13229 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13230 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13231 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13232 (gst_caps_structure_figure_out_union),
13233 (gst_caps_switch_structures), (gst_caps_do_simplify),
13234 (gst_caps_replace), (gst_caps_from_string),
13235 (gst_caps_copy_conditional):
13237 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13238 (_gst_clock_id_free), (gst_clock_id_unref),
13239 (gst_clock_id_compare_func), (gst_clock_id_wait),
13240 (gst_clock_id_wait_async), (gst_clock_class_init),
13241 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13242 (gst_clock_get_time), (gst_clock_set_time_adjust),
13243 (gst_clock_set_property), (gst_clock_get_property):
13246 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13247 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13249 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13250 (gst_element_requires_clock), (gst_element_provides_clock),
13251 (gst_element_set_clock), (gst_element_clock_wait),
13252 (gst_element_wait), (gst_element_set_time_delay),
13253 (gst_element_is_indexable), (gst_element_add_pad),
13254 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13255 (pad_compare_name), (gst_element_get_static_pad),
13256 (gst_element_request_pad), (gst_element_get_request_pad),
13257 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13258 (gst_element_class_get_pad_template_list),
13259 (gst_element_class_get_pad_template), (gst_element_error_func),
13260 (gst_element_get_random_pad), (gst_element_get_event_masks),
13261 (gst_element_send_event), (gst_element_seek),
13262 (gst_element_get_query_types), (gst_element_query),
13263 (gst_element_get_formats), (gst_element_convert),
13264 (gst_element_is_locked_state), (gst_element_set_locked_state),
13265 (gst_element_sync_state_with_parent), (gst_element_change_state),
13266 (gst_element_finalize), (gst_element_yield),
13267 (gst_element_interrupt), (gst_element_set_scheduler),
13268 (gst_element_get_scheduler), (gst_element_set_loop_function):
13269 * gst/gstelement.h:
13271 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13272 (gst_format_get_by_nick), (gst_format_get_details),
13273 (gst_format_iterate_definitions):
13275 * gst/gstindex.c: (gst_index_gtype_resolver):
13278 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13279 (gst_mem_chunk_free):
13280 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13281 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13282 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13283 (gst_object_dispatch_properties_changed),
13284 (gst_object_set_name_default), (gst_object_set_name),
13285 (gst_object_get_name), (gst_object_set_name_prefix),
13286 (gst_object_get_name_prefix), (gst_object_set_parent),
13287 (gst_object_get_parent), (gst_object_unparent),
13288 (gst_object_check_uniqueness), (gst_object_save_thyself),
13289 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13290 (gst_object_set_property), (gst_object_get_property),
13291 (gst_object_get_path_string):
13293 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13294 (gst_real_pad_init), (gst_real_pad_get_property),
13295 (gst_pad_custom_new), (gst_pad_get_direction),
13296 (gst_pad_set_active), (gst_pad_is_active),
13297 (gst_pad_set_event_function), (gst_pad_is_linked),
13298 (gst_pad_link_free), (gst_pad_link_intersect),
13299 (gst_pad_link_fixate), (gst_pad_set_caps),
13300 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13301 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13302 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13303 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13304 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13305 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13306 (gst_pad_realize), (gst_pad_get_allowed_caps),
13307 (gst_real_pad_dispose), (gst_real_pad_finalize),
13308 (gst_pad_collectv), (gst_pad_collect_valist),
13309 (gst_pad_template_dispose), (gst_pad_template_new),
13310 (gst_pad_get_internal_links):
13312 * gst/gstpipeline.c: (gst_pipeline_dispose),
13313 (gst_pipeline_change_state):
13314 * gst/gstpipeline.h:
13316 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13317 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13318 * gst/gstpluginfeature.h:
13319 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13320 * gst/gstquery.c: (_gst_query_type_initialize),
13321 (gst_query_type_register), (gst_query_type_get_by_nick),
13322 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13324 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13325 * gst/gstscheduler.c: (gst_scheduler_add_element),
13326 (gst_scheduler_factory_create):
13327 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13328 (gst_structure_free), (gst_structure_set_name),
13329 (gst_structure_id_set_value), (gst_structure_set_value),
13330 (gst_structure_set_valist), (gst_structure_remove_field),
13331 (gst_structure_remove_fields),
13332 (gst_structure_remove_fields_valist),
13333 (gst_structure_remove_all_fields), (gst_structure_foreach),
13334 (gst_structure_map_in_place),
13335 (gst_caps_structure_fixate_field_nearest_int),
13336 (gst_caps_structure_fixate_field_nearest_double):
13337 * gst/gststructure.h:
13338 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13339 (gst_system_clock_init), (gst_system_clock_dispose),
13340 (gst_system_clock_async_thread),
13341 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13342 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13343 * gst/gstsystemclock.h:
13344 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13345 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13346 * gst/gsttaginterface.c:
13347 * gst/gstthread.c: (gst_thread_dispose),
13348 (gst_thread_release_children_locks), (gst_thread_change_state),
13349 (gst_thread_main_loop):
13350 * gst/gsttrashstack.h:
13351 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13353 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13354 (gst_element_request_pad), (gst_element_get_pad_from_template),
13355 (gst_element_request_compatible_pad),
13356 (gst_element_get_compatible_pad_filtered),
13357 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13358 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13359 (gst_element_link_many), (gst_element_link),
13360 (gst_element_link_pads), (gst_element_unlink_pads),
13361 (gst_element_unlink_many), (gst_element_unlink),
13362 (gst_pad_can_link_filtered), (gst_pad_can_link),
13363 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13364 (gst_object_default_error), (gst_bin_add_many),
13365 (gst_bin_remove_many), (gst_element_populate_std_props),
13366 (gst_element_class_install_std_props), (gst_buffer_merge),
13367 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13368 (link_fold_func), (gst_pad_proxy_setcaps):
13370 * gst/gstvalue.c: (gst_value_deserialize_string):
13371 * gst/parse/grammar.y:
13372 * gst/schedulers/gstbasicscheduler.c:
13373 (gst_basic_scheduler_cothreaded_chain),
13374 (gst_basic_scheduler_chain_recursive_add),
13375 (gst_basic_scheduler_pad_link):
13376 * gst/schedulers/gstoptimalscheduler.c:
13377 (get_group_schedule_function),
13378 (gst_opt_scheduler_state_transition),
13379 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13380 * libs/gst/bytestream/bytestream.c:
13381 * libs/gst/dataprotocol/dataprotocol.c:
13382 (gst_dp_header_from_buffer):
13385 * tests/threadstate/threadstate2.c: (eos):
13386 * tools/gst-compprep.c: (main):
13387 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13388 (print_pad_info), (print_children_info):
13389 * tools/gst-launch.c: (idle_func), (main):
13390 * tools/gst-md5sum.c: (idle_func), (main):
13391 * tools/gst-xmlinspect.c: (print_element_info):
13392 First THREADED backport attempt, focusing on adding locks and
13393 making sure the API is threadsafe. Needs more work. More docs
13396 2005-02-24 Andy Wingo <wingo@pobox.com>
13398 * tests/bench-complexity.scm:
13399 * tests/complexity.gnuplot: New files, good for running complexity
13402 * tests/Makefile.am:
13403 * tests/complexity.c: New test, sets up N elements, at each level
13404 teeing into M streams per element. Eeeenteresting.
13406 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13407 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13408 running bench-mass_elements.scm.
13410 * tests/bench-mass_elements.scm: New script, runs mass_elements
13411 for various numbers of identities, outputting the results to a
13412 file. Requires guile 1.6. Just for testing.
13414 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13416 * gst/schedulers/fairscheduler.c:
13417 compile with debug disabled
13419 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13422 hunting season on 0.9 is now OPEN