1 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
3 * docs/manual/mime-world.fig:
4 Add audioconvert element to diagram so that it
5 matches the text and the code (fixes #319526).
7 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
9 * docs/pwg/building-chainfn.xml:
10 * docs/pwg/building-pads.xml:
11 * docs/pwg/building-state.xml:
12 * docs/pwg/other-source.xml:
13 Update state change stuff for 0.10 (fixes #322969).
15 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
17 * docs/manual/advanced-dataaccess.xml:
18 * docs/manual/appendix-checklist.xml:
19 * docs/manual/appendix-programs.xml:
20 * docs/manual/basics-pads.xml:
21 * docs/manual/highlevel-components.xml:
22 * docs/manual/manual.xml:
23 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
24 add converters in front of pipelines; remove curly
25 brackets for threads stuff, they no longer exist; use
26 GST_TYPE_FRACTION for framerates; update some pieces of
27 code to 0.10, but there's plenty more to do.
29 * docs/manual/appendix-porting.xml:
30 Expand on asynchroneous state changes; s/0.9/0.10/;
31 mention disappearance of gst_init_get_popt_table()
34 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
37 Spider no longer exists, and neither does gst-launch-ext.
38 Update examples to use decodebin and playbin and put
39 converters in front of sinks (fixes #323726).
41 2005-12-09 Michael Smith <msmith@fluendo.com>
43 * plugins/elements/gsttypefindelement.c: (find_peek),
44 (gst_type_find_element_chain):
45 Fix leaking element factories in typefinding.
46 Fix problem where we forgot about a probable type on non-seekable
47 files, and thus later mis-typefound it.
49 2005-12-09 Michael Smith <msmith@fluendo.com>
51 * common/m4/gst-makecontext.m4:
52 * common/m4/gst-mcsc.m4:
54 * win32/common/config.h:
55 * win32/common/config.h.in:
56 Remove makecontext stuff; not used in 0.10 and causes problems on
57 HPUX according to bug #322441
59 2005-12-07 Wim Taymans <wim@fluendo.com>
61 * tests/check/Makefile.am:
62 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
64 * tests/check/libs/struct_i386.h:
65 Added ABI check for libs
67 2005-12-07 Wim Taymans <wim@fluendo.com>
69 * tests/check/Makefile.am:
70 And add the struct_i386.h to dist.
72 2005-12-07 Wim Taymans <wim@fluendo.com>
74 * tests/check/Makefile.am:
75 * tests/check/gst/.cvsignore:
76 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
78 * tests/check/gst/struct_i386.h:
79 Added check for ABI compatibility.
81 2005-12-07 Wim Taymans <wim@fluendo.com>
83 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
84 (gst_fake_src_get_times), (gst_fake_src_create):
85 Fix broken sync option, fixes #323259
87 2005-12-07 Wim Taymans <wim@fluendo.com>
92 * gst/gstcaps.c: (gst_caps_is_equal):
93 Don't assert on NULL <--> X. Fixes #323260
95 * gst/gstminiobject.c: (gst_mini_object_replace):
96 If we're doing atomic operations, we might just as well use
97 the proper way to get an atomic pointer.
99 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
102 2005-12-07 Michael Smith <msmith@fluendo.com>
104 * gst/parse/grammar.y:
105 Remove handling of { } for threads.
107 2005-12-06 David Schleef <ds@schleef.org>
109 * libs/gst/base/gstbasetransform.c: speling fix.
111 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
113 * docs/libs/tmpl/gstdataprotocol.sgml:
114 * docs/random/omega/testing/gstobject.c:
118 * gst/gstelementfactory.c:
123 * gst/gstpadtemplate.c:
124 * gst/gstregistryxml.c:
126 * gst/gsttagsetter.c:
129 * libs/gst/base/gstbasesrc.c:
130 * libs/gst/net/gstnetclientclock.c:
131 * libs/gst/net/gstnettimeprovider.c:
132 * plugins/elements/gstfakesrc.c:
133 * plugins/elements/gstfdsrc.c:
134 * plugins/elements/gstfilesrc.c:
135 * plugins/elements/gstidentity.c:
136 * plugins/elements/gstqueue.c:
137 * plugins/elements/gsttypefindelement.c:
138 * plugins/indexers/gstfileindex.c:
139 * plugins/indexers/gstmemindex.c:
140 * tests/check/gst/gsttag.c:
141 * tests/old/examples/cutter/cutter.c:
142 * tests/old/examples/mixer/mixer.c:
143 * tests/old/examples/xml/runxml.c: (main):
144 * tests/old/testsuite/caps/normalisation.c:
145 * tests/old/testsuite/debug/global.c:
146 * tests/old/testsuite/parse/parse1.c:
147 * tools/gst-xmlinspect.c:
148 * win32/common/dirent.c:
151 === release 0.10.0 ===
153 2005-12-05 <thomas (at) apestaart (dot) org>
156 releasing 0.10.0, "Maroilles"
158 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
160 submitted by: Funda Wang <fundawang@linux.net.cn>
164 added Chinese (Traditional) translation
166 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
168 * docs/gst/gstreamer-sections.txt:
169 * docs/libs/tmpl/gstdataprotocol.sgml:
170 * docs/random/thomasvs/TODO:
175 2005-12-05 Andy Wingo <wingo@pobox.com>
177 patch by: Wim Taymans <wim@fluendo.com>
179 * libs/gst/base/gstbasetransform.c
180 (gst_base_transform_prepare_output_buf)
181 (gst_base_transform_buffer_alloc):
182 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
183 alloc_buffer_and_set_caps.
185 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
186 set_caps on the source pad.
187 (gst_pad_alloc_buffer_and_set_caps): New function, does what
188 alloc_buffer used to do. Fixes #322874.
190 * docs/gst/gstreamer-sections.txt:
191 * docs/design/part-negotiation.txt:
192 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
195 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
197 patch by: Sebastien Moutte
200 * win32/common/config.h.in:
201 * win32/vs6/libgstcontroller.dsp:
204 2005-12-05 Wim Taymans <wim@fluendo.com>
206 * gst/gstcaps.c: (gst_caps_is_equal):
207 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
208 (gst_fake_src_create):
209 Back out previous code changes, leave doc updates, file bugs
212 2005-12-05 Wim Taymans <wim@fluendo.com>
214 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
215 (gst_fake_src_get_times), (gst_fake_src_create):
216 * plugins/elements/gstfakesrc.h:
217 Fix broken sync code.
219 2005-12-05 Wim Taymans <wim@fluendo.com>
221 * gst/gstcaps.c: (gst_caps_is_equal):
222 Comparing NULL against !NULL yields different caps, not a
225 2005-12-05 Wim Taymans <wim@fluendo.com>
228 Fix small typo in docs.
230 2005-12-05 Andy Wingo <wingo@pobox.com>
232 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
234 * gst/gst.c (init_post): remove hard-coded 0.9 location for
235 registries/plugins with a MAJORMINOR one.
236 (plugin_desc): Rename library from gstcoreleements to
237 staticelements. Fixes #323222.
239 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
241 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
242 Change debug category to 'collectpads' from 'collect_pads'
245 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
247 patch by: Sebastien Moutte
249 * libs/gst/controller/gstinterpolation.c:
250 use convert function for uint64/double
251 * win32/vs6/libgstcontroller.dsp:
254 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
256 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
257 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
259 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
260 add tests that seem to show that the guint64/gdouble conversions
263 2005-12-02 Wim Taymans <wim@fluendo.com>
265 * gst/gstregistry.c: (gst_registry_add_path):
267 * gst/gstregistryxml.c:
270 2005-12-02 Wim Taymans <wim@fluendo.com>
272 * gst/gstutils.c: (gst_util_uint64_scale_int64),
273 (gst_util_uint64_scale_int):
276 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
279 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
282 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
285 * win32/common/config.h:
286 * win32/vs6/gstreamer.dsw:
287 * win32/vs6/libgstcoreelements.dsp:
288 * win32/vs6/libgstelements.dsp:
289 renamed core elements plugin
291 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
293 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
295 do piece-wise major/minor comparison so 0.9 < 0.10
296 also allow .exe extensions for tools
298 2005-12-02 Michael Smith <msmith@fluendo.com>
301 Escape a % to make gtkdoc happier; bug 322958.
303 === release 0.9.7 ===
305 2005-12-01 <thomas (at) apestaart (dot) org>
308 releasing 0.9.7, "My Dog Has No Nose"
310 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
312 * common/gst-xmlinspect.py:
314 * docs/libs/tmpl/gstdataprotocol.sgml:
315 * docs/random/release:
334 * win32/common/config.h:
335 * win32/common/config.h.in:
336 * win32/vs6/gst_inspect.dsp:
337 * win32/vs6/gst_launch.dsp:
338 * win32/vs6/libgstbase.dsp:
339 * win32/vs6/libgstelements.dsp:
340 * win32/vs6/libgstreamer.dsp:
341 * win32/vs7/GStreamer.vcproj:
342 * win32/vs7/gst-inspect.vcproj:
343 * win32/vs7/gst-launch.vcproj:
344 * win32/vs7/libgstbase.vcproj:
345 bump GST_MAJORMINOR to 0.10
346 reset libtool version
348 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
352 Added Bulgarian translation by (Alexander Shopov)
354 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
356 * tests/check/gst/gstplugin.c:
359 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
361 * common/gst-xmlinspect.py:
362 * common/gtk-doc-plugins.mak:
365 * docs/gst/Makefile.am:
366 * docs/gst/gstreamer-docs.sgml:
367 * docs/gst/gstreamer-sections.txt:
368 * docs/gst/gstreamer.types:
369 * docs/gst/gstreamer.types.in:
370 * docs/plugins/Makefile.am:
371 * docs/plugins/gstreamer-plugins-docs.sgml:
372 * docs/plugins/gstreamer-plugins-sections.txt:
373 * docs/plugins/gstreamer-plugins.types:
374 * docs/plugins/inspect.stamp:
375 * docs/plugins/inspect/plugin-coreelements.xml:
376 * docs/plugins/inspect/plugin-coreindexers.xml:
377 * docs/plugins/scanobj-build.stamp:
379 * plugins/elements/Makefile.am:
380 * plugins/elements/gstelements.c:
381 * plugins/elements/gstfakesink.c:
382 * plugins/elements/gstfakesrc.c:
383 * plugins/elements/gstfilesink.c:
384 * plugins/elements/gstfilesrc.c:
385 * plugins/elements/gstqueue.c:
386 * plugins/indexers/Makefile.am:
387 * plugins/indexers/gstindexers.c:
388 document core plugins in a separate document just like all the
390 rename these plugins to something starting with core
392 2005-12-01 Andy Wingo <wingo@pobox.com>
394 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
395 padding here before, but it missed the commit.
397 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
399 * libs/gst/controller/gstinterpolation.c:
400 whitespace prices have crashed, we should feel free to use some now
401 use gst_guint64_to_gdouble
403 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
405 * libs/gst/controller/gstcontroller.c:
406 * libs/gst/controller/gsthelper.c:
407 * libs/gst/controller/gstinterpolation.c:
408 * libs/gst/controller/lib.c:
409 wrap config.h include
411 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
413 * docs/gst/gstreamer-sections.txt:
416 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
418 * plugins/elements/gstelements.c:
419 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
420 (gst_fd_sink__class_init), (gst_fd_sink__init),
421 (gst_fd_sink__chain), (gst_fd_sink__set_property),
422 (gst_fd_sink__get_property):
423 * plugins/elements/gstfdsink.h:
424 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
425 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
426 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
427 (gst_fd_src_unlock), (gst_fd_src_set_property),
428 (gst_fd_src_get_property), (gst_fd_src_create),
429 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
430 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
431 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
432 (gst_fd_src_uri_handler_init):
433 * plugins/elements/gstfdsrc.h:
434 * plugins/elements/gstqueue.c: (gst_queue_get_type):
437 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
439 * docs/gst/Makefile.am:
440 * docs/gst/gstreamer.types.in:
444 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
451 * tests/benchmarks/complexity.c:
452 * tests/benchmarks/mass-elements.c:
453 * tests/check/Makefile.am:
455 * tools/gst-inspect.c:
456 * tools/gst-xmlinspect.c:
457 various fixes to make
458 --disable-nls --disable-registry --disable-loadsave
459 --disable-parse --disable-gst-debug
460 work and get the core .so down to 360444 bytes after stripping
462 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
467 * docs/random/thomasvs/TODO:
472 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
474 * win32/GStreamer.vcproj:
477 * win32/Makefile.inspect:
478 * win32/Makefile.launch:
479 * win32/Makefile.register:
481 * win32/gst-inspect.vcproj:
482 * win32/gst-launch.vcproj:
483 * win32/gst-register.vcproj:
484 * win32/gstelements.vcproj:
485 * win32/gstgetbits.def:
486 * win32/gstgetbits.vcproj:
487 * win32/gstreamer-dbg.def:
488 * win32/gstreamer.def:
489 * win32/libgstbase.def:
490 * win32/libgstbase.vcproj:
491 * win32/link_oldruntime.c:
496 move even more stuff, win32/ is nice and clean now
498 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
500 * libs/gst/control/.cvsignore:
505 * win32/gstbytestream.def:
506 * win32/gstbytestream.vcproj:
508 * win32/gstenumtypes.c:
509 * win32/gstenumtypes.h:
510 * win32/gstoptimalscheduler.vcproj:
511 * win32/gstversion.h:
513 * win32/testsuite/bins.vcproj:
514 * win32/testsuite/bytestream.vcproj:
515 * win32/testsuite/caps.vcproj:
516 * win32/testsuite/cleanup.vcproj:
517 * win32/testsuite/clock.vcproj:
518 * win32/testsuite/debug.vcproj:
519 * win32/testsuite/dlopen.vcproj:
520 * win32/testsuite/dynparams.vcproj:
521 * win32/testsuite/elements.vcproj:
522 * win32/testsuite/ghostpads.vcproj:
523 * win32/testsuite/indexers.vcproj:
524 * win32/testsuite/negotiation.vcproj:
525 * win32/testsuite/parse.vcproj:
526 * win32/testsuite/plugin.vcproj:
527 * win32/testsuite/refcounting.vcproj:
528 * win32/testsuite/schedulers.vcproj:
529 * win32/testsuite/states.vcproj:
530 * win32/testsuite/tags.vcproj:
531 * win32/testsuite/threads.vcproj:
532 remove old win32 stuff that isn't maintained and should be
535 2005-11-30 Andy Wingo <wingo@pobox.com>
537 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
538 loading the gst.interfaces python module bork.
540 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
541 available since GLib 2.2. Fixes #318031.
543 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
548 * check/elements/.cvsignore:
549 * check/elements/fakesrc.c:
550 * check/elements/fdsrc.c:
551 * check/elements/identity.c:
552 * check/generic/.cvsignore:
553 * check/generic/states.c:
554 * check/gst-libs/.cvsignore:
555 * check/gst-libs/controller.c:
556 * check/gst-libs/gdp.c:
557 * check/gst/.cvsignore:
558 * check/gst/capslist.h:
560 * check/gst/gstbin.c:
561 * check/gst/gstbuffer.c:
562 * check/gst/gstbus.c:
563 * check/gst/gstcaps.c:
564 * check/gst/gstelement.c:
565 * check/gst/gstevent.c:
566 * check/gst/gstghostpad.c:
567 * check/gst/gstiterator.c:
568 * check/gst/gstmessage.c:
569 * check/gst/gstminiobject.c:
570 * check/gst/gstobject.c:
571 * check/gst/gstpad.c:
572 * check/gst/gstpipeline.c:
573 * check/gst/gstplugin.c:
574 * check/gst/gstsegment.c:
575 * check/gst/gststructure.c:
576 * check/gst/gstsystemclock.c:
577 * check/gst/gsttag.c:
578 * check/gst/gstutils.c:
579 * check/gst/gstvalue.c:
580 * check/net/.cvsignore:
581 * check/net/gstnetclientclock.c:
582 * check/net/gstnettimeprovider.c:
583 * check/pipelines/.cvsignore:
584 * check/pipelines/cleanup.c:
585 * check/pipelines/simple_launch_lines.c:
586 * check/pipelines/stress.c:
587 * check/states/.cvsignore:
588 * check/states/sinks.c:
590 * examples/Makefile.am:
591 * examples/appreader/.cvsignore:
592 * examples/appreader/Makefile.am:
593 * examples/appreader/appreader.c:
594 * examples/controller/.cvsignore:
595 * examples/controller/Makefile.am:
596 * examples/controller/audio-example.c:
597 * examples/cutter/.cvsignore:
598 * examples/cutter/Makefile.am:
599 * examples/cutter/cutter.c:
600 * examples/cutter/cutter.h:
601 * examples/events/Makefile.am:
602 * examples/events/seek.c:
603 * examples/helloworld/.cvsignore:
604 * examples/helloworld/Makefile.am:
605 * examples/helloworld/helloworld.c:
606 * examples/helloworld2/.cvsignore:
607 * examples/helloworld2/Makefile.am:
608 * examples/helloworld2/helloworld2.c:
609 * examples/launch/.cvsignore:
610 * examples/launch/Makefile.am:
611 * examples/launch/mp3parselaunch.c:
612 * examples/launch/mp3play:
613 * examples/manual/.cvsignore:
614 * examples/manual/Makefile.am:
615 * examples/manual/extract.pl:
616 * examples/metadata/Makefile.am:
617 * examples/metadata/read-metadata.c:
618 * examples/mixer/.cvsignore:
619 * examples/mixer/Makefile.am:
620 * examples/mixer/mixer.c:
621 * examples/mixer/mixer.h:
622 * examples/pingpong/.cvsignore:
623 * examples/pingpong/Makefile.am:
624 * examples/pingpong/pingpong.c:
625 * examples/plugins/.cvsignore:
626 * examples/plugins/Makefile.am:
627 * examples/plugins/example.c:
628 * examples/plugins/example.h:
629 * examples/pwg/.cvsignore:
630 * examples/pwg/Makefile.am:
631 * examples/pwg/extract.pl:
632 * examples/queue/.cvsignore:
633 * examples/queue/Makefile.am:
634 * examples/queue/queue.c:
635 * examples/queue2/.cvsignore:
636 * examples/queue2/Makefile.am:
637 * examples/queue2/queue2.c:
638 * examples/queue3/.cvsignore:
639 * examples/queue3/Makefile.am:
640 * examples/queue3/queue3.c:
641 * examples/queue4/.cvsignore:
642 * examples/queue4/Makefile.am:
643 * examples/queue4/queue4.c:
644 * examples/retag/.cvsignore:
645 * examples/retag/Makefile.am:
646 * examples/retag/retag.c:
647 * examples/retag/transcode.c:
648 * examples/thread/.cvsignore:
649 * examples/thread/Makefile.am:
650 * examples/thread/thread.c:
651 * examples/typefind/.cvsignore:
652 * examples/typefind/Makefile.am:
653 * examples/typefind/typefind.c:
654 * examples/xml/.cvsignore:
655 * examples/xml/Makefile.am:
656 * examples/xml/createxml.c:
657 * examples/xml/runxml.c:
659 * tests/check/Makefile.am:
660 * testsuite/.cvsignore:
661 * testsuite/Makefile.am:
663 * testsuite/caps/.cvsignore:
664 * testsuite/caps/Makefile.am:
665 * testsuite/caps/app_fixate.c:
666 * testsuite/caps/audioscale.c:
667 * testsuite/caps/caps.c:
668 * testsuite/caps/caps.h:
669 * testsuite/caps/caps_strings:
670 * testsuite/caps/compatibility.c:
671 * testsuite/caps/deserialize.c:
672 * testsuite/caps/enumcaps.c:
673 * testsuite/caps/eratosthenes.c:
674 * testsuite/caps/filtercaps.c:
675 * testsuite/caps/fixed.c:
676 * testsuite/caps/fraction-convert.c:
677 * testsuite/caps/fraction-multiply-and-zero.c:
678 * testsuite/caps/intersect2.c:
679 * testsuite/caps/intersection.c:
680 * testsuite/caps/normalisation.c:
681 * testsuite/caps/random.c:
682 * testsuite/caps/renegotiate.c:
683 * testsuite/caps/sets.c:
684 * testsuite/caps/simplify.c:
685 * testsuite/caps/string-conversions.c:
686 * testsuite/caps/structure.c:
687 * testsuite/caps/subtract.c:
688 * testsuite/caps/union.c:
689 * testsuite/debug/.cvsignore:
690 * testsuite/debug/Makefile.am:
691 * testsuite/debug/category.c:
692 * testsuite/debug/commandline.c:
693 * testsuite/debug/global.c:
694 * testsuite/debug/output.c:
695 * testsuite/debug/printf_extension.c:
696 * testsuite/dlopen/.cvsignore:
697 * testsuite/dlopen/Makefile.am:
698 * testsuite/dlopen/dlopen_gst.c:
699 * testsuite/dlopen/loadgst.c:
700 * testsuite/elements/.cvsignore:
701 * testsuite/elements/Makefile.am:
702 * testsuite/elements/gst-inspect-check.in:
703 * testsuite/elements/struct_i386.h:
704 * testsuite/elements/struct_size.c:
705 * testsuite/indexers/.cvsignore:
706 * testsuite/indexers/Makefile.am:
707 * testsuite/indexers/cache1.c:
708 * testsuite/indexers/indexdump.c:
709 * testsuite/parse/.cvsignore:
710 * testsuite/parse/Makefile.am:
711 * testsuite/parse/parse1.c:
712 * testsuite/parse/parse2.c:
713 * testsuite/plugin/.cvsignore:
714 * testsuite/plugin/Makefile.am:
715 * testsuite/plugin/README:
716 * testsuite/plugin/dynamic.c:
717 * testsuite/plugin/linked.c:
718 * testsuite/plugin/loading.c:
719 * testsuite/plugin/registry.c:
720 * testsuite/plugin/static.c:
721 * testsuite/plugin/static2.c:
722 * testsuite/plugin/testplugin.c:
723 * testsuite/plugin/testplugin2.c:
724 * testsuite/plugin/testplugin2_s.c:
725 * testsuite/plugin/testplugin_s.c:
726 * testsuite/refcounting/.cvsignore:
727 * testsuite/refcounting/Makefile.am:
728 * testsuite/refcounting/bin.c:
729 * testsuite/refcounting/element.c:
730 * testsuite/refcounting/element_pad.c:
731 * testsuite/refcounting/mainloop.c:
732 * testsuite/refcounting/mem.c:
733 * testsuite/refcounting/mem.h:
734 * testsuite/refcounting/object.c:
735 * testsuite/refcounting/pad.c:
736 * testsuite/refcounting/sched.c:
737 * testsuite/refcounting/thread.c:
738 * testsuite/states/.cvsignore:
739 * testsuite/states/Makefile.am:
740 * testsuite/states/bin.c:
741 * testsuite/states/locked.c:
742 * testsuite/states/parent.c:
743 * testsuite/threads/.cvsignore:
744 * testsuite/threads/159566.c:
745 * testsuite/threads/159852.c:
746 * testsuite/threads/Makefile.am:
747 * testsuite/threads/queue.c:
748 * testsuite/threads/signals.c:
749 * testsuite/threads/staticrec.c:
750 * testsuite/threads/thread.c:
751 * testsuite/threads/threadb.c:
752 * testsuite/threads/threadc.c:
753 * testsuite/threads/threadd.c:
754 * testsuite/threads/threade.c:
755 * testsuite/threads/threadf.c:
756 * testsuite/threads/threadg.c:
757 * testsuite/threads/threadh.c:
758 * testsuite/threads/threadi.c:
759 move all of these under tests
761 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
767 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
769 * docs/gst/gstreamer-sections.txt:
770 * tests/sched/.cvsignore:
771 * tests/sched/Makefile.am:
772 * tests/sched/cases/(fs-fs).xml:
773 * tests/sched/cases/(fs-i-fs).xml:
774 * tests/sched/cases/(fs-i-i-fs).xml:
775 * tests/sched/cases/(fs-i-q[i-fs]).xml:
776 * tests/sched/dynamic-pipeline.c:
777 * tests/sched/interrupt1.c:
778 * tests/sched/interrupt2.c:
779 * tests/sched/interrupt3.c:
780 * tests/sched/runtestcases:
781 * tests/sched/runxml.c:
782 * tests/sched/sched-stress.c:
783 * tests/sched/sort.c:
784 * tests/sched/testcases:
785 * tests/sched/testcases1.tc:
786 * tests/seeking/.cvsignore:
787 * tests/seeking/Makefile.am:
788 * tests/seeking/seeking1.c:
789 * tests/threadstate/.cvsignore:
790 * tests/threadstate/Makefile.am:
791 * tests/threadstate/test1.c:
792 * tests/threadstate/test2.c:
793 * tests/threadstate/threadstate1.c:
794 * tests/threadstate/threadstate2.c:
795 * tests/threadstate/threadstate3.c:
796 * tests/threadstate/threadstate4.c:
797 * tests/threadstate/threadstate5.c:
798 remove obsolete tests
800 * tests/bench-complexity.scm:
801 * tests/bench-mass_elements.scm:
802 * tests/complexity.c:
803 * tests/complexity.gnuplot:
804 * tests/instantiate/.cvsignore:
805 * tests/instantiate/Makefile.am:
806 * tests/instantiate/caps.c:
807 * tests/mass_elements.c:
808 * tests/network-clock-utils.scm:
809 * tests/network-clock.scm:
811 First pass at cleaning up tests/ dir before moving the rest
812 Combined with CVS surgery
814 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
817 queue has moved, update
819 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
821 * docs/gst/gstreamer-sections.txt:
822 remove double entries from the docs
824 * gst/gstinfo.c: (_gst_debug_init):
825 remove the THREAD debug category
829 * docs/gst/gstreamer.types:
830 * plugins/elements/gstqueue.c: (gst_queue_get_type),
831 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
832 completely move queue and fix up debugging categories
834 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
836 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
837 make initialization portable, using LL is not
839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
841 * win32/common/gstconfig.h:
844 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
846 * win32/common/libgstreamer.def:
847 rename symbols; sort base section
849 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
851 * gst/gstclock.c: (do_linear_regression):
852 remove crack non-portable handrolled DEBUG macro
854 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
856 * docs/random/release:
858 * win32/common/gstenumtypes.c: (register_gst_object_flags),
859 (gst_object_flags_get_type), (register_gst_bin_flags),
860 (gst_bin_flags_get_type), (register_gst_buffer_flag),
861 (gst_buffer_flag_get_type), (register_gst_bus_flags),
862 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
863 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
864 (gst_caps_flags_get_type), (register_gst_clock_return),
865 (gst_clock_return_get_type), (register_gst_clock_entry_type),
866 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
867 (gst_clock_flags_get_type), (register_gst_state),
868 (gst_state_get_type), (register_gst_state_change_return),
869 (gst_state_change_return_get_type), (register_gst_state_change),
870 (gst_state_change_get_type), (register_gst_element_flags),
871 (gst_element_flags_get_type), (register_gst_core_error),
872 (gst_core_error_get_type), (register_gst_library_error),
873 (gst_library_error_get_type), (register_gst_resource_error),
874 (gst_resource_error_get_type), (register_gst_stream_error),
875 (gst_stream_error_get_type), (register_gst_event_type_flags),
876 (gst_event_type_flags_get_type), (register_gst_event_type),
877 (gst_event_type_get_type), (register_gst_seek_type),
878 (gst_seek_type_get_type), (register_gst_seek_flags),
879 (gst_seek_flags_get_type), (register_gst_format),
880 (gst_format_get_type), (register_gst_index_certainty),
881 (gst_index_certainty_get_type), (register_gst_index_entry_type),
882 (gst_index_entry_type_get_type),
883 (register_gst_index_lookup_method),
884 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
885 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
886 (gst_index_resolver_method_get_type), (register_gst_index_flags),
887 (gst_index_flags_get_type), (register_gst_debug_level),
888 (gst_debug_level_get_type), (register_gst_debug_color_flags),
889 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
890 (gst_iterator_result_get_type), (register_gst_iterator_item),
891 (gst_iterator_item_get_type), (register_gst_message_type),
892 (gst_message_type_get_type), (register_gst_mini_object_flags),
893 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
894 (gst_pad_link_return_get_type), (register_gst_flow_return),
895 (gst_flow_return_get_type), (register_gst_activate_mode),
896 (gst_activate_mode_get_type), (register_gst_pad_direction),
897 (gst_pad_direction_get_type), (register_gst_pad_flags),
898 (gst_pad_flags_get_type), (register_gst_pad_presence),
899 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
900 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
901 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
902 (gst_plugin_error_get_type), (register_gst_plugin_flags),
903 (gst_plugin_flags_get_type), (register_gst_rank),
904 (gst_rank_get_type), (register_gst_query_type),
905 (gst_query_type_get_type), (register_gst_tag_merge_mode),
906 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
907 (gst_tag_flag_get_type), (register_gst_task_state),
908 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
909 (gst_alloc_trace_flags_get_type),
910 (register_gst_type_find_probability),
911 (gst_type_find_probability_get_type), (register_gst_uri_type),
912 (gst_uri_type_get_type), (register_gst_parse_error),
913 (gst_parse_error_get_type):
914 * win32/common/gstenumtypes.h:
915 * win32/common/gstversion.h:
916 update visual studio generated files
918 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
920 * win32/vs6/libgstbase.dsp:
921 * win32/vs6/libgstelements.dsp:
922 update project files for new locations
924 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
934 * docs/random/LICENSE:
937 2005-11-30 Edward Hervey <edward@fluendo.com>
939 * gst/gsttypefind.c: (gst_type_find_register):
941 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
942 (gst_type_find_factory_dispose):
943 * gst/gsttypefindfactory.h:
944 Fix memory leak in GstTypeFindFactory.
946 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
949 * plugins/elements/Makefile.am:
950 * plugins/elements/gstelements.c:
951 * plugins/elements/gstqueue.c:
952 move queue from core to the elements plugin
954 2005-11-29 Andy Wingo <wingo@pobox.com>
956 * libs/gst/base/gstbasetransform.h:
957 * libs/gst/base/gstbasesrc.h:
958 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
960 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
961 of pointers by which to pad very extensible base classes (like the
962 ones in libs/gst/base).
964 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
966 * docs/gst/gstreamer-docs.sgml:
967 * docs/gst/gstreamer-sections.txt:
968 * docs/libs/gstreamer-libs-docs.sgml:
969 * docs/libs/gstreamer-libs-sections.txt:
970 moving documentation from core to lib
972 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
976 * docs/gst/Makefile.am:
978 * gst/base/.cvsignore:
979 * gst/base/Makefile.am:
981 * gst/base/gstadapter.c:
982 * gst/base/gstadapter.h:
983 * gst/base/gstbasesink.c:
984 * gst/base/gstbasesink.h:
985 * gst/base/gstbasesrc.c:
986 * gst/base/gstbasesrc.h:
987 * gst/base/gstbasetransform.c:
988 * gst/base/gstbasetransform.h:
989 * gst/base/gstcollectpads.c:
990 * gst/base/gstcollectpads.h:
991 * gst/base/gstpushsrc.c:
992 * gst/base/gstpushsrc.h:
993 * gst/base/gsttypefindhelper.c:
994 * gst/base/gsttypefindhelper.h:
995 * gst/check/Makefile.am:
996 * gst/check/gstcheck.c:
997 * gst/check/gstcheck.h:
998 * gst/net/Makefile.am:
1000 * gst/net/gstnetclientclock.c:
1001 * gst/net/gstnetclientclock.h:
1002 * gst/net/gstnettimepacket.c:
1003 * gst/net/gstnettimepacket.h:
1004 * gst/net/gstnettimeprovider.c:
1005 * gst/net/gstnettimeprovider.h:
1006 * libs/gst/Makefile.am:
1007 * libs/gst/base/Makefile.am:
1008 * libs/gst/base/gstbasetransform.c:
1009 * libs/gst/check/Makefile.am:
1010 * plugins/elements/Makefile.am:
1012 CVS surgery + support to move base, check, and net out of gst
1015 2005-11-29 Andy Wingo <wingo@pobox.com>
1017 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1019 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1022 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1024 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1026 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1028 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1029 padding; reduces object size by about 30%. We don't expect
1030 anything else to go into gstobject.
1032 * gst/gstminiobject.h (struct _GstMiniObject)
1033 (struct _GstMiniObjectClass): Only one pointer of padding; the
1034 payload is only a pointer and two ints anyway. For the class there
1035 are only two methods as well.
1037 * gst/gstelement.h (struct _GstElementClass): Removed
1038 the state_changed signal callback, it is not used.
1040 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1042 * docs/gst/gstreamer.types:
1043 fix includes, though they are a little dinky
1045 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1047 * check/Makefile.am:
1048 look in the right place for elements, a lot more chance of
1051 remove indexers and elements subdirs
1052 * plugins/Makefile.am:
1053 make indexers conditional
1055 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1059 * plugins/elements/Makefile.am:
1060 * plugins/elements/gstcapsfilter.c:
1061 * plugins/elements/gstfilesink.c:
1062 * plugins/elements/gstfilesrc.c:
1063 * plugins/elements/gstidentity.c:
1064 * plugins/indexers/Makefile.am:
1065 do CVS surgery and related build fixery to move elements
1066 and indexers in a new gstreamer/plugins directory, out of the
1069 2005-11-29 Andy Wingo <wingo@pobox.com>
1071 * check/Makefile.am:
1072 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1073 * pkgconfig/gstreamer-net.pc.in:
1074 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1077 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1079 * tools/Makefile.am:
1080 * tools/gst-complete.1.in:
1081 * tools/gst-complete.c:
1082 * tools/gst-compprep.1.in:
1083 * tools/gst-compprep.c:
1084 removing -compprep and -complete
1086 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1088 * gst/gstevent.c: (gst_event_new_new_segment),
1089 (gst_event_parse_new_segment):
1091 fix #320529 - clean up new_segment API and structure.
1092 Let's hope everyone was using the methods, and not the structure.
1094 2005-11-29 Edward Hervey <edward@fluendo.com>
1096 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1097 (gst_base_sink_event), (gst_base_sink_do_sync),
1098 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1099 Properly handle non GST_FORMAT_TIME segment
1100 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1101 Properly handle non GST_FORMAT_TIME segment
1103 This function is valid if the accumulator is 0 and the format
1104 is different from the requested format.
1106 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1108 * docs/gst/gstreamer-sections.txt:
1109 Add gst_query_new_seeking and gst_query_parse_seeking to the
1112 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1114 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1115 Treat a pad alloc with new caps the same as if we were not
1116 negotiated, in order to allow a changing upstream output
1117 to produce a new format of data.
1119 2005-11-29 Edward Hervey <edward@fluendo.com>
1121 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1122 (gst_base_transform_event), (gst_base_transform_eventfunc):
1123 The event virtual method is now properly implemented, with a default
1125 Sub classes should call the parent_class event method. They should
1126 return FALSE if they had a problem handling the given event, or don't
1127 want GstBaseTransform to send that even downstream
1128 * gst/elements/gstidentity.c: (gst_identity_class_init),
1129 (gst_identity_init), (gst_identity_event),
1130 (gst_identity_transform_ip), (gst_identity_set_property),
1131 (gst_identity_get_property):
1132 * gst/elements/gstidentity.h:
1133 Added the single-segment boolean property.
1134 If set to TRUE, it will output a single segment of data, starting from
1135 0, will eat up all incoming newsegment, and modify the timestamp of the
1138 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1140 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1141 Don't ref NULL target pad (#322751). Improve docs.
1143 2005-11-29 Michael Smith <msmith@fluendo.com>
1145 * gst/gstregistryxml.c: (load_plugin):
1146 Don't crash if we failed to load a feature from a plugin.
1148 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1150 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1152 use more check API and less GLib API
1154 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1157 don't run checks if we don't have check
1159 remove the registry when running make torture
1160 * docs/gst/gstreamer-sections.txt:
1161 remove second multiply
1162 * gst/gstqueue.c: (gst_queue_loop):
1163 fix a compile warning when disabling debug
1165 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1168 Hey! Let's print the pad name if the pointer != NULL instead
1169 of when it == NULL :-)
1171 2005-11-28 Wim Taymans <wim@fluendo.com>
1173 * check/gst/gstutils.c: (GST_START_TEST):
1174 Updated check, add some scaling accuracy checking code.
1176 * gst/gstutils.c: (gst_util_div128_64),
1177 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1178 (gst_util_uint64_scale_int):
1179 Fix 6 times faster division code. Optimize for common
1180 1/1 and less common X/1 cases.
1182 2005-11-28 Wim Taymans <wim@fluendo.com>
1184 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1187 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1188 (do_linear_regression), (gst_clock_add_observation):
1190 Release lock when the clock cannot be slaved.
1191 Catch the case where the regression returned an invalid denominator.
1193 * gst/gstutils.c: (gst_util_div128_64_iterate),
1194 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1195 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1196 Add protentially more performant non-iterative 128/64 divide function
1197 that unfortunatly does not work yet.
1198 Shortcut the trivial 0/X = 0 case.
1199 Remove the warnings on overflow.
1201 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1203 * gst/gstplugin.c: (gst_plugin_register_func):
1204 everything causing a plugin not to load should be at least a WARNING
1206 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1208 * docs/random/ensonic/dparams.txt:
1209 some TODOs for the next dev cycle
1210 * libs/gst/controller/gstcontroller.c:
1211 (gst_controlled_property_set_interpolation_mode),
1212 (gst_controlled_property_new):
1213 * libs/gst/controller/gstcontroller.h:
1214 use base type to assign acccessor functions
1216 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1218 * check/Makefile.am:
1219 Oops, that should have been top_srcdir
1221 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1223 * check/Makefile.am:
1224 * check/elements/fdsrc.c: (GST_START_TEST):
1225 Use a cmdline define to specify the location of a file to use for
1226 testing, to avoid breaking distcheck.
1228 2005-11-28 Andy Wingo <wingo@pobox.com>
1230 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1232 2005-11-28 Edward Hervey <edward@fluendo.com>
1234 * tools/gst-launch.c: (main):
1235 Clarify the output strings, makes it easier to translate.
1238 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1241 don't try and build net if we don't even have <sys/socket.h>
1243 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1245 * check/Makefile.am:
1246 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1247 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1248 Add tests for fdsrc seekability
1250 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1251 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1252 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1253 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1254 * gst/elements/gstfdsrc.h:
1255 fdsrc should not be a 'live' source.
1256 Implement seeking on seekable fd's.
1258 * gst/gstquery.c: (gst_query_new_seeking),
1259 (gst_query_parse_seeking):
1261 Implement SEEKING query functions:
1262 *_new_seeking and *_parse_seeking
1264 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1266 * gst/gstelement.c: (gst_element_dispose):
1269 * gst/gstiterator.c:
1270 * gst/gststructure.c:
1273 * libs/gst/controller/gstcontroller.c:
1274 (gst_controlled_property_set_interpolation_mode):
1275 * libs/gst/controller/gstcontroller.h:
1276 * libs/gst/controller/gstinterpolation.c:
1277 (interpolate_none_get_enum_value_array):
1278 support controlling enums
1280 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1283 Improve documentation for gst_value_union().
1286 Change return value for union, intersect and subtract functions
1287 from gint to gboolean.
1289 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1291 * gst/gstvalue.c: (gst_value_serialize_any_list),
1292 (gst_value_transform_any_list_string),
1293 (gst_value_deserialize_list), (gst_value_deserialize_array),
1294 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1295 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1296 (gst_value_set_fraction_range_full),
1297 (gst_value_deserialize_fraction_range),
1298 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1299 (gst_value_deserialize_boolean),
1300 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1301 (gst_value_serialize_float), (gst_value_deserialize_float),
1302 (gst_string_wrap), (gst_value_deserialize_string),
1303 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1304 (gst_value_union_int_range_int_range),
1305 (gst_value_intersect_int_range_int_range),
1306 (gst_value_intersect_double_range_double_range),
1307 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1308 (gst_value_subtract_int_range_int_range),
1309 (gst_value_subtract_double_double_range),
1310 (gst_value_subtract_double_range_double_range),
1311 (gst_value_deserialize_fraction):
1313 Use gint, gdouble and gchar in our API instead of int, double and
1314 char (and make usage in gstvalue.c more consistent).
1316 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1318 * check/Makefile.am:
1319 * libs/gst/controller/Makefile.am:
1320 * libs/gst/dataprotocol/Makefile.am:
1321 fix up Makefile.am and remove GST_ENABLE_NEW
1323 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1327 * gst/base/Makefile.am:
1328 * gst/check/Makefile.am:
1329 * gst/elements/Makefile.am:
1330 * gst/net/Makefile.am:
1331 update LDFLAGS use some more
1333 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1335 * common/m4/gst-doc.m4:
1338 2005-11-26 Edward Hervey <edward@fluendo.com>
1340 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1341 This shouldn't issue a g_warning since it returns NULL if it
1342 couldn't find the plugin, and all functions using this behave
1343 properly on a NULL return. Switching to a GST_WARNING.
1345 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1347 * gst/gstbin.c: (gst_bin_handle_message_func):
1348 Don't leak clock messages.
1350 2005-11-25 Wim Taymans <wim@fluendo.com>
1352 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1353 (gst_util_uint64_scale_int):
1354 Optimisations, remove unneeded vars.
1356 2005-11-25 Wim Taymans <wim@fluendo.com>
1358 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1359 Added more checks for the high precision uint64 cases.
1361 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1362 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1363 Implement high precision (guint64 * guint64) / guint64.
1365 2005-11-24 Wim Taymans <wim@fluendo.com>
1367 * gst/base/gstbasesrc.c: (gst_base_src_query):
1368 Fix wrong percentage query.
1370 * gst/gstutils.c: (gst_util_uint64_scale),
1371 (gst_util_uint64_scale_int):
1372 Add some more common cases that can be handled
1373 efficiently to _scale.
1375 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1377 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1378 (gst_mini_object_suite):
1379 don't use check calls from threads; check probably isn't
1380 threadsafe and using a lock to make it threadsafe would
1381 defeat the purpose of this check
1382 * gst/check/gstcheck.c:
1383 * gst/check/gstcheck.h:
1384 use GST_DEBUG some more
1386 2005-11-24 Wim Taymans <wim@fluendo.com>
1388 * gst/gstutils.c: (gst_util_uint64_scale),
1389 (gst_util_uint64_scale_int):
1390 Chain trivial case to _scale_int.
1392 2005-11-24 Wim Taymans <wim@fluendo.com>
1394 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1395 Added test for scaling.
1400 * gst/gstutils.c: (gst_util_uint64_scale_int):
1401 Implemented high precision scaling code.
1403 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1406 do not crash on pad==NULL
1408 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1410 Patch by: Stefan Kost
1412 * common/gtk-doc.mak:
1413 * docs/gst/Makefile.am:
1414 * docs/libs/Makefile.am:
1415 Fix distcheck issues for the libraries docs build
1418 2005-11-24 Michael Smith <msmith@fluendo.com>
1420 * docs/manual/basics-helloworld.xml:
1421 Fix bug #315027: memory leak in example code in docs.
1423 2005-11-24 Michael Smith <msmith@fluendo.com>
1425 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1426 Unlock the PREROLL_LOCK in a failure case.
1428 2005-11-24 Wim Taymans <wim@fluendo.com>
1430 * docs/gst/gstreamer-sections.txt:
1431 * gst/base/gstadapter.h:
1432 * gst/base/gstbasesink.h:
1433 * gst/base/gstbasesrc.h:
1434 * gst/base/gstbasetransform.h:
1435 * gst/base/gstpushsrc.h:
1436 * gst/elements/gstfakesink.h:
1437 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1438 * gst/elements/gstfakesrc.h:
1439 * gst/elements/gstfilesink.h:
1440 * gst/elements/gstfilesrc.h:
1443 * gst/gstbuffer.c: (_gst_buffer_copy):
1446 * gst/gstchildproxy.c:
1449 * gst/gstelementfactory.c:
1450 * gst/gstelementfactory.h:
1452 * gst/gstghostpad.h:
1454 * gst/gstinterface.h:
1455 * gst/gstminiobject.c:
1456 * gst/gstminiobject.h:
1459 * gst/gstpadtemplate.h:
1460 * gst/gstpipeline.h:
1461 * gst/gstpluginfeature.h:
1466 * gst/gsttagsetter.c:
1467 * gst/gsttagsetter.h:
1470 * gst/gsttypefind.h:
1473 * gst/net/gstnetclientclock.c:
1474 * gst/net/gstnetclientclock.h:
1475 * gst/net/gstnettimepacket.c:
1476 * gst/net/gstnettimeprovider.c:
1477 * gst/net/gstnettimeprovider.h:
1480 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1482 * configure.ac: back to HEAD
1484 === release 0.9.6 ===
1486 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1489 releasing 0.9.6, "Always On Time"
1491 2005-11-23 Wim Taymans <wim@fluendo.com>
1493 * docs/gst/gstreamer-sections.txt:
1494 * gst/glib-compat.c:
1495 * gst/gsttagsetter.c:
1497 * gst/net/gstnetclientclock.c:
1498 * gst/net/gstnettimepacket.h:
1501 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1503 * docs/faq/using.xml:
1504 * docs/libs/tmpl/gstcontrol.sgml:
1505 * docs/manual/advanced-dparams.xml:
1506 * docs/manual/appendix-checklist.xml:
1507 * docs/manual/basics-elements.xml:
1508 * docs/pwg/other-source.xml:
1509 * docs/random/moving-plugins:
1511 * tools/gst-launch.1.in:
1512 remove mentions of sinesrc
1514 2005-11-23 Michael Smith <msmith@fluendo.com>
1516 * docs/gst/gstreamer-sections.txt:
1517 Update for new API and API changes.
1519 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1521 Documentation typo fix.
1522 * gst/net/gstnettimepacket.c:
1523 Documentation fixes for arguments.
1525 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1527 * gst/gststructure.c: (gst_structure_get_fraction),
1528 (gst_structure_parse_value),
1529 (gst_structure_fixate_field_nearest_fraction):
1530 * gst/gststructure.h:
1531 * gst/gstutils.c: (gst_util_uint64_scale_int):
1533 * scripts/update-funcnames:
1535 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1536 Make gst_structure_fixate_field_nearest_fraction take a numerator
1537 and denominator argument instead of a GValue
1538 add gst_structure_get_fraction helper function.
1540 2005-11-23 Wim Taymans <wim@fluendo.com>
1542 * docs/design/part-TODO.txt:
1545 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1546 * gst/net/gstnetclientclock.h:
1547 Use parent fields for timeout and window_size.
1549 2005-11-23 Andy Wingo <wingo@pobox.com>
1551 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1552 rate_num/rate_denom change.
1554 * gst/net/gstnetclientclock.c
1555 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1556 OBJECT_LOCK. Don't call add_observation with the lock.
1558 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1560 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1562 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1563 deal with rate as a fraction whose numerator and denominator are
1564 GstClockTime values.
1565 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1566 master; the other fields are protected by the SLAVE_LOCK.
1567 (do_linear_regression): Note that this must be called with the
1569 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1570 OBJECT_LOCK. Call set_calibration instead of touching the
1572 (gst_clock_set_property, gst_clock_get_property): Protect
1573 master/slave parameters with the SLAVE_LOCK.
1575 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1576 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1577 note that all of the instance variables that add_observation and
1578 the set_master functions use are protected by that lock and not
1580 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1582 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1583 the caller to take the object lock.
1585 2005-11-23 Wim Taymans <wim@fluendo.com>
1587 * gst/gsterror.c: (_gst_core_errors_init):
1589 Add error for clock stuff.
1591 * gst/gstpipeline.c: (gst_pipeline_change_state),
1592 (gst_pipeline_set_clock):
1593 Post clock error when clock cannot be used in a pipeline.
1595 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1597 * docs/gst/gstreamer-sections.txt:
1598 make two symbols from gstinfo private for the docs
1599 * gst/base/gstcollectpads.h:
1601 fix doc typos, update docs
1603 2005-11-22 Wim Taymans <wim@fluendo.com>
1605 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1606 (gst_base_sink_wait), (gst_base_sink_do_sync),
1607 (gst_base_sink_handle_event):
1608 * gst/base/gstbasesink.h:
1609 No need to store the clock, the parent element class already
1612 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1613 Updates for clock_set returning a gboolean
1615 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1616 (gst_clock_id_wait_async), (gst_clock_class_init),
1617 (gst_clock_init), (gst_clock_finalize),
1618 (gst_clock_get_internal_time), (gst_clock_get_time),
1619 (gst_clock_slave_callback), (gst_clock_set_master),
1620 (gst_clock_get_master), (do_linear_regression),
1621 (gst_clock_add_observation), (gst_clock_set_property),
1622 (gst_clock_get_property):
1624 Implement master/slave. When setting a clock as a slave, a
1625 periodic timeout is scheduled to sample master and slave times.
1626 Then the slave clock is recalibrated to match offset and rate
1627 of the master clock.
1628 Update logging a bit.
1629 Add flag so that a clock can state that is cannot be slaved to
1632 * gst/gstelement.c: (gst_element_set_clock):
1634 The set clock returns a gboolean for when an element cannot
1635 deal with the selected clock in the pipeline.
1637 * gst/gstpipeline.c: (gst_pipeline_change_state),
1638 (gst_pipeline_set_clock):
1639 * gst/gstpipeline.h:
1640 Handle the case where the selected clock cannot be set on
1643 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1644 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1645 (gst_net_client_clock_set_property),
1646 (gst_net_client_clock_get_property),
1647 (gst_net_client_clock_observe_times):
1648 * gst/net/gstnetclientclock.h:
1649 Use regression code in GstClock parent, remove duplicated
1652 2005-11-22 Michael Smith <msmith@fluendo.com>
1654 * gst/gstutils.c: (gst_util_clock_time_scale):
1656 * docs/gst/gstreamer-sections.txt:
1657 Rename method to have extra underscore.
1659 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1661 * gst/elements/Makefile.am:
1662 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1663 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1664 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1665 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1666 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1667 * gst/elements/gstfakesrc.h:
1668 * gst/gstqueue.c: (queue_leaky_get_type):
1669 correctly fix GEnumValues so that nick is the short lowercase
1671 * tools/gst-inspect.c: (print_element_properties_info):
1672 also show the nick, since it's useful to use from parse_launch
1676 2005-11-22 Michael Smith <msmith@fluendo.com>
1678 * gst/gstutils.c: (gst_util_clocktime_scale):
1680 * docs/gst/gstreamer-sections.txt:
1681 Add util method for scaling a clocktime by a fraction. Useful
1682 implementation is left as an exercise for the reader.
1684 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1686 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1687 If needed, allocate storage in the destination value during
1690 2005-11-22 Edward Hervey <edward@fluendo.com>
1692 * docs/gst/gstreamer-sections.txt:
1697 * gst/gstutils.c: (gst_util_set_object_arg):
1698 * tools/gst-compprep.c: (main):
1699 * tools/gst-inspect.c: (print_element_properties_info):
1700 Removed GstURI, closes bug #321061
1702 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1704 * check/gst/gststructure.c: (GST_START_TEST):
1705 * gst/gststructure.c: (gst_structure_parse_value):
1706 Oops, broke automatic string type parsing.
1707 Add a test to catch it in future.
1709 2005-11-22 Andy Wingo <wingo@pobox.com>
1711 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1712 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1713 Actually rename the function implementations. Grr.
1715 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1717 * check/gst/capslist.h:
1719 * check/gst/gststructure.c: (GST_START_TEST),
1720 (gst_structure_suite):
1721 Test automatic value type detection in gst_structure_from_string.
1722 * gst/gststructure.c: (gst_structure_parse_value):
1723 Add fraction as a type we try and guess automatically in
1724 caps/structure strings.
1726 2005-11-22 Andy Wingo <wingo@pobox.com>
1728 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1730 * gst/gsttagsetter.h:
1731 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1732 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1733 (gst_tag_setter_add_tag_valist)
1734 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1735 _add_values, _add_valist, and _add_valist_values. Since this is an
1736 interface the function suffixes should be more explicit so
1737 language binding don't end up with element.add_valist ->
1738 gst_tag_setter_add_valist, for example. Fixes #322069.
1740 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1742 * check/gst/gstcaps.c: (GST_START_TEST):
1743 Extend caps string tests to check that a caps to string
1744 conversion is reversible and produces the same caps.
1746 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1747 Output "fraction" as the generic type fraction range, so caps
1748 serialisation and deserialisation works.
1749 * check/gst/capslist.h:
1750 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1751 Support 'MIN' and 'MAX' for deserialising fractions.
1753 2005-11-22 Andy Wingo <wingo@pobox.com>
1755 * gst/gstevent.h (gst_event_new_new_segment)
1756 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1757 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1758 Renamed from *_newsegment, *_buffersize, *_notarget.
1760 * scripts/update-funcnames: New script, performs the changes
1763 2005-11-22 Wim Taymans <wim@fluendo.com>
1765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1766 Make sure the GstFlowReturn is returned.
1768 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1769 (gst_bus_add_signal_watch):
1771 add gst_bus_add_signal_watch_full.
1773 * gst/gstplugin.c: (gst_plugin_load_file):
1774 Small style cleanup.
1776 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1778 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1779 Block the fakesrc srcpad when we send an event, to avoid
1780 contention on the stream_lock causing random test failures.
1782 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1784 * check/gst/gstvalue.c: (GST_START_TEST):
1785 * gst/gstvalue.c: (gst_value_fraction_subtract):
1788 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1791 include "gstchildproxy.h"
1792 * gst/gstchildproxy.h:
1793 * libs/gst/controller/gstcontroller.h:
1794 use G_GNUC_NULL_TERMINATED
1796 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1798 * check/gst/capslist.h:
1799 * check/gst/gstcaps.c: (GST_START_TEST):
1800 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1801 * gst/gststructure.c: (gst_structure_parse_range),
1802 (gst_structure_fixate_field_nearest_fraction):
1803 * gst/gststructure.h:
1804 * gst/gstvalue.c: (gst_value_init_fraction_range),
1805 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1806 (gst_value_collect_fraction_range),
1807 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1808 (gst_value_set_fraction_range_full),
1809 (gst_value_get_fraction_range_min),
1810 (gst_value_get_fraction_range_max),
1811 (gst_value_serialize_fraction_range),
1812 (gst_value_transform_fraction_range_string),
1813 (gst_value_compare_fraction_range),
1814 (gst_value_deserialize_fraction_range),
1815 (gst_value_intersect_fraction_fraction_range),
1816 (gst_value_intersect_fraction_range_fraction_range),
1817 (gst_value_subtract_fraction_fraction_range),
1818 (gst_value_subtract_fraction_range_fraction),
1819 (gst_value_subtract_fraction_range_fraction_range),
1820 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1821 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1822 (gst_value_transform_string_fraction), (_gst_value_initialize):
1824 Implement fraction ranges and extend GstFraction to support
1825 arithmetic subtraction, as well as deserialization from integer
1826 strings such as "100"
1827 Add a testsuite as for int and double range set operations
1829 2005-11-21 Andy Wingo <wingo@pobox.com>
1833 * gst/gststructure.h: Add glib-compat.h.
1835 2005-11-21 Wim Taymans <wim@fluendo.com>
1837 * gst/gstbin.c: (gst_bin_change_state_func):
1840 2005-11-21 Wim Taymans <wim@fluendo.com>
1843 And add a nice define too.
1845 2005-11-21 Wim Taymans <wim@fluendo.com>
1847 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1848 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1849 (gst_segment_set_duration), (gst_segment_set_last_stop),
1850 (gst_segment_set_seek), (gst_segment_set_newsegment),
1851 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1854 Make binding friendly.
1856 2005-11-21 Andy Wingo <wingo@pobox.com>
1858 * gst/gsttagsetter.h:
1860 * gst/gststructure.h:
1862 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1865 * gst/gsterror.c (_gst_core_errors_init):
1866 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1869 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1870 (noinst_HEADERS): noinst the -private.
1872 2005-11-21 Michael Smith <msmith@fluendo.com>
1875 * gst/gstregistry.h:
1876 Remove unimplemented declarations for which we can see no sensible
1879 2005-11-21 Andy Wingo <wingo@pobox.com>
1881 * gst/gst.h: Include glib-compat.h.
1883 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1885 * gst/glib-compat.c: Include the public and the private header.
1887 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1891 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1893 * check/gst/gstevent.c (create_custom_events): Check that
1894 FLUSH_STOP is serialized.
1896 * check/elements/identity.c (event_func):
1897 * check/elements/fakesrc.c (event_func): No stream lock, the core
1900 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1901 stream lock taking, yay.
1903 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1904 ensure that core takes the stream lock.
1906 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1909 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1910 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1911 it already. For the flush start we do take it though so we get the
1912 right preroll state change messages.
1914 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1915 the stream lock here, the core does it for us.
1917 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1918 GST_STREAM_GET_LOCK.
1919 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1920 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1921 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1922 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1923 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1924 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1926 * gst/gstpad.c: Update for stream lock name change.
1928 * gst/base/gstbasesink.c: Update for preroll lock name change.
1930 2005-11-21 Wim Taymans <wim@fluendo.com>
1932 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1933 (gst_clock_get_master):
1935 * gst/gstsystemclock.c: (gst_system_clock_init):
1936 Convert Clock flags to object flags.
1937 Added methods to manage master/slave clocks.
1939 2005-11-21 Wim Taymans <wim@fluendo.com>
1941 * check/gst/gstsegment.c: (GST_START_TEST):
1942 * docs/design/part-TODO.txt:
1943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1944 (gst_base_sink_event), (gst_base_sink_do_sync),
1945 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1946 (gst_base_sink_query), (gst_base_sink_change_state):
1947 * gst/base/gstbasesink.h:
1948 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1949 (gst_base_src_default_newsegment),
1950 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1951 (gst_base_src_get_range), (gst_base_src_loop),
1952 (gst_base_src_change_state):
1953 * gst/base/gstbasesrc.h:
1954 * gst/base/gstbasetransform.c:
1955 (gst_base_transform_prepare_output_buf),
1956 (gst_base_transform_event), (gst_base_transform_change_state):
1957 * gst/base/gstbasetransform.h:
1958 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1959 (gst_collect_pads_event):
1960 * gst/base/gstcollectpads.h:
1961 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1962 (gst_fake_src_create):
1963 * gst/elements/gstfakesrc.h:
1964 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1965 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1966 (gst_segment_set_last_stop), (gst_segment_set_seek),
1967 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1968 (gst_segment_to_running_time), (gst_segment_clip):
1970 More segment updates, replace code in plugins with segment
1973 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1975 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1976 Don't ignore sscanf results
1978 2005-11-21 Andy Wingo <wingo@pobox.com>
1980 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1983 * *.c: Ran scripts/update-macros. Oh yes.
1985 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1986 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1989 * scripts/update-macros: New script. Run it on your files to
1990 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1993 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1995 * docs/gst/Makefile.am:
1996 * docs/gst/gstreamer-docs.sgml:
1997 * docs/gst/gstreamer-sections.txt:
1998 * docs/gst/gstreamer.types:
2000 more docs fixes, add new api to the docs
2002 2005-11-21 Andy Wingo <wingo@pobox.com>
2004 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2005 state_broadcast call.
2007 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2009 2005-11-21 Julien MOUTTE <julien@moutte.net>
2011 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2012 function calls for arrays.
2014 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2016 * docs/random/ensonic/media-device-daemon.txt:
2017 wild idea, can this be done?
2018 * docs/gst/gstreamer-sections.txt:
2023 * gst/gstpluginfeature.c:
2027 doc fixes and additions
2029 2005-11-21 Andy Wingo <wingo@pobox.com>
2031 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2032 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2033 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2034 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2035 private to the basesrc implementation.
2037 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2038 behalf of event function if necessary. It should no longer be
2039 necessary to take the stream lock in pad's event functions. Fixes
2042 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2043 * docs/gst/gstreamer-sections.txt:
2044 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2045 (gst_structure_fixate_field_nearest_double),
2046 (gst_structure_fixate_field_boolean):
2047 * gst/gststructure.h:
2048 * win32/common/libgstreamer.def:
2049 * win32/gstreamer.def:
2051 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2054 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2056 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2057 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2058 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2059 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2060 (gst_fdsrc_uri_handler_init):
2061 * gst/elements/gstfdsrc.h:
2062 Port fd:// URI handler from 0.8 to fdsrc
2064 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2066 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2067 (gst_value_serialize_fourcc):
2069 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2070 consistent with our other format defines (#320324).
2072 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2074 * gst/gstvalue.c: (gst_value_is_fixed):
2075 Revert previous commit. Value lists are by definition
2076 not fixed, as they are a list of possible values.
2078 2005-11-21 Andy Wingo <wingo@pobox.com>
2080 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2081 during the stable series if we need it. Fixes #319178.
2083 * gst/gstevent.c (gst_event_new_filler): Removed.
2085 * check/gst/gstevent.c: Update comment about filler events.
2087 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2089 * gst/gstvalue.c: (gst_value_is_fixed):
2090 Should handle both value arrays and value lists.
2092 2005-11-21 Andy Wingo <wingo@pobox.com>
2094 patch by: Alessandro Dessina <alessandro nnva org>
2096 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2097 functions to access arrays. Fixes #321962.
2099 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2101 * docs/gst/gstreamer.types:
2102 gst_collectpads_get_type => gst_collect_pads_get_type.
2104 * gst/base/gstbasetransform.c:
2105 Remove unused SIGNAL_HANDOFF enum.
2107 2005-11-21 Andy Wingo <wingo@pobox.com>
2109 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2110 the event type (upstream, downstream, serialized). Renamed
2111 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2112 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2113 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2115 * gst/gstevent.c: Update for new CUSTOM event names.
2117 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2120 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2123 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2125 * docs/gst/gstreamer-sections.txt:
2126 * win32/common/libgstbase.def:
2127 * win32/libgstbase.def:
2128 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2129 (gst_collect_pads_class_init), (gst_collect_pads_init),
2130 (gst_collect_pads_finalize), (gst_collect_pads_new),
2131 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2132 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2133 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2134 (gst_collect_pads_start), (gst_collect_pads_stop),
2135 (gst_collect_pads_peek), (gst_collect_pads_pop),
2136 (gst_collect_pads_available), (gst_collect_pads_read),
2137 (gst_collect_pads_flush), (gst_collect_pads_event),
2138 (gst_collect_pads_chain):
2139 * gst/base/gstcollectpads.h:
2140 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2141 unimplemented functions as unimplemented. Add padding to
2142 GstCollectData. (#320766, #320423)
2144 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2147 Improve docs for DURATION message (usage of duration parameter)
2150 2005-11-20 Wim Taymans <wim@fluendo.com>
2152 * check/Makefile.am:
2153 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2157 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2158 (gst_segment_set_seek), (gst_segment_set_newsegment),
2159 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2162 Added segment helper structure and methods. Not fully implemented
2164 Added segment check.
2166 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2168 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2169 Add a deserialisation test for fractions
2170 * examples/metadata/read-metadata.c: (message_loop),
2171 (make_pipeline), (main):
2172 Fix up metadata reading sample.
2173 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2175 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2176 Don't try and fixate empty caps
2177 * gst/gst_private.h:
2178 Wrap in G_BEGIN_DECLS/G_END_DECLS
2179 * gst/gstvalue.c: (gst_value_collect_fraction),
2180 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2181 (gst_value_transform_string_fraction),
2182 (gst_value_compare_fraction):
2183 Add some extra guards to ensure that we don't end up
2184 with an invalid denominator of 0 in a gstfraction and
2185 that fractions always get reduced.
2187 2005-11-20 Wim Taymans <wim@fluendo.com>
2189 * docs/gst/gstreamer-sections.txt:
2200 2005-11-20 Wim Taymans <wim@fluendo.com>
2202 * docs/design/part-TODO.txt:
2204 Make a proper enum of the flag.
2206 2005-11-19 Wim Taymans <wim@fluendo.com>
2208 * docs/design/part-TODO.txt:
2209 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2210 (gst_format_to_quark), (gst_format_register):
2212 * gst/gstquery.c: (_gst_query_initialize),
2213 (gst_query_type_get_name), (gst_query_type_to_quark),
2214 (gst_query_type_register):
2216 Add type to quark and type to string conversions.
2218 2005-11-19 Andy Wingo <wingo@pobox.com>
2220 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2223 2005-11-19 Wim Taymans <wim@fluendo.com>
2225 * docs/design/part-TODO.txt:
2226 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2227 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2228 (gst_bin_handle_message_func):
2230 Make message handling overridable.
2232 2005-11-19 Andy Wingo <wingo@pobox.com>
2234 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2237 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2239 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2240 is a GstClockTime. Fixes #321710.
2242 * gst/gstclock.h (GstClock): Remove offset property. Add
2243 internal_calibration and external_calibration. Fix padding. Pad
2244 also by GstClockTime so we don't run into problems.
2246 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2247 (gst_clock_get_rate_offset): Remove.
2248 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2251 * gst/gstutils.c (g_static_rec_cond_wait)
2252 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2254 * gst/gstbin.c: Remove terrible continue_state prototype.
2256 * gst/gstelement.h (gst_element_continue_state): Make public.
2259 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2260 by continue_state. Fixes #319389.
2262 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2263 Really fixes #168438. However I don't see anywhere where the
2264 filter function is called... stupid GStreamer...
2266 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2267 don't have a dispose function, so it won't get called when the
2268 object is unreffed, but oh well!
2270 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2271 allows a destroy function to be set so user_data can be freed.
2273 (gst_index_set_filter): Call gst_index_set_filter_full.
2275 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2277 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2278 string should produce an error, given the lack of a way to
2279 represent NULL strings. Fixes #165650.
2282 * gst/gstvalue.c (gst_value_array_append_value)
2283 (gst_value_array_prepend_value, gst_value_array_get_size)
2284 (gst_value_array_get_value): New API, copied from
2285 gst_value_list_*, only operates on arrays.
2286 (gst_value_list_append_value, gst_value_list_prepend_value)
2287 (gst_value_list_concat, gst_value_list_get_size)
2288 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2290 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2291 init_list, because it works on both.
2292 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2293 (gst_value_copy_list_or_array): Renamed from copy_list.
2294 (gst_value_free_list_or_array): Renamed from free_list.
2295 (gst_value_collect_list_or_array): Renamed from collect_list.
2296 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2297 (gst_value_list_or_array_peek_pointer): Renamed from
2299 (_gst_value_array_value_table, _gst_value_list_value_table):
2300 Update value table functions.
2301 (gst_value_compare_list_or_array): Renamed from compare_list.
2303 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2307 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2308 GstTagList*. Fixes #143472.
2310 * gst/gststructure.h: Clarify what the foreach/map functions can
2311 or can't do to their arguments.
2313 2005-11-18 Wim Taymans <wim@fluendo.com>
2315 * gst/gstclock.c: (gst_clock_set_calibration),
2316 (gst_clock_get_calibration):
2318 Calibration can be set with internal time equal to current
2321 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2327 2005-11-18 Andy Wingo <wingo@pobox.com>
2330 * pkgconfig/gstreamer-net.pc.in:
2331 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2332 * pkgconfig/Makefile.am: Add net pkgconfig files.
2334 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2337 * gst/gstghostpad.c:
2343 2005-11-18 Andy Wingo <wingo@pobox.com>
2345 * gst/net/gstnetclientclock.c: Turn off debugging.
2347 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2348 times connverge somewhat. Can't make a real test.
2350 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2351 integer arithmetic. Return the minimum of the domain, which can be
2352 set as "internal" for gst_clock_set_calibration.
2353 (gst_net_client_clock_observe_times): Call _set_calibration.
2354 (gst_net_client_clock_new): Call _set_calibration instead of
2357 * check/net/gstnetclientclock.c (test_functioning): Use the right
2361 * gst/gstclock.c (gst_clock_get_calibration)
2362 (gst_clock_set_calibration): New functions, obsolete the ones I
2363 added yesterday. Doh. Precision issues mean we have to extrapolate
2364 from a point in the more recent past than 1970.
2365 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2367 (gst_clock_adjust_unlocked): Use the right calibration data.
2369 2005-11-18 Edward Hervey <edward@fluendo.com>
2371 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2372 Also reset the ->current_* values in READY->PAUSED
2374 2005-11-18 Andy Wingo <wingo@pobox.com>
2376 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2377 Whoops, check the right fd. Also add some debugging.
2378 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2379 (do_linear_regression): Add a crapload of debugging. Subtract off
2380 the minimum values from the input series to discard unneeded bits.
2381 Use only int arithmetic. There is still double arithmetic when
2382 calculating the intercept that needs fixing. Return boolean to
2383 indicate success; FALSE would mean the domain or range is too
2384 great. Still needs fixes.
2386 2005-11-18 Wim Taymans <wim@fluendo.com>
2388 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2389 For the current position in stream time, we need to subtract
2392 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2393 Release lock before calling the callback function of async
2396 2005-11-18 Andy Wingo <wingo@pobox.com>
2398 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2399 Port goes all the way to MAXUINT16.
2401 * gst/net/gstnettimeprovider.c: Make the port range the same as
2402 for the kernel: 0 assigns, otherwise ports are less than
2405 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2408 * check/net/gstnetclientclock.c (test_functioning): Add the start
2411 2005-11-18 Wim Taymans <wim@fluendo.com>
2413 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2414 (gst_bin_remove_func), (bin_bus_handler):
2416 Removing a clock provider from a bin, triggers a clock lost message
2417 so that a new clock will be selected.
2418 Adding a clock to a bin triggers a clock provider message.
2419 Make sure we reselect a clock when we received a clock lost message.
2420 Keep a reference to the element that provided the clock.
2422 2005-11-18 Andy Wingo <wingo@pobox.com>
2424 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2425 the clock initially so it produces values around the base time.
2426 (gst_net_client_clock_class_init): Typo fix.
2427 (gst_net_client_clock_thread): Add note on when the socket gets
2430 2005-11-17 Wim Taymans <wim@fluendo.com>
2432 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2433 Free remote and local time arrays.
2435 2005-11-17 Wim Taymans <wim@fluendo.com>
2437 * gst/net/gstnetclientclock.c: (do_linear_regression),
2438 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2439 Fix compilation, uninitialized vars and a forgotten continue.
2441 2005-11-17 Andy Wingo <wingo@pobox.com>
2443 * check/Makefile.am (check_PROGRAMS):
2444 * check/net/gstnetclientclock.c: Add a most minimal test for the
2445 net client clock. More to come later.
2448 * gst/net/Makefile.am: Add netclientclock.
2450 * gst/net/gstnetclientclock.h:
2451 * gst/net/gstnetclientclock.c: New files, implement an untested
2452 GstClock that takes its time from a network time provider.
2453 Implements the algorithm in network-clock.scm.
2455 * tests/network-clock.scm (*window-size*): Rename from
2457 * tests/network-clock.scm (network-time):
2458 * tests/network-clock-utils.scm (q-push): Update callers.
2460 2005-11-17 Wim Taymans <wim@fluendo.com>
2462 * gst/gstbin.c: (gst_bin_provide_clock_func),
2463 (gst_bin_sort_iterator_new):
2464 And unref the child too..
2466 2005-11-17 Wim Taymans <wim@fluendo.com>
2468 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2469 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2470 Refactor the sort iterator so it can be used while holding the
2472 Make clock selection select a clock closest to the source.
2474 2005-11-17 Michael Smith <msmith@fluendo.com>
2476 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2477 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2479 Anonymous structs are a gcc (and some other compilers) extension, so
2480 don't use them. Since this is only for ABI-compatibility, and our
2481 API/ABI freeze is over in a few days, this whole thing will only
2482 last a few days, so don't bother trying to think up a meaningful
2483 name for the struct.
2485 2005-11-17 Andy Wingo <wingo@pobox.com>
2487 * gst/gstclock.h (GstClock): Add rate and offset properties,
2488 preserving ABI stability. Add rate/offset accessors. Will file bug
2489 for the freeze break.
2491 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2492 and offset, trying to keep precision and avoiding
2494 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2495 functions. Make gst_clock_set_time_adjust obsolete.
2496 (gst_clock_set_time_adjust): Note that this function is obsolete.
2499 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2500 greppable by using GST_PADDING-1+1.
2502 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2504 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2506 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2507 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2509 * gst/gstpadtemplate.h:
2510 * gst/gstpluginfeature.h:
2511 Don't use c++ style comments in headers (#321638).
2513 2005-11-16 Andy Wingo <wingo@pobox.com>
2515 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2518 * check/net/gstnettimeprovider.c: Check to see that the time
2519 provider actually provides times. Works, yo!
2521 2005-11-16 Wim Taymans <wim@fluendo.com>
2523 * check/Makefile.am:
2526 * check/elements/fakesrc.c: (GST_START_TEST):
2527 Set element to NULL before disposing it.
2529 2005-11-16 Andy Wingo <wingo@pobox.com>
2531 * gst/net/Makefile.am:
2533 * gst/net/gstnettimeprovider.c:
2534 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2535 provider, include it from gstnet.h, and add it to the build.
2537 * gst/net/gstnettimepacket.h:
2538 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2539 sending and receiving.
2541 2005-11-16 Wim Taymans <wim@fluendo.com>
2543 * check/Makefile.am:
2544 Enable valgrind check.
2546 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2547 (gst_fake_src_alloc_buffer):
2550 2005-11-16 Wim Taymans <wim@fluendo.com>
2552 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2553 Call parent finalize too.
2555 2005-11-16 Wim Taymans <wim@fluendo.com>
2557 * check/Makefile.am:
2558 Enable valgrind check that should work fine now.
2560 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2561 * gst/gstqueue.c: (gst_queue_init):
2562 Fix memleaks in pad allocation.
2564 2005-11-16 Andy Wingo <wingo@pobox.com>
2566 * gst/net/Makefile.am:
2567 * gst/net/gstnet.h: New part of core to hold network elements and
2568 objects. Put in core because it exposes API that applications want
2569 to use. The library is named libgstnet-tempname right now because
2570 of the existing libgstnet in gst-plugins-base. Solution is
2571 probably to rename the one in plugins-base; will file a bug for
2574 * gst/net/gstnettimeprovider.c:
2575 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2576 get_time call over the network.
2579 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2581 * check/Makefile.am:
2582 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2583 get additions shortly.
2585 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2587 * gst/gstpad.c: (gst_pad_new_from_static_template):
2589 add gst_pad_new_from_static_template functions
2590 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2591 (gst_check_setup_sink_pad):
2592 * gst/elements/gsttee.c: (gst_tee_init):
2595 2005-11-16 Wim Taymans <wim@fluendo.com>
2597 * gst/gstpad.c: (gst_pad_pause_task):
2598 Removed warning, it's not really an error either.
2600 2005-11-16 Wim Taymans <wim@fluendo.com>
2602 * gst/base/gstbasetransform.c:
2603 (gst_base_transform_prepare_output_buf),
2604 (gst_base_transform_event):
2605 Check if the caps are NULL, this can happen if the element
2606 is shutting down and the pad caps are set to NULL.
2608 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2610 * gst/elements/gsttee.c: (gst_tee_init):
2611 fix pad template leak in tee
2613 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2615 * gst/glib-compat.c: (g_value_dup_gst_object):
2616 * gst/glib-compat.h:
2617 * gst/gstpad.c: (gst_pad_set_property):
2618 use gst_object_ref when setting the pad template; this will
2619 trigger the pad template leaks on GLib 2.6 and the slaves
2621 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2623 * gst/glib-compat.c: (gst_flags_get_first_value):
2624 * gst/glib-compat.h:
2625 * gst/gstregistryxml.c:
2626 remove functions copied from GLib 2.6
2628 2005-11-16 Michael Smith <msmith@fluendo.com>
2631 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2632 do, but only breaks with newer valgrind versions. We're not a
2633 valgrind tool, we have no link-time dependencies on libcoregrind.
2635 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2637 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2642 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2644 * gst/base/gstbasesrc.c: (gst_base_src_init):
2645 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2646 * gst/gstqueue.c: (gst_queue_init):
2647 * gst/gstregistryxml.c: (load_feature):
2648 Revert all these unrefs, they don't even pass make check !
2650 2005-11-15 Johan Dahlin <johan@gnome.org>
2652 * gst/base/gstbasesrc.c: (gst_base_src_init):
2653 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2654 * gst/gstqueue.c: (gst_queue_init):
2655 Free pad templates, fixes a couple of leaks.
2657 2005-11-15 Daniel Fischer <dan at f3c dot com>
2659 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2661 * gst/gstpad.c: (gst_pad_get_property):
2662 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2663 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2666 2005-11-15 Wim Taymans <wim@fluendo.com>
2671 2005-11-15 Andy Wingo <wingo@pobox.com>
2673 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2675 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2676 using GST_CLOCK_TIME_NONE to disable base time management.
2677 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2678 time if it was NONE before.
2679 (gst_pipeline_change_state): Only munge the base time if
2680 stream_time != GST_CLOCK_TIME_NONE.
2682 * check/gst/gstpipeline.c (test_base_time): Punt around the
2683 problem of the probe not being called, because that's not the
2684 issue I'm looking at. Add a check that setting stream_time to NONE
2685 disables base time management.
2687 2005-11-15 Wim Taymans <wim@fluendo.com>
2689 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2690 segment_stop == -1 at startup.
2692 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2693 (gst_base_transform_change_state):
2694 Init segment values at start.
2696 2005-11-15 Wim Taymans <wim@fluendo.com>
2698 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2699 0 segment values are 0 in any format.
2701 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2702 * gst/base/gstbasetransform.h:
2703 Parse newsegment correctly in basetransform
2705 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2706 Sync to clock using updated segment values.
2708 2005-11-15 Andy Wingo <wingo@pobox.com>
2710 * check/gst/gstpipeline.c (test_base_time): Add check that the
2711 base time and stream time are reset correctly.
2713 2005-11-15 Wim Taymans <wim@fluendo.com>
2715 * docs/design/part-TODO.txt:
2716 Some more TODO items.
2718 2005-11-15 Andy Wingo <wingo@pobox.com>
2720 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2721 error if the user selected "no clock" as the clocking method.
2723 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2724 timestamps with live capture.
2726 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2727 is 0 but we are a live source, timestamp the buffers using the
2730 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2732 * docs/gst/gstreamer-sections.txt:
2734 * gst/gstghostpad.c:
2739 2005-11-14 Wim Taymans <wim@fluendo.com>
2742 add suppressions from Wim's Debian machine
2744 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2747 add suppressions from Andy's AMD64 Ubuntu machine
2749 2005-11-14 Andy Wingo <wingo@pobox.com>
2751 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2752 STATE_LOCK not necessary. Fixes #311489.
2754 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2757 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2758 this function is not implemented.
2760 2005-11-14 Julien MOUTTE <julien@moutte.net>
2762 * gst/base/gstbasetransform.c:
2763 (gst_base_transform_prepare_output_buf):
2764 Ref the source pad caps while we need them.
2767 2005-11-11 Wim Taymans <wim@fluendo.com>
2769 * docs/gst/gstreamer-sections.txt:
2770 Added some docs for GstCollectData.
2772 * gst/base/gstadapter.c:
2773 Some small code example fix.
2775 * gst/base/gstcollectpads.c:
2776 * gst/base/gstcollectpads.h:
2779 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2781 * configure.ac: back to HEAD
2783 === release 0.9.5 ===
2785 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2788 releasing 0.9.5, "Bike Lunch Day"
2790 2005-11-11 Wim Taymans <wim@fluendo.com>
2792 * gst/gstbuffer.c: (_gst_buffer_copy):
2795 * gst/gstcaps.c: (gst_caps_is_equal):
2797 Make _is_equal fast in the trivial cases.
2799 * gst/gstminiobject.c:
2800 * gst/gstminiobject.h:
2801 More docs. Spifify .h file.
2806 2005-11-11 Wim Taymans <wim@fluendo.com>
2808 * gst/base/gstbasetransform.c:
2809 (gst_base_transform_prepare_output_buf),
2810 (gst_base_transform_handle_buffer):
2812 If we're processing a buffer and need to allocate an output
2813 buffer, we cannot accept a format change. If we did get a
2814 format change, we have to alloc a buffer ourselves of the
2817 2005-11-11 Wim Taymans <wim@fluendo.com>
2819 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2820 While checking the flag for reentrancy in the gstcaps function
2821 is nice to detect recursive invocations, it also makes it
2822 impossible to call getcaps from multiple threads, which must be
2823 possible. So, checking for recursive calls has to go.
2825 2005-11-11 Michael Smith <msmith@fluendo.com>
2827 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2828 Don't sync on buffers that fall partially outside our current
2829 segment. Prevents an assertion failure/abort playing some files.
2831 2005-11-10 Andy Wingo <wingo@pobox.com>
2833 * check/gst/gstbin.c (test_message_state_changed_children): Style
2836 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2837 gst_bus_poll with the signal watch. Ensures that poll and a signal
2838 watch see the same messages.
2840 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2841 a poll and a watch at the same time get the same messages.
2843 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2845 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2846 * gst/gstcaps.c: (gst_caps_intersect):
2847 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2848 and it's not needed.
2850 2005-11-10 Wim Taymans <wim@fluendo.com>
2852 * docs/design/part-TODO.txt:
2855 2005-11-10 Wim Taymans <wim@fluendo.com>
2857 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2858 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2859 (gst_base_src_do_sync), (gst_base_src_get_range):
2860 Implement clock sync in base class.
2862 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2864 patch by: Tim-Philipp Müller <tim at centricular dot net>
2866 * gst/gststructure.c: (gst_structure_parse_field),
2867 (gst_structure_from_string):
2868 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2869 so that gst_parse_launch() can deal with spaces in filtered link
2870 caps (fixes #164479)
2871 * check/gst/capslist.h:
2872 * check/gst/gststructure.c: (GST_START_TEST):
2873 add unit tests for this change
2875 2005-11-10 Wim Taymans <wim@fluendo.com>
2877 * docs/gst/gstreamer-sections.txt:
2880 Fix docs, move some STATE macros to private.
2882 2005-11-10 Wim Taymans <wim@fluendo.com>
2884 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2885 Added check for bug #317341
2889 Some more spiffifying.
2891 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2892 Call peer linkfunction if we are a source pad. Totally fixes
2896 Update docs, source pads should call the peer linkfunction
2897 so they can atomically perform the pad link.
2899 2005-11-09 Wim Taymans <wim@fluendo.com>
2903 Uber-spiffy-spiffify some more.
2905 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2907 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2908 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2909 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2910 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2911 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2912 * gst/gstpad.c: (gst_pad_init):
2913 Use GST_DEBUG_FUNCPTR() more extensively.
2915 2005-11-09 Wim Taymans <wim@fluendo.com>
2917 * gst/gstobject.c: (gst_object_class_init):
2919 Documentation fixes.
2921 2005-11-09 Edward Hervey <edward@fluendo.com>
2923 * gst/gsttypefindfactory.c:
2926 2005-11-09 Edward Hervey <edward@fluendo.com>
2928 * gst/base/gsttypefindhelper.c:
2929 * gst/gsttypefind.c:
2930 * gst/gsttypefind.h:
2933 2005-11-09 Wim Taymans <wim@fluendo.com>
2935 * gst/gstiterator.c:
2942 2005-11-09 Wim Taymans <wim@fluendo.com>
2948 2005-11-09 Wim Taymans <wim@fluendo.com>
2950 * docs/gst/gstreamer-sections.txt:
2951 Moved the message async delivery private lock and cond
2952 to the private section.
2958 2005-11-09 Edward Hervey <edward@fluendo.com>
2960 * docs/gst/gstreamer-sections.txt:
2963 Document GstURIHandler
2965 2005-11-09 Wim Taymans <wim@fluendo.com>
2967 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2968 (gst_iterator_find_custom):
2969 * gst/gstiterator.h:
2972 2005-11-09 Wim Taymans <wim@fluendo.com>
2975 Document another field.
2977 * gst/gststructure.c:
2978 * gst/gststructure.h:
2981 2005-11-09 Wim Taymans <wim@fluendo.com>
2986 2005-11-09 Wim Taymans <wim@fluendo.com>
2988 * docs/gst/gstreamer-sections.txt:
2989 Added some new macros.
2996 2005-11-09 Wim Taymans <wim@fluendo.com>
2998 * docs/design/part-TODO.txt:
2999 Some more items for the TODO
3005 2005-11-09 Andy Wingo <wingo@pobox.com>
3007 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3008 to work on something else now tho...
3010 * gst/base/gstadapter.c: More adapter docs.
3012 * gst/elements/gstfilesink.c (gst_file_sink_start)
3013 (gst_file_sink_stop): New functions, replace the state change
3015 (gst_file_sink_class_init): Hook up the start and stop functions.
3016 (gst_file_sink_base_init): Don't set the state change handler any
3017 more. It was a bit ugly too, being set from here...
3018 (gst_file_sink_get_property, gst_file_sink_set_property):
3020 (gst_file_sink_set_location): More robust check that doesn't call
3023 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3025 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3026 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3028 2005-11-08 Wim Taymans <wim@fluendo.com>
3030 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3031 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3032 (gst_base_sink_chain), (gst_base_sink_change_state):
3033 * gst/base/gstbasesink.h:
3034 * gst/base/gstbasesrc.h:
3037 Avoid excessive typechecking in macros.
3039 * gst/gstminiobject.c: (gst_mini_object_get_type),
3040 (gst_mini_object_init), (gst_mini_object_new),
3041 (gst_mini_object_free):
3042 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3043 (gst_object_finalize):
3044 Remove cruft code, optimize alloc_trace.
3046 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3048 * docs/faq/gst-uninstalled:
3049 fix up PS1 for systems that try to reset it
3051 2005-11-07 Wim Taymans <wim@fluendo.com>
3053 * gst/base/gstbasesrc.c: (gst_base_src_init),
3054 (gst_base_src_get_range):
3055 Set the segment_end to -1 initially. Fixed typefind.
3057 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3059 * gst/base/gstadapter.c:
3060 Debug category should be 'adapter', not 'GstAdapter'.
3062 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3063 (gst_collectpads_class_init), (gst_collectpads_init),
3064 (gst_collectpads_peek), (gst_collectpads_pop),
3065 (gst_collectpads_event), (gst_collectpads_chain):
3066 Add debug category and some debugging output. Use boilerplate
3067 macros. Remove some extraneous words from docs.
3069 2005-11-05 Andy Wingo <wingo@pobox.com>
3071 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3074 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3076 * docs/gst/gstreamer-sections.txt:
3079 * gst/gstminiobject.h:
3084 2005-11-04 Wim Taymans <wim@fluendo.com>
3086 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3087 Small update to stop at the configured segment_end
3090 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3092 * gst/gstregistry.c:
3093 * gst/gstregistry.h:
3096 2005-11-04 Edward Hervey <edward@fluendo.com>
3098 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3099 Check if we are doing a segment seek and have arrived at the
3100 end of that segment.
3102 2005-11-04 Wim Taymans <wim@fluendo.com>
3104 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3105 Don't leak a mutex unlock in case of an error.
3110 2005-11-04 Wim Taymans <wim@fluendo.com>
3112 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3114 Get the context to wake up only once.
3116 2005-11-03 Wim Taymans <wim@fluendo.com>
3118 * check/states/sinks.c: (GST_START_TEST):
3119 Uncomment fixed check.
3121 * docs/design/part-TODO.txt:
3124 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3125 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3126 (gst_base_sink_get_position):
3127 If we are going to PLAYING, post the right pending state
3128 when we post the intermediate paused message.
3130 * gst/gstelement.c: (gst_element_continue_state),
3131 (gst_element_set_state_func), (gst_element_change_state):
3132 Don't post state changes that were between the same state
3135 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3137 * docs/gst/gstreamer-sections.txt:
3140 * gst/gstminiobject.h:
3143 more docs and doc style fixes
3145 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3147 * docs/gst/gstreamer-sections.txt:
3149 * gst/gstminiobject.c:
3152 2005-11-03 Andy Wingo <wingo@pobox.com>
3154 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3155 state-changed messages actually have the right order and the right
3158 2005-11-03 Wim Taymans <wim@fluendo.com>
3160 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3161 Added some more checks. Specifically the case where NO_PREROLL
3162 elements are in the pipeline.
3164 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3165 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3166 (gst_base_sink_get_position):
3167 Post READY->PAUSED state change messages too.
3168 Fix bug where VOID was posted as pending state...
3170 * gst/gstbin.c: (gst_bin_recalc_state):
3171 use _element_continue_state() to continue the state change.
3173 * gst/gstelement.c: (gst_element_continue_state),
3174 (gst_element_commit_state), (gst_element_set_state_func),
3175 (gst_element_change_state), (gst_element_change_state_func):
3176 Lots of state change cleanups, assign the STATE_RETURN in
3177 a new continue_state() function that also propagates the
3178 last return value from a state change to the app.
3179 Update some debug statements with proper category.
3181 2005-11-03 Wim Taymans <wim@fluendo.com>
3183 * docs/design/part-events.txt:
3184 * docs/design/part-gstpipeline.txt:
3185 * docs/design/part-messages.txt:
3186 * docs/design/part-overview.txt:
3187 * docs/design/part-seeking.txt:
3188 * docs/design/part-states.txt:
3189 * docs/design/part-trickmodes.txt:
3190 * docs/manual/advanced-position.xml:
3194 People think !! is ugly, this looks better.
3196 * gst/gstpad.c: (gst_pad_set_blocked_async):
3197 Remove !! since it's fixed elsewhere now.
3199 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3201 * gst/gstminiobject.h:
3203 Add !! to _FLAG_IS_SET macros to make the result boolean.
3205 2005-11-03 Edward Hervey <edward@fluendo.com>
3207 * gst/gstpad.c: (gst_pad_set_blocked_async):
3208 comparing a flag and a gboolean rarely returns coherent results...
3209 Added two characters (!!) to make that work correctly.
3211 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3213 * gst/gstbus.c: (gst_bus_class_init):
3216 * gst/gstqueue.c: (gst_queue_loop):
3217 Don't assume a miniobject that isn't a buffer is an
3218 event (it could be that there is a refcounting
3219 problem somewhere and the pointer is stale and
3220 refers to an already destroyed miniobject).
3222 2005-11-03 Julien MOUTTE <julien@moutte.net>
3224 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3226 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3228 * docs/manual/advanced-position.xml:
3229 Update seek example and explanations to current 0.9 API.
3231 * gst/elements/gsttypefindelement.c:
3232 (gst_type_find_element_activate):
3233 Remove FIXME comment now that the found caps
3236 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3238 * gst/gstregistryxml.c: (load_feature):
3239 Add another GST_STR_NULL instance
3241 2005-11-02 Edward Hervey <edward@fluendo.com>
3243 * gst/gstpad.c: (handle_pad_block):
3244 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3246 2005-11-02 Wim Taymans <wim@fluendo.com>
3251 * gst/gstelement.c: (gst_element_commit_state):
3252 Remove unused value.
3254 * gst/gstiterator.c:
3255 Mention that the returned element is reffed in the docs.
3257 2005-11-02 Wim Taymans <wim@fluendo.com>
3259 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3260 (gst_pad_push), (gst_pad_push_event):
3261 Unlock blocked pads when they are flushed.
3263 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3266 * docs/gst/gstreamer-sections.txt:
3269 * gst/gstregistry.c: (gst_registry_scan_path_level):
3270 fix for a nasty little missed situation where an installed plug-in
3271 which was in the cache did not get overridden by an uninstalled one
3272 which was earlier in the plugin path because the newly created plugin
3273 for the uninstalled one (not in the registry) didn't get its
3274 ->registered set to TRUE
3276 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3278 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3279 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3280 (gst_collectpads_is_active), (gst_collectpads_collect),
3281 (gst_collectpads_collect_range), (gst_collectpads_start),
3282 (gst_collectpads_stop), (gst_collectpads_peek),
3283 (gst_collectpads_pop), (gst_collectpads_available),
3284 (gst_collectpads_read), (gst_collectpads_flush):
3285 Guard public API with assertions.
3288 Fix docs for gst_pad_set_link_function().
3290 2005-11-02 Johan Dahlin <johan@gnome.org>
3292 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3293 Unref found_caps after we used it.
3295 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3297 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3298 Don't try to ref NULL.
3300 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3302 * win32/common/config.h.in:
3303 provide a GST_FUNCTION that just gives a string for now
3305 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3307 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3308 (gst_object_flags_get_type), (register_gst_bin_flags),
3309 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3310 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3311 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3312 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3313 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3314 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3315 (gst_clock_flags_get_type), (register_gst_state),
3316 (gst_state_get_type), (register_gst_state_change_return),
3317 (gst_state_change_return_get_type), (register_gst_state_change),
3318 (gst_state_change_get_type), (register_gst_element_flags),
3319 (gst_element_flags_get_type), (register_gst_core_error),
3320 (gst_core_error_get_type), (register_gst_library_error),
3321 (gst_library_error_get_type), (register_gst_resource_error),
3322 (gst_resource_error_get_type), (register_gst_stream_error),
3323 (gst_stream_error_get_type), (register_gst_event_type),
3324 (gst_event_type_get_type), (register_gst_seek_type),
3325 (gst_seek_type_get_type), (register_gst_seek_flags),
3326 (gst_seek_flags_get_type), (register_gst_format),
3327 (gst_format_get_type), (register_gst_index_certainty),
3328 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3329 (gst_index_entry_type_get_type),
3330 (register_gst_index_lookup_method),
3331 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3332 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3333 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3334 (gst_index_flags_get_type), (register_gst_debug_level),
3335 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3336 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3337 (gst_iterator_result_get_type), (register_gst_iterator_item),
3338 (gst_iterator_item_get_type), (register_gst_message_type),
3339 (gst_message_type_get_type), (register_gst_mini_object_flags),
3340 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3341 (gst_pad_link_return_get_type), (register_gst_flow_return),
3342 (gst_flow_return_get_type), (register_gst_activate_mode),
3343 (gst_activate_mode_get_type), (register_gst_pad_direction),
3344 (gst_pad_direction_get_type), (register_gst_pad_flags),
3345 (gst_pad_flags_get_type), (register_gst_pad_presence),
3346 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3347 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3348 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3349 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3350 (gst_plugin_flags_get_type), (register_gst_rank),
3351 (gst_rank_get_type), (register_gst_query_type),
3352 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3353 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3354 (gst_tag_flag_get_type), (register_gst_task_state),
3355 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3356 (gst_alloc_trace_flags_get_type),
3357 (register_gst_type_find_probability),
3358 (gst_type_find_probability_get_type), (register_gst_uri_type),
3359 (gst_uri_type_get_type), (register_gst_parse_error),
3360 (gst_parse_error_get_type):
3361 * win32/common/gstversion.h:
3364 2005-11-01 Luca Ognibene <luogni@tin.it>
3367 fix docs. popt is dead, long live GOption.
3369 2005-10-31 Wim Taymans <wim@fluendo.com>
3374 2005-10-31 Andy Wingo <wingo@pobox.com>
3378 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3380 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3381 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3382 the possibility of deadlocks here if code calling notify() or
3383 set() has a lock that can be taken in another notify handler (ABBA
3384 with class lock and e.g. python GIL state lock).
3386 2005-10-28 Julien MOUTTE <julien@moutte.net>
3388 * gst/gstbus.c: Doc updates.
3390 2005-10-28 Wim Taymans <wim@fluendo.com>
3392 * docs/design/part-TODO.txt:
3393 * gst/gstiterator.c:
3394 * gst/gstsystemclock.c:
3395 * gst/gstsystemclock.h:
3398 2005-10-28 Edward Hervey <edward@fluendo.com>
3400 * docs/gst/gstreamer-docs.sgml:
3401 * docs/gst/gstreamer-sections.txt:
3402 the GstURIType documentation page is private, it only defines GstURIType
3403 which should be defined in the GstURIHandler page
3405 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3407 * gst/gstbin.c: (gst_bin_class_init):
3410 Documentation updates.
3412 2005-10-28 Wim Taymans <wim@fluendo.com>
3414 * docs/gst/gstreamer-sections.txt:
3417 Documented the clocks.
3419 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3421 * docs/gst/gstreamer-sections.txt:
3422 move some macros to private sections
3423 * gst/gstminiobject.c:
3424 * gst/gstminiobject.h:
3425 add descriptions provided by ds and some more
3427 mark macro as to be removed
3429 2005-10-28 Wim Taymans <wim@fluendo.com>
3431 * docs/design/part-TODO.txt:
3432 Add an item to TODO.
3434 * gst/gstiterator.c: (gst_iterator_fold),
3435 (gst_iterator_find_custom):
3436 * gst/gstiterator.h:
3439 2005-10-28 Wim Taymans <wim@fluendo.com>
3441 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3442 (gst_base_transform_init):
3445 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3446 An EOS event marks the queue as completely filled.
3448 2005-10-27 Wim Taymans <wim@fluendo.com>
3450 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3451 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3452 Some more debugging.
3454 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3455 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3456 (gst_base_transform_event), (gst_base_transform_getrange),
3457 (gst_base_transform_chain):
3458 * gst/base/gstbasetransform.h:
3460 Protect transform and concurrent buffer alloc with a new lock.
3461 Try not to break ABI/API.
3463 2005-10-27 Wim Taymans <wim@fluendo.com>
3465 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3466 (gst_base_src_init), (gst_base_src_query),
3467 (gst_base_src_default_newsegment),
3468 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3469 (gst_base_src_send_event), (gst_base_src_event_handler),
3470 (gst_base_src_pad_get_range), (gst_base_src_loop),
3471 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3472 (gst_base_src_start), (gst_base_src_deactivate),
3473 (gst_base_src_activate_push), (gst_base_src_change_state):
3474 Move some stuff around and cleanup things.
3476 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3478 * gst/base/gstbasesrc.c: (gst_base_src_query):
3479 Add missing break statements.
3481 2005-10-27 Wim Taymans <wim@fluendo.com>
3483 * check/gst/gstbin.c: (GST_START_TEST):
3484 An extra refcount is taken in basesrc.
3486 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3487 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3488 (gst_base_src_loop):
3489 Small cleanups, check for flushing after being unlocked from the
3490 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3491 Don't send out EOS when going to READY.
3493 2005-10-27 Wim Taymans <wim@fluendo.com>
3495 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3496 (gst_base_sink_get_position):
3499 * gst/gstbin.c: (message_check), (bin_replace_message),
3500 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3501 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3502 (bin_query_duration_init), (bin_query_duration_fold),
3503 (bin_query_duration_done), (bin_query_generic_fold),
3505 * tools/gst-launch.c: (main):
3508 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3510 * examples/controller/audio-example.c: (main):
3511 * examples/queue/queue.c: (event_loop):
3512 * gst/base/gstbasetransform.h:
3513 * gst/gstelement.c: (gst_element_send_event):
3515 * gst/gstpad.c: (gst_pad_send_event):
3518 changing log priority in error situations
3520 2005-10-25 Wim Taymans <wim@fluendo.com>
3522 * gst/gstbin.c: (message_check), (bin_replace_message),
3523 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3524 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3525 (bin_query_duration_init), (bin_query_duration_fold),
3526 (bin_query_duration_done), (bin_query_generic_fold),
3528 Some doc and debug updates.
3529 Cache previously requested query DURATION for speed. invalidate
3530 cached duration if element posts a DURATION message.
3532 2005-10-25 Wim Taymans <wim@fluendo.com>
3534 * docs/design/part-TODO.txt:
3537 * gst/gstbin.c: (message_check), (bin_replace_message),
3538 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3539 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3540 (bin_query_duration_init), (bin_query_duration_fold),
3541 (bin_query_duration_done), (bin_query_generic_fold),
3543 Handle SEGMENT_START/DONE messages correctly.
3544 More evolved query algorithm that handles duration queries
3547 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3548 (gst_element_get_state_func), (gst_element_abort_state),
3549 (gst_element_commit_state), (gst_element_lost_state):
3550 Some more debugging.
3555 2005-10-25 Wim Taymans <wim@fluendo.com>
3557 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3558 Don't use invalid stream_time.
3560 * gst/gstevent.c: (gst_event_new_newsegment):
3561 stream_time in newsegment cannot be undefined.
3563 2005-10-24 Wim Taymans <wim@fluendo.com>
3568 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3570 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3572 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3574 * docs/libs/tmpl/gstdparam.sgml:
3575 * docs/libs/tmpl/gstdplinint.sgml:
3576 * docs/libs/tmpl/gstdpman.sgml:
3577 * docs/libs/tmpl/gstdpsmooth.sgml:
3578 * docs/libs/tmpl/gstunitconvert.sgml:
3581 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3586 === release 0.9.4 ===
3588 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3591 releasing 0.9.4, "Tyrannosaurus Rex"
3593 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3595 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3596 (gst_file_sink_get_current_offset):
3597 Use fseeko() and ftello() if available. When falling back on
3598 lseek() to get the current offset, fflush() first to make sure
3599 everything is up-to-date and we get the right offset.
3601 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3603 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3604 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3605 * gst/gsterror.c: (_gst_stream_errors_init):
3607 * gst/gstqueue.c: (gst_queue_loop):
3609 remove prematurely added error category and clean up the instances
3611 2005-10-21 Wim Taymans <wim@fluendo.com>
3613 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3614 (gst_base_sink_get_position), (gst_base_sink_query),
3615 (gst_base_sink_change_state):
3616 Simply set the right flag when going to playing, that's all
3617 we need to do instead of calling a function inside the object
3618 lock (that could take the lock as well and deadlock)
3620 2005-10-21 Wim Taymans <wim@fluendo.com>
3622 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3623 (gst_base_src_loop):
3624 Don't warn, the peer element knows what to do best when
3625 the seek failed, it might try something else.
3627 2005-10-21 Wim Taymans <wim@fluendo.com>
3629 * gst/base/gstbasesrc.c: (gst_base_src_init),
3630 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3633 2005-10-21 Wim Taymans <wim@fluendo.com>
3635 * docs/design/part-segments.txt:
3638 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3639 Correctly set caps, even on the subbufer.
3641 2005-10-21 Wim Taymans <wim@fluendo.com>
3643 * docs/gst/gstreamer-docs.sgml:
3644 * docs/gst/gstreamer-sections.txt:
3651 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3655 And 2% more doc coverage.
3657 2005-10-21 Andy Wingo <wingo@pobox.com>
3659 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3662 2005-10-20 Wim Taymans <wim@fluendo.com>
3664 * gst/gsterror.c: (gst_error_get_message):
3667 * gst/gststructure.c:
3672 2005-10-20 Wim Taymans <wim@fluendo.com>
3677 Another 1% more coverage.
3679 2005-10-20 Wim Taymans <wim@fluendo.com>
3681 * docs/gst/gstreamer-sections.txt:
3682 * gst/gstelement.c: (gst_element_get_state_func),
3683 (gst_element_abort_state), (gst_element_commit_state),
3684 (gst_element_lost_state):
3686 * gst/gstquery.c: (gst_query_set_position),
3687 (gst_query_parse_position), (gst_query_set_duration),
3688 (gst_query_parse_duration), (gst_query_new_convert):
3690 Yay! 1% more docs coverage.
3692 2005-10-20 Wim Taymans <wim@fluendo.com>
3695 * gst/gstquery.c: (gst_query_set_position),
3696 (gst_query_parse_position), (gst_query_set_duration),
3697 (gst_query_parse_duration), (gst_query_new_convert):
3699 * gst/gstutils.c: (gst_element_query_convert):
3701 Docs and consistency fixes.
3703 2005-10-20 Wim Taymans <wim@fluendo.com>
3709 2005-10-20 Wim Taymans <wim@fluendo.com>
3711 * gst/gstbin.c: (message_check), (bin_replace_message),
3712 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3713 (update_degree), (gst_bin_sort_iterator_next),
3714 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3715 Reworked the message handling a bit, cache the messages instead of
3716 only the senders. alows us to do more in the future.
3718 2005-10-20 Wim Taymans <wim@fluendo.com>
3720 * docs/design/part-TODO.txt:
3723 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3724 (gst_base_sink_query):
3725 Don't use clock time to report position when in EOS.
3727 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3729 * tools/gst-inspect.c: (print_interfaces),
3730 (print_element_properties_info), (print_element_info):
3731 Fix interface output with gst-inspect -a; don't print
3732 newlines after double/float properties.
3734 2005-10-20 Wim Taymans <wim@fluendo.com>
3736 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3737 (gst_base_sink_query):
3738 Speed up current position calculation.
3740 * gst/base/gstbasesrc.c: (gst_base_src_query),
3741 (gst_base_src_default_newsegment):
3742 Correctly set stream position in newsegment.
3744 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3745 (update_degree), (gst_bin_sort_iterator_next),
3746 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3747 * gst/gstmessage.c: (gst_message_new_custom):
3748 Clean up debugging info
3750 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3751 (gst_queue_loop), (gst_queue_handle_src_query):
3754 2005-10-19 Wim Taymans <wim@fluendo.com>
3756 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3757 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3758 Fix query handling again.
3760 2005-10-19 Wim Taymans <wim@fluendo.com>
3762 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3763 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3764 * gst/base/gstbasesrc.c: (gst_base_src_query):
3765 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3766 * gst/elements/gsttypefindelement.c:
3767 (gst_type_find_handle_src_query), (find_element_get_length),
3768 (gst_type_find_element_activate):
3771 * gst/gstquery.c: (gst_query_new_position),
3772 (gst_query_set_position), (gst_query_parse_position),
3773 (gst_query_new_duration), (gst_query_set_duration),
3774 (gst_query_parse_duration), (gst_query_set_segment),
3775 (gst_query_parse_segment):
3777 Bundling query position/duration is not a good idea since duration
3778 does not change much and we don't want to recalculate it for every
3779 position query, so they are separated again..
3780 Base value in segment query is not needed.
3782 * gst/gstqueue.c: (gst_queue_handle_src_query):
3783 * gst/gstutils.c: (gst_element_query_position),
3784 (gst_element_query_duration), (gst_pad_query_position),
3785 (gst_pad_query_duration):
3787 Updates for query API change.
3788 Added some docs here and there.
3790 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3792 * check/gst/gstbin.c: (GST_START_TEST):
3793 * check/gst/gstghostpad.c: (GST_START_TEST):
3794 * check/pipelines/cleanup.c: (GST_START_TEST):
3795 wait on thread to die so we can check refcount correctly
3797 2005-10-18 Wim Taymans <wim@fluendo.com>
3799 * check/pipelines/stress.c: (GST_START_TEST):
3800 Make check a little more time consuming.
3802 2005-10-18 Wim Taymans <wim@fluendo.com>
3804 * check/Makefile.am:
3805 * check/pipelines/stress.c: (GST_START_TEST),
3806 (simple_launch_lines_suite), (main):
3807 Small state change torture test.
3809 * docs/design/part-states.txt:
3810 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3811 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3812 (gst_base_sink_change_state):
3813 Never take state lock from streaming thread, clean up ugly
3814 hacks. Unfortunatly core does not yet support nice ways to
3817 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3819 Start state recalc if a STATE_DIRTY message is posted, but only
3820 on the toplevel bin.
3822 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3823 (gst_element_get_state_func), (gst_element_abort_state),
3824 (gst_element_commit_state), (gst_element_lost_state),
3825 (gst_element_set_state_func), (gst_element_change_state):
3827 State variables are now protected with the LOCK, the state
3828 lock is only used to serialize _set_state().
3830 2005-10-18 Wim Taymans <wim@fluendo.com>
3832 * check/gst/gstbin.c: (GST_START_TEST):
3833 * check/gst/gstmessage.c: (GST_START_TEST):
3834 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3835 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3837 * gst/gstelement.c: (gst_element_abort_state),
3838 (gst_element_commit_state), (gst_element_lost_state):
3839 * gst/gstmessage.c: (gst_message_new_state_changed),
3840 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3841 (gst_message_new_segment_done), (gst_message_new_duration),
3842 (gst_message_parse_state_changed),
3843 (gst_message_parse_segment_start),
3844 (gst_message_parse_segment_done), (gst_message_parse_duration):
3846 * tools/gst-launch.c: (event_loop):
3847 Seriously, this is better than a previous commit as we only need
3848 to notify the fact that an element changed state in a streaming
3849 thread, marking the state of the parents dirty, hence the
3850 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3853 2005-10-18 Wim Taymans <wim@fluendo.com>
3855 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3856 (gst_bin_recalc_func):
3857 * gst/gstelement.c: (gst_element_set_clock),
3858 (gst_element_abort_state), (gst_element_lost_state):
3859 Cleanups, prepare for state change fixes.
3861 2005-10-18 Wim Taymans <wim@fluendo.com>
3864 * gst/gstelement.c: (gst_element_class_init),
3865 (gst_element_set_state), (gst_element_set_state_func):
3867 Pending ABI changes.
3868 GThreadPool in GstBinClass to monitor async state changes.
3869 state_cookie in GstElement to detect concurrent gst/set state.
3870 set_state is now virtual too in case a very complicated element
3871 has to be constructed.
3873 2005-10-18 Wim Taymans <wim@fluendo.com>
3875 * check/gst/gstbin.c: (GST_START_TEST):
3876 * check/gst/gstmessage.c: (GST_START_TEST):
3877 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3878 * gst/gstbin.c: (bin_bus_handler):
3879 * gst/gstelement.c: (gst_element_commit_state),
3880 (gst_element_lost_state):
3881 * gst/gstmessage.c: (gst_message_new_state_changed),
3882 (gst_message_new_segment_start), (gst_message_new_segment_done),
3883 (gst_message_new_duration), (gst_message_parse_state_changed),
3884 (gst_message_parse_segment_start),
3885 (gst_message_parse_segment_done), (gst_message_parse_duration):
3887 * tools/gst-launch.c: (event_loop):
3888 Make messages future proof.
3889 state-change gets a flag if it was a message comming from the
3891 segment-start/stop can also be specified in other formats.
3892 A message to notify an app that a pipeline changed playback
3894 Also fix a GstMessage leak in -launch
3896 2005-10-18 Andy Wingo <wingo@pobox.com>
3898 * gst/gstelement.c (gst_element_dispose): More helpful message.
3900 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3902 reviewed by: <delete if not using a buddy>
3904 * common/gtk-doc.mak:
3906 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3908 * gst/gstregistry.c: (gst_registry_scan_path_level):
3909 unref a plug-in we get that was already initialized
3911 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3913 * docs/gst/gstreamer-sections.txt:
3914 * docs/libs/gstreamer-libs-sections.txt:
3919 2005-10-17 Andy Wingo <wingo@pobox.com>
3921 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3924 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3926 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3928 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3929 (gst_element_get_state_func): Better debug message.
3930 (gst_element_commit_state): s/INFO/DEBUG/.
3931 (gst_element_lost_state, gst_element_change_state):
3933 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3934 (gst_message_new_custom): s/INFO/LOG/.
3936 2005-10-17 Michael Smith <msmith@fluendo.com>
3938 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3939 Check if end time is valid using end time, not start time.
3941 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3943 * check/gst-libs/controller.c: (GST_START_TEST),
3944 (gst_controller_suite):
3945 * libs/gst/controller/gstcontroller.c:
3946 (gst_controlled_property_set_interpolation_mode):
3947 * libs/gst/controller/gstcontroller.h:
3948 * libs/gst/controller/gstinterpolation.c:
3949 * testsuite/controller/.cvsignore:
3950 * testsuite/controller/Makefile.am:
3951 * testsuite/controller/interpolator.c:
3952 merge controller testsuites
3954 remove mem-chunk from docs
3956 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3958 * gst/gstmemchunk.c:
3959 * gst/gstmemchunk.h:
3960 * gst/gsttrashstack.c:
3961 * gst/gsttrashstack.h:
3962 out. get out. you're fired. to the Attic !
3964 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3966 * gst/gstcaps.c: (gst_caps_intersect):
3967 fix signedness issues in a (hopefully) correct way
3968 * gst/gstelement.c: (gst_element_pads_activate):
3970 * gst/gstobject.c: (gst_object_set_parent):
3973 2005-10-17 Julien MOUTTE <julien@moutte.net>
3975 * gst/gstvalue.h: Fix prototypes.
3977 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3979 * docs/gst/gstreamer-sections.txt:
3980 * gst/gst.c: (gst_version_string):
3982 * gst/gstversion.h.in:
3983 * win32/common/libgstreamer.def:
3984 add gst_version_string ()
3986 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3990 * gst/gst.c: (init_post):
3991 * win32/common/config.h.in:
3993 * gst/gstcaps.c: (gst_caps_intersect):
3994 use gint64, the range could be bigger than a guint
3996 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3999 document potential problem in 2038
4001 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4003 * gst/gstcaps.c: (gst_caps_intersect):
4004 Fix guint j diving under 0
4006 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4009 * win32/common/config.h:
4010 * win32/common/config.h.in:
4011 check for process.h, declares getpid() on Windows
4013 include process.h if we have it
4014 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4015 * gst/gstmemchunk.h:
4016 fix signedness issues
4017 * win32/common/libgstreamer.def:
4020 2005-10-16 Julien MOUTTE <julien@moutte.net>
4022 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4023 fix. Because of unsigned ints, caps intersection was going nuts and
4024 trying to access structures with G_MAXUINT index. That fixes
4025 videotestsrc ! ffmpegcolorspace ! fakesink
4026 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4029 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4032 use the gettext macro
4033 * gst/elements/gstelements.c:
4035 * gst/indexers/gstindexers.c:
4036 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4037 * win32/common/config.h:
4039 * win32/common/config.h.in:
4040 add the template to generate config.h
4041 * win32/common/gstenumtypes.c:
4042 * win32/common/gstversion.h:
4045 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4047 * gst/gst.c: (gst_version):
4048 * gst/gstversion.h.in:
4051 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4054 Oops, add missing closing bracket.
4056 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4059 use common m4's for argument checking
4061 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4063 * docs/gst/gstreamer-sections.txt:
4065 Add GST_EVENT_TYPE_NAME() macro.
4067 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4070 * gst/gstpluginfeature.c:
4072 privatize more symbols
4074 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4077 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4078 everything that uses GStreamer API should have the includes
4080 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4082 * docs/gst/gstreamer-sections.txt:
4083 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4085 give each value a _get_type, removes the DATA exports
4087 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4091 remove _gst_registry_auto_load, not used anymore
4092 * gst/gstbin.c: (gst_bin_get_type):
4094 * gst/gstelement.c: (gst_element_get_type):
4096 * gst/gstobject.c: (gst_object_get_type):
4098 * gst/gstpad.c: (gst_pad_get_type):
4100 make _get_type functions similar, fixes data export from library
4102 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4105 correctly make conditionals
4106 * gst/elements/Makefile.am:
4107 * gst/elements/gstelements.c:
4108 fix typo causing fdsrc not to build
4110 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4112 * testsuite/Makefile.am:
4113 * testsuite/bytestream/.cvsignore:
4114 * testsuite/bytestream/Makefile.am:
4115 * testsuite/bytestream/filepadsink.c:
4116 * testsuite/bytestream/gstbstest.c:
4117 * testsuite/bytestream/test1.c:
4118 * testsuite/bytestream/testfile1:
4119 * testsuite/caps/normalisation.c:
4120 * testsuite/caps/random.c: (main):
4121 * testsuite/cleanup/.cvsignore:
4122 * testsuite/cleanup/Makefile.am:
4123 * testsuite/cleanup/cleanup1.c:
4124 * testsuite/cleanup/cleanup2.c:
4125 * testsuite/cleanup/cleanup3.c:
4126 * testsuite/cleanup/cleanup4.c:
4127 * testsuite/cleanup/cleanup5.c:
4128 * testsuite/controller/interpolator.c:
4129 * testsuite/debug/printf_extension.c: (main):
4130 * testsuite/elements/tee.c:
4131 * testsuite/negotiation/.cvsignore:
4132 * testsuite/negotiation/Makefile.am:
4133 * testsuite/negotiation/pad_link.c:
4134 * testsuite/pad/Makefile.am:
4135 * testsuite/pad/chainnopull.c:
4136 * testsuite/pad/getnopush.c:
4137 * testsuite/pad/link.c:
4138 * testsuite/refcounting/sched.c: (create_pipeline):
4139 * testsuite/registry/Makefile.am:
4140 * testsuite/registry/gst-print-formats.c:
4141 * testsuite/schedulers/.cvsignore:
4142 * testsuite/schedulers/142183-2.c:
4143 * testsuite/schedulers/142183.c:
4144 * testsuite/schedulers/143777-2.c:
4145 * testsuite/schedulers/143777.c:
4146 * testsuite/schedulers/147713.c:
4147 * testsuite/schedulers/147819.c:
4148 * testsuite/schedulers/147894-2.c:
4149 * testsuite/schedulers/147894.c:
4150 * testsuite/schedulers/Makefile.am:
4151 * testsuite/schedulers/group_link.c:
4152 * testsuite/schedulers/queue_link.c:
4153 * testsuite/schedulers/relink.c:
4154 * testsuite/schedulers/unlink.c:
4155 * testsuite/schedulers/unref.c:
4156 * testsuite/schedulers/useless_iteration.c:
4157 * testsuite/states/bin.c:
4158 clean out/remove some stuff from the testsuite directories
4160 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4163 check for some headers
4164 * gst/elements/Makefile.am:
4165 * gst/elements/gstelements.c:
4166 don't compile fdsrc without sys/socket.h
4167 * gst/indexers/Makefile.am:
4168 * gst/indexers/gstindexers.c: (plugin_init):
4169 don't compile fileindex without mmap
4171 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4178 * check/Makefile.am:
4179 * docs/gst/Makefile.am:
4180 * examples/helloworld/Makefile.am:
4182 * gst/base/Makefile.am:
4183 * gst/check/Makefile.am:
4184 * gst/elements/Makefile.am:
4185 * gst/indexers/Makefile.am:
4186 * gst/parse/Makefile.am:
4187 * libs/gst/controller/Makefile.am:
4188 * libs/gst/dataprotocol/Makefile.am:
4189 * examples/helloworld/helloworld.c: (event_loop):
4190 compile fixes, though it's not being compiled currently
4192 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4194 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4195 Add some simple tests for the new taglist date API.
4197 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4199 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4200 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4201 Beautify 'last-message' output: print 'none' for buffer timestamps
4202 and durations if none is set; improve alignment with next messages.
4204 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4206 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4207 * gst/gstpluginfeature.h:
4208 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4209 * gst/gstregistry.h:
4210 * docs/gst/gstreamer-sections.txt:
4211 Add new API to check plugin feature version requirements.
4213 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4214 Some basic tests for the above.
4216 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4218 * gst/gststructure.c: (gst_structure_to_string):
4219 guard against NULL printf - happens when for example
4220 a message structure with GstClock gets serialized
4222 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4224 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4225 Fix presumable copy'n'pasto.
4227 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4229 * gst/elements/gstfakesrc.h:
4230 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4231 * gst/elements/gsttypefindelement.c:
4233 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4234 I wonder if this could actually write +2GB files before
4236 2005-10-13 Andy Wingo <wingo@pobox.com>
4238 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4239 Fix Timmeke Waymans bug.
4240 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4241 string of the proper length to gst_caps_from_string. There's a
4242 potential for, before this fix, that this could cause someone
4243 connecting over the network to cause a segfault if the payload is
4246 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4248 * docs/design/draft-push-pull.txt:
4249 * docs/design/part-overview.txt:
4250 * docs/random/TODO-pre-0.9:
4251 * docs/random/old/ChangeLog.gstreamer:
4252 * gst/base/gstpushsrc.c:
4256 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4258 * gst/glib-compat.c: (gst_flags_get_first_value):
4259 * gst/glib-compat.h:
4260 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4261 (gst_value_compare_double), (gst_value_serialize_flags):
4262 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4265 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4268 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4270 * tools/gst-launch.c: (event_loop):
4271 print out clock nicely
4273 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4275 * docs/gst/gstreamer-sections.txt:
4277 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4278 (gst_tag_list_get_date_index):
4279 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4280 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4282 2005-10-13 Julien MOUTTE <julien@moutte.net>
4284 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4285 (gst_collectpads_chain):
4286 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4289 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4291 * docs/gst/gstreamer-sections.txt:
4294 * tools/gst-inspect.c: (main):
4295 * tools/gst-launch.c: (main):
4296 * tools/gst-run.c: (main):
4297 * tools/gst-xmlinspect.c: (main):
4298 fix GOption context leaks
4301 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4305 * win32/common/config.h:
4307 * win32/vs6/grammar.dsp:
4308 * win32/vs6/libgstelements.dsp:
4309 * win32/vs6/libgstreamer.dsp:
4312 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4315 * gst/base/gstbasesrc.c: (gst_base_src_query):
4316 fix more guint64<->gdouble conversions
4318 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4321 add win32-update target
4322 * win32/common/gstconfig.h:
4323 * win32/common/gstenumtypes.c:
4324 * win32/common/gstenumtypes.h:
4325 * win32/common/gstversion.h:
4326 add files that visual studio can't generate
4328 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4331 add a win32-update target
4334 2005-10-12 Wim Taymans <wim@fluendo.com>
4336 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4337 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4338 * gst/gstelement.c: (gst_element_commit_state),
4339 (gst_element_set_state):
4340 Protect flags with proper lock.
4341 unref provided cached clock in dispose.
4343 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4346 * gst/gstminiobject.h:
4348 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4349 removed unused flags from miniobject
4352 2005-10-12 Wim Taymans <wim@fluendo.com>
4354 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4355 (gst_file_sink_event), (gst_file_sink_render):
4356 Flush before seeking.
4358 2005-10-12 Andy Wingo <wingo@pobox.com>
4360 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4361 always been the case.
4363 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4365 * check/gst/gstbin.c: (GST_START_TEST):
4366 * docs/gst/gstreamer-sections.txt:
4367 * gst/base/gstbasesink.c: (gst_base_sink_init):
4368 * gst/base/gstbasesrc.c: (gst_base_src_init),
4369 (gst_base_src_get_range), (gst_base_src_check_get_range),
4370 (gst_base_src_start), (gst_base_src_stop):
4371 * gst/base/gstbasesrc.h:
4372 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4373 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4374 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4378 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4380 * gst/gstelement.c: (gst_element_is_locked_state),
4381 (gst_element_set_locked_state), (gst_element_commit_state),
4382 (gst_element_set_state):
4384 * gst/gstindex.c: (gst_index_init):
4386 * gst/gstminiobject.h:
4387 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4388 (gst_object_set_parent):
4390 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4391 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4393 * gst/gstpadtemplate.h:
4394 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4395 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4396 * gst/gstpipeline.h:
4397 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4398 (gst_file_index_commit):
4399 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4400 * testsuite/pad/link.c: (gst_test_src_init),
4401 (gst_test_filter_init), (gst_test_sink_init):
4402 * testsuite/states/locked.c: (main):
4403 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4404 moved bitshift from macro to enum definition
4406 2005-10-12 Wim Taymans <wim@fluendo.com>
4408 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4409 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4410 (gst_file_sink_render):
4411 Some more debugging info.
4413 2005-10-12 Wim Taymans <wim@fluendo.com>
4415 * docs/design/part-states.txt:
4416 * tools/gst-launch.c: (main):
4418 Revert non-intentional change.
4420 2005-10-12 Wim Taymans <wim@fluendo.com>
4422 * check/gst/gstbin.c: (GST_START_TEST):
4423 * check/gst/gstelement.c: (GST_START_TEST):
4424 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4425 * check/gst/gstghostpad.c: (GST_START_TEST):
4426 * check/gst/gstpipeline.c: (GST_START_TEST):
4427 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4428 * check/states/sinks.c: (GST_START_TEST):
4429 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4430 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4431 (gst_bin_remove_func), (gst_bin_get_state_func),
4432 (gst_bin_recalc_state), (gst_bin_change_state_func),
4434 * gst/gstelement.c: (gst_element_get_state_func),
4435 (gst_element_get_state), (gst_element_abort_state),
4436 (gst_element_commit_state), (gst_element_set_state),
4437 (gst_element_change_state), (gst_element_change_state_func):
4439 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4440 (gst_pipeline_provide_clock_func):
4441 * gst/gstutils.c: (gst_element_link_pads_filtered):
4442 * tools/gst-launch.c: (main):
4443 * tools/gst-typefind.c: (main):
4444 Use GstClockTime in _get_state() instead of GTimeVal.
4445 Remove old code in gstutils.c
4447 2005-10-12 Andy Wingo <wingo@pobox.com>
4449 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4452 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4453 there is no task. Shouldn't affect any code, as nothing in our
4454 plugins checks this return value.
4455 (gst_pad_stop_task): Also take the stream lock if the pad has no
4458 2005-10-12 Wim Taymans <wim@fluendo.com>
4460 * gst/gstpad.c: (pre_activate), (post_activate),
4461 (gst_pad_activate_pull), (gst_pad_activate_push):
4462 Cleanup activation code. Reset old state if
4465 2005-10-12 Wim Taymans <wim@fluendo.com>
4467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4468 (gst_base_sink_change_state):
4469 No need to prerol after receiving EOS.
4471 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4472 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4473 * gst/elements/gstidentity.c: (gst_identity_event):
4474 Print events more verbosely.
4476 2005-10-12 Wim Taymans <wim@fluendo.com>
4478 * check/Makefile.am:
4479 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4480 * check/states/sinks2.c:
4481 Moved sinks2 testcode in sinks check.
4483 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4484 (gst_bin_remove_func), (gst_bin_recalc_state),
4485 (gst_bin_change_state_func), (bin_bus_handler):
4486 Fix potential race condition when _get_state() iterated over an
4487 ASYNC element right before it posted a state completion.
4490 Do proper cast here.
4492 * gst/gstevent.c: (gst_event_new_newsegment),
4493 (gst_event_parse_newsegment):
4494 A playback rate of 0.0 is not allowed.
4496 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4498 * win32/common/config.h:
4499 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4500 (_trewinddir), (_ttelldir), (_tseekdir):
4501 * win32/common/dirent.h:
4502 * win32/common/gtchar.h:
4503 * win32/common/libgstbase.def:
4504 * win32/common/libgstreamer.def:
4505 * win32/vs6/grammar.dsp:
4506 * win32/vs6/gst_inspect.dsp:
4507 * win32/vs6/gst_launch.dsp:
4508 * win32/vs6/gstreamer.dsw:
4509 * win32/vs6/libgstbase.dsp:
4510 * win32/vs6/libgstelements.dsp:
4511 * win32/vs6/libgstreamer.dsp:
4512 Visual Studio 6 project files, and a new common directory.
4515 2005-10-11 Wim Taymans <wim@fluendo.com>
4517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4518 (gst_base_sink_do_sync), (gst_base_sink_query),
4519 (gst_base_sink_change_state):
4520 * gst/base/gstbasesink.h:
4521 Correctly parse newsegment info.
4523 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4525 * gst/gst.c: (init_post):
4526 split plugin paths correctly
4528 2005-10-11 Wim Taymans <wim@fluendo.com>
4530 * check/gst/gstevent.c: (GST_START_TEST):
4531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4532 (gst_base_sink_change_state):
4533 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4534 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4535 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4536 * gst/gstevent.c: (gst_event_new_newsegment),
4537 (gst_event_parse_newsegment):
4539 Added extra flag to newsegment for future API freeze.
4540 Updated check and base elements.
4542 2005-10-11 Julien MOUTTE <julien@moutte.net>
4544 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4545 (gst_collectpads_add_pad), (gst_collectpads_pop),
4546 (gst_collectpads_event), (gst_collectpads_chain):
4547 * gst/base/gstcollectpads.h: Handle EOS correctly.
4549 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4551 * tools/gst-launch.c: (main):
4552 more null protecting
4554 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4556 * gst/gst-i18n-lib.h:
4557 check for ENABLE_NLS, not GETTEXT_PACKAGE
4558 * gst/gstregistry.c: (gst_registry_add_plugin),
4559 (gst_registry_scan_path_level),
4560 (_gst_registry_remove_cache_plugins):
4561 protect possibly NULL strings
4562 * gst/parse/types.h:
4563 config.h already included before
4564 * tools/gst-inspect.c: (main):
4565 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4566 check for ENABLE_NLS, not GETTEXT_PACKAGE
4567 * tools/gst-launch.c: (main):
4568 check for ENABLE_NLS, not GETTEXT_PACKAGE
4570 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4573 if we don't have glib, fail before testing 2.8
4574 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4575 fix a leak, should fix plugins-base testsuite
4577 2005-10-11 Andy Wingo <wingo@pobox.com>
4579 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4580 take the mode we're going to as an arg. Go head and set the mode
4581 and flushing flags now, so that if the activate function starts a
4582 thread all the flags will be in the right state.
4583 (post_activate): Renamed also. Just handle making sure streaming
4584 finishes for the deactivation case, and setting the deactivated
4586 (gst_pad_set_active): Complain loudly if deactivation fails.
4587 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4588 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4589 remove the terrible hack.
4591 2005-10-11 Wim Taymans <wim@fluendo.com>
4593 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4594 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4595 (gst_bin_recalc_state), (gst_bin_change_state_func),
4596 (gst_bin_dispose), (bin_bus_handler):
4598 Prepare to make current EOS message queue more generic.
4601 * gst/gstevent.c: (gst_event_new_newsegment),
4602 (gst_event_parse_newsegment):
4604 Rename base to stream_time.
4609 2005-10-11 Wim Taymans <wim@fluendo.com>
4611 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4612 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4613 (gst_bin_change_state_func), (bin_bus_handler):
4615 Work on proper clock selection.
4617 2005-10-11 Edward Hervey <edward@fluendo.com>
4619 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4620 * libs/gst/controller/gstcontroller.h:
4621 Added GList* version of _remove_properties() in order to be able to wrap
4624 2005-10-11 Wim Taymans <wim@fluendo.com>
4626 * docs/design/part-states.txt:
4629 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4630 (gst_bin_change_state_func), (bin_bus_handler):
4631 Doc updates. Don't distribute the same clock over and over again.
4637 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4638 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4639 (gst_pad_send_event):
4641 Make probe emission threadsafe again.
4642 Register quarks and move _get_name() from utils.
4645 * gst/gstpipeline.c: (gst_pipeline_class_init),
4646 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4647 Only redistribute the clock of it changed.
4649 * gst/gstsystemclock.h:
4654 Moved the _flow_get_name() to GstPad.
4656 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4658 * check/gst-libs/gdp.c: (GST_START_TEST):
4659 * check/gst/gstcaps.c: (GST_START_TEST):
4660 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4661 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4662 (gst_dp_packet_from_caps):
4663 fix more valgrind warnings before turning up the heat
4665 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4667 * gst/parse/grammar.y:
4668 some cleanup before the hacking
4670 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4672 * gst/base/gstbasesrc.c: (gst_base_src_query):
4674 * gst/gstutils.c: (gst_guint64_to_gdouble),
4675 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4677 externalize, basesrc uses it
4678 obviously the implementation needs testing
4680 2005-10-10 Wim Taymans <wim@fluendo.com>
4682 * tests/sched/Makefile.am:
4683 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4684 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4686 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4688 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4689 apparently converting from guint64 to double is not implemented
4692 2005-10-10 Wim Taymans <wim@fluendo.com>
4694 * check/Makefile.am:
4695 * check/generic/states.c: (GST_START_TEST):
4696 * check/gst/gstbin.c: (GST_START_TEST):
4697 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4698 * check/states/sinks.c: (GST_START_TEST):
4699 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4701 Check fixes, use API as stated in design docs, remove hacks.
4703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4704 (gst_base_sink_change_state):
4705 Catch stopping our task while we're shutting down.
4707 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4708 (gst_bin_remove_func), (gst_bin_get_state_func),
4709 (gst_bin_recalc_state), (gst_bin_change_state_func),
4712 * gst/gstelement.c: (gst_element_init),
4713 (gst_element_get_state_func), (gst_element_abort_state),
4714 (gst_element_commit_state), (gst_element_lost_state),
4715 (gst_element_set_state), (gst_element_change_state),
4716 (gst_element_change_state_func):
4718 New state change algorithm (see #318116)
4720 * gst/gstpipeline.c: (gst_pipeline_class_init),
4721 (gst_pipeline_init), (gst_pipeline_set_property),
4722 (gst_pipeline_get_property), (do_pipeline_seek),
4723 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4724 * gst/gstpipeline.h:
4725 Remove crude state change hacks.
4730 * tools/gst-launch.c: (main):
4731 Fixes for state change. Needs some more work to fully use the
4734 2005-10-10 Andy Wingo <wingo@pobox.com>
4736 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4738 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4739 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4742 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4744 * gst/gstiterator.c: (gst_iterator_new):
4745 Fix my previous commit: GTypes passed to gst_iterator_new()
4746 can be fundamental types.
4748 2005-10-10 Wim Taymans <wim@fluendo.com>
4750 * gst/gstelement.c: (gst_element_iterate_pad_list),
4751 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4752 (gst_element_iterate_sink_pads):
4753 Use src/sink pads lists for the respective iterators instead
4756 2005-10-10 Andy Wingo <wingo@pobox.com>
4758 Merged in popt removal + GOption addition patch from Ronald, bug
4761 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4762 GstElement macros around, remove popt-related symbols, add goption
4765 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4767 * docs/gst/Makefile.am:
4768 * docs/libs/Makefile.am: No POPT_CFLAGS.
4770 * examples/manual/Makefile.am:
4771 * docs/manual/basics-init.xml: Doc updates with an example.
4773 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4774 (gst_init), (parse_one_option), (parse_goption_arg):
4775 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4776 bit of hand merging and debugging to get the GOption stuff working
4779 * tests/Makefile.am:
4780 * tools/Makefile.am:
4781 * tools/gst-inspect.c: (main):
4782 * tools/gst-launch.c: (main):
4783 * tools/gst-run.c: (main):
4784 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4786 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4788 * gst/gstiterator.c: (gst_iterator_new):
4789 Add assertions to make sure passed GType is likely to really
4790 be a GType (as the compiler won't catch it if the size and
4791 GType arguments get mixed up, see #318447).
4793 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4795 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4797 * gst/gstbin.c: (gst_bin_iterate_sorted):
4798 Pass GType and size arguments to gst_iterator_new() in the right
4799 order (maybe we should make _new() take the GType as first argument
4800 just like _new_list()?) (#318447).
4803 2005-10-10 Wim Taymans <wim@fluendo.com>
4805 * gst/gstelement.c: (gst_element_finalize):
4806 And free the GStaticRecMutex too
4808 2005-10-10 Andy Wingo <wingo@pobox.com>
4810 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4811 Allocate and free the mutex properly.
4813 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4815 (GstElement): The state_lock is now recursive. Rebuild your
4816 plugins, suckers. Old macros adapted.
4818 * docs/gst/gstreamer-sections.txt: Doc updates.
4821 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4822 (g_static_rec_cond_wait): Ported from state changes patch, while
4823 we wait on bug #317802 to be solved in a well-distributed GLib.
4825 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4826 gst_element_change_state, variable name changes.
4827 (gst_element_change_state): Split out of gst_element_set_state in
4828 preparation for the state change merge. Doesn't pay attention to
4829 the 'transition' argument.
4830 (gst_element_set_state): Updates, hopefully purely cosmetic.
4831 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4833 (gst_element_get_state_func): Renamed from get_state, cosmetic
4836 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4838 * gst/elements/gstelements.c:
4839 * win32/GStreamer.vcproj:
4841 * win32/dirent.c: (_tseekdir):
4842 * win32/gst-inspect.vcproj:
4843 * win32/gst-launch.vcproj:
4844 * win32/gstconfig.h:
4845 * win32/gstelements.vcproj:
4846 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4847 * win32/gstreamer.def:
4849 updates for the win32 build (patch from Sebastien Moutte)
4851 2005-10-10 Andy Wingo <wingo@pobox.com>
4853 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4854 gst_bin_get_state, cleaned up (but no logic changes).
4855 (bin_element_is_sink): Comment updates.
4856 (sink_iterator_filter): Remove needless cast.
4857 (gst_bin_iterate_sinks): Doc update.
4858 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4859 cleaned up (but no logic changes).
4861 * check/states/sinks.c (test_src_sink): Cleanups from the state
4863 (test_livesrc_sink): Sync on the state.
4865 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4866 the state change patch.
4868 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4871 * check/gst/gstbin.c: Merge in some style fixes and additional
4872 checks from Wim's state change patch.
4874 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4876 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4877 (gst_type_find_helper):
4878 Check whether we have the requested data already in our list of
4879 cached buffers before pulling a new buffer; also make the buffer
4880 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4882 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4887 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4888 don't use long long, it's not portable. Replacing with
4889 gint64 seems to work; let's hope no skeletons fall out of the closet.
4891 2005-10-10 Andy Wingo <wingo@pobox.com>
4893 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4895 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4897 * docs/gst/gstreamer-sections.txt:
4902 * gst/gstmessage.c: (gst_message_parse_state_changed):
4905 more docs, fix compilation
4907 2005-10-09 Philippe Khalaf <burger@speedy.org>
4909 Fixed a few forgotten variables on previous commit
4911 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4913 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4914 Fix evil typefind crasher: getrange() might return a short
4915 buffer at the end of a file, but gst_type_find_peek() must
4916 either return the full data as requested or NULL, but
4917 never a short buffer.
4919 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4921 * gst/gstmessage.c: (gst_message_new_state_changed),
4922 (gst_message_parse_state_changed):
4924 don't use "new", it's a C++ keyword
4926 2005-10-08 Wim Taymans <wim@fluendo.com>
4928 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4929 * gst/gstelement.c: (gst_element_post_message):
4930 * gst/gstpipeline.c: (gst_pipeline_change_state):
4931 Small docs and debug updates.
4933 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4935 * docs/gst/gstreamer-sections.txt:
4936 * gst/gstelementfactory.c:
4941 2005-10-08 Wim Taymans <wim@fluendo.com>
4943 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4944 (gst_bin_dispose), (bin_bus_handler):
4945 Fix typos, add comments.
4946 Clear EOS list when going to PAUSED from any direction and do it
4947 in a threadsafe way.
4948 Get base time in a threadsafe way too.
4949 Fix confusing debug in the change_state function.
4950 Various other small cleanups.
4952 * gst/gstelement.c: (gst_element_post_message):
4953 Fix very verbose bus posting code.
4955 * gst/gstpipeline.c: (gst_pipeline_class_init),
4956 (gst_pipeline_set_property), (gst_pipeline_get_property),
4957 (gst_pipeline_change_state):
4958 Small ARG_ -> PROP_ cleanup
4960 2005-10-08 Wim Taymans <wim@fluendo.com>
4962 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4963 Do a less CPU demanding EOS check because we can.
4965 2005-10-08 Wim Taymans <wim@fluendo.com>
4967 * libs/gst/dataprotocol/dataprotocol.c:
4968 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4969 (gst_dp_packet_from_event):
4970 * libs/gst/dataprotocol/dataprotocol.h:
4971 * libs/gst/dataprotocol/dp-private.h:
4972 It's about time we bump the version number.
4973 Since event types don't fit in the guint8 anymore describing
4974 the payload type, make payload type 16 bits wide.
4976 2005-10-08 Wim Taymans <wim@fluendo.com>
4978 * docs/design/part-TODO.txt:
4979 * docs/design/part-clocks.txt:
4980 * docs/design/part-events.txt:
4981 * docs/design/part-gstbin.txt:
4982 * docs/design/part-gstelement.txt:
4983 * docs/design/part-gstpipeline.txt:
4984 * docs/design/part-live-source.txt:
4985 * docs/design/part-messages.txt:
4986 * docs/design/part-overview.txt:
4987 * docs/design/part-states.txt:
4990 2005-10-08 Wim Taymans <wim@fluendo.com>
4994 Fix event quark registration.
4995 Add some space between events so we can insert them in the
4998 2005-10-08 Wim Taymans <wim@fluendo.com>
5000 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5001 (gst_base_sink_handle_buffer):
5008 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5009 (gst_queue_set_property), (gst_queue_get_property):
5011 Remove old unused properties.
5013 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5014 * docs/gst/gstreamer-sections.txt:
5017 * gst/gstminiobject.c:
5018 * gst/gstminiobject.h:
5022 lots of new docs and doc fixes
5024 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5026 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5028 * gst/gstregistry.c: (gst_registry_lookup_locked),
5029 (gst_registry_scan_path_level):
5030 * gst/gstregistryxml.c: (load_plugin):
5031 Only ever load one plugin for a given plugin basename.
5032 This ensures correct overriding of GST_PLUGIN_PATH over
5033 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5034 system installed plugins.
5036 2005-10-08 Wim Taymans <wim@fluendo.com>
5038 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5039 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5040 Prepare for doing QOS.
5042 2005-10-08 Wim Taymans <wim@fluendo.com>
5044 * check/gst/gstbin.c: (GST_START_TEST):
5045 * check/pipelines/cleanup.c: (GST_START_TEST):
5046 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5047 Allow new clock message too.
5049 2005-10-08 Wim Taymans <wim@fluendo.com>
5051 * gst/gstmessage.c: (gst_message_new_error),
5052 (gst_message_new_warning), (gst_message_new_tag),
5053 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5054 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5055 (gst_message_new_segment_start), (gst_message_new_segment_done),
5056 (gst_message_parse_state_changed),
5057 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5058 (gst_message_parse_new_clock):
5060 Also carry the clock in question.
5062 2005-10-08 Wim Taymans <wim@fluendo.com>
5064 * gst/gstmessage.c: (gst_message_new_custom),
5065 (gst_message_new_eos), (gst_message_new_error),
5066 (gst_message_new_warning), (gst_message_new_tag),
5067 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5068 (gst_message_new_new_clock), (gst_message_new_segment_start),
5069 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5070 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5073 Added clock related messages.
5075 * gst/gstpipeline.c: (gst_pipeline_change_state):
5076 Post message when the clock changed.
5078 * tools/gst-launch.c: (event_loop):
5081 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5083 * tools/gst-inspect.c: (print_element_properties_info):
5084 Can't pass NULL strings to g_print() on windows.
5086 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5089 * docs/gst/Makefile.am:
5090 * docs/gst/gstreamer-docs.sgml:
5091 * docs/gst/running.xml:
5092 * docs/version.entities.in:
5093 add a chapter on running GStreamer.
5094 document GST_DEBUG and GST_PLUGIN* env vars
5096 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5101 remove PLUGINS_BUILDDIR stuff
5102 * gst/gst.c: (init_post):
5103 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5105 remove, it was condescending and not needed
5107 2005-10-08 Wim Taymans <wim@fluendo.com>
5109 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5110 (gst_base_sink_handle_object), (gst_base_sink_event),
5111 (gst_base_sink_wait), (gst_base_sink_handle_event),
5112 (gst_base_sink_change_state):
5113 * gst/base/gstbasesink.h:
5114 Repost EOS message while going to PLAYING if still EOS.
5115 Make sure that when receiving a FLUSH_START we don't attempt
5116 to sync on the clock anymore.
5118 2005-10-08 Wim Taymans <wim@fluendo.com>
5120 * tools/gst-launch.c: (event_loop):
5121 Better message printout.
5123 2005-10-08 Wim Taymans <wim@fluendo.com>
5125 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5126 (gst_bin_child_proxy_get_children_count):
5127 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5128 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5129 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5130 (gst_child_proxy_set_valist):
5131 * gst/parse/grammar.y:
5132 Make ChildProxy threadsafe and fix mem leaks.
5134 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5136 * gst/gst.c: (init_post):
5137 debug the GST_PLUGIN_ env vars
5139 2005-10-08 Wim Taymans <wim@fluendo.com>
5141 * check/gst/gstbin.c: (GST_START_TEST):
5142 * check/gst/gstmessage.c: (GST_START_TEST):
5143 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5144 * gst/gstelement.c: (gst_element_commit_state),
5145 (gst_element_lost_state):
5146 * gst/gstmessage.c: (gst_message_new_state_changed),
5147 (gst_message_parse_state_changed):
5149 * tools/gst-launch.c: (event_loop):
5150 Added extra field to STATE_CHANGE message with the pending
5151 state, which will be different from the new state soon.
5153 2005-10-08 Wim Taymans <wim@fluendo.com>
5155 * gst/gstbus.c: (gst_bus_pop):
5157 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5158 Small cleanups and doc updates.
5160 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5162 * gst/gst.c: (init_pre):
5163 * gst/gstbin.c: (gst_bin_add_func):
5164 log distributing clocks and base time
5165 * gst/gstregistry.c: (gst_registry_add_plugin),
5166 (gst_registry_scan_path_level), (gst_registry_scan_path):
5167 clean up the debugging output a little
5168 * gst/gstutils.c: (gst_element_state_get_name):
5169 warn about a memleak (I've actually seen this be used, though
5170 it was probably a bug)
5172 2005-10-07 Wim Taymans <wim@fluendo.com>
5174 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5175 (gst_base_src_init), (gst_base_src_default_newsegment),
5176 (gst_base_src_newsegment), (gst_base_src_do_seek),
5177 (gst_base_src_loop), (gst_base_src_start):
5178 * gst/base/gstbasesrc.h:
5179 Make the newsegment event customizable by subclasses.
5181 2005-10-07 Wim Taymans <wim@fluendo.com>
5183 * gst/gstevent.c: (gst_event_new_buffersize),
5184 (gst_event_parse_buffersize):
5186 New event for future idea.
5188 2005-10-07 Andy Wingo <wingo@pobox.com>
5190 * gst/gstelement.c (gst_element_post_message): Doc update.
5192 * docs/gst/gstreamer-sections.txt: Update.
5194 * gst/gstmessage.c (gst_message_new_application): Made into a
5195 function like honest API calls.
5196 (gst_message_new_element): New message type.
5198 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5200 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5201 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5204 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5205 NO_PREROLL from gst_element_change_state to fall through.
5207 2005-10-07 Wim Taymans <wim@fluendo.com>
5209 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5210 (gst_ghost_pad_do_activate_push):
5211 Activating a ghostpad with no internal pad in push mode
5214 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5217 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5218 Fixes compilation on Windows.
5220 2005-10-07 Michael Smith <msmith@fluendo.com>
5222 * tools/gst-inspect.c:
5223 Print out feature and plugin count at the end when printing out
5226 2005-10-04 Michael Smith <msmith@fluendo.com>
5228 * gst/gsterror.c: (_gst_stream_errors_init):
5229 Add another error string used in a few existing plugins.
5232 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5233 * tools/gst-inspect.c: (print_element_info):
5234 When a feature disappears from a plugin (and the feature exists in
5235 the cached registry file), things went horribly wrong. This isn't a
5236 complete fix, we should actually be removing the 'missing' features
5237 from the features list when we load the actual plugin. That's not
5240 2005-10-04 Johan Dahlin <johan@gnome.org>
5242 * check/gst/gstiterator.c: (GST_START_TEST):
5243 * gst/gstbin.c: (gst_bin_iterate_elements),
5244 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5245 * gst/gstelement.c: (gst_element_iterate_pads):
5246 * gst/gstformat.c: (gst_format_iterate_definitions):
5247 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5248 (gst_iterator_new_list), (gst_iterator_filter):
5249 * gst/gstiterator.h:
5250 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5251 Add a GType to GstIterator, update callsites and tests.
5253 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5255 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5256 give events a chance to be handled by event probes when the pad
5259 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5261 * gst/gstevent.c: (gst_event_type_get_name),
5262 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5264 add string representations for event types
5266 2005-10-06 Wim Taymans <wim@fluendo.com>
5268 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5269 Don't use NULL pointers.
5271 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5273 * gst/gst_private.h:
5277 * gst/gstpluginfeature.c:
5278 widen the debug category in output to fit the biggest one we have
5279 add a bus category and use it
5280 play with the colors
5281 fix up some categories
5283 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5285 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5286 add push activation of sink ghost pads.
5287 Andye, please verify
5289 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5291 * gst/gstutils.c: (gst_element_link_pads):
5292 fix a bug in the case where neither element has a pad
5293 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5294 add a test for that case
5296 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5298 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5299 emit have-data before checking for peers. This allows
5300 for probe handlers to connect elements. This helps autopluggers.
5301 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5303 add six checks, linked/unlinked with no/true/false probe
5305 2005-10-04 Wim Taymans <wim@fluendo.com>
5307 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5308 (gst_fake_sink_event), (gst_fake_sink_preroll),
5309 (gst_fake_sink_render), (gst_fake_sink_change_state):
5310 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5311 (gst_fake_src_get_property), (gst_fake_src_create),
5312 (gst_fake_src_stop):
5313 * gst/elements/gstidentity.c: (gst_identity_stop):
5314 Protect last_message with lock.
5316 2005-10-04 Edward Hervey <edward@fluendo.com>
5319 Added precision in the comments for GST_FORMAT_DEFAULT
5321 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5323 * tools/gst-launch.c: (main):
5324 Don't try to run erroneous pipelines.
5326 2005-10-04 Julien MOUTTE <julien@moutte.net>
5328 * gst/gstbus.c: We don't need this header.
5330 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5335 === release 0.9.3 ===
5337 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5341 Releasing 0.9.3, "Unregistered"
5343 2005-10-03 Andy Wingo <wingo@pobox.com>
5345 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5346 whereby calling a pad's activatepush() function can start a thread
5347 that starts to push or pull before the pad gets the FLUSHING flag
5348 unset. Hack around it by holding the stream lock until the flag is
5349 set. Need to replace this with a proper solution. Together with
5350 the ghost pad fixes, this fixes mp3 playing/tagreading.
5352 * docs/design/part-gstghostpad.txt: Add a note about activation of
5353 proxy pads outside of ghost pads.
5355 * gst/gstghostpad.c: Implement the ghost pad activation design.
5357 2005-10-02 Andy Wingo <wingo@pobox.com>
5359 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5360 It is volatile, after all.
5362 * docs/design/part-gstghostpad.txt: Flesh out activation with
5365 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5368 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5371 Fix (unused) AM_CONDITIONAL tests.
5373 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5375 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5377 * gst/gstutils.c: (gst_pad_query_convert):
5378 Add assertion that makes sure src_val is >=0, just like
5379 gst_query_new_convert() has. (#315895)
5381 2005-09-30 Edward Hervey <edward@fluendo.com>
5383 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5384 Let's not iterate pads we're not interested in, it avoids getting
5385 sky-high refcounts on sinkpad.
5387 2005-09-30 Wim Taymans <wim@fluendo.com>
5389 * gst/gstelement.c: (gst_element_set_state),
5390 (gst_element_change_state):
5391 Small tweak, element in ASYNC remains ASYNC.
5393 2005-09-30 Wim Taymans <wim@fluendo.com>
5395 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5396 Only error is an error.
5398 * gst/gstbin.c: (gst_bin_change_state):
5401 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5402 Also call pad_block in pad alloc.
5404 * gst/gstutils.c: (gst_flow_get_name):
5407 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5409 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5410 (gst_base_src_get_range):
5411 Fix documentation typos. Add some more debug info.
5413 2005-09-29 David Schleef <ds@schleef.org>
5415 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5416 more end-user friendly.
5417 * tools/gst-inspect.c: (main): Check if command-line argument is
5418 a file and attempt to load that file as a plugin.
5420 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * check/gst/gstbin.c:
5423 * check/states/sinks.c:
5424 fix tests for the new warning
5425 * check/gst/gstpipeline.c:
5426 add a test for pipeline and bus interaction
5428 elements should be NULL if they get disposed; add a warning if not
5430 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5433 for 2.6 refcounting, make debug log more correct by printing
5434 the actual refcounts at the time of swap (Wim)
5436 2005-09-29 Andy Wingo <wingo@pobox.com>
5438 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5439 removes signal watches previously added via
5440 gst_bus_add_signal_watch.
5441 (gst_bus_add_signal_watch): Don't return the source id, just store
5442 it on the bus if there wasn't an id already.
5444 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5445 add_signal_watch and remove_signal_watch.
5447 2005-09-29 Edward Hervey <edward@fluendo.com>
5449 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5450 Better if we actually iterate the list :)
5452 2005-09-29 Wim Taymans <wim@fluendo.com>
5454 * check/gst/gstbin.c: (GST_START_TEST):
5455 Change for new bus API.
5457 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5458 (send_messages), (GST_START_TEST), (gstbus_suite):
5459 Change for new bus signal API.
5461 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5462 (gst_bus_source_prepare), (gst_bus_source_check),
5463 (gst_bus_create_watch), (gst_bus_add_watch_full),
5464 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5465 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5467 Remove support for multiple GSources operating on different
5468 message types as it is too complex and unneeded when using
5470 Added support for receiving signals from the bus.
5472 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5474 * docs/libs/tmpl/gstdataprotocol.sgml:
5475 * docs/manual/advanced-dataaccess.xml:
5476 * gst/elements/gstcapsfilter.c:
5478 rename filter-caps to caps property
5480 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5482 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5483 More robust fraction string parsing.
5485 * docs/pwg/appendix-porting.xml:
5486 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5488 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5490 * gst/gstcaps.c: (gst_caps_do_simplify):
5491 Thou shalt not free a structure and then continue using it
5492 in the next loop iteration.
5494 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5496 Add test case for caps simplification.
5498 2005-09-29 Wim Taymans <wim@fluendo.com>
5500 * check/gst/gstbin.c: (GST_START_TEST):
5503 2005-09-29 Wim Taymans <wim@fluendo.com>
5505 * check/gst/gstbin.c: (GST_START_TEST):
5508 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5509 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5510 (find_element), (gst_bin_sort_iterator_next),
5511 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5512 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5513 (gst_bin_change_state), (gst_bin_dispose):
5514 A bin does not have a bus, it gets the bus from the parent.
5516 * gst/gstelement.c: (gst_element_requires_clock),
5517 (gst_element_provides_clock), (gst_element_is_indexable),
5518 (gst_element_is_locked_state), (gst_element_change_state),
5519 (gst_element_set_bus_func):
5522 * gst/gstpipeline.c: (gst_pipeline_class_init),
5523 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5524 The pipeline provides a bus.
5526 2005-09-28 Johan Dahlin <johan@gnome.org>
5528 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5529 gst_structure_get_enum instead of gst_structure_get_int
5531 * gst/gststructure.c (gst_structure_get_enum): Impl.
5533 * gst/gststructure.h (gst_structure_get_enum): Add
5535 * docs/gst/gstreamer-sections.txt: Ditto
5537 * gst/gstmessage.c (gst_message_new_state_changed): Use
5538 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5539 which does introspection.
5540 Reviewed by Christian Schaller
5542 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5544 * gst/gstinfo.c: (gst_debug_log_default):
5545 don't do dummy g_strdup()s
5546 * libs/gst/controller/gstcontroller.c:
5547 (on_object_controlled_property_changed),
5548 (gst_controlled_property_new), (gst_controller_new_valist),
5549 (gst_controller_new_list),
5550 (gst_controller_remove_properties_valist), (gst_controller_set),
5551 (gst_controller_get), (gst_controller_sync_values),
5552 (gst_controller_get_value_array), (_gst_controller_class_init),
5553 (gst_controller_get_type):
5554 * libs/gst/controller/gstcontroller.h:
5555 * libs/gst/controller/gstinterpolation.c:
5556 (gst_controlled_property_find_timed_value_node):
5557 convert // to /**/ comments
5559 2005-09-28 Wim Taymans <wim@fluendo.com>
5561 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5562 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5563 (gst_bus_sync_signal_handler):
5565 Added async-message and sync-message signals to the bus.
5566 Added helper BusFunc to emit signals for all posted messages.
5568 * gst/gstmessage.c: (gst_message_type_get_name),
5569 (gst_message_type_to_quark), (gst_message_get_type):
5571 Register quarks for message names.
5573 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5575 * docs/libs/gstreamer-libs-sections.txt:
5576 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5577 (gst_controller_new_list):
5578 * libs/gst/controller/gstcontroller.h:
5579 added another constructor for language bindings
5581 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5583 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5587 * gst/gstinfo.c: (_gst_debug_init):
5588 slightly more readable color for refcount debugging
5590 2005-09-28 Wim Taymans <wim@fluendo.com>
5592 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5593 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5594 (find_element), (gst_bin_sort_iterator_next),
5595 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5596 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5597 (gst_bin_change_state), (gst_bin_dispose):
5598 Small doc fixes. get_clock -> provide_clock.
5600 * gst/gstelement.c: (gst_element_class_init),
5601 (gst_element_provides_clock), (gst_element_provide_clock),
5602 (gst_element_get_clock), (gst_element_commit_state),
5603 (gst_element_lost_state):
5605 Make get/set_clock() symetric. Add provide_clock vmethod since
5606 that is actually what this function does.
5608 * gst/gstpipeline.c: (gst_pipeline_class_init),
5609 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5610 (gst_pipeline_get_clock):
5611 get_clock -> provide_clock.
5613 2005-09-28 Andy Wingo <wingo@pobox.com>
5615 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5616 lieu of real docs...
5618 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5620 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5622 * gst/elements/gstcapsfilter.c:
5623 * gst/elements/gstfakesink.c:
5624 * gst/elements/gstfakesrc.c:
5625 * gst/elements/gstfdsink.c:
5626 * gst/elements/gstfdsrc.c:
5627 * gst/elements/gstfilesink.c:
5628 * gst/elements/gstfilesrc.c:
5629 * gst/elements/gstidentity.c:
5630 * gst/elements/gsttee.c:
5631 * gst/elements/gsttypefindelement.c:
5632 Make element details static.
5634 2005-09-28 Wim Taymans <wim@fluendo.com>
5636 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5637 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5638 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5639 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5640 (gst_bin_change_state), (gst_bin_dispose):
5641 Some documentation updates.
5642 Clean up dispose handlers.
5644 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5645 * gst/gstpad.c: (gst_pad_dispose):
5646 Clean up dispose handler.
5648 * gst/gstpipeline.c: (gst_pipeline_change_state):
5649 Removed spurious UNLOCK.
5651 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5653 * docs/gst/gstreamer-sections.txt:
5654 * gst/base/gstbasesrc.h:
5659 * gst/gstpipeline.c:
5660 * gst/gstpipeline.h:
5663 added two new functions to the docs
5664 documents all undocumented GstXXXFlags
5665 completed some incomplete docs
5667 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5669 * gst/gstbin.c: (gst_bin_dispose):
5670 * gst/gstelement.c: (gst_element_dispose):
5671 remove now useless and leaky resurrection code in dispose
5672 * gst/base/gstbasesrc.c: (gst_base_src_init):
5673 * gst/gstelementfactory.c: (gst_element_factory_create):
5674 * gst/gstobject.c: (gst_object_set_parent):
5677 2005-09-27 Wim Taymans <wim@fluendo.com>
5679 * docs/design/part-TODO.txt:
5682 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5683 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5684 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5685 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5686 (gst_bin_change_state):
5688 Remove element variable, we keep element info in the iterator now.
5690 2005-09-27 Andy Wingo <wingo@pobox.com>
5692 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5695 2005-09-27 Wim Taymans <wim@fluendo.com>
5697 * check/gst/gstbin.c: (GST_START_TEST):
5698 Enable check that works now.
5700 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5701 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5702 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5703 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5704 (gst_bin_change_state):
5706 Redid the state change algorithm using a topological sort algo.
5707 Handles all cases correctly.
5708 Exposed iterator for state change order.
5711 Temp storage for state changes. Need to get rid of this soon.
5713 2005-09-27 Wim Taymans <wim@fluendo.com>
5715 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5716 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5717 (link_fold_func), (gst_pad_proxy_setcaps):
5718 Leak fixes, the fold functions need to unref the passed object and
5719 _get_parent_*() returns ref to parent.
5721 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5723 * check/gst/gstbuffer.c: (test_make_writable):
5724 Plug leak in test case and fix 'make check-valgrind'
5726 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5728 * gst/gstbuffer.c: (gst_subbuffer_init):
5729 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5730 works correctly in all circumstances (we could have just copied
5731 the parent buffer's readonly flag, but conceptually it seems
5732 cleaner to mark all subbuffers as read-only). (based on patch
5733 by Alessandro Decina, #314710).
5735 * check/gst/gstbuffer.c: (create_read_only_buffer),
5736 (test_make_writable), (test_subbuffer_make_writable),
5738 Add some tests for gst_buffer_make_writable().
5740 2005-09-27 Wim Taymans <wim@fluendo.com>
5742 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5743 use gst_object_has_ancestor().
5745 * gst/gstobject.c: (gst_object_has_ancestor):
5747 gst_object_has_ancestor() copied from gstbin.c as it is a
5750 * tests/instantiate/create.c: (create_all_elements):
5751 * tests/lat.c: (handoff_src), (handoff_sink):
5752 * tests/sched/runxml.c: (main):
5753 * tests/seeking/seeking1.c: (main):
5754 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5756 Fix compilation of some tests.
5758 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5761 Remove comment. GST_TYPE_G_ERROR is here to stay,
5762 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5765 2005-09-26 Wim Taymans <wim@fluendo.com>
5767 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5768 Added check that shows error in state change order.
5770 2005-09-26 Wim Taymans <wim@fluendo.com>
5772 * gst/gstbin.c: (gst_bin_change_state):
5773 Make state change function use 3 queues again, we were
5774 adding elements in the wrong order.
5776 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5779 * gst/gstpad.c: (gst_pad_dispose):
5780 Added some debug info first.
5782 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5784 * docs/design/draft-push-pull.txt:
5785 * docs/design/part-events.txt:
5786 * docs/design/part-overview.txt:
5787 * docs/design/part-scheduling.txt:
5788 Replace all _pull_region() with _pull_range()
5790 2005-09-26 Andy Wingo <wingo@pobox.com>
5792 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5794 * check/gst-libs/controller.c: Update for controller api change.
5797 * tests/Makefile.am:
5798 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5799 over by GLib bug 118439.
5801 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5802 routines to a function.
5804 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5806 * libs/gst/controller/gsthelper.c:
5807 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5808 (gst_object_sync_values): Renamed from sink_values. Ugh.
5810 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5812 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5813 Renamed from controller_key, as it is exported.
5815 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5817 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5822 * gst/gstpadtemplate.h:
5825 * gst/gstqueryutils.c:
5826 * gst/gstqueryutils.h:
5827 remove queryutils headers after moving the two used functions
5828 to gstquery. also fixes build problem for gstsiddec
5830 2005-09-26 Michael Smith <msmith@fluendo.com>
5832 * tools/gst-launch.1.in:
5833 Correct documentation in manpage of debug syntax
5835 2005-09-26 Wim Taymans <wim@fluendo.com>
5837 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5838 (gst_base_src_is_seekable), (gst_base_src_change_state):
5839 Some more debugging info.
5841 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5843 * docs/gst/gstreamer-sections.txt:
5844 * gst/base/gstbasetransform.h:
5848 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5850 * docs/gst/.cvsignore:
5851 * docs/gst/tmpl/.cvsignore:
5852 * docs/gst/tmpl/gstpipeline.sgml:
5853 * docs/gst/tmpl/gstplugin.sgml:
5854 * gst/gstpipeline.c:
5857 inlined the last two docs files
5858 removed the tmpl directory from cvs (no more conflicts here!)
5860 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5862 * docs/gst/gstreamer-sections.txt:
5863 * docs/gst/tmpl/.cvsignore:
5864 * docs/gst/tmpl/gstpad.sgml:
5865 * docs/gst/tmpl/gstpadtemplate.sgml:
5867 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5868 (gst_pad_finalize), (gst_pad_set_pad_template):
5870 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5871 (gst_pad_template_class_init), (gst_pad_template_init),
5872 (gst_pad_template_dispose), (name_is_valid),
5873 (gst_static_pad_template_get), (gst_pad_template_new),
5874 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5875 (gst_pad_template_pad_created):
5876 * gst/gstpadtemplate.h:
5877 inlined two more docs
5878 factored gstpadtemplate out of gstpad
5880 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5882 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5883 (test_children_state_change_order_semi_sink):
5884 Fix test case: we can't rely on a fixed state change order when
5885 going from READY => PAUSED because the sink might commit its
5886 new state first when the first buffer created by the source
5887 reaches the sink before the source has finished its change state.
5888 (Test case still fails at times, see #316856, comment 5 onwards)
5890 2005-09-24 Wim Taymans <wim@fluendo.com>
5892 * docs/design/part-events.txt:
5893 * docs/design/part-gstbus.txt:
5894 * docs/design/part-gstpipeline.txt:
5895 * docs/design/part-messages.txt:
5896 * docs/design/part-overview.txt:
5897 * docs/design/part-segments.txt:
5904 * gst/gstiterator.c:
5905 Various documentation updates.
5907 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5910 Well, that's embarassing. Luckily we weren't using
5911 GST_CLOCK_DIFF anywhere.
5913 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5915 * common/gtk-doc.mak:
5916 don't fail on building XML, FC4 slave shows a bunch of doc
5917 missing bits that I don't get
5919 * gst/gstpipeline.c:
5920 * gst/gststructure.c:
5923 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5925 * docs/design/part-gstbin.txt:
5926 * docs/design/part-gstbus.txt:
5928 Add blurb about how the bus goes into flushing mode and
5929 drops all messages when its bin goes from READY into NULL
5932 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5934 * docs/gst/gstreamer-sections.txt:
5935 * gst/gststructure.c: (gst_structure_get_clock_time):
5936 * gst/gststructure.h:
5937 add a method to get a GstClockTime out of a structure
5939 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5941 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5942 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5943 Added test to check state change order in bins (can still be made
5944 to fail here under heavy disk load; bails out with 'Push on pad
5945 fakesink:sink0, but it was not activated in push mode').
5947 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5948 Fix state change order when there is only a semi sink (#316856)
5950 * gst/gstbus.c: (gst_bus_class_init):
5951 Use _class_peek_parent(), not _class_ref(); fix docs to say
5952 'default main context' instead of 'mainloop' where that is
5955 * gst/gstelement.c: (gst_element_commit_state),
5956 (gst_element_set_state):
5957 Fix typos in debug messages
5959 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5962 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5963 * gst/gstpluginfeature.c:
5966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5967 change an assert into an error until it gets fixed properly
5969 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5971 * docs/gst/gstreamer-sections.txt:
5972 * docs/gst/tmpl/.cvsignore:
5973 * docs/gst/tmpl/gstelement.sgml:
5974 * docs/gst/tmpl/gstinfo.sgml:
5975 * docs/gst/tmpl/gstobject.sgml:
5980 * gst/gstobject.c: (gst_object_class_init):
5982 inlined 3 more biiiig doc files and added some missing docs on the fly
5984 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5986 * check/gst/.cvsignore:
5987 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5988 * gst/gstregistryxml.c: (load_plugin),
5989 (gst_registry_xml_save_plugin):
5990 put back source in registry. add checks for find_plugin.
5991 * testsuite/states/bin.c: (assert_state), (empty_bin),
5992 (test_adding_one_element), (main):
5993 * testsuite/states/locked.c: (main):
5994 some compile/run fixes
5996 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5998 * check/gst/gstvalue.c: (GST_START_TEST):
5999 fix leaks in the test itself
6001 2005-09-22 Wim Taymans <wim@fluendo.com>
6003 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6004 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6005 (gst_base_sink_query):
6006 Prepare for more accurate position reporting and query
6009 * gst/gstelement.c: (gst_element_send_event),
6010 (gst_element_set_state):
6013 2005-09-22 Wim Taymans <wim@fluendo.com>
6015 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6016 (gst_query_parse_segment):
6019 Add segment query for future use.
6021 2005-09-22 Wim Taymans <wim@fluendo.com>
6023 * gst/gstbin.c: (gst_bin_add_func):
6024 Some more debug info.
6026 * gst/gstelement.c: (gst_element_send_event):
6030 Don't know how flags got broken.
6035 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6037 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6038 Add simplistic test suite for GST_TYPE_DATE serialisation and
6041 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6043 * docs/gst/gstreamer-sections.txt:
6044 * gst/gststructure.c: (gst_structure_set_valist),
6045 (gst_structure_get_date):
6046 * gst/gststructure.h:
6047 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6048 (gst_date_copy), (gst_value_compare_date),
6049 (gst_value_serialize_date), (gst_value_deserialize_date),
6050 (gst_value_transform_date_string),
6051 (gst_value_transform_string_date), (_gst_value_initialize):
6053 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6054 bunch of utility functions along with a hack that checks that
6055 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6056 is required. Part of the grand scheme in #170777.
6058 2005-09-22 Andy Wingo <wingo@pobox.com>
6060 * gst/gstconfig.h.in: Psych out gtk-doc.
6062 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6064 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6066 * tools/gst-inspect.c (print_element_list): Plug some
6067 inconsequential leaks.
6069 * gst/gstregistry.c (gst_registry_get_default): Doc.
6071 * check/gst/gstplugin.c:
6072 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6073 * gst/gstelementfactory.c (gst_element_factory_create):
6074 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6077 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6078 (gst_plugin_feature_load): Doc, don't eat refs.
6080 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6081 (gst_plugin_list_free): Doc.
6082 (gst_plugin_load_file): Doc updates.
6084 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6085 accessors returning refcounted objects, return a ref.
6087 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6088 accessor for caps. IDEMPOTENCE. Oh yes.
6090 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6092 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6094 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6095 (_gst_debug_register_funcptr):
6096 Add mutex to serialise access to the hash table with
6097 the function pointer => function name string mapping;
6098 make that hash table static scope (#316809).
6100 * gst/registries/.cvsignore:
6101 Remove left-over file.
6103 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6105 * docs/pwg/appendix-porting.xml:
6106 And something about newsegment events and caps-on-buffers to
6107 the porting guide (feel free to improve).
6109 2005-09-21 Andy Wingo <wingo@pobox.com>
6111 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6112 data and event probes on the same pad.
6113 (test_buffer_probe_once): Test that removing probes from within
6114 the probe functions works.
6116 2005-09-21 Andy Wingo <wingo@pobox.com>
6118 * check/gst/gstutils.c: New file.
6119 (test_buffer_probe_n_times): A simple buffer probe test. More to
6122 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6123 have-data::buffer, not have-data.
6124 (gst_pad_add_event_probe): Likewise for have-data::event.
6125 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6126 peer' isn't quite right yet though.
6127 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6128 (gst_pad_remove_data_probe): Change to take the guint handler_id
6129 as their arg, not the function+data, which is more glib-like.
6131 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6132 the signal emission to indicate if the data is a buffer or an
6134 (gst_pad_get_type): Initialize buffer and event quarks.
6135 (gst_pad_class_init): have-data is now a detailed signal, yes it
6138 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6140 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6141 * gst/gstutils.c: (gst_util_set_value_from_string),
6142 (gst_util_set_object_arg):
6143 Don't put functional code in g_return_if_fail() or
6144 g_return_val_if_fail() statements, otherwise things will
6145 break when G_DISABLE_CHECKS is defined during compilation.
6147 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6149 * docs/gst/tmpl/.cvsignore:
6150 * docs/gst/tmpl/gstvalue.sgml:
6153 inlied another one and added some obvious docs
6155 2005-09-21 Wim Taymans <wim@fluendo.com>
6157 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6158 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6159 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6160 (gst_fdsrc_get_property), (gst_fdsrc_create):
6161 * gst/elements/gstfdsrc.h:
6162 Properly implement fdsrc. Removed signal and timeout,
6163 better implemented somewhere else.
6165 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6167 * docs/gst/tmpl/.cvsignore:
6168 * docs/gst/tmpl/gstimplementsinterface.sgml:
6169 * gst/gstinterface.c:
6172 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6174 * docs/gst/gstreamer-sections.txt:
6175 * docs/gst/tmpl/.cvsignore:
6176 * docs/gst/tmpl/gstenumtypes.sgml:
6177 remove obsolete doc file
6179 2005-09-21 David Schleef <ds@schleef.org>
6181 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6182 little beer, fix a little leak.
6184 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6186 * docs/gst/gstreamer-docs.sgml:
6187 * docs/gst/gstreamer-sections.txt:
6188 * docs/gst/tmpl/.cvsignore:
6193 * gst/gstindex.c: (gst_index_class_init):
6195 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6196 (gst_index_factory_class_init), (gst_index_factory_init),
6197 (gst_index_factory_finalize), (gst_index_factory_new),
6198 (gst_index_factory_destroy), (gst_index_factory_find),
6199 (gst_index_factory_create), (gst_index_factory_make):
6200 * gst/gstindexfactory.h:
6201 * gst/gstpluginfeature.c:
6202 * gst/gstpluginfeature.h:
6203 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6204 more docs inlined, splitted gstindex.{c,h}
6206 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6208 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6211 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6213 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6214 Set sync to FALSE by default.
6216 2005-09-20 Wim Taymans <wim@fluendo.com>
6218 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6219 (gst_base_sink_init):
6220 Make sync property settable from subclass.
6222 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6223 (gst_fake_sink_change_state):
6224 Set sync to FALSE by default.
6226 2005-09-20 Wim Taymans <wim@fluendo.com>
6228 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6229 * tools/gst-launch.c: (main):
6230 The timeout handler should have lower priority than the source
6231 so we don't timeout before popping a message with 0 timeout.
6232 Dump error messages after failed state change.
6234 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6236 * tools/gst-inspect.c: (print_element_properties_info):
6239 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6241 * check/gst/gstevent.c:
6242 * gst/elements/gstfakesink.c:
6243 * gst/elements/gstfakesink.h:
6244 remove the sync property from fakesink.
6245 has the side effect of setting sync TRUE
6246 for fakesink, which is a change. Anyone who knows how
6247 to fix this nicely in a GObject-y way, feel free.
6249 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6251 * docs/gst/gstreamer-docs.sgml:
6252 remove probe refsection
6254 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6256 * check/Makefile.am:
6257 disable valgrinding the controller test again
6258 * docs/gst/gstreamer-sections.txt:
6259 update for api-changes
6261 2005-09-20 Wim Taymans <wim@fluendo.com>
6263 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6264 (gst_base_sink_set_property), (gst_base_sink_get_property),
6265 (gst_base_sink_do_sync):
6266 * gst/base/gstbasesink.h:
6267 Added sync property to basesink to disable clock sync.
6269 2005-09-20 Andy Wingo <wingo@pobox.com>
6271 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6272 eating the caller's refcount.
6274 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6275 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6278 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6279 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6280 of GLib 2.8 public, so we can know which refcount to check in
6283 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6284 (gst_object_init): Only set the gst refcount if we're going ahead
6285 with the refcount hack.
6287 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6289 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6290 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6291 more leaks plumbed, added more debug-logging
6295 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6298 remove include of gstmemchunk.h
6300 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6302 * gst/gstclock.c: (_gst_clock_id_free):
6303 Commit from the Political Party For More Atomic CVS Commits,
6304 so that people don't waste too much of their day fishing
6305 out obvious leaks out of massive commits.
6306 Oh, and fix a pretty damn obvious leak in the memchunk
6309 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6311 * check/Makefile.am:
6312 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6313 plug mem-leak, re-add to valgrindable tests
6315 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6318 unbreak the build for those who have chronic arthritis
6319 and typing "make check" is just too taxing on the hands
6321 2005-09-20 Andy Wingo <wingo@pobox.com>
6323 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6324 really want it out, you should fix plugins at the same time.
6326 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6329 * docs/gst/gstreamer-sections.txt:
6331 added missing symbols to api docs
6332 disable ref-count hack if we have glib >= 2.8
6334 2005-09-19 David Schleef <ds@schleef.org>
6336 * docs/gst/Makefile.am: Ignore a few more internal headers
6337 * docs/gst/gstreamer-docs.sgml: Remove old sections
6338 * docs/gst/gstreamer-sections.txt: Remove old sections
6339 * docs/gst/tmpl/gstobject.sgml: update
6340 * docs/gst/tmpl/gstplugin.sgml: update
6341 * docs/gst/tmpl/gstpluginfeature.sgml: update
6342 * docs/random/ds/0.9-suggested-changes: update.
6343 * gst/Makefile.am: remove memchunk and trashstack, since they're
6345 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6346 * gst/gst.h: don't include some headers
6347 * gst/gstchildproxy.c: add gstmarshal.h
6348 * gst/gstclock.c: Don't use memchunks
6349 * gst/gstminiobject.c: Add some docs
6350 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6351 * gst/gstobject.h: same
6352 * gst/gstplugin.c: include gstmacros.h
6353 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6354 * gst/gstquery.c: don't use memchunks
6355 * gst/gstregistry.c: rename gst_registry_deinit()
6356 * gst/gstregistry.h: same
6358 2005-09-19 David Schleef <ds@schleef.org>
6360 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6361 * docs/libs/gstreamer-libs-sections.txt:
6362 * docs/libs/tmpl/gstgetbits.sgml:
6363 * docs/libs/tmpl/gstputbits.sgml:
6365 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6367 * win32/gstenumtypes.c:
6368 * win32/gstenumtypes.h:
6371 2005-09-19 Wim Taymans <wim@fluendo.com>
6373 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6374 Automatically PAUSE and RESUME a pipeline when a flushing seek
6377 2005-09-19 Andy Wingo <wingo@pobox.com>
6379 * gst/gstregistry.h: Spacing fixen.
6381 2005-09-19 Wim Taymans <wim@fluendo.com>
6383 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6384 Handle state change failure more correctly.
6386 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6388 * check/Makefile.am:
6389 * check/pipelines/cleanup.c: (run_pipeline):
6390 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6392 enable cleanup again after fixing the leak
6394 some more info on docs
6396 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6398 * check/Makefile.am:
6399 re-enable tests now that leaks are plugged
6401 * check/gst/gstbin.c:
6402 * check/gst/gstpipeline.c:
6403 add some more tests while fixing leaks
6405 make sure binaries are uptodate when valgrinding/gdbing
6407 * gst/gstelementfactory.c:
6408 remove a ref too many, and add a FIXME for when we get
6409 round to disposing of classes
6411 fix the refcounting when loading a plugin from a file and
6412 the code pretends that the pointer is the same even though
6413 of course it can change
6414 * gst/gstpluginfeature.c:
6415 unref plugins marked cached (a bit confusing as a name)
6416 as the docs state should be done
6417 various doc additions to explain refcounting
6418 * gst/gstregistry.c:
6419 * gst/gstregistryxml.c:
6422 2005-09-19 Wim Taymans <wim@fluendo.com>
6424 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6425 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6426 (send_messages), (GST_START_TEST), (gstbus_suite):
6427 * check/gst/gstpipeline.c: (GST_START_TEST):
6428 * check/pipelines/cleanup.c: (run_pipeline):
6429 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6431 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6432 (gst_bus_source_check), (gst_bus_source_dispatch),
6433 (gst_bus_create_watch), (gst_bus_add_watch_full),
6434 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6436 * tools/gst-launch.c: (event_loop):
6437 * tools/gst-md5sum.c: (event_loop):
6438 GstBusHandler -> GstBusFunc, return value has the same meaning as
6439 any other GSource (FALSE == remove source).
6440 _add_watch() and _add_watch_full() now take a MessageType mask to
6441 only handle specific types of messages.
6442 _poll() returns the GstMessage instead of the message type to avoid
6444 _have_pending() takes a MessageType mask now too.
6445 Added testsuite for multiple bus watches.
6446 Fix testsuites and applications for new bus API.
6448 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6450 * check/Makefile.am:
6451 mark a bunch of the tests as to fix until we fix them
6453 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6456 use GST_PLUGIN settings for valgrind tests as well, so we're
6457 valgrinding the correct thing
6458 * gst/gst.c: (init_post):
6461 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6463 * gst/gst.c: (init_post), (gst_deinit):
6464 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6465 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6466 * gst/gstindex.c: (gst_index_factory_class_init),
6467 (gst_index_factory_finalize):
6468 * gst/gstobject.c: (gst_object_dispose):
6469 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6470 (gst_plugin_load_file), (gst_plugin_desc_free):
6471 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6472 (gst_plugin_feature_finalize):
6473 * gst/gstregistry.c: (gst_registry_class_init),
6474 (gst_registry_init), (gst_registry_finalize),
6475 (gst_registry_get_default), (gst_registry_deinit):
6476 * gst/gstregistry.h:
6477 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6478 various cleanups and memleak plugging. make valgrind is happy now.
6480 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6483 add a check-valgrind target
6485 2005-09-18 David Schleef <ds@schleef.org>
6487 * tools/gst-inspect.c: Revert the GOption code.
6489 2005-09-17 David Schleef <ds@schleef.org>
6491 * check/Makefile.am: Fix environment variables.
6492 * check/gst/gstplugin.c: Fix for API changes.
6493 * tools/gst-inspect.c: Fix for API changes.
6494 * tools/gst-xmlinspect.c: Fix for API changes.
6495 * gst/gstelementfactory.c:
6498 * gst/gstpluginfeature.c:
6499 * gst/gstpluginfeature.h:
6500 * gst/gstregistry.c:
6501 * gst/gstregistry.h:
6502 * gst/gstregistryxml.c:
6503 * gst/gsttypefind.c:
6504 * gst/gsttypefindfactory.c:
6505 * gst/indexers/gstfileindex.c:
6506 * gst/indexers/gstmemindex.c:
6507 * gst/schedulers/Makefile.am:
6508 Change registry to keep track of both plugins and features,
6509 removing the feature tracking from plugins themselves.
6511 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6513 * check/Makefile.am:
6514 * tools/gst-register.1.in:
6517 2005-09-15 David Schleef <ds@schleef.org>
6519 * check/gst/gstplugin.c:
6520 * gst/gstelementfactory.c:
6522 * gst/gstpluginfeature.c:
6523 * gst/gstregistry.c:
6524 Getting tired of debugging. Disabled all the unreffing of
6525 plugins and features, which fixes the segfaults, but of
6526 course leaks like crazy. At least playbin works.
6528 2005-09-15 David Schleef <ds@schleef.org>
6530 * check/gst/gstplugin.c: (register_check_elements),
6531 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6533 * gst/elements/gsttypefindelement.c: Fix refcounting.
6534 * gst/gsttypefind.c:
6535 * gst/gsttypefindfactory.c:
6536 * gst/gsttypefindfactory.h:
6538 2005-09-15 David Schleef <ds@schleef.org>
6540 * gst/gstindex.c: get refcounting correct.
6541 * gst/gstregistry.c: Handle the case where a feature/plugin is
6544 2005-09-15 David Schleef <ds@schleef.org>
6546 * check/Makefile.am:
6547 * check/gst/gstplugin.c: Add test
6548 * gst/gstplugin.c: Fix problems noticed by testsuite
6550 * gst/gstregistry.c:
6551 * gst/gstregistry.h:
6553 2005-09-15 David Schleef <ds@schleef.org>
6555 * gst/gstplugin.c: Implement semi-decent recounting and locking
6556 in plugins and plugin features.
6558 * gst/gstpluginfeature.c:
6559 * gst/gstpluginfeature.h:
6560 * gst/gstregistry.c:
6562 2005-09-15 Michael Smith <msmith@fluendo.com>
6564 * gst/gstregistry.c: (gst_registry_get_feature_list):
6565 Implement this. Makes oggdemux work; decodebin still broken.
6567 2005-09-14 David Schleef <ds@schleef.org>
6569 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6571 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6572 * gst/check/Makefile.am:
6573 * libs/gst/controller/Makefile.am:
6574 * libs/gst/dataprotocol/Makefile.am:
6576 2005-09-14 David Schleef <ds@schleef.org>
6578 * configure.ac: Remove getbits library. Nothing uses it, and
6579 it should be in something like liboil if someone did want
6581 * libs/gst/Makefile.am:
6582 * libs/gst/getbits/Makefile.am:
6583 * libs/gst/getbits/gbtest.c:
6584 * libs/gst/getbits/getbits.c:
6585 * libs/gst/getbits/getbits.h:
6586 * libs/gst/getbits/gstgetbits_generic.c:
6587 * libs/gst/getbits/gstgetbits_i386.s:
6588 * libs/gst/getbits/gstgetbits_inl.h:
6590 2005-09-14 David Schleef <ds@schleef.org>
6592 * gst/Makefile.am: Dist glib-compat.h
6594 2005-09-14 David Schleef <ds@schleef.org>
6596 * configure.ac: Remove gst/registries, since it's no longer used.
6597 * gst/registries/Makefile.am:
6598 * gst/registries/gstlibxmlregistry.c:
6599 * gst/registries/gstlibxmlregistry.h:
6600 * gst/registries/gstxmlregistry.c:
6601 * gst/registries/gstxmlregistry.h:
6602 * gst/registries/registrytest.c:
6604 2005-09-14 David Schleef <ds@schleef.org>
6606 * gst/glib-compat.h:
6607 * gst/gstregistryxml.c:
6608 Convergence is near. Seriously.
6610 2005-09-14 David Schleef <ds@schleef.org>
6612 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6613 * gst/glib-compat.h:
6614 Attempt #4 to appease the buildbots.
6616 2005-09-14 David Schleef <ds@schleef.org>
6618 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6621 2005-09-14 David Schleef <ds@schleef.org>
6623 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6626 2005-09-14 David Schleef <ds@schleef.org>
6628 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6631 2005-09-14 David Schleef <ds@schleef.org>
6633 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6634 * gst/glib-compat.h: Add some functions that are in newer versions
6635 of glib than we care to require.
6636 * gst/gstregistryxml.c: Use them.
6638 2005-09-14 David Schleef <ds@schleef.org>
6640 * po/POTFILES.in: remove gst-register.c
6642 2005-09-14 David Schleef <ds@schleef.org>
6644 * docs/gst/gstreamer-docs.sgml:
6645 * docs/gst/gstreamer-sections.txt:
6646 * docs/gst/gstreamer.types:
6647 * docs/gst/tmpl/gstelement.sgml:
6648 * docs/gst/tmpl/gstplugin.sgml:
6649 * docs/gst/tmpl/gstpluginfeature.sgml:
6650 Documentation updates for registry changes.
6652 2005-09-14 David Schleef <ds@schleef.org>
6654 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6655 because we don't require glib-2.8.
6657 2005-09-14 David Schleef <ds@schleef.org>
6659 * gst/gstregistryxml.c: Added. Essentially moved out of the
6660 registries directory.
6662 2005-09-14 David Schleef <ds@schleef.org>
6664 * check/Makefile.am:
6665 * check/generic/states.c:
6669 * gst/gst_private.h:
6670 * gst/gstelementfactory.c:
6675 * gst/gstpluginfeature.c:
6676 * gst/gstpluginfeature.h:
6677 * gst/gstregistry.c:
6678 * gst/gstregistry.h:
6679 * gst/gstregistrypool.c: remove
6680 * gst/gstregistrypool.h: remove
6681 * gst/gsttypefind.c:
6682 * gst/gsttypefindfactory.c:
6684 * tools/Makefile.am:
6685 * tools/gst-compprep.c:
6686 * tools/gst-inspect.c:
6687 * tools/gst-register.c: remove
6688 * tools/gst-xmlinspect.c:
6689 Registry rewrite. Changes registry from being a file created
6690 by a tool into a simple cache file created automatically by
6691 libgstreamer. Removed gst-register (because it's no longer
6692 needed). Remove registry pools, because we only have one
6693 registry implementation (XML). Fix up other subsystems as
6696 2005-09-13 Michael Smith <msmith@fluendo.com>
6698 * gst/gstconfig.h.in:
6699 Don't Use windows linking attributes for MinGW. Fixes #316157
6701 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6703 * gst/gstutils.c: (set_state_async_thread_func),
6704 (gst_element_set_state_async):
6705 Apparently people think it's better if this function doesn't
6706 try to set the state to whatever state was asked for on the first
6707 call to this function for any object. Seriously.
6709 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6711 * check/gst/gstpipeline.c: (GST_START_TEST):
6712 * docs/gst/gstreamer-sections.txt:
6713 * gst/gstutils.c: (set_state_async_thread_func),
6714 (gst_element_set_state_async):
6716 add a "gst_element_set_state_async" method that
6717 sets the state and starts a thread to make sure the state
6718 change completes as best as it can
6720 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6722 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6723 codify design+behaviour in testsuite after discussion
6725 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6727 * docs/gst/tmpl/gstelement.sgml:
6728 * docs/manual/appendix-quotes.xml:
6730 * gst/gstelement.c: (gst_element_set_state):
6733 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6735 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6736 (gst_base_transform_prepare_output_buf),
6737 (gst_base_transform_handle_buffer):
6738 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6739 (gst_capsfilter_prepare_buf):
6740 Remove the requirement for sub-classes to call the parent
6741 implementation of prepare_output_buffer with a wrapper function.
6744 * gst/gsttagsetter.h:
6747 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6749 * docs/gst/gstreamer-sections.txt:
6752 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6754 * docs/gst/gstreamer-sections.txt:
6755 * docs/gst/tmpl/gstelement.sgml:
6756 * docs/gst/tmpl/gstplugin.sgml:
6757 * gst/gstminiobject.c:
6759 docs now stop throwing warnings
6761 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6763 * docs/gst/gstreamer-sections.txt:
6764 * docs/gst/gstreamer.types:
6765 * docs/gst/tmpl/gstpad.sgml:
6766 * docs/gst/tmpl/gsttypes.sgml:
6767 * gst/base/gstadapter.h:
6768 * gst/base/gstbasesink.h:
6769 * gst/base/gstbasesrc.h:
6779 * gst/gststructure.c:
6780 * gst/registries/gstlibxmlregistry.h:
6781 various documentation fixes
6783 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6785 * docs/gst/gstreamer-sections.txt:
6786 * docs/gst/tmpl/gstvalue.sgml:
6787 rearrange gstvalue section
6788 * gst/gstutils.c: (gst_element_state_get_name):
6790 * gst/gstvalue.c: (_gst_value_initialize):
6794 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6796 * check/gst-libs/controller.c:
6798 * gst/base/gstbasetransform.c:
6799 (gst_base_transform_default_prepare_buf),
6800 (gst_base_transform_handle_buffer):
6801 * gst/base/gstbasetransform.h:
6802 Some more basetransform changes and fixes to enable sub-classes
6803 that modify buffer metadata only.
6804 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6805 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6806 (gst_capsfilter_prepare_buf):
6807 If the output pad has fixed allowed caps and input buffers
6808 don't have any, set the fixed caps on outgoing buffers.
6810 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6811 * check/elements/identity.c: (GST_START_TEST):
6812 Make the error a little clearer when the test fails because
6813 identity made a copy of the buffer.
6814 * docs/gst/gstreamer-sections.txt:
6815 New symbols in gstbasetransform.h
6816 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6817 (gst_base_transform_init), (gst_base_transform_transform_size),
6818 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6819 (gst_base_transform_default_prepare_buf),
6820 (gst_base_transform_get_unit_size),
6821 (gst_base_transform_buffer_alloc),
6822 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6823 (gst_base_transform_change_state),
6824 (gst_base_transform_set_passthrough),
6825 (gst_base_transform_set_in_place),
6826 (gst_base_transform_is_in_place):
6827 * gst/base/gstbasetransform.h:
6828 Change BaseTransform to separate in_place operate from same_caps
6829 output. in_place implies that the element can perform the transform
6830 on incoming buffers in-place, even if the caps on the output are
6832 Sub-class elements can now implement special buffer allocation
6833 methods for outgoing buffers if they wish to.
6834 Big documentation addition.
6835 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6836 * gst/elements/gstelements.c:
6837 Changes for basetransform modifications.
6838 * gst/elements/Makefile.am:
6839 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6840 Compile fix. Extra debug output.
6842 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6844 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6846 add tests for valid pad naming
6847 * gst/check/gstcheck.c: (gst_check_log_message_func),
6848 (gst_check_log_critical_func):
6850 remove printing of code, it is fragile when the code contains
6851 % and the line number is enough info
6852 * gst/check/gstcheck.h:
6853 * gst/gstpad.c: (gst_pad_template_new):
6856 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6859 say what CHECK flags we use
6860 * docs/libs/gstreamer-libs.types:
6861 * libs/gst/controller/Makefile.am:
6862 * libs/gst/controller/gst-controller.c:
6863 * libs/gst/controller/gst-controller.h:
6864 * libs/gst/controller/gst-helper.c:
6865 * libs/gst/controller/gst-interpolation.c:
6866 * libs/gst/controller/gstcontroller.c:
6867 * libs/gst/controller/gsthelper.c:
6868 * libs/gst/controller/gstinterpolation.c:
6869 * tools/gst-inspect.c: (print_plugin_info):
6870 we don't use dashes in header names
6872 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6874 * check/Makefile.am:
6875 * check/gst/.cvsignore:
6876 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6877 (gst_pipeline_suite), (main):
6878 adding a test for pipelines and state changes
6879 * gst/gstutils.c: (get_state_func):
6881 * gstreamer.spec.in:
6884 2005-09-08 Michael Smith <msmith@fluendo.com>
6886 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6887 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6888 (gst_file_src_is_seekable), (gst_file_src_get_size),
6889 (gst_file_src_start):
6890 * gst/elements/gstfilesrc.h:
6891 Various fixes for unseekable, unmmapable, and non-normal files, so
6892 that fallback to read() rather than mmap() works.
6893 * gst/gstevent.c: (gst_event_new_newsegment):
6894 Allow newsegment events with segment_start == segment_end, as will
6895 correctly happen if you use filesrc on a zero-size file, for
6898 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6900 * gst/gstplugin.c: (gst_plugin_load_file):
6901 Call g_module_close when we don't load the module
6903 * gst/registries/gstlibxmlregistry.c:
6904 (gst_xml_registry_get_property):
6905 Port leak fix from 0.8
6907 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6909 * docs/gst/gstreamer-docs.sgml:
6910 * docs/gst/tmpl/.cvsignore:
6911 * docs/gst/tmpl/gsttrace.sgml:
6912 * docs/gst/tmpl/gsttrashstack.sgml:
6921 * gst/gsttaginterface.c:
6922 * gst/gsttaginterface.h:
6925 * gst/gsttagsetter.c:
6926 * gst/gsttagsetter.h:
6929 * gst/gsttrashstack.c:
6930 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6931 inlined docs for gsttrace, gsttrashstack
6933 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6936 * gst/elements/gstbufferstore.h:
6937 * gst/elements/gsttypefindelement.c:
6938 * gst/elements/gsttypefindelement.h:
6940 * gst/gsttypefind.c:
6941 * gst/gsttypefind.h:
6942 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6943 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6944 (gst_type_find_factory_dispose),
6945 (gst_type_find_factory_unload_thyself),
6946 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6947 (gst_type_find_factory_get_caps),
6948 (gst_type_find_factory_get_extensions),
6949 (gst_type_find_factory_call_function):
6950 * gst/gsttypefindfactory.h:
6951 * gst/registries/gstlibxmlregistry.c:
6952 * gst/registries/gstxmlregistry.c:
6953 splitted gsttypefind into gsttypefind, gsttypefindfactory
6955 2005-09-07 Andy Wingo <wingo@pobox.com>
6957 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6958 condition whereby the pad's task function is entered before the
6959 pad_mode variable was set.
6961 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6963 * gst/gstpad.c: (gst_pad_alloc_buffer):
6964 Catch misbehaving pad_alloc functions that don't
6965 set up caps and do it for them.
6967 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6969 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6971 * docs/gst/tmpl/.cvsignore:
6972 * docs/gst/tmpl/gstmemchunk.sgml:
6973 * docs/gst/tmpl/gstparse.sgml:
6974 * docs/gst/tmpl/gsttaglist.sgml:
6975 * docs/gst/tmpl/gsttagsetter.sgml:
6976 * docs/gst/tmpl/gsttypefind.sgml:
6977 * docs/gst/tmpl/gsttypefindfactory.sgml:
6978 * gst/gstmemchunk.c:
6981 * gst/gsttaginterface.c:
6982 * gst/gsttypefind.c:
6983 * gst/gsttypefind.h:
6986 === release 0.9.2 ===
6988 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6993 releasing 0.9.2, "South"
6995 2005-09-05 Andy Wingo <wingo@pobox.com>
6997 * gst/registries/gstxmlregistry.h:
6998 * gst/registries/gstxmlregistry.c: Um... resurrect...
7000 * gst/registries/gstxmlregistry.h:
7001 * gst/registries/gstxmlregistry.c: and update to newer API.
7002 Incidentally they should be a bit faster now that they don't have
7005 2005-09-05 Andy Wingo <wingo@pobox.com>
7007 * gst/registries/gstxmlregistry.h:
7008 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7009 replaced by the libxml registry a while back
7011 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7013 * docs/gst/tmpl/gstplugin.sgml:
7014 * gst/elements/gstelements.c:
7016 * gst/gstplugin.c: (gst_plugin_register_func),
7017 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7018 (gst_plugin_get_source):
7020 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7021 (gst_xml_registry_save_plugin):
7022 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7023 (gst_xml_registry_save_plugin):
7024 * tools/gst-inspect.c: (print_plugin_info):
7025 add a "source" plugin description field, to represent the source
7026 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7027 will set it to PACKAGE, which is automake's idea of the name of
7030 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7036 * docs/faq/Makefile.am:
7037 * docs/gst/tmpl/gstelement.sgml:
7038 * docs/gst/tmpl/gsttypes.sgml:
7039 * docs/htmlinstall.mak:
7040 * docs/manual/Makefile.am:
7041 * docs/pwg/Makefile.am:
7042 reorganize doc build a little
7043 split out docbook and gtk-doc stuff
7044 have two separate --enable's and enable them through autogen
7045 but disable by default in configure (to be similar to other
7047 * gstreamer.spec.in:
7048 clean up docs install
7068 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7070 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7073 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7074 (gst_fake_sink_change_state):
7075 Make state change function thread-safe.
7077 * gst/gstpad.c: (gst_pad_alloc_buffer):
7078 Set offset on generic buffer allocated by fallback.
7080 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7082 * docs/gst/gstreamer-sections.txt:
7083 * docs/gst/tmpl/gstelement.sgml:
7085 * libs/gst/controller/gst-controller.c:
7086 (gst_controlled_property_set_interpolation_mode),
7087 (gst_controlled_property_new),
7088 (gst_controller_find_controlled_property):
7089 run the wingo-magic script against the docs
7091 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7093 * docs/gst/gstreamer-docs.sgml:
7094 * docs/gst/gstreamer-sections.txt:
7095 * docs/gst/tmpl/.cvsignore:
7096 * docs/gst/tmpl/gstelementdetails.sgml:
7097 * docs/gst/tmpl/gstelementfactory.sgml:
7100 * gst/gstelementfactory.c:
7101 * gst/gstelementfactory.h:
7102 merged elementdetails docs into elementfactory docs
7105 2005-09-02 Andy Wingo <wingo@pobox.com>
7107 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7108 consider this enum an enum and not a flags.
7110 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7112 * docs/gst/gstreamer-docs.sgml:
7113 * docs/gst/tmpl/.cvsignore:
7114 * docs/gst/tmpl/gstghostpad.sgml:
7115 * docs/gst/tmpl/gstiterator.sgml:
7116 * docs/gst/tmpl/gstmacros.sgml:
7117 * docs/gst/tmpl/gstrealpad.sgml:
7118 * docs/gst/tmpl/gstregistry.sgml:
7119 * docs/gst/tmpl/gstregistrypool.sgml:
7120 * docs/gst/tmpl/gststructure.sgml:
7121 * docs/gst/tmpl/gstsystemclock.sgml:
7122 * docs/gst/tmpl/gsttrace.sgml:
7123 * gst/gstghostpad.c:
7125 * gst/gstmemchunk.c:
7126 * gst/gstmemchunk.h:
7128 * gst/gstregistry.c:
7129 * gst/gstregistrypool.c:
7130 * gst/gststructure.c:
7131 * gst/gstsystemclock.c:
7134 2005-09-02 Andy Wingo <wingo@pobox.com>
7136 * gst/gstelement.h (GstState): Renamed from GstElementState,
7137 changed to be a normal enum instead of flags.
7138 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7139 munged to be GST_STATE_CHANGE_*.
7140 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7141 work with the new state representation.
7142 (GstStateChange): New enumeration of possible state transitions.
7143 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7144 (GstElementClass::change_state): Pass the GstStateChange along as
7145 an argument. Helps language bindings, so they don't have to use
7146 tricky lock-needing macros like GST_STATE_CHANGE ().
7148 * scripts/update-states (file): New script. Run it on a file to
7149 update it for state naming and API changes. Updates files in
7152 * All files updated for the new API.
7154 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7156 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7157 * gst/gstutils.c: (gst_util_set_value_from_string),
7158 (gst_util_set_object_arg):
7159 fix a bunch of unchecked return values
7160 * tools/gst-complete.c: (main):
7161 * gstreamer.spec.in:
7164 2005-09-01 Wim Taymans <wim@fluendo.com>
7166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7167 (gst_base_sink_event), (gst_base_sink_do_sync),
7168 (gst_base_sink_handle_event):
7169 * gst/base/gstbasesink.h:
7170 Handle newsegments more correctly.
7175 * gst/gstevent.c: (gst_event_new_newsegment):
7176 A newsegment cannot have a start_time of -1
7178 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7180 * win32/gstenumtypes.c:
7181 * win32/gstenumtypes.h:
7184 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7186 * libs/gst/controller/gst-controller.c:
7187 (gst_controlled_property_set_interpolation_mode),
7188 (gst_controlled_property_new):
7191 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7193 * docs/faq/gst-uninstalled:
7198 * gst/gstutils.c: (gst_element_link_filtered):
7200 add gst_element_link_filtered
7202 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7204 * docs/gst/gstreamer-docs.sgml:
7205 * docs/gst/gstreamer-sections.txt:
7206 * docs/gst/tmpl/.cvsignore:
7207 * docs/gst/tmpl/gsterror.sgml:
7208 * docs/gst/tmpl/gstfilter.sgml:
7209 * docs/gst/tmpl/gsturihandler.sgml:
7210 * docs/gst/tmpl/gsturitype.sgml:
7211 * docs/gst/tmpl/gstutils.sgml:
7212 * docs/gst/tmpl/gstxml.sgml:
7220 inlined more docs, fixed double id-ref
7222 2005-08-31 Wim Taymans <wim@fluendo.com>
7224 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7225 (gst_base_transform_handle_buffer):
7226 Passthrough elements don't need the caps as they don't care.
7228 2005-08-31 Wim Taymans <wim@fluendo.com>
7230 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7231 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7232 Don't leak refcounts on buffers.
7234 2005-08-31 Wim Taymans <wim@fluendo.com>
7236 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7237 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7238 (gst_base_transform_chain), (gst_base_transform_change_state):
7239 * gst/base/gstbasetransform.h:
7240 Handle the case where we are not negotiated more gracefully.
7242 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7244 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7245 (gst_file_src_map_region):
7246 Set READONLY flag on mmap'ed buffers, otherwise
7247 gst_buffer_make_writable() won't work properly (#314708).
7249 2005-08-31 Wim Taymans <wim@fluendo.com>
7251 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7252 passthrough elements can even do inplace on non writable
7253 buffers (as they don't touch them).
7255 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7257 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7258 (gst_test_mono_source_set_property),
7259 (gst_test_mono_source_class_init), (GST_START_TEST),
7260 (gst_controller_suite):
7261 more tests (hehe I have the most)
7263 describe popping messages whenusing mulltiple sources
7264 * libs/gst/controller/gst-controller.c:
7265 (gst_controlled_property_set_interpolation_mode),
7266 (gst_controlled_property_new):
7267 * libs/gst/controller/gst-controller.h:
7268 * libs/gst/controller/gst-interpolation.c:
7269 implement boolean properties
7271 2005-08-31 Wim Taymans <wim@fluendo.com>
7273 * gst/gstminiobject.c: (gst_mini_object_ref):
7274 Cannot assert that the refcount has to be positive
7275 since a disposed object can be resurrected.
7277 2005-08-31 Wim Taymans <wim@fluendo.com>
7279 * gst/gstpad.c: (gst_pad_init):
7280 Revert change, need to first fix badly behaving
7283 2005-08-30 Wim Taymans <wim@fluendo.com>
7285 * check/elements/fakesrc.c: (setup_fakesrc):
7286 * check/elements/identity.c: (setup_identity):
7287 Activate pads before using them.
7289 2005-08-30 Wim Taymans <wim@fluendo.com>
7291 * gst/base/gstadapter.c: (gst_adapter_flush):
7292 Flushing out 0 bytes is ok for this function.
7294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7295 no newsegment gives a warning and sets the start/stop to
7298 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7299 (gst_base_transform_set_passthrough):
7302 * gst/gstminiobject.c: (gst_mini_object_ref):
7303 Check refcount here too.
7305 * gst/gstpad.c: (gst_pad_init):
7306 Pads are initially flushing and refusing data.
7308 * gst/gstutils.c: (gst_element_link_pads_filtered):
7309 When adding a capsfilter element make sure it has the
7310 same state as the parent bin.
7312 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7314 * docs/gst/tmpl/.cvsignore:
7315 * docs/gst/tmpl/gstformat.sgml:
7316 * docs/gst/tmpl/gstversion.sgml:
7320 * gst/gstversion.h.in:
7321 more docs and two more inlined
7323 2005-08-30 Wim Taymans <wim@fluendo.com>
7325 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7326 Don't sync to clock.
7328 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7330 * docs/gst/gstreamer-sections.txt:
7331 ultral33t func10ns deserve to appear in the docs actually
7332 * docs/gst/tmpl/.cvsignore:
7333 * docs/gst/tmpl/gstcompat.sgml:
7334 * docs/gst/tmpl/gstconfig.sgml:
7335 * gst/check/gstcheck.c:
7337 * gst/gstconfig.h.in:
7340 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7342 * docs/gst/tmpl/.cvsignore:
7343 * docs/gst/tmpl/gstquery.sgml:
7344 * docs/gst/tmpl/gstutils.sgml:
7347 inlined and extended docs
7349 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7351 * check/gst-libs/controller.c: (GST_START_TEST),
7352 (gst_controller_suite):
7354 * docs/gst/tmpl/gstutils.sgml:
7355 * docs/libs/gstreamer-libs-sections.txt:
7356 * docs/libs/tmpl/gstdataprotocol.sgml:
7358 * examples/controller/audio-example.c: (main):
7359 controller example works now
7362 * tools/gst-inspect.c: (print_element_properties_info):
7363 show param spec flags
7365 2005-08-29 Andy Wingo <wingo@pobox.com>
7367 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7369 2005-08-28 Andy Wingo <wingo@pobox.com>
7371 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7372 as having two arguments instead of just one. Allows superclasses
7373 to access information on subclasses -- see the terrible for() loop
7374 in gtype.c:g_type_create_instance for the reason why. All callers
7377 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7379 * docs/design/part-messages.txt:
7381 * docs/gst/tmpl/.cvsignore:
7382 * docs/gst/tmpl/gstcaps.sgml:
7383 * docs/gst/tmpl/gstclock.sgml:
7390 added descriptions for bus and message
7391 inline caps and clock docs
7393 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7399 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7401 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7404 2005-08-26 Andy Wingo <wingo@pobox.com>
7406 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7407 element_set_state's return val.
7408 (test_2_elements): Add test that's been disabled for months.
7410 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7411 can-activate-pull properties.
7413 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7414 can-activate-pull properties. Implement is_seekable so fakesrc can
7415 operate in pull mode.
7417 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7419 (gst_base_sink_activate, gst_base_sink_activate_pull)
7420 (gst_base_sink_activate_push): Make activation mode choosing work.
7422 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7423 is right. Make pull mode work. Post an eos before pausing in pull
7425 (gst_base_sink_change_state): Pay attention to the core's
7426 change_state() return val.
7428 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7429 has-getrange properties. Cleanups.
7431 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7432 has_getrange and replace with can_activate_pull and
7435 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7436 locking comments. Remove has_loop, has_chain and replace with
7437 can_activate_pull and can_activate_push.
7439 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7442 * examples/Makefile.am:
7443 * examples/metadata/Makefile.am:
7444 * examples/metadata/read-metadata.c: (message_loop),
7445 (have_pad_handler), (make_pipeline), (print_tag), (main):
7446 Add metadata reading example that loops over a list of filenames,
7447 dumping any tags found.
7449 * gst/gstbus.c: (gst_bus_dispose):
7450 * gst/gstelement.c: (gst_element_dispose):
7451 Release a few potentially-held references in dispose.
7453 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7455 * docs/gst/tmpl/gstminiobject.sgml:
7456 do *not* add tmpl/*.sgml files to CVS!
7458 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7460 * libs/gst/bytestream/.cvsignore:
7461 * libs/gst/bytestream/Makefile.am:
7462 * libs/gst/bytestream/adapter.c:
7463 * libs/gst/bytestream/adapter.h:
7464 * libs/gst/bytestream/bytestream.c:
7465 * libs/gst/bytestream/bytestream.h:
7466 * libs/gst/bytestream/filepad.c:
7467 * libs/gst/bytestream/filepad.h:
7468 removing obsolete files
7470 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7472 * docs/gst/gstreamer-docs.sgml:
7473 * docs/libs/gstreamer-libs-docs.sgml:
7474 disabed additional index entries again, as this makes docs-gen just
7475 slow and they aren't useful yet
7476 * docs/libs/gstreamer-libs-sections.txt:
7477 little -section.txt cleanup for libs
7479 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7482 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7483 fix up some debugging
7484 (gst_base_transform_get_unit_size),
7485 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7486 (gst_base_transform_handle_buffer):
7487 * gst/base/gstbasetransform.h:
7488 handle and store timed NEWSEGMENT events so that subclasses that
7489 calculate time by counting samples have a segment_start time they
7490 need to add to their timestamps - see audioresample
7492 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7495 removed ';' from the end of macro defs
7496 * docs/gst/gstreamer-docs.sgml:
7497 * docs/gst/gstreamer-sections.txt:
7498 * docs/gst/tmpl/.cvsignore:
7500 * gst/gstelement.c: (gst_element_class_init),
7501 (gst_element_set_state), (activate_pads),
7502 (gst_element_save_thyself):
7503 * gst/gstevent.c: (gst_event_new_newsegment):
7505 * gst/gstiterator.c:
7506 * gst/gstiterator.h:
7509 * gst/gstutils.c: (gst_pad_query_convert):
7511 fixed parameter name mismatches between source, header and docs
7512 added some more docs, resolved the last batch of unused elements in
7513 docs (now someone needs to doc them)
7515 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7517 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7518 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7519 don't walk through the plugins backwards. Where is all this
7520 reversed logic coming from ?
7522 2005-08-25 Wim Taymans <wim@fluendo.com>
7524 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7525 (gst_base_transform_transform_size),
7526 (gst_base_transform_configure_caps),
7527 (gst_base_transform_get_unit_size),
7528 (gst_base_transform_buffer_alloc),
7529 (gst_base_transform_change_state):
7530 * gst/base/gstbasetransform.h:
7531 Cache caps unit_size.
7532 Make sure we cannot negotiate up and downstream at the
7535 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7537 * gst/gst.c: (init_pre), (init_post):
7538 register the installed plugin path after the env var
7539 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7540 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7541 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7542 directories, so the tests can prefer uninstalled over installed
7544 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7546 * gst/base/gstbasetransform.h:
7551 2005-08-25 Wim Taymans <wim@fluendo.com>
7553 * gst/gstbin.c: (bin_bus_handler):
7554 Be a bit more conservative about the posted message.
7556 * gst/gstbus.c: (gst_bus_post):
7557 Some cleanups, warn wrong return values.
7559 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7561 * check/gst/gstbin.c: (GST_START_TEST):
7562 * gst/gstbin.c: (bin_bus_handler):
7563 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7564 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7565 (gst_message_new_warning), (gst_message_new_tag),
7566 (gst_message_new_state_changed), (gst_message_new_segment_start),
7567 (gst_message_new_segment_done), (gst_message_new_custom):
7569 * tools/gst-launch.c: (event_loop):
7570 * tools/gst-md5sum.c: (event_loop):
7571 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7573 2005-08-25 Wim Taymans <wim@fluendo.com>
7575 * check/generic/states.c: (GST_START_TEST):
7576 Cleanup can be done at the end.
7578 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7579 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7580 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7581 Oh boy.. Thanks for finding this, Thomas.
7583 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7585 * docs/gst/gstreamer.types:
7588 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7590 * docs/gst/gstreamer-docs.sgml:
7591 * docs/gst/gstreamer-sections.txt:
7592 * docs/gst/tmpl/.cvsignore:
7594 * gst/gstiterator.c:
7596 * gst/registries/gstxmlregistry.h:
7597 added missing classes and symbols (123 more to go)
7598 removed removed symbols from section file
7599 fixed many doc-comments
7601 2005-08-24 Wim Taymans <wim@fluendo.com>
7603 * check/generic/states.c: (GST_START_TEST):
7604 Make sure all tasks are stopped.
7606 * check/gst/gstbin.c: (GST_START_TEST):
7607 Unref after usage for proper valgrinding.
7609 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7610 Really wait for the task to stop before destroying the
7613 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7614 (gst_queue_src_activate_push):
7615 Small cleanups. Don't stop the task when we did not start
7618 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7619 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7620 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7623 Protect the stream lock with the object lock.
7624 Disallow setting the stream lock when running.
7625 Add cleanup_all to wait for the threadpool to finish.
7626 Remove code to autoallocate a mutex if none was provided.
7627 Add _join() to wait for a task to stop.
7628 Protect the thread pool with a global lock.
7630 2005-08-24 Wim Taymans <wim@fluendo.com>
7632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7633 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7634 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7635 * gst/base/gstbasesink.h:
7636 Handle newsegment events correctly.
7637 Drop buffers out of the segment range.
7639 2005-08-22 Andy Wingo <wingo@pobox.com>
7641 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7642 macro, implements an interface and gstimplementsinterface for a
7645 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7647 * check/Makefile.am:
7648 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7649 add a test that does a bunch of state changes on elements
7650 needs some fixing for valgrind
7651 * check/states/sinks.c: (gst_object_suite):
7654 add prototype for gst_caps_is_equal_fixed
7656 * gst/gstregistrypool.c:
7659 2005-08-24 Andy Wingo <wingo@pobox.com>
7661 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7662 convert a negative value. Doesn't make much sense. Mostly this is
7663 here to force callers to ensure -1 maps to -1.
7665 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7667 * docs/pwg/advanced-types.xml:
7668 Well done to Michael for catching my deliberate introduction
7669 of this spelling mistake.
7670 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7672 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7673 unlink pads before removing the element from the bin.
7675 2005-08-24 Andy Wingo <wingo@pobox.com>
7677 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7678 the same thing as GST_DEBUG=*:4.
7679 (parse_debug_level, parse_debug_category): New helper parsers.
7681 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7683 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7684 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7685 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7686 (gst_base_transform_buffer_alloc),
7687 (gst_base_transform_handle_buffer):
7688 use gboolean return values and pointers to size so we can use the
7689 full GST_BUFFER_SIZE range (guint) for buffer sizes
7690 use GstPadDirection for transform_caps
7691 * gst/base/gstbasetransform.h:
7692 rename get_size to get_unit_size since that's what it is
7693 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7694 use GstPadDirection for transform_caps
7695 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7697 cleanup and debugging
7699 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7701 * gst/gstelement.c: (gst_element_class_init),
7702 (gst_element_set_state), (activate_pads),
7703 (gst_element_save_thyself):
7704 * tools/gst-compprep.c: (main):
7705 * tools/gst-inspect.c: (print_element_properties_info):
7706 * tools/gst-xmlinspect.c: (print_element_properties):
7707 Fixed long standing mem-leak
7709 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7711 * check/gst/gstbin.c: (GST_START_TEST):
7712 * gst/gstbin.c: (bin_bus_handler):
7713 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7714 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7715 (gst_message_new_warning), (gst_message_new_tag),
7716 (gst_message_new_state_changed), (gst_message_new_segment_start),
7717 (gst_message_new_segment_done), (gst_message_new_custom):
7719 * tools/gst-launch.c: (event_loop):
7720 * tools/gst-md5sum.c: (event_loop):
7721 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7722 that applications can sensibly post custom messages with references
7723 to their own objects.
7725 2005-08-24 Andy Wingo <wingo@pobox.com>
7727 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7730 2005-08-24 Wim Taymans <wim@fluendo.com>
7732 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7733 (gst_base_transform_transform_caps),
7734 (gst_base_transform_transform_size),
7735 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7736 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7737 (gst_base_transform_handle_buffer):
7738 * gst/base/gstbasetransform.h:
7739 Many fixes and new features added by Thomas. Can now also do
7740 transforms with variable sizes and a custom fixate_caps function.
7742 2005-08-24 Wim Taymans <wim@fluendo.com>
7744 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7748 Cast to ClockTime before formatting to time.
7753 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7755 * check/gst-libs/controller.c: (GST_START_TEST),
7756 (gst_controller_suite):
7757 * docs/gst/tmpl/gstcaps.sgml:
7758 * docs/gst/tmpl/gstghostpad.sgml:
7759 * docs/gst/tmpl/gstquery.sgml:
7760 * docs/gst/tmpl/gstutils.sgml:
7761 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7762 (gst_object_sink_values), (gst_object_get_value_arrays),
7763 (gst_object_get_value_array):
7764 gracefully handle helper method calls to objects that are not beeing
7765 controlled, added test case for that
7767 2005-08-23 Wim Taymans <wim@fluendo.com>
7769 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7770 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7771 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7772 (gst_event_parse_qos), (gst_event_new_seek),
7773 (gst_event_parse_seek):
7775 Some more debugging output and doc cleanups.
7777 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7778 Fix possible deadlock.
7780 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7782 * docs/gst/gstreamer-docs.sgml:
7783 * docs/gst/gstreamer-sections.txt:
7784 * docs/gst/gstreamer.types:
7785 * docs/gst/tmpl/.cvsignore:
7790 added 100 symbols from gstreamer-unused.txt to the right sections
7791 fixed more broken comments
7792 added GstBus to docs
7794 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7796 * docs/gst/gstreamer-sections.txt:
7797 * docs/gst/tmpl/.cvsignore:
7798 * docs/gst/tmpl/gstbin.sgml:
7799 * docs/gst/tmpl/gstbuffer.sgml:
7800 * gst/base/gstbasesrc.c:
7801 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7804 * tools/gst-launch.1.in:
7805 inlined more doc comments, added missing comments and fixed comments
7808 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7810 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7814 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7816 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7817 * gst/gststructure.h:
7818 add a fixate function for booleans; add a FIXME that these func
7819 names should probably be gst_structure_fixate_*
7821 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7823 * docs/gst/gstreamer-docs.sgml:
7824 * docs/gst/gstreamer-sections.txt:
7826 * gst/gstbin.c: (gst_bin_get_type),
7827 (gst_bin_child_proxy_get_child_by_index),
7828 (gst_bin_child_proxy_get_children_count),
7829 (gst_bin_child_proxy_init):
7830 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7831 (gst_child_proxy_get_child_by_index),
7832 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7833 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7834 (gst_child_proxy_get), (gst_child_proxy_set_property),
7835 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7836 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7837 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7838 * gst/gstchildproxy.h:
7839 * gst/parse/grammar.y:
7840 * tools/gst-inspect.c: (print_interfaces),
7841 (print_element_properties_info), (print_element_info):
7842 ported gstchildproxy over from 0.8
7843 ported gst-inspect fixes and enhancements over from 0.8
7845 2005-08-22 Wim Taymans <wim@fluendo.com>
7847 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7848 (gst_base_transform_handle_buffer):
7849 Also call the transform function if we have ANY caps.
7851 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7854 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7856 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7857 Don't pretend to handle seek events if the source is not seekable
7859 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7862 Remove extra parameter to debug output
7864 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7865 (gst_base_src_do_seek), (gst_base_src_activate_push):
7866 Fix seek event handling.
7868 * gst/gstpipeline.c: (gst_pipeline_change_state):
7869 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7870 (gst_queue_src_activate_push):
7871 Don't start the src pad task on FLUSH_STOP if the pad
7875 2005-08-22 Wim Taymans <wim@fluendo.com>
7877 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7878 Added check for gst_static_caps_get() refcounting.
7880 2005-08-22 Wim Taymans <wim@fluendo.com>
7882 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7883 Make _static_caps_get() refcounting sane.
7885 * gst/gstelement.c: (gst_element_set_state):
7886 Add g_return_val_if_fail() to protect against segfaults.
7888 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7890 * docs/gst/tmpl/gstevent.sgml:
7893 inlined remaining docs, added missing doc comments
7895 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7897 * check/gst/gstbin.c: (GST_START_TEST):
7898 since we don't know when preroll is done, use refcount range
7900 * gst/check/gstcheck.h:
7901 add macro for checking refcount range
7903 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7905 * check/Makefile.am:
7906 clean up environment for when registry gets built versus
7907 when actual tests are run; valgrind seems to not report
7908 leaks if GST_PLUGIN_PATH is set to some specific values
7909 * check/gst/gstbin.c: (GST_START_TEST):
7910 add more refcounting checks; maybe this exposes a
7913 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7914 * gst/check/gstcheck.h:
7915 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7916 (gst_bin_change_state):
7917 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7918 add/fix debugging/whitespace
7920 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7922 * check/gst/gstevent.c: (event_probe), (test_event),
7924 Er, don't call gst_bin_watch_for_state_change you idiot.
7926 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7928 * check/Makefile.am:
7929 Use CHECK_CFLAGS and CHECK_LIBS
7930 * check/gst/gstevent.c: (event_probe), (test_event),
7933 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7934 (gst_base_src_start), (gst_base_src_stop),
7935 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7936 (gst_base_src_change_state):
7937 Sprinkle gst_base_src_stop liberally around error paths to fix
7938 problems reusing a source after failed state changes.
7939 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7940 (helper_find_suggest), (gst_type_find_helper):
7941 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7943 * docs/gst/tmpl/gstevent.sgml:
7944 Migrate part of the docs from the SGML file. Wait for ensonic to
7945 tell me how I did it wrong ;)
7946 * tools/gst-typefind.c: (main):
7947 Extra robustness to state changes between files.
7949 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7951 * check/Makefile.am:
7952 don't valgrind the controller test - it's leaking - Stefan, HELP
7953 * gst/check/gstcheck.c: (gst_check_message_error),
7954 (gst_check_chain_func), (gst_check_setup_element),
7955 (gst_check_teardown_element), (gst_check_setup_src_pad),
7956 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7957 (gst_check_teardown_sink_pad):
7958 * gst/check/gstcheck.h:
7959 add a bunch of methods to set up elements, and src and sink pads
7960 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7961 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7966 whitespace/doc fixes
7968 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7971 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7972 be handled by the application and not always printed as well
7974 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7976 * check/Makefile.am:
7978 * gst/check/gstcheck.c: (gst_check_message_error):
7979 * gst/check/gstcheck.h:
7980 add a fail_unless_equals_int
7981 add fail_unless for error messages
7983 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7985 * check/Makefile.am:
7987 * common/Makefile.am:
7990 factor out some of the common stuff so we can use it
7992 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7994 * check/Makefile.am:
7995 * check/gst/gstiterator.c: (GST_START_TEST):
7996 * check/gst/gstsystemclock.c: (GST_START_TEST),
7997 (gst_systemclock_suite):
7998 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8002 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8004 * check/elements/.cvsignore:
8005 * check/elements/gstfakesrc.c:
8006 rename to name of element
8007 * check/elements/identity.c: (chain_func), (event_func),
8008 (setup_identity), (cleanup_identity), (GST_START_TEST),
8009 (identity_suite), (main):
8010 add a test for identity
8011 * check/Makefile.am:
8012 * pkgconfig/Makefile.am:
8013 * pkgconfig/gstreamer-check.pc.in:
8014 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8018 move the check stuff to a library that gets installed
8019 * check/gst-libs/controller.c: (GST_START_TEST):
8020 * check/gst-libs/gdp.c:
8021 * check/gst/gst.c: (GST_START_TEST):
8022 * check/gst/gstbin.c:
8023 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8024 * check/gst/gstbus.c:
8025 * check/gst/gstcaps.c: (GST_START_TEST):
8026 * check/gst/gstelement.c:
8027 * check/gst/gstghostpad.c:
8028 * check/gst/gstiterator.c:
8029 * check/gst/gstmessage.c:
8030 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8031 * check/gst/gstobject.c:
8032 * check/gst/gstpad.c: (GST_START_TEST):
8033 * check/gst/gststructure.c: (GST_START_TEST):
8034 * check/gst/gstsystemclock.c: (GST_START_TEST),
8035 (gst_systemclock_suite):
8036 * check/gst/gsttag.c: (gst_tag_suite):
8037 * check/gst/gstvalue.c:
8038 * check/pipelines/cleanup.c:
8039 * check/pipelines/simple_launch_lines.c:
8040 * check/states/sinks.c:
8041 change include statement
8043 * docs/gst/gstreamer-sections.txt:
8044 * docs/gst/tmpl/gstpad.sgml:
8045 document more pad stuff
8046 * gst/gstminiobject.c: (gst_mini_object_ref),
8047 (gst_mini_object_unref):
8050 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8052 * docs/gst/tmpl/gst.sgml:
8054 eliminate another tmpl file, fix spelling in the long-description
8056 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8058 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8059 (test_event), (timediff), (gstevents_suite):
8060 Should fix build on 64-bit arch's
8062 2005-08-18 Andy Wingo <wingo@pobox.com>
8064 Make sure that when a pipeline goes to PLAYING, that data has
8065 actually hit the sink.
8067 * check/states/sinks.c (test_sink): A sink that doesn't get any
8068 data shouldn't return SUCCESS for going to either PLAYING or
8069 PAUSED. Test also the return values on the way back down.
8071 * gst/gstelement.c (gst_element_set_state): When changing the
8072 state of an element currently changing state asynchronously, go to
8073 lost-state after commiting the pending state. Makes future calls
8074 to get_state continue to return ASYNC.
8076 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8077 ASYNC when going to PLAYING if we still don't have preroll, as can
8078 happen with live sources.
8080 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8082 * docs/pwg/advanced-types.xml:
8083 Hack long paragraph into 2 chunks as a workaround for buggy
8084 jadetex version in sid and breezy that loops infinitely and
8087 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8089 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8090 (test_event), (timediff), (gstevents_suite):
8091 Provide more error margin in clock measurements to allow for
8092 g_get_current_time inaccuracies.
8094 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8096 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8097 (test_event), (timediff), (gstevents_suite):
8098 Fix error message output so I might be able to tell why the
8099 test works here but fails on the build farm.
8101 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8103 * check/Makefile.am:
8104 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8105 (test_event), (timediff), (gstevents_suite), (main):
8108 * docs/design/part-seeking.txt:
8111 * docs/gst/tmpl/gstevent.sgml:
8112 * docs/gst/tmpl/gstfakesrc.sgml:
8115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8116 Treat a buffer-without-newsegment the same as a receiving
8117 a newsegment not in time format, and disable syncing to the clock
8120 * gst/gstbus.c: (gst_bus_set_sync_handler):
8121 Assert if anyone tries to replace the existing sync_handler for bus,
8122 as only the owner should be setting it.
8125 Have a fixed set of custom event enums with events identified by
8126 their structure name (as in 0.8), rather than a free-for-all
8127 allowing collisions between enum values from different plugins.
8129 * gst/gstpad.c: (gst_pad_class_init):
8132 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8133 Handle out-of-band downstream events from the sending thread.
8135 2005-08-17 Andy Wingo <wingo@pobox.com>
8137 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8138 play-timeout==0 to mean no timeout at all. In that case, don't
8139 bother with a get_state or a warning, just return directly, even
8142 * gst/base/gstbasetransform.c: Debug changes.
8145 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8146 ensure bins post state change messages. A bit of a hack but I can't
8147 think of a way to avoid it.
8149 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8151 2005-08-16 Andy Wingo <wingo@pobox.com>
8153 * gst/base/gstadapter.h:
8154 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8155 peek() but you own the data. Not terribly efficient atm.
8157 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8159 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8160 (gst_element_found_tags):
8162 Add two utility functions for tag handling.
8164 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8166 * docs/manual/advanced-dataaccess.xml:
8167 * docs/manual/basics-helloworld.xml:
8168 Fix docs to use _bin_add() before _link(), which fixes the examples
8169 with recent core versions (reported by Madhan Raj M
8170 <raj_madan@rediffmail.com>, #313199).
8172 2005-08-16 Wim Taymans <wim@fluendo.com>
8174 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8175 Added subtract checks.
8177 * docs/design/part-events.txt:
8178 Some more docs about newsegment
8180 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8183 * gst/gstcaps.c: (gst_caps_to_string):
8184 Add comments, cleanups.
8186 * gst/gstelement.c: (gst_element_save_thyself):
8189 * gst/gstvalue.c: (gst_value_collect_int_range),
8190 (gst_string_unwrap), (gst_value_union_int_int_range),
8191 (gst_value_union_int_range_int_range),
8192 (gst_value_intersect_int_int_range),
8193 (gst_value_intersect_int_range_int_range),
8194 (gst_value_intersect_double_double_range),
8195 (gst_value_intersect_double_range_double_range),
8196 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8197 (gst_value_subtract_int_range_int),
8198 (gst_value_subtract_double_range_double),
8199 (gst_value_subtract_double_range_double_range),
8200 (gst_value_subtract_from_list), (gst_value_subtract_list),
8201 (gst_value_can_compare), (gst_value_compare_fraction):
8202 Cleanups, add comments, remove unneeded asserts.
8204 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8206 * tools/gst-launch.c: (event_loop):
8207 don't convert NULL structures to strings
8209 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8211 * docs/gst/gstreamer-sections.txt:
8212 made some defines private
8213 * docs/gst/tmpl/gstconfig.sgml:
8214 * docs/gst/tmpl/gstqueue.sgml:
8215 * docs/gst/tmpl/gsttaglist.sgml:
8216 * docs/gst/tmpl/gsttypes.sgml:
8217 * docs/gst/tmpl/gstutils.sgml:
8218 * docs/pwg/appendix-porting.xml:
8219 * gst/base/gstbasesink.h:
8220 * gst/base/gstbasesrc.c:
8221 * gst/base/gstbasesrc.h:
8222 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8223 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8224 * gst/gstelement.c: (gst_element_class_init):
8225 * gst/gstpad.c: (gst_pad_class_init):
8226 * gst/gstqueue.c: (gst_queue_class_init):
8227 * gst/gstxml.c: (gst_xml_class_init):
8228 documented all undocumented signal inline
8229 * libs/gst/controller/gst-controller.h:
8232 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8234 * docs/pwg/appendix-porting.xml:
8235 Document _set_link_function -> _set_setcaps_function.
8237 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8239 * check/Makefile.am:
8240 add a .check target for running the check
8241 * check/gst-libs/controller.c: (GST_START_TEST):
8243 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8244 complete checks for gstbuffer; would be nice if I could get the
8245 gcov stuff to work so I can see if I actually completed gstbuffer.c
8247 add ASSERT_BUFFER_REFCOUNT
8249 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8251 * docs/gst/gstreamer-sections.txt:
8252 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8254 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8255 spew out a warning if a tag that is already registered
8256 is re-registered, unless it is re-registered with a
8257 different type (#308438).
8259 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8261 * docs/pwg/appendix-porting.xml:
8262 * docs/pwg/building-state.xml:
8263 Add some paragraphs about state changes in 0.9 to the PWG
8264 and the porting guide, in particular about the new meaning
8265 of GST_STATE_PAUSED and how to write state change functions
8266 with concurrent access by multiple threads in mind.
8268 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8270 * docs/gst/gstreamer-docs.sgml:
8271 * docs/libs/gstreamer-libs-docs.sgml:
8272 added deprecation and since indexes
8273 * libs/gst/controller/gst-controller.c:
8274 * libs/gst/controller/gst-helper.c:
8278 2005-08-11 Wim Taymans <wim@fluendo.com>
8280 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8281 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8282 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8283 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8284 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8285 (gst_ghost_pad_set_target):
8286 Actually implement (re)setting the target on a ghostpad
8287 as described in the docs.
8289 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8291 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8292 Check whether GST_DEBUG_NO_COLOR environment variable is
8293 set and disable coloured debug output if that is the case.
8295 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8297 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8298 (gst_type_find_helper):
8299 The memory returned by gst_type_find_peek() needs to
8300 stay valid until the end of a typefind function, and
8301 typefind functions may keep results from different
8302 offsets around, so we can't just unref the buffer from
8303 the previous _peek(), but have to save all buffers
8304 returned by _peek() until typefinding is done and only
8307 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8309 * docs/gst/gstreamer-sections.txt:
8311 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8313 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8315 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8316 Fix a pretty good memleak.
8318 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8320 * gst/gstiterator.h:
8321 Fix wrong include and 'make distcheck'.
8323 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8325 * gst/gstbin.c: (bin_bus_handler):
8326 Use gst_element_post_message() instead.
8328 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8330 * gst/base/gstadapter.h:
8331 * gst/base/gstbasesink.h:
8332 * gst/base/gstbasesrc.h:
8333 * gst/base/gstbasetransform.h:
8334 * gst/base/gstcollectpads.h:
8335 * gst/base/gstpushsrc.h:
8336 * gst/gstiterator.h:
8337 Add padding to our base elements' class and instance structs and
8338 to GstIterator (you will need to rebuild all plugins and apps!)
8340 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8342 * gst/gstbin.c: (bin_bus_handler):
8343 Make default message forwarding from child->bus to bin->bus
8344 threadsafe and make it not emit warnings if the parent has no bus.
8346 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8348 * gst/gstelement.c: (activate_pads):
8349 On paused->ready, set pad->caps to NULL, as is the documented
8350 behaviour in this state change. Fixes playback of series of
8351 media files when visualization is enabled in Totem.
8353 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8355 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8356 Allow NULL as filter-caps (which means "any").
8358 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8360 * docs/libs/gstreamer-libs-sections.txt:
8361 * libs/gst/controller/gst-controller.c:
8362 * libs/gst/controller/gst-controller.h:
8363 * libs/gst/controller/gst-helper.c:
8364 adding more entries to the docs and fix small doc-bugs
8366 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8368 * docs/gst/gstreamer-docs.sgml:
8369 * docs/gst/gstreamer-sections.txt:
8370 * docs/gst/gstreamer.types:
8371 * docs/gst/tmpl/gstbasesink.sgml:
8372 * docs/gst/tmpl/gstbasesrc.sgml:
8373 * docs/gst/tmpl/gstbasetransform.sgml:
8374 * docs/gst/tmpl/gstfakesrc.sgml:
8375 * gst/base/gstcollectpads.c:
8376 * gst/base/gstcollectpads.h:
8377 * libs/gst/controller/gst-controller.c:
8378 * libs/gst/controller/gst-controller.h:
8379 * libs/gst/controller/gst-helper.c:
8380 * libs/gst/controller/gst-interpolation.c:
8381 * libs/gst/controller/lib.c:
8382 added long/short desc for controller docs
8383 added collectpads base class docs
8384 added correct includes to base-class docs
8386 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8388 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8389 (gst_test_mono_source_set_property),
8390 (gst_test_mono_source_class_init), (GST_START_TEST),
8391 (gst_controller_suite):
8392 * docs/gst/gstreamer-docs.sgml:
8393 * docs/gst/gstreamer-sections.txt:
8394 * docs/gst/gstreamer.types:
8395 * docs/libs/gstreamer-libs-docs.sgml:
8396 * docs/libs/gstreamer-libs-sections.txt:
8397 * gst/base/gstadapter.c:
8398 * libs/gst/controller/gst-controller.c:
8399 (gst_controlled_property_new), (gst_controlled_property_free),
8400 (gst_controller_new_valist),
8401 (gst_controller_remove_properties_valist),
8402 (gst_controller_sink_values), (_gst_controller_finalize):
8403 * libs/gst/controller/gst-controller.h:
8404 * libs/gst/controller/gst-helper.c:
8405 (gst_object_control_properties), (gst_object_uncontrol_properties),
8406 (gst_object_get_controller), (gst_object_set_controller),
8407 (gst_object_sink_values), (gst_object_get_value_arrays),
8408 (gst_object_get_value_array):
8409 more tests (and fixes) for the controller
8410 more docs for the controller
8411 integrated companies docs for the adapter
8413 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8415 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8416 (GST_START_TEST), (fakesrc_suite):
8417 add tests for sizetype
8419 2005-08-04 Andy Wingo <wingo@pobox.com>
8421 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8422 fixes buffer_alloc proxying among other things.
8424 * gst/base/gstbasetransform.c:
8425 * gst/base/gstbasetransform.h:
8426 Revert patch to gstbasetransform from 7-28 removing
8429 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8430 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8431 Semantics changed, should return not the size of the output buffer
8432 but the byte size of a buffer with a given caps.
8434 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8436 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8437 out) are not the pad caps until setcaps finishes.
8438 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8439 not-in-place case as well. Deal with changing from in-place to
8440 not-in-place within calling pad_alloc_buffer. Still a bit
8441 concerned about the overhead here...
8443 2005-08-03 Andy Wingo <wingo@pobox.com>
8445 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8446 fixating is an error.
8448 2005-08-04 Edward Hervey <edward@fluendo.com>
8450 * gst/base/gstadapter.h:
8451 Added gst_adapter_get_type() to the header
8453 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8455 * check/Makefile.am:
8456 * check/gst-libs/controller.c:
8457 * libs/gst/controller/gst-controller.c:
8458 (gst_controller_new_valist):
8459 added check test suite for the controller
8460 * gst/base/gstpushsrc.c:
8463 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8465 * docs/gst/Makefile.am:
8466 * docs/gst/gstreamer-docs.sgml:
8467 * docs/gst/gstreamer-sections.txt:
8468 * docs/gst/gstreamer.types:
8469 * docs/gst/tmpl/gstfakesrc.sgml:
8471 * gst/base/gstbasesink.c:
8472 * gst/base/gstbasesink.h:
8473 * gst/base/gstbasesrc.c:
8474 * gst/base/gstbasesrc.h:
8475 * gst/base/gstbasetransform.c:
8476 * gst/base/gstpushsrc.c:
8477 * gst/base/gstpushsrc.h:
8478 add short/long description docs to base classes
8479 add pushsrc to the docs
8480 remove consolidated doc fragments
8482 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8485 * docs/libs/Makefile.am:
8486 * docs/libs/gstreamer-libs-docs.sgml:
8487 * docs/libs/gstreamer-libs-sections.txt:
8488 * docs/libs/gstreamer-libs.types:
8489 * examples/Makefile.am:
8490 * examples/controller/.cvsignore:
8491 * examples/controller/Makefile.am:
8492 * examples/controller/audio-example.c: (main):
8493 * libs/gst/Makefile.am:
8494 * libs/gst/controller/.cvsignore:
8495 * libs/gst/controller/Makefile.am:
8496 * libs/gst/controller/gst-controller.c:
8497 (on_object_controlled_property_changed), (gst_timed_value_compare),
8498 (gst_timed_value_find),
8499 (gst_controlled_property_set_interpolation_mode),
8500 (gst_controlled_property_new), (gst_controlled_property_free),
8501 (gst_controller_find_controlled_property),
8502 (gst_controller_new_valist), (gst_controller_new),
8503 (gst_controller_remove_properties_valist),
8504 (gst_controller_remove_properties), (gst_controller_set),
8505 (gst_controller_set_from_list), (gst_controller_unset),
8506 (gst_controller_get), (gst_controller_get_all),
8507 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8508 (gst_controller_get_value_array),
8509 (gst_controller_set_interpolation_mode),
8510 (_gst_controller_finalize), (_gst_controller_init),
8511 (_gst_controller_class_init), (gst_controller_get_type):
8512 * libs/gst/controller/gst-controller.h:
8513 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8514 (g_object_uncontrol_properties), (g_object_get_controller),
8515 (g_object_set_controller), (g_object_sink_values),
8516 (g_object_get_value_arrays), (g_object_get_value_array):
8517 * libs/gst/controller/gst-interpolation.c:
8518 (gst_controlled_property_find_timed_value_node),
8519 (interpolate_none_get), (interpolate_trigger_get),
8520 (interpolate_trigger_get_value_array):
8521 * libs/gst/controller/lib.c: (gst_controller_init):
8522 * pkgconfig/Makefile.am:
8523 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8524 * pkgconfig/gstreamer-control.pc.in:
8525 * testsuite/Makefile.am:
8526 * testsuite/controller/.cvsignore:
8527 * testsuite/controller/Makefile.am:
8528 * testsuite/controller/interpolator.c: (main):
8529 added controller code
8530 removed dparam pc files
8532 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8533 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8534 (gst_collectpads_stop):
8535 Broadcast the condition when shutting down, to make sure we wake all
8536 threads up. Shut down pads on finalize, for safety.
8538 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8539 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8540 (gst_base_transform_handle_buffer),
8541 (gst_base_transform_change_state):
8542 Handle PAUSED->READY->PAUSED transition after negotiation
8544 * gst/gstmessage.c: (gst_message_init):
8545 Extra piece of debug for new messages.
8547 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8550 * docs/gst/tmpl/gstbasesrc.sgml:
8551 * docs/gst/tmpl/gstelement.sgml:
8552 * docs/gst/tmpl/gstevent.sgml:
8553 * docs/gst/tmpl/gstfakesrc.sgml:
8554 * docs/gst/tmpl/gstformat.sgml:
8555 * docs/gst/tmpl/gstghostpad.sgml:
8556 * docs/gst/tmpl/gstpad.sgml:
8557 * docs/gst/tmpl/gstquery.sgml:
8558 * docs/gst/tmpl/gststructure.sgml:
8559 * docs/gst/tmpl/gsttaglist.sgml:
8560 * docs/gst/tmpl/gstvalue.sgml:
8561 * docs/libs/gstreamer-libs-docs.sgml:
8562 * docs/libs/gstreamer-libs-sections.txt:
8563 * docs/libs/gstreamer-libs.types:
8564 * libs/gst/Makefile.am:
8565 * libs/gst/control/.cvsignore:
8566 * libs/gst/control/Makefile.am:
8567 * libs/gst/control/control.c:
8568 * libs/gst/control/control.h:
8569 * libs/gst/control/dparam.c:
8570 * libs/gst/control/dparam.h:
8571 * libs/gst/control/dparam_smooth.c:
8572 * libs/gst/control/dparam_smooth.h:
8573 * libs/gst/control/dparamcommon.h:
8574 * libs/gst/control/dparammanager.c:
8575 * libs/gst/control/dparammanager.h:
8576 * libs/gst/control/dplinearinterp.c:
8577 * libs/gst/control/dplinearinterp.h:
8578 * libs/gst/control/unitconvert.c:
8579 * libs/gst/control/unitconvert.h:
8580 * testsuite/Makefile.am:
8581 * testsuite/dynparams/.cvsignore:
8582 * testsuite/dynparams/Makefile.am:
8583 * testsuite/dynparams/dparamstest.c:
8584 * tools/Makefile.am:
8585 * tools/gst-inspect.c: (print_element_info), (main):
8586 * tools/gst-xmlinspect.c: (print_element_info), (main):
8587 deactivate and remove dparams (libgstcontrol)
8589 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8591 * gst/elements/gsttypefindelement.c:
8592 (gst_type_find_element_have_type), (gst_type_find_element_init),
8593 (stop_typefinding), (gst_type_find_element_handle_event),
8594 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8595 * gst/elements/gsttypefindelement.h:
8596 Set caps on all outgoing buffers, not just the first one.
8598 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8600 * gst/elements/gsttypefindelement.c:
8601 (gst_type_find_element_have_type),
8602 (gst_type_find_element_check_set_buffer_caps),
8603 (gst_type_find_element_init), (stop_typefinding),
8604 (gst_type_find_element_handle_event),
8605 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8606 * gst/elements/gsttypefindelement.h:
8607 Set caps on first outgoing buffer when we've found the type.
8609 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8611 * docs/gst/gstreamer-docs.sgml:
8612 * docs/gst/gstreamer-sections.txt:
8613 * docs/gst/tmpl/gstscheduler.sgml:
8614 * docs/gst/tmpl/gstschedulerfactory.sgml:
8615 Remove some old cruft from docs.
8617 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8620 Fix inline docs for GstPadLinkReturn.
8622 * gst/gststructure.c: (gst_structure_has_name):
8623 * gst/gststructure.h:
8624 * docs/gst/gstreamer-sections.txt:
8625 New API: gst_structure_has_name().
8627 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8630 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8631 and _LARGEFILE_SOURCE in config.h as required. Do not
8632 export those flags in our .pc files any longer (#142209).
8634 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8636 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8637 (gst_file_sink_do_seek), (gst_file_sink_event),
8638 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8639 Redo seek/tell calls with large file support in mind; add some
8640 debugging messages; add log message that tells us when large
8641 file support is unavailable or not enabled for some reason.
8643 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8644 Add log message that tells us when large file support
8645 is unavailable or not enabled for some reason.
8647 2005-07-29 Wim Taymans <wim@fluendo.com>
8649 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8650 Added test for removing an element with ghostpad from a bin.
8651 Fixed test as current implementation does the right thing.
8653 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8654 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8655 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8656 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8657 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8658 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8659 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8660 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8661 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8662 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8663 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8664 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8665 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8666 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8667 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8668 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8669 * gst/gstghostpad.h:
8670 Clean up ghostpads, remove properties for internal stuff.
8673 Prepare for switching targets, not all use cases work yet.
8675 2005-07-29 Wim Taymans <wim@fluendo.com>
8677 * docs/design/part-gstghostpad.txt:
8680 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8681 (gst_bin_remove_func):
8682 Unlinking pads while holding the bin LOCK is not a good
8685 * gst/gstpad.c: (gst_pad_class_init),
8686 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8687 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8688 No prob setting template after creating the pad.
8690 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8692 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8693 (gst_bus_peek), (gst_bus_source_dispatch),
8694 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8695 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8696 gst_bus_poll may be called from other threads. Handle
8697 this nicely by not making poll_data disappear off the
8698 stack once gst_bus_poll returns.
8699 gst_bus_peek now increments the refcount on the returned
8702 2005-07-29 Wim Taymans <wim@fluendo.com>
8704 * docs/design/part-gstghostpad.txt:
8705 Overview of current GhostPad datastructures and use
8706 cases for changing the target.
8708 2005-07-28 Wim Taymans <wim@fluendo.com>
8710 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8711 Added checks for hierarchy consistency whan adding linked
8714 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8715 Added check to test element scheduling without bin/pipeline.
8717 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8718 First add elements to bin, then link.
8720 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8721 (gst_bin_remove_func):
8722 Unlink pads from elements added/removed from bin to maintain
8723 hierarchy consistency.
8725 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8727 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8728 (gst_base_transform_handle_buffer):
8729 * gst/base/gstbasetransform.h:
8730 Remove broken delay_configure (fixes renegotiation of software
8731 scaling pipelines); remove some leftover printf()s.
8733 2005-07-28 Wim Taymans <wim@fluendo.com>
8735 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8736 Added some more tests for wrong hierarchy
8738 * docs/design/part-overview.txt:
8741 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8744 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8745 (gst_element_dispose):
8748 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8749 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8750 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8751 (gst_pad_set_caps), (gst_pad_send_event):
8752 Check for correct hierarchy when linking pads. Moving to
8753 strict requirement for ghostpads when linking elements in
8757 Clean ups. Added WRONG_HIERARCHY return value.
8759 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8761 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8762 Better debug if no transform is possible.
8764 2005-07-27 Wim Taymans <wim@fluendo.com>
8766 * docs/random/wtay/network-transp:
8769 2005-07-27 Wim Taymans <wim@fluendo.com>
8771 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8772 (gst_dp_event_from_packet):
8773 Fix serialization of seek events.
8775 2005-07-27 Wim Taymans <wim@fluendo.com>
8777 * check/gst-libs/gdp.c: (GST_START_TEST):
8778 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8779 Fix compilation and fix event serialization.
8781 2005-07-27 Wim Taymans <wim@fluendo.com>
8784 * docs/design/part-TODO.txt:
8785 * docs/design/part-events.txt:
8788 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8789 (gst_base_sink_event), (gst_base_sink_do_sync),
8790 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8791 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8792 (gst_base_src_do_seek), (gst_base_src_event_handler),
8793 (gst_base_src_loop):
8794 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8795 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8796 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8797 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8798 (gst_base_transform_set_passthrough),
8799 (gst_base_transform_is_passthrough):
8800 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8801 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8807 * gst/gstelement.c: (gst_element_seek):
8809 Update gst_element_seek.
8811 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8812 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8813 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8814 (gst_event_new_eos), (gst_event_new_newsegment),
8815 (gst_event_parse_newsegment), (gst_event_new_tag),
8816 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8817 (gst_event_parse_qos), (gst_event_new_seek),
8818 (gst_event_parse_seek), (gst_event_new_navigation):
8820 Make GstEvent use GstStructure. Add parsing code, make sure the
8821 API is sufficiently generic.
8822 Mark possible directions of events and serialization.
8824 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8825 (_gst_message_copy), (gst_message_new_segment_start),
8826 (gst_message_new_segment_done), (gst_message_new_custom),
8827 (gst_message_parse_segment_start),
8828 (gst_message_parse_segment_done):
8831 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8832 (gst_pad_set_caps), (gst_pad_send_event):
8833 Update for new events.
8834 Catch events sent in wrong directions.
8836 * gst/gstqueue.c: (gst_queue_link_src),
8837 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8838 (gst_queue_handle_src_query):
8843 Remove event code from this file.
8845 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8846 (gst_dp_event_from_packet):
8849 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8851 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8852 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8853 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8854 Make debugging actually useful.
8856 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8858 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8859 (gst_pad_fixate_caps):
8860 Implement default fixation once again, so that gst_pad_fixate()
8861 actually does anything at all. This probably needs to be some
8862 sort of a last resort, and use profile-based fixation first, but
8863 since that doesn't exist yet, this is the best we have. Fixes
8864 visualization in Totem.
8866 2005-07-22 Wim Taymans <wim@fluendo.com>
8868 * docs/design/part-events.txt:
8871 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8872 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8873 (gst_base_sink_activate_pull):
8876 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8877 (gst_fake_src_create):
8878 Fix handoff marshall.
8880 * gst/elements/gstidentity.c: (gst_identity_class_init),
8881 (gst_identity_transform_ip):
8882 We're a real inplace element.
8884 * gst/gstbus.c: (gst_bus_post):
8885 Added some comments.
8887 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8888 * tests/muxing/case1.c: (main):
8889 * tests/sched/dynamic-pipeline.c: (main):
8890 * tests/sched/interrupt1.c: (main):
8891 * tests/sched/interrupt2.c: (main):
8892 * tests/sched/interrupt3.c: (main):
8893 * tests/sched/runxml.c: (main):
8894 * tests/sched/sched-stress.c: (main):
8895 * tests/seeking/seeking1.c: (event_received), (main):
8896 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8898 * tests/threadstate/threadstate3.c: (main):
8899 * tests/threadstate/threadstate4.c: (main):
8900 * tests/threadstate/threadstate5.c: (main):
8903 2005-07-21 Wim Taymans <wim@fluendo.com>
8905 * docs/design/part-seeking.txt:
8906 Some small additions.
8908 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8909 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8910 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8911 * gst/base/gstbasesink.h:
8912 discont values are gint64, handle the math correctly.
8914 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8915 Make the basesrc report error if the source pad is not linked.
8917 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8918 (gst_queue_loop), (gst_queue_handle_src_query),
8919 (gst_queue_src_activate_push):
8920 Make queue collect data even if the srcpad is not linked.
8921 Start pushing out data as soon as it is linked.
8923 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8925 Added gst_flow_get_name() to ease error reporting.
8927 2005-07-20 Wim Taymans <wim@fluendo.com>
8929 * gst/gstmessage.c: (gst_message_new_segment_start),
8930 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8931 (gst_message_parse_segment_done):
8933 Added a bunch of messages for advanced seeking.
8935 * gst/parse/grammar.y:
8936 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8937 (gst_dpman_state_changed):
8938 Fix some new-pad -> pad-added signals
8940 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8942 * docs/manual/appendix-porting.xml:
8943 * docs/pwg/appendix-porting.xml:
8944 Document new-pad/state-change signal renames and the FixedList
8947 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8949 * docs/manual/advanced-autoplugging.xml:
8950 * docs/manual/basics-helloworld.xml:
8951 * docs/manual/basics-pads.xml:
8952 * docs/random/ds/0.9-suggested-changes:
8953 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8958 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8959 (gst_structure_parse_array), (gst_structure_parse_value):
8960 * gst/gstvalue.c: (gst_type_is_fixed),
8961 (gst_value_list_prepend_value), (gst_value_list_append_value),
8962 (gst_value_list_get_size), (gst_value_list_get_value),
8963 (gst_value_transform_array_string), (gst_value_serialize_array),
8964 (gst_value_deserialize_array), (gst_value_intersect_array),
8965 (gst_value_is_fixed), (_gst_value_initialize):
8967 GstElement::new-pad -> pad-added, GstElement::state-change ->
8968 state-changed, GstValueFixedList -> GstValueArray, add format and
8969 flags as their own arguments in gst_element_seek() (should improve
8970 "bindeability"), remove function generators since they don't work
8971 under a whole bunch of compilers (they were deprecated already
8974 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8976 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8977 (_gst_debug_register_funcptr):
8979 Fix illegal cast on some platforms (#309253).
8981 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8983 * gst/gstmessage.c: (gst_message_new_custom):
8985 Add _new_custom, make _new_application a macro to _new_custom.
8987 2005-07-20 Wim Taymans <wim@fluendo.com>
8989 * gst/base/gstbasesrc.c: (gst_base_src_init),
8990 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8991 * gst/base/gstbasesrc.h:
8992 Add a gboolean to decide when to push out a discont.
8994 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8995 (gst_queue_loop), (gst_queue_handle_src_query),
8996 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8997 (gst_queue_set_property), (gst_queue_get_property):
9000 * tests/threadstate/threadstate1.c: (main):
9001 Make a thread test compile and run... very silly..
9004 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9006 * docs/manual/appendix-porting.xml:
9007 Mention removal of libgstgconf-0.9.la and existence of gconf
9010 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9012 * docs/pwg/advanced-clock.xml:
9013 * docs/pwg/appendix-porting.xml:
9014 * docs/pwg/intro-preface.xml:
9015 * docs/pwg/other-base.xml:
9016 * docs/pwg/other-manager.xml:
9017 * docs/pwg/other-nton.xml:
9018 * docs/pwg/other-ntoone.xml:
9019 * docs/pwg/other-oneton.xml:
9021 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9022 demuxer), remove n-to-n (was never written), fix some code examples
9023 and links and update the porting section to include all this.
9025 2005-07-19 Wim Taymans <wim@fluendo.com>
9027 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9028 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9029 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9030 (gst_queue_src_activate_push), (gst_queue_change_state),
9031 (gst_queue_get_property):
9033 Propagate GstFlowReturn more intelligently upstream and output
9034 an ERROR/EOS when streaming stopped due to fatal error.
9036 2005-07-19 Wim Taymans <wim@fluendo.com>
9038 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9039 Don't block forever for the state change to complete, the
9040 pipeline already did with a sensible timeout.
9042 2005-07-19 Wim Taymans <wim@fluendo.com>
9044 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9045 Make sure we never call the create function is we
9048 2005-07-19 Andy Wingo <wingo@pobox.com>
9050 * gst/parse/parse.l: Attempt to solve bug #172815.
9052 2005-07-19 Wim Taymans <wim@fluendo.com>
9054 * docs/design/part-clocks.txt:
9055 * docs/design/part-events.txt:
9056 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9058 Only update the seeking values when we are not
9061 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9063 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9064 Oops, ignore the result of gst_pad_push_event here.
9066 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9068 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9069 (gst_base_src_activate_push):
9070 Send discont event from the loop function, as pads
9071 aren't activated yet in the activate_push handler.
9073 * gst/gstbin.c: (bin_bus_handler):
9074 Don't leak element name.
9076 2005-07-18 Andy Wingo <wingo@pobox.com>
9078 * configure.ac: Use AS_LIBTOOL_TAGS.
9080 2005-07-18 Wim Taymans <wim@fluendo.com>
9082 * docs/gst/gstreamer.types:
9083 Remove deleted types.
9085 2005-07-18 Wim Taymans <wim@fluendo.com>
9087 * check/elements/gstfakesrc.c: (GST_START_TEST):
9090 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9091 (init_popt_callback):
9093 * gst/gst_private.h:
9094 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9095 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9098 * gst/gstconfig.h.in:
9099 * gst/gstelement.c: (gst_element_class_init),
9100 (gst_element_set_base_time), (gst_element_get_base_time),
9101 (iterator_fold_with_resync), (gst_element_change_state),
9102 (gst_element_dispose), (gst_element_get_bus):
9104 * gst/gstelementfactory.h:
9105 * gst/gsterror.c: (_gst_core_errors_init):
9108 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9110 * gst/gstinfo.c: (_gst_debug_init):
9111 * gst/gstmessage.c: (_gst_message_copy):
9113 * gst/gstminiobject.h:
9116 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9117 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9120 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9121 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9122 (gst_pipeline_get_last_stream_time):
9123 * gst/gstpipeline.h:
9124 * gst/gstpluginfeature.h:
9126 * gst/gstscheduler.c:
9127 * gst/gstscheduler.h:
9128 * gst/gststructure.h:
9129 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9130 (gst_task_finalize), (gst_task_func), (gst_task_create),
9131 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9132 (gst_task_stop), (gst_task_pause):
9134 * gst/gsttypefind.h:
9136 * gst/registries/gstlibxmlregistry.c: (load_feature),
9137 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9138 * gst/registries/gstxmlregistry.c:
9139 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9140 * gst/schedulers/threadscheduler.c:
9141 * libs/gst/control/dparammanager.h:
9142 * tools/gst-inspect.c: (print_element_list),
9143 (print_plugin_features), (print_element_features):
9144 * tools/gst-xmlinspect.c: (print_element_list),
9145 (print_plugin_info), (main):
9146 Removed plugable schedulers.
9147 Removed Scheduler/Manager from elements.
9148 Removed gsttypes.h, rearranged includes.
9149 Removed dependency pad<->element, element<>pipeline, and
9150 various others, fix includes.
9151 implement gst_pad_get_parent() with gst_object_get_parent()
9152 Make GstTask sefcontained.
9153 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9155 Fix endless loop in iterator_fold_with_resync.
9158 2005-07-18 Wim Taymans <wim@fluendo.com>
9164 2005-07-18 Wim Taymans <wim@fluendo.com>
9169 2005-07-18 Wim Taymans <wim@fluendo.com>
9175 2005-07-18 Wim Taymans <wim@fluendo.com>
9177 * docs/design/part-dynamic.txt:
9178 * docs/design/part-events.txt:
9179 * docs/design/part-seeking.txt:
9180 Some more docs in the works.
9182 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9183 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9184 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9185 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9186 (gst_base_transform_handle_buffer),
9187 (gst_base_transform_sink_activate_push),
9188 (gst_base_transform_src_activate_pull),
9189 (gst_base_transform_set_passthrough),
9190 (gst_base_transform_is_passthrough):
9193 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9196 * gst/gstevent.c: (gst_event_finalize):
9199 * gst/gstutils.c: (gst_element_unlink),
9200 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9201 (gst_pad_proxy_setcaps):
9203 Add _get_parent_element() to get a pads parent as an element.
9205 2005-07-18 Wim Taymans <wim@fluendo.com>
9207 * check/gst/gstbin.c: (GST_START_TEST):
9210 2005-07-18 Wim Taymans <wim@fluendo.com>
9212 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9213 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9214 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9215 (gst_base_sink_event), (gst_base_sink_do_sync),
9216 (gst_base_sink_chain), (gst_base_sink_loop),
9217 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9218 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9220 Fix logic for returning ASYNC when not prerolled.
9222 2005-07-18 Wim Taymans <wim@fluendo.com>
9224 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9225 Fix nasty refcount bug.
9227 2005-07-16 Philippe Khalaf <burger@speedy.org>
9229 * gst/elements/gstfdsrc.c:
9230 * gst/elements/gstfdsrc.h:
9231 * gst/elements/gstelements.c:
9232 * gst/elements/Makefile.am:
9233 Ported fdsrc to 0.9.
9235 2005-07-16 Wim Taymans <wim@fluendo.com>
9237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9238 (gst_base_sink_do_sync):
9241 2005-07-16 Wim Taymans <wim@fluendo.com>
9243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9244 (gst_base_sink_event), (gst_base_sink_get_times),
9245 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9246 * gst/base/gstbasesink.h:
9247 Store and use discont values when syncing buffers as described
9250 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9251 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9252 (gst_base_src_activate_push):
9253 Push discont event when starting.
9255 * gst/elements/gstidentity.c: (gst_identity_transform):
9258 * gst/gstbin.c: (gst_bin_change_state):
9259 Small cleanups in base_time distribution.
9261 * gst/gstelement.c: (gst_element_set_base_time),
9262 (gst_element_get_base_time), (gst_element_change_state):
9264 Added methods for the base_time of the element.
9267 * gst/gstpipeline.c: (gst_pipeline_send_event),
9268 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9269 (gst_pipeline_get_last_stream_time):
9270 * gst/gstpipeline.h:
9272 Handle seeking as described in design doc, remove stream_time
9274 Cleanups clock and stream_time selection code. Added accessors
9275 for the stream_time.
9278 2005-07-16 Andy Wingo <wingo@pobox.com>
9280 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9283 2005-07-16 Wim Taymans <wim@fluendo.com>
9285 * check/gst/gstbin.c: (GST_START_TEST):
9286 Make elements silent as the deep_notify refs the
9287 parent, which might make the test fail.
9289 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9290 Don't hold the lock for too long.
9292 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9294 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9295 Don't unref the caps we passed to gst_caps_make_writable() after
9296 passing them. gst_caps_make_writable() will do that for us.
9298 2005-07-15 Andy Wingo <wingo@pobox.com>
9300 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9303 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9304 own marshalling function for the handoff signal. Properly type the
9305 buffer as a buffer. Fixes some warnings. Should do a more general
9307 (gst_identity_class_init): Plug into the right marshaller.
9309 2005-07-15 Wim Taymans <wim@fluendo.com>
9311 * docs/design/part-TODO.txt:
9312 * docs/design/part-clocks.txt:
9313 * docs/design/part-element-sink.txt:
9314 * docs/design/part-events.txt:
9315 * docs/design/part-gstpipeline.txt:
9316 Updated docs, mostly DISCONT related.
9318 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9320 * docs/pwg/building-pads.xml:
9321 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9323 2005-07-15 Andy Wingo <wingo@pobox.com>
9325 * tools/gst-typefind.c: Update, add copyright block.
9327 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9328 Normalize and truncate caps before fixation.
9331 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9332 discards all but the first structure from its argument.
9334 2005-07-15 Wim Taymans <wim@fluendo.com>
9336 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9337 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9338 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9339 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9340 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9341 (gst_base_transform_chain), (gst_base_transform_change_state),
9342 (gst_base_transform_set_passthrough),
9343 (gst_base_transform_is_passthrough):
9344 * gst/base/gstbasetransform.h:
9345 Make passthrough work using the bufferpools.
9346 Changed API a bit, subclasses have to write into a buffer
9347 provided by the base class.
9348 More debug info in nego functions.
9350 * gst/elements/gstidentity.c: (gst_identity_init),
9351 (gst_identity_transform):
9352 Port to new base class.
9354 2005-07-15 Wim Taymans <wim@fluendo.com>
9356 * gst/gstmessage.c: (gst_message_new_state_changed):
9357 * tools/gst-launch.c: (event_loop), (main):
9358 Totally dump messages in -launch with the -m option.
9359 Fix message name for State messages,
9361 2005-07-14 Wim Taymans <wim@fluendo.com>
9363 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9364 Post error messages on errors.
9366 2005-07-14 Wim Taymans <wim@fluendo.com>
9368 * gst/gstcaps.c: (gst_caps_do_simplify):
9372 Define error for stream stopped.
9374 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9375 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9376 Do proper return values.
9378 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9379 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9380 (gst_pad_get_range):
9381 Better return values.
9384 Reorganise return values, add macro to check for fatal errors.
9386 * gst/gstqueue.c: (gst_queue_chain):
9387 Return proper GstFlowReturn values,
9389 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9391 * docs/gst/gstreamer-sections.txt:
9392 * docs/gst/gstreamer.types:
9393 * docs/gst/tmpl/gst.sgml:
9394 * docs/gst/tmpl/gstbasesink.sgml:
9395 * docs/gst/tmpl/gstbasesrc.sgml:
9396 * docs/gst/tmpl/gstbasetransform.sgml:
9397 * docs/gst/tmpl/gstbin.sgml:
9398 * docs/gst/tmpl/gstbuffer.sgml:
9399 * docs/gst/tmpl/gstcaps.sgml:
9400 * docs/gst/tmpl/gstclock.sgml:
9401 * docs/gst/tmpl/gstcompat.sgml:
9402 * docs/gst/tmpl/gstconfig.sgml:
9403 * docs/gst/tmpl/gstelement.sgml:
9404 * docs/gst/tmpl/gstelementdetails.sgml:
9405 * docs/gst/tmpl/gstelementfactory.sgml:
9406 * docs/gst/tmpl/gstenumtypes.sgml:
9407 * docs/gst/tmpl/gsterror.sgml:
9408 * docs/gst/tmpl/gstevent.sgml:
9409 * docs/gst/tmpl/gstfakesink.sgml:
9410 * docs/gst/tmpl/gstfakesrc.sgml:
9411 * docs/gst/tmpl/gstfilesink.sgml:
9412 * docs/gst/tmpl/gstfilesrc.sgml:
9413 * docs/gst/tmpl/gstfilter.sgml:
9414 * docs/gst/tmpl/gstformat.sgml:
9415 * docs/gst/tmpl/gstghostpad.sgml:
9416 * docs/gst/tmpl/gstimplementsinterface.sgml:
9417 * docs/gst/tmpl/gstindex.sgml:
9418 * docs/gst/tmpl/gstindexfactory.sgml:
9419 * docs/gst/tmpl/gstinfo.sgml:
9420 * docs/gst/tmpl/gstiterator.sgml:
9421 * docs/gst/tmpl/gstmacros.sgml:
9422 * docs/gst/tmpl/gstmemchunk.sgml:
9423 * docs/gst/tmpl/gstminiobject.sgml:
9424 * docs/gst/tmpl/gstobject.sgml:
9425 * docs/gst/tmpl/gstpad.sgml:
9426 * docs/gst/tmpl/gstpadtemplate.sgml:
9427 * docs/gst/tmpl/gstparse.sgml:
9428 * docs/gst/tmpl/gstpipeline.sgml:
9429 * docs/gst/tmpl/gstplugin.sgml:
9430 * docs/gst/tmpl/gstpluginfeature.sgml:
9431 * docs/gst/tmpl/gstquery.sgml:
9432 * docs/gst/tmpl/gstqueue.sgml:
9433 * docs/gst/tmpl/gstregistry.sgml:
9434 * docs/gst/tmpl/gstregistrypool.sgml:
9435 * docs/gst/tmpl/gstscheduler.sgml:
9436 * docs/gst/tmpl/gstschedulerfactory.sgml:
9437 * docs/gst/tmpl/gststructure.sgml:
9438 * docs/gst/tmpl/gstsystemclock.sgml:
9439 * docs/gst/tmpl/gsttaglist.sgml:
9440 * docs/gst/tmpl/gsttagsetter.sgml:
9441 * docs/gst/tmpl/gsttrace.sgml:
9442 * docs/gst/tmpl/gsttrashstack.sgml:
9443 * docs/gst/tmpl/gsttypefind.sgml:
9444 * docs/gst/tmpl/gsttypefindfactory.sgml:
9445 * docs/gst/tmpl/gsttypes.sgml:
9446 * docs/gst/tmpl/gsturihandler.sgml:
9447 * docs/gst/tmpl/gsturitype.sgml:
9448 * docs/gst/tmpl/gstutils.sgml:
9449 * docs/gst/tmpl/gstvalue.sgml:
9450 * docs/gst/tmpl/gstversion.sgml:
9451 * docs/gst/tmpl/gstxml.sgml:
9452 * docs/libs/tmpl/gstcontrol.sgml:
9453 * docs/libs/tmpl/gstdataprotocol.sgml:
9454 * docs/libs/tmpl/gstdparam.sgml:
9455 * docs/libs/tmpl/gstdplinint.sgml:
9456 * docs/libs/tmpl/gstdpman.sgml:
9457 * docs/libs/tmpl/gstdpsmooth.sgml:
9458 * docs/libs/tmpl/gstgetbits.sgml:
9459 * docs/libs/tmpl/gstunitconvert.sgml:
9460 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9461 (gst_push_src_base_init), (gst_push_src_class_init),
9462 (gst_push_src_init), (gst_push_src_create):
9463 * gst/base/gstpushsrc.h:
9464 * gst/elements/gstelements.c:
9465 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9466 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9467 (gst_fake_sink_init), (gst_fake_sink_set_property),
9468 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9469 (gst_fake_sink_event), (gst_fake_sink_preroll),
9470 (gst_fake_sink_render), (gst_fake_sink_change_state):
9471 * gst/elements/gstfakesink.h:
9472 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9473 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9474 (gst_fake_src_base_init), (gst_fake_src_class_init),
9475 (gst_fake_src_init), (gst_fake_src_event_handler),
9476 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9477 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9478 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9479 (gst_fake_src_create_buffer), (gst_fake_src_create),
9480 (gst_fake_src_start), (gst_fake_src_stop):
9481 * gst/elements/gstfakesrc.h:
9482 * gst/elements/gstfilesink.c: (_do_init),
9483 (gst_file_sink_base_init), (gst_file_sink_class_init),
9484 (gst_file_sink_init), (gst_file_sink_dispose),
9485 (gst_file_sink_set_location), (gst_file_sink_set_property),
9486 (gst_file_sink_get_property), (gst_file_sink_open_file),
9487 (gst_file_sink_close_file), (gst_file_sink_query),
9488 (gst_file_sink_event), (gst_file_sink_render),
9489 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9490 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9491 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9492 * gst/elements/gstfilesink.h:
9493 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9494 (gst_file_src_class_init), (gst_file_src_init),
9495 (gst_file_src_finalize), (gst_file_src_set_location),
9496 (gst_file_src_set_property), (gst_file_src_get_property),
9497 (gst_file_src_map_region), (gst_file_src_map_small_region),
9498 (gst_file_src_create_mmap), (gst_file_src_create_read),
9499 (gst_file_src_create), (gst_file_src_is_seekable),
9500 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9501 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9502 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9503 (gst_file_src_uri_handler_init):
9504 * gst/elements/gstfilesrc.h:
9505 more autistic cleanliness in functions/names/defines
9507 2005-07-13 Andy Wingo <wingo@pobox.com>
9509 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9510 source couldn't negotiate.
9512 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9516 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9517 function. I am channeling Hades. Put your boots on suckers!!!
9519 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9521 * testsuite/caps/Makefile.am:
9522 * testsuite/caps/value_compare.c:
9523 * testsuite/caps/value_intersect.c:
9524 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9525 move two testsuite apps over to the check dir
9527 2005-07-12 Wim Taymans <wim@fluendo.com>
9529 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9530 Added more debug info in the negotiate process.
9533 Prepare for segment playback.
9535 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9541 * tools/gst-launch.c: (main):
9542 NULL pipeline on errors.
9544 2005-07-12 Andy Wingo <wingo@pobox.com>
9546 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9547 not it comes from a malloc region. Make sure our copy gets freed.
9549 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9551 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9552 * check/gst/gstmessage.c: (GST_START_TEST):
9553 * check/gst/gststructure.c: (GST_START_TEST),
9554 (gst_structure_suite), (main):
9556 * gst/gstelement.c: (gst_element_message_full):
9557 clean up GError and debug string now that they get copied
9558 * gst/gstmessage.c: (gst_message_new_error),
9559 (gst_message_new_warning), (gst_message_parse_error),
9560 (gst_message_parse_warning):
9561 use GST_TYPE_G_ERROR for structure_new, and take copies of
9562 arguments, so that we don't mess up refcounting
9564 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9566 * check/Makefile.am:
9567 add per-test valgrind targets
9568 * check/gst-libs/gdp.c: (GST_START_TEST),
9569 (gst_data_protocol_suite), (main):
9572 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9574 * check/Makefile.am:
9575 instate more valgrindable tests
9576 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9577 (GST_START_TEST), (fakesrc_suite):
9578 * check/gst/gstpad.c: (GST_START_TEST):
9579 * check/gst/gststructure.c: (GST_START_TEST):
9581 * docs/gst/tmpl/gstminiobject.sgml:
9582 * gst/gstpad.c: (gst_pad_finalize):
9583 fix the static mutex leak
9585 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9587 * check/Makefile.am:
9588 add two more tests for valgrinding
9589 * check/gst/gstvalue.c: (GST_START_TEST):
9590 test refcount of deserialized buffer, found a leak
9591 * docs/gst/gstreamer-docs.sgml:
9592 * docs/gst/gstreamer-sections.txt:
9593 * docs/gst/gstreamer.types:
9594 * docs/gst/tmpl/gstminiobject.sgml:
9595 add miniobject to docs
9596 * gst/gstminiobject.c:
9598 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9599 (gst_string_unwrap):
9600 fix a hard-to-find invalid write for one of the tests
9601 fix a leak for deserialized buffers
9603 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9605 * docs/pwg/advanced-events.xml:
9606 * docs/pwg/advanced-request.xml:
9607 * docs/pwg/advanced-scheduling.xml:
9608 * docs/pwg/appendix-porting.xml:
9609 * docs/pwg/building-boiler.xml:
9610 * docs/pwg/intro-preface.xml:
9611 * docs/pwg/other-ntoone.xml:
9612 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9613 of example code and explanation for pad activation, loop() and
9614 getrange() functions and a bit more. Remove old comments pointing
9616 * examples/pwg/Makefile.am:
9617 Add loop/getrange examples.
9619 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9622 check for valgrind binary + some fixes
9624 valgrind suppressions for the tests
9625 * check/Makefile.am:
9626 add a valgrind: target that valgrinds the unit tests
9627 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9628 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9629 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9630 * check/gst/gstghostpad.c:
9632 * check/gst/gstdata.c:
9634 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9635 (thread_unref), (gst_mini_object_suite), (main):
9637 * gst/gst.c: (gst_deinit):
9639 add a method to clean up.
9640 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9641 (gst_system_clock_obtain):
9642 allow for disposing the system clock.
9643 * tools/gst-launch.c: (main):
9646 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9648 * docs/gst/tmpl/gstbasesrc.sgml:
9649 * docs/gst/tmpl/gstfakesrc.sgml:
9650 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9651 (gst_base_src_init), (gst_base_src_set_property),
9652 (gst_base_src_get_property), (gst_base_src_get_range),
9653 (gst_base_src_start):
9654 * gst/base/gstbasesrc.h:
9655 add num-buffers property
9656 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9657 (gst_fakesrc_init), (gst_fakesrc_set_property),
9658 (gst_fakesrc_get_property), (gst_fakesrc_create),
9659 (gst_fakesrc_start):
9660 remove num-buffers property
9662 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9664 * docs/gst/gstreamer-sections.txt:
9665 * docs/gst/tmpl/gstbasesink.sgml:
9666 * docs/gst/tmpl/gstbasesrc.sgml:
9667 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9668 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9669 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9670 (gst_base_sink_set_property), (gst_base_sink_get_property),
9671 (gst_base_sink_handle_object), (gst_base_sink_event),
9672 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9673 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9674 (gst_base_sink_loop), (gst_base_sink_deactivate),
9675 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9676 (gst_base_sink_change_state):
9677 * gst/base/gstbasesink.h:
9678 * gst/base/gstbasesrc.h:
9679 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9680 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9681 (gst_filesink_init):
9682 more macro splitting
9684 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9686 * gst/gstelement.c: (gst_element_get_bus):
9688 * tools/gst-launch.c: (check_intr), (event_loop):
9691 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9693 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9696 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9698 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9699 (gst_base_src_finalize):
9700 add finalize method and clean up properly
9701 * gst/gstpipeline.c: (gst_pipeline_dispose):
9704 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9706 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9708 add more things to check
9709 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9713 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9715 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9716 (GST_START_TEST), (fakesrc_suite):
9717 * check/gst-libs/gdp.c: (GST_START_TEST):
9718 * check/gst/gst.c: (GST_START_TEST):
9719 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9720 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9721 * check/gst/gstbus.c: (GST_START_TEST):
9722 * check/gst/gstcaps.c: (GST_START_TEST):
9723 * check/gst/gstdata.c: (GST_START_TEST):
9724 * check/gst/gstelement.c: (GST_START_TEST):
9725 * check/gst/gstghostpad.c: (GST_START_TEST):
9726 * check/gst/gstiterator.c: (GST_START_TEST):
9727 * check/gst/gstmessage.c: (GST_START_TEST):
9728 * check/gst/gstobject.c: (GST_START_TEST):
9729 * check/gst/gstpad.c: (GST_START_TEST):
9730 * check/gst/gststructure.c: (GST_START_TEST):
9731 * check/gst/gstsystemclock.c: (GST_START_TEST),
9732 (gst_systemclock_suite):
9733 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9734 * check/gst/gstvalue.c: (GST_START_TEST):
9735 * check/pipelines/cleanup.c: (GST_START_TEST):
9736 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9737 * check/states/sinks.c: (GST_START_TEST):
9738 * check/gstcheck.c: (gst_check_init):
9740 add debugging category
9741 use GST_START_TEST now, so we add a debug line
9743 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9745 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9746 add test for state change message on a bin
9747 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9749 * gst/gstbin.c: (gst_bin_init):
9750 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9751 * gst/gstelement.c: (gst_element_post_message),
9752 (gst_element_set_state):
9753 * gst/gstelementfactory.c: (gst_element_factory_create):
9754 * gst/gstmessage.c: (gst_message_new):
9755 * gst/gstscheduler.c:
9756 various debugging additions and cleanups
9758 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9760 * check/Makefile.am:
9761 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9763 adding tests for elements
9764 * gst/gstelement.c: (gst_element_dispose):
9766 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9768 * gst/registries/gstlibxmlregistry.c: (load_feature):
9769 plug more leaks. A simple gst_init() now is leakfree, yay.
9771 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9773 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9774 (gst_xml_registry_load):
9775 plug another memleak
9777 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9780 use GST_SET_ERROR_CFLAGS
9782 change to ERROR_CFLAGS
9784 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9787 make GST_ERROR_CFLAGS overridable and re-enable Werror
9789 add a note about error CFLAGS
9790 * docs/gst/tmpl/gstfakesrc.sgml:
9791 * gst/elements/gstfakesrc.c:
9792 comment out some unused code
9793 * gst/gst.c: (split_and_iterate):
9794 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9798 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9800 * common/Makefile.am:
9801 * common/gtk-doc.mak:
9802 * docs/gst/Makefile.am:
9803 factor out gtk-doc.mak
9805 2005-07-07 Wim Taymans <wim@fluendo.com>
9807 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9808 (gst_thread_scheduler_dispose):
9809 Unlock the STREAM_LOCK completely.
9811 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9813 * check/Makefile.am:
9814 * check/elements/.cvsignore:
9815 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9816 (START_TEST), (fakesrc_suite), (main):
9817 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9818 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9819 (gst_fakesrc_create), (gst_fakesrc_start):
9820 * gst/elements/gstfakesrc.h:
9821 adding a first element test
9823 2005-07-07 Andy Wingo <wingo@pobox.com>
9825 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9828 2005-07-07 Wim Taymans <wim@fluendo.com>
9834 2005-07-07 Wim Taymans <wim@fluendo.com>
9836 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9837 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9838 Allow subclasses to implement their own negotiation.
9840 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9842 * docs/design/part-gstbin.txt:
9843 * docs/design/part-gstpipeline.txt:
9844 Update design notes to reflect the movement of
9845 responsibility for bus handling from GstPipeline to
9848 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9851 Remove unnecessary queue2/3/4 examples.
9853 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9855 * examples/Makefile.am:
9856 * examples/helloworld/helloworld.c: (event_loop), (main):
9857 * examples/queue/queue.c: (event_loop), (main):
9858 * examples/queue2/queue2.c: (main):
9859 Update a couple of the examples to work again.
9861 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9862 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9863 Spelling corrections and extra debug.
9865 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9866 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9867 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9869 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9870 (gst_pipeline_change_state):
9871 * gst/gstpipeline.h:
9872 Move the bus handler for children to the GstBin, and create a
9873 separate bus for receiving messages from children to the one the
9874 bus sends 'upwards' on.
9876 2005-07-06 Wim Taymans <wim@fluendo.com>
9879 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9880 (gst_base_sink_handle_object), (gst_base_sink_loop),
9881 (gst_base_sink_change_state):
9882 * gst/base/gstbasesink.h:
9883 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9884 (gst_base_src_init), (gst_base_src_setcaps),
9885 (gst_base_src_getcaps), (gst_base_src_loop),
9886 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9887 (gst_base_src_start), (gst_base_src_change_state):
9888 * gst/base/gstbasesrc.h:
9889 Make basesrc negotiate.
9890 Handle the case where preroll fails in basesink.
9893 2005-07-06 Wim Taymans <wim@fluendo.com>
9895 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9896 Implement the fixate function.
9897 Clean up acceptcaps.
9899 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9901 * docs/pwg/building-filterfactory.xml:
9903 Remove never-written filter-factory chapter; I'll add the various
9904 base classes to part 4 ("other element types") later on.
9906 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9908 * docs/pwg/advanced-negotiation.xml:
9909 * docs/pwg/building-boiler.xml:
9910 * docs/pwg/building-pads.xml:
9912 * examples/pwg/Makefile.am:
9913 Add a chapter on caps negotiation, simplify the original code
9914 samples a bit w.r.t. caps negotiation, add link to the advanced
9915 section. Add a bunch of examples showing different use cases of
9916 different types of caps negotiation. Upstream renegotiation isn't
9917 fully documented yet since nobody knows how that works.
9919 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9921 * check/gst/gstpad.c:
9923 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9924 if pad has no parent, return NULL as list of internal links
9926 2005-07-05 Andy Wingo <wingo@pobox.com>
9928 * gst/elements/gstfilesrc.c:
9929 * gst/elements/gstfakesrc.c:
9930 * gst/base/gstpushsrc.c:
9931 * gst/base/gstbasesrc.h:
9932 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9934 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9937 better report generation target (lcov needs a patch)
9939 2005-07-05 Andy Wingo <wingo@pobox.com>
9941 * gst/elements, testsuite: Null if we got it...
9943 2005-07-05 Wim Taymans <wim@fluendo.com>
9946 * libs/gst/dataprotocol/Makefile.am:
9947 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9948 * libs/gst/dataprotocol/dataprotocol.h:
9949 * pkgconfig/Makefile.am:
9950 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9951 * pkgconfig/gstreamer-dataprotocol.pc.in:
9952 Ported dataprotol to 0.9.
9953 Added pkgconfig files.
9955 2005-07-05 Andy Wingo <wingo@pobox.com>
9957 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9958 Default to returning TRUE for the case when tranform_caps returns
9959 a fixed caps, like for identity or volume.
9961 * check/gst/gstbus.c (pound_bus_with_messages):
9962 * check/gst/gstmessage.c (START_TEST):
9963 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9966 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9967 logic weaks here: always run transform_caps, trying passthrough
9968 operation only if the original caps intersects with the transform.
9970 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9971 source and sink caps.
9973 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9974 Intersect the peer caps with the pad template before going into
9976 (gst_base_transform_transform_caps): More debugging.
9978 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9981 2005-07-04 Edward Hervey <edward@fluendo.com>
9985 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9988 2005-07-04 Andy Wingo <wingo@pobox.com>
9990 * check/gst/gstpad.c: Only set explicit caps on pads.
9992 2005-07-01 Andy Wingo <wingo@pobox.com>
9994 * tests/network-clock.scm: Commentary update.
9996 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9997 Didn't really make sense, not implementable with basetransform,
9999 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10000 attempt at implementing the sync property, needs an unlock method.
10002 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10003 New func, by default returns the same caps (the identity
10005 (gst_base_transform_getcaps): Uses transform_caps to return
10006 something sensible.
10007 (gst_base_transform_setcaps): Complicated logic to get caps on
10008 both pads, even if they are different, and to call set_caps once
10009 for every time both pads get their caps set.
10010 (gst_base_transform_handle_buffer): Give the ref to the transform
10011 function. Allows in-place modification of the buffer.
10013 * gst/base/gstbasetransform.h (transform_caps): New class method.
10014 Given caps on one side, what can I do on the other.
10015 (set_caps): Take two caps, one for each side of the element.
10018 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10019 caps in place. This is safe because we can check the mutability of
10020 the caps, and a good idea because fixate functions are just called
10021 as a matter of last resort. (Not actually implemented.)
10022 (gst_pad_set_caps): If the caps we're setting is actually the same
10023 as the existing pad caps, just update the pointer without calling
10024 setcaps. Assert that caps is either NULL or fixed, as per the
10027 * gst/gstghostpad.c: Update for fixate changes.
10029 2005-07-02 Andy Wingo <wingo@pobox.com>
10032 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10033 two refcounts makes it immutable, which is enough. Doc more.
10035 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10037 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10038 Put the mini_object into GValue as a mini_object,
10039 not a gpointer, since that's how we declared
10042 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10044 * examples/pwg/Makefile.am:
10045 Fix buildbot again.
10047 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10049 * docs/pwg/building-testapp.xml:
10051 * examples/pwg/Makefile.am:
10054 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10057 * examples/Makefile.am:
10058 * examples/pwg/Makefile.am:
10059 * examples/pwg/extract.pl:
10060 Enable building the PWG examples.
10061 * docs/pwg/advanced-interfaces.xml:
10062 Add URI interface stub.
10063 * docs/pwg/advanced-types.xml:
10064 * docs/pwg/other-autoplugger.xml:
10065 * docs/pwg/appendix-porting.xml:
10066 * docs/pwg/pwg.xml:
10067 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10068 * docs/pwg/building-boiler.xml:
10069 * docs/pwg/building-chainfn.xml:
10070 * docs/pwg/building-pads.xml:
10071 * docs/pwg/building-props.xml:
10072 * docs/pwg/building-state.xml:
10073 * docs/pwg/building-testapp.xml:
10074 Update the building-*.xml parts for 0.9 changes. All examples
10075 code blocks compile in examples/pwg/*.
10077 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10079 * docs/manual/advanced-autoplugging.xml:
10080 * docs/manual/appendix-checklist.xml:
10081 * docs/manual/appendix-integration.xml:
10082 * docs/manual/highlevel-components.xml:
10083 Fix playbin/decodebin examples, update docs a bit, mention bus
10084 instead of signals in various places, mention kmplayer and
10085 kaffeine since they have a working GStreamer backend in the KDE
10088 2005-06-30 Wim Taymans <wim@fluendo.com>
10091 * docs/design/draft-ghostpads.txt:
10092 * docs/design/draft-push-pull.txt:
10093 * docs/design/draft-query.txt:
10094 * docs/design/part-TODO.txt:
10095 * docs/design/part-query.txt:
10096 Added CHANGES-0.9 doc, updated status of other docs.
10101 2005-06-30 Wim Taymans <wim@fluendo.com>
10103 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10104 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10105 (gst_base_sink_change_state):
10106 * gst/base/gstbasesink.h:
10107 Some tweaks, only EOS and a buffer complete a preroll.
10109 2005-06-30 Andy Wingo <wingo@pobox.com>
10111 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10112 activate_push down to the internal pad as well.
10114 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10116 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10118 * gst/gsttaginterface.c:
10119 Some documentation fixes (#307394 and #307397).
10121 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10123 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10125 * gst/gstvalue.c: (gst_value_intersect_list):
10126 Fix memleak (#309125).
10128 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10130 * docs/manual/advanced-dataaccess.xml:
10131 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10132 * docs/manual/basics-pads.xml:
10133 Add reference for filtered caps to above chapter.
10135 2005-06-30 Wim Taymans <wim@fluendo.com>
10137 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10138 (gst_bin_change_state):
10140 Lame attempt at making the state change function a bit
10143 2005-06-30 Wim Taymans <wim@fluendo.com>
10145 * docs/design/part-clocks.txt:
10146 * docs/design/part-element-sink.txt:
10147 * docs/design/part-events.txt:
10148 * docs/design/part-preroll.txt:
10149 * docs/design/part-states.txt:
10150 Some more tweeks and additions to the docs.
10152 2005-06-30 Wim Taymans <wim@fluendo.com>
10154 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10155 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10156 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10157 (gst_pad_check_pull_range), (gst_pad_get_range),
10158 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10160 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10161 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10162 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10163 (gst_pad_remove_buffer_probe):
10164 Removed atomic operations, use existing LOCK.
10165 Move exception handling out of main code path.
10167 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10169 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10170 (silly_return_true_function), (gst_pad_class_init),
10171 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10172 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10173 (gst_pad_send_event):
10174 Fix accumulator, add default value by using _emitv() instead
10175 of _emit() for signal emission.
10177 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10179 * docs/manual/advanced-dataaccess.xml:
10180 * examples/manual/Makefile.am:
10182 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10185 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10187 * gst/elements/gstfilesink.c: (gst_filesink_render):
10188 Simplify code so that we don't have to handle short
10189 writes and return GST_FLOW_ERROR if an error occured.
10191 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10193 * docs/gst/gstreamer-docs.sgml:
10194 Remove probes more.
10196 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10198 * docs/gst/gstreamer-sections.txt:
10199 * docs/gst/tmpl/gstpad.sgml:
10200 * docs/gst/tmpl/gstprobe.sgml:
10202 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10203 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10204 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10205 (gst_pad_push_event), (gst_pad_send_event):
10207 * gst/gstutils.c: (gst_pad_add_data_probe),
10208 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10209 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10210 (gst_pad_remove_buffer_probe):
10212 Remove old probes, add new g-signal-based probes and some utility
10215 2005-06-29 Edward Hervey <edward@fluendo.com>
10217 * gst/gstelementfactory.c:
10220 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10221 the definition to the header file.
10223 2005-06-29 Andy Wingo <wingo@pobox.com>
10225 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10226 plugins from the source directory.
10228 2005-06-29 Wim Taymans <wim@fluendo.com>
10230 * docs/gst/tmpl/gstbuffer.sgml:
10231 * docs/gst/tmpl/gstclock.sgml:
10232 Some fixings for blantently wrong text.
10234 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10236 * check/Makefile.am:
10237 * gst/gst.c: (add_path_func), (init_pre):
10238 * gst/gstregistry.c: (gst_registry_add_path):
10239 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10240 only scan the GST_PLUGIN_PATH locations, and not add
10243 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10245 * docs/gst/gstreamer-sections.txt:
10246 * docs/gst/tmpl/gstbasesrc.sgml:
10247 * gst/gstelement.c:
10248 * gst/gstelement.h:
10253 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10255 * docs/manual/advanced-autoplugging.xml:
10256 Fix autoplugging example.
10258 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10260 * docs/manual/advanced-autoplugging.xml:
10261 * docs/manual/mime-world.fig:
10262 Try to get autoplugging working, fix type detection. Fix text
10263 in hello-world image.
10265 2005-06-29 Wim Taymans <wim@fluendo.com>
10267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10268 (gst_base_sink_change_state):
10272 map SIGNAL and BROADCAST to the right function.
10275 Remove redundant braces.
10277 * gst/gstpad.c: (gst_pad_set_caps):
10278 Don't call setcaps function when reseting caps to NULL.
10280 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10281 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10282 (gst_system_clock_id_unschedule):
10283 Use BROADCAST as this is what we do.
10285 2005-06-29 Wim Taymans <wim@fluendo.com>
10287 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10288 We are actually prerolling before commiting the state
10291 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10293 * docs/manual/advanced-clocks.xml:
10294 * docs/manual/advanced-interfaces.xml:
10295 * docs/manual/advanced-metadata.xml:
10296 * docs/manual/advanced-position.xml:
10297 * docs/manual/advanced-schedulers.xml:
10298 * docs/manual/advanced-threads.xml:
10299 * docs/manual/appendix-porting.xml:
10300 * docs/manual/basics-bins.xml:
10301 * docs/manual/basics-bus.xml:
10302 * docs/manual/basics-elements.xml:
10303 * docs/manual/basics-helloworld.xml:
10304 * docs/manual/basics-pads.xml:
10305 * docs/manual/highlevel-components.xml:
10306 * docs/manual/manual.xml:
10307 * docs/manual/thread.fig:
10308 Update (until threads/scheduling) Application Development Manual;
10309 remove GstThread, add GstBus, add simple porting checklist, add
10310 documentation for tag writing, clocks, make all examples until this
10311 part compile and run.
10312 * examples/manual/Makefile.am:
10313 Update from changes to Application Development Manual; add bus
10314 example, remove thread example.
10316 2005-06-28 Wim Taymans <wim@fluendo.com>
10318 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10319 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10320 (gst_bus_source_dispatch):
10321 Add debugging messages.
10322 Make internal methods static.
10323 Handle the case where the bus is flushed in the handler.
10325 * gst/gstelement.c: (gst_element_get_bus):
10326 Fix refcount in _get_bus();
10328 * gst/gstpipeline.c: (gst_pipeline_change_state),
10329 (gst_pipeline_get_clock_func):
10330 Clock refcounting fixes.
10331 Handle the case where preroll timed out more gracefully.
10333 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10334 Clean up the internal thread in dispose. This is needed
10335 for subclasses that actually get disposed.
10337 * gst/schedulers/threadscheduler.c:
10338 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10339 (gst_thread_scheduler_dispose):
10340 Free thread pool in dispose.
10342 2005-06-28 Andy Wingo <wingo@pobox.com>
10344 * tests/network-clock-utils.scm (debug, print-event): New utils.
10346 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10347 (*packet-loss*): Unified loss probability.
10348 (network-time): Report out-of-band events.
10350 * tests/plot-data: Add support for out-of-band events. Hack it
10351 into this script instead of passing it down the pipe; should fix
10354 2005-06-28 Wim Taymans <wim@fluendo.com>
10356 * docs/gst/gstreamer.types:
10357 * docs/gst/tmpl/gstbasesrc.sgml:
10358 * docs/gst/tmpl/gstpad.sgml:
10361 2005-06-28 Wim Taymans <wim@fluendo.com>
10363 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10364 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10365 (gst_proxy_pad_do_fixatecaps):
10366 Correctly proxy the check_pull_range function.
10368 2005-06-28 Andy Wingo <wingo@pobox.com>
10370 * tests/network-clock.scm: Removed need for slib.
10372 2005-06-28 Wim Taymans <wim@fluendo.com>
10374 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10375 (gst_basesink_preroll_queue_flush):
10376 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10377 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10378 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10379 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10380 (gst_proxy_pad_set_property):
10383 * gst/gstqueue.c: (gst_queue_init):
10384 The deprecated pad loop function is removed now.
10386 2005-06-28 Andy Wingo <wingo@pobox.com>
10388 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10389 New parameters, simulate network packet loss.
10391 * tests/network-clock-utils.scm: Initialize the RNG.
10393 2005-06-28 Wim Taymans <wim@fluendo.com>
10395 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10396 (gst_basesink_event), (gst_basesink_deactivate):
10397 Flushing the preroll queue always needs to unlock the waiters.
10399 2005-06-28 Edward Hervey <edward@fluendo.com>
10401 * gst/gstpipeline.c: (gst_pipeline_send_event):
10402 Wheen a seek was successful on a pipeline, set the stream_time to the
10403 seek offset in order to have a synchronized stream_time.
10405 2005-06-28 Wim Taymans <wim@fluendo.com>
10407 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10408 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10409 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10410 (gst_proxy_pad_do_fixatecaps):
10411 Call wrapper function instead of just calling the function
10412 pointers. This takes care of any locking and whatmore.
10414 2005-06-28 Wim Taymans <wim@fluendo.com>
10416 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10417 (gst_pad_pull_range):
10419 CONNECTED -> LINKED.
10421 2005-06-28 Andy Wingo <wingo@pobox.com>
10423 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10424 source-munging commit!!!
10426 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10427 (gst_object_sink): Take gpointer arguments, not GstObject --
10428 avoids casts. Like GLib.
10430 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10433 2005-06-27 Andy Wingo <wingo@pobox.com>
10435 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10438 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10439 returns a sorted copy of the trace list.
10440 (gst_alloc_trace_print_live): New API, only prints traces with
10441 live objects. Sort the list.
10442 (gst_alloc_trace_print_all): Sort the list.
10443 (gst_alloc_trace_print): Align columns.
10445 * gst/elements/gstttypefindelement.c:
10446 * gst/elements/gsttee.c:
10447 * gst/base/gstbasesrc.c:
10448 * gst/base/gstbasesink.c:
10449 * gst/base/gstbasetransform.c:
10450 * gst/gstqueue.c: Adapt for pad activation changes.
10452 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10454 (gst_pipeline_dispose): Drop ref on sched.
10456 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10457 (gst_pad_activate_default): Push mode by default.
10458 (pre_activate_switch, post_activate_switch): New stubs, things to
10459 do before and after switching activation modes on pads.
10460 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10461 the pad's activate function to choose which mode to activate.
10462 Shortcut on deactivation and call the right function directly.
10463 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10465 (gst_pad_activate_push): New API, same for push mode.
10466 (gst_pad_set_activate_function)
10467 (gst_pad_set_activatepull_function)
10468 (gst_pad_set_activatepush_function): Setters for new API.
10470 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10471 Trace all miniobjects.
10472 (gst_mini_object_make_writable): Unref the arg if we copy, like
10473 gst_caps_make_writable.
10475 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10477 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10478 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10479 Adapt for new pad API.
10481 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10483 * gst/gstelement.h:
10484 * gst/gstelement.c (gst_element_iterate_src_pads)
10485 (gst_element_iterate_sink_pads): New API functions.
10487 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10488 should fold into gstiterator.c in some form.
10489 (gst_element_pads_activate): Simplified via use of fold and
10490 delegation of decisions to gstpad->activate.
10492 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10495 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10496 class once in init, like gstmessage. Didn't run into this issue
10497 but it seems correct. Don't initialize a trace, gstminiobject does
10500 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10501 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10503 (assert_live_count): New util function, uses alloc traces to check
10506 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10507 To be modified when unlink drops the internal pad.
10509 2005-06-27 Wim Taymans <wim@fluendo.com>
10511 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10512 (gst_bin_change_state):
10513 Cleanup the get_state() function a little, make sure it
10514 iterates the same set of elements.
10515 Added stub iterate_state_order().
10517 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10519 * docs/gst/gstreamer-docs.sgml:
10520 * docs/gst/gstreamer-sections.txt:
10521 * docs/gst/gstreamer.types:
10522 * docs/gst/tmpl/gstbasesink.sgml:
10523 * docs/gst/tmpl/gstbasesrc.sgml:
10524 * docs/gst/tmpl/gstbasetransform.sgml:
10525 * docs/gst/tmpl/gstelement.sgml:
10526 * docs/gst/tmpl/gstiterator.sgml:
10527 * gst/base/gstbasesrc.c:
10528 * gst/base/gstbasesrc.h:
10529 * gst/base/gstbasetransform.h:
10530 * gst/gstelement.c:
10531 * gst/gstiterator.h:
10532 adding basetransform and iterator docs
10534 2005-06-27 Andy Wingo <wingo@pobox.com>
10536 * docs/design/part-activation.txt: Notes on how activation should
10537 work -- not quite implemented yet.
10539 2005-06-25 Wim Taymans <wim@fluendo.com>
10541 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10542 At least get the chain function correct, needs more
10545 2005-06-25 Wim Taymans <wim@fluendo.com>
10547 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10548 (gst_basesink_handle_object), (gst_basesink_event),
10549 (gst_basesink_do_sync), (gst_basesink_handle_event),
10550 (gst_basesink_change_state):
10552 Right, two problems here: ghostpads don't take locks and
10553 glib _rec_mutex_lock_full() with depth==0 still locks.
10554 Catch illegal locking and g_warn them.
10556 2005-06-25 Wim Taymans <wim@fluendo.com>
10558 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10559 Have to check for completion now...
10561 2005-06-25 Wim Taymans <wim@fluendo.com>
10563 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10564 (gst_basesink_handle_object), (gst_basesink_event),
10565 (gst_basesink_do_sync), (gst_basesink_handle_event),
10566 (gst_basesink_change_state):
10568 Unlock STREAM_LOCK whatever the recursion was.
10570 2005-06-25 Wim Taymans <wim@fluendo.com>
10572 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10573 (gst_basesink_preroll_queue_empty),
10574 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10575 (gst_basesink_event), (gst_basesink_do_sync),
10576 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10577 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10578 (gst_basesink_change_state):
10579 Reworked the base sink, handle event and buffer serialisation
10580 correctly and removed possible deadlock.
10581 Handle EOS correctly.
10583 2005-06-25 Wim Taymans <wim@fluendo.com>
10585 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10586 (gst_pipeline_change_state):
10587 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10588 Allow elements to post EOS in the state change function.
10589 Fix up -launch, make it exit the poll loop when the
10590 pipeline actually changed state.
10591 Fix up warning parsing in -launch.
10593 2005-06-25 Wim Taymans <wim@fluendo.com>
10595 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10596 (gst_tee_sink_activate):
10597 Core takes STREAM_LOCK for us now.
10599 2005-06-25 Wim Taymans <wim@fluendo.com>
10601 * gst/gstelement.c: (gst_element_get_state_func),
10602 (gst_element_set_state):
10603 * gst/gstelement.h:
10604 * gst/gstmessage.c: (gst_message_parse_error),
10605 (gst_message_parse_warning):
10606 Keep track of current target state while performing a state
10607 change so that subclasses can do something interesting.
10608 Fix parsing of warning/error messages when GError is NULL.
10610 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10612 * docs/gst/Makefile.am:
10613 * docs/gst/gstreamer-docs.sgml:
10614 * docs/gst/gstreamer-sections.txt:
10615 * docs/gst/gstreamer.types:
10616 * docs/gst/tmpl/gstbasesink.sgml:
10617 * docs/gst/tmpl/gstbasesrc.sgml:
10618 * docs/gst/tmpl/gstbin.sgml:
10619 * docs/gst/tmpl/gstcompat.sgml:
10620 * docs/gst/tmpl/gstfakesink.sgml:
10621 * docs/gst/tmpl/gstfakesrc.sgml:
10622 * docs/gst/tmpl/gstfilesink.sgml:
10623 * docs/gst/tmpl/gstfilesrc.sgml:
10624 * docs/gst/tmpl/gstindex.sgml:
10625 * docs/manual/appendix-quotes.xml:
10626 * gst/base/gstbasesrc.h:
10627 * gst/elements/gstfakesrc.h:
10628 * gst/gstmessage.h:
10629 start pulling in base classes and elements in our docs
10631 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10633 * docs/gst/Makefile.am:
10634 * docs/libs/Makefile.am:
10635 fixed make distcheck with gtk-doc 1.3
10637 2005-06-23 Wim Taymans <wim@fluendo.com>
10639 * gst/gstelement.c: (gst_element_get_state_func),
10640 (gst_element_set_state), (gst_element_change_state):
10641 When the state did not change, also report NO_PREROLL
10644 2005-06-23 Wim Taymans <wim@fluendo.com>
10646 * gst/gstpad.c: (gst_pad_event_default):
10647 * gst/gstqueue.c: (gst_queue_loop):
10648 No unsafe task pausing please.
10650 2005-06-23 Wim Taymans <wim@fluendo.com>
10652 * gst/schedulers/threadscheduler.c:
10653 (gst_thread_scheduler_task_start),
10654 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10655 Ref the task before pushing it on the threadpool. This
10656 makes sure that we have a ref when the threadfunction is
10659 2005-06-23 Andy Wingo <wingo@pobox.com>
10661 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10662 offset is greater than the file's size.
10664 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10665 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10666 * gst/gstobject.c (gst_object_class_init): Make the class lock
10667 recursive. Wim won't let me drop deep_notify. Decodebin works
10668 again, whoopdy doo.
10670 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10671 internal pad, and hacks accordingly. Doesn't do it on the target
10672 pad because we change its caps. Probably catches all cases of
10674 (gst_ghost_pad_set_property): Connect to notify::caps as
10677 * tests/network-clock.scm (plot-simulation): Pipe data to the
10678 elite python skript.
10680 * tests/network-clock-utils.scm (define-parameter): New macro,
10681 defines a parameter that can be set via the command line.
10682 (set-parameter!, parse-parameter-arguments): Command line args
10685 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10688 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10690 * gst/elements/gsttypefindelement.c:
10691 (gst_type_find_element_handle_event):
10692 Don't restart typefinding on a discont.
10693 * gst/gstelement.c: (gst_element_set_state):
10694 Debug spelling fix.
10695 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10696 Allow changing mode of an active pad.
10697 Debug output fixes.
10698 * gst/registries/gstlibxmlregistry.c: (load_feature):
10699 Don't cast a static pad template to a normal pad template.
10701 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10703 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10704 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10705 remove gst_strtoll completely, since it didn't actually do
10706 anything more than what g_ascii_strtoull already does.
10707 check for range errors when deserializing
10708 do a cast for the unsigned cases; but further fixing needs
10709 a decision on what the interpretation of "(int)" and
10710 deserialization should be for values that fall outside the
10711 type's boundaries (ie, refuse, or interpret as casting)
10713 2005-06-23 Wim Taymans <wim@fluendo.com>
10715 * check/Makefile.am:
10716 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10717 * docs/design/part-live-source.txt:
10718 * docs/design/part-states.txt:
10719 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10720 (gst_basesrc_set_live), (gst_basesrc_is_live),
10721 (gst_basesrc_get_range), (gst_basesrc_activate),
10722 (gst_basesrc_change_state):
10723 * gst/base/gstbasesrc.h:
10724 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10725 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10726 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10727 * gst/gstelement.c: (gst_element_get_state_func),
10728 (gst_element_set_state):
10729 * gst/gstelement.h:
10731 * tools/gst-launch.c: (event_loop), (main):
10732 Added support for live sources and other elements that
10734 Updated design docs, added live-source design doc.
10735 Implemented live source functionality in basesrc
10736 Fix error condition in _bin_get_state()
10737 Implement live source handling in -launch.
10738 Added check for live sources.
10739 Fixed case in GstBin where elements were changed state
10743 2005-06-23 Andy Wingo <wingo@pobox.com>
10745 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10746 borken refcounting.
10748 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10749 gst_caps_replace takes care of this for us.
10751 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10752 gst_pad_set_caps on the target, not just its setcaps() function.
10754 * tests/network-clock.scm:
10755 * tests/network-clock-utils.scm: A network clock simulator.
10756 Something of an algorithmic testbed before doing something in C.
10758 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10760 * check/Makefile.am:
10761 * check/gst/capslist.h:
10762 copy over from 0.8, and add two with bitmasks specified with
10764 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10765 add test to parse everything from capslist.h
10766 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10768 add test for structure deserialization
10769 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10770 add tests for deserialization of strings to int types
10771 * gst/gststructure.c: (gst_structure_nth_field_name):
10772 * gst/gststructure.h:
10773 add a way to get the name of a field referenced by index
10774 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10775 instead of checking if the resulting long long lies between
10776 min and max, we check if the long long would fit into
10777 a number of bytes for the final type.
10778 This fixes cases where a string represents 2^32 - 1, which
10779 when cast to int would be the (valid) -1, but is bigger than
10782 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10784 * gst/parse/grammar.y:
10785 add a log line for type deserialization
10787 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10789 * check/gst/gstvalue.c: (START_TEST):
10790 * gst/gstvalue.c: (gst_value_deserialize):
10791 return long long, not int, so gint64 deserialization actually
10792 works. Is there any flag that makes the compiler check this ?
10795 2005-06-22 Wim Taymans <wim@fluendo.com>
10798 Added convenience macros for setting buffers in GValue.
10800 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10802 * check/gst/.cvsignore:
10803 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10804 add a test deserializing int64, and comment part out because
10807 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10809 * check/Makefile.am:
10810 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10811 * testsuite/Makefile.am:
10812 * testsuite/caps/Makefile.am:
10813 * testsuite/caps/value_serialize.c:
10814 * testsuite/test_gst_init.c:
10815 move a value_serialize test over
10817 2005-06-20 Wim Taymans <wim@fluendo.com>
10822 * gst/gstvalue.c: (gst_value_compare_buffer),
10823 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10824 (gst_value_compare_flags), (gst_value_serialize_flags),
10825 (gst_value_deserialize_flags), (_gst_value_initialize):
10826 Fix serialisation of buffers, they are not boxed types anymore
10828 2005-06-20 Wim Taymans <wim@fluendo.com>
10830 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10831 Testcase to show error in buffer-on-caps serialisation.
10833 2005-06-20 Andy Wingo <wingo@pobox.com>
10835 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10836 will be adding to later.
10838 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10839 if its socks fill with rocks.
10840 (gst_system_clock_obtain): Set the name on object construction.
10841 Avoid double-checked locking.
10843 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10845 * gst/gsturi.c: (gst_element_make_from_uri):
10846 Fix potential endless loop.
10848 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10850 * check/Makefile.am:
10852 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10854 move over from testsuite dir and clean up
10857 * testsuite/Makefile.am:
10858 * testsuite/tags/.cvsignore:
10859 * testsuite/tags/Makefile.am:
10860 * testsuite/tags/merge.c:
10861 remove testsuite/tags
10863 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10865 * docs/gst/gstreamer-sections.txt:
10866 * docs/gst/tmpl/gstenumtypes.sgml:
10867 * win32/gstenumtypes.c:
10868 clean up documentation build a little
10870 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10872 * check/gstcheck.h:
10873 add macros for checking refcounts on objects and caps
10874 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10875 add some more unit tests
10876 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10877 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10878 fix leaked refcounts (I hope :)) so unittest works
10882 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10884 * configure.ac: back to HEAD
10886 === release 0.9.1 ===
10888 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10894 2005-06-17 Andy Wingo <wingo@pobox.com>
10896 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10897 assert; it's always possible that the pad gets deactivated in
10898 between the checks in gstpad.c and the implementation. Rely on
10899 finish_preroll() to return a FLUSHING or similar instead of on the
10902 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10903 clock and post an EOS message if we come out of finish_preroll in
10906 2005-06-16 David Schleef <ds@schleef.org>
10908 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10909 (gst_capsfilter_set_property): Allow NULL as possible value
10910 for filter_caps property, indicating GST_CAPS_ANY.
10912 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10914 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10916 * gst/schedulers/Makefile.am:
10918 * gstreamer.spec.in:
10921 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10923 * gstreamer.spec.in:
10926 2005-06-08 Andy Wingo <wingo@pobox.com>
10928 * gst/gstutils.c: RPAD fixes all around.
10929 (gst_element_link_pads): Refcounting fixes.
10931 * tools/gst-inspect.c:
10932 * tools/gst-xmlinspect.c:
10934 * gst/base/gsttypefindhelper.c:
10935 * gst/base/gstbasesink.c:
10936 * gst/gstqueue.c: RPAD fixes.
10938 * gst/gstghostpad.h:
10939 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10940 pads. The tricky thing is they provide both source and sink
10941 interfaces, since they proxy the internal pad for the external
10942 pad, and vice versa. Implement with lower-level ProxyPad objects,
10943 with the interior proxy pad as a child of the exterior ghost pad.
10944 Should write a doc on this.
10946 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10947 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10950 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10951 pads are real pads. No ghost pads in this file. Not documenting
10952 the myriad s/RPAD/PAD/ and REALIZE fixes.
10953 (gst_pad_class_init): Add properties for "direction" and
10954 "template". Both are construct-only, so they can't change during
10955 the life of the pad. Fixes properly deriving from GstPad.
10956 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10957 derived objects, just set properties when creating the objects via
10959 (gst_pad_get_parent): Implement as a function, return NULL if the
10960 parent is not an element.
10961 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10962 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10964 * gst/gstobject.c (gst_object_class_init): Make name a construct
10965 property. Don't set it in the object init.
10967 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10968 with UNKNOWN direction.
10969 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10970 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10971 (gst_element_remove_pad): Remove ghost-pad special cases.
10972 (gst_element_pads_activate): Remove rpad cruft.
10974 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10975 catch the pad's-parent-not-an-element case.
10977 * gst/gst.h: Include gstghostpad.h.
10979 * gst/gst.c (init_post): No more real, ghost pads.
10981 * gst/Makefile.am: Add gstghostpad.[ch].
10983 * check/Makefile.am:
10984 * check/gst/gstbin.c:
10985 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10986 into a bin creates ghost pads, and that the refcounts are right.
10987 Partly moved from gstbin.c.
10989 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10991 * check/gst-libs/.cvsignore:
10992 * check/gst/.cvsignore:
10993 * check/pipelines/.cvsignore:
10995 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10996 (START_TEST), (cleanup_suite), (main):
10997 add some tests related to cleanup after running pipelines
10999 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11001 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11002 add a testsuite for GstBuffer
11004 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11006 * gst/gstminiobject.h:
11007 add defines for accessing the refcount
11009 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11011 * Makefile.am: added support for html unit test coverage reports
11013 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11015 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11016 Free existing caps if the capsfilter changes. Add a FIXME about
11017 setting those caps on the pads.
11019 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11020 Before adding a ghost pad to a parent bin, check that there isn't
11021 already one for the element on the bin. Prevents infinite recursion
11022 when using decodebin in parse pipelines. Andy says he'll rewrite the
11023 way this works anyway, so ignore the hack.
11025 2005-06-02 Andy Wingo <wingo@pobox.com>
11027 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11028 file size, pass it on to the type find helper.
11030 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11031 segment_start and segment_end properly according to the seek
11032 method. Segment_end is still a bit flaky because offset can be
11033 negative for CUR and END cases, but it takes -1 as an "unset"
11036 2005-06-02 Wim Taymans <wim@fluendo.com>
11038 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11039 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11040 (gst_basesink_activate):
11041 * gst/base/gstbasesink.h:
11042 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11043 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11044 (gst_pad_query), (gst_pad_start_task):
11046 * gst/gstqueue.c: (gst_queue_bufferalloc),
11047 (gst_queue_handle_sink_event), (gst_queue_chain):
11048 Bufferalloc: return GstFlowReturn to more accuratly report
11049 why allocation failed.
11051 2005-06-02 Wim Taymans <wim@fluendo.com>
11053 * gst/gstpipeline.c: (gst_pipeline_send_event):
11054 Take snapshot of state without blocking.
11056 2005-06-02 Wim Taymans <wim@fluendo.com>
11058 * docs/design/part-TODO.txt:
11059 * docs/design/part-caps.txt:
11060 * docs/design/part-clocks.txt:
11061 * docs/design/part-negotiation.txt:
11062 * docs/design/part-preroll.txt:
11065 2005-05-30 Wim Taymans <wim@fluendo.com>
11067 * gst/elements/gstidentity.c: (gst_identity_event),
11068 (gst_identity_transform), (gst_identity_get_property):
11069 Protect last_message property as it is accessed from
11072 2005-05-30 Wim Taymans <wim@fluendo.com>
11074 * gst/gstelement.c: (gst_element_init),
11075 (gst_element_pads_activate), (gst_element_change_state):
11076 Slicker pad activation code.
11078 2005-05-30 Wim Taymans <wim@fluendo.com>
11081 * gst/gstelement.h:
11082 * gst/gstelementfactory.h:
11084 Move elementfactory methods to separate .h file.
11086 2005-05-30 Wim Taymans <wim@fluendo.com>
11088 * docs/design/part-overview.txt:
11089 * gst/gstsystemclock.h:
11090 Small typo fixes, doc updates.
11092 2005-05-30 Wim Taymans <wim@fluendo.com>
11094 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11095 (init_popt_callback):
11096 Remove cpu-opt flag.
11098 2005-05-30 Wim Taymans <wim@fluendo.com>
11100 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11101 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11103 Avoid typechecking in places where not needed.
11104 Added accessor for malloc_data.
11106 2005-05-30 Wim Taymans <wim@fluendo.com>
11108 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11109 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11110 (gst_pad_configure_sink), (gst_pad_configure_src),
11111 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11112 (gst_pad_start_task):
11113 Propagate errors from _set_caps() in configure_src/sink
11114 functions instead of returning TRUE.
11115 FLUSH events can travel up and downstream
11118 2005-05-30 Wim Taymans <wim@fluendo.com>
11120 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11121 (gst_basesink_activate):
11122 Handle EOS in preroll.
11124 2005-05-30 Wim Taymans <wim@fluendo.com>
11126 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11127 (gst_queue_loop), (gst_queue_handle_src_event):
11128 Remove old pieces of code
11129 Flushing the queue in an upstream event is a very bad idea.
11131 2005-05-26 Andy Wingo <wingo@pobox.com>
11133 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11134 gst_value_set_mini_object so as to add a ref on the object (which
11135 will be removed when the value is unset).
11137 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11138 arg type in ::handoff.
11140 * gst/gstelement.c (gst_element_change_state): Also deactivate
11141 pads in READY->NULL, just in case the element didn't make it to
11142 PAUSED. Wingo tested, Wim approved.
11144 2005-05-26 Wim Taymans <wim@fluendo.com>
11146 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11147 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11148 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11149 A flushing pad cannot be used to alloc_buffer from.
11151 2005-05-26 Wim Taymans <wim@fluendo.com>
11153 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11154 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11155 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11156 (gst_bus_create_watch), (gst_bus_add_watch_full):
11158 Implement a real GSource and use g_main_context_wakeup() to
11159 signal new messages instead of the socketpair.
11161 2005-05-25 Wim Taymans <wim@fluendo.com>
11163 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11164 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11165 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11166 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11167 (gst_pad_send_event), (gst_pad_start_task):
11168 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11169 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11170 (gst_queue_sink_activate), (gst_queue_src_activate),
11171 (gst_queue_change_state):
11173 Fix state changes for non sinks. We now change sinks, then elements
11174 with unconnected srcpads, then the rest.
11175 More efficient queue unlocking in flush and state changes.
11176 Set the pad activate mode even if it does not have an activate
11179 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11181 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11182 Don't go in pull mode for non-seekable sources.
11183 * gst/elements/gsttypefindelement.h:
11184 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11185 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11186 (free_entry), (stop_typefinding),
11187 (gst_type_find_element_handle_event), (find_peek),
11188 (gst_type_find_element_chain), (do_pull_typefind),
11189 (gst_type_find_element_change_state):
11190 Allow typefinding (w/o seeking) in push-mode, simplified version
11191 of what was in 0.8.
11192 * gst/gstutils.c: (gst_buffer_join):
11194 gst_buffer_join() from 0.8.
11196 2005-05-25 Wim Taymans <wim@fluendo.com>
11198 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11199 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11200 (gst_pad_send_event), (gst_pad_start_task):
11201 Disable attempt at mode switching until it is figured out.
11203 2005-05-25 Wim Taymans <wim@fluendo.com>
11205 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11206 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11207 (gst_basesink_finish_preroll), (gst_basesink_chain),
11208 (gst_basesink_loop), (gst_basesink_activate),
11209 (gst_basesink_change_state):
11210 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11211 (gst_basesrc_get_range), (gst_basesrc_loop),
11212 (gst_basesrc_activate):
11213 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11214 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11215 (gst_real_pad_init), (gst_real_pad_set_property),
11216 (gst_real_pad_get_property), (gst_pad_set_active),
11217 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11218 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11219 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11220 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11221 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11222 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11223 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11224 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11225 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11226 (gst_pad_stop_task):
11228 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11229 (gst_queue_loop), (gst_queue_src_activate):
11230 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11231 (gst_task_get_state):
11233 * gst/schedulers/threadscheduler.c:
11234 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11235 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11237 Remove ACTIVE pad flag, use FLUSHING everywhere
11238 Added _pad_chain(), _pad_get_range() to call chain/getrange
11240 Add locks around IS_FLUSHING when reading.
11241 Take STREAM lock in chain(), get_range() functions so plugins
11242 don't need to take it anymore.
11246 2005-05-25 Wim Taymans <wim@fluendo.com>
11248 * tools/gst-launch.c: (event_loop):
11249 Unref message after using its contents instead of
11252 2005-05-24 Wim Taymans <wim@fluendo.com>
11254 * docs/design/draft-ghostpads.txt:
11255 * docs/design/draft-push-pull.txt:
11256 * docs/design/draft-query.txt:
11257 * docs/design/part-overview.txt:
11258 Docs updates, added general overview doc.
11260 2005-05-21 David Schleef <ds@schleef.org>
11262 * docs/gst/tmpl/old/GstBin.sgml:
11263 * docs/gst/tmpl/old/GstBuffer.sgml:
11264 * docs/gst/tmpl/old/GstCaps.sgml:
11265 * docs/gst/tmpl/old/GstClock.sgml:
11266 * docs/gst/tmpl/old/GstCompat.sgml:
11267 * docs/gst/tmpl/old/GstData.sgml:
11268 * docs/gst/tmpl/old/GstElement.sgml:
11269 * docs/gst/tmpl/old/GstEvent.sgml:
11270 * docs/gst/tmpl/old/GstIndex.sgml:
11271 * docs/gst/tmpl/old/GstStructure.sgml:
11272 * docs/gst/tmpl/old/GstTag.sgml:
11273 * docs/gst/tmpl/old/cothreads.sgml:
11274 * docs/gst/tmpl/old/cothreads_compat.sgml:
11275 * docs/gst/tmpl/old/gettext.sgml:
11276 * docs/gst/tmpl/old/gobject2gtk.sgml:
11277 * docs/gst/tmpl/old/grammar.tab.sgml:
11278 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11279 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11280 * docs/gst/tmpl/old/gst_private.sgml:
11281 * docs/gst/tmpl/old/gstaggregator.sgml:
11282 * docs/gst/tmpl/old/gstarch.sgml:
11283 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11284 * docs/gst/tmpl/old/gstbufferstore.sgml:
11285 * docs/gst/tmpl/old/gstdata_private.sgml:
11286 * docs/gst/tmpl/old/gstdisksink.sgml:
11287 * docs/gst/tmpl/old/gstdisksrc.sgml:
11288 * docs/gst/tmpl/old/gstelementfactory.sgml:
11289 * docs/gst/tmpl/old/gstextratypes.sgml:
11290 * docs/gst/tmpl/old/gstfakesink.sgml:
11291 * docs/gst/tmpl/old/gstfakesrc.sgml:
11292 * docs/gst/tmpl/old/gstfdsink.sgml:
11293 * docs/gst/tmpl/old/gstfdsrc.sgml:
11294 * docs/gst/tmpl/old/gstfilesink.sgml:
11295 * docs/gst/tmpl/old/gstfilesrc.sgml:
11296 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11297 * docs/gst/tmpl/old/gstidentity.sgml:
11298 * docs/gst/tmpl/old/gstindexfactory.sgml:
11299 * docs/gst/tmpl/old/gstmarshal.sgml:
11300 * docs/gst/tmpl/old/gstmd5sink.sgml:
11301 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11302 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11303 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11304 * docs/gst/tmpl/old/gstpipefilter.sgml:
11305 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11306 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11307 * docs/gst/tmpl/old/gstshaper.sgml:
11308 * docs/gst/tmpl/old/gstspider.sgml:
11309 * docs/gst/tmpl/old/gstspideridentity.sgml:
11310 * docs/gst/tmpl/old/gststatistics.sgml:
11311 * docs/gst/tmpl/old/gsttee.sgml:
11312 * docs/gst/tmpl/old/gsttimecache.sgml:
11313 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11314 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11315 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11316 * docs/gst/tmpl/old/types.sgml:
11317 I didn't intend to add these or check them in.
11319 2005-05-19 David Schleef <ds@schleef.org>
11321 * configure.ac: Use -no-common everywhere. In a sane world, it
11322 would be the default in libtool, because without it, you can't
11323 build DLLs on Windows.
11324 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11325 * docs/gst/gstreamer-sections.txt:
11326 * docs/gst/tmpl/gstcpu.sgml:
11327 * docs/gst/tmpl/gstdata.sgml:
11328 * docs/gst/tmpl/gstthread.sgml:
11330 2005-05-19 David Schleef <ds@schleef.org>
11332 * gst/gstminiobject.c: (gst_value_set_mini_object),
11333 (gst_value_take_mini_object), (gst_value_get_mini_object):
11334 * gst/gstminiobject.h: Add GValue set/get functions.
11336 2005-05-19 Wim Taymans <wim@fluendo.com>
11338 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11339 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11340 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11342 * gst/gstbus.c: (gst_bus_post):
11343 * gst/gstelement.c: (gst_element_get_random_pad):
11344 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11345 Make subbufer unref the parent in finalize.
11346 some more debugging info.
11349 2005-05-19 Wim Taymans <wim@fluendo.com>
11351 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11352 (gst_basesink_init), (gst_basesink_finalize),
11353 (gst_basesink_activate), (gst_basesink_change_state):
11354 Don't free preroll queue too early.
11356 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11360 Hi, I'm outdated. Please shoot me.
11362 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11364 * gst/gstpipeline.c: (gst_pipeline_send_event):
11365 Do not access variables after they have been deleted.
11367 2005-05-19 Wim Taymans <wim@fluendo.com>
11369 * tools/gst-inspect.c: (print_plugin_features):
11370 A plugin feature does unfortunatly not use the
11373 2005-05-18 Wim Taymans <wim@fluendo.com>
11375 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11376 Port _span() functions to new subbuffers.
11378 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11380 * gst/gstbin.c: (gst_bin_add_func):
11381 Fix clock settery in bins when adding kids after the clock has
11384 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11386 * gst/elements/gstidentity.c: (gst_identity_class_init):
11387 Workaround until signals support GstMiniObject.
11389 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11392 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11394 2005-05-18 Wim Taymans <wim@fluendo.com>
11396 * gst/base/Makefile.am:
11397 * gst/base/gstadapter.c: (gst_adapter_base_init),
11398 (gst_adapter_class_init), (gst_adapter_init),
11399 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11400 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11401 (gst_adapter_flush), (gst_adapter_available),
11402 (gst_adapter_available_fast):
11403 * gst/base/gstadapter.h:
11404 Ported and added adapter to the base classes.
11406 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11409 * gst/gstmessage.c:
11410 Make sure the class is reffed/unreffed once before threads can be
11411 used. Fixes #304551.
11413 2005-05-17 Wim Taymans <wim@fluendo.com>
11415 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11416 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11417 * gst/gstminiobject.c: (gst_mini_object_get_type),
11418 (gst_mini_object_free):
11419 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11420 (gst_pad_push), (gst_pad_push_event):
11421 * gst/gstqueue.c: (gst_queue_change_state):
11422 Don't queue buffers in basesink when we are flushing.
11423 Unref buffer when flushing in basesink.
11424 Flush queue when going to READY
11425 Unref buffer when _push() returns an error.
11426 Don't free MiniObject instance when refcount is incremented
11427 in _finalize() so that we can recover objects.
11429 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11431 * docs/manual/advanced-schedulers.xml:
11432 * docs/manual/appendix-checklist.xml:
11433 * docs/pwg/advanced-clock.xml:
11434 * docs/pwg/advanced-interfaces.xml:
11435 * docs/pwg/advanced-request.xml:
11436 * docs/pwg/advanced-types.xml:
11437 * docs/pwg/intro-preface.xml:
11438 * examples/plugins/example.c: (gst_example_get_type),
11439 (gst_example_class_init), (gst_example_chain),
11440 (gst_example_set_property), (gst_example_get_property),
11441 (gst_example_change_state), (plugin_init):
11442 * examples/plugins/example.h:
11445 2005-05-17 Wim Taymans <wim@fluendo.com>
11447 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11448 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11449 * gst/gstqueue.c: (gst_queue_change_state):
11450 Clear queue when going to READY.
11451 Remove IN_SETCAPS flag too.
11453 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11455 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11456 Remove implicit cast from gboolean to GstElementStateReturn;
11457 make sure we still return failure in paused => ready case if
11458 the parent class fails to change state and our own stop
11461 2005-05-17 Wim Taymans <wim@fluendo.com>
11463 * tools/gst-launch.c: (event_loop):
11464 Message was unreffed too soon.
11466 2005-05-16 Andy Wingo <wingo@pobox.com>
11468 * gst/gstbin.c (sink_iterator_filter): Err... um...
11470 * check/gst/gstbin.c (test_ghost_pads): New test for the
11471 ghosting-if-elements-not-in-same-bin behavior.
11473 2005-05-16 David Schleef <ds@schleef.org>
11475 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11476 accessing refcount directly.
11478 2005-05-15 David Schleef <ds@schleef.org>
11480 * check/Makefile.am: remove GstData checks
11481 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11482 * gst/Makefile.am: add miniobject, remove data
11483 * gst/gst.h: add miniobject, remove data
11484 * gst/gstdata.c: remove
11485 * gst/gstdata.h: remove
11486 * gst/gstdata_private.h: remove
11487 * gst/gsttypes.h: remove GstEvent and GstMessage
11488 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11489 * gst/gstmarshal.list: change BOXED -> OBJECT
11491 Implement GstMiniObject.
11492 * gst/gstminiobject.c:
11493 * gst/gstminiobject.h:
11495 Modify to be subclasses of GstMiniObject.
11496 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11497 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11498 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11499 (gst_subbuffer_get_type), (gst_subbuffer_init),
11500 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11503 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11504 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11505 (_gst_event_copy), (gst_event_new):
11507 * gst/gstmessage.c: (_gst_message_initialize),
11508 (gst_message_get_type), (gst_message_class_init),
11509 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11510 (gst_message_new), (gst_message_new_error),
11511 (gst_message_new_warning), (gst_message_new_tag),
11512 (gst_message_new_state_changed), (gst_message_new_application):
11513 * gst/gstmessage.h:
11514 * gst/gstprobe.c: (gst_probe_perform),
11515 (gst_probe_dispatcher_dispatch):
11517 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11518 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11519 (_gst_query_copy), (gst_query_new):
11521 Update elements for GstData -> GstMiniObject changes
11523 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11524 (gst_queue_chain), (gst_queue_loop):
11525 * gst/elements/gstbufferstore.c:
11526 (gst_buffer_store_add_buffer_func),
11527 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11528 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11529 (gst_fakesink_render):
11530 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11531 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11532 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11533 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11534 (gst_filesrc_create_read):
11535 * gst/elements/gstidentity.c: (gst_identity_class_init):
11536 * gst/elements/gsttypefindelement.c:
11537 (gst_type_find_element_src_event), (free_entry_buffers),
11538 (gst_type_find_element_handle_event):
11539 * libs/gst/dataprotocol/dataprotocol.c:
11540 (gst_dp_header_from_buffer):
11541 * libs/gst/dataprotocol/dataprotocol.h:
11542 * libs/gst/dataprotocol/dp-private.h:
11544 2005-05-15 David Schleef <ds@schleef.org>
11546 * gst/elements/gstelements.c: Don't include headers that were
11549 2005-05-15 David Schleef <ds@schleef.org>
11551 * gst/elements/Makefile.am: Remove some elements that don't
11552 need to be in the core (or even exist at all).
11553 * gst/elements/gstaggregator.c:
11554 * gst/elements/gstaggregator.h:
11555 * gst/elements/gstmd5sink.c:
11556 * gst/elements/gstmd5sink.h:
11557 * gst/elements/gstmultifilesrc.c:
11558 * gst/elements/gstmultifilesrc.h:
11559 * gst/elements/gstpipefilter.c:
11560 * gst/elements/gstpipefilter.h:
11561 * gst/elements/gstshaper.c:
11562 * gst/elements/gstshaper.h:
11563 * gst/elements/gststatistics.c:
11564 * gst/elements/gststatistics.h:
11565 * po/POTFILES.in: Remove above files.
11567 2005-05-14 Andy Wingo <wingo@pobox.com>
11569 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11570 so as to get the refs right.
11571 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11572 unreffing objects that don't pass the filter.
11574 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11575 gst_element_set_bus.
11576 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11577 normal cases, this will destroy the bus.
11579 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11582 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11585 2005-05-13 Andy Wingo <wingo@pobox.com>
11587 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11588 gst_pad_link, call pad_link_maybe_ghosting,
11589 (pad_link_maybe_ghosting): Links pads, making sure that the
11590 elements being linked are in the same bin.
11591 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11592 Helpers for pad_link_maybe_ghosting.
11594 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11597 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11599 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11601 * docs/design/part-element-source.txt:
11604 2005-05-12 Wim Taymans <wim@fluendo.com>
11606 * gst/base/gstbasesink.c: (gst_basesink_init),
11607 (gst_basesink_activate):
11608 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11609 (gst_basesrc_is_seekable):
11610 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11611 (bin_element_is_sink), (gst_bin_change_state):
11612 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11613 * gst/gstelement.h:
11614 Identify sinks by their flag to avoid overly complicated
11616 Do state changes even for elements not reachable from the
11618 BaseSink is a sink now :)
11619 Some more debugging info in the basesrc.
11622 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11624 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11625 Implement _query on a bin, similar to _send_event.
11627 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11629 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11630 Discont event offset format should be GST_FORMAT_BYTES,
11631 not GST_FORMAT_TIME.
11633 2005-05-12 Wim Taymans <wim@fluendo.com>
11635 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11636 Same fix as Ronald's but without the signal.
11638 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11640 * gst/gstutils.c: (gst_element_query_position):
11641 No, an element is not a pad.
11643 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11645 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11646 (gst_bin_get_state):
11647 If a child is removed from a bin while we remove the child from
11648 the bin and while we're retrieving its state, signal this to the
11649 get_state function so we abort the wait (instead of waiting for
11650 a timeout) and can immediately re-iterate over all other elements.
11652 2005-05-12 Wim Taymans <wim@fluendo.com>
11654 * gst/base/Makefile.am:
11655 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11656 (gst_basesrc_start):
11657 * gst/base/gstbasesrc.h:
11658 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11659 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11660 (gst_pushsrc_init), (gst_pushsrc_create):
11661 * gst/base/gstpushsrc.h:
11662 Added is_seekable to BaseSrc
11663 Added simple PushSrc.
11665 2005-05-11 Wim Taymans <wim@fluendo.com>
11667 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11668 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11669 (gst_element_link_pads), (gst_element_query_position),
11670 (gst_element_query_convert), (intersect_caps_func),
11671 (gst_pad_query_position), (gst_pad_query_convert):
11672 Fix refcounting in utils function.
11673 No point in trying to activate a pad when it's added, it could
11674 be added from the state change function and then we deadlock, the
11675 element has to decide what to do.
11677 2005-05-10 Andy Wingo <wingo@pobox.com>
11679 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11680 *all* the arguments.
11682 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11683 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11684 lock (according to the docs -- if this is wrong change the docs).
11686 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11687 flush messages in the NULL state.
11689 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11690 message immediately and return.
11691 (gst_bus_set_flushing): New function. If a bus is flushing, it
11692 flushes out any queued messages and immediately unrefs new
11693 messages. This is so when an element goes to NULL, all of the
11694 unhandled messages coming from it can be freed, and their
11695 references to the element dropped. In other words: message source
11696 ref considered harmful :P
11698 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11699 we're finished with it.
11701 * gst/gstmessage.c (gst_message_new_state_changed):
11703 2005-05-10 Wim Taymans <wim@fluendo.com>
11705 * gst/gstvalue.c: (gst_value_compare_flags),
11706 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11707 (_gst_value_initialize):
11708 Added flags serialize/deserialize/compare code.
11710 2005-05-09 Andy Wingo <wingo@pobox.com>
11712 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11713 Intersect the peer's caps with our caps.
11715 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11717 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11718 * gst/elements/gsttypefindelement.c: (find_peek):
11719 Handle negative offsets better. Fixes decodebin.
11721 2005-05-09 Wim Taymans <wim@fluendo.com>
11723 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11724 (gst_base_transform_event):
11725 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11726 Implement accept_caps.
11727 Fix silly lock/unlock mismatch in base class.
11729 2005-05-09 Wim Taymans <wim@fluendo.com>
11731 * docs/design/draft-push-pull.txt:
11732 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11733 * gst/elements/gstfilesink.c: (gst_filesink_init),
11734 (gst_filesink_query):
11735 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11736 (gst_type_find_handle_src_query), (find_element_get_length):
11737 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11738 * gst/gstelement.h:
11739 * gst/gstmessage.c:
11740 * gst/gstmessage.h:
11741 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11742 (gst_real_pad_get_caps_unlocked),
11743 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11744 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11745 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11746 (gst_real_pad_dispose), (gst_real_pad_finalize),
11747 (gst_pad_load_and_link), (gst_pad_save_thyself),
11748 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11749 (gst_pad_check_pull_range), (gst_pad_pull_range),
11750 (gst_pad_template_get_type), (gst_pad_template_class_init),
11751 (gst_pad_template_init), (gst_pad_template_dispose),
11752 (name_is_valid), (gst_static_pad_template_get),
11753 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11754 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11755 (gst_pad_get_element_private), (gst_pad_start_task),
11756 (gst_pad_pause_task), (gst_pad_stop_task),
11757 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11758 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11759 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11760 (gst_ghost_pad_new):
11762 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11763 (gst_query_new_position), (gst_query_set_position),
11764 (gst_query_parse_position), (gst_query_new_convert),
11765 (gst_query_set_convert), (gst_query_parse_convert):
11767 * gst/gstqueryutils.c:
11768 * gst/gstqueryutils.h:
11769 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11770 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11771 (gst_queue_handle_src_query):
11772 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11773 (gst_element_query_position), (gst_element_query_convert),
11774 (intersect_caps_func), (gst_pad_query_position),
11775 (gst_pad_query_convert):
11777 * tools/gst-inspect.c: (print_pad_info):
11778 * tools/gst-xmlinspect.c: (print_element_info):
11779 Remove old query functions. Ported old code.
11780 Added position/convert helper functions to gstutils.
11781 Reordered gstpad.c code, grouping relevant things.
11782 Remove gst_message_new(), always need to speficy a specific
11786 2005-05-09 Andy Wingo <wingo@pobox.com>
11788 * gst/gstiterator.h: Add some includes.
11790 * gst/gstqueryutils.h: Include more headers.
11793 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11794 some uses of gst_pad_query.
11796 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11797 NULL out parameters.
11798 (gst_query_new_position): New proc, allocates a new position
11801 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11802 gstqueryutils.c to the build.
11804 * gst/gststructure.c (gst_structure_set_valist): Implement with
11805 the generic G_VALUE_COLLECT.
11807 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11809 * gst/Makefile.am: (gst_headers):
11810 Added gstqueryutils.h to the list of headers to install, that was
11811 a 'nachty' move wingo :)
11813 2005-05-06 Andy Wingo <wingo@pobox.com>
11816 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11817 GstData, init a memchunk.
11818 (standard_definitions): Add a few query types, deprecate a few.
11819 (gst_query_get_type): New proc.
11820 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11822 (gst_query_new_application, gst_query_get_structure): New public
11825 * docs/design/draft-query.txt: Removed LINKS from the query types,
11826 because all the rest can be dispatched to other pads -- seemed
11827 ugly to have a query that couldn't be dispatched. internal_links
11828 is fine as a pad method.
11830 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11831 in gstpad.c, but maintain binary compatibility for the moment.
11832 Will fix before 0.9 is out.
11834 * gst/gstqueryutils.c:
11835 * gst/gstqueryutils.h: New files, implement 3 methods for each
11836 query type: parse_query, parse_response, and set. Probably need an
11839 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11841 * gst/elements/gstfilesink.c (gst_filesink_query2):
11842 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11843 query_types, and formats methods.
11845 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11846 (gst_pad_set_query2_function): New functions.
11847 (gst_real_pad_init): Set query2_default as the default query2
11848 function. Basically just dispatches to internally linked pads.
11852 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11853 without using the atomic operations. Only one thread can possibly
11854 be accessing the data at this point. Changed so as to avoid
11855 gst_atomic operations.
11857 2005-05-06 Wim Taymans <wim@fluendo.com>
11859 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11860 Also set caps if we use the fallback buffer alloc.
11862 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11864 * docs/gst/Makefile.am:
11865 * docs/gst/gstreamer-docs.sgml:
11866 * docs/gst/gstreamer-sections.txt:
11867 * docs/gst/tmpl/gstatomic.sgml:
11868 * docs/gst/tmpl/gstmemchunk.sgml:
11869 * testsuite/elements/struct_i386.h:
11870 * win32/GStreamer.vcproj:
11872 Purge GstAtomic stuff from docs and win32 makefiles as well
11874 2005-05-06 Wim Taymans <wim@fluendo.com>
11876 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11877 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11878 * gst/gstpad.c: (gst_pad_peer_get_caps):
11879 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11880 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11881 (gst_queue_src_activate), (gst_queue_change_state):
11883 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11884 (intersect_caps_func):
11885 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11886 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11887 Some fixes for the peer_get_caps() change.
11889 2005-05-06 Wim Taymans <wim@fluendo.com>
11891 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11892 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11893 (gst_basesink_activate):
11894 Actually do something with error codes returned from the push
11897 2005-05-06 Wim Taymans <wim@fluendo.com>
11899 * docs/design/part-element-sink.txt:
11900 * docs/design/part-element-source.txt:
11901 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11902 (gst_basesink_event), (gst_basesink_activate):
11903 * gst/base/gstbasesink.h:
11904 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11905 (gst_basesrc_activate):
11906 * gst/base/gstbasesrc.h:
11907 * gst/gstelement.c: (gst_element_pads_activate):
11908 Some more documentation.
11909 Fixed scheduling decision in _pads_activate().
11911 2005-05-05 Andy Wingo <wingo@pobox.com>
11913 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11916 2005-05-05 Wim Taymans <wim@fluendo.com>
11918 * gst/base/Makefile.am:
11919 * gst/base/gstbasesink.h:
11920 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11921 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11922 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11923 (gst_collectpads_class_init), (gst_collectpads_init),
11924 (gst_collectpads_finalize), (gst_collectpads_new),
11925 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11926 (find_pad), (gst_collectpads_remove_pad),
11927 (gst_collectpads_is_active), (gst_collectpads_collect),
11928 (gst_collectpads_collect_range), (gst_collectpads_start),
11929 (gst_collectpads_stop), (gst_collectpads_peek),
11930 (gst_collectpads_pop), (gst_collectpads_available),
11931 (gst_collectpads_read), (gst_collectpads_flush),
11932 (gst_collectpads_chain):
11933 * gst/base/gstcollectpads.h:
11934 * gst/elements/Makefile.am:
11935 * gst/elements/gstelements.c:
11936 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11937 (gst_fakesink_get_times), (gst_fakesink_event),
11938 (gst_fakesink_preroll), (gst_fakesink_render):
11939 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11940 (gst_filesink_init), (gst_filesink_set_location),
11941 (gst_filesink_open_file), (gst_filesink_close_file),
11942 (gst_filesink_pad_query), (gst_filesink_event),
11943 (gst_filesink_render), (gst_filesink_change_state):
11944 * gst/elements/gstfilesink.h:
11945 Added object to help in making collect pad based elements.
11947 Make event function in sink baseclass return gboolean.
11949 2005-05-05 Wim Taymans <wim@fluendo.com>
11951 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11952 (gst_bin_get_by_name):
11954 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11955 (gst_clock_finalize):
11956 * gst/gstdata.c: (gst_data_replace):
11958 * gst/gstelement.c: (gst_element_request_pad),
11959 (gst_element_pads_activate):
11960 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11961 (gst_object_unref):
11962 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11963 (gst_pad_set_checkgetrange_function),
11964 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11965 (gst_pad_check_pull_range), (gst_pad_pull_range),
11966 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11967 (gst_pad_pause_task), (gst_pad_stop_task):
11968 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11969 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11970 Fix name lookup in GstBin.
11971 Added _data_replace() function and _buffer_replace()
11972 Use finalize method to clean up clock.
11973 Fix refcounting on request pads.
11974 Fix pad schedule mode error.
11975 Some more object refcounting debug info,
11978 2005-05-04 Andy Wingo <wingo@pobox.com>
11980 * check/Makefile.am:
11981 * docs/gst/tmpl/gstatomic.sgml:
11982 * docs/gst/tmpl/gstplugin.sgml:
11983 * gst/base/gstbasesink.c: (gst_basesink_activate):
11984 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11985 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11986 (gst_basesrc_query), (gst_basesrc_set_property),
11987 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11988 (gst_basesrc_activate):
11989 * gst/base/gstbasesrc.h:
11990 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11991 (gst_base_transform_src_activate):
11992 * gst/elements/gstelements.c:
11993 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11994 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11995 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11996 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11997 (gst_type_find_element_checkgetrange),
11998 (gst_type_find_element_activate):
11999 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12000 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12001 (gst_caps_load_thyself):
12002 * gst/gstelement.c: (gst_element_pads_activate),
12003 (gst_element_save_thyself), (gst_element_restore_thyself):
12004 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12005 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12007 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12008 (gst_xml_parse_file), (gst_xml_parse_memory),
12009 (gst_xml_get_element), (gst_xml_make_element):
12010 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12011 (_file_index_id_save_xml), (gst_file_index_commit):
12012 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12013 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12015 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12016 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12017 * tools/gst-complete.c: (main):
12018 * tools/gst-compprep.c: (main):
12019 * tools/gst-inspect.c: (print_element_properties_info):
12020 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12021 * tools/gst-xmlinspect.c: (print_element_properties):
12024 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12026 * gst/gstplugin.c: (gst_plugin_check_module),
12027 (gst_plugin_check_file), (gst_plugin_load_file):
12028 apply patch from #172526 to make register work on MacOSX
12030 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12032 * docs/gst/tmpl/gstconfig.sgml:
12033 * gst/gstconfig.h.in:
12034 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12035 * testsuite/debug/printf_extension.c: (main):
12036 Do not use GST_PTR_FORMAT on pointers to types with
12037 sizeof < sizeof(gpointer). Fixes test on 64-bit
12038 * testsuite/elements/property.h:
12039 use correct printf format
12041 2005-05-02 Wim Taymans <wim@fluendo.com>
12043 * docs/design/draft-push-pull.txt:
12044 * docs/design/draft-query.txt:
12045 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12046 (gst_basesrc_start):
12047 Added draft for new query API.
12048 Added draft for better selecting scheduling methods.
12049 Make basesrc ignore length if the subclass does not support
12052 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12055 possible fixes for automake-1.5 - _LIBADD is reserved
12057 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12059 * docs/faq/Makefile.am:
12060 * docs/manual/Makefile.am:
12061 * docs/manuals.mak:
12062 * docs/pwg/Makefile.am:
12064 possible fixes for automake-1.5
12066 2005-04-28 Wim Taymans <wim@fluendo.com>
12068 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12069 (gst_basesink_pad_getcaps), (gst_basesink_init),
12070 (gst_basesink_do_sync):
12071 * gst/gstclock.c: (gst_clock_entry_new):
12072 * gst/gstevent.c: (gst_event_discont_get_value):
12073 * gst/gstpipeline.c: (pipeline_bus_handler),
12074 (gst_pipeline_change_state):
12075 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12076 Better debugging of clocking info.
12077 Allow NULL values when getting discont values.
12079 2005-04-27 Wim Taymans <wim@fluendo.com>
12081 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12082 * check/gst/gstpad.c: (gst_pad_suite):
12083 Increase timeout for checks.
12085 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12087 * check/Makefile.am:
12088 fix the broken rule for cleanup. Apparently this rule is
12089 only needed on FC2, so maybe this warrants further autotool
12092 2005-04-26 Wim Taymans <wim@fluendo.com>
12094 * gst/gsttrashstack.h:
12095 Ooohh. a nasty one! After having a failed pop() from the stack,
12096 it's possible that the stack is empty. In that case, don't
12097 follow the NULL pointer.
12099 2005-04-25 Wim Taymans <wim@fluendo.com>
12101 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12102 (gst_pad_set_checkgetrange_function),
12103 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12104 (gst_pad_check_pull_range), (gst_pad_pull_range),
12105 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12106 (gst_pad_pause_task), (gst_pad_stop_task):
12107 * gst/gstplugin.c: (gst_plugin_load):
12109 Remove gst_library_load as it does more harm than good with
12110 the new g_module flags.
12111 Revert bogus caps template check in pad linking, pad caps
12112 are important when linking not the template, which is more
12113 general than the current caps.
12115 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12117 * gst/autoplug/.cvsignore:
12118 * gst/autoplug/Makefile.am:
12119 * gst/autoplug/gstsearchfuncs.c:
12120 * gst/autoplug/gstsearchfuncs.h:
12121 * gst/autoplug/gstspider.c:
12122 * gst/autoplug/gstspider.h:
12123 * gst/autoplug/gstspideridentity.c:
12124 * gst/autoplug/gstspideridentity.h:
12125 * gst/autoplug/spidertest.c:
12128 2005-04-25 Wim Taymans <wim@fluendo.com>
12130 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12131 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12132 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12133 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12135 Added stubs for unimplemented functions.
12137 2005-04-24 David Schleef <ds@schleef.org>
12139 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12142 2005-04-24 David Schleef <ds@schleef.org>
12144 Convert everything from GstAtomicInt to g_atomic_int_*, and
12149 * gst/gstatomic_impl.h:
12157 * gst/gstdata_private.h:
12161 * gst/gstmessage.c:
12164 * gst/gststructure.c:
12165 * gst/gststructure.h:
12166 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12169 2005-04-24 David Schleef <ds@schleef.org>
12171 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12172 make the regressions tests work. Remove some code that is no
12174 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12175 Disable warning for pads without templates.
12177 2005-04-24 David Schleef <ds@schleef.org>
12179 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12180 functions that handle filtered links.
12181 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12183 * gst/gstutils.c: Fix/remove utility functions that handle
12186 * gst/gstvalue.c: Add serialization/deserialization of caps
12187 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12188 requires fixing so that the filter caps notation creates
12189 a capsfilter element and sets the filter_caps property. I
12190 think everyone probably wants to keep the shorthand notation.
12191 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12192 * docs/gst/tmpl/gstpad.sgml:
12194 * gst/elements/gstelements.c: Register capsfilter element.
12195 * gst/Makefile.am: fix spacing
12196 * docs/random/ds/0.9-suggested-changes: random
12198 2005-04-23 David Schleef <ds@schleef.org>
12200 * gst/elements/Makefile.am:
12201 * gst/elements/gstcapsfilter.c: New element that acts like an
12202 identity, but filters caps. Will eventually replace filtered
12203 caps in pad linking.
12204 * gst/gstutils.c: (gst_element_create_all_pads): New function
12205 to create all the ALWAYS pads that are registered with an
12206 element class. This functionality should eventually be
12207 merged in with GstElement initialization.
12209 * testsuite/trigger/README: part of trigger test code that should
12210 have been checked in a long time ago.
12212 2005-04-23 David Schleef <ds@schleef.org>
12214 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12215 needed with new versions of libtool (nobody will confirm this),
12216 and hard to carry around.
12217 * gst/autoplug/Makefile.am:
12218 * gst/base/Makefile.am:
12219 * gst/elements/Makefile.am:
12220 * gst/indexers/Makefile.am:
12221 * gst/schedulers/Makefile.am:
12222 * libs/gst/bytestream/Makefile.am:
12223 * libs/gst/control/Makefile.am:
12224 * libs/gst/dataprotocol/Makefile.am:
12225 * libs/gst/getbits/Makefile.am:
12227 2005-04-21 Wim Taymans <wim@fluendo.com>
12229 * docs/design/draft-push-pull.txt:
12230 * docs/design/part-MT-refcounting.txt:
12231 * docs/design/part-TODO.txt:
12232 * docs/design/part-caps.txt:
12233 * docs/design/part-events.txt:
12234 * docs/design/part-gstbus.txt:
12235 * docs/design/part-gstpipeline.txt:
12236 * docs/design/part-messages.txt:
12237 * docs/design/part-push-pull.txt:
12238 * docs/design/part-query.txt:
12241 2005-04-21 Wim Taymans <wim@fluendo.com>
12243 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12244 (gst_message_new), (gst_message_new_error),
12245 (gst_message_new_warning), (gst_message_new_tag),
12246 (gst_message_new_state_changed), (gst_message_new_application),
12247 (gst_message_get_structure):
12248 * gst/gstmessage.h:
12249 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12250 (gst_structure_copy_conditional):
12251 Use parent refcount in GstMessage to ensure GstStructure
12253 Cleaned up headers a bit.
12256 2005-04-20 Wim Taymans <wim@fluendo.com>
12258 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12259 (gst_basesink_pad_getcaps), (gst_basesink_init),
12260 (gst_basesink_chain_unlocked):
12261 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12262 (gst_type_find_helper):
12263 * gst/elements/gsttypefindelement.c:
12264 (gst_type_find_element_have_type), (gst_type_find_element_init),
12265 (stop_typefinding), (gst_type_find_element_handle_event),
12266 (find_suggest), (gst_type_find_element_chain),
12267 (gst_type_find_element_checkgetrange),
12268 (gst_type_find_element_getrange), (do_typefind),
12269 (gst_type_find_element_activate):
12270 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12271 (gst_buffer_default_free), (gst_buffer_default_copy),
12272 (gst_buffer_set_caps):
12273 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12274 (gst_caps_replace):
12275 * gst/gstmessage.c: (gst_message_new),
12276 (gst_message_new_state_changed):
12277 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12278 (gst_pad_set_checkgetrange_function),
12279 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12280 (gst_pad_set_caps), (gst_pad_check_pull_range),
12281 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12283 * gst/gsttypefind.c: (gst_type_find_register):
12284 Make gst_caps_replace() work like other _replace() functions.
12285 Use _caps_replace() where possible.
12286 Make sure _message_new() initialises its field.
12287 Add gst_static_pad_template_get_caps()
12290 2005-04-18 Andy Wingo <wingo@pobox.com>
12292 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12293 on the peer, not the pad. I think that was a typo. Pass an extra
12294 arg to see if random access is possible. Activate the pads as
12295 PULL_RANGE if possible.
12297 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12299 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12300 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12303 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12305 * docs/faq/using.xml:
12306 Add note on gstreamer-properties (#154996).
12308 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12310 * docs/random/bbb/optional-properties:
12311 Some analysis on optional properties.
12313 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12315 * docs/gst/tmpl/gstelementfactory.sgml:
12316 * gst/gstelement.h:
12317 * gst/gstelementfactory.c: (gst_element_factory_init),
12318 (gst_element_factory_cleanup), (gst_element_register),
12319 (__gst_element_factory_add_static_pad_template),
12320 (gst_element_factory_get_static_pad_templates),
12321 (gst_element_factory_can_src_caps),
12322 (gst_element_factory_can_sink_caps):
12323 * gst/registries/Makefile.am:
12324 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12325 (gst_xml_registry_class_init), (gst_xml_registry_init),
12326 (gst_xml_registry_new), (gst_xml_registry_set_property),
12327 (gst_xml_registry_get_property), (get_time), (make_dir),
12328 (gst_xml_registry_get_perms_func),
12329 (plugin_times_older_than_recurse), (plugin_times_older_than),
12330 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12331 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12332 (add_to_char_array), (read_string), (read_uint), (read_enum),
12333 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12334 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12335 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12336 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12337 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12338 (gst_xml_registry_rebuild):
12339 * gst/registries/gstlibxmlregistry.h:
12340 * tools/gst-compprep.c: (main):
12341 * tools/gst-inspect.c: (print_pad_templates_info):
12342 * tools/gst-xmlinspect.c: (print_element_info):
12343 Use libxml2 for registry parsing, use staticpadtemplates in
12344 elementfactories. Makes gst_init() +/- 10x faster.
12346 2005-04-12 Wim Taymans <wim@fluendo.com>
12348 * gst/base/Makefile.am:
12349 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12350 (gst_basesink_pad_getcaps), (gst_basesink_init),
12351 (gst_basesink_event), (gst_basesink_change_state):
12352 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12353 (gst_basesrc_init), (gst_basesrc_query),
12354 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12355 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12356 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12357 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12358 (gst_basesrc_stop), (gst_basesrc_activate),
12359 (gst_basesrc_change_state):
12360 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12361 (helper_find_suggest), (gst_type_find_helper):
12362 * gst/base/gsttypefindhelper.h:
12363 * gst/elements/Makefile.am:
12364 * gst/elements/gstelements.c:
12365 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12366 (gst_fakesink_get_times), (gst_fakesink_event),
12367 (gst_fakesink_preroll), (gst_fakesink_render):
12368 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12369 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12370 (gst_fakesrc_get_property), (gst_fakesrc_create),
12371 (gst_fakesrc_start), (gst_fakesrc_stop):
12372 * gst/elements/gstfakesrc.h:
12373 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12374 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12375 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12376 (gst_filesrc_create_read), (gst_filesrc_create),
12377 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12378 (gst_filesrc_start):
12379 * gst/elements/gsttypefindelement.c:
12380 (gst_type_find_element_have_type), (gst_type_find_element_init),
12381 (start_typefinding), (stop_typefinding), (push_buffer_store),
12382 (gst_type_find_element_handle_event),
12383 (gst_type_find_element_chain),
12384 (gst_type_find_element_checkgetrange),
12385 (gst_type_find_element_getrange), (do_typefind),
12386 (gst_type_find_element_activate),
12387 (gst_type_find_element_change_state):
12388 * gst/elements/gsttypefindelement.h:
12389 * gst/gstpipeline.c: (pipeline_bus_handler):
12390 Added typefind helper.
12391 Small preroll fix in the base sink.
12392 Disable typefind code in basesrc.
12393 Crude port of typefindelement.
12397 2005-04-11 Wim Taymans <wim@fluendo.com>
12399 * check/gst/gstbus.c: (gstbus_suite):
12400 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12401 * check/gstcheck.h:
12402 Fix up the timeout so that the test does not fail.
12404 2005-04-06 Wim Taymans <wim@fluendo.com>
12407 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12408 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12409 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12410 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12411 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12412 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12413 (gst_basesrc_stop), (gst_basesrc_activate),
12414 (gst_basesrc_change_state), (basesrc_find_peek),
12415 (basesrc_find_suggest), (gst_basesrc_type_find):
12416 * gst/base/gstbasesrc.h:
12417 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12418 (gst_filesrc_class_init), (gst_filesrc_init),
12419 (gst_filesrc_finalize), (gst_filesrc_set_location),
12420 (gst_filesrc_set_property), (gst_filesrc_get_property),
12421 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12422 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12423 (gst_filesrc_create_read), (gst_filesrc_create),
12424 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12425 * gst/elements/gstfilesrc.h:
12426 * gst/gstelement.c: (gst_element_get_state_func),
12427 (gst_element_lost_state), (gst_element_pads_activate):
12428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12429 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12430 (gst_pad_pull_range):
12432 More work on the generic source base class, implement seeking,
12434 Make filesrc extend the base source class.
12435 Added gst_pad_set_checkgetrange_function to GstPad.
12437 2005-04-06 Andy Wingo <wingo@pobox.com>
12439 * pkgconfig/gstreamer-base.pc.in:
12440 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12442 * pkgconfig/Makefile.am:
12443 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12445 2005-04-04 Wim Taymans <wim@fluendo.com>
12447 * gst/base/Makefile.am:
12449 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12450 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12451 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12452 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12453 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12454 (gst_basesrc_base_init), (gst_basesrc_class_init),
12455 (gst_basesrc_init), (gst_basesrc_get_formats),
12456 (gst_basesrc_get_query_types), (gst_basesrc_query),
12457 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12458 (gst_basesrc_set_property), (gst_basesrc_get_property),
12459 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12460 (gst_basesrc_loop), (gst_basesrc_activate),
12461 (gst_basesrc_change_state):
12462 * gst/base/gstbasesrc.h:
12463 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12464 (gst_fakesrc_class_init), (gst_fakesrc_init),
12465 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12466 (gst_fakesrc_get_property), (gst_fakesrc_create):
12467 * gst/elements/gstfakesrc.h:
12468 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12469 (gst_filesrc_open_file), (gst_filesrc_loop),
12470 (gst_filesrc_activate), (filesrc_find_peek),
12471 (gst_filesrc_type_find):
12472 Made base source class, make fakesrc extend it.
12473 Add comments to basesink class.
12474 Some filesrc cleanup.
12476 2005-03-31 David Schleef <ds@schleef.org>
12478 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12479 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12480 expected to link against libgstreamer.
12481 * gst/base/Makefile.am: link against libgstreamer
12482 * gst/elements/Makefile.am: same
12484 2005-03-31 Andy Wingo <wingo@pobox.com>
12486 * tests/instantiate/Makefile.am:
12487 * tests/instantiate/caps.c: Add test to test speed of caps copy
12490 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12491 GMemChunk to be fair.
12493 * gst/gsttrashstack.h: Remove warning about using the fallback
12494 trash stack implementation, it's still faster than malloc.
12496 2005-03-30 Andy Wingo <wingo@pobox.com>
12498 * tests/complexity.c: Add a copyright.
12500 2005-03-31 Wim Taymans <wim@fluendo.com>
12502 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12503 (gst_base_transform_class_init), (gst_base_transform_init),
12504 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12505 (gst_base_transform_get_property),
12506 (gst_base_transform_sink_activate),
12507 (gst_base_transform_src_activate),
12508 (gst_base_transform_change_state):
12509 * gst/base/gstbasetransform.h:
12510 * gst/elements/gstidentity.c: (gst_identity_class_init),
12511 (gst_identity_event), (gst_identity_check_perfect),
12512 (gst_identity_transform), (gst_identity_start),
12513 (gst_identity_stop):
12514 Added start/stop methods to transform base class so subclasses
12515 don't need to deal with state changes even.
12517 2005-03-31 Wim Taymans <wim@fluendo.com>
12519 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12520 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12522 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12523 (gst_pad_pull_range):
12524 Added rate to the discont event to prepare for variable speed
12525 and reverse playback.
12527 2005-03-29 David Schleef <ds@schleef.org>
12530 * testsuite/trigger/Makefile.am:
12531 * testsuite/trigger/trigger.c: A little example program to show
12532 how trigger-based elements can work.
12534 2005-03-29 Wim Taymans <wim@fluendo.com>
12536 * gst/base/Makefile.am:
12538 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12539 (gst_basesink_base_init), (gst_basesink_class_init),
12540 (gst_basesink_pad_getcaps), (gst_basesink_init),
12541 (gst_basesink_activate), (gst_basesink_change_state):
12542 * gst/base/gstbasesink.h:
12543 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12544 (gst_base_transform_base_init), (gst_base_transform_finalize),
12545 (gst_base_transform_class_init), (gst_base_transform_init),
12546 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12547 (gst_base_transform_event), (gst_base_transform_getrange),
12548 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12549 (gst_base_transform_set_property),
12550 (gst_base_transform_get_property),
12551 (gst_base_transform_sink_activate),
12552 (gst_base_transform_src_activate),
12553 (gst_base_transform_change_state):
12554 * gst/base/gstbasetransform.h:
12555 * gst/elements/gstidentity.c: (gst_identity_finalize),
12556 (gst_identity_class_init), (gst_identity_init),
12557 (gst_identity_event), (gst_identity_check_perfect),
12558 (gst_identity_transform), (gst_identity_set_property),
12559 (gst_identity_get_property), (gst_identity_change_state):
12560 * gst/elements/gstidentity.h:
12561 * gst/gstelement.c: (gst_element_get_state_func),
12562 (gst_element_lost_state), (gst_element_pads_activate):
12563 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12564 (gst_pad_check_pull_range), (gst_pad_pull_range):
12566 Simplify pad activation.
12567 Added function to check if pull_range can be performed.
12568 Error out when pulling inactive or flushing pads.
12569 Removed const from refcounted types as it does not make sense.
12570 Simplify pad templates in basesink
12571 Added base class for simple 1-to-1 transforms.
12572 Make identity subclass the base transform.
12574 2005-03-29 Andy Wingo <wingo@pobox.com>
12576 * docs/libs/gstreamer-libs-overrides.txt:
12577 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12578 really don't understand what's going on, but like whatever. I want
12581 * docs/gst/Makefile.am:
12582 * docs/libs/Makefile.am: Dist the overrides files.
12584 * check/Makefile.am (clean-local): Remove .libs directories.
12586 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12587 elements to EXTRA_DIST, so po/ files are happy.
12589 * po/POTFILES.in: Er, remove it here.
12591 * po/POTFILES: Remove gstspider.c.
12593 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12595 * docs/libs/gstreamer-libs-docs.sgml:
12596 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12599 * tests/complexity.c (main): Set the length of the preroll queue
12600 on the sinks to prevent a lockup.
12602 * libs/gst/dataprotocol/Makefile.am:
12603 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12604 the same as the one in check/gst-libs/gdp.c.
12606 * po/, docs/gst/: Commit automatic changes to docs and po files.
12608 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12609 the versioned libgstbase.
12611 * check/Makefile.am: Depend on an unversioned gst-register, seems
12612 to make autoconf happier.
12614 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12616 2005-03-28 Wim Taymans <wim@fluendo.com>
12619 * docs/design/part-gstelement.txt:
12620 * docs/design/part-negotiation.txt:
12621 * docs/design/part-preroll.txt:
12622 * docs/design/part-scheduling.txt:
12623 * docs/design/part-states.txt:
12625 * gst/base/Makefile.am:
12627 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12628 (gst_basesink_base_init), (gst_basesink_class_init),
12629 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12630 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12631 (gst_basesink_set_pad_functions),
12632 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12633 (gst_basesink_set_property), (gst_basesink_get_property),
12634 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12635 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12636 (gst_basesink_preroll_queue_push),
12637 (gst_basesink_preroll_queue_empty),
12638 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12639 (gst_basesink_event), (gst_basesink_get_times),
12640 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12641 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12642 (gst_basesink_loop), (gst_basesink_activate),
12643 (gst_basesink_change_state):
12644 * gst/base/gstbasesink.h:
12645 * gst/elements/Makefile.am:
12646 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12647 (gst_fakesink_class_init), (gst_fakesink_init),
12648 (gst_fakesink_set_property), (gst_fakesink_get_property),
12649 (gst_fakesink_get_times), (gst_fakesink_event),
12650 (gst_fakesink_preroll), (gst_fakesink_render),
12651 (gst_fakesink_change_state):
12652 * gst/elements/gstfakesink.h:
12653 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12654 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12655 * gst/gstelement.c: (gst_element_add_pad),
12656 (gst_element_get_state_func), (gst_element_abort_state),
12657 (gst_element_commit_state), (gst_element_lost_state),
12658 (gst_element_set_state), (gst_element_pads_activate):
12659 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12660 * gst/gstpipeline.c: (gst_pipeline_send_event),
12661 (gst_pipeline_change_state):
12662 Added state change code.
12663 Added/updated docs.
12664 Added sink base class, make fakesink extend the base class.
12665 Small cleanups in GstPipeline.
12667 2005-03-26 David Schleef <ds@schleef.org>
12669 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12670 is broken and should be implemented in a different library.
12671 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12672 * gst/gst.h: remove gstcpu.h
12673 * gst/gstcpu.c: remove
12674 * gst/gstcpu.h: remove
12675 * gst/Makefile.am.future: Remove this file. It's ancient.
12677 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12679 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12680 (gst_bin_send_event):
12681 Add default event/set_manager handlers. The set_manager handler
12682 takes care that the manager is distributed over kids that were
12683 already in the bin before the manager was set. The event handler
12684 is a utility virtual function that sends the event over all sinks,
12685 so that gst_element_send_event (bin, event); has the expected
12687 * gst/gstpad.c: (gst_pad_event_default):
12688 Re-install default event handling for discontinuities, so that
12689 seeking works without requiring hacks in applications or extra
12691 * gst/gstpipeline.c: (gst_pipeline_class_init),
12692 (gst_pipeline_send_event):
12693 Half hack, half utility: set a pipeline to PAUSED for seek events,
12694 since that is the only way we can guarantee a/v sync. Means that
12695 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12696 and it "just works".
12698 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12700 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12701 Lock/unlock mismatch.
12703 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12705 * docs/faq/gst-uninstalled:
12706 add gst-plugins-base
12707 * docs/gst/Makefile.am:
12708 don't error out until docs are fixed
12709 * docs/gst/gstreamer.types:
12712 2005-03-22 Wim Taymans <wim@fluendo.com>
12714 * check/Makefile.am:
12715 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12716 * gst/gststructure.c: (gst_structure_set_valist),
12717 (gst_structure_copy_conditional):
12718 Activated more tests.
12719 Added message test.
12720 Added G_TYPE_POINTER to GstStructure.
12723 2005-03-22 Wim Taymans <wim@fluendo.com>
12725 * docs/design/part-TODO.txt:
12726 * docs/design/part-events.txt:
12727 * docs/design/part-gstbin.txt:
12728 * docs/design/part-gstbus.txt:
12729 * docs/design/part-gstpipeline.txt:
12730 * docs/design/part-messages.txt:
12732 * gst/gstmessage.c:
12735 2005-03-21 Wim Taymans <wim@fluendo.com>
12737 * gst/gstbus.c: (gst_bus_post):
12738 Fix copy-and-paste error.
12740 2005-03-21 Wim Taymans <wim@fluendo.com>
12742 * check/Makefile.am:
12744 * gst/elements/Makefile.am:
12745 * gst/elements/gstelements.c:
12746 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12747 (gst_fakesink_event), (gst_fakesink_chain):
12748 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12749 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12750 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12751 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12752 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12753 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12754 (gst_fakesrc_loop), (gst_fakesrc_activate),
12755 (gst_fakesrc_change_state):
12756 * gst/elements/gstfakesrc.h:
12757 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12758 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12759 (gst_filesrc_open_file), (gst_filesrc_loop),
12760 (gst_filesrc_activate), (gst_filesrc_change_state),
12761 (filesrc_find_peek), (filesrc_find_suggest),
12762 (gst_filesrc_type_find):
12763 * gst/elements/gstidentity.c: (gst_identity_finalize),
12764 (gst_identity_class_init), (gst_identity_init),
12765 (gst_identity_proxy_getcaps), (identity_queue_push),
12766 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12767 (gst_identity_getrange), (gst_identity_chain),
12768 (gst_identity_sink_loop), (gst_identity_src_loop),
12769 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12770 (gst_identity_set_property), (gst_identity_get_property),
12771 (gst_identity_change_state):
12772 * gst/elements/gstidentity.h:
12773 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12774 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12775 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12776 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12777 (gst_tee_sink_activate):
12778 * gst/elements/gsttee.h:
12779 * gst/gst.c: (gst_register_core_elements), (init_post):
12781 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12782 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12783 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12784 (gst_bin_change_state):
12786 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12787 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12788 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12789 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12790 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12791 (bus_watch_callback), (bus_watch_destroy),
12792 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12793 (poll_timeout), (gst_bus_poll):
12797 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12798 (gst_element_post_message), (gst_element_message_full),
12799 (gst_element_get_state_func), (gst_element_get_state),
12800 (gst_element_abort_state), (gst_element_commit_state),
12801 (gst_element_lost_state), (gst_element_set_state),
12802 (gst_element_pads_activate), (gst_element_change_state),
12803 (gst_element_dispose), (gst_element_set_manager_func),
12804 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12805 (gst_element_set_manager), (gst_element_get_manager),
12806 (gst_element_set_bus), (gst_element_get_bus),
12807 (gst_element_set_scheduler), (gst_element_get_scheduler):
12808 * gst/gstelement.h:
12809 * gst/gstevent.c: (gst_event_new_segment_seek),
12810 (gst_event_new_flush):
12812 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12813 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12814 (gst_message_new_eos), (gst_message_new_error),
12815 (gst_message_new_warning), (gst_message_new_tag),
12816 (gst_message_new_state_changed), (gst_message_new_application),
12817 (gst_message_get_structure), (gst_message_parse_tag),
12818 (gst_message_parse_state_changed), (gst_message_parse_error),
12819 (gst_message_parse_warning):
12820 * gst/gstmessage.h:
12821 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12822 (gst_real_pad_set_property), (gst_pad_set_active),
12823 (gst_pad_is_active), (gst_pad_set_blocked_async),
12824 (gst_pad_set_blocked), (gst_pad_is_blocked),
12825 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12826 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12827 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12828 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12829 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12830 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12831 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12832 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12833 (gst_pad_set_caps), (gst_pad_configure_sink),
12834 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12835 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12836 (gst_real_pad_dispose), (gst_real_pad_finalize),
12837 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12838 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12839 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12841 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12842 (pipeline_bus_handler), (gst_pipeline_change_state),
12843 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12844 * gst/gstpipeline.h:
12846 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12847 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12848 (gst_queue_link_src), (gst_queue_bufferalloc),
12849 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12850 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12851 (gst_queue_loop), (gst_queue_handle_src_event),
12852 (gst_queue_handle_src_query), (gst_queue_src_activate),
12853 (gst_queue_change_state):
12855 * gst/gstscheduler.c: (gst_scheduler_init),
12856 (gst_scheduler_dispose), (gst_scheduler_create_task),
12857 (gst_scheduler_factory_create):
12858 * gst/gstscheduler.h:
12859 * gst/gststructure.c: (gst_structure_get_type),
12860 (gst_structure_copy_conditional):
12861 * gst/gststructure.h:
12862 * gst/gsttaginterface.h:
12863 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12864 (gst_task_init), (gst_task_dispose), (gst_task_create),
12865 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12871 * gst/schedulers/Makefile.am:
12872 * gst/schedulers/cothreads_compat.h:
12873 * gst/schedulers/entryscheduler.c:
12874 * gst/schedulers/faircothreads.c:
12875 * gst/schedulers/faircothreads.h:
12876 * gst/schedulers/fairscheduler.c:
12877 * gst/schedulers/gstbasicscheduler.c:
12878 * gst/schedulers/gstoptimalscheduler.c:
12879 * gst/schedulers/gthread-cothreads.h:
12880 * gst/schedulers/threadscheduler.c:
12881 (gst_thread_scheduler_task_get_type),
12882 (gst_thread_scheduler_task_class_init),
12883 (gst_thread_scheduler_task_init),
12884 (gst_thread_scheduler_task_start),
12885 (gst_thread_scheduler_task_stop),
12886 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12887 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12888 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12889 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12891 * libs/gst/Makefile.am:
12892 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12893 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12894 (gst_file_pad_parent_set):
12895 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12896 (gst_dp_event_from_packet):
12897 * tests/complexity.c: (main):
12898 * tests/mass_elements.c: (main):
12899 * testsuite/states/locked.c: (message_received), (main):
12900 * testsuite/states/parent.c: (main):
12901 * tools/gst-inspect.c: (print_element_flag_info),
12902 (print_implementation_info), (print_pad_info):
12903 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12905 * tools/gst-md5sum.c: (event_loop), (main):
12906 * tools/gst-typefind.c: (main):
12907 * tools/gst-xmlinspect.c: (print_element_info):
12909 Added GstBus for mainloop integration.
12910 Added GstMessage for sending notifications on the bus.
12911 Added GstTask as an abstraction for pipeline entry points.
12913 Removed Schedulers.
12914 Simplified GstQueue for multithreaded core.
12915 Made _link threadsafe, removed old capsnego.
12916 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12917 Added pad blocking functions.
12918 Reworked scheduling functions in GstPad to prepare for
12919 scheduling updates soon.
12920 Moved events out of data stream.
12921 Simplified GstEvent types.
12922 Added return values to push/pull.
12923 Removed clocking from GstElement.
12924 Added prototypes for state change function for next merge.
12925 Removed iterate from bins and state change management.
12926 Fixed some elements, disabled others for now.
12927 Fixed -inspect and -launch.
12928 Added check for GstBus.
12930 2005-03-10 Wim Taymans <wim@fluendo.com>
12932 * docs/design/part-MT-refcounting.txt:
12933 * docs/design/part-clocks.txt:
12934 * docs/design/part-gstelement.txt:
12935 * docs/design/part-gstobject.txt:
12936 * docs/design/part-standards.txt:
12937 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12938 (gst_bin_remove_func), (gst_bin_remove):
12942 * testsuite/clock/clock1.c: (main):
12943 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12945 * testsuite/dlopen/loadgst.c: (do_test):
12946 * testsuite/refcounting/bin.c: (add_remove_test1),
12947 (add_remove_test2), (main):
12948 * testsuite/refcounting/element.c: (main):
12949 * testsuite/refcounting/element_pad.c: (main):
12950 * testsuite/refcounting/pad.c: (main):
12951 * tools/gst-launch.c: (sigint_handler_sighandler):
12952 * tools/gst-typefind.c: (main):
12954 Added doc about clock.
12955 removed gst_bin_iterate_recurse_up(), marked methods
12957 Fix more testsuites.
12959 2005-03-09 Wim Taymans <wim@fluendo.com>
12961 * gst/gstpad.c: (gst_pad_get_direction),
12962 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12963 (gst_pad_collect_valist):
12964 * testsuite/bins/interface.c: (main):
12965 * testsuite/caps/audioscale.c: (test_caps):
12966 * testsuite/caps/caps.c: (test1), (test2), (test3):
12967 * testsuite/caps/deserialize.c: (main):
12968 * testsuite/caps/enumcaps.c: (main):
12969 * testsuite/caps/filtercaps.c: (main):
12970 * testsuite/caps/intersect2.c: (main):
12971 * testsuite/caps/random.c: (main):
12972 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12973 * testsuite/caps/sets.c: (check_caps):
12974 * testsuite/caps/simplify.c: (check_caps), (main):
12975 * testsuite/caps/subtract.c: (check_caps):
12976 Fix _pad_get_direction wrt ghostpads.
12977 Fix caps testsuite.
12979 2005-03-09 Wim Taymans <wim@fluendo.com>
12981 * check/Makefile.am:
12982 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12983 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12984 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12985 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12986 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12987 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12988 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12989 (bin_element_is_sink), (gst_bin_iterate_sinks),
12990 (gst_bin_iterate_all_by_interface):
12992 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12993 (gst_element_change_state), (gst_element_dispose),
12994 (gst_element_finalize), (gst_element_set_loop_function):
12995 * gst/gstelement.h:
12996 * gst/gstiterator.c: (find_custom_fold_func):
12997 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12998 (gst_pad_collectv), (gst_pad_collect_valist),
12999 (gst_pad_template_new):
13000 * gst/gstpipeline.c: (gst_pipeline_class_init),
13001 (gst_pipeline_dispose), (gst_pipeline_set_property),
13002 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13003 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13004 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13006 * gst/schedulers/entryscheduler.c:
13007 * gst/schedulers/gstbasicscheduler.c:
13008 (gst_basic_scheduler_cothreaded_chain),
13009 (gst_basic_scheduler_chain_add_element):
13010 * testsuite/bins/interface.c: (main):
13012 Added GstSystemClock test.
13013 Implemented clock distribution code in GstBin.
13014 Implemented iterate sinks method for future use.
13015 Rearranged gstelement.h
13016 Fix GstIterator comparison bug.
13017 Moved some code to GstPipeline, mostly clocking related.
13019 2005-03-09 Wim Taymans <wim@fluendo.com>
13022 * gst/gst_private.h:
13023 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13024 (gst_bin_remove_func), (gst_bin_remove),
13025 (gst_bin_get_by_name_recurse_up):
13026 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13027 (gst_clock_id_compare_func), (gst_clock_id_wait),
13028 (gst_clock_id_wait_async), (gst_clock_init),
13029 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13030 * gst/gstelement.h:
13031 * gst/gstinfo.c: (_gst_debug_init):
13033 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13034 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13036 Bump version number, we're now 0.9.0
13037 Add future debugging category.
13038 Fix NULL _unref() in _get_by_name_recurse_up
13039 Rearrange gstpad.h.
13042 2005-03-08 Wim Taymans <wim@fluendo.com>
13044 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13045 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13046 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13047 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13048 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13049 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13050 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13051 * gst/elements/gstidentity.c: (gst_identity_class_init):
13052 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13053 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13054 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13055 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13056 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13058 * gst/gstelement.c: (gst_element_class_init),
13059 (gst_element_base_class_init), (gst_element_init),
13060 (gst_element_get_random_pad), (gst_element_wait_state_change),
13061 (gst_element_change_state), (gst_element_dispose),
13062 (gst_element_finalize), (gst_element_set_loop_function):
13063 * gst/gstelement.h:
13064 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13065 * gst/gstthread.c: (gst_thread_class_init),
13066 (gst_thread_release_children_locks), (gst_thread_change_state):
13067 * gst/schedulers/gstbasicscheduler.c:
13068 (gst_basic_scheduler_loopfunc_wrapper),
13069 (gst_basic_scheduler_chain_wrapper),
13070 (gst_basic_scheduler_src_wrapper),
13071 (gst_basic_scheduler_remove_element):
13072 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13073 Remove threadsafe properties. Fix elements because GObject
13074 complains when installing a property before declaring a
13075 set/get_property handler.
13076 Rearrange gstelement.h file, use STATE macros for state locks.
13077 Free mutexes in the finalize method instead of dispose.
13079 2005-03-08 Wim Taymans <wim@fluendo.com>
13081 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13082 * gst/gstthread.c: (gst_thread_release_children_locks):
13083 Added parentage check.
13084 Fix build og GstThread again.
13086 2005-03-08 Wim Taymans <wim@fluendo.com>
13088 * docs/design/part-MT-refcounting.txt:
13089 * docs/design/part-conventions.txt:
13090 * docs/design/part-gstobject.txt:
13091 * docs/design/part-relations.txt:
13092 * docs/design/part-standards.txt:
13093 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13094 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13095 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13096 (gst_bin_iterate_all_by_interface):
13099 * gst/gstelement.c: (gst_element_class_init),
13100 (gst_element_change_state), (gst_element_set_loop_function):
13101 * gst/gstelement.h:
13102 * gst/gstiterator.c:
13103 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13104 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13105 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13106 (gst_object_set_parent), (gst_object_unparent),
13107 (gst_object_check_uniqueness):
13109 Docs updates, clean up some headers.
13111 2005-03-07 Wim Taymans <wim@fluendo.com>
13113 * check/.cvsignore:
13114 * check/Makefile.am:
13115 * check/gst-libs/.cvsignore:
13116 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13117 * check/gst/.cvsignore:
13118 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13119 (START_TEST), (gstbus_suite), (main):
13120 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13121 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13122 (gst_data_suite), (main):
13123 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13124 (add_fold_func), (gstiterator_suite), (main):
13125 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13126 (thread_name_object), (thread_name_object_default),
13127 (gst_object_name_compare), (gst_object_suite), (main):
13128 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13129 (gst_pad_suite), (main):
13130 * check/gstcheck.c: (gst_check_log_message_func),
13131 (gst_check_log_critical_func), (gst_check_init):
13132 * check/gstcheck.h:
13133 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13134 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13137 2005-03-07 Wim Taymans <wim@fluendo.com>
13139 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13140 (gst_list_iterator_next), (gst_list_iterator_resync),
13141 (gst_list_iterator_free), (gst_iterator_new_list),
13142 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13143 (gst_iterator_free), (gst_iterator_push), (filter_next),
13144 (filter_resync), (filter_uninit), (filter_free),
13145 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13146 (gst_iterator_foreach), (find_custom_fold_func),
13147 (gst_iterator_find_custom):
13148 * gst/gstiterator.h:
13149 Added missing files.
13151 2005-03-07 Wim Taymans <wim@fluendo.com>
13155 * docs/design/part-MT-refcounting.txt:
13156 * docs/design/part-conventions.txt:
13157 * docs/design/part-gstobject.txt:
13158 * docs/design/part-relations.txt:
13159 * examples/mixer/mixer.c: (main):
13160 * examples/thread/thread.c: (eos), (main):
13162 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13163 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13164 (gst_spider_plug_from_srcpad):
13165 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13166 (gst_spider_identity_change_state),
13167 (gst_spider_identity_sink_loop_type_finding):
13168 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13169 * gst/elements/gstidentity.c: (gst_identity_init):
13170 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13171 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13172 * gst/elements/gsttypefindelement.c: (free_entry):
13175 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13176 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13177 (gst_bin_set_index), (gst_bin_set_element_sched),
13178 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13179 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13180 (gst_bin_iterate_elements), (iterate_child_recurse),
13181 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13182 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13183 (compare_interface), (gst_bin_get_by_interface),
13184 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13186 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13187 (gst_buffer_default_free), (gst_buffer_default_copy),
13188 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13189 (gst_buffer_create_sub):
13191 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13192 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13193 (gst_caps_unref), (gst_static_caps_get),
13194 (gst_caps_remove_and_get_structure), (gst_caps_append),
13195 (gst_caps_append_structure), (gst_caps_remove_structure),
13196 (gst_caps_copy_nth), (gst_caps_set_simple),
13197 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13198 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13199 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13200 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13201 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13202 (gst_caps_structure_figure_out_union),
13203 (gst_caps_switch_structures), (gst_caps_do_simplify),
13204 (gst_caps_replace), (gst_caps_from_string),
13205 (gst_caps_copy_conditional):
13207 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13208 (_gst_clock_id_free), (gst_clock_id_unref),
13209 (gst_clock_id_compare_func), (gst_clock_id_wait),
13210 (gst_clock_id_wait_async), (gst_clock_class_init),
13211 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13212 (gst_clock_get_time), (gst_clock_set_time_adjust),
13213 (gst_clock_set_property), (gst_clock_get_property):
13216 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13217 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13219 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13220 (gst_element_requires_clock), (gst_element_provides_clock),
13221 (gst_element_set_clock), (gst_element_clock_wait),
13222 (gst_element_wait), (gst_element_set_time_delay),
13223 (gst_element_is_indexable), (gst_element_add_pad),
13224 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13225 (pad_compare_name), (gst_element_get_static_pad),
13226 (gst_element_request_pad), (gst_element_get_request_pad),
13227 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13228 (gst_element_class_get_pad_template_list),
13229 (gst_element_class_get_pad_template), (gst_element_error_func),
13230 (gst_element_get_random_pad), (gst_element_get_event_masks),
13231 (gst_element_send_event), (gst_element_seek),
13232 (gst_element_get_query_types), (gst_element_query),
13233 (gst_element_get_formats), (gst_element_convert),
13234 (gst_element_is_locked_state), (gst_element_set_locked_state),
13235 (gst_element_sync_state_with_parent), (gst_element_change_state),
13236 (gst_element_finalize), (gst_element_yield),
13237 (gst_element_interrupt), (gst_element_set_scheduler),
13238 (gst_element_get_scheduler), (gst_element_set_loop_function):
13239 * gst/gstelement.h:
13241 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13242 (gst_format_get_by_nick), (gst_format_get_details),
13243 (gst_format_iterate_definitions):
13245 * gst/gstindex.c: (gst_index_gtype_resolver):
13248 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13249 (gst_mem_chunk_free):
13250 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13251 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13252 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13253 (gst_object_dispatch_properties_changed),
13254 (gst_object_set_name_default), (gst_object_set_name),
13255 (gst_object_get_name), (gst_object_set_name_prefix),
13256 (gst_object_get_name_prefix), (gst_object_set_parent),
13257 (gst_object_get_parent), (gst_object_unparent),
13258 (gst_object_check_uniqueness), (gst_object_save_thyself),
13259 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13260 (gst_object_set_property), (gst_object_get_property),
13261 (gst_object_get_path_string):
13263 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13264 (gst_real_pad_init), (gst_real_pad_get_property),
13265 (gst_pad_custom_new), (gst_pad_get_direction),
13266 (gst_pad_set_active), (gst_pad_is_active),
13267 (gst_pad_set_event_function), (gst_pad_is_linked),
13268 (gst_pad_link_free), (gst_pad_link_intersect),
13269 (gst_pad_link_fixate), (gst_pad_set_caps),
13270 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13271 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13272 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13273 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13274 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13275 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13276 (gst_pad_realize), (gst_pad_get_allowed_caps),
13277 (gst_real_pad_dispose), (gst_real_pad_finalize),
13278 (gst_pad_collectv), (gst_pad_collect_valist),
13279 (gst_pad_template_dispose), (gst_pad_template_new),
13280 (gst_pad_get_internal_links):
13282 * gst/gstpipeline.c: (gst_pipeline_dispose),
13283 (gst_pipeline_change_state):
13284 * gst/gstpipeline.h:
13286 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13287 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13288 * gst/gstpluginfeature.h:
13289 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13290 * gst/gstquery.c: (_gst_query_type_initialize),
13291 (gst_query_type_register), (gst_query_type_get_by_nick),
13292 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13294 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13295 * gst/gstscheduler.c: (gst_scheduler_add_element),
13296 (gst_scheduler_factory_create):
13297 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13298 (gst_structure_free), (gst_structure_set_name),
13299 (gst_structure_id_set_value), (gst_structure_set_value),
13300 (gst_structure_set_valist), (gst_structure_remove_field),
13301 (gst_structure_remove_fields),
13302 (gst_structure_remove_fields_valist),
13303 (gst_structure_remove_all_fields), (gst_structure_foreach),
13304 (gst_structure_map_in_place),
13305 (gst_caps_structure_fixate_field_nearest_int),
13306 (gst_caps_structure_fixate_field_nearest_double):
13307 * gst/gststructure.h:
13308 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13309 (gst_system_clock_init), (gst_system_clock_dispose),
13310 (gst_system_clock_async_thread),
13311 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13312 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13313 * gst/gstsystemclock.h:
13314 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13315 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13316 * gst/gsttaginterface.c:
13317 * gst/gstthread.c: (gst_thread_dispose),
13318 (gst_thread_release_children_locks), (gst_thread_change_state),
13319 (gst_thread_main_loop):
13320 * gst/gsttrashstack.h:
13321 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13323 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13324 (gst_element_request_pad), (gst_element_get_pad_from_template),
13325 (gst_element_request_compatible_pad),
13326 (gst_element_get_compatible_pad_filtered),
13327 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13328 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13329 (gst_element_link_many), (gst_element_link),
13330 (gst_element_link_pads), (gst_element_unlink_pads),
13331 (gst_element_unlink_many), (gst_element_unlink),
13332 (gst_pad_can_link_filtered), (gst_pad_can_link),
13333 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13334 (gst_object_default_error), (gst_bin_add_many),
13335 (gst_bin_remove_many), (gst_element_populate_std_props),
13336 (gst_element_class_install_std_props), (gst_buffer_merge),
13337 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13338 (link_fold_func), (gst_pad_proxy_setcaps):
13340 * gst/gstvalue.c: (gst_value_deserialize_string):
13341 * gst/parse/grammar.y:
13342 * gst/schedulers/gstbasicscheduler.c:
13343 (gst_basic_scheduler_cothreaded_chain),
13344 (gst_basic_scheduler_chain_recursive_add),
13345 (gst_basic_scheduler_pad_link):
13346 * gst/schedulers/gstoptimalscheduler.c:
13347 (get_group_schedule_function),
13348 (gst_opt_scheduler_state_transition),
13349 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13350 * libs/gst/bytestream/bytestream.c:
13351 * libs/gst/dataprotocol/dataprotocol.c:
13352 (gst_dp_header_from_buffer):
13355 * tests/threadstate/threadstate2.c: (eos):
13356 * tools/gst-compprep.c: (main):
13357 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13358 (print_pad_info), (print_children_info):
13359 * tools/gst-launch.c: (idle_func), (main):
13360 * tools/gst-md5sum.c: (idle_func), (main):
13361 * tools/gst-xmlinspect.c: (print_element_info):
13362 First THREADED backport attempt, focusing on adding locks and
13363 making sure the API is threadsafe. Needs more work. More docs
13366 2005-02-24 Andy Wingo <wingo@pobox.com>
13368 * tests/bench-complexity.scm:
13369 * tests/complexity.gnuplot: New files, good for running complexity
13372 * tests/Makefile.am:
13373 * tests/complexity.c: New test, sets up N elements, at each level
13374 teeing into M streams per element. Eeeenteresting.
13376 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13377 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13378 running bench-mass_elements.scm.
13380 * tests/bench-mass_elements.scm: New script, runs mass_elements
13381 for various numbers of identities, outputting the results to a
13382 file. Requires guile 1.6. Just for testing.
13384 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13386 * gst/schedulers/fairscheduler.c:
13387 compile with debug disabled
13389 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13392 hunting season on 0.9 is now OPEN