1 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
3 * docs/gst/gstreamer-sections.txt:
4 * docs/libs/tmpl/gstdataprotocol.sgml:
5 * docs/random/thomasvs/TODO:
10 2005-12-05 Andy Wingo <wingo@pobox.com>
12 patch by: Wim Taymans <wim@fluendo.com>
14 * libs/gst/base/gstbasetransform.c
15 (gst_base_transform_prepare_output_buf)
16 (gst_base_transform_buffer_alloc):
17 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18 alloc_buffer_and_set_caps.
20 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
21 set_caps on the source pad.
22 (gst_pad_alloc_buffer_and_set_caps): New function, does what
23 alloc_buffer used to do. Fixes #322874.
25 * docs/gst/gstreamer-sections.txt:
26 * docs/design/part-negotiation.txt:
27 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
30 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
32 patch by: Sebastien Moutte
35 * win32/common/config.h.in:
36 * win32/vs6/libgstcontroller.dsp:
39 2005-12-05 Wim Taymans <wim@fluendo.com>
41 * gst/gstcaps.c: (gst_caps_is_equal):
42 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
43 (gst_fake_src_create):
44 Back out previous code changes, leave doc updates, file bugs
47 2005-12-05 Wim Taymans <wim@fluendo.com>
49 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
50 (gst_fake_src_get_times), (gst_fake_src_create):
51 * plugins/elements/gstfakesrc.h:
54 2005-12-05 Wim Taymans <wim@fluendo.com>
56 * gst/gstcaps.c: (gst_caps_is_equal):
57 Comparing NULL against !NULL yields different caps, not a
60 2005-12-05 Wim Taymans <wim@fluendo.com>
63 Fix small typo in docs.
65 2005-12-05 Andy Wingo <wingo@pobox.com>
67 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
69 * gst/gst.c (init_post): remove hard-coded 0.9 location for
70 registries/plugins with a MAJORMINOR one.
71 (plugin_desc): Rename library from gstcoreleements to
72 staticelements. Fixes #323222.
74 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
76 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
77 Change debug category to 'collectpads' from 'collect_pads'
80 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
82 patch by: Sebastien Moutte
84 * libs/gst/controller/gstinterpolation.c:
85 use convert function for uint64/double
86 * win32/vs6/libgstcontroller.dsp:
89 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
91 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
92 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
94 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
95 add tests that seem to show that the guint64/gdouble conversions
98 2005-12-02 Wim Taymans <wim@fluendo.com>
100 * gst/gstregistry.c: (gst_registry_add_path):
102 * gst/gstregistryxml.c:
105 2005-12-02 Wim Taymans <wim@fluendo.com>
107 * gst/gstutils.c: (gst_util_uint64_scale_int64),
108 (gst_util_uint64_scale_int):
111 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
114 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
117 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
120 * win32/common/config.h:
121 * win32/vs6/gstreamer.dsw:
122 * win32/vs6/libgstcoreelements.dsp:
123 * win32/vs6/libgstelements.dsp:
124 renamed core elements plugin
126 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
128 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
130 do piece-wise major/minor comparison so 0.9 < 0.10
131 also allow .exe extensions for tools
133 2005-12-02 Michael Smith <msmith@fluendo.com>
136 Escape a % to make gtkdoc happier; bug 322958.
138 === release 0.9.7 ===
140 2005-12-01 <thomas (at) apestaart (dot) org>
143 releasing 0.9.7, "My Dog Has No Nose"
145 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
147 * common/gst-xmlinspect.py:
149 * docs/libs/tmpl/gstdataprotocol.sgml:
150 * docs/random/release:
169 * win32/common/config.h:
170 * win32/common/config.h.in:
171 * win32/vs6/gst_inspect.dsp:
172 * win32/vs6/gst_launch.dsp:
173 * win32/vs6/libgstbase.dsp:
174 * win32/vs6/libgstelements.dsp:
175 * win32/vs6/libgstreamer.dsp:
176 * win32/vs7/GStreamer.vcproj:
177 * win32/vs7/gst-inspect.vcproj:
178 * win32/vs7/gst-launch.vcproj:
179 * win32/vs7/libgstbase.vcproj:
180 bump GST_MAJORMINOR to 0.10
181 reset libtool version
183 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
187 Added Bulgarian translation by (Alexander Shopov)
189 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
191 * tests/check/gst/gstplugin.c:
194 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
196 * common/gst-xmlinspect.py:
197 * common/gtk-doc-plugins.mak:
200 * docs/gst/Makefile.am:
201 * docs/gst/gstreamer-docs.sgml:
202 * docs/gst/gstreamer-sections.txt:
203 * docs/gst/gstreamer.types:
204 * docs/gst/gstreamer.types.in:
205 * docs/plugins/Makefile.am:
206 * docs/plugins/gstreamer-plugins-docs.sgml:
207 * docs/plugins/gstreamer-plugins-sections.txt:
208 * docs/plugins/gstreamer-plugins.types:
209 * docs/plugins/inspect.stamp:
210 * docs/plugins/inspect/plugin-coreelements.xml:
211 * docs/plugins/inspect/plugin-coreindexers.xml:
212 * docs/plugins/scanobj-build.stamp:
214 * plugins/elements/Makefile.am:
215 * plugins/elements/gstelements.c:
216 * plugins/elements/gstfakesink.c:
217 * plugins/elements/gstfakesrc.c:
218 * plugins/elements/gstfilesink.c:
219 * plugins/elements/gstfilesrc.c:
220 * plugins/elements/gstqueue.c:
221 * plugins/indexers/Makefile.am:
222 * plugins/indexers/gstindexers.c:
223 document core plugins in a separate document just like all the
225 rename these plugins to something starting with core
227 2005-12-01 Andy Wingo <wingo@pobox.com>
229 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
230 padding here before, but it missed the commit.
232 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
234 * libs/gst/controller/gstinterpolation.c:
235 whitespace prices have crashed, we should feel free to use some now
236 use gst_guint64_to_gdouble
238 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
240 * libs/gst/controller/gstcontroller.c:
241 * libs/gst/controller/gsthelper.c:
242 * libs/gst/controller/gstinterpolation.c:
243 * libs/gst/controller/lib.c:
244 wrap config.h include
246 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
248 * docs/gst/gstreamer-sections.txt:
251 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
253 * plugins/elements/gstelements.c:
254 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
255 (gst_fd_sink__class_init), (gst_fd_sink__init),
256 (gst_fd_sink__chain), (gst_fd_sink__set_property),
257 (gst_fd_sink__get_property):
258 * plugins/elements/gstfdsink.h:
259 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
260 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
261 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
262 (gst_fd_src_unlock), (gst_fd_src_set_property),
263 (gst_fd_src_get_property), (gst_fd_src_create),
264 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
265 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
266 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
267 (gst_fd_src_uri_handler_init):
268 * plugins/elements/gstfdsrc.h:
269 * plugins/elements/gstqueue.c: (gst_queue_get_type):
272 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
274 * docs/gst/Makefile.am:
275 * docs/gst/gstreamer.types.in:
279 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
286 * tests/benchmarks/complexity.c:
287 * tests/benchmarks/mass-elements.c:
288 * tests/check/Makefile.am:
290 * tools/gst-inspect.c:
291 * tools/gst-xmlinspect.c:
292 various fixes to make
293 --disable-nls --disable-registry --disable-loadsave
294 --disable-parse --disable-gst-debug
295 work and get the core .so down to 360444 bytes after stripping
297 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
302 * docs/random/thomasvs/TODO:
307 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
309 * win32/GStreamer.vcproj:
312 * win32/Makefile.inspect:
313 * win32/Makefile.launch:
314 * win32/Makefile.register:
316 * win32/gst-inspect.vcproj:
317 * win32/gst-launch.vcproj:
318 * win32/gst-register.vcproj:
319 * win32/gstelements.vcproj:
320 * win32/gstgetbits.def:
321 * win32/gstgetbits.vcproj:
322 * win32/gstreamer-dbg.def:
323 * win32/gstreamer.def:
324 * win32/libgstbase.def:
325 * win32/libgstbase.vcproj:
326 * win32/link_oldruntime.c:
331 move even more stuff, win32/ is nice and clean now
333 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
335 * libs/gst/control/.cvsignore:
340 * win32/gstbytestream.def:
341 * win32/gstbytestream.vcproj:
343 * win32/gstenumtypes.c:
344 * win32/gstenumtypes.h:
345 * win32/gstoptimalscheduler.vcproj:
346 * win32/gstversion.h:
348 * win32/testsuite/bins.vcproj:
349 * win32/testsuite/bytestream.vcproj:
350 * win32/testsuite/caps.vcproj:
351 * win32/testsuite/cleanup.vcproj:
352 * win32/testsuite/clock.vcproj:
353 * win32/testsuite/debug.vcproj:
354 * win32/testsuite/dlopen.vcproj:
355 * win32/testsuite/dynparams.vcproj:
356 * win32/testsuite/elements.vcproj:
357 * win32/testsuite/ghostpads.vcproj:
358 * win32/testsuite/indexers.vcproj:
359 * win32/testsuite/negotiation.vcproj:
360 * win32/testsuite/parse.vcproj:
361 * win32/testsuite/plugin.vcproj:
362 * win32/testsuite/refcounting.vcproj:
363 * win32/testsuite/schedulers.vcproj:
364 * win32/testsuite/states.vcproj:
365 * win32/testsuite/tags.vcproj:
366 * win32/testsuite/threads.vcproj:
367 remove old win32 stuff that isn't maintained and should be
370 2005-11-30 Andy Wingo <wingo@pobox.com>
372 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
373 loading the gst.interfaces python module bork.
375 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
376 available since GLib 2.2. Fixes #318031.
378 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
383 * check/elements/.cvsignore:
384 * check/elements/fakesrc.c:
385 * check/elements/fdsrc.c:
386 * check/elements/identity.c:
387 * check/generic/.cvsignore:
388 * check/generic/states.c:
389 * check/gst-libs/.cvsignore:
390 * check/gst-libs/controller.c:
391 * check/gst-libs/gdp.c:
392 * check/gst/.cvsignore:
393 * check/gst/capslist.h:
395 * check/gst/gstbin.c:
396 * check/gst/gstbuffer.c:
397 * check/gst/gstbus.c:
398 * check/gst/gstcaps.c:
399 * check/gst/gstelement.c:
400 * check/gst/gstevent.c:
401 * check/gst/gstghostpad.c:
402 * check/gst/gstiterator.c:
403 * check/gst/gstmessage.c:
404 * check/gst/gstminiobject.c:
405 * check/gst/gstobject.c:
406 * check/gst/gstpad.c:
407 * check/gst/gstpipeline.c:
408 * check/gst/gstplugin.c:
409 * check/gst/gstsegment.c:
410 * check/gst/gststructure.c:
411 * check/gst/gstsystemclock.c:
412 * check/gst/gsttag.c:
413 * check/gst/gstutils.c:
414 * check/gst/gstvalue.c:
415 * check/net/.cvsignore:
416 * check/net/gstnetclientclock.c:
417 * check/net/gstnettimeprovider.c:
418 * check/pipelines/.cvsignore:
419 * check/pipelines/cleanup.c:
420 * check/pipelines/simple_launch_lines.c:
421 * check/pipelines/stress.c:
422 * check/states/.cvsignore:
423 * check/states/sinks.c:
425 * examples/Makefile.am:
426 * examples/appreader/.cvsignore:
427 * examples/appreader/Makefile.am:
428 * examples/appreader/appreader.c:
429 * examples/controller/.cvsignore:
430 * examples/controller/Makefile.am:
431 * examples/controller/audio-example.c:
432 * examples/cutter/.cvsignore:
433 * examples/cutter/Makefile.am:
434 * examples/cutter/cutter.c:
435 * examples/cutter/cutter.h:
436 * examples/events/Makefile.am:
437 * examples/events/seek.c:
438 * examples/helloworld/.cvsignore:
439 * examples/helloworld/Makefile.am:
440 * examples/helloworld/helloworld.c:
441 * examples/helloworld2/.cvsignore:
442 * examples/helloworld2/Makefile.am:
443 * examples/helloworld2/helloworld2.c:
444 * examples/launch/.cvsignore:
445 * examples/launch/Makefile.am:
446 * examples/launch/mp3parselaunch.c:
447 * examples/launch/mp3play:
448 * examples/manual/.cvsignore:
449 * examples/manual/Makefile.am:
450 * examples/manual/extract.pl:
451 * examples/metadata/Makefile.am:
452 * examples/metadata/read-metadata.c:
453 * examples/mixer/.cvsignore:
454 * examples/mixer/Makefile.am:
455 * examples/mixer/mixer.c:
456 * examples/mixer/mixer.h:
457 * examples/pingpong/.cvsignore:
458 * examples/pingpong/Makefile.am:
459 * examples/pingpong/pingpong.c:
460 * examples/plugins/.cvsignore:
461 * examples/plugins/Makefile.am:
462 * examples/plugins/example.c:
463 * examples/plugins/example.h:
464 * examples/pwg/.cvsignore:
465 * examples/pwg/Makefile.am:
466 * examples/pwg/extract.pl:
467 * examples/queue/.cvsignore:
468 * examples/queue/Makefile.am:
469 * examples/queue/queue.c:
470 * examples/queue2/.cvsignore:
471 * examples/queue2/Makefile.am:
472 * examples/queue2/queue2.c:
473 * examples/queue3/.cvsignore:
474 * examples/queue3/Makefile.am:
475 * examples/queue3/queue3.c:
476 * examples/queue4/.cvsignore:
477 * examples/queue4/Makefile.am:
478 * examples/queue4/queue4.c:
479 * examples/retag/.cvsignore:
480 * examples/retag/Makefile.am:
481 * examples/retag/retag.c:
482 * examples/retag/transcode.c:
483 * examples/thread/.cvsignore:
484 * examples/thread/Makefile.am:
485 * examples/thread/thread.c:
486 * examples/typefind/.cvsignore:
487 * examples/typefind/Makefile.am:
488 * examples/typefind/typefind.c:
489 * examples/xml/.cvsignore:
490 * examples/xml/Makefile.am:
491 * examples/xml/createxml.c:
492 * examples/xml/runxml.c:
494 * tests/check/Makefile.am:
495 * testsuite/.cvsignore:
496 * testsuite/Makefile.am:
498 * testsuite/caps/.cvsignore:
499 * testsuite/caps/Makefile.am:
500 * testsuite/caps/app_fixate.c:
501 * testsuite/caps/audioscale.c:
502 * testsuite/caps/caps.c:
503 * testsuite/caps/caps.h:
504 * testsuite/caps/caps_strings:
505 * testsuite/caps/compatibility.c:
506 * testsuite/caps/deserialize.c:
507 * testsuite/caps/enumcaps.c:
508 * testsuite/caps/eratosthenes.c:
509 * testsuite/caps/filtercaps.c:
510 * testsuite/caps/fixed.c:
511 * testsuite/caps/fraction-convert.c:
512 * testsuite/caps/fraction-multiply-and-zero.c:
513 * testsuite/caps/intersect2.c:
514 * testsuite/caps/intersection.c:
515 * testsuite/caps/normalisation.c:
516 * testsuite/caps/random.c:
517 * testsuite/caps/renegotiate.c:
518 * testsuite/caps/sets.c:
519 * testsuite/caps/simplify.c:
520 * testsuite/caps/string-conversions.c:
521 * testsuite/caps/structure.c:
522 * testsuite/caps/subtract.c:
523 * testsuite/caps/union.c:
524 * testsuite/debug/.cvsignore:
525 * testsuite/debug/Makefile.am:
526 * testsuite/debug/category.c:
527 * testsuite/debug/commandline.c:
528 * testsuite/debug/global.c:
529 * testsuite/debug/output.c:
530 * testsuite/debug/printf_extension.c:
531 * testsuite/dlopen/.cvsignore:
532 * testsuite/dlopen/Makefile.am:
533 * testsuite/dlopen/dlopen_gst.c:
534 * testsuite/dlopen/loadgst.c:
535 * testsuite/elements/.cvsignore:
536 * testsuite/elements/Makefile.am:
537 * testsuite/elements/gst-inspect-check.in:
538 * testsuite/elements/struct_i386.h:
539 * testsuite/elements/struct_size.c:
540 * testsuite/indexers/.cvsignore:
541 * testsuite/indexers/Makefile.am:
542 * testsuite/indexers/cache1.c:
543 * testsuite/indexers/indexdump.c:
544 * testsuite/parse/.cvsignore:
545 * testsuite/parse/Makefile.am:
546 * testsuite/parse/parse1.c:
547 * testsuite/parse/parse2.c:
548 * testsuite/plugin/.cvsignore:
549 * testsuite/plugin/Makefile.am:
550 * testsuite/plugin/README:
551 * testsuite/plugin/dynamic.c:
552 * testsuite/plugin/linked.c:
553 * testsuite/plugin/loading.c:
554 * testsuite/plugin/registry.c:
555 * testsuite/plugin/static.c:
556 * testsuite/plugin/static2.c:
557 * testsuite/plugin/testplugin.c:
558 * testsuite/plugin/testplugin2.c:
559 * testsuite/plugin/testplugin2_s.c:
560 * testsuite/plugin/testplugin_s.c:
561 * testsuite/refcounting/.cvsignore:
562 * testsuite/refcounting/Makefile.am:
563 * testsuite/refcounting/bin.c:
564 * testsuite/refcounting/element.c:
565 * testsuite/refcounting/element_pad.c:
566 * testsuite/refcounting/mainloop.c:
567 * testsuite/refcounting/mem.c:
568 * testsuite/refcounting/mem.h:
569 * testsuite/refcounting/object.c:
570 * testsuite/refcounting/pad.c:
571 * testsuite/refcounting/sched.c:
572 * testsuite/refcounting/thread.c:
573 * testsuite/states/.cvsignore:
574 * testsuite/states/Makefile.am:
575 * testsuite/states/bin.c:
576 * testsuite/states/locked.c:
577 * testsuite/states/parent.c:
578 * testsuite/threads/.cvsignore:
579 * testsuite/threads/159566.c:
580 * testsuite/threads/159852.c:
581 * testsuite/threads/Makefile.am:
582 * testsuite/threads/queue.c:
583 * testsuite/threads/signals.c:
584 * testsuite/threads/staticrec.c:
585 * testsuite/threads/thread.c:
586 * testsuite/threads/threadb.c:
587 * testsuite/threads/threadc.c:
588 * testsuite/threads/threadd.c:
589 * testsuite/threads/threade.c:
590 * testsuite/threads/threadf.c:
591 * testsuite/threads/threadg.c:
592 * testsuite/threads/threadh.c:
593 * testsuite/threads/threadi.c:
594 move all of these under tests
596 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
602 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
604 * docs/gst/gstreamer-sections.txt:
605 * tests/sched/.cvsignore:
606 * tests/sched/Makefile.am:
607 * tests/sched/cases/(fs-fs).xml:
608 * tests/sched/cases/(fs-i-fs).xml:
609 * tests/sched/cases/(fs-i-i-fs).xml:
610 * tests/sched/cases/(fs-i-q[i-fs]).xml:
611 * tests/sched/dynamic-pipeline.c:
612 * tests/sched/interrupt1.c:
613 * tests/sched/interrupt2.c:
614 * tests/sched/interrupt3.c:
615 * tests/sched/runtestcases:
616 * tests/sched/runxml.c:
617 * tests/sched/sched-stress.c:
618 * tests/sched/sort.c:
619 * tests/sched/testcases:
620 * tests/sched/testcases1.tc:
621 * tests/seeking/.cvsignore:
622 * tests/seeking/Makefile.am:
623 * tests/seeking/seeking1.c:
624 * tests/threadstate/.cvsignore:
625 * tests/threadstate/Makefile.am:
626 * tests/threadstate/test1.c:
627 * tests/threadstate/test2.c:
628 * tests/threadstate/threadstate1.c:
629 * tests/threadstate/threadstate2.c:
630 * tests/threadstate/threadstate3.c:
631 * tests/threadstate/threadstate4.c:
632 * tests/threadstate/threadstate5.c:
633 remove obsolete tests
635 * tests/bench-complexity.scm:
636 * tests/bench-mass_elements.scm:
637 * tests/complexity.c:
638 * tests/complexity.gnuplot:
639 * tests/instantiate/.cvsignore:
640 * tests/instantiate/Makefile.am:
641 * tests/instantiate/caps.c:
642 * tests/mass_elements.c:
643 * tests/network-clock-utils.scm:
644 * tests/network-clock.scm:
646 First pass at cleaning up tests/ dir before moving the rest
647 Combined with CVS surgery
649 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
652 queue has moved, update
654 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
656 * docs/gst/gstreamer-sections.txt:
657 remove double entries from the docs
659 * gst/gstinfo.c: (_gst_debug_init):
660 remove the THREAD debug category
664 * docs/gst/gstreamer.types:
665 * plugins/elements/gstqueue.c: (gst_queue_get_type),
666 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
667 completely move queue and fix up debugging categories
669 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
671 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
672 make initialization portable, using LL is not
674 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
676 * win32/common/gstconfig.h:
679 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
681 * win32/common/libgstreamer.def:
682 rename symbols; sort base section
684 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
686 * gst/gstclock.c: (do_linear_regression):
687 remove crack non-portable handrolled DEBUG macro
689 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
691 * docs/random/release:
693 * win32/common/gstenumtypes.c: (register_gst_object_flags),
694 (gst_object_flags_get_type), (register_gst_bin_flags),
695 (gst_bin_flags_get_type), (register_gst_buffer_flag),
696 (gst_buffer_flag_get_type), (register_gst_bus_flags),
697 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
698 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
699 (gst_caps_flags_get_type), (register_gst_clock_return),
700 (gst_clock_return_get_type), (register_gst_clock_entry_type),
701 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
702 (gst_clock_flags_get_type), (register_gst_state),
703 (gst_state_get_type), (register_gst_state_change_return),
704 (gst_state_change_return_get_type), (register_gst_state_change),
705 (gst_state_change_get_type), (register_gst_element_flags),
706 (gst_element_flags_get_type), (register_gst_core_error),
707 (gst_core_error_get_type), (register_gst_library_error),
708 (gst_library_error_get_type), (register_gst_resource_error),
709 (gst_resource_error_get_type), (register_gst_stream_error),
710 (gst_stream_error_get_type), (register_gst_event_type_flags),
711 (gst_event_type_flags_get_type), (register_gst_event_type),
712 (gst_event_type_get_type), (register_gst_seek_type),
713 (gst_seek_type_get_type), (register_gst_seek_flags),
714 (gst_seek_flags_get_type), (register_gst_format),
715 (gst_format_get_type), (register_gst_index_certainty),
716 (gst_index_certainty_get_type), (register_gst_index_entry_type),
717 (gst_index_entry_type_get_type),
718 (register_gst_index_lookup_method),
719 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
720 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
721 (gst_index_resolver_method_get_type), (register_gst_index_flags),
722 (gst_index_flags_get_type), (register_gst_debug_level),
723 (gst_debug_level_get_type), (register_gst_debug_color_flags),
724 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
725 (gst_iterator_result_get_type), (register_gst_iterator_item),
726 (gst_iterator_item_get_type), (register_gst_message_type),
727 (gst_message_type_get_type), (register_gst_mini_object_flags),
728 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
729 (gst_pad_link_return_get_type), (register_gst_flow_return),
730 (gst_flow_return_get_type), (register_gst_activate_mode),
731 (gst_activate_mode_get_type), (register_gst_pad_direction),
732 (gst_pad_direction_get_type), (register_gst_pad_flags),
733 (gst_pad_flags_get_type), (register_gst_pad_presence),
734 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
735 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
736 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
737 (gst_plugin_error_get_type), (register_gst_plugin_flags),
738 (gst_plugin_flags_get_type), (register_gst_rank),
739 (gst_rank_get_type), (register_gst_query_type),
740 (gst_query_type_get_type), (register_gst_tag_merge_mode),
741 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
742 (gst_tag_flag_get_type), (register_gst_task_state),
743 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
744 (gst_alloc_trace_flags_get_type),
745 (register_gst_type_find_probability),
746 (gst_type_find_probability_get_type), (register_gst_uri_type),
747 (gst_uri_type_get_type), (register_gst_parse_error),
748 (gst_parse_error_get_type):
749 * win32/common/gstenumtypes.h:
750 * win32/common/gstversion.h:
751 update visual studio generated files
753 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
755 * win32/vs6/libgstbase.dsp:
756 * win32/vs6/libgstelements.dsp:
757 update project files for new locations
759 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
769 * docs/random/LICENSE:
772 2005-11-30 Edward Hervey <edward@fluendo.com>
774 * gst/gsttypefind.c: (gst_type_find_register):
776 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
777 (gst_type_find_factory_dispose):
778 * gst/gsttypefindfactory.h:
779 Fix memory leak in GstTypeFindFactory.
781 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
784 * plugins/elements/Makefile.am:
785 * plugins/elements/gstelements.c:
786 * plugins/elements/gstqueue.c:
787 move queue from core to the elements plugin
789 2005-11-29 Andy Wingo <wingo@pobox.com>
791 * libs/gst/base/gstbasetransform.h:
792 * libs/gst/base/gstbasesrc.h:
793 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
795 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
796 of pointers by which to pad very extensible base classes (like the
797 ones in libs/gst/base).
799 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
801 * docs/gst/gstreamer-docs.sgml:
802 * docs/gst/gstreamer-sections.txt:
803 * docs/libs/gstreamer-libs-docs.sgml:
804 * docs/libs/gstreamer-libs-sections.txt:
805 moving documentation from core to lib
807 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
811 * docs/gst/Makefile.am:
813 * gst/base/.cvsignore:
814 * gst/base/Makefile.am:
816 * gst/base/gstadapter.c:
817 * gst/base/gstadapter.h:
818 * gst/base/gstbasesink.c:
819 * gst/base/gstbasesink.h:
820 * gst/base/gstbasesrc.c:
821 * gst/base/gstbasesrc.h:
822 * gst/base/gstbasetransform.c:
823 * gst/base/gstbasetransform.h:
824 * gst/base/gstcollectpads.c:
825 * gst/base/gstcollectpads.h:
826 * gst/base/gstpushsrc.c:
827 * gst/base/gstpushsrc.h:
828 * gst/base/gsttypefindhelper.c:
829 * gst/base/gsttypefindhelper.h:
830 * gst/check/Makefile.am:
831 * gst/check/gstcheck.c:
832 * gst/check/gstcheck.h:
833 * gst/net/Makefile.am:
835 * gst/net/gstnetclientclock.c:
836 * gst/net/gstnetclientclock.h:
837 * gst/net/gstnettimepacket.c:
838 * gst/net/gstnettimepacket.h:
839 * gst/net/gstnettimeprovider.c:
840 * gst/net/gstnettimeprovider.h:
841 * libs/gst/Makefile.am:
842 * libs/gst/base/Makefile.am:
843 * libs/gst/base/gstbasetransform.c:
844 * libs/gst/check/Makefile.am:
845 * plugins/elements/Makefile.am:
847 CVS surgery + support to move base, check, and net out of gst
850 2005-11-29 Andy Wingo <wingo@pobox.com>
852 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
854 * gst/gststructure.h (struct _GstStructure): Only one pointer of
857 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
859 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
861 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
863 * gst/gstobject.h: (struct _GstObject): Only one pointer of
864 padding; reduces object size by about 30%. We don't expect
865 anything else to go into gstobject.
867 * gst/gstminiobject.h (struct _GstMiniObject)
868 (struct _GstMiniObjectClass): Only one pointer of padding; the
869 payload is only a pointer and two ints anyway. For the class there
870 are only two methods as well.
872 * gst/gstelement.h (struct _GstElementClass): Removed
873 the state_changed signal callback, it is not used.
875 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
877 * docs/gst/gstreamer.types:
878 fix includes, though they are a little dinky
880 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
883 look in the right place for elements, a lot more chance of
886 remove indexers and elements subdirs
887 * plugins/Makefile.am:
888 make indexers conditional
890 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
894 * plugins/elements/Makefile.am:
895 * plugins/elements/gstcapsfilter.c:
896 * plugins/elements/gstfilesink.c:
897 * plugins/elements/gstfilesrc.c:
898 * plugins/elements/gstidentity.c:
899 * plugins/indexers/Makefile.am:
900 do CVS surgery and related build fixery to move elements
901 and indexers in a new gstreamer/plugins directory, out of the
904 2005-11-29 Andy Wingo <wingo@pobox.com>
907 * pkgconfig/gstreamer-net-uninstalled.pc.in:
908 * pkgconfig/gstreamer-net.pc.in:
909 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
912 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
915 * tools/gst-complete.1.in:
916 * tools/gst-complete.c:
917 * tools/gst-compprep.1.in:
918 * tools/gst-compprep.c:
919 removing -compprep and -complete
921 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
923 * gst/gstevent.c: (gst_event_new_new_segment),
924 (gst_event_parse_new_segment):
926 fix #320529 - clean up new_segment API and structure.
927 Let's hope everyone was using the methods, and not the structure.
929 2005-11-29 Edward Hervey <edward@fluendo.com>
931 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
932 (gst_base_sink_event), (gst_base_sink_do_sync),
933 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
934 Properly handle non GST_FORMAT_TIME segment
935 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
936 Properly handle non GST_FORMAT_TIME segment
938 This function is valid if the accumulator is 0 and the format
939 is different from the requested format.
941 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
943 * docs/gst/gstreamer-sections.txt:
944 Add gst_query_new_seeking and gst_query_parse_seeking to the
947 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
949 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
950 Treat a pad alloc with new caps the same as if we were not
951 negotiated, in order to allow a changing upstream output
952 to produce a new format of data.
954 2005-11-29 Edward Hervey <edward@fluendo.com>
956 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
957 (gst_base_transform_event), (gst_base_transform_eventfunc):
958 The event virtual method is now properly implemented, with a default
960 Sub classes should call the parent_class event method. They should
961 return FALSE if they had a problem handling the given event, or don't
962 want GstBaseTransform to send that even downstream
963 * gst/elements/gstidentity.c: (gst_identity_class_init),
964 (gst_identity_init), (gst_identity_event),
965 (gst_identity_transform_ip), (gst_identity_set_property),
966 (gst_identity_get_property):
967 * gst/elements/gstidentity.h:
968 Added the single-segment boolean property.
969 If set to TRUE, it will output a single segment of data, starting from
970 0, will eat up all incoming newsegment, and modify the timestamp of the
973 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
975 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
976 Don't ref NULL target pad (#322751). Improve docs.
978 2005-11-29 Michael Smith <msmith@fluendo.com>
980 * gst/gstregistryxml.c: (load_plugin):
981 Don't crash if we failed to load a feature from a plugin.
983 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
985 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
987 use more check API and less GLib API
989 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
992 don't run checks if we don't have check
994 remove the registry when running make torture
995 * docs/gst/gstreamer-sections.txt:
996 remove second multiply
997 * gst/gstqueue.c: (gst_queue_loop):
998 fix a compile warning when disabling debug
1000 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1003 Hey! Let's print the pad name if the pointer != NULL instead
1004 of when it == NULL :-)
1006 2005-11-28 Wim Taymans <wim@fluendo.com>
1008 * check/gst/gstutils.c: (GST_START_TEST):
1009 Updated check, add some scaling accuracy checking code.
1011 * gst/gstutils.c: (gst_util_div128_64),
1012 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1013 (gst_util_uint64_scale_int):
1014 Fix 6 times faster division code. Optimize for common
1015 1/1 and less common X/1 cases.
1017 2005-11-28 Wim Taymans <wim@fluendo.com>
1019 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1022 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1023 (do_linear_regression), (gst_clock_add_observation):
1025 Release lock when the clock cannot be slaved.
1026 Catch the case where the regression returned an invalid denominator.
1028 * gst/gstutils.c: (gst_util_div128_64_iterate),
1029 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1030 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1031 Add protentially more performant non-iterative 128/64 divide function
1032 that unfortunatly does not work yet.
1033 Shortcut the trivial 0/X = 0 case.
1034 Remove the warnings on overflow.
1036 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1038 * gst/gstplugin.c: (gst_plugin_register_func):
1039 everything causing a plugin not to load should be at least a WARNING
1041 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1043 * docs/random/ensonic/dparams.txt:
1044 some TODOs for the next dev cycle
1045 * libs/gst/controller/gstcontroller.c:
1046 (gst_controlled_property_set_interpolation_mode),
1047 (gst_controlled_property_new):
1048 * libs/gst/controller/gstcontroller.h:
1049 use base type to assign acccessor functions
1051 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1053 * check/Makefile.am:
1054 Oops, that should have been top_srcdir
1056 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1058 * check/Makefile.am:
1059 * check/elements/fdsrc.c: (GST_START_TEST):
1060 Use a cmdline define to specify the location of a file to use for
1061 testing, to avoid breaking distcheck.
1063 2005-11-28 Andy Wingo <wingo@pobox.com>
1065 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1067 2005-11-28 Edward Hervey <edward@fluendo.com>
1069 * tools/gst-launch.c: (main):
1070 Clarify the output strings, makes it easier to translate.
1073 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1076 don't try and build net if we don't even have <sys/socket.h>
1078 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1080 * check/Makefile.am:
1081 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1082 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1083 Add tests for fdsrc seekability
1085 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1086 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1087 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1088 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1089 * gst/elements/gstfdsrc.h:
1090 fdsrc should not be a 'live' source.
1091 Implement seeking on seekable fd's.
1093 * gst/gstquery.c: (gst_query_new_seeking),
1094 (gst_query_parse_seeking):
1096 Implement SEEKING query functions:
1097 *_new_seeking and *_parse_seeking
1099 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1101 * gst/gstelement.c: (gst_element_dispose):
1104 * gst/gstiterator.c:
1105 * gst/gststructure.c:
1108 * libs/gst/controller/gstcontroller.c:
1109 (gst_controlled_property_set_interpolation_mode):
1110 * libs/gst/controller/gstcontroller.h:
1111 * libs/gst/controller/gstinterpolation.c:
1112 (interpolate_none_get_enum_value_array):
1113 support controlling enums
1115 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1118 Improve documentation for gst_value_union().
1121 Change return value for union, intersect and subtract functions
1122 from gint to gboolean.
1124 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1126 * gst/gstvalue.c: (gst_value_serialize_any_list),
1127 (gst_value_transform_any_list_string),
1128 (gst_value_deserialize_list), (gst_value_deserialize_array),
1129 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1130 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1131 (gst_value_set_fraction_range_full),
1132 (gst_value_deserialize_fraction_range),
1133 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1134 (gst_value_deserialize_boolean),
1135 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1136 (gst_value_serialize_float), (gst_value_deserialize_float),
1137 (gst_string_wrap), (gst_value_deserialize_string),
1138 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1139 (gst_value_union_int_range_int_range),
1140 (gst_value_intersect_int_range_int_range),
1141 (gst_value_intersect_double_range_double_range),
1142 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1143 (gst_value_subtract_int_range_int_range),
1144 (gst_value_subtract_double_double_range),
1145 (gst_value_subtract_double_range_double_range),
1146 (gst_value_deserialize_fraction):
1148 Use gint, gdouble and gchar in our API instead of int, double and
1149 char (and make usage in gstvalue.c more consistent).
1151 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1153 * check/Makefile.am:
1154 * libs/gst/controller/Makefile.am:
1155 * libs/gst/dataprotocol/Makefile.am:
1156 fix up Makefile.am and remove GST_ENABLE_NEW
1158 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1162 * gst/base/Makefile.am:
1163 * gst/check/Makefile.am:
1164 * gst/elements/Makefile.am:
1165 * gst/net/Makefile.am:
1166 update LDFLAGS use some more
1168 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1170 * common/m4/gst-doc.m4:
1173 2005-11-26 Edward Hervey <edward@fluendo.com>
1175 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1176 This shouldn't issue a g_warning since it returns NULL if it
1177 couldn't find the plugin, and all functions using this behave
1178 properly on a NULL return. Switching to a GST_WARNING.
1180 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1182 * gst/gstbin.c: (gst_bin_handle_message_func):
1183 Don't leak clock messages.
1185 2005-11-25 Wim Taymans <wim@fluendo.com>
1187 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1188 (gst_util_uint64_scale_int):
1189 Optimisations, remove unneeded vars.
1191 2005-11-25 Wim Taymans <wim@fluendo.com>
1193 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1194 Added more checks for the high precision uint64 cases.
1196 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1197 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1198 Implement high precision (guint64 * guint64) / guint64.
1200 2005-11-24 Wim Taymans <wim@fluendo.com>
1202 * gst/base/gstbasesrc.c: (gst_base_src_query):
1203 Fix wrong percentage query.
1205 * gst/gstutils.c: (gst_util_uint64_scale),
1206 (gst_util_uint64_scale_int):
1207 Add some more common cases that can be handled
1208 efficiently to _scale.
1210 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1212 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1213 (gst_mini_object_suite):
1214 don't use check calls from threads; check probably isn't
1215 threadsafe and using a lock to make it threadsafe would
1216 defeat the purpose of this check
1217 * gst/check/gstcheck.c:
1218 * gst/check/gstcheck.h:
1219 use GST_DEBUG some more
1221 2005-11-24 Wim Taymans <wim@fluendo.com>
1223 * gst/gstutils.c: (gst_util_uint64_scale),
1224 (gst_util_uint64_scale_int):
1225 Chain trivial case to _scale_int.
1227 2005-11-24 Wim Taymans <wim@fluendo.com>
1229 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1230 Added test for scaling.
1235 * gst/gstutils.c: (gst_util_uint64_scale_int):
1236 Implemented high precision scaling code.
1238 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1241 do not crash on pad==NULL
1243 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1245 Patch by: Stefan Kost
1247 * common/gtk-doc.mak:
1248 * docs/gst/Makefile.am:
1249 * docs/libs/Makefile.am:
1250 Fix distcheck issues for the libraries docs build
1253 2005-11-24 Michael Smith <msmith@fluendo.com>
1255 * docs/manual/basics-helloworld.xml:
1256 Fix bug #315027: memory leak in example code in docs.
1258 2005-11-24 Michael Smith <msmith@fluendo.com>
1260 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1261 Unlock the PREROLL_LOCK in a failure case.
1263 2005-11-24 Wim Taymans <wim@fluendo.com>
1265 * docs/gst/gstreamer-sections.txt:
1266 * gst/base/gstadapter.h:
1267 * gst/base/gstbasesink.h:
1268 * gst/base/gstbasesrc.h:
1269 * gst/base/gstbasetransform.h:
1270 * gst/base/gstpushsrc.h:
1271 * gst/elements/gstfakesink.h:
1272 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1273 * gst/elements/gstfakesrc.h:
1274 * gst/elements/gstfilesink.h:
1275 * gst/elements/gstfilesrc.h:
1278 * gst/gstbuffer.c: (_gst_buffer_copy):
1281 * gst/gstchildproxy.c:
1284 * gst/gstelementfactory.c:
1285 * gst/gstelementfactory.h:
1287 * gst/gstghostpad.h:
1289 * gst/gstinterface.h:
1290 * gst/gstminiobject.c:
1291 * gst/gstminiobject.h:
1294 * gst/gstpadtemplate.h:
1295 * gst/gstpipeline.h:
1296 * gst/gstpluginfeature.h:
1301 * gst/gsttagsetter.c:
1302 * gst/gsttagsetter.h:
1305 * gst/gsttypefind.h:
1308 * gst/net/gstnetclientclock.c:
1309 * gst/net/gstnetclientclock.h:
1310 * gst/net/gstnettimepacket.c:
1311 * gst/net/gstnettimeprovider.c:
1312 * gst/net/gstnettimeprovider.h:
1315 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1317 * configure.ac: back to HEAD
1319 === release 0.9.6 ===
1321 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1324 releasing 0.9.6, "Always On Time"
1326 2005-11-23 Wim Taymans <wim@fluendo.com>
1328 * docs/gst/gstreamer-sections.txt:
1329 * gst/glib-compat.c:
1330 * gst/gsttagsetter.c:
1332 * gst/net/gstnetclientclock.c:
1333 * gst/net/gstnettimepacket.h:
1336 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1338 * docs/faq/using.xml:
1339 * docs/libs/tmpl/gstcontrol.sgml:
1340 * docs/manual/advanced-dparams.xml:
1341 * docs/manual/appendix-checklist.xml:
1342 * docs/manual/basics-elements.xml:
1343 * docs/pwg/other-source.xml:
1344 * docs/random/moving-plugins:
1346 * tools/gst-launch.1.in:
1347 remove mentions of sinesrc
1349 2005-11-23 Michael Smith <msmith@fluendo.com>
1351 * docs/gst/gstreamer-sections.txt:
1352 Update for new API and API changes.
1354 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1356 Documentation typo fix.
1357 * gst/net/gstnettimepacket.c:
1358 Documentation fixes for arguments.
1360 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1362 * gst/gststructure.c: (gst_structure_get_fraction),
1363 (gst_structure_parse_value),
1364 (gst_structure_fixate_field_nearest_fraction):
1365 * gst/gststructure.h:
1366 * gst/gstutils.c: (gst_util_uint64_scale_int):
1368 * scripts/update-funcnames:
1370 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1371 Make gst_structure_fixate_field_nearest_fraction take a numerator
1372 and denominator argument instead of a GValue
1373 add gst_structure_get_fraction helper function.
1375 2005-11-23 Wim Taymans <wim@fluendo.com>
1377 * docs/design/part-TODO.txt:
1380 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1381 * gst/net/gstnetclientclock.h:
1382 Use parent fields for timeout and window_size.
1384 2005-11-23 Andy Wingo <wingo@pobox.com>
1386 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1387 rate_num/rate_denom change.
1389 * gst/net/gstnetclientclock.c
1390 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1391 OBJECT_LOCK. Don't call add_observation with the lock.
1393 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1395 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1397 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1398 deal with rate as a fraction whose numerator and denominator are
1399 GstClockTime values.
1400 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1401 master; the other fields are protected by the SLAVE_LOCK.
1402 (do_linear_regression): Note that this must be called with the
1404 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1405 OBJECT_LOCK. Call set_calibration instead of touching the
1407 (gst_clock_set_property, gst_clock_get_property): Protect
1408 master/slave parameters with the SLAVE_LOCK.
1410 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1411 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1412 note that all of the instance variables that add_observation and
1413 the set_master functions use are protected by that lock and not
1415 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1417 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1418 the caller to take the object lock.
1420 2005-11-23 Wim Taymans <wim@fluendo.com>
1422 * gst/gsterror.c: (_gst_core_errors_init):
1424 Add error for clock stuff.
1426 * gst/gstpipeline.c: (gst_pipeline_change_state),
1427 (gst_pipeline_set_clock):
1428 Post clock error when clock cannot be used in a pipeline.
1430 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1432 * docs/gst/gstreamer-sections.txt:
1433 make two symbols from gstinfo private for the docs
1434 * gst/base/gstcollectpads.h:
1436 fix doc typos, update docs
1438 2005-11-22 Wim Taymans <wim@fluendo.com>
1440 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1441 (gst_base_sink_wait), (gst_base_sink_do_sync),
1442 (gst_base_sink_handle_event):
1443 * gst/base/gstbasesink.h:
1444 No need to store the clock, the parent element class already
1447 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1448 Updates for clock_set returning a gboolean
1450 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1451 (gst_clock_id_wait_async), (gst_clock_class_init),
1452 (gst_clock_init), (gst_clock_finalize),
1453 (gst_clock_get_internal_time), (gst_clock_get_time),
1454 (gst_clock_slave_callback), (gst_clock_set_master),
1455 (gst_clock_get_master), (do_linear_regression),
1456 (gst_clock_add_observation), (gst_clock_set_property),
1457 (gst_clock_get_property):
1459 Implement master/slave. When setting a clock as a slave, a
1460 periodic timeout is scheduled to sample master and slave times.
1461 Then the slave clock is recalibrated to match offset and rate
1462 of the master clock.
1463 Update logging a bit.
1464 Add flag so that a clock can state that is cannot be slaved to
1467 * gst/gstelement.c: (gst_element_set_clock):
1469 The set clock returns a gboolean for when an element cannot
1470 deal with the selected clock in the pipeline.
1472 * gst/gstpipeline.c: (gst_pipeline_change_state),
1473 (gst_pipeline_set_clock):
1474 * gst/gstpipeline.h:
1475 Handle the case where the selected clock cannot be set on
1478 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1479 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1480 (gst_net_client_clock_set_property),
1481 (gst_net_client_clock_get_property),
1482 (gst_net_client_clock_observe_times):
1483 * gst/net/gstnetclientclock.h:
1484 Use regression code in GstClock parent, remove duplicated
1487 2005-11-22 Michael Smith <msmith@fluendo.com>
1489 * gst/gstutils.c: (gst_util_clock_time_scale):
1491 * docs/gst/gstreamer-sections.txt:
1492 Rename method to have extra underscore.
1494 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1496 * gst/elements/Makefile.am:
1497 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1498 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1499 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1500 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1501 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1502 * gst/elements/gstfakesrc.h:
1503 * gst/gstqueue.c: (queue_leaky_get_type):
1504 correctly fix GEnumValues so that nick is the short lowercase
1506 * tools/gst-inspect.c: (print_element_properties_info):
1507 also show the nick, since it's useful to use from parse_launch
1511 2005-11-22 Michael Smith <msmith@fluendo.com>
1513 * gst/gstutils.c: (gst_util_clocktime_scale):
1515 * docs/gst/gstreamer-sections.txt:
1516 Add util method for scaling a clocktime by a fraction. Useful
1517 implementation is left as an exercise for the reader.
1519 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1521 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1522 If needed, allocate storage in the destination value during
1525 2005-11-22 Edward Hervey <edward@fluendo.com>
1527 * docs/gst/gstreamer-sections.txt:
1532 * gst/gstutils.c: (gst_util_set_object_arg):
1533 * tools/gst-compprep.c: (main):
1534 * tools/gst-inspect.c: (print_element_properties_info):
1535 Removed GstURI, closes bug #321061
1537 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1539 * check/gst/gststructure.c: (GST_START_TEST):
1540 * gst/gststructure.c: (gst_structure_parse_value):
1541 Oops, broke automatic string type parsing.
1542 Add a test to catch it in future.
1544 2005-11-22 Andy Wingo <wingo@pobox.com>
1546 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1547 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1548 Actually rename the function implementations. Grr.
1550 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1552 * check/gst/capslist.h:
1554 * check/gst/gststructure.c: (GST_START_TEST),
1555 (gst_structure_suite):
1556 Test automatic value type detection in gst_structure_from_string.
1557 * gst/gststructure.c: (gst_structure_parse_value):
1558 Add fraction as a type we try and guess automatically in
1559 caps/structure strings.
1561 2005-11-22 Andy Wingo <wingo@pobox.com>
1563 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1565 * gst/gsttagsetter.h:
1566 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1567 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1568 (gst_tag_setter_add_tag_valist)
1569 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1570 _add_values, _add_valist, and _add_valist_values. Since this is an
1571 interface the function suffixes should be more explicit so
1572 language binding don't end up with element.add_valist ->
1573 gst_tag_setter_add_valist, for example. Fixes #322069.
1575 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1577 * check/gst/gstcaps.c: (GST_START_TEST):
1578 Extend caps string tests to check that a caps to string
1579 conversion is reversible and produces the same caps.
1581 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1582 Output "fraction" as the generic type fraction range, so caps
1583 serialisation and deserialisation works.
1584 * check/gst/capslist.h:
1585 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1586 Support 'MIN' and 'MAX' for deserialising fractions.
1588 2005-11-22 Andy Wingo <wingo@pobox.com>
1590 * gst/gstevent.h (gst_event_new_new_segment)
1591 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1592 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1593 Renamed from *_newsegment, *_buffersize, *_notarget.
1595 * scripts/update-funcnames: New script, performs the changes
1598 2005-11-22 Wim Taymans <wim@fluendo.com>
1600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1601 Make sure the GstFlowReturn is returned.
1603 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1604 (gst_bus_add_signal_watch):
1606 add gst_bus_add_signal_watch_full.
1608 * gst/gstplugin.c: (gst_plugin_load_file):
1609 Small style cleanup.
1611 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1613 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1614 Block the fakesrc srcpad when we send an event, to avoid
1615 contention on the stream_lock causing random test failures.
1617 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1619 * check/gst/gstvalue.c: (GST_START_TEST):
1620 * gst/gstvalue.c: (gst_value_fraction_subtract):
1623 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1626 include "gstchildproxy.h"
1627 * gst/gstchildproxy.h:
1628 * libs/gst/controller/gstcontroller.h:
1629 use G_GNUC_NULL_TERMINATED
1631 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1633 * check/gst/capslist.h:
1634 * check/gst/gstcaps.c: (GST_START_TEST):
1635 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1636 * gst/gststructure.c: (gst_structure_parse_range),
1637 (gst_structure_fixate_field_nearest_fraction):
1638 * gst/gststructure.h:
1639 * gst/gstvalue.c: (gst_value_init_fraction_range),
1640 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1641 (gst_value_collect_fraction_range),
1642 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1643 (gst_value_set_fraction_range_full),
1644 (gst_value_get_fraction_range_min),
1645 (gst_value_get_fraction_range_max),
1646 (gst_value_serialize_fraction_range),
1647 (gst_value_transform_fraction_range_string),
1648 (gst_value_compare_fraction_range),
1649 (gst_value_deserialize_fraction_range),
1650 (gst_value_intersect_fraction_fraction_range),
1651 (gst_value_intersect_fraction_range_fraction_range),
1652 (gst_value_subtract_fraction_fraction_range),
1653 (gst_value_subtract_fraction_range_fraction),
1654 (gst_value_subtract_fraction_range_fraction_range),
1655 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1656 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1657 (gst_value_transform_string_fraction), (_gst_value_initialize):
1659 Implement fraction ranges and extend GstFraction to support
1660 arithmetic subtraction, as well as deserialization from integer
1661 strings such as "100"
1662 Add a testsuite as for int and double range set operations
1664 2005-11-21 Andy Wingo <wingo@pobox.com>
1668 * gst/gststructure.h: Add glib-compat.h.
1670 2005-11-21 Wim Taymans <wim@fluendo.com>
1672 * gst/gstbin.c: (gst_bin_change_state_func):
1675 2005-11-21 Wim Taymans <wim@fluendo.com>
1678 And add a nice define too.
1680 2005-11-21 Wim Taymans <wim@fluendo.com>
1682 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1683 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1684 (gst_segment_set_duration), (gst_segment_set_last_stop),
1685 (gst_segment_set_seek), (gst_segment_set_newsegment),
1686 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1689 Make binding friendly.
1691 2005-11-21 Andy Wingo <wingo@pobox.com>
1693 * gst/gsttagsetter.h:
1695 * gst/gststructure.h:
1697 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1700 * gst/gsterror.c (_gst_core_errors_init):
1701 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1704 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1705 (noinst_HEADERS): noinst the -private.
1707 2005-11-21 Michael Smith <msmith@fluendo.com>
1710 * gst/gstregistry.h:
1711 Remove unimplemented declarations for which we can see no sensible
1714 2005-11-21 Andy Wingo <wingo@pobox.com>
1716 * gst/gst.h: Include glib-compat.h.
1718 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1720 * gst/glib-compat.c: Include the public and the private header.
1722 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1726 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1728 * check/gst/gstevent.c (create_custom_events): Check that
1729 FLUSH_STOP is serialized.
1731 * check/elements/identity.c (event_func):
1732 * check/elements/fakesrc.c (event_func): No stream lock, the core
1735 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1736 stream lock taking, yay.
1738 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1739 ensure that core takes the stream lock.
1741 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1744 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1745 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1746 it already. For the flush start we do take it though so we get the
1747 right preroll state change messages.
1749 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1750 the stream lock here, the core does it for us.
1752 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1753 GST_STREAM_GET_LOCK.
1754 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1755 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1756 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1757 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1758 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1759 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1761 * gst/gstpad.c: Update for stream lock name change.
1763 * gst/base/gstbasesink.c: Update for preroll lock name change.
1765 2005-11-21 Wim Taymans <wim@fluendo.com>
1767 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1768 (gst_clock_get_master):
1770 * gst/gstsystemclock.c: (gst_system_clock_init):
1771 Convert Clock flags to object flags.
1772 Added methods to manage master/slave clocks.
1774 2005-11-21 Wim Taymans <wim@fluendo.com>
1776 * check/gst/gstsegment.c: (GST_START_TEST):
1777 * docs/design/part-TODO.txt:
1778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1779 (gst_base_sink_event), (gst_base_sink_do_sync),
1780 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1781 (gst_base_sink_query), (gst_base_sink_change_state):
1782 * gst/base/gstbasesink.h:
1783 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1784 (gst_base_src_default_newsegment),
1785 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1786 (gst_base_src_get_range), (gst_base_src_loop),
1787 (gst_base_src_change_state):
1788 * gst/base/gstbasesrc.h:
1789 * gst/base/gstbasetransform.c:
1790 (gst_base_transform_prepare_output_buf),
1791 (gst_base_transform_event), (gst_base_transform_change_state):
1792 * gst/base/gstbasetransform.h:
1793 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1794 (gst_collect_pads_event):
1795 * gst/base/gstcollectpads.h:
1796 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1797 (gst_fake_src_create):
1798 * gst/elements/gstfakesrc.h:
1799 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1800 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1801 (gst_segment_set_last_stop), (gst_segment_set_seek),
1802 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1803 (gst_segment_to_running_time), (gst_segment_clip):
1805 More segment updates, replace code in plugins with segment
1808 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1810 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1811 Don't ignore sscanf results
1813 2005-11-21 Andy Wingo <wingo@pobox.com>
1815 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1818 * *.c: Ran scripts/update-macros. Oh yes.
1820 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1821 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1824 * scripts/update-macros: New script. Run it on your files to
1825 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1828 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1830 * docs/gst/Makefile.am:
1831 * docs/gst/gstreamer-docs.sgml:
1832 * docs/gst/gstreamer-sections.txt:
1833 * docs/gst/gstreamer.types:
1835 more docs fixes, add new api to the docs
1837 2005-11-21 Andy Wingo <wingo@pobox.com>
1839 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1840 state_broadcast call.
1842 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1844 2005-11-21 Julien MOUTTE <julien@moutte.net>
1846 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1847 function calls for arrays.
1849 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1851 * docs/random/ensonic/media-device-daemon.txt:
1852 wild idea, can this be done?
1853 * docs/gst/gstreamer-sections.txt:
1858 * gst/gstpluginfeature.c:
1862 doc fixes and additions
1864 2005-11-21 Andy Wingo <wingo@pobox.com>
1866 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1867 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1868 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1869 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1870 private to the basesrc implementation.
1872 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1873 behalf of event function if necessary. It should no longer be
1874 necessary to take the stream lock in pad's event functions. Fixes
1877 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1878 * docs/gst/gstreamer-sections.txt:
1879 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1880 (gst_structure_fixate_field_nearest_double),
1881 (gst_structure_fixate_field_boolean):
1882 * gst/gststructure.h:
1883 * win32/common/libgstreamer.def:
1884 * win32/gstreamer.def:
1886 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1889 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1891 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1892 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1893 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1894 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1895 (gst_fdsrc_uri_handler_init):
1896 * gst/elements/gstfdsrc.h:
1897 Port fd:// URI handler from 0.8 to fdsrc
1899 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1901 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1902 (gst_value_serialize_fourcc):
1904 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1905 consistent with our other format defines (#320324).
1907 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1909 * gst/gstvalue.c: (gst_value_is_fixed):
1910 Revert previous commit. Value lists are by definition
1911 not fixed, as they are a list of possible values.
1913 2005-11-21 Andy Wingo <wingo@pobox.com>
1915 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1916 during the stable series if we need it. Fixes #319178.
1918 * gst/gstevent.c (gst_event_new_filler): Removed.
1920 * check/gst/gstevent.c: Update comment about filler events.
1922 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1924 * gst/gstvalue.c: (gst_value_is_fixed):
1925 Should handle both value arrays and value lists.
1927 2005-11-21 Andy Wingo <wingo@pobox.com>
1929 patch by: Alessandro Dessina <alessandro nnva org>
1931 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1932 functions to access arrays. Fixes #321962.
1934 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1936 * docs/gst/gstreamer.types:
1937 gst_collectpads_get_type => gst_collect_pads_get_type.
1939 * gst/base/gstbasetransform.c:
1940 Remove unused SIGNAL_HANDOFF enum.
1942 2005-11-21 Andy Wingo <wingo@pobox.com>
1944 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1945 the event type (upstream, downstream, serialized). Renamed
1946 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1947 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1948 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1950 * gst/gstevent.c: Update for new CUSTOM event names.
1952 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1955 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1958 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1960 * docs/gst/gstreamer-sections.txt:
1961 * win32/common/libgstbase.def:
1962 * win32/libgstbase.def:
1963 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1964 (gst_collect_pads_class_init), (gst_collect_pads_init),
1965 (gst_collect_pads_finalize), (gst_collect_pads_new),
1966 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1967 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1968 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1969 (gst_collect_pads_start), (gst_collect_pads_stop),
1970 (gst_collect_pads_peek), (gst_collect_pads_pop),
1971 (gst_collect_pads_available), (gst_collect_pads_read),
1972 (gst_collect_pads_flush), (gst_collect_pads_event),
1973 (gst_collect_pads_chain):
1974 * gst/base/gstcollectpads.h:
1975 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1976 unimplemented functions as unimplemented. Add padding to
1977 GstCollectData. (#320766, #320423)
1979 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1982 Improve docs for DURATION message (usage of duration parameter)
1985 2005-11-20 Wim Taymans <wim@fluendo.com>
1987 * check/Makefile.am:
1988 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1992 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1993 (gst_segment_set_seek), (gst_segment_set_newsegment),
1994 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1997 Added segment helper structure and methods. Not fully implemented
1999 Added segment check.
2001 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2003 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2004 Add a deserialisation test for fractions
2005 * examples/metadata/read-metadata.c: (message_loop),
2006 (make_pipeline), (main):
2007 Fix up metadata reading sample.
2008 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2010 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2011 Don't try and fixate empty caps
2012 * gst/gst_private.h:
2013 Wrap in G_BEGIN_DECLS/G_END_DECLS
2014 * gst/gstvalue.c: (gst_value_collect_fraction),
2015 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2016 (gst_value_transform_string_fraction),
2017 (gst_value_compare_fraction):
2018 Add some extra guards to ensure that we don't end up
2019 with an invalid denominator of 0 in a gstfraction and
2020 that fractions always get reduced.
2022 2005-11-20 Wim Taymans <wim@fluendo.com>
2024 * docs/gst/gstreamer-sections.txt:
2035 2005-11-20 Wim Taymans <wim@fluendo.com>
2037 * docs/design/part-TODO.txt:
2039 Make a proper enum of the flag.
2041 2005-11-19 Wim Taymans <wim@fluendo.com>
2043 * docs/design/part-TODO.txt:
2044 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2045 (gst_format_to_quark), (gst_format_register):
2047 * gst/gstquery.c: (_gst_query_initialize),
2048 (gst_query_type_get_name), (gst_query_type_to_quark),
2049 (gst_query_type_register):
2051 Add type to quark and type to string conversions.
2053 2005-11-19 Andy Wingo <wingo@pobox.com>
2055 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2058 2005-11-19 Wim Taymans <wim@fluendo.com>
2060 * docs/design/part-TODO.txt:
2061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2062 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2063 (gst_bin_handle_message_func):
2065 Make message handling overridable.
2067 2005-11-19 Andy Wingo <wingo@pobox.com>
2069 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2072 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2074 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2075 is a GstClockTime. Fixes #321710.
2077 * gst/gstclock.h (GstClock): Remove offset property. Add
2078 internal_calibration and external_calibration. Fix padding. Pad
2079 also by GstClockTime so we don't run into problems.
2081 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2082 (gst_clock_get_rate_offset): Remove.
2083 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2086 * gst/gstutils.c (g_static_rec_cond_wait)
2087 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2089 * gst/gstbin.c: Remove terrible continue_state prototype.
2091 * gst/gstelement.h (gst_element_continue_state): Make public.
2094 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2095 by continue_state. Fixes #319389.
2097 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2098 Really fixes #168438. However I don't see anywhere where the
2099 filter function is called... stupid GStreamer...
2101 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2102 don't have a dispose function, so it won't get called when the
2103 object is unreffed, but oh well!
2105 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2106 allows a destroy function to be set so user_data can be freed.
2108 (gst_index_set_filter): Call gst_index_set_filter_full.
2110 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2112 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2113 string should produce an error, given the lack of a way to
2114 represent NULL strings. Fixes #165650.
2117 * gst/gstvalue.c (gst_value_array_append_value)
2118 (gst_value_array_prepend_value, gst_value_array_get_size)
2119 (gst_value_array_get_value): New API, copied from
2120 gst_value_list_*, only operates on arrays.
2121 (gst_value_list_append_value, gst_value_list_prepend_value)
2122 (gst_value_list_concat, gst_value_list_get_size)
2123 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2125 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2126 init_list, because it works on both.
2127 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2128 (gst_value_copy_list_or_array): Renamed from copy_list.
2129 (gst_value_free_list_or_array): Renamed from free_list.
2130 (gst_value_collect_list_or_array): Renamed from collect_list.
2131 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2132 (gst_value_list_or_array_peek_pointer): Renamed from
2134 (_gst_value_array_value_table, _gst_value_list_value_table):
2135 Update value table functions.
2136 (gst_value_compare_list_or_array): Renamed from compare_list.
2138 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2142 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2143 GstTagList*. Fixes #143472.
2145 * gst/gststructure.h: Clarify what the foreach/map functions can
2146 or can't do to their arguments.
2148 2005-11-18 Wim Taymans <wim@fluendo.com>
2150 * gst/gstclock.c: (gst_clock_set_calibration),
2151 (gst_clock_get_calibration):
2153 Calibration can be set with internal time equal to current
2156 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2162 2005-11-18 Andy Wingo <wingo@pobox.com>
2165 * pkgconfig/gstreamer-net.pc.in:
2166 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2167 * pkgconfig/Makefile.am: Add net pkgconfig files.
2169 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2172 * gst/gstghostpad.c:
2178 2005-11-18 Andy Wingo <wingo@pobox.com>
2180 * gst/net/gstnetclientclock.c: Turn off debugging.
2182 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2183 times connverge somewhat. Can't make a real test.
2185 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2186 integer arithmetic. Return the minimum of the domain, which can be
2187 set as "internal" for gst_clock_set_calibration.
2188 (gst_net_client_clock_observe_times): Call _set_calibration.
2189 (gst_net_client_clock_new): Call _set_calibration instead of
2192 * check/net/gstnetclientclock.c (test_functioning): Use the right
2196 * gst/gstclock.c (gst_clock_get_calibration)
2197 (gst_clock_set_calibration): New functions, obsolete the ones I
2198 added yesterday. Doh. Precision issues mean we have to extrapolate
2199 from a point in the more recent past than 1970.
2200 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2202 (gst_clock_adjust_unlocked): Use the right calibration data.
2204 2005-11-18 Edward Hervey <edward@fluendo.com>
2206 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2207 Also reset the ->current_* values in READY->PAUSED
2209 2005-11-18 Andy Wingo <wingo@pobox.com>
2211 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2212 Whoops, check the right fd. Also add some debugging.
2213 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2214 (do_linear_regression): Add a crapload of debugging. Subtract off
2215 the minimum values from the input series to discard unneeded bits.
2216 Use only int arithmetic. There is still double arithmetic when
2217 calculating the intercept that needs fixing. Return boolean to
2218 indicate success; FALSE would mean the domain or range is too
2219 great. Still needs fixes.
2221 2005-11-18 Wim Taymans <wim@fluendo.com>
2223 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2224 For the current position in stream time, we need to subtract
2227 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2228 Release lock before calling the callback function of async
2231 2005-11-18 Andy Wingo <wingo@pobox.com>
2233 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2234 Port goes all the way to MAXUINT16.
2236 * gst/net/gstnettimeprovider.c: Make the port range the same as
2237 for the kernel: 0 assigns, otherwise ports are less than
2240 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2243 * check/net/gstnetclientclock.c (test_functioning): Add the start
2246 2005-11-18 Wim Taymans <wim@fluendo.com>
2248 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2249 (gst_bin_remove_func), (bin_bus_handler):
2251 Removing a clock provider from a bin, triggers a clock lost message
2252 so that a new clock will be selected.
2253 Adding a clock to a bin triggers a clock provider message.
2254 Make sure we reselect a clock when we received a clock lost message.
2255 Keep a reference to the element that provided the clock.
2257 2005-11-18 Andy Wingo <wingo@pobox.com>
2259 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2260 the clock initially so it produces values around the base time.
2261 (gst_net_client_clock_class_init): Typo fix.
2262 (gst_net_client_clock_thread): Add note on when the socket gets
2265 2005-11-17 Wim Taymans <wim@fluendo.com>
2267 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2268 Free remote and local time arrays.
2270 2005-11-17 Wim Taymans <wim@fluendo.com>
2272 * gst/net/gstnetclientclock.c: (do_linear_regression),
2273 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2274 Fix compilation, uninitialized vars and a forgotten continue.
2276 2005-11-17 Andy Wingo <wingo@pobox.com>
2278 * check/Makefile.am (check_PROGRAMS):
2279 * check/net/gstnetclientclock.c: Add a most minimal test for the
2280 net client clock. More to come later.
2283 * gst/net/Makefile.am: Add netclientclock.
2285 * gst/net/gstnetclientclock.h:
2286 * gst/net/gstnetclientclock.c: New files, implement an untested
2287 GstClock that takes its time from a network time provider.
2288 Implements the algorithm in network-clock.scm.
2290 * tests/network-clock.scm (*window-size*): Rename from
2292 * tests/network-clock.scm (network-time):
2293 * tests/network-clock-utils.scm (q-push): Update callers.
2295 2005-11-17 Wim Taymans <wim@fluendo.com>
2297 * gst/gstbin.c: (gst_bin_provide_clock_func),
2298 (gst_bin_sort_iterator_new):
2299 And unref the child too..
2301 2005-11-17 Wim Taymans <wim@fluendo.com>
2303 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2304 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2305 Refactor the sort iterator so it can be used while holding the
2307 Make clock selection select a clock closest to the source.
2309 2005-11-17 Michael Smith <msmith@fluendo.com>
2311 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2312 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2314 Anonymous structs are a gcc (and some other compilers) extension, so
2315 don't use them. Since this is only for ABI-compatibility, and our
2316 API/ABI freeze is over in a few days, this whole thing will only
2317 last a few days, so don't bother trying to think up a meaningful
2318 name for the struct.
2320 2005-11-17 Andy Wingo <wingo@pobox.com>
2322 * gst/gstclock.h (GstClock): Add rate and offset properties,
2323 preserving ABI stability. Add rate/offset accessors. Will file bug
2324 for the freeze break.
2326 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2327 and offset, trying to keep precision and avoiding
2329 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2330 functions. Make gst_clock_set_time_adjust obsolete.
2331 (gst_clock_set_time_adjust): Note that this function is obsolete.
2334 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2335 greppable by using GST_PADDING-1+1.
2337 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2339 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2341 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2342 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2344 * gst/gstpadtemplate.h:
2345 * gst/gstpluginfeature.h:
2346 Don't use c++ style comments in headers (#321638).
2348 2005-11-16 Andy Wingo <wingo@pobox.com>
2350 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2353 * check/net/gstnettimeprovider.c: Check to see that the time
2354 provider actually provides times. Works, yo!
2356 2005-11-16 Wim Taymans <wim@fluendo.com>
2358 * check/Makefile.am:
2361 * check/elements/fakesrc.c: (GST_START_TEST):
2362 Set element to NULL before disposing it.
2364 2005-11-16 Andy Wingo <wingo@pobox.com>
2366 * gst/net/Makefile.am:
2368 * gst/net/gstnettimeprovider.c:
2369 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2370 provider, include it from gstnet.h, and add it to the build.
2372 * gst/net/gstnettimepacket.h:
2373 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2374 sending and receiving.
2376 2005-11-16 Wim Taymans <wim@fluendo.com>
2378 * check/Makefile.am:
2379 Enable valgrind check.
2381 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2382 (gst_fake_src_alloc_buffer):
2385 2005-11-16 Wim Taymans <wim@fluendo.com>
2387 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2388 Call parent finalize too.
2390 2005-11-16 Wim Taymans <wim@fluendo.com>
2392 * check/Makefile.am:
2393 Enable valgrind check that should work fine now.
2395 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2396 * gst/gstqueue.c: (gst_queue_init):
2397 Fix memleaks in pad allocation.
2399 2005-11-16 Andy Wingo <wingo@pobox.com>
2401 * gst/net/Makefile.am:
2402 * gst/net/gstnet.h: New part of core to hold network elements and
2403 objects. Put in core because it exposes API that applications want
2404 to use. The library is named libgstnet-tempname right now because
2405 of the existing libgstnet in gst-plugins-base. Solution is
2406 probably to rename the one in plugins-base; will file a bug for
2409 * gst/net/gstnettimeprovider.c:
2410 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2411 get_time call over the network.
2414 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2416 * check/Makefile.am:
2417 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2418 get additions shortly.
2420 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2422 * gst/gstpad.c: (gst_pad_new_from_static_template):
2424 add gst_pad_new_from_static_template functions
2425 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2426 (gst_check_setup_sink_pad):
2427 * gst/elements/gsttee.c: (gst_tee_init):
2430 2005-11-16 Wim Taymans <wim@fluendo.com>
2432 * gst/gstpad.c: (gst_pad_pause_task):
2433 Removed warning, it's not really an error either.
2435 2005-11-16 Wim Taymans <wim@fluendo.com>
2437 * gst/base/gstbasetransform.c:
2438 (gst_base_transform_prepare_output_buf),
2439 (gst_base_transform_event):
2440 Check if the caps are NULL, this can happen if the element
2441 is shutting down and the pad caps are set to NULL.
2443 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2445 * gst/elements/gsttee.c: (gst_tee_init):
2446 fix pad template leak in tee
2448 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2450 * gst/glib-compat.c: (g_value_dup_gst_object):
2451 * gst/glib-compat.h:
2452 * gst/gstpad.c: (gst_pad_set_property):
2453 use gst_object_ref when setting the pad template; this will
2454 trigger the pad template leaks on GLib 2.6 and the slaves
2456 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2458 * gst/glib-compat.c: (gst_flags_get_first_value):
2459 * gst/glib-compat.h:
2460 * gst/gstregistryxml.c:
2461 remove functions copied from GLib 2.6
2463 2005-11-16 Michael Smith <msmith@fluendo.com>
2466 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2467 do, but only breaks with newer valgrind versions. We're not a
2468 valgrind tool, we have no link-time dependencies on libcoregrind.
2470 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2472 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2477 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2479 * gst/base/gstbasesrc.c: (gst_base_src_init):
2480 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2481 * gst/gstqueue.c: (gst_queue_init):
2482 * gst/gstregistryxml.c: (load_feature):
2483 Revert all these unrefs, they don't even pass make check !
2485 2005-11-15 Johan Dahlin <johan@gnome.org>
2487 * gst/base/gstbasesrc.c: (gst_base_src_init):
2488 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2489 * gst/gstqueue.c: (gst_queue_init):
2490 Free pad templates, fixes a couple of leaks.
2492 2005-11-15 Daniel Fischer <dan at f3c dot com>
2494 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2496 * gst/gstpad.c: (gst_pad_get_property):
2497 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2498 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2501 2005-11-15 Wim Taymans <wim@fluendo.com>
2506 2005-11-15 Andy Wingo <wingo@pobox.com>
2508 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2510 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2511 using GST_CLOCK_TIME_NONE to disable base time management.
2512 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2513 time if it was NONE before.
2514 (gst_pipeline_change_state): Only munge the base time if
2515 stream_time != GST_CLOCK_TIME_NONE.
2517 * check/gst/gstpipeline.c (test_base_time): Punt around the
2518 problem of the probe not being called, because that's not the
2519 issue I'm looking at. Add a check that setting stream_time to NONE
2520 disables base time management.
2522 2005-11-15 Wim Taymans <wim@fluendo.com>
2524 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2525 segment_stop == -1 at startup.
2527 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2528 (gst_base_transform_change_state):
2529 Init segment values at start.
2531 2005-11-15 Wim Taymans <wim@fluendo.com>
2533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2534 0 segment values are 0 in any format.
2536 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2537 * gst/base/gstbasetransform.h:
2538 Parse newsegment correctly in basetransform
2540 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2541 Sync to clock using updated segment values.
2543 2005-11-15 Andy Wingo <wingo@pobox.com>
2545 * check/gst/gstpipeline.c (test_base_time): Add check that the
2546 base time and stream time are reset correctly.
2548 2005-11-15 Wim Taymans <wim@fluendo.com>
2550 * docs/design/part-TODO.txt:
2551 Some more TODO items.
2553 2005-11-15 Andy Wingo <wingo@pobox.com>
2555 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2556 error if the user selected "no clock" as the clocking method.
2558 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2559 timestamps with live capture.
2561 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2562 is 0 but we are a live source, timestamp the buffers using the
2565 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2567 * docs/gst/gstreamer-sections.txt:
2569 * gst/gstghostpad.c:
2574 2005-11-14 Wim Taymans <wim@fluendo.com>
2577 add suppressions from Wim's Debian machine
2579 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2582 add suppressions from Andy's AMD64 Ubuntu machine
2584 2005-11-14 Andy Wingo <wingo@pobox.com>
2586 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2587 STATE_LOCK not necessary. Fixes #311489.
2589 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2592 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2593 this function is not implemented.
2595 2005-11-14 Julien MOUTTE <julien@moutte.net>
2597 * gst/base/gstbasetransform.c:
2598 (gst_base_transform_prepare_output_buf):
2599 Ref the source pad caps while we need them.
2602 2005-11-11 Wim Taymans <wim@fluendo.com>
2604 * docs/gst/gstreamer-sections.txt:
2605 Added some docs for GstCollectData.
2607 * gst/base/gstadapter.c:
2608 Some small code example fix.
2610 * gst/base/gstcollectpads.c:
2611 * gst/base/gstcollectpads.h:
2614 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2616 * configure.ac: back to HEAD
2618 === release 0.9.5 ===
2620 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2623 releasing 0.9.5, "Bike Lunch Day"
2625 2005-11-11 Wim Taymans <wim@fluendo.com>
2627 * gst/gstbuffer.c: (_gst_buffer_copy):
2630 * gst/gstcaps.c: (gst_caps_is_equal):
2632 Make _is_equal fast in the trivial cases.
2634 * gst/gstminiobject.c:
2635 * gst/gstminiobject.h:
2636 More docs. Spifify .h file.
2641 2005-11-11 Wim Taymans <wim@fluendo.com>
2643 * gst/base/gstbasetransform.c:
2644 (gst_base_transform_prepare_output_buf),
2645 (gst_base_transform_handle_buffer):
2647 If we're processing a buffer and need to allocate an output
2648 buffer, we cannot accept a format change. If we did get a
2649 format change, we have to alloc a buffer ourselves of the
2652 2005-11-11 Wim Taymans <wim@fluendo.com>
2654 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2655 While checking the flag for reentrancy in the gstcaps function
2656 is nice to detect recursive invocations, it also makes it
2657 impossible to call getcaps from multiple threads, which must be
2658 possible. So, checking for recursive calls has to go.
2660 2005-11-11 Michael Smith <msmith@fluendo.com>
2662 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2663 Don't sync on buffers that fall partially outside our current
2664 segment. Prevents an assertion failure/abort playing some files.
2666 2005-11-10 Andy Wingo <wingo@pobox.com>
2668 * check/gst/gstbin.c (test_message_state_changed_children): Style
2671 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2672 gst_bus_poll with the signal watch. Ensures that poll and a signal
2673 watch see the same messages.
2675 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2676 a poll and a watch at the same time get the same messages.
2678 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2680 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2681 * gst/gstcaps.c: (gst_caps_intersect):
2682 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2683 and it's not needed.
2685 2005-11-10 Wim Taymans <wim@fluendo.com>
2687 * docs/design/part-TODO.txt:
2690 2005-11-10 Wim Taymans <wim@fluendo.com>
2692 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2693 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2694 (gst_base_src_do_sync), (gst_base_src_get_range):
2695 Implement clock sync in base class.
2697 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2699 patch by: Tim-Philipp Müller <tim at centricular dot net>
2701 * gst/gststructure.c: (gst_structure_parse_field),
2702 (gst_structure_from_string):
2703 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2704 so that gst_parse_launch() can deal with spaces in filtered link
2705 caps (fixes #164479)
2706 * check/gst/capslist.h:
2707 * check/gst/gststructure.c: (GST_START_TEST):
2708 add unit tests for this change
2710 2005-11-10 Wim Taymans <wim@fluendo.com>
2712 * docs/gst/gstreamer-sections.txt:
2715 Fix docs, move some STATE macros to private.
2717 2005-11-10 Wim Taymans <wim@fluendo.com>
2719 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2720 Added check for bug #317341
2724 Some more spiffifying.
2726 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2727 Call peer linkfunction if we are a source pad. Totally fixes
2731 Update docs, source pads should call the peer linkfunction
2732 so they can atomically perform the pad link.
2734 2005-11-09 Wim Taymans <wim@fluendo.com>
2738 Uber-spiffy-spiffify some more.
2740 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2742 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2743 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2744 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2745 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2746 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2747 * gst/gstpad.c: (gst_pad_init):
2748 Use GST_DEBUG_FUNCPTR() more extensively.
2750 2005-11-09 Wim Taymans <wim@fluendo.com>
2752 * gst/gstobject.c: (gst_object_class_init):
2754 Documentation fixes.
2756 2005-11-09 Edward Hervey <edward@fluendo.com>
2758 * gst/gsttypefindfactory.c:
2761 2005-11-09 Edward Hervey <edward@fluendo.com>
2763 * gst/base/gsttypefindhelper.c:
2764 * gst/gsttypefind.c:
2765 * gst/gsttypefind.h:
2768 2005-11-09 Wim Taymans <wim@fluendo.com>
2770 * gst/gstiterator.c:
2777 2005-11-09 Wim Taymans <wim@fluendo.com>
2783 2005-11-09 Wim Taymans <wim@fluendo.com>
2785 * docs/gst/gstreamer-sections.txt:
2786 Moved the message async delivery private lock and cond
2787 to the private section.
2793 2005-11-09 Edward Hervey <edward@fluendo.com>
2795 * docs/gst/gstreamer-sections.txt:
2798 Document GstURIHandler
2800 2005-11-09 Wim Taymans <wim@fluendo.com>
2802 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2803 (gst_iterator_find_custom):
2804 * gst/gstiterator.h:
2807 2005-11-09 Wim Taymans <wim@fluendo.com>
2810 Document another field.
2812 * gst/gststructure.c:
2813 * gst/gststructure.h:
2816 2005-11-09 Wim Taymans <wim@fluendo.com>
2821 2005-11-09 Wim Taymans <wim@fluendo.com>
2823 * docs/gst/gstreamer-sections.txt:
2824 Added some new macros.
2831 2005-11-09 Wim Taymans <wim@fluendo.com>
2833 * docs/design/part-TODO.txt:
2834 Some more items for the TODO
2840 2005-11-09 Andy Wingo <wingo@pobox.com>
2842 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2843 to work on something else now tho...
2845 * gst/base/gstadapter.c: More adapter docs.
2847 * gst/elements/gstfilesink.c (gst_file_sink_start)
2848 (gst_file_sink_stop): New functions, replace the state change
2850 (gst_file_sink_class_init): Hook up the start and stop functions.
2851 (gst_file_sink_base_init): Don't set the state change handler any
2852 more. It was a bit ugly too, being set from here...
2853 (gst_file_sink_get_property, gst_file_sink_set_property):
2855 (gst_file_sink_set_location): More robust check that doesn't call
2858 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2860 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2861 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2863 2005-11-08 Wim Taymans <wim@fluendo.com>
2865 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2866 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2867 (gst_base_sink_chain), (gst_base_sink_change_state):
2868 * gst/base/gstbasesink.h:
2869 * gst/base/gstbasesrc.h:
2872 Avoid excessive typechecking in macros.
2874 * gst/gstminiobject.c: (gst_mini_object_get_type),
2875 (gst_mini_object_init), (gst_mini_object_new),
2876 (gst_mini_object_free):
2877 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2878 (gst_object_finalize):
2879 Remove cruft code, optimize alloc_trace.
2881 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2883 * docs/faq/gst-uninstalled:
2884 fix up PS1 for systems that try to reset it
2886 2005-11-07 Wim Taymans <wim@fluendo.com>
2888 * gst/base/gstbasesrc.c: (gst_base_src_init),
2889 (gst_base_src_get_range):
2890 Set the segment_end to -1 initially. Fixed typefind.
2892 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2894 * gst/base/gstadapter.c:
2895 Debug category should be 'adapter', not 'GstAdapter'.
2897 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2898 (gst_collectpads_class_init), (gst_collectpads_init),
2899 (gst_collectpads_peek), (gst_collectpads_pop),
2900 (gst_collectpads_event), (gst_collectpads_chain):
2901 Add debug category and some debugging output. Use boilerplate
2902 macros. Remove some extraneous words from docs.
2904 2005-11-05 Andy Wingo <wingo@pobox.com>
2906 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2909 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2911 * docs/gst/gstreamer-sections.txt:
2914 * gst/gstminiobject.h:
2919 2005-11-04 Wim Taymans <wim@fluendo.com>
2921 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2922 Small update to stop at the configured segment_end
2925 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2927 * gst/gstregistry.c:
2928 * gst/gstregistry.h:
2931 2005-11-04 Edward Hervey <edward@fluendo.com>
2933 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2934 Check if we are doing a segment seek and have arrived at the
2935 end of that segment.
2937 2005-11-04 Wim Taymans <wim@fluendo.com>
2939 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2940 Don't leak a mutex unlock in case of an error.
2945 2005-11-04 Wim Taymans <wim@fluendo.com>
2947 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2949 Get the context to wake up only once.
2951 2005-11-03 Wim Taymans <wim@fluendo.com>
2953 * check/states/sinks.c: (GST_START_TEST):
2954 Uncomment fixed check.
2956 * docs/design/part-TODO.txt:
2959 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2960 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2961 (gst_base_sink_get_position):
2962 If we are going to PLAYING, post the right pending state
2963 when we post the intermediate paused message.
2965 * gst/gstelement.c: (gst_element_continue_state),
2966 (gst_element_set_state_func), (gst_element_change_state):
2967 Don't post state changes that were between the same state
2970 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2972 * docs/gst/gstreamer-sections.txt:
2975 * gst/gstminiobject.h:
2978 more docs and doc style fixes
2980 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2982 * docs/gst/gstreamer-sections.txt:
2984 * gst/gstminiobject.c:
2987 2005-11-03 Andy Wingo <wingo@pobox.com>
2989 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2990 state-changed messages actually have the right order and the right
2993 2005-11-03 Wim Taymans <wim@fluendo.com>
2995 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2996 Added some more checks. Specifically the case where NO_PREROLL
2997 elements are in the pipeline.
2999 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3000 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3001 (gst_base_sink_get_position):
3002 Post READY->PAUSED state change messages too.
3003 Fix bug where VOID was posted as pending state...
3005 * gst/gstbin.c: (gst_bin_recalc_state):
3006 use _element_continue_state() to continue the state change.
3008 * gst/gstelement.c: (gst_element_continue_state),
3009 (gst_element_commit_state), (gst_element_set_state_func),
3010 (gst_element_change_state), (gst_element_change_state_func):
3011 Lots of state change cleanups, assign the STATE_RETURN in
3012 a new continue_state() function that also propagates the
3013 last return value from a state change to the app.
3014 Update some debug statements with proper category.
3016 2005-11-03 Wim Taymans <wim@fluendo.com>
3018 * docs/design/part-events.txt:
3019 * docs/design/part-gstpipeline.txt:
3020 * docs/design/part-messages.txt:
3021 * docs/design/part-overview.txt:
3022 * docs/design/part-seeking.txt:
3023 * docs/design/part-states.txt:
3024 * docs/design/part-trickmodes.txt:
3025 * docs/manual/advanced-position.xml:
3029 People think !! is ugly, this looks better.
3031 * gst/gstpad.c: (gst_pad_set_blocked_async):
3032 Remove !! since it's fixed elsewhere now.
3034 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3036 * gst/gstminiobject.h:
3038 Add !! to _FLAG_IS_SET macros to make the result boolean.
3040 2005-11-03 Edward Hervey <edward@fluendo.com>
3042 * gst/gstpad.c: (gst_pad_set_blocked_async):
3043 comparing a flag and a gboolean rarely returns coherent results...
3044 Added two characters (!!) to make that work correctly.
3046 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3048 * gst/gstbus.c: (gst_bus_class_init):
3051 * gst/gstqueue.c: (gst_queue_loop):
3052 Don't assume a miniobject that isn't a buffer is an
3053 event (it could be that there is a refcounting
3054 problem somewhere and the pointer is stale and
3055 refers to an already destroyed miniobject).
3057 2005-11-03 Julien MOUTTE <julien@moutte.net>
3059 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3061 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3063 * docs/manual/advanced-position.xml:
3064 Update seek example and explanations to current 0.9 API.
3066 * gst/elements/gsttypefindelement.c:
3067 (gst_type_find_element_activate):
3068 Remove FIXME comment now that the found caps
3071 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3073 * gst/gstregistryxml.c: (load_feature):
3074 Add another GST_STR_NULL instance
3076 2005-11-02 Edward Hervey <edward@fluendo.com>
3078 * gst/gstpad.c: (handle_pad_block):
3079 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3081 2005-11-02 Wim Taymans <wim@fluendo.com>
3086 * gst/gstelement.c: (gst_element_commit_state):
3087 Remove unused value.
3089 * gst/gstiterator.c:
3090 Mention that the returned element is reffed in the docs.
3092 2005-11-02 Wim Taymans <wim@fluendo.com>
3094 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3095 (gst_pad_push), (gst_pad_push_event):
3096 Unlock blocked pads when they are flushed.
3098 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3101 * docs/gst/gstreamer-sections.txt:
3104 * gst/gstregistry.c: (gst_registry_scan_path_level):
3105 fix for a nasty little missed situation where an installed plug-in
3106 which was in the cache did not get overridden by an uninstalled one
3107 which was earlier in the plugin path because the newly created plugin
3108 for the uninstalled one (not in the registry) didn't get its
3109 ->registered set to TRUE
3111 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3113 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3114 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3115 (gst_collectpads_is_active), (gst_collectpads_collect),
3116 (gst_collectpads_collect_range), (gst_collectpads_start),
3117 (gst_collectpads_stop), (gst_collectpads_peek),
3118 (gst_collectpads_pop), (gst_collectpads_available),
3119 (gst_collectpads_read), (gst_collectpads_flush):
3120 Guard public API with assertions.
3123 Fix docs for gst_pad_set_link_function().
3125 2005-11-02 Johan Dahlin <johan@gnome.org>
3127 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3128 Unref found_caps after we used it.
3130 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3132 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3133 Don't try to ref NULL.
3135 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3137 * win32/common/config.h.in:
3138 provide a GST_FUNCTION that just gives a string for now
3140 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3142 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3143 (gst_object_flags_get_type), (register_gst_bin_flags),
3144 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3145 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3146 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3147 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3148 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3149 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3150 (gst_clock_flags_get_type), (register_gst_state),
3151 (gst_state_get_type), (register_gst_state_change_return),
3152 (gst_state_change_return_get_type), (register_gst_state_change),
3153 (gst_state_change_get_type), (register_gst_element_flags),
3154 (gst_element_flags_get_type), (register_gst_core_error),
3155 (gst_core_error_get_type), (register_gst_library_error),
3156 (gst_library_error_get_type), (register_gst_resource_error),
3157 (gst_resource_error_get_type), (register_gst_stream_error),
3158 (gst_stream_error_get_type), (register_gst_event_type),
3159 (gst_event_type_get_type), (register_gst_seek_type),
3160 (gst_seek_type_get_type), (register_gst_seek_flags),
3161 (gst_seek_flags_get_type), (register_gst_format),
3162 (gst_format_get_type), (register_gst_index_certainty),
3163 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3164 (gst_index_entry_type_get_type),
3165 (register_gst_index_lookup_method),
3166 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3167 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3168 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3169 (gst_index_flags_get_type), (register_gst_debug_level),
3170 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3171 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3172 (gst_iterator_result_get_type), (register_gst_iterator_item),
3173 (gst_iterator_item_get_type), (register_gst_message_type),
3174 (gst_message_type_get_type), (register_gst_mini_object_flags),
3175 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3176 (gst_pad_link_return_get_type), (register_gst_flow_return),
3177 (gst_flow_return_get_type), (register_gst_activate_mode),
3178 (gst_activate_mode_get_type), (register_gst_pad_direction),
3179 (gst_pad_direction_get_type), (register_gst_pad_flags),
3180 (gst_pad_flags_get_type), (register_gst_pad_presence),
3181 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3182 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3183 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3184 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3185 (gst_plugin_flags_get_type), (register_gst_rank),
3186 (gst_rank_get_type), (register_gst_query_type),
3187 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3188 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3189 (gst_tag_flag_get_type), (register_gst_task_state),
3190 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3191 (gst_alloc_trace_flags_get_type),
3192 (register_gst_type_find_probability),
3193 (gst_type_find_probability_get_type), (register_gst_uri_type),
3194 (gst_uri_type_get_type), (register_gst_parse_error),
3195 (gst_parse_error_get_type):
3196 * win32/common/gstversion.h:
3199 2005-11-01 Luca Ognibene <luogni@tin.it>
3202 fix docs. popt is dead, long live GOption.
3204 2005-10-31 Wim Taymans <wim@fluendo.com>
3209 2005-10-31 Andy Wingo <wingo@pobox.com>
3213 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3215 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3216 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3217 the possibility of deadlocks here if code calling notify() or
3218 set() has a lock that can be taken in another notify handler (ABBA
3219 with class lock and e.g. python GIL state lock).
3221 2005-10-28 Julien MOUTTE <julien@moutte.net>
3223 * gst/gstbus.c: Doc updates.
3225 2005-10-28 Wim Taymans <wim@fluendo.com>
3227 * docs/design/part-TODO.txt:
3228 * gst/gstiterator.c:
3229 * gst/gstsystemclock.c:
3230 * gst/gstsystemclock.h:
3233 2005-10-28 Edward Hervey <edward@fluendo.com>
3235 * docs/gst/gstreamer-docs.sgml:
3236 * docs/gst/gstreamer-sections.txt:
3237 the GstURIType documentation page is private, it only defines GstURIType
3238 which should be defined in the GstURIHandler page
3240 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3242 * gst/gstbin.c: (gst_bin_class_init):
3245 Documentation updates.
3247 2005-10-28 Wim Taymans <wim@fluendo.com>
3249 * docs/gst/gstreamer-sections.txt:
3252 Documented the clocks.
3254 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3256 * docs/gst/gstreamer-sections.txt:
3257 move some macros to private sections
3258 * gst/gstminiobject.c:
3259 * gst/gstminiobject.h:
3260 add descriptions provided by ds and some more
3262 mark macro as to be removed
3264 2005-10-28 Wim Taymans <wim@fluendo.com>
3266 * docs/design/part-TODO.txt:
3267 Add an item to TODO.
3269 * gst/gstiterator.c: (gst_iterator_fold),
3270 (gst_iterator_find_custom):
3271 * gst/gstiterator.h:
3274 2005-10-28 Wim Taymans <wim@fluendo.com>
3276 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3277 (gst_base_transform_init):
3280 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3281 An EOS event marks the queue as completely filled.
3283 2005-10-27 Wim Taymans <wim@fluendo.com>
3285 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3286 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3287 Some more debugging.
3289 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3290 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3291 (gst_base_transform_event), (gst_base_transform_getrange),
3292 (gst_base_transform_chain):
3293 * gst/base/gstbasetransform.h:
3295 Protect transform and concurrent buffer alloc with a new lock.
3296 Try not to break ABI/API.
3298 2005-10-27 Wim Taymans <wim@fluendo.com>
3300 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3301 (gst_base_src_init), (gst_base_src_query),
3302 (gst_base_src_default_newsegment),
3303 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3304 (gst_base_src_send_event), (gst_base_src_event_handler),
3305 (gst_base_src_pad_get_range), (gst_base_src_loop),
3306 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3307 (gst_base_src_start), (gst_base_src_deactivate),
3308 (gst_base_src_activate_push), (gst_base_src_change_state):
3309 Move some stuff around and cleanup things.
3311 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3313 * gst/base/gstbasesrc.c: (gst_base_src_query):
3314 Add missing break statements.
3316 2005-10-27 Wim Taymans <wim@fluendo.com>
3318 * check/gst/gstbin.c: (GST_START_TEST):
3319 An extra refcount is taken in basesrc.
3321 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3322 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3323 (gst_base_src_loop):
3324 Small cleanups, check for flushing after being unlocked from the
3325 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3326 Don't send out EOS when going to READY.
3328 2005-10-27 Wim Taymans <wim@fluendo.com>
3330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3331 (gst_base_sink_get_position):
3334 * gst/gstbin.c: (message_check), (bin_replace_message),
3335 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3336 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3337 (bin_query_duration_init), (bin_query_duration_fold),
3338 (bin_query_duration_done), (bin_query_generic_fold),
3340 * tools/gst-launch.c: (main):
3343 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3345 * examples/controller/audio-example.c: (main):
3346 * examples/queue/queue.c: (event_loop):
3347 * gst/base/gstbasetransform.h:
3348 * gst/gstelement.c: (gst_element_send_event):
3350 * gst/gstpad.c: (gst_pad_send_event):
3353 changing log priority in error situations
3355 2005-10-25 Wim Taymans <wim@fluendo.com>
3357 * gst/gstbin.c: (message_check), (bin_replace_message),
3358 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3359 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3360 (bin_query_duration_init), (bin_query_duration_fold),
3361 (bin_query_duration_done), (bin_query_generic_fold),
3363 Some doc and debug updates.
3364 Cache previously requested query DURATION for speed. invalidate
3365 cached duration if element posts a DURATION message.
3367 2005-10-25 Wim Taymans <wim@fluendo.com>
3369 * docs/design/part-TODO.txt:
3372 * gst/gstbin.c: (message_check), (bin_replace_message),
3373 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3374 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3375 (bin_query_duration_init), (bin_query_duration_fold),
3376 (bin_query_duration_done), (bin_query_generic_fold),
3378 Handle SEGMENT_START/DONE messages correctly.
3379 More evolved query algorithm that handles duration queries
3382 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3383 (gst_element_get_state_func), (gst_element_abort_state),
3384 (gst_element_commit_state), (gst_element_lost_state):
3385 Some more debugging.
3390 2005-10-25 Wim Taymans <wim@fluendo.com>
3392 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3393 Don't use invalid stream_time.
3395 * gst/gstevent.c: (gst_event_new_newsegment):
3396 stream_time in newsegment cannot be undefined.
3398 2005-10-24 Wim Taymans <wim@fluendo.com>
3403 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3405 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3407 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3409 * docs/libs/tmpl/gstdparam.sgml:
3410 * docs/libs/tmpl/gstdplinint.sgml:
3411 * docs/libs/tmpl/gstdpman.sgml:
3412 * docs/libs/tmpl/gstdpsmooth.sgml:
3413 * docs/libs/tmpl/gstunitconvert.sgml:
3416 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3421 === release 0.9.4 ===
3423 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3426 releasing 0.9.4, "Tyrannosaurus Rex"
3428 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3430 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3431 (gst_file_sink_get_current_offset):
3432 Use fseeko() and ftello() if available. When falling back on
3433 lseek() to get the current offset, fflush() first to make sure
3434 everything is up-to-date and we get the right offset.
3436 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3438 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3439 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3440 * gst/gsterror.c: (_gst_stream_errors_init):
3442 * gst/gstqueue.c: (gst_queue_loop):
3444 remove prematurely added error category and clean up the instances
3446 2005-10-21 Wim Taymans <wim@fluendo.com>
3448 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3449 (gst_base_sink_get_position), (gst_base_sink_query),
3450 (gst_base_sink_change_state):
3451 Simply set the right flag when going to playing, that's all
3452 we need to do instead of calling a function inside the object
3453 lock (that could take the lock as well and deadlock)
3455 2005-10-21 Wim Taymans <wim@fluendo.com>
3457 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3458 (gst_base_src_loop):
3459 Don't warn, the peer element knows what to do best when
3460 the seek failed, it might try something else.
3462 2005-10-21 Wim Taymans <wim@fluendo.com>
3464 * gst/base/gstbasesrc.c: (gst_base_src_init),
3465 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3468 2005-10-21 Wim Taymans <wim@fluendo.com>
3470 * docs/design/part-segments.txt:
3473 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3474 Correctly set caps, even on the subbufer.
3476 2005-10-21 Wim Taymans <wim@fluendo.com>
3478 * docs/gst/gstreamer-docs.sgml:
3479 * docs/gst/gstreamer-sections.txt:
3486 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3490 And 2% more doc coverage.
3492 2005-10-21 Andy Wingo <wingo@pobox.com>
3494 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3497 2005-10-20 Wim Taymans <wim@fluendo.com>
3499 * gst/gsterror.c: (gst_error_get_message):
3502 * gst/gststructure.c:
3507 2005-10-20 Wim Taymans <wim@fluendo.com>
3512 Another 1% more coverage.
3514 2005-10-20 Wim Taymans <wim@fluendo.com>
3516 * docs/gst/gstreamer-sections.txt:
3517 * gst/gstelement.c: (gst_element_get_state_func),
3518 (gst_element_abort_state), (gst_element_commit_state),
3519 (gst_element_lost_state):
3521 * gst/gstquery.c: (gst_query_set_position),
3522 (gst_query_parse_position), (gst_query_set_duration),
3523 (gst_query_parse_duration), (gst_query_new_convert):
3525 Yay! 1% more docs coverage.
3527 2005-10-20 Wim Taymans <wim@fluendo.com>
3530 * gst/gstquery.c: (gst_query_set_position),
3531 (gst_query_parse_position), (gst_query_set_duration),
3532 (gst_query_parse_duration), (gst_query_new_convert):
3534 * gst/gstutils.c: (gst_element_query_convert):
3536 Docs and consistency fixes.
3538 2005-10-20 Wim Taymans <wim@fluendo.com>
3544 2005-10-20 Wim Taymans <wim@fluendo.com>
3546 * gst/gstbin.c: (message_check), (bin_replace_message),
3547 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3548 (update_degree), (gst_bin_sort_iterator_next),
3549 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3550 Reworked the message handling a bit, cache the messages instead of
3551 only the senders. alows us to do more in the future.
3553 2005-10-20 Wim Taymans <wim@fluendo.com>
3555 * docs/design/part-TODO.txt:
3558 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3559 (gst_base_sink_query):
3560 Don't use clock time to report position when in EOS.
3562 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3564 * tools/gst-inspect.c: (print_interfaces),
3565 (print_element_properties_info), (print_element_info):
3566 Fix interface output with gst-inspect -a; don't print
3567 newlines after double/float properties.
3569 2005-10-20 Wim Taymans <wim@fluendo.com>
3571 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3572 (gst_base_sink_query):
3573 Speed up current position calculation.
3575 * gst/base/gstbasesrc.c: (gst_base_src_query),
3576 (gst_base_src_default_newsegment):
3577 Correctly set stream position in newsegment.
3579 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3580 (update_degree), (gst_bin_sort_iterator_next),
3581 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3582 * gst/gstmessage.c: (gst_message_new_custom):
3583 Clean up debugging info
3585 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3586 (gst_queue_loop), (gst_queue_handle_src_query):
3589 2005-10-19 Wim Taymans <wim@fluendo.com>
3591 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3592 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3593 Fix query handling again.
3595 2005-10-19 Wim Taymans <wim@fluendo.com>
3597 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3598 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3599 * gst/base/gstbasesrc.c: (gst_base_src_query):
3600 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3601 * gst/elements/gsttypefindelement.c:
3602 (gst_type_find_handle_src_query), (find_element_get_length),
3603 (gst_type_find_element_activate):
3606 * gst/gstquery.c: (gst_query_new_position),
3607 (gst_query_set_position), (gst_query_parse_position),
3608 (gst_query_new_duration), (gst_query_set_duration),
3609 (gst_query_parse_duration), (gst_query_set_segment),
3610 (gst_query_parse_segment):
3612 Bundling query position/duration is not a good idea since duration
3613 does not change much and we don't want to recalculate it for every
3614 position query, so they are separated again..
3615 Base value in segment query is not needed.
3617 * gst/gstqueue.c: (gst_queue_handle_src_query):
3618 * gst/gstutils.c: (gst_element_query_position),
3619 (gst_element_query_duration), (gst_pad_query_position),
3620 (gst_pad_query_duration):
3622 Updates for query API change.
3623 Added some docs here and there.
3625 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3627 * check/gst/gstbin.c: (GST_START_TEST):
3628 * check/gst/gstghostpad.c: (GST_START_TEST):
3629 * check/pipelines/cleanup.c: (GST_START_TEST):
3630 wait on thread to die so we can check refcount correctly
3632 2005-10-18 Wim Taymans <wim@fluendo.com>
3634 * check/pipelines/stress.c: (GST_START_TEST):
3635 Make check a little more time consuming.
3637 2005-10-18 Wim Taymans <wim@fluendo.com>
3639 * check/Makefile.am:
3640 * check/pipelines/stress.c: (GST_START_TEST),
3641 (simple_launch_lines_suite), (main):
3642 Small state change torture test.
3644 * docs/design/part-states.txt:
3645 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3646 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3647 (gst_base_sink_change_state):
3648 Never take state lock from streaming thread, clean up ugly
3649 hacks. Unfortunatly core does not yet support nice ways to
3652 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3654 Start state recalc if a STATE_DIRTY message is posted, but only
3655 on the toplevel bin.
3657 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3658 (gst_element_get_state_func), (gst_element_abort_state),
3659 (gst_element_commit_state), (gst_element_lost_state),
3660 (gst_element_set_state_func), (gst_element_change_state):
3662 State variables are now protected with the LOCK, the state
3663 lock is only used to serialize _set_state().
3665 2005-10-18 Wim Taymans <wim@fluendo.com>
3667 * check/gst/gstbin.c: (GST_START_TEST):
3668 * check/gst/gstmessage.c: (GST_START_TEST):
3669 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3670 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3672 * gst/gstelement.c: (gst_element_abort_state),
3673 (gst_element_commit_state), (gst_element_lost_state):
3674 * gst/gstmessage.c: (gst_message_new_state_changed),
3675 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3676 (gst_message_new_segment_done), (gst_message_new_duration),
3677 (gst_message_parse_state_changed),
3678 (gst_message_parse_segment_start),
3679 (gst_message_parse_segment_done), (gst_message_parse_duration):
3681 * tools/gst-launch.c: (event_loop):
3682 Seriously, this is better than a previous commit as we only need
3683 to notify the fact that an element changed state in a streaming
3684 thread, marking the state of the parents dirty, hence the
3685 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3688 2005-10-18 Wim Taymans <wim@fluendo.com>
3690 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3691 (gst_bin_recalc_func):
3692 * gst/gstelement.c: (gst_element_set_clock),
3693 (gst_element_abort_state), (gst_element_lost_state):
3694 Cleanups, prepare for state change fixes.
3696 2005-10-18 Wim Taymans <wim@fluendo.com>
3699 * gst/gstelement.c: (gst_element_class_init),
3700 (gst_element_set_state), (gst_element_set_state_func):
3702 Pending ABI changes.
3703 GThreadPool in GstBinClass to monitor async state changes.
3704 state_cookie in GstElement to detect concurrent gst/set state.
3705 set_state is now virtual too in case a very complicated element
3706 has to be constructed.
3708 2005-10-18 Wim Taymans <wim@fluendo.com>
3710 * check/gst/gstbin.c: (GST_START_TEST):
3711 * check/gst/gstmessage.c: (GST_START_TEST):
3712 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3713 * gst/gstbin.c: (bin_bus_handler):
3714 * gst/gstelement.c: (gst_element_commit_state),
3715 (gst_element_lost_state):
3716 * gst/gstmessage.c: (gst_message_new_state_changed),
3717 (gst_message_new_segment_start), (gst_message_new_segment_done),
3718 (gst_message_new_duration), (gst_message_parse_state_changed),
3719 (gst_message_parse_segment_start),
3720 (gst_message_parse_segment_done), (gst_message_parse_duration):
3722 * tools/gst-launch.c: (event_loop):
3723 Make messages future proof.
3724 state-change gets a flag if it was a message comming from the
3726 segment-start/stop can also be specified in other formats.
3727 A message to notify an app that a pipeline changed playback
3729 Also fix a GstMessage leak in -launch
3731 2005-10-18 Andy Wingo <wingo@pobox.com>
3733 * gst/gstelement.c (gst_element_dispose): More helpful message.
3735 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3737 reviewed by: <delete if not using a buddy>
3739 * common/gtk-doc.mak:
3741 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3743 * gst/gstregistry.c: (gst_registry_scan_path_level):
3744 unref a plug-in we get that was already initialized
3746 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3748 * docs/gst/gstreamer-sections.txt:
3749 * docs/libs/gstreamer-libs-sections.txt:
3754 2005-10-17 Andy Wingo <wingo@pobox.com>
3756 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3759 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3761 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3763 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3764 (gst_element_get_state_func): Better debug message.
3765 (gst_element_commit_state): s/INFO/DEBUG/.
3766 (gst_element_lost_state, gst_element_change_state):
3768 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3769 (gst_message_new_custom): s/INFO/LOG/.
3771 2005-10-17 Michael Smith <msmith@fluendo.com>
3773 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3774 Check if end time is valid using end time, not start time.
3776 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3778 * check/gst-libs/controller.c: (GST_START_TEST),
3779 (gst_controller_suite):
3780 * libs/gst/controller/gstcontroller.c:
3781 (gst_controlled_property_set_interpolation_mode):
3782 * libs/gst/controller/gstcontroller.h:
3783 * libs/gst/controller/gstinterpolation.c:
3784 * testsuite/controller/.cvsignore:
3785 * testsuite/controller/Makefile.am:
3786 * testsuite/controller/interpolator.c:
3787 merge controller testsuites
3789 remove mem-chunk from docs
3791 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3793 * gst/gstmemchunk.c:
3794 * gst/gstmemchunk.h:
3795 * gst/gsttrashstack.c:
3796 * gst/gsttrashstack.h:
3797 out. get out. you're fired. to the Attic !
3799 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3801 * gst/gstcaps.c: (gst_caps_intersect):
3802 fix signedness issues in a (hopefully) correct way
3803 * gst/gstelement.c: (gst_element_pads_activate):
3805 * gst/gstobject.c: (gst_object_set_parent):
3808 2005-10-17 Julien MOUTTE <julien@moutte.net>
3810 * gst/gstvalue.h: Fix prototypes.
3812 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3814 * docs/gst/gstreamer-sections.txt:
3815 * gst/gst.c: (gst_version_string):
3817 * gst/gstversion.h.in:
3818 * win32/common/libgstreamer.def:
3819 add gst_version_string ()
3821 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3825 * gst/gst.c: (init_post):
3826 * win32/common/config.h.in:
3828 * gst/gstcaps.c: (gst_caps_intersect):
3829 use gint64, the range could be bigger than a guint
3831 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3834 document potential problem in 2038
3836 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3838 * gst/gstcaps.c: (gst_caps_intersect):
3839 Fix guint j diving under 0
3841 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3844 * win32/common/config.h:
3845 * win32/common/config.h.in:
3846 check for process.h, declares getpid() on Windows
3848 include process.h if we have it
3849 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3850 * gst/gstmemchunk.h:
3851 fix signedness issues
3852 * win32/common/libgstreamer.def:
3855 2005-10-16 Julien MOUTTE <julien@moutte.net>
3857 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3858 fix. Because of unsigned ints, caps intersection was going nuts and
3859 trying to access structures with G_MAXUINT index. That fixes
3860 videotestsrc ! ffmpegcolorspace ! fakesink
3861 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3864 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3867 use the gettext macro
3868 * gst/elements/gstelements.c:
3870 * gst/indexers/gstindexers.c:
3871 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3872 * win32/common/config.h:
3874 * win32/common/config.h.in:
3875 add the template to generate config.h
3876 * win32/common/gstenumtypes.c:
3877 * win32/common/gstversion.h:
3880 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3882 * gst/gst.c: (gst_version):
3883 * gst/gstversion.h.in:
3886 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3889 Oops, add missing closing bracket.
3891 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3894 use common m4's for argument checking
3896 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3898 * docs/gst/gstreamer-sections.txt:
3900 Add GST_EVENT_TYPE_NAME() macro.
3902 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3905 * gst/gstpluginfeature.c:
3907 privatize more symbols
3909 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3912 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3913 everything that uses GStreamer API should have the includes
3915 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3917 * docs/gst/gstreamer-sections.txt:
3918 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3920 give each value a _get_type, removes the DATA exports
3922 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3926 remove _gst_registry_auto_load, not used anymore
3927 * gst/gstbin.c: (gst_bin_get_type):
3929 * gst/gstelement.c: (gst_element_get_type):
3931 * gst/gstobject.c: (gst_object_get_type):
3933 * gst/gstpad.c: (gst_pad_get_type):
3935 make _get_type functions similar, fixes data export from library
3937 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3940 correctly make conditionals
3941 * gst/elements/Makefile.am:
3942 * gst/elements/gstelements.c:
3943 fix typo causing fdsrc not to build
3945 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3947 * testsuite/Makefile.am:
3948 * testsuite/bytestream/.cvsignore:
3949 * testsuite/bytestream/Makefile.am:
3950 * testsuite/bytestream/filepadsink.c:
3951 * testsuite/bytestream/gstbstest.c:
3952 * testsuite/bytestream/test1.c:
3953 * testsuite/bytestream/testfile1:
3954 * testsuite/caps/normalisation.c:
3955 * testsuite/caps/random.c: (main):
3956 * testsuite/cleanup/.cvsignore:
3957 * testsuite/cleanup/Makefile.am:
3958 * testsuite/cleanup/cleanup1.c:
3959 * testsuite/cleanup/cleanup2.c:
3960 * testsuite/cleanup/cleanup3.c:
3961 * testsuite/cleanup/cleanup4.c:
3962 * testsuite/cleanup/cleanup5.c:
3963 * testsuite/controller/interpolator.c:
3964 * testsuite/debug/printf_extension.c: (main):
3965 * testsuite/elements/tee.c:
3966 * testsuite/negotiation/.cvsignore:
3967 * testsuite/negotiation/Makefile.am:
3968 * testsuite/negotiation/pad_link.c:
3969 * testsuite/pad/Makefile.am:
3970 * testsuite/pad/chainnopull.c:
3971 * testsuite/pad/getnopush.c:
3972 * testsuite/pad/link.c:
3973 * testsuite/refcounting/sched.c: (create_pipeline):
3974 * testsuite/registry/Makefile.am:
3975 * testsuite/registry/gst-print-formats.c:
3976 * testsuite/schedulers/.cvsignore:
3977 * testsuite/schedulers/142183-2.c:
3978 * testsuite/schedulers/142183.c:
3979 * testsuite/schedulers/143777-2.c:
3980 * testsuite/schedulers/143777.c:
3981 * testsuite/schedulers/147713.c:
3982 * testsuite/schedulers/147819.c:
3983 * testsuite/schedulers/147894-2.c:
3984 * testsuite/schedulers/147894.c:
3985 * testsuite/schedulers/Makefile.am:
3986 * testsuite/schedulers/group_link.c:
3987 * testsuite/schedulers/queue_link.c:
3988 * testsuite/schedulers/relink.c:
3989 * testsuite/schedulers/unlink.c:
3990 * testsuite/schedulers/unref.c:
3991 * testsuite/schedulers/useless_iteration.c:
3992 * testsuite/states/bin.c:
3993 clean out/remove some stuff from the testsuite directories
3995 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3998 check for some headers
3999 * gst/elements/Makefile.am:
4000 * gst/elements/gstelements.c:
4001 don't compile fdsrc without sys/socket.h
4002 * gst/indexers/Makefile.am:
4003 * gst/indexers/gstindexers.c: (plugin_init):
4004 don't compile fileindex without mmap
4006 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4013 * check/Makefile.am:
4014 * docs/gst/Makefile.am:
4015 * examples/helloworld/Makefile.am:
4017 * gst/base/Makefile.am:
4018 * gst/check/Makefile.am:
4019 * gst/elements/Makefile.am:
4020 * gst/indexers/Makefile.am:
4021 * gst/parse/Makefile.am:
4022 * libs/gst/controller/Makefile.am:
4023 * libs/gst/dataprotocol/Makefile.am:
4024 * examples/helloworld/helloworld.c: (event_loop):
4025 compile fixes, though it's not being compiled currently
4027 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4029 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4030 Add some simple tests for the new taglist date API.
4032 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4034 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4035 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4036 Beautify 'last-message' output: print 'none' for buffer timestamps
4037 and durations if none is set; improve alignment with next messages.
4039 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4041 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4042 * gst/gstpluginfeature.h:
4043 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4044 * gst/gstregistry.h:
4045 * docs/gst/gstreamer-sections.txt:
4046 Add new API to check plugin feature version requirements.
4048 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4049 Some basic tests for the above.
4051 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4053 * gst/gststructure.c: (gst_structure_to_string):
4054 guard against NULL printf - happens when for example
4055 a message structure with GstClock gets serialized
4057 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4059 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4060 Fix presumable copy'n'pasto.
4062 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4064 * gst/elements/gstfakesrc.h:
4065 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4066 * gst/elements/gsttypefindelement.c:
4068 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4069 I wonder if this could actually write +2GB files before
4071 2005-10-13 Andy Wingo <wingo@pobox.com>
4073 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4074 Fix Timmeke Waymans bug.
4075 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4076 string of the proper length to gst_caps_from_string. There's a
4077 potential for, before this fix, that this could cause someone
4078 connecting over the network to cause a segfault if the payload is
4081 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4083 * docs/design/draft-push-pull.txt:
4084 * docs/design/part-overview.txt:
4085 * docs/random/TODO-pre-0.9:
4086 * docs/random/old/ChangeLog.gstreamer:
4087 * gst/base/gstpushsrc.c:
4091 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4093 * gst/glib-compat.c: (gst_flags_get_first_value):
4094 * gst/glib-compat.h:
4095 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4096 (gst_value_compare_double), (gst_value_serialize_flags):
4097 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4100 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4103 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4105 * tools/gst-launch.c: (event_loop):
4106 print out clock nicely
4108 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4110 * docs/gst/gstreamer-sections.txt:
4112 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4113 (gst_tag_list_get_date_index):
4114 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4115 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4117 2005-10-13 Julien MOUTTE <julien@moutte.net>
4119 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4120 (gst_collectpads_chain):
4121 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4124 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4126 * docs/gst/gstreamer-sections.txt:
4129 * tools/gst-inspect.c: (main):
4130 * tools/gst-launch.c: (main):
4131 * tools/gst-run.c: (main):
4132 * tools/gst-xmlinspect.c: (main):
4133 fix GOption context leaks
4136 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4140 * win32/common/config.h:
4142 * win32/vs6/grammar.dsp:
4143 * win32/vs6/libgstelements.dsp:
4144 * win32/vs6/libgstreamer.dsp:
4147 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4149 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4150 * gst/base/gstbasesrc.c: (gst_base_src_query):
4151 fix more guint64<->gdouble conversions
4153 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4156 add win32-update target
4157 * win32/common/gstconfig.h:
4158 * win32/common/gstenumtypes.c:
4159 * win32/common/gstenumtypes.h:
4160 * win32/common/gstversion.h:
4161 add files that visual studio can't generate
4163 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4166 add a win32-update target
4169 2005-10-12 Wim Taymans <wim@fluendo.com>
4171 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4172 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4173 * gst/gstelement.c: (gst_element_commit_state),
4174 (gst_element_set_state):
4175 Protect flags with proper lock.
4176 unref provided cached clock in dispose.
4178 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4181 * gst/gstminiobject.h:
4183 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4184 removed unused flags from miniobject
4187 2005-10-12 Wim Taymans <wim@fluendo.com>
4189 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4190 (gst_file_sink_event), (gst_file_sink_render):
4191 Flush before seeking.
4193 2005-10-12 Andy Wingo <wingo@pobox.com>
4195 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4196 always been the case.
4198 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4200 * check/gst/gstbin.c: (GST_START_TEST):
4201 * docs/gst/gstreamer-sections.txt:
4202 * gst/base/gstbasesink.c: (gst_base_sink_init):
4203 * gst/base/gstbasesrc.c: (gst_base_src_init),
4204 (gst_base_src_get_range), (gst_base_src_check_get_range),
4205 (gst_base_src_start), (gst_base_src_stop):
4206 * gst/base/gstbasesrc.h:
4207 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4208 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4209 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4213 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4215 * gst/gstelement.c: (gst_element_is_locked_state),
4216 (gst_element_set_locked_state), (gst_element_commit_state),
4217 (gst_element_set_state):
4219 * gst/gstindex.c: (gst_index_init):
4221 * gst/gstminiobject.h:
4222 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4223 (gst_object_set_parent):
4225 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4226 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4228 * gst/gstpadtemplate.h:
4229 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4230 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4231 * gst/gstpipeline.h:
4232 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4233 (gst_file_index_commit):
4234 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4235 * testsuite/pad/link.c: (gst_test_src_init),
4236 (gst_test_filter_init), (gst_test_sink_init):
4237 * testsuite/states/locked.c: (main):
4238 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4239 moved bitshift from macro to enum definition
4241 2005-10-12 Wim Taymans <wim@fluendo.com>
4243 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4244 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4245 (gst_file_sink_render):
4246 Some more debugging info.
4248 2005-10-12 Wim Taymans <wim@fluendo.com>
4250 * docs/design/part-states.txt:
4251 * tools/gst-launch.c: (main):
4253 Revert non-intentional change.
4255 2005-10-12 Wim Taymans <wim@fluendo.com>
4257 * check/gst/gstbin.c: (GST_START_TEST):
4258 * check/gst/gstelement.c: (GST_START_TEST):
4259 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4260 * check/gst/gstghostpad.c: (GST_START_TEST):
4261 * check/gst/gstpipeline.c: (GST_START_TEST):
4262 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4263 * check/states/sinks.c: (GST_START_TEST):
4264 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4265 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4266 (gst_bin_remove_func), (gst_bin_get_state_func),
4267 (gst_bin_recalc_state), (gst_bin_change_state_func),
4269 * gst/gstelement.c: (gst_element_get_state_func),
4270 (gst_element_get_state), (gst_element_abort_state),
4271 (gst_element_commit_state), (gst_element_set_state),
4272 (gst_element_change_state), (gst_element_change_state_func):
4274 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4275 (gst_pipeline_provide_clock_func):
4276 * gst/gstutils.c: (gst_element_link_pads_filtered):
4277 * tools/gst-launch.c: (main):
4278 * tools/gst-typefind.c: (main):
4279 Use GstClockTime in _get_state() instead of GTimeVal.
4280 Remove old code in gstutils.c
4282 2005-10-12 Andy Wingo <wingo@pobox.com>
4284 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4287 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4288 there is no task. Shouldn't affect any code, as nothing in our
4289 plugins checks this return value.
4290 (gst_pad_stop_task): Also take the stream lock if the pad has no
4293 2005-10-12 Wim Taymans <wim@fluendo.com>
4295 * gst/gstpad.c: (pre_activate), (post_activate),
4296 (gst_pad_activate_pull), (gst_pad_activate_push):
4297 Cleanup activation code. Reset old state if
4300 2005-10-12 Wim Taymans <wim@fluendo.com>
4302 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4303 (gst_base_sink_change_state):
4304 No need to prerol after receiving EOS.
4306 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4307 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4308 * gst/elements/gstidentity.c: (gst_identity_event):
4309 Print events more verbosely.
4311 2005-10-12 Wim Taymans <wim@fluendo.com>
4313 * check/Makefile.am:
4314 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4315 * check/states/sinks2.c:
4316 Moved sinks2 testcode in sinks check.
4318 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4319 (gst_bin_remove_func), (gst_bin_recalc_state),
4320 (gst_bin_change_state_func), (bin_bus_handler):
4321 Fix potential race condition when _get_state() iterated over an
4322 ASYNC element right before it posted a state completion.
4325 Do proper cast here.
4327 * gst/gstevent.c: (gst_event_new_newsegment),
4328 (gst_event_parse_newsegment):
4329 A playback rate of 0.0 is not allowed.
4331 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4333 * win32/common/config.h:
4334 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4335 (_trewinddir), (_ttelldir), (_tseekdir):
4336 * win32/common/dirent.h:
4337 * win32/common/gtchar.h:
4338 * win32/common/libgstbase.def:
4339 * win32/common/libgstreamer.def:
4340 * win32/vs6/grammar.dsp:
4341 * win32/vs6/gst_inspect.dsp:
4342 * win32/vs6/gst_launch.dsp:
4343 * win32/vs6/gstreamer.dsw:
4344 * win32/vs6/libgstbase.dsp:
4345 * win32/vs6/libgstelements.dsp:
4346 * win32/vs6/libgstreamer.dsp:
4347 Visual Studio 6 project files, and a new common directory.
4350 2005-10-11 Wim Taymans <wim@fluendo.com>
4352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4353 (gst_base_sink_do_sync), (gst_base_sink_query),
4354 (gst_base_sink_change_state):
4355 * gst/base/gstbasesink.h:
4356 Correctly parse newsegment info.
4358 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4360 * gst/gst.c: (init_post):
4361 split plugin paths correctly
4363 2005-10-11 Wim Taymans <wim@fluendo.com>
4365 * check/gst/gstevent.c: (GST_START_TEST):
4366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4367 (gst_base_sink_change_state):
4368 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4369 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4370 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4371 * gst/gstevent.c: (gst_event_new_newsegment),
4372 (gst_event_parse_newsegment):
4374 Added extra flag to newsegment for future API freeze.
4375 Updated check and base elements.
4377 2005-10-11 Julien MOUTTE <julien@moutte.net>
4379 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4380 (gst_collectpads_add_pad), (gst_collectpads_pop),
4381 (gst_collectpads_event), (gst_collectpads_chain):
4382 * gst/base/gstcollectpads.h: Handle EOS correctly.
4384 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4386 * tools/gst-launch.c: (main):
4387 more null protecting
4389 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4391 * gst/gst-i18n-lib.h:
4392 check for ENABLE_NLS, not GETTEXT_PACKAGE
4393 * gst/gstregistry.c: (gst_registry_add_plugin),
4394 (gst_registry_scan_path_level),
4395 (_gst_registry_remove_cache_plugins):
4396 protect possibly NULL strings
4397 * gst/parse/types.h:
4398 config.h already included before
4399 * tools/gst-inspect.c: (main):
4400 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4401 check for ENABLE_NLS, not GETTEXT_PACKAGE
4402 * tools/gst-launch.c: (main):
4403 check for ENABLE_NLS, not GETTEXT_PACKAGE
4405 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4408 if we don't have glib, fail before testing 2.8
4409 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4410 fix a leak, should fix plugins-base testsuite
4412 2005-10-11 Andy Wingo <wingo@pobox.com>
4414 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4415 take the mode we're going to as an arg. Go head and set the mode
4416 and flushing flags now, so that if the activate function starts a
4417 thread all the flags will be in the right state.
4418 (post_activate): Renamed also. Just handle making sure streaming
4419 finishes for the deactivation case, and setting the deactivated
4421 (gst_pad_set_active): Complain loudly if deactivation fails.
4422 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4423 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4424 remove the terrible hack.
4426 2005-10-11 Wim Taymans <wim@fluendo.com>
4428 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4429 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4430 (gst_bin_recalc_state), (gst_bin_change_state_func),
4431 (gst_bin_dispose), (bin_bus_handler):
4433 Prepare to make current EOS message queue more generic.
4436 * gst/gstevent.c: (gst_event_new_newsegment),
4437 (gst_event_parse_newsegment):
4439 Rename base to stream_time.
4444 2005-10-11 Wim Taymans <wim@fluendo.com>
4446 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4447 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4448 (gst_bin_change_state_func), (bin_bus_handler):
4450 Work on proper clock selection.
4452 2005-10-11 Edward Hervey <edward@fluendo.com>
4454 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4455 * libs/gst/controller/gstcontroller.h:
4456 Added GList* version of _remove_properties() in order to be able to wrap
4459 2005-10-11 Wim Taymans <wim@fluendo.com>
4461 * docs/design/part-states.txt:
4464 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4465 (gst_bin_change_state_func), (bin_bus_handler):
4466 Doc updates. Don't distribute the same clock over and over again.
4472 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4473 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4474 (gst_pad_send_event):
4476 Make probe emission threadsafe again.
4477 Register quarks and move _get_name() from utils.
4480 * gst/gstpipeline.c: (gst_pipeline_class_init),
4481 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4482 Only redistribute the clock of it changed.
4484 * gst/gstsystemclock.h:
4489 Moved the _flow_get_name() to GstPad.
4491 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4493 * check/gst-libs/gdp.c: (GST_START_TEST):
4494 * check/gst/gstcaps.c: (GST_START_TEST):
4495 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4496 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4497 (gst_dp_packet_from_caps):
4498 fix more valgrind warnings before turning up the heat
4500 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4502 * gst/parse/grammar.y:
4503 some cleanup before the hacking
4505 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4507 * gst/base/gstbasesrc.c: (gst_base_src_query):
4509 * gst/gstutils.c: (gst_guint64_to_gdouble),
4510 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4512 externalize, basesrc uses it
4513 obviously the implementation needs testing
4515 2005-10-10 Wim Taymans <wim@fluendo.com>
4517 * tests/sched/Makefile.am:
4518 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4519 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4521 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4523 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4524 apparently converting from guint64 to double is not implemented
4527 2005-10-10 Wim Taymans <wim@fluendo.com>
4529 * check/Makefile.am:
4530 * check/generic/states.c: (GST_START_TEST):
4531 * check/gst/gstbin.c: (GST_START_TEST):
4532 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4533 * check/states/sinks.c: (GST_START_TEST):
4534 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4536 Check fixes, use API as stated in design docs, remove hacks.
4538 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4539 (gst_base_sink_change_state):
4540 Catch stopping our task while we're shutting down.
4542 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4543 (gst_bin_remove_func), (gst_bin_get_state_func),
4544 (gst_bin_recalc_state), (gst_bin_change_state_func),
4547 * gst/gstelement.c: (gst_element_init),
4548 (gst_element_get_state_func), (gst_element_abort_state),
4549 (gst_element_commit_state), (gst_element_lost_state),
4550 (gst_element_set_state), (gst_element_change_state),
4551 (gst_element_change_state_func):
4553 New state change algorithm (see #318116)
4555 * gst/gstpipeline.c: (gst_pipeline_class_init),
4556 (gst_pipeline_init), (gst_pipeline_set_property),
4557 (gst_pipeline_get_property), (do_pipeline_seek),
4558 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4559 * gst/gstpipeline.h:
4560 Remove crude state change hacks.
4565 * tools/gst-launch.c: (main):
4566 Fixes for state change. Needs some more work to fully use the
4569 2005-10-10 Andy Wingo <wingo@pobox.com>
4571 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4573 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4574 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4577 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4579 * gst/gstiterator.c: (gst_iterator_new):
4580 Fix my previous commit: GTypes passed to gst_iterator_new()
4581 can be fundamental types.
4583 2005-10-10 Wim Taymans <wim@fluendo.com>
4585 * gst/gstelement.c: (gst_element_iterate_pad_list),
4586 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4587 (gst_element_iterate_sink_pads):
4588 Use src/sink pads lists for the respective iterators instead
4591 2005-10-10 Andy Wingo <wingo@pobox.com>
4593 Merged in popt removal + GOption addition patch from Ronald, bug
4596 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4597 GstElement macros around, remove popt-related symbols, add goption
4600 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4602 * docs/gst/Makefile.am:
4603 * docs/libs/Makefile.am: No POPT_CFLAGS.
4605 * examples/manual/Makefile.am:
4606 * docs/manual/basics-init.xml: Doc updates with an example.
4608 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4609 (gst_init), (parse_one_option), (parse_goption_arg):
4610 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4611 bit of hand merging and debugging to get the GOption stuff working
4614 * tests/Makefile.am:
4615 * tools/Makefile.am:
4616 * tools/gst-inspect.c: (main):
4617 * tools/gst-launch.c: (main):
4618 * tools/gst-run.c: (main):
4619 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4621 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4623 * gst/gstiterator.c: (gst_iterator_new):
4624 Add assertions to make sure passed GType is likely to really
4625 be a GType (as the compiler won't catch it if the size and
4626 GType arguments get mixed up, see #318447).
4628 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4630 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4632 * gst/gstbin.c: (gst_bin_iterate_sorted):
4633 Pass GType and size arguments to gst_iterator_new() in the right
4634 order (maybe we should make _new() take the GType as first argument
4635 just like _new_list()?) (#318447).
4638 2005-10-10 Wim Taymans <wim@fluendo.com>
4640 * gst/gstelement.c: (gst_element_finalize):
4641 And free the GStaticRecMutex too
4643 2005-10-10 Andy Wingo <wingo@pobox.com>
4645 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4646 Allocate and free the mutex properly.
4648 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4650 (GstElement): The state_lock is now recursive. Rebuild your
4651 plugins, suckers. Old macros adapted.
4653 * docs/gst/gstreamer-sections.txt: Doc updates.
4656 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4657 (g_static_rec_cond_wait): Ported from state changes patch, while
4658 we wait on bug #317802 to be solved in a well-distributed GLib.
4660 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4661 gst_element_change_state, variable name changes.
4662 (gst_element_change_state): Split out of gst_element_set_state in
4663 preparation for the state change merge. Doesn't pay attention to
4664 the 'transition' argument.
4665 (gst_element_set_state): Updates, hopefully purely cosmetic.
4666 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4668 (gst_element_get_state_func): Renamed from get_state, cosmetic
4671 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4673 * gst/elements/gstelements.c:
4674 * win32/GStreamer.vcproj:
4676 * win32/dirent.c: (_tseekdir):
4677 * win32/gst-inspect.vcproj:
4678 * win32/gst-launch.vcproj:
4679 * win32/gstconfig.h:
4680 * win32/gstelements.vcproj:
4681 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4682 * win32/gstreamer.def:
4684 updates for the win32 build (patch from Sebastien Moutte)
4686 2005-10-10 Andy Wingo <wingo@pobox.com>
4688 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4689 gst_bin_get_state, cleaned up (but no logic changes).
4690 (bin_element_is_sink): Comment updates.
4691 (sink_iterator_filter): Remove needless cast.
4692 (gst_bin_iterate_sinks): Doc update.
4693 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4694 cleaned up (but no logic changes).
4696 * check/states/sinks.c (test_src_sink): Cleanups from the state
4698 (test_livesrc_sink): Sync on the state.
4700 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4701 the state change patch.
4703 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4706 * check/gst/gstbin.c: Merge in some style fixes and additional
4707 checks from Wim's state change patch.
4709 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4711 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4712 (gst_type_find_helper):
4713 Check whether we have the requested data already in our list of
4714 cached buffers before pulling a new buffer; also make the buffer
4715 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4717 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4722 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4723 don't use long long, it's not portable. Replacing with
4724 gint64 seems to work; let's hope no skeletons fall out of the closet.
4726 2005-10-10 Andy Wingo <wingo@pobox.com>
4728 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4730 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4732 * docs/gst/gstreamer-sections.txt:
4737 * gst/gstmessage.c: (gst_message_parse_state_changed):
4740 more docs, fix compilation
4742 2005-10-09 Philippe Khalaf <burger@speedy.org>
4744 Fixed a few forgotten variables on previous commit
4746 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4748 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4749 Fix evil typefind crasher: getrange() might return a short
4750 buffer at the end of a file, but gst_type_find_peek() must
4751 either return the full data as requested or NULL, but
4752 never a short buffer.
4754 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4756 * gst/gstmessage.c: (gst_message_new_state_changed),
4757 (gst_message_parse_state_changed):
4759 don't use "new", it's a C++ keyword
4761 2005-10-08 Wim Taymans <wim@fluendo.com>
4763 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4764 * gst/gstelement.c: (gst_element_post_message):
4765 * gst/gstpipeline.c: (gst_pipeline_change_state):
4766 Small docs and debug updates.
4768 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4770 * docs/gst/gstreamer-sections.txt:
4771 * gst/gstelementfactory.c:
4776 2005-10-08 Wim Taymans <wim@fluendo.com>
4778 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4779 (gst_bin_dispose), (bin_bus_handler):
4780 Fix typos, add comments.
4781 Clear EOS list when going to PAUSED from any direction and do it
4782 in a threadsafe way.
4783 Get base time in a threadsafe way too.
4784 Fix confusing debug in the change_state function.
4785 Various other small cleanups.
4787 * gst/gstelement.c: (gst_element_post_message):
4788 Fix very verbose bus posting code.
4790 * gst/gstpipeline.c: (gst_pipeline_class_init),
4791 (gst_pipeline_set_property), (gst_pipeline_get_property),
4792 (gst_pipeline_change_state):
4793 Small ARG_ -> PROP_ cleanup
4795 2005-10-08 Wim Taymans <wim@fluendo.com>
4797 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4798 Do a less CPU demanding EOS check because we can.
4800 2005-10-08 Wim Taymans <wim@fluendo.com>
4802 * libs/gst/dataprotocol/dataprotocol.c:
4803 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4804 (gst_dp_packet_from_event):
4805 * libs/gst/dataprotocol/dataprotocol.h:
4806 * libs/gst/dataprotocol/dp-private.h:
4807 It's about time we bump the version number.
4808 Since event types don't fit in the guint8 anymore describing
4809 the payload type, make payload type 16 bits wide.
4811 2005-10-08 Wim Taymans <wim@fluendo.com>
4813 * docs/design/part-TODO.txt:
4814 * docs/design/part-clocks.txt:
4815 * docs/design/part-events.txt:
4816 * docs/design/part-gstbin.txt:
4817 * docs/design/part-gstelement.txt:
4818 * docs/design/part-gstpipeline.txt:
4819 * docs/design/part-live-source.txt:
4820 * docs/design/part-messages.txt:
4821 * docs/design/part-overview.txt:
4822 * docs/design/part-states.txt:
4825 2005-10-08 Wim Taymans <wim@fluendo.com>
4829 Fix event quark registration.
4830 Add some space between events so we can insert them in the
4833 2005-10-08 Wim Taymans <wim@fluendo.com>
4835 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4836 (gst_base_sink_handle_buffer):
4843 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4844 (gst_queue_set_property), (gst_queue_get_property):
4846 Remove old unused properties.
4848 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4849 * docs/gst/gstreamer-sections.txt:
4852 * gst/gstminiobject.c:
4853 * gst/gstminiobject.h:
4857 lots of new docs and doc fixes
4859 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4861 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4863 * gst/gstregistry.c: (gst_registry_lookup_locked),
4864 (gst_registry_scan_path_level):
4865 * gst/gstregistryxml.c: (load_plugin):
4866 Only ever load one plugin for a given plugin basename.
4867 This ensures correct overriding of GST_PLUGIN_PATH over
4868 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4869 system installed plugins.
4871 2005-10-08 Wim Taymans <wim@fluendo.com>
4873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4874 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4875 Prepare for doing QOS.
4877 2005-10-08 Wim Taymans <wim@fluendo.com>
4879 * check/gst/gstbin.c: (GST_START_TEST):
4880 * check/pipelines/cleanup.c: (GST_START_TEST):
4881 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4882 Allow new clock message too.
4884 2005-10-08 Wim Taymans <wim@fluendo.com>
4886 * gst/gstmessage.c: (gst_message_new_error),
4887 (gst_message_new_warning), (gst_message_new_tag),
4888 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4889 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4890 (gst_message_new_segment_start), (gst_message_new_segment_done),
4891 (gst_message_parse_state_changed),
4892 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4893 (gst_message_parse_new_clock):
4895 Also carry the clock in question.
4897 2005-10-08 Wim Taymans <wim@fluendo.com>
4899 * gst/gstmessage.c: (gst_message_new_custom),
4900 (gst_message_new_eos), (gst_message_new_error),
4901 (gst_message_new_warning), (gst_message_new_tag),
4902 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4903 (gst_message_new_new_clock), (gst_message_new_segment_start),
4904 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4905 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4908 Added clock related messages.
4910 * gst/gstpipeline.c: (gst_pipeline_change_state):
4911 Post message when the clock changed.
4913 * tools/gst-launch.c: (event_loop):
4916 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4918 * tools/gst-inspect.c: (print_element_properties_info):
4919 Can't pass NULL strings to g_print() on windows.
4921 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4924 * docs/gst/Makefile.am:
4925 * docs/gst/gstreamer-docs.sgml:
4926 * docs/gst/running.xml:
4927 * docs/version.entities.in:
4928 add a chapter on running GStreamer.
4929 document GST_DEBUG and GST_PLUGIN* env vars
4931 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4936 remove PLUGINS_BUILDDIR stuff
4937 * gst/gst.c: (init_post):
4938 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4940 remove, it was condescending and not needed
4942 2005-10-08 Wim Taymans <wim@fluendo.com>
4944 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4945 (gst_base_sink_handle_object), (gst_base_sink_event),
4946 (gst_base_sink_wait), (gst_base_sink_handle_event),
4947 (gst_base_sink_change_state):
4948 * gst/base/gstbasesink.h:
4949 Repost EOS message while going to PLAYING if still EOS.
4950 Make sure that when receiving a FLUSH_START we don't attempt
4951 to sync on the clock anymore.
4953 2005-10-08 Wim Taymans <wim@fluendo.com>
4955 * tools/gst-launch.c: (event_loop):
4956 Better message printout.
4958 2005-10-08 Wim Taymans <wim@fluendo.com>
4960 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4961 (gst_bin_child_proxy_get_children_count):
4962 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4963 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4964 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4965 (gst_child_proxy_set_valist):
4966 * gst/parse/grammar.y:
4967 Make ChildProxy threadsafe and fix mem leaks.
4969 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * gst/gst.c: (init_post):
4972 debug the GST_PLUGIN_ env vars
4974 2005-10-08 Wim Taymans <wim@fluendo.com>
4976 * check/gst/gstbin.c: (GST_START_TEST):
4977 * check/gst/gstmessage.c: (GST_START_TEST):
4978 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4979 * gst/gstelement.c: (gst_element_commit_state),
4980 (gst_element_lost_state):
4981 * gst/gstmessage.c: (gst_message_new_state_changed),
4982 (gst_message_parse_state_changed):
4984 * tools/gst-launch.c: (event_loop):
4985 Added extra field to STATE_CHANGE message with the pending
4986 state, which will be different from the new state soon.
4988 2005-10-08 Wim Taymans <wim@fluendo.com>
4990 * gst/gstbus.c: (gst_bus_pop):
4992 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4993 Small cleanups and doc updates.
4995 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4997 * gst/gst.c: (init_pre):
4998 * gst/gstbin.c: (gst_bin_add_func):
4999 log distributing clocks and base time
5000 * gst/gstregistry.c: (gst_registry_add_plugin),
5001 (gst_registry_scan_path_level), (gst_registry_scan_path):
5002 clean up the debugging output a little
5003 * gst/gstutils.c: (gst_element_state_get_name):
5004 warn about a memleak (I've actually seen this be used, though
5005 it was probably a bug)
5007 2005-10-07 Wim Taymans <wim@fluendo.com>
5009 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5010 (gst_base_src_init), (gst_base_src_default_newsegment),
5011 (gst_base_src_newsegment), (gst_base_src_do_seek),
5012 (gst_base_src_loop), (gst_base_src_start):
5013 * gst/base/gstbasesrc.h:
5014 Make the newsegment event customizable by subclasses.
5016 2005-10-07 Wim Taymans <wim@fluendo.com>
5018 * gst/gstevent.c: (gst_event_new_buffersize),
5019 (gst_event_parse_buffersize):
5021 New event for future idea.
5023 2005-10-07 Andy Wingo <wingo@pobox.com>
5025 * gst/gstelement.c (gst_element_post_message): Doc update.
5027 * docs/gst/gstreamer-sections.txt: Update.
5029 * gst/gstmessage.c (gst_message_new_application): Made into a
5030 function like honest API calls.
5031 (gst_message_new_element): New message type.
5033 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5035 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5036 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5039 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5040 NO_PREROLL from gst_element_change_state to fall through.
5042 2005-10-07 Wim Taymans <wim@fluendo.com>
5044 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5045 (gst_ghost_pad_do_activate_push):
5046 Activating a ghostpad with no internal pad in push mode
5049 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5052 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5053 Fixes compilation on Windows.
5055 2005-10-07 Michael Smith <msmith@fluendo.com>
5057 * tools/gst-inspect.c:
5058 Print out feature and plugin count at the end when printing out
5061 2005-10-04 Michael Smith <msmith@fluendo.com>
5063 * gst/gsterror.c: (_gst_stream_errors_init):
5064 Add another error string used in a few existing plugins.
5067 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5068 * tools/gst-inspect.c: (print_element_info):
5069 When a feature disappears from a plugin (and the feature exists in
5070 the cached registry file), things went horribly wrong. This isn't a
5071 complete fix, we should actually be removing the 'missing' features
5072 from the features list when we load the actual plugin. That's not
5075 2005-10-04 Johan Dahlin <johan@gnome.org>
5077 * check/gst/gstiterator.c: (GST_START_TEST):
5078 * gst/gstbin.c: (gst_bin_iterate_elements),
5079 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5080 * gst/gstelement.c: (gst_element_iterate_pads):
5081 * gst/gstformat.c: (gst_format_iterate_definitions):
5082 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5083 (gst_iterator_new_list), (gst_iterator_filter):
5084 * gst/gstiterator.h:
5085 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5086 Add a GType to GstIterator, update callsites and tests.
5088 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5090 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5091 give events a chance to be handled by event probes when the pad
5094 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5096 * gst/gstevent.c: (gst_event_type_get_name),
5097 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5099 add string representations for event types
5101 2005-10-06 Wim Taymans <wim@fluendo.com>
5103 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5104 Don't use NULL pointers.
5106 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5108 * gst/gst_private.h:
5112 * gst/gstpluginfeature.c:
5113 widen the debug category in output to fit the biggest one we have
5114 add a bus category and use it
5115 play with the colors
5116 fix up some categories
5118 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5120 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5121 add push activation of sink ghost pads.
5122 Andye, please verify
5124 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5126 * gst/gstutils.c: (gst_element_link_pads):
5127 fix a bug in the case where neither element has a pad
5128 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5129 add a test for that case
5131 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5133 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5134 emit have-data before checking for peers. This allows
5135 for probe handlers to connect elements. This helps autopluggers.
5136 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5138 add six checks, linked/unlinked with no/true/false probe
5140 2005-10-04 Wim Taymans <wim@fluendo.com>
5142 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5143 (gst_fake_sink_event), (gst_fake_sink_preroll),
5144 (gst_fake_sink_render), (gst_fake_sink_change_state):
5145 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5146 (gst_fake_src_get_property), (gst_fake_src_create),
5147 (gst_fake_src_stop):
5148 * gst/elements/gstidentity.c: (gst_identity_stop):
5149 Protect last_message with lock.
5151 2005-10-04 Edward Hervey <edward@fluendo.com>
5154 Added precision in the comments for GST_FORMAT_DEFAULT
5156 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5158 * tools/gst-launch.c: (main):
5159 Don't try to run erroneous pipelines.
5161 2005-10-04 Julien MOUTTE <julien@moutte.net>
5163 * gst/gstbus.c: We don't need this header.
5165 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5170 === release 0.9.3 ===
5172 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5176 Releasing 0.9.3, "Unregistered"
5178 2005-10-03 Andy Wingo <wingo@pobox.com>
5180 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5181 whereby calling a pad's activatepush() function can start a thread
5182 that starts to push or pull before the pad gets the FLUSHING flag
5183 unset. Hack around it by holding the stream lock until the flag is
5184 set. Need to replace this with a proper solution. Together with
5185 the ghost pad fixes, this fixes mp3 playing/tagreading.
5187 * docs/design/part-gstghostpad.txt: Add a note about activation of
5188 proxy pads outside of ghost pads.
5190 * gst/gstghostpad.c: Implement the ghost pad activation design.
5192 2005-10-02 Andy Wingo <wingo@pobox.com>
5194 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5195 It is volatile, after all.
5197 * docs/design/part-gstghostpad.txt: Flesh out activation with
5200 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5203 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5206 Fix (unused) AM_CONDITIONAL tests.
5208 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5210 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5212 * gst/gstutils.c: (gst_pad_query_convert):
5213 Add assertion that makes sure src_val is >=0, just like
5214 gst_query_new_convert() has. (#315895)
5216 2005-09-30 Edward Hervey <edward@fluendo.com>
5218 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5219 Let's not iterate pads we're not interested in, it avoids getting
5220 sky-high refcounts on sinkpad.
5222 2005-09-30 Wim Taymans <wim@fluendo.com>
5224 * gst/gstelement.c: (gst_element_set_state),
5225 (gst_element_change_state):
5226 Small tweak, element in ASYNC remains ASYNC.
5228 2005-09-30 Wim Taymans <wim@fluendo.com>
5230 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5231 Only error is an error.
5233 * gst/gstbin.c: (gst_bin_change_state):
5236 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5237 Also call pad_block in pad alloc.
5239 * gst/gstutils.c: (gst_flow_get_name):
5242 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5244 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5245 (gst_base_src_get_range):
5246 Fix documentation typos. Add some more debug info.
5248 2005-09-29 David Schleef <ds@schleef.org>
5250 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5251 more end-user friendly.
5252 * tools/gst-inspect.c: (main): Check if command-line argument is
5253 a file and attempt to load that file as a plugin.
5255 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5257 * check/gst/gstbin.c:
5258 * check/states/sinks.c:
5259 fix tests for the new warning
5260 * check/gst/gstpipeline.c:
5261 add a test for pipeline and bus interaction
5263 elements should be NULL if they get disposed; add a warning if not
5265 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5268 for 2.6 refcounting, make debug log more correct by printing
5269 the actual refcounts at the time of swap (Wim)
5271 2005-09-29 Andy Wingo <wingo@pobox.com>
5273 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5274 removes signal watches previously added via
5275 gst_bus_add_signal_watch.
5276 (gst_bus_add_signal_watch): Don't return the source id, just store
5277 it on the bus if there wasn't an id already.
5279 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5280 add_signal_watch and remove_signal_watch.
5282 2005-09-29 Edward Hervey <edward@fluendo.com>
5284 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5285 Better if we actually iterate the list :)
5287 2005-09-29 Wim Taymans <wim@fluendo.com>
5289 * check/gst/gstbin.c: (GST_START_TEST):
5290 Change for new bus API.
5292 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5293 (send_messages), (GST_START_TEST), (gstbus_suite):
5294 Change for new bus signal API.
5296 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5297 (gst_bus_source_prepare), (gst_bus_source_check),
5298 (gst_bus_create_watch), (gst_bus_add_watch_full),
5299 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5300 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5302 Remove support for multiple GSources operating on different
5303 message types as it is too complex and unneeded when using
5305 Added support for receiving signals from the bus.
5307 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5309 * docs/libs/tmpl/gstdataprotocol.sgml:
5310 * docs/manual/advanced-dataaccess.xml:
5311 * gst/elements/gstcapsfilter.c:
5313 rename filter-caps to caps property
5315 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5317 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5318 More robust fraction string parsing.
5320 * docs/pwg/appendix-porting.xml:
5321 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5323 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5325 * gst/gstcaps.c: (gst_caps_do_simplify):
5326 Thou shalt not free a structure and then continue using it
5327 in the next loop iteration.
5329 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5331 Add test case for caps simplification.
5333 2005-09-29 Wim Taymans <wim@fluendo.com>
5335 * check/gst/gstbin.c: (GST_START_TEST):
5338 2005-09-29 Wim Taymans <wim@fluendo.com>
5340 * check/gst/gstbin.c: (GST_START_TEST):
5343 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5344 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5345 (find_element), (gst_bin_sort_iterator_next),
5346 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5347 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5348 (gst_bin_change_state), (gst_bin_dispose):
5349 A bin does not have a bus, it gets the bus from the parent.
5351 * gst/gstelement.c: (gst_element_requires_clock),
5352 (gst_element_provides_clock), (gst_element_is_indexable),
5353 (gst_element_is_locked_state), (gst_element_change_state),
5354 (gst_element_set_bus_func):
5357 * gst/gstpipeline.c: (gst_pipeline_class_init),
5358 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5359 The pipeline provides a bus.
5361 2005-09-28 Johan Dahlin <johan@gnome.org>
5363 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5364 gst_structure_get_enum instead of gst_structure_get_int
5366 * gst/gststructure.c (gst_structure_get_enum): Impl.
5368 * gst/gststructure.h (gst_structure_get_enum): Add
5370 * docs/gst/gstreamer-sections.txt: Ditto
5372 * gst/gstmessage.c (gst_message_new_state_changed): Use
5373 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5374 which does introspection.
5375 Reviewed by Christian Schaller
5377 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5379 * gst/gstinfo.c: (gst_debug_log_default):
5380 don't do dummy g_strdup()s
5381 * libs/gst/controller/gstcontroller.c:
5382 (on_object_controlled_property_changed),
5383 (gst_controlled_property_new), (gst_controller_new_valist),
5384 (gst_controller_new_list),
5385 (gst_controller_remove_properties_valist), (gst_controller_set),
5386 (gst_controller_get), (gst_controller_sync_values),
5387 (gst_controller_get_value_array), (_gst_controller_class_init),
5388 (gst_controller_get_type):
5389 * libs/gst/controller/gstcontroller.h:
5390 * libs/gst/controller/gstinterpolation.c:
5391 (gst_controlled_property_find_timed_value_node):
5392 convert // to /**/ comments
5394 2005-09-28 Wim Taymans <wim@fluendo.com>
5396 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5397 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5398 (gst_bus_sync_signal_handler):
5400 Added async-message and sync-message signals to the bus.
5401 Added helper BusFunc to emit signals for all posted messages.
5403 * gst/gstmessage.c: (gst_message_type_get_name),
5404 (gst_message_type_to_quark), (gst_message_get_type):
5406 Register quarks for message names.
5408 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5410 * docs/libs/gstreamer-libs-sections.txt:
5411 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5412 (gst_controller_new_list):
5413 * libs/gst/controller/gstcontroller.h:
5414 added another constructor for language bindings
5416 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5418 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5422 * gst/gstinfo.c: (_gst_debug_init):
5423 slightly more readable color for refcount debugging
5425 2005-09-28 Wim Taymans <wim@fluendo.com>
5427 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5428 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5429 (find_element), (gst_bin_sort_iterator_next),
5430 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5431 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5432 (gst_bin_change_state), (gst_bin_dispose):
5433 Small doc fixes. get_clock -> provide_clock.
5435 * gst/gstelement.c: (gst_element_class_init),
5436 (gst_element_provides_clock), (gst_element_provide_clock),
5437 (gst_element_get_clock), (gst_element_commit_state),
5438 (gst_element_lost_state):
5440 Make get/set_clock() symetric. Add provide_clock vmethod since
5441 that is actually what this function does.
5443 * gst/gstpipeline.c: (gst_pipeline_class_init),
5444 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5445 (gst_pipeline_get_clock):
5446 get_clock -> provide_clock.
5448 2005-09-28 Andy Wingo <wingo@pobox.com>
5450 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5451 lieu of real docs...
5453 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5455 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5457 * gst/elements/gstcapsfilter.c:
5458 * gst/elements/gstfakesink.c:
5459 * gst/elements/gstfakesrc.c:
5460 * gst/elements/gstfdsink.c:
5461 * gst/elements/gstfdsrc.c:
5462 * gst/elements/gstfilesink.c:
5463 * gst/elements/gstfilesrc.c:
5464 * gst/elements/gstidentity.c:
5465 * gst/elements/gsttee.c:
5466 * gst/elements/gsttypefindelement.c:
5467 Make element details static.
5469 2005-09-28 Wim Taymans <wim@fluendo.com>
5471 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5472 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5473 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5474 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5475 (gst_bin_change_state), (gst_bin_dispose):
5476 Some documentation updates.
5477 Clean up dispose handlers.
5479 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5480 * gst/gstpad.c: (gst_pad_dispose):
5481 Clean up dispose handler.
5483 * gst/gstpipeline.c: (gst_pipeline_change_state):
5484 Removed spurious UNLOCK.
5486 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5488 * docs/gst/gstreamer-sections.txt:
5489 * gst/base/gstbasesrc.h:
5494 * gst/gstpipeline.c:
5495 * gst/gstpipeline.h:
5498 added two new functions to the docs
5499 documents all undocumented GstXXXFlags
5500 completed some incomplete docs
5502 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5504 * gst/gstbin.c: (gst_bin_dispose):
5505 * gst/gstelement.c: (gst_element_dispose):
5506 remove now useless and leaky resurrection code in dispose
5507 * gst/base/gstbasesrc.c: (gst_base_src_init):
5508 * gst/gstelementfactory.c: (gst_element_factory_create):
5509 * gst/gstobject.c: (gst_object_set_parent):
5512 2005-09-27 Wim Taymans <wim@fluendo.com>
5514 * docs/design/part-TODO.txt:
5517 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5518 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5519 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5520 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5521 (gst_bin_change_state):
5523 Remove element variable, we keep element info in the iterator now.
5525 2005-09-27 Andy Wingo <wingo@pobox.com>
5527 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5530 2005-09-27 Wim Taymans <wim@fluendo.com>
5532 * check/gst/gstbin.c: (GST_START_TEST):
5533 Enable check that works now.
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):
5541 Redid the state change algorithm using a topological sort algo.
5542 Handles all cases correctly.
5543 Exposed iterator for state change order.
5546 Temp storage for state changes. Need to get rid of this soon.
5548 2005-09-27 Wim Taymans <wim@fluendo.com>
5550 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5551 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5552 (link_fold_func), (gst_pad_proxy_setcaps):
5553 Leak fixes, the fold functions need to unref the passed object and
5554 _get_parent_*() returns ref to parent.
5556 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5558 * check/gst/gstbuffer.c: (test_make_writable):
5559 Plug leak in test case and fix 'make check-valgrind'
5561 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5563 * gst/gstbuffer.c: (gst_subbuffer_init):
5564 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5565 works correctly in all circumstances (we could have just copied
5566 the parent buffer's readonly flag, but conceptually it seems
5567 cleaner to mark all subbuffers as read-only). (based on patch
5568 by Alessandro Decina, #314710).
5570 * check/gst/gstbuffer.c: (create_read_only_buffer),
5571 (test_make_writable), (test_subbuffer_make_writable),
5573 Add some tests for gst_buffer_make_writable().
5575 2005-09-27 Wim Taymans <wim@fluendo.com>
5577 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5578 use gst_object_has_ancestor().
5580 * gst/gstobject.c: (gst_object_has_ancestor):
5582 gst_object_has_ancestor() copied from gstbin.c as it is a
5585 * tests/instantiate/create.c: (create_all_elements):
5586 * tests/lat.c: (handoff_src), (handoff_sink):
5587 * tests/sched/runxml.c: (main):
5588 * tests/seeking/seeking1.c: (main):
5589 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5591 Fix compilation of some tests.
5593 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5596 Remove comment. GST_TYPE_G_ERROR is here to stay,
5597 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5600 2005-09-26 Wim Taymans <wim@fluendo.com>
5602 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5603 Added check that shows error in state change order.
5605 2005-09-26 Wim Taymans <wim@fluendo.com>
5607 * gst/gstbin.c: (gst_bin_change_state):
5608 Make state change function use 3 queues again, we were
5609 adding elements in the wrong order.
5611 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5614 * gst/gstpad.c: (gst_pad_dispose):
5615 Added some debug info first.
5617 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5619 * docs/design/draft-push-pull.txt:
5620 * docs/design/part-events.txt:
5621 * docs/design/part-overview.txt:
5622 * docs/design/part-scheduling.txt:
5623 Replace all _pull_region() with _pull_range()
5625 2005-09-26 Andy Wingo <wingo@pobox.com>
5627 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5629 * check/gst-libs/controller.c: Update for controller api change.
5632 * tests/Makefile.am:
5633 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5634 over by GLib bug 118439.
5636 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5637 routines to a function.
5639 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5641 * libs/gst/controller/gsthelper.c:
5642 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5643 (gst_object_sync_values): Renamed from sink_values. Ugh.
5645 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5647 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5648 Renamed from controller_key, as it is exported.
5650 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5652 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5657 * gst/gstpadtemplate.h:
5660 * gst/gstqueryutils.c:
5661 * gst/gstqueryutils.h:
5662 remove queryutils headers after moving the two used functions
5663 to gstquery. also fixes build problem for gstsiddec
5665 2005-09-26 Michael Smith <msmith@fluendo.com>
5667 * tools/gst-launch.1.in:
5668 Correct documentation in manpage of debug syntax
5670 2005-09-26 Wim Taymans <wim@fluendo.com>
5672 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5673 (gst_base_src_is_seekable), (gst_base_src_change_state):
5674 Some more debugging info.
5676 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5678 * docs/gst/gstreamer-sections.txt:
5679 * gst/base/gstbasetransform.h:
5683 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5685 * docs/gst/.cvsignore:
5686 * docs/gst/tmpl/.cvsignore:
5687 * docs/gst/tmpl/gstpipeline.sgml:
5688 * docs/gst/tmpl/gstplugin.sgml:
5689 * gst/gstpipeline.c:
5692 inlined the last two docs files
5693 removed the tmpl directory from cvs (no more conflicts here!)
5695 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5697 * docs/gst/gstreamer-sections.txt:
5698 * docs/gst/tmpl/.cvsignore:
5699 * docs/gst/tmpl/gstpad.sgml:
5700 * docs/gst/tmpl/gstpadtemplate.sgml:
5702 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5703 (gst_pad_finalize), (gst_pad_set_pad_template):
5705 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5706 (gst_pad_template_class_init), (gst_pad_template_init),
5707 (gst_pad_template_dispose), (name_is_valid),
5708 (gst_static_pad_template_get), (gst_pad_template_new),
5709 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5710 (gst_pad_template_pad_created):
5711 * gst/gstpadtemplate.h:
5712 inlined two more docs
5713 factored gstpadtemplate out of gstpad
5715 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5717 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5718 (test_children_state_change_order_semi_sink):
5719 Fix test case: we can't rely on a fixed state change order when
5720 going from READY => PAUSED because the sink might commit its
5721 new state first when the first buffer created by the source
5722 reaches the sink before the source has finished its change state.
5723 (Test case still fails at times, see #316856, comment 5 onwards)
5725 2005-09-24 Wim Taymans <wim@fluendo.com>
5727 * docs/design/part-events.txt:
5728 * docs/design/part-gstbus.txt:
5729 * docs/design/part-gstpipeline.txt:
5730 * docs/design/part-messages.txt:
5731 * docs/design/part-overview.txt:
5732 * docs/design/part-segments.txt:
5739 * gst/gstiterator.c:
5740 Various documentation updates.
5742 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5745 Well, that's embarassing. Luckily we weren't using
5746 GST_CLOCK_DIFF anywhere.
5748 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5750 * common/gtk-doc.mak:
5751 don't fail on building XML, FC4 slave shows a bunch of doc
5752 missing bits that I don't get
5754 * gst/gstpipeline.c:
5755 * gst/gststructure.c:
5758 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5760 * docs/design/part-gstbin.txt:
5761 * docs/design/part-gstbus.txt:
5763 Add blurb about how the bus goes into flushing mode and
5764 drops all messages when its bin goes from READY into NULL
5767 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5769 * docs/gst/gstreamer-sections.txt:
5770 * gst/gststructure.c: (gst_structure_get_clock_time):
5771 * gst/gststructure.h:
5772 add a method to get a GstClockTime out of a structure
5774 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5776 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5777 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5778 Added test to check state change order in bins (can still be made
5779 to fail here under heavy disk load; bails out with 'Push on pad
5780 fakesink:sink0, but it was not activated in push mode').
5782 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5783 Fix state change order when there is only a semi sink (#316856)
5785 * gst/gstbus.c: (gst_bus_class_init):
5786 Use _class_peek_parent(), not _class_ref(); fix docs to say
5787 'default main context' instead of 'mainloop' where that is
5790 * gst/gstelement.c: (gst_element_commit_state),
5791 (gst_element_set_state):
5792 Fix typos in debug messages
5794 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5797 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5798 * gst/gstpluginfeature.c:
5801 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5802 change an assert into an error until it gets fixed properly
5804 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5806 * docs/gst/gstreamer-sections.txt:
5807 * docs/gst/tmpl/.cvsignore:
5808 * docs/gst/tmpl/gstelement.sgml:
5809 * docs/gst/tmpl/gstinfo.sgml:
5810 * docs/gst/tmpl/gstobject.sgml:
5815 * gst/gstobject.c: (gst_object_class_init):
5817 inlined 3 more biiiig doc files and added some missing docs on the fly
5819 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5821 * check/gst/.cvsignore:
5822 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5823 * gst/gstregistryxml.c: (load_plugin),
5824 (gst_registry_xml_save_plugin):
5825 put back source in registry. add checks for find_plugin.
5826 * testsuite/states/bin.c: (assert_state), (empty_bin),
5827 (test_adding_one_element), (main):
5828 * testsuite/states/locked.c: (main):
5829 some compile/run fixes
5831 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5833 * check/gst/gstvalue.c: (GST_START_TEST):
5834 fix leaks in the test itself
5836 2005-09-22 Wim Taymans <wim@fluendo.com>
5838 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5839 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5840 (gst_base_sink_query):
5841 Prepare for more accurate position reporting and query
5844 * gst/gstelement.c: (gst_element_send_event),
5845 (gst_element_set_state):
5848 2005-09-22 Wim Taymans <wim@fluendo.com>
5850 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5851 (gst_query_parse_segment):
5854 Add segment query for future use.
5856 2005-09-22 Wim Taymans <wim@fluendo.com>
5858 * gst/gstbin.c: (gst_bin_add_func):
5859 Some more debug info.
5861 * gst/gstelement.c: (gst_element_send_event):
5865 Don't know how flags got broken.
5870 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5872 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5873 Add simplistic test suite for GST_TYPE_DATE serialisation and
5876 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5878 * docs/gst/gstreamer-sections.txt:
5879 * gst/gststructure.c: (gst_structure_set_valist),
5880 (gst_structure_get_date):
5881 * gst/gststructure.h:
5882 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5883 (gst_date_copy), (gst_value_compare_date),
5884 (gst_value_serialize_date), (gst_value_deserialize_date),
5885 (gst_value_transform_date_string),
5886 (gst_value_transform_string_date), (_gst_value_initialize):
5888 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5889 bunch of utility functions along with a hack that checks that
5890 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5891 is required. Part of the grand scheme in #170777.
5893 2005-09-22 Andy Wingo <wingo@pobox.com>
5895 * gst/gstconfig.h.in: Psych out gtk-doc.
5897 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5899 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5901 * tools/gst-inspect.c (print_element_list): Plug some
5902 inconsequential leaks.
5904 * gst/gstregistry.c (gst_registry_get_default): Doc.
5906 * check/gst/gstplugin.c:
5907 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5908 * gst/gstelementfactory.c (gst_element_factory_create):
5909 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5912 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5913 (gst_plugin_feature_load): Doc, don't eat refs.
5915 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5916 (gst_plugin_list_free): Doc.
5917 (gst_plugin_load_file): Doc updates.
5919 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5920 accessors returning refcounted objects, return a ref.
5922 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5923 accessor for caps. IDEMPOTENCE. Oh yes.
5925 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5927 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5929 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5930 (_gst_debug_register_funcptr):
5931 Add mutex to serialise access to the hash table with
5932 the function pointer => function name string mapping;
5933 make that hash table static scope (#316809).
5935 * gst/registries/.cvsignore:
5936 Remove left-over file.
5938 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5940 * docs/pwg/appendix-porting.xml:
5941 And something about newsegment events and caps-on-buffers to
5942 the porting guide (feel free to improve).
5944 2005-09-21 Andy Wingo <wingo@pobox.com>
5946 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5947 data and event probes on the same pad.
5948 (test_buffer_probe_once): Test that removing probes from within
5949 the probe functions works.
5951 2005-09-21 Andy Wingo <wingo@pobox.com>
5953 * check/gst/gstutils.c: New file.
5954 (test_buffer_probe_n_times): A simple buffer probe test. More to
5957 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5958 have-data::buffer, not have-data.
5959 (gst_pad_add_event_probe): Likewise for have-data::event.
5960 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5961 peer' isn't quite right yet though.
5962 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5963 (gst_pad_remove_data_probe): Change to take the guint handler_id
5964 as their arg, not the function+data, which is more glib-like.
5966 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5967 the signal emission to indicate if the data is a buffer or an
5969 (gst_pad_get_type): Initialize buffer and event quarks.
5970 (gst_pad_class_init): have-data is now a detailed signal, yes it
5973 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5975 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5976 * gst/gstutils.c: (gst_util_set_value_from_string),
5977 (gst_util_set_object_arg):
5978 Don't put functional code in g_return_if_fail() or
5979 g_return_val_if_fail() statements, otherwise things will
5980 break when G_DISABLE_CHECKS is defined during compilation.
5982 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5984 * docs/gst/tmpl/.cvsignore:
5985 * docs/gst/tmpl/gstvalue.sgml:
5988 inlied another one and added some obvious docs
5990 2005-09-21 Wim Taymans <wim@fluendo.com>
5992 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5993 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5994 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5995 (gst_fdsrc_get_property), (gst_fdsrc_create):
5996 * gst/elements/gstfdsrc.h:
5997 Properly implement fdsrc. Removed signal and timeout,
5998 better implemented somewhere else.
6000 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6002 * docs/gst/tmpl/.cvsignore:
6003 * docs/gst/tmpl/gstimplementsinterface.sgml:
6004 * gst/gstinterface.c:
6007 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6009 * docs/gst/gstreamer-sections.txt:
6010 * docs/gst/tmpl/.cvsignore:
6011 * docs/gst/tmpl/gstenumtypes.sgml:
6012 remove obsolete doc file
6014 2005-09-21 David Schleef <ds@schleef.org>
6016 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6017 little beer, fix a little leak.
6019 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6021 * docs/gst/gstreamer-docs.sgml:
6022 * docs/gst/gstreamer-sections.txt:
6023 * docs/gst/tmpl/.cvsignore:
6028 * gst/gstindex.c: (gst_index_class_init):
6030 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6031 (gst_index_factory_class_init), (gst_index_factory_init),
6032 (gst_index_factory_finalize), (gst_index_factory_new),
6033 (gst_index_factory_destroy), (gst_index_factory_find),
6034 (gst_index_factory_create), (gst_index_factory_make):
6035 * gst/gstindexfactory.h:
6036 * gst/gstpluginfeature.c:
6037 * gst/gstpluginfeature.h:
6038 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6039 more docs inlined, splitted gstindex.{c,h}
6041 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6043 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6046 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6048 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6049 Set sync to FALSE by default.
6051 2005-09-20 Wim Taymans <wim@fluendo.com>
6053 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6054 (gst_base_sink_init):
6055 Make sync property settable from subclass.
6057 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6058 (gst_fake_sink_change_state):
6059 Set sync to FALSE by default.
6061 2005-09-20 Wim Taymans <wim@fluendo.com>
6063 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6064 * tools/gst-launch.c: (main):
6065 The timeout handler should have lower priority than the source
6066 so we don't timeout before popping a message with 0 timeout.
6067 Dump error messages after failed state change.
6069 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6071 * tools/gst-inspect.c: (print_element_properties_info):
6074 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6076 * check/gst/gstevent.c:
6077 * gst/elements/gstfakesink.c:
6078 * gst/elements/gstfakesink.h:
6079 remove the sync property from fakesink.
6080 has the side effect of setting sync TRUE
6081 for fakesink, which is a change. Anyone who knows how
6082 to fix this nicely in a GObject-y way, feel free.
6084 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6086 * docs/gst/gstreamer-docs.sgml:
6087 remove probe refsection
6089 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6091 * check/Makefile.am:
6092 disable valgrinding the controller test again
6093 * docs/gst/gstreamer-sections.txt:
6094 update for api-changes
6096 2005-09-20 Wim Taymans <wim@fluendo.com>
6098 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6099 (gst_base_sink_set_property), (gst_base_sink_get_property),
6100 (gst_base_sink_do_sync):
6101 * gst/base/gstbasesink.h:
6102 Added sync property to basesink to disable clock sync.
6104 2005-09-20 Andy Wingo <wingo@pobox.com>
6106 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6107 eating the caller's refcount.
6109 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6110 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6113 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6114 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6115 of GLib 2.8 public, so we can know which refcount to check in
6118 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6119 (gst_object_init): Only set the gst refcount if we're going ahead
6120 with the refcount hack.
6122 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6124 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6125 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6126 more leaks plumbed, added more debug-logging
6130 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6133 remove include of gstmemchunk.h
6135 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6137 * gst/gstclock.c: (_gst_clock_id_free):
6138 Commit from the Political Party For More Atomic CVS Commits,
6139 so that people don't waste too much of their day fishing
6140 out obvious leaks out of massive commits.
6141 Oh, and fix a pretty damn obvious leak in the memchunk
6144 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6146 * check/Makefile.am:
6147 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6148 plug mem-leak, re-add to valgrindable tests
6150 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6153 unbreak the build for those who have chronic arthritis
6154 and typing "make check" is just too taxing on the hands
6156 2005-09-20 Andy Wingo <wingo@pobox.com>
6158 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6159 really want it out, you should fix plugins at the same time.
6161 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6164 * docs/gst/gstreamer-sections.txt:
6166 added missing symbols to api docs
6167 disable ref-count hack if we have glib >= 2.8
6169 2005-09-19 David Schleef <ds@schleef.org>
6171 * docs/gst/Makefile.am: Ignore a few more internal headers
6172 * docs/gst/gstreamer-docs.sgml: Remove old sections
6173 * docs/gst/gstreamer-sections.txt: Remove old sections
6174 * docs/gst/tmpl/gstobject.sgml: update
6175 * docs/gst/tmpl/gstplugin.sgml: update
6176 * docs/gst/tmpl/gstpluginfeature.sgml: update
6177 * docs/random/ds/0.9-suggested-changes: update.
6178 * gst/Makefile.am: remove memchunk and trashstack, since they're
6180 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6181 * gst/gst.h: don't include some headers
6182 * gst/gstchildproxy.c: add gstmarshal.h
6183 * gst/gstclock.c: Don't use memchunks
6184 * gst/gstminiobject.c: Add some docs
6185 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6186 * gst/gstobject.h: same
6187 * gst/gstplugin.c: include gstmacros.h
6188 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6189 * gst/gstquery.c: don't use memchunks
6190 * gst/gstregistry.c: rename gst_registry_deinit()
6191 * gst/gstregistry.h: same
6193 2005-09-19 David Schleef <ds@schleef.org>
6195 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6196 * docs/libs/gstreamer-libs-sections.txt:
6197 * docs/libs/tmpl/gstgetbits.sgml:
6198 * docs/libs/tmpl/gstputbits.sgml:
6200 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6202 * win32/gstenumtypes.c:
6203 * win32/gstenumtypes.h:
6206 2005-09-19 Wim Taymans <wim@fluendo.com>
6208 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6209 Automatically PAUSE and RESUME a pipeline when a flushing seek
6212 2005-09-19 Andy Wingo <wingo@pobox.com>
6214 * gst/gstregistry.h: Spacing fixen.
6216 2005-09-19 Wim Taymans <wim@fluendo.com>
6218 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6219 Handle state change failure more correctly.
6221 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6223 * check/Makefile.am:
6224 * check/pipelines/cleanup.c: (run_pipeline):
6225 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6227 enable cleanup again after fixing the leak
6229 some more info on docs
6231 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6233 * check/Makefile.am:
6234 re-enable tests now that leaks are plugged
6236 * check/gst/gstbin.c:
6237 * check/gst/gstpipeline.c:
6238 add some more tests while fixing leaks
6240 make sure binaries are uptodate when valgrinding/gdbing
6242 * gst/gstelementfactory.c:
6243 remove a ref too many, and add a FIXME for when we get
6244 round to disposing of classes
6246 fix the refcounting when loading a plugin from a file and
6247 the code pretends that the pointer is the same even though
6248 of course it can change
6249 * gst/gstpluginfeature.c:
6250 unref plugins marked cached (a bit confusing as a name)
6251 as the docs state should be done
6252 various doc additions to explain refcounting
6253 * gst/gstregistry.c:
6254 * gst/gstregistryxml.c:
6257 2005-09-19 Wim Taymans <wim@fluendo.com>
6259 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6260 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6261 (send_messages), (GST_START_TEST), (gstbus_suite):
6262 * check/gst/gstpipeline.c: (GST_START_TEST):
6263 * check/pipelines/cleanup.c: (run_pipeline):
6264 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6266 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6267 (gst_bus_source_check), (gst_bus_source_dispatch),
6268 (gst_bus_create_watch), (gst_bus_add_watch_full),
6269 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6271 * tools/gst-launch.c: (event_loop):
6272 * tools/gst-md5sum.c: (event_loop):
6273 GstBusHandler -> GstBusFunc, return value has the same meaning as
6274 any other GSource (FALSE == remove source).
6275 _add_watch() and _add_watch_full() now take a MessageType mask to
6276 only handle specific types of messages.
6277 _poll() returns the GstMessage instead of the message type to avoid
6279 _have_pending() takes a MessageType mask now too.
6280 Added testsuite for multiple bus watches.
6281 Fix testsuites and applications for new bus API.
6283 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6285 * check/Makefile.am:
6286 mark a bunch of the tests as to fix until we fix them
6288 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6291 use GST_PLUGIN settings for valgrind tests as well, so we're
6292 valgrinding the correct thing
6293 * gst/gst.c: (init_post):
6296 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6298 * gst/gst.c: (init_post), (gst_deinit):
6299 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6300 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6301 * gst/gstindex.c: (gst_index_factory_class_init),
6302 (gst_index_factory_finalize):
6303 * gst/gstobject.c: (gst_object_dispose):
6304 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6305 (gst_plugin_load_file), (gst_plugin_desc_free):
6306 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6307 (gst_plugin_feature_finalize):
6308 * gst/gstregistry.c: (gst_registry_class_init),
6309 (gst_registry_init), (gst_registry_finalize),
6310 (gst_registry_get_default), (gst_registry_deinit):
6311 * gst/gstregistry.h:
6312 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6313 various cleanups and memleak plugging. make valgrind is happy now.
6315 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6318 add a check-valgrind target
6320 2005-09-18 David Schleef <ds@schleef.org>
6322 * tools/gst-inspect.c: Revert the GOption code.
6324 2005-09-17 David Schleef <ds@schleef.org>
6326 * check/Makefile.am: Fix environment variables.
6327 * check/gst/gstplugin.c: Fix for API changes.
6328 * tools/gst-inspect.c: Fix for API changes.
6329 * tools/gst-xmlinspect.c: Fix for API changes.
6330 * gst/gstelementfactory.c:
6333 * gst/gstpluginfeature.c:
6334 * gst/gstpluginfeature.h:
6335 * gst/gstregistry.c:
6336 * gst/gstregistry.h:
6337 * gst/gstregistryxml.c:
6338 * gst/gsttypefind.c:
6339 * gst/gsttypefindfactory.c:
6340 * gst/indexers/gstfileindex.c:
6341 * gst/indexers/gstmemindex.c:
6342 * gst/schedulers/Makefile.am:
6343 Change registry to keep track of both plugins and features,
6344 removing the feature tracking from plugins themselves.
6346 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6348 * check/Makefile.am:
6349 * tools/gst-register.1.in:
6352 2005-09-15 David Schleef <ds@schleef.org>
6354 * check/gst/gstplugin.c:
6355 * gst/gstelementfactory.c:
6357 * gst/gstpluginfeature.c:
6358 * gst/gstregistry.c:
6359 Getting tired of debugging. Disabled all the unreffing of
6360 plugins and features, which fixes the segfaults, but of
6361 course leaks like crazy. At least playbin works.
6363 2005-09-15 David Schleef <ds@schleef.org>
6365 * check/gst/gstplugin.c: (register_check_elements),
6366 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6368 * gst/elements/gsttypefindelement.c: Fix refcounting.
6369 * gst/gsttypefind.c:
6370 * gst/gsttypefindfactory.c:
6371 * gst/gsttypefindfactory.h:
6373 2005-09-15 David Schleef <ds@schleef.org>
6375 * gst/gstindex.c: get refcounting correct.
6376 * gst/gstregistry.c: Handle the case where a feature/plugin is
6379 2005-09-15 David Schleef <ds@schleef.org>
6381 * check/Makefile.am:
6382 * check/gst/gstplugin.c: Add test
6383 * gst/gstplugin.c: Fix problems noticed by testsuite
6385 * gst/gstregistry.c:
6386 * gst/gstregistry.h:
6388 2005-09-15 David Schleef <ds@schleef.org>
6390 * gst/gstplugin.c: Implement semi-decent recounting and locking
6391 in plugins and plugin features.
6393 * gst/gstpluginfeature.c:
6394 * gst/gstpluginfeature.h:
6395 * gst/gstregistry.c:
6397 2005-09-15 Michael Smith <msmith@fluendo.com>
6399 * gst/gstregistry.c: (gst_registry_get_feature_list):
6400 Implement this. Makes oggdemux work; decodebin still broken.
6402 2005-09-14 David Schleef <ds@schleef.org>
6404 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6406 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6407 * gst/check/Makefile.am:
6408 * libs/gst/controller/Makefile.am:
6409 * libs/gst/dataprotocol/Makefile.am:
6411 2005-09-14 David Schleef <ds@schleef.org>
6413 * configure.ac: Remove getbits library. Nothing uses it, and
6414 it should be in something like liboil if someone did want
6416 * libs/gst/Makefile.am:
6417 * libs/gst/getbits/Makefile.am:
6418 * libs/gst/getbits/gbtest.c:
6419 * libs/gst/getbits/getbits.c:
6420 * libs/gst/getbits/getbits.h:
6421 * libs/gst/getbits/gstgetbits_generic.c:
6422 * libs/gst/getbits/gstgetbits_i386.s:
6423 * libs/gst/getbits/gstgetbits_inl.h:
6425 2005-09-14 David Schleef <ds@schleef.org>
6427 * gst/Makefile.am: Dist glib-compat.h
6429 2005-09-14 David Schleef <ds@schleef.org>
6431 * configure.ac: Remove gst/registries, since it's no longer used.
6432 * gst/registries/Makefile.am:
6433 * gst/registries/gstlibxmlregistry.c:
6434 * gst/registries/gstlibxmlregistry.h:
6435 * gst/registries/gstxmlregistry.c:
6436 * gst/registries/gstxmlregistry.h:
6437 * gst/registries/registrytest.c:
6439 2005-09-14 David Schleef <ds@schleef.org>
6441 * gst/glib-compat.h:
6442 * gst/gstregistryxml.c:
6443 Convergence is near. Seriously.
6445 2005-09-14 David Schleef <ds@schleef.org>
6447 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6448 * gst/glib-compat.h:
6449 Attempt #4 to appease the buildbots.
6451 2005-09-14 David Schleef <ds@schleef.org>
6453 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6456 2005-09-14 David Schleef <ds@schleef.org>
6458 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6461 2005-09-14 David Schleef <ds@schleef.org>
6463 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6466 2005-09-14 David Schleef <ds@schleef.org>
6468 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6469 * gst/glib-compat.h: Add some functions that are in newer versions
6470 of glib than we care to require.
6471 * gst/gstregistryxml.c: Use them.
6473 2005-09-14 David Schleef <ds@schleef.org>
6475 * po/POTFILES.in: remove gst-register.c
6477 2005-09-14 David Schleef <ds@schleef.org>
6479 * docs/gst/gstreamer-docs.sgml:
6480 * docs/gst/gstreamer-sections.txt:
6481 * docs/gst/gstreamer.types:
6482 * docs/gst/tmpl/gstelement.sgml:
6483 * docs/gst/tmpl/gstplugin.sgml:
6484 * docs/gst/tmpl/gstpluginfeature.sgml:
6485 Documentation updates for registry changes.
6487 2005-09-14 David Schleef <ds@schleef.org>
6489 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6490 because we don't require glib-2.8.
6492 2005-09-14 David Schleef <ds@schleef.org>
6494 * gst/gstregistryxml.c: Added. Essentially moved out of the
6495 registries directory.
6497 2005-09-14 David Schleef <ds@schleef.org>
6499 * check/Makefile.am:
6500 * check/generic/states.c:
6504 * gst/gst_private.h:
6505 * gst/gstelementfactory.c:
6510 * gst/gstpluginfeature.c:
6511 * gst/gstpluginfeature.h:
6512 * gst/gstregistry.c:
6513 * gst/gstregistry.h:
6514 * gst/gstregistrypool.c: remove
6515 * gst/gstregistrypool.h: remove
6516 * gst/gsttypefind.c:
6517 * gst/gsttypefindfactory.c:
6519 * tools/Makefile.am:
6520 * tools/gst-compprep.c:
6521 * tools/gst-inspect.c:
6522 * tools/gst-register.c: remove
6523 * tools/gst-xmlinspect.c:
6524 Registry rewrite. Changes registry from being a file created
6525 by a tool into a simple cache file created automatically by
6526 libgstreamer. Removed gst-register (because it's no longer
6527 needed). Remove registry pools, because we only have one
6528 registry implementation (XML). Fix up other subsystems as
6531 2005-09-13 Michael Smith <msmith@fluendo.com>
6533 * gst/gstconfig.h.in:
6534 Don't Use windows linking attributes for MinGW. Fixes #316157
6536 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6538 * gst/gstutils.c: (set_state_async_thread_func),
6539 (gst_element_set_state_async):
6540 Apparently people think it's better if this function doesn't
6541 try to set the state to whatever state was asked for on the first
6542 call to this function for any object. Seriously.
6544 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6546 * check/gst/gstpipeline.c: (GST_START_TEST):
6547 * docs/gst/gstreamer-sections.txt:
6548 * gst/gstutils.c: (set_state_async_thread_func),
6549 (gst_element_set_state_async):
6551 add a "gst_element_set_state_async" method that
6552 sets the state and starts a thread to make sure the state
6553 change completes as best as it can
6555 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6557 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6558 codify design+behaviour in testsuite after discussion
6560 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6562 * docs/gst/tmpl/gstelement.sgml:
6563 * docs/manual/appendix-quotes.xml:
6565 * gst/gstelement.c: (gst_element_set_state):
6568 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6570 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6571 (gst_base_transform_prepare_output_buf),
6572 (gst_base_transform_handle_buffer):
6573 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6574 (gst_capsfilter_prepare_buf):
6575 Remove the requirement for sub-classes to call the parent
6576 implementation of prepare_output_buffer with a wrapper function.
6579 * gst/gsttagsetter.h:
6582 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6584 * docs/gst/gstreamer-sections.txt:
6587 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6589 * docs/gst/gstreamer-sections.txt:
6590 * docs/gst/tmpl/gstelement.sgml:
6591 * docs/gst/tmpl/gstplugin.sgml:
6592 * gst/gstminiobject.c:
6594 docs now stop throwing warnings
6596 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6598 * docs/gst/gstreamer-sections.txt:
6599 * docs/gst/gstreamer.types:
6600 * docs/gst/tmpl/gstpad.sgml:
6601 * docs/gst/tmpl/gsttypes.sgml:
6602 * gst/base/gstadapter.h:
6603 * gst/base/gstbasesink.h:
6604 * gst/base/gstbasesrc.h:
6614 * gst/gststructure.c:
6615 * gst/registries/gstlibxmlregistry.h:
6616 various documentation fixes
6618 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6620 * docs/gst/gstreamer-sections.txt:
6621 * docs/gst/tmpl/gstvalue.sgml:
6622 rearrange gstvalue section
6623 * gst/gstutils.c: (gst_element_state_get_name):
6625 * gst/gstvalue.c: (_gst_value_initialize):
6629 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6631 * check/gst-libs/controller.c:
6633 * gst/base/gstbasetransform.c:
6634 (gst_base_transform_default_prepare_buf),
6635 (gst_base_transform_handle_buffer):
6636 * gst/base/gstbasetransform.h:
6637 Some more basetransform changes and fixes to enable sub-classes
6638 that modify buffer metadata only.
6639 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6640 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6641 (gst_capsfilter_prepare_buf):
6642 If the output pad has fixed allowed caps and input buffers
6643 don't have any, set the fixed caps on outgoing buffers.
6645 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6646 * check/elements/identity.c: (GST_START_TEST):
6647 Make the error a little clearer when the test fails because
6648 identity made a copy of the buffer.
6649 * docs/gst/gstreamer-sections.txt:
6650 New symbols in gstbasetransform.h
6651 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6652 (gst_base_transform_init), (gst_base_transform_transform_size),
6653 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6654 (gst_base_transform_default_prepare_buf),
6655 (gst_base_transform_get_unit_size),
6656 (gst_base_transform_buffer_alloc),
6657 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6658 (gst_base_transform_change_state),
6659 (gst_base_transform_set_passthrough),
6660 (gst_base_transform_set_in_place),
6661 (gst_base_transform_is_in_place):
6662 * gst/base/gstbasetransform.h:
6663 Change BaseTransform to separate in_place operate from same_caps
6664 output. in_place implies that the element can perform the transform
6665 on incoming buffers in-place, even if the caps on the output are
6667 Sub-class elements can now implement special buffer allocation
6668 methods for outgoing buffers if they wish to.
6669 Big documentation addition.
6670 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6671 * gst/elements/gstelements.c:
6672 Changes for basetransform modifications.
6673 * gst/elements/Makefile.am:
6674 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6675 Compile fix. Extra debug output.
6677 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6679 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6681 add tests for valid pad naming
6682 * gst/check/gstcheck.c: (gst_check_log_message_func),
6683 (gst_check_log_critical_func):
6685 remove printing of code, it is fragile when the code contains
6686 % and the line number is enough info
6687 * gst/check/gstcheck.h:
6688 * gst/gstpad.c: (gst_pad_template_new):
6691 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6694 say what CHECK flags we use
6695 * docs/libs/gstreamer-libs.types:
6696 * libs/gst/controller/Makefile.am:
6697 * libs/gst/controller/gst-controller.c:
6698 * libs/gst/controller/gst-controller.h:
6699 * libs/gst/controller/gst-helper.c:
6700 * libs/gst/controller/gst-interpolation.c:
6701 * libs/gst/controller/gstcontroller.c:
6702 * libs/gst/controller/gsthelper.c:
6703 * libs/gst/controller/gstinterpolation.c:
6704 * tools/gst-inspect.c: (print_plugin_info):
6705 we don't use dashes in header names
6707 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6709 * check/Makefile.am:
6710 * check/gst/.cvsignore:
6711 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6712 (gst_pipeline_suite), (main):
6713 adding a test for pipelines and state changes
6714 * gst/gstutils.c: (get_state_func):
6716 * gstreamer.spec.in:
6719 2005-09-08 Michael Smith <msmith@fluendo.com>
6721 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6722 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6723 (gst_file_src_is_seekable), (gst_file_src_get_size),
6724 (gst_file_src_start):
6725 * gst/elements/gstfilesrc.h:
6726 Various fixes for unseekable, unmmapable, and non-normal files, so
6727 that fallback to read() rather than mmap() works.
6728 * gst/gstevent.c: (gst_event_new_newsegment):
6729 Allow newsegment events with segment_start == segment_end, as will
6730 correctly happen if you use filesrc on a zero-size file, for
6733 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6735 * gst/gstplugin.c: (gst_plugin_load_file):
6736 Call g_module_close when we don't load the module
6738 * gst/registries/gstlibxmlregistry.c:
6739 (gst_xml_registry_get_property):
6740 Port leak fix from 0.8
6742 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6744 * docs/gst/gstreamer-docs.sgml:
6745 * docs/gst/tmpl/.cvsignore:
6746 * docs/gst/tmpl/gsttrace.sgml:
6747 * docs/gst/tmpl/gsttrashstack.sgml:
6756 * gst/gsttaginterface.c:
6757 * gst/gsttaginterface.h:
6760 * gst/gsttagsetter.c:
6761 * gst/gsttagsetter.h:
6764 * gst/gsttrashstack.c:
6765 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6766 inlined docs for gsttrace, gsttrashstack
6768 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6771 * gst/elements/gstbufferstore.h:
6772 * gst/elements/gsttypefindelement.c:
6773 * gst/elements/gsttypefindelement.h:
6775 * gst/gsttypefind.c:
6776 * gst/gsttypefind.h:
6777 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6778 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6779 (gst_type_find_factory_dispose),
6780 (gst_type_find_factory_unload_thyself),
6781 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6782 (gst_type_find_factory_get_caps),
6783 (gst_type_find_factory_get_extensions),
6784 (gst_type_find_factory_call_function):
6785 * gst/gsttypefindfactory.h:
6786 * gst/registries/gstlibxmlregistry.c:
6787 * gst/registries/gstxmlregistry.c:
6788 splitted gsttypefind into gsttypefind, gsttypefindfactory
6790 2005-09-07 Andy Wingo <wingo@pobox.com>
6792 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6793 condition whereby the pad's task function is entered before the
6794 pad_mode variable was set.
6796 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6798 * gst/gstpad.c: (gst_pad_alloc_buffer):
6799 Catch misbehaving pad_alloc functions that don't
6800 set up caps and do it for them.
6802 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6804 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6806 * docs/gst/tmpl/.cvsignore:
6807 * docs/gst/tmpl/gstmemchunk.sgml:
6808 * docs/gst/tmpl/gstparse.sgml:
6809 * docs/gst/tmpl/gsttaglist.sgml:
6810 * docs/gst/tmpl/gsttagsetter.sgml:
6811 * docs/gst/tmpl/gsttypefind.sgml:
6812 * docs/gst/tmpl/gsttypefindfactory.sgml:
6813 * gst/gstmemchunk.c:
6816 * gst/gsttaginterface.c:
6817 * gst/gsttypefind.c:
6818 * gst/gsttypefind.h:
6821 === release 0.9.2 ===
6823 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6828 releasing 0.9.2, "South"
6830 2005-09-05 Andy Wingo <wingo@pobox.com>
6832 * gst/registries/gstxmlregistry.h:
6833 * gst/registries/gstxmlregistry.c: Um... resurrect...
6835 * gst/registries/gstxmlregistry.h:
6836 * gst/registries/gstxmlregistry.c: and update to newer API.
6837 Incidentally they should be a bit faster now that they don't have
6840 2005-09-05 Andy Wingo <wingo@pobox.com>
6842 * gst/registries/gstxmlregistry.h:
6843 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6844 replaced by the libxml registry a while back
6846 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6848 * docs/gst/tmpl/gstplugin.sgml:
6849 * gst/elements/gstelements.c:
6851 * gst/gstplugin.c: (gst_plugin_register_func),
6852 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6853 (gst_plugin_get_source):
6855 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6856 (gst_xml_registry_save_plugin):
6857 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6858 (gst_xml_registry_save_plugin):
6859 * tools/gst-inspect.c: (print_plugin_info):
6860 add a "source" plugin description field, to represent the source
6861 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6862 will set it to PACKAGE, which is automake's idea of the name of
6865 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6871 * docs/faq/Makefile.am:
6872 * docs/gst/tmpl/gstelement.sgml:
6873 * docs/gst/tmpl/gsttypes.sgml:
6874 * docs/htmlinstall.mak:
6875 * docs/manual/Makefile.am:
6876 * docs/pwg/Makefile.am:
6877 reorganize doc build a little
6878 split out docbook and gtk-doc stuff
6879 have two separate --enable's and enable them through autogen
6880 but disable by default in configure (to be similar to other
6882 * gstreamer.spec.in:
6883 clean up docs install
6903 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6905 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6908 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6909 (gst_fake_sink_change_state):
6910 Make state change function thread-safe.
6912 * gst/gstpad.c: (gst_pad_alloc_buffer):
6913 Set offset on generic buffer allocated by fallback.
6915 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6917 * docs/gst/gstreamer-sections.txt:
6918 * docs/gst/tmpl/gstelement.sgml:
6920 * libs/gst/controller/gst-controller.c:
6921 (gst_controlled_property_set_interpolation_mode),
6922 (gst_controlled_property_new),
6923 (gst_controller_find_controlled_property):
6924 run the wingo-magic script against the docs
6926 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6928 * docs/gst/gstreamer-docs.sgml:
6929 * docs/gst/gstreamer-sections.txt:
6930 * docs/gst/tmpl/.cvsignore:
6931 * docs/gst/tmpl/gstelementdetails.sgml:
6932 * docs/gst/tmpl/gstelementfactory.sgml:
6935 * gst/gstelementfactory.c:
6936 * gst/gstelementfactory.h:
6937 merged elementdetails docs into elementfactory docs
6940 2005-09-02 Andy Wingo <wingo@pobox.com>
6942 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6943 consider this enum an enum and not a flags.
6945 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6947 * docs/gst/gstreamer-docs.sgml:
6948 * docs/gst/tmpl/.cvsignore:
6949 * docs/gst/tmpl/gstghostpad.sgml:
6950 * docs/gst/tmpl/gstiterator.sgml:
6951 * docs/gst/tmpl/gstmacros.sgml:
6952 * docs/gst/tmpl/gstrealpad.sgml:
6953 * docs/gst/tmpl/gstregistry.sgml:
6954 * docs/gst/tmpl/gstregistrypool.sgml:
6955 * docs/gst/tmpl/gststructure.sgml:
6956 * docs/gst/tmpl/gstsystemclock.sgml:
6957 * docs/gst/tmpl/gsttrace.sgml:
6958 * gst/gstghostpad.c:
6960 * gst/gstmemchunk.c:
6961 * gst/gstmemchunk.h:
6963 * gst/gstregistry.c:
6964 * gst/gstregistrypool.c:
6965 * gst/gststructure.c:
6966 * gst/gstsystemclock.c:
6969 2005-09-02 Andy Wingo <wingo@pobox.com>
6971 * gst/gstelement.h (GstState): Renamed from GstElementState,
6972 changed to be a normal enum instead of flags.
6973 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6974 munged to be GST_STATE_CHANGE_*.
6975 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6976 work with the new state representation.
6977 (GstStateChange): New enumeration of possible state transitions.
6978 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6979 (GstElementClass::change_state): Pass the GstStateChange along as
6980 an argument. Helps language bindings, so they don't have to use
6981 tricky lock-needing macros like GST_STATE_CHANGE ().
6983 * scripts/update-states (file): New script. Run it on a file to
6984 update it for state naming and API changes. Updates files in
6987 * All files updated for the new API.
6989 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6991 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6992 * gst/gstutils.c: (gst_util_set_value_from_string),
6993 (gst_util_set_object_arg):
6994 fix a bunch of unchecked return values
6995 * tools/gst-complete.c: (main):
6996 * gstreamer.spec.in:
6999 2005-09-01 Wim Taymans <wim@fluendo.com>
7001 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7002 (gst_base_sink_event), (gst_base_sink_do_sync),
7003 (gst_base_sink_handle_event):
7004 * gst/base/gstbasesink.h:
7005 Handle newsegments more correctly.
7010 * gst/gstevent.c: (gst_event_new_newsegment):
7011 A newsegment cannot have a start_time of -1
7013 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7015 * win32/gstenumtypes.c:
7016 * win32/gstenumtypes.h:
7019 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7021 * libs/gst/controller/gst-controller.c:
7022 (gst_controlled_property_set_interpolation_mode),
7023 (gst_controlled_property_new):
7026 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7028 * docs/faq/gst-uninstalled:
7033 * gst/gstutils.c: (gst_element_link_filtered):
7035 add gst_element_link_filtered
7037 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7039 * docs/gst/gstreamer-docs.sgml:
7040 * docs/gst/gstreamer-sections.txt:
7041 * docs/gst/tmpl/.cvsignore:
7042 * docs/gst/tmpl/gsterror.sgml:
7043 * docs/gst/tmpl/gstfilter.sgml:
7044 * docs/gst/tmpl/gsturihandler.sgml:
7045 * docs/gst/tmpl/gsturitype.sgml:
7046 * docs/gst/tmpl/gstutils.sgml:
7047 * docs/gst/tmpl/gstxml.sgml:
7055 inlined more docs, fixed double id-ref
7057 2005-08-31 Wim Taymans <wim@fluendo.com>
7059 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7060 (gst_base_transform_handle_buffer):
7061 Passthrough elements don't need the caps as they don't care.
7063 2005-08-31 Wim Taymans <wim@fluendo.com>
7065 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7066 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7067 Don't leak refcounts on buffers.
7069 2005-08-31 Wim Taymans <wim@fluendo.com>
7071 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7072 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7073 (gst_base_transform_chain), (gst_base_transform_change_state):
7074 * gst/base/gstbasetransform.h:
7075 Handle the case where we are not negotiated more gracefully.
7077 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7079 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7080 (gst_file_src_map_region):
7081 Set READONLY flag on mmap'ed buffers, otherwise
7082 gst_buffer_make_writable() won't work properly (#314708).
7084 2005-08-31 Wim Taymans <wim@fluendo.com>
7086 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7087 passthrough elements can even do inplace on non writable
7088 buffers (as they don't touch them).
7090 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7092 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7093 (gst_test_mono_source_set_property),
7094 (gst_test_mono_source_class_init), (GST_START_TEST),
7095 (gst_controller_suite):
7096 more tests (hehe I have the most)
7098 describe popping messages whenusing mulltiple sources
7099 * libs/gst/controller/gst-controller.c:
7100 (gst_controlled_property_set_interpolation_mode),
7101 (gst_controlled_property_new):
7102 * libs/gst/controller/gst-controller.h:
7103 * libs/gst/controller/gst-interpolation.c:
7104 implement boolean properties
7106 2005-08-31 Wim Taymans <wim@fluendo.com>
7108 * gst/gstminiobject.c: (gst_mini_object_ref):
7109 Cannot assert that the refcount has to be positive
7110 since a disposed object can be resurrected.
7112 2005-08-31 Wim Taymans <wim@fluendo.com>
7114 * gst/gstpad.c: (gst_pad_init):
7115 Revert change, need to first fix badly behaving
7118 2005-08-30 Wim Taymans <wim@fluendo.com>
7120 * check/elements/fakesrc.c: (setup_fakesrc):
7121 * check/elements/identity.c: (setup_identity):
7122 Activate pads before using them.
7124 2005-08-30 Wim Taymans <wim@fluendo.com>
7126 * gst/base/gstadapter.c: (gst_adapter_flush):
7127 Flushing out 0 bytes is ok for this function.
7129 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7130 no newsegment gives a warning and sets the start/stop to
7133 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7134 (gst_base_transform_set_passthrough):
7137 * gst/gstminiobject.c: (gst_mini_object_ref):
7138 Check refcount here too.
7140 * gst/gstpad.c: (gst_pad_init):
7141 Pads are initially flushing and refusing data.
7143 * gst/gstutils.c: (gst_element_link_pads_filtered):
7144 When adding a capsfilter element make sure it has the
7145 same state as the parent bin.
7147 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7149 * docs/gst/tmpl/.cvsignore:
7150 * docs/gst/tmpl/gstformat.sgml:
7151 * docs/gst/tmpl/gstversion.sgml:
7155 * gst/gstversion.h.in:
7156 more docs and two more inlined
7158 2005-08-30 Wim Taymans <wim@fluendo.com>
7160 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7161 Don't sync to clock.
7163 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7165 * docs/gst/gstreamer-sections.txt:
7166 ultral33t func10ns deserve to appear in the docs actually
7167 * docs/gst/tmpl/.cvsignore:
7168 * docs/gst/tmpl/gstcompat.sgml:
7169 * docs/gst/tmpl/gstconfig.sgml:
7170 * gst/check/gstcheck.c:
7172 * gst/gstconfig.h.in:
7175 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7177 * docs/gst/tmpl/.cvsignore:
7178 * docs/gst/tmpl/gstquery.sgml:
7179 * docs/gst/tmpl/gstutils.sgml:
7182 inlined and extended docs
7184 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7186 * check/gst-libs/controller.c: (GST_START_TEST),
7187 (gst_controller_suite):
7189 * docs/gst/tmpl/gstutils.sgml:
7190 * docs/libs/gstreamer-libs-sections.txt:
7191 * docs/libs/tmpl/gstdataprotocol.sgml:
7193 * examples/controller/audio-example.c: (main):
7194 controller example works now
7197 * tools/gst-inspect.c: (print_element_properties_info):
7198 show param spec flags
7200 2005-08-29 Andy Wingo <wingo@pobox.com>
7202 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7204 2005-08-28 Andy Wingo <wingo@pobox.com>
7206 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7207 as having two arguments instead of just one. Allows superclasses
7208 to access information on subclasses -- see the terrible for() loop
7209 in gtype.c:g_type_create_instance for the reason why. All callers
7212 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7214 * docs/design/part-messages.txt:
7216 * docs/gst/tmpl/.cvsignore:
7217 * docs/gst/tmpl/gstcaps.sgml:
7218 * docs/gst/tmpl/gstclock.sgml:
7225 added descriptions for bus and message
7226 inline caps and clock docs
7228 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7234 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7236 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7239 2005-08-26 Andy Wingo <wingo@pobox.com>
7241 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7242 element_set_state's return val.
7243 (test_2_elements): Add test that's been disabled for months.
7245 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7246 can-activate-pull properties.
7248 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7249 can-activate-pull properties. Implement is_seekable so fakesrc can
7250 operate in pull mode.
7252 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7254 (gst_base_sink_activate, gst_base_sink_activate_pull)
7255 (gst_base_sink_activate_push): Make activation mode choosing work.
7257 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7258 is right. Make pull mode work. Post an eos before pausing in pull
7260 (gst_base_sink_change_state): Pay attention to the core's
7261 change_state() return val.
7263 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7264 has-getrange properties. Cleanups.
7266 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7267 has_getrange and replace with can_activate_pull and
7270 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7271 locking comments. Remove has_loop, has_chain and replace with
7272 can_activate_pull and can_activate_push.
7274 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7277 * examples/Makefile.am:
7278 * examples/metadata/Makefile.am:
7279 * examples/metadata/read-metadata.c: (message_loop),
7280 (have_pad_handler), (make_pipeline), (print_tag), (main):
7281 Add metadata reading example that loops over a list of filenames,
7282 dumping any tags found.
7284 * gst/gstbus.c: (gst_bus_dispose):
7285 * gst/gstelement.c: (gst_element_dispose):
7286 Release a few potentially-held references in dispose.
7288 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7290 * docs/gst/tmpl/gstminiobject.sgml:
7291 do *not* add tmpl/*.sgml files to CVS!
7293 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7295 * libs/gst/bytestream/.cvsignore:
7296 * libs/gst/bytestream/Makefile.am:
7297 * libs/gst/bytestream/adapter.c:
7298 * libs/gst/bytestream/adapter.h:
7299 * libs/gst/bytestream/bytestream.c:
7300 * libs/gst/bytestream/bytestream.h:
7301 * libs/gst/bytestream/filepad.c:
7302 * libs/gst/bytestream/filepad.h:
7303 removing obsolete files
7305 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7307 * docs/gst/gstreamer-docs.sgml:
7308 * docs/libs/gstreamer-libs-docs.sgml:
7309 disabed additional index entries again, as this makes docs-gen just
7310 slow and they aren't useful yet
7311 * docs/libs/gstreamer-libs-sections.txt:
7312 little -section.txt cleanup for libs
7314 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7317 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7318 fix up some debugging
7319 (gst_base_transform_get_unit_size),
7320 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7321 (gst_base_transform_handle_buffer):
7322 * gst/base/gstbasetransform.h:
7323 handle and store timed NEWSEGMENT events so that subclasses that
7324 calculate time by counting samples have a segment_start time they
7325 need to add to their timestamps - see audioresample
7327 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7330 removed ';' from the end of macro defs
7331 * docs/gst/gstreamer-docs.sgml:
7332 * docs/gst/gstreamer-sections.txt:
7333 * docs/gst/tmpl/.cvsignore:
7335 * gst/gstelement.c: (gst_element_class_init),
7336 (gst_element_set_state), (activate_pads),
7337 (gst_element_save_thyself):
7338 * gst/gstevent.c: (gst_event_new_newsegment):
7340 * gst/gstiterator.c:
7341 * gst/gstiterator.h:
7344 * gst/gstutils.c: (gst_pad_query_convert):
7346 fixed parameter name mismatches between source, header and docs
7347 added some more docs, resolved the last batch of unused elements in
7348 docs (now someone needs to doc them)
7350 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7352 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7353 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7354 don't walk through the plugins backwards. Where is all this
7355 reversed logic coming from ?
7357 2005-08-25 Wim Taymans <wim@fluendo.com>
7359 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7360 (gst_base_transform_transform_size),
7361 (gst_base_transform_configure_caps),
7362 (gst_base_transform_get_unit_size),
7363 (gst_base_transform_buffer_alloc),
7364 (gst_base_transform_change_state):
7365 * gst/base/gstbasetransform.h:
7366 Cache caps unit_size.
7367 Make sure we cannot negotiate up and downstream at the
7370 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7372 * gst/gst.c: (init_pre), (init_post):
7373 register the installed plugin path after the env var
7374 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7375 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7376 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7377 directories, so the tests can prefer uninstalled over installed
7379 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7381 * gst/base/gstbasetransform.h:
7386 2005-08-25 Wim Taymans <wim@fluendo.com>
7388 * gst/gstbin.c: (bin_bus_handler):
7389 Be a bit more conservative about the posted message.
7391 * gst/gstbus.c: (gst_bus_post):
7392 Some cleanups, warn wrong return values.
7394 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7396 * check/gst/gstbin.c: (GST_START_TEST):
7397 * gst/gstbin.c: (bin_bus_handler):
7398 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7399 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7400 (gst_message_new_warning), (gst_message_new_tag),
7401 (gst_message_new_state_changed), (gst_message_new_segment_start),
7402 (gst_message_new_segment_done), (gst_message_new_custom):
7404 * tools/gst-launch.c: (event_loop):
7405 * tools/gst-md5sum.c: (event_loop):
7406 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7408 2005-08-25 Wim Taymans <wim@fluendo.com>
7410 * check/generic/states.c: (GST_START_TEST):
7411 Cleanup can be done at the end.
7413 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7414 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7415 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7416 Oh boy.. Thanks for finding this, Thomas.
7418 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7420 * docs/gst/gstreamer.types:
7423 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7425 * docs/gst/gstreamer-docs.sgml:
7426 * docs/gst/gstreamer-sections.txt:
7427 * docs/gst/tmpl/.cvsignore:
7429 * gst/gstiterator.c:
7431 * gst/registries/gstxmlregistry.h:
7432 added missing classes and symbols (123 more to go)
7433 removed removed symbols from section file
7434 fixed many doc-comments
7436 2005-08-24 Wim Taymans <wim@fluendo.com>
7438 * check/generic/states.c: (GST_START_TEST):
7439 Make sure all tasks are stopped.
7441 * check/gst/gstbin.c: (GST_START_TEST):
7442 Unref after usage for proper valgrinding.
7444 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7445 Really wait for the task to stop before destroying the
7448 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7449 (gst_queue_src_activate_push):
7450 Small cleanups. Don't stop the task when we did not start
7453 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7454 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7455 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7458 Protect the stream lock with the object lock.
7459 Disallow setting the stream lock when running.
7460 Add cleanup_all to wait for the threadpool to finish.
7461 Remove code to autoallocate a mutex if none was provided.
7462 Add _join() to wait for a task to stop.
7463 Protect the thread pool with a global lock.
7465 2005-08-24 Wim Taymans <wim@fluendo.com>
7467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7468 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7469 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7470 * gst/base/gstbasesink.h:
7471 Handle newsegment events correctly.
7472 Drop buffers out of the segment range.
7474 2005-08-22 Andy Wingo <wingo@pobox.com>
7476 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7477 macro, implements an interface and gstimplementsinterface for a
7480 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7482 * check/Makefile.am:
7483 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7484 add a test that does a bunch of state changes on elements
7485 needs some fixing for valgrind
7486 * check/states/sinks.c: (gst_object_suite):
7489 add prototype for gst_caps_is_equal_fixed
7491 * gst/gstregistrypool.c:
7494 2005-08-24 Andy Wingo <wingo@pobox.com>
7496 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7497 convert a negative value. Doesn't make much sense. Mostly this is
7498 here to force callers to ensure -1 maps to -1.
7500 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7502 * docs/pwg/advanced-types.xml:
7503 Well done to Michael for catching my deliberate introduction
7504 of this spelling mistake.
7505 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7507 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7508 unlink pads before removing the element from the bin.
7510 2005-08-24 Andy Wingo <wingo@pobox.com>
7512 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7513 the same thing as GST_DEBUG=*:4.
7514 (parse_debug_level, parse_debug_category): New helper parsers.
7516 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7518 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7519 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7520 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7521 (gst_base_transform_buffer_alloc),
7522 (gst_base_transform_handle_buffer):
7523 use gboolean return values and pointers to size so we can use the
7524 full GST_BUFFER_SIZE range (guint) for buffer sizes
7525 use GstPadDirection for transform_caps
7526 * gst/base/gstbasetransform.h:
7527 rename get_size to get_unit_size since that's what it is
7528 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7529 use GstPadDirection for transform_caps
7530 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7532 cleanup and debugging
7534 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7536 * gst/gstelement.c: (gst_element_class_init),
7537 (gst_element_set_state), (activate_pads),
7538 (gst_element_save_thyself):
7539 * tools/gst-compprep.c: (main):
7540 * tools/gst-inspect.c: (print_element_properties_info):
7541 * tools/gst-xmlinspect.c: (print_element_properties):
7542 Fixed long standing mem-leak
7544 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7546 * check/gst/gstbin.c: (GST_START_TEST):
7547 * gst/gstbin.c: (bin_bus_handler):
7548 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7549 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7550 (gst_message_new_warning), (gst_message_new_tag),
7551 (gst_message_new_state_changed), (gst_message_new_segment_start),
7552 (gst_message_new_segment_done), (gst_message_new_custom):
7554 * tools/gst-launch.c: (event_loop):
7555 * tools/gst-md5sum.c: (event_loop):
7556 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7557 that applications can sensibly post custom messages with references
7558 to their own objects.
7560 2005-08-24 Andy Wingo <wingo@pobox.com>
7562 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7565 2005-08-24 Wim Taymans <wim@fluendo.com>
7567 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7568 (gst_base_transform_transform_caps),
7569 (gst_base_transform_transform_size),
7570 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7571 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7572 (gst_base_transform_handle_buffer):
7573 * gst/base/gstbasetransform.h:
7574 Many fixes and new features added by Thomas. Can now also do
7575 transforms with variable sizes and a custom fixate_caps function.
7577 2005-08-24 Wim Taymans <wim@fluendo.com>
7579 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7583 Cast to ClockTime before formatting to time.
7588 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7590 * check/gst-libs/controller.c: (GST_START_TEST),
7591 (gst_controller_suite):
7592 * docs/gst/tmpl/gstcaps.sgml:
7593 * docs/gst/tmpl/gstghostpad.sgml:
7594 * docs/gst/tmpl/gstquery.sgml:
7595 * docs/gst/tmpl/gstutils.sgml:
7596 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7597 (gst_object_sink_values), (gst_object_get_value_arrays),
7598 (gst_object_get_value_array):
7599 gracefully handle helper method calls to objects that are not beeing
7600 controlled, added test case for that
7602 2005-08-23 Wim Taymans <wim@fluendo.com>
7604 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7605 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7606 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7607 (gst_event_parse_qos), (gst_event_new_seek),
7608 (gst_event_parse_seek):
7610 Some more debugging output and doc cleanups.
7612 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7613 Fix possible deadlock.
7615 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7617 * docs/gst/gstreamer-docs.sgml:
7618 * docs/gst/gstreamer-sections.txt:
7619 * docs/gst/gstreamer.types:
7620 * docs/gst/tmpl/.cvsignore:
7625 added 100 symbols from gstreamer-unused.txt to the right sections
7626 fixed more broken comments
7627 added GstBus to docs
7629 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7631 * docs/gst/gstreamer-sections.txt:
7632 * docs/gst/tmpl/.cvsignore:
7633 * docs/gst/tmpl/gstbin.sgml:
7634 * docs/gst/tmpl/gstbuffer.sgml:
7635 * gst/base/gstbasesrc.c:
7636 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7639 * tools/gst-launch.1.in:
7640 inlined more doc comments, added missing comments and fixed comments
7643 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7645 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7649 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7651 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7652 * gst/gststructure.h:
7653 add a fixate function for booleans; add a FIXME that these func
7654 names should probably be gst_structure_fixate_*
7656 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7658 * docs/gst/gstreamer-docs.sgml:
7659 * docs/gst/gstreamer-sections.txt:
7661 * gst/gstbin.c: (gst_bin_get_type),
7662 (gst_bin_child_proxy_get_child_by_index),
7663 (gst_bin_child_proxy_get_children_count),
7664 (gst_bin_child_proxy_init):
7665 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7666 (gst_child_proxy_get_child_by_index),
7667 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7668 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7669 (gst_child_proxy_get), (gst_child_proxy_set_property),
7670 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7671 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7672 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7673 * gst/gstchildproxy.h:
7674 * gst/parse/grammar.y:
7675 * tools/gst-inspect.c: (print_interfaces),
7676 (print_element_properties_info), (print_element_info):
7677 ported gstchildproxy over from 0.8
7678 ported gst-inspect fixes and enhancements over from 0.8
7680 2005-08-22 Wim Taymans <wim@fluendo.com>
7682 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7683 (gst_base_transform_handle_buffer):
7684 Also call the transform function if we have ANY caps.
7686 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7689 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7691 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7692 Don't pretend to handle seek events if the source is not seekable
7694 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7696 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7697 Remove extra parameter to debug output
7699 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7700 (gst_base_src_do_seek), (gst_base_src_activate_push):
7701 Fix seek event handling.
7703 * gst/gstpipeline.c: (gst_pipeline_change_state):
7704 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7705 (gst_queue_src_activate_push):
7706 Don't start the src pad task on FLUSH_STOP if the pad
7710 2005-08-22 Wim Taymans <wim@fluendo.com>
7712 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7713 Added check for gst_static_caps_get() refcounting.
7715 2005-08-22 Wim Taymans <wim@fluendo.com>
7717 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7718 Make _static_caps_get() refcounting sane.
7720 * gst/gstelement.c: (gst_element_set_state):
7721 Add g_return_val_if_fail() to protect against segfaults.
7723 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7725 * docs/gst/tmpl/gstevent.sgml:
7728 inlined remaining docs, added missing doc comments
7730 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7732 * check/gst/gstbin.c: (GST_START_TEST):
7733 since we don't know when preroll is done, use refcount range
7735 * gst/check/gstcheck.h:
7736 add macro for checking refcount range
7738 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7740 * check/Makefile.am:
7741 clean up environment for when registry gets built versus
7742 when actual tests are run; valgrind seems to not report
7743 leaks if GST_PLUGIN_PATH is set to some specific values
7744 * check/gst/gstbin.c: (GST_START_TEST):
7745 add more refcounting checks; maybe this exposes a
7748 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7749 * gst/check/gstcheck.h:
7750 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7751 (gst_bin_change_state):
7752 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7753 add/fix debugging/whitespace
7755 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7757 * check/gst/gstevent.c: (event_probe), (test_event),
7759 Er, don't call gst_bin_watch_for_state_change you idiot.
7761 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7763 * check/Makefile.am:
7764 Use CHECK_CFLAGS and CHECK_LIBS
7765 * check/gst/gstevent.c: (event_probe), (test_event),
7768 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7769 (gst_base_src_start), (gst_base_src_stop),
7770 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7771 (gst_base_src_change_state):
7772 Sprinkle gst_base_src_stop liberally around error paths to fix
7773 problems reusing a source after failed state changes.
7774 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7775 (helper_find_suggest), (gst_type_find_helper):
7776 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7778 * docs/gst/tmpl/gstevent.sgml:
7779 Migrate part of the docs from the SGML file. Wait for ensonic to
7780 tell me how I did it wrong ;)
7781 * tools/gst-typefind.c: (main):
7782 Extra robustness to state changes between files.
7784 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7786 * check/Makefile.am:
7787 don't valgrind the controller test - it's leaking - Stefan, HELP
7788 * gst/check/gstcheck.c: (gst_check_message_error),
7789 (gst_check_chain_func), (gst_check_setup_element),
7790 (gst_check_teardown_element), (gst_check_setup_src_pad),
7791 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7792 (gst_check_teardown_sink_pad):
7793 * gst/check/gstcheck.h:
7794 add a bunch of methods to set up elements, and src and sink pads
7795 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7796 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7801 whitespace/doc fixes
7803 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7806 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7807 be handled by the application and not always printed as well
7809 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7811 * check/Makefile.am:
7813 * gst/check/gstcheck.c: (gst_check_message_error):
7814 * gst/check/gstcheck.h:
7815 add a fail_unless_equals_int
7816 add fail_unless for error messages
7818 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7820 * check/Makefile.am:
7822 * common/Makefile.am:
7825 factor out some of the common stuff so we can use it
7827 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7829 * check/Makefile.am:
7830 * check/gst/gstiterator.c: (GST_START_TEST):
7831 * check/gst/gstsystemclock.c: (GST_START_TEST),
7832 (gst_systemclock_suite):
7833 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7837 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7839 * check/elements/.cvsignore:
7840 * check/elements/gstfakesrc.c:
7841 rename to name of element
7842 * check/elements/identity.c: (chain_func), (event_func),
7843 (setup_identity), (cleanup_identity), (GST_START_TEST),
7844 (identity_suite), (main):
7845 add a test for identity
7846 * check/Makefile.am:
7847 * pkgconfig/Makefile.am:
7848 * pkgconfig/gstreamer-check.pc.in:
7849 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7853 move the check stuff to a library that gets installed
7854 * check/gst-libs/controller.c: (GST_START_TEST):
7855 * check/gst-libs/gdp.c:
7856 * check/gst/gst.c: (GST_START_TEST):
7857 * check/gst/gstbin.c:
7858 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7859 * check/gst/gstbus.c:
7860 * check/gst/gstcaps.c: (GST_START_TEST):
7861 * check/gst/gstelement.c:
7862 * check/gst/gstghostpad.c:
7863 * check/gst/gstiterator.c:
7864 * check/gst/gstmessage.c:
7865 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7866 * check/gst/gstobject.c:
7867 * check/gst/gstpad.c: (GST_START_TEST):
7868 * check/gst/gststructure.c: (GST_START_TEST):
7869 * check/gst/gstsystemclock.c: (GST_START_TEST),
7870 (gst_systemclock_suite):
7871 * check/gst/gsttag.c: (gst_tag_suite):
7872 * check/gst/gstvalue.c:
7873 * check/pipelines/cleanup.c:
7874 * check/pipelines/simple_launch_lines.c:
7875 * check/states/sinks.c:
7876 change include statement
7878 * docs/gst/gstreamer-sections.txt:
7879 * docs/gst/tmpl/gstpad.sgml:
7880 document more pad stuff
7881 * gst/gstminiobject.c: (gst_mini_object_ref),
7882 (gst_mini_object_unref):
7885 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7887 * docs/gst/tmpl/gst.sgml:
7889 eliminate another tmpl file, fix spelling in the long-description
7891 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7893 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7894 (test_event), (timediff), (gstevents_suite):
7895 Should fix build on 64-bit arch's
7897 2005-08-18 Andy Wingo <wingo@pobox.com>
7899 Make sure that when a pipeline goes to PLAYING, that data has
7900 actually hit the sink.
7902 * check/states/sinks.c (test_sink): A sink that doesn't get any
7903 data shouldn't return SUCCESS for going to either PLAYING or
7904 PAUSED. Test also the return values on the way back down.
7906 * gst/gstelement.c (gst_element_set_state): When changing the
7907 state of an element currently changing state asynchronously, go to
7908 lost-state after commiting the pending state. Makes future calls
7909 to get_state continue to return ASYNC.
7911 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7912 ASYNC when going to PLAYING if we still don't have preroll, as can
7913 happen with live sources.
7915 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7917 * docs/pwg/advanced-types.xml:
7918 Hack long paragraph into 2 chunks as a workaround for buggy
7919 jadetex version in sid and breezy that loops infinitely and
7922 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7924 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7925 (test_event), (timediff), (gstevents_suite):
7926 Provide more error margin in clock measurements to allow for
7927 g_get_current_time inaccuracies.
7929 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7931 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7932 (test_event), (timediff), (gstevents_suite):
7933 Fix error message output so I might be able to tell why the
7934 test works here but fails on the build farm.
7936 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7938 * check/Makefile.am:
7939 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7940 (test_event), (timediff), (gstevents_suite), (main):
7943 * docs/design/part-seeking.txt:
7946 * docs/gst/tmpl/gstevent.sgml:
7947 * docs/gst/tmpl/gstfakesrc.sgml:
7950 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7951 Treat a buffer-without-newsegment the same as a receiving
7952 a newsegment not in time format, and disable syncing to the clock
7955 * gst/gstbus.c: (gst_bus_set_sync_handler):
7956 Assert if anyone tries to replace the existing sync_handler for bus,
7957 as only the owner should be setting it.
7960 Have a fixed set of custom event enums with events identified by
7961 their structure name (as in 0.8), rather than a free-for-all
7962 allowing collisions between enum values from different plugins.
7964 * gst/gstpad.c: (gst_pad_class_init):
7967 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7968 Handle out-of-band downstream events from the sending thread.
7970 2005-08-17 Andy Wingo <wingo@pobox.com>
7972 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7973 play-timeout==0 to mean no timeout at all. In that case, don't
7974 bother with a get_state or a warning, just return directly, even
7977 * gst/base/gstbasetransform.c: Debug changes.
7980 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7981 ensure bins post state change messages. A bit of a hack but I can't
7982 think of a way to avoid it.
7984 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7986 2005-08-16 Andy Wingo <wingo@pobox.com>
7988 * gst/base/gstadapter.h:
7989 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7990 peek() but you own the data. Not terribly efficient atm.
7992 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7994 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7995 (gst_element_found_tags):
7997 Add two utility functions for tag handling.
7999 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8001 * docs/manual/advanced-dataaccess.xml:
8002 * docs/manual/basics-helloworld.xml:
8003 Fix docs to use _bin_add() before _link(), which fixes the examples
8004 with recent core versions (reported by Madhan Raj M
8005 <raj_madan@rediffmail.com>, #313199).
8007 2005-08-16 Wim Taymans <wim@fluendo.com>
8009 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8010 Added subtract checks.
8012 * docs/design/part-events.txt:
8013 Some more docs about newsegment
8015 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8018 * gst/gstcaps.c: (gst_caps_to_string):
8019 Add comments, cleanups.
8021 * gst/gstelement.c: (gst_element_save_thyself):
8024 * gst/gstvalue.c: (gst_value_collect_int_range),
8025 (gst_string_unwrap), (gst_value_union_int_int_range),
8026 (gst_value_union_int_range_int_range),
8027 (gst_value_intersect_int_int_range),
8028 (gst_value_intersect_int_range_int_range),
8029 (gst_value_intersect_double_double_range),
8030 (gst_value_intersect_double_range_double_range),
8031 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8032 (gst_value_subtract_int_range_int),
8033 (gst_value_subtract_double_range_double),
8034 (gst_value_subtract_double_range_double_range),
8035 (gst_value_subtract_from_list), (gst_value_subtract_list),
8036 (gst_value_can_compare), (gst_value_compare_fraction):
8037 Cleanups, add comments, remove unneeded asserts.
8039 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8041 * tools/gst-launch.c: (event_loop):
8042 don't convert NULL structures to strings
8044 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8046 * docs/gst/gstreamer-sections.txt:
8047 made some defines private
8048 * docs/gst/tmpl/gstconfig.sgml:
8049 * docs/gst/tmpl/gstqueue.sgml:
8050 * docs/gst/tmpl/gsttaglist.sgml:
8051 * docs/gst/tmpl/gsttypes.sgml:
8052 * docs/gst/tmpl/gstutils.sgml:
8053 * docs/pwg/appendix-porting.xml:
8054 * gst/base/gstbasesink.h:
8055 * gst/base/gstbasesrc.c:
8056 * gst/base/gstbasesrc.h:
8057 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8058 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8059 * gst/gstelement.c: (gst_element_class_init):
8060 * gst/gstpad.c: (gst_pad_class_init):
8061 * gst/gstqueue.c: (gst_queue_class_init):
8062 * gst/gstxml.c: (gst_xml_class_init):
8063 documented all undocumented signal inline
8064 * libs/gst/controller/gst-controller.h:
8067 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8069 * docs/pwg/appendix-porting.xml:
8070 Document _set_link_function -> _set_setcaps_function.
8072 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8074 * check/Makefile.am:
8075 add a .check target for running the check
8076 * check/gst-libs/controller.c: (GST_START_TEST):
8078 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8079 complete checks for gstbuffer; would be nice if I could get the
8080 gcov stuff to work so I can see if I actually completed gstbuffer.c
8082 add ASSERT_BUFFER_REFCOUNT
8084 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8086 * docs/gst/gstreamer-sections.txt:
8087 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8089 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8090 spew out a warning if a tag that is already registered
8091 is re-registered, unless it is re-registered with a
8092 different type (#308438).
8094 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8096 * docs/pwg/appendix-porting.xml:
8097 * docs/pwg/building-state.xml:
8098 Add some paragraphs about state changes in 0.9 to the PWG
8099 and the porting guide, in particular about the new meaning
8100 of GST_STATE_PAUSED and how to write state change functions
8101 with concurrent access by multiple threads in mind.
8103 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8105 * docs/gst/gstreamer-docs.sgml:
8106 * docs/libs/gstreamer-libs-docs.sgml:
8107 added deprecation and since indexes
8108 * libs/gst/controller/gst-controller.c:
8109 * libs/gst/controller/gst-helper.c:
8113 2005-08-11 Wim Taymans <wim@fluendo.com>
8115 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8116 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8117 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8118 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8119 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8120 (gst_ghost_pad_set_target):
8121 Actually implement (re)setting the target on a ghostpad
8122 as described in the docs.
8124 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8126 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8127 Check whether GST_DEBUG_NO_COLOR environment variable is
8128 set and disable coloured debug output if that is the case.
8130 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8132 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8133 (gst_type_find_helper):
8134 The memory returned by gst_type_find_peek() needs to
8135 stay valid until the end of a typefind function, and
8136 typefind functions may keep results from different
8137 offsets around, so we can't just unref the buffer from
8138 the previous _peek(), but have to save all buffers
8139 returned by _peek() until typefinding is done and only
8142 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8144 * docs/gst/gstreamer-sections.txt:
8146 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8148 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8150 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8151 Fix a pretty good memleak.
8153 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8155 * gst/gstiterator.h:
8156 Fix wrong include and 'make distcheck'.
8158 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8160 * gst/gstbin.c: (bin_bus_handler):
8161 Use gst_element_post_message() instead.
8163 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8165 * gst/base/gstadapter.h:
8166 * gst/base/gstbasesink.h:
8167 * gst/base/gstbasesrc.h:
8168 * gst/base/gstbasetransform.h:
8169 * gst/base/gstcollectpads.h:
8170 * gst/base/gstpushsrc.h:
8171 * gst/gstiterator.h:
8172 Add padding to our base elements' class and instance structs and
8173 to GstIterator (you will need to rebuild all plugins and apps!)
8175 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8177 * gst/gstbin.c: (bin_bus_handler):
8178 Make default message forwarding from child->bus to bin->bus
8179 threadsafe and make it not emit warnings if the parent has no bus.
8181 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8183 * gst/gstelement.c: (activate_pads):
8184 On paused->ready, set pad->caps to NULL, as is the documented
8185 behaviour in this state change. Fixes playback of series of
8186 media files when visualization is enabled in Totem.
8188 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8190 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8191 Allow NULL as filter-caps (which means "any").
8193 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8195 * docs/libs/gstreamer-libs-sections.txt:
8196 * libs/gst/controller/gst-controller.c:
8197 * libs/gst/controller/gst-controller.h:
8198 * libs/gst/controller/gst-helper.c:
8199 adding more entries to the docs and fix small doc-bugs
8201 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8203 * docs/gst/gstreamer-docs.sgml:
8204 * docs/gst/gstreamer-sections.txt:
8205 * docs/gst/gstreamer.types:
8206 * docs/gst/tmpl/gstbasesink.sgml:
8207 * docs/gst/tmpl/gstbasesrc.sgml:
8208 * docs/gst/tmpl/gstbasetransform.sgml:
8209 * docs/gst/tmpl/gstfakesrc.sgml:
8210 * gst/base/gstcollectpads.c:
8211 * gst/base/gstcollectpads.h:
8212 * libs/gst/controller/gst-controller.c:
8213 * libs/gst/controller/gst-controller.h:
8214 * libs/gst/controller/gst-helper.c:
8215 * libs/gst/controller/gst-interpolation.c:
8216 * libs/gst/controller/lib.c:
8217 added long/short desc for controller docs
8218 added collectpads base class docs
8219 added correct includes to base-class docs
8221 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8223 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8224 (gst_test_mono_source_set_property),
8225 (gst_test_mono_source_class_init), (GST_START_TEST),
8226 (gst_controller_suite):
8227 * docs/gst/gstreamer-docs.sgml:
8228 * docs/gst/gstreamer-sections.txt:
8229 * docs/gst/gstreamer.types:
8230 * docs/libs/gstreamer-libs-docs.sgml:
8231 * docs/libs/gstreamer-libs-sections.txt:
8232 * gst/base/gstadapter.c:
8233 * libs/gst/controller/gst-controller.c:
8234 (gst_controlled_property_new), (gst_controlled_property_free),
8235 (gst_controller_new_valist),
8236 (gst_controller_remove_properties_valist),
8237 (gst_controller_sink_values), (_gst_controller_finalize):
8238 * libs/gst/controller/gst-controller.h:
8239 * libs/gst/controller/gst-helper.c:
8240 (gst_object_control_properties), (gst_object_uncontrol_properties),
8241 (gst_object_get_controller), (gst_object_set_controller),
8242 (gst_object_sink_values), (gst_object_get_value_arrays),
8243 (gst_object_get_value_array):
8244 more tests (and fixes) for the controller
8245 more docs for the controller
8246 integrated companies docs for the adapter
8248 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8250 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8251 (GST_START_TEST), (fakesrc_suite):
8252 add tests for sizetype
8254 2005-08-04 Andy Wingo <wingo@pobox.com>
8256 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8257 fixes buffer_alloc proxying among other things.
8259 * gst/base/gstbasetransform.c:
8260 * gst/base/gstbasetransform.h:
8261 Revert patch to gstbasetransform from 7-28 removing
8264 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8265 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8266 Semantics changed, should return not the size of the output buffer
8267 but the byte size of a buffer with a given caps.
8269 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8271 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8272 out) are not the pad caps until setcaps finishes.
8273 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8274 not-in-place case as well. Deal with changing from in-place to
8275 not-in-place within calling pad_alloc_buffer. Still a bit
8276 concerned about the overhead here...
8278 2005-08-03 Andy Wingo <wingo@pobox.com>
8280 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8281 fixating is an error.
8283 2005-08-04 Edward Hervey <edward@fluendo.com>
8285 * gst/base/gstadapter.h:
8286 Added gst_adapter_get_type() to the header
8288 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8290 * check/Makefile.am:
8291 * check/gst-libs/controller.c:
8292 * libs/gst/controller/gst-controller.c:
8293 (gst_controller_new_valist):
8294 added check test suite for the controller
8295 * gst/base/gstpushsrc.c:
8298 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8300 * docs/gst/Makefile.am:
8301 * docs/gst/gstreamer-docs.sgml:
8302 * docs/gst/gstreamer-sections.txt:
8303 * docs/gst/gstreamer.types:
8304 * docs/gst/tmpl/gstfakesrc.sgml:
8306 * gst/base/gstbasesink.c:
8307 * gst/base/gstbasesink.h:
8308 * gst/base/gstbasesrc.c:
8309 * gst/base/gstbasesrc.h:
8310 * gst/base/gstbasetransform.c:
8311 * gst/base/gstpushsrc.c:
8312 * gst/base/gstpushsrc.h:
8313 add short/long description docs to base classes
8314 add pushsrc to the docs
8315 remove consolidated doc fragments
8317 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8320 * docs/libs/Makefile.am:
8321 * docs/libs/gstreamer-libs-docs.sgml:
8322 * docs/libs/gstreamer-libs-sections.txt:
8323 * docs/libs/gstreamer-libs.types:
8324 * examples/Makefile.am:
8325 * examples/controller/.cvsignore:
8326 * examples/controller/Makefile.am:
8327 * examples/controller/audio-example.c: (main):
8328 * libs/gst/Makefile.am:
8329 * libs/gst/controller/.cvsignore:
8330 * libs/gst/controller/Makefile.am:
8331 * libs/gst/controller/gst-controller.c:
8332 (on_object_controlled_property_changed), (gst_timed_value_compare),
8333 (gst_timed_value_find),
8334 (gst_controlled_property_set_interpolation_mode),
8335 (gst_controlled_property_new), (gst_controlled_property_free),
8336 (gst_controller_find_controlled_property),
8337 (gst_controller_new_valist), (gst_controller_new),
8338 (gst_controller_remove_properties_valist),
8339 (gst_controller_remove_properties), (gst_controller_set),
8340 (gst_controller_set_from_list), (gst_controller_unset),
8341 (gst_controller_get), (gst_controller_get_all),
8342 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8343 (gst_controller_get_value_array),
8344 (gst_controller_set_interpolation_mode),
8345 (_gst_controller_finalize), (_gst_controller_init),
8346 (_gst_controller_class_init), (gst_controller_get_type):
8347 * libs/gst/controller/gst-controller.h:
8348 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8349 (g_object_uncontrol_properties), (g_object_get_controller),
8350 (g_object_set_controller), (g_object_sink_values),
8351 (g_object_get_value_arrays), (g_object_get_value_array):
8352 * libs/gst/controller/gst-interpolation.c:
8353 (gst_controlled_property_find_timed_value_node),
8354 (interpolate_none_get), (interpolate_trigger_get),
8355 (interpolate_trigger_get_value_array):
8356 * libs/gst/controller/lib.c: (gst_controller_init):
8357 * pkgconfig/Makefile.am:
8358 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8359 * pkgconfig/gstreamer-control.pc.in:
8360 * testsuite/Makefile.am:
8361 * testsuite/controller/.cvsignore:
8362 * testsuite/controller/Makefile.am:
8363 * testsuite/controller/interpolator.c: (main):
8364 added controller code
8365 removed dparam pc files
8367 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8368 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8369 (gst_collectpads_stop):
8370 Broadcast the condition when shutting down, to make sure we wake all
8371 threads up. Shut down pads on finalize, for safety.
8373 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8374 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8375 (gst_base_transform_handle_buffer),
8376 (gst_base_transform_change_state):
8377 Handle PAUSED->READY->PAUSED transition after negotiation
8379 * gst/gstmessage.c: (gst_message_init):
8380 Extra piece of debug for new messages.
8382 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8385 * docs/gst/tmpl/gstbasesrc.sgml:
8386 * docs/gst/tmpl/gstelement.sgml:
8387 * docs/gst/tmpl/gstevent.sgml:
8388 * docs/gst/tmpl/gstfakesrc.sgml:
8389 * docs/gst/tmpl/gstformat.sgml:
8390 * docs/gst/tmpl/gstghostpad.sgml:
8391 * docs/gst/tmpl/gstpad.sgml:
8392 * docs/gst/tmpl/gstquery.sgml:
8393 * docs/gst/tmpl/gststructure.sgml:
8394 * docs/gst/tmpl/gsttaglist.sgml:
8395 * docs/gst/tmpl/gstvalue.sgml:
8396 * docs/libs/gstreamer-libs-docs.sgml:
8397 * docs/libs/gstreamer-libs-sections.txt:
8398 * docs/libs/gstreamer-libs.types:
8399 * libs/gst/Makefile.am:
8400 * libs/gst/control/.cvsignore:
8401 * libs/gst/control/Makefile.am:
8402 * libs/gst/control/control.c:
8403 * libs/gst/control/control.h:
8404 * libs/gst/control/dparam.c:
8405 * libs/gst/control/dparam.h:
8406 * libs/gst/control/dparam_smooth.c:
8407 * libs/gst/control/dparam_smooth.h:
8408 * libs/gst/control/dparamcommon.h:
8409 * libs/gst/control/dparammanager.c:
8410 * libs/gst/control/dparammanager.h:
8411 * libs/gst/control/dplinearinterp.c:
8412 * libs/gst/control/dplinearinterp.h:
8413 * libs/gst/control/unitconvert.c:
8414 * libs/gst/control/unitconvert.h:
8415 * testsuite/Makefile.am:
8416 * testsuite/dynparams/.cvsignore:
8417 * testsuite/dynparams/Makefile.am:
8418 * testsuite/dynparams/dparamstest.c:
8419 * tools/Makefile.am:
8420 * tools/gst-inspect.c: (print_element_info), (main):
8421 * tools/gst-xmlinspect.c: (print_element_info), (main):
8422 deactivate and remove dparams (libgstcontrol)
8424 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8426 * gst/elements/gsttypefindelement.c:
8427 (gst_type_find_element_have_type), (gst_type_find_element_init),
8428 (stop_typefinding), (gst_type_find_element_handle_event),
8429 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8430 * gst/elements/gsttypefindelement.h:
8431 Set caps on all outgoing buffers, not just the first one.
8433 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8435 * gst/elements/gsttypefindelement.c:
8436 (gst_type_find_element_have_type),
8437 (gst_type_find_element_check_set_buffer_caps),
8438 (gst_type_find_element_init), (stop_typefinding),
8439 (gst_type_find_element_handle_event),
8440 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8441 * gst/elements/gsttypefindelement.h:
8442 Set caps on first outgoing buffer when we've found the type.
8444 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8446 * docs/gst/gstreamer-docs.sgml:
8447 * docs/gst/gstreamer-sections.txt:
8448 * docs/gst/tmpl/gstscheduler.sgml:
8449 * docs/gst/tmpl/gstschedulerfactory.sgml:
8450 Remove some old cruft from docs.
8452 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8455 Fix inline docs for GstPadLinkReturn.
8457 * gst/gststructure.c: (gst_structure_has_name):
8458 * gst/gststructure.h:
8459 * docs/gst/gstreamer-sections.txt:
8460 New API: gst_structure_has_name().
8462 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8465 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8466 and _LARGEFILE_SOURCE in config.h as required. Do not
8467 export those flags in our .pc files any longer (#142209).
8469 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8471 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8472 (gst_file_sink_do_seek), (gst_file_sink_event),
8473 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8474 Redo seek/tell calls with large file support in mind; add some
8475 debugging messages; add log message that tells us when large
8476 file support is unavailable or not enabled for some reason.
8478 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8479 Add log message that tells us when large file support
8480 is unavailable or not enabled for some reason.
8482 2005-07-29 Wim Taymans <wim@fluendo.com>
8484 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8485 Added test for removing an element with ghostpad from a bin.
8486 Fixed test as current implementation does the right thing.
8488 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8489 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8490 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8491 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8492 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8493 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8494 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8495 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8496 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8497 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8498 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8499 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8500 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8501 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8502 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8503 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8504 * gst/gstghostpad.h:
8505 Clean up ghostpads, remove properties for internal stuff.
8508 Prepare for switching targets, not all use cases work yet.
8510 2005-07-29 Wim Taymans <wim@fluendo.com>
8512 * docs/design/part-gstghostpad.txt:
8515 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8516 (gst_bin_remove_func):
8517 Unlinking pads while holding the bin LOCK is not a good
8520 * gst/gstpad.c: (gst_pad_class_init),
8521 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8522 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8523 No prob setting template after creating the pad.
8525 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8527 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8528 (gst_bus_peek), (gst_bus_source_dispatch),
8529 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8530 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8531 gst_bus_poll may be called from other threads. Handle
8532 this nicely by not making poll_data disappear off the
8533 stack once gst_bus_poll returns.
8534 gst_bus_peek now increments the refcount on the returned
8537 2005-07-29 Wim Taymans <wim@fluendo.com>
8539 * docs/design/part-gstghostpad.txt:
8540 Overview of current GhostPad datastructures and use
8541 cases for changing the target.
8543 2005-07-28 Wim Taymans <wim@fluendo.com>
8545 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8546 Added checks for hierarchy consistency whan adding linked
8549 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8550 Added check to test element scheduling without bin/pipeline.
8552 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8553 First add elements to bin, then link.
8555 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8556 (gst_bin_remove_func):
8557 Unlink pads from elements added/removed from bin to maintain
8558 hierarchy consistency.
8560 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8562 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8563 (gst_base_transform_handle_buffer):
8564 * gst/base/gstbasetransform.h:
8565 Remove broken delay_configure (fixes renegotiation of software
8566 scaling pipelines); remove some leftover printf()s.
8568 2005-07-28 Wim Taymans <wim@fluendo.com>
8570 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8571 Added some more tests for wrong hierarchy
8573 * docs/design/part-overview.txt:
8576 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8579 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8580 (gst_element_dispose):
8583 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8584 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8585 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8586 (gst_pad_set_caps), (gst_pad_send_event):
8587 Check for correct hierarchy when linking pads. Moving to
8588 strict requirement for ghostpads when linking elements in
8592 Clean ups. Added WRONG_HIERARCHY return value.
8594 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8596 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8597 Better debug if no transform is possible.
8599 2005-07-27 Wim Taymans <wim@fluendo.com>
8601 * docs/random/wtay/network-transp:
8604 2005-07-27 Wim Taymans <wim@fluendo.com>
8606 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8607 (gst_dp_event_from_packet):
8608 Fix serialization of seek events.
8610 2005-07-27 Wim Taymans <wim@fluendo.com>
8612 * check/gst-libs/gdp.c: (GST_START_TEST):
8613 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8614 Fix compilation and fix event serialization.
8616 2005-07-27 Wim Taymans <wim@fluendo.com>
8619 * docs/design/part-TODO.txt:
8620 * docs/design/part-events.txt:
8623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8624 (gst_base_sink_event), (gst_base_sink_do_sync),
8625 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8626 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8627 (gst_base_src_do_seek), (gst_base_src_event_handler),
8628 (gst_base_src_loop):
8629 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8630 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8631 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8632 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8633 (gst_base_transform_set_passthrough),
8634 (gst_base_transform_is_passthrough):
8635 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8636 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8642 * gst/gstelement.c: (gst_element_seek):
8644 Update gst_element_seek.
8646 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8647 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8648 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8649 (gst_event_new_eos), (gst_event_new_newsegment),
8650 (gst_event_parse_newsegment), (gst_event_new_tag),
8651 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8652 (gst_event_parse_qos), (gst_event_new_seek),
8653 (gst_event_parse_seek), (gst_event_new_navigation):
8655 Make GstEvent use GstStructure. Add parsing code, make sure the
8656 API is sufficiently generic.
8657 Mark possible directions of events and serialization.
8659 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8660 (_gst_message_copy), (gst_message_new_segment_start),
8661 (gst_message_new_segment_done), (gst_message_new_custom),
8662 (gst_message_parse_segment_start),
8663 (gst_message_parse_segment_done):
8666 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8667 (gst_pad_set_caps), (gst_pad_send_event):
8668 Update for new events.
8669 Catch events sent in wrong directions.
8671 * gst/gstqueue.c: (gst_queue_link_src),
8672 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8673 (gst_queue_handle_src_query):
8678 Remove event code from this file.
8680 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8681 (gst_dp_event_from_packet):
8684 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8686 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8687 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8688 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8689 Make debugging actually useful.
8691 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8693 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8694 (gst_pad_fixate_caps):
8695 Implement default fixation once again, so that gst_pad_fixate()
8696 actually does anything at all. This probably needs to be some
8697 sort of a last resort, and use profile-based fixation first, but
8698 since that doesn't exist yet, this is the best we have. Fixes
8699 visualization in Totem.
8701 2005-07-22 Wim Taymans <wim@fluendo.com>
8703 * docs/design/part-events.txt:
8706 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8707 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8708 (gst_base_sink_activate_pull):
8711 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8712 (gst_fake_src_create):
8713 Fix handoff marshall.
8715 * gst/elements/gstidentity.c: (gst_identity_class_init),
8716 (gst_identity_transform_ip):
8717 We're a real inplace element.
8719 * gst/gstbus.c: (gst_bus_post):
8720 Added some comments.
8722 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8723 * tests/muxing/case1.c: (main):
8724 * tests/sched/dynamic-pipeline.c: (main):
8725 * tests/sched/interrupt1.c: (main):
8726 * tests/sched/interrupt2.c: (main):
8727 * tests/sched/interrupt3.c: (main):
8728 * tests/sched/runxml.c: (main):
8729 * tests/sched/sched-stress.c: (main):
8730 * tests/seeking/seeking1.c: (event_received), (main):
8731 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8733 * tests/threadstate/threadstate3.c: (main):
8734 * tests/threadstate/threadstate4.c: (main):
8735 * tests/threadstate/threadstate5.c: (main):
8738 2005-07-21 Wim Taymans <wim@fluendo.com>
8740 * docs/design/part-seeking.txt:
8741 Some small additions.
8743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8744 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8745 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8746 * gst/base/gstbasesink.h:
8747 discont values are gint64, handle the math correctly.
8749 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8750 Make the basesrc report error if the source pad is not linked.
8752 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8753 (gst_queue_loop), (gst_queue_handle_src_query),
8754 (gst_queue_src_activate_push):
8755 Make queue collect data even if the srcpad is not linked.
8756 Start pushing out data as soon as it is linked.
8758 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8760 Added gst_flow_get_name() to ease error reporting.
8762 2005-07-20 Wim Taymans <wim@fluendo.com>
8764 * gst/gstmessage.c: (gst_message_new_segment_start),
8765 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8766 (gst_message_parse_segment_done):
8768 Added a bunch of messages for advanced seeking.
8770 * gst/parse/grammar.y:
8771 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8772 (gst_dpman_state_changed):
8773 Fix some new-pad -> pad-added signals
8775 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8777 * docs/manual/appendix-porting.xml:
8778 * docs/pwg/appendix-porting.xml:
8779 Document new-pad/state-change signal renames and the FixedList
8782 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8784 * docs/manual/advanced-autoplugging.xml:
8785 * docs/manual/basics-helloworld.xml:
8786 * docs/manual/basics-pads.xml:
8787 * docs/random/ds/0.9-suggested-changes:
8788 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8793 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8794 (gst_structure_parse_array), (gst_structure_parse_value):
8795 * gst/gstvalue.c: (gst_type_is_fixed),
8796 (gst_value_list_prepend_value), (gst_value_list_append_value),
8797 (gst_value_list_get_size), (gst_value_list_get_value),
8798 (gst_value_transform_array_string), (gst_value_serialize_array),
8799 (gst_value_deserialize_array), (gst_value_intersect_array),
8800 (gst_value_is_fixed), (_gst_value_initialize):
8802 GstElement::new-pad -> pad-added, GstElement::state-change ->
8803 state-changed, GstValueFixedList -> GstValueArray, add format and
8804 flags as their own arguments in gst_element_seek() (should improve
8805 "bindeability"), remove function generators since they don't work
8806 under a whole bunch of compilers (they were deprecated already
8809 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8811 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8812 (_gst_debug_register_funcptr):
8814 Fix illegal cast on some platforms (#309253).
8816 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8818 * gst/gstmessage.c: (gst_message_new_custom):
8820 Add _new_custom, make _new_application a macro to _new_custom.
8822 2005-07-20 Wim Taymans <wim@fluendo.com>
8824 * gst/base/gstbasesrc.c: (gst_base_src_init),
8825 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8826 * gst/base/gstbasesrc.h:
8827 Add a gboolean to decide when to push out a discont.
8829 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8830 (gst_queue_loop), (gst_queue_handle_src_query),
8831 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8832 (gst_queue_set_property), (gst_queue_get_property):
8835 * tests/threadstate/threadstate1.c: (main):
8836 Make a thread test compile and run... very silly..
8839 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8841 * docs/manual/appendix-porting.xml:
8842 Mention removal of libgstgconf-0.9.la and existence of gconf
8845 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8847 * docs/pwg/advanced-clock.xml:
8848 * docs/pwg/appendix-porting.xml:
8849 * docs/pwg/intro-preface.xml:
8850 * docs/pwg/other-base.xml:
8851 * docs/pwg/other-manager.xml:
8852 * docs/pwg/other-nton.xml:
8853 * docs/pwg/other-ntoone.xml:
8854 * docs/pwg/other-oneton.xml:
8856 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8857 demuxer), remove n-to-n (was never written), fix some code examples
8858 and links and update the porting section to include all this.
8860 2005-07-19 Wim Taymans <wim@fluendo.com>
8862 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8863 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8864 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8865 (gst_queue_src_activate_push), (gst_queue_change_state),
8866 (gst_queue_get_property):
8868 Propagate GstFlowReturn more intelligently upstream and output
8869 an ERROR/EOS when streaming stopped due to fatal error.
8871 2005-07-19 Wim Taymans <wim@fluendo.com>
8873 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8874 Don't block forever for the state change to complete, the
8875 pipeline already did with a sensible timeout.
8877 2005-07-19 Wim Taymans <wim@fluendo.com>
8879 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8880 Make sure we never call the create function is we
8883 2005-07-19 Andy Wingo <wingo@pobox.com>
8885 * gst/parse/parse.l: Attempt to solve bug #172815.
8887 2005-07-19 Wim Taymans <wim@fluendo.com>
8889 * docs/design/part-clocks.txt:
8890 * docs/design/part-events.txt:
8891 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8893 Only update the seeking values when we are not
8896 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8898 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8899 Oops, ignore the result of gst_pad_push_event here.
8901 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8903 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8904 (gst_base_src_activate_push):
8905 Send discont event from the loop function, as pads
8906 aren't activated yet in the activate_push handler.
8908 * gst/gstbin.c: (bin_bus_handler):
8909 Don't leak element name.
8911 2005-07-18 Andy Wingo <wingo@pobox.com>
8913 * configure.ac: Use AS_LIBTOOL_TAGS.
8915 2005-07-18 Wim Taymans <wim@fluendo.com>
8917 * docs/gst/gstreamer.types:
8918 Remove deleted types.
8920 2005-07-18 Wim Taymans <wim@fluendo.com>
8922 * check/elements/gstfakesrc.c: (GST_START_TEST):
8925 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8926 (init_popt_callback):
8928 * gst/gst_private.h:
8929 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8930 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8933 * gst/gstconfig.h.in:
8934 * gst/gstelement.c: (gst_element_class_init),
8935 (gst_element_set_base_time), (gst_element_get_base_time),
8936 (iterator_fold_with_resync), (gst_element_change_state),
8937 (gst_element_dispose), (gst_element_get_bus):
8939 * gst/gstelementfactory.h:
8940 * gst/gsterror.c: (_gst_core_errors_init):
8943 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8945 * gst/gstinfo.c: (_gst_debug_init):
8946 * gst/gstmessage.c: (_gst_message_copy):
8948 * gst/gstminiobject.h:
8951 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8952 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8955 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8956 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8957 (gst_pipeline_get_last_stream_time):
8958 * gst/gstpipeline.h:
8959 * gst/gstpluginfeature.h:
8961 * gst/gstscheduler.c:
8962 * gst/gstscheduler.h:
8963 * gst/gststructure.h:
8964 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8965 (gst_task_finalize), (gst_task_func), (gst_task_create),
8966 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8967 (gst_task_stop), (gst_task_pause):
8969 * gst/gsttypefind.h:
8971 * gst/registries/gstlibxmlregistry.c: (load_feature),
8972 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8973 * gst/registries/gstxmlregistry.c:
8974 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8975 * gst/schedulers/threadscheduler.c:
8976 * libs/gst/control/dparammanager.h:
8977 * tools/gst-inspect.c: (print_element_list),
8978 (print_plugin_features), (print_element_features):
8979 * tools/gst-xmlinspect.c: (print_element_list),
8980 (print_plugin_info), (main):
8981 Removed plugable schedulers.
8982 Removed Scheduler/Manager from elements.
8983 Removed gsttypes.h, rearranged includes.
8984 Removed dependency pad<->element, element<>pipeline, and
8985 various others, fix includes.
8986 implement gst_pad_get_parent() with gst_object_get_parent()
8987 Make GstTask sefcontained.
8988 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8990 Fix endless loop in iterator_fold_with_resync.
8993 2005-07-18 Wim Taymans <wim@fluendo.com>
8999 2005-07-18 Wim Taymans <wim@fluendo.com>
9004 2005-07-18 Wim Taymans <wim@fluendo.com>
9010 2005-07-18 Wim Taymans <wim@fluendo.com>
9012 * docs/design/part-dynamic.txt:
9013 * docs/design/part-events.txt:
9014 * docs/design/part-seeking.txt:
9015 Some more docs in the works.
9017 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9018 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9019 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9020 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9021 (gst_base_transform_handle_buffer),
9022 (gst_base_transform_sink_activate_push),
9023 (gst_base_transform_src_activate_pull),
9024 (gst_base_transform_set_passthrough),
9025 (gst_base_transform_is_passthrough):
9028 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9031 * gst/gstevent.c: (gst_event_finalize):
9034 * gst/gstutils.c: (gst_element_unlink),
9035 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9036 (gst_pad_proxy_setcaps):
9038 Add _get_parent_element() to get a pads parent as an element.
9040 2005-07-18 Wim Taymans <wim@fluendo.com>
9042 * check/gst/gstbin.c: (GST_START_TEST):
9045 2005-07-18 Wim Taymans <wim@fluendo.com>
9047 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9048 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9049 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9050 (gst_base_sink_event), (gst_base_sink_do_sync),
9051 (gst_base_sink_chain), (gst_base_sink_loop),
9052 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9053 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9055 Fix logic for returning ASYNC when not prerolled.
9057 2005-07-18 Wim Taymans <wim@fluendo.com>
9059 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9060 Fix nasty refcount bug.
9062 2005-07-16 Philippe Khalaf <burger@speedy.org>
9064 * gst/elements/gstfdsrc.c:
9065 * gst/elements/gstfdsrc.h:
9066 * gst/elements/gstelements.c:
9067 * gst/elements/Makefile.am:
9068 Ported fdsrc to 0.9.
9070 2005-07-16 Wim Taymans <wim@fluendo.com>
9072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9073 (gst_base_sink_do_sync):
9076 2005-07-16 Wim Taymans <wim@fluendo.com>
9078 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9079 (gst_base_sink_event), (gst_base_sink_get_times),
9080 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9081 * gst/base/gstbasesink.h:
9082 Store and use discont values when syncing buffers as described
9085 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9086 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9087 (gst_base_src_activate_push):
9088 Push discont event when starting.
9090 * gst/elements/gstidentity.c: (gst_identity_transform):
9093 * gst/gstbin.c: (gst_bin_change_state):
9094 Small cleanups in base_time distribution.
9096 * gst/gstelement.c: (gst_element_set_base_time),
9097 (gst_element_get_base_time), (gst_element_change_state):
9099 Added methods for the base_time of the element.
9102 * gst/gstpipeline.c: (gst_pipeline_send_event),
9103 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9104 (gst_pipeline_get_last_stream_time):
9105 * gst/gstpipeline.h:
9107 Handle seeking as described in design doc, remove stream_time
9109 Cleanups clock and stream_time selection code. Added accessors
9110 for the stream_time.
9113 2005-07-16 Andy Wingo <wingo@pobox.com>
9115 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9118 2005-07-16 Wim Taymans <wim@fluendo.com>
9120 * check/gst/gstbin.c: (GST_START_TEST):
9121 Make elements silent as the deep_notify refs the
9122 parent, which might make the test fail.
9124 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9125 Don't hold the lock for too long.
9127 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9129 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9130 Don't unref the caps we passed to gst_caps_make_writable() after
9131 passing them. gst_caps_make_writable() will do that for us.
9133 2005-07-15 Andy Wingo <wingo@pobox.com>
9135 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9138 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9139 own marshalling function for the handoff signal. Properly type the
9140 buffer as a buffer. Fixes some warnings. Should do a more general
9142 (gst_identity_class_init): Plug into the right marshaller.
9144 2005-07-15 Wim Taymans <wim@fluendo.com>
9146 * docs/design/part-TODO.txt:
9147 * docs/design/part-clocks.txt:
9148 * docs/design/part-element-sink.txt:
9149 * docs/design/part-events.txt:
9150 * docs/design/part-gstpipeline.txt:
9151 Updated docs, mostly DISCONT related.
9153 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9155 * docs/pwg/building-pads.xml:
9156 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9158 2005-07-15 Andy Wingo <wingo@pobox.com>
9160 * tools/gst-typefind.c: Update, add copyright block.
9162 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9163 Normalize and truncate caps before fixation.
9166 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9167 discards all but the first structure from its argument.
9169 2005-07-15 Wim Taymans <wim@fluendo.com>
9171 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9172 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9173 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9174 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9175 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9176 (gst_base_transform_chain), (gst_base_transform_change_state),
9177 (gst_base_transform_set_passthrough),
9178 (gst_base_transform_is_passthrough):
9179 * gst/base/gstbasetransform.h:
9180 Make passthrough work using the bufferpools.
9181 Changed API a bit, subclasses have to write into a buffer
9182 provided by the base class.
9183 More debug info in nego functions.
9185 * gst/elements/gstidentity.c: (gst_identity_init),
9186 (gst_identity_transform):
9187 Port to new base class.
9189 2005-07-15 Wim Taymans <wim@fluendo.com>
9191 * gst/gstmessage.c: (gst_message_new_state_changed):
9192 * tools/gst-launch.c: (event_loop), (main):
9193 Totally dump messages in -launch with the -m option.
9194 Fix message name for State messages,
9196 2005-07-14 Wim Taymans <wim@fluendo.com>
9198 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9199 Post error messages on errors.
9201 2005-07-14 Wim Taymans <wim@fluendo.com>
9203 * gst/gstcaps.c: (gst_caps_do_simplify):
9207 Define error for stream stopped.
9209 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9210 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9211 Do proper return values.
9213 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9214 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9215 (gst_pad_get_range):
9216 Better return values.
9219 Reorganise return values, add macro to check for fatal errors.
9221 * gst/gstqueue.c: (gst_queue_chain):
9222 Return proper GstFlowReturn values,
9224 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9226 * docs/gst/gstreamer-sections.txt:
9227 * docs/gst/gstreamer.types:
9228 * docs/gst/tmpl/gst.sgml:
9229 * docs/gst/tmpl/gstbasesink.sgml:
9230 * docs/gst/tmpl/gstbasesrc.sgml:
9231 * docs/gst/tmpl/gstbasetransform.sgml:
9232 * docs/gst/tmpl/gstbin.sgml:
9233 * docs/gst/tmpl/gstbuffer.sgml:
9234 * docs/gst/tmpl/gstcaps.sgml:
9235 * docs/gst/tmpl/gstclock.sgml:
9236 * docs/gst/tmpl/gstcompat.sgml:
9237 * docs/gst/tmpl/gstconfig.sgml:
9238 * docs/gst/tmpl/gstelement.sgml:
9239 * docs/gst/tmpl/gstelementdetails.sgml:
9240 * docs/gst/tmpl/gstelementfactory.sgml:
9241 * docs/gst/tmpl/gstenumtypes.sgml:
9242 * docs/gst/tmpl/gsterror.sgml:
9243 * docs/gst/tmpl/gstevent.sgml:
9244 * docs/gst/tmpl/gstfakesink.sgml:
9245 * docs/gst/tmpl/gstfakesrc.sgml:
9246 * docs/gst/tmpl/gstfilesink.sgml:
9247 * docs/gst/tmpl/gstfilesrc.sgml:
9248 * docs/gst/tmpl/gstfilter.sgml:
9249 * docs/gst/tmpl/gstformat.sgml:
9250 * docs/gst/tmpl/gstghostpad.sgml:
9251 * docs/gst/tmpl/gstimplementsinterface.sgml:
9252 * docs/gst/tmpl/gstindex.sgml:
9253 * docs/gst/tmpl/gstindexfactory.sgml:
9254 * docs/gst/tmpl/gstinfo.sgml:
9255 * docs/gst/tmpl/gstiterator.sgml:
9256 * docs/gst/tmpl/gstmacros.sgml:
9257 * docs/gst/tmpl/gstmemchunk.sgml:
9258 * docs/gst/tmpl/gstminiobject.sgml:
9259 * docs/gst/tmpl/gstobject.sgml:
9260 * docs/gst/tmpl/gstpad.sgml:
9261 * docs/gst/tmpl/gstpadtemplate.sgml:
9262 * docs/gst/tmpl/gstparse.sgml:
9263 * docs/gst/tmpl/gstpipeline.sgml:
9264 * docs/gst/tmpl/gstplugin.sgml:
9265 * docs/gst/tmpl/gstpluginfeature.sgml:
9266 * docs/gst/tmpl/gstquery.sgml:
9267 * docs/gst/tmpl/gstqueue.sgml:
9268 * docs/gst/tmpl/gstregistry.sgml:
9269 * docs/gst/tmpl/gstregistrypool.sgml:
9270 * docs/gst/tmpl/gstscheduler.sgml:
9271 * docs/gst/tmpl/gstschedulerfactory.sgml:
9272 * docs/gst/tmpl/gststructure.sgml:
9273 * docs/gst/tmpl/gstsystemclock.sgml:
9274 * docs/gst/tmpl/gsttaglist.sgml:
9275 * docs/gst/tmpl/gsttagsetter.sgml:
9276 * docs/gst/tmpl/gsttrace.sgml:
9277 * docs/gst/tmpl/gsttrashstack.sgml:
9278 * docs/gst/tmpl/gsttypefind.sgml:
9279 * docs/gst/tmpl/gsttypefindfactory.sgml:
9280 * docs/gst/tmpl/gsttypes.sgml:
9281 * docs/gst/tmpl/gsturihandler.sgml:
9282 * docs/gst/tmpl/gsturitype.sgml:
9283 * docs/gst/tmpl/gstutils.sgml:
9284 * docs/gst/tmpl/gstvalue.sgml:
9285 * docs/gst/tmpl/gstversion.sgml:
9286 * docs/gst/tmpl/gstxml.sgml:
9287 * docs/libs/tmpl/gstcontrol.sgml:
9288 * docs/libs/tmpl/gstdataprotocol.sgml:
9289 * docs/libs/tmpl/gstdparam.sgml:
9290 * docs/libs/tmpl/gstdplinint.sgml:
9291 * docs/libs/tmpl/gstdpman.sgml:
9292 * docs/libs/tmpl/gstdpsmooth.sgml:
9293 * docs/libs/tmpl/gstgetbits.sgml:
9294 * docs/libs/tmpl/gstunitconvert.sgml:
9295 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9296 (gst_push_src_base_init), (gst_push_src_class_init),
9297 (gst_push_src_init), (gst_push_src_create):
9298 * gst/base/gstpushsrc.h:
9299 * gst/elements/gstelements.c:
9300 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9301 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9302 (gst_fake_sink_init), (gst_fake_sink_set_property),
9303 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9304 (gst_fake_sink_event), (gst_fake_sink_preroll),
9305 (gst_fake_sink_render), (gst_fake_sink_change_state):
9306 * gst/elements/gstfakesink.h:
9307 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9308 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9309 (gst_fake_src_base_init), (gst_fake_src_class_init),
9310 (gst_fake_src_init), (gst_fake_src_event_handler),
9311 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9312 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9313 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9314 (gst_fake_src_create_buffer), (gst_fake_src_create),
9315 (gst_fake_src_start), (gst_fake_src_stop):
9316 * gst/elements/gstfakesrc.h:
9317 * gst/elements/gstfilesink.c: (_do_init),
9318 (gst_file_sink_base_init), (gst_file_sink_class_init),
9319 (gst_file_sink_init), (gst_file_sink_dispose),
9320 (gst_file_sink_set_location), (gst_file_sink_set_property),
9321 (gst_file_sink_get_property), (gst_file_sink_open_file),
9322 (gst_file_sink_close_file), (gst_file_sink_query),
9323 (gst_file_sink_event), (gst_file_sink_render),
9324 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9325 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9326 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9327 * gst/elements/gstfilesink.h:
9328 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9329 (gst_file_src_class_init), (gst_file_src_init),
9330 (gst_file_src_finalize), (gst_file_src_set_location),
9331 (gst_file_src_set_property), (gst_file_src_get_property),
9332 (gst_file_src_map_region), (gst_file_src_map_small_region),
9333 (gst_file_src_create_mmap), (gst_file_src_create_read),
9334 (gst_file_src_create), (gst_file_src_is_seekable),
9335 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9336 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9337 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9338 (gst_file_src_uri_handler_init):
9339 * gst/elements/gstfilesrc.h:
9340 more autistic cleanliness in functions/names/defines
9342 2005-07-13 Andy Wingo <wingo@pobox.com>
9344 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9345 source couldn't negotiate.
9347 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9351 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9352 function. I am channeling Hades. Put your boots on suckers!!!
9354 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9356 * testsuite/caps/Makefile.am:
9357 * testsuite/caps/value_compare.c:
9358 * testsuite/caps/value_intersect.c:
9359 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9360 move two testsuite apps over to the check dir
9362 2005-07-12 Wim Taymans <wim@fluendo.com>
9364 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9365 Added more debug info in the negotiate process.
9368 Prepare for segment playback.
9370 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9376 * tools/gst-launch.c: (main):
9377 NULL pipeline on errors.
9379 2005-07-12 Andy Wingo <wingo@pobox.com>
9381 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9382 not it comes from a malloc region. Make sure our copy gets freed.
9384 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9386 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9387 * check/gst/gstmessage.c: (GST_START_TEST):
9388 * check/gst/gststructure.c: (GST_START_TEST),
9389 (gst_structure_suite), (main):
9391 * gst/gstelement.c: (gst_element_message_full):
9392 clean up GError and debug string now that they get copied
9393 * gst/gstmessage.c: (gst_message_new_error),
9394 (gst_message_new_warning), (gst_message_parse_error),
9395 (gst_message_parse_warning):
9396 use GST_TYPE_G_ERROR for structure_new, and take copies of
9397 arguments, so that we don't mess up refcounting
9399 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9401 * check/Makefile.am:
9402 add per-test valgrind targets
9403 * check/gst-libs/gdp.c: (GST_START_TEST),
9404 (gst_data_protocol_suite), (main):
9407 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9409 * check/Makefile.am:
9410 instate more valgrindable tests
9411 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9412 (GST_START_TEST), (fakesrc_suite):
9413 * check/gst/gstpad.c: (GST_START_TEST):
9414 * check/gst/gststructure.c: (GST_START_TEST):
9416 * docs/gst/tmpl/gstminiobject.sgml:
9417 * gst/gstpad.c: (gst_pad_finalize):
9418 fix the static mutex leak
9420 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9422 * check/Makefile.am:
9423 add two more tests for valgrinding
9424 * check/gst/gstvalue.c: (GST_START_TEST):
9425 test refcount of deserialized buffer, found a leak
9426 * docs/gst/gstreamer-docs.sgml:
9427 * docs/gst/gstreamer-sections.txt:
9428 * docs/gst/gstreamer.types:
9429 * docs/gst/tmpl/gstminiobject.sgml:
9430 add miniobject to docs
9431 * gst/gstminiobject.c:
9433 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9434 (gst_string_unwrap):
9435 fix a hard-to-find invalid write for one of the tests
9436 fix a leak for deserialized buffers
9438 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9440 * docs/pwg/advanced-events.xml:
9441 * docs/pwg/advanced-request.xml:
9442 * docs/pwg/advanced-scheduling.xml:
9443 * docs/pwg/appendix-porting.xml:
9444 * docs/pwg/building-boiler.xml:
9445 * docs/pwg/intro-preface.xml:
9446 * docs/pwg/other-ntoone.xml:
9447 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9448 of example code and explanation for pad activation, loop() and
9449 getrange() functions and a bit more. Remove old comments pointing
9451 * examples/pwg/Makefile.am:
9452 Add loop/getrange examples.
9454 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9457 check for valgrind binary + some fixes
9459 valgrind suppressions for the tests
9460 * check/Makefile.am:
9461 add a valgrind: target that valgrinds the unit tests
9462 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9463 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9464 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9465 * check/gst/gstghostpad.c:
9467 * check/gst/gstdata.c:
9469 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9470 (thread_unref), (gst_mini_object_suite), (main):
9472 * gst/gst.c: (gst_deinit):
9474 add a method to clean up.
9475 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9476 (gst_system_clock_obtain):
9477 allow for disposing the system clock.
9478 * tools/gst-launch.c: (main):
9481 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9483 * docs/gst/tmpl/gstbasesrc.sgml:
9484 * docs/gst/tmpl/gstfakesrc.sgml:
9485 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9486 (gst_base_src_init), (gst_base_src_set_property),
9487 (gst_base_src_get_property), (gst_base_src_get_range),
9488 (gst_base_src_start):
9489 * gst/base/gstbasesrc.h:
9490 add num-buffers property
9491 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9492 (gst_fakesrc_init), (gst_fakesrc_set_property),
9493 (gst_fakesrc_get_property), (gst_fakesrc_create),
9494 (gst_fakesrc_start):
9495 remove num-buffers property
9497 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9499 * docs/gst/gstreamer-sections.txt:
9500 * docs/gst/tmpl/gstbasesink.sgml:
9501 * docs/gst/tmpl/gstbasesrc.sgml:
9502 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9503 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9504 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9505 (gst_base_sink_set_property), (gst_base_sink_get_property),
9506 (gst_base_sink_handle_object), (gst_base_sink_event),
9507 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9508 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9509 (gst_base_sink_loop), (gst_base_sink_deactivate),
9510 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9511 (gst_base_sink_change_state):
9512 * gst/base/gstbasesink.h:
9513 * gst/base/gstbasesrc.h:
9514 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9515 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9516 (gst_filesink_init):
9517 more macro splitting
9519 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9521 * gst/gstelement.c: (gst_element_get_bus):
9523 * tools/gst-launch.c: (check_intr), (event_loop):
9526 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9528 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9531 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9533 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9534 (gst_base_src_finalize):
9535 add finalize method and clean up properly
9536 * gst/gstpipeline.c: (gst_pipeline_dispose):
9539 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9541 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9543 add more things to check
9544 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9548 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9550 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9551 (GST_START_TEST), (fakesrc_suite):
9552 * check/gst-libs/gdp.c: (GST_START_TEST):
9553 * check/gst/gst.c: (GST_START_TEST):
9554 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9555 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9556 * check/gst/gstbus.c: (GST_START_TEST):
9557 * check/gst/gstcaps.c: (GST_START_TEST):
9558 * check/gst/gstdata.c: (GST_START_TEST):
9559 * check/gst/gstelement.c: (GST_START_TEST):
9560 * check/gst/gstghostpad.c: (GST_START_TEST):
9561 * check/gst/gstiterator.c: (GST_START_TEST):
9562 * check/gst/gstmessage.c: (GST_START_TEST):
9563 * check/gst/gstobject.c: (GST_START_TEST):
9564 * check/gst/gstpad.c: (GST_START_TEST):
9565 * check/gst/gststructure.c: (GST_START_TEST):
9566 * check/gst/gstsystemclock.c: (GST_START_TEST),
9567 (gst_systemclock_suite):
9568 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9569 * check/gst/gstvalue.c: (GST_START_TEST):
9570 * check/pipelines/cleanup.c: (GST_START_TEST):
9571 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9572 * check/states/sinks.c: (GST_START_TEST):
9573 * check/gstcheck.c: (gst_check_init):
9575 add debugging category
9576 use GST_START_TEST now, so we add a debug line
9578 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9580 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9581 add test for state change message on a bin
9582 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9584 * gst/gstbin.c: (gst_bin_init):
9585 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9586 * gst/gstelement.c: (gst_element_post_message),
9587 (gst_element_set_state):
9588 * gst/gstelementfactory.c: (gst_element_factory_create):
9589 * gst/gstmessage.c: (gst_message_new):
9590 * gst/gstscheduler.c:
9591 various debugging additions and cleanups
9593 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9595 * check/Makefile.am:
9596 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9598 adding tests for elements
9599 * gst/gstelement.c: (gst_element_dispose):
9601 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9603 * gst/registries/gstlibxmlregistry.c: (load_feature):
9604 plug more leaks. A simple gst_init() now is leakfree, yay.
9606 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9608 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9609 (gst_xml_registry_load):
9610 plug another memleak
9612 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9615 use GST_SET_ERROR_CFLAGS
9617 change to ERROR_CFLAGS
9619 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9622 make GST_ERROR_CFLAGS overridable and re-enable Werror
9624 add a note about error CFLAGS
9625 * docs/gst/tmpl/gstfakesrc.sgml:
9626 * gst/elements/gstfakesrc.c:
9627 comment out some unused code
9628 * gst/gst.c: (split_and_iterate):
9629 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9633 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9635 * common/Makefile.am:
9636 * common/gtk-doc.mak:
9637 * docs/gst/Makefile.am:
9638 factor out gtk-doc.mak
9640 2005-07-07 Wim Taymans <wim@fluendo.com>
9642 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9643 (gst_thread_scheduler_dispose):
9644 Unlock the STREAM_LOCK completely.
9646 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9648 * check/Makefile.am:
9649 * check/elements/.cvsignore:
9650 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9651 (START_TEST), (fakesrc_suite), (main):
9652 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9653 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9654 (gst_fakesrc_create), (gst_fakesrc_start):
9655 * gst/elements/gstfakesrc.h:
9656 adding a first element test
9658 2005-07-07 Andy Wingo <wingo@pobox.com>
9660 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9663 2005-07-07 Wim Taymans <wim@fluendo.com>
9669 2005-07-07 Wim Taymans <wim@fluendo.com>
9671 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9672 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9673 Allow subclasses to implement their own negotiation.
9675 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9677 * docs/design/part-gstbin.txt:
9678 * docs/design/part-gstpipeline.txt:
9679 Update design notes to reflect the movement of
9680 responsibility for bus handling from GstPipeline to
9683 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9686 Remove unnecessary queue2/3/4 examples.
9688 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9690 * examples/Makefile.am:
9691 * examples/helloworld/helloworld.c: (event_loop), (main):
9692 * examples/queue/queue.c: (event_loop), (main):
9693 * examples/queue2/queue2.c: (main):
9694 Update a couple of the examples to work again.
9696 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9697 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9698 Spelling corrections and extra debug.
9700 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9701 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9702 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9704 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9705 (gst_pipeline_change_state):
9706 * gst/gstpipeline.h:
9707 Move the bus handler for children to the GstBin, and create a
9708 separate bus for receiving messages from children to the one the
9709 bus sends 'upwards' on.
9711 2005-07-06 Wim Taymans <wim@fluendo.com>
9714 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9715 (gst_base_sink_handle_object), (gst_base_sink_loop),
9716 (gst_base_sink_change_state):
9717 * gst/base/gstbasesink.h:
9718 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9719 (gst_base_src_init), (gst_base_src_setcaps),
9720 (gst_base_src_getcaps), (gst_base_src_loop),
9721 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9722 (gst_base_src_start), (gst_base_src_change_state):
9723 * gst/base/gstbasesrc.h:
9724 Make basesrc negotiate.
9725 Handle the case where preroll fails in basesink.
9728 2005-07-06 Wim Taymans <wim@fluendo.com>
9730 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9731 Implement the fixate function.
9732 Clean up acceptcaps.
9734 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9736 * docs/pwg/building-filterfactory.xml:
9738 Remove never-written filter-factory chapter; I'll add the various
9739 base classes to part 4 ("other element types") later on.
9741 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9743 * docs/pwg/advanced-negotiation.xml:
9744 * docs/pwg/building-boiler.xml:
9745 * docs/pwg/building-pads.xml:
9747 * examples/pwg/Makefile.am:
9748 Add a chapter on caps negotiation, simplify the original code
9749 samples a bit w.r.t. caps negotiation, add link to the advanced
9750 section. Add a bunch of examples showing different use cases of
9751 different types of caps negotiation. Upstream renegotiation isn't
9752 fully documented yet since nobody knows how that works.
9754 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9756 * check/gst/gstpad.c:
9758 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9759 if pad has no parent, return NULL as list of internal links
9761 2005-07-05 Andy Wingo <wingo@pobox.com>
9763 * gst/elements/gstfilesrc.c:
9764 * gst/elements/gstfakesrc.c:
9765 * gst/base/gstpushsrc.c:
9766 * gst/base/gstbasesrc.h:
9767 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9769 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9772 better report generation target (lcov needs a patch)
9774 2005-07-05 Andy Wingo <wingo@pobox.com>
9776 * gst/elements, testsuite: Null if we got it...
9778 2005-07-05 Wim Taymans <wim@fluendo.com>
9781 * libs/gst/dataprotocol/Makefile.am:
9782 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9783 * libs/gst/dataprotocol/dataprotocol.h:
9784 * pkgconfig/Makefile.am:
9785 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9786 * pkgconfig/gstreamer-dataprotocol.pc.in:
9787 Ported dataprotol to 0.9.
9788 Added pkgconfig files.
9790 2005-07-05 Andy Wingo <wingo@pobox.com>
9792 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9793 Default to returning TRUE for the case when tranform_caps returns
9794 a fixed caps, like for identity or volume.
9796 * check/gst/gstbus.c (pound_bus_with_messages):
9797 * check/gst/gstmessage.c (START_TEST):
9798 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9801 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9802 logic weaks here: always run transform_caps, trying passthrough
9803 operation only if the original caps intersects with the transform.
9805 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9806 source and sink caps.
9808 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9809 Intersect the peer caps with the pad template before going into
9811 (gst_base_transform_transform_caps): More debugging.
9813 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9816 2005-07-04 Edward Hervey <edward@fluendo.com>
9820 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9823 2005-07-04 Andy Wingo <wingo@pobox.com>
9825 * check/gst/gstpad.c: Only set explicit caps on pads.
9827 2005-07-01 Andy Wingo <wingo@pobox.com>
9829 * tests/network-clock.scm: Commentary update.
9831 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9832 Didn't really make sense, not implementable with basetransform,
9834 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9835 attempt at implementing the sync property, needs an unlock method.
9837 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9838 New func, by default returns the same caps (the identity
9840 (gst_base_transform_getcaps): Uses transform_caps to return
9842 (gst_base_transform_setcaps): Complicated logic to get caps on
9843 both pads, even if they are different, and to call set_caps once
9844 for every time both pads get their caps set.
9845 (gst_base_transform_handle_buffer): Give the ref to the transform
9846 function. Allows in-place modification of the buffer.
9848 * gst/base/gstbasetransform.h (transform_caps): New class method.
9849 Given caps on one side, what can I do on the other.
9850 (set_caps): Take two caps, one for each side of the element.
9853 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9854 caps in place. This is safe because we can check the mutability of
9855 the caps, and a good idea because fixate functions are just called
9856 as a matter of last resort. (Not actually implemented.)
9857 (gst_pad_set_caps): If the caps we're setting is actually the same
9858 as the existing pad caps, just update the pointer without calling
9859 setcaps. Assert that caps is either NULL or fixed, as per the
9862 * gst/gstghostpad.c: Update for fixate changes.
9864 2005-07-02 Andy Wingo <wingo@pobox.com>
9867 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9868 two refcounts makes it immutable, which is enough. Doc more.
9870 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9872 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9873 Put the mini_object into GValue as a mini_object,
9874 not a gpointer, since that's how we declared
9877 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9879 * examples/pwg/Makefile.am:
9882 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9884 * docs/pwg/building-testapp.xml:
9886 * examples/pwg/Makefile.am:
9889 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9892 * examples/Makefile.am:
9893 * examples/pwg/Makefile.am:
9894 * examples/pwg/extract.pl:
9895 Enable building the PWG examples.
9896 * docs/pwg/advanced-interfaces.xml:
9897 Add URI interface stub.
9898 * docs/pwg/advanced-types.xml:
9899 * docs/pwg/other-autoplugger.xml:
9900 * docs/pwg/appendix-porting.xml:
9902 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9903 * docs/pwg/building-boiler.xml:
9904 * docs/pwg/building-chainfn.xml:
9905 * docs/pwg/building-pads.xml:
9906 * docs/pwg/building-props.xml:
9907 * docs/pwg/building-state.xml:
9908 * docs/pwg/building-testapp.xml:
9909 Update the building-*.xml parts for 0.9 changes. All examples
9910 code blocks compile in examples/pwg/*.
9912 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9914 * docs/manual/advanced-autoplugging.xml:
9915 * docs/manual/appendix-checklist.xml:
9916 * docs/manual/appendix-integration.xml:
9917 * docs/manual/highlevel-components.xml:
9918 Fix playbin/decodebin examples, update docs a bit, mention bus
9919 instead of signals in various places, mention kmplayer and
9920 kaffeine since they have a working GStreamer backend in the KDE
9923 2005-06-30 Wim Taymans <wim@fluendo.com>
9926 * docs/design/draft-ghostpads.txt:
9927 * docs/design/draft-push-pull.txt:
9928 * docs/design/draft-query.txt:
9929 * docs/design/part-TODO.txt:
9930 * docs/design/part-query.txt:
9931 Added CHANGES-0.9 doc, updated status of other docs.
9936 2005-06-30 Wim Taymans <wim@fluendo.com>
9938 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9939 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9940 (gst_base_sink_change_state):
9941 * gst/base/gstbasesink.h:
9942 Some tweaks, only EOS and a buffer complete a preroll.
9944 2005-06-30 Andy Wingo <wingo@pobox.com>
9946 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9947 activate_push down to the internal pad as well.
9949 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9951 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9953 * gst/gsttaginterface.c:
9954 Some documentation fixes (#307394 and #307397).
9956 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9958 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9960 * gst/gstvalue.c: (gst_value_intersect_list):
9961 Fix memleak (#309125).
9963 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9965 * docs/manual/advanced-dataaccess.xml:
9966 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9967 * docs/manual/basics-pads.xml:
9968 Add reference for filtered caps to above chapter.
9970 2005-06-30 Wim Taymans <wim@fluendo.com>
9972 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9973 (gst_bin_change_state):
9975 Lame attempt at making the state change function a bit
9978 2005-06-30 Wim Taymans <wim@fluendo.com>
9980 * docs/design/part-clocks.txt:
9981 * docs/design/part-element-sink.txt:
9982 * docs/design/part-events.txt:
9983 * docs/design/part-preroll.txt:
9984 * docs/design/part-states.txt:
9985 Some more tweeks and additions to the docs.
9987 2005-06-30 Wim Taymans <wim@fluendo.com>
9989 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9990 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9991 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9992 (gst_pad_check_pull_range), (gst_pad_get_range),
9993 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9995 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9996 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9997 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9998 (gst_pad_remove_buffer_probe):
9999 Removed atomic operations, use existing LOCK.
10000 Move exception handling out of main code path.
10002 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10004 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10005 (silly_return_true_function), (gst_pad_class_init),
10006 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10007 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10008 (gst_pad_send_event):
10009 Fix accumulator, add default value by using _emitv() instead
10010 of _emit() for signal emission.
10012 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10014 * docs/manual/advanced-dataaccess.xml:
10015 * examples/manual/Makefile.am:
10017 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10020 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10022 * gst/elements/gstfilesink.c: (gst_filesink_render):
10023 Simplify code so that we don't have to handle short
10024 writes and return GST_FLOW_ERROR if an error occured.
10026 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10028 * docs/gst/gstreamer-docs.sgml:
10029 Remove probes more.
10031 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10033 * docs/gst/gstreamer-sections.txt:
10034 * docs/gst/tmpl/gstpad.sgml:
10035 * docs/gst/tmpl/gstprobe.sgml:
10037 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10038 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10039 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10040 (gst_pad_push_event), (gst_pad_send_event):
10042 * gst/gstutils.c: (gst_pad_add_data_probe),
10043 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10044 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10045 (gst_pad_remove_buffer_probe):
10047 Remove old probes, add new g-signal-based probes and some utility
10050 2005-06-29 Edward Hervey <edward@fluendo.com>
10052 * gst/gstelementfactory.c:
10055 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10056 the definition to the header file.
10058 2005-06-29 Andy Wingo <wingo@pobox.com>
10060 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10061 plugins from the source directory.
10063 2005-06-29 Wim Taymans <wim@fluendo.com>
10065 * docs/gst/tmpl/gstbuffer.sgml:
10066 * docs/gst/tmpl/gstclock.sgml:
10067 Some fixings for blantently wrong text.
10069 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10071 * check/Makefile.am:
10072 * gst/gst.c: (add_path_func), (init_pre):
10073 * gst/gstregistry.c: (gst_registry_add_path):
10074 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10075 only scan the GST_PLUGIN_PATH locations, and not add
10078 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10080 * docs/gst/gstreamer-sections.txt:
10081 * docs/gst/tmpl/gstbasesrc.sgml:
10082 * gst/gstelement.c:
10083 * gst/gstelement.h:
10088 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10090 * docs/manual/advanced-autoplugging.xml:
10091 Fix autoplugging example.
10093 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10095 * docs/manual/advanced-autoplugging.xml:
10096 * docs/manual/mime-world.fig:
10097 Try to get autoplugging working, fix type detection. Fix text
10098 in hello-world image.
10100 2005-06-29 Wim Taymans <wim@fluendo.com>
10102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10103 (gst_base_sink_change_state):
10107 map SIGNAL and BROADCAST to the right function.
10110 Remove redundant braces.
10112 * gst/gstpad.c: (gst_pad_set_caps):
10113 Don't call setcaps function when reseting caps to NULL.
10115 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10116 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10117 (gst_system_clock_id_unschedule):
10118 Use BROADCAST as this is what we do.
10120 2005-06-29 Wim Taymans <wim@fluendo.com>
10122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10123 We are actually prerolling before commiting the state
10126 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10128 * docs/manual/advanced-clocks.xml:
10129 * docs/manual/advanced-interfaces.xml:
10130 * docs/manual/advanced-metadata.xml:
10131 * docs/manual/advanced-position.xml:
10132 * docs/manual/advanced-schedulers.xml:
10133 * docs/manual/advanced-threads.xml:
10134 * docs/manual/appendix-porting.xml:
10135 * docs/manual/basics-bins.xml:
10136 * docs/manual/basics-bus.xml:
10137 * docs/manual/basics-elements.xml:
10138 * docs/manual/basics-helloworld.xml:
10139 * docs/manual/basics-pads.xml:
10140 * docs/manual/highlevel-components.xml:
10141 * docs/manual/manual.xml:
10142 * docs/manual/thread.fig:
10143 Update (until threads/scheduling) Application Development Manual;
10144 remove GstThread, add GstBus, add simple porting checklist, add
10145 documentation for tag writing, clocks, make all examples until this
10146 part compile and run.
10147 * examples/manual/Makefile.am:
10148 Update from changes to Application Development Manual; add bus
10149 example, remove thread example.
10151 2005-06-28 Wim Taymans <wim@fluendo.com>
10153 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10154 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10155 (gst_bus_source_dispatch):
10156 Add debugging messages.
10157 Make internal methods static.
10158 Handle the case where the bus is flushed in the handler.
10160 * gst/gstelement.c: (gst_element_get_bus):
10161 Fix refcount in _get_bus();
10163 * gst/gstpipeline.c: (gst_pipeline_change_state),
10164 (gst_pipeline_get_clock_func):
10165 Clock refcounting fixes.
10166 Handle the case where preroll timed out more gracefully.
10168 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10169 Clean up the internal thread in dispose. This is needed
10170 for subclasses that actually get disposed.
10172 * gst/schedulers/threadscheduler.c:
10173 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10174 (gst_thread_scheduler_dispose):
10175 Free thread pool in dispose.
10177 2005-06-28 Andy Wingo <wingo@pobox.com>
10179 * tests/network-clock-utils.scm (debug, print-event): New utils.
10181 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10182 (*packet-loss*): Unified loss probability.
10183 (network-time): Report out-of-band events.
10185 * tests/plot-data: Add support for out-of-band events. Hack it
10186 into this script instead of passing it down the pipe; should fix
10189 2005-06-28 Wim Taymans <wim@fluendo.com>
10191 * docs/gst/gstreamer.types:
10192 * docs/gst/tmpl/gstbasesrc.sgml:
10193 * docs/gst/tmpl/gstpad.sgml:
10196 2005-06-28 Wim Taymans <wim@fluendo.com>
10198 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10199 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10200 (gst_proxy_pad_do_fixatecaps):
10201 Correctly proxy the check_pull_range function.
10203 2005-06-28 Andy Wingo <wingo@pobox.com>
10205 * tests/network-clock.scm: Removed need for slib.
10207 2005-06-28 Wim Taymans <wim@fluendo.com>
10209 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10210 (gst_basesink_preroll_queue_flush):
10211 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10212 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10213 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10214 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10215 (gst_proxy_pad_set_property):
10218 * gst/gstqueue.c: (gst_queue_init):
10219 The deprecated pad loop function is removed now.
10221 2005-06-28 Andy Wingo <wingo@pobox.com>
10223 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10224 New parameters, simulate network packet loss.
10226 * tests/network-clock-utils.scm: Initialize the RNG.
10228 2005-06-28 Wim Taymans <wim@fluendo.com>
10230 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10231 (gst_basesink_event), (gst_basesink_deactivate):
10232 Flushing the preroll queue always needs to unlock the waiters.
10234 2005-06-28 Edward Hervey <edward@fluendo.com>
10236 * gst/gstpipeline.c: (gst_pipeline_send_event):
10237 Wheen a seek was successful on a pipeline, set the stream_time to the
10238 seek offset in order to have a synchronized stream_time.
10240 2005-06-28 Wim Taymans <wim@fluendo.com>
10242 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10243 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10244 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10245 (gst_proxy_pad_do_fixatecaps):
10246 Call wrapper function instead of just calling the function
10247 pointers. This takes care of any locking and whatmore.
10249 2005-06-28 Wim Taymans <wim@fluendo.com>
10251 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10252 (gst_pad_pull_range):
10254 CONNECTED -> LINKED.
10256 2005-06-28 Andy Wingo <wingo@pobox.com>
10258 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10259 source-munging commit!!!
10261 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10262 (gst_object_sink): Take gpointer arguments, not GstObject --
10263 avoids casts. Like GLib.
10265 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10268 2005-06-27 Andy Wingo <wingo@pobox.com>
10270 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10273 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10274 returns a sorted copy of the trace list.
10275 (gst_alloc_trace_print_live): New API, only prints traces with
10276 live objects. Sort the list.
10277 (gst_alloc_trace_print_all): Sort the list.
10278 (gst_alloc_trace_print): Align columns.
10280 * gst/elements/gstttypefindelement.c:
10281 * gst/elements/gsttee.c:
10282 * gst/base/gstbasesrc.c:
10283 * gst/base/gstbasesink.c:
10284 * gst/base/gstbasetransform.c:
10285 * gst/gstqueue.c: Adapt for pad activation changes.
10287 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10289 (gst_pipeline_dispose): Drop ref on sched.
10291 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10292 (gst_pad_activate_default): Push mode by default.
10293 (pre_activate_switch, post_activate_switch): New stubs, things to
10294 do before and after switching activation modes on pads.
10295 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10296 the pad's activate function to choose which mode to activate.
10297 Shortcut on deactivation and call the right function directly.
10298 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10300 (gst_pad_activate_push): New API, same for push mode.
10301 (gst_pad_set_activate_function)
10302 (gst_pad_set_activatepull_function)
10303 (gst_pad_set_activatepush_function): Setters for new API.
10305 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10306 Trace all miniobjects.
10307 (gst_mini_object_make_writable): Unref the arg if we copy, like
10308 gst_caps_make_writable.
10310 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10312 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10313 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10314 Adapt for new pad API.
10316 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10318 * gst/gstelement.h:
10319 * gst/gstelement.c (gst_element_iterate_src_pads)
10320 (gst_element_iterate_sink_pads): New API functions.
10322 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10323 should fold into gstiterator.c in some form.
10324 (gst_element_pads_activate): Simplified via use of fold and
10325 delegation of decisions to gstpad->activate.
10327 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10330 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10331 class once in init, like gstmessage. Didn't run into this issue
10332 but it seems correct. Don't initialize a trace, gstminiobject does
10335 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10336 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10338 (assert_live_count): New util function, uses alloc traces to check
10341 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10342 To be modified when unlink drops the internal pad.
10344 2005-06-27 Wim Taymans <wim@fluendo.com>
10346 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10347 (gst_bin_change_state):
10348 Cleanup the get_state() function a little, make sure it
10349 iterates the same set of elements.
10350 Added stub iterate_state_order().
10352 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10354 * docs/gst/gstreamer-docs.sgml:
10355 * docs/gst/gstreamer-sections.txt:
10356 * docs/gst/gstreamer.types:
10357 * docs/gst/tmpl/gstbasesink.sgml:
10358 * docs/gst/tmpl/gstbasesrc.sgml:
10359 * docs/gst/tmpl/gstbasetransform.sgml:
10360 * docs/gst/tmpl/gstelement.sgml:
10361 * docs/gst/tmpl/gstiterator.sgml:
10362 * gst/base/gstbasesrc.c:
10363 * gst/base/gstbasesrc.h:
10364 * gst/base/gstbasetransform.h:
10365 * gst/gstelement.c:
10366 * gst/gstiterator.h:
10367 adding basetransform and iterator docs
10369 2005-06-27 Andy Wingo <wingo@pobox.com>
10371 * docs/design/part-activation.txt: Notes on how activation should
10372 work -- not quite implemented yet.
10374 2005-06-25 Wim Taymans <wim@fluendo.com>
10376 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10377 At least get the chain function correct, needs more
10380 2005-06-25 Wim Taymans <wim@fluendo.com>
10382 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10383 (gst_basesink_handle_object), (gst_basesink_event),
10384 (gst_basesink_do_sync), (gst_basesink_handle_event),
10385 (gst_basesink_change_state):
10387 Right, two problems here: ghostpads don't take locks and
10388 glib _rec_mutex_lock_full() with depth==0 still locks.
10389 Catch illegal locking and g_warn them.
10391 2005-06-25 Wim Taymans <wim@fluendo.com>
10393 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10394 Have to check for completion now...
10396 2005-06-25 Wim Taymans <wim@fluendo.com>
10398 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10399 (gst_basesink_handle_object), (gst_basesink_event),
10400 (gst_basesink_do_sync), (gst_basesink_handle_event),
10401 (gst_basesink_change_state):
10403 Unlock STREAM_LOCK whatever the recursion was.
10405 2005-06-25 Wim Taymans <wim@fluendo.com>
10407 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10408 (gst_basesink_preroll_queue_empty),
10409 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10410 (gst_basesink_event), (gst_basesink_do_sync),
10411 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10412 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10413 (gst_basesink_change_state):
10414 Reworked the base sink, handle event and buffer serialisation
10415 correctly and removed possible deadlock.
10416 Handle EOS correctly.
10418 2005-06-25 Wim Taymans <wim@fluendo.com>
10420 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10421 (gst_pipeline_change_state):
10422 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10423 Allow elements to post EOS in the state change function.
10424 Fix up -launch, make it exit the poll loop when the
10425 pipeline actually changed state.
10426 Fix up warning parsing in -launch.
10428 2005-06-25 Wim Taymans <wim@fluendo.com>
10430 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10431 (gst_tee_sink_activate):
10432 Core takes STREAM_LOCK for us now.
10434 2005-06-25 Wim Taymans <wim@fluendo.com>
10436 * gst/gstelement.c: (gst_element_get_state_func),
10437 (gst_element_set_state):
10438 * gst/gstelement.h:
10439 * gst/gstmessage.c: (gst_message_parse_error),
10440 (gst_message_parse_warning):
10441 Keep track of current target state while performing a state
10442 change so that subclasses can do something interesting.
10443 Fix parsing of warning/error messages when GError is NULL.
10445 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10447 * docs/gst/Makefile.am:
10448 * docs/gst/gstreamer-docs.sgml:
10449 * docs/gst/gstreamer-sections.txt:
10450 * docs/gst/gstreamer.types:
10451 * docs/gst/tmpl/gstbasesink.sgml:
10452 * docs/gst/tmpl/gstbasesrc.sgml:
10453 * docs/gst/tmpl/gstbin.sgml:
10454 * docs/gst/tmpl/gstcompat.sgml:
10455 * docs/gst/tmpl/gstfakesink.sgml:
10456 * docs/gst/tmpl/gstfakesrc.sgml:
10457 * docs/gst/tmpl/gstfilesink.sgml:
10458 * docs/gst/tmpl/gstfilesrc.sgml:
10459 * docs/gst/tmpl/gstindex.sgml:
10460 * docs/manual/appendix-quotes.xml:
10461 * gst/base/gstbasesrc.h:
10462 * gst/elements/gstfakesrc.h:
10463 * gst/gstmessage.h:
10464 start pulling in base classes and elements in our docs
10466 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10468 * docs/gst/Makefile.am:
10469 * docs/libs/Makefile.am:
10470 fixed make distcheck with gtk-doc 1.3
10472 2005-06-23 Wim Taymans <wim@fluendo.com>
10474 * gst/gstelement.c: (gst_element_get_state_func),
10475 (gst_element_set_state), (gst_element_change_state):
10476 When the state did not change, also report NO_PREROLL
10479 2005-06-23 Wim Taymans <wim@fluendo.com>
10481 * gst/gstpad.c: (gst_pad_event_default):
10482 * gst/gstqueue.c: (gst_queue_loop):
10483 No unsafe task pausing please.
10485 2005-06-23 Wim Taymans <wim@fluendo.com>
10487 * gst/schedulers/threadscheduler.c:
10488 (gst_thread_scheduler_task_start),
10489 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10490 Ref the task before pushing it on the threadpool. This
10491 makes sure that we have a ref when the threadfunction is
10494 2005-06-23 Andy Wingo <wingo@pobox.com>
10496 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10497 offset is greater than the file's size.
10499 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10500 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10501 * gst/gstobject.c (gst_object_class_init): Make the class lock
10502 recursive. Wim won't let me drop deep_notify. Decodebin works
10503 again, whoopdy doo.
10505 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10506 internal pad, and hacks accordingly. Doesn't do it on the target
10507 pad because we change its caps. Probably catches all cases of
10509 (gst_ghost_pad_set_property): Connect to notify::caps as
10512 * tests/network-clock.scm (plot-simulation): Pipe data to the
10513 elite python skript.
10515 * tests/network-clock-utils.scm (define-parameter): New macro,
10516 defines a parameter that can be set via the command line.
10517 (set-parameter!, parse-parameter-arguments): Command line args
10520 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10523 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10525 * gst/elements/gsttypefindelement.c:
10526 (gst_type_find_element_handle_event):
10527 Don't restart typefinding on a discont.
10528 * gst/gstelement.c: (gst_element_set_state):
10529 Debug spelling fix.
10530 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10531 Allow changing mode of an active pad.
10532 Debug output fixes.
10533 * gst/registries/gstlibxmlregistry.c: (load_feature):
10534 Don't cast a static pad template to a normal pad template.
10536 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10538 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10539 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10540 remove gst_strtoll completely, since it didn't actually do
10541 anything more than what g_ascii_strtoull already does.
10542 check for range errors when deserializing
10543 do a cast for the unsigned cases; but further fixing needs
10544 a decision on what the interpretation of "(int)" and
10545 deserialization should be for values that fall outside the
10546 type's boundaries (ie, refuse, or interpret as casting)
10548 2005-06-23 Wim Taymans <wim@fluendo.com>
10550 * check/Makefile.am:
10551 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10552 * docs/design/part-live-source.txt:
10553 * docs/design/part-states.txt:
10554 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10555 (gst_basesrc_set_live), (gst_basesrc_is_live),
10556 (gst_basesrc_get_range), (gst_basesrc_activate),
10557 (gst_basesrc_change_state):
10558 * gst/base/gstbasesrc.h:
10559 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10560 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10561 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10562 * gst/gstelement.c: (gst_element_get_state_func),
10563 (gst_element_set_state):
10564 * gst/gstelement.h:
10566 * tools/gst-launch.c: (event_loop), (main):
10567 Added support for live sources and other elements that
10569 Updated design docs, added live-source design doc.
10570 Implemented live source functionality in basesrc
10571 Fix error condition in _bin_get_state()
10572 Implement live source handling in -launch.
10573 Added check for live sources.
10574 Fixed case in GstBin where elements were changed state
10578 2005-06-23 Andy Wingo <wingo@pobox.com>
10580 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10581 borken refcounting.
10583 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10584 gst_caps_replace takes care of this for us.
10586 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10587 gst_pad_set_caps on the target, not just its setcaps() function.
10589 * tests/network-clock.scm:
10590 * tests/network-clock-utils.scm: A network clock simulator.
10591 Something of an algorithmic testbed before doing something in C.
10593 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10595 * check/Makefile.am:
10596 * check/gst/capslist.h:
10597 copy over from 0.8, and add two with bitmasks specified with
10599 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10600 add test to parse everything from capslist.h
10601 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10603 add test for structure deserialization
10604 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10605 add tests for deserialization of strings to int types
10606 * gst/gststructure.c: (gst_structure_nth_field_name):
10607 * gst/gststructure.h:
10608 add a way to get the name of a field referenced by index
10609 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10610 instead of checking if the resulting long long lies between
10611 min and max, we check if the long long would fit into
10612 a number of bytes for the final type.
10613 This fixes cases where a string represents 2^32 - 1, which
10614 when cast to int would be the (valid) -1, but is bigger than
10617 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10619 * gst/parse/grammar.y:
10620 add a log line for type deserialization
10622 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10624 * check/gst/gstvalue.c: (START_TEST):
10625 * gst/gstvalue.c: (gst_value_deserialize):
10626 return long long, not int, so gint64 deserialization actually
10627 works. Is there any flag that makes the compiler check this ?
10630 2005-06-22 Wim Taymans <wim@fluendo.com>
10633 Added convenience macros for setting buffers in GValue.
10635 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10637 * check/gst/.cvsignore:
10638 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10639 add a test deserializing int64, and comment part out because
10642 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10644 * check/Makefile.am:
10645 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10646 * testsuite/Makefile.am:
10647 * testsuite/caps/Makefile.am:
10648 * testsuite/caps/value_serialize.c:
10649 * testsuite/test_gst_init.c:
10650 move a value_serialize test over
10652 2005-06-20 Wim Taymans <wim@fluendo.com>
10657 * gst/gstvalue.c: (gst_value_compare_buffer),
10658 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10659 (gst_value_compare_flags), (gst_value_serialize_flags),
10660 (gst_value_deserialize_flags), (_gst_value_initialize):
10661 Fix serialisation of buffers, they are not boxed types anymore
10663 2005-06-20 Wim Taymans <wim@fluendo.com>
10665 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10666 Testcase to show error in buffer-on-caps serialisation.
10668 2005-06-20 Andy Wingo <wingo@pobox.com>
10670 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10671 will be adding to later.
10673 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10674 if its socks fill with rocks.
10675 (gst_system_clock_obtain): Set the name on object construction.
10676 Avoid double-checked locking.
10678 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10680 * gst/gsturi.c: (gst_element_make_from_uri):
10681 Fix potential endless loop.
10683 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10685 * check/Makefile.am:
10687 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10689 move over from testsuite dir and clean up
10692 * testsuite/Makefile.am:
10693 * testsuite/tags/.cvsignore:
10694 * testsuite/tags/Makefile.am:
10695 * testsuite/tags/merge.c:
10696 remove testsuite/tags
10698 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10700 * docs/gst/gstreamer-sections.txt:
10701 * docs/gst/tmpl/gstenumtypes.sgml:
10702 * win32/gstenumtypes.c:
10703 clean up documentation build a little
10705 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10707 * check/gstcheck.h:
10708 add macros for checking refcounts on objects and caps
10709 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10710 add some more unit tests
10711 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10712 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10713 fix leaked refcounts (I hope :)) so unittest works
10717 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10719 * configure.ac: back to HEAD
10721 === release 0.9.1 ===
10723 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10729 2005-06-17 Andy Wingo <wingo@pobox.com>
10731 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10732 assert; it's always possible that the pad gets deactivated in
10733 between the checks in gstpad.c and the implementation. Rely on
10734 finish_preroll() to return a FLUSHING or similar instead of on the
10737 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10738 clock and post an EOS message if we come out of finish_preroll in
10741 2005-06-16 David Schleef <ds@schleef.org>
10743 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10744 (gst_capsfilter_set_property): Allow NULL as possible value
10745 for filter_caps property, indicating GST_CAPS_ANY.
10747 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10749 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10751 * gst/schedulers/Makefile.am:
10753 * gstreamer.spec.in:
10756 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10758 * gstreamer.spec.in:
10761 2005-06-08 Andy Wingo <wingo@pobox.com>
10763 * gst/gstutils.c: RPAD fixes all around.
10764 (gst_element_link_pads): Refcounting fixes.
10766 * tools/gst-inspect.c:
10767 * tools/gst-xmlinspect.c:
10769 * gst/base/gsttypefindhelper.c:
10770 * gst/base/gstbasesink.c:
10771 * gst/gstqueue.c: RPAD fixes.
10773 * gst/gstghostpad.h:
10774 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10775 pads. The tricky thing is they provide both source and sink
10776 interfaces, since they proxy the internal pad for the external
10777 pad, and vice versa. Implement with lower-level ProxyPad objects,
10778 with the interior proxy pad as a child of the exterior ghost pad.
10779 Should write a doc on this.
10781 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10782 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10785 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10786 pads are real pads. No ghost pads in this file. Not documenting
10787 the myriad s/RPAD/PAD/ and REALIZE fixes.
10788 (gst_pad_class_init): Add properties for "direction" and
10789 "template". Both are construct-only, so they can't change during
10790 the life of the pad. Fixes properly deriving from GstPad.
10791 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10792 derived objects, just set properties when creating the objects via
10794 (gst_pad_get_parent): Implement as a function, return NULL if the
10795 parent is not an element.
10796 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10797 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10799 * gst/gstobject.c (gst_object_class_init): Make name a construct
10800 property. Don't set it in the object init.
10802 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10803 with UNKNOWN direction.
10804 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10805 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10806 (gst_element_remove_pad): Remove ghost-pad special cases.
10807 (gst_element_pads_activate): Remove rpad cruft.
10809 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10810 catch the pad's-parent-not-an-element case.
10812 * gst/gst.h: Include gstghostpad.h.
10814 * gst/gst.c (init_post): No more real, ghost pads.
10816 * gst/Makefile.am: Add gstghostpad.[ch].
10818 * check/Makefile.am:
10819 * check/gst/gstbin.c:
10820 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10821 into a bin creates ghost pads, and that the refcounts are right.
10822 Partly moved from gstbin.c.
10824 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10826 * check/gst-libs/.cvsignore:
10827 * check/gst/.cvsignore:
10828 * check/pipelines/.cvsignore:
10830 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10831 (START_TEST), (cleanup_suite), (main):
10832 add some tests related to cleanup after running pipelines
10834 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10836 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10837 add a testsuite for GstBuffer
10839 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10841 * gst/gstminiobject.h:
10842 add defines for accessing the refcount
10844 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10846 * Makefile.am: added support for html unit test coverage reports
10848 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10850 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10851 Free existing caps if the capsfilter changes. Add a FIXME about
10852 setting those caps on the pads.
10854 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10855 Before adding a ghost pad to a parent bin, check that there isn't
10856 already one for the element on the bin. Prevents infinite recursion
10857 when using decodebin in parse pipelines. Andy says he'll rewrite the
10858 way this works anyway, so ignore the hack.
10860 2005-06-02 Andy Wingo <wingo@pobox.com>
10862 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10863 file size, pass it on to the type find helper.
10865 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10866 segment_start and segment_end properly according to the seek
10867 method. Segment_end is still a bit flaky because offset can be
10868 negative for CUR and END cases, but it takes -1 as an "unset"
10871 2005-06-02 Wim Taymans <wim@fluendo.com>
10873 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10874 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10875 (gst_basesink_activate):
10876 * gst/base/gstbasesink.h:
10877 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10878 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10879 (gst_pad_query), (gst_pad_start_task):
10881 * gst/gstqueue.c: (gst_queue_bufferalloc),
10882 (gst_queue_handle_sink_event), (gst_queue_chain):
10883 Bufferalloc: return GstFlowReturn to more accuratly report
10884 why allocation failed.
10886 2005-06-02 Wim Taymans <wim@fluendo.com>
10888 * gst/gstpipeline.c: (gst_pipeline_send_event):
10889 Take snapshot of state without blocking.
10891 2005-06-02 Wim Taymans <wim@fluendo.com>
10893 * docs/design/part-TODO.txt:
10894 * docs/design/part-caps.txt:
10895 * docs/design/part-clocks.txt:
10896 * docs/design/part-negotiation.txt:
10897 * docs/design/part-preroll.txt:
10900 2005-05-30 Wim Taymans <wim@fluendo.com>
10902 * gst/elements/gstidentity.c: (gst_identity_event),
10903 (gst_identity_transform), (gst_identity_get_property):
10904 Protect last_message property as it is accessed from
10907 2005-05-30 Wim Taymans <wim@fluendo.com>
10909 * gst/gstelement.c: (gst_element_init),
10910 (gst_element_pads_activate), (gst_element_change_state):
10911 Slicker pad activation code.
10913 2005-05-30 Wim Taymans <wim@fluendo.com>
10916 * gst/gstelement.h:
10917 * gst/gstelementfactory.h:
10919 Move elementfactory methods to separate .h file.
10921 2005-05-30 Wim Taymans <wim@fluendo.com>
10923 * docs/design/part-overview.txt:
10924 * gst/gstsystemclock.h:
10925 Small typo fixes, doc updates.
10927 2005-05-30 Wim Taymans <wim@fluendo.com>
10929 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10930 (init_popt_callback):
10931 Remove cpu-opt flag.
10933 2005-05-30 Wim Taymans <wim@fluendo.com>
10935 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10936 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10938 Avoid typechecking in places where not needed.
10939 Added accessor for malloc_data.
10941 2005-05-30 Wim Taymans <wim@fluendo.com>
10943 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10944 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10945 (gst_pad_configure_sink), (gst_pad_configure_src),
10946 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10947 (gst_pad_start_task):
10948 Propagate errors from _set_caps() in configure_src/sink
10949 functions instead of returning TRUE.
10950 FLUSH events can travel up and downstream
10953 2005-05-30 Wim Taymans <wim@fluendo.com>
10955 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10956 (gst_basesink_activate):
10957 Handle EOS in preroll.
10959 2005-05-30 Wim Taymans <wim@fluendo.com>
10961 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10962 (gst_queue_loop), (gst_queue_handle_src_event):
10963 Remove old pieces of code
10964 Flushing the queue in an upstream event is a very bad idea.
10966 2005-05-26 Andy Wingo <wingo@pobox.com>
10968 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10969 gst_value_set_mini_object so as to add a ref on the object (which
10970 will be removed when the value is unset).
10972 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10973 arg type in ::handoff.
10975 * gst/gstelement.c (gst_element_change_state): Also deactivate
10976 pads in READY->NULL, just in case the element didn't make it to
10977 PAUSED. Wingo tested, Wim approved.
10979 2005-05-26 Wim Taymans <wim@fluendo.com>
10981 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10982 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10983 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10984 A flushing pad cannot be used to alloc_buffer from.
10986 2005-05-26 Wim Taymans <wim@fluendo.com>
10988 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10989 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10990 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10991 (gst_bus_create_watch), (gst_bus_add_watch_full):
10993 Implement a real GSource and use g_main_context_wakeup() to
10994 signal new messages instead of the socketpair.
10996 2005-05-25 Wim Taymans <wim@fluendo.com>
10998 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10999 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11000 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11001 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11002 (gst_pad_send_event), (gst_pad_start_task):
11003 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11004 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11005 (gst_queue_sink_activate), (gst_queue_src_activate),
11006 (gst_queue_change_state):
11008 Fix state changes for non sinks. We now change sinks, then elements
11009 with unconnected srcpads, then the rest.
11010 More efficient queue unlocking in flush and state changes.
11011 Set the pad activate mode even if it does not have an activate
11014 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11016 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11017 Don't go in pull mode for non-seekable sources.
11018 * gst/elements/gsttypefindelement.h:
11019 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11020 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11021 (free_entry), (stop_typefinding),
11022 (gst_type_find_element_handle_event), (find_peek),
11023 (gst_type_find_element_chain), (do_pull_typefind),
11024 (gst_type_find_element_change_state):
11025 Allow typefinding (w/o seeking) in push-mode, simplified version
11026 of what was in 0.8.
11027 * gst/gstutils.c: (gst_buffer_join):
11029 gst_buffer_join() from 0.8.
11031 2005-05-25 Wim Taymans <wim@fluendo.com>
11033 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11034 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11035 (gst_pad_send_event), (gst_pad_start_task):
11036 Disable attempt at mode switching until it is figured out.
11038 2005-05-25 Wim Taymans <wim@fluendo.com>
11040 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11041 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11042 (gst_basesink_finish_preroll), (gst_basesink_chain),
11043 (gst_basesink_loop), (gst_basesink_activate),
11044 (gst_basesink_change_state):
11045 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11046 (gst_basesrc_get_range), (gst_basesrc_loop),
11047 (gst_basesrc_activate):
11048 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11049 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11050 (gst_real_pad_init), (gst_real_pad_set_property),
11051 (gst_real_pad_get_property), (gst_pad_set_active),
11052 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11053 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11054 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11055 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11056 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11057 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11058 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11059 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11060 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11061 (gst_pad_stop_task):
11063 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11064 (gst_queue_loop), (gst_queue_src_activate):
11065 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11066 (gst_task_get_state):
11068 * gst/schedulers/threadscheduler.c:
11069 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11070 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11072 Remove ACTIVE pad flag, use FLUSHING everywhere
11073 Added _pad_chain(), _pad_get_range() to call chain/getrange
11075 Add locks around IS_FLUSHING when reading.
11076 Take STREAM lock in chain(), get_range() functions so plugins
11077 don't need to take it anymore.
11081 2005-05-25 Wim Taymans <wim@fluendo.com>
11083 * tools/gst-launch.c: (event_loop):
11084 Unref message after using its contents instead of
11087 2005-05-24 Wim Taymans <wim@fluendo.com>
11089 * docs/design/draft-ghostpads.txt:
11090 * docs/design/draft-push-pull.txt:
11091 * docs/design/draft-query.txt:
11092 * docs/design/part-overview.txt:
11093 Docs updates, added general overview doc.
11095 2005-05-21 David Schleef <ds@schleef.org>
11097 * docs/gst/tmpl/old/GstBin.sgml:
11098 * docs/gst/tmpl/old/GstBuffer.sgml:
11099 * docs/gst/tmpl/old/GstCaps.sgml:
11100 * docs/gst/tmpl/old/GstClock.sgml:
11101 * docs/gst/tmpl/old/GstCompat.sgml:
11102 * docs/gst/tmpl/old/GstData.sgml:
11103 * docs/gst/tmpl/old/GstElement.sgml:
11104 * docs/gst/tmpl/old/GstEvent.sgml:
11105 * docs/gst/tmpl/old/GstIndex.sgml:
11106 * docs/gst/tmpl/old/GstStructure.sgml:
11107 * docs/gst/tmpl/old/GstTag.sgml:
11108 * docs/gst/tmpl/old/cothreads.sgml:
11109 * docs/gst/tmpl/old/cothreads_compat.sgml:
11110 * docs/gst/tmpl/old/gettext.sgml:
11111 * docs/gst/tmpl/old/gobject2gtk.sgml:
11112 * docs/gst/tmpl/old/grammar.tab.sgml:
11113 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11114 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11115 * docs/gst/tmpl/old/gst_private.sgml:
11116 * docs/gst/tmpl/old/gstaggregator.sgml:
11117 * docs/gst/tmpl/old/gstarch.sgml:
11118 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11119 * docs/gst/tmpl/old/gstbufferstore.sgml:
11120 * docs/gst/tmpl/old/gstdata_private.sgml:
11121 * docs/gst/tmpl/old/gstdisksink.sgml:
11122 * docs/gst/tmpl/old/gstdisksrc.sgml:
11123 * docs/gst/tmpl/old/gstelementfactory.sgml:
11124 * docs/gst/tmpl/old/gstextratypes.sgml:
11125 * docs/gst/tmpl/old/gstfakesink.sgml:
11126 * docs/gst/tmpl/old/gstfakesrc.sgml:
11127 * docs/gst/tmpl/old/gstfdsink.sgml:
11128 * docs/gst/tmpl/old/gstfdsrc.sgml:
11129 * docs/gst/tmpl/old/gstfilesink.sgml:
11130 * docs/gst/tmpl/old/gstfilesrc.sgml:
11131 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11132 * docs/gst/tmpl/old/gstidentity.sgml:
11133 * docs/gst/tmpl/old/gstindexfactory.sgml:
11134 * docs/gst/tmpl/old/gstmarshal.sgml:
11135 * docs/gst/tmpl/old/gstmd5sink.sgml:
11136 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11137 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11138 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11139 * docs/gst/tmpl/old/gstpipefilter.sgml:
11140 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11141 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11142 * docs/gst/tmpl/old/gstshaper.sgml:
11143 * docs/gst/tmpl/old/gstspider.sgml:
11144 * docs/gst/tmpl/old/gstspideridentity.sgml:
11145 * docs/gst/tmpl/old/gststatistics.sgml:
11146 * docs/gst/tmpl/old/gsttee.sgml:
11147 * docs/gst/tmpl/old/gsttimecache.sgml:
11148 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11149 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11150 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11151 * docs/gst/tmpl/old/types.sgml:
11152 I didn't intend to add these or check them in.
11154 2005-05-19 David Schleef <ds@schleef.org>
11156 * configure.ac: Use -no-common everywhere. In a sane world, it
11157 would be the default in libtool, because without it, you can't
11158 build DLLs on Windows.
11159 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11160 * docs/gst/gstreamer-sections.txt:
11161 * docs/gst/tmpl/gstcpu.sgml:
11162 * docs/gst/tmpl/gstdata.sgml:
11163 * docs/gst/tmpl/gstthread.sgml:
11165 2005-05-19 David Schleef <ds@schleef.org>
11167 * gst/gstminiobject.c: (gst_value_set_mini_object),
11168 (gst_value_take_mini_object), (gst_value_get_mini_object):
11169 * gst/gstminiobject.h: Add GValue set/get functions.
11171 2005-05-19 Wim Taymans <wim@fluendo.com>
11173 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11174 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11175 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11177 * gst/gstbus.c: (gst_bus_post):
11178 * gst/gstelement.c: (gst_element_get_random_pad):
11179 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11180 Make subbufer unref the parent in finalize.
11181 some more debugging info.
11184 2005-05-19 Wim Taymans <wim@fluendo.com>
11186 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11187 (gst_basesink_init), (gst_basesink_finalize),
11188 (gst_basesink_activate), (gst_basesink_change_state):
11189 Don't free preroll queue too early.
11191 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11195 Hi, I'm outdated. Please shoot me.
11197 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11199 * gst/gstpipeline.c: (gst_pipeline_send_event):
11200 Do not access variables after they have been deleted.
11202 2005-05-19 Wim Taymans <wim@fluendo.com>
11204 * tools/gst-inspect.c: (print_plugin_features):
11205 A plugin feature does unfortunatly not use the
11208 2005-05-18 Wim Taymans <wim@fluendo.com>
11210 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11211 Port _span() functions to new subbuffers.
11213 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11215 * gst/gstbin.c: (gst_bin_add_func):
11216 Fix clock settery in bins when adding kids after the clock has
11219 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11221 * gst/elements/gstidentity.c: (gst_identity_class_init):
11222 Workaround until signals support GstMiniObject.
11224 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11227 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11229 2005-05-18 Wim Taymans <wim@fluendo.com>
11231 * gst/base/Makefile.am:
11232 * gst/base/gstadapter.c: (gst_adapter_base_init),
11233 (gst_adapter_class_init), (gst_adapter_init),
11234 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11235 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11236 (gst_adapter_flush), (gst_adapter_available),
11237 (gst_adapter_available_fast):
11238 * gst/base/gstadapter.h:
11239 Ported and added adapter to the base classes.
11241 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11244 * gst/gstmessage.c:
11245 Make sure the class is reffed/unreffed once before threads can be
11246 used. Fixes #304551.
11248 2005-05-17 Wim Taymans <wim@fluendo.com>
11250 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11251 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11252 * gst/gstminiobject.c: (gst_mini_object_get_type),
11253 (gst_mini_object_free):
11254 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11255 (gst_pad_push), (gst_pad_push_event):
11256 * gst/gstqueue.c: (gst_queue_change_state):
11257 Don't queue buffers in basesink when we are flushing.
11258 Unref buffer when flushing in basesink.
11259 Flush queue when going to READY
11260 Unref buffer when _push() returns an error.
11261 Don't free MiniObject instance when refcount is incremented
11262 in _finalize() so that we can recover objects.
11264 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11266 * docs/manual/advanced-schedulers.xml:
11267 * docs/manual/appendix-checklist.xml:
11268 * docs/pwg/advanced-clock.xml:
11269 * docs/pwg/advanced-interfaces.xml:
11270 * docs/pwg/advanced-request.xml:
11271 * docs/pwg/advanced-types.xml:
11272 * docs/pwg/intro-preface.xml:
11273 * examples/plugins/example.c: (gst_example_get_type),
11274 (gst_example_class_init), (gst_example_chain),
11275 (gst_example_set_property), (gst_example_get_property),
11276 (gst_example_change_state), (plugin_init):
11277 * examples/plugins/example.h:
11280 2005-05-17 Wim Taymans <wim@fluendo.com>
11282 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11283 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11284 * gst/gstqueue.c: (gst_queue_change_state):
11285 Clear queue when going to READY.
11286 Remove IN_SETCAPS flag too.
11288 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11290 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11291 Remove implicit cast from gboolean to GstElementStateReturn;
11292 make sure we still return failure in paused => ready case if
11293 the parent class fails to change state and our own stop
11296 2005-05-17 Wim Taymans <wim@fluendo.com>
11298 * tools/gst-launch.c: (event_loop):
11299 Message was unreffed too soon.
11301 2005-05-16 Andy Wingo <wingo@pobox.com>
11303 * gst/gstbin.c (sink_iterator_filter): Err... um...
11305 * check/gst/gstbin.c (test_ghost_pads): New test for the
11306 ghosting-if-elements-not-in-same-bin behavior.
11308 2005-05-16 David Schleef <ds@schleef.org>
11310 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11311 accessing refcount directly.
11313 2005-05-15 David Schleef <ds@schleef.org>
11315 * check/Makefile.am: remove GstData checks
11316 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11317 * gst/Makefile.am: add miniobject, remove data
11318 * gst/gst.h: add miniobject, remove data
11319 * gst/gstdata.c: remove
11320 * gst/gstdata.h: remove
11321 * gst/gstdata_private.h: remove
11322 * gst/gsttypes.h: remove GstEvent and GstMessage
11323 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11324 * gst/gstmarshal.list: change BOXED -> OBJECT
11326 Implement GstMiniObject.
11327 * gst/gstminiobject.c:
11328 * gst/gstminiobject.h:
11330 Modify to be subclasses of GstMiniObject.
11331 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11332 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11333 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11334 (gst_subbuffer_get_type), (gst_subbuffer_init),
11335 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11338 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11339 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11340 (_gst_event_copy), (gst_event_new):
11342 * gst/gstmessage.c: (_gst_message_initialize),
11343 (gst_message_get_type), (gst_message_class_init),
11344 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11345 (gst_message_new), (gst_message_new_error),
11346 (gst_message_new_warning), (gst_message_new_tag),
11347 (gst_message_new_state_changed), (gst_message_new_application):
11348 * gst/gstmessage.h:
11349 * gst/gstprobe.c: (gst_probe_perform),
11350 (gst_probe_dispatcher_dispatch):
11352 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11353 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11354 (_gst_query_copy), (gst_query_new):
11356 Update elements for GstData -> GstMiniObject changes
11358 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11359 (gst_queue_chain), (gst_queue_loop):
11360 * gst/elements/gstbufferstore.c:
11361 (gst_buffer_store_add_buffer_func),
11362 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11363 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11364 (gst_fakesink_render):
11365 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11366 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11367 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11368 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11369 (gst_filesrc_create_read):
11370 * gst/elements/gstidentity.c: (gst_identity_class_init):
11371 * gst/elements/gsttypefindelement.c:
11372 (gst_type_find_element_src_event), (free_entry_buffers),
11373 (gst_type_find_element_handle_event):
11374 * libs/gst/dataprotocol/dataprotocol.c:
11375 (gst_dp_header_from_buffer):
11376 * libs/gst/dataprotocol/dataprotocol.h:
11377 * libs/gst/dataprotocol/dp-private.h:
11379 2005-05-15 David Schleef <ds@schleef.org>
11381 * gst/elements/gstelements.c: Don't include headers that were
11384 2005-05-15 David Schleef <ds@schleef.org>
11386 * gst/elements/Makefile.am: Remove some elements that don't
11387 need to be in the core (or even exist at all).
11388 * gst/elements/gstaggregator.c:
11389 * gst/elements/gstaggregator.h:
11390 * gst/elements/gstmd5sink.c:
11391 * gst/elements/gstmd5sink.h:
11392 * gst/elements/gstmultifilesrc.c:
11393 * gst/elements/gstmultifilesrc.h:
11394 * gst/elements/gstpipefilter.c:
11395 * gst/elements/gstpipefilter.h:
11396 * gst/elements/gstshaper.c:
11397 * gst/elements/gstshaper.h:
11398 * gst/elements/gststatistics.c:
11399 * gst/elements/gststatistics.h:
11400 * po/POTFILES.in: Remove above files.
11402 2005-05-14 Andy Wingo <wingo@pobox.com>
11404 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11405 so as to get the refs right.
11406 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11407 unreffing objects that don't pass the filter.
11409 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11410 gst_element_set_bus.
11411 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11412 normal cases, this will destroy the bus.
11414 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11417 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11420 2005-05-13 Andy Wingo <wingo@pobox.com>
11422 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11423 gst_pad_link, call pad_link_maybe_ghosting,
11424 (pad_link_maybe_ghosting): Links pads, making sure that the
11425 elements being linked are in the same bin.
11426 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11427 Helpers for pad_link_maybe_ghosting.
11429 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11432 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11434 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11436 * docs/design/part-element-source.txt:
11439 2005-05-12 Wim Taymans <wim@fluendo.com>
11441 * gst/base/gstbasesink.c: (gst_basesink_init),
11442 (gst_basesink_activate):
11443 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11444 (gst_basesrc_is_seekable):
11445 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11446 (bin_element_is_sink), (gst_bin_change_state):
11447 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11448 * gst/gstelement.h:
11449 Identify sinks by their flag to avoid overly complicated
11451 Do state changes even for elements not reachable from the
11453 BaseSink is a sink now :)
11454 Some more debugging info in the basesrc.
11457 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11459 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11460 Implement _query on a bin, similar to _send_event.
11462 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11464 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11465 Discont event offset format should be GST_FORMAT_BYTES,
11466 not GST_FORMAT_TIME.
11468 2005-05-12 Wim Taymans <wim@fluendo.com>
11470 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11471 Same fix as Ronald's but without the signal.
11473 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11475 * gst/gstutils.c: (gst_element_query_position):
11476 No, an element is not a pad.
11478 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11480 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11481 (gst_bin_get_state):
11482 If a child is removed from a bin while we remove the child from
11483 the bin and while we're retrieving its state, signal this to the
11484 get_state function so we abort the wait (instead of waiting for
11485 a timeout) and can immediately re-iterate over all other elements.
11487 2005-05-12 Wim Taymans <wim@fluendo.com>
11489 * gst/base/Makefile.am:
11490 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11491 (gst_basesrc_start):
11492 * gst/base/gstbasesrc.h:
11493 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11494 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11495 (gst_pushsrc_init), (gst_pushsrc_create):
11496 * gst/base/gstpushsrc.h:
11497 Added is_seekable to BaseSrc
11498 Added simple PushSrc.
11500 2005-05-11 Wim Taymans <wim@fluendo.com>
11502 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11503 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11504 (gst_element_link_pads), (gst_element_query_position),
11505 (gst_element_query_convert), (intersect_caps_func),
11506 (gst_pad_query_position), (gst_pad_query_convert):
11507 Fix refcounting in utils function.
11508 No point in trying to activate a pad when it's added, it could
11509 be added from the state change function and then we deadlock, the
11510 element has to decide what to do.
11512 2005-05-10 Andy Wingo <wingo@pobox.com>
11514 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11515 *all* the arguments.
11517 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11518 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11519 lock (according to the docs -- if this is wrong change the docs).
11521 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11522 flush messages in the NULL state.
11524 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11525 message immediately and return.
11526 (gst_bus_set_flushing): New function. If a bus is flushing, it
11527 flushes out any queued messages and immediately unrefs new
11528 messages. This is so when an element goes to NULL, all of the
11529 unhandled messages coming from it can be freed, and their
11530 references to the element dropped. In other words: message source
11531 ref considered harmful :P
11533 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11534 we're finished with it.
11536 * gst/gstmessage.c (gst_message_new_state_changed):
11538 2005-05-10 Wim Taymans <wim@fluendo.com>
11540 * gst/gstvalue.c: (gst_value_compare_flags),
11541 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11542 (_gst_value_initialize):
11543 Added flags serialize/deserialize/compare code.
11545 2005-05-09 Andy Wingo <wingo@pobox.com>
11547 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11548 Intersect the peer's caps with our caps.
11550 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11552 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11553 * gst/elements/gsttypefindelement.c: (find_peek):
11554 Handle negative offsets better. Fixes decodebin.
11556 2005-05-09 Wim Taymans <wim@fluendo.com>
11558 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11559 (gst_base_transform_event):
11560 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11561 Implement accept_caps.
11562 Fix silly lock/unlock mismatch in base class.
11564 2005-05-09 Wim Taymans <wim@fluendo.com>
11566 * docs/design/draft-push-pull.txt:
11567 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11568 * gst/elements/gstfilesink.c: (gst_filesink_init),
11569 (gst_filesink_query):
11570 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11571 (gst_type_find_handle_src_query), (find_element_get_length):
11572 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11573 * gst/gstelement.h:
11574 * gst/gstmessage.c:
11575 * gst/gstmessage.h:
11576 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11577 (gst_real_pad_get_caps_unlocked),
11578 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11579 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11580 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11581 (gst_real_pad_dispose), (gst_real_pad_finalize),
11582 (gst_pad_load_and_link), (gst_pad_save_thyself),
11583 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11584 (gst_pad_check_pull_range), (gst_pad_pull_range),
11585 (gst_pad_template_get_type), (gst_pad_template_class_init),
11586 (gst_pad_template_init), (gst_pad_template_dispose),
11587 (name_is_valid), (gst_static_pad_template_get),
11588 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11589 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11590 (gst_pad_get_element_private), (gst_pad_start_task),
11591 (gst_pad_pause_task), (gst_pad_stop_task),
11592 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11593 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11594 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11595 (gst_ghost_pad_new):
11597 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11598 (gst_query_new_position), (gst_query_set_position),
11599 (gst_query_parse_position), (gst_query_new_convert),
11600 (gst_query_set_convert), (gst_query_parse_convert):
11602 * gst/gstqueryutils.c:
11603 * gst/gstqueryutils.h:
11604 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11605 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11606 (gst_queue_handle_src_query):
11607 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11608 (gst_element_query_position), (gst_element_query_convert),
11609 (intersect_caps_func), (gst_pad_query_position),
11610 (gst_pad_query_convert):
11612 * tools/gst-inspect.c: (print_pad_info):
11613 * tools/gst-xmlinspect.c: (print_element_info):
11614 Remove old query functions. Ported old code.
11615 Added position/convert helper functions to gstutils.
11616 Reordered gstpad.c code, grouping relevant things.
11617 Remove gst_message_new(), always need to speficy a specific
11621 2005-05-09 Andy Wingo <wingo@pobox.com>
11623 * gst/gstiterator.h: Add some includes.
11625 * gst/gstqueryutils.h: Include more headers.
11628 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11629 some uses of gst_pad_query.
11631 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11632 NULL out parameters.
11633 (gst_query_new_position): New proc, allocates a new position
11636 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11637 gstqueryutils.c to the build.
11639 * gst/gststructure.c (gst_structure_set_valist): Implement with
11640 the generic G_VALUE_COLLECT.
11642 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11644 * gst/Makefile.am: (gst_headers):
11645 Added gstqueryutils.h to the list of headers to install, that was
11646 a 'nachty' move wingo :)
11648 2005-05-06 Andy Wingo <wingo@pobox.com>
11651 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11652 GstData, init a memchunk.
11653 (standard_definitions): Add a few query types, deprecate a few.
11654 (gst_query_get_type): New proc.
11655 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11657 (gst_query_new_application, gst_query_get_structure): New public
11660 * docs/design/draft-query.txt: Removed LINKS from the query types,
11661 because all the rest can be dispatched to other pads -- seemed
11662 ugly to have a query that couldn't be dispatched. internal_links
11663 is fine as a pad method.
11665 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11666 in gstpad.c, but maintain binary compatibility for the moment.
11667 Will fix before 0.9 is out.
11669 * gst/gstqueryutils.c:
11670 * gst/gstqueryutils.h: New files, implement 3 methods for each
11671 query type: parse_query, parse_response, and set. Probably need an
11674 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11676 * gst/elements/gstfilesink.c (gst_filesink_query2):
11677 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11678 query_types, and formats methods.
11680 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11681 (gst_pad_set_query2_function): New functions.
11682 (gst_real_pad_init): Set query2_default as the default query2
11683 function. Basically just dispatches to internally linked pads.
11687 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11688 without using the atomic operations. Only one thread can possibly
11689 be accessing the data at this point. Changed so as to avoid
11690 gst_atomic operations.
11692 2005-05-06 Wim Taymans <wim@fluendo.com>
11694 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11695 Also set caps if we use the fallback buffer alloc.
11697 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11699 * docs/gst/Makefile.am:
11700 * docs/gst/gstreamer-docs.sgml:
11701 * docs/gst/gstreamer-sections.txt:
11702 * docs/gst/tmpl/gstatomic.sgml:
11703 * docs/gst/tmpl/gstmemchunk.sgml:
11704 * testsuite/elements/struct_i386.h:
11705 * win32/GStreamer.vcproj:
11707 Purge GstAtomic stuff from docs and win32 makefiles as well
11709 2005-05-06 Wim Taymans <wim@fluendo.com>
11711 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11712 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11713 * gst/gstpad.c: (gst_pad_peer_get_caps):
11714 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11715 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11716 (gst_queue_src_activate), (gst_queue_change_state):
11718 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11719 (intersect_caps_func):
11720 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11721 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11722 Some fixes for the peer_get_caps() change.
11724 2005-05-06 Wim Taymans <wim@fluendo.com>
11726 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11727 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11728 (gst_basesink_activate):
11729 Actually do something with error codes returned from the push
11732 2005-05-06 Wim Taymans <wim@fluendo.com>
11734 * docs/design/part-element-sink.txt:
11735 * docs/design/part-element-source.txt:
11736 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11737 (gst_basesink_event), (gst_basesink_activate):
11738 * gst/base/gstbasesink.h:
11739 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11740 (gst_basesrc_activate):
11741 * gst/base/gstbasesrc.h:
11742 * gst/gstelement.c: (gst_element_pads_activate):
11743 Some more documentation.
11744 Fixed scheduling decision in _pads_activate().
11746 2005-05-05 Andy Wingo <wingo@pobox.com>
11748 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11751 2005-05-05 Wim Taymans <wim@fluendo.com>
11753 * gst/base/Makefile.am:
11754 * gst/base/gstbasesink.h:
11755 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11756 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11757 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11758 (gst_collectpads_class_init), (gst_collectpads_init),
11759 (gst_collectpads_finalize), (gst_collectpads_new),
11760 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11761 (find_pad), (gst_collectpads_remove_pad),
11762 (gst_collectpads_is_active), (gst_collectpads_collect),
11763 (gst_collectpads_collect_range), (gst_collectpads_start),
11764 (gst_collectpads_stop), (gst_collectpads_peek),
11765 (gst_collectpads_pop), (gst_collectpads_available),
11766 (gst_collectpads_read), (gst_collectpads_flush),
11767 (gst_collectpads_chain):
11768 * gst/base/gstcollectpads.h:
11769 * gst/elements/Makefile.am:
11770 * gst/elements/gstelements.c:
11771 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11772 (gst_fakesink_get_times), (gst_fakesink_event),
11773 (gst_fakesink_preroll), (gst_fakesink_render):
11774 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11775 (gst_filesink_init), (gst_filesink_set_location),
11776 (gst_filesink_open_file), (gst_filesink_close_file),
11777 (gst_filesink_pad_query), (gst_filesink_event),
11778 (gst_filesink_render), (gst_filesink_change_state):
11779 * gst/elements/gstfilesink.h:
11780 Added object to help in making collect pad based elements.
11782 Make event function in sink baseclass return gboolean.
11784 2005-05-05 Wim Taymans <wim@fluendo.com>
11786 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11787 (gst_bin_get_by_name):
11789 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11790 (gst_clock_finalize):
11791 * gst/gstdata.c: (gst_data_replace):
11793 * gst/gstelement.c: (gst_element_request_pad),
11794 (gst_element_pads_activate):
11795 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11796 (gst_object_unref):
11797 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11798 (gst_pad_set_checkgetrange_function),
11799 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11800 (gst_pad_check_pull_range), (gst_pad_pull_range),
11801 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11802 (gst_pad_pause_task), (gst_pad_stop_task):
11803 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11804 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11805 Fix name lookup in GstBin.
11806 Added _data_replace() function and _buffer_replace()
11807 Use finalize method to clean up clock.
11808 Fix refcounting on request pads.
11809 Fix pad schedule mode error.
11810 Some more object refcounting debug info,
11813 2005-05-04 Andy Wingo <wingo@pobox.com>
11815 * check/Makefile.am:
11816 * docs/gst/tmpl/gstatomic.sgml:
11817 * docs/gst/tmpl/gstplugin.sgml:
11818 * gst/base/gstbasesink.c: (gst_basesink_activate):
11819 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11820 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11821 (gst_basesrc_query), (gst_basesrc_set_property),
11822 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11823 (gst_basesrc_activate):
11824 * gst/base/gstbasesrc.h:
11825 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11826 (gst_base_transform_src_activate):
11827 * gst/elements/gstelements.c:
11828 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11829 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11830 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11831 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11832 (gst_type_find_element_checkgetrange),
11833 (gst_type_find_element_activate):
11834 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11835 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11836 (gst_caps_load_thyself):
11837 * gst/gstelement.c: (gst_element_pads_activate),
11838 (gst_element_save_thyself), (gst_element_restore_thyself):
11839 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11840 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11842 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11843 (gst_xml_parse_file), (gst_xml_parse_memory),
11844 (gst_xml_get_element), (gst_xml_make_element):
11845 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11846 (_file_index_id_save_xml), (gst_file_index_commit):
11847 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11848 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11850 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11851 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11852 * tools/gst-complete.c: (main):
11853 * tools/gst-compprep.c: (main):
11854 * tools/gst-inspect.c: (print_element_properties_info):
11855 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11856 * tools/gst-xmlinspect.c: (print_element_properties):
11859 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11861 * gst/gstplugin.c: (gst_plugin_check_module),
11862 (gst_plugin_check_file), (gst_plugin_load_file):
11863 apply patch from #172526 to make register work on MacOSX
11865 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11867 * docs/gst/tmpl/gstconfig.sgml:
11868 * gst/gstconfig.h.in:
11869 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11870 * testsuite/debug/printf_extension.c: (main):
11871 Do not use GST_PTR_FORMAT on pointers to types with
11872 sizeof < sizeof(gpointer). Fixes test on 64-bit
11873 * testsuite/elements/property.h:
11874 use correct printf format
11876 2005-05-02 Wim Taymans <wim@fluendo.com>
11878 * docs/design/draft-push-pull.txt:
11879 * docs/design/draft-query.txt:
11880 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11881 (gst_basesrc_start):
11882 Added draft for new query API.
11883 Added draft for better selecting scheduling methods.
11884 Make basesrc ignore length if the subclass does not support
11887 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11890 possible fixes for automake-1.5 - _LIBADD is reserved
11892 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11894 * docs/faq/Makefile.am:
11895 * docs/manual/Makefile.am:
11896 * docs/manuals.mak:
11897 * docs/pwg/Makefile.am:
11899 possible fixes for automake-1.5
11901 2005-04-28 Wim Taymans <wim@fluendo.com>
11903 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11904 (gst_basesink_pad_getcaps), (gst_basesink_init),
11905 (gst_basesink_do_sync):
11906 * gst/gstclock.c: (gst_clock_entry_new):
11907 * gst/gstevent.c: (gst_event_discont_get_value):
11908 * gst/gstpipeline.c: (pipeline_bus_handler),
11909 (gst_pipeline_change_state):
11910 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11911 Better debugging of clocking info.
11912 Allow NULL values when getting discont values.
11914 2005-04-27 Wim Taymans <wim@fluendo.com>
11916 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11917 * check/gst/gstpad.c: (gst_pad_suite):
11918 Increase timeout for checks.
11920 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11922 * check/Makefile.am:
11923 fix the broken rule for cleanup. Apparently this rule is
11924 only needed on FC2, so maybe this warrants further autotool
11927 2005-04-26 Wim Taymans <wim@fluendo.com>
11929 * gst/gsttrashstack.h:
11930 Ooohh. a nasty one! After having a failed pop() from the stack,
11931 it's possible that the stack is empty. In that case, don't
11932 follow the NULL pointer.
11934 2005-04-25 Wim Taymans <wim@fluendo.com>
11936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11937 (gst_pad_set_checkgetrange_function),
11938 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11939 (gst_pad_check_pull_range), (gst_pad_pull_range),
11940 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11941 (gst_pad_pause_task), (gst_pad_stop_task):
11942 * gst/gstplugin.c: (gst_plugin_load):
11944 Remove gst_library_load as it does more harm than good with
11945 the new g_module flags.
11946 Revert bogus caps template check in pad linking, pad caps
11947 are important when linking not the template, which is more
11948 general than the current caps.
11950 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11952 * gst/autoplug/.cvsignore:
11953 * gst/autoplug/Makefile.am:
11954 * gst/autoplug/gstsearchfuncs.c:
11955 * gst/autoplug/gstsearchfuncs.h:
11956 * gst/autoplug/gstspider.c:
11957 * gst/autoplug/gstspider.h:
11958 * gst/autoplug/gstspideridentity.c:
11959 * gst/autoplug/gstspideridentity.h:
11960 * gst/autoplug/spidertest.c:
11963 2005-04-25 Wim Taymans <wim@fluendo.com>
11965 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11966 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11967 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11968 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11970 Added stubs for unimplemented functions.
11972 2005-04-24 David Schleef <ds@schleef.org>
11974 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11977 2005-04-24 David Schleef <ds@schleef.org>
11979 Convert everything from GstAtomicInt to g_atomic_int_*, and
11984 * gst/gstatomic_impl.h:
11992 * gst/gstdata_private.h:
11996 * gst/gstmessage.c:
11999 * gst/gststructure.c:
12000 * gst/gststructure.h:
12001 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12004 2005-04-24 David Schleef <ds@schleef.org>
12006 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12007 make the regressions tests work. Remove some code that is no
12009 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12010 Disable warning for pads without templates.
12012 2005-04-24 David Schleef <ds@schleef.org>
12014 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12015 functions that handle filtered links.
12016 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12018 * gst/gstutils.c: Fix/remove utility functions that handle
12021 * gst/gstvalue.c: Add serialization/deserialization of caps
12022 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12023 requires fixing so that the filter caps notation creates
12024 a capsfilter element and sets the filter_caps property. I
12025 think everyone probably wants to keep the shorthand notation.
12026 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12027 * docs/gst/tmpl/gstpad.sgml:
12029 * gst/elements/gstelements.c: Register capsfilter element.
12030 * gst/Makefile.am: fix spacing
12031 * docs/random/ds/0.9-suggested-changes: random
12033 2005-04-23 David Schleef <ds@schleef.org>
12035 * gst/elements/Makefile.am:
12036 * gst/elements/gstcapsfilter.c: New element that acts like an
12037 identity, but filters caps. Will eventually replace filtered
12038 caps in pad linking.
12039 * gst/gstutils.c: (gst_element_create_all_pads): New function
12040 to create all the ALWAYS pads that are registered with an
12041 element class. This functionality should eventually be
12042 merged in with GstElement initialization.
12044 * testsuite/trigger/README: part of trigger test code that should
12045 have been checked in a long time ago.
12047 2005-04-23 David Schleef <ds@schleef.org>
12049 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12050 needed with new versions of libtool (nobody will confirm this),
12051 and hard to carry around.
12052 * gst/autoplug/Makefile.am:
12053 * gst/base/Makefile.am:
12054 * gst/elements/Makefile.am:
12055 * gst/indexers/Makefile.am:
12056 * gst/schedulers/Makefile.am:
12057 * libs/gst/bytestream/Makefile.am:
12058 * libs/gst/control/Makefile.am:
12059 * libs/gst/dataprotocol/Makefile.am:
12060 * libs/gst/getbits/Makefile.am:
12062 2005-04-21 Wim Taymans <wim@fluendo.com>
12064 * docs/design/draft-push-pull.txt:
12065 * docs/design/part-MT-refcounting.txt:
12066 * docs/design/part-TODO.txt:
12067 * docs/design/part-caps.txt:
12068 * docs/design/part-events.txt:
12069 * docs/design/part-gstbus.txt:
12070 * docs/design/part-gstpipeline.txt:
12071 * docs/design/part-messages.txt:
12072 * docs/design/part-push-pull.txt:
12073 * docs/design/part-query.txt:
12076 2005-04-21 Wim Taymans <wim@fluendo.com>
12078 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12079 (gst_message_new), (gst_message_new_error),
12080 (gst_message_new_warning), (gst_message_new_tag),
12081 (gst_message_new_state_changed), (gst_message_new_application),
12082 (gst_message_get_structure):
12083 * gst/gstmessage.h:
12084 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12085 (gst_structure_copy_conditional):
12086 Use parent refcount in GstMessage to ensure GstStructure
12088 Cleaned up headers a bit.
12091 2005-04-20 Wim Taymans <wim@fluendo.com>
12093 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12094 (gst_basesink_pad_getcaps), (gst_basesink_init),
12095 (gst_basesink_chain_unlocked):
12096 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12097 (gst_type_find_helper):
12098 * gst/elements/gsttypefindelement.c:
12099 (gst_type_find_element_have_type), (gst_type_find_element_init),
12100 (stop_typefinding), (gst_type_find_element_handle_event),
12101 (find_suggest), (gst_type_find_element_chain),
12102 (gst_type_find_element_checkgetrange),
12103 (gst_type_find_element_getrange), (do_typefind),
12104 (gst_type_find_element_activate):
12105 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12106 (gst_buffer_default_free), (gst_buffer_default_copy),
12107 (gst_buffer_set_caps):
12108 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12109 (gst_caps_replace):
12110 * gst/gstmessage.c: (gst_message_new),
12111 (gst_message_new_state_changed):
12112 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12113 (gst_pad_set_checkgetrange_function),
12114 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12115 (gst_pad_set_caps), (gst_pad_check_pull_range),
12116 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12118 * gst/gsttypefind.c: (gst_type_find_register):
12119 Make gst_caps_replace() work like other _replace() functions.
12120 Use _caps_replace() where possible.
12121 Make sure _message_new() initialises its field.
12122 Add gst_static_pad_template_get_caps()
12125 2005-04-18 Andy Wingo <wingo@pobox.com>
12127 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12128 on the peer, not the pad. I think that was a typo. Pass an extra
12129 arg to see if random access is possible. Activate the pads as
12130 PULL_RANGE if possible.
12132 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12134 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12135 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12138 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12140 * docs/faq/using.xml:
12141 Add note on gstreamer-properties (#154996).
12143 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12145 * docs/random/bbb/optional-properties:
12146 Some analysis on optional properties.
12148 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12150 * docs/gst/tmpl/gstelementfactory.sgml:
12151 * gst/gstelement.h:
12152 * gst/gstelementfactory.c: (gst_element_factory_init),
12153 (gst_element_factory_cleanup), (gst_element_register),
12154 (__gst_element_factory_add_static_pad_template),
12155 (gst_element_factory_get_static_pad_templates),
12156 (gst_element_factory_can_src_caps),
12157 (gst_element_factory_can_sink_caps):
12158 * gst/registries/Makefile.am:
12159 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12160 (gst_xml_registry_class_init), (gst_xml_registry_init),
12161 (gst_xml_registry_new), (gst_xml_registry_set_property),
12162 (gst_xml_registry_get_property), (get_time), (make_dir),
12163 (gst_xml_registry_get_perms_func),
12164 (plugin_times_older_than_recurse), (plugin_times_older_than),
12165 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12166 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12167 (add_to_char_array), (read_string), (read_uint), (read_enum),
12168 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12169 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12170 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12171 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12172 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12173 (gst_xml_registry_rebuild):
12174 * gst/registries/gstlibxmlregistry.h:
12175 * tools/gst-compprep.c: (main):
12176 * tools/gst-inspect.c: (print_pad_templates_info):
12177 * tools/gst-xmlinspect.c: (print_element_info):
12178 Use libxml2 for registry parsing, use staticpadtemplates in
12179 elementfactories. Makes gst_init() +/- 10x faster.
12181 2005-04-12 Wim Taymans <wim@fluendo.com>
12183 * gst/base/Makefile.am:
12184 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12185 (gst_basesink_pad_getcaps), (gst_basesink_init),
12186 (gst_basesink_event), (gst_basesink_change_state):
12187 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12188 (gst_basesrc_init), (gst_basesrc_query),
12189 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12190 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12191 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12192 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12193 (gst_basesrc_stop), (gst_basesrc_activate),
12194 (gst_basesrc_change_state):
12195 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12196 (helper_find_suggest), (gst_type_find_helper):
12197 * gst/base/gsttypefindhelper.h:
12198 * gst/elements/Makefile.am:
12199 * gst/elements/gstelements.c:
12200 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12201 (gst_fakesink_get_times), (gst_fakesink_event),
12202 (gst_fakesink_preroll), (gst_fakesink_render):
12203 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12204 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12205 (gst_fakesrc_get_property), (gst_fakesrc_create),
12206 (gst_fakesrc_start), (gst_fakesrc_stop):
12207 * gst/elements/gstfakesrc.h:
12208 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12209 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12210 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12211 (gst_filesrc_create_read), (gst_filesrc_create),
12212 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12213 (gst_filesrc_start):
12214 * gst/elements/gsttypefindelement.c:
12215 (gst_type_find_element_have_type), (gst_type_find_element_init),
12216 (start_typefinding), (stop_typefinding), (push_buffer_store),
12217 (gst_type_find_element_handle_event),
12218 (gst_type_find_element_chain),
12219 (gst_type_find_element_checkgetrange),
12220 (gst_type_find_element_getrange), (do_typefind),
12221 (gst_type_find_element_activate),
12222 (gst_type_find_element_change_state):
12223 * gst/elements/gsttypefindelement.h:
12224 * gst/gstpipeline.c: (pipeline_bus_handler):
12225 Added typefind helper.
12226 Small preroll fix in the base sink.
12227 Disable typefind code in basesrc.
12228 Crude port of typefindelement.
12232 2005-04-11 Wim Taymans <wim@fluendo.com>
12234 * check/gst/gstbus.c: (gstbus_suite):
12235 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12236 * check/gstcheck.h:
12237 Fix up the timeout so that the test does not fail.
12239 2005-04-06 Wim Taymans <wim@fluendo.com>
12242 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12243 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12244 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12245 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12246 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12247 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12248 (gst_basesrc_stop), (gst_basesrc_activate),
12249 (gst_basesrc_change_state), (basesrc_find_peek),
12250 (basesrc_find_suggest), (gst_basesrc_type_find):
12251 * gst/base/gstbasesrc.h:
12252 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12253 (gst_filesrc_class_init), (gst_filesrc_init),
12254 (gst_filesrc_finalize), (gst_filesrc_set_location),
12255 (gst_filesrc_set_property), (gst_filesrc_get_property),
12256 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12257 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12258 (gst_filesrc_create_read), (gst_filesrc_create),
12259 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12260 * gst/elements/gstfilesrc.h:
12261 * gst/gstelement.c: (gst_element_get_state_func),
12262 (gst_element_lost_state), (gst_element_pads_activate):
12263 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12264 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12265 (gst_pad_pull_range):
12267 More work on the generic source base class, implement seeking,
12269 Make filesrc extend the base source class.
12270 Added gst_pad_set_checkgetrange_function to GstPad.
12272 2005-04-06 Andy Wingo <wingo@pobox.com>
12274 * pkgconfig/gstreamer-base.pc.in:
12275 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12277 * pkgconfig/Makefile.am:
12278 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12280 2005-04-04 Wim Taymans <wim@fluendo.com>
12282 * gst/base/Makefile.am:
12284 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12285 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12286 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12287 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12288 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12289 (gst_basesrc_base_init), (gst_basesrc_class_init),
12290 (gst_basesrc_init), (gst_basesrc_get_formats),
12291 (gst_basesrc_get_query_types), (gst_basesrc_query),
12292 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12293 (gst_basesrc_set_property), (gst_basesrc_get_property),
12294 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12295 (gst_basesrc_loop), (gst_basesrc_activate),
12296 (gst_basesrc_change_state):
12297 * gst/base/gstbasesrc.h:
12298 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12299 (gst_fakesrc_class_init), (gst_fakesrc_init),
12300 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12301 (gst_fakesrc_get_property), (gst_fakesrc_create):
12302 * gst/elements/gstfakesrc.h:
12303 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12304 (gst_filesrc_open_file), (gst_filesrc_loop),
12305 (gst_filesrc_activate), (filesrc_find_peek),
12306 (gst_filesrc_type_find):
12307 Made base source class, make fakesrc extend it.
12308 Add comments to basesink class.
12309 Some filesrc cleanup.
12311 2005-03-31 David Schleef <ds@schleef.org>
12313 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12314 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12315 expected to link against libgstreamer.
12316 * gst/base/Makefile.am: link against libgstreamer
12317 * gst/elements/Makefile.am: same
12319 2005-03-31 Andy Wingo <wingo@pobox.com>
12321 * tests/instantiate/Makefile.am:
12322 * tests/instantiate/caps.c: Add test to test speed of caps copy
12325 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12326 GMemChunk to be fair.
12328 * gst/gsttrashstack.h: Remove warning about using the fallback
12329 trash stack implementation, it's still faster than malloc.
12331 2005-03-30 Andy Wingo <wingo@pobox.com>
12333 * tests/complexity.c: Add a copyright.
12335 2005-03-31 Wim Taymans <wim@fluendo.com>
12337 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12338 (gst_base_transform_class_init), (gst_base_transform_init),
12339 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12340 (gst_base_transform_get_property),
12341 (gst_base_transform_sink_activate),
12342 (gst_base_transform_src_activate),
12343 (gst_base_transform_change_state):
12344 * gst/base/gstbasetransform.h:
12345 * gst/elements/gstidentity.c: (gst_identity_class_init),
12346 (gst_identity_event), (gst_identity_check_perfect),
12347 (gst_identity_transform), (gst_identity_start),
12348 (gst_identity_stop):
12349 Added start/stop methods to transform base class so subclasses
12350 don't need to deal with state changes even.
12352 2005-03-31 Wim Taymans <wim@fluendo.com>
12354 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12355 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12357 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12358 (gst_pad_pull_range):
12359 Added rate to the discont event to prepare for variable speed
12360 and reverse playback.
12362 2005-03-29 David Schleef <ds@schleef.org>
12365 * testsuite/trigger/Makefile.am:
12366 * testsuite/trigger/trigger.c: A little example program to show
12367 how trigger-based elements can work.
12369 2005-03-29 Wim Taymans <wim@fluendo.com>
12371 * gst/base/Makefile.am:
12373 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12374 (gst_basesink_base_init), (gst_basesink_class_init),
12375 (gst_basesink_pad_getcaps), (gst_basesink_init),
12376 (gst_basesink_activate), (gst_basesink_change_state):
12377 * gst/base/gstbasesink.h:
12378 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12379 (gst_base_transform_base_init), (gst_base_transform_finalize),
12380 (gst_base_transform_class_init), (gst_base_transform_init),
12381 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12382 (gst_base_transform_event), (gst_base_transform_getrange),
12383 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12384 (gst_base_transform_set_property),
12385 (gst_base_transform_get_property),
12386 (gst_base_transform_sink_activate),
12387 (gst_base_transform_src_activate),
12388 (gst_base_transform_change_state):
12389 * gst/base/gstbasetransform.h:
12390 * gst/elements/gstidentity.c: (gst_identity_finalize),
12391 (gst_identity_class_init), (gst_identity_init),
12392 (gst_identity_event), (gst_identity_check_perfect),
12393 (gst_identity_transform), (gst_identity_set_property),
12394 (gst_identity_get_property), (gst_identity_change_state):
12395 * gst/elements/gstidentity.h:
12396 * gst/gstelement.c: (gst_element_get_state_func),
12397 (gst_element_lost_state), (gst_element_pads_activate):
12398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12399 (gst_pad_check_pull_range), (gst_pad_pull_range):
12401 Simplify pad activation.
12402 Added function to check if pull_range can be performed.
12403 Error out when pulling inactive or flushing pads.
12404 Removed const from refcounted types as it does not make sense.
12405 Simplify pad templates in basesink
12406 Added base class for simple 1-to-1 transforms.
12407 Make identity subclass the base transform.
12409 2005-03-29 Andy Wingo <wingo@pobox.com>
12411 * docs/libs/gstreamer-libs-overrides.txt:
12412 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12413 really don't understand what's going on, but like whatever. I want
12416 * docs/gst/Makefile.am:
12417 * docs/libs/Makefile.am: Dist the overrides files.
12419 * check/Makefile.am (clean-local): Remove .libs directories.
12421 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12422 elements to EXTRA_DIST, so po/ files are happy.
12424 * po/POTFILES.in: Er, remove it here.
12426 * po/POTFILES: Remove gstspider.c.
12428 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12430 * docs/libs/gstreamer-libs-docs.sgml:
12431 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12434 * tests/complexity.c (main): Set the length of the preroll queue
12435 on the sinks to prevent a lockup.
12437 * libs/gst/dataprotocol/Makefile.am:
12438 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12439 the same as the one in check/gst-libs/gdp.c.
12441 * po/, docs/gst/: Commit automatic changes to docs and po files.
12443 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12444 the versioned libgstbase.
12446 * check/Makefile.am: Depend on an unversioned gst-register, seems
12447 to make autoconf happier.
12449 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12451 2005-03-28 Wim Taymans <wim@fluendo.com>
12454 * docs/design/part-gstelement.txt:
12455 * docs/design/part-negotiation.txt:
12456 * docs/design/part-preroll.txt:
12457 * docs/design/part-scheduling.txt:
12458 * docs/design/part-states.txt:
12460 * gst/base/Makefile.am:
12462 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12463 (gst_basesink_base_init), (gst_basesink_class_init),
12464 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12465 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12466 (gst_basesink_set_pad_functions),
12467 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12468 (gst_basesink_set_property), (gst_basesink_get_property),
12469 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12470 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12471 (gst_basesink_preroll_queue_push),
12472 (gst_basesink_preroll_queue_empty),
12473 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12474 (gst_basesink_event), (gst_basesink_get_times),
12475 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12476 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12477 (gst_basesink_loop), (gst_basesink_activate),
12478 (gst_basesink_change_state):
12479 * gst/base/gstbasesink.h:
12480 * gst/elements/Makefile.am:
12481 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12482 (gst_fakesink_class_init), (gst_fakesink_init),
12483 (gst_fakesink_set_property), (gst_fakesink_get_property),
12484 (gst_fakesink_get_times), (gst_fakesink_event),
12485 (gst_fakesink_preroll), (gst_fakesink_render),
12486 (gst_fakesink_change_state):
12487 * gst/elements/gstfakesink.h:
12488 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12489 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12490 * gst/gstelement.c: (gst_element_add_pad),
12491 (gst_element_get_state_func), (gst_element_abort_state),
12492 (gst_element_commit_state), (gst_element_lost_state),
12493 (gst_element_set_state), (gst_element_pads_activate):
12494 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12495 * gst/gstpipeline.c: (gst_pipeline_send_event),
12496 (gst_pipeline_change_state):
12497 Added state change code.
12498 Added/updated docs.
12499 Added sink base class, make fakesink extend the base class.
12500 Small cleanups in GstPipeline.
12502 2005-03-26 David Schleef <ds@schleef.org>
12504 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12505 is broken and should be implemented in a different library.
12506 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12507 * gst/gst.h: remove gstcpu.h
12508 * gst/gstcpu.c: remove
12509 * gst/gstcpu.h: remove
12510 * gst/Makefile.am.future: Remove this file. It's ancient.
12512 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12514 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12515 (gst_bin_send_event):
12516 Add default event/set_manager handlers. The set_manager handler
12517 takes care that the manager is distributed over kids that were
12518 already in the bin before the manager was set. The event handler
12519 is a utility virtual function that sends the event over all sinks,
12520 so that gst_element_send_event (bin, event); has the expected
12522 * gst/gstpad.c: (gst_pad_event_default):
12523 Re-install default event handling for discontinuities, so that
12524 seeking works without requiring hacks in applications or extra
12526 * gst/gstpipeline.c: (gst_pipeline_class_init),
12527 (gst_pipeline_send_event):
12528 Half hack, half utility: set a pipeline to PAUSED for seek events,
12529 since that is the only way we can guarantee a/v sync. Means that
12530 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12531 and it "just works".
12533 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12535 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12536 Lock/unlock mismatch.
12538 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12540 * docs/faq/gst-uninstalled:
12541 add gst-plugins-base
12542 * docs/gst/Makefile.am:
12543 don't error out until docs are fixed
12544 * docs/gst/gstreamer.types:
12547 2005-03-22 Wim Taymans <wim@fluendo.com>
12549 * check/Makefile.am:
12550 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12551 * gst/gststructure.c: (gst_structure_set_valist),
12552 (gst_structure_copy_conditional):
12553 Activated more tests.
12554 Added message test.
12555 Added G_TYPE_POINTER to GstStructure.
12558 2005-03-22 Wim Taymans <wim@fluendo.com>
12560 * docs/design/part-TODO.txt:
12561 * docs/design/part-events.txt:
12562 * docs/design/part-gstbin.txt:
12563 * docs/design/part-gstbus.txt:
12564 * docs/design/part-gstpipeline.txt:
12565 * docs/design/part-messages.txt:
12567 * gst/gstmessage.c:
12570 2005-03-21 Wim Taymans <wim@fluendo.com>
12572 * gst/gstbus.c: (gst_bus_post):
12573 Fix copy-and-paste error.
12575 2005-03-21 Wim Taymans <wim@fluendo.com>
12577 * check/Makefile.am:
12579 * gst/elements/Makefile.am:
12580 * gst/elements/gstelements.c:
12581 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12582 (gst_fakesink_event), (gst_fakesink_chain):
12583 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12584 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12585 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12586 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12587 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12588 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12589 (gst_fakesrc_loop), (gst_fakesrc_activate),
12590 (gst_fakesrc_change_state):
12591 * gst/elements/gstfakesrc.h:
12592 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12593 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12594 (gst_filesrc_open_file), (gst_filesrc_loop),
12595 (gst_filesrc_activate), (gst_filesrc_change_state),
12596 (filesrc_find_peek), (filesrc_find_suggest),
12597 (gst_filesrc_type_find):
12598 * gst/elements/gstidentity.c: (gst_identity_finalize),
12599 (gst_identity_class_init), (gst_identity_init),
12600 (gst_identity_proxy_getcaps), (identity_queue_push),
12601 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12602 (gst_identity_getrange), (gst_identity_chain),
12603 (gst_identity_sink_loop), (gst_identity_src_loop),
12604 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12605 (gst_identity_set_property), (gst_identity_get_property),
12606 (gst_identity_change_state):
12607 * gst/elements/gstidentity.h:
12608 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12609 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12610 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12611 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12612 (gst_tee_sink_activate):
12613 * gst/elements/gsttee.h:
12614 * gst/gst.c: (gst_register_core_elements), (init_post):
12616 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12617 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12618 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12619 (gst_bin_change_state):
12621 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12622 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12623 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12624 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12625 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12626 (bus_watch_callback), (bus_watch_destroy),
12627 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12628 (poll_timeout), (gst_bus_poll):
12632 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12633 (gst_element_post_message), (gst_element_message_full),
12634 (gst_element_get_state_func), (gst_element_get_state),
12635 (gst_element_abort_state), (gst_element_commit_state),
12636 (gst_element_lost_state), (gst_element_set_state),
12637 (gst_element_pads_activate), (gst_element_change_state),
12638 (gst_element_dispose), (gst_element_set_manager_func),
12639 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12640 (gst_element_set_manager), (gst_element_get_manager),
12641 (gst_element_set_bus), (gst_element_get_bus),
12642 (gst_element_set_scheduler), (gst_element_get_scheduler):
12643 * gst/gstelement.h:
12644 * gst/gstevent.c: (gst_event_new_segment_seek),
12645 (gst_event_new_flush):
12647 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12648 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12649 (gst_message_new_eos), (gst_message_new_error),
12650 (gst_message_new_warning), (gst_message_new_tag),
12651 (gst_message_new_state_changed), (gst_message_new_application),
12652 (gst_message_get_structure), (gst_message_parse_tag),
12653 (gst_message_parse_state_changed), (gst_message_parse_error),
12654 (gst_message_parse_warning):
12655 * gst/gstmessage.h:
12656 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12657 (gst_real_pad_set_property), (gst_pad_set_active),
12658 (gst_pad_is_active), (gst_pad_set_blocked_async),
12659 (gst_pad_set_blocked), (gst_pad_is_blocked),
12660 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12661 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12662 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12663 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12664 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12665 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12666 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12667 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12668 (gst_pad_set_caps), (gst_pad_configure_sink),
12669 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12670 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12671 (gst_real_pad_dispose), (gst_real_pad_finalize),
12672 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12673 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12674 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12676 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12677 (pipeline_bus_handler), (gst_pipeline_change_state),
12678 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12679 * gst/gstpipeline.h:
12681 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12682 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12683 (gst_queue_link_src), (gst_queue_bufferalloc),
12684 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12685 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12686 (gst_queue_loop), (gst_queue_handle_src_event),
12687 (gst_queue_handle_src_query), (gst_queue_src_activate),
12688 (gst_queue_change_state):
12690 * gst/gstscheduler.c: (gst_scheduler_init),
12691 (gst_scheduler_dispose), (gst_scheduler_create_task),
12692 (gst_scheduler_factory_create):
12693 * gst/gstscheduler.h:
12694 * gst/gststructure.c: (gst_structure_get_type),
12695 (gst_structure_copy_conditional):
12696 * gst/gststructure.h:
12697 * gst/gsttaginterface.h:
12698 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12699 (gst_task_init), (gst_task_dispose), (gst_task_create),
12700 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12706 * gst/schedulers/Makefile.am:
12707 * gst/schedulers/cothreads_compat.h:
12708 * gst/schedulers/entryscheduler.c:
12709 * gst/schedulers/faircothreads.c:
12710 * gst/schedulers/faircothreads.h:
12711 * gst/schedulers/fairscheduler.c:
12712 * gst/schedulers/gstbasicscheduler.c:
12713 * gst/schedulers/gstoptimalscheduler.c:
12714 * gst/schedulers/gthread-cothreads.h:
12715 * gst/schedulers/threadscheduler.c:
12716 (gst_thread_scheduler_task_get_type),
12717 (gst_thread_scheduler_task_class_init),
12718 (gst_thread_scheduler_task_init),
12719 (gst_thread_scheduler_task_start),
12720 (gst_thread_scheduler_task_stop),
12721 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12722 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12723 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12724 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12726 * libs/gst/Makefile.am:
12727 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12728 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12729 (gst_file_pad_parent_set):
12730 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12731 (gst_dp_event_from_packet):
12732 * tests/complexity.c: (main):
12733 * tests/mass_elements.c: (main):
12734 * testsuite/states/locked.c: (message_received), (main):
12735 * testsuite/states/parent.c: (main):
12736 * tools/gst-inspect.c: (print_element_flag_info),
12737 (print_implementation_info), (print_pad_info):
12738 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12740 * tools/gst-md5sum.c: (event_loop), (main):
12741 * tools/gst-typefind.c: (main):
12742 * tools/gst-xmlinspect.c: (print_element_info):
12744 Added GstBus for mainloop integration.
12745 Added GstMessage for sending notifications on the bus.
12746 Added GstTask as an abstraction for pipeline entry points.
12748 Removed Schedulers.
12749 Simplified GstQueue for multithreaded core.
12750 Made _link threadsafe, removed old capsnego.
12751 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12752 Added pad blocking functions.
12753 Reworked scheduling functions in GstPad to prepare for
12754 scheduling updates soon.
12755 Moved events out of data stream.
12756 Simplified GstEvent types.
12757 Added return values to push/pull.
12758 Removed clocking from GstElement.
12759 Added prototypes for state change function for next merge.
12760 Removed iterate from bins and state change management.
12761 Fixed some elements, disabled others for now.
12762 Fixed -inspect and -launch.
12763 Added check for GstBus.
12765 2005-03-10 Wim Taymans <wim@fluendo.com>
12767 * docs/design/part-MT-refcounting.txt:
12768 * docs/design/part-clocks.txt:
12769 * docs/design/part-gstelement.txt:
12770 * docs/design/part-gstobject.txt:
12771 * docs/design/part-standards.txt:
12772 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12773 (gst_bin_remove_func), (gst_bin_remove):
12777 * testsuite/clock/clock1.c: (main):
12778 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12780 * testsuite/dlopen/loadgst.c: (do_test):
12781 * testsuite/refcounting/bin.c: (add_remove_test1),
12782 (add_remove_test2), (main):
12783 * testsuite/refcounting/element.c: (main):
12784 * testsuite/refcounting/element_pad.c: (main):
12785 * testsuite/refcounting/pad.c: (main):
12786 * tools/gst-launch.c: (sigint_handler_sighandler):
12787 * tools/gst-typefind.c: (main):
12789 Added doc about clock.
12790 removed gst_bin_iterate_recurse_up(), marked methods
12792 Fix more testsuites.
12794 2005-03-09 Wim Taymans <wim@fluendo.com>
12796 * gst/gstpad.c: (gst_pad_get_direction),
12797 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12798 (gst_pad_collect_valist):
12799 * testsuite/bins/interface.c: (main):
12800 * testsuite/caps/audioscale.c: (test_caps):
12801 * testsuite/caps/caps.c: (test1), (test2), (test3):
12802 * testsuite/caps/deserialize.c: (main):
12803 * testsuite/caps/enumcaps.c: (main):
12804 * testsuite/caps/filtercaps.c: (main):
12805 * testsuite/caps/intersect2.c: (main):
12806 * testsuite/caps/random.c: (main):
12807 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12808 * testsuite/caps/sets.c: (check_caps):
12809 * testsuite/caps/simplify.c: (check_caps), (main):
12810 * testsuite/caps/subtract.c: (check_caps):
12811 Fix _pad_get_direction wrt ghostpads.
12812 Fix caps testsuite.
12814 2005-03-09 Wim Taymans <wim@fluendo.com>
12816 * check/Makefile.am:
12817 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12818 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12819 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12820 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12821 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12822 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12823 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12824 (bin_element_is_sink), (gst_bin_iterate_sinks),
12825 (gst_bin_iterate_all_by_interface):
12827 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12828 (gst_element_change_state), (gst_element_dispose),
12829 (gst_element_finalize), (gst_element_set_loop_function):
12830 * gst/gstelement.h:
12831 * gst/gstiterator.c: (find_custom_fold_func):
12832 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12833 (gst_pad_collectv), (gst_pad_collect_valist),
12834 (gst_pad_template_new):
12835 * gst/gstpipeline.c: (gst_pipeline_class_init),
12836 (gst_pipeline_dispose), (gst_pipeline_set_property),
12837 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12838 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12839 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12841 * gst/schedulers/entryscheduler.c:
12842 * gst/schedulers/gstbasicscheduler.c:
12843 (gst_basic_scheduler_cothreaded_chain),
12844 (gst_basic_scheduler_chain_add_element):
12845 * testsuite/bins/interface.c: (main):
12847 Added GstSystemClock test.
12848 Implemented clock distribution code in GstBin.
12849 Implemented iterate sinks method for future use.
12850 Rearranged gstelement.h
12851 Fix GstIterator comparison bug.
12852 Moved some code to GstPipeline, mostly clocking related.
12854 2005-03-09 Wim Taymans <wim@fluendo.com>
12857 * gst/gst_private.h:
12858 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12859 (gst_bin_remove_func), (gst_bin_remove),
12860 (gst_bin_get_by_name_recurse_up):
12861 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12862 (gst_clock_id_compare_func), (gst_clock_id_wait),
12863 (gst_clock_id_wait_async), (gst_clock_init),
12864 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12865 * gst/gstelement.h:
12866 * gst/gstinfo.c: (_gst_debug_init):
12868 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12869 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12871 Bump version number, we're now 0.9.0
12872 Add future debugging category.
12873 Fix NULL _unref() in _get_by_name_recurse_up
12874 Rearrange gstpad.h.
12877 2005-03-08 Wim Taymans <wim@fluendo.com>
12879 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12880 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12881 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12882 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12883 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12884 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12885 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12886 * gst/elements/gstidentity.c: (gst_identity_class_init):
12887 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12888 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12889 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12890 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12891 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12893 * gst/gstelement.c: (gst_element_class_init),
12894 (gst_element_base_class_init), (gst_element_init),
12895 (gst_element_get_random_pad), (gst_element_wait_state_change),
12896 (gst_element_change_state), (gst_element_dispose),
12897 (gst_element_finalize), (gst_element_set_loop_function):
12898 * gst/gstelement.h:
12899 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12900 * gst/gstthread.c: (gst_thread_class_init),
12901 (gst_thread_release_children_locks), (gst_thread_change_state):
12902 * gst/schedulers/gstbasicscheduler.c:
12903 (gst_basic_scheduler_loopfunc_wrapper),
12904 (gst_basic_scheduler_chain_wrapper),
12905 (gst_basic_scheduler_src_wrapper),
12906 (gst_basic_scheduler_remove_element):
12907 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12908 Remove threadsafe properties. Fix elements because GObject
12909 complains when installing a property before declaring a
12910 set/get_property handler.
12911 Rearrange gstelement.h file, use STATE macros for state locks.
12912 Free mutexes in the finalize method instead of dispose.
12914 2005-03-08 Wim Taymans <wim@fluendo.com>
12916 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12917 * gst/gstthread.c: (gst_thread_release_children_locks):
12918 Added parentage check.
12919 Fix build og GstThread again.
12921 2005-03-08 Wim Taymans <wim@fluendo.com>
12923 * docs/design/part-MT-refcounting.txt:
12924 * docs/design/part-conventions.txt:
12925 * docs/design/part-gstobject.txt:
12926 * docs/design/part-relations.txt:
12927 * docs/design/part-standards.txt:
12928 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12929 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12930 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12931 (gst_bin_iterate_all_by_interface):
12934 * gst/gstelement.c: (gst_element_class_init),
12935 (gst_element_change_state), (gst_element_set_loop_function):
12936 * gst/gstelement.h:
12937 * gst/gstiterator.c:
12938 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12939 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12940 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12941 (gst_object_set_parent), (gst_object_unparent),
12942 (gst_object_check_uniqueness):
12944 Docs updates, clean up some headers.
12946 2005-03-07 Wim Taymans <wim@fluendo.com>
12948 * check/.cvsignore:
12949 * check/Makefile.am:
12950 * check/gst-libs/.cvsignore:
12951 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12952 * check/gst/.cvsignore:
12953 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12954 (START_TEST), (gstbus_suite), (main):
12955 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12956 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12957 (gst_data_suite), (main):
12958 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12959 (add_fold_func), (gstiterator_suite), (main):
12960 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12961 (thread_name_object), (thread_name_object_default),
12962 (gst_object_name_compare), (gst_object_suite), (main):
12963 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12964 (gst_pad_suite), (main):
12965 * check/gstcheck.c: (gst_check_log_message_func),
12966 (gst_check_log_critical_func), (gst_check_init):
12967 * check/gstcheck.h:
12968 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12969 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12972 2005-03-07 Wim Taymans <wim@fluendo.com>
12974 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12975 (gst_list_iterator_next), (gst_list_iterator_resync),
12976 (gst_list_iterator_free), (gst_iterator_new_list),
12977 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12978 (gst_iterator_free), (gst_iterator_push), (filter_next),
12979 (filter_resync), (filter_uninit), (filter_free),
12980 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12981 (gst_iterator_foreach), (find_custom_fold_func),
12982 (gst_iterator_find_custom):
12983 * gst/gstiterator.h:
12984 Added missing files.
12986 2005-03-07 Wim Taymans <wim@fluendo.com>
12990 * docs/design/part-MT-refcounting.txt:
12991 * docs/design/part-conventions.txt:
12992 * docs/design/part-gstobject.txt:
12993 * docs/design/part-relations.txt:
12994 * examples/mixer/mixer.c: (main):
12995 * examples/thread/thread.c: (eos), (main):
12997 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12998 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12999 (gst_spider_plug_from_srcpad):
13000 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13001 (gst_spider_identity_change_state),
13002 (gst_spider_identity_sink_loop_type_finding):
13003 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13004 * gst/elements/gstidentity.c: (gst_identity_init):
13005 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13006 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13007 * gst/elements/gsttypefindelement.c: (free_entry):
13010 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13011 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13012 (gst_bin_set_index), (gst_bin_set_element_sched),
13013 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13014 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13015 (gst_bin_iterate_elements), (iterate_child_recurse),
13016 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13017 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13018 (compare_interface), (gst_bin_get_by_interface),
13019 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13021 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13022 (gst_buffer_default_free), (gst_buffer_default_copy),
13023 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13024 (gst_buffer_create_sub):
13026 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13027 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13028 (gst_caps_unref), (gst_static_caps_get),
13029 (gst_caps_remove_and_get_structure), (gst_caps_append),
13030 (gst_caps_append_structure), (gst_caps_remove_structure),
13031 (gst_caps_copy_nth), (gst_caps_set_simple),
13032 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13033 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13034 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13035 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13036 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13037 (gst_caps_structure_figure_out_union),
13038 (gst_caps_switch_structures), (gst_caps_do_simplify),
13039 (gst_caps_replace), (gst_caps_from_string),
13040 (gst_caps_copy_conditional):
13042 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13043 (_gst_clock_id_free), (gst_clock_id_unref),
13044 (gst_clock_id_compare_func), (gst_clock_id_wait),
13045 (gst_clock_id_wait_async), (gst_clock_class_init),
13046 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13047 (gst_clock_get_time), (gst_clock_set_time_adjust),
13048 (gst_clock_set_property), (gst_clock_get_property):
13051 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13052 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13054 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13055 (gst_element_requires_clock), (gst_element_provides_clock),
13056 (gst_element_set_clock), (gst_element_clock_wait),
13057 (gst_element_wait), (gst_element_set_time_delay),
13058 (gst_element_is_indexable), (gst_element_add_pad),
13059 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13060 (pad_compare_name), (gst_element_get_static_pad),
13061 (gst_element_request_pad), (gst_element_get_request_pad),
13062 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13063 (gst_element_class_get_pad_template_list),
13064 (gst_element_class_get_pad_template), (gst_element_error_func),
13065 (gst_element_get_random_pad), (gst_element_get_event_masks),
13066 (gst_element_send_event), (gst_element_seek),
13067 (gst_element_get_query_types), (gst_element_query),
13068 (gst_element_get_formats), (gst_element_convert),
13069 (gst_element_is_locked_state), (gst_element_set_locked_state),
13070 (gst_element_sync_state_with_parent), (gst_element_change_state),
13071 (gst_element_finalize), (gst_element_yield),
13072 (gst_element_interrupt), (gst_element_set_scheduler),
13073 (gst_element_get_scheduler), (gst_element_set_loop_function):
13074 * gst/gstelement.h:
13076 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13077 (gst_format_get_by_nick), (gst_format_get_details),
13078 (gst_format_iterate_definitions):
13080 * gst/gstindex.c: (gst_index_gtype_resolver):
13083 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13084 (gst_mem_chunk_free):
13085 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13086 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13087 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13088 (gst_object_dispatch_properties_changed),
13089 (gst_object_set_name_default), (gst_object_set_name),
13090 (gst_object_get_name), (gst_object_set_name_prefix),
13091 (gst_object_get_name_prefix), (gst_object_set_parent),
13092 (gst_object_get_parent), (gst_object_unparent),
13093 (gst_object_check_uniqueness), (gst_object_save_thyself),
13094 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13095 (gst_object_set_property), (gst_object_get_property),
13096 (gst_object_get_path_string):
13098 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13099 (gst_real_pad_init), (gst_real_pad_get_property),
13100 (gst_pad_custom_new), (gst_pad_get_direction),
13101 (gst_pad_set_active), (gst_pad_is_active),
13102 (gst_pad_set_event_function), (gst_pad_is_linked),
13103 (gst_pad_link_free), (gst_pad_link_intersect),
13104 (gst_pad_link_fixate), (gst_pad_set_caps),
13105 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13106 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13107 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13108 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13109 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13110 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13111 (gst_pad_realize), (gst_pad_get_allowed_caps),
13112 (gst_real_pad_dispose), (gst_real_pad_finalize),
13113 (gst_pad_collectv), (gst_pad_collect_valist),
13114 (gst_pad_template_dispose), (gst_pad_template_new),
13115 (gst_pad_get_internal_links):
13117 * gst/gstpipeline.c: (gst_pipeline_dispose),
13118 (gst_pipeline_change_state):
13119 * gst/gstpipeline.h:
13121 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13122 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13123 * gst/gstpluginfeature.h:
13124 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13125 * gst/gstquery.c: (_gst_query_type_initialize),
13126 (gst_query_type_register), (gst_query_type_get_by_nick),
13127 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13129 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13130 * gst/gstscheduler.c: (gst_scheduler_add_element),
13131 (gst_scheduler_factory_create):
13132 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13133 (gst_structure_free), (gst_structure_set_name),
13134 (gst_structure_id_set_value), (gst_structure_set_value),
13135 (gst_structure_set_valist), (gst_structure_remove_field),
13136 (gst_structure_remove_fields),
13137 (gst_structure_remove_fields_valist),
13138 (gst_structure_remove_all_fields), (gst_structure_foreach),
13139 (gst_structure_map_in_place),
13140 (gst_caps_structure_fixate_field_nearest_int),
13141 (gst_caps_structure_fixate_field_nearest_double):
13142 * gst/gststructure.h:
13143 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13144 (gst_system_clock_init), (gst_system_clock_dispose),
13145 (gst_system_clock_async_thread),
13146 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13147 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13148 * gst/gstsystemclock.h:
13149 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13150 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13151 * gst/gsttaginterface.c:
13152 * gst/gstthread.c: (gst_thread_dispose),
13153 (gst_thread_release_children_locks), (gst_thread_change_state),
13154 (gst_thread_main_loop):
13155 * gst/gsttrashstack.h:
13156 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13158 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13159 (gst_element_request_pad), (gst_element_get_pad_from_template),
13160 (gst_element_request_compatible_pad),
13161 (gst_element_get_compatible_pad_filtered),
13162 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13163 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13164 (gst_element_link_many), (gst_element_link),
13165 (gst_element_link_pads), (gst_element_unlink_pads),
13166 (gst_element_unlink_many), (gst_element_unlink),
13167 (gst_pad_can_link_filtered), (gst_pad_can_link),
13168 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13169 (gst_object_default_error), (gst_bin_add_many),
13170 (gst_bin_remove_many), (gst_element_populate_std_props),
13171 (gst_element_class_install_std_props), (gst_buffer_merge),
13172 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13173 (link_fold_func), (gst_pad_proxy_setcaps):
13175 * gst/gstvalue.c: (gst_value_deserialize_string):
13176 * gst/parse/grammar.y:
13177 * gst/schedulers/gstbasicscheduler.c:
13178 (gst_basic_scheduler_cothreaded_chain),
13179 (gst_basic_scheduler_chain_recursive_add),
13180 (gst_basic_scheduler_pad_link):
13181 * gst/schedulers/gstoptimalscheduler.c:
13182 (get_group_schedule_function),
13183 (gst_opt_scheduler_state_transition),
13184 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13185 * libs/gst/bytestream/bytestream.c:
13186 * libs/gst/dataprotocol/dataprotocol.c:
13187 (gst_dp_header_from_buffer):
13190 * tests/threadstate/threadstate2.c: (eos):
13191 * tools/gst-compprep.c: (main):
13192 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13193 (print_pad_info), (print_children_info):
13194 * tools/gst-launch.c: (idle_func), (main):
13195 * tools/gst-md5sum.c: (idle_func), (main):
13196 * tools/gst-xmlinspect.c: (print_element_info):
13197 First THREADED backport attempt, focusing on adding locks and
13198 making sure the API is threadsafe. Needs more work. More docs
13201 2005-02-24 Andy Wingo <wingo@pobox.com>
13203 * tests/bench-complexity.scm:
13204 * tests/complexity.gnuplot: New files, good for running complexity
13207 * tests/Makefile.am:
13208 * tests/complexity.c: New test, sets up N elements, at each level
13209 teeing into M streams per element. Eeeenteresting.
13211 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13212 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13213 running bench-mass_elements.scm.
13215 * tests/bench-mass_elements.scm: New script, runs mass_elements
13216 for various numbers of identities, outputting the results to a
13217 file. Requires guile 1.6. Just for testing.
13219 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13221 * gst/schedulers/fairscheduler.c:
13222 compile with debug disabled
13224 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13227 hunting season on 0.9 is now OPEN