1 2005-12-07 Michael Smith <msmith@fluendo.com>
4 Remove handling of { } for threads.
6 2005-12-06 David Schleef <ds@schleef.org>
8 * libs/gst/base/gstbasetransform.c: speling fix.
10 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
12 * docs/libs/tmpl/gstdataprotocol.sgml:
13 * docs/random/omega/testing/gstobject.c:
17 * gst/gstelementfactory.c:
22 * gst/gstpadtemplate.c:
23 * gst/gstregistryxml.c:
28 * libs/gst/base/gstbasesrc.c:
29 * libs/gst/net/gstnetclientclock.c:
30 * libs/gst/net/gstnettimeprovider.c:
31 * plugins/elements/gstfakesrc.c:
32 * plugins/elements/gstfdsrc.c:
33 * plugins/elements/gstfilesrc.c:
34 * plugins/elements/gstidentity.c:
35 * plugins/elements/gstqueue.c:
36 * plugins/elements/gsttypefindelement.c:
37 * plugins/indexers/gstfileindex.c:
38 * plugins/indexers/gstmemindex.c:
39 * tests/check/gst/gsttag.c:
40 * tests/old/examples/cutter/cutter.c:
41 * tests/old/examples/mixer/mixer.c:
42 * tests/old/examples/xml/runxml.c: (main):
43 * tests/old/testsuite/caps/normalisation.c:
44 * tests/old/testsuite/debug/global.c:
45 * tests/old/testsuite/parse/parse1.c:
46 * tools/gst-xmlinspect.c:
47 * win32/common/dirent.c:
50 === release 0.10.0 ===
52 2005-12-05 <thomas (at) apestaart (dot) org>
55 releasing 0.10.0, "Maroilles"
57 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
59 submitted by: Funda Wang <fundawang@linux.net.cn>
63 added Chinese (Traditional) translation
65 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
67 * docs/gst/gstreamer-sections.txt:
68 * docs/libs/tmpl/gstdataprotocol.sgml:
69 * docs/random/thomasvs/TODO:
74 2005-12-05 Andy Wingo <wingo@pobox.com>
76 patch by: Wim Taymans <wim@fluendo.com>
78 * libs/gst/base/gstbasetransform.c
79 (gst_base_transform_prepare_output_buf)
80 (gst_base_transform_buffer_alloc):
81 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
82 alloc_buffer_and_set_caps.
84 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
85 set_caps on the source pad.
86 (gst_pad_alloc_buffer_and_set_caps): New function, does what
87 alloc_buffer used to do. Fixes #322874.
89 * docs/gst/gstreamer-sections.txt:
90 * docs/design/part-negotiation.txt:
91 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
94 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
96 patch by: Sebastien Moutte
99 * win32/common/config.h.in:
100 * win32/vs6/libgstcontroller.dsp:
103 2005-12-05 Wim Taymans <wim@fluendo.com>
105 * gst/gstcaps.c: (gst_caps_is_equal):
106 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
107 (gst_fake_src_create):
108 Back out previous code changes, leave doc updates, file bugs
111 2005-12-05 Wim Taymans <wim@fluendo.com>
113 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
114 (gst_fake_src_get_times), (gst_fake_src_create):
115 * plugins/elements/gstfakesrc.h:
116 Fix broken sync code.
118 2005-12-05 Wim Taymans <wim@fluendo.com>
120 * gst/gstcaps.c: (gst_caps_is_equal):
121 Comparing NULL against !NULL yields different caps, not a
124 2005-12-05 Wim Taymans <wim@fluendo.com>
127 Fix small typo in docs.
129 2005-12-05 Andy Wingo <wingo@pobox.com>
131 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
133 * gst/gst.c (init_post): remove hard-coded 0.9 location for
134 registries/plugins with a MAJORMINOR one.
135 (plugin_desc): Rename library from gstcoreleements to
136 staticelements. Fixes #323222.
138 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
140 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
141 Change debug category to 'collectpads' from 'collect_pads'
144 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
146 patch by: Sebastien Moutte
148 * libs/gst/controller/gstinterpolation.c:
149 use convert function for uint64/double
150 * win32/vs6/libgstcontroller.dsp:
153 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
155 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
156 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
158 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
159 add tests that seem to show that the guint64/gdouble conversions
162 2005-12-02 Wim Taymans <wim@fluendo.com>
164 * gst/gstregistry.c: (gst_registry_add_path):
166 * gst/gstregistryxml.c:
169 2005-12-02 Wim Taymans <wim@fluendo.com>
171 * gst/gstutils.c: (gst_util_uint64_scale_int64),
172 (gst_util_uint64_scale_int):
175 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
178 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
181 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
184 * win32/common/config.h:
185 * win32/vs6/gstreamer.dsw:
186 * win32/vs6/libgstcoreelements.dsp:
187 * win32/vs6/libgstelements.dsp:
188 renamed core elements plugin
190 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
192 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
194 do piece-wise major/minor comparison so 0.9 < 0.10
195 also allow .exe extensions for tools
197 2005-12-02 Michael Smith <msmith@fluendo.com>
200 Escape a % to make gtkdoc happier; bug 322958.
202 === release 0.9.7 ===
204 2005-12-01 <thomas (at) apestaart (dot) org>
207 releasing 0.9.7, "My Dog Has No Nose"
209 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
211 * common/gst-xmlinspect.py:
213 * docs/libs/tmpl/gstdataprotocol.sgml:
214 * docs/random/release:
233 * win32/common/config.h:
234 * win32/common/config.h.in:
235 * win32/vs6/gst_inspect.dsp:
236 * win32/vs6/gst_launch.dsp:
237 * win32/vs6/libgstbase.dsp:
238 * win32/vs6/libgstelements.dsp:
239 * win32/vs6/libgstreamer.dsp:
240 * win32/vs7/GStreamer.vcproj:
241 * win32/vs7/gst-inspect.vcproj:
242 * win32/vs7/gst-launch.vcproj:
243 * win32/vs7/libgstbase.vcproj:
244 bump GST_MAJORMINOR to 0.10
245 reset libtool version
247 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
251 Added Bulgarian translation by (Alexander Shopov)
253 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
255 * tests/check/gst/gstplugin.c:
258 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
260 * common/gst-xmlinspect.py:
261 * common/gtk-doc-plugins.mak:
264 * docs/gst/Makefile.am:
265 * docs/gst/gstreamer-docs.sgml:
266 * docs/gst/gstreamer-sections.txt:
267 * docs/gst/gstreamer.types:
268 * docs/gst/gstreamer.types.in:
269 * docs/plugins/Makefile.am:
270 * docs/plugins/gstreamer-plugins-docs.sgml:
271 * docs/plugins/gstreamer-plugins-sections.txt:
272 * docs/plugins/gstreamer-plugins.types:
273 * docs/plugins/inspect.stamp:
274 * docs/plugins/inspect/plugin-coreelements.xml:
275 * docs/plugins/inspect/plugin-coreindexers.xml:
276 * docs/plugins/scanobj-build.stamp:
278 * plugins/elements/Makefile.am:
279 * plugins/elements/gstelements.c:
280 * plugins/elements/gstfakesink.c:
281 * plugins/elements/gstfakesrc.c:
282 * plugins/elements/gstfilesink.c:
283 * plugins/elements/gstfilesrc.c:
284 * plugins/elements/gstqueue.c:
285 * plugins/indexers/Makefile.am:
286 * plugins/indexers/gstindexers.c:
287 document core plugins in a separate document just like all the
289 rename these plugins to something starting with core
291 2005-12-01 Andy Wingo <wingo@pobox.com>
293 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
294 padding here before, but it missed the commit.
296 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
298 * libs/gst/controller/gstinterpolation.c:
299 whitespace prices have crashed, we should feel free to use some now
300 use gst_guint64_to_gdouble
302 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
304 * libs/gst/controller/gstcontroller.c:
305 * libs/gst/controller/gsthelper.c:
306 * libs/gst/controller/gstinterpolation.c:
307 * libs/gst/controller/lib.c:
308 wrap config.h include
310 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
312 * docs/gst/gstreamer-sections.txt:
315 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
317 * plugins/elements/gstelements.c:
318 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
319 (gst_fd_sink__class_init), (gst_fd_sink__init),
320 (gst_fd_sink__chain), (gst_fd_sink__set_property),
321 (gst_fd_sink__get_property):
322 * plugins/elements/gstfdsink.h:
323 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
324 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
325 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
326 (gst_fd_src_unlock), (gst_fd_src_set_property),
327 (gst_fd_src_get_property), (gst_fd_src_create),
328 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
329 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
330 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
331 (gst_fd_src_uri_handler_init):
332 * plugins/elements/gstfdsrc.h:
333 * plugins/elements/gstqueue.c: (gst_queue_get_type):
336 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
338 * docs/gst/Makefile.am:
339 * docs/gst/gstreamer.types.in:
343 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
350 * tests/benchmarks/complexity.c:
351 * tests/benchmarks/mass-elements.c:
352 * tests/check/Makefile.am:
354 * tools/gst-inspect.c:
355 * tools/gst-xmlinspect.c:
356 various fixes to make
357 --disable-nls --disable-registry --disable-loadsave
358 --disable-parse --disable-gst-debug
359 work and get the core .so down to 360444 bytes after stripping
361 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
366 * docs/random/thomasvs/TODO:
371 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
373 * win32/GStreamer.vcproj:
376 * win32/Makefile.inspect:
377 * win32/Makefile.launch:
378 * win32/Makefile.register:
380 * win32/gst-inspect.vcproj:
381 * win32/gst-launch.vcproj:
382 * win32/gst-register.vcproj:
383 * win32/gstelements.vcproj:
384 * win32/gstgetbits.def:
385 * win32/gstgetbits.vcproj:
386 * win32/gstreamer-dbg.def:
387 * win32/gstreamer.def:
388 * win32/libgstbase.def:
389 * win32/libgstbase.vcproj:
390 * win32/link_oldruntime.c:
395 move even more stuff, win32/ is nice and clean now
397 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
399 * libs/gst/control/.cvsignore:
404 * win32/gstbytestream.def:
405 * win32/gstbytestream.vcproj:
407 * win32/gstenumtypes.c:
408 * win32/gstenumtypes.h:
409 * win32/gstoptimalscheduler.vcproj:
410 * win32/gstversion.h:
412 * win32/testsuite/bins.vcproj:
413 * win32/testsuite/bytestream.vcproj:
414 * win32/testsuite/caps.vcproj:
415 * win32/testsuite/cleanup.vcproj:
416 * win32/testsuite/clock.vcproj:
417 * win32/testsuite/debug.vcproj:
418 * win32/testsuite/dlopen.vcproj:
419 * win32/testsuite/dynparams.vcproj:
420 * win32/testsuite/elements.vcproj:
421 * win32/testsuite/ghostpads.vcproj:
422 * win32/testsuite/indexers.vcproj:
423 * win32/testsuite/negotiation.vcproj:
424 * win32/testsuite/parse.vcproj:
425 * win32/testsuite/plugin.vcproj:
426 * win32/testsuite/refcounting.vcproj:
427 * win32/testsuite/schedulers.vcproj:
428 * win32/testsuite/states.vcproj:
429 * win32/testsuite/tags.vcproj:
430 * win32/testsuite/threads.vcproj:
431 remove old win32 stuff that isn't maintained and should be
434 2005-11-30 Andy Wingo <wingo@pobox.com>
436 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
437 loading the gst.interfaces python module bork.
439 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
440 available since GLib 2.2. Fixes #318031.
442 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
447 * check/elements/.cvsignore:
448 * check/elements/fakesrc.c:
449 * check/elements/fdsrc.c:
450 * check/elements/identity.c:
451 * check/generic/.cvsignore:
452 * check/generic/states.c:
453 * check/gst-libs/.cvsignore:
454 * check/gst-libs/controller.c:
455 * check/gst-libs/gdp.c:
456 * check/gst/.cvsignore:
457 * check/gst/capslist.h:
459 * check/gst/gstbin.c:
460 * check/gst/gstbuffer.c:
461 * check/gst/gstbus.c:
462 * check/gst/gstcaps.c:
463 * check/gst/gstelement.c:
464 * check/gst/gstevent.c:
465 * check/gst/gstghostpad.c:
466 * check/gst/gstiterator.c:
467 * check/gst/gstmessage.c:
468 * check/gst/gstminiobject.c:
469 * check/gst/gstobject.c:
470 * check/gst/gstpad.c:
471 * check/gst/gstpipeline.c:
472 * check/gst/gstplugin.c:
473 * check/gst/gstsegment.c:
474 * check/gst/gststructure.c:
475 * check/gst/gstsystemclock.c:
476 * check/gst/gsttag.c:
477 * check/gst/gstutils.c:
478 * check/gst/gstvalue.c:
479 * check/net/.cvsignore:
480 * check/net/gstnetclientclock.c:
481 * check/net/gstnettimeprovider.c:
482 * check/pipelines/.cvsignore:
483 * check/pipelines/cleanup.c:
484 * check/pipelines/simple_launch_lines.c:
485 * check/pipelines/stress.c:
486 * check/states/.cvsignore:
487 * check/states/sinks.c:
489 * examples/Makefile.am:
490 * examples/appreader/.cvsignore:
491 * examples/appreader/Makefile.am:
492 * examples/appreader/appreader.c:
493 * examples/controller/.cvsignore:
494 * examples/controller/Makefile.am:
495 * examples/controller/audio-example.c:
496 * examples/cutter/.cvsignore:
497 * examples/cutter/Makefile.am:
498 * examples/cutter/cutter.c:
499 * examples/cutter/cutter.h:
500 * examples/events/Makefile.am:
501 * examples/events/seek.c:
502 * examples/helloworld/.cvsignore:
503 * examples/helloworld/Makefile.am:
504 * examples/helloworld/helloworld.c:
505 * examples/helloworld2/.cvsignore:
506 * examples/helloworld2/Makefile.am:
507 * examples/helloworld2/helloworld2.c:
508 * examples/launch/.cvsignore:
509 * examples/launch/Makefile.am:
510 * examples/launch/mp3parselaunch.c:
511 * examples/launch/mp3play:
512 * examples/manual/.cvsignore:
513 * examples/manual/Makefile.am:
514 * examples/manual/extract.pl:
515 * examples/metadata/Makefile.am:
516 * examples/metadata/read-metadata.c:
517 * examples/mixer/.cvsignore:
518 * examples/mixer/Makefile.am:
519 * examples/mixer/mixer.c:
520 * examples/mixer/mixer.h:
521 * examples/pingpong/.cvsignore:
522 * examples/pingpong/Makefile.am:
523 * examples/pingpong/pingpong.c:
524 * examples/plugins/.cvsignore:
525 * examples/plugins/Makefile.am:
526 * examples/plugins/example.c:
527 * examples/plugins/example.h:
528 * examples/pwg/.cvsignore:
529 * examples/pwg/Makefile.am:
530 * examples/pwg/extract.pl:
531 * examples/queue/.cvsignore:
532 * examples/queue/Makefile.am:
533 * examples/queue/queue.c:
534 * examples/queue2/.cvsignore:
535 * examples/queue2/Makefile.am:
536 * examples/queue2/queue2.c:
537 * examples/queue3/.cvsignore:
538 * examples/queue3/Makefile.am:
539 * examples/queue3/queue3.c:
540 * examples/queue4/.cvsignore:
541 * examples/queue4/Makefile.am:
542 * examples/queue4/queue4.c:
543 * examples/retag/.cvsignore:
544 * examples/retag/Makefile.am:
545 * examples/retag/retag.c:
546 * examples/retag/transcode.c:
547 * examples/thread/.cvsignore:
548 * examples/thread/Makefile.am:
549 * examples/thread/thread.c:
550 * examples/typefind/.cvsignore:
551 * examples/typefind/Makefile.am:
552 * examples/typefind/typefind.c:
553 * examples/xml/.cvsignore:
554 * examples/xml/Makefile.am:
555 * examples/xml/createxml.c:
556 * examples/xml/runxml.c:
558 * tests/check/Makefile.am:
559 * testsuite/.cvsignore:
560 * testsuite/Makefile.am:
562 * testsuite/caps/.cvsignore:
563 * testsuite/caps/Makefile.am:
564 * testsuite/caps/app_fixate.c:
565 * testsuite/caps/audioscale.c:
566 * testsuite/caps/caps.c:
567 * testsuite/caps/caps.h:
568 * testsuite/caps/caps_strings:
569 * testsuite/caps/compatibility.c:
570 * testsuite/caps/deserialize.c:
571 * testsuite/caps/enumcaps.c:
572 * testsuite/caps/eratosthenes.c:
573 * testsuite/caps/filtercaps.c:
574 * testsuite/caps/fixed.c:
575 * testsuite/caps/fraction-convert.c:
576 * testsuite/caps/fraction-multiply-and-zero.c:
577 * testsuite/caps/intersect2.c:
578 * testsuite/caps/intersection.c:
579 * testsuite/caps/normalisation.c:
580 * testsuite/caps/random.c:
581 * testsuite/caps/renegotiate.c:
582 * testsuite/caps/sets.c:
583 * testsuite/caps/simplify.c:
584 * testsuite/caps/string-conversions.c:
585 * testsuite/caps/structure.c:
586 * testsuite/caps/subtract.c:
587 * testsuite/caps/union.c:
588 * testsuite/debug/.cvsignore:
589 * testsuite/debug/Makefile.am:
590 * testsuite/debug/category.c:
591 * testsuite/debug/commandline.c:
592 * testsuite/debug/global.c:
593 * testsuite/debug/output.c:
594 * testsuite/debug/printf_extension.c:
595 * testsuite/dlopen/.cvsignore:
596 * testsuite/dlopen/Makefile.am:
597 * testsuite/dlopen/dlopen_gst.c:
598 * testsuite/dlopen/loadgst.c:
599 * testsuite/elements/.cvsignore:
600 * testsuite/elements/Makefile.am:
601 * testsuite/elements/gst-inspect-check.in:
602 * testsuite/elements/struct_i386.h:
603 * testsuite/elements/struct_size.c:
604 * testsuite/indexers/.cvsignore:
605 * testsuite/indexers/Makefile.am:
606 * testsuite/indexers/cache1.c:
607 * testsuite/indexers/indexdump.c:
608 * testsuite/parse/.cvsignore:
609 * testsuite/parse/Makefile.am:
610 * testsuite/parse/parse1.c:
611 * testsuite/parse/parse2.c:
612 * testsuite/plugin/.cvsignore:
613 * testsuite/plugin/Makefile.am:
614 * testsuite/plugin/README:
615 * testsuite/plugin/dynamic.c:
616 * testsuite/plugin/linked.c:
617 * testsuite/plugin/loading.c:
618 * testsuite/plugin/registry.c:
619 * testsuite/plugin/static.c:
620 * testsuite/plugin/static2.c:
621 * testsuite/plugin/testplugin.c:
622 * testsuite/plugin/testplugin2.c:
623 * testsuite/plugin/testplugin2_s.c:
624 * testsuite/plugin/testplugin_s.c:
625 * testsuite/refcounting/.cvsignore:
626 * testsuite/refcounting/Makefile.am:
627 * testsuite/refcounting/bin.c:
628 * testsuite/refcounting/element.c:
629 * testsuite/refcounting/element_pad.c:
630 * testsuite/refcounting/mainloop.c:
631 * testsuite/refcounting/mem.c:
632 * testsuite/refcounting/mem.h:
633 * testsuite/refcounting/object.c:
634 * testsuite/refcounting/pad.c:
635 * testsuite/refcounting/sched.c:
636 * testsuite/refcounting/thread.c:
637 * testsuite/states/.cvsignore:
638 * testsuite/states/Makefile.am:
639 * testsuite/states/bin.c:
640 * testsuite/states/locked.c:
641 * testsuite/states/parent.c:
642 * testsuite/threads/.cvsignore:
643 * testsuite/threads/159566.c:
644 * testsuite/threads/159852.c:
645 * testsuite/threads/Makefile.am:
646 * testsuite/threads/queue.c:
647 * testsuite/threads/signals.c:
648 * testsuite/threads/staticrec.c:
649 * testsuite/threads/thread.c:
650 * testsuite/threads/threadb.c:
651 * testsuite/threads/threadc.c:
652 * testsuite/threads/threadd.c:
653 * testsuite/threads/threade.c:
654 * testsuite/threads/threadf.c:
655 * testsuite/threads/threadg.c:
656 * testsuite/threads/threadh.c:
657 * testsuite/threads/threadi.c:
658 move all of these under tests
660 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
666 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
668 * docs/gst/gstreamer-sections.txt:
669 * tests/sched/.cvsignore:
670 * tests/sched/Makefile.am:
671 * tests/sched/cases/(fs-fs).xml:
672 * tests/sched/cases/(fs-i-fs).xml:
673 * tests/sched/cases/(fs-i-i-fs).xml:
674 * tests/sched/cases/(fs-i-q[i-fs]).xml:
675 * tests/sched/dynamic-pipeline.c:
676 * tests/sched/interrupt1.c:
677 * tests/sched/interrupt2.c:
678 * tests/sched/interrupt3.c:
679 * tests/sched/runtestcases:
680 * tests/sched/runxml.c:
681 * tests/sched/sched-stress.c:
682 * tests/sched/sort.c:
683 * tests/sched/testcases:
684 * tests/sched/testcases1.tc:
685 * tests/seeking/.cvsignore:
686 * tests/seeking/Makefile.am:
687 * tests/seeking/seeking1.c:
688 * tests/threadstate/.cvsignore:
689 * tests/threadstate/Makefile.am:
690 * tests/threadstate/test1.c:
691 * tests/threadstate/test2.c:
692 * tests/threadstate/threadstate1.c:
693 * tests/threadstate/threadstate2.c:
694 * tests/threadstate/threadstate3.c:
695 * tests/threadstate/threadstate4.c:
696 * tests/threadstate/threadstate5.c:
697 remove obsolete tests
699 * tests/bench-complexity.scm:
700 * tests/bench-mass_elements.scm:
701 * tests/complexity.c:
702 * tests/complexity.gnuplot:
703 * tests/instantiate/.cvsignore:
704 * tests/instantiate/Makefile.am:
705 * tests/instantiate/caps.c:
706 * tests/mass_elements.c:
707 * tests/network-clock-utils.scm:
708 * tests/network-clock.scm:
710 First pass at cleaning up tests/ dir before moving the rest
711 Combined with CVS surgery
713 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
716 queue has moved, update
718 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
720 * docs/gst/gstreamer-sections.txt:
721 remove double entries from the docs
723 * gst/gstinfo.c: (_gst_debug_init):
724 remove the THREAD debug category
728 * docs/gst/gstreamer.types:
729 * plugins/elements/gstqueue.c: (gst_queue_get_type),
730 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
731 completely move queue and fix up debugging categories
733 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
735 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
736 make initialization portable, using LL is not
738 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
740 * win32/common/gstconfig.h:
743 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
745 * win32/common/libgstreamer.def:
746 rename symbols; sort base section
748 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
750 * gst/gstclock.c: (do_linear_regression):
751 remove crack non-portable handrolled DEBUG macro
753 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
755 * docs/random/release:
757 * win32/common/gstenumtypes.c: (register_gst_object_flags),
758 (gst_object_flags_get_type), (register_gst_bin_flags),
759 (gst_bin_flags_get_type), (register_gst_buffer_flag),
760 (gst_buffer_flag_get_type), (register_gst_bus_flags),
761 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
762 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
763 (gst_caps_flags_get_type), (register_gst_clock_return),
764 (gst_clock_return_get_type), (register_gst_clock_entry_type),
765 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
766 (gst_clock_flags_get_type), (register_gst_state),
767 (gst_state_get_type), (register_gst_state_change_return),
768 (gst_state_change_return_get_type), (register_gst_state_change),
769 (gst_state_change_get_type), (register_gst_element_flags),
770 (gst_element_flags_get_type), (register_gst_core_error),
771 (gst_core_error_get_type), (register_gst_library_error),
772 (gst_library_error_get_type), (register_gst_resource_error),
773 (gst_resource_error_get_type), (register_gst_stream_error),
774 (gst_stream_error_get_type), (register_gst_event_type_flags),
775 (gst_event_type_flags_get_type), (register_gst_event_type),
776 (gst_event_type_get_type), (register_gst_seek_type),
777 (gst_seek_type_get_type), (register_gst_seek_flags),
778 (gst_seek_flags_get_type), (register_gst_format),
779 (gst_format_get_type), (register_gst_index_certainty),
780 (gst_index_certainty_get_type), (register_gst_index_entry_type),
781 (gst_index_entry_type_get_type),
782 (register_gst_index_lookup_method),
783 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
784 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
785 (gst_index_resolver_method_get_type), (register_gst_index_flags),
786 (gst_index_flags_get_type), (register_gst_debug_level),
787 (gst_debug_level_get_type), (register_gst_debug_color_flags),
788 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
789 (gst_iterator_result_get_type), (register_gst_iterator_item),
790 (gst_iterator_item_get_type), (register_gst_message_type),
791 (gst_message_type_get_type), (register_gst_mini_object_flags),
792 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
793 (gst_pad_link_return_get_type), (register_gst_flow_return),
794 (gst_flow_return_get_type), (register_gst_activate_mode),
795 (gst_activate_mode_get_type), (register_gst_pad_direction),
796 (gst_pad_direction_get_type), (register_gst_pad_flags),
797 (gst_pad_flags_get_type), (register_gst_pad_presence),
798 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
799 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
800 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
801 (gst_plugin_error_get_type), (register_gst_plugin_flags),
802 (gst_plugin_flags_get_type), (register_gst_rank),
803 (gst_rank_get_type), (register_gst_query_type),
804 (gst_query_type_get_type), (register_gst_tag_merge_mode),
805 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
806 (gst_tag_flag_get_type), (register_gst_task_state),
807 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
808 (gst_alloc_trace_flags_get_type),
809 (register_gst_type_find_probability),
810 (gst_type_find_probability_get_type), (register_gst_uri_type),
811 (gst_uri_type_get_type), (register_gst_parse_error),
812 (gst_parse_error_get_type):
813 * win32/common/gstenumtypes.h:
814 * win32/common/gstversion.h:
815 update visual studio generated files
817 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
819 * win32/vs6/libgstbase.dsp:
820 * win32/vs6/libgstelements.dsp:
821 update project files for new locations
823 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
833 * docs/random/LICENSE:
836 2005-11-30 Edward Hervey <edward@fluendo.com>
838 * gst/gsttypefind.c: (gst_type_find_register):
840 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
841 (gst_type_find_factory_dispose):
842 * gst/gsttypefindfactory.h:
843 Fix memory leak in GstTypeFindFactory.
845 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
848 * plugins/elements/Makefile.am:
849 * plugins/elements/gstelements.c:
850 * plugins/elements/gstqueue.c:
851 move queue from core to the elements plugin
853 2005-11-29 Andy Wingo <wingo@pobox.com>
855 * libs/gst/base/gstbasetransform.h:
856 * libs/gst/base/gstbasesrc.h:
857 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
859 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
860 of pointers by which to pad very extensible base classes (like the
861 ones in libs/gst/base).
863 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
865 * docs/gst/gstreamer-docs.sgml:
866 * docs/gst/gstreamer-sections.txt:
867 * docs/libs/gstreamer-libs-docs.sgml:
868 * docs/libs/gstreamer-libs-sections.txt:
869 moving documentation from core to lib
871 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
875 * docs/gst/Makefile.am:
877 * gst/base/.cvsignore:
878 * gst/base/Makefile.am:
880 * gst/base/gstadapter.c:
881 * gst/base/gstadapter.h:
882 * gst/base/gstbasesink.c:
883 * gst/base/gstbasesink.h:
884 * gst/base/gstbasesrc.c:
885 * gst/base/gstbasesrc.h:
886 * gst/base/gstbasetransform.c:
887 * gst/base/gstbasetransform.h:
888 * gst/base/gstcollectpads.c:
889 * gst/base/gstcollectpads.h:
890 * gst/base/gstpushsrc.c:
891 * gst/base/gstpushsrc.h:
892 * gst/base/gsttypefindhelper.c:
893 * gst/base/gsttypefindhelper.h:
894 * gst/check/Makefile.am:
895 * gst/check/gstcheck.c:
896 * gst/check/gstcheck.h:
897 * gst/net/Makefile.am:
899 * gst/net/gstnetclientclock.c:
900 * gst/net/gstnetclientclock.h:
901 * gst/net/gstnettimepacket.c:
902 * gst/net/gstnettimepacket.h:
903 * gst/net/gstnettimeprovider.c:
904 * gst/net/gstnettimeprovider.h:
905 * libs/gst/Makefile.am:
906 * libs/gst/base/Makefile.am:
907 * libs/gst/base/gstbasetransform.c:
908 * libs/gst/check/Makefile.am:
909 * plugins/elements/Makefile.am:
911 CVS surgery + support to move base, check, and net out of gst
914 2005-11-29 Andy Wingo <wingo@pobox.com>
916 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
918 * gst/gststructure.h (struct _GstStructure): Only one pointer of
921 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
923 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
925 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
927 * gst/gstobject.h: (struct _GstObject): Only one pointer of
928 padding; reduces object size by about 30%. We don't expect
929 anything else to go into gstobject.
931 * gst/gstminiobject.h (struct _GstMiniObject)
932 (struct _GstMiniObjectClass): Only one pointer of padding; the
933 payload is only a pointer and two ints anyway. For the class there
934 are only two methods as well.
936 * gst/gstelement.h (struct _GstElementClass): Removed
937 the state_changed signal callback, it is not used.
939 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
941 * docs/gst/gstreamer.types:
942 fix includes, though they are a little dinky
944 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
947 look in the right place for elements, a lot more chance of
950 remove indexers and elements subdirs
951 * plugins/Makefile.am:
952 make indexers conditional
954 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
958 * plugins/elements/Makefile.am:
959 * plugins/elements/gstcapsfilter.c:
960 * plugins/elements/gstfilesink.c:
961 * plugins/elements/gstfilesrc.c:
962 * plugins/elements/gstidentity.c:
963 * plugins/indexers/Makefile.am:
964 do CVS surgery and related build fixery to move elements
965 and indexers in a new gstreamer/plugins directory, out of the
968 2005-11-29 Andy Wingo <wingo@pobox.com>
971 * pkgconfig/gstreamer-net-uninstalled.pc.in:
972 * pkgconfig/gstreamer-net.pc.in:
973 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
976 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
979 * tools/gst-complete.1.in:
980 * tools/gst-complete.c:
981 * tools/gst-compprep.1.in:
982 * tools/gst-compprep.c:
983 removing -compprep and -complete
985 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
987 * gst/gstevent.c: (gst_event_new_new_segment),
988 (gst_event_parse_new_segment):
990 fix #320529 - clean up new_segment API and structure.
991 Let's hope everyone was using the methods, and not the structure.
993 2005-11-29 Edward Hervey <edward@fluendo.com>
995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
996 (gst_base_sink_event), (gst_base_sink_do_sync),
997 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
998 Properly handle non GST_FORMAT_TIME segment
999 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1000 Properly handle non GST_FORMAT_TIME segment
1002 This function is valid if the accumulator is 0 and the format
1003 is different from the requested format.
1005 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1007 * docs/gst/gstreamer-sections.txt:
1008 Add gst_query_new_seeking and gst_query_parse_seeking to the
1011 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1013 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1014 Treat a pad alloc with new caps the same as if we were not
1015 negotiated, in order to allow a changing upstream output
1016 to produce a new format of data.
1018 2005-11-29 Edward Hervey <edward@fluendo.com>
1020 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1021 (gst_base_transform_event), (gst_base_transform_eventfunc):
1022 The event virtual method is now properly implemented, with a default
1024 Sub classes should call the parent_class event method. They should
1025 return FALSE if they had a problem handling the given event, or don't
1026 want GstBaseTransform to send that even downstream
1027 * gst/elements/gstidentity.c: (gst_identity_class_init),
1028 (gst_identity_init), (gst_identity_event),
1029 (gst_identity_transform_ip), (gst_identity_set_property),
1030 (gst_identity_get_property):
1031 * gst/elements/gstidentity.h:
1032 Added the single-segment boolean property.
1033 If set to TRUE, it will output a single segment of data, starting from
1034 0, will eat up all incoming newsegment, and modify the timestamp of the
1037 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1039 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1040 Don't ref NULL target pad (#322751). Improve docs.
1042 2005-11-29 Michael Smith <msmith@fluendo.com>
1044 * gst/gstregistryxml.c: (load_plugin):
1045 Don't crash if we failed to load a feature from a plugin.
1047 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1049 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1051 use more check API and less GLib API
1053 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1056 don't run checks if we don't have check
1058 remove the registry when running make torture
1059 * docs/gst/gstreamer-sections.txt:
1060 remove second multiply
1061 * gst/gstqueue.c: (gst_queue_loop):
1062 fix a compile warning when disabling debug
1064 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1067 Hey! Let's print the pad name if the pointer != NULL instead
1068 of when it == NULL :-)
1070 2005-11-28 Wim Taymans <wim@fluendo.com>
1072 * check/gst/gstutils.c: (GST_START_TEST):
1073 Updated check, add some scaling accuracy checking code.
1075 * gst/gstutils.c: (gst_util_div128_64),
1076 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1077 (gst_util_uint64_scale_int):
1078 Fix 6 times faster division code. Optimize for common
1079 1/1 and less common X/1 cases.
1081 2005-11-28 Wim Taymans <wim@fluendo.com>
1083 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1086 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1087 (do_linear_regression), (gst_clock_add_observation):
1089 Release lock when the clock cannot be slaved.
1090 Catch the case where the regression returned an invalid denominator.
1092 * gst/gstutils.c: (gst_util_div128_64_iterate),
1093 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1094 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1095 Add protentially more performant non-iterative 128/64 divide function
1096 that unfortunatly does not work yet.
1097 Shortcut the trivial 0/X = 0 case.
1098 Remove the warnings on overflow.
1100 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1102 * gst/gstplugin.c: (gst_plugin_register_func):
1103 everything causing a plugin not to load should be at least a WARNING
1105 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1107 * docs/random/ensonic/dparams.txt:
1108 some TODOs for the next dev cycle
1109 * libs/gst/controller/gstcontroller.c:
1110 (gst_controlled_property_set_interpolation_mode),
1111 (gst_controlled_property_new):
1112 * libs/gst/controller/gstcontroller.h:
1113 use base type to assign acccessor functions
1115 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1117 * check/Makefile.am:
1118 Oops, that should have been top_srcdir
1120 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1122 * check/Makefile.am:
1123 * check/elements/fdsrc.c: (GST_START_TEST):
1124 Use a cmdline define to specify the location of a file to use for
1125 testing, to avoid breaking distcheck.
1127 2005-11-28 Andy Wingo <wingo@pobox.com>
1129 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1131 2005-11-28 Edward Hervey <edward@fluendo.com>
1133 * tools/gst-launch.c: (main):
1134 Clarify the output strings, makes it easier to translate.
1137 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1140 don't try and build net if we don't even have <sys/socket.h>
1142 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1144 * check/Makefile.am:
1145 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1146 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1147 Add tests for fdsrc seekability
1149 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1150 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1151 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1152 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1153 * gst/elements/gstfdsrc.h:
1154 fdsrc should not be a 'live' source.
1155 Implement seeking on seekable fd's.
1157 * gst/gstquery.c: (gst_query_new_seeking),
1158 (gst_query_parse_seeking):
1160 Implement SEEKING query functions:
1161 *_new_seeking and *_parse_seeking
1163 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1165 * gst/gstelement.c: (gst_element_dispose):
1168 * gst/gstiterator.c:
1169 * gst/gststructure.c:
1172 * libs/gst/controller/gstcontroller.c:
1173 (gst_controlled_property_set_interpolation_mode):
1174 * libs/gst/controller/gstcontroller.h:
1175 * libs/gst/controller/gstinterpolation.c:
1176 (interpolate_none_get_enum_value_array):
1177 support controlling enums
1179 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1182 Improve documentation for gst_value_union().
1185 Change return value for union, intersect and subtract functions
1186 from gint to gboolean.
1188 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1190 * gst/gstvalue.c: (gst_value_serialize_any_list),
1191 (gst_value_transform_any_list_string),
1192 (gst_value_deserialize_list), (gst_value_deserialize_array),
1193 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1194 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1195 (gst_value_set_fraction_range_full),
1196 (gst_value_deserialize_fraction_range),
1197 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1198 (gst_value_deserialize_boolean),
1199 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1200 (gst_value_serialize_float), (gst_value_deserialize_float),
1201 (gst_string_wrap), (gst_value_deserialize_string),
1202 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1203 (gst_value_union_int_range_int_range),
1204 (gst_value_intersect_int_range_int_range),
1205 (gst_value_intersect_double_range_double_range),
1206 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1207 (gst_value_subtract_int_range_int_range),
1208 (gst_value_subtract_double_double_range),
1209 (gst_value_subtract_double_range_double_range),
1210 (gst_value_deserialize_fraction):
1212 Use gint, gdouble and gchar in our API instead of int, double and
1213 char (and make usage in gstvalue.c more consistent).
1215 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1217 * check/Makefile.am:
1218 * libs/gst/controller/Makefile.am:
1219 * libs/gst/dataprotocol/Makefile.am:
1220 fix up Makefile.am and remove GST_ENABLE_NEW
1222 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1226 * gst/base/Makefile.am:
1227 * gst/check/Makefile.am:
1228 * gst/elements/Makefile.am:
1229 * gst/net/Makefile.am:
1230 update LDFLAGS use some more
1232 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1234 * common/m4/gst-doc.m4:
1237 2005-11-26 Edward Hervey <edward@fluendo.com>
1239 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1240 This shouldn't issue a g_warning since it returns NULL if it
1241 couldn't find the plugin, and all functions using this behave
1242 properly on a NULL return. Switching to a GST_WARNING.
1244 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1246 * gst/gstbin.c: (gst_bin_handle_message_func):
1247 Don't leak clock messages.
1249 2005-11-25 Wim Taymans <wim@fluendo.com>
1251 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1252 (gst_util_uint64_scale_int):
1253 Optimisations, remove unneeded vars.
1255 2005-11-25 Wim Taymans <wim@fluendo.com>
1257 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1258 Added more checks for the high precision uint64 cases.
1260 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1261 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1262 Implement high precision (guint64 * guint64) / guint64.
1264 2005-11-24 Wim Taymans <wim@fluendo.com>
1266 * gst/base/gstbasesrc.c: (gst_base_src_query):
1267 Fix wrong percentage query.
1269 * gst/gstutils.c: (gst_util_uint64_scale),
1270 (gst_util_uint64_scale_int):
1271 Add some more common cases that can be handled
1272 efficiently to _scale.
1274 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1276 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1277 (gst_mini_object_suite):
1278 don't use check calls from threads; check probably isn't
1279 threadsafe and using a lock to make it threadsafe would
1280 defeat the purpose of this check
1281 * gst/check/gstcheck.c:
1282 * gst/check/gstcheck.h:
1283 use GST_DEBUG some more
1285 2005-11-24 Wim Taymans <wim@fluendo.com>
1287 * gst/gstutils.c: (gst_util_uint64_scale),
1288 (gst_util_uint64_scale_int):
1289 Chain trivial case to _scale_int.
1291 2005-11-24 Wim Taymans <wim@fluendo.com>
1293 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1294 Added test for scaling.
1299 * gst/gstutils.c: (gst_util_uint64_scale_int):
1300 Implemented high precision scaling code.
1302 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1305 do not crash on pad==NULL
1307 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1309 Patch by: Stefan Kost
1311 * common/gtk-doc.mak:
1312 * docs/gst/Makefile.am:
1313 * docs/libs/Makefile.am:
1314 Fix distcheck issues for the libraries docs build
1317 2005-11-24 Michael Smith <msmith@fluendo.com>
1319 * docs/manual/basics-helloworld.xml:
1320 Fix bug #315027: memory leak in example code in docs.
1322 2005-11-24 Michael Smith <msmith@fluendo.com>
1324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1325 Unlock the PREROLL_LOCK in a failure case.
1327 2005-11-24 Wim Taymans <wim@fluendo.com>
1329 * docs/gst/gstreamer-sections.txt:
1330 * gst/base/gstadapter.h:
1331 * gst/base/gstbasesink.h:
1332 * gst/base/gstbasesrc.h:
1333 * gst/base/gstbasetransform.h:
1334 * gst/base/gstpushsrc.h:
1335 * gst/elements/gstfakesink.h:
1336 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1337 * gst/elements/gstfakesrc.h:
1338 * gst/elements/gstfilesink.h:
1339 * gst/elements/gstfilesrc.h:
1342 * gst/gstbuffer.c: (_gst_buffer_copy):
1345 * gst/gstchildproxy.c:
1348 * gst/gstelementfactory.c:
1349 * gst/gstelementfactory.h:
1351 * gst/gstghostpad.h:
1353 * gst/gstinterface.h:
1354 * gst/gstminiobject.c:
1355 * gst/gstminiobject.h:
1358 * gst/gstpadtemplate.h:
1359 * gst/gstpipeline.h:
1360 * gst/gstpluginfeature.h:
1365 * gst/gsttagsetter.c:
1366 * gst/gsttagsetter.h:
1369 * gst/gsttypefind.h:
1372 * gst/net/gstnetclientclock.c:
1373 * gst/net/gstnetclientclock.h:
1374 * gst/net/gstnettimepacket.c:
1375 * gst/net/gstnettimeprovider.c:
1376 * gst/net/gstnettimeprovider.h:
1379 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1381 * configure.ac: back to HEAD
1383 === release 0.9.6 ===
1385 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1388 releasing 0.9.6, "Always On Time"
1390 2005-11-23 Wim Taymans <wim@fluendo.com>
1392 * docs/gst/gstreamer-sections.txt:
1393 * gst/glib-compat.c:
1394 * gst/gsttagsetter.c:
1396 * gst/net/gstnetclientclock.c:
1397 * gst/net/gstnettimepacket.h:
1400 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1402 * docs/faq/using.xml:
1403 * docs/libs/tmpl/gstcontrol.sgml:
1404 * docs/manual/advanced-dparams.xml:
1405 * docs/manual/appendix-checklist.xml:
1406 * docs/manual/basics-elements.xml:
1407 * docs/pwg/other-source.xml:
1408 * docs/random/moving-plugins:
1410 * tools/gst-launch.1.in:
1411 remove mentions of sinesrc
1413 2005-11-23 Michael Smith <msmith@fluendo.com>
1415 * docs/gst/gstreamer-sections.txt:
1416 Update for new API and API changes.
1418 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1420 Documentation typo fix.
1421 * gst/net/gstnettimepacket.c:
1422 Documentation fixes for arguments.
1424 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1426 * gst/gststructure.c: (gst_structure_get_fraction),
1427 (gst_structure_parse_value),
1428 (gst_structure_fixate_field_nearest_fraction):
1429 * gst/gststructure.h:
1430 * gst/gstutils.c: (gst_util_uint64_scale_int):
1432 * scripts/update-funcnames:
1434 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1435 Make gst_structure_fixate_field_nearest_fraction take a numerator
1436 and denominator argument instead of a GValue
1437 add gst_structure_get_fraction helper function.
1439 2005-11-23 Wim Taymans <wim@fluendo.com>
1441 * docs/design/part-TODO.txt:
1444 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1445 * gst/net/gstnetclientclock.h:
1446 Use parent fields for timeout and window_size.
1448 2005-11-23 Andy Wingo <wingo@pobox.com>
1450 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1451 rate_num/rate_denom change.
1453 * gst/net/gstnetclientclock.c
1454 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1455 OBJECT_LOCK. Don't call add_observation with the lock.
1457 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1459 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1461 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1462 deal with rate as a fraction whose numerator and denominator are
1463 GstClockTime values.
1464 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1465 master; the other fields are protected by the SLAVE_LOCK.
1466 (do_linear_regression): Note that this must be called with the
1468 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1469 OBJECT_LOCK. Call set_calibration instead of touching the
1471 (gst_clock_set_property, gst_clock_get_property): Protect
1472 master/slave parameters with the SLAVE_LOCK.
1474 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1475 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1476 note that all of the instance variables that add_observation and
1477 the set_master functions use are protected by that lock and not
1479 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1481 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1482 the caller to take the object lock.
1484 2005-11-23 Wim Taymans <wim@fluendo.com>
1486 * gst/gsterror.c: (_gst_core_errors_init):
1488 Add error for clock stuff.
1490 * gst/gstpipeline.c: (gst_pipeline_change_state),
1491 (gst_pipeline_set_clock):
1492 Post clock error when clock cannot be used in a pipeline.
1494 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1496 * docs/gst/gstreamer-sections.txt:
1497 make two symbols from gstinfo private for the docs
1498 * gst/base/gstcollectpads.h:
1500 fix doc typos, update docs
1502 2005-11-22 Wim Taymans <wim@fluendo.com>
1504 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1505 (gst_base_sink_wait), (gst_base_sink_do_sync),
1506 (gst_base_sink_handle_event):
1507 * gst/base/gstbasesink.h:
1508 No need to store the clock, the parent element class already
1511 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1512 Updates for clock_set returning a gboolean
1514 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1515 (gst_clock_id_wait_async), (gst_clock_class_init),
1516 (gst_clock_init), (gst_clock_finalize),
1517 (gst_clock_get_internal_time), (gst_clock_get_time),
1518 (gst_clock_slave_callback), (gst_clock_set_master),
1519 (gst_clock_get_master), (do_linear_regression),
1520 (gst_clock_add_observation), (gst_clock_set_property),
1521 (gst_clock_get_property):
1523 Implement master/slave. When setting a clock as a slave, a
1524 periodic timeout is scheduled to sample master and slave times.
1525 Then the slave clock is recalibrated to match offset and rate
1526 of the master clock.
1527 Update logging a bit.
1528 Add flag so that a clock can state that is cannot be slaved to
1531 * gst/gstelement.c: (gst_element_set_clock):
1533 The set clock returns a gboolean for when an element cannot
1534 deal with the selected clock in the pipeline.
1536 * gst/gstpipeline.c: (gst_pipeline_change_state),
1537 (gst_pipeline_set_clock):
1538 * gst/gstpipeline.h:
1539 Handle the case where the selected clock cannot be set on
1542 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1543 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1544 (gst_net_client_clock_set_property),
1545 (gst_net_client_clock_get_property),
1546 (gst_net_client_clock_observe_times):
1547 * gst/net/gstnetclientclock.h:
1548 Use regression code in GstClock parent, remove duplicated
1551 2005-11-22 Michael Smith <msmith@fluendo.com>
1553 * gst/gstutils.c: (gst_util_clock_time_scale):
1555 * docs/gst/gstreamer-sections.txt:
1556 Rename method to have extra underscore.
1558 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1560 * gst/elements/Makefile.am:
1561 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1562 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1563 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1564 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1565 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1566 * gst/elements/gstfakesrc.h:
1567 * gst/gstqueue.c: (queue_leaky_get_type):
1568 correctly fix GEnumValues so that nick is the short lowercase
1570 * tools/gst-inspect.c: (print_element_properties_info):
1571 also show the nick, since it's useful to use from parse_launch
1575 2005-11-22 Michael Smith <msmith@fluendo.com>
1577 * gst/gstutils.c: (gst_util_clocktime_scale):
1579 * docs/gst/gstreamer-sections.txt:
1580 Add util method for scaling a clocktime by a fraction. Useful
1581 implementation is left as an exercise for the reader.
1583 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1585 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1586 If needed, allocate storage in the destination value during
1589 2005-11-22 Edward Hervey <edward@fluendo.com>
1591 * docs/gst/gstreamer-sections.txt:
1596 * gst/gstutils.c: (gst_util_set_object_arg):
1597 * tools/gst-compprep.c: (main):
1598 * tools/gst-inspect.c: (print_element_properties_info):
1599 Removed GstURI, closes bug #321061
1601 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1603 * check/gst/gststructure.c: (GST_START_TEST):
1604 * gst/gststructure.c: (gst_structure_parse_value):
1605 Oops, broke automatic string type parsing.
1606 Add a test to catch it in future.
1608 2005-11-22 Andy Wingo <wingo@pobox.com>
1610 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1611 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1612 Actually rename the function implementations. Grr.
1614 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1616 * check/gst/capslist.h:
1618 * check/gst/gststructure.c: (GST_START_TEST),
1619 (gst_structure_suite):
1620 Test automatic value type detection in gst_structure_from_string.
1621 * gst/gststructure.c: (gst_structure_parse_value):
1622 Add fraction as a type we try and guess automatically in
1623 caps/structure strings.
1625 2005-11-22 Andy Wingo <wingo@pobox.com>
1627 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1629 * gst/gsttagsetter.h:
1630 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1631 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1632 (gst_tag_setter_add_tag_valist)
1633 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1634 _add_values, _add_valist, and _add_valist_values. Since this is an
1635 interface the function suffixes should be more explicit so
1636 language binding don't end up with element.add_valist ->
1637 gst_tag_setter_add_valist, for example. Fixes #322069.
1639 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1641 * check/gst/gstcaps.c: (GST_START_TEST):
1642 Extend caps string tests to check that a caps to string
1643 conversion is reversible and produces the same caps.
1645 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1646 Output "fraction" as the generic type fraction range, so caps
1647 serialisation and deserialisation works.
1648 * check/gst/capslist.h:
1649 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1650 Support 'MIN' and 'MAX' for deserialising fractions.
1652 2005-11-22 Andy Wingo <wingo@pobox.com>
1654 * gst/gstevent.h (gst_event_new_new_segment)
1655 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1656 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1657 Renamed from *_newsegment, *_buffersize, *_notarget.
1659 * scripts/update-funcnames: New script, performs the changes
1662 2005-11-22 Wim Taymans <wim@fluendo.com>
1664 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1665 Make sure the GstFlowReturn is returned.
1667 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1668 (gst_bus_add_signal_watch):
1670 add gst_bus_add_signal_watch_full.
1672 * gst/gstplugin.c: (gst_plugin_load_file):
1673 Small style cleanup.
1675 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1677 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1678 Block the fakesrc srcpad when we send an event, to avoid
1679 contention on the stream_lock causing random test failures.
1681 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1683 * check/gst/gstvalue.c: (GST_START_TEST):
1684 * gst/gstvalue.c: (gst_value_fraction_subtract):
1687 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1690 include "gstchildproxy.h"
1691 * gst/gstchildproxy.h:
1692 * libs/gst/controller/gstcontroller.h:
1693 use G_GNUC_NULL_TERMINATED
1695 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1697 * check/gst/capslist.h:
1698 * check/gst/gstcaps.c: (GST_START_TEST):
1699 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1700 * gst/gststructure.c: (gst_structure_parse_range),
1701 (gst_structure_fixate_field_nearest_fraction):
1702 * gst/gststructure.h:
1703 * gst/gstvalue.c: (gst_value_init_fraction_range),
1704 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1705 (gst_value_collect_fraction_range),
1706 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1707 (gst_value_set_fraction_range_full),
1708 (gst_value_get_fraction_range_min),
1709 (gst_value_get_fraction_range_max),
1710 (gst_value_serialize_fraction_range),
1711 (gst_value_transform_fraction_range_string),
1712 (gst_value_compare_fraction_range),
1713 (gst_value_deserialize_fraction_range),
1714 (gst_value_intersect_fraction_fraction_range),
1715 (gst_value_intersect_fraction_range_fraction_range),
1716 (gst_value_subtract_fraction_fraction_range),
1717 (gst_value_subtract_fraction_range_fraction),
1718 (gst_value_subtract_fraction_range_fraction_range),
1719 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1720 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1721 (gst_value_transform_string_fraction), (_gst_value_initialize):
1723 Implement fraction ranges and extend GstFraction to support
1724 arithmetic subtraction, as well as deserialization from integer
1725 strings such as "100"
1726 Add a testsuite as for int and double range set operations
1728 2005-11-21 Andy Wingo <wingo@pobox.com>
1732 * gst/gststructure.h: Add glib-compat.h.
1734 2005-11-21 Wim Taymans <wim@fluendo.com>
1736 * gst/gstbin.c: (gst_bin_change_state_func):
1739 2005-11-21 Wim Taymans <wim@fluendo.com>
1742 And add a nice define too.
1744 2005-11-21 Wim Taymans <wim@fluendo.com>
1746 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1747 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1748 (gst_segment_set_duration), (gst_segment_set_last_stop),
1749 (gst_segment_set_seek), (gst_segment_set_newsegment),
1750 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1753 Make binding friendly.
1755 2005-11-21 Andy Wingo <wingo@pobox.com>
1757 * gst/gsttagsetter.h:
1759 * gst/gststructure.h:
1761 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1764 * gst/gsterror.c (_gst_core_errors_init):
1765 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1768 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1769 (noinst_HEADERS): noinst the -private.
1771 2005-11-21 Michael Smith <msmith@fluendo.com>
1774 * gst/gstregistry.h:
1775 Remove unimplemented declarations for which we can see no sensible
1778 2005-11-21 Andy Wingo <wingo@pobox.com>
1780 * gst/gst.h: Include glib-compat.h.
1782 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1784 * gst/glib-compat.c: Include the public and the private header.
1786 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1790 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1792 * check/gst/gstevent.c (create_custom_events): Check that
1793 FLUSH_STOP is serialized.
1795 * check/elements/identity.c (event_func):
1796 * check/elements/fakesrc.c (event_func): No stream lock, the core
1799 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1800 stream lock taking, yay.
1802 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1803 ensure that core takes the stream lock.
1805 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1808 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1809 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1810 it already. For the flush start we do take it though so we get the
1811 right preroll state change messages.
1813 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1814 the stream lock here, the core does it for us.
1816 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1817 GST_STREAM_GET_LOCK.
1818 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1819 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1820 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1821 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1822 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1823 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1825 * gst/gstpad.c: Update for stream lock name change.
1827 * gst/base/gstbasesink.c: Update for preroll lock name change.
1829 2005-11-21 Wim Taymans <wim@fluendo.com>
1831 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1832 (gst_clock_get_master):
1834 * gst/gstsystemclock.c: (gst_system_clock_init):
1835 Convert Clock flags to object flags.
1836 Added methods to manage master/slave clocks.
1838 2005-11-21 Wim Taymans <wim@fluendo.com>
1840 * check/gst/gstsegment.c: (GST_START_TEST):
1841 * docs/design/part-TODO.txt:
1842 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1843 (gst_base_sink_event), (gst_base_sink_do_sync),
1844 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1845 (gst_base_sink_query), (gst_base_sink_change_state):
1846 * gst/base/gstbasesink.h:
1847 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1848 (gst_base_src_default_newsegment),
1849 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1850 (gst_base_src_get_range), (gst_base_src_loop),
1851 (gst_base_src_change_state):
1852 * gst/base/gstbasesrc.h:
1853 * gst/base/gstbasetransform.c:
1854 (gst_base_transform_prepare_output_buf),
1855 (gst_base_transform_event), (gst_base_transform_change_state):
1856 * gst/base/gstbasetransform.h:
1857 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1858 (gst_collect_pads_event):
1859 * gst/base/gstcollectpads.h:
1860 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1861 (gst_fake_src_create):
1862 * gst/elements/gstfakesrc.h:
1863 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1864 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1865 (gst_segment_set_last_stop), (gst_segment_set_seek),
1866 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1867 (gst_segment_to_running_time), (gst_segment_clip):
1869 More segment updates, replace code in plugins with segment
1872 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1874 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1875 Don't ignore sscanf results
1877 2005-11-21 Andy Wingo <wingo@pobox.com>
1879 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1882 * *.c: Ran scripts/update-macros. Oh yes.
1884 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1885 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1888 * scripts/update-macros: New script. Run it on your files to
1889 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1892 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1894 * docs/gst/Makefile.am:
1895 * docs/gst/gstreamer-docs.sgml:
1896 * docs/gst/gstreamer-sections.txt:
1897 * docs/gst/gstreamer.types:
1899 more docs fixes, add new api to the docs
1901 2005-11-21 Andy Wingo <wingo@pobox.com>
1903 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1904 state_broadcast call.
1906 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1908 2005-11-21 Julien MOUTTE <julien@moutte.net>
1910 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1911 function calls for arrays.
1913 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1915 * docs/random/ensonic/media-device-daemon.txt:
1916 wild idea, can this be done?
1917 * docs/gst/gstreamer-sections.txt:
1922 * gst/gstpluginfeature.c:
1926 doc fixes and additions
1928 2005-11-21 Andy Wingo <wingo@pobox.com>
1930 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1931 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1932 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1933 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1934 private to the basesrc implementation.
1936 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1937 behalf of event function if necessary. It should no longer be
1938 necessary to take the stream lock in pad's event functions. Fixes
1941 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1942 * docs/gst/gstreamer-sections.txt:
1943 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1944 (gst_structure_fixate_field_nearest_double),
1945 (gst_structure_fixate_field_boolean):
1946 * gst/gststructure.h:
1947 * win32/common/libgstreamer.def:
1948 * win32/gstreamer.def:
1950 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1953 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1955 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1956 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1957 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1958 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1959 (gst_fdsrc_uri_handler_init):
1960 * gst/elements/gstfdsrc.h:
1961 Port fd:// URI handler from 0.8 to fdsrc
1963 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1965 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1966 (gst_value_serialize_fourcc):
1968 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1969 consistent with our other format defines (#320324).
1971 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1973 * gst/gstvalue.c: (gst_value_is_fixed):
1974 Revert previous commit. Value lists are by definition
1975 not fixed, as they are a list of possible values.
1977 2005-11-21 Andy Wingo <wingo@pobox.com>
1979 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1980 during the stable series if we need it. Fixes #319178.
1982 * gst/gstevent.c (gst_event_new_filler): Removed.
1984 * check/gst/gstevent.c: Update comment about filler events.
1986 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1988 * gst/gstvalue.c: (gst_value_is_fixed):
1989 Should handle both value arrays and value lists.
1991 2005-11-21 Andy Wingo <wingo@pobox.com>
1993 patch by: Alessandro Dessina <alessandro nnva org>
1995 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1996 functions to access arrays. Fixes #321962.
1998 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2000 * docs/gst/gstreamer.types:
2001 gst_collectpads_get_type => gst_collect_pads_get_type.
2003 * gst/base/gstbasetransform.c:
2004 Remove unused SIGNAL_HANDOFF enum.
2006 2005-11-21 Andy Wingo <wingo@pobox.com>
2008 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2009 the event type (upstream, downstream, serialized). Renamed
2010 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2011 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2012 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2014 * gst/gstevent.c: Update for new CUSTOM event names.
2016 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2019 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2022 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2024 * docs/gst/gstreamer-sections.txt:
2025 * win32/common/libgstbase.def:
2026 * win32/libgstbase.def:
2027 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2028 (gst_collect_pads_class_init), (gst_collect_pads_init),
2029 (gst_collect_pads_finalize), (gst_collect_pads_new),
2030 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2031 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2032 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2033 (gst_collect_pads_start), (gst_collect_pads_stop),
2034 (gst_collect_pads_peek), (gst_collect_pads_pop),
2035 (gst_collect_pads_available), (gst_collect_pads_read),
2036 (gst_collect_pads_flush), (gst_collect_pads_event),
2037 (gst_collect_pads_chain):
2038 * gst/base/gstcollectpads.h:
2039 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2040 unimplemented functions as unimplemented. Add padding to
2041 GstCollectData. (#320766, #320423)
2043 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2046 Improve docs for DURATION message (usage of duration parameter)
2049 2005-11-20 Wim Taymans <wim@fluendo.com>
2051 * check/Makefile.am:
2052 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2056 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2057 (gst_segment_set_seek), (gst_segment_set_newsegment),
2058 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2061 Added segment helper structure and methods. Not fully implemented
2063 Added segment check.
2065 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2067 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2068 Add a deserialisation test for fractions
2069 * examples/metadata/read-metadata.c: (message_loop),
2070 (make_pipeline), (main):
2071 Fix up metadata reading sample.
2072 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2074 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2075 Don't try and fixate empty caps
2076 * gst/gst_private.h:
2077 Wrap in G_BEGIN_DECLS/G_END_DECLS
2078 * gst/gstvalue.c: (gst_value_collect_fraction),
2079 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2080 (gst_value_transform_string_fraction),
2081 (gst_value_compare_fraction):
2082 Add some extra guards to ensure that we don't end up
2083 with an invalid denominator of 0 in a gstfraction and
2084 that fractions always get reduced.
2086 2005-11-20 Wim Taymans <wim@fluendo.com>
2088 * docs/gst/gstreamer-sections.txt:
2099 2005-11-20 Wim Taymans <wim@fluendo.com>
2101 * docs/design/part-TODO.txt:
2103 Make a proper enum of the flag.
2105 2005-11-19 Wim Taymans <wim@fluendo.com>
2107 * docs/design/part-TODO.txt:
2108 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2109 (gst_format_to_quark), (gst_format_register):
2111 * gst/gstquery.c: (_gst_query_initialize),
2112 (gst_query_type_get_name), (gst_query_type_to_quark),
2113 (gst_query_type_register):
2115 Add type to quark and type to string conversions.
2117 2005-11-19 Andy Wingo <wingo@pobox.com>
2119 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2122 2005-11-19 Wim Taymans <wim@fluendo.com>
2124 * docs/design/part-TODO.txt:
2125 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2126 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2127 (gst_bin_handle_message_func):
2129 Make message handling overridable.
2131 2005-11-19 Andy Wingo <wingo@pobox.com>
2133 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2136 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2138 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2139 is a GstClockTime. Fixes #321710.
2141 * gst/gstclock.h (GstClock): Remove offset property. Add
2142 internal_calibration and external_calibration. Fix padding. Pad
2143 also by GstClockTime so we don't run into problems.
2145 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2146 (gst_clock_get_rate_offset): Remove.
2147 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2150 * gst/gstutils.c (g_static_rec_cond_wait)
2151 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2153 * gst/gstbin.c: Remove terrible continue_state prototype.
2155 * gst/gstelement.h (gst_element_continue_state): Make public.
2158 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2159 by continue_state. Fixes #319389.
2161 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2162 Really fixes #168438. However I don't see anywhere where the
2163 filter function is called... stupid GStreamer...
2165 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2166 don't have a dispose function, so it won't get called when the
2167 object is unreffed, but oh well!
2169 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2170 allows a destroy function to be set so user_data can be freed.
2172 (gst_index_set_filter): Call gst_index_set_filter_full.
2174 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2176 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2177 string should produce an error, given the lack of a way to
2178 represent NULL strings. Fixes #165650.
2181 * gst/gstvalue.c (gst_value_array_append_value)
2182 (gst_value_array_prepend_value, gst_value_array_get_size)
2183 (gst_value_array_get_value): New API, copied from
2184 gst_value_list_*, only operates on arrays.
2185 (gst_value_list_append_value, gst_value_list_prepend_value)
2186 (gst_value_list_concat, gst_value_list_get_size)
2187 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2189 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2190 init_list, because it works on both.
2191 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2192 (gst_value_copy_list_or_array): Renamed from copy_list.
2193 (gst_value_free_list_or_array): Renamed from free_list.
2194 (gst_value_collect_list_or_array): Renamed from collect_list.
2195 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2196 (gst_value_list_or_array_peek_pointer): Renamed from
2198 (_gst_value_array_value_table, _gst_value_list_value_table):
2199 Update value table functions.
2200 (gst_value_compare_list_or_array): Renamed from compare_list.
2202 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2206 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2207 GstTagList*. Fixes #143472.
2209 * gst/gststructure.h: Clarify what the foreach/map functions can
2210 or can't do to their arguments.
2212 2005-11-18 Wim Taymans <wim@fluendo.com>
2214 * gst/gstclock.c: (gst_clock_set_calibration),
2215 (gst_clock_get_calibration):
2217 Calibration can be set with internal time equal to current
2220 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2226 2005-11-18 Andy Wingo <wingo@pobox.com>
2229 * pkgconfig/gstreamer-net.pc.in:
2230 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2231 * pkgconfig/Makefile.am: Add net pkgconfig files.
2233 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2236 * gst/gstghostpad.c:
2242 2005-11-18 Andy Wingo <wingo@pobox.com>
2244 * gst/net/gstnetclientclock.c: Turn off debugging.
2246 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2247 times connverge somewhat. Can't make a real test.
2249 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2250 integer arithmetic. Return the minimum of the domain, which can be
2251 set as "internal" for gst_clock_set_calibration.
2252 (gst_net_client_clock_observe_times): Call _set_calibration.
2253 (gst_net_client_clock_new): Call _set_calibration instead of
2256 * check/net/gstnetclientclock.c (test_functioning): Use the right
2260 * gst/gstclock.c (gst_clock_get_calibration)
2261 (gst_clock_set_calibration): New functions, obsolete the ones I
2262 added yesterday. Doh. Precision issues mean we have to extrapolate
2263 from a point in the more recent past than 1970.
2264 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2266 (gst_clock_adjust_unlocked): Use the right calibration data.
2268 2005-11-18 Edward Hervey <edward@fluendo.com>
2270 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2271 Also reset the ->current_* values in READY->PAUSED
2273 2005-11-18 Andy Wingo <wingo@pobox.com>
2275 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2276 Whoops, check the right fd. Also add some debugging.
2277 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2278 (do_linear_regression): Add a crapload of debugging. Subtract off
2279 the minimum values from the input series to discard unneeded bits.
2280 Use only int arithmetic. There is still double arithmetic when
2281 calculating the intercept that needs fixing. Return boolean to
2282 indicate success; FALSE would mean the domain or range is too
2283 great. Still needs fixes.
2285 2005-11-18 Wim Taymans <wim@fluendo.com>
2287 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2288 For the current position in stream time, we need to subtract
2291 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2292 Release lock before calling the callback function of async
2295 2005-11-18 Andy Wingo <wingo@pobox.com>
2297 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2298 Port goes all the way to MAXUINT16.
2300 * gst/net/gstnettimeprovider.c: Make the port range the same as
2301 for the kernel: 0 assigns, otherwise ports are less than
2304 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2307 * check/net/gstnetclientclock.c (test_functioning): Add the start
2310 2005-11-18 Wim Taymans <wim@fluendo.com>
2312 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2313 (gst_bin_remove_func), (bin_bus_handler):
2315 Removing a clock provider from a bin, triggers a clock lost message
2316 so that a new clock will be selected.
2317 Adding a clock to a bin triggers a clock provider message.
2318 Make sure we reselect a clock when we received a clock lost message.
2319 Keep a reference to the element that provided the clock.
2321 2005-11-18 Andy Wingo <wingo@pobox.com>
2323 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2324 the clock initially so it produces values around the base time.
2325 (gst_net_client_clock_class_init): Typo fix.
2326 (gst_net_client_clock_thread): Add note on when the socket gets
2329 2005-11-17 Wim Taymans <wim@fluendo.com>
2331 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2332 Free remote and local time arrays.
2334 2005-11-17 Wim Taymans <wim@fluendo.com>
2336 * gst/net/gstnetclientclock.c: (do_linear_regression),
2337 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2338 Fix compilation, uninitialized vars and a forgotten continue.
2340 2005-11-17 Andy Wingo <wingo@pobox.com>
2342 * check/Makefile.am (check_PROGRAMS):
2343 * check/net/gstnetclientclock.c: Add a most minimal test for the
2344 net client clock. More to come later.
2347 * gst/net/Makefile.am: Add netclientclock.
2349 * gst/net/gstnetclientclock.h:
2350 * gst/net/gstnetclientclock.c: New files, implement an untested
2351 GstClock that takes its time from a network time provider.
2352 Implements the algorithm in network-clock.scm.
2354 * tests/network-clock.scm (*window-size*): Rename from
2356 * tests/network-clock.scm (network-time):
2357 * tests/network-clock-utils.scm (q-push): Update callers.
2359 2005-11-17 Wim Taymans <wim@fluendo.com>
2361 * gst/gstbin.c: (gst_bin_provide_clock_func),
2362 (gst_bin_sort_iterator_new):
2363 And unref the child too..
2365 2005-11-17 Wim Taymans <wim@fluendo.com>
2367 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2368 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2369 Refactor the sort iterator so it can be used while holding the
2371 Make clock selection select a clock closest to the source.
2373 2005-11-17 Michael Smith <msmith@fluendo.com>
2375 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2376 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2378 Anonymous structs are a gcc (and some other compilers) extension, so
2379 don't use them. Since this is only for ABI-compatibility, and our
2380 API/ABI freeze is over in a few days, this whole thing will only
2381 last a few days, so don't bother trying to think up a meaningful
2382 name for the struct.
2384 2005-11-17 Andy Wingo <wingo@pobox.com>
2386 * gst/gstclock.h (GstClock): Add rate and offset properties,
2387 preserving ABI stability. Add rate/offset accessors. Will file bug
2388 for the freeze break.
2390 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2391 and offset, trying to keep precision and avoiding
2393 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2394 functions. Make gst_clock_set_time_adjust obsolete.
2395 (gst_clock_set_time_adjust): Note that this function is obsolete.
2398 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2399 greppable by using GST_PADDING-1+1.
2401 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2403 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2405 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2406 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2408 * gst/gstpadtemplate.h:
2409 * gst/gstpluginfeature.h:
2410 Don't use c++ style comments in headers (#321638).
2412 2005-11-16 Andy Wingo <wingo@pobox.com>
2414 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2417 * check/net/gstnettimeprovider.c: Check to see that the time
2418 provider actually provides times. Works, yo!
2420 2005-11-16 Wim Taymans <wim@fluendo.com>
2422 * check/Makefile.am:
2425 * check/elements/fakesrc.c: (GST_START_TEST):
2426 Set element to NULL before disposing it.
2428 2005-11-16 Andy Wingo <wingo@pobox.com>
2430 * gst/net/Makefile.am:
2432 * gst/net/gstnettimeprovider.c:
2433 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2434 provider, include it from gstnet.h, and add it to the build.
2436 * gst/net/gstnettimepacket.h:
2437 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2438 sending and receiving.
2440 2005-11-16 Wim Taymans <wim@fluendo.com>
2442 * check/Makefile.am:
2443 Enable valgrind check.
2445 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2446 (gst_fake_src_alloc_buffer):
2449 2005-11-16 Wim Taymans <wim@fluendo.com>
2451 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2452 Call parent finalize too.
2454 2005-11-16 Wim Taymans <wim@fluendo.com>
2456 * check/Makefile.am:
2457 Enable valgrind check that should work fine now.
2459 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2460 * gst/gstqueue.c: (gst_queue_init):
2461 Fix memleaks in pad allocation.
2463 2005-11-16 Andy Wingo <wingo@pobox.com>
2465 * gst/net/Makefile.am:
2466 * gst/net/gstnet.h: New part of core to hold network elements and
2467 objects. Put in core because it exposes API that applications want
2468 to use. The library is named libgstnet-tempname right now because
2469 of the existing libgstnet in gst-plugins-base. Solution is
2470 probably to rename the one in plugins-base; will file a bug for
2473 * gst/net/gstnettimeprovider.c:
2474 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2475 get_time call over the network.
2478 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2480 * check/Makefile.am:
2481 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2482 get additions shortly.
2484 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2486 * gst/gstpad.c: (gst_pad_new_from_static_template):
2488 add gst_pad_new_from_static_template functions
2489 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2490 (gst_check_setup_sink_pad):
2491 * gst/elements/gsttee.c: (gst_tee_init):
2494 2005-11-16 Wim Taymans <wim@fluendo.com>
2496 * gst/gstpad.c: (gst_pad_pause_task):
2497 Removed warning, it's not really an error either.
2499 2005-11-16 Wim Taymans <wim@fluendo.com>
2501 * gst/base/gstbasetransform.c:
2502 (gst_base_transform_prepare_output_buf),
2503 (gst_base_transform_event):
2504 Check if the caps are NULL, this can happen if the element
2505 is shutting down and the pad caps are set to NULL.
2507 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2509 * gst/elements/gsttee.c: (gst_tee_init):
2510 fix pad template leak in tee
2512 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2514 * gst/glib-compat.c: (g_value_dup_gst_object):
2515 * gst/glib-compat.h:
2516 * gst/gstpad.c: (gst_pad_set_property):
2517 use gst_object_ref when setting the pad template; this will
2518 trigger the pad template leaks on GLib 2.6 and the slaves
2520 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2522 * gst/glib-compat.c: (gst_flags_get_first_value):
2523 * gst/glib-compat.h:
2524 * gst/gstregistryxml.c:
2525 remove functions copied from GLib 2.6
2527 2005-11-16 Michael Smith <msmith@fluendo.com>
2530 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2531 do, but only breaks with newer valgrind versions. We're not a
2532 valgrind tool, we have no link-time dependencies on libcoregrind.
2534 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2536 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2541 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2543 * gst/base/gstbasesrc.c: (gst_base_src_init):
2544 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2545 * gst/gstqueue.c: (gst_queue_init):
2546 * gst/gstregistryxml.c: (load_feature):
2547 Revert all these unrefs, they don't even pass make check !
2549 2005-11-15 Johan Dahlin <johan@gnome.org>
2551 * gst/base/gstbasesrc.c: (gst_base_src_init):
2552 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2553 * gst/gstqueue.c: (gst_queue_init):
2554 Free pad templates, fixes a couple of leaks.
2556 2005-11-15 Daniel Fischer <dan at f3c dot com>
2558 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2560 * gst/gstpad.c: (gst_pad_get_property):
2561 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2562 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2565 2005-11-15 Wim Taymans <wim@fluendo.com>
2570 2005-11-15 Andy Wingo <wingo@pobox.com>
2572 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2574 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2575 using GST_CLOCK_TIME_NONE to disable base time management.
2576 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2577 time if it was NONE before.
2578 (gst_pipeline_change_state): Only munge the base time if
2579 stream_time != GST_CLOCK_TIME_NONE.
2581 * check/gst/gstpipeline.c (test_base_time): Punt around the
2582 problem of the probe not being called, because that's not the
2583 issue I'm looking at. Add a check that setting stream_time to NONE
2584 disables base time management.
2586 2005-11-15 Wim Taymans <wim@fluendo.com>
2588 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2589 segment_stop == -1 at startup.
2591 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2592 (gst_base_transform_change_state):
2593 Init segment values at start.
2595 2005-11-15 Wim Taymans <wim@fluendo.com>
2597 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2598 0 segment values are 0 in any format.
2600 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2601 * gst/base/gstbasetransform.h:
2602 Parse newsegment correctly in basetransform
2604 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2605 Sync to clock using updated segment values.
2607 2005-11-15 Andy Wingo <wingo@pobox.com>
2609 * check/gst/gstpipeline.c (test_base_time): Add check that the
2610 base time and stream time are reset correctly.
2612 2005-11-15 Wim Taymans <wim@fluendo.com>
2614 * docs/design/part-TODO.txt:
2615 Some more TODO items.
2617 2005-11-15 Andy Wingo <wingo@pobox.com>
2619 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2620 error if the user selected "no clock" as the clocking method.
2622 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2623 timestamps with live capture.
2625 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2626 is 0 but we are a live source, timestamp the buffers using the
2629 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2631 * docs/gst/gstreamer-sections.txt:
2633 * gst/gstghostpad.c:
2638 2005-11-14 Wim Taymans <wim@fluendo.com>
2641 add suppressions from Wim's Debian machine
2643 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2646 add suppressions from Andy's AMD64 Ubuntu machine
2648 2005-11-14 Andy Wingo <wingo@pobox.com>
2650 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2651 STATE_LOCK not necessary. Fixes #311489.
2653 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2656 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2657 this function is not implemented.
2659 2005-11-14 Julien MOUTTE <julien@moutte.net>
2661 * gst/base/gstbasetransform.c:
2662 (gst_base_transform_prepare_output_buf):
2663 Ref the source pad caps while we need them.
2666 2005-11-11 Wim Taymans <wim@fluendo.com>
2668 * docs/gst/gstreamer-sections.txt:
2669 Added some docs for GstCollectData.
2671 * gst/base/gstadapter.c:
2672 Some small code example fix.
2674 * gst/base/gstcollectpads.c:
2675 * gst/base/gstcollectpads.h:
2678 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2680 * configure.ac: back to HEAD
2682 === release 0.9.5 ===
2684 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2687 releasing 0.9.5, "Bike Lunch Day"
2689 2005-11-11 Wim Taymans <wim@fluendo.com>
2691 * gst/gstbuffer.c: (_gst_buffer_copy):
2694 * gst/gstcaps.c: (gst_caps_is_equal):
2696 Make _is_equal fast in the trivial cases.
2698 * gst/gstminiobject.c:
2699 * gst/gstminiobject.h:
2700 More docs. Spifify .h file.
2705 2005-11-11 Wim Taymans <wim@fluendo.com>
2707 * gst/base/gstbasetransform.c:
2708 (gst_base_transform_prepare_output_buf),
2709 (gst_base_transform_handle_buffer):
2711 If we're processing a buffer and need to allocate an output
2712 buffer, we cannot accept a format change. If we did get a
2713 format change, we have to alloc a buffer ourselves of the
2716 2005-11-11 Wim Taymans <wim@fluendo.com>
2718 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2719 While checking the flag for reentrancy in the gstcaps function
2720 is nice to detect recursive invocations, it also makes it
2721 impossible to call getcaps from multiple threads, which must be
2722 possible. So, checking for recursive calls has to go.
2724 2005-11-11 Michael Smith <msmith@fluendo.com>
2726 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2727 Don't sync on buffers that fall partially outside our current
2728 segment. Prevents an assertion failure/abort playing some files.
2730 2005-11-10 Andy Wingo <wingo@pobox.com>
2732 * check/gst/gstbin.c (test_message_state_changed_children): Style
2735 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2736 gst_bus_poll with the signal watch. Ensures that poll and a signal
2737 watch see the same messages.
2739 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2740 a poll and a watch at the same time get the same messages.
2742 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2744 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2745 * gst/gstcaps.c: (gst_caps_intersect):
2746 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2747 and it's not needed.
2749 2005-11-10 Wim Taymans <wim@fluendo.com>
2751 * docs/design/part-TODO.txt:
2754 2005-11-10 Wim Taymans <wim@fluendo.com>
2756 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2757 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2758 (gst_base_src_do_sync), (gst_base_src_get_range):
2759 Implement clock sync in base class.
2761 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2763 patch by: Tim-Philipp Müller <tim at centricular dot net>
2765 * gst/gststructure.c: (gst_structure_parse_field),
2766 (gst_structure_from_string):
2767 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2768 so that gst_parse_launch() can deal with spaces in filtered link
2769 caps (fixes #164479)
2770 * check/gst/capslist.h:
2771 * check/gst/gststructure.c: (GST_START_TEST):
2772 add unit tests for this change
2774 2005-11-10 Wim Taymans <wim@fluendo.com>
2776 * docs/gst/gstreamer-sections.txt:
2779 Fix docs, move some STATE macros to private.
2781 2005-11-10 Wim Taymans <wim@fluendo.com>
2783 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2784 Added check for bug #317341
2788 Some more spiffifying.
2790 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2791 Call peer linkfunction if we are a source pad. Totally fixes
2795 Update docs, source pads should call the peer linkfunction
2796 so they can atomically perform the pad link.
2798 2005-11-09 Wim Taymans <wim@fluendo.com>
2802 Uber-spiffy-spiffify some more.
2804 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2806 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2807 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2808 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2809 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2810 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2811 * gst/gstpad.c: (gst_pad_init):
2812 Use GST_DEBUG_FUNCPTR() more extensively.
2814 2005-11-09 Wim Taymans <wim@fluendo.com>
2816 * gst/gstobject.c: (gst_object_class_init):
2818 Documentation fixes.
2820 2005-11-09 Edward Hervey <edward@fluendo.com>
2822 * gst/gsttypefindfactory.c:
2825 2005-11-09 Edward Hervey <edward@fluendo.com>
2827 * gst/base/gsttypefindhelper.c:
2828 * gst/gsttypefind.c:
2829 * gst/gsttypefind.h:
2832 2005-11-09 Wim Taymans <wim@fluendo.com>
2834 * gst/gstiterator.c:
2841 2005-11-09 Wim Taymans <wim@fluendo.com>
2847 2005-11-09 Wim Taymans <wim@fluendo.com>
2849 * docs/gst/gstreamer-sections.txt:
2850 Moved the message async delivery private lock and cond
2851 to the private section.
2857 2005-11-09 Edward Hervey <edward@fluendo.com>
2859 * docs/gst/gstreamer-sections.txt:
2862 Document GstURIHandler
2864 2005-11-09 Wim Taymans <wim@fluendo.com>
2866 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2867 (gst_iterator_find_custom):
2868 * gst/gstiterator.h:
2871 2005-11-09 Wim Taymans <wim@fluendo.com>
2874 Document another field.
2876 * gst/gststructure.c:
2877 * gst/gststructure.h:
2880 2005-11-09 Wim Taymans <wim@fluendo.com>
2885 2005-11-09 Wim Taymans <wim@fluendo.com>
2887 * docs/gst/gstreamer-sections.txt:
2888 Added some new macros.
2895 2005-11-09 Wim Taymans <wim@fluendo.com>
2897 * docs/design/part-TODO.txt:
2898 Some more items for the TODO
2904 2005-11-09 Andy Wingo <wingo@pobox.com>
2906 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2907 to work on something else now tho...
2909 * gst/base/gstadapter.c: More adapter docs.
2911 * gst/elements/gstfilesink.c (gst_file_sink_start)
2912 (gst_file_sink_stop): New functions, replace the state change
2914 (gst_file_sink_class_init): Hook up the start and stop functions.
2915 (gst_file_sink_base_init): Don't set the state change handler any
2916 more. It was a bit ugly too, being set from here...
2917 (gst_file_sink_get_property, gst_file_sink_set_property):
2919 (gst_file_sink_set_location): More robust check that doesn't call
2922 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2924 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2925 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2927 2005-11-08 Wim Taymans <wim@fluendo.com>
2929 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2930 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2931 (gst_base_sink_chain), (gst_base_sink_change_state):
2932 * gst/base/gstbasesink.h:
2933 * gst/base/gstbasesrc.h:
2936 Avoid excessive typechecking in macros.
2938 * gst/gstminiobject.c: (gst_mini_object_get_type),
2939 (gst_mini_object_init), (gst_mini_object_new),
2940 (gst_mini_object_free):
2941 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2942 (gst_object_finalize):
2943 Remove cruft code, optimize alloc_trace.
2945 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2947 * docs/faq/gst-uninstalled:
2948 fix up PS1 for systems that try to reset it
2950 2005-11-07 Wim Taymans <wim@fluendo.com>
2952 * gst/base/gstbasesrc.c: (gst_base_src_init),
2953 (gst_base_src_get_range):
2954 Set the segment_end to -1 initially. Fixed typefind.
2956 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2958 * gst/base/gstadapter.c:
2959 Debug category should be 'adapter', not 'GstAdapter'.
2961 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2962 (gst_collectpads_class_init), (gst_collectpads_init),
2963 (gst_collectpads_peek), (gst_collectpads_pop),
2964 (gst_collectpads_event), (gst_collectpads_chain):
2965 Add debug category and some debugging output. Use boilerplate
2966 macros. Remove some extraneous words from docs.
2968 2005-11-05 Andy Wingo <wingo@pobox.com>
2970 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2973 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2975 * docs/gst/gstreamer-sections.txt:
2978 * gst/gstminiobject.h:
2983 2005-11-04 Wim Taymans <wim@fluendo.com>
2985 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2986 Small update to stop at the configured segment_end
2989 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2991 * gst/gstregistry.c:
2992 * gst/gstregistry.h:
2995 2005-11-04 Edward Hervey <edward@fluendo.com>
2997 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2998 Check if we are doing a segment seek and have arrived at the
2999 end of that segment.
3001 2005-11-04 Wim Taymans <wim@fluendo.com>
3003 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3004 Don't leak a mutex unlock in case of an error.
3009 2005-11-04 Wim Taymans <wim@fluendo.com>
3011 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3013 Get the context to wake up only once.
3015 2005-11-03 Wim Taymans <wim@fluendo.com>
3017 * check/states/sinks.c: (GST_START_TEST):
3018 Uncomment fixed check.
3020 * docs/design/part-TODO.txt:
3023 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3024 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3025 (gst_base_sink_get_position):
3026 If we are going to PLAYING, post the right pending state
3027 when we post the intermediate paused message.
3029 * gst/gstelement.c: (gst_element_continue_state),
3030 (gst_element_set_state_func), (gst_element_change_state):
3031 Don't post state changes that were between the same state
3034 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3036 * docs/gst/gstreamer-sections.txt:
3039 * gst/gstminiobject.h:
3042 more docs and doc style fixes
3044 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3046 * docs/gst/gstreamer-sections.txt:
3048 * gst/gstminiobject.c:
3051 2005-11-03 Andy Wingo <wingo@pobox.com>
3053 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3054 state-changed messages actually have the right order and the right
3057 2005-11-03 Wim Taymans <wim@fluendo.com>
3059 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3060 Added some more checks. Specifically the case where NO_PREROLL
3061 elements are in the pipeline.
3063 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3064 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3065 (gst_base_sink_get_position):
3066 Post READY->PAUSED state change messages too.
3067 Fix bug where VOID was posted as pending state...
3069 * gst/gstbin.c: (gst_bin_recalc_state):
3070 use _element_continue_state() to continue the state change.
3072 * gst/gstelement.c: (gst_element_continue_state),
3073 (gst_element_commit_state), (gst_element_set_state_func),
3074 (gst_element_change_state), (gst_element_change_state_func):
3075 Lots of state change cleanups, assign the STATE_RETURN in
3076 a new continue_state() function that also propagates the
3077 last return value from a state change to the app.
3078 Update some debug statements with proper category.
3080 2005-11-03 Wim Taymans <wim@fluendo.com>
3082 * docs/design/part-events.txt:
3083 * docs/design/part-gstpipeline.txt:
3084 * docs/design/part-messages.txt:
3085 * docs/design/part-overview.txt:
3086 * docs/design/part-seeking.txt:
3087 * docs/design/part-states.txt:
3088 * docs/design/part-trickmodes.txt:
3089 * docs/manual/advanced-position.xml:
3093 People think !! is ugly, this looks better.
3095 * gst/gstpad.c: (gst_pad_set_blocked_async):
3096 Remove !! since it's fixed elsewhere now.
3098 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3100 * gst/gstminiobject.h:
3102 Add !! to _FLAG_IS_SET macros to make the result boolean.
3104 2005-11-03 Edward Hervey <edward@fluendo.com>
3106 * gst/gstpad.c: (gst_pad_set_blocked_async):
3107 comparing a flag and a gboolean rarely returns coherent results...
3108 Added two characters (!!) to make that work correctly.
3110 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3112 * gst/gstbus.c: (gst_bus_class_init):
3115 * gst/gstqueue.c: (gst_queue_loop):
3116 Don't assume a miniobject that isn't a buffer is an
3117 event (it could be that there is a refcounting
3118 problem somewhere and the pointer is stale and
3119 refers to an already destroyed miniobject).
3121 2005-11-03 Julien MOUTTE <julien@moutte.net>
3123 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3125 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3127 * docs/manual/advanced-position.xml:
3128 Update seek example and explanations to current 0.9 API.
3130 * gst/elements/gsttypefindelement.c:
3131 (gst_type_find_element_activate):
3132 Remove FIXME comment now that the found caps
3135 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3137 * gst/gstregistryxml.c: (load_feature):
3138 Add another GST_STR_NULL instance
3140 2005-11-02 Edward Hervey <edward@fluendo.com>
3142 * gst/gstpad.c: (handle_pad_block):
3143 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3145 2005-11-02 Wim Taymans <wim@fluendo.com>
3150 * gst/gstelement.c: (gst_element_commit_state):
3151 Remove unused value.
3153 * gst/gstiterator.c:
3154 Mention that the returned element is reffed in the docs.
3156 2005-11-02 Wim Taymans <wim@fluendo.com>
3158 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3159 (gst_pad_push), (gst_pad_push_event):
3160 Unlock blocked pads when they are flushed.
3162 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3165 * docs/gst/gstreamer-sections.txt:
3168 * gst/gstregistry.c: (gst_registry_scan_path_level):
3169 fix for a nasty little missed situation where an installed plug-in
3170 which was in the cache did not get overridden by an uninstalled one
3171 which was earlier in the plugin path because the newly created plugin
3172 for the uninstalled one (not in the registry) didn't get its
3173 ->registered set to TRUE
3175 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3177 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3178 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3179 (gst_collectpads_is_active), (gst_collectpads_collect),
3180 (gst_collectpads_collect_range), (gst_collectpads_start),
3181 (gst_collectpads_stop), (gst_collectpads_peek),
3182 (gst_collectpads_pop), (gst_collectpads_available),
3183 (gst_collectpads_read), (gst_collectpads_flush):
3184 Guard public API with assertions.
3187 Fix docs for gst_pad_set_link_function().
3189 2005-11-02 Johan Dahlin <johan@gnome.org>
3191 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3192 Unref found_caps after we used it.
3194 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3196 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3197 Don't try to ref NULL.
3199 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3201 * win32/common/config.h.in:
3202 provide a GST_FUNCTION that just gives a string for now
3204 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3206 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3207 (gst_object_flags_get_type), (register_gst_bin_flags),
3208 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3209 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3210 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3211 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3212 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3213 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3214 (gst_clock_flags_get_type), (register_gst_state),
3215 (gst_state_get_type), (register_gst_state_change_return),
3216 (gst_state_change_return_get_type), (register_gst_state_change),
3217 (gst_state_change_get_type), (register_gst_element_flags),
3218 (gst_element_flags_get_type), (register_gst_core_error),
3219 (gst_core_error_get_type), (register_gst_library_error),
3220 (gst_library_error_get_type), (register_gst_resource_error),
3221 (gst_resource_error_get_type), (register_gst_stream_error),
3222 (gst_stream_error_get_type), (register_gst_event_type),
3223 (gst_event_type_get_type), (register_gst_seek_type),
3224 (gst_seek_type_get_type), (register_gst_seek_flags),
3225 (gst_seek_flags_get_type), (register_gst_format),
3226 (gst_format_get_type), (register_gst_index_certainty),
3227 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3228 (gst_index_entry_type_get_type),
3229 (register_gst_index_lookup_method),
3230 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3231 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3232 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3233 (gst_index_flags_get_type), (register_gst_debug_level),
3234 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3235 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3236 (gst_iterator_result_get_type), (register_gst_iterator_item),
3237 (gst_iterator_item_get_type), (register_gst_message_type),
3238 (gst_message_type_get_type), (register_gst_mini_object_flags),
3239 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3240 (gst_pad_link_return_get_type), (register_gst_flow_return),
3241 (gst_flow_return_get_type), (register_gst_activate_mode),
3242 (gst_activate_mode_get_type), (register_gst_pad_direction),
3243 (gst_pad_direction_get_type), (register_gst_pad_flags),
3244 (gst_pad_flags_get_type), (register_gst_pad_presence),
3245 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3246 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3247 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3248 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3249 (gst_plugin_flags_get_type), (register_gst_rank),
3250 (gst_rank_get_type), (register_gst_query_type),
3251 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3252 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3253 (gst_tag_flag_get_type), (register_gst_task_state),
3254 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3255 (gst_alloc_trace_flags_get_type),
3256 (register_gst_type_find_probability),
3257 (gst_type_find_probability_get_type), (register_gst_uri_type),
3258 (gst_uri_type_get_type), (register_gst_parse_error),
3259 (gst_parse_error_get_type):
3260 * win32/common/gstversion.h:
3263 2005-11-01 Luca Ognibene <luogni@tin.it>
3266 fix docs. popt is dead, long live GOption.
3268 2005-10-31 Wim Taymans <wim@fluendo.com>
3273 2005-10-31 Andy Wingo <wingo@pobox.com>
3277 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3279 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3280 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3281 the possibility of deadlocks here if code calling notify() or
3282 set() has a lock that can be taken in another notify handler (ABBA
3283 with class lock and e.g. python GIL state lock).
3285 2005-10-28 Julien MOUTTE <julien@moutte.net>
3287 * gst/gstbus.c: Doc updates.
3289 2005-10-28 Wim Taymans <wim@fluendo.com>
3291 * docs/design/part-TODO.txt:
3292 * gst/gstiterator.c:
3293 * gst/gstsystemclock.c:
3294 * gst/gstsystemclock.h:
3297 2005-10-28 Edward Hervey <edward@fluendo.com>
3299 * docs/gst/gstreamer-docs.sgml:
3300 * docs/gst/gstreamer-sections.txt:
3301 the GstURIType documentation page is private, it only defines GstURIType
3302 which should be defined in the GstURIHandler page
3304 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3306 * gst/gstbin.c: (gst_bin_class_init):
3309 Documentation updates.
3311 2005-10-28 Wim Taymans <wim@fluendo.com>
3313 * docs/gst/gstreamer-sections.txt:
3316 Documented the clocks.
3318 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3320 * docs/gst/gstreamer-sections.txt:
3321 move some macros to private sections
3322 * gst/gstminiobject.c:
3323 * gst/gstminiobject.h:
3324 add descriptions provided by ds and some more
3326 mark macro as to be removed
3328 2005-10-28 Wim Taymans <wim@fluendo.com>
3330 * docs/design/part-TODO.txt:
3331 Add an item to TODO.
3333 * gst/gstiterator.c: (gst_iterator_fold),
3334 (gst_iterator_find_custom):
3335 * gst/gstiterator.h:
3338 2005-10-28 Wim Taymans <wim@fluendo.com>
3340 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3341 (gst_base_transform_init):
3344 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3345 An EOS event marks the queue as completely filled.
3347 2005-10-27 Wim Taymans <wim@fluendo.com>
3349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3350 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3351 Some more debugging.
3353 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3354 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3355 (gst_base_transform_event), (gst_base_transform_getrange),
3356 (gst_base_transform_chain):
3357 * gst/base/gstbasetransform.h:
3359 Protect transform and concurrent buffer alloc with a new lock.
3360 Try not to break ABI/API.
3362 2005-10-27 Wim Taymans <wim@fluendo.com>
3364 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3365 (gst_base_src_init), (gst_base_src_query),
3366 (gst_base_src_default_newsegment),
3367 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3368 (gst_base_src_send_event), (gst_base_src_event_handler),
3369 (gst_base_src_pad_get_range), (gst_base_src_loop),
3370 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3371 (gst_base_src_start), (gst_base_src_deactivate),
3372 (gst_base_src_activate_push), (gst_base_src_change_state):
3373 Move some stuff around and cleanup things.
3375 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3377 * gst/base/gstbasesrc.c: (gst_base_src_query):
3378 Add missing break statements.
3380 2005-10-27 Wim Taymans <wim@fluendo.com>
3382 * check/gst/gstbin.c: (GST_START_TEST):
3383 An extra refcount is taken in basesrc.
3385 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3386 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3387 (gst_base_src_loop):
3388 Small cleanups, check for flushing after being unlocked from the
3389 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3390 Don't send out EOS when going to READY.
3392 2005-10-27 Wim Taymans <wim@fluendo.com>
3394 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3395 (gst_base_sink_get_position):
3398 * gst/gstbin.c: (message_check), (bin_replace_message),
3399 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3400 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3401 (bin_query_duration_init), (bin_query_duration_fold),
3402 (bin_query_duration_done), (bin_query_generic_fold),
3404 * tools/gst-launch.c: (main):
3407 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3409 * examples/controller/audio-example.c: (main):
3410 * examples/queue/queue.c: (event_loop):
3411 * gst/base/gstbasetransform.h:
3412 * gst/gstelement.c: (gst_element_send_event):
3414 * gst/gstpad.c: (gst_pad_send_event):
3417 changing log priority in error situations
3419 2005-10-25 Wim Taymans <wim@fluendo.com>
3421 * gst/gstbin.c: (message_check), (bin_replace_message),
3422 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3423 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3424 (bin_query_duration_init), (bin_query_duration_fold),
3425 (bin_query_duration_done), (bin_query_generic_fold),
3427 Some doc and debug updates.
3428 Cache previously requested query DURATION for speed. invalidate
3429 cached duration if element posts a DURATION message.
3431 2005-10-25 Wim Taymans <wim@fluendo.com>
3433 * docs/design/part-TODO.txt:
3436 * gst/gstbin.c: (message_check), (bin_replace_message),
3437 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3438 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3439 (bin_query_duration_init), (bin_query_duration_fold),
3440 (bin_query_duration_done), (bin_query_generic_fold),
3442 Handle SEGMENT_START/DONE messages correctly.
3443 More evolved query algorithm that handles duration queries
3446 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3447 (gst_element_get_state_func), (gst_element_abort_state),
3448 (gst_element_commit_state), (gst_element_lost_state):
3449 Some more debugging.
3454 2005-10-25 Wim Taymans <wim@fluendo.com>
3456 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3457 Don't use invalid stream_time.
3459 * gst/gstevent.c: (gst_event_new_newsegment):
3460 stream_time in newsegment cannot be undefined.
3462 2005-10-24 Wim Taymans <wim@fluendo.com>
3467 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3469 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3471 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3473 * docs/libs/tmpl/gstdparam.sgml:
3474 * docs/libs/tmpl/gstdplinint.sgml:
3475 * docs/libs/tmpl/gstdpman.sgml:
3476 * docs/libs/tmpl/gstdpsmooth.sgml:
3477 * docs/libs/tmpl/gstunitconvert.sgml:
3480 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3485 === release 0.9.4 ===
3487 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3490 releasing 0.9.4, "Tyrannosaurus Rex"
3492 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3494 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3495 (gst_file_sink_get_current_offset):
3496 Use fseeko() and ftello() if available. When falling back on
3497 lseek() to get the current offset, fflush() first to make sure
3498 everything is up-to-date and we get the right offset.
3500 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3502 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3503 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3504 * gst/gsterror.c: (_gst_stream_errors_init):
3506 * gst/gstqueue.c: (gst_queue_loop):
3508 remove prematurely added error category and clean up the instances
3510 2005-10-21 Wim Taymans <wim@fluendo.com>
3512 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3513 (gst_base_sink_get_position), (gst_base_sink_query),
3514 (gst_base_sink_change_state):
3515 Simply set the right flag when going to playing, that's all
3516 we need to do instead of calling a function inside the object
3517 lock (that could take the lock as well and deadlock)
3519 2005-10-21 Wim Taymans <wim@fluendo.com>
3521 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3522 (gst_base_src_loop):
3523 Don't warn, the peer element knows what to do best when
3524 the seek failed, it might try something else.
3526 2005-10-21 Wim Taymans <wim@fluendo.com>
3528 * gst/base/gstbasesrc.c: (gst_base_src_init),
3529 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3532 2005-10-21 Wim Taymans <wim@fluendo.com>
3534 * docs/design/part-segments.txt:
3537 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3538 Correctly set caps, even on the subbufer.
3540 2005-10-21 Wim Taymans <wim@fluendo.com>
3542 * docs/gst/gstreamer-docs.sgml:
3543 * docs/gst/gstreamer-sections.txt:
3550 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3554 And 2% more doc coverage.
3556 2005-10-21 Andy Wingo <wingo@pobox.com>
3558 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3561 2005-10-20 Wim Taymans <wim@fluendo.com>
3563 * gst/gsterror.c: (gst_error_get_message):
3566 * gst/gststructure.c:
3571 2005-10-20 Wim Taymans <wim@fluendo.com>
3576 Another 1% more coverage.
3578 2005-10-20 Wim Taymans <wim@fluendo.com>
3580 * docs/gst/gstreamer-sections.txt:
3581 * gst/gstelement.c: (gst_element_get_state_func),
3582 (gst_element_abort_state), (gst_element_commit_state),
3583 (gst_element_lost_state):
3585 * gst/gstquery.c: (gst_query_set_position),
3586 (gst_query_parse_position), (gst_query_set_duration),
3587 (gst_query_parse_duration), (gst_query_new_convert):
3589 Yay! 1% more docs coverage.
3591 2005-10-20 Wim Taymans <wim@fluendo.com>
3594 * gst/gstquery.c: (gst_query_set_position),
3595 (gst_query_parse_position), (gst_query_set_duration),
3596 (gst_query_parse_duration), (gst_query_new_convert):
3598 * gst/gstutils.c: (gst_element_query_convert):
3600 Docs and consistency fixes.
3602 2005-10-20 Wim Taymans <wim@fluendo.com>
3608 2005-10-20 Wim Taymans <wim@fluendo.com>
3610 * gst/gstbin.c: (message_check), (bin_replace_message),
3611 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3612 (update_degree), (gst_bin_sort_iterator_next),
3613 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3614 Reworked the message handling a bit, cache the messages instead of
3615 only the senders. alows us to do more in the future.
3617 2005-10-20 Wim Taymans <wim@fluendo.com>
3619 * docs/design/part-TODO.txt:
3622 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3623 (gst_base_sink_query):
3624 Don't use clock time to report position when in EOS.
3626 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3628 * tools/gst-inspect.c: (print_interfaces),
3629 (print_element_properties_info), (print_element_info):
3630 Fix interface output with gst-inspect -a; don't print
3631 newlines after double/float properties.
3633 2005-10-20 Wim Taymans <wim@fluendo.com>
3635 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3636 (gst_base_sink_query):
3637 Speed up current position calculation.
3639 * gst/base/gstbasesrc.c: (gst_base_src_query),
3640 (gst_base_src_default_newsegment):
3641 Correctly set stream position in newsegment.
3643 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3644 (update_degree), (gst_bin_sort_iterator_next),
3645 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3646 * gst/gstmessage.c: (gst_message_new_custom):
3647 Clean up debugging info
3649 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3650 (gst_queue_loop), (gst_queue_handle_src_query):
3653 2005-10-19 Wim Taymans <wim@fluendo.com>
3655 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3656 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3657 Fix query handling again.
3659 2005-10-19 Wim Taymans <wim@fluendo.com>
3661 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3662 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3663 * gst/base/gstbasesrc.c: (gst_base_src_query):
3664 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3665 * gst/elements/gsttypefindelement.c:
3666 (gst_type_find_handle_src_query), (find_element_get_length),
3667 (gst_type_find_element_activate):
3670 * gst/gstquery.c: (gst_query_new_position),
3671 (gst_query_set_position), (gst_query_parse_position),
3672 (gst_query_new_duration), (gst_query_set_duration),
3673 (gst_query_parse_duration), (gst_query_set_segment),
3674 (gst_query_parse_segment):
3676 Bundling query position/duration is not a good idea since duration
3677 does not change much and we don't want to recalculate it for every
3678 position query, so they are separated again..
3679 Base value in segment query is not needed.
3681 * gst/gstqueue.c: (gst_queue_handle_src_query):
3682 * gst/gstutils.c: (gst_element_query_position),
3683 (gst_element_query_duration), (gst_pad_query_position),
3684 (gst_pad_query_duration):
3686 Updates for query API change.
3687 Added some docs here and there.
3689 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3691 * check/gst/gstbin.c: (GST_START_TEST):
3692 * check/gst/gstghostpad.c: (GST_START_TEST):
3693 * check/pipelines/cleanup.c: (GST_START_TEST):
3694 wait on thread to die so we can check refcount correctly
3696 2005-10-18 Wim Taymans <wim@fluendo.com>
3698 * check/pipelines/stress.c: (GST_START_TEST):
3699 Make check a little more time consuming.
3701 2005-10-18 Wim Taymans <wim@fluendo.com>
3703 * check/Makefile.am:
3704 * check/pipelines/stress.c: (GST_START_TEST),
3705 (simple_launch_lines_suite), (main):
3706 Small state change torture test.
3708 * docs/design/part-states.txt:
3709 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3710 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3711 (gst_base_sink_change_state):
3712 Never take state lock from streaming thread, clean up ugly
3713 hacks. Unfortunatly core does not yet support nice ways to
3716 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3718 Start state recalc if a STATE_DIRTY message is posted, but only
3719 on the toplevel bin.
3721 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3722 (gst_element_get_state_func), (gst_element_abort_state),
3723 (gst_element_commit_state), (gst_element_lost_state),
3724 (gst_element_set_state_func), (gst_element_change_state):
3726 State variables are now protected with the LOCK, the state
3727 lock is only used to serialize _set_state().
3729 2005-10-18 Wim Taymans <wim@fluendo.com>
3731 * check/gst/gstbin.c: (GST_START_TEST):
3732 * check/gst/gstmessage.c: (GST_START_TEST):
3733 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3734 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3736 * gst/gstelement.c: (gst_element_abort_state),
3737 (gst_element_commit_state), (gst_element_lost_state):
3738 * gst/gstmessage.c: (gst_message_new_state_changed),
3739 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3740 (gst_message_new_segment_done), (gst_message_new_duration),
3741 (gst_message_parse_state_changed),
3742 (gst_message_parse_segment_start),
3743 (gst_message_parse_segment_done), (gst_message_parse_duration):
3745 * tools/gst-launch.c: (event_loop):
3746 Seriously, this is better than a previous commit as we only need
3747 to notify the fact that an element changed state in a streaming
3748 thread, marking the state of the parents dirty, hence the
3749 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3752 2005-10-18 Wim Taymans <wim@fluendo.com>
3754 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3755 (gst_bin_recalc_func):
3756 * gst/gstelement.c: (gst_element_set_clock),
3757 (gst_element_abort_state), (gst_element_lost_state):
3758 Cleanups, prepare for state change fixes.
3760 2005-10-18 Wim Taymans <wim@fluendo.com>
3763 * gst/gstelement.c: (gst_element_class_init),
3764 (gst_element_set_state), (gst_element_set_state_func):
3766 Pending ABI changes.
3767 GThreadPool in GstBinClass to monitor async state changes.
3768 state_cookie in GstElement to detect concurrent gst/set state.
3769 set_state is now virtual too in case a very complicated element
3770 has to be constructed.
3772 2005-10-18 Wim Taymans <wim@fluendo.com>
3774 * check/gst/gstbin.c: (GST_START_TEST):
3775 * check/gst/gstmessage.c: (GST_START_TEST):
3776 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3777 * gst/gstbin.c: (bin_bus_handler):
3778 * gst/gstelement.c: (gst_element_commit_state),
3779 (gst_element_lost_state):
3780 * gst/gstmessage.c: (gst_message_new_state_changed),
3781 (gst_message_new_segment_start), (gst_message_new_segment_done),
3782 (gst_message_new_duration), (gst_message_parse_state_changed),
3783 (gst_message_parse_segment_start),
3784 (gst_message_parse_segment_done), (gst_message_parse_duration):
3786 * tools/gst-launch.c: (event_loop):
3787 Make messages future proof.
3788 state-change gets a flag if it was a message comming from the
3790 segment-start/stop can also be specified in other formats.
3791 A message to notify an app that a pipeline changed playback
3793 Also fix a GstMessage leak in -launch
3795 2005-10-18 Andy Wingo <wingo@pobox.com>
3797 * gst/gstelement.c (gst_element_dispose): More helpful message.
3799 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3801 reviewed by: <delete if not using a buddy>
3803 * common/gtk-doc.mak:
3805 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3807 * gst/gstregistry.c: (gst_registry_scan_path_level):
3808 unref a plug-in we get that was already initialized
3810 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3812 * docs/gst/gstreamer-sections.txt:
3813 * docs/libs/gstreamer-libs-sections.txt:
3818 2005-10-17 Andy Wingo <wingo@pobox.com>
3820 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3823 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3825 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3827 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3828 (gst_element_get_state_func): Better debug message.
3829 (gst_element_commit_state): s/INFO/DEBUG/.
3830 (gst_element_lost_state, gst_element_change_state):
3832 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3833 (gst_message_new_custom): s/INFO/LOG/.
3835 2005-10-17 Michael Smith <msmith@fluendo.com>
3837 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3838 Check if end time is valid using end time, not start time.
3840 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3842 * check/gst-libs/controller.c: (GST_START_TEST),
3843 (gst_controller_suite):
3844 * libs/gst/controller/gstcontroller.c:
3845 (gst_controlled_property_set_interpolation_mode):
3846 * libs/gst/controller/gstcontroller.h:
3847 * libs/gst/controller/gstinterpolation.c:
3848 * testsuite/controller/.cvsignore:
3849 * testsuite/controller/Makefile.am:
3850 * testsuite/controller/interpolator.c:
3851 merge controller testsuites
3853 remove mem-chunk from docs
3855 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3857 * gst/gstmemchunk.c:
3858 * gst/gstmemchunk.h:
3859 * gst/gsttrashstack.c:
3860 * gst/gsttrashstack.h:
3861 out. get out. you're fired. to the Attic !
3863 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3865 * gst/gstcaps.c: (gst_caps_intersect):
3866 fix signedness issues in a (hopefully) correct way
3867 * gst/gstelement.c: (gst_element_pads_activate):
3869 * gst/gstobject.c: (gst_object_set_parent):
3872 2005-10-17 Julien MOUTTE <julien@moutte.net>
3874 * gst/gstvalue.h: Fix prototypes.
3876 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3878 * docs/gst/gstreamer-sections.txt:
3879 * gst/gst.c: (gst_version_string):
3881 * gst/gstversion.h.in:
3882 * win32/common/libgstreamer.def:
3883 add gst_version_string ()
3885 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3889 * gst/gst.c: (init_post):
3890 * win32/common/config.h.in:
3892 * gst/gstcaps.c: (gst_caps_intersect):
3893 use gint64, the range could be bigger than a guint
3895 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3898 document potential problem in 2038
3900 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3902 * gst/gstcaps.c: (gst_caps_intersect):
3903 Fix guint j diving under 0
3905 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3908 * win32/common/config.h:
3909 * win32/common/config.h.in:
3910 check for process.h, declares getpid() on Windows
3912 include process.h if we have it
3913 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3914 * gst/gstmemchunk.h:
3915 fix signedness issues
3916 * win32/common/libgstreamer.def:
3919 2005-10-16 Julien MOUTTE <julien@moutte.net>
3921 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3922 fix. Because of unsigned ints, caps intersection was going nuts and
3923 trying to access structures with G_MAXUINT index. That fixes
3924 videotestsrc ! ffmpegcolorspace ! fakesink
3925 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3928 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3931 use the gettext macro
3932 * gst/elements/gstelements.c:
3934 * gst/indexers/gstindexers.c:
3935 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3936 * win32/common/config.h:
3938 * win32/common/config.h.in:
3939 add the template to generate config.h
3940 * win32/common/gstenumtypes.c:
3941 * win32/common/gstversion.h:
3944 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3946 * gst/gst.c: (gst_version):
3947 * gst/gstversion.h.in:
3950 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3953 Oops, add missing closing bracket.
3955 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3958 use common m4's for argument checking
3960 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3962 * docs/gst/gstreamer-sections.txt:
3964 Add GST_EVENT_TYPE_NAME() macro.
3966 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3969 * gst/gstpluginfeature.c:
3971 privatize more symbols
3973 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3976 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3977 everything that uses GStreamer API should have the includes
3979 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3981 * docs/gst/gstreamer-sections.txt:
3982 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3984 give each value a _get_type, removes the DATA exports
3986 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3990 remove _gst_registry_auto_load, not used anymore
3991 * gst/gstbin.c: (gst_bin_get_type):
3993 * gst/gstelement.c: (gst_element_get_type):
3995 * gst/gstobject.c: (gst_object_get_type):
3997 * gst/gstpad.c: (gst_pad_get_type):
3999 make _get_type functions similar, fixes data export from library
4001 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4004 correctly make conditionals
4005 * gst/elements/Makefile.am:
4006 * gst/elements/gstelements.c:
4007 fix typo causing fdsrc not to build
4009 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4011 * testsuite/Makefile.am:
4012 * testsuite/bytestream/.cvsignore:
4013 * testsuite/bytestream/Makefile.am:
4014 * testsuite/bytestream/filepadsink.c:
4015 * testsuite/bytestream/gstbstest.c:
4016 * testsuite/bytestream/test1.c:
4017 * testsuite/bytestream/testfile1:
4018 * testsuite/caps/normalisation.c:
4019 * testsuite/caps/random.c: (main):
4020 * testsuite/cleanup/.cvsignore:
4021 * testsuite/cleanup/Makefile.am:
4022 * testsuite/cleanup/cleanup1.c:
4023 * testsuite/cleanup/cleanup2.c:
4024 * testsuite/cleanup/cleanup3.c:
4025 * testsuite/cleanup/cleanup4.c:
4026 * testsuite/cleanup/cleanup5.c:
4027 * testsuite/controller/interpolator.c:
4028 * testsuite/debug/printf_extension.c: (main):
4029 * testsuite/elements/tee.c:
4030 * testsuite/negotiation/.cvsignore:
4031 * testsuite/negotiation/Makefile.am:
4032 * testsuite/negotiation/pad_link.c:
4033 * testsuite/pad/Makefile.am:
4034 * testsuite/pad/chainnopull.c:
4035 * testsuite/pad/getnopush.c:
4036 * testsuite/pad/link.c:
4037 * testsuite/refcounting/sched.c: (create_pipeline):
4038 * testsuite/registry/Makefile.am:
4039 * testsuite/registry/gst-print-formats.c:
4040 * testsuite/schedulers/.cvsignore:
4041 * testsuite/schedulers/142183-2.c:
4042 * testsuite/schedulers/142183.c:
4043 * testsuite/schedulers/143777-2.c:
4044 * testsuite/schedulers/143777.c:
4045 * testsuite/schedulers/147713.c:
4046 * testsuite/schedulers/147819.c:
4047 * testsuite/schedulers/147894-2.c:
4048 * testsuite/schedulers/147894.c:
4049 * testsuite/schedulers/Makefile.am:
4050 * testsuite/schedulers/group_link.c:
4051 * testsuite/schedulers/queue_link.c:
4052 * testsuite/schedulers/relink.c:
4053 * testsuite/schedulers/unlink.c:
4054 * testsuite/schedulers/unref.c:
4055 * testsuite/schedulers/useless_iteration.c:
4056 * testsuite/states/bin.c:
4057 clean out/remove some stuff from the testsuite directories
4059 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4062 check for some headers
4063 * gst/elements/Makefile.am:
4064 * gst/elements/gstelements.c:
4065 don't compile fdsrc without sys/socket.h
4066 * gst/indexers/Makefile.am:
4067 * gst/indexers/gstindexers.c: (plugin_init):
4068 don't compile fileindex without mmap
4070 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4077 * check/Makefile.am:
4078 * docs/gst/Makefile.am:
4079 * examples/helloworld/Makefile.am:
4081 * gst/base/Makefile.am:
4082 * gst/check/Makefile.am:
4083 * gst/elements/Makefile.am:
4084 * gst/indexers/Makefile.am:
4085 * gst/parse/Makefile.am:
4086 * libs/gst/controller/Makefile.am:
4087 * libs/gst/dataprotocol/Makefile.am:
4088 * examples/helloworld/helloworld.c: (event_loop):
4089 compile fixes, though it's not being compiled currently
4091 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4093 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4094 Add some simple tests for the new taglist date API.
4096 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4098 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4099 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4100 Beautify 'last-message' output: print 'none' for buffer timestamps
4101 and durations if none is set; improve alignment with next messages.
4103 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4105 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4106 * gst/gstpluginfeature.h:
4107 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4108 * gst/gstregistry.h:
4109 * docs/gst/gstreamer-sections.txt:
4110 Add new API to check plugin feature version requirements.
4112 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4113 Some basic tests for the above.
4115 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4117 * gst/gststructure.c: (gst_structure_to_string):
4118 guard against NULL printf - happens when for example
4119 a message structure with GstClock gets serialized
4121 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4123 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4124 Fix presumable copy'n'pasto.
4126 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4128 * gst/elements/gstfakesrc.h:
4129 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4130 * gst/elements/gsttypefindelement.c:
4132 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4133 I wonder if this could actually write +2GB files before
4135 2005-10-13 Andy Wingo <wingo@pobox.com>
4137 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4138 Fix Timmeke Waymans bug.
4139 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4140 string of the proper length to gst_caps_from_string. There's a
4141 potential for, before this fix, that this could cause someone
4142 connecting over the network to cause a segfault if the payload is
4145 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4147 * docs/design/draft-push-pull.txt:
4148 * docs/design/part-overview.txt:
4149 * docs/random/TODO-pre-0.9:
4150 * docs/random/old/ChangeLog.gstreamer:
4151 * gst/base/gstpushsrc.c:
4155 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4157 * gst/glib-compat.c: (gst_flags_get_first_value):
4158 * gst/glib-compat.h:
4159 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4160 (gst_value_compare_double), (gst_value_serialize_flags):
4161 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4164 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4167 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4169 * tools/gst-launch.c: (event_loop):
4170 print out clock nicely
4172 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4174 * docs/gst/gstreamer-sections.txt:
4176 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4177 (gst_tag_list_get_date_index):
4178 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4179 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4181 2005-10-13 Julien MOUTTE <julien@moutte.net>
4183 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4184 (gst_collectpads_chain):
4185 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4188 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4190 * docs/gst/gstreamer-sections.txt:
4193 * tools/gst-inspect.c: (main):
4194 * tools/gst-launch.c: (main):
4195 * tools/gst-run.c: (main):
4196 * tools/gst-xmlinspect.c: (main):
4197 fix GOption context leaks
4200 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4204 * win32/common/config.h:
4206 * win32/vs6/grammar.dsp:
4207 * win32/vs6/libgstelements.dsp:
4208 * win32/vs6/libgstreamer.dsp:
4211 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4214 * gst/base/gstbasesrc.c: (gst_base_src_query):
4215 fix more guint64<->gdouble conversions
4217 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4220 add win32-update target
4221 * win32/common/gstconfig.h:
4222 * win32/common/gstenumtypes.c:
4223 * win32/common/gstenumtypes.h:
4224 * win32/common/gstversion.h:
4225 add files that visual studio can't generate
4227 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4230 add a win32-update target
4233 2005-10-12 Wim Taymans <wim@fluendo.com>
4235 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4236 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4237 * gst/gstelement.c: (gst_element_commit_state),
4238 (gst_element_set_state):
4239 Protect flags with proper lock.
4240 unref provided cached clock in dispose.
4242 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4245 * gst/gstminiobject.h:
4247 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4248 removed unused flags from miniobject
4251 2005-10-12 Wim Taymans <wim@fluendo.com>
4253 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4254 (gst_file_sink_event), (gst_file_sink_render):
4255 Flush before seeking.
4257 2005-10-12 Andy Wingo <wingo@pobox.com>
4259 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4260 always been the case.
4262 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4264 * check/gst/gstbin.c: (GST_START_TEST):
4265 * docs/gst/gstreamer-sections.txt:
4266 * gst/base/gstbasesink.c: (gst_base_sink_init):
4267 * gst/base/gstbasesrc.c: (gst_base_src_init),
4268 (gst_base_src_get_range), (gst_base_src_check_get_range),
4269 (gst_base_src_start), (gst_base_src_stop):
4270 * gst/base/gstbasesrc.h:
4271 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4272 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4273 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4277 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4279 * gst/gstelement.c: (gst_element_is_locked_state),
4280 (gst_element_set_locked_state), (gst_element_commit_state),
4281 (gst_element_set_state):
4283 * gst/gstindex.c: (gst_index_init):
4285 * gst/gstminiobject.h:
4286 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4287 (gst_object_set_parent):
4289 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4290 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4292 * gst/gstpadtemplate.h:
4293 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4294 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4295 * gst/gstpipeline.h:
4296 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4297 (gst_file_index_commit):
4298 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4299 * testsuite/pad/link.c: (gst_test_src_init),
4300 (gst_test_filter_init), (gst_test_sink_init):
4301 * testsuite/states/locked.c: (main):
4302 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4303 moved bitshift from macro to enum definition
4305 2005-10-12 Wim Taymans <wim@fluendo.com>
4307 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4308 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4309 (gst_file_sink_render):
4310 Some more debugging info.
4312 2005-10-12 Wim Taymans <wim@fluendo.com>
4314 * docs/design/part-states.txt:
4315 * tools/gst-launch.c: (main):
4317 Revert non-intentional change.
4319 2005-10-12 Wim Taymans <wim@fluendo.com>
4321 * check/gst/gstbin.c: (GST_START_TEST):
4322 * check/gst/gstelement.c: (GST_START_TEST):
4323 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4324 * check/gst/gstghostpad.c: (GST_START_TEST):
4325 * check/gst/gstpipeline.c: (GST_START_TEST):
4326 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4327 * check/states/sinks.c: (GST_START_TEST):
4328 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4329 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4330 (gst_bin_remove_func), (gst_bin_get_state_func),
4331 (gst_bin_recalc_state), (gst_bin_change_state_func),
4333 * gst/gstelement.c: (gst_element_get_state_func),
4334 (gst_element_get_state), (gst_element_abort_state),
4335 (gst_element_commit_state), (gst_element_set_state),
4336 (gst_element_change_state), (gst_element_change_state_func):
4338 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4339 (gst_pipeline_provide_clock_func):
4340 * gst/gstutils.c: (gst_element_link_pads_filtered):
4341 * tools/gst-launch.c: (main):
4342 * tools/gst-typefind.c: (main):
4343 Use GstClockTime in _get_state() instead of GTimeVal.
4344 Remove old code in gstutils.c
4346 2005-10-12 Andy Wingo <wingo@pobox.com>
4348 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4351 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4352 there is no task. Shouldn't affect any code, as nothing in our
4353 plugins checks this return value.
4354 (gst_pad_stop_task): Also take the stream lock if the pad has no
4357 2005-10-12 Wim Taymans <wim@fluendo.com>
4359 * gst/gstpad.c: (pre_activate), (post_activate),
4360 (gst_pad_activate_pull), (gst_pad_activate_push):
4361 Cleanup activation code. Reset old state if
4364 2005-10-12 Wim Taymans <wim@fluendo.com>
4366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4367 (gst_base_sink_change_state):
4368 No need to prerol after receiving EOS.
4370 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4371 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4372 * gst/elements/gstidentity.c: (gst_identity_event):
4373 Print events more verbosely.
4375 2005-10-12 Wim Taymans <wim@fluendo.com>
4377 * check/Makefile.am:
4378 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4379 * check/states/sinks2.c:
4380 Moved sinks2 testcode in sinks check.
4382 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4383 (gst_bin_remove_func), (gst_bin_recalc_state),
4384 (gst_bin_change_state_func), (bin_bus_handler):
4385 Fix potential race condition when _get_state() iterated over an
4386 ASYNC element right before it posted a state completion.
4389 Do proper cast here.
4391 * gst/gstevent.c: (gst_event_new_newsegment),
4392 (gst_event_parse_newsegment):
4393 A playback rate of 0.0 is not allowed.
4395 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4397 * win32/common/config.h:
4398 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4399 (_trewinddir), (_ttelldir), (_tseekdir):
4400 * win32/common/dirent.h:
4401 * win32/common/gtchar.h:
4402 * win32/common/libgstbase.def:
4403 * win32/common/libgstreamer.def:
4404 * win32/vs6/grammar.dsp:
4405 * win32/vs6/gst_inspect.dsp:
4406 * win32/vs6/gst_launch.dsp:
4407 * win32/vs6/gstreamer.dsw:
4408 * win32/vs6/libgstbase.dsp:
4409 * win32/vs6/libgstelements.dsp:
4410 * win32/vs6/libgstreamer.dsp:
4411 Visual Studio 6 project files, and a new common directory.
4414 2005-10-11 Wim Taymans <wim@fluendo.com>
4416 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4417 (gst_base_sink_do_sync), (gst_base_sink_query),
4418 (gst_base_sink_change_state):
4419 * gst/base/gstbasesink.h:
4420 Correctly parse newsegment info.
4422 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4424 * gst/gst.c: (init_post):
4425 split plugin paths correctly
4427 2005-10-11 Wim Taymans <wim@fluendo.com>
4429 * check/gst/gstevent.c: (GST_START_TEST):
4430 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4431 (gst_base_sink_change_state):
4432 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4433 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4434 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4435 * gst/gstevent.c: (gst_event_new_newsegment),
4436 (gst_event_parse_newsegment):
4438 Added extra flag to newsegment for future API freeze.
4439 Updated check and base elements.
4441 2005-10-11 Julien MOUTTE <julien@moutte.net>
4443 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4444 (gst_collectpads_add_pad), (gst_collectpads_pop),
4445 (gst_collectpads_event), (gst_collectpads_chain):
4446 * gst/base/gstcollectpads.h: Handle EOS correctly.
4448 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * tools/gst-launch.c: (main):
4451 more null protecting
4453 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4455 * gst/gst-i18n-lib.h:
4456 check for ENABLE_NLS, not GETTEXT_PACKAGE
4457 * gst/gstregistry.c: (gst_registry_add_plugin),
4458 (gst_registry_scan_path_level),
4459 (_gst_registry_remove_cache_plugins):
4460 protect possibly NULL strings
4461 * gst/parse/types.h:
4462 config.h already included before
4463 * tools/gst-inspect.c: (main):
4464 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4465 check for ENABLE_NLS, not GETTEXT_PACKAGE
4466 * tools/gst-launch.c: (main):
4467 check for ENABLE_NLS, not GETTEXT_PACKAGE
4469 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4472 if we don't have glib, fail before testing 2.8
4473 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4474 fix a leak, should fix plugins-base testsuite
4476 2005-10-11 Andy Wingo <wingo@pobox.com>
4478 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4479 take the mode we're going to as an arg. Go head and set the mode
4480 and flushing flags now, so that if the activate function starts a
4481 thread all the flags will be in the right state.
4482 (post_activate): Renamed also. Just handle making sure streaming
4483 finishes for the deactivation case, and setting the deactivated
4485 (gst_pad_set_active): Complain loudly if deactivation fails.
4486 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4487 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4488 remove the terrible hack.
4490 2005-10-11 Wim Taymans <wim@fluendo.com>
4492 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4493 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4494 (gst_bin_recalc_state), (gst_bin_change_state_func),
4495 (gst_bin_dispose), (bin_bus_handler):
4497 Prepare to make current EOS message queue more generic.
4500 * gst/gstevent.c: (gst_event_new_newsegment),
4501 (gst_event_parse_newsegment):
4503 Rename base to stream_time.
4508 2005-10-11 Wim Taymans <wim@fluendo.com>
4510 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4511 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4512 (gst_bin_change_state_func), (bin_bus_handler):
4514 Work on proper clock selection.
4516 2005-10-11 Edward Hervey <edward@fluendo.com>
4518 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4519 * libs/gst/controller/gstcontroller.h:
4520 Added GList* version of _remove_properties() in order to be able to wrap
4523 2005-10-11 Wim Taymans <wim@fluendo.com>
4525 * docs/design/part-states.txt:
4528 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4529 (gst_bin_change_state_func), (bin_bus_handler):
4530 Doc updates. Don't distribute the same clock over and over again.
4536 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4537 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4538 (gst_pad_send_event):
4540 Make probe emission threadsafe again.
4541 Register quarks and move _get_name() from utils.
4544 * gst/gstpipeline.c: (gst_pipeline_class_init),
4545 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4546 Only redistribute the clock of it changed.
4548 * gst/gstsystemclock.h:
4553 Moved the _flow_get_name() to GstPad.
4555 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4557 * check/gst-libs/gdp.c: (GST_START_TEST):
4558 * check/gst/gstcaps.c: (GST_START_TEST):
4559 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4560 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4561 (gst_dp_packet_from_caps):
4562 fix more valgrind warnings before turning up the heat
4564 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4566 * gst/parse/grammar.y:
4567 some cleanup before the hacking
4569 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4571 * gst/base/gstbasesrc.c: (gst_base_src_query):
4573 * gst/gstutils.c: (gst_guint64_to_gdouble),
4574 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4576 externalize, basesrc uses it
4577 obviously the implementation needs testing
4579 2005-10-10 Wim Taymans <wim@fluendo.com>
4581 * tests/sched/Makefile.am:
4582 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4583 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4585 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4587 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4588 apparently converting from guint64 to double is not implemented
4591 2005-10-10 Wim Taymans <wim@fluendo.com>
4593 * check/Makefile.am:
4594 * check/generic/states.c: (GST_START_TEST):
4595 * check/gst/gstbin.c: (GST_START_TEST):
4596 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4597 * check/states/sinks.c: (GST_START_TEST):
4598 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4600 Check fixes, use API as stated in design docs, remove hacks.
4602 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4603 (gst_base_sink_change_state):
4604 Catch stopping our task while we're shutting down.
4606 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4607 (gst_bin_remove_func), (gst_bin_get_state_func),
4608 (gst_bin_recalc_state), (gst_bin_change_state_func),
4611 * gst/gstelement.c: (gst_element_init),
4612 (gst_element_get_state_func), (gst_element_abort_state),
4613 (gst_element_commit_state), (gst_element_lost_state),
4614 (gst_element_set_state), (gst_element_change_state),
4615 (gst_element_change_state_func):
4617 New state change algorithm (see #318116)
4619 * gst/gstpipeline.c: (gst_pipeline_class_init),
4620 (gst_pipeline_init), (gst_pipeline_set_property),
4621 (gst_pipeline_get_property), (do_pipeline_seek),
4622 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4623 * gst/gstpipeline.h:
4624 Remove crude state change hacks.
4629 * tools/gst-launch.c: (main):
4630 Fixes for state change. Needs some more work to fully use the
4633 2005-10-10 Andy Wingo <wingo@pobox.com>
4635 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4637 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4638 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4641 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4643 * gst/gstiterator.c: (gst_iterator_new):
4644 Fix my previous commit: GTypes passed to gst_iterator_new()
4645 can be fundamental types.
4647 2005-10-10 Wim Taymans <wim@fluendo.com>
4649 * gst/gstelement.c: (gst_element_iterate_pad_list),
4650 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4651 (gst_element_iterate_sink_pads):
4652 Use src/sink pads lists for the respective iterators instead
4655 2005-10-10 Andy Wingo <wingo@pobox.com>
4657 Merged in popt removal + GOption addition patch from Ronald, bug
4660 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4661 GstElement macros around, remove popt-related symbols, add goption
4664 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4666 * docs/gst/Makefile.am:
4667 * docs/libs/Makefile.am: No POPT_CFLAGS.
4669 * examples/manual/Makefile.am:
4670 * docs/manual/basics-init.xml: Doc updates with an example.
4672 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4673 (gst_init), (parse_one_option), (parse_goption_arg):
4674 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4675 bit of hand merging and debugging to get the GOption stuff working
4678 * tests/Makefile.am:
4679 * tools/Makefile.am:
4680 * tools/gst-inspect.c: (main):
4681 * tools/gst-launch.c: (main):
4682 * tools/gst-run.c: (main):
4683 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4685 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4687 * gst/gstiterator.c: (gst_iterator_new):
4688 Add assertions to make sure passed GType is likely to really
4689 be a GType (as the compiler won't catch it if the size and
4690 GType arguments get mixed up, see #318447).
4692 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4694 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4696 * gst/gstbin.c: (gst_bin_iterate_sorted):
4697 Pass GType and size arguments to gst_iterator_new() in the right
4698 order (maybe we should make _new() take the GType as first argument
4699 just like _new_list()?) (#318447).
4702 2005-10-10 Wim Taymans <wim@fluendo.com>
4704 * gst/gstelement.c: (gst_element_finalize):
4705 And free the GStaticRecMutex too
4707 2005-10-10 Andy Wingo <wingo@pobox.com>
4709 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4710 Allocate and free the mutex properly.
4712 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4714 (GstElement): The state_lock is now recursive. Rebuild your
4715 plugins, suckers. Old macros adapted.
4717 * docs/gst/gstreamer-sections.txt: Doc updates.
4720 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4721 (g_static_rec_cond_wait): Ported from state changes patch, while
4722 we wait on bug #317802 to be solved in a well-distributed GLib.
4724 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4725 gst_element_change_state, variable name changes.
4726 (gst_element_change_state): Split out of gst_element_set_state in
4727 preparation for the state change merge. Doesn't pay attention to
4728 the 'transition' argument.
4729 (gst_element_set_state): Updates, hopefully purely cosmetic.
4730 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4732 (gst_element_get_state_func): Renamed from get_state, cosmetic
4735 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4737 * gst/elements/gstelements.c:
4738 * win32/GStreamer.vcproj:
4740 * win32/dirent.c: (_tseekdir):
4741 * win32/gst-inspect.vcproj:
4742 * win32/gst-launch.vcproj:
4743 * win32/gstconfig.h:
4744 * win32/gstelements.vcproj:
4745 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4746 * win32/gstreamer.def:
4748 updates for the win32 build (patch from Sebastien Moutte)
4750 2005-10-10 Andy Wingo <wingo@pobox.com>
4752 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4753 gst_bin_get_state, cleaned up (but no logic changes).
4754 (bin_element_is_sink): Comment updates.
4755 (sink_iterator_filter): Remove needless cast.
4756 (gst_bin_iterate_sinks): Doc update.
4757 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4758 cleaned up (but no logic changes).
4760 * check/states/sinks.c (test_src_sink): Cleanups from the state
4762 (test_livesrc_sink): Sync on the state.
4764 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4765 the state change patch.
4767 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4770 * check/gst/gstbin.c: Merge in some style fixes and additional
4771 checks from Wim's state change patch.
4773 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4775 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4776 (gst_type_find_helper):
4777 Check whether we have the requested data already in our list of
4778 cached buffers before pulling a new buffer; also make the buffer
4779 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4781 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4786 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4787 don't use long long, it's not portable. Replacing with
4788 gint64 seems to work; let's hope no skeletons fall out of the closet.
4790 2005-10-10 Andy Wingo <wingo@pobox.com>
4792 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4794 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4796 * docs/gst/gstreamer-sections.txt:
4801 * gst/gstmessage.c: (gst_message_parse_state_changed):
4804 more docs, fix compilation
4806 2005-10-09 Philippe Khalaf <burger@speedy.org>
4808 Fixed a few forgotten variables on previous commit
4810 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4812 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4813 Fix evil typefind crasher: getrange() might return a short
4814 buffer at the end of a file, but gst_type_find_peek() must
4815 either return the full data as requested or NULL, but
4816 never a short buffer.
4818 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4820 * gst/gstmessage.c: (gst_message_new_state_changed),
4821 (gst_message_parse_state_changed):
4823 don't use "new", it's a C++ keyword
4825 2005-10-08 Wim Taymans <wim@fluendo.com>
4827 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4828 * gst/gstelement.c: (gst_element_post_message):
4829 * gst/gstpipeline.c: (gst_pipeline_change_state):
4830 Small docs and debug updates.
4832 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4834 * docs/gst/gstreamer-sections.txt:
4835 * gst/gstelementfactory.c:
4840 2005-10-08 Wim Taymans <wim@fluendo.com>
4842 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4843 (gst_bin_dispose), (bin_bus_handler):
4844 Fix typos, add comments.
4845 Clear EOS list when going to PAUSED from any direction and do it
4846 in a threadsafe way.
4847 Get base time in a threadsafe way too.
4848 Fix confusing debug in the change_state function.
4849 Various other small cleanups.
4851 * gst/gstelement.c: (gst_element_post_message):
4852 Fix very verbose bus posting code.
4854 * gst/gstpipeline.c: (gst_pipeline_class_init),
4855 (gst_pipeline_set_property), (gst_pipeline_get_property),
4856 (gst_pipeline_change_state):
4857 Small ARG_ -> PROP_ cleanup
4859 2005-10-08 Wim Taymans <wim@fluendo.com>
4861 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4862 Do a less CPU demanding EOS check because we can.
4864 2005-10-08 Wim Taymans <wim@fluendo.com>
4866 * libs/gst/dataprotocol/dataprotocol.c:
4867 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4868 (gst_dp_packet_from_event):
4869 * libs/gst/dataprotocol/dataprotocol.h:
4870 * libs/gst/dataprotocol/dp-private.h:
4871 It's about time we bump the version number.
4872 Since event types don't fit in the guint8 anymore describing
4873 the payload type, make payload type 16 bits wide.
4875 2005-10-08 Wim Taymans <wim@fluendo.com>
4877 * docs/design/part-TODO.txt:
4878 * docs/design/part-clocks.txt:
4879 * docs/design/part-events.txt:
4880 * docs/design/part-gstbin.txt:
4881 * docs/design/part-gstelement.txt:
4882 * docs/design/part-gstpipeline.txt:
4883 * docs/design/part-live-source.txt:
4884 * docs/design/part-messages.txt:
4885 * docs/design/part-overview.txt:
4886 * docs/design/part-states.txt:
4889 2005-10-08 Wim Taymans <wim@fluendo.com>
4893 Fix event quark registration.
4894 Add some space between events so we can insert them in the
4897 2005-10-08 Wim Taymans <wim@fluendo.com>
4899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4900 (gst_base_sink_handle_buffer):
4907 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4908 (gst_queue_set_property), (gst_queue_get_property):
4910 Remove old unused properties.
4912 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4913 * docs/gst/gstreamer-sections.txt:
4916 * gst/gstminiobject.c:
4917 * gst/gstminiobject.h:
4921 lots of new docs and doc fixes
4923 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4925 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4927 * gst/gstregistry.c: (gst_registry_lookup_locked),
4928 (gst_registry_scan_path_level):
4929 * gst/gstregistryxml.c: (load_plugin):
4930 Only ever load one plugin for a given plugin basename.
4931 This ensures correct overriding of GST_PLUGIN_PATH over
4932 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4933 system installed plugins.
4935 2005-10-08 Wim Taymans <wim@fluendo.com>
4937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4938 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4939 Prepare for doing QOS.
4941 2005-10-08 Wim Taymans <wim@fluendo.com>
4943 * check/gst/gstbin.c: (GST_START_TEST):
4944 * check/pipelines/cleanup.c: (GST_START_TEST):
4945 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4946 Allow new clock message too.
4948 2005-10-08 Wim Taymans <wim@fluendo.com>
4950 * gst/gstmessage.c: (gst_message_new_error),
4951 (gst_message_new_warning), (gst_message_new_tag),
4952 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4953 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4954 (gst_message_new_segment_start), (gst_message_new_segment_done),
4955 (gst_message_parse_state_changed),
4956 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4957 (gst_message_parse_new_clock):
4959 Also carry the clock in question.
4961 2005-10-08 Wim Taymans <wim@fluendo.com>
4963 * gst/gstmessage.c: (gst_message_new_custom),
4964 (gst_message_new_eos), (gst_message_new_error),
4965 (gst_message_new_warning), (gst_message_new_tag),
4966 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4967 (gst_message_new_new_clock), (gst_message_new_segment_start),
4968 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4969 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4972 Added clock related messages.
4974 * gst/gstpipeline.c: (gst_pipeline_change_state):
4975 Post message when the clock changed.
4977 * tools/gst-launch.c: (event_loop):
4980 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4982 * tools/gst-inspect.c: (print_element_properties_info):
4983 Can't pass NULL strings to g_print() on windows.
4985 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4988 * docs/gst/Makefile.am:
4989 * docs/gst/gstreamer-docs.sgml:
4990 * docs/gst/running.xml:
4991 * docs/version.entities.in:
4992 add a chapter on running GStreamer.
4993 document GST_DEBUG and GST_PLUGIN* env vars
4995 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5000 remove PLUGINS_BUILDDIR stuff
5001 * gst/gst.c: (init_post):
5002 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5004 remove, it was condescending and not needed
5006 2005-10-08 Wim Taymans <wim@fluendo.com>
5008 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5009 (gst_base_sink_handle_object), (gst_base_sink_event),
5010 (gst_base_sink_wait), (gst_base_sink_handle_event),
5011 (gst_base_sink_change_state):
5012 * gst/base/gstbasesink.h:
5013 Repost EOS message while going to PLAYING if still EOS.
5014 Make sure that when receiving a FLUSH_START we don't attempt
5015 to sync on the clock anymore.
5017 2005-10-08 Wim Taymans <wim@fluendo.com>
5019 * tools/gst-launch.c: (event_loop):
5020 Better message printout.
5022 2005-10-08 Wim Taymans <wim@fluendo.com>
5024 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5025 (gst_bin_child_proxy_get_children_count):
5026 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5027 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5028 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5029 (gst_child_proxy_set_valist):
5030 * gst/parse/grammar.y:
5031 Make ChildProxy threadsafe and fix mem leaks.
5033 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5035 * gst/gst.c: (init_post):
5036 debug the GST_PLUGIN_ env vars
5038 2005-10-08 Wim Taymans <wim@fluendo.com>
5040 * check/gst/gstbin.c: (GST_START_TEST):
5041 * check/gst/gstmessage.c: (GST_START_TEST):
5042 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5043 * gst/gstelement.c: (gst_element_commit_state),
5044 (gst_element_lost_state):
5045 * gst/gstmessage.c: (gst_message_new_state_changed),
5046 (gst_message_parse_state_changed):
5048 * tools/gst-launch.c: (event_loop):
5049 Added extra field to STATE_CHANGE message with the pending
5050 state, which will be different from the new state soon.
5052 2005-10-08 Wim Taymans <wim@fluendo.com>
5054 * gst/gstbus.c: (gst_bus_pop):
5056 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5057 Small cleanups and doc updates.
5059 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5061 * gst/gst.c: (init_pre):
5062 * gst/gstbin.c: (gst_bin_add_func):
5063 log distributing clocks and base time
5064 * gst/gstregistry.c: (gst_registry_add_plugin),
5065 (gst_registry_scan_path_level), (gst_registry_scan_path):
5066 clean up the debugging output a little
5067 * gst/gstutils.c: (gst_element_state_get_name):
5068 warn about a memleak (I've actually seen this be used, though
5069 it was probably a bug)
5071 2005-10-07 Wim Taymans <wim@fluendo.com>
5073 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5074 (gst_base_src_init), (gst_base_src_default_newsegment),
5075 (gst_base_src_newsegment), (gst_base_src_do_seek),
5076 (gst_base_src_loop), (gst_base_src_start):
5077 * gst/base/gstbasesrc.h:
5078 Make the newsegment event customizable by subclasses.
5080 2005-10-07 Wim Taymans <wim@fluendo.com>
5082 * gst/gstevent.c: (gst_event_new_buffersize),
5083 (gst_event_parse_buffersize):
5085 New event for future idea.
5087 2005-10-07 Andy Wingo <wingo@pobox.com>
5089 * gst/gstelement.c (gst_element_post_message): Doc update.
5091 * docs/gst/gstreamer-sections.txt: Update.
5093 * gst/gstmessage.c (gst_message_new_application): Made into a
5094 function like honest API calls.
5095 (gst_message_new_element): New message type.
5097 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5099 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5100 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5103 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5104 NO_PREROLL from gst_element_change_state to fall through.
5106 2005-10-07 Wim Taymans <wim@fluendo.com>
5108 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5109 (gst_ghost_pad_do_activate_push):
5110 Activating a ghostpad with no internal pad in push mode
5113 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5116 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5117 Fixes compilation on Windows.
5119 2005-10-07 Michael Smith <msmith@fluendo.com>
5121 * tools/gst-inspect.c:
5122 Print out feature and plugin count at the end when printing out
5125 2005-10-04 Michael Smith <msmith@fluendo.com>
5127 * gst/gsterror.c: (_gst_stream_errors_init):
5128 Add another error string used in a few existing plugins.
5131 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5132 * tools/gst-inspect.c: (print_element_info):
5133 When a feature disappears from a plugin (and the feature exists in
5134 the cached registry file), things went horribly wrong. This isn't a
5135 complete fix, we should actually be removing the 'missing' features
5136 from the features list when we load the actual plugin. That's not
5139 2005-10-04 Johan Dahlin <johan@gnome.org>
5141 * check/gst/gstiterator.c: (GST_START_TEST):
5142 * gst/gstbin.c: (gst_bin_iterate_elements),
5143 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5144 * gst/gstelement.c: (gst_element_iterate_pads):
5145 * gst/gstformat.c: (gst_format_iterate_definitions):
5146 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5147 (gst_iterator_new_list), (gst_iterator_filter):
5148 * gst/gstiterator.h:
5149 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5150 Add a GType to GstIterator, update callsites and tests.
5152 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5154 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5155 give events a chance to be handled by event probes when the pad
5158 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5160 * gst/gstevent.c: (gst_event_type_get_name),
5161 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5163 add string representations for event types
5165 2005-10-06 Wim Taymans <wim@fluendo.com>
5167 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5168 Don't use NULL pointers.
5170 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5172 * gst/gst_private.h:
5176 * gst/gstpluginfeature.c:
5177 widen the debug category in output to fit the biggest one we have
5178 add a bus category and use it
5179 play with the colors
5180 fix up some categories
5182 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5184 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5185 add push activation of sink ghost pads.
5186 Andye, please verify
5188 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5190 * gst/gstutils.c: (gst_element_link_pads):
5191 fix a bug in the case where neither element has a pad
5192 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5193 add a test for that case
5195 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5197 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5198 emit have-data before checking for peers. This allows
5199 for probe handlers to connect elements. This helps autopluggers.
5200 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5202 add six checks, linked/unlinked with no/true/false probe
5204 2005-10-04 Wim Taymans <wim@fluendo.com>
5206 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5207 (gst_fake_sink_event), (gst_fake_sink_preroll),
5208 (gst_fake_sink_render), (gst_fake_sink_change_state):
5209 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5210 (gst_fake_src_get_property), (gst_fake_src_create),
5211 (gst_fake_src_stop):
5212 * gst/elements/gstidentity.c: (gst_identity_stop):
5213 Protect last_message with lock.
5215 2005-10-04 Edward Hervey <edward@fluendo.com>
5218 Added precision in the comments for GST_FORMAT_DEFAULT
5220 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5222 * tools/gst-launch.c: (main):
5223 Don't try to run erroneous pipelines.
5225 2005-10-04 Julien MOUTTE <julien@moutte.net>
5227 * gst/gstbus.c: We don't need this header.
5229 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5234 === release 0.9.3 ===
5236 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5240 Releasing 0.9.3, "Unregistered"
5242 2005-10-03 Andy Wingo <wingo@pobox.com>
5244 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5245 whereby calling a pad's activatepush() function can start a thread
5246 that starts to push or pull before the pad gets the FLUSHING flag
5247 unset. Hack around it by holding the stream lock until the flag is
5248 set. Need to replace this with a proper solution. Together with
5249 the ghost pad fixes, this fixes mp3 playing/tagreading.
5251 * docs/design/part-gstghostpad.txt: Add a note about activation of
5252 proxy pads outside of ghost pads.
5254 * gst/gstghostpad.c: Implement the ghost pad activation design.
5256 2005-10-02 Andy Wingo <wingo@pobox.com>
5258 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5259 It is volatile, after all.
5261 * docs/design/part-gstghostpad.txt: Flesh out activation with
5264 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5267 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5270 Fix (unused) AM_CONDITIONAL tests.
5272 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5274 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5276 * gst/gstutils.c: (gst_pad_query_convert):
5277 Add assertion that makes sure src_val is >=0, just like
5278 gst_query_new_convert() has. (#315895)
5280 2005-09-30 Edward Hervey <edward@fluendo.com>
5282 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5283 Let's not iterate pads we're not interested in, it avoids getting
5284 sky-high refcounts on sinkpad.
5286 2005-09-30 Wim Taymans <wim@fluendo.com>
5288 * gst/gstelement.c: (gst_element_set_state),
5289 (gst_element_change_state):
5290 Small tweak, element in ASYNC remains ASYNC.
5292 2005-09-30 Wim Taymans <wim@fluendo.com>
5294 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5295 Only error is an error.
5297 * gst/gstbin.c: (gst_bin_change_state):
5300 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5301 Also call pad_block in pad alloc.
5303 * gst/gstutils.c: (gst_flow_get_name):
5306 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5308 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5309 (gst_base_src_get_range):
5310 Fix documentation typos. Add some more debug info.
5312 2005-09-29 David Schleef <ds@schleef.org>
5314 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5315 more end-user friendly.
5316 * tools/gst-inspect.c: (main): Check if command-line argument is
5317 a file and attempt to load that file as a plugin.
5319 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5321 * check/gst/gstbin.c:
5322 * check/states/sinks.c:
5323 fix tests for the new warning
5324 * check/gst/gstpipeline.c:
5325 add a test for pipeline and bus interaction
5327 elements should be NULL if they get disposed; add a warning if not
5329 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5332 for 2.6 refcounting, make debug log more correct by printing
5333 the actual refcounts at the time of swap (Wim)
5335 2005-09-29 Andy Wingo <wingo@pobox.com>
5337 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5338 removes signal watches previously added via
5339 gst_bus_add_signal_watch.
5340 (gst_bus_add_signal_watch): Don't return the source id, just store
5341 it on the bus if there wasn't an id already.
5343 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5344 add_signal_watch and remove_signal_watch.
5346 2005-09-29 Edward Hervey <edward@fluendo.com>
5348 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5349 Better if we actually iterate the list :)
5351 2005-09-29 Wim Taymans <wim@fluendo.com>
5353 * check/gst/gstbin.c: (GST_START_TEST):
5354 Change for new bus API.
5356 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5357 (send_messages), (GST_START_TEST), (gstbus_suite):
5358 Change for new bus signal API.
5360 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5361 (gst_bus_source_prepare), (gst_bus_source_check),
5362 (gst_bus_create_watch), (gst_bus_add_watch_full),
5363 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5364 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5366 Remove support for multiple GSources operating on different
5367 message types as it is too complex and unneeded when using
5369 Added support for receiving signals from the bus.
5371 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5373 * docs/libs/tmpl/gstdataprotocol.sgml:
5374 * docs/manual/advanced-dataaccess.xml:
5375 * gst/elements/gstcapsfilter.c:
5377 rename filter-caps to caps property
5379 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5381 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5382 More robust fraction string parsing.
5384 * docs/pwg/appendix-porting.xml:
5385 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5387 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5389 * gst/gstcaps.c: (gst_caps_do_simplify):
5390 Thou shalt not free a structure and then continue using it
5391 in the next loop iteration.
5393 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5395 Add test case for caps simplification.
5397 2005-09-29 Wim Taymans <wim@fluendo.com>
5399 * check/gst/gstbin.c: (GST_START_TEST):
5402 2005-09-29 Wim Taymans <wim@fluendo.com>
5404 * check/gst/gstbin.c: (GST_START_TEST):
5407 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5408 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5409 (find_element), (gst_bin_sort_iterator_next),
5410 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5411 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5412 (gst_bin_change_state), (gst_bin_dispose):
5413 A bin does not have a bus, it gets the bus from the parent.
5415 * gst/gstelement.c: (gst_element_requires_clock),
5416 (gst_element_provides_clock), (gst_element_is_indexable),
5417 (gst_element_is_locked_state), (gst_element_change_state),
5418 (gst_element_set_bus_func):
5421 * gst/gstpipeline.c: (gst_pipeline_class_init),
5422 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5423 The pipeline provides a bus.
5425 2005-09-28 Johan Dahlin <johan@gnome.org>
5427 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5428 gst_structure_get_enum instead of gst_structure_get_int
5430 * gst/gststructure.c (gst_structure_get_enum): Impl.
5432 * gst/gststructure.h (gst_structure_get_enum): Add
5434 * docs/gst/gstreamer-sections.txt: Ditto
5436 * gst/gstmessage.c (gst_message_new_state_changed): Use
5437 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5438 which does introspection.
5439 Reviewed by Christian Schaller
5441 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5443 * gst/gstinfo.c: (gst_debug_log_default):
5444 don't do dummy g_strdup()s
5445 * libs/gst/controller/gstcontroller.c:
5446 (on_object_controlled_property_changed),
5447 (gst_controlled_property_new), (gst_controller_new_valist),
5448 (gst_controller_new_list),
5449 (gst_controller_remove_properties_valist), (gst_controller_set),
5450 (gst_controller_get), (gst_controller_sync_values),
5451 (gst_controller_get_value_array), (_gst_controller_class_init),
5452 (gst_controller_get_type):
5453 * libs/gst/controller/gstcontroller.h:
5454 * libs/gst/controller/gstinterpolation.c:
5455 (gst_controlled_property_find_timed_value_node):
5456 convert // to /**/ comments
5458 2005-09-28 Wim Taymans <wim@fluendo.com>
5460 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5461 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5462 (gst_bus_sync_signal_handler):
5464 Added async-message and sync-message signals to the bus.
5465 Added helper BusFunc to emit signals for all posted messages.
5467 * gst/gstmessage.c: (gst_message_type_get_name),
5468 (gst_message_type_to_quark), (gst_message_get_type):
5470 Register quarks for message names.
5472 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5474 * docs/libs/gstreamer-libs-sections.txt:
5475 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5476 (gst_controller_new_list):
5477 * libs/gst/controller/gstcontroller.h:
5478 added another constructor for language bindings
5480 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5482 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5486 * gst/gstinfo.c: (_gst_debug_init):
5487 slightly more readable color for refcount debugging
5489 2005-09-28 Wim Taymans <wim@fluendo.com>
5491 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5492 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5493 (find_element), (gst_bin_sort_iterator_next),
5494 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5495 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5496 (gst_bin_change_state), (gst_bin_dispose):
5497 Small doc fixes. get_clock -> provide_clock.
5499 * gst/gstelement.c: (gst_element_class_init),
5500 (gst_element_provides_clock), (gst_element_provide_clock),
5501 (gst_element_get_clock), (gst_element_commit_state),
5502 (gst_element_lost_state):
5504 Make get/set_clock() symetric. Add provide_clock vmethod since
5505 that is actually what this function does.
5507 * gst/gstpipeline.c: (gst_pipeline_class_init),
5508 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5509 (gst_pipeline_get_clock):
5510 get_clock -> provide_clock.
5512 2005-09-28 Andy Wingo <wingo@pobox.com>
5514 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5515 lieu of real docs...
5517 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5519 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5521 * gst/elements/gstcapsfilter.c:
5522 * gst/elements/gstfakesink.c:
5523 * gst/elements/gstfakesrc.c:
5524 * gst/elements/gstfdsink.c:
5525 * gst/elements/gstfdsrc.c:
5526 * gst/elements/gstfilesink.c:
5527 * gst/elements/gstfilesrc.c:
5528 * gst/elements/gstidentity.c:
5529 * gst/elements/gsttee.c:
5530 * gst/elements/gsttypefindelement.c:
5531 Make element details static.
5533 2005-09-28 Wim Taymans <wim@fluendo.com>
5535 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5536 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5537 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5538 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5539 (gst_bin_change_state), (gst_bin_dispose):
5540 Some documentation updates.
5541 Clean up dispose handlers.
5543 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5544 * gst/gstpad.c: (gst_pad_dispose):
5545 Clean up dispose handler.
5547 * gst/gstpipeline.c: (gst_pipeline_change_state):
5548 Removed spurious UNLOCK.
5550 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5552 * docs/gst/gstreamer-sections.txt:
5553 * gst/base/gstbasesrc.h:
5558 * gst/gstpipeline.c:
5559 * gst/gstpipeline.h:
5562 added two new functions to the docs
5563 documents all undocumented GstXXXFlags
5564 completed some incomplete docs
5566 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5568 * gst/gstbin.c: (gst_bin_dispose):
5569 * gst/gstelement.c: (gst_element_dispose):
5570 remove now useless and leaky resurrection code in dispose
5571 * gst/base/gstbasesrc.c: (gst_base_src_init):
5572 * gst/gstelementfactory.c: (gst_element_factory_create):
5573 * gst/gstobject.c: (gst_object_set_parent):
5576 2005-09-27 Wim Taymans <wim@fluendo.com>
5578 * docs/design/part-TODO.txt:
5581 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5582 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5583 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5584 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5585 (gst_bin_change_state):
5587 Remove element variable, we keep element info in the iterator now.
5589 2005-09-27 Andy Wingo <wingo@pobox.com>
5591 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5594 2005-09-27 Wim Taymans <wim@fluendo.com>
5596 * check/gst/gstbin.c: (GST_START_TEST):
5597 Enable check that works now.
5599 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5600 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5601 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5602 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5603 (gst_bin_change_state):
5605 Redid the state change algorithm using a topological sort algo.
5606 Handles all cases correctly.
5607 Exposed iterator for state change order.
5610 Temp storage for state changes. Need to get rid of this soon.
5612 2005-09-27 Wim Taymans <wim@fluendo.com>
5614 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5615 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5616 (link_fold_func), (gst_pad_proxy_setcaps):
5617 Leak fixes, the fold functions need to unref the passed object and
5618 _get_parent_*() returns ref to parent.
5620 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5622 * check/gst/gstbuffer.c: (test_make_writable):
5623 Plug leak in test case and fix 'make check-valgrind'
5625 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5627 * gst/gstbuffer.c: (gst_subbuffer_init):
5628 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5629 works correctly in all circumstances (we could have just copied
5630 the parent buffer's readonly flag, but conceptually it seems
5631 cleaner to mark all subbuffers as read-only). (based on patch
5632 by Alessandro Decina, #314710).
5634 * check/gst/gstbuffer.c: (create_read_only_buffer),
5635 (test_make_writable), (test_subbuffer_make_writable),
5637 Add some tests for gst_buffer_make_writable().
5639 2005-09-27 Wim Taymans <wim@fluendo.com>
5641 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5642 use gst_object_has_ancestor().
5644 * gst/gstobject.c: (gst_object_has_ancestor):
5646 gst_object_has_ancestor() copied from gstbin.c as it is a
5649 * tests/instantiate/create.c: (create_all_elements):
5650 * tests/lat.c: (handoff_src), (handoff_sink):
5651 * tests/sched/runxml.c: (main):
5652 * tests/seeking/seeking1.c: (main):
5653 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5655 Fix compilation of some tests.
5657 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5660 Remove comment. GST_TYPE_G_ERROR is here to stay,
5661 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5664 2005-09-26 Wim Taymans <wim@fluendo.com>
5666 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5667 Added check that shows error in state change order.
5669 2005-09-26 Wim Taymans <wim@fluendo.com>
5671 * gst/gstbin.c: (gst_bin_change_state):
5672 Make state change function use 3 queues again, we were
5673 adding elements in the wrong order.
5675 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5678 * gst/gstpad.c: (gst_pad_dispose):
5679 Added some debug info first.
5681 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5683 * docs/design/draft-push-pull.txt:
5684 * docs/design/part-events.txt:
5685 * docs/design/part-overview.txt:
5686 * docs/design/part-scheduling.txt:
5687 Replace all _pull_region() with _pull_range()
5689 2005-09-26 Andy Wingo <wingo@pobox.com>
5691 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5693 * check/gst-libs/controller.c: Update for controller api change.
5696 * tests/Makefile.am:
5697 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5698 over by GLib bug 118439.
5700 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5701 routines to a function.
5703 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5705 * libs/gst/controller/gsthelper.c:
5706 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5707 (gst_object_sync_values): Renamed from sink_values. Ugh.
5709 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5711 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5712 Renamed from controller_key, as it is exported.
5714 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5716 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5721 * gst/gstpadtemplate.h:
5724 * gst/gstqueryutils.c:
5725 * gst/gstqueryutils.h:
5726 remove queryutils headers after moving the two used functions
5727 to gstquery. also fixes build problem for gstsiddec
5729 2005-09-26 Michael Smith <msmith@fluendo.com>
5731 * tools/gst-launch.1.in:
5732 Correct documentation in manpage of debug syntax
5734 2005-09-26 Wim Taymans <wim@fluendo.com>
5736 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5737 (gst_base_src_is_seekable), (gst_base_src_change_state):
5738 Some more debugging info.
5740 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5742 * docs/gst/gstreamer-sections.txt:
5743 * gst/base/gstbasetransform.h:
5747 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5749 * docs/gst/.cvsignore:
5750 * docs/gst/tmpl/.cvsignore:
5751 * docs/gst/tmpl/gstpipeline.sgml:
5752 * docs/gst/tmpl/gstplugin.sgml:
5753 * gst/gstpipeline.c:
5756 inlined the last two docs files
5757 removed the tmpl directory from cvs (no more conflicts here!)
5759 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5761 * docs/gst/gstreamer-sections.txt:
5762 * docs/gst/tmpl/.cvsignore:
5763 * docs/gst/tmpl/gstpad.sgml:
5764 * docs/gst/tmpl/gstpadtemplate.sgml:
5766 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5767 (gst_pad_finalize), (gst_pad_set_pad_template):
5769 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5770 (gst_pad_template_class_init), (gst_pad_template_init),
5771 (gst_pad_template_dispose), (name_is_valid),
5772 (gst_static_pad_template_get), (gst_pad_template_new),
5773 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5774 (gst_pad_template_pad_created):
5775 * gst/gstpadtemplate.h:
5776 inlined two more docs
5777 factored gstpadtemplate out of gstpad
5779 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5781 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5782 (test_children_state_change_order_semi_sink):
5783 Fix test case: we can't rely on a fixed state change order when
5784 going from READY => PAUSED because the sink might commit its
5785 new state first when the first buffer created by the source
5786 reaches the sink before the source has finished its change state.
5787 (Test case still fails at times, see #316856, comment 5 onwards)
5789 2005-09-24 Wim Taymans <wim@fluendo.com>
5791 * docs/design/part-events.txt:
5792 * docs/design/part-gstbus.txt:
5793 * docs/design/part-gstpipeline.txt:
5794 * docs/design/part-messages.txt:
5795 * docs/design/part-overview.txt:
5796 * docs/design/part-segments.txt:
5803 * gst/gstiterator.c:
5804 Various documentation updates.
5806 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5809 Well, that's embarassing. Luckily we weren't using
5810 GST_CLOCK_DIFF anywhere.
5812 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5814 * common/gtk-doc.mak:
5815 don't fail on building XML, FC4 slave shows a bunch of doc
5816 missing bits that I don't get
5818 * gst/gstpipeline.c:
5819 * gst/gststructure.c:
5822 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5824 * docs/design/part-gstbin.txt:
5825 * docs/design/part-gstbus.txt:
5827 Add blurb about how the bus goes into flushing mode and
5828 drops all messages when its bin goes from READY into NULL
5831 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5833 * docs/gst/gstreamer-sections.txt:
5834 * gst/gststructure.c: (gst_structure_get_clock_time):
5835 * gst/gststructure.h:
5836 add a method to get a GstClockTime out of a structure
5838 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5840 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5841 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5842 Added test to check state change order in bins (can still be made
5843 to fail here under heavy disk load; bails out with 'Push on pad
5844 fakesink:sink0, but it was not activated in push mode').
5846 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5847 Fix state change order when there is only a semi sink (#316856)
5849 * gst/gstbus.c: (gst_bus_class_init):
5850 Use _class_peek_parent(), not _class_ref(); fix docs to say
5851 'default main context' instead of 'mainloop' where that is
5854 * gst/gstelement.c: (gst_element_commit_state),
5855 (gst_element_set_state):
5856 Fix typos in debug messages
5858 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5861 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5862 * gst/gstpluginfeature.c:
5865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5866 change an assert into an error until it gets fixed properly
5868 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5870 * docs/gst/gstreamer-sections.txt:
5871 * docs/gst/tmpl/.cvsignore:
5872 * docs/gst/tmpl/gstelement.sgml:
5873 * docs/gst/tmpl/gstinfo.sgml:
5874 * docs/gst/tmpl/gstobject.sgml:
5879 * gst/gstobject.c: (gst_object_class_init):
5881 inlined 3 more biiiig doc files and added some missing docs on the fly
5883 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5885 * check/gst/.cvsignore:
5886 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5887 * gst/gstregistryxml.c: (load_plugin),
5888 (gst_registry_xml_save_plugin):
5889 put back source in registry. add checks for find_plugin.
5890 * testsuite/states/bin.c: (assert_state), (empty_bin),
5891 (test_adding_one_element), (main):
5892 * testsuite/states/locked.c: (main):
5893 some compile/run fixes
5895 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5897 * check/gst/gstvalue.c: (GST_START_TEST):
5898 fix leaks in the test itself
5900 2005-09-22 Wim Taymans <wim@fluendo.com>
5902 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5903 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5904 (gst_base_sink_query):
5905 Prepare for more accurate position reporting and query
5908 * gst/gstelement.c: (gst_element_send_event),
5909 (gst_element_set_state):
5912 2005-09-22 Wim Taymans <wim@fluendo.com>
5914 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5915 (gst_query_parse_segment):
5918 Add segment query for future use.
5920 2005-09-22 Wim Taymans <wim@fluendo.com>
5922 * gst/gstbin.c: (gst_bin_add_func):
5923 Some more debug info.
5925 * gst/gstelement.c: (gst_element_send_event):
5929 Don't know how flags got broken.
5934 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5936 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5937 Add simplistic test suite for GST_TYPE_DATE serialisation and
5940 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5942 * docs/gst/gstreamer-sections.txt:
5943 * gst/gststructure.c: (gst_structure_set_valist),
5944 (gst_structure_get_date):
5945 * gst/gststructure.h:
5946 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5947 (gst_date_copy), (gst_value_compare_date),
5948 (gst_value_serialize_date), (gst_value_deserialize_date),
5949 (gst_value_transform_date_string),
5950 (gst_value_transform_string_date), (_gst_value_initialize):
5952 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5953 bunch of utility functions along with a hack that checks that
5954 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5955 is required. Part of the grand scheme in #170777.
5957 2005-09-22 Andy Wingo <wingo@pobox.com>
5959 * gst/gstconfig.h.in: Psych out gtk-doc.
5961 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5963 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5965 * tools/gst-inspect.c (print_element_list): Plug some
5966 inconsequential leaks.
5968 * gst/gstregistry.c (gst_registry_get_default): Doc.
5970 * check/gst/gstplugin.c:
5971 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5972 * gst/gstelementfactory.c (gst_element_factory_create):
5973 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5976 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5977 (gst_plugin_feature_load): Doc, don't eat refs.
5979 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5980 (gst_plugin_list_free): Doc.
5981 (gst_plugin_load_file): Doc updates.
5983 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5984 accessors returning refcounted objects, return a ref.
5986 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5987 accessor for caps. IDEMPOTENCE. Oh yes.
5989 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5991 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5993 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5994 (_gst_debug_register_funcptr):
5995 Add mutex to serialise access to the hash table with
5996 the function pointer => function name string mapping;
5997 make that hash table static scope (#316809).
5999 * gst/registries/.cvsignore:
6000 Remove left-over file.
6002 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6004 * docs/pwg/appendix-porting.xml:
6005 And something about newsegment events and caps-on-buffers to
6006 the porting guide (feel free to improve).
6008 2005-09-21 Andy Wingo <wingo@pobox.com>
6010 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6011 data and event probes on the same pad.
6012 (test_buffer_probe_once): Test that removing probes from within
6013 the probe functions works.
6015 2005-09-21 Andy Wingo <wingo@pobox.com>
6017 * check/gst/gstutils.c: New file.
6018 (test_buffer_probe_n_times): A simple buffer probe test. More to
6021 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6022 have-data::buffer, not have-data.
6023 (gst_pad_add_event_probe): Likewise for have-data::event.
6024 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6025 peer' isn't quite right yet though.
6026 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6027 (gst_pad_remove_data_probe): Change to take the guint handler_id
6028 as their arg, not the function+data, which is more glib-like.
6030 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6031 the signal emission to indicate if the data is a buffer or an
6033 (gst_pad_get_type): Initialize buffer and event quarks.
6034 (gst_pad_class_init): have-data is now a detailed signal, yes it
6037 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6039 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6040 * gst/gstutils.c: (gst_util_set_value_from_string),
6041 (gst_util_set_object_arg):
6042 Don't put functional code in g_return_if_fail() or
6043 g_return_val_if_fail() statements, otherwise things will
6044 break when G_DISABLE_CHECKS is defined during compilation.
6046 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6048 * docs/gst/tmpl/.cvsignore:
6049 * docs/gst/tmpl/gstvalue.sgml:
6052 inlied another one and added some obvious docs
6054 2005-09-21 Wim Taymans <wim@fluendo.com>
6056 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6057 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6058 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6059 (gst_fdsrc_get_property), (gst_fdsrc_create):
6060 * gst/elements/gstfdsrc.h:
6061 Properly implement fdsrc. Removed signal and timeout,
6062 better implemented somewhere else.
6064 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6066 * docs/gst/tmpl/.cvsignore:
6067 * docs/gst/tmpl/gstimplementsinterface.sgml:
6068 * gst/gstinterface.c:
6071 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6073 * docs/gst/gstreamer-sections.txt:
6074 * docs/gst/tmpl/.cvsignore:
6075 * docs/gst/tmpl/gstenumtypes.sgml:
6076 remove obsolete doc file
6078 2005-09-21 David Schleef <ds@schleef.org>
6080 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6081 little beer, fix a little leak.
6083 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6085 * docs/gst/gstreamer-docs.sgml:
6086 * docs/gst/gstreamer-sections.txt:
6087 * docs/gst/tmpl/.cvsignore:
6092 * gst/gstindex.c: (gst_index_class_init):
6094 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6095 (gst_index_factory_class_init), (gst_index_factory_init),
6096 (gst_index_factory_finalize), (gst_index_factory_new),
6097 (gst_index_factory_destroy), (gst_index_factory_find),
6098 (gst_index_factory_create), (gst_index_factory_make):
6099 * gst/gstindexfactory.h:
6100 * gst/gstpluginfeature.c:
6101 * gst/gstpluginfeature.h:
6102 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6103 more docs inlined, splitted gstindex.{c,h}
6105 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6107 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6110 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6112 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6113 Set sync to FALSE by default.
6115 2005-09-20 Wim Taymans <wim@fluendo.com>
6117 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6118 (gst_base_sink_init):
6119 Make sync property settable from subclass.
6121 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6122 (gst_fake_sink_change_state):
6123 Set sync to FALSE by default.
6125 2005-09-20 Wim Taymans <wim@fluendo.com>
6127 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6128 * tools/gst-launch.c: (main):
6129 The timeout handler should have lower priority than the source
6130 so we don't timeout before popping a message with 0 timeout.
6131 Dump error messages after failed state change.
6133 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6135 * tools/gst-inspect.c: (print_element_properties_info):
6138 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6140 * check/gst/gstevent.c:
6141 * gst/elements/gstfakesink.c:
6142 * gst/elements/gstfakesink.h:
6143 remove the sync property from fakesink.
6144 has the side effect of setting sync TRUE
6145 for fakesink, which is a change. Anyone who knows how
6146 to fix this nicely in a GObject-y way, feel free.
6148 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6150 * docs/gst/gstreamer-docs.sgml:
6151 remove probe refsection
6153 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6155 * check/Makefile.am:
6156 disable valgrinding the controller test again
6157 * docs/gst/gstreamer-sections.txt:
6158 update for api-changes
6160 2005-09-20 Wim Taymans <wim@fluendo.com>
6162 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6163 (gst_base_sink_set_property), (gst_base_sink_get_property),
6164 (gst_base_sink_do_sync):
6165 * gst/base/gstbasesink.h:
6166 Added sync property to basesink to disable clock sync.
6168 2005-09-20 Andy Wingo <wingo@pobox.com>
6170 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6171 eating the caller's refcount.
6173 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6174 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6177 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6178 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6179 of GLib 2.8 public, so we can know which refcount to check in
6182 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6183 (gst_object_init): Only set the gst refcount if we're going ahead
6184 with the refcount hack.
6186 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6188 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6189 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6190 more leaks plumbed, added more debug-logging
6194 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6197 remove include of gstmemchunk.h
6199 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6201 * gst/gstclock.c: (_gst_clock_id_free):
6202 Commit from the Political Party For More Atomic CVS Commits,
6203 so that people don't waste too much of their day fishing
6204 out obvious leaks out of massive commits.
6205 Oh, and fix a pretty damn obvious leak in the memchunk
6208 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6210 * check/Makefile.am:
6211 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6212 plug mem-leak, re-add to valgrindable tests
6214 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6217 unbreak the build for those who have chronic arthritis
6218 and typing "make check" is just too taxing on the hands
6220 2005-09-20 Andy Wingo <wingo@pobox.com>
6222 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6223 really want it out, you should fix plugins at the same time.
6225 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6228 * docs/gst/gstreamer-sections.txt:
6230 added missing symbols to api docs
6231 disable ref-count hack if we have glib >= 2.8
6233 2005-09-19 David Schleef <ds@schleef.org>
6235 * docs/gst/Makefile.am: Ignore a few more internal headers
6236 * docs/gst/gstreamer-docs.sgml: Remove old sections
6237 * docs/gst/gstreamer-sections.txt: Remove old sections
6238 * docs/gst/tmpl/gstobject.sgml: update
6239 * docs/gst/tmpl/gstplugin.sgml: update
6240 * docs/gst/tmpl/gstpluginfeature.sgml: update
6241 * docs/random/ds/0.9-suggested-changes: update.
6242 * gst/Makefile.am: remove memchunk and trashstack, since they're
6244 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6245 * gst/gst.h: don't include some headers
6246 * gst/gstchildproxy.c: add gstmarshal.h
6247 * gst/gstclock.c: Don't use memchunks
6248 * gst/gstminiobject.c: Add some docs
6249 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6250 * gst/gstobject.h: same
6251 * gst/gstplugin.c: include gstmacros.h
6252 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6253 * gst/gstquery.c: don't use memchunks
6254 * gst/gstregistry.c: rename gst_registry_deinit()
6255 * gst/gstregistry.h: same
6257 2005-09-19 David Schleef <ds@schleef.org>
6259 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6260 * docs/libs/gstreamer-libs-sections.txt:
6261 * docs/libs/tmpl/gstgetbits.sgml:
6262 * docs/libs/tmpl/gstputbits.sgml:
6264 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6266 * win32/gstenumtypes.c:
6267 * win32/gstenumtypes.h:
6270 2005-09-19 Wim Taymans <wim@fluendo.com>
6272 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6273 Automatically PAUSE and RESUME a pipeline when a flushing seek
6276 2005-09-19 Andy Wingo <wingo@pobox.com>
6278 * gst/gstregistry.h: Spacing fixen.
6280 2005-09-19 Wim Taymans <wim@fluendo.com>
6282 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6283 Handle state change failure more correctly.
6285 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6287 * check/Makefile.am:
6288 * check/pipelines/cleanup.c: (run_pipeline):
6289 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6291 enable cleanup again after fixing the leak
6293 some more info on docs
6295 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6297 * check/Makefile.am:
6298 re-enable tests now that leaks are plugged
6300 * check/gst/gstbin.c:
6301 * check/gst/gstpipeline.c:
6302 add some more tests while fixing leaks
6304 make sure binaries are uptodate when valgrinding/gdbing
6306 * gst/gstelementfactory.c:
6307 remove a ref too many, and add a FIXME for when we get
6308 round to disposing of classes
6310 fix the refcounting when loading a plugin from a file and
6311 the code pretends that the pointer is the same even though
6312 of course it can change
6313 * gst/gstpluginfeature.c:
6314 unref plugins marked cached (a bit confusing as a name)
6315 as the docs state should be done
6316 various doc additions to explain refcounting
6317 * gst/gstregistry.c:
6318 * gst/gstregistryxml.c:
6321 2005-09-19 Wim Taymans <wim@fluendo.com>
6323 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6324 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6325 (send_messages), (GST_START_TEST), (gstbus_suite):
6326 * check/gst/gstpipeline.c: (GST_START_TEST):
6327 * check/pipelines/cleanup.c: (run_pipeline):
6328 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6330 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6331 (gst_bus_source_check), (gst_bus_source_dispatch),
6332 (gst_bus_create_watch), (gst_bus_add_watch_full),
6333 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6335 * tools/gst-launch.c: (event_loop):
6336 * tools/gst-md5sum.c: (event_loop):
6337 GstBusHandler -> GstBusFunc, return value has the same meaning as
6338 any other GSource (FALSE == remove source).
6339 _add_watch() and _add_watch_full() now take a MessageType mask to
6340 only handle specific types of messages.
6341 _poll() returns the GstMessage instead of the message type to avoid
6343 _have_pending() takes a MessageType mask now too.
6344 Added testsuite for multiple bus watches.
6345 Fix testsuites and applications for new bus API.
6347 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6349 * check/Makefile.am:
6350 mark a bunch of the tests as to fix until we fix them
6352 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6355 use GST_PLUGIN settings for valgrind tests as well, so we're
6356 valgrinding the correct thing
6357 * gst/gst.c: (init_post):
6360 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6362 * gst/gst.c: (init_post), (gst_deinit):
6363 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6364 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6365 * gst/gstindex.c: (gst_index_factory_class_init),
6366 (gst_index_factory_finalize):
6367 * gst/gstobject.c: (gst_object_dispose):
6368 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6369 (gst_plugin_load_file), (gst_plugin_desc_free):
6370 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6371 (gst_plugin_feature_finalize):
6372 * gst/gstregistry.c: (gst_registry_class_init),
6373 (gst_registry_init), (gst_registry_finalize),
6374 (gst_registry_get_default), (gst_registry_deinit):
6375 * gst/gstregistry.h:
6376 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6377 various cleanups and memleak plugging. make valgrind is happy now.
6379 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6382 add a check-valgrind target
6384 2005-09-18 David Schleef <ds@schleef.org>
6386 * tools/gst-inspect.c: Revert the GOption code.
6388 2005-09-17 David Schleef <ds@schleef.org>
6390 * check/Makefile.am: Fix environment variables.
6391 * check/gst/gstplugin.c: Fix for API changes.
6392 * tools/gst-inspect.c: Fix for API changes.
6393 * tools/gst-xmlinspect.c: Fix for API changes.
6394 * gst/gstelementfactory.c:
6397 * gst/gstpluginfeature.c:
6398 * gst/gstpluginfeature.h:
6399 * gst/gstregistry.c:
6400 * gst/gstregistry.h:
6401 * gst/gstregistryxml.c:
6402 * gst/gsttypefind.c:
6403 * gst/gsttypefindfactory.c:
6404 * gst/indexers/gstfileindex.c:
6405 * gst/indexers/gstmemindex.c:
6406 * gst/schedulers/Makefile.am:
6407 Change registry to keep track of both plugins and features,
6408 removing the feature tracking from plugins themselves.
6410 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6412 * check/Makefile.am:
6413 * tools/gst-register.1.in:
6416 2005-09-15 David Schleef <ds@schleef.org>
6418 * check/gst/gstplugin.c:
6419 * gst/gstelementfactory.c:
6421 * gst/gstpluginfeature.c:
6422 * gst/gstregistry.c:
6423 Getting tired of debugging. Disabled all the unreffing of
6424 plugins and features, which fixes the segfaults, but of
6425 course leaks like crazy. At least playbin works.
6427 2005-09-15 David Schleef <ds@schleef.org>
6429 * check/gst/gstplugin.c: (register_check_elements),
6430 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6432 * gst/elements/gsttypefindelement.c: Fix refcounting.
6433 * gst/gsttypefind.c:
6434 * gst/gsttypefindfactory.c:
6435 * gst/gsttypefindfactory.h:
6437 2005-09-15 David Schleef <ds@schleef.org>
6439 * gst/gstindex.c: get refcounting correct.
6440 * gst/gstregistry.c: Handle the case where a feature/plugin is
6443 2005-09-15 David Schleef <ds@schleef.org>
6445 * check/Makefile.am:
6446 * check/gst/gstplugin.c: Add test
6447 * gst/gstplugin.c: Fix problems noticed by testsuite
6449 * gst/gstregistry.c:
6450 * gst/gstregistry.h:
6452 2005-09-15 David Schleef <ds@schleef.org>
6454 * gst/gstplugin.c: Implement semi-decent recounting and locking
6455 in plugins and plugin features.
6457 * gst/gstpluginfeature.c:
6458 * gst/gstpluginfeature.h:
6459 * gst/gstregistry.c:
6461 2005-09-15 Michael Smith <msmith@fluendo.com>
6463 * gst/gstregistry.c: (gst_registry_get_feature_list):
6464 Implement this. Makes oggdemux work; decodebin still broken.
6466 2005-09-14 David Schleef <ds@schleef.org>
6468 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6470 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6471 * gst/check/Makefile.am:
6472 * libs/gst/controller/Makefile.am:
6473 * libs/gst/dataprotocol/Makefile.am:
6475 2005-09-14 David Schleef <ds@schleef.org>
6477 * configure.ac: Remove getbits library. Nothing uses it, and
6478 it should be in something like liboil if someone did want
6480 * libs/gst/Makefile.am:
6481 * libs/gst/getbits/Makefile.am:
6482 * libs/gst/getbits/gbtest.c:
6483 * libs/gst/getbits/getbits.c:
6484 * libs/gst/getbits/getbits.h:
6485 * libs/gst/getbits/gstgetbits_generic.c:
6486 * libs/gst/getbits/gstgetbits_i386.s:
6487 * libs/gst/getbits/gstgetbits_inl.h:
6489 2005-09-14 David Schleef <ds@schleef.org>
6491 * gst/Makefile.am: Dist glib-compat.h
6493 2005-09-14 David Schleef <ds@schleef.org>
6495 * configure.ac: Remove gst/registries, since it's no longer used.
6496 * gst/registries/Makefile.am:
6497 * gst/registries/gstlibxmlregistry.c:
6498 * gst/registries/gstlibxmlregistry.h:
6499 * gst/registries/gstxmlregistry.c:
6500 * gst/registries/gstxmlregistry.h:
6501 * gst/registries/registrytest.c:
6503 2005-09-14 David Schleef <ds@schleef.org>
6505 * gst/glib-compat.h:
6506 * gst/gstregistryxml.c:
6507 Convergence is near. Seriously.
6509 2005-09-14 David Schleef <ds@schleef.org>
6511 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6512 * gst/glib-compat.h:
6513 Attempt #4 to appease the buildbots.
6515 2005-09-14 David Schleef <ds@schleef.org>
6517 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6520 2005-09-14 David Schleef <ds@schleef.org>
6522 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6525 2005-09-14 David Schleef <ds@schleef.org>
6527 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6530 2005-09-14 David Schleef <ds@schleef.org>
6532 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6533 * gst/glib-compat.h: Add some functions that are in newer versions
6534 of glib than we care to require.
6535 * gst/gstregistryxml.c: Use them.
6537 2005-09-14 David Schleef <ds@schleef.org>
6539 * po/POTFILES.in: remove gst-register.c
6541 2005-09-14 David Schleef <ds@schleef.org>
6543 * docs/gst/gstreamer-docs.sgml:
6544 * docs/gst/gstreamer-sections.txt:
6545 * docs/gst/gstreamer.types:
6546 * docs/gst/tmpl/gstelement.sgml:
6547 * docs/gst/tmpl/gstplugin.sgml:
6548 * docs/gst/tmpl/gstpluginfeature.sgml:
6549 Documentation updates for registry changes.
6551 2005-09-14 David Schleef <ds@schleef.org>
6553 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6554 because we don't require glib-2.8.
6556 2005-09-14 David Schleef <ds@schleef.org>
6558 * gst/gstregistryxml.c: Added. Essentially moved out of the
6559 registries directory.
6561 2005-09-14 David Schleef <ds@schleef.org>
6563 * check/Makefile.am:
6564 * check/generic/states.c:
6568 * gst/gst_private.h:
6569 * gst/gstelementfactory.c:
6574 * gst/gstpluginfeature.c:
6575 * gst/gstpluginfeature.h:
6576 * gst/gstregistry.c:
6577 * gst/gstregistry.h:
6578 * gst/gstregistrypool.c: remove
6579 * gst/gstregistrypool.h: remove
6580 * gst/gsttypefind.c:
6581 * gst/gsttypefindfactory.c:
6583 * tools/Makefile.am:
6584 * tools/gst-compprep.c:
6585 * tools/gst-inspect.c:
6586 * tools/gst-register.c: remove
6587 * tools/gst-xmlinspect.c:
6588 Registry rewrite. Changes registry from being a file created
6589 by a tool into a simple cache file created automatically by
6590 libgstreamer. Removed gst-register (because it's no longer
6591 needed). Remove registry pools, because we only have one
6592 registry implementation (XML). Fix up other subsystems as
6595 2005-09-13 Michael Smith <msmith@fluendo.com>
6597 * gst/gstconfig.h.in:
6598 Don't Use windows linking attributes for MinGW. Fixes #316157
6600 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6602 * gst/gstutils.c: (set_state_async_thread_func),
6603 (gst_element_set_state_async):
6604 Apparently people think it's better if this function doesn't
6605 try to set the state to whatever state was asked for on the first
6606 call to this function for any object. Seriously.
6608 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6610 * check/gst/gstpipeline.c: (GST_START_TEST):
6611 * docs/gst/gstreamer-sections.txt:
6612 * gst/gstutils.c: (set_state_async_thread_func),
6613 (gst_element_set_state_async):
6615 add a "gst_element_set_state_async" method that
6616 sets the state and starts a thread to make sure the state
6617 change completes as best as it can
6619 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6621 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6622 codify design+behaviour in testsuite after discussion
6624 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6626 * docs/gst/tmpl/gstelement.sgml:
6627 * docs/manual/appendix-quotes.xml:
6629 * gst/gstelement.c: (gst_element_set_state):
6632 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6634 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6635 (gst_base_transform_prepare_output_buf),
6636 (gst_base_transform_handle_buffer):
6637 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6638 (gst_capsfilter_prepare_buf):
6639 Remove the requirement for sub-classes to call the parent
6640 implementation of prepare_output_buffer with a wrapper function.
6643 * gst/gsttagsetter.h:
6646 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6648 * docs/gst/gstreamer-sections.txt:
6651 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6653 * docs/gst/gstreamer-sections.txt:
6654 * docs/gst/tmpl/gstelement.sgml:
6655 * docs/gst/tmpl/gstplugin.sgml:
6656 * gst/gstminiobject.c:
6658 docs now stop throwing warnings
6660 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6662 * docs/gst/gstreamer-sections.txt:
6663 * docs/gst/gstreamer.types:
6664 * docs/gst/tmpl/gstpad.sgml:
6665 * docs/gst/tmpl/gsttypes.sgml:
6666 * gst/base/gstadapter.h:
6667 * gst/base/gstbasesink.h:
6668 * gst/base/gstbasesrc.h:
6678 * gst/gststructure.c:
6679 * gst/registries/gstlibxmlregistry.h:
6680 various documentation fixes
6682 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6684 * docs/gst/gstreamer-sections.txt:
6685 * docs/gst/tmpl/gstvalue.sgml:
6686 rearrange gstvalue section
6687 * gst/gstutils.c: (gst_element_state_get_name):
6689 * gst/gstvalue.c: (_gst_value_initialize):
6693 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6695 * check/gst-libs/controller.c:
6697 * gst/base/gstbasetransform.c:
6698 (gst_base_transform_default_prepare_buf),
6699 (gst_base_transform_handle_buffer):
6700 * gst/base/gstbasetransform.h:
6701 Some more basetransform changes and fixes to enable sub-classes
6702 that modify buffer metadata only.
6703 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6704 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6705 (gst_capsfilter_prepare_buf):
6706 If the output pad has fixed allowed caps and input buffers
6707 don't have any, set the fixed caps on outgoing buffers.
6709 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6710 * check/elements/identity.c: (GST_START_TEST):
6711 Make the error a little clearer when the test fails because
6712 identity made a copy of the buffer.
6713 * docs/gst/gstreamer-sections.txt:
6714 New symbols in gstbasetransform.h
6715 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6716 (gst_base_transform_init), (gst_base_transform_transform_size),
6717 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6718 (gst_base_transform_default_prepare_buf),
6719 (gst_base_transform_get_unit_size),
6720 (gst_base_transform_buffer_alloc),
6721 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6722 (gst_base_transform_change_state),
6723 (gst_base_transform_set_passthrough),
6724 (gst_base_transform_set_in_place),
6725 (gst_base_transform_is_in_place):
6726 * gst/base/gstbasetransform.h:
6727 Change BaseTransform to separate in_place operate from same_caps
6728 output. in_place implies that the element can perform the transform
6729 on incoming buffers in-place, even if the caps on the output are
6731 Sub-class elements can now implement special buffer allocation
6732 methods for outgoing buffers if they wish to.
6733 Big documentation addition.
6734 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6735 * gst/elements/gstelements.c:
6736 Changes for basetransform modifications.
6737 * gst/elements/Makefile.am:
6738 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6739 Compile fix. Extra debug output.
6741 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6743 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6745 add tests for valid pad naming
6746 * gst/check/gstcheck.c: (gst_check_log_message_func),
6747 (gst_check_log_critical_func):
6749 remove printing of code, it is fragile when the code contains
6750 % and the line number is enough info
6751 * gst/check/gstcheck.h:
6752 * gst/gstpad.c: (gst_pad_template_new):
6755 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6758 say what CHECK flags we use
6759 * docs/libs/gstreamer-libs.types:
6760 * libs/gst/controller/Makefile.am:
6761 * libs/gst/controller/gst-controller.c:
6762 * libs/gst/controller/gst-controller.h:
6763 * libs/gst/controller/gst-helper.c:
6764 * libs/gst/controller/gst-interpolation.c:
6765 * libs/gst/controller/gstcontroller.c:
6766 * libs/gst/controller/gsthelper.c:
6767 * libs/gst/controller/gstinterpolation.c:
6768 * tools/gst-inspect.c: (print_plugin_info):
6769 we don't use dashes in header names
6771 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6773 * check/Makefile.am:
6774 * check/gst/.cvsignore:
6775 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6776 (gst_pipeline_suite), (main):
6777 adding a test for pipelines and state changes
6778 * gst/gstutils.c: (get_state_func):
6780 * gstreamer.spec.in:
6783 2005-09-08 Michael Smith <msmith@fluendo.com>
6785 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6786 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6787 (gst_file_src_is_seekable), (gst_file_src_get_size),
6788 (gst_file_src_start):
6789 * gst/elements/gstfilesrc.h:
6790 Various fixes for unseekable, unmmapable, and non-normal files, so
6791 that fallback to read() rather than mmap() works.
6792 * gst/gstevent.c: (gst_event_new_newsegment):
6793 Allow newsegment events with segment_start == segment_end, as will
6794 correctly happen if you use filesrc on a zero-size file, for
6797 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6799 * gst/gstplugin.c: (gst_plugin_load_file):
6800 Call g_module_close when we don't load the module
6802 * gst/registries/gstlibxmlregistry.c:
6803 (gst_xml_registry_get_property):
6804 Port leak fix from 0.8
6806 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6808 * docs/gst/gstreamer-docs.sgml:
6809 * docs/gst/tmpl/.cvsignore:
6810 * docs/gst/tmpl/gsttrace.sgml:
6811 * docs/gst/tmpl/gsttrashstack.sgml:
6820 * gst/gsttaginterface.c:
6821 * gst/gsttaginterface.h:
6824 * gst/gsttagsetter.c:
6825 * gst/gsttagsetter.h:
6828 * gst/gsttrashstack.c:
6829 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6830 inlined docs for gsttrace, gsttrashstack
6832 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6835 * gst/elements/gstbufferstore.h:
6836 * gst/elements/gsttypefindelement.c:
6837 * gst/elements/gsttypefindelement.h:
6839 * gst/gsttypefind.c:
6840 * gst/gsttypefind.h:
6841 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6842 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6843 (gst_type_find_factory_dispose),
6844 (gst_type_find_factory_unload_thyself),
6845 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6846 (gst_type_find_factory_get_caps),
6847 (gst_type_find_factory_get_extensions),
6848 (gst_type_find_factory_call_function):
6849 * gst/gsttypefindfactory.h:
6850 * gst/registries/gstlibxmlregistry.c:
6851 * gst/registries/gstxmlregistry.c:
6852 splitted gsttypefind into gsttypefind, gsttypefindfactory
6854 2005-09-07 Andy Wingo <wingo@pobox.com>
6856 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6857 condition whereby the pad's task function is entered before the
6858 pad_mode variable was set.
6860 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6862 * gst/gstpad.c: (gst_pad_alloc_buffer):
6863 Catch misbehaving pad_alloc functions that don't
6864 set up caps and do it for them.
6866 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6868 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6870 * docs/gst/tmpl/.cvsignore:
6871 * docs/gst/tmpl/gstmemchunk.sgml:
6872 * docs/gst/tmpl/gstparse.sgml:
6873 * docs/gst/tmpl/gsttaglist.sgml:
6874 * docs/gst/tmpl/gsttagsetter.sgml:
6875 * docs/gst/tmpl/gsttypefind.sgml:
6876 * docs/gst/tmpl/gsttypefindfactory.sgml:
6877 * gst/gstmemchunk.c:
6880 * gst/gsttaginterface.c:
6881 * gst/gsttypefind.c:
6882 * gst/gsttypefind.h:
6885 === release 0.9.2 ===
6887 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6892 releasing 0.9.2, "South"
6894 2005-09-05 Andy Wingo <wingo@pobox.com>
6896 * gst/registries/gstxmlregistry.h:
6897 * gst/registries/gstxmlregistry.c: Um... resurrect...
6899 * gst/registries/gstxmlregistry.h:
6900 * gst/registries/gstxmlregistry.c: and update to newer API.
6901 Incidentally they should be a bit faster now that they don't have
6904 2005-09-05 Andy Wingo <wingo@pobox.com>
6906 * gst/registries/gstxmlregistry.h:
6907 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6908 replaced by the libxml registry a while back
6910 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6912 * docs/gst/tmpl/gstplugin.sgml:
6913 * gst/elements/gstelements.c:
6915 * gst/gstplugin.c: (gst_plugin_register_func),
6916 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6917 (gst_plugin_get_source):
6919 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6920 (gst_xml_registry_save_plugin):
6921 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6922 (gst_xml_registry_save_plugin):
6923 * tools/gst-inspect.c: (print_plugin_info):
6924 add a "source" plugin description field, to represent the source
6925 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6926 will set it to PACKAGE, which is automake's idea of the name of
6929 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6935 * docs/faq/Makefile.am:
6936 * docs/gst/tmpl/gstelement.sgml:
6937 * docs/gst/tmpl/gsttypes.sgml:
6938 * docs/htmlinstall.mak:
6939 * docs/manual/Makefile.am:
6940 * docs/pwg/Makefile.am:
6941 reorganize doc build a little
6942 split out docbook and gtk-doc stuff
6943 have two separate --enable's and enable them through autogen
6944 but disable by default in configure (to be similar to other
6946 * gstreamer.spec.in:
6947 clean up docs install
6967 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6969 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6972 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6973 (gst_fake_sink_change_state):
6974 Make state change function thread-safe.
6976 * gst/gstpad.c: (gst_pad_alloc_buffer):
6977 Set offset on generic buffer allocated by fallback.
6979 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6981 * docs/gst/gstreamer-sections.txt:
6982 * docs/gst/tmpl/gstelement.sgml:
6984 * libs/gst/controller/gst-controller.c:
6985 (gst_controlled_property_set_interpolation_mode),
6986 (gst_controlled_property_new),
6987 (gst_controller_find_controlled_property):
6988 run the wingo-magic script against the docs
6990 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6992 * docs/gst/gstreamer-docs.sgml:
6993 * docs/gst/gstreamer-sections.txt:
6994 * docs/gst/tmpl/.cvsignore:
6995 * docs/gst/tmpl/gstelementdetails.sgml:
6996 * docs/gst/tmpl/gstelementfactory.sgml:
6999 * gst/gstelementfactory.c:
7000 * gst/gstelementfactory.h:
7001 merged elementdetails docs into elementfactory docs
7004 2005-09-02 Andy Wingo <wingo@pobox.com>
7006 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7007 consider this enum an enum and not a flags.
7009 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7011 * docs/gst/gstreamer-docs.sgml:
7012 * docs/gst/tmpl/.cvsignore:
7013 * docs/gst/tmpl/gstghostpad.sgml:
7014 * docs/gst/tmpl/gstiterator.sgml:
7015 * docs/gst/tmpl/gstmacros.sgml:
7016 * docs/gst/tmpl/gstrealpad.sgml:
7017 * docs/gst/tmpl/gstregistry.sgml:
7018 * docs/gst/tmpl/gstregistrypool.sgml:
7019 * docs/gst/tmpl/gststructure.sgml:
7020 * docs/gst/tmpl/gstsystemclock.sgml:
7021 * docs/gst/tmpl/gsttrace.sgml:
7022 * gst/gstghostpad.c:
7024 * gst/gstmemchunk.c:
7025 * gst/gstmemchunk.h:
7027 * gst/gstregistry.c:
7028 * gst/gstregistrypool.c:
7029 * gst/gststructure.c:
7030 * gst/gstsystemclock.c:
7033 2005-09-02 Andy Wingo <wingo@pobox.com>
7035 * gst/gstelement.h (GstState): Renamed from GstElementState,
7036 changed to be a normal enum instead of flags.
7037 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7038 munged to be GST_STATE_CHANGE_*.
7039 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7040 work with the new state representation.
7041 (GstStateChange): New enumeration of possible state transitions.
7042 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7043 (GstElementClass::change_state): Pass the GstStateChange along as
7044 an argument. Helps language bindings, so they don't have to use
7045 tricky lock-needing macros like GST_STATE_CHANGE ().
7047 * scripts/update-states (file): New script. Run it on a file to
7048 update it for state naming and API changes. Updates files in
7051 * All files updated for the new API.
7053 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7055 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7056 * gst/gstutils.c: (gst_util_set_value_from_string),
7057 (gst_util_set_object_arg):
7058 fix a bunch of unchecked return values
7059 * tools/gst-complete.c: (main):
7060 * gstreamer.spec.in:
7063 2005-09-01 Wim Taymans <wim@fluendo.com>
7065 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7066 (gst_base_sink_event), (gst_base_sink_do_sync),
7067 (gst_base_sink_handle_event):
7068 * gst/base/gstbasesink.h:
7069 Handle newsegments more correctly.
7074 * gst/gstevent.c: (gst_event_new_newsegment):
7075 A newsegment cannot have a start_time of -1
7077 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7079 * win32/gstenumtypes.c:
7080 * win32/gstenumtypes.h:
7083 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7085 * libs/gst/controller/gst-controller.c:
7086 (gst_controlled_property_set_interpolation_mode),
7087 (gst_controlled_property_new):
7090 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7092 * docs/faq/gst-uninstalled:
7097 * gst/gstutils.c: (gst_element_link_filtered):
7099 add gst_element_link_filtered
7101 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7103 * docs/gst/gstreamer-docs.sgml:
7104 * docs/gst/gstreamer-sections.txt:
7105 * docs/gst/tmpl/.cvsignore:
7106 * docs/gst/tmpl/gsterror.sgml:
7107 * docs/gst/tmpl/gstfilter.sgml:
7108 * docs/gst/tmpl/gsturihandler.sgml:
7109 * docs/gst/tmpl/gsturitype.sgml:
7110 * docs/gst/tmpl/gstutils.sgml:
7111 * docs/gst/tmpl/gstxml.sgml:
7119 inlined more docs, fixed double id-ref
7121 2005-08-31 Wim Taymans <wim@fluendo.com>
7123 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7124 (gst_base_transform_handle_buffer):
7125 Passthrough elements don't need the caps as they don't care.
7127 2005-08-31 Wim Taymans <wim@fluendo.com>
7129 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7130 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7131 Don't leak refcounts on buffers.
7133 2005-08-31 Wim Taymans <wim@fluendo.com>
7135 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7136 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7137 (gst_base_transform_chain), (gst_base_transform_change_state):
7138 * gst/base/gstbasetransform.h:
7139 Handle the case where we are not negotiated more gracefully.
7141 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7143 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7144 (gst_file_src_map_region):
7145 Set READONLY flag on mmap'ed buffers, otherwise
7146 gst_buffer_make_writable() won't work properly (#314708).
7148 2005-08-31 Wim Taymans <wim@fluendo.com>
7150 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7151 passthrough elements can even do inplace on non writable
7152 buffers (as they don't touch them).
7154 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7156 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7157 (gst_test_mono_source_set_property),
7158 (gst_test_mono_source_class_init), (GST_START_TEST),
7159 (gst_controller_suite):
7160 more tests (hehe I have the most)
7162 describe popping messages whenusing mulltiple sources
7163 * libs/gst/controller/gst-controller.c:
7164 (gst_controlled_property_set_interpolation_mode),
7165 (gst_controlled_property_new):
7166 * libs/gst/controller/gst-controller.h:
7167 * libs/gst/controller/gst-interpolation.c:
7168 implement boolean properties
7170 2005-08-31 Wim Taymans <wim@fluendo.com>
7172 * gst/gstminiobject.c: (gst_mini_object_ref):
7173 Cannot assert that the refcount has to be positive
7174 since a disposed object can be resurrected.
7176 2005-08-31 Wim Taymans <wim@fluendo.com>
7178 * gst/gstpad.c: (gst_pad_init):
7179 Revert change, need to first fix badly behaving
7182 2005-08-30 Wim Taymans <wim@fluendo.com>
7184 * check/elements/fakesrc.c: (setup_fakesrc):
7185 * check/elements/identity.c: (setup_identity):
7186 Activate pads before using them.
7188 2005-08-30 Wim Taymans <wim@fluendo.com>
7190 * gst/base/gstadapter.c: (gst_adapter_flush):
7191 Flushing out 0 bytes is ok for this function.
7193 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7194 no newsegment gives a warning and sets the start/stop to
7197 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7198 (gst_base_transform_set_passthrough):
7201 * gst/gstminiobject.c: (gst_mini_object_ref):
7202 Check refcount here too.
7204 * gst/gstpad.c: (gst_pad_init):
7205 Pads are initially flushing and refusing data.
7207 * gst/gstutils.c: (gst_element_link_pads_filtered):
7208 When adding a capsfilter element make sure it has the
7209 same state as the parent bin.
7211 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7213 * docs/gst/tmpl/.cvsignore:
7214 * docs/gst/tmpl/gstformat.sgml:
7215 * docs/gst/tmpl/gstversion.sgml:
7219 * gst/gstversion.h.in:
7220 more docs and two more inlined
7222 2005-08-30 Wim Taymans <wim@fluendo.com>
7224 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7225 Don't sync to clock.
7227 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7229 * docs/gst/gstreamer-sections.txt:
7230 ultral33t func10ns deserve to appear in the docs actually
7231 * docs/gst/tmpl/.cvsignore:
7232 * docs/gst/tmpl/gstcompat.sgml:
7233 * docs/gst/tmpl/gstconfig.sgml:
7234 * gst/check/gstcheck.c:
7236 * gst/gstconfig.h.in:
7239 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7241 * docs/gst/tmpl/.cvsignore:
7242 * docs/gst/tmpl/gstquery.sgml:
7243 * docs/gst/tmpl/gstutils.sgml:
7246 inlined and extended docs
7248 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7250 * check/gst-libs/controller.c: (GST_START_TEST),
7251 (gst_controller_suite):
7253 * docs/gst/tmpl/gstutils.sgml:
7254 * docs/libs/gstreamer-libs-sections.txt:
7255 * docs/libs/tmpl/gstdataprotocol.sgml:
7257 * examples/controller/audio-example.c: (main):
7258 controller example works now
7261 * tools/gst-inspect.c: (print_element_properties_info):
7262 show param spec flags
7264 2005-08-29 Andy Wingo <wingo@pobox.com>
7266 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7268 2005-08-28 Andy Wingo <wingo@pobox.com>
7270 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7271 as having two arguments instead of just one. Allows superclasses
7272 to access information on subclasses -- see the terrible for() loop
7273 in gtype.c:g_type_create_instance for the reason why. All callers
7276 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7278 * docs/design/part-messages.txt:
7280 * docs/gst/tmpl/.cvsignore:
7281 * docs/gst/tmpl/gstcaps.sgml:
7282 * docs/gst/tmpl/gstclock.sgml:
7289 added descriptions for bus and message
7290 inline caps and clock docs
7292 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7298 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7300 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7303 2005-08-26 Andy Wingo <wingo@pobox.com>
7305 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7306 element_set_state's return val.
7307 (test_2_elements): Add test that's been disabled for months.
7309 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7310 can-activate-pull properties.
7312 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7313 can-activate-pull properties. Implement is_seekable so fakesrc can
7314 operate in pull mode.
7316 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7318 (gst_base_sink_activate, gst_base_sink_activate_pull)
7319 (gst_base_sink_activate_push): Make activation mode choosing work.
7321 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7322 is right. Make pull mode work. Post an eos before pausing in pull
7324 (gst_base_sink_change_state): Pay attention to the core's
7325 change_state() return val.
7327 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7328 has-getrange properties. Cleanups.
7330 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7331 has_getrange and replace with can_activate_pull and
7334 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7335 locking comments. Remove has_loop, has_chain and replace with
7336 can_activate_pull and can_activate_push.
7338 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7341 * examples/Makefile.am:
7342 * examples/metadata/Makefile.am:
7343 * examples/metadata/read-metadata.c: (message_loop),
7344 (have_pad_handler), (make_pipeline), (print_tag), (main):
7345 Add metadata reading example that loops over a list of filenames,
7346 dumping any tags found.
7348 * gst/gstbus.c: (gst_bus_dispose):
7349 * gst/gstelement.c: (gst_element_dispose):
7350 Release a few potentially-held references in dispose.
7352 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7354 * docs/gst/tmpl/gstminiobject.sgml:
7355 do *not* add tmpl/*.sgml files to CVS!
7357 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7359 * libs/gst/bytestream/.cvsignore:
7360 * libs/gst/bytestream/Makefile.am:
7361 * libs/gst/bytestream/adapter.c:
7362 * libs/gst/bytestream/adapter.h:
7363 * libs/gst/bytestream/bytestream.c:
7364 * libs/gst/bytestream/bytestream.h:
7365 * libs/gst/bytestream/filepad.c:
7366 * libs/gst/bytestream/filepad.h:
7367 removing obsolete files
7369 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7371 * docs/gst/gstreamer-docs.sgml:
7372 * docs/libs/gstreamer-libs-docs.sgml:
7373 disabed additional index entries again, as this makes docs-gen just
7374 slow and they aren't useful yet
7375 * docs/libs/gstreamer-libs-sections.txt:
7376 little -section.txt cleanup for libs
7378 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7381 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7382 fix up some debugging
7383 (gst_base_transform_get_unit_size),
7384 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7385 (gst_base_transform_handle_buffer):
7386 * gst/base/gstbasetransform.h:
7387 handle and store timed NEWSEGMENT events so that subclasses that
7388 calculate time by counting samples have a segment_start time they
7389 need to add to their timestamps - see audioresample
7391 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7394 removed ';' from the end of macro defs
7395 * docs/gst/gstreamer-docs.sgml:
7396 * docs/gst/gstreamer-sections.txt:
7397 * docs/gst/tmpl/.cvsignore:
7399 * gst/gstelement.c: (gst_element_class_init),
7400 (gst_element_set_state), (activate_pads),
7401 (gst_element_save_thyself):
7402 * gst/gstevent.c: (gst_event_new_newsegment):
7404 * gst/gstiterator.c:
7405 * gst/gstiterator.h:
7408 * gst/gstutils.c: (gst_pad_query_convert):
7410 fixed parameter name mismatches between source, header and docs
7411 added some more docs, resolved the last batch of unused elements in
7412 docs (now someone needs to doc them)
7414 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7416 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7417 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7418 don't walk through the plugins backwards. Where is all this
7419 reversed logic coming from ?
7421 2005-08-25 Wim Taymans <wim@fluendo.com>
7423 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7424 (gst_base_transform_transform_size),
7425 (gst_base_transform_configure_caps),
7426 (gst_base_transform_get_unit_size),
7427 (gst_base_transform_buffer_alloc),
7428 (gst_base_transform_change_state):
7429 * gst/base/gstbasetransform.h:
7430 Cache caps unit_size.
7431 Make sure we cannot negotiate up and downstream at the
7434 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7436 * gst/gst.c: (init_pre), (init_post):
7437 register the installed plugin path after the env var
7438 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7439 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7440 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7441 directories, so the tests can prefer uninstalled over installed
7443 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7445 * gst/base/gstbasetransform.h:
7450 2005-08-25 Wim Taymans <wim@fluendo.com>
7452 * gst/gstbin.c: (bin_bus_handler):
7453 Be a bit more conservative about the posted message.
7455 * gst/gstbus.c: (gst_bus_post):
7456 Some cleanups, warn wrong return values.
7458 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7460 * check/gst/gstbin.c: (GST_START_TEST):
7461 * gst/gstbin.c: (bin_bus_handler):
7462 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7463 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7464 (gst_message_new_warning), (gst_message_new_tag),
7465 (gst_message_new_state_changed), (gst_message_new_segment_start),
7466 (gst_message_new_segment_done), (gst_message_new_custom):
7468 * tools/gst-launch.c: (event_loop):
7469 * tools/gst-md5sum.c: (event_loop):
7470 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7472 2005-08-25 Wim Taymans <wim@fluendo.com>
7474 * check/generic/states.c: (GST_START_TEST):
7475 Cleanup can be done at the end.
7477 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7478 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7479 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7480 Oh boy.. Thanks for finding this, Thomas.
7482 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7484 * docs/gst/gstreamer.types:
7487 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7489 * docs/gst/gstreamer-docs.sgml:
7490 * docs/gst/gstreamer-sections.txt:
7491 * docs/gst/tmpl/.cvsignore:
7493 * gst/gstiterator.c:
7495 * gst/registries/gstxmlregistry.h:
7496 added missing classes and symbols (123 more to go)
7497 removed removed symbols from section file
7498 fixed many doc-comments
7500 2005-08-24 Wim Taymans <wim@fluendo.com>
7502 * check/generic/states.c: (GST_START_TEST):
7503 Make sure all tasks are stopped.
7505 * check/gst/gstbin.c: (GST_START_TEST):
7506 Unref after usage for proper valgrinding.
7508 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7509 Really wait for the task to stop before destroying the
7512 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7513 (gst_queue_src_activate_push):
7514 Small cleanups. Don't stop the task when we did not start
7517 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7518 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7519 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7522 Protect the stream lock with the object lock.
7523 Disallow setting the stream lock when running.
7524 Add cleanup_all to wait for the threadpool to finish.
7525 Remove code to autoallocate a mutex if none was provided.
7526 Add _join() to wait for a task to stop.
7527 Protect the thread pool with a global lock.
7529 2005-08-24 Wim Taymans <wim@fluendo.com>
7531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7532 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7533 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7534 * gst/base/gstbasesink.h:
7535 Handle newsegment events correctly.
7536 Drop buffers out of the segment range.
7538 2005-08-22 Andy Wingo <wingo@pobox.com>
7540 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7541 macro, implements an interface and gstimplementsinterface for a
7544 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7546 * check/Makefile.am:
7547 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7548 add a test that does a bunch of state changes on elements
7549 needs some fixing for valgrind
7550 * check/states/sinks.c: (gst_object_suite):
7553 add prototype for gst_caps_is_equal_fixed
7555 * gst/gstregistrypool.c:
7558 2005-08-24 Andy Wingo <wingo@pobox.com>
7560 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7561 convert a negative value. Doesn't make much sense. Mostly this is
7562 here to force callers to ensure -1 maps to -1.
7564 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7566 * docs/pwg/advanced-types.xml:
7567 Well done to Michael for catching my deliberate introduction
7568 of this spelling mistake.
7569 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7571 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7572 unlink pads before removing the element from the bin.
7574 2005-08-24 Andy Wingo <wingo@pobox.com>
7576 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7577 the same thing as GST_DEBUG=*:4.
7578 (parse_debug_level, parse_debug_category): New helper parsers.
7580 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7582 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7583 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7584 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7585 (gst_base_transform_buffer_alloc),
7586 (gst_base_transform_handle_buffer):
7587 use gboolean return values and pointers to size so we can use the
7588 full GST_BUFFER_SIZE range (guint) for buffer sizes
7589 use GstPadDirection for transform_caps
7590 * gst/base/gstbasetransform.h:
7591 rename get_size to get_unit_size since that's what it is
7592 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7593 use GstPadDirection for transform_caps
7594 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7596 cleanup and debugging
7598 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7600 * gst/gstelement.c: (gst_element_class_init),
7601 (gst_element_set_state), (activate_pads),
7602 (gst_element_save_thyself):
7603 * tools/gst-compprep.c: (main):
7604 * tools/gst-inspect.c: (print_element_properties_info):
7605 * tools/gst-xmlinspect.c: (print_element_properties):
7606 Fixed long standing mem-leak
7608 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7610 * check/gst/gstbin.c: (GST_START_TEST):
7611 * gst/gstbin.c: (bin_bus_handler):
7612 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7613 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7614 (gst_message_new_warning), (gst_message_new_tag),
7615 (gst_message_new_state_changed), (gst_message_new_segment_start),
7616 (gst_message_new_segment_done), (gst_message_new_custom):
7618 * tools/gst-launch.c: (event_loop):
7619 * tools/gst-md5sum.c: (event_loop):
7620 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7621 that applications can sensibly post custom messages with references
7622 to their own objects.
7624 2005-08-24 Andy Wingo <wingo@pobox.com>
7626 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7629 2005-08-24 Wim Taymans <wim@fluendo.com>
7631 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7632 (gst_base_transform_transform_caps),
7633 (gst_base_transform_transform_size),
7634 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7635 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7636 (gst_base_transform_handle_buffer):
7637 * gst/base/gstbasetransform.h:
7638 Many fixes and new features added by Thomas. Can now also do
7639 transforms with variable sizes and a custom fixate_caps function.
7641 2005-08-24 Wim Taymans <wim@fluendo.com>
7643 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7647 Cast to ClockTime before formatting to time.
7652 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7654 * check/gst-libs/controller.c: (GST_START_TEST),
7655 (gst_controller_suite):
7656 * docs/gst/tmpl/gstcaps.sgml:
7657 * docs/gst/tmpl/gstghostpad.sgml:
7658 * docs/gst/tmpl/gstquery.sgml:
7659 * docs/gst/tmpl/gstutils.sgml:
7660 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7661 (gst_object_sink_values), (gst_object_get_value_arrays),
7662 (gst_object_get_value_array):
7663 gracefully handle helper method calls to objects that are not beeing
7664 controlled, added test case for that
7666 2005-08-23 Wim Taymans <wim@fluendo.com>
7668 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7669 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7670 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7671 (gst_event_parse_qos), (gst_event_new_seek),
7672 (gst_event_parse_seek):
7674 Some more debugging output and doc cleanups.
7676 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7677 Fix possible deadlock.
7679 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7681 * docs/gst/gstreamer-docs.sgml:
7682 * docs/gst/gstreamer-sections.txt:
7683 * docs/gst/gstreamer.types:
7684 * docs/gst/tmpl/.cvsignore:
7689 added 100 symbols from gstreamer-unused.txt to the right sections
7690 fixed more broken comments
7691 added GstBus to docs
7693 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7695 * docs/gst/gstreamer-sections.txt:
7696 * docs/gst/tmpl/.cvsignore:
7697 * docs/gst/tmpl/gstbin.sgml:
7698 * docs/gst/tmpl/gstbuffer.sgml:
7699 * gst/base/gstbasesrc.c:
7700 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7703 * tools/gst-launch.1.in:
7704 inlined more doc comments, added missing comments and fixed comments
7707 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7709 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7713 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7715 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7716 * gst/gststructure.h:
7717 add a fixate function for booleans; add a FIXME that these func
7718 names should probably be gst_structure_fixate_*
7720 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7722 * docs/gst/gstreamer-docs.sgml:
7723 * docs/gst/gstreamer-sections.txt:
7725 * gst/gstbin.c: (gst_bin_get_type),
7726 (gst_bin_child_proxy_get_child_by_index),
7727 (gst_bin_child_proxy_get_children_count),
7728 (gst_bin_child_proxy_init):
7729 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7730 (gst_child_proxy_get_child_by_index),
7731 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7732 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7733 (gst_child_proxy_get), (gst_child_proxy_set_property),
7734 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7735 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7736 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7737 * gst/gstchildproxy.h:
7738 * gst/parse/grammar.y:
7739 * tools/gst-inspect.c: (print_interfaces),
7740 (print_element_properties_info), (print_element_info):
7741 ported gstchildproxy over from 0.8
7742 ported gst-inspect fixes and enhancements over from 0.8
7744 2005-08-22 Wim Taymans <wim@fluendo.com>
7746 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7747 (gst_base_transform_handle_buffer):
7748 Also call the transform function if we have ANY caps.
7750 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7753 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7755 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7756 Don't pretend to handle seek events if the source is not seekable
7758 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7760 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7761 Remove extra parameter to debug output
7763 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7764 (gst_base_src_do_seek), (gst_base_src_activate_push):
7765 Fix seek event handling.
7767 * gst/gstpipeline.c: (gst_pipeline_change_state):
7768 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7769 (gst_queue_src_activate_push):
7770 Don't start the src pad task on FLUSH_STOP if the pad
7774 2005-08-22 Wim Taymans <wim@fluendo.com>
7776 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7777 Added check for gst_static_caps_get() refcounting.
7779 2005-08-22 Wim Taymans <wim@fluendo.com>
7781 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7782 Make _static_caps_get() refcounting sane.
7784 * gst/gstelement.c: (gst_element_set_state):
7785 Add g_return_val_if_fail() to protect against segfaults.
7787 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7789 * docs/gst/tmpl/gstevent.sgml:
7792 inlined remaining docs, added missing doc comments
7794 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7796 * check/gst/gstbin.c: (GST_START_TEST):
7797 since we don't know when preroll is done, use refcount range
7799 * gst/check/gstcheck.h:
7800 add macro for checking refcount range
7802 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7804 * check/Makefile.am:
7805 clean up environment for when registry gets built versus
7806 when actual tests are run; valgrind seems to not report
7807 leaks if GST_PLUGIN_PATH is set to some specific values
7808 * check/gst/gstbin.c: (GST_START_TEST):
7809 add more refcounting checks; maybe this exposes a
7812 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7813 * gst/check/gstcheck.h:
7814 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7815 (gst_bin_change_state):
7816 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7817 add/fix debugging/whitespace
7819 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7821 * check/gst/gstevent.c: (event_probe), (test_event),
7823 Er, don't call gst_bin_watch_for_state_change you idiot.
7825 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7827 * check/Makefile.am:
7828 Use CHECK_CFLAGS and CHECK_LIBS
7829 * check/gst/gstevent.c: (event_probe), (test_event),
7832 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7833 (gst_base_src_start), (gst_base_src_stop),
7834 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7835 (gst_base_src_change_state):
7836 Sprinkle gst_base_src_stop liberally around error paths to fix
7837 problems reusing a source after failed state changes.
7838 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7839 (helper_find_suggest), (gst_type_find_helper):
7840 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7842 * docs/gst/tmpl/gstevent.sgml:
7843 Migrate part of the docs from the SGML file. Wait for ensonic to
7844 tell me how I did it wrong ;)
7845 * tools/gst-typefind.c: (main):
7846 Extra robustness to state changes between files.
7848 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7850 * check/Makefile.am:
7851 don't valgrind the controller test - it's leaking - Stefan, HELP
7852 * gst/check/gstcheck.c: (gst_check_message_error),
7853 (gst_check_chain_func), (gst_check_setup_element),
7854 (gst_check_teardown_element), (gst_check_setup_src_pad),
7855 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7856 (gst_check_teardown_sink_pad):
7857 * gst/check/gstcheck.h:
7858 add a bunch of methods to set up elements, and src and sink pads
7859 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7860 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7865 whitespace/doc fixes
7867 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7870 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7871 be handled by the application and not always printed as well
7873 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7875 * check/Makefile.am:
7877 * gst/check/gstcheck.c: (gst_check_message_error):
7878 * gst/check/gstcheck.h:
7879 add a fail_unless_equals_int
7880 add fail_unless for error messages
7882 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7884 * check/Makefile.am:
7886 * common/Makefile.am:
7889 factor out some of the common stuff so we can use it
7891 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7893 * check/Makefile.am:
7894 * check/gst/gstiterator.c: (GST_START_TEST):
7895 * check/gst/gstsystemclock.c: (GST_START_TEST),
7896 (gst_systemclock_suite):
7897 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7901 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7903 * check/elements/.cvsignore:
7904 * check/elements/gstfakesrc.c:
7905 rename to name of element
7906 * check/elements/identity.c: (chain_func), (event_func),
7907 (setup_identity), (cleanup_identity), (GST_START_TEST),
7908 (identity_suite), (main):
7909 add a test for identity
7910 * check/Makefile.am:
7911 * pkgconfig/Makefile.am:
7912 * pkgconfig/gstreamer-check.pc.in:
7913 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7917 move the check stuff to a library that gets installed
7918 * check/gst-libs/controller.c: (GST_START_TEST):
7919 * check/gst-libs/gdp.c:
7920 * check/gst/gst.c: (GST_START_TEST):
7921 * check/gst/gstbin.c:
7922 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7923 * check/gst/gstbus.c:
7924 * check/gst/gstcaps.c: (GST_START_TEST):
7925 * check/gst/gstelement.c:
7926 * check/gst/gstghostpad.c:
7927 * check/gst/gstiterator.c:
7928 * check/gst/gstmessage.c:
7929 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7930 * check/gst/gstobject.c:
7931 * check/gst/gstpad.c: (GST_START_TEST):
7932 * check/gst/gststructure.c: (GST_START_TEST):
7933 * check/gst/gstsystemclock.c: (GST_START_TEST),
7934 (gst_systemclock_suite):
7935 * check/gst/gsttag.c: (gst_tag_suite):
7936 * check/gst/gstvalue.c:
7937 * check/pipelines/cleanup.c:
7938 * check/pipelines/simple_launch_lines.c:
7939 * check/states/sinks.c:
7940 change include statement
7942 * docs/gst/gstreamer-sections.txt:
7943 * docs/gst/tmpl/gstpad.sgml:
7944 document more pad stuff
7945 * gst/gstminiobject.c: (gst_mini_object_ref),
7946 (gst_mini_object_unref):
7949 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7951 * docs/gst/tmpl/gst.sgml:
7953 eliminate another tmpl file, fix spelling in the long-description
7955 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7957 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7958 (test_event), (timediff), (gstevents_suite):
7959 Should fix build on 64-bit arch's
7961 2005-08-18 Andy Wingo <wingo@pobox.com>
7963 Make sure that when a pipeline goes to PLAYING, that data has
7964 actually hit the sink.
7966 * check/states/sinks.c (test_sink): A sink that doesn't get any
7967 data shouldn't return SUCCESS for going to either PLAYING or
7968 PAUSED. Test also the return values on the way back down.
7970 * gst/gstelement.c (gst_element_set_state): When changing the
7971 state of an element currently changing state asynchronously, go to
7972 lost-state after commiting the pending state. Makes future calls
7973 to get_state continue to return ASYNC.
7975 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7976 ASYNC when going to PLAYING if we still don't have preroll, as can
7977 happen with live sources.
7979 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7981 * docs/pwg/advanced-types.xml:
7982 Hack long paragraph into 2 chunks as a workaround for buggy
7983 jadetex version in sid and breezy that loops infinitely and
7986 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7988 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7989 (test_event), (timediff), (gstevents_suite):
7990 Provide more error margin in clock measurements to allow for
7991 g_get_current_time inaccuracies.
7993 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7995 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7996 (test_event), (timediff), (gstevents_suite):
7997 Fix error message output so I might be able to tell why the
7998 test works here but fails on the build farm.
8000 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8002 * check/Makefile.am:
8003 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8004 (test_event), (timediff), (gstevents_suite), (main):
8007 * docs/design/part-seeking.txt:
8010 * docs/gst/tmpl/gstevent.sgml:
8011 * docs/gst/tmpl/gstfakesrc.sgml:
8014 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8015 Treat a buffer-without-newsegment the same as a receiving
8016 a newsegment not in time format, and disable syncing to the clock
8019 * gst/gstbus.c: (gst_bus_set_sync_handler):
8020 Assert if anyone tries to replace the existing sync_handler for bus,
8021 as only the owner should be setting it.
8024 Have a fixed set of custom event enums with events identified by
8025 their structure name (as in 0.8), rather than a free-for-all
8026 allowing collisions between enum values from different plugins.
8028 * gst/gstpad.c: (gst_pad_class_init):
8031 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8032 Handle out-of-band downstream events from the sending thread.
8034 2005-08-17 Andy Wingo <wingo@pobox.com>
8036 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8037 play-timeout==0 to mean no timeout at all. In that case, don't
8038 bother with a get_state or a warning, just return directly, even
8041 * gst/base/gstbasetransform.c: Debug changes.
8044 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8045 ensure bins post state change messages. A bit of a hack but I can't
8046 think of a way to avoid it.
8048 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8050 2005-08-16 Andy Wingo <wingo@pobox.com>
8052 * gst/base/gstadapter.h:
8053 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8054 peek() but you own the data. Not terribly efficient atm.
8056 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8058 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8059 (gst_element_found_tags):
8061 Add two utility functions for tag handling.
8063 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8065 * docs/manual/advanced-dataaccess.xml:
8066 * docs/manual/basics-helloworld.xml:
8067 Fix docs to use _bin_add() before _link(), which fixes the examples
8068 with recent core versions (reported by Madhan Raj M
8069 <raj_madan@rediffmail.com>, #313199).
8071 2005-08-16 Wim Taymans <wim@fluendo.com>
8073 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8074 Added subtract checks.
8076 * docs/design/part-events.txt:
8077 Some more docs about newsegment
8079 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8082 * gst/gstcaps.c: (gst_caps_to_string):
8083 Add comments, cleanups.
8085 * gst/gstelement.c: (gst_element_save_thyself):
8088 * gst/gstvalue.c: (gst_value_collect_int_range),
8089 (gst_string_unwrap), (gst_value_union_int_int_range),
8090 (gst_value_union_int_range_int_range),
8091 (gst_value_intersect_int_int_range),
8092 (gst_value_intersect_int_range_int_range),
8093 (gst_value_intersect_double_double_range),
8094 (gst_value_intersect_double_range_double_range),
8095 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8096 (gst_value_subtract_int_range_int),
8097 (gst_value_subtract_double_range_double),
8098 (gst_value_subtract_double_range_double_range),
8099 (gst_value_subtract_from_list), (gst_value_subtract_list),
8100 (gst_value_can_compare), (gst_value_compare_fraction):
8101 Cleanups, add comments, remove unneeded asserts.
8103 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8105 * tools/gst-launch.c: (event_loop):
8106 don't convert NULL structures to strings
8108 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8110 * docs/gst/gstreamer-sections.txt:
8111 made some defines private
8112 * docs/gst/tmpl/gstconfig.sgml:
8113 * docs/gst/tmpl/gstqueue.sgml:
8114 * docs/gst/tmpl/gsttaglist.sgml:
8115 * docs/gst/tmpl/gsttypes.sgml:
8116 * docs/gst/tmpl/gstutils.sgml:
8117 * docs/pwg/appendix-porting.xml:
8118 * gst/base/gstbasesink.h:
8119 * gst/base/gstbasesrc.c:
8120 * gst/base/gstbasesrc.h:
8121 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8122 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8123 * gst/gstelement.c: (gst_element_class_init):
8124 * gst/gstpad.c: (gst_pad_class_init):
8125 * gst/gstqueue.c: (gst_queue_class_init):
8126 * gst/gstxml.c: (gst_xml_class_init):
8127 documented all undocumented signal inline
8128 * libs/gst/controller/gst-controller.h:
8131 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8133 * docs/pwg/appendix-porting.xml:
8134 Document _set_link_function -> _set_setcaps_function.
8136 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8138 * check/Makefile.am:
8139 add a .check target for running the check
8140 * check/gst-libs/controller.c: (GST_START_TEST):
8142 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8143 complete checks for gstbuffer; would be nice if I could get the
8144 gcov stuff to work so I can see if I actually completed gstbuffer.c
8146 add ASSERT_BUFFER_REFCOUNT
8148 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8150 * docs/gst/gstreamer-sections.txt:
8151 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8153 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8154 spew out a warning if a tag that is already registered
8155 is re-registered, unless it is re-registered with a
8156 different type (#308438).
8158 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8160 * docs/pwg/appendix-porting.xml:
8161 * docs/pwg/building-state.xml:
8162 Add some paragraphs about state changes in 0.9 to the PWG
8163 and the porting guide, in particular about the new meaning
8164 of GST_STATE_PAUSED and how to write state change functions
8165 with concurrent access by multiple threads in mind.
8167 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8169 * docs/gst/gstreamer-docs.sgml:
8170 * docs/libs/gstreamer-libs-docs.sgml:
8171 added deprecation and since indexes
8172 * libs/gst/controller/gst-controller.c:
8173 * libs/gst/controller/gst-helper.c:
8177 2005-08-11 Wim Taymans <wim@fluendo.com>
8179 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8180 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8181 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8182 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8183 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8184 (gst_ghost_pad_set_target):
8185 Actually implement (re)setting the target on a ghostpad
8186 as described in the docs.
8188 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8190 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8191 Check whether GST_DEBUG_NO_COLOR environment variable is
8192 set and disable coloured debug output if that is the case.
8194 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8196 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8197 (gst_type_find_helper):
8198 The memory returned by gst_type_find_peek() needs to
8199 stay valid until the end of a typefind function, and
8200 typefind functions may keep results from different
8201 offsets around, so we can't just unref the buffer from
8202 the previous _peek(), but have to save all buffers
8203 returned by _peek() until typefinding is done and only
8206 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8208 * docs/gst/gstreamer-sections.txt:
8210 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8212 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8214 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8215 Fix a pretty good memleak.
8217 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8219 * gst/gstiterator.h:
8220 Fix wrong include and 'make distcheck'.
8222 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8224 * gst/gstbin.c: (bin_bus_handler):
8225 Use gst_element_post_message() instead.
8227 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8229 * gst/base/gstadapter.h:
8230 * gst/base/gstbasesink.h:
8231 * gst/base/gstbasesrc.h:
8232 * gst/base/gstbasetransform.h:
8233 * gst/base/gstcollectpads.h:
8234 * gst/base/gstpushsrc.h:
8235 * gst/gstiterator.h:
8236 Add padding to our base elements' class and instance structs and
8237 to GstIterator (you will need to rebuild all plugins and apps!)
8239 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8241 * gst/gstbin.c: (bin_bus_handler):
8242 Make default message forwarding from child->bus to bin->bus
8243 threadsafe and make it not emit warnings if the parent has no bus.
8245 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8247 * gst/gstelement.c: (activate_pads):
8248 On paused->ready, set pad->caps to NULL, as is the documented
8249 behaviour in this state change. Fixes playback of series of
8250 media files when visualization is enabled in Totem.
8252 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8254 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8255 Allow NULL as filter-caps (which means "any").
8257 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8259 * docs/libs/gstreamer-libs-sections.txt:
8260 * libs/gst/controller/gst-controller.c:
8261 * libs/gst/controller/gst-controller.h:
8262 * libs/gst/controller/gst-helper.c:
8263 adding more entries to the docs and fix small doc-bugs
8265 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8267 * docs/gst/gstreamer-docs.sgml:
8268 * docs/gst/gstreamer-sections.txt:
8269 * docs/gst/gstreamer.types:
8270 * docs/gst/tmpl/gstbasesink.sgml:
8271 * docs/gst/tmpl/gstbasesrc.sgml:
8272 * docs/gst/tmpl/gstbasetransform.sgml:
8273 * docs/gst/tmpl/gstfakesrc.sgml:
8274 * gst/base/gstcollectpads.c:
8275 * gst/base/gstcollectpads.h:
8276 * libs/gst/controller/gst-controller.c:
8277 * libs/gst/controller/gst-controller.h:
8278 * libs/gst/controller/gst-helper.c:
8279 * libs/gst/controller/gst-interpolation.c:
8280 * libs/gst/controller/lib.c:
8281 added long/short desc for controller docs
8282 added collectpads base class docs
8283 added correct includes to base-class docs
8285 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8287 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8288 (gst_test_mono_source_set_property),
8289 (gst_test_mono_source_class_init), (GST_START_TEST),
8290 (gst_controller_suite):
8291 * docs/gst/gstreamer-docs.sgml:
8292 * docs/gst/gstreamer-sections.txt:
8293 * docs/gst/gstreamer.types:
8294 * docs/libs/gstreamer-libs-docs.sgml:
8295 * docs/libs/gstreamer-libs-sections.txt:
8296 * gst/base/gstadapter.c:
8297 * libs/gst/controller/gst-controller.c:
8298 (gst_controlled_property_new), (gst_controlled_property_free),
8299 (gst_controller_new_valist),
8300 (gst_controller_remove_properties_valist),
8301 (gst_controller_sink_values), (_gst_controller_finalize):
8302 * libs/gst/controller/gst-controller.h:
8303 * libs/gst/controller/gst-helper.c:
8304 (gst_object_control_properties), (gst_object_uncontrol_properties),
8305 (gst_object_get_controller), (gst_object_set_controller),
8306 (gst_object_sink_values), (gst_object_get_value_arrays),
8307 (gst_object_get_value_array):
8308 more tests (and fixes) for the controller
8309 more docs for the controller
8310 integrated companies docs for the adapter
8312 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8314 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8315 (GST_START_TEST), (fakesrc_suite):
8316 add tests for sizetype
8318 2005-08-04 Andy Wingo <wingo@pobox.com>
8320 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8321 fixes buffer_alloc proxying among other things.
8323 * gst/base/gstbasetransform.c:
8324 * gst/base/gstbasetransform.h:
8325 Revert patch to gstbasetransform from 7-28 removing
8328 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8329 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8330 Semantics changed, should return not the size of the output buffer
8331 but the byte size of a buffer with a given caps.
8333 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8335 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8336 out) are not the pad caps until setcaps finishes.
8337 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8338 not-in-place case as well. Deal with changing from in-place to
8339 not-in-place within calling pad_alloc_buffer. Still a bit
8340 concerned about the overhead here...
8342 2005-08-03 Andy Wingo <wingo@pobox.com>
8344 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8345 fixating is an error.
8347 2005-08-04 Edward Hervey <edward@fluendo.com>
8349 * gst/base/gstadapter.h:
8350 Added gst_adapter_get_type() to the header
8352 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8354 * check/Makefile.am:
8355 * check/gst-libs/controller.c:
8356 * libs/gst/controller/gst-controller.c:
8357 (gst_controller_new_valist):
8358 added check test suite for the controller
8359 * gst/base/gstpushsrc.c:
8362 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8364 * docs/gst/Makefile.am:
8365 * docs/gst/gstreamer-docs.sgml:
8366 * docs/gst/gstreamer-sections.txt:
8367 * docs/gst/gstreamer.types:
8368 * docs/gst/tmpl/gstfakesrc.sgml:
8370 * gst/base/gstbasesink.c:
8371 * gst/base/gstbasesink.h:
8372 * gst/base/gstbasesrc.c:
8373 * gst/base/gstbasesrc.h:
8374 * gst/base/gstbasetransform.c:
8375 * gst/base/gstpushsrc.c:
8376 * gst/base/gstpushsrc.h:
8377 add short/long description docs to base classes
8378 add pushsrc to the docs
8379 remove consolidated doc fragments
8381 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8384 * docs/libs/Makefile.am:
8385 * docs/libs/gstreamer-libs-docs.sgml:
8386 * docs/libs/gstreamer-libs-sections.txt:
8387 * docs/libs/gstreamer-libs.types:
8388 * examples/Makefile.am:
8389 * examples/controller/.cvsignore:
8390 * examples/controller/Makefile.am:
8391 * examples/controller/audio-example.c: (main):
8392 * libs/gst/Makefile.am:
8393 * libs/gst/controller/.cvsignore:
8394 * libs/gst/controller/Makefile.am:
8395 * libs/gst/controller/gst-controller.c:
8396 (on_object_controlled_property_changed), (gst_timed_value_compare),
8397 (gst_timed_value_find),
8398 (gst_controlled_property_set_interpolation_mode),
8399 (gst_controlled_property_new), (gst_controlled_property_free),
8400 (gst_controller_find_controlled_property),
8401 (gst_controller_new_valist), (gst_controller_new),
8402 (gst_controller_remove_properties_valist),
8403 (gst_controller_remove_properties), (gst_controller_set),
8404 (gst_controller_set_from_list), (gst_controller_unset),
8405 (gst_controller_get), (gst_controller_get_all),
8406 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8407 (gst_controller_get_value_array),
8408 (gst_controller_set_interpolation_mode),
8409 (_gst_controller_finalize), (_gst_controller_init),
8410 (_gst_controller_class_init), (gst_controller_get_type):
8411 * libs/gst/controller/gst-controller.h:
8412 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8413 (g_object_uncontrol_properties), (g_object_get_controller),
8414 (g_object_set_controller), (g_object_sink_values),
8415 (g_object_get_value_arrays), (g_object_get_value_array):
8416 * libs/gst/controller/gst-interpolation.c:
8417 (gst_controlled_property_find_timed_value_node),
8418 (interpolate_none_get), (interpolate_trigger_get),
8419 (interpolate_trigger_get_value_array):
8420 * libs/gst/controller/lib.c: (gst_controller_init):
8421 * pkgconfig/Makefile.am:
8422 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8423 * pkgconfig/gstreamer-control.pc.in:
8424 * testsuite/Makefile.am:
8425 * testsuite/controller/.cvsignore:
8426 * testsuite/controller/Makefile.am:
8427 * testsuite/controller/interpolator.c: (main):
8428 added controller code
8429 removed dparam pc files
8431 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8432 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8433 (gst_collectpads_stop):
8434 Broadcast the condition when shutting down, to make sure we wake all
8435 threads up. Shut down pads on finalize, for safety.
8437 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8438 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8439 (gst_base_transform_handle_buffer),
8440 (gst_base_transform_change_state):
8441 Handle PAUSED->READY->PAUSED transition after negotiation
8443 * gst/gstmessage.c: (gst_message_init):
8444 Extra piece of debug for new messages.
8446 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8449 * docs/gst/tmpl/gstbasesrc.sgml:
8450 * docs/gst/tmpl/gstelement.sgml:
8451 * docs/gst/tmpl/gstevent.sgml:
8452 * docs/gst/tmpl/gstfakesrc.sgml:
8453 * docs/gst/tmpl/gstformat.sgml:
8454 * docs/gst/tmpl/gstghostpad.sgml:
8455 * docs/gst/tmpl/gstpad.sgml:
8456 * docs/gst/tmpl/gstquery.sgml:
8457 * docs/gst/tmpl/gststructure.sgml:
8458 * docs/gst/tmpl/gsttaglist.sgml:
8459 * docs/gst/tmpl/gstvalue.sgml:
8460 * docs/libs/gstreamer-libs-docs.sgml:
8461 * docs/libs/gstreamer-libs-sections.txt:
8462 * docs/libs/gstreamer-libs.types:
8463 * libs/gst/Makefile.am:
8464 * libs/gst/control/.cvsignore:
8465 * libs/gst/control/Makefile.am:
8466 * libs/gst/control/control.c:
8467 * libs/gst/control/control.h:
8468 * libs/gst/control/dparam.c:
8469 * libs/gst/control/dparam.h:
8470 * libs/gst/control/dparam_smooth.c:
8471 * libs/gst/control/dparam_smooth.h:
8472 * libs/gst/control/dparamcommon.h:
8473 * libs/gst/control/dparammanager.c:
8474 * libs/gst/control/dparammanager.h:
8475 * libs/gst/control/dplinearinterp.c:
8476 * libs/gst/control/dplinearinterp.h:
8477 * libs/gst/control/unitconvert.c:
8478 * libs/gst/control/unitconvert.h:
8479 * testsuite/Makefile.am:
8480 * testsuite/dynparams/.cvsignore:
8481 * testsuite/dynparams/Makefile.am:
8482 * testsuite/dynparams/dparamstest.c:
8483 * tools/Makefile.am:
8484 * tools/gst-inspect.c: (print_element_info), (main):
8485 * tools/gst-xmlinspect.c: (print_element_info), (main):
8486 deactivate and remove dparams (libgstcontrol)
8488 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8490 * gst/elements/gsttypefindelement.c:
8491 (gst_type_find_element_have_type), (gst_type_find_element_init),
8492 (stop_typefinding), (gst_type_find_element_handle_event),
8493 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8494 * gst/elements/gsttypefindelement.h:
8495 Set caps on all outgoing buffers, not just the first one.
8497 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8499 * gst/elements/gsttypefindelement.c:
8500 (gst_type_find_element_have_type),
8501 (gst_type_find_element_check_set_buffer_caps),
8502 (gst_type_find_element_init), (stop_typefinding),
8503 (gst_type_find_element_handle_event),
8504 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8505 * gst/elements/gsttypefindelement.h:
8506 Set caps on first outgoing buffer when we've found the type.
8508 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8510 * docs/gst/gstreamer-docs.sgml:
8511 * docs/gst/gstreamer-sections.txt:
8512 * docs/gst/tmpl/gstscheduler.sgml:
8513 * docs/gst/tmpl/gstschedulerfactory.sgml:
8514 Remove some old cruft from docs.
8516 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8519 Fix inline docs for GstPadLinkReturn.
8521 * gst/gststructure.c: (gst_structure_has_name):
8522 * gst/gststructure.h:
8523 * docs/gst/gstreamer-sections.txt:
8524 New API: gst_structure_has_name().
8526 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8529 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8530 and _LARGEFILE_SOURCE in config.h as required. Do not
8531 export those flags in our .pc files any longer (#142209).
8533 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8535 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8536 (gst_file_sink_do_seek), (gst_file_sink_event),
8537 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8538 Redo seek/tell calls with large file support in mind; add some
8539 debugging messages; add log message that tells us when large
8540 file support is unavailable or not enabled for some reason.
8542 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8543 Add log message that tells us when large file support
8544 is unavailable or not enabled for some reason.
8546 2005-07-29 Wim Taymans <wim@fluendo.com>
8548 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8549 Added test for removing an element with ghostpad from a bin.
8550 Fixed test as current implementation does the right thing.
8552 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8553 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8554 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8555 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8556 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8557 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8558 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8559 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8560 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8561 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8562 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8563 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8564 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8565 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8566 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8567 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8568 * gst/gstghostpad.h:
8569 Clean up ghostpads, remove properties for internal stuff.
8572 Prepare for switching targets, not all use cases work yet.
8574 2005-07-29 Wim Taymans <wim@fluendo.com>
8576 * docs/design/part-gstghostpad.txt:
8579 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8580 (gst_bin_remove_func):
8581 Unlinking pads while holding the bin LOCK is not a good
8584 * gst/gstpad.c: (gst_pad_class_init),
8585 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8586 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8587 No prob setting template after creating the pad.
8589 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8591 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8592 (gst_bus_peek), (gst_bus_source_dispatch),
8593 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8594 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8595 gst_bus_poll may be called from other threads. Handle
8596 this nicely by not making poll_data disappear off the
8597 stack once gst_bus_poll returns.
8598 gst_bus_peek now increments the refcount on the returned
8601 2005-07-29 Wim Taymans <wim@fluendo.com>
8603 * docs/design/part-gstghostpad.txt:
8604 Overview of current GhostPad datastructures and use
8605 cases for changing the target.
8607 2005-07-28 Wim Taymans <wim@fluendo.com>
8609 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8610 Added checks for hierarchy consistency whan adding linked
8613 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8614 Added check to test element scheduling without bin/pipeline.
8616 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8617 First add elements to bin, then link.
8619 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8620 (gst_bin_remove_func):
8621 Unlink pads from elements added/removed from bin to maintain
8622 hierarchy consistency.
8624 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8626 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8627 (gst_base_transform_handle_buffer):
8628 * gst/base/gstbasetransform.h:
8629 Remove broken delay_configure (fixes renegotiation of software
8630 scaling pipelines); remove some leftover printf()s.
8632 2005-07-28 Wim Taymans <wim@fluendo.com>
8634 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8635 Added some more tests for wrong hierarchy
8637 * docs/design/part-overview.txt:
8640 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8643 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8644 (gst_element_dispose):
8647 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8648 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8649 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8650 (gst_pad_set_caps), (gst_pad_send_event):
8651 Check for correct hierarchy when linking pads. Moving to
8652 strict requirement for ghostpads when linking elements in
8656 Clean ups. Added WRONG_HIERARCHY return value.
8658 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8660 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8661 Better debug if no transform is possible.
8663 2005-07-27 Wim Taymans <wim@fluendo.com>
8665 * docs/random/wtay/network-transp:
8668 2005-07-27 Wim Taymans <wim@fluendo.com>
8670 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8671 (gst_dp_event_from_packet):
8672 Fix serialization of seek events.
8674 2005-07-27 Wim Taymans <wim@fluendo.com>
8676 * check/gst-libs/gdp.c: (GST_START_TEST):
8677 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8678 Fix compilation and fix event serialization.
8680 2005-07-27 Wim Taymans <wim@fluendo.com>
8683 * docs/design/part-TODO.txt:
8684 * docs/design/part-events.txt:
8687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8688 (gst_base_sink_event), (gst_base_sink_do_sync),
8689 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8690 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8691 (gst_base_src_do_seek), (gst_base_src_event_handler),
8692 (gst_base_src_loop):
8693 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8694 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8695 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8696 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8697 (gst_base_transform_set_passthrough),
8698 (gst_base_transform_is_passthrough):
8699 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8700 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8706 * gst/gstelement.c: (gst_element_seek):
8708 Update gst_element_seek.
8710 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8711 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8712 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8713 (gst_event_new_eos), (gst_event_new_newsegment),
8714 (gst_event_parse_newsegment), (gst_event_new_tag),
8715 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8716 (gst_event_parse_qos), (gst_event_new_seek),
8717 (gst_event_parse_seek), (gst_event_new_navigation):
8719 Make GstEvent use GstStructure. Add parsing code, make sure the
8720 API is sufficiently generic.
8721 Mark possible directions of events and serialization.
8723 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8724 (_gst_message_copy), (gst_message_new_segment_start),
8725 (gst_message_new_segment_done), (gst_message_new_custom),
8726 (gst_message_parse_segment_start),
8727 (gst_message_parse_segment_done):
8730 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8731 (gst_pad_set_caps), (gst_pad_send_event):
8732 Update for new events.
8733 Catch events sent in wrong directions.
8735 * gst/gstqueue.c: (gst_queue_link_src),
8736 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8737 (gst_queue_handle_src_query):
8742 Remove event code from this file.
8744 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8745 (gst_dp_event_from_packet):
8748 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8750 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8751 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8752 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8753 Make debugging actually useful.
8755 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8757 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8758 (gst_pad_fixate_caps):
8759 Implement default fixation once again, so that gst_pad_fixate()
8760 actually does anything at all. This probably needs to be some
8761 sort of a last resort, and use profile-based fixation first, but
8762 since that doesn't exist yet, this is the best we have. Fixes
8763 visualization in Totem.
8765 2005-07-22 Wim Taymans <wim@fluendo.com>
8767 * docs/design/part-events.txt:
8770 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8771 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8772 (gst_base_sink_activate_pull):
8775 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8776 (gst_fake_src_create):
8777 Fix handoff marshall.
8779 * gst/elements/gstidentity.c: (gst_identity_class_init),
8780 (gst_identity_transform_ip):
8781 We're a real inplace element.
8783 * gst/gstbus.c: (gst_bus_post):
8784 Added some comments.
8786 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8787 * tests/muxing/case1.c: (main):
8788 * tests/sched/dynamic-pipeline.c: (main):
8789 * tests/sched/interrupt1.c: (main):
8790 * tests/sched/interrupt2.c: (main):
8791 * tests/sched/interrupt3.c: (main):
8792 * tests/sched/runxml.c: (main):
8793 * tests/sched/sched-stress.c: (main):
8794 * tests/seeking/seeking1.c: (event_received), (main):
8795 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8797 * tests/threadstate/threadstate3.c: (main):
8798 * tests/threadstate/threadstate4.c: (main):
8799 * tests/threadstate/threadstate5.c: (main):
8802 2005-07-21 Wim Taymans <wim@fluendo.com>
8804 * docs/design/part-seeking.txt:
8805 Some small additions.
8807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8808 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8809 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8810 * gst/base/gstbasesink.h:
8811 discont values are gint64, handle the math correctly.
8813 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8814 Make the basesrc report error if the source pad is not linked.
8816 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8817 (gst_queue_loop), (gst_queue_handle_src_query),
8818 (gst_queue_src_activate_push):
8819 Make queue collect data even if the srcpad is not linked.
8820 Start pushing out data as soon as it is linked.
8822 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8824 Added gst_flow_get_name() to ease error reporting.
8826 2005-07-20 Wim Taymans <wim@fluendo.com>
8828 * gst/gstmessage.c: (gst_message_new_segment_start),
8829 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8830 (gst_message_parse_segment_done):
8832 Added a bunch of messages for advanced seeking.
8834 * gst/parse/grammar.y:
8835 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8836 (gst_dpman_state_changed):
8837 Fix some new-pad -> pad-added signals
8839 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8841 * docs/manual/appendix-porting.xml:
8842 * docs/pwg/appendix-porting.xml:
8843 Document new-pad/state-change signal renames and the FixedList
8846 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8848 * docs/manual/advanced-autoplugging.xml:
8849 * docs/manual/basics-helloworld.xml:
8850 * docs/manual/basics-pads.xml:
8851 * docs/random/ds/0.9-suggested-changes:
8852 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8857 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8858 (gst_structure_parse_array), (gst_structure_parse_value):
8859 * gst/gstvalue.c: (gst_type_is_fixed),
8860 (gst_value_list_prepend_value), (gst_value_list_append_value),
8861 (gst_value_list_get_size), (gst_value_list_get_value),
8862 (gst_value_transform_array_string), (gst_value_serialize_array),
8863 (gst_value_deserialize_array), (gst_value_intersect_array),
8864 (gst_value_is_fixed), (_gst_value_initialize):
8866 GstElement::new-pad -> pad-added, GstElement::state-change ->
8867 state-changed, GstValueFixedList -> GstValueArray, add format and
8868 flags as their own arguments in gst_element_seek() (should improve
8869 "bindeability"), remove function generators since they don't work
8870 under a whole bunch of compilers (they were deprecated already
8873 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8875 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8876 (_gst_debug_register_funcptr):
8878 Fix illegal cast on some platforms (#309253).
8880 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8882 * gst/gstmessage.c: (gst_message_new_custom):
8884 Add _new_custom, make _new_application a macro to _new_custom.
8886 2005-07-20 Wim Taymans <wim@fluendo.com>
8888 * gst/base/gstbasesrc.c: (gst_base_src_init),
8889 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8890 * gst/base/gstbasesrc.h:
8891 Add a gboolean to decide when to push out a discont.
8893 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8894 (gst_queue_loop), (gst_queue_handle_src_query),
8895 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8896 (gst_queue_set_property), (gst_queue_get_property):
8899 * tests/threadstate/threadstate1.c: (main):
8900 Make a thread test compile and run... very silly..
8903 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8905 * docs/manual/appendix-porting.xml:
8906 Mention removal of libgstgconf-0.9.la and existence of gconf
8909 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8911 * docs/pwg/advanced-clock.xml:
8912 * docs/pwg/appendix-porting.xml:
8913 * docs/pwg/intro-preface.xml:
8914 * docs/pwg/other-base.xml:
8915 * docs/pwg/other-manager.xml:
8916 * docs/pwg/other-nton.xml:
8917 * docs/pwg/other-ntoone.xml:
8918 * docs/pwg/other-oneton.xml:
8920 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8921 demuxer), remove n-to-n (was never written), fix some code examples
8922 and links and update the porting section to include all this.
8924 2005-07-19 Wim Taymans <wim@fluendo.com>
8926 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8927 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8928 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8929 (gst_queue_src_activate_push), (gst_queue_change_state),
8930 (gst_queue_get_property):
8932 Propagate GstFlowReturn more intelligently upstream and output
8933 an ERROR/EOS when streaming stopped due to fatal error.
8935 2005-07-19 Wim Taymans <wim@fluendo.com>
8937 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8938 Don't block forever for the state change to complete, the
8939 pipeline already did with a sensible timeout.
8941 2005-07-19 Wim Taymans <wim@fluendo.com>
8943 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8944 Make sure we never call the create function is we
8947 2005-07-19 Andy Wingo <wingo@pobox.com>
8949 * gst/parse/parse.l: Attempt to solve bug #172815.
8951 2005-07-19 Wim Taymans <wim@fluendo.com>
8953 * docs/design/part-clocks.txt:
8954 * docs/design/part-events.txt:
8955 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8957 Only update the seeking values when we are not
8960 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8962 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8963 Oops, ignore the result of gst_pad_push_event here.
8965 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8967 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8968 (gst_base_src_activate_push):
8969 Send discont event from the loop function, as pads
8970 aren't activated yet in the activate_push handler.
8972 * gst/gstbin.c: (bin_bus_handler):
8973 Don't leak element name.
8975 2005-07-18 Andy Wingo <wingo@pobox.com>
8977 * configure.ac: Use AS_LIBTOOL_TAGS.
8979 2005-07-18 Wim Taymans <wim@fluendo.com>
8981 * docs/gst/gstreamer.types:
8982 Remove deleted types.
8984 2005-07-18 Wim Taymans <wim@fluendo.com>
8986 * check/elements/gstfakesrc.c: (GST_START_TEST):
8989 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8990 (init_popt_callback):
8992 * gst/gst_private.h:
8993 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8994 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8997 * gst/gstconfig.h.in:
8998 * gst/gstelement.c: (gst_element_class_init),
8999 (gst_element_set_base_time), (gst_element_get_base_time),
9000 (iterator_fold_with_resync), (gst_element_change_state),
9001 (gst_element_dispose), (gst_element_get_bus):
9003 * gst/gstelementfactory.h:
9004 * gst/gsterror.c: (_gst_core_errors_init):
9007 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9009 * gst/gstinfo.c: (_gst_debug_init):
9010 * gst/gstmessage.c: (_gst_message_copy):
9012 * gst/gstminiobject.h:
9015 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9016 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9019 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9020 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9021 (gst_pipeline_get_last_stream_time):
9022 * gst/gstpipeline.h:
9023 * gst/gstpluginfeature.h:
9025 * gst/gstscheduler.c:
9026 * gst/gstscheduler.h:
9027 * gst/gststructure.h:
9028 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9029 (gst_task_finalize), (gst_task_func), (gst_task_create),
9030 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9031 (gst_task_stop), (gst_task_pause):
9033 * gst/gsttypefind.h:
9035 * gst/registries/gstlibxmlregistry.c: (load_feature),
9036 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9037 * gst/registries/gstxmlregistry.c:
9038 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9039 * gst/schedulers/threadscheduler.c:
9040 * libs/gst/control/dparammanager.h:
9041 * tools/gst-inspect.c: (print_element_list),
9042 (print_plugin_features), (print_element_features):
9043 * tools/gst-xmlinspect.c: (print_element_list),
9044 (print_plugin_info), (main):
9045 Removed plugable schedulers.
9046 Removed Scheduler/Manager from elements.
9047 Removed gsttypes.h, rearranged includes.
9048 Removed dependency pad<->element, element<>pipeline, and
9049 various others, fix includes.
9050 implement gst_pad_get_parent() with gst_object_get_parent()
9051 Make GstTask sefcontained.
9052 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9054 Fix endless loop in iterator_fold_with_resync.
9057 2005-07-18 Wim Taymans <wim@fluendo.com>
9063 2005-07-18 Wim Taymans <wim@fluendo.com>
9068 2005-07-18 Wim Taymans <wim@fluendo.com>
9074 2005-07-18 Wim Taymans <wim@fluendo.com>
9076 * docs/design/part-dynamic.txt:
9077 * docs/design/part-events.txt:
9078 * docs/design/part-seeking.txt:
9079 Some more docs in the works.
9081 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9082 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9083 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9084 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9085 (gst_base_transform_handle_buffer),
9086 (gst_base_transform_sink_activate_push),
9087 (gst_base_transform_src_activate_pull),
9088 (gst_base_transform_set_passthrough),
9089 (gst_base_transform_is_passthrough):
9092 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9095 * gst/gstevent.c: (gst_event_finalize):
9098 * gst/gstutils.c: (gst_element_unlink),
9099 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9100 (gst_pad_proxy_setcaps):
9102 Add _get_parent_element() to get a pads parent as an element.
9104 2005-07-18 Wim Taymans <wim@fluendo.com>
9106 * check/gst/gstbin.c: (GST_START_TEST):
9109 2005-07-18 Wim Taymans <wim@fluendo.com>
9111 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9112 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9113 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9114 (gst_base_sink_event), (gst_base_sink_do_sync),
9115 (gst_base_sink_chain), (gst_base_sink_loop),
9116 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9117 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9119 Fix logic for returning ASYNC when not prerolled.
9121 2005-07-18 Wim Taymans <wim@fluendo.com>
9123 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9124 Fix nasty refcount bug.
9126 2005-07-16 Philippe Khalaf <burger@speedy.org>
9128 * gst/elements/gstfdsrc.c:
9129 * gst/elements/gstfdsrc.h:
9130 * gst/elements/gstelements.c:
9131 * gst/elements/Makefile.am:
9132 Ported fdsrc to 0.9.
9134 2005-07-16 Wim Taymans <wim@fluendo.com>
9136 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9137 (gst_base_sink_do_sync):
9140 2005-07-16 Wim Taymans <wim@fluendo.com>
9142 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9143 (gst_base_sink_event), (gst_base_sink_get_times),
9144 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9145 * gst/base/gstbasesink.h:
9146 Store and use discont values when syncing buffers as described
9149 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9150 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9151 (gst_base_src_activate_push):
9152 Push discont event when starting.
9154 * gst/elements/gstidentity.c: (gst_identity_transform):
9157 * gst/gstbin.c: (gst_bin_change_state):
9158 Small cleanups in base_time distribution.
9160 * gst/gstelement.c: (gst_element_set_base_time),
9161 (gst_element_get_base_time), (gst_element_change_state):
9163 Added methods for the base_time of the element.
9166 * gst/gstpipeline.c: (gst_pipeline_send_event),
9167 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9168 (gst_pipeline_get_last_stream_time):
9169 * gst/gstpipeline.h:
9171 Handle seeking as described in design doc, remove stream_time
9173 Cleanups clock and stream_time selection code. Added accessors
9174 for the stream_time.
9177 2005-07-16 Andy Wingo <wingo@pobox.com>
9179 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9182 2005-07-16 Wim Taymans <wim@fluendo.com>
9184 * check/gst/gstbin.c: (GST_START_TEST):
9185 Make elements silent as the deep_notify refs the
9186 parent, which might make the test fail.
9188 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9189 Don't hold the lock for too long.
9191 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9193 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9194 Don't unref the caps we passed to gst_caps_make_writable() after
9195 passing them. gst_caps_make_writable() will do that for us.
9197 2005-07-15 Andy Wingo <wingo@pobox.com>
9199 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9202 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9203 own marshalling function for the handoff signal. Properly type the
9204 buffer as a buffer. Fixes some warnings. Should do a more general
9206 (gst_identity_class_init): Plug into the right marshaller.
9208 2005-07-15 Wim Taymans <wim@fluendo.com>
9210 * docs/design/part-TODO.txt:
9211 * docs/design/part-clocks.txt:
9212 * docs/design/part-element-sink.txt:
9213 * docs/design/part-events.txt:
9214 * docs/design/part-gstpipeline.txt:
9215 Updated docs, mostly DISCONT related.
9217 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9219 * docs/pwg/building-pads.xml:
9220 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9222 2005-07-15 Andy Wingo <wingo@pobox.com>
9224 * tools/gst-typefind.c: Update, add copyright block.
9226 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9227 Normalize and truncate caps before fixation.
9230 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9231 discards all but the first structure from its argument.
9233 2005-07-15 Wim Taymans <wim@fluendo.com>
9235 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9236 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9237 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9238 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9239 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9240 (gst_base_transform_chain), (gst_base_transform_change_state),
9241 (gst_base_transform_set_passthrough),
9242 (gst_base_transform_is_passthrough):
9243 * gst/base/gstbasetransform.h:
9244 Make passthrough work using the bufferpools.
9245 Changed API a bit, subclasses have to write into a buffer
9246 provided by the base class.
9247 More debug info in nego functions.
9249 * gst/elements/gstidentity.c: (gst_identity_init),
9250 (gst_identity_transform):
9251 Port to new base class.
9253 2005-07-15 Wim Taymans <wim@fluendo.com>
9255 * gst/gstmessage.c: (gst_message_new_state_changed):
9256 * tools/gst-launch.c: (event_loop), (main):
9257 Totally dump messages in -launch with the -m option.
9258 Fix message name for State messages,
9260 2005-07-14 Wim Taymans <wim@fluendo.com>
9262 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9263 Post error messages on errors.
9265 2005-07-14 Wim Taymans <wim@fluendo.com>
9267 * gst/gstcaps.c: (gst_caps_do_simplify):
9271 Define error for stream stopped.
9273 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9274 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9275 Do proper return values.
9277 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9278 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9279 (gst_pad_get_range):
9280 Better return values.
9283 Reorganise return values, add macro to check for fatal errors.
9285 * gst/gstqueue.c: (gst_queue_chain):
9286 Return proper GstFlowReturn values,
9288 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9290 * docs/gst/gstreamer-sections.txt:
9291 * docs/gst/gstreamer.types:
9292 * docs/gst/tmpl/gst.sgml:
9293 * docs/gst/tmpl/gstbasesink.sgml:
9294 * docs/gst/tmpl/gstbasesrc.sgml:
9295 * docs/gst/tmpl/gstbasetransform.sgml:
9296 * docs/gst/tmpl/gstbin.sgml:
9297 * docs/gst/tmpl/gstbuffer.sgml:
9298 * docs/gst/tmpl/gstcaps.sgml:
9299 * docs/gst/tmpl/gstclock.sgml:
9300 * docs/gst/tmpl/gstcompat.sgml:
9301 * docs/gst/tmpl/gstconfig.sgml:
9302 * docs/gst/tmpl/gstelement.sgml:
9303 * docs/gst/tmpl/gstelementdetails.sgml:
9304 * docs/gst/tmpl/gstelementfactory.sgml:
9305 * docs/gst/tmpl/gstenumtypes.sgml:
9306 * docs/gst/tmpl/gsterror.sgml:
9307 * docs/gst/tmpl/gstevent.sgml:
9308 * docs/gst/tmpl/gstfakesink.sgml:
9309 * docs/gst/tmpl/gstfakesrc.sgml:
9310 * docs/gst/tmpl/gstfilesink.sgml:
9311 * docs/gst/tmpl/gstfilesrc.sgml:
9312 * docs/gst/tmpl/gstfilter.sgml:
9313 * docs/gst/tmpl/gstformat.sgml:
9314 * docs/gst/tmpl/gstghostpad.sgml:
9315 * docs/gst/tmpl/gstimplementsinterface.sgml:
9316 * docs/gst/tmpl/gstindex.sgml:
9317 * docs/gst/tmpl/gstindexfactory.sgml:
9318 * docs/gst/tmpl/gstinfo.sgml:
9319 * docs/gst/tmpl/gstiterator.sgml:
9320 * docs/gst/tmpl/gstmacros.sgml:
9321 * docs/gst/tmpl/gstmemchunk.sgml:
9322 * docs/gst/tmpl/gstminiobject.sgml:
9323 * docs/gst/tmpl/gstobject.sgml:
9324 * docs/gst/tmpl/gstpad.sgml:
9325 * docs/gst/tmpl/gstpadtemplate.sgml:
9326 * docs/gst/tmpl/gstparse.sgml:
9327 * docs/gst/tmpl/gstpipeline.sgml:
9328 * docs/gst/tmpl/gstplugin.sgml:
9329 * docs/gst/tmpl/gstpluginfeature.sgml:
9330 * docs/gst/tmpl/gstquery.sgml:
9331 * docs/gst/tmpl/gstqueue.sgml:
9332 * docs/gst/tmpl/gstregistry.sgml:
9333 * docs/gst/tmpl/gstregistrypool.sgml:
9334 * docs/gst/tmpl/gstscheduler.sgml:
9335 * docs/gst/tmpl/gstschedulerfactory.sgml:
9336 * docs/gst/tmpl/gststructure.sgml:
9337 * docs/gst/tmpl/gstsystemclock.sgml:
9338 * docs/gst/tmpl/gsttaglist.sgml:
9339 * docs/gst/tmpl/gsttagsetter.sgml:
9340 * docs/gst/tmpl/gsttrace.sgml:
9341 * docs/gst/tmpl/gsttrashstack.sgml:
9342 * docs/gst/tmpl/gsttypefind.sgml:
9343 * docs/gst/tmpl/gsttypefindfactory.sgml:
9344 * docs/gst/tmpl/gsttypes.sgml:
9345 * docs/gst/tmpl/gsturihandler.sgml:
9346 * docs/gst/tmpl/gsturitype.sgml:
9347 * docs/gst/tmpl/gstutils.sgml:
9348 * docs/gst/tmpl/gstvalue.sgml:
9349 * docs/gst/tmpl/gstversion.sgml:
9350 * docs/gst/tmpl/gstxml.sgml:
9351 * docs/libs/tmpl/gstcontrol.sgml:
9352 * docs/libs/tmpl/gstdataprotocol.sgml:
9353 * docs/libs/tmpl/gstdparam.sgml:
9354 * docs/libs/tmpl/gstdplinint.sgml:
9355 * docs/libs/tmpl/gstdpman.sgml:
9356 * docs/libs/tmpl/gstdpsmooth.sgml:
9357 * docs/libs/tmpl/gstgetbits.sgml:
9358 * docs/libs/tmpl/gstunitconvert.sgml:
9359 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9360 (gst_push_src_base_init), (gst_push_src_class_init),
9361 (gst_push_src_init), (gst_push_src_create):
9362 * gst/base/gstpushsrc.h:
9363 * gst/elements/gstelements.c:
9364 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9365 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9366 (gst_fake_sink_init), (gst_fake_sink_set_property),
9367 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9368 (gst_fake_sink_event), (gst_fake_sink_preroll),
9369 (gst_fake_sink_render), (gst_fake_sink_change_state):
9370 * gst/elements/gstfakesink.h:
9371 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9372 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9373 (gst_fake_src_base_init), (gst_fake_src_class_init),
9374 (gst_fake_src_init), (gst_fake_src_event_handler),
9375 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9376 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9377 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9378 (gst_fake_src_create_buffer), (gst_fake_src_create),
9379 (gst_fake_src_start), (gst_fake_src_stop):
9380 * gst/elements/gstfakesrc.h:
9381 * gst/elements/gstfilesink.c: (_do_init),
9382 (gst_file_sink_base_init), (gst_file_sink_class_init),
9383 (gst_file_sink_init), (gst_file_sink_dispose),
9384 (gst_file_sink_set_location), (gst_file_sink_set_property),
9385 (gst_file_sink_get_property), (gst_file_sink_open_file),
9386 (gst_file_sink_close_file), (gst_file_sink_query),
9387 (gst_file_sink_event), (gst_file_sink_render),
9388 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9389 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9390 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9391 * gst/elements/gstfilesink.h:
9392 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9393 (gst_file_src_class_init), (gst_file_src_init),
9394 (gst_file_src_finalize), (gst_file_src_set_location),
9395 (gst_file_src_set_property), (gst_file_src_get_property),
9396 (gst_file_src_map_region), (gst_file_src_map_small_region),
9397 (gst_file_src_create_mmap), (gst_file_src_create_read),
9398 (gst_file_src_create), (gst_file_src_is_seekable),
9399 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9400 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9401 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9402 (gst_file_src_uri_handler_init):
9403 * gst/elements/gstfilesrc.h:
9404 more autistic cleanliness in functions/names/defines
9406 2005-07-13 Andy Wingo <wingo@pobox.com>
9408 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9409 source couldn't negotiate.
9411 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9415 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9416 function. I am channeling Hades. Put your boots on suckers!!!
9418 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9420 * testsuite/caps/Makefile.am:
9421 * testsuite/caps/value_compare.c:
9422 * testsuite/caps/value_intersect.c:
9423 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9424 move two testsuite apps over to the check dir
9426 2005-07-12 Wim Taymans <wim@fluendo.com>
9428 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9429 Added more debug info in the negotiate process.
9432 Prepare for segment playback.
9434 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9440 * tools/gst-launch.c: (main):
9441 NULL pipeline on errors.
9443 2005-07-12 Andy Wingo <wingo@pobox.com>
9445 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9446 not it comes from a malloc region. Make sure our copy gets freed.
9448 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9450 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9451 * check/gst/gstmessage.c: (GST_START_TEST):
9452 * check/gst/gststructure.c: (GST_START_TEST),
9453 (gst_structure_suite), (main):
9455 * gst/gstelement.c: (gst_element_message_full):
9456 clean up GError and debug string now that they get copied
9457 * gst/gstmessage.c: (gst_message_new_error),
9458 (gst_message_new_warning), (gst_message_parse_error),
9459 (gst_message_parse_warning):
9460 use GST_TYPE_G_ERROR for structure_new, and take copies of
9461 arguments, so that we don't mess up refcounting
9463 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9465 * check/Makefile.am:
9466 add per-test valgrind targets
9467 * check/gst-libs/gdp.c: (GST_START_TEST),
9468 (gst_data_protocol_suite), (main):
9471 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9473 * check/Makefile.am:
9474 instate more valgrindable tests
9475 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9476 (GST_START_TEST), (fakesrc_suite):
9477 * check/gst/gstpad.c: (GST_START_TEST):
9478 * check/gst/gststructure.c: (GST_START_TEST):
9480 * docs/gst/tmpl/gstminiobject.sgml:
9481 * gst/gstpad.c: (gst_pad_finalize):
9482 fix the static mutex leak
9484 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9486 * check/Makefile.am:
9487 add two more tests for valgrinding
9488 * check/gst/gstvalue.c: (GST_START_TEST):
9489 test refcount of deserialized buffer, found a leak
9490 * docs/gst/gstreamer-docs.sgml:
9491 * docs/gst/gstreamer-sections.txt:
9492 * docs/gst/gstreamer.types:
9493 * docs/gst/tmpl/gstminiobject.sgml:
9494 add miniobject to docs
9495 * gst/gstminiobject.c:
9497 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9498 (gst_string_unwrap):
9499 fix a hard-to-find invalid write for one of the tests
9500 fix a leak for deserialized buffers
9502 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9504 * docs/pwg/advanced-events.xml:
9505 * docs/pwg/advanced-request.xml:
9506 * docs/pwg/advanced-scheduling.xml:
9507 * docs/pwg/appendix-porting.xml:
9508 * docs/pwg/building-boiler.xml:
9509 * docs/pwg/intro-preface.xml:
9510 * docs/pwg/other-ntoone.xml:
9511 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9512 of example code and explanation for pad activation, loop() and
9513 getrange() functions and a bit more. Remove old comments pointing
9515 * examples/pwg/Makefile.am:
9516 Add loop/getrange examples.
9518 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9521 check for valgrind binary + some fixes
9523 valgrind suppressions for the tests
9524 * check/Makefile.am:
9525 add a valgrind: target that valgrinds the unit tests
9526 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9527 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9528 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9529 * check/gst/gstghostpad.c:
9531 * check/gst/gstdata.c:
9533 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9534 (thread_unref), (gst_mini_object_suite), (main):
9536 * gst/gst.c: (gst_deinit):
9538 add a method to clean up.
9539 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9540 (gst_system_clock_obtain):
9541 allow for disposing the system clock.
9542 * tools/gst-launch.c: (main):
9545 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9547 * docs/gst/tmpl/gstbasesrc.sgml:
9548 * docs/gst/tmpl/gstfakesrc.sgml:
9549 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9550 (gst_base_src_init), (gst_base_src_set_property),
9551 (gst_base_src_get_property), (gst_base_src_get_range),
9552 (gst_base_src_start):
9553 * gst/base/gstbasesrc.h:
9554 add num-buffers property
9555 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9556 (gst_fakesrc_init), (gst_fakesrc_set_property),
9557 (gst_fakesrc_get_property), (gst_fakesrc_create),
9558 (gst_fakesrc_start):
9559 remove num-buffers property
9561 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9563 * docs/gst/gstreamer-sections.txt:
9564 * docs/gst/tmpl/gstbasesink.sgml:
9565 * docs/gst/tmpl/gstbasesrc.sgml:
9566 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9567 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9568 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9569 (gst_base_sink_set_property), (gst_base_sink_get_property),
9570 (gst_base_sink_handle_object), (gst_base_sink_event),
9571 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9572 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9573 (gst_base_sink_loop), (gst_base_sink_deactivate),
9574 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9575 (gst_base_sink_change_state):
9576 * gst/base/gstbasesink.h:
9577 * gst/base/gstbasesrc.h:
9578 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9579 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9580 (gst_filesink_init):
9581 more macro splitting
9583 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9585 * gst/gstelement.c: (gst_element_get_bus):
9587 * tools/gst-launch.c: (check_intr), (event_loop):
9590 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9592 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9595 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9597 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9598 (gst_base_src_finalize):
9599 add finalize method and clean up properly
9600 * gst/gstpipeline.c: (gst_pipeline_dispose):
9603 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9605 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9607 add more things to check
9608 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9612 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9614 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9615 (GST_START_TEST), (fakesrc_suite):
9616 * check/gst-libs/gdp.c: (GST_START_TEST):
9617 * check/gst/gst.c: (GST_START_TEST):
9618 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9619 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9620 * check/gst/gstbus.c: (GST_START_TEST):
9621 * check/gst/gstcaps.c: (GST_START_TEST):
9622 * check/gst/gstdata.c: (GST_START_TEST):
9623 * check/gst/gstelement.c: (GST_START_TEST):
9624 * check/gst/gstghostpad.c: (GST_START_TEST):
9625 * check/gst/gstiterator.c: (GST_START_TEST):
9626 * check/gst/gstmessage.c: (GST_START_TEST):
9627 * check/gst/gstobject.c: (GST_START_TEST):
9628 * check/gst/gstpad.c: (GST_START_TEST):
9629 * check/gst/gststructure.c: (GST_START_TEST):
9630 * check/gst/gstsystemclock.c: (GST_START_TEST),
9631 (gst_systemclock_suite):
9632 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9633 * check/gst/gstvalue.c: (GST_START_TEST):
9634 * check/pipelines/cleanup.c: (GST_START_TEST):
9635 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9636 * check/states/sinks.c: (GST_START_TEST):
9637 * check/gstcheck.c: (gst_check_init):
9639 add debugging category
9640 use GST_START_TEST now, so we add a debug line
9642 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9644 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9645 add test for state change message on a bin
9646 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9648 * gst/gstbin.c: (gst_bin_init):
9649 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9650 * gst/gstelement.c: (gst_element_post_message),
9651 (gst_element_set_state):
9652 * gst/gstelementfactory.c: (gst_element_factory_create):
9653 * gst/gstmessage.c: (gst_message_new):
9654 * gst/gstscheduler.c:
9655 various debugging additions and cleanups
9657 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9659 * check/Makefile.am:
9660 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9662 adding tests for elements
9663 * gst/gstelement.c: (gst_element_dispose):
9665 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9667 * gst/registries/gstlibxmlregistry.c: (load_feature):
9668 plug more leaks. A simple gst_init() now is leakfree, yay.
9670 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9672 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9673 (gst_xml_registry_load):
9674 plug another memleak
9676 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9679 use GST_SET_ERROR_CFLAGS
9681 change to ERROR_CFLAGS
9683 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9686 make GST_ERROR_CFLAGS overridable and re-enable Werror
9688 add a note about error CFLAGS
9689 * docs/gst/tmpl/gstfakesrc.sgml:
9690 * gst/elements/gstfakesrc.c:
9691 comment out some unused code
9692 * gst/gst.c: (split_and_iterate):
9693 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9697 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9699 * common/Makefile.am:
9700 * common/gtk-doc.mak:
9701 * docs/gst/Makefile.am:
9702 factor out gtk-doc.mak
9704 2005-07-07 Wim Taymans <wim@fluendo.com>
9706 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9707 (gst_thread_scheduler_dispose):
9708 Unlock the STREAM_LOCK completely.
9710 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9712 * check/Makefile.am:
9713 * check/elements/.cvsignore:
9714 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9715 (START_TEST), (fakesrc_suite), (main):
9716 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9717 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9718 (gst_fakesrc_create), (gst_fakesrc_start):
9719 * gst/elements/gstfakesrc.h:
9720 adding a first element test
9722 2005-07-07 Andy Wingo <wingo@pobox.com>
9724 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9727 2005-07-07 Wim Taymans <wim@fluendo.com>
9733 2005-07-07 Wim Taymans <wim@fluendo.com>
9735 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9736 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9737 Allow subclasses to implement their own negotiation.
9739 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9741 * docs/design/part-gstbin.txt:
9742 * docs/design/part-gstpipeline.txt:
9743 Update design notes to reflect the movement of
9744 responsibility for bus handling from GstPipeline to
9747 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9750 Remove unnecessary queue2/3/4 examples.
9752 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9754 * examples/Makefile.am:
9755 * examples/helloworld/helloworld.c: (event_loop), (main):
9756 * examples/queue/queue.c: (event_loop), (main):
9757 * examples/queue2/queue2.c: (main):
9758 Update a couple of the examples to work again.
9760 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9761 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9762 Spelling corrections and extra debug.
9764 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9765 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9766 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9768 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9769 (gst_pipeline_change_state):
9770 * gst/gstpipeline.h:
9771 Move the bus handler for children to the GstBin, and create a
9772 separate bus for receiving messages from children to the one the
9773 bus sends 'upwards' on.
9775 2005-07-06 Wim Taymans <wim@fluendo.com>
9778 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9779 (gst_base_sink_handle_object), (gst_base_sink_loop),
9780 (gst_base_sink_change_state):
9781 * gst/base/gstbasesink.h:
9782 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9783 (gst_base_src_init), (gst_base_src_setcaps),
9784 (gst_base_src_getcaps), (gst_base_src_loop),
9785 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9786 (gst_base_src_start), (gst_base_src_change_state):
9787 * gst/base/gstbasesrc.h:
9788 Make basesrc negotiate.
9789 Handle the case where preroll fails in basesink.
9792 2005-07-06 Wim Taymans <wim@fluendo.com>
9794 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9795 Implement the fixate function.
9796 Clean up acceptcaps.
9798 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9800 * docs/pwg/building-filterfactory.xml:
9802 Remove never-written filter-factory chapter; I'll add the various
9803 base classes to part 4 ("other element types") later on.
9805 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9807 * docs/pwg/advanced-negotiation.xml:
9808 * docs/pwg/building-boiler.xml:
9809 * docs/pwg/building-pads.xml:
9811 * examples/pwg/Makefile.am:
9812 Add a chapter on caps negotiation, simplify the original code
9813 samples a bit w.r.t. caps negotiation, add link to the advanced
9814 section. Add a bunch of examples showing different use cases of
9815 different types of caps negotiation. Upstream renegotiation isn't
9816 fully documented yet since nobody knows how that works.
9818 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9820 * check/gst/gstpad.c:
9822 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9823 if pad has no parent, return NULL as list of internal links
9825 2005-07-05 Andy Wingo <wingo@pobox.com>
9827 * gst/elements/gstfilesrc.c:
9828 * gst/elements/gstfakesrc.c:
9829 * gst/base/gstpushsrc.c:
9830 * gst/base/gstbasesrc.h:
9831 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9833 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9836 better report generation target (lcov needs a patch)
9838 2005-07-05 Andy Wingo <wingo@pobox.com>
9840 * gst/elements, testsuite: Null if we got it...
9842 2005-07-05 Wim Taymans <wim@fluendo.com>
9845 * libs/gst/dataprotocol/Makefile.am:
9846 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9847 * libs/gst/dataprotocol/dataprotocol.h:
9848 * pkgconfig/Makefile.am:
9849 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9850 * pkgconfig/gstreamer-dataprotocol.pc.in:
9851 Ported dataprotol to 0.9.
9852 Added pkgconfig files.
9854 2005-07-05 Andy Wingo <wingo@pobox.com>
9856 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9857 Default to returning TRUE for the case when tranform_caps returns
9858 a fixed caps, like for identity or volume.
9860 * check/gst/gstbus.c (pound_bus_with_messages):
9861 * check/gst/gstmessage.c (START_TEST):
9862 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9865 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9866 logic weaks here: always run transform_caps, trying passthrough
9867 operation only if the original caps intersects with the transform.
9869 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9870 source and sink caps.
9872 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9873 Intersect the peer caps with the pad template before going into
9875 (gst_base_transform_transform_caps): More debugging.
9877 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9880 2005-07-04 Edward Hervey <edward@fluendo.com>
9884 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9887 2005-07-04 Andy Wingo <wingo@pobox.com>
9889 * check/gst/gstpad.c: Only set explicit caps on pads.
9891 2005-07-01 Andy Wingo <wingo@pobox.com>
9893 * tests/network-clock.scm: Commentary update.
9895 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9896 Didn't really make sense, not implementable with basetransform,
9898 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9899 attempt at implementing the sync property, needs an unlock method.
9901 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9902 New func, by default returns the same caps (the identity
9904 (gst_base_transform_getcaps): Uses transform_caps to return
9906 (gst_base_transform_setcaps): Complicated logic to get caps on
9907 both pads, even if they are different, and to call set_caps once
9908 for every time both pads get their caps set.
9909 (gst_base_transform_handle_buffer): Give the ref to the transform
9910 function. Allows in-place modification of the buffer.
9912 * gst/base/gstbasetransform.h (transform_caps): New class method.
9913 Given caps on one side, what can I do on the other.
9914 (set_caps): Take two caps, one for each side of the element.
9917 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9918 caps in place. This is safe because we can check the mutability of
9919 the caps, and a good idea because fixate functions are just called
9920 as a matter of last resort. (Not actually implemented.)
9921 (gst_pad_set_caps): If the caps we're setting is actually the same
9922 as the existing pad caps, just update the pointer without calling
9923 setcaps. Assert that caps is either NULL or fixed, as per the
9926 * gst/gstghostpad.c: Update for fixate changes.
9928 2005-07-02 Andy Wingo <wingo@pobox.com>
9931 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9932 two refcounts makes it immutable, which is enough. Doc more.
9934 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9936 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9937 Put the mini_object into GValue as a mini_object,
9938 not a gpointer, since that's how we declared
9941 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9943 * examples/pwg/Makefile.am:
9946 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9948 * docs/pwg/building-testapp.xml:
9950 * examples/pwg/Makefile.am:
9953 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9956 * examples/Makefile.am:
9957 * examples/pwg/Makefile.am:
9958 * examples/pwg/extract.pl:
9959 Enable building the PWG examples.
9960 * docs/pwg/advanced-interfaces.xml:
9961 Add URI interface stub.
9962 * docs/pwg/advanced-types.xml:
9963 * docs/pwg/other-autoplugger.xml:
9964 * docs/pwg/appendix-porting.xml:
9966 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9967 * docs/pwg/building-boiler.xml:
9968 * docs/pwg/building-chainfn.xml:
9969 * docs/pwg/building-pads.xml:
9970 * docs/pwg/building-props.xml:
9971 * docs/pwg/building-state.xml:
9972 * docs/pwg/building-testapp.xml:
9973 Update the building-*.xml parts for 0.9 changes. All examples
9974 code blocks compile in examples/pwg/*.
9976 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9978 * docs/manual/advanced-autoplugging.xml:
9979 * docs/manual/appendix-checklist.xml:
9980 * docs/manual/appendix-integration.xml:
9981 * docs/manual/highlevel-components.xml:
9982 Fix playbin/decodebin examples, update docs a bit, mention bus
9983 instead of signals in various places, mention kmplayer and
9984 kaffeine since they have a working GStreamer backend in the KDE
9987 2005-06-30 Wim Taymans <wim@fluendo.com>
9990 * docs/design/draft-ghostpads.txt:
9991 * docs/design/draft-push-pull.txt:
9992 * docs/design/draft-query.txt:
9993 * docs/design/part-TODO.txt:
9994 * docs/design/part-query.txt:
9995 Added CHANGES-0.9 doc, updated status of other docs.
10000 2005-06-30 Wim Taymans <wim@fluendo.com>
10002 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10003 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10004 (gst_base_sink_change_state):
10005 * gst/base/gstbasesink.h:
10006 Some tweaks, only EOS and a buffer complete a preroll.
10008 2005-06-30 Andy Wingo <wingo@pobox.com>
10010 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10011 activate_push down to the internal pad as well.
10013 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10015 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10017 * gst/gsttaginterface.c:
10018 Some documentation fixes (#307394 and #307397).
10020 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10022 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10024 * gst/gstvalue.c: (gst_value_intersect_list):
10025 Fix memleak (#309125).
10027 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10029 * docs/manual/advanced-dataaccess.xml:
10030 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10031 * docs/manual/basics-pads.xml:
10032 Add reference for filtered caps to above chapter.
10034 2005-06-30 Wim Taymans <wim@fluendo.com>
10036 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10037 (gst_bin_change_state):
10039 Lame attempt at making the state change function a bit
10042 2005-06-30 Wim Taymans <wim@fluendo.com>
10044 * docs/design/part-clocks.txt:
10045 * docs/design/part-element-sink.txt:
10046 * docs/design/part-events.txt:
10047 * docs/design/part-preroll.txt:
10048 * docs/design/part-states.txt:
10049 Some more tweeks and additions to the docs.
10051 2005-06-30 Wim Taymans <wim@fluendo.com>
10053 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10054 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10055 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10056 (gst_pad_check_pull_range), (gst_pad_get_range),
10057 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10059 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10060 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10061 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10062 (gst_pad_remove_buffer_probe):
10063 Removed atomic operations, use existing LOCK.
10064 Move exception handling out of main code path.
10066 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10068 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10069 (silly_return_true_function), (gst_pad_class_init),
10070 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10071 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10072 (gst_pad_send_event):
10073 Fix accumulator, add default value by using _emitv() instead
10074 of _emit() for signal emission.
10076 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10078 * docs/manual/advanced-dataaccess.xml:
10079 * examples/manual/Makefile.am:
10081 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10084 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10086 * gst/elements/gstfilesink.c: (gst_filesink_render):
10087 Simplify code so that we don't have to handle short
10088 writes and return GST_FLOW_ERROR if an error occured.
10090 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10092 * docs/gst/gstreamer-docs.sgml:
10093 Remove probes more.
10095 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10097 * docs/gst/gstreamer-sections.txt:
10098 * docs/gst/tmpl/gstpad.sgml:
10099 * docs/gst/tmpl/gstprobe.sgml:
10101 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10102 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10103 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10104 (gst_pad_push_event), (gst_pad_send_event):
10106 * gst/gstutils.c: (gst_pad_add_data_probe),
10107 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10108 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10109 (gst_pad_remove_buffer_probe):
10111 Remove old probes, add new g-signal-based probes and some utility
10114 2005-06-29 Edward Hervey <edward@fluendo.com>
10116 * gst/gstelementfactory.c:
10119 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10120 the definition to the header file.
10122 2005-06-29 Andy Wingo <wingo@pobox.com>
10124 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10125 plugins from the source directory.
10127 2005-06-29 Wim Taymans <wim@fluendo.com>
10129 * docs/gst/tmpl/gstbuffer.sgml:
10130 * docs/gst/tmpl/gstclock.sgml:
10131 Some fixings for blantently wrong text.
10133 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10135 * check/Makefile.am:
10136 * gst/gst.c: (add_path_func), (init_pre):
10137 * gst/gstregistry.c: (gst_registry_add_path):
10138 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10139 only scan the GST_PLUGIN_PATH locations, and not add
10142 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10144 * docs/gst/gstreamer-sections.txt:
10145 * docs/gst/tmpl/gstbasesrc.sgml:
10146 * gst/gstelement.c:
10147 * gst/gstelement.h:
10152 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10154 * docs/manual/advanced-autoplugging.xml:
10155 Fix autoplugging example.
10157 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10159 * docs/manual/advanced-autoplugging.xml:
10160 * docs/manual/mime-world.fig:
10161 Try to get autoplugging working, fix type detection. Fix text
10162 in hello-world image.
10164 2005-06-29 Wim Taymans <wim@fluendo.com>
10166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10167 (gst_base_sink_change_state):
10171 map SIGNAL and BROADCAST to the right function.
10174 Remove redundant braces.
10176 * gst/gstpad.c: (gst_pad_set_caps):
10177 Don't call setcaps function when reseting caps to NULL.
10179 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10180 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10181 (gst_system_clock_id_unschedule):
10182 Use BROADCAST as this is what we do.
10184 2005-06-29 Wim Taymans <wim@fluendo.com>
10186 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10187 We are actually prerolling before commiting the state
10190 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10192 * docs/manual/advanced-clocks.xml:
10193 * docs/manual/advanced-interfaces.xml:
10194 * docs/manual/advanced-metadata.xml:
10195 * docs/manual/advanced-position.xml:
10196 * docs/manual/advanced-schedulers.xml:
10197 * docs/manual/advanced-threads.xml:
10198 * docs/manual/appendix-porting.xml:
10199 * docs/manual/basics-bins.xml:
10200 * docs/manual/basics-bus.xml:
10201 * docs/manual/basics-elements.xml:
10202 * docs/manual/basics-helloworld.xml:
10203 * docs/manual/basics-pads.xml:
10204 * docs/manual/highlevel-components.xml:
10205 * docs/manual/manual.xml:
10206 * docs/manual/thread.fig:
10207 Update (until threads/scheduling) Application Development Manual;
10208 remove GstThread, add GstBus, add simple porting checklist, add
10209 documentation for tag writing, clocks, make all examples until this
10210 part compile and run.
10211 * examples/manual/Makefile.am:
10212 Update from changes to Application Development Manual; add bus
10213 example, remove thread example.
10215 2005-06-28 Wim Taymans <wim@fluendo.com>
10217 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10218 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10219 (gst_bus_source_dispatch):
10220 Add debugging messages.
10221 Make internal methods static.
10222 Handle the case where the bus is flushed in the handler.
10224 * gst/gstelement.c: (gst_element_get_bus):
10225 Fix refcount in _get_bus();
10227 * gst/gstpipeline.c: (gst_pipeline_change_state),
10228 (gst_pipeline_get_clock_func):
10229 Clock refcounting fixes.
10230 Handle the case where preroll timed out more gracefully.
10232 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10233 Clean up the internal thread in dispose. This is needed
10234 for subclasses that actually get disposed.
10236 * gst/schedulers/threadscheduler.c:
10237 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10238 (gst_thread_scheduler_dispose):
10239 Free thread pool in dispose.
10241 2005-06-28 Andy Wingo <wingo@pobox.com>
10243 * tests/network-clock-utils.scm (debug, print-event): New utils.
10245 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10246 (*packet-loss*): Unified loss probability.
10247 (network-time): Report out-of-band events.
10249 * tests/plot-data: Add support for out-of-band events. Hack it
10250 into this script instead of passing it down the pipe; should fix
10253 2005-06-28 Wim Taymans <wim@fluendo.com>
10255 * docs/gst/gstreamer.types:
10256 * docs/gst/tmpl/gstbasesrc.sgml:
10257 * docs/gst/tmpl/gstpad.sgml:
10260 2005-06-28 Wim Taymans <wim@fluendo.com>
10262 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10263 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10264 (gst_proxy_pad_do_fixatecaps):
10265 Correctly proxy the check_pull_range function.
10267 2005-06-28 Andy Wingo <wingo@pobox.com>
10269 * tests/network-clock.scm: Removed need for slib.
10271 2005-06-28 Wim Taymans <wim@fluendo.com>
10273 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10274 (gst_basesink_preroll_queue_flush):
10275 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10276 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10277 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10278 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10279 (gst_proxy_pad_set_property):
10282 * gst/gstqueue.c: (gst_queue_init):
10283 The deprecated pad loop function is removed now.
10285 2005-06-28 Andy Wingo <wingo@pobox.com>
10287 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10288 New parameters, simulate network packet loss.
10290 * tests/network-clock-utils.scm: Initialize the RNG.
10292 2005-06-28 Wim Taymans <wim@fluendo.com>
10294 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10295 (gst_basesink_event), (gst_basesink_deactivate):
10296 Flushing the preroll queue always needs to unlock the waiters.
10298 2005-06-28 Edward Hervey <edward@fluendo.com>
10300 * gst/gstpipeline.c: (gst_pipeline_send_event):
10301 Wheen a seek was successful on a pipeline, set the stream_time to the
10302 seek offset in order to have a synchronized stream_time.
10304 2005-06-28 Wim Taymans <wim@fluendo.com>
10306 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10307 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10308 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10309 (gst_proxy_pad_do_fixatecaps):
10310 Call wrapper function instead of just calling the function
10311 pointers. This takes care of any locking and whatmore.
10313 2005-06-28 Wim Taymans <wim@fluendo.com>
10315 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10316 (gst_pad_pull_range):
10318 CONNECTED -> LINKED.
10320 2005-06-28 Andy Wingo <wingo@pobox.com>
10322 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10323 source-munging commit!!!
10325 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10326 (gst_object_sink): Take gpointer arguments, not GstObject --
10327 avoids casts. Like GLib.
10329 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10332 2005-06-27 Andy Wingo <wingo@pobox.com>
10334 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10337 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10338 returns a sorted copy of the trace list.
10339 (gst_alloc_trace_print_live): New API, only prints traces with
10340 live objects. Sort the list.
10341 (gst_alloc_trace_print_all): Sort the list.
10342 (gst_alloc_trace_print): Align columns.
10344 * gst/elements/gstttypefindelement.c:
10345 * gst/elements/gsttee.c:
10346 * gst/base/gstbasesrc.c:
10347 * gst/base/gstbasesink.c:
10348 * gst/base/gstbasetransform.c:
10349 * gst/gstqueue.c: Adapt for pad activation changes.
10351 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10353 (gst_pipeline_dispose): Drop ref on sched.
10355 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10356 (gst_pad_activate_default): Push mode by default.
10357 (pre_activate_switch, post_activate_switch): New stubs, things to
10358 do before and after switching activation modes on pads.
10359 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10360 the pad's activate function to choose which mode to activate.
10361 Shortcut on deactivation and call the right function directly.
10362 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10364 (gst_pad_activate_push): New API, same for push mode.
10365 (gst_pad_set_activate_function)
10366 (gst_pad_set_activatepull_function)
10367 (gst_pad_set_activatepush_function): Setters for new API.
10369 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10370 Trace all miniobjects.
10371 (gst_mini_object_make_writable): Unref the arg if we copy, like
10372 gst_caps_make_writable.
10374 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10376 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10377 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10378 Adapt for new pad API.
10380 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10382 * gst/gstelement.h:
10383 * gst/gstelement.c (gst_element_iterate_src_pads)
10384 (gst_element_iterate_sink_pads): New API functions.
10386 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10387 should fold into gstiterator.c in some form.
10388 (gst_element_pads_activate): Simplified via use of fold and
10389 delegation of decisions to gstpad->activate.
10391 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10394 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10395 class once in init, like gstmessage. Didn't run into this issue
10396 but it seems correct. Don't initialize a trace, gstminiobject does
10399 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10400 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10402 (assert_live_count): New util function, uses alloc traces to check
10405 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10406 To be modified when unlink drops the internal pad.
10408 2005-06-27 Wim Taymans <wim@fluendo.com>
10410 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10411 (gst_bin_change_state):
10412 Cleanup the get_state() function a little, make sure it
10413 iterates the same set of elements.
10414 Added stub iterate_state_order().
10416 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10418 * docs/gst/gstreamer-docs.sgml:
10419 * docs/gst/gstreamer-sections.txt:
10420 * docs/gst/gstreamer.types:
10421 * docs/gst/tmpl/gstbasesink.sgml:
10422 * docs/gst/tmpl/gstbasesrc.sgml:
10423 * docs/gst/tmpl/gstbasetransform.sgml:
10424 * docs/gst/tmpl/gstelement.sgml:
10425 * docs/gst/tmpl/gstiterator.sgml:
10426 * gst/base/gstbasesrc.c:
10427 * gst/base/gstbasesrc.h:
10428 * gst/base/gstbasetransform.h:
10429 * gst/gstelement.c:
10430 * gst/gstiterator.h:
10431 adding basetransform and iterator docs
10433 2005-06-27 Andy Wingo <wingo@pobox.com>
10435 * docs/design/part-activation.txt: Notes on how activation should
10436 work -- not quite implemented yet.
10438 2005-06-25 Wim Taymans <wim@fluendo.com>
10440 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10441 At least get the chain function correct, needs more
10444 2005-06-25 Wim Taymans <wim@fluendo.com>
10446 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10447 (gst_basesink_handle_object), (gst_basesink_event),
10448 (gst_basesink_do_sync), (gst_basesink_handle_event),
10449 (gst_basesink_change_state):
10451 Right, two problems here: ghostpads don't take locks and
10452 glib _rec_mutex_lock_full() with depth==0 still locks.
10453 Catch illegal locking and g_warn them.
10455 2005-06-25 Wim Taymans <wim@fluendo.com>
10457 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10458 Have to check for completion now...
10460 2005-06-25 Wim Taymans <wim@fluendo.com>
10462 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10463 (gst_basesink_handle_object), (gst_basesink_event),
10464 (gst_basesink_do_sync), (gst_basesink_handle_event),
10465 (gst_basesink_change_state):
10467 Unlock STREAM_LOCK whatever the recursion was.
10469 2005-06-25 Wim Taymans <wim@fluendo.com>
10471 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10472 (gst_basesink_preroll_queue_empty),
10473 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10474 (gst_basesink_event), (gst_basesink_do_sync),
10475 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10476 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10477 (gst_basesink_change_state):
10478 Reworked the base sink, handle event and buffer serialisation
10479 correctly and removed possible deadlock.
10480 Handle EOS correctly.
10482 2005-06-25 Wim Taymans <wim@fluendo.com>
10484 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10485 (gst_pipeline_change_state):
10486 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10487 Allow elements to post EOS in the state change function.
10488 Fix up -launch, make it exit the poll loop when the
10489 pipeline actually changed state.
10490 Fix up warning parsing in -launch.
10492 2005-06-25 Wim Taymans <wim@fluendo.com>
10494 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10495 (gst_tee_sink_activate):
10496 Core takes STREAM_LOCK for us now.
10498 2005-06-25 Wim Taymans <wim@fluendo.com>
10500 * gst/gstelement.c: (gst_element_get_state_func),
10501 (gst_element_set_state):
10502 * gst/gstelement.h:
10503 * gst/gstmessage.c: (gst_message_parse_error),
10504 (gst_message_parse_warning):
10505 Keep track of current target state while performing a state
10506 change so that subclasses can do something interesting.
10507 Fix parsing of warning/error messages when GError is NULL.
10509 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10511 * docs/gst/Makefile.am:
10512 * docs/gst/gstreamer-docs.sgml:
10513 * docs/gst/gstreamer-sections.txt:
10514 * docs/gst/gstreamer.types:
10515 * docs/gst/tmpl/gstbasesink.sgml:
10516 * docs/gst/tmpl/gstbasesrc.sgml:
10517 * docs/gst/tmpl/gstbin.sgml:
10518 * docs/gst/tmpl/gstcompat.sgml:
10519 * docs/gst/tmpl/gstfakesink.sgml:
10520 * docs/gst/tmpl/gstfakesrc.sgml:
10521 * docs/gst/tmpl/gstfilesink.sgml:
10522 * docs/gst/tmpl/gstfilesrc.sgml:
10523 * docs/gst/tmpl/gstindex.sgml:
10524 * docs/manual/appendix-quotes.xml:
10525 * gst/base/gstbasesrc.h:
10526 * gst/elements/gstfakesrc.h:
10527 * gst/gstmessage.h:
10528 start pulling in base classes and elements in our docs
10530 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10532 * docs/gst/Makefile.am:
10533 * docs/libs/Makefile.am:
10534 fixed make distcheck with gtk-doc 1.3
10536 2005-06-23 Wim Taymans <wim@fluendo.com>
10538 * gst/gstelement.c: (gst_element_get_state_func),
10539 (gst_element_set_state), (gst_element_change_state):
10540 When the state did not change, also report NO_PREROLL
10543 2005-06-23 Wim Taymans <wim@fluendo.com>
10545 * gst/gstpad.c: (gst_pad_event_default):
10546 * gst/gstqueue.c: (gst_queue_loop):
10547 No unsafe task pausing please.
10549 2005-06-23 Wim Taymans <wim@fluendo.com>
10551 * gst/schedulers/threadscheduler.c:
10552 (gst_thread_scheduler_task_start),
10553 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10554 Ref the task before pushing it on the threadpool. This
10555 makes sure that we have a ref when the threadfunction is
10558 2005-06-23 Andy Wingo <wingo@pobox.com>
10560 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10561 offset is greater than the file's size.
10563 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10564 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10565 * gst/gstobject.c (gst_object_class_init): Make the class lock
10566 recursive. Wim won't let me drop deep_notify. Decodebin works
10567 again, whoopdy doo.
10569 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10570 internal pad, and hacks accordingly. Doesn't do it on the target
10571 pad because we change its caps. Probably catches all cases of
10573 (gst_ghost_pad_set_property): Connect to notify::caps as
10576 * tests/network-clock.scm (plot-simulation): Pipe data to the
10577 elite python skript.
10579 * tests/network-clock-utils.scm (define-parameter): New macro,
10580 defines a parameter that can be set via the command line.
10581 (set-parameter!, parse-parameter-arguments): Command line args
10584 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10587 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10589 * gst/elements/gsttypefindelement.c:
10590 (gst_type_find_element_handle_event):
10591 Don't restart typefinding on a discont.
10592 * gst/gstelement.c: (gst_element_set_state):
10593 Debug spelling fix.
10594 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10595 Allow changing mode of an active pad.
10596 Debug output fixes.
10597 * gst/registries/gstlibxmlregistry.c: (load_feature):
10598 Don't cast a static pad template to a normal pad template.
10600 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10602 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10603 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10604 remove gst_strtoll completely, since it didn't actually do
10605 anything more than what g_ascii_strtoull already does.
10606 check for range errors when deserializing
10607 do a cast for the unsigned cases; but further fixing needs
10608 a decision on what the interpretation of "(int)" and
10609 deserialization should be for values that fall outside the
10610 type's boundaries (ie, refuse, or interpret as casting)
10612 2005-06-23 Wim Taymans <wim@fluendo.com>
10614 * check/Makefile.am:
10615 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10616 * docs/design/part-live-source.txt:
10617 * docs/design/part-states.txt:
10618 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10619 (gst_basesrc_set_live), (gst_basesrc_is_live),
10620 (gst_basesrc_get_range), (gst_basesrc_activate),
10621 (gst_basesrc_change_state):
10622 * gst/base/gstbasesrc.h:
10623 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10624 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10625 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10626 * gst/gstelement.c: (gst_element_get_state_func),
10627 (gst_element_set_state):
10628 * gst/gstelement.h:
10630 * tools/gst-launch.c: (event_loop), (main):
10631 Added support for live sources and other elements that
10633 Updated design docs, added live-source design doc.
10634 Implemented live source functionality in basesrc
10635 Fix error condition in _bin_get_state()
10636 Implement live source handling in -launch.
10637 Added check for live sources.
10638 Fixed case in GstBin where elements were changed state
10642 2005-06-23 Andy Wingo <wingo@pobox.com>
10644 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10645 borken refcounting.
10647 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10648 gst_caps_replace takes care of this for us.
10650 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10651 gst_pad_set_caps on the target, not just its setcaps() function.
10653 * tests/network-clock.scm:
10654 * tests/network-clock-utils.scm: A network clock simulator.
10655 Something of an algorithmic testbed before doing something in C.
10657 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10659 * check/Makefile.am:
10660 * check/gst/capslist.h:
10661 copy over from 0.8, and add two with bitmasks specified with
10663 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10664 add test to parse everything from capslist.h
10665 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10667 add test for structure deserialization
10668 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10669 add tests for deserialization of strings to int types
10670 * gst/gststructure.c: (gst_structure_nth_field_name):
10671 * gst/gststructure.h:
10672 add a way to get the name of a field referenced by index
10673 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10674 instead of checking if the resulting long long lies between
10675 min and max, we check if the long long would fit into
10676 a number of bytes for the final type.
10677 This fixes cases where a string represents 2^32 - 1, which
10678 when cast to int would be the (valid) -1, but is bigger than
10681 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10683 * gst/parse/grammar.y:
10684 add a log line for type deserialization
10686 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10688 * check/gst/gstvalue.c: (START_TEST):
10689 * gst/gstvalue.c: (gst_value_deserialize):
10690 return long long, not int, so gint64 deserialization actually
10691 works. Is there any flag that makes the compiler check this ?
10694 2005-06-22 Wim Taymans <wim@fluendo.com>
10697 Added convenience macros for setting buffers in GValue.
10699 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10701 * check/gst/.cvsignore:
10702 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10703 add a test deserializing int64, and comment part out because
10706 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10708 * check/Makefile.am:
10709 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10710 * testsuite/Makefile.am:
10711 * testsuite/caps/Makefile.am:
10712 * testsuite/caps/value_serialize.c:
10713 * testsuite/test_gst_init.c:
10714 move a value_serialize test over
10716 2005-06-20 Wim Taymans <wim@fluendo.com>
10721 * gst/gstvalue.c: (gst_value_compare_buffer),
10722 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10723 (gst_value_compare_flags), (gst_value_serialize_flags),
10724 (gst_value_deserialize_flags), (_gst_value_initialize):
10725 Fix serialisation of buffers, they are not boxed types anymore
10727 2005-06-20 Wim Taymans <wim@fluendo.com>
10729 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10730 Testcase to show error in buffer-on-caps serialisation.
10732 2005-06-20 Andy Wingo <wingo@pobox.com>
10734 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10735 will be adding to later.
10737 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10738 if its socks fill with rocks.
10739 (gst_system_clock_obtain): Set the name on object construction.
10740 Avoid double-checked locking.
10742 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10744 * gst/gsturi.c: (gst_element_make_from_uri):
10745 Fix potential endless loop.
10747 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10749 * check/Makefile.am:
10751 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10753 move over from testsuite dir and clean up
10756 * testsuite/Makefile.am:
10757 * testsuite/tags/.cvsignore:
10758 * testsuite/tags/Makefile.am:
10759 * testsuite/tags/merge.c:
10760 remove testsuite/tags
10762 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10764 * docs/gst/gstreamer-sections.txt:
10765 * docs/gst/tmpl/gstenumtypes.sgml:
10766 * win32/gstenumtypes.c:
10767 clean up documentation build a little
10769 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10771 * check/gstcheck.h:
10772 add macros for checking refcounts on objects and caps
10773 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10774 add some more unit tests
10775 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10776 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10777 fix leaked refcounts (I hope :)) so unittest works
10781 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10783 * configure.ac: back to HEAD
10785 === release 0.9.1 ===
10787 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10793 2005-06-17 Andy Wingo <wingo@pobox.com>
10795 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10796 assert; it's always possible that the pad gets deactivated in
10797 between the checks in gstpad.c and the implementation. Rely on
10798 finish_preroll() to return a FLUSHING or similar instead of on the
10801 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10802 clock and post an EOS message if we come out of finish_preroll in
10805 2005-06-16 David Schleef <ds@schleef.org>
10807 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10808 (gst_capsfilter_set_property): Allow NULL as possible value
10809 for filter_caps property, indicating GST_CAPS_ANY.
10811 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10813 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10815 * gst/schedulers/Makefile.am:
10817 * gstreamer.spec.in:
10820 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10822 * gstreamer.spec.in:
10825 2005-06-08 Andy Wingo <wingo@pobox.com>
10827 * gst/gstutils.c: RPAD fixes all around.
10828 (gst_element_link_pads): Refcounting fixes.
10830 * tools/gst-inspect.c:
10831 * tools/gst-xmlinspect.c:
10833 * gst/base/gsttypefindhelper.c:
10834 * gst/base/gstbasesink.c:
10835 * gst/gstqueue.c: RPAD fixes.
10837 * gst/gstghostpad.h:
10838 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10839 pads. The tricky thing is they provide both source and sink
10840 interfaces, since they proxy the internal pad for the external
10841 pad, and vice versa. Implement with lower-level ProxyPad objects,
10842 with the interior proxy pad as a child of the exterior ghost pad.
10843 Should write a doc on this.
10845 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10846 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10849 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10850 pads are real pads. No ghost pads in this file. Not documenting
10851 the myriad s/RPAD/PAD/ and REALIZE fixes.
10852 (gst_pad_class_init): Add properties for "direction" and
10853 "template". Both are construct-only, so they can't change during
10854 the life of the pad. Fixes properly deriving from GstPad.
10855 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10856 derived objects, just set properties when creating the objects via
10858 (gst_pad_get_parent): Implement as a function, return NULL if the
10859 parent is not an element.
10860 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10861 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10863 * gst/gstobject.c (gst_object_class_init): Make name a construct
10864 property. Don't set it in the object init.
10866 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10867 with UNKNOWN direction.
10868 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10869 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10870 (gst_element_remove_pad): Remove ghost-pad special cases.
10871 (gst_element_pads_activate): Remove rpad cruft.
10873 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10874 catch the pad's-parent-not-an-element case.
10876 * gst/gst.h: Include gstghostpad.h.
10878 * gst/gst.c (init_post): No more real, ghost pads.
10880 * gst/Makefile.am: Add gstghostpad.[ch].
10882 * check/Makefile.am:
10883 * check/gst/gstbin.c:
10884 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10885 into a bin creates ghost pads, and that the refcounts are right.
10886 Partly moved from gstbin.c.
10888 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10890 * check/gst-libs/.cvsignore:
10891 * check/gst/.cvsignore:
10892 * check/pipelines/.cvsignore:
10894 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10895 (START_TEST), (cleanup_suite), (main):
10896 add some tests related to cleanup after running pipelines
10898 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10900 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10901 add a testsuite for GstBuffer
10903 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10905 * gst/gstminiobject.h:
10906 add defines for accessing the refcount
10908 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10910 * Makefile.am: added support for html unit test coverage reports
10912 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10914 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10915 Free existing caps if the capsfilter changes. Add a FIXME about
10916 setting those caps on the pads.
10918 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10919 Before adding a ghost pad to a parent bin, check that there isn't
10920 already one for the element on the bin. Prevents infinite recursion
10921 when using decodebin in parse pipelines. Andy says he'll rewrite the
10922 way this works anyway, so ignore the hack.
10924 2005-06-02 Andy Wingo <wingo@pobox.com>
10926 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10927 file size, pass it on to the type find helper.
10929 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10930 segment_start and segment_end properly according to the seek
10931 method. Segment_end is still a bit flaky because offset can be
10932 negative for CUR and END cases, but it takes -1 as an "unset"
10935 2005-06-02 Wim Taymans <wim@fluendo.com>
10937 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10938 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10939 (gst_basesink_activate):
10940 * gst/base/gstbasesink.h:
10941 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10942 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10943 (gst_pad_query), (gst_pad_start_task):
10945 * gst/gstqueue.c: (gst_queue_bufferalloc),
10946 (gst_queue_handle_sink_event), (gst_queue_chain):
10947 Bufferalloc: return GstFlowReturn to more accuratly report
10948 why allocation failed.
10950 2005-06-02 Wim Taymans <wim@fluendo.com>
10952 * gst/gstpipeline.c: (gst_pipeline_send_event):
10953 Take snapshot of state without blocking.
10955 2005-06-02 Wim Taymans <wim@fluendo.com>
10957 * docs/design/part-TODO.txt:
10958 * docs/design/part-caps.txt:
10959 * docs/design/part-clocks.txt:
10960 * docs/design/part-negotiation.txt:
10961 * docs/design/part-preroll.txt:
10964 2005-05-30 Wim Taymans <wim@fluendo.com>
10966 * gst/elements/gstidentity.c: (gst_identity_event),
10967 (gst_identity_transform), (gst_identity_get_property):
10968 Protect last_message property as it is accessed from
10971 2005-05-30 Wim Taymans <wim@fluendo.com>
10973 * gst/gstelement.c: (gst_element_init),
10974 (gst_element_pads_activate), (gst_element_change_state):
10975 Slicker pad activation code.
10977 2005-05-30 Wim Taymans <wim@fluendo.com>
10980 * gst/gstelement.h:
10981 * gst/gstelementfactory.h:
10983 Move elementfactory methods to separate .h file.
10985 2005-05-30 Wim Taymans <wim@fluendo.com>
10987 * docs/design/part-overview.txt:
10988 * gst/gstsystemclock.h:
10989 Small typo fixes, doc updates.
10991 2005-05-30 Wim Taymans <wim@fluendo.com>
10993 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10994 (init_popt_callback):
10995 Remove cpu-opt flag.
10997 2005-05-30 Wim Taymans <wim@fluendo.com>
10999 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11000 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11002 Avoid typechecking in places where not needed.
11003 Added accessor for malloc_data.
11005 2005-05-30 Wim Taymans <wim@fluendo.com>
11007 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11008 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11009 (gst_pad_configure_sink), (gst_pad_configure_src),
11010 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11011 (gst_pad_start_task):
11012 Propagate errors from _set_caps() in configure_src/sink
11013 functions instead of returning TRUE.
11014 FLUSH events can travel up and downstream
11017 2005-05-30 Wim Taymans <wim@fluendo.com>
11019 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11020 (gst_basesink_activate):
11021 Handle EOS in preroll.
11023 2005-05-30 Wim Taymans <wim@fluendo.com>
11025 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11026 (gst_queue_loop), (gst_queue_handle_src_event):
11027 Remove old pieces of code
11028 Flushing the queue in an upstream event is a very bad idea.
11030 2005-05-26 Andy Wingo <wingo@pobox.com>
11032 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11033 gst_value_set_mini_object so as to add a ref on the object (which
11034 will be removed when the value is unset).
11036 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11037 arg type in ::handoff.
11039 * gst/gstelement.c (gst_element_change_state): Also deactivate
11040 pads in READY->NULL, just in case the element didn't make it to
11041 PAUSED. Wingo tested, Wim approved.
11043 2005-05-26 Wim Taymans <wim@fluendo.com>
11045 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11046 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11047 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11048 A flushing pad cannot be used to alloc_buffer from.
11050 2005-05-26 Wim Taymans <wim@fluendo.com>
11052 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11053 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11054 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11055 (gst_bus_create_watch), (gst_bus_add_watch_full):
11057 Implement a real GSource and use g_main_context_wakeup() to
11058 signal new messages instead of the socketpair.
11060 2005-05-25 Wim Taymans <wim@fluendo.com>
11062 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11063 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11064 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11065 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11066 (gst_pad_send_event), (gst_pad_start_task):
11067 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11068 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11069 (gst_queue_sink_activate), (gst_queue_src_activate),
11070 (gst_queue_change_state):
11072 Fix state changes for non sinks. We now change sinks, then elements
11073 with unconnected srcpads, then the rest.
11074 More efficient queue unlocking in flush and state changes.
11075 Set the pad activate mode even if it does not have an activate
11078 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11080 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11081 Don't go in pull mode for non-seekable sources.
11082 * gst/elements/gsttypefindelement.h:
11083 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11084 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11085 (free_entry), (stop_typefinding),
11086 (gst_type_find_element_handle_event), (find_peek),
11087 (gst_type_find_element_chain), (do_pull_typefind),
11088 (gst_type_find_element_change_state):
11089 Allow typefinding (w/o seeking) in push-mode, simplified version
11090 of what was in 0.8.
11091 * gst/gstutils.c: (gst_buffer_join):
11093 gst_buffer_join() from 0.8.
11095 2005-05-25 Wim Taymans <wim@fluendo.com>
11097 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11098 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11099 (gst_pad_send_event), (gst_pad_start_task):
11100 Disable attempt at mode switching until it is figured out.
11102 2005-05-25 Wim Taymans <wim@fluendo.com>
11104 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11105 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11106 (gst_basesink_finish_preroll), (gst_basesink_chain),
11107 (gst_basesink_loop), (gst_basesink_activate),
11108 (gst_basesink_change_state):
11109 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11110 (gst_basesrc_get_range), (gst_basesrc_loop),
11111 (gst_basesrc_activate):
11112 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11113 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11114 (gst_real_pad_init), (gst_real_pad_set_property),
11115 (gst_real_pad_get_property), (gst_pad_set_active),
11116 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11117 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11118 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11119 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11120 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11121 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11122 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11123 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11124 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11125 (gst_pad_stop_task):
11127 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11128 (gst_queue_loop), (gst_queue_src_activate):
11129 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11130 (gst_task_get_state):
11132 * gst/schedulers/threadscheduler.c:
11133 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11134 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11136 Remove ACTIVE pad flag, use FLUSHING everywhere
11137 Added _pad_chain(), _pad_get_range() to call chain/getrange
11139 Add locks around IS_FLUSHING when reading.
11140 Take STREAM lock in chain(), get_range() functions so plugins
11141 don't need to take it anymore.
11145 2005-05-25 Wim Taymans <wim@fluendo.com>
11147 * tools/gst-launch.c: (event_loop):
11148 Unref message after using its contents instead of
11151 2005-05-24 Wim Taymans <wim@fluendo.com>
11153 * docs/design/draft-ghostpads.txt:
11154 * docs/design/draft-push-pull.txt:
11155 * docs/design/draft-query.txt:
11156 * docs/design/part-overview.txt:
11157 Docs updates, added general overview doc.
11159 2005-05-21 David Schleef <ds@schleef.org>
11161 * docs/gst/tmpl/old/GstBin.sgml:
11162 * docs/gst/tmpl/old/GstBuffer.sgml:
11163 * docs/gst/tmpl/old/GstCaps.sgml:
11164 * docs/gst/tmpl/old/GstClock.sgml:
11165 * docs/gst/tmpl/old/GstCompat.sgml:
11166 * docs/gst/tmpl/old/GstData.sgml:
11167 * docs/gst/tmpl/old/GstElement.sgml:
11168 * docs/gst/tmpl/old/GstEvent.sgml:
11169 * docs/gst/tmpl/old/GstIndex.sgml:
11170 * docs/gst/tmpl/old/GstStructure.sgml:
11171 * docs/gst/tmpl/old/GstTag.sgml:
11172 * docs/gst/tmpl/old/cothreads.sgml:
11173 * docs/gst/tmpl/old/cothreads_compat.sgml:
11174 * docs/gst/tmpl/old/gettext.sgml:
11175 * docs/gst/tmpl/old/gobject2gtk.sgml:
11176 * docs/gst/tmpl/old/grammar.tab.sgml:
11177 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11178 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11179 * docs/gst/tmpl/old/gst_private.sgml:
11180 * docs/gst/tmpl/old/gstaggregator.sgml:
11181 * docs/gst/tmpl/old/gstarch.sgml:
11182 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11183 * docs/gst/tmpl/old/gstbufferstore.sgml:
11184 * docs/gst/tmpl/old/gstdata_private.sgml:
11185 * docs/gst/tmpl/old/gstdisksink.sgml:
11186 * docs/gst/tmpl/old/gstdisksrc.sgml:
11187 * docs/gst/tmpl/old/gstelementfactory.sgml:
11188 * docs/gst/tmpl/old/gstextratypes.sgml:
11189 * docs/gst/tmpl/old/gstfakesink.sgml:
11190 * docs/gst/tmpl/old/gstfakesrc.sgml:
11191 * docs/gst/tmpl/old/gstfdsink.sgml:
11192 * docs/gst/tmpl/old/gstfdsrc.sgml:
11193 * docs/gst/tmpl/old/gstfilesink.sgml:
11194 * docs/gst/tmpl/old/gstfilesrc.sgml:
11195 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11196 * docs/gst/tmpl/old/gstidentity.sgml:
11197 * docs/gst/tmpl/old/gstindexfactory.sgml:
11198 * docs/gst/tmpl/old/gstmarshal.sgml:
11199 * docs/gst/tmpl/old/gstmd5sink.sgml:
11200 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11201 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11202 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11203 * docs/gst/tmpl/old/gstpipefilter.sgml:
11204 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11205 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11206 * docs/gst/tmpl/old/gstshaper.sgml:
11207 * docs/gst/tmpl/old/gstspider.sgml:
11208 * docs/gst/tmpl/old/gstspideridentity.sgml:
11209 * docs/gst/tmpl/old/gststatistics.sgml:
11210 * docs/gst/tmpl/old/gsttee.sgml:
11211 * docs/gst/tmpl/old/gsttimecache.sgml:
11212 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11213 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11214 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11215 * docs/gst/tmpl/old/types.sgml:
11216 I didn't intend to add these or check them in.
11218 2005-05-19 David Schleef <ds@schleef.org>
11220 * configure.ac: Use -no-common everywhere. In a sane world, it
11221 would be the default in libtool, because without it, you can't
11222 build DLLs on Windows.
11223 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11224 * docs/gst/gstreamer-sections.txt:
11225 * docs/gst/tmpl/gstcpu.sgml:
11226 * docs/gst/tmpl/gstdata.sgml:
11227 * docs/gst/tmpl/gstthread.sgml:
11229 2005-05-19 David Schleef <ds@schleef.org>
11231 * gst/gstminiobject.c: (gst_value_set_mini_object),
11232 (gst_value_take_mini_object), (gst_value_get_mini_object):
11233 * gst/gstminiobject.h: Add GValue set/get functions.
11235 2005-05-19 Wim Taymans <wim@fluendo.com>
11237 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11238 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11239 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11241 * gst/gstbus.c: (gst_bus_post):
11242 * gst/gstelement.c: (gst_element_get_random_pad):
11243 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11244 Make subbufer unref the parent in finalize.
11245 some more debugging info.
11248 2005-05-19 Wim Taymans <wim@fluendo.com>
11250 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11251 (gst_basesink_init), (gst_basesink_finalize),
11252 (gst_basesink_activate), (gst_basesink_change_state):
11253 Don't free preroll queue too early.
11255 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11259 Hi, I'm outdated. Please shoot me.
11261 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11263 * gst/gstpipeline.c: (gst_pipeline_send_event):
11264 Do not access variables after they have been deleted.
11266 2005-05-19 Wim Taymans <wim@fluendo.com>
11268 * tools/gst-inspect.c: (print_plugin_features):
11269 A plugin feature does unfortunatly not use the
11272 2005-05-18 Wim Taymans <wim@fluendo.com>
11274 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11275 Port _span() functions to new subbuffers.
11277 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11279 * gst/gstbin.c: (gst_bin_add_func):
11280 Fix clock settery in bins when adding kids after the clock has
11283 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11285 * gst/elements/gstidentity.c: (gst_identity_class_init):
11286 Workaround until signals support GstMiniObject.
11288 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11291 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11293 2005-05-18 Wim Taymans <wim@fluendo.com>
11295 * gst/base/Makefile.am:
11296 * gst/base/gstadapter.c: (gst_adapter_base_init),
11297 (gst_adapter_class_init), (gst_adapter_init),
11298 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11299 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11300 (gst_adapter_flush), (gst_adapter_available),
11301 (gst_adapter_available_fast):
11302 * gst/base/gstadapter.h:
11303 Ported and added adapter to the base classes.
11305 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11308 * gst/gstmessage.c:
11309 Make sure the class is reffed/unreffed once before threads can be
11310 used. Fixes #304551.
11312 2005-05-17 Wim Taymans <wim@fluendo.com>
11314 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11315 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11316 * gst/gstminiobject.c: (gst_mini_object_get_type),
11317 (gst_mini_object_free):
11318 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11319 (gst_pad_push), (gst_pad_push_event):
11320 * gst/gstqueue.c: (gst_queue_change_state):
11321 Don't queue buffers in basesink when we are flushing.
11322 Unref buffer when flushing in basesink.
11323 Flush queue when going to READY
11324 Unref buffer when _push() returns an error.
11325 Don't free MiniObject instance when refcount is incremented
11326 in _finalize() so that we can recover objects.
11328 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11330 * docs/manual/advanced-schedulers.xml:
11331 * docs/manual/appendix-checklist.xml:
11332 * docs/pwg/advanced-clock.xml:
11333 * docs/pwg/advanced-interfaces.xml:
11334 * docs/pwg/advanced-request.xml:
11335 * docs/pwg/advanced-types.xml:
11336 * docs/pwg/intro-preface.xml:
11337 * examples/plugins/example.c: (gst_example_get_type),
11338 (gst_example_class_init), (gst_example_chain),
11339 (gst_example_set_property), (gst_example_get_property),
11340 (gst_example_change_state), (plugin_init):
11341 * examples/plugins/example.h:
11344 2005-05-17 Wim Taymans <wim@fluendo.com>
11346 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11347 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11348 * gst/gstqueue.c: (gst_queue_change_state):
11349 Clear queue when going to READY.
11350 Remove IN_SETCAPS flag too.
11352 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11354 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11355 Remove implicit cast from gboolean to GstElementStateReturn;
11356 make sure we still return failure in paused => ready case if
11357 the parent class fails to change state and our own stop
11360 2005-05-17 Wim Taymans <wim@fluendo.com>
11362 * tools/gst-launch.c: (event_loop):
11363 Message was unreffed too soon.
11365 2005-05-16 Andy Wingo <wingo@pobox.com>
11367 * gst/gstbin.c (sink_iterator_filter): Err... um...
11369 * check/gst/gstbin.c (test_ghost_pads): New test for the
11370 ghosting-if-elements-not-in-same-bin behavior.
11372 2005-05-16 David Schleef <ds@schleef.org>
11374 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11375 accessing refcount directly.
11377 2005-05-15 David Schleef <ds@schleef.org>
11379 * check/Makefile.am: remove GstData checks
11380 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11381 * gst/Makefile.am: add miniobject, remove data
11382 * gst/gst.h: add miniobject, remove data
11383 * gst/gstdata.c: remove
11384 * gst/gstdata.h: remove
11385 * gst/gstdata_private.h: remove
11386 * gst/gsttypes.h: remove GstEvent and GstMessage
11387 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11388 * gst/gstmarshal.list: change BOXED -> OBJECT
11390 Implement GstMiniObject.
11391 * gst/gstminiobject.c:
11392 * gst/gstminiobject.h:
11394 Modify to be subclasses of GstMiniObject.
11395 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11396 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11397 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11398 (gst_subbuffer_get_type), (gst_subbuffer_init),
11399 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11402 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11403 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11404 (_gst_event_copy), (gst_event_new):
11406 * gst/gstmessage.c: (_gst_message_initialize),
11407 (gst_message_get_type), (gst_message_class_init),
11408 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11409 (gst_message_new), (gst_message_new_error),
11410 (gst_message_new_warning), (gst_message_new_tag),
11411 (gst_message_new_state_changed), (gst_message_new_application):
11412 * gst/gstmessage.h:
11413 * gst/gstprobe.c: (gst_probe_perform),
11414 (gst_probe_dispatcher_dispatch):
11416 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11417 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11418 (_gst_query_copy), (gst_query_new):
11420 Update elements for GstData -> GstMiniObject changes
11422 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11423 (gst_queue_chain), (gst_queue_loop):
11424 * gst/elements/gstbufferstore.c:
11425 (gst_buffer_store_add_buffer_func),
11426 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11427 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11428 (gst_fakesink_render):
11429 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11430 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11431 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11432 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11433 (gst_filesrc_create_read):
11434 * gst/elements/gstidentity.c: (gst_identity_class_init):
11435 * gst/elements/gsttypefindelement.c:
11436 (gst_type_find_element_src_event), (free_entry_buffers),
11437 (gst_type_find_element_handle_event):
11438 * libs/gst/dataprotocol/dataprotocol.c:
11439 (gst_dp_header_from_buffer):
11440 * libs/gst/dataprotocol/dataprotocol.h:
11441 * libs/gst/dataprotocol/dp-private.h:
11443 2005-05-15 David Schleef <ds@schleef.org>
11445 * gst/elements/gstelements.c: Don't include headers that were
11448 2005-05-15 David Schleef <ds@schleef.org>
11450 * gst/elements/Makefile.am: Remove some elements that don't
11451 need to be in the core (or even exist at all).
11452 * gst/elements/gstaggregator.c:
11453 * gst/elements/gstaggregator.h:
11454 * gst/elements/gstmd5sink.c:
11455 * gst/elements/gstmd5sink.h:
11456 * gst/elements/gstmultifilesrc.c:
11457 * gst/elements/gstmultifilesrc.h:
11458 * gst/elements/gstpipefilter.c:
11459 * gst/elements/gstpipefilter.h:
11460 * gst/elements/gstshaper.c:
11461 * gst/elements/gstshaper.h:
11462 * gst/elements/gststatistics.c:
11463 * gst/elements/gststatistics.h:
11464 * po/POTFILES.in: Remove above files.
11466 2005-05-14 Andy Wingo <wingo@pobox.com>
11468 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11469 so as to get the refs right.
11470 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11471 unreffing objects that don't pass the filter.
11473 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11474 gst_element_set_bus.
11475 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11476 normal cases, this will destroy the bus.
11478 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11481 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11484 2005-05-13 Andy Wingo <wingo@pobox.com>
11486 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11487 gst_pad_link, call pad_link_maybe_ghosting,
11488 (pad_link_maybe_ghosting): Links pads, making sure that the
11489 elements being linked are in the same bin.
11490 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11491 Helpers for pad_link_maybe_ghosting.
11493 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11496 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11498 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11500 * docs/design/part-element-source.txt:
11503 2005-05-12 Wim Taymans <wim@fluendo.com>
11505 * gst/base/gstbasesink.c: (gst_basesink_init),
11506 (gst_basesink_activate):
11507 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11508 (gst_basesrc_is_seekable):
11509 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11510 (bin_element_is_sink), (gst_bin_change_state):
11511 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11512 * gst/gstelement.h:
11513 Identify sinks by their flag to avoid overly complicated
11515 Do state changes even for elements not reachable from the
11517 BaseSink is a sink now :)
11518 Some more debugging info in the basesrc.
11521 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11523 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11524 Implement _query on a bin, similar to _send_event.
11526 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11528 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11529 Discont event offset format should be GST_FORMAT_BYTES,
11530 not GST_FORMAT_TIME.
11532 2005-05-12 Wim Taymans <wim@fluendo.com>
11534 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11535 Same fix as Ronald's but without the signal.
11537 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11539 * gst/gstutils.c: (gst_element_query_position):
11540 No, an element is not a pad.
11542 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11544 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11545 (gst_bin_get_state):
11546 If a child is removed from a bin while we remove the child from
11547 the bin and while we're retrieving its state, signal this to the
11548 get_state function so we abort the wait (instead of waiting for
11549 a timeout) and can immediately re-iterate over all other elements.
11551 2005-05-12 Wim Taymans <wim@fluendo.com>
11553 * gst/base/Makefile.am:
11554 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11555 (gst_basesrc_start):
11556 * gst/base/gstbasesrc.h:
11557 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11558 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11559 (gst_pushsrc_init), (gst_pushsrc_create):
11560 * gst/base/gstpushsrc.h:
11561 Added is_seekable to BaseSrc
11562 Added simple PushSrc.
11564 2005-05-11 Wim Taymans <wim@fluendo.com>
11566 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11567 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11568 (gst_element_link_pads), (gst_element_query_position),
11569 (gst_element_query_convert), (intersect_caps_func),
11570 (gst_pad_query_position), (gst_pad_query_convert):
11571 Fix refcounting in utils function.
11572 No point in trying to activate a pad when it's added, it could
11573 be added from the state change function and then we deadlock, the
11574 element has to decide what to do.
11576 2005-05-10 Andy Wingo <wingo@pobox.com>
11578 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11579 *all* the arguments.
11581 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11582 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11583 lock (according to the docs -- if this is wrong change the docs).
11585 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11586 flush messages in the NULL state.
11588 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11589 message immediately and return.
11590 (gst_bus_set_flushing): New function. If a bus is flushing, it
11591 flushes out any queued messages and immediately unrefs new
11592 messages. This is so when an element goes to NULL, all of the
11593 unhandled messages coming from it can be freed, and their
11594 references to the element dropped. In other words: message source
11595 ref considered harmful :P
11597 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11598 we're finished with it.
11600 * gst/gstmessage.c (gst_message_new_state_changed):
11602 2005-05-10 Wim Taymans <wim@fluendo.com>
11604 * gst/gstvalue.c: (gst_value_compare_flags),
11605 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11606 (_gst_value_initialize):
11607 Added flags serialize/deserialize/compare code.
11609 2005-05-09 Andy Wingo <wingo@pobox.com>
11611 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11612 Intersect the peer's caps with our caps.
11614 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11616 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11617 * gst/elements/gsttypefindelement.c: (find_peek):
11618 Handle negative offsets better. Fixes decodebin.
11620 2005-05-09 Wim Taymans <wim@fluendo.com>
11622 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11623 (gst_base_transform_event):
11624 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11625 Implement accept_caps.
11626 Fix silly lock/unlock mismatch in base class.
11628 2005-05-09 Wim Taymans <wim@fluendo.com>
11630 * docs/design/draft-push-pull.txt:
11631 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11632 * gst/elements/gstfilesink.c: (gst_filesink_init),
11633 (gst_filesink_query):
11634 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11635 (gst_type_find_handle_src_query), (find_element_get_length):
11636 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11637 * gst/gstelement.h:
11638 * gst/gstmessage.c:
11639 * gst/gstmessage.h:
11640 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11641 (gst_real_pad_get_caps_unlocked),
11642 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11643 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11644 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11645 (gst_real_pad_dispose), (gst_real_pad_finalize),
11646 (gst_pad_load_and_link), (gst_pad_save_thyself),
11647 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11648 (gst_pad_check_pull_range), (gst_pad_pull_range),
11649 (gst_pad_template_get_type), (gst_pad_template_class_init),
11650 (gst_pad_template_init), (gst_pad_template_dispose),
11651 (name_is_valid), (gst_static_pad_template_get),
11652 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11653 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11654 (gst_pad_get_element_private), (gst_pad_start_task),
11655 (gst_pad_pause_task), (gst_pad_stop_task),
11656 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11657 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11658 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11659 (gst_ghost_pad_new):
11661 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11662 (gst_query_new_position), (gst_query_set_position),
11663 (gst_query_parse_position), (gst_query_new_convert),
11664 (gst_query_set_convert), (gst_query_parse_convert):
11666 * gst/gstqueryutils.c:
11667 * gst/gstqueryutils.h:
11668 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11669 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11670 (gst_queue_handle_src_query):
11671 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11672 (gst_element_query_position), (gst_element_query_convert),
11673 (intersect_caps_func), (gst_pad_query_position),
11674 (gst_pad_query_convert):
11676 * tools/gst-inspect.c: (print_pad_info):
11677 * tools/gst-xmlinspect.c: (print_element_info):
11678 Remove old query functions. Ported old code.
11679 Added position/convert helper functions to gstutils.
11680 Reordered gstpad.c code, grouping relevant things.
11681 Remove gst_message_new(), always need to speficy a specific
11685 2005-05-09 Andy Wingo <wingo@pobox.com>
11687 * gst/gstiterator.h: Add some includes.
11689 * gst/gstqueryutils.h: Include more headers.
11692 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11693 some uses of gst_pad_query.
11695 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11696 NULL out parameters.
11697 (gst_query_new_position): New proc, allocates a new position
11700 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11701 gstqueryutils.c to the build.
11703 * gst/gststructure.c (gst_structure_set_valist): Implement with
11704 the generic G_VALUE_COLLECT.
11706 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11708 * gst/Makefile.am: (gst_headers):
11709 Added gstqueryutils.h to the list of headers to install, that was
11710 a 'nachty' move wingo :)
11712 2005-05-06 Andy Wingo <wingo@pobox.com>
11715 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11716 GstData, init a memchunk.
11717 (standard_definitions): Add a few query types, deprecate a few.
11718 (gst_query_get_type): New proc.
11719 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11721 (gst_query_new_application, gst_query_get_structure): New public
11724 * docs/design/draft-query.txt: Removed LINKS from the query types,
11725 because all the rest can be dispatched to other pads -- seemed
11726 ugly to have a query that couldn't be dispatched. internal_links
11727 is fine as a pad method.
11729 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11730 in gstpad.c, but maintain binary compatibility for the moment.
11731 Will fix before 0.9 is out.
11733 * gst/gstqueryutils.c:
11734 * gst/gstqueryutils.h: New files, implement 3 methods for each
11735 query type: parse_query, parse_response, and set. Probably need an
11738 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11740 * gst/elements/gstfilesink.c (gst_filesink_query2):
11741 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11742 query_types, and formats methods.
11744 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11745 (gst_pad_set_query2_function): New functions.
11746 (gst_real_pad_init): Set query2_default as the default query2
11747 function. Basically just dispatches to internally linked pads.
11751 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11752 without using the atomic operations. Only one thread can possibly
11753 be accessing the data at this point. Changed so as to avoid
11754 gst_atomic operations.
11756 2005-05-06 Wim Taymans <wim@fluendo.com>
11758 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11759 Also set caps if we use the fallback buffer alloc.
11761 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11763 * docs/gst/Makefile.am:
11764 * docs/gst/gstreamer-docs.sgml:
11765 * docs/gst/gstreamer-sections.txt:
11766 * docs/gst/tmpl/gstatomic.sgml:
11767 * docs/gst/tmpl/gstmemchunk.sgml:
11768 * testsuite/elements/struct_i386.h:
11769 * win32/GStreamer.vcproj:
11771 Purge GstAtomic stuff from docs and win32 makefiles as well
11773 2005-05-06 Wim Taymans <wim@fluendo.com>
11775 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11776 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11777 * gst/gstpad.c: (gst_pad_peer_get_caps):
11778 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11779 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11780 (gst_queue_src_activate), (gst_queue_change_state):
11782 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11783 (intersect_caps_func):
11784 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11785 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11786 Some fixes for the peer_get_caps() change.
11788 2005-05-06 Wim Taymans <wim@fluendo.com>
11790 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11791 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11792 (gst_basesink_activate):
11793 Actually do something with error codes returned from the push
11796 2005-05-06 Wim Taymans <wim@fluendo.com>
11798 * docs/design/part-element-sink.txt:
11799 * docs/design/part-element-source.txt:
11800 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11801 (gst_basesink_event), (gst_basesink_activate):
11802 * gst/base/gstbasesink.h:
11803 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11804 (gst_basesrc_activate):
11805 * gst/base/gstbasesrc.h:
11806 * gst/gstelement.c: (gst_element_pads_activate):
11807 Some more documentation.
11808 Fixed scheduling decision in _pads_activate().
11810 2005-05-05 Andy Wingo <wingo@pobox.com>
11812 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11815 2005-05-05 Wim Taymans <wim@fluendo.com>
11817 * gst/base/Makefile.am:
11818 * gst/base/gstbasesink.h:
11819 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11820 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11821 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11822 (gst_collectpads_class_init), (gst_collectpads_init),
11823 (gst_collectpads_finalize), (gst_collectpads_new),
11824 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11825 (find_pad), (gst_collectpads_remove_pad),
11826 (gst_collectpads_is_active), (gst_collectpads_collect),
11827 (gst_collectpads_collect_range), (gst_collectpads_start),
11828 (gst_collectpads_stop), (gst_collectpads_peek),
11829 (gst_collectpads_pop), (gst_collectpads_available),
11830 (gst_collectpads_read), (gst_collectpads_flush),
11831 (gst_collectpads_chain):
11832 * gst/base/gstcollectpads.h:
11833 * gst/elements/Makefile.am:
11834 * gst/elements/gstelements.c:
11835 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11836 (gst_fakesink_get_times), (gst_fakesink_event),
11837 (gst_fakesink_preroll), (gst_fakesink_render):
11838 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11839 (gst_filesink_init), (gst_filesink_set_location),
11840 (gst_filesink_open_file), (gst_filesink_close_file),
11841 (gst_filesink_pad_query), (gst_filesink_event),
11842 (gst_filesink_render), (gst_filesink_change_state):
11843 * gst/elements/gstfilesink.h:
11844 Added object to help in making collect pad based elements.
11846 Make event function in sink baseclass return gboolean.
11848 2005-05-05 Wim Taymans <wim@fluendo.com>
11850 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11851 (gst_bin_get_by_name):
11853 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11854 (gst_clock_finalize):
11855 * gst/gstdata.c: (gst_data_replace):
11857 * gst/gstelement.c: (gst_element_request_pad),
11858 (gst_element_pads_activate):
11859 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11860 (gst_object_unref):
11861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11862 (gst_pad_set_checkgetrange_function),
11863 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11864 (gst_pad_check_pull_range), (gst_pad_pull_range),
11865 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11866 (gst_pad_pause_task), (gst_pad_stop_task):
11867 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11868 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11869 Fix name lookup in GstBin.
11870 Added _data_replace() function and _buffer_replace()
11871 Use finalize method to clean up clock.
11872 Fix refcounting on request pads.
11873 Fix pad schedule mode error.
11874 Some more object refcounting debug info,
11877 2005-05-04 Andy Wingo <wingo@pobox.com>
11879 * check/Makefile.am:
11880 * docs/gst/tmpl/gstatomic.sgml:
11881 * docs/gst/tmpl/gstplugin.sgml:
11882 * gst/base/gstbasesink.c: (gst_basesink_activate):
11883 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11884 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11885 (gst_basesrc_query), (gst_basesrc_set_property),
11886 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11887 (gst_basesrc_activate):
11888 * gst/base/gstbasesrc.h:
11889 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11890 (gst_base_transform_src_activate):
11891 * gst/elements/gstelements.c:
11892 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11893 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11894 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11895 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11896 (gst_type_find_element_checkgetrange),
11897 (gst_type_find_element_activate):
11898 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11899 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11900 (gst_caps_load_thyself):
11901 * gst/gstelement.c: (gst_element_pads_activate),
11902 (gst_element_save_thyself), (gst_element_restore_thyself):
11903 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11904 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11906 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11907 (gst_xml_parse_file), (gst_xml_parse_memory),
11908 (gst_xml_get_element), (gst_xml_make_element):
11909 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11910 (_file_index_id_save_xml), (gst_file_index_commit):
11911 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11912 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11914 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11915 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11916 * tools/gst-complete.c: (main):
11917 * tools/gst-compprep.c: (main):
11918 * tools/gst-inspect.c: (print_element_properties_info):
11919 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11920 * tools/gst-xmlinspect.c: (print_element_properties):
11923 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11925 * gst/gstplugin.c: (gst_plugin_check_module),
11926 (gst_plugin_check_file), (gst_plugin_load_file):
11927 apply patch from #172526 to make register work on MacOSX
11929 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11931 * docs/gst/tmpl/gstconfig.sgml:
11932 * gst/gstconfig.h.in:
11933 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11934 * testsuite/debug/printf_extension.c: (main):
11935 Do not use GST_PTR_FORMAT on pointers to types with
11936 sizeof < sizeof(gpointer). Fixes test on 64-bit
11937 * testsuite/elements/property.h:
11938 use correct printf format
11940 2005-05-02 Wim Taymans <wim@fluendo.com>
11942 * docs/design/draft-push-pull.txt:
11943 * docs/design/draft-query.txt:
11944 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11945 (gst_basesrc_start):
11946 Added draft for new query API.
11947 Added draft for better selecting scheduling methods.
11948 Make basesrc ignore length if the subclass does not support
11951 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11954 possible fixes for automake-1.5 - _LIBADD is reserved
11956 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11958 * docs/faq/Makefile.am:
11959 * docs/manual/Makefile.am:
11960 * docs/manuals.mak:
11961 * docs/pwg/Makefile.am:
11963 possible fixes for automake-1.5
11965 2005-04-28 Wim Taymans <wim@fluendo.com>
11967 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11968 (gst_basesink_pad_getcaps), (gst_basesink_init),
11969 (gst_basesink_do_sync):
11970 * gst/gstclock.c: (gst_clock_entry_new):
11971 * gst/gstevent.c: (gst_event_discont_get_value):
11972 * gst/gstpipeline.c: (pipeline_bus_handler),
11973 (gst_pipeline_change_state):
11974 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11975 Better debugging of clocking info.
11976 Allow NULL values when getting discont values.
11978 2005-04-27 Wim Taymans <wim@fluendo.com>
11980 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11981 * check/gst/gstpad.c: (gst_pad_suite):
11982 Increase timeout for checks.
11984 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11986 * check/Makefile.am:
11987 fix the broken rule for cleanup. Apparently this rule is
11988 only needed on FC2, so maybe this warrants further autotool
11991 2005-04-26 Wim Taymans <wim@fluendo.com>
11993 * gst/gsttrashstack.h:
11994 Ooohh. a nasty one! After having a failed pop() from the stack,
11995 it's possible that the stack is empty. In that case, don't
11996 follow the NULL pointer.
11998 2005-04-25 Wim Taymans <wim@fluendo.com>
12000 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12001 (gst_pad_set_checkgetrange_function),
12002 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12003 (gst_pad_check_pull_range), (gst_pad_pull_range),
12004 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12005 (gst_pad_pause_task), (gst_pad_stop_task):
12006 * gst/gstplugin.c: (gst_plugin_load):
12008 Remove gst_library_load as it does more harm than good with
12009 the new g_module flags.
12010 Revert bogus caps template check in pad linking, pad caps
12011 are important when linking not the template, which is more
12012 general than the current caps.
12014 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12016 * gst/autoplug/.cvsignore:
12017 * gst/autoplug/Makefile.am:
12018 * gst/autoplug/gstsearchfuncs.c:
12019 * gst/autoplug/gstsearchfuncs.h:
12020 * gst/autoplug/gstspider.c:
12021 * gst/autoplug/gstspider.h:
12022 * gst/autoplug/gstspideridentity.c:
12023 * gst/autoplug/gstspideridentity.h:
12024 * gst/autoplug/spidertest.c:
12027 2005-04-25 Wim Taymans <wim@fluendo.com>
12029 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12030 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12031 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12032 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12034 Added stubs for unimplemented functions.
12036 2005-04-24 David Schleef <ds@schleef.org>
12038 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12041 2005-04-24 David Schleef <ds@schleef.org>
12043 Convert everything from GstAtomicInt to g_atomic_int_*, and
12048 * gst/gstatomic_impl.h:
12056 * gst/gstdata_private.h:
12060 * gst/gstmessage.c:
12063 * gst/gststructure.c:
12064 * gst/gststructure.h:
12065 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12068 2005-04-24 David Schleef <ds@schleef.org>
12070 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12071 make the regressions tests work. Remove some code that is no
12073 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12074 Disable warning for pads without templates.
12076 2005-04-24 David Schleef <ds@schleef.org>
12078 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12079 functions that handle filtered links.
12080 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12082 * gst/gstutils.c: Fix/remove utility functions that handle
12085 * gst/gstvalue.c: Add serialization/deserialization of caps
12086 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12087 requires fixing so that the filter caps notation creates
12088 a capsfilter element and sets the filter_caps property. I
12089 think everyone probably wants to keep the shorthand notation.
12090 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12091 * docs/gst/tmpl/gstpad.sgml:
12093 * gst/elements/gstelements.c: Register capsfilter element.
12094 * gst/Makefile.am: fix spacing
12095 * docs/random/ds/0.9-suggested-changes: random
12097 2005-04-23 David Schleef <ds@schleef.org>
12099 * gst/elements/Makefile.am:
12100 * gst/elements/gstcapsfilter.c: New element that acts like an
12101 identity, but filters caps. Will eventually replace filtered
12102 caps in pad linking.
12103 * gst/gstutils.c: (gst_element_create_all_pads): New function
12104 to create all the ALWAYS pads that are registered with an
12105 element class. This functionality should eventually be
12106 merged in with GstElement initialization.
12108 * testsuite/trigger/README: part of trigger test code that should
12109 have been checked in a long time ago.
12111 2005-04-23 David Schleef <ds@schleef.org>
12113 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12114 needed with new versions of libtool (nobody will confirm this),
12115 and hard to carry around.
12116 * gst/autoplug/Makefile.am:
12117 * gst/base/Makefile.am:
12118 * gst/elements/Makefile.am:
12119 * gst/indexers/Makefile.am:
12120 * gst/schedulers/Makefile.am:
12121 * libs/gst/bytestream/Makefile.am:
12122 * libs/gst/control/Makefile.am:
12123 * libs/gst/dataprotocol/Makefile.am:
12124 * libs/gst/getbits/Makefile.am:
12126 2005-04-21 Wim Taymans <wim@fluendo.com>
12128 * docs/design/draft-push-pull.txt:
12129 * docs/design/part-MT-refcounting.txt:
12130 * docs/design/part-TODO.txt:
12131 * docs/design/part-caps.txt:
12132 * docs/design/part-events.txt:
12133 * docs/design/part-gstbus.txt:
12134 * docs/design/part-gstpipeline.txt:
12135 * docs/design/part-messages.txt:
12136 * docs/design/part-push-pull.txt:
12137 * docs/design/part-query.txt:
12140 2005-04-21 Wim Taymans <wim@fluendo.com>
12142 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12143 (gst_message_new), (gst_message_new_error),
12144 (gst_message_new_warning), (gst_message_new_tag),
12145 (gst_message_new_state_changed), (gst_message_new_application),
12146 (gst_message_get_structure):
12147 * gst/gstmessage.h:
12148 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12149 (gst_structure_copy_conditional):
12150 Use parent refcount in GstMessage to ensure GstStructure
12152 Cleaned up headers a bit.
12155 2005-04-20 Wim Taymans <wim@fluendo.com>
12157 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12158 (gst_basesink_pad_getcaps), (gst_basesink_init),
12159 (gst_basesink_chain_unlocked):
12160 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12161 (gst_type_find_helper):
12162 * gst/elements/gsttypefindelement.c:
12163 (gst_type_find_element_have_type), (gst_type_find_element_init),
12164 (stop_typefinding), (gst_type_find_element_handle_event),
12165 (find_suggest), (gst_type_find_element_chain),
12166 (gst_type_find_element_checkgetrange),
12167 (gst_type_find_element_getrange), (do_typefind),
12168 (gst_type_find_element_activate):
12169 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12170 (gst_buffer_default_free), (gst_buffer_default_copy),
12171 (gst_buffer_set_caps):
12172 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12173 (gst_caps_replace):
12174 * gst/gstmessage.c: (gst_message_new),
12175 (gst_message_new_state_changed):
12176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12177 (gst_pad_set_checkgetrange_function),
12178 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12179 (gst_pad_set_caps), (gst_pad_check_pull_range),
12180 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12182 * gst/gsttypefind.c: (gst_type_find_register):
12183 Make gst_caps_replace() work like other _replace() functions.
12184 Use _caps_replace() where possible.
12185 Make sure _message_new() initialises its field.
12186 Add gst_static_pad_template_get_caps()
12189 2005-04-18 Andy Wingo <wingo@pobox.com>
12191 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12192 on the peer, not the pad. I think that was a typo. Pass an extra
12193 arg to see if random access is possible. Activate the pads as
12194 PULL_RANGE if possible.
12196 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12198 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12199 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12202 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12204 * docs/faq/using.xml:
12205 Add note on gstreamer-properties (#154996).
12207 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12209 * docs/random/bbb/optional-properties:
12210 Some analysis on optional properties.
12212 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12214 * docs/gst/tmpl/gstelementfactory.sgml:
12215 * gst/gstelement.h:
12216 * gst/gstelementfactory.c: (gst_element_factory_init),
12217 (gst_element_factory_cleanup), (gst_element_register),
12218 (__gst_element_factory_add_static_pad_template),
12219 (gst_element_factory_get_static_pad_templates),
12220 (gst_element_factory_can_src_caps),
12221 (gst_element_factory_can_sink_caps):
12222 * gst/registries/Makefile.am:
12223 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12224 (gst_xml_registry_class_init), (gst_xml_registry_init),
12225 (gst_xml_registry_new), (gst_xml_registry_set_property),
12226 (gst_xml_registry_get_property), (get_time), (make_dir),
12227 (gst_xml_registry_get_perms_func),
12228 (plugin_times_older_than_recurse), (plugin_times_older_than),
12229 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12230 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12231 (add_to_char_array), (read_string), (read_uint), (read_enum),
12232 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12233 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12234 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12235 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12236 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12237 (gst_xml_registry_rebuild):
12238 * gst/registries/gstlibxmlregistry.h:
12239 * tools/gst-compprep.c: (main):
12240 * tools/gst-inspect.c: (print_pad_templates_info):
12241 * tools/gst-xmlinspect.c: (print_element_info):
12242 Use libxml2 for registry parsing, use staticpadtemplates in
12243 elementfactories. Makes gst_init() +/- 10x faster.
12245 2005-04-12 Wim Taymans <wim@fluendo.com>
12247 * gst/base/Makefile.am:
12248 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12249 (gst_basesink_pad_getcaps), (gst_basesink_init),
12250 (gst_basesink_event), (gst_basesink_change_state):
12251 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12252 (gst_basesrc_init), (gst_basesrc_query),
12253 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12254 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12255 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12256 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12257 (gst_basesrc_stop), (gst_basesrc_activate),
12258 (gst_basesrc_change_state):
12259 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12260 (helper_find_suggest), (gst_type_find_helper):
12261 * gst/base/gsttypefindhelper.h:
12262 * gst/elements/Makefile.am:
12263 * gst/elements/gstelements.c:
12264 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12265 (gst_fakesink_get_times), (gst_fakesink_event),
12266 (gst_fakesink_preroll), (gst_fakesink_render):
12267 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12268 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12269 (gst_fakesrc_get_property), (gst_fakesrc_create),
12270 (gst_fakesrc_start), (gst_fakesrc_stop):
12271 * gst/elements/gstfakesrc.h:
12272 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12273 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12274 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12275 (gst_filesrc_create_read), (gst_filesrc_create),
12276 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12277 (gst_filesrc_start):
12278 * gst/elements/gsttypefindelement.c:
12279 (gst_type_find_element_have_type), (gst_type_find_element_init),
12280 (start_typefinding), (stop_typefinding), (push_buffer_store),
12281 (gst_type_find_element_handle_event),
12282 (gst_type_find_element_chain),
12283 (gst_type_find_element_checkgetrange),
12284 (gst_type_find_element_getrange), (do_typefind),
12285 (gst_type_find_element_activate),
12286 (gst_type_find_element_change_state):
12287 * gst/elements/gsttypefindelement.h:
12288 * gst/gstpipeline.c: (pipeline_bus_handler):
12289 Added typefind helper.
12290 Small preroll fix in the base sink.
12291 Disable typefind code in basesrc.
12292 Crude port of typefindelement.
12296 2005-04-11 Wim Taymans <wim@fluendo.com>
12298 * check/gst/gstbus.c: (gstbus_suite):
12299 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12300 * check/gstcheck.h:
12301 Fix up the timeout so that the test does not fail.
12303 2005-04-06 Wim Taymans <wim@fluendo.com>
12306 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12307 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12308 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12309 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12310 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12311 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12312 (gst_basesrc_stop), (gst_basesrc_activate),
12313 (gst_basesrc_change_state), (basesrc_find_peek),
12314 (basesrc_find_suggest), (gst_basesrc_type_find):
12315 * gst/base/gstbasesrc.h:
12316 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12317 (gst_filesrc_class_init), (gst_filesrc_init),
12318 (gst_filesrc_finalize), (gst_filesrc_set_location),
12319 (gst_filesrc_set_property), (gst_filesrc_get_property),
12320 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12321 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12322 (gst_filesrc_create_read), (gst_filesrc_create),
12323 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12324 * gst/elements/gstfilesrc.h:
12325 * gst/gstelement.c: (gst_element_get_state_func),
12326 (gst_element_lost_state), (gst_element_pads_activate):
12327 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12328 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12329 (gst_pad_pull_range):
12331 More work on the generic source base class, implement seeking,
12333 Make filesrc extend the base source class.
12334 Added gst_pad_set_checkgetrange_function to GstPad.
12336 2005-04-06 Andy Wingo <wingo@pobox.com>
12338 * pkgconfig/gstreamer-base.pc.in:
12339 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12341 * pkgconfig/Makefile.am:
12342 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12344 2005-04-04 Wim Taymans <wim@fluendo.com>
12346 * gst/base/Makefile.am:
12348 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12349 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12350 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12351 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12352 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12353 (gst_basesrc_base_init), (gst_basesrc_class_init),
12354 (gst_basesrc_init), (gst_basesrc_get_formats),
12355 (gst_basesrc_get_query_types), (gst_basesrc_query),
12356 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12357 (gst_basesrc_set_property), (gst_basesrc_get_property),
12358 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12359 (gst_basesrc_loop), (gst_basesrc_activate),
12360 (gst_basesrc_change_state):
12361 * gst/base/gstbasesrc.h:
12362 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12363 (gst_fakesrc_class_init), (gst_fakesrc_init),
12364 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12365 (gst_fakesrc_get_property), (gst_fakesrc_create):
12366 * gst/elements/gstfakesrc.h:
12367 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12368 (gst_filesrc_open_file), (gst_filesrc_loop),
12369 (gst_filesrc_activate), (filesrc_find_peek),
12370 (gst_filesrc_type_find):
12371 Made base source class, make fakesrc extend it.
12372 Add comments to basesink class.
12373 Some filesrc cleanup.
12375 2005-03-31 David Schleef <ds@schleef.org>
12377 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12378 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12379 expected to link against libgstreamer.
12380 * gst/base/Makefile.am: link against libgstreamer
12381 * gst/elements/Makefile.am: same
12383 2005-03-31 Andy Wingo <wingo@pobox.com>
12385 * tests/instantiate/Makefile.am:
12386 * tests/instantiate/caps.c: Add test to test speed of caps copy
12389 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12390 GMemChunk to be fair.
12392 * gst/gsttrashstack.h: Remove warning about using the fallback
12393 trash stack implementation, it's still faster than malloc.
12395 2005-03-30 Andy Wingo <wingo@pobox.com>
12397 * tests/complexity.c: Add a copyright.
12399 2005-03-31 Wim Taymans <wim@fluendo.com>
12401 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12402 (gst_base_transform_class_init), (gst_base_transform_init),
12403 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12404 (gst_base_transform_get_property),
12405 (gst_base_transform_sink_activate),
12406 (gst_base_transform_src_activate),
12407 (gst_base_transform_change_state):
12408 * gst/base/gstbasetransform.h:
12409 * gst/elements/gstidentity.c: (gst_identity_class_init),
12410 (gst_identity_event), (gst_identity_check_perfect),
12411 (gst_identity_transform), (gst_identity_start),
12412 (gst_identity_stop):
12413 Added start/stop methods to transform base class so subclasses
12414 don't need to deal with state changes even.
12416 2005-03-31 Wim Taymans <wim@fluendo.com>
12418 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12419 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12421 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12422 (gst_pad_pull_range):
12423 Added rate to the discont event to prepare for variable speed
12424 and reverse playback.
12426 2005-03-29 David Schleef <ds@schleef.org>
12429 * testsuite/trigger/Makefile.am:
12430 * testsuite/trigger/trigger.c: A little example program to show
12431 how trigger-based elements can work.
12433 2005-03-29 Wim Taymans <wim@fluendo.com>
12435 * gst/base/Makefile.am:
12437 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12438 (gst_basesink_base_init), (gst_basesink_class_init),
12439 (gst_basesink_pad_getcaps), (gst_basesink_init),
12440 (gst_basesink_activate), (gst_basesink_change_state):
12441 * gst/base/gstbasesink.h:
12442 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12443 (gst_base_transform_base_init), (gst_base_transform_finalize),
12444 (gst_base_transform_class_init), (gst_base_transform_init),
12445 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12446 (gst_base_transform_event), (gst_base_transform_getrange),
12447 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12448 (gst_base_transform_set_property),
12449 (gst_base_transform_get_property),
12450 (gst_base_transform_sink_activate),
12451 (gst_base_transform_src_activate),
12452 (gst_base_transform_change_state):
12453 * gst/base/gstbasetransform.h:
12454 * gst/elements/gstidentity.c: (gst_identity_finalize),
12455 (gst_identity_class_init), (gst_identity_init),
12456 (gst_identity_event), (gst_identity_check_perfect),
12457 (gst_identity_transform), (gst_identity_set_property),
12458 (gst_identity_get_property), (gst_identity_change_state):
12459 * gst/elements/gstidentity.h:
12460 * gst/gstelement.c: (gst_element_get_state_func),
12461 (gst_element_lost_state), (gst_element_pads_activate):
12462 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12463 (gst_pad_check_pull_range), (gst_pad_pull_range):
12465 Simplify pad activation.
12466 Added function to check if pull_range can be performed.
12467 Error out when pulling inactive or flushing pads.
12468 Removed const from refcounted types as it does not make sense.
12469 Simplify pad templates in basesink
12470 Added base class for simple 1-to-1 transforms.
12471 Make identity subclass the base transform.
12473 2005-03-29 Andy Wingo <wingo@pobox.com>
12475 * docs/libs/gstreamer-libs-overrides.txt:
12476 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12477 really don't understand what's going on, but like whatever. I want
12480 * docs/gst/Makefile.am:
12481 * docs/libs/Makefile.am: Dist the overrides files.
12483 * check/Makefile.am (clean-local): Remove .libs directories.
12485 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12486 elements to EXTRA_DIST, so po/ files are happy.
12488 * po/POTFILES.in: Er, remove it here.
12490 * po/POTFILES: Remove gstspider.c.
12492 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12494 * docs/libs/gstreamer-libs-docs.sgml:
12495 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12498 * tests/complexity.c (main): Set the length of the preroll queue
12499 on the sinks to prevent a lockup.
12501 * libs/gst/dataprotocol/Makefile.am:
12502 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12503 the same as the one in check/gst-libs/gdp.c.
12505 * po/, docs/gst/: Commit automatic changes to docs and po files.
12507 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12508 the versioned libgstbase.
12510 * check/Makefile.am: Depend on an unversioned gst-register, seems
12511 to make autoconf happier.
12513 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12515 2005-03-28 Wim Taymans <wim@fluendo.com>
12518 * docs/design/part-gstelement.txt:
12519 * docs/design/part-negotiation.txt:
12520 * docs/design/part-preroll.txt:
12521 * docs/design/part-scheduling.txt:
12522 * docs/design/part-states.txt:
12524 * gst/base/Makefile.am:
12526 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12527 (gst_basesink_base_init), (gst_basesink_class_init),
12528 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12529 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12530 (gst_basesink_set_pad_functions),
12531 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12532 (gst_basesink_set_property), (gst_basesink_get_property),
12533 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12534 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12535 (gst_basesink_preroll_queue_push),
12536 (gst_basesink_preroll_queue_empty),
12537 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12538 (gst_basesink_event), (gst_basesink_get_times),
12539 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12540 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12541 (gst_basesink_loop), (gst_basesink_activate),
12542 (gst_basesink_change_state):
12543 * gst/base/gstbasesink.h:
12544 * gst/elements/Makefile.am:
12545 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12546 (gst_fakesink_class_init), (gst_fakesink_init),
12547 (gst_fakesink_set_property), (gst_fakesink_get_property),
12548 (gst_fakesink_get_times), (gst_fakesink_event),
12549 (gst_fakesink_preroll), (gst_fakesink_render),
12550 (gst_fakesink_change_state):
12551 * gst/elements/gstfakesink.h:
12552 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12553 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12554 * gst/gstelement.c: (gst_element_add_pad),
12555 (gst_element_get_state_func), (gst_element_abort_state),
12556 (gst_element_commit_state), (gst_element_lost_state),
12557 (gst_element_set_state), (gst_element_pads_activate):
12558 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12559 * gst/gstpipeline.c: (gst_pipeline_send_event),
12560 (gst_pipeline_change_state):
12561 Added state change code.
12562 Added/updated docs.
12563 Added sink base class, make fakesink extend the base class.
12564 Small cleanups in GstPipeline.
12566 2005-03-26 David Schleef <ds@schleef.org>
12568 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12569 is broken and should be implemented in a different library.
12570 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12571 * gst/gst.h: remove gstcpu.h
12572 * gst/gstcpu.c: remove
12573 * gst/gstcpu.h: remove
12574 * gst/Makefile.am.future: Remove this file. It's ancient.
12576 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12578 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12579 (gst_bin_send_event):
12580 Add default event/set_manager handlers. The set_manager handler
12581 takes care that the manager is distributed over kids that were
12582 already in the bin before the manager was set. The event handler
12583 is a utility virtual function that sends the event over all sinks,
12584 so that gst_element_send_event (bin, event); has the expected
12586 * gst/gstpad.c: (gst_pad_event_default):
12587 Re-install default event handling for discontinuities, so that
12588 seeking works without requiring hacks in applications or extra
12590 * gst/gstpipeline.c: (gst_pipeline_class_init),
12591 (gst_pipeline_send_event):
12592 Half hack, half utility: set a pipeline to PAUSED for seek events,
12593 since that is the only way we can guarantee a/v sync. Means that
12594 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12595 and it "just works".
12597 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12599 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12600 Lock/unlock mismatch.
12602 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12604 * docs/faq/gst-uninstalled:
12605 add gst-plugins-base
12606 * docs/gst/Makefile.am:
12607 don't error out until docs are fixed
12608 * docs/gst/gstreamer.types:
12611 2005-03-22 Wim Taymans <wim@fluendo.com>
12613 * check/Makefile.am:
12614 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12615 * gst/gststructure.c: (gst_structure_set_valist),
12616 (gst_structure_copy_conditional):
12617 Activated more tests.
12618 Added message test.
12619 Added G_TYPE_POINTER to GstStructure.
12622 2005-03-22 Wim Taymans <wim@fluendo.com>
12624 * docs/design/part-TODO.txt:
12625 * docs/design/part-events.txt:
12626 * docs/design/part-gstbin.txt:
12627 * docs/design/part-gstbus.txt:
12628 * docs/design/part-gstpipeline.txt:
12629 * docs/design/part-messages.txt:
12631 * gst/gstmessage.c:
12634 2005-03-21 Wim Taymans <wim@fluendo.com>
12636 * gst/gstbus.c: (gst_bus_post):
12637 Fix copy-and-paste error.
12639 2005-03-21 Wim Taymans <wim@fluendo.com>
12641 * check/Makefile.am:
12643 * gst/elements/Makefile.am:
12644 * gst/elements/gstelements.c:
12645 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12646 (gst_fakesink_event), (gst_fakesink_chain):
12647 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12648 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12649 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12650 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12651 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12652 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12653 (gst_fakesrc_loop), (gst_fakesrc_activate),
12654 (gst_fakesrc_change_state):
12655 * gst/elements/gstfakesrc.h:
12656 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12657 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12658 (gst_filesrc_open_file), (gst_filesrc_loop),
12659 (gst_filesrc_activate), (gst_filesrc_change_state),
12660 (filesrc_find_peek), (filesrc_find_suggest),
12661 (gst_filesrc_type_find):
12662 * gst/elements/gstidentity.c: (gst_identity_finalize),
12663 (gst_identity_class_init), (gst_identity_init),
12664 (gst_identity_proxy_getcaps), (identity_queue_push),
12665 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12666 (gst_identity_getrange), (gst_identity_chain),
12667 (gst_identity_sink_loop), (gst_identity_src_loop),
12668 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12669 (gst_identity_set_property), (gst_identity_get_property),
12670 (gst_identity_change_state):
12671 * gst/elements/gstidentity.h:
12672 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12673 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12674 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12675 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12676 (gst_tee_sink_activate):
12677 * gst/elements/gsttee.h:
12678 * gst/gst.c: (gst_register_core_elements), (init_post):
12680 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12681 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12682 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12683 (gst_bin_change_state):
12685 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12686 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12687 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12688 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12689 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12690 (bus_watch_callback), (bus_watch_destroy),
12691 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12692 (poll_timeout), (gst_bus_poll):
12696 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12697 (gst_element_post_message), (gst_element_message_full),
12698 (gst_element_get_state_func), (gst_element_get_state),
12699 (gst_element_abort_state), (gst_element_commit_state),
12700 (gst_element_lost_state), (gst_element_set_state),
12701 (gst_element_pads_activate), (gst_element_change_state),
12702 (gst_element_dispose), (gst_element_set_manager_func),
12703 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12704 (gst_element_set_manager), (gst_element_get_manager),
12705 (gst_element_set_bus), (gst_element_get_bus),
12706 (gst_element_set_scheduler), (gst_element_get_scheduler):
12707 * gst/gstelement.h:
12708 * gst/gstevent.c: (gst_event_new_segment_seek),
12709 (gst_event_new_flush):
12711 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12712 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12713 (gst_message_new_eos), (gst_message_new_error),
12714 (gst_message_new_warning), (gst_message_new_tag),
12715 (gst_message_new_state_changed), (gst_message_new_application),
12716 (gst_message_get_structure), (gst_message_parse_tag),
12717 (gst_message_parse_state_changed), (gst_message_parse_error),
12718 (gst_message_parse_warning):
12719 * gst/gstmessage.h:
12720 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12721 (gst_real_pad_set_property), (gst_pad_set_active),
12722 (gst_pad_is_active), (gst_pad_set_blocked_async),
12723 (gst_pad_set_blocked), (gst_pad_is_blocked),
12724 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12725 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12726 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12727 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12728 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12729 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12730 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12731 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12732 (gst_pad_set_caps), (gst_pad_configure_sink),
12733 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12734 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12735 (gst_real_pad_dispose), (gst_real_pad_finalize),
12736 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12737 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12738 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12740 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12741 (pipeline_bus_handler), (gst_pipeline_change_state),
12742 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12743 * gst/gstpipeline.h:
12745 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12746 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12747 (gst_queue_link_src), (gst_queue_bufferalloc),
12748 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12749 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12750 (gst_queue_loop), (gst_queue_handle_src_event),
12751 (gst_queue_handle_src_query), (gst_queue_src_activate),
12752 (gst_queue_change_state):
12754 * gst/gstscheduler.c: (gst_scheduler_init),
12755 (gst_scheduler_dispose), (gst_scheduler_create_task),
12756 (gst_scheduler_factory_create):
12757 * gst/gstscheduler.h:
12758 * gst/gststructure.c: (gst_structure_get_type),
12759 (gst_structure_copy_conditional):
12760 * gst/gststructure.h:
12761 * gst/gsttaginterface.h:
12762 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12763 (gst_task_init), (gst_task_dispose), (gst_task_create),
12764 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12770 * gst/schedulers/Makefile.am:
12771 * gst/schedulers/cothreads_compat.h:
12772 * gst/schedulers/entryscheduler.c:
12773 * gst/schedulers/faircothreads.c:
12774 * gst/schedulers/faircothreads.h:
12775 * gst/schedulers/fairscheduler.c:
12776 * gst/schedulers/gstbasicscheduler.c:
12777 * gst/schedulers/gstoptimalscheduler.c:
12778 * gst/schedulers/gthread-cothreads.h:
12779 * gst/schedulers/threadscheduler.c:
12780 (gst_thread_scheduler_task_get_type),
12781 (gst_thread_scheduler_task_class_init),
12782 (gst_thread_scheduler_task_init),
12783 (gst_thread_scheduler_task_start),
12784 (gst_thread_scheduler_task_stop),
12785 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12786 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12787 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12788 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12790 * libs/gst/Makefile.am:
12791 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12792 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12793 (gst_file_pad_parent_set):
12794 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12795 (gst_dp_event_from_packet):
12796 * tests/complexity.c: (main):
12797 * tests/mass_elements.c: (main):
12798 * testsuite/states/locked.c: (message_received), (main):
12799 * testsuite/states/parent.c: (main):
12800 * tools/gst-inspect.c: (print_element_flag_info),
12801 (print_implementation_info), (print_pad_info):
12802 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12804 * tools/gst-md5sum.c: (event_loop), (main):
12805 * tools/gst-typefind.c: (main):
12806 * tools/gst-xmlinspect.c: (print_element_info):
12808 Added GstBus for mainloop integration.
12809 Added GstMessage for sending notifications on the bus.
12810 Added GstTask as an abstraction for pipeline entry points.
12812 Removed Schedulers.
12813 Simplified GstQueue for multithreaded core.
12814 Made _link threadsafe, removed old capsnego.
12815 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12816 Added pad blocking functions.
12817 Reworked scheduling functions in GstPad to prepare for
12818 scheduling updates soon.
12819 Moved events out of data stream.
12820 Simplified GstEvent types.
12821 Added return values to push/pull.
12822 Removed clocking from GstElement.
12823 Added prototypes for state change function for next merge.
12824 Removed iterate from bins and state change management.
12825 Fixed some elements, disabled others for now.
12826 Fixed -inspect and -launch.
12827 Added check for GstBus.
12829 2005-03-10 Wim Taymans <wim@fluendo.com>
12831 * docs/design/part-MT-refcounting.txt:
12832 * docs/design/part-clocks.txt:
12833 * docs/design/part-gstelement.txt:
12834 * docs/design/part-gstobject.txt:
12835 * docs/design/part-standards.txt:
12836 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12837 (gst_bin_remove_func), (gst_bin_remove):
12841 * testsuite/clock/clock1.c: (main):
12842 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12844 * testsuite/dlopen/loadgst.c: (do_test):
12845 * testsuite/refcounting/bin.c: (add_remove_test1),
12846 (add_remove_test2), (main):
12847 * testsuite/refcounting/element.c: (main):
12848 * testsuite/refcounting/element_pad.c: (main):
12849 * testsuite/refcounting/pad.c: (main):
12850 * tools/gst-launch.c: (sigint_handler_sighandler):
12851 * tools/gst-typefind.c: (main):
12853 Added doc about clock.
12854 removed gst_bin_iterate_recurse_up(), marked methods
12856 Fix more testsuites.
12858 2005-03-09 Wim Taymans <wim@fluendo.com>
12860 * gst/gstpad.c: (gst_pad_get_direction),
12861 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12862 (gst_pad_collect_valist):
12863 * testsuite/bins/interface.c: (main):
12864 * testsuite/caps/audioscale.c: (test_caps):
12865 * testsuite/caps/caps.c: (test1), (test2), (test3):
12866 * testsuite/caps/deserialize.c: (main):
12867 * testsuite/caps/enumcaps.c: (main):
12868 * testsuite/caps/filtercaps.c: (main):
12869 * testsuite/caps/intersect2.c: (main):
12870 * testsuite/caps/random.c: (main):
12871 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12872 * testsuite/caps/sets.c: (check_caps):
12873 * testsuite/caps/simplify.c: (check_caps), (main):
12874 * testsuite/caps/subtract.c: (check_caps):
12875 Fix _pad_get_direction wrt ghostpads.
12876 Fix caps testsuite.
12878 2005-03-09 Wim Taymans <wim@fluendo.com>
12880 * check/Makefile.am:
12881 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12882 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12883 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12884 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12885 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12886 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12887 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12888 (bin_element_is_sink), (gst_bin_iterate_sinks),
12889 (gst_bin_iterate_all_by_interface):
12891 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12892 (gst_element_change_state), (gst_element_dispose),
12893 (gst_element_finalize), (gst_element_set_loop_function):
12894 * gst/gstelement.h:
12895 * gst/gstiterator.c: (find_custom_fold_func):
12896 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12897 (gst_pad_collectv), (gst_pad_collect_valist),
12898 (gst_pad_template_new):
12899 * gst/gstpipeline.c: (gst_pipeline_class_init),
12900 (gst_pipeline_dispose), (gst_pipeline_set_property),
12901 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12902 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12903 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12905 * gst/schedulers/entryscheduler.c:
12906 * gst/schedulers/gstbasicscheduler.c:
12907 (gst_basic_scheduler_cothreaded_chain),
12908 (gst_basic_scheduler_chain_add_element):
12909 * testsuite/bins/interface.c: (main):
12911 Added GstSystemClock test.
12912 Implemented clock distribution code in GstBin.
12913 Implemented iterate sinks method for future use.
12914 Rearranged gstelement.h
12915 Fix GstIterator comparison bug.
12916 Moved some code to GstPipeline, mostly clocking related.
12918 2005-03-09 Wim Taymans <wim@fluendo.com>
12921 * gst/gst_private.h:
12922 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12923 (gst_bin_remove_func), (gst_bin_remove),
12924 (gst_bin_get_by_name_recurse_up):
12925 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12926 (gst_clock_id_compare_func), (gst_clock_id_wait),
12927 (gst_clock_id_wait_async), (gst_clock_init),
12928 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12929 * gst/gstelement.h:
12930 * gst/gstinfo.c: (_gst_debug_init):
12932 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12933 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12935 Bump version number, we're now 0.9.0
12936 Add future debugging category.
12937 Fix NULL _unref() in _get_by_name_recurse_up
12938 Rearrange gstpad.h.
12941 2005-03-08 Wim Taymans <wim@fluendo.com>
12943 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12944 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12945 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12946 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12947 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12948 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12949 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12950 * gst/elements/gstidentity.c: (gst_identity_class_init):
12951 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12952 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12953 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12954 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12955 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12957 * gst/gstelement.c: (gst_element_class_init),
12958 (gst_element_base_class_init), (gst_element_init),
12959 (gst_element_get_random_pad), (gst_element_wait_state_change),
12960 (gst_element_change_state), (gst_element_dispose),
12961 (gst_element_finalize), (gst_element_set_loop_function):
12962 * gst/gstelement.h:
12963 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12964 * gst/gstthread.c: (gst_thread_class_init),
12965 (gst_thread_release_children_locks), (gst_thread_change_state):
12966 * gst/schedulers/gstbasicscheduler.c:
12967 (gst_basic_scheduler_loopfunc_wrapper),
12968 (gst_basic_scheduler_chain_wrapper),
12969 (gst_basic_scheduler_src_wrapper),
12970 (gst_basic_scheduler_remove_element):
12971 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12972 Remove threadsafe properties. Fix elements because GObject
12973 complains when installing a property before declaring a
12974 set/get_property handler.
12975 Rearrange gstelement.h file, use STATE macros for state locks.
12976 Free mutexes in the finalize method instead of dispose.
12978 2005-03-08 Wim Taymans <wim@fluendo.com>
12980 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12981 * gst/gstthread.c: (gst_thread_release_children_locks):
12982 Added parentage check.
12983 Fix build og GstThread again.
12985 2005-03-08 Wim Taymans <wim@fluendo.com>
12987 * docs/design/part-MT-refcounting.txt:
12988 * docs/design/part-conventions.txt:
12989 * docs/design/part-gstobject.txt:
12990 * docs/design/part-relations.txt:
12991 * docs/design/part-standards.txt:
12992 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12993 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12994 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12995 (gst_bin_iterate_all_by_interface):
12998 * gst/gstelement.c: (gst_element_class_init),
12999 (gst_element_change_state), (gst_element_set_loop_function):
13000 * gst/gstelement.h:
13001 * gst/gstiterator.c:
13002 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13003 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13004 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13005 (gst_object_set_parent), (gst_object_unparent),
13006 (gst_object_check_uniqueness):
13008 Docs updates, clean up some headers.
13010 2005-03-07 Wim Taymans <wim@fluendo.com>
13012 * check/.cvsignore:
13013 * check/Makefile.am:
13014 * check/gst-libs/.cvsignore:
13015 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13016 * check/gst/.cvsignore:
13017 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13018 (START_TEST), (gstbus_suite), (main):
13019 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13020 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13021 (gst_data_suite), (main):
13022 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13023 (add_fold_func), (gstiterator_suite), (main):
13024 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13025 (thread_name_object), (thread_name_object_default),
13026 (gst_object_name_compare), (gst_object_suite), (main):
13027 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13028 (gst_pad_suite), (main):
13029 * check/gstcheck.c: (gst_check_log_message_func),
13030 (gst_check_log_critical_func), (gst_check_init):
13031 * check/gstcheck.h:
13032 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13033 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13036 2005-03-07 Wim Taymans <wim@fluendo.com>
13038 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13039 (gst_list_iterator_next), (gst_list_iterator_resync),
13040 (gst_list_iterator_free), (gst_iterator_new_list),
13041 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13042 (gst_iterator_free), (gst_iterator_push), (filter_next),
13043 (filter_resync), (filter_uninit), (filter_free),
13044 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13045 (gst_iterator_foreach), (find_custom_fold_func),
13046 (gst_iterator_find_custom):
13047 * gst/gstiterator.h:
13048 Added missing files.
13050 2005-03-07 Wim Taymans <wim@fluendo.com>
13054 * docs/design/part-MT-refcounting.txt:
13055 * docs/design/part-conventions.txt:
13056 * docs/design/part-gstobject.txt:
13057 * docs/design/part-relations.txt:
13058 * examples/mixer/mixer.c: (main):
13059 * examples/thread/thread.c: (eos), (main):
13061 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13062 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13063 (gst_spider_plug_from_srcpad):
13064 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13065 (gst_spider_identity_change_state),
13066 (gst_spider_identity_sink_loop_type_finding):
13067 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13068 * gst/elements/gstidentity.c: (gst_identity_init):
13069 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13070 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13071 * gst/elements/gsttypefindelement.c: (free_entry):
13074 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13075 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13076 (gst_bin_set_index), (gst_bin_set_element_sched),
13077 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13078 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13079 (gst_bin_iterate_elements), (iterate_child_recurse),
13080 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13081 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13082 (compare_interface), (gst_bin_get_by_interface),
13083 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13085 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13086 (gst_buffer_default_free), (gst_buffer_default_copy),
13087 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13088 (gst_buffer_create_sub):
13090 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13091 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13092 (gst_caps_unref), (gst_static_caps_get),
13093 (gst_caps_remove_and_get_structure), (gst_caps_append),
13094 (gst_caps_append_structure), (gst_caps_remove_structure),
13095 (gst_caps_copy_nth), (gst_caps_set_simple),
13096 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13097 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13098 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13099 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13100 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13101 (gst_caps_structure_figure_out_union),
13102 (gst_caps_switch_structures), (gst_caps_do_simplify),
13103 (gst_caps_replace), (gst_caps_from_string),
13104 (gst_caps_copy_conditional):
13106 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13107 (_gst_clock_id_free), (gst_clock_id_unref),
13108 (gst_clock_id_compare_func), (gst_clock_id_wait),
13109 (gst_clock_id_wait_async), (gst_clock_class_init),
13110 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13111 (gst_clock_get_time), (gst_clock_set_time_adjust),
13112 (gst_clock_set_property), (gst_clock_get_property):
13115 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13116 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13118 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13119 (gst_element_requires_clock), (gst_element_provides_clock),
13120 (gst_element_set_clock), (gst_element_clock_wait),
13121 (gst_element_wait), (gst_element_set_time_delay),
13122 (gst_element_is_indexable), (gst_element_add_pad),
13123 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13124 (pad_compare_name), (gst_element_get_static_pad),
13125 (gst_element_request_pad), (gst_element_get_request_pad),
13126 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13127 (gst_element_class_get_pad_template_list),
13128 (gst_element_class_get_pad_template), (gst_element_error_func),
13129 (gst_element_get_random_pad), (gst_element_get_event_masks),
13130 (gst_element_send_event), (gst_element_seek),
13131 (gst_element_get_query_types), (gst_element_query),
13132 (gst_element_get_formats), (gst_element_convert),
13133 (gst_element_is_locked_state), (gst_element_set_locked_state),
13134 (gst_element_sync_state_with_parent), (gst_element_change_state),
13135 (gst_element_finalize), (gst_element_yield),
13136 (gst_element_interrupt), (gst_element_set_scheduler),
13137 (gst_element_get_scheduler), (gst_element_set_loop_function):
13138 * gst/gstelement.h:
13140 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13141 (gst_format_get_by_nick), (gst_format_get_details),
13142 (gst_format_iterate_definitions):
13144 * gst/gstindex.c: (gst_index_gtype_resolver):
13147 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13148 (gst_mem_chunk_free):
13149 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13150 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13151 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13152 (gst_object_dispatch_properties_changed),
13153 (gst_object_set_name_default), (gst_object_set_name),
13154 (gst_object_get_name), (gst_object_set_name_prefix),
13155 (gst_object_get_name_prefix), (gst_object_set_parent),
13156 (gst_object_get_parent), (gst_object_unparent),
13157 (gst_object_check_uniqueness), (gst_object_save_thyself),
13158 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13159 (gst_object_set_property), (gst_object_get_property),
13160 (gst_object_get_path_string):
13162 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13163 (gst_real_pad_init), (gst_real_pad_get_property),
13164 (gst_pad_custom_new), (gst_pad_get_direction),
13165 (gst_pad_set_active), (gst_pad_is_active),
13166 (gst_pad_set_event_function), (gst_pad_is_linked),
13167 (gst_pad_link_free), (gst_pad_link_intersect),
13168 (gst_pad_link_fixate), (gst_pad_set_caps),
13169 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13170 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13171 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13172 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13173 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13174 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13175 (gst_pad_realize), (gst_pad_get_allowed_caps),
13176 (gst_real_pad_dispose), (gst_real_pad_finalize),
13177 (gst_pad_collectv), (gst_pad_collect_valist),
13178 (gst_pad_template_dispose), (gst_pad_template_new),
13179 (gst_pad_get_internal_links):
13181 * gst/gstpipeline.c: (gst_pipeline_dispose),
13182 (gst_pipeline_change_state):
13183 * gst/gstpipeline.h:
13185 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13186 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13187 * gst/gstpluginfeature.h:
13188 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13189 * gst/gstquery.c: (_gst_query_type_initialize),
13190 (gst_query_type_register), (gst_query_type_get_by_nick),
13191 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13193 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13194 * gst/gstscheduler.c: (gst_scheduler_add_element),
13195 (gst_scheduler_factory_create):
13196 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13197 (gst_structure_free), (gst_structure_set_name),
13198 (gst_structure_id_set_value), (gst_structure_set_value),
13199 (gst_structure_set_valist), (gst_structure_remove_field),
13200 (gst_structure_remove_fields),
13201 (gst_structure_remove_fields_valist),
13202 (gst_structure_remove_all_fields), (gst_structure_foreach),
13203 (gst_structure_map_in_place),
13204 (gst_caps_structure_fixate_field_nearest_int),
13205 (gst_caps_structure_fixate_field_nearest_double):
13206 * gst/gststructure.h:
13207 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13208 (gst_system_clock_init), (gst_system_clock_dispose),
13209 (gst_system_clock_async_thread),
13210 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13211 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13212 * gst/gstsystemclock.h:
13213 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13214 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13215 * gst/gsttaginterface.c:
13216 * gst/gstthread.c: (gst_thread_dispose),
13217 (gst_thread_release_children_locks), (gst_thread_change_state),
13218 (gst_thread_main_loop):
13219 * gst/gsttrashstack.h:
13220 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13222 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13223 (gst_element_request_pad), (gst_element_get_pad_from_template),
13224 (gst_element_request_compatible_pad),
13225 (gst_element_get_compatible_pad_filtered),
13226 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13227 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13228 (gst_element_link_many), (gst_element_link),
13229 (gst_element_link_pads), (gst_element_unlink_pads),
13230 (gst_element_unlink_many), (gst_element_unlink),
13231 (gst_pad_can_link_filtered), (gst_pad_can_link),
13232 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13233 (gst_object_default_error), (gst_bin_add_many),
13234 (gst_bin_remove_many), (gst_element_populate_std_props),
13235 (gst_element_class_install_std_props), (gst_buffer_merge),
13236 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13237 (link_fold_func), (gst_pad_proxy_setcaps):
13239 * gst/gstvalue.c: (gst_value_deserialize_string):
13240 * gst/parse/grammar.y:
13241 * gst/schedulers/gstbasicscheduler.c:
13242 (gst_basic_scheduler_cothreaded_chain),
13243 (gst_basic_scheduler_chain_recursive_add),
13244 (gst_basic_scheduler_pad_link):
13245 * gst/schedulers/gstoptimalscheduler.c:
13246 (get_group_schedule_function),
13247 (gst_opt_scheduler_state_transition),
13248 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13249 * libs/gst/bytestream/bytestream.c:
13250 * libs/gst/dataprotocol/dataprotocol.c:
13251 (gst_dp_header_from_buffer):
13254 * tests/threadstate/threadstate2.c: (eos):
13255 * tools/gst-compprep.c: (main):
13256 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13257 (print_pad_info), (print_children_info):
13258 * tools/gst-launch.c: (idle_func), (main):
13259 * tools/gst-md5sum.c: (idle_func), (main):
13260 * tools/gst-xmlinspect.c: (print_element_info):
13261 First THREADED backport attempt, focusing on adding locks and
13262 making sure the API is threadsafe. Needs more work. More docs
13265 2005-02-24 Andy Wingo <wingo@pobox.com>
13267 * tests/bench-complexity.scm:
13268 * tests/complexity.gnuplot: New files, good for running complexity
13271 * tests/Makefile.am:
13272 * tests/complexity.c: New test, sets up N elements, at each level
13273 teeing into M streams per element. Eeeenteresting.
13275 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13276 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13277 running bench-mass_elements.scm.
13279 * tests/bench-mass_elements.scm: New script, runs mass_elements
13280 for various numbers of identities, outputting the results to a
13281 file. Requires guile 1.6. Just for testing.
13283 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13285 * gst/schedulers/fairscheduler.c:
13286 compile with debug disabled
13288 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13291 hunting season on 0.9 is now OPEN