1 2005-12-05 Wim Taymans <wim@fluendo.com>
4 Fix small typo in docs.
6 2005-12-05 Andy Wingo <wingo@pobox.com>
8 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
10 * gst/gst.c (init_post): remove hard-coded 0.9 location for
11 registries/plugins with a MAJORMINOR one.
12 (plugin_desc): Rename library from gstcoreleements to
13 staticelements. Fixes #323222.
15 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
17 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
18 Change debug category to 'collectpads' from 'collect_pads'
21 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
23 patch by: Sebastien Moutte
25 * libs/gst/controller/gstinterpolation.c:
26 use convert function for uint64/double
27 * win32/vs6/libgstcontroller.dsp:
30 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
32 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
33 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
35 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
36 add tests that seem to show that the guint64/gdouble conversions
39 2005-12-02 Wim Taymans <wim@fluendo.com>
41 * gst/gstregistry.c: (gst_registry_add_path):
43 * gst/gstregistryxml.c:
46 2005-12-02 Wim Taymans <wim@fluendo.com>
48 * gst/gstutils.c: (gst_util_uint64_scale_int64),
49 (gst_util_uint64_scale_int):
52 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
55 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
58 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
61 * win32/common/config.h:
62 * win32/vs6/gstreamer.dsw:
63 * win32/vs6/libgstcoreelements.dsp:
64 * win32/vs6/libgstelements.dsp:
65 renamed core elements plugin
67 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
69 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
71 do piece-wise major/minor comparison so 0.9 < 0.10
72 also allow .exe extensions for tools
74 2005-12-02 Michael Smith <msmith@fluendo.com>
77 Escape a % to make gtkdoc happier; bug 322958.
81 2005-12-01 <thomas (at) apestaart (dot) org>
84 releasing 0.9.7, "My Dog Has No Nose"
86 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
88 * common/gst-xmlinspect.py:
90 * docs/libs/tmpl/gstdataprotocol.sgml:
91 * docs/random/release:
110 * win32/common/config.h:
111 * win32/common/config.h.in:
112 * win32/vs6/gst_inspect.dsp:
113 * win32/vs6/gst_launch.dsp:
114 * win32/vs6/libgstbase.dsp:
115 * win32/vs6/libgstelements.dsp:
116 * win32/vs6/libgstreamer.dsp:
117 * win32/vs7/GStreamer.vcproj:
118 * win32/vs7/gst-inspect.vcproj:
119 * win32/vs7/gst-launch.vcproj:
120 * win32/vs7/libgstbase.vcproj:
121 bump GST_MAJORMINOR to 0.10
122 reset libtool version
124 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
128 Added Bulgarian translation by (Alexander Shopov)
130 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
132 * tests/check/gst/gstplugin.c:
135 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
137 * common/gst-xmlinspect.py:
138 * common/gtk-doc-plugins.mak:
141 * docs/gst/Makefile.am:
142 * docs/gst/gstreamer-docs.sgml:
143 * docs/gst/gstreamer-sections.txt:
144 * docs/gst/gstreamer.types:
145 * docs/gst/gstreamer.types.in:
146 * docs/plugins/Makefile.am:
147 * docs/plugins/gstreamer-plugins-docs.sgml:
148 * docs/plugins/gstreamer-plugins-sections.txt:
149 * docs/plugins/gstreamer-plugins.types:
150 * docs/plugins/inspect.stamp:
151 * docs/plugins/inspect/plugin-coreelements.xml:
152 * docs/plugins/inspect/plugin-coreindexers.xml:
153 * docs/plugins/scanobj-build.stamp:
155 * plugins/elements/Makefile.am:
156 * plugins/elements/gstelements.c:
157 * plugins/elements/gstfakesink.c:
158 * plugins/elements/gstfakesrc.c:
159 * plugins/elements/gstfilesink.c:
160 * plugins/elements/gstfilesrc.c:
161 * plugins/elements/gstqueue.c:
162 * plugins/indexers/Makefile.am:
163 * plugins/indexers/gstindexers.c:
164 document core plugins in a separate document just like all the
166 rename these plugins to something starting with core
168 2005-12-01 Andy Wingo <wingo@pobox.com>
170 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
171 padding here before, but it missed the commit.
173 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
175 * libs/gst/controller/gstinterpolation.c:
176 whitespace prices have crashed, we should feel free to use some now
177 use gst_guint64_to_gdouble
179 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
181 * libs/gst/controller/gstcontroller.c:
182 * libs/gst/controller/gsthelper.c:
183 * libs/gst/controller/gstinterpolation.c:
184 * libs/gst/controller/lib.c:
185 wrap config.h include
187 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
189 * docs/gst/gstreamer-sections.txt:
192 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
194 * plugins/elements/gstelements.c:
195 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
196 (gst_fd_sink__class_init), (gst_fd_sink__init),
197 (gst_fd_sink__chain), (gst_fd_sink__set_property),
198 (gst_fd_sink__get_property):
199 * plugins/elements/gstfdsink.h:
200 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
201 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
202 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
203 (gst_fd_src_unlock), (gst_fd_src_set_property),
204 (gst_fd_src_get_property), (gst_fd_src_create),
205 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
206 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
207 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
208 (gst_fd_src_uri_handler_init):
209 * plugins/elements/gstfdsrc.h:
210 * plugins/elements/gstqueue.c: (gst_queue_get_type):
213 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
215 * docs/gst/Makefile.am:
216 * docs/gst/gstreamer.types.in:
220 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
227 * tests/benchmarks/complexity.c:
228 * tests/benchmarks/mass-elements.c:
229 * tests/check/Makefile.am:
231 * tools/gst-inspect.c:
232 * tools/gst-xmlinspect.c:
233 various fixes to make
234 --disable-nls --disable-registry --disable-loadsave
235 --disable-parse --disable-gst-debug
236 work and get the core .so down to 360444 bytes after stripping
238 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
243 * docs/random/thomasvs/TODO:
248 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
250 * win32/GStreamer.vcproj:
253 * win32/Makefile.inspect:
254 * win32/Makefile.launch:
255 * win32/Makefile.register:
257 * win32/gst-inspect.vcproj:
258 * win32/gst-launch.vcproj:
259 * win32/gst-register.vcproj:
260 * win32/gstelements.vcproj:
261 * win32/gstgetbits.def:
262 * win32/gstgetbits.vcproj:
263 * win32/gstreamer-dbg.def:
264 * win32/gstreamer.def:
265 * win32/libgstbase.def:
266 * win32/libgstbase.vcproj:
267 * win32/link_oldruntime.c:
272 move even more stuff, win32/ is nice and clean now
274 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
276 * libs/gst/control/.cvsignore:
281 * win32/gstbytestream.def:
282 * win32/gstbytestream.vcproj:
284 * win32/gstenumtypes.c:
285 * win32/gstenumtypes.h:
286 * win32/gstoptimalscheduler.vcproj:
287 * win32/gstversion.h:
289 * win32/testsuite/bins.vcproj:
290 * win32/testsuite/bytestream.vcproj:
291 * win32/testsuite/caps.vcproj:
292 * win32/testsuite/cleanup.vcproj:
293 * win32/testsuite/clock.vcproj:
294 * win32/testsuite/debug.vcproj:
295 * win32/testsuite/dlopen.vcproj:
296 * win32/testsuite/dynparams.vcproj:
297 * win32/testsuite/elements.vcproj:
298 * win32/testsuite/ghostpads.vcproj:
299 * win32/testsuite/indexers.vcproj:
300 * win32/testsuite/negotiation.vcproj:
301 * win32/testsuite/parse.vcproj:
302 * win32/testsuite/plugin.vcproj:
303 * win32/testsuite/refcounting.vcproj:
304 * win32/testsuite/schedulers.vcproj:
305 * win32/testsuite/states.vcproj:
306 * win32/testsuite/tags.vcproj:
307 * win32/testsuite/threads.vcproj:
308 remove old win32 stuff that isn't maintained and should be
311 2005-11-30 Andy Wingo <wingo@pobox.com>
313 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
314 loading the gst.interfaces python module bork.
316 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
317 available since GLib 2.2. Fixes #318031.
319 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
324 * check/elements/.cvsignore:
325 * check/elements/fakesrc.c:
326 * check/elements/fdsrc.c:
327 * check/elements/identity.c:
328 * check/generic/.cvsignore:
329 * check/generic/states.c:
330 * check/gst-libs/.cvsignore:
331 * check/gst-libs/controller.c:
332 * check/gst-libs/gdp.c:
333 * check/gst/.cvsignore:
334 * check/gst/capslist.h:
336 * check/gst/gstbin.c:
337 * check/gst/gstbuffer.c:
338 * check/gst/gstbus.c:
339 * check/gst/gstcaps.c:
340 * check/gst/gstelement.c:
341 * check/gst/gstevent.c:
342 * check/gst/gstghostpad.c:
343 * check/gst/gstiterator.c:
344 * check/gst/gstmessage.c:
345 * check/gst/gstminiobject.c:
346 * check/gst/gstobject.c:
347 * check/gst/gstpad.c:
348 * check/gst/gstpipeline.c:
349 * check/gst/gstplugin.c:
350 * check/gst/gstsegment.c:
351 * check/gst/gststructure.c:
352 * check/gst/gstsystemclock.c:
353 * check/gst/gsttag.c:
354 * check/gst/gstutils.c:
355 * check/gst/gstvalue.c:
356 * check/net/.cvsignore:
357 * check/net/gstnetclientclock.c:
358 * check/net/gstnettimeprovider.c:
359 * check/pipelines/.cvsignore:
360 * check/pipelines/cleanup.c:
361 * check/pipelines/simple_launch_lines.c:
362 * check/pipelines/stress.c:
363 * check/states/.cvsignore:
364 * check/states/sinks.c:
366 * examples/Makefile.am:
367 * examples/appreader/.cvsignore:
368 * examples/appreader/Makefile.am:
369 * examples/appreader/appreader.c:
370 * examples/controller/.cvsignore:
371 * examples/controller/Makefile.am:
372 * examples/controller/audio-example.c:
373 * examples/cutter/.cvsignore:
374 * examples/cutter/Makefile.am:
375 * examples/cutter/cutter.c:
376 * examples/cutter/cutter.h:
377 * examples/events/Makefile.am:
378 * examples/events/seek.c:
379 * examples/helloworld/.cvsignore:
380 * examples/helloworld/Makefile.am:
381 * examples/helloworld/helloworld.c:
382 * examples/helloworld2/.cvsignore:
383 * examples/helloworld2/Makefile.am:
384 * examples/helloworld2/helloworld2.c:
385 * examples/launch/.cvsignore:
386 * examples/launch/Makefile.am:
387 * examples/launch/mp3parselaunch.c:
388 * examples/launch/mp3play:
389 * examples/manual/.cvsignore:
390 * examples/manual/Makefile.am:
391 * examples/manual/extract.pl:
392 * examples/metadata/Makefile.am:
393 * examples/metadata/read-metadata.c:
394 * examples/mixer/.cvsignore:
395 * examples/mixer/Makefile.am:
396 * examples/mixer/mixer.c:
397 * examples/mixer/mixer.h:
398 * examples/pingpong/.cvsignore:
399 * examples/pingpong/Makefile.am:
400 * examples/pingpong/pingpong.c:
401 * examples/plugins/.cvsignore:
402 * examples/plugins/Makefile.am:
403 * examples/plugins/example.c:
404 * examples/plugins/example.h:
405 * examples/pwg/.cvsignore:
406 * examples/pwg/Makefile.am:
407 * examples/pwg/extract.pl:
408 * examples/queue/.cvsignore:
409 * examples/queue/Makefile.am:
410 * examples/queue/queue.c:
411 * examples/queue2/.cvsignore:
412 * examples/queue2/Makefile.am:
413 * examples/queue2/queue2.c:
414 * examples/queue3/.cvsignore:
415 * examples/queue3/Makefile.am:
416 * examples/queue3/queue3.c:
417 * examples/queue4/.cvsignore:
418 * examples/queue4/Makefile.am:
419 * examples/queue4/queue4.c:
420 * examples/retag/.cvsignore:
421 * examples/retag/Makefile.am:
422 * examples/retag/retag.c:
423 * examples/retag/transcode.c:
424 * examples/thread/.cvsignore:
425 * examples/thread/Makefile.am:
426 * examples/thread/thread.c:
427 * examples/typefind/.cvsignore:
428 * examples/typefind/Makefile.am:
429 * examples/typefind/typefind.c:
430 * examples/xml/.cvsignore:
431 * examples/xml/Makefile.am:
432 * examples/xml/createxml.c:
433 * examples/xml/runxml.c:
435 * tests/check/Makefile.am:
436 * testsuite/.cvsignore:
437 * testsuite/Makefile.am:
439 * testsuite/caps/.cvsignore:
440 * testsuite/caps/Makefile.am:
441 * testsuite/caps/app_fixate.c:
442 * testsuite/caps/audioscale.c:
443 * testsuite/caps/caps.c:
444 * testsuite/caps/caps.h:
445 * testsuite/caps/caps_strings:
446 * testsuite/caps/compatibility.c:
447 * testsuite/caps/deserialize.c:
448 * testsuite/caps/enumcaps.c:
449 * testsuite/caps/eratosthenes.c:
450 * testsuite/caps/filtercaps.c:
451 * testsuite/caps/fixed.c:
452 * testsuite/caps/fraction-convert.c:
453 * testsuite/caps/fraction-multiply-and-zero.c:
454 * testsuite/caps/intersect2.c:
455 * testsuite/caps/intersection.c:
456 * testsuite/caps/normalisation.c:
457 * testsuite/caps/random.c:
458 * testsuite/caps/renegotiate.c:
459 * testsuite/caps/sets.c:
460 * testsuite/caps/simplify.c:
461 * testsuite/caps/string-conversions.c:
462 * testsuite/caps/structure.c:
463 * testsuite/caps/subtract.c:
464 * testsuite/caps/union.c:
465 * testsuite/debug/.cvsignore:
466 * testsuite/debug/Makefile.am:
467 * testsuite/debug/category.c:
468 * testsuite/debug/commandline.c:
469 * testsuite/debug/global.c:
470 * testsuite/debug/output.c:
471 * testsuite/debug/printf_extension.c:
472 * testsuite/dlopen/.cvsignore:
473 * testsuite/dlopen/Makefile.am:
474 * testsuite/dlopen/dlopen_gst.c:
475 * testsuite/dlopen/loadgst.c:
476 * testsuite/elements/.cvsignore:
477 * testsuite/elements/Makefile.am:
478 * testsuite/elements/gst-inspect-check.in:
479 * testsuite/elements/struct_i386.h:
480 * testsuite/elements/struct_size.c:
481 * testsuite/indexers/.cvsignore:
482 * testsuite/indexers/Makefile.am:
483 * testsuite/indexers/cache1.c:
484 * testsuite/indexers/indexdump.c:
485 * testsuite/parse/.cvsignore:
486 * testsuite/parse/Makefile.am:
487 * testsuite/parse/parse1.c:
488 * testsuite/parse/parse2.c:
489 * testsuite/plugin/.cvsignore:
490 * testsuite/plugin/Makefile.am:
491 * testsuite/plugin/README:
492 * testsuite/plugin/dynamic.c:
493 * testsuite/plugin/linked.c:
494 * testsuite/plugin/loading.c:
495 * testsuite/plugin/registry.c:
496 * testsuite/plugin/static.c:
497 * testsuite/plugin/static2.c:
498 * testsuite/plugin/testplugin.c:
499 * testsuite/plugin/testplugin2.c:
500 * testsuite/plugin/testplugin2_s.c:
501 * testsuite/plugin/testplugin_s.c:
502 * testsuite/refcounting/.cvsignore:
503 * testsuite/refcounting/Makefile.am:
504 * testsuite/refcounting/bin.c:
505 * testsuite/refcounting/element.c:
506 * testsuite/refcounting/element_pad.c:
507 * testsuite/refcounting/mainloop.c:
508 * testsuite/refcounting/mem.c:
509 * testsuite/refcounting/mem.h:
510 * testsuite/refcounting/object.c:
511 * testsuite/refcounting/pad.c:
512 * testsuite/refcounting/sched.c:
513 * testsuite/refcounting/thread.c:
514 * testsuite/states/.cvsignore:
515 * testsuite/states/Makefile.am:
516 * testsuite/states/bin.c:
517 * testsuite/states/locked.c:
518 * testsuite/states/parent.c:
519 * testsuite/threads/.cvsignore:
520 * testsuite/threads/159566.c:
521 * testsuite/threads/159852.c:
522 * testsuite/threads/Makefile.am:
523 * testsuite/threads/queue.c:
524 * testsuite/threads/signals.c:
525 * testsuite/threads/staticrec.c:
526 * testsuite/threads/thread.c:
527 * testsuite/threads/threadb.c:
528 * testsuite/threads/threadc.c:
529 * testsuite/threads/threadd.c:
530 * testsuite/threads/threade.c:
531 * testsuite/threads/threadf.c:
532 * testsuite/threads/threadg.c:
533 * testsuite/threads/threadh.c:
534 * testsuite/threads/threadi.c:
535 move all of these under tests
537 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
543 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
545 * docs/gst/gstreamer-sections.txt:
546 * tests/sched/.cvsignore:
547 * tests/sched/Makefile.am:
548 * tests/sched/cases/(fs-fs).xml:
549 * tests/sched/cases/(fs-i-fs).xml:
550 * tests/sched/cases/(fs-i-i-fs).xml:
551 * tests/sched/cases/(fs-i-q[i-fs]).xml:
552 * tests/sched/dynamic-pipeline.c:
553 * tests/sched/interrupt1.c:
554 * tests/sched/interrupt2.c:
555 * tests/sched/interrupt3.c:
556 * tests/sched/runtestcases:
557 * tests/sched/runxml.c:
558 * tests/sched/sched-stress.c:
559 * tests/sched/sort.c:
560 * tests/sched/testcases:
561 * tests/sched/testcases1.tc:
562 * tests/seeking/.cvsignore:
563 * tests/seeking/Makefile.am:
564 * tests/seeking/seeking1.c:
565 * tests/threadstate/.cvsignore:
566 * tests/threadstate/Makefile.am:
567 * tests/threadstate/test1.c:
568 * tests/threadstate/test2.c:
569 * tests/threadstate/threadstate1.c:
570 * tests/threadstate/threadstate2.c:
571 * tests/threadstate/threadstate3.c:
572 * tests/threadstate/threadstate4.c:
573 * tests/threadstate/threadstate5.c:
574 remove obsolete tests
576 * tests/bench-complexity.scm:
577 * tests/bench-mass_elements.scm:
578 * tests/complexity.c:
579 * tests/complexity.gnuplot:
580 * tests/instantiate/.cvsignore:
581 * tests/instantiate/Makefile.am:
582 * tests/instantiate/caps.c:
583 * tests/mass_elements.c:
584 * tests/network-clock-utils.scm:
585 * tests/network-clock.scm:
587 First pass at cleaning up tests/ dir before moving the rest
588 Combined with CVS surgery
590 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
593 queue has moved, update
595 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
597 * docs/gst/gstreamer-sections.txt:
598 remove double entries from the docs
600 * gst/gstinfo.c: (_gst_debug_init):
601 remove the THREAD debug category
605 * docs/gst/gstreamer.types:
606 * plugins/elements/gstqueue.c: (gst_queue_get_type),
607 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
608 completely move queue and fix up debugging categories
610 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
612 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
613 make initialization portable, using LL is not
615 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
617 * win32/common/gstconfig.h:
620 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
622 * win32/common/libgstreamer.def:
623 rename symbols; sort base section
625 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
627 * gst/gstclock.c: (do_linear_regression):
628 remove crack non-portable handrolled DEBUG macro
630 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
632 * docs/random/release:
634 * win32/common/gstenumtypes.c: (register_gst_object_flags),
635 (gst_object_flags_get_type), (register_gst_bin_flags),
636 (gst_bin_flags_get_type), (register_gst_buffer_flag),
637 (gst_buffer_flag_get_type), (register_gst_bus_flags),
638 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
639 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
640 (gst_caps_flags_get_type), (register_gst_clock_return),
641 (gst_clock_return_get_type), (register_gst_clock_entry_type),
642 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
643 (gst_clock_flags_get_type), (register_gst_state),
644 (gst_state_get_type), (register_gst_state_change_return),
645 (gst_state_change_return_get_type), (register_gst_state_change),
646 (gst_state_change_get_type), (register_gst_element_flags),
647 (gst_element_flags_get_type), (register_gst_core_error),
648 (gst_core_error_get_type), (register_gst_library_error),
649 (gst_library_error_get_type), (register_gst_resource_error),
650 (gst_resource_error_get_type), (register_gst_stream_error),
651 (gst_stream_error_get_type), (register_gst_event_type_flags),
652 (gst_event_type_flags_get_type), (register_gst_event_type),
653 (gst_event_type_get_type), (register_gst_seek_type),
654 (gst_seek_type_get_type), (register_gst_seek_flags),
655 (gst_seek_flags_get_type), (register_gst_format),
656 (gst_format_get_type), (register_gst_index_certainty),
657 (gst_index_certainty_get_type), (register_gst_index_entry_type),
658 (gst_index_entry_type_get_type),
659 (register_gst_index_lookup_method),
660 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
661 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
662 (gst_index_resolver_method_get_type), (register_gst_index_flags),
663 (gst_index_flags_get_type), (register_gst_debug_level),
664 (gst_debug_level_get_type), (register_gst_debug_color_flags),
665 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
666 (gst_iterator_result_get_type), (register_gst_iterator_item),
667 (gst_iterator_item_get_type), (register_gst_message_type),
668 (gst_message_type_get_type), (register_gst_mini_object_flags),
669 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
670 (gst_pad_link_return_get_type), (register_gst_flow_return),
671 (gst_flow_return_get_type), (register_gst_activate_mode),
672 (gst_activate_mode_get_type), (register_gst_pad_direction),
673 (gst_pad_direction_get_type), (register_gst_pad_flags),
674 (gst_pad_flags_get_type), (register_gst_pad_presence),
675 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
676 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
677 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
678 (gst_plugin_error_get_type), (register_gst_plugin_flags),
679 (gst_plugin_flags_get_type), (register_gst_rank),
680 (gst_rank_get_type), (register_gst_query_type),
681 (gst_query_type_get_type), (register_gst_tag_merge_mode),
682 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
683 (gst_tag_flag_get_type), (register_gst_task_state),
684 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
685 (gst_alloc_trace_flags_get_type),
686 (register_gst_type_find_probability),
687 (gst_type_find_probability_get_type), (register_gst_uri_type),
688 (gst_uri_type_get_type), (register_gst_parse_error),
689 (gst_parse_error_get_type):
690 * win32/common/gstenumtypes.h:
691 * win32/common/gstversion.h:
692 update visual studio generated files
694 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
696 * win32/vs6/libgstbase.dsp:
697 * win32/vs6/libgstelements.dsp:
698 update project files for new locations
700 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
710 * docs/random/LICENSE:
713 2005-11-30 Edward Hervey <edward@fluendo.com>
715 * gst/gsttypefind.c: (gst_type_find_register):
717 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
718 (gst_type_find_factory_dispose):
719 * gst/gsttypefindfactory.h:
720 Fix memory leak in GstTypeFindFactory.
722 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
725 * plugins/elements/Makefile.am:
726 * plugins/elements/gstelements.c:
727 * plugins/elements/gstqueue.c:
728 move queue from core to the elements plugin
730 2005-11-29 Andy Wingo <wingo@pobox.com>
732 * libs/gst/base/gstbasetransform.h:
733 * libs/gst/base/gstbasesrc.h:
734 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
736 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
737 of pointers by which to pad very extensible base classes (like the
738 ones in libs/gst/base).
740 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
742 * docs/gst/gstreamer-docs.sgml:
743 * docs/gst/gstreamer-sections.txt:
744 * docs/libs/gstreamer-libs-docs.sgml:
745 * docs/libs/gstreamer-libs-sections.txt:
746 moving documentation from core to lib
748 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
752 * docs/gst/Makefile.am:
754 * gst/base/.cvsignore:
755 * gst/base/Makefile.am:
757 * gst/base/gstadapter.c:
758 * gst/base/gstadapter.h:
759 * gst/base/gstbasesink.c:
760 * gst/base/gstbasesink.h:
761 * gst/base/gstbasesrc.c:
762 * gst/base/gstbasesrc.h:
763 * gst/base/gstbasetransform.c:
764 * gst/base/gstbasetransform.h:
765 * gst/base/gstcollectpads.c:
766 * gst/base/gstcollectpads.h:
767 * gst/base/gstpushsrc.c:
768 * gst/base/gstpushsrc.h:
769 * gst/base/gsttypefindhelper.c:
770 * gst/base/gsttypefindhelper.h:
771 * gst/check/Makefile.am:
772 * gst/check/gstcheck.c:
773 * gst/check/gstcheck.h:
774 * gst/net/Makefile.am:
776 * gst/net/gstnetclientclock.c:
777 * gst/net/gstnetclientclock.h:
778 * gst/net/gstnettimepacket.c:
779 * gst/net/gstnettimepacket.h:
780 * gst/net/gstnettimeprovider.c:
781 * gst/net/gstnettimeprovider.h:
782 * libs/gst/Makefile.am:
783 * libs/gst/base/Makefile.am:
784 * libs/gst/base/gstbasetransform.c:
785 * libs/gst/check/Makefile.am:
786 * plugins/elements/Makefile.am:
788 CVS surgery + support to move base, check, and net out of gst
791 2005-11-29 Andy Wingo <wingo@pobox.com>
793 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
795 * gst/gststructure.h (struct _GstStructure): Only one pointer of
798 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
800 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
802 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
804 * gst/gstobject.h: (struct _GstObject): Only one pointer of
805 padding; reduces object size by about 30%. We don't expect
806 anything else to go into gstobject.
808 * gst/gstminiobject.h (struct _GstMiniObject)
809 (struct _GstMiniObjectClass): Only one pointer of padding; the
810 payload is only a pointer and two ints anyway. For the class there
811 are only two methods as well.
813 * gst/gstelement.h (struct _GstElementClass): Removed
814 the state_changed signal callback, it is not used.
816 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
818 * docs/gst/gstreamer.types:
819 fix includes, though they are a little dinky
821 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
824 look in the right place for elements, a lot more chance of
827 remove indexers and elements subdirs
828 * plugins/Makefile.am:
829 make indexers conditional
831 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
835 * plugins/elements/Makefile.am:
836 * plugins/elements/gstcapsfilter.c:
837 * plugins/elements/gstfilesink.c:
838 * plugins/elements/gstfilesrc.c:
839 * plugins/elements/gstidentity.c:
840 * plugins/indexers/Makefile.am:
841 do CVS surgery and related build fixery to move elements
842 and indexers in a new gstreamer/plugins directory, out of the
845 2005-11-29 Andy Wingo <wingo@pobox.com>
848 * pkgconfig/gstreamer-net-uninstalled.pc.in:
849 * pkgconfig/gstreamer-net.pc.in:
850 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
853 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
856 * tools/gst-complete.1.in:
857 * tools/gst-complete.c:
858 * tools/gst-compprep.1.in:
859 * tools/gst-compprep.c:
860 removing -compprep and -complete
862 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
864 * gst/gstevent.c: (gst_event_new_new_segment),
865 (gst_event_parse_new_segment):
867 fix #320529 - clean up new_segment API and structure.
868 Let's hope everyone was using the methods, and not the structure.
870 2005-11-29 Edward Hervey <edward@fluendo.com>
872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
873 (gst_base_sink_event), (gst_base_sink_do_sync),
874 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
875 Properly handle non GST_FORMAT_TIME segment
876 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
877 Properly handle non GST_FORMAT_TIME segment
879 This function is valid if the accumulator is 0 and the format
880 is different from the requested format.
882 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
884 * docs/gst/gstreamer-sections.txt:
885 Add gst_query_new_seeking and gst_query_parse_seeking to the
888 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
890 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
891 Treat a pad alloc with new caps the same as if we were not
892 negotiated, in order to allow a changing upstream output
893 to produce a new format of data.
895 2005-11-29 Edward Hervey <edward@fluendo.com>
897 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
898 (gst_base_transform_event), (gst_base_transform_eventfunc):
899 The event virtual method is now properly implemented, with a default
901 Sub classes should call the parent_class event method. They should
902 return FALSE if they had a problem handling the given event, or don't
903 want GstBaseTransform to send that even downstream
904 * gst/elements/gstidentity.c: (gst_identity_class_init),
905 (gst_identity_init), (gst_identity_event),
906 (gst_identity_transform_ip), (gst_identity_set_property),
907 (gst_identity_get_property):
908 * gst/elements/gstidentity.h:
909 Added the single-segment boolean property.
910 If set to TRUE, it will output a single segment of data, starting from
911 0, will eat up all incoming newsegment, and modify the timestamp of the
914 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
916 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
917 Don't ref NULL target pad (#322751). Improve docs.
919 2005-11-29 Michael Smith <msmith@fluendo.com>
921 * gst/gstregistryxml.c: (load_plugin):
922 Don't crash if we failed to load a feature from a plugin.
924 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
926 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
928 use more check API and less GLib API
930 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
933 don't run checks if we don't have check
935 remove the registry when running make torture
936 * docs/gst/gstreamer-sections.txt:
937 remove second multiply
938 * gst/gstqueue.c: (gst_queue_loop):
939 fix a compile warning when disabling debug
941 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
944 Hey! Let's print the pad name if the pointer != NULL instead
945 of when it == NULL :-)
947 2005-11-28 Wim Taymans <wim@fluendo.com>
949 * check/gst/gstutils.c: (GST_START_TEST):
950 Updated check, add some scaling accuracy checking code.
952 * gst/gstutils.c: (gst_util_div128_64),
953 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
954 (gst_util_uint64_scale_int):
955 Fix 6 times faster division code. Optimize for common
956 1/1 and less common X/1 cases.
958 2005-11-28 Wim Taymans <wim@fluendo.com>
960 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
963 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
964 (do_linear_regression), (gst_clock_add_observation):
966 Release lock when the clock cannot be slaved.
967 Catch the case where the regression returned an invalid denominator.
969 * gst/gstutils.c: (gst_util_div128_64_iterate),
970 (gst_util_div128_64), (gst_util_uint64_scale_int64),
971 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
972 Add protentially more performant non-iterative 128/64 divide function
973 that unfortunatly does not work yet.
974 Shortcut the trivial 0/X = 0 case.
975 Remove the warnings on overflow.
977 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
979 * gst/gstplugin.c: (gst_plugin_register_func):
980 everything causing a plugin not to load should be at least a WARNING
982 2005-11-28 Stefan Kost <ensonic@users.sf.net>
984 * docs/random/ensonic/dparams.txt:
985 some TODOs for the next dev cycle
986 * libs/gst/controller/gstcontroller.c:
987 (gst_controlled_property_set_interpolation_mode),
988 (gst_controlled_property_new):
989 * libs/gst/controller/gstcontroller.h:
990 use base type to assign acccessor functions
992 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
995 Oops, that should have been top_srcdir
997 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1000 * check/elements/fdsrc.c: (GST_START_TEST):
1001 Use a cmdline define to specify the location of a file to use for
1002 testing, to avoid breaking distcheck.
1004 2005-11-28 Andy Wingo <wingo@pobox.com>
1006 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1008 2005-11-28 Edward Hervey <edward@fluendo.com>
1010 * tools/gst-launch.c: (main):
1011 Clarify the output strings, makes it easier to translate.
1014 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1017 don't try and build net if we don't even have <sys/socket.h>
1019 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1021 * check/Makefile.am:
1022 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1023 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1024 Add tests for fdsrc seekability
1026 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1027 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1028 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1029 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1030 * gst/elements/gstfdsrc.h:
1031 fdsrc should not be a 'live' source.
1032 Implement seeking on seekable fd's.
1034 * gst/gstquery.c: (gst_query_new_seeking),
1035 (gst_query_parse_seeking):
1037 Implement SEEKING query functions:
1038 *_new_seeking and *_parse_seeking
1040 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1042 * gst/gstelement.c: (gst_element_dispose):
1045 * gst/gstiterator.c:
1046 * gst/gststructure.c:
1049 * libs/gst/controller/gstcontroller.c:
1050 (gst_controlled_property_set_interpolation_mode):
1051 * libs/gst/controller/gstcontroller.h:
1052 * libs/gst/controller/gstinterpolation.c:
1053 (interpolate_none_get_enum_value_array):
1054 support controlling enums
1056 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1059 Improve documentation for gst_value_union().
1062 Change return value for union, intersect and subtract functions
1063 from gint to gboolean.
1065 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1067 * gst/gstvalue.c: (gst_value_serialize_any_list),
1068 (gst_value_transform_any_list_string),
1069 (gst_value_deserialize_list), (gst_value_deserialize_array),
1070 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1071 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1072 (gst_value_set_fraction_range_full),
1073 (gst_value_deserialize_fraction_range),
1074 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1075 (gst_value_deserialize_boolean),
1076 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1077 (gst_value_serialize_float), (gst_value_deserialize_float),
1078 (gst_string_wrap), (gst_value_deserialize_string),
1079 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1080 (gst_value_union_int_range_int_range),
1081 (gst_value_intersect_int_range_int_range),
1082 (gst_value_intersect_double_range_double_range),
1083 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1084 (gst_value_subtract_int_range_int_range),
1085 (gst_value_subtract_double_double_range),
1086 (gst_value_subtract_double_range_double_range),
1087 (gst_value_deserialize_fraction):
1089 Use gint, gdouble and gchar in our API instead of int, double and
1090 char (and make usage in gstvalue.c more consistent).
1092 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1094 * check/Makefile.am:
1095 * libs/gst/controller/Makefile.am:
1096 * libs/gst/dataprotocol/Makefile.am:
1097 fix up Makefile.am and remove GST_ENABLE_NEW
1099 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1103 * gst/base/Makefile.am:
1104 * gst/check/Makefile.am:
1105 * gst/elements/Makefile.am:
1106 * gst/net/Makefile.am:
1107 update LDFLAGS use some more
1109 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1111 * common/m4/gst-doc.m4:
1114 2005-11-26 Edward Hervey <edward@fluendo.com>
1116 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1117 This shouldn't issue a g_warning since it returns NULL if it
1118 couldn't find the plugin, and all functions using this behave
1119 properly on a NULL return. Switching to a GST_WARNING.
1121 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1123 * gst/gstbin.c: (gst_bin_handle_message_func):
1124 Don't leak clock messages.
1126 2005-11-25 Wim Taymans <wim@fluendo.com>
1128 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1129 (gst_util_uint64_scale_int):
1130 Optimisations, remove unneeded vars.
1132 2005-11-25 Wim Taymans <wim@fluendo.com>
1134 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1135 Added more checks for the high precision uint64 cases.
1137 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1138 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1139 Implement high precision (guint64 * guint64) / guint64.
1141 2005-11-24 Wim Taymans <wim@fluendo.com>
1143 * gst/base/gstbasesrc.c: (gst_base_src_query):
1144 Fix wrong percentage query.
1146 * gst/gstutils.c: (gst_util_uint64_scale),
1147 (gst_util_uint64_scale_int):
1148 Add some more common cases that can be handled
1149 efficiently to _scale.
1151 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1153 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1154 (gst_mini_object_suite):
1155 don't use check calls from threads; check probably isn't
1156 threadsafe and using a lock to make it threadsafe would
1157 defeat the purpose of this check
1158 * gst/check/gstcheck.c:
1159 * gst/check/gstcheck.h:
1160 use GST_DEBUG some more
1162 2005-11-24 Wim Taymans <wim@fluendo.com>
1164 * gst/gstutils.c: (gst_util_uint64_scale),
1165 (gst_util_uint64_scale_int):
1166 Chain trivial case to _scale_int.
1168 2005-11-24 Wim Taymans <wim@fluendo.com>
1170 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1171 Added test for scaling.
1176 * gst/gstutils.c: (gst_util_uint64_scale_int):
1177 Implemented high precision scaling code.
1179 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1182 do not crash on pad==NULL
1184 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1186 Patch by: Stefan Kost
1188 * common/gtk-doc.mak:
1189 * docs/gst/Makefile.am:
1190 * docs/libs/Makefile.am:
1191 Fix distcheck issues for the libraries docs build
1194 2005-11-24 Michael Smith <msmith@fluendo.com>
1196 * docs/manual/basics-helloworld.xml:
1197 Fix bug #315027: memory leak in example code in docs.
1199 2005-11-24 Michael Smith <msmith@fluendo.com>
1201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1202 Unlock the PREROLL_LOCK in a failure case.
1204 2005-11-24 Wim Taymans <wim@fluendo.com>
1206 * docs/gst/gstreamer-sections.txt:
1207 * gst/base/gstadapter.h:
1208 * gst/base/gstbasesink.h:
1209 * gst/base/gstbasesrc.h:
1210 * gst/base/gstbasetransform.h:
1211 * gst/base/gstpushsrc.h:
1212 * gst/elements/gstfakesink.h:
1213 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1214 * gst/elements/gstfakesrc.h:
1215 * gst/elements/gstfilesink.h:
1216 * gst/elements/gstfilesrc.h:
1219 * gst/gstbuffer.c: (_gst_buffer_copy):
1222 * gst/gstchildproxy.c:
1225 * gst/gstelementfactory.c:
1226 * gst/gstelementfactory.h:
1228 * gst/gstghostpad.h:
1230 * gst/gstinterface.h:
1231 * gst/gstminiobject.c:
1232 * gst/gstminiobject.h:
1235 * gst/gstpadtemplate.h:
1236 * gst/gstpipeline.h:
1237 * gst/gstpluginfeature.h:
1242 * gst/gsttagsetter.c:
1243 * gst/gsttagsetter.h:
1246 * gst/gsttypefind.h:
1249 * gst/net/gstnetclientclock.c:
1250 * gst/net/gstnetclientclock.h:
1251 * gst/net/gstnettimepacket.c:
1252 * gst/net/gstnettimeprovider.c:
1253 * gst/net/gstnettimeprovider.h:
1256 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1258 * configure.ac: back to HEAD
1260 === release 0.9.6 ===
1262 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1265 releasing 0.9.6, "Always On Time"
1267 2005-11-23 Wim Taymans <wim@fluendo.com>
1269 * docs/gst/gstreamer-sections.txt:
1270 * gst/glib-compat.c:
1271 * gst/gsttagsetter.c:
1273 * gst/net/gstnetclientclock.c:
1274 * gst/net/gstnettimepacket.h:
1277 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1279 * docs/faq/using.xml:
1280 * docs/libs/tmpl/gstcontrol.sgml:
1281 * docs/manual/advanced-dparams.xml:
1282 * docs/manual/appendix-checklist.xml:
1283 * docs/manual/basics-elements.xml:
1284 * docs/pwg/other-source.xml:
1285 * docs/random/moving-plugins:
1287 * tools/gst-launch.1.in:
1288 remove mentions of sinesrc
1290 2005-11-23 Michael Smith <msmith@fluendo.com>
1292 * docs/gst/gstreamer-sections.txt:
1293 Update for new API and API changes.
1295 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1297 Documentation typo fix.
1298 * gst/net/gstnettimepacket.c:
1299 Documentation fixes for arguments.
1301 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1303 * gst/gststructure.c: (gst_structure_get_fraction),
1304 (gst_structure_parse_value),
1305 (gst_structure_fixate_field_nearest_fraction):
1306 * gst/gststructure.h:
1307 * gst/gstutils.c: (gst_util_uint64_scale_int):
1309 * scripts/update-funcnames:
1311 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1312 Make gst_structure_fixate_field_nearest_fraction take a numerator
1313 and denominator argument instead of a GValue
1314 add gst_structure_get_fraction helper function.
1316 2005-11-23 Wim Taymans <wim@fluendo.com>
1318 * docs/design/part-TODO.txt:
1321 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1322 * gst/net/gstnetclientclock.h:
1323 Use parent fields for timeout and window_size.
1325 2005-11-23 Andy Wingo <wingo@pobox.com>
1327 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1328 rate_num/rate_denom change.
1330 * gst/net/gstnetclientclock.c
1331 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1332 OBJECT_LOCK. Don't call add_observation with the lock.
1334 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1336 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1338 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1339 deal with rate as a fraction whose numerator and denominator are
1340 GstClockTime values.
1341 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1342 master; the other fields are protected by the SLAVE_LOCK.
1343 (do_linear_regression): Note that this must be called with the
1345 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1346 OBJECT_LOCK. Call set_calibration instead of touching the
1348 (gst_clock_set_property, gst_clock_get_property): Protect
1349 master/slave parameters with the SLAVE_LOCK.
1351 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1352 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1353 note that all of the instance variables that add_observation and
1354 the set_master functions use are protected by that lock and not
1356 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1358 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1359 the caller to take the object lock.
1361 2005-11-23 Wim Taymans <wim@fluendo.com>
1363 * gst/gsterror.c: (_gst_core_errors_init):
1365 Add error for clock stuff.
1367 * gst/gstpipeline.c: (gst_pipeline_change_state),
1368 (gst_pipeline_set_clock):
1369 Post clock error when clock cannot be used in a pipeline.
1371 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1373 * docs/gst/gstreamer-sections.txt:
1374 make two symbols from gstinfo private for the docs
1375 * gst/base/gstcollectpads.h:
1377 fix doc typos, update docs
1379 2005-11-22 Wim Taymans <wim@fluendo.com>
1381 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1382 (gst_base_sink_wait), (gst_base_sink_do_sync),
1383 (gst_base_sink_handle_event):
1384 * gst/base/gstbasesink.h:
1385 No need to store the clock, the parent element class already
1388 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1389 Updates for clock_set returning a gboolean
1391 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1392 (gst_clock_id_wait_async), (gst_clock_class_init),
1393 (gst_clock_init), (gst_clock_finalize),
1394 (gst_clock_get_internal_time), (gst_clock_get_time),
1395 (gst_clock_slave_callback), (gst_clock_set_master),
1396 (gst_clock_get_master), (do_linear_regression),
1397 (gst_clock_add_observation), (gst_clock_set_property),
1398 (gst_clock_get_property):
1400 Implement master/slave. When setting a clock as a slave, a
1401 periodic timeout is scheduled to sample master and slave times.
1402 Then the slave clock is recalibrated to match offset and rate
1403 of the master clock.
1404 Update logging a bit.
1405 Add flag so that a clock can state that is cannot be slaved to
1408 * gst/gstelement.c: (gst_element_set_clock):
1410 The set clock returns a gboolean for when an element cannot
1411 deal with the selected clock in the pipeline.
1413 * gst/gstpipeline.c: (gst_pipeline_change_state),
1414 (gst_pipeline_set_clock):
1415 * gst/gstpipeline.h:
1416 Handle the case where the selected clock cannot be set on
1419 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1420 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1421 (gst_net_client_clock_set_property),
1422 (gst_net_client_clock_get_property),
1423 (gst_net_client_clock_observe_times):
1424 * gst/net/gstnetclientclock.h:
1425 Use regression code in GstClock parent, remove duplicated
1428 2005-11-22 Michael Smith <msmith@fluendo.com>
1430 * gst/gstutils.c: (gst_util_clock_time_scale):
1432 * docs/gst/gstreamer-sections.txt:
1433 Rename method to have extra underscore.
1435 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1437 * gst/elements/Makefile.am:
1438 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1439 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1440 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1441 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1442 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1443 * gst/elements/gstfakesrc.h:
1444 * gst/gstqueue.c: (queue_leaky_get_type):
1445 correctly fix GEnumValues so that nick is the short lowercase
1447 * tools/gst-inspect.c: (print_element_properties_info):
1448 also show the nick, since it's useful to use from parse_launch
1452 2005-11-22 Michael Smith <msmith@fluendo.com>
1454 * gst/gstutils.c: (gst_util_clocktime_scale):
1456 * docs/gst/gstreamer-sections.txt:
1457 Add util method for scaling a clocktime by a fraction. Useful
1458 implementation is left as an exercise for the reader.
1460 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1462 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1463 If needed, allocate storage in the destination value during
1466 2005-11-22 Edward Hervey <edward@fluendo.com>
1468 * docs/gst/gstreamer-sections.txt:
1473 * gst/gstutils.c: (gst_util_set_object_arg):
1474 * tools/gst-compprep.c: (main):
1475 * tools/gst-inspect.c: (print_element_properties_info):
1476 Removed GstURI, closes bug #321061
1478 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1480 * check/gst/gststructure.c: (GST_START_TEST):
1481 * gst/gststructure.c: (gst_structure_parse_value):
1482 Oops, broke automatic string type parsing.
1483 Add a test to catch it in future.
1485 2005-11-22 Andy Wingo <wingo@pobox.com>
1487 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1488 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1489 Actually rename the function implementations. Grr.
1491 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1493 * check/gst/capslist.h:
1495 * check/gst/gststructure.c: (GST_START_TEST),
1496 (gst_structure_suite):
1497 Test automatic value type detection in gst_structure_from_string.
1498 * gst/gststructure.c: (gst_structure_parse_value):
1499 Add fraction as a type we try and guess automatically in
1500 caps/structure strings.
1502 2005-11-22 Andy Wingo <wingo@pobox.com>
1504 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1506 * gst/gsttagsetter.h:
1507 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1508 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1509 (gst_tag_setter_add_tag_valist)
1510 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1511 _add_values, _add_valist, and _add_valist_values. Since this is an
1512 interface the function suffixes should be more explicit so
1513 language binding don't end up with element.add_valist ->
1514 gst_tag_setter_add_valist, for example. Fixes #322069.
1516 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1518 * check/gst/gstcaps.c: (GST_START_TEST):
1519 Extend caps string tests to check that a caps to string
1520 conversion is reversible and produces the same caps.
1522 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1523 Output "fraction" as the generic type fraction range, so caps
1524 serialisation and deserialisation works.
1525 * check/gst/capslist.h:
1526 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1527 Support 'MIN' and 'MAX' for deserialising fractions.
1529 2005-11-22 Andy Wingo <wingo@pobox.com>
1531 * gst/gstevent.h (gst_event_new_new_segment)
1532 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1533 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1534 Renamed from *_newsegment, *_buffersize, *_notarget.
1536 * scripts/update-funcnames: New script, performs the changes
1539 2005-11-22 Wim Taymans <wim@fluendo.com>
1541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1542 Make sure the GstFlowReturn is returned.
1544 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1545 (gst_bus_add_signal_watch):
1547 add gst_bus_add_signal_watch_full.
1549 * gst/gstplugin.c: (gst_plugin_load_file):
1550 Small style cleanup.
1552 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1554 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1555 Block the fakesrc srcpad when we send an event, to avoid
1556 contention on the stream_lock causing random test failures.
1558 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1560 * check/gst/gstvalue.c: (GST_START_TEST):
1561 * gst/gstvalue.c: (gst_value_fraction_subtract):
1564 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1567 include "gstchildproxy.h"
1568 * gst/gstchildproxy.h:
1569 * libs/gst/controller/gstcontroller.h:
1570 use G_GNUC_NULL_TERMINATED
1572 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1574 * check/gst/capslist.h:
1575 * check/gst/gstcaps.c: (GST_START_TEST):
1576 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1577 * gst/gststructure.c: (gst_structure_parse_range),
1578 (gst_structure_fixate_field_nearest_fraction):
1579 * gst/gststructure.h:
1580 * gst/gstvalue.c: (gst_value_init_fraction_range),
1581 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1582 (gst_value_collect_fraction_range),
1583 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1584 (gst_value_set_fraction_range_full),
1585 (gst_value_get_fraction_range_min),
1586 (gst_value_get_fraction_range_max),
1587 (gst_value_serialize_fraction_range),
1588 (gst_value_transform_fraction_range_string),
1589 (gst_value_compare_fraction_range),
1590 (gst_value_deserialize_fraction_range),
1591 (gst_value_intersect_fraction_fraction_range),
1592 (gst_value_intersect_fraction_range_fraction_range),
1593 (gst_value_subtract_fraction_fraction_range),
1594 (gst_value_subtract_fraction_range_fraction),
1595 (gst_value_subtract_fraction_range_fraction_range),
1596 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1597 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1598 (gst_value_transform_string_fraction), (_gst_value_initialize):
1600 Implement fraction ranges and extend GstFraction to support
1601 arithmetic subtraction, as well as deserialization from integer
1602 strings such as "100"
1603 Add a testsuite as for int and double range set operations
1605 2005-11-21 Andy Wingo <wingo@pobox.com>
1609 * gst/gststructure.h: Add glib-compat.h.
1611 2005-11-21 Wim Taymans <wim@fluendo.com>
1613 * gst/gstbin.c: (gst_bin_change_state_func):
1616 2005-11-21 Wim Taymans <wim@fluendo.com>
1619 And add a nice define too.
1621 2005-11-21 Wim Taymans <wim@fluendo.com>
1623 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1624 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1625 (gst_segment_set_duration), (gst_segment_set_last_stop),
1626 (gst_segment_set_seek), (gst_segment_set_newsegment),
1627 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1630 Make binding friendly.
1632 2005-11-21 Andy Wingo <wingo@pobox.com>
1634 * gst/gsttagsetter.h:
1636 * gst/gststructure.h:
1638 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1641 * gst/gsterror.c (_gst_core_errors_init):
1642 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1645 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1646 (noinst_HEADERS): noinst the -private.
1648 2005-11-21 Michael Smith <msmith@fluendo.com>
1651 * gst/gstregistry.h:
1652 Remove unimplemented declarations for which we can see no sensible
1655 2005-11-21 Andy Wingo <wingo@pobox.com>
1657 * gst/gst.h: Include glib-compat.h.
1659 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1661 * gst/glib-compat.c: Include the public and the private header.
1663 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1667 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1669 * check/gst/gstevent.c (create_custom_events): Check that
1670 FLUSH_STOP is serialized.
1672 * check/elements/identity.c (event_func):
1673 * check/elements/fakesrc.c (event_func): No stream lock, the core
1676 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1677 stream lock taking, yay.
1679 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1680 ensure that core takes the stream lock.
1682 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1685 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1686 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1687 it already. For the flush start we do take it though so we get the
1688 right preroll state change messages.
1690 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1691 the stream lock here, the core does it for us.
1693 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1694 GST_STREAM_GET_LOCK.
1695 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1696 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1697 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1698 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1699 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1700 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1702 * gst/gstpad.c: Update for stream lock name change.
1704 * gst/base/gstbasesink.c: Update for preroll lock name change.
1706 2005-11-21 Wim Taymans <wim@fluendo.com>
1708 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1709 (gst_clock_get_master):
1711 * gst/gstsystemclock.c: (gst_system_clock_init):
1712 Convert Clock flags to object flags.
1713 Added methods to manage master/slave clocks.
1715 2005-11-21 Wim Taymans <wim@fluendo.com>
1717 * check/gst/gstsegment.c: (GST_START_TEST):
1718 * docs/design/part-TODO.txt:
1719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1720 (gst_base_sink_event), (gst_base_sink_do_sync),
1721 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1722 (gst_base_sink_query), (gst_base_sink_change_state):
1723 * gst/base/gstbasesink.h:
1724 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1725 (gst_base_src_default_newsegment),
1726 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1727 (gst_base_src_get_range), (gst_base_src_loop),
1728 (gst_base_src_change_state):
1729 * gst/base/gstbasesrc.h:
1730 * gst/base/gstbasetransform.c:
1731 (gst_base_transform_prepare_output_buf),
1732 (gst_base_transform_event), (gst_base_transform_change_state):
1733 * gst/base/gstbasetransform.h:
1734 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1735 (gst_collect_pads_event):
1736 * gst/base/gstcollectpads.h:
1737 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1738 (gst_fake_src_create):
1739 * gst/elements/gstfakesrc.h:
1740 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1741 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1742 (gst_segment_set_last_stop), (gst_segment_set_seek),
1743 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1744 (gst_segment_to_running_time), (gst_segment_clip):
1746 More segment updates, replace code in plugins with segment
1749 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1751 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1752 Don't ignore sscanf results
1754 2005-11-21 Andy Wingo <wingo@pobox.com>
1756 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1759 * *.c: Ran scripts/update-macros. Oh yes.
1761 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1762 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1765 * scripts/update-macros: New script. Run it on your files to
1766 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1769 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1771 * docs/gst/Makefile.am:
1772 * docs/gst/gstreamer-docs.sgml:
1773 * docs/gst/gstreamer-sections.txt:
1774 * docs/gst/gstreamer.types:
1776 more docs fixes, add new api to the docs
1778 2005-11-21 Andy Wingo <wingo@pobox.com>
1780 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1781 state_broadcast call.
1783 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1785 2005-11-21 Julien MOUTTE <julien@moutte.net>
1787 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1788 function calls for arrays.
1790 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1792 * docs/random/ensonic/media-device-daemon.txt:
1793 wild idea, can this be done?
1794 * docs/gst/gstreamer-sections.txt:
1799 * gst/gstpluginfeature.c:
1803 doc fixes and additions
1805 2005-11-21 Andy Wingo <wingo@pobox.com>
1807 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1808 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1809 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1810 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1811 private to the basesrc implementation.
1813 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1814 behalf of event function if necessary. It should no longer be
1815 necessary to take the stream lock in pad's event functions. Fixes
1818 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1819 * docs/gst/gstreamer-sections.txt:
1820 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1821 (gst_structure_fixate_field_nearest_double),
1822 (gst_structure_fixate_field_boolean):
1823 * gst/gststructure.h:
1824 * win32/common/libgstreamer.def:
1825 * win32/gstreamer.def:
1827 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1830 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1832 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1833 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1834 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1835 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1836 (gst_fdsrc_uri_handler_init):
1837 * gst/elements/gstfdsrc.h:
1838 Port fd:// URI handler from 0.8 to fdsrc
1840 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1842 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1843 (gst_value_serialize_fourcc):
1845 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1846 consistent with our other format defines (#320324).
1848 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1850 * gst/gstvalue.c: (gst_value_is_fixed):
1851 Revert previous commit. Value lists are by definition
1852 not fixed, as they are a list of possible values.
1854 2005-11-21 Andy Wingo <wingo@pobox.com>
1856 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1857 during the stable series if we need it. Fixes #319178.
1859 * gst/gstevent.c (gst_event_new_filler): Removed.
1861 * check/gst/gstevent.c: Update comment about filler events.
1863 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1865 * gst/gstvalue.c: (gst_value_is_fixed):
1866 Should handle both value arrays and value lists.
1868 2005-11-21 Andy Wingo <wingo@pobox.com>
1870 patch by: Alessandro Dessina <alessandro nnva org>
1872 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1873 functions to access arrays. Fixes #321962.
1875 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1877 * docs/gst/gstreamer.types:
1878 gst_collectpads_get_type => gst_collect_pads_get_type.
1880 * gst/base/gstbasetransform.c:
1881 Remove unused SIGNAL_HANDOFF enum.
1883 2005-11-21 Andy Wingo <wingo@pobox.com>
1885 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1886 the event type (upstream, downstream, serialized). Renamed
1887 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1888 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1889 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1891 * gst/gstevent.c: Update for new CUSTOM event names.
1893 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1896 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1899 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1901 * docs/gst/gstreamer-sections.txt:
1902 * win32/common/libgstbase.def:
1903 * win32/libgstbase.def:
1904 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1905 (gst_collect_pads_class_init), (gst_collect_pads_init),
1906 (gst_collect_pads_finalize), (gst_collect_pads_new),
1907 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1908 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1909 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1910 (gst_collect_pads_start), (gst_collect_pads_stop),
1911 (gst_collect_pads_peek), (gst_collect_pads_pop),
1912 (gst_collect_pads_available), (gst_collect_pads_read),
1913 (gst_collect_pads_flush), (gst_collect_pads_event),
1914 (gst_collect_pads_chain):
1915 * gst/base/gstcollectpads.h:
1916 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1917 unimplemented functions as unimplemented. Add padding to
1918 GstCollectData. (#320766, #320423)
1920 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1923 Improve docs for DURATION message (usage of duration parameter)
1926 2005-11-20 Wim Taymans <wim@fluendo.com>
1928 * check/Makefile.am:
1929 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1933 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1934 (gst_segment_set_seek), (gst_segment_set_newsegment),
1935 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1938 Added segment helper structure and methods. Not fully implemented
1940 Added segment check.
1942 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1944 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1945 Add a deserialisation test for fractions
1946 * examples/metadata/read-metadata.c: (message_loop),
1947 (make_pipeline), (main):
1948 Fix up metadata reading sample.
1949 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1951 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1952 Don't try and fixate empty caps
1953 * gst/gst_private.h:
1954 Wrap in G_BEGIN_DECLS/G_END_DECLS
1955 * gst/gstvalue.c: (gst_value_collect_fraction),
1956 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1957 (gst_value_transform_string_fraction),
1958 (gst_value_compare_fraction):
1959 Add some extra guards to ensure that we don't end up
1960 with an invalid denominator of 0 in a gstfraction and
1961 that fractions always get reduced.
1963 2005-11-20 Wim Taymans <wim@fluendo.com>
1965 * docs/gst/gstreamer-sections.txt:
1976 2005-11-20 Wim Taymans <wim@fluendo.com>
1978 * docs/design/part-TODO.txt:
1980 Make a proper enum of the flag.
1982 2005-11-19 Wim Taymans <wim@fluendo.com>
1984 * docs/design/part-TODO.txt:
1985 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1986 (gst_format_to_quark), (gst_format_register):
1988 * gst/gstquery.c: (_gst_query_initialize),
1989 (gst_query_type_get_name), (gst_query_type_to_quark),
1990 (gst_query_type_register):
1992 Add type to quark and type to string conversions.
1994 2005-11-19 Andy Wingo <wingo@pobox.com>
1996 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1999 2005-11-19 Wim Taymans <wim@fluendo.com>
2001 * docs/design/part-TODO.txt:
2002 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2003 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2004 (gst_bin_handle_message_func):
2006 Make message handling overridable.
2008 2005-11-19 Andy Wingo <wingo@pobox.com>
2010 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2013 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2015 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2016 is a GstClockTime. Fixes #321710.
2018 * gst/gstclock.h (GstClock): Remove offset property. Add
2019 internal_calibration and external_calibration. Fix padding. Pad
2020 also by GstClockTime so we don't run into problems.
2022 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2023 (gst_clock_get_rate_offset): Remove.
2024 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2027 * gst/gstutils.c (g_static_rec_cond_wait)
2028 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2030 * gst/gstbin.c: Remove terrible continue_state prototype.
2032 * gst/gstelement.h (gst_element_continue_state): Make public.
2035 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2036 by continue_state. Fixes #319389.
2038 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2039 Really fixes #168438. However I don't see anywhere where the
2040 filter function is called... stupid GStreamer...
2042 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2043 don't have a dispose function, so it won't get called when the
2044 object is unreffed, but oh well!
2046 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2047 allows a destroy function to be set so user_data can be freed.
2049 (gst_index_set_filter): Call gst_index_set_filter_full.
2051 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2053 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2054 string should produce an error, given the lack of a way to
2055 represent NULL strings. Fixes #165650.
2058 * gst/gstvalue.c (gst_value_array_append_value)
2059 (gst_value_array_prepend_value, gst_value_array_get_size)
2060 (gst_value_array_get_value): New API, copied from
2061 gst_value_list_*, only operates on arrays.
2062 (gst_value_list_append_value, gst_value_list_prepend_value)
2063 (gst_value_list_concat, gst_value_list_get_size)
2064 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2066 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2067 init_list, because it works on both.
2068 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2069 (gst_value_copy_list_or_array): Renamed from copy_list.
2070 (gst_value_free_list_or_array): Renamed from free_list.
2071 (gst_value_collect_list_or_array): Renamed from collect_list.
2072 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2073 (gst_value_list_or_array_peek_pointer): Renamed from
2075 (_gst_value_array_value_table, _gst_value_list_value_table):
2076 Update value table functions.
2077 (gst_value_compare_list_or_array): Renamed from compare_list.
2079 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2083 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2084 GstTagList*. Fixes #143472.
2086 * gst/gststructure.h: Clarify what the foreach/map functions can
2087 or can't do to their arguments.
2089 2005-11-18 Wim Taymans <wim@fluendo.com>
2091 * gst/gstclock.c: (gst_clock_set_calibration),
2092 (gst_clock_get_calibration):
2094 Calibration can be set with internal time equal to current
2097 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2103 2005-11-18 Andy Wingo <wingo@pobox.com>
2106 * pkgconfig/gstreamer-net.pc.in:
2107 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2108 * pkgconfig/Makefile.am: Add net pkgconfig files.
2110 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2113 * gst/gstghostpad.c:
2119 2005-11-18 Andy Wingo <wingo@pobox.com>
2121 * gst/net/gstnetclientclock.c: Turn off debugging.
2123 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2124 times connverge somewhat. Can't make a real test.
2126 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2127 integer arithmetic. Return the minimum of the domain, which can be
2128 set as "internal" for gst_clock_set_calibration.
2129 (gst_net_client_clock_observe_times): Call _set_calibration.
2130 (gst_net_client_clock_new): Call _set_calibration instead of
2133 * check/net/gstnetclientclock.c (test_functioning): Use the right
2137 * gst/gstclock.c (gst_clock_get_calibration)
2138 (gst_clock_set_calibration): New functions, obsolete the ones I
2139 added yesterday. Doh. Precision issues mean we have to extrapolate
2140 from a point in the more recent past than 1970.
2141 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2143 (gst_clock_adjust_unlocked): Use the right calibration data.
2145 2005-11-18 Edward Hervey <edward@fluendo.com>
2147 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2148 Also reset the ->current_* values in READY->PAUSED
2150 2005-11-18 Andy Wingo <wingo@pobox.com>
2152 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2153 Whoops, check the right fd. Also add some debugging.
2154 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2155 (do_linear_regression): Add a crapload of debugging. Subtract off
2156 the minimum values from the input series to discard unneeded bits.
2157 Use only int arithmetic. There is still double arithmetic when
2158 calculating the intercept that needs fixing. Return boolean to
2159 indicate success; FALSE would mean the domain or range is too
2160 great. Still needs fixes.
2162 2005-11-18 Wim Taymans <wim@fluendo.com>
2164 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2165 For the current position in stream time, we need to subtract
2168 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2169 Release lock before calling the callback function of async
2172 2005-11-18 Andy Wingo <wingo@pobox.com>
2174 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2175 Port goes all the way to MAXUINT16.
2177 * gst/net/gstnettimeprovider.c: Make the port range the same as
2178 for the kernel: 0 assigns, otherwise ports are less than
2181 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2184 * check/net/gstnetclientclock.c (test_functioning): Add the start
2187 2005-11-18 Wim Taymans <wim@fluendo.com>
2189 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2190 (gst_bin_remove_func), (bin_bus_handler):
2192 Removing a clock provider from a bin, triggers a clock lost message
2193 so that a new clock will be selected.
2194 Adding a clock to a bin triggers a clock provider message.
2195 Make sure we reselect a clock when we received a clock lost message.
2196 Keep a reference to the element that provided the clock.
2198 2005-11-18 Andy Wingo <wingo@pobox.com>
2200 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2201 the clock initially so it produces values around the base time.
2202 (gst_net_client_clock_class_init): Typo fix.
2203 (gst_net_client_clock_thread): Add note on when the socket gets
2206 2005-11-17 Wim Taymans <wim@fluendo.com>
2208 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2209 Free remote and local time arrays.
2211 2005-11-17 Wim Taymans <wim@fluendo.com>
2213 * gst/net/gstnetclientclock.c: (do_linear_regression),
2214 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2215 Fix compilation, uninitialized vars and a forgotten continue.
2217 2005-11-17 Andy Wingo <wingo@pobox.com>
2219 * check/Makefile.am (check_PROGRAMS):
2220 * check/net/gstnetclientclock.c: Add a most minimal test for the
2221 net client clock. More to come later.
2224 * gst/net/Makefile.am: Add netclientclock.
2226 * gst/net/gstnetclientclock.h:
2227 * gst/net/gstnetclientclock.c: New files, implement an untested
2228 GstClock that takes its time from a network time provider.
2229 Implements the algorithm in network-clock.scm.
2231 * tests/network-clock.scm (*window-size*): Rename from
2233 * tests/network-clock.scm (network-time):
2234 * tests/network-clock-utils.scm (q-push): Update callers.
2236 2005-11-17 Wim Taymans <wim@fluendo.com>
2238 * gst/gstbin.c: (gst_bin_provide_clock_func),
2239 (gst_bin_sort_iterator_new):
2240 And unref the child too..
2242 2005-11-17 Wim Taymans <wim@fluendo.com>
2244 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2245 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2246 Refactor the sort iterator so it can be used while holding the
2248 Make clock selection select a clock closest to the source.
2250 2005-11-17 Michael Smith <msmith@fluendo.com>
2252 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2253 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2255 Anonymous structs are a gcc (and some other compilers) extension, so
2256 don't use them. Since this is only for ABI-compatibility, and our
2257 API/ABI freeze is over in a few days, this whole thing will only
2258 last a few days, so don't bother trying to think up a meaningful
2259 name for the struct.
2261 2005-11-17 Andy Wingo <wingo@pobox.com>
2263 * gst/gstclock.h (GstClock): Add rate and offset properties,
2264 preserving ABI stability. Add rate/offset accessors. Will file bug
2265 for the freeze break.
2267 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2268 and offset, trying to keep precision and avoiding
2270 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2271 functions. Make gst_clock_set_time_adjust obsolete.
2272 (gst_clock_set_time_adjust): Note that this function is obsolete.
2275 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2276 greppable by using GST_PADDING-1+1.
2278 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2280 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2282 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2283 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2285 * gst/gstpadtemplate.h:
2286 * gst/gstpluginfeature.h:
2287 Don't use c++ style comments in headers (#321638).
2289 2005-11-16 Andy Wingo <wingo@pobox.com>
2291 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2294 * check/net/gstnettimeprovider.c: Check to see that the time
2295 provider actually provides times. Works, yo!
2297 2005-11-16 Wim Taymans <wim@fluendo.com>
2299 * check/Makefile.am:
2302 * check/elements/fakesrc.c: (GST_START_TEST):
2303 Set element to NULL before disposing it.
2305 2005-11-16 Andy Wingo <wingo@pobox.com>
2307 * gst/net/Makefile.am:
2309 * gst/net/gstnettimeprovider.c:
2310 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2311 provider, include it from gstnet.h, and add it to the build.
2313 * gst/net/gstnettimepacket.h:
2314 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2315 sending and receiving.
2317 2005-11-16 Wim Taymans <wim@fluendo.com>
2319 * check/Makefile.am:
2320 Enable valgrind check.
2322 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2323 (gst_fake_src_alloc_buffer):
2326 2005-11-16 Wim Taymans <wim@fluendo.com>
2328 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2329 Call parent finalize too.
2331 2005-11-16 Wim Taymans <wim@fluendo.com>
2333 * check/Makefile.am:
2334 Enable valgrind check that should work fine now.
2336 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2337 * gst/gstqueue.c: (gst_queue_init):
2338 Fix memleaks in pad allocation.
2340 2005-11-16 Andy Wingo <wingo@pobox.com>
2342 * gst/net/Makefile.am:
2343 * gst/net/gstnet.h: New part of core to hold network elements and
2344 objects. Put in core because it exposes API that applications want
2345 to use. The library is named libgstnet-tempname right now because
2346 of the existing libgstnet in gst-plugins-base. Solution is
2347 probably to rename the one in plugins-base; will file a bug for
2350 * gst/net/gstnettimeprovider.c:
2351 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2352 get_time call over the network.
2355 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2357 * check/Makefile.am:
2358 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2359 get additions shortly.
2361 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2363 * gst/gstpad.c: (gst_pad_new_from_static_template):
2365 add gst_pad_new_from_static_template functions
2366 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2367 (gst_check_setup_sink_pad):
2368 * gst/elements/gsttee.c: (gst_tee_init):
2371 2005-11-16 Wim Taymans <wim@fluendo.com>
2373 * gst/gstpad.c: (gst_pad_pause_task):
2374 Removed warning, it's not really an error either.
2376 2005-11-16 Wim Taymans <wim@fluendo.com>
2378 * gst/base/gstbasetransform.c:
2379 (gst_base_transform_prepare_output_buf),
2380 (gst_base_transform_event):
2381 Check if the caps are NULL, this can happen if the element
2382 is shutting down and the pad caps are set to NULL.
2384 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2386 * gst/elements/gsttee.c: (gst_tee_init):
2387 fix pad template leak in tee
2389 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2391 * gst/glib-compat.c: (g_value_dup_gst_object):
2392 * gst/glib-compat.h:
2393 * gst/gstpad.c: (gst_pad_set_property):
2394 use gst_object_ref when setting the pad template; this will
2395 trigger the pad template leaks on GLib 2.6 and the slaves
2397 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2399 * gst/glib-compat.c: (gst_flags_get_first_value):
2400 * gst/glib-compat.h:
2401 * gst/gstregistryxml.c:
2402 remove functions copied from GLib 2.6
2404 2005-11-16 Michael Smith <msmith@fluendo.com>
2407 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2408 do, but only breaks with newer valgrind versions. We're not a
2409 valgrind tool, we have no link-time dependencies on libcoregrind.
2411 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2413 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2418 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2420 * gst/base/gstbasesrc.c: (gst_base_src_init):
2421 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2422 * gst/gstqueue.c: (gst_queue_init):
2423 * gst/gstregistryxml.c: (load_feature):
2424 Revert all these unrefs, they don't even pass make check !
2426 2005-11-15 Johan Dahlin <johan@gnome.org>
2428 * gst/base/gstbasesrc.c: (gst_base_src_init):
2429 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2430 * gst/gstqueue.c: (gst_queue_init):
2431 Free pad templates, fixes a couple of leaks.
2433 2005-11-15 Daniel Fischer <dan at f3c dot com>
2435 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2437 * gst/gstpad.c: (gst_pad_get_property):
2438 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2439 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2442 2005-11-15 Wim Taymans <wim@fluendo.com>
2447 2005-11-15 Andy Wingo <wingo@pobox.com>
2449 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2451 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2452 using GST_CLOCK_TIME_NONE to disable base time management.
2453 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2454 time if it was NONE before.
2455 (gst_pipeline_change_state): Only munge the base time if
2456 stream_time != GST_CLOCK_TIME_NONE.
2458 * check/gst/gstpipeline.c (test_base_time): Punt around the
2459 problem of the probe not being called, because that's not the
2460 issue I'm looking at. Add a check that setting stream_time to NONE
2461 disables base time management.
2463 2005-11-15 Wim Taymans <wim@fluendo.com>
2465 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2466 segment_stop == -1 at startup.
2468 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2469 (gst_base_transform_change_state):
2470 Init segment values at start.
2472 2005-11-15 Wim Taymans <wim@fluendo.com>
2474 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2475 0 segment values are 0 in any format.
2477 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2478 * gst/base/gstbasetransform.h:
2479 Parse newsegment correctly in basetransform
2481 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2482 Sync to clock using updated segment values.
2484 2005-11-15 Andy Wingo <wingo@pobox.com>
2486 * check/gst/gstpipeline.c (test_base_time): Add check that the
2487 base time and stream time are reset correctly.
2489 2005-11-15 Wim Taymans <wim@fluendo.com>
2491 * docs/design/part-TODO.txt:
2492 Some more TODO items.
2494 2005-11-15 Andy Wingo <wingo@pobox.com>
2496 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2497 error if the user selected "no clock" as the clocking method.
2499 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2500 timestamps with live capture.
2502 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2503 is 0 but we are a live source, timestamp the buffers using the
2506 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2508 * docs/gst/gstreamer-sections.txt:
2510 * gst/gstghostpad.c:
2515 2005-11-14 Wim Taymans <wim@fluendo.com>
2518 add suppressions from Wim's Debian machine
2520 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2523 add suppressions from Andy's AMD64 Ubuntu machine
2525 2005-11-14 Andy Wingo <wingo@pobox.com>
2527 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2528 STATE_LOCK not necessary. Fixes #311489.
2530 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2533 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2534 this function is not implemented.
2536 2005-11-14 Julien MOUTTE <julien@moutte.net>
2538 * gst/base/gstbasetransform.c:
2539 (gst_base_transform_prepare_output_buf):
2540 Ref the source pad caps while we need them.
2543 2005-11-11 Wim Taymans <wim@fluendo.com>
2545 * docs/gst/gstreamer-sections.txt:
2546 Added some docs for GstCollectData.
2548 * gst/base/gstadapter.c:
2549 Some small code example fix.
2551 * gst/base/gstcollectpads.c:
2552 * gst/base/gstcollectpads.h:
2555 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2557 * configure.ac: back to HEAD
2559 === release 0.9.5 ===
2561 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2564 releasing 0.9.5, "Bike Lunch Day"
2566 2005-11-11 Wim Taymans <wim@fluendo.com>
2568 * gst/gstbuffer.c: (_gst_buffer_copy):
2571 * gst/gstcaps.c: (gst_caps_is_equal):
2573 Make _is_equal fast in the trivial cases.
2575 * gst/gstminiobject.c:
2576 * gst/gstminiobject.h:
2577 More docs. Spifify .h file.
2582 2005-11-11 Wim Taymans <wim@fluendo.com>
2584 * gst/base/gstbasetransform.c:
2585 (gst_base_transform_prepare_output_buf),
2586 (gst_base_transform_handle_buffer):
2588 If we're processing a buffer and need to allocate an output
2589 buffer, we cannot accept a format change. If we did get a
2590 format change, we have to alloc a buffer ourselves of the
2593 2005-11-11 Wim Taymans <wim@fluendo.com>
2595 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2596 While checking the flag for reentrancy in the gstcaps function
2597 is nice to detect recursive invocations, it also makes it
2598 impossible to call getcaps from multiple threads, which must be
2599 possible. So, checking for recursive calls has to go.
2601 2005-11-11 Michael Smith <msmith@fluendo.com>
2603 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2604 Don't sync on buffers that fall partially outside our current
2605 segment. Prevents an assertion failure/abort playing some files.
2607 2005-11-10 Andy Wingo <wingo@pobox.com>
2609 * check/gst/gstbin.c (test_message_state_changed_children): Style
2612 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2613 gst_bus_poll with the signal watch. Ensures that poll and a signal
2614 watch see the same messages.
2616 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2617 a poll and a watch at the same time get the same messages.
2619 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2621 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2622 * gst/gstcaps.c: (gst_caps_intersect):
2623 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2624 and it's not needed.
2626 2005-11-10 Wim Taymans <wim@fluendo.com>
2628 * docs/design/part-TODO.txt:
2631 2005-11-10 Wim Taymans <wim@fluendo.com>
2633 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2634 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2635 (gst_base_src_do_sync), (gst_base_src_get_range):
2636 Implement clock sync in base class.
2638 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2640 patch by: Tim-Philipp Müller <tim at centricular dot net>
2642 * gst/gststructure.c: (gst_structure_parse_field),
2643 (gst_structure_from_string):
2644 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2645 so that gst_parse_launch() can deal with spaces in filtered link
2646 caps (fixes #164479)
2647 * check/gst/capslist.h:
2648 * check/gst/gststructure.c: (GST_START_TEST):
2649 add unit tests for this change
2651 2005-11-10 Wim Taymans <wim@fluendo.com>
2653 * docs/gst/gstreamer-sections.txt:
2656 Fix docs, move some STATE macros to private.
2658 2005-11-10 Wim Taymans <wim@fluendo.com>
2660 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2661 Added check for bug #317341
2665 Some more spiffifying.
2667 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2668 Call peer linkfunction if we are a source pad. Totally fixes
2672 Update docs, source pads should call the peer linkfunction
2673 so they can atomically perform the pad link.
2675 2005-11-09 Wim Taymans <wim@fluendo.com>
2679 Uber-spiffy-spiffify some more.
2681 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2683 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2684 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2685 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2686 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2687 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2688 * gst/gstpad.c: (gst_pad_init):
2689 Use GST_DEBUG_FUNCPTR() more extensively.
2691 2005-11-09 Wim Taymans <wim@fluendo.com>
2693 * gst/gstobject.c: (gst_object_class_init):
2695 Documentation fixes.
2697 2005-11-09 Edward Hervey <edward@fluendo.com>
2699 * gst/gsttypefindfactory.c:
2702 2005-11-09 Edward Hervey <edward@fluendo.com>
2704 * gst/base/gsttypefindhelper.c:
2705 * gst/gsttypefind.c:
2706 * gst/gsttypefind.h:
2709 2005-11-09 Wim Taymans <wim@fluendo.com>
2711 * gst/gstiterator.c:
2718 2005-11-09 Wim Taymans <wim@fluendo.com>
2724 2005-11-09 Wim Taymans <wim@fluendo.com>
2726 * docs/gst/gstreamer-sections.txt:
2727 Moved the message async delivery private lock and cond
2728 to the private section.
2734 2005-11-09 Edward Hervey <edward@fluendo.com>
2736 * docs/gst/gstreamer-sections.txt:
2739 Document GstURIHandler
2741 2005-11-09 Wim Taymans <wim@fluendo.com>
2743 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2744 (gst_iterator_find_custom):
2745 * gst/gstiterator.h:
2748 2005-11-09 Wim Taymans <wim@fluendo.com>
2751 Document another field.
2753 * gst/gststructure.c:
2754 * gst/gststructure.h:
2757 2005-11-09 Wim Taymans <wim@fluendo.com>
2762 2005-11-09 Wim Taymans <wim@fluendo.com>
2764 * docs/gst/gstreamer-sections.txt:
2765 Added some new macros.
2772 2005-11-09 Wim Taymans <wim@fluendo.com>
2774 * docs/design/part-TODO.txt:
2775 Some more items for the TODO
2781 2005-11-09 Andy Wingo <wingo@pobox.com>
2783 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2784 to work on something else now tho...
2786 * gst/base/gstadapter.c: More adapter docs.
2788 * gst/elements/gstfilesink.c (gst_file_sink_start)
2789 (gst_file_sink_stop): New functions, replace the state change
2791 (gst_file_sink_class_init): Hook up the start and stop functions.
2792 (gst_file_sink_base_init): Don't set the state change handler any
2793 more. It was a bit ugly too, being set from here...
2794 (gst_file_sink_get_property, gst_file_sink_set_property):
2796 (gst_file_sink_set_location): More robust check that doesn't call
2799 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2801 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2802 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2804 2005-11-08 Wim Taymans <wim@fluendo.com>
2806 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2807 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2808 (gst_base_sink_chain), (gst_base_sink_change_state):
2809 * gst/base/gstbasesink.h:
2810 * gst/base/gstbasesrc.h:
2813 Avoid excessive typechecking in macros.
2815 * gst/gstminiobject.c: (gst_mini_object_get_type),
2816 (gst_mini_object_init), (gst_mini_object_new),
2817 (gst_mini_object_free):
2818 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2819 (gst_object_finalize):
2820 Remove cruft code, optimize alloc_trace.
2822 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2824 * docs/faq/gst-uninstalled:
2825 fix up PS1 for systems that try to reset it
2827 2005-11-07 Wim Taymans <wim@fluendo.com>
2829 * gst/base/gstbasesrc.c: (gst_base_src_init),
2830 (gst_base_src_get_range):
2831 Set the segment_end to -1 initially. Fixed typefind.
2833 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2835 * gst/base/gstadapter.c:
2836 Debug category should be 'adapter', not 'GstAdapter'.
2838 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2839 (gst_collectpads_class_init), (gst_collectpads_init),
2840 (gst_collectpads_peek), (gst_collectpads_pop),
2841 (gst_collectpads_event), (gst_collectpads_chain):
2842 Add debug category and some debugging output. Use boilerplate
2843 macros. Remove some extraneous words from docs.
2845 2005-11-05 Andy Wingo <wingo@pobox.com>
2847 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2850 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2852 * docs/gst/gstreamer-sections.txt:
2855 * gst/gstminiobject.h:
2860 2005-11-04 Wim Taymans <wim@fluendo.com>
2862 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2863 Small update to stop at the configured segment_end
2866 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2868 * gst/gstregistry.c:
2869 * gst/gstregistry.h:
2872 2005-11-04 Edward Hervey <edward@fluendo.com>
2874 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2875 Check if we are doing a segment seek and have arrived at the
2876 end of that segment.
2878 2005-11-04 Wim Taymans <wim@fluendo.com>
2880 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2881 Don't leak a mutex unlock in case of an error.
2886 2005-11-04 Wim Taymans <wim@fluendo.com>
2888 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2890 Get the context to wake up only once.
2892 2005-11-03 Wim Taymans <wim@fluendo.com>
2894 * check/states/sinks.c: (GST_START_TEST):
2895 Uncomment fixed check.
2897 * docs/design/part-TODO.txt:
2900 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2901 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2902 (gst_base_sink_get_position):
2903 If we are going to PLAYING, post the right pending state
2904 when we post the intermediate paused message.
2906 * gst/gstelement.c: (gst_element_continue_state),
2907 (gst_element_set_state_func), (gst_element_change_state):
2908 Don't post state changes that were between the same state
2911 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2913 * docs/gst/gstreamer-sections.txt:
2916 * gst/gstminiobject.h:
2919 more docs and doc style fixes
2921 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2923 * docs/gst/gstreamer-sections.txt:
2925 * gst/gstminiobject.c:
2928 2005-11-03 Andy Wingo <wingo@pobox.com>
2930 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2931 state-changed messages actually have the right order and the right
2934 2005-11-03 Wim Taymans <wim@fluendo.com>
2936 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2937 Added some more checks. Specifically the case where NO_PREROLL
2938 elements are in the pipeline.
2940 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2941 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2942 (gst_base_sink_get_position):
2943 Post READY->PAUSED state change messages too.
2944 Fix bug where VOID was posted as pending state...
2946 * gst/gstbin.c: (gst_bin_recalc_state):
2947 use _element_continue_state() to continue the state change.
2949 * gst/gstelement.c: (gst_element_continue_state),
2950 (gst_element_commit_state), (gst_element_set_state_func),
2951 (gst_element_change_state), (gst_element_change_state_func):
2952 Lots of state change cleanups, assign the STATE_RETURN in
2953 a new continue_state() function that also propagates the
2954 last return value from a state change to the app.
2955 Update some debug statements with proper category.
2957 2005-11-03 Wim Taymans <wim@fluendo.com>
2959 * docs/design/part-events.txt:
2960 * docs/design/part-gstpipeline.txt:
2961 * docs/design/part-messages.txt:
2962 * docs/design/part-overview.txt:
2963 * docs/design/part-seeking.txt:
2964 * docs/design/part-states.txt:
2965 * docs/design/part-trickmodes.txt:
2966 * docs/manual/advanced-position.xml:
2970 People think !! is ugly, this looks better.
2972 * gst/gstpad.c: (gst_pad_set_blocked_async):
2973 Remove !! since it's fixed elsewhere now.
2975 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2977 * gst/gstminiobject.h:
2979 Add !! to _FLAG_IS_SET macros to make the result boolean.
2981 2005-11-03 Edward Hervey <edward@fluendo.com>
2983 * gst/gstpad.c: (gst_pad_set_blocked_async):
2984 comparing a flag and a gboolean rarely returns coherent results...
2985 Added two characters (!!) to make that work correctly.
2987 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2989 * gst/gstbus.c: (gst_bus_class_init):
2992 * gst/gstqueue.c: (gst_queue_loop):
2993 Don't assume a miniobject that isn't a buffer is an
2994 event (it could be that there is a refcounting
2995 problem somewhere and the pointer is stale and
2996 refers to an already destroyed miniobject).
2998 2005-11-03 Julien MOUTTE <julien@moutte.net>
3000 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3002 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3004 * docs/manual/advanced-position.xml:
3005 Update seek example and explanations to current 0.9 API.
3007 * gst/elements/gsttypefindelement.c:
3008 (gst_type_find_element_activate):
3009 Remove FIXME comment now that the found caps
3012 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3014 * gst/gstregistryxml.c: (load_feature):
3015 Add another GST_STR_NULL instance
3017 2005-11-02 Edward Hervey <edward@fluendo.com>
3019 * gst/gstpad.c: (handle_pad_block):
3020 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3022 2005-11-02 Wim Taymans <wim@fluendo.com>
3027 * gst/gstelement.c: (gst_element_commit_state):
3028 Remove unused value.
3030 * gst/gstiterator.c:
3031 Mention that the returned element is reffed in the docs.
3033 2005-11-02 Wim Taymans <wim@fluendo.com>
3035 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3036 (gst_pad_push), (gst_pad_push_event):
3037 Unlock blocked pads when they are flushed.
3039 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3042 * docs/gst/gstreamer-sections.txt:
3045 * gst/gstregistry.c: (gst_registry_scan_path_level):
3046 fix for a nasty little missed situation where an installed plug-in
3047 which was in the cache did not get overridden by an uninstalled one
3048 which was earlier in the plugin path because the newly created plugin
3049 for the uninstalled one (not in the registry) didn't get its
3050 ->registered set to TRUE
3052 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3054 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3055 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3056 (gst_collectpads_is_active), (gst_collectpads_collect),
3057 (gst_collectpads_collect_range), (gst_collectpads_start),
3058 (gst_collectpads_stop), (gst_collectpads_peek),
3059 (gst_collectpads_pop), (gst_collectpads_available),
3060 (gst_collectpads_read), (gst_collectpads_flush):
3061 Guard public API with assertions.
3064 Fix docs for gst_pad_set_link_function().
3066 2005-11-02 Johan Dahlin <johan@gnome.org>
3068 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3069 Unref found_caps after we used it.
3071 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3073 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3074 Don't try to ref NULL.
3076 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3078 * win32/common/config.h.in:
3079 provide a GST_FUNCTION that just gives a string for now
3081 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3083 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3084 (gst_object_flags_get_type), (register_gst_bin_flags),
3085 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3086 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3087 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3088 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3089 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3090 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3091 (gst_clock_flags_get_type), (register_gst_state),
3092 (gst_state_get_type), (register_gst_state_change_return),
3093 (gst_state_change_return_get_type), (register_gst_state_change),
3094 (gst_state_change_get_type), (register_gst_element_flags),
3095 (gst_element_flags_get_type), (register_gst_core_error),
3096 (gst_core_error_get_type), (register_gst_library_error),
3097 (gst_library_error_get_type), (register_gst_resource_error),
3098 (gst_resource_error_get_type), (register_gst_stream_error),
3099 (gst_stream_error_get_type), (register_gst_event_type),
3100 (gst_event_type_get_type), (register_gst_seek_type),
3101 (gst_seek_type_get_type), (register_gst_seek_flags),
3102 (gst_seek_flags_get_type), (register_gst_format),
3103 (gst_format_get_type), (register_gst_index_certainty),
3104 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3105 (gst_index_entry_type_get_type),
3106 (register_gst_index_lookup_method),
3107 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3108 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3109 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3110 (gst_index_flags_get_type), (register_gst_debug_level),
3111 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3112 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3113 (gst_iterator_result_get_type), (register_gst_iterator_item),
3114 (gst_iterator_item_get_type), (register_gst_message_type),
3115 (gst_message_type_get_type), (register_gst_mini_object_flags),
3116 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3117 (gst_pad_link_return_get_type), (register_gst_flow_return),
3118 (gst_flow_return_get_type), (register_gst_activate_mode),
3119 (gst_activate_mode_get_type), (register_gst_pad_direction),
3120 (gst_pad_direction_get_type), (register_gst_pad_flags),
3121 (gst_pad_flags_get_type), (register_gst_pad_presence),
3122 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3123 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3124 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3125 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3126 (gst_plugin_flags_get_type), (register_gst_rank),
3127 (gst_rank_get_type), (register_gst_query_type),
3128 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3129 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3130 (gst_tag_flag_get_type), (register_gst_task_state),
3131 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3132 (gst_alloc_trace_flags_get_type),
3133 (register_gst_type_find_probability),
3134 (gst_type_find_probability_get_type), (register_gst_uri_type),
3135 (gst_uri_type_get_type), (register_gst_parse_error),
3136 (gst_parse_error_get_type):
3137 * win32/common/gstversion.h:
3140 2005-11-01 Luca Ognibene <luogni@tin.it>
3143 fix docs. popt is dead, long live GOption.
3145 2005-10-31 Wim Taymans <wim@fluendo.com>
3150 2005-10-31 Andy Wingo <wingo@pobox.com>
3154 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3156 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3157 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3158 the possibility of deadlocks here if code calling notify() or
3159 set() has a lock that can be taken in another notify handler (ABBA
3160 with class lock and e.g. python GIL state lock).
3162 2005-10-28 Julien MOUTTE <julien@moutte.net>
3164 * gst/gstbus.c: Doc updates.
3166 2005-10-28 Wim Taymans <wim@fluendo.com>
3168 * docs/design/part-TODO.txt:
3169 * gst/gstiterator.c:
3170 * gst/gstsystemclock.c:
3171 * gst/gstsystemclock.h:
3174 2005-10-28 Edward Hervey <edward@fluendo.com>
3176 * docs/gst/gstreamer-docs.sgml:
3177 * docs/gst/gstreamer-sections.txt:
3178 the GstURIType documentation page is private, it only defines GstURIType
3179 which should be defined in the GstURIHandler page
3181 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3183 * gst/gstbin.c: (gst_bin_class_init):
3186 Documentation updates.
3188 2005-10-28 Wim Taymans <wim@fluendo.com>
3190 * docs/gst/gstreamer-sections.txt:
3193 Documented the clocks.
3195 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3197 * docs/gst/gstreamer-sections.txt:
3198 move some macros to private sections
3199 * gst/gstminiobject.c:
3200 * gst/gstminiobject.h:
3201 add descriptions provided by ds and some more
3203 mark macro as to be removed
3205 2005-10-28 Wim Taymans <wim@fluendo.com>
3207 * docs/design/part-TODO.txt:
3208 Add an item to TODO.
3210 * gst/gstiterator.c: (gst_iterator_fold),
3211 (gst_iterator_find_custom):
3212 * gst/gstiterator.h:
3215 2005-10-28 Wim Taymans <wim@fluendo.com>
3217 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3218 (gst_base_transform_init):
3221 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3222 An EOS event marks the queue as completely filled.
3224 2005-10-27 Wim Taymans <wim@fluendo.com>
3226 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3227 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3228 Some more debugging.
3230 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3231 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3232 (gst_base_transform_event), (gst_base_transform_getrange),
3233 (gst_base_transform_chain):
3234 * gst/base/gstbasetransform.h:
3236 Protect transform and concurrent buffer alloc with a new lock.
3237 Try not to break ABI/API.
3239 2005-10-27 Wim Taymans <wim@fluendo.com>
3241 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3242 (gst_base_src_init), (gst_base_src_query),
3243 (gst_base_src_default_newsegment),
3244 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3245 (gst_base_src_send_event), (gst_base_src_event_handler),
3246 (gst_base_src_pad_get_range), (gst_base_src_loop),
3247 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3248 (gst_base_src_start), (gst_base_src_deactivate),
3249 (gst_base_src_activate_push), (gst_base_src_change_state):
3250 Move some stuff around and cleanup things.
3252 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3254 * gst/base/gstbasesrc.c: (gst_base_src_query):
3255 Add missing break statements.
3257 2005-10-27 Wim Taymans <wim@fluendo.com>
3259 * check/gst/gstbin.c: (GST_START_TEST):
3260 An extra refcount is taken in basesrc.
3262 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3263 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3264 (gst_base_src_loop):
3265 Small cleanups, check for flushing after being unlocked from the
3266 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3267 Don't send out EOS when going to READY.
3269 2005-10-27 Wim Taymans <wim@fluendo.com>
3271 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3272 (gst_base_sink_get_position):
3275 * gst/gstbin.c: (message_check), (bin_replace_message),
3276 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3277 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3278 (bin_query_duration_init), (bin_query_duration_fold),
3279 (bin_query_duration_done), (bin_query_generic_fold),
3281 * tools/gst-launch.c: (main):
3284 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3286 * examples/controller/audio-example.c: (main):
3287 * examples/queue/queue.c: (event_loop):
3288 * gst/base/gstbasetransform.h:
3289 * gst/gstelement.c: (gst_element_send_event):
3291 * gst/gstpad.c: (gst_pad_send_event):
3294 changing log priority in error situations
3296 2005-10-25 Wim Taymans <wim@fluendo.com>
3298 * gst/gstbin.c: (message_check), (bin_replace_message),
3299 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3300 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3301 (bin_query_duration_init), (bin_query_duration_fold),
3302 (bin_query_duration_done), (bin_query_generic_fold),
3304 Some doc and debug updates.
3305 Cache previously requested query DURATION for speed. invalidate
3306 cached duration if element posts a DURATION message.
3308 2005-10-25 Wim Taymans <wim@fluendo.com>
3310 * docs/design/part-TODO.txt:
3313 * gst/gstbin.c: (message_check), (bin_replace_message),
3314 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3315 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3316 (bin_query_duration_init), (bin_query_duration_fold),
3317 (bin_query_duration_done), (bin_query_generic_fold),
3319 Handle SEGMENT_START/DONE messages correctly.
3320 More evolved query algorithm that handles duration queries
3323 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3324 (gst_element_get_state_func), (gst_element_abort_state),
3325 (gst_element_commit_state), (gst_element_lost_state):
3326 Some more debugging.
3331 2005-10-25 Wim Taymans <wim@fluendo.com>
3333 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3334 Don't use invalid stream_time.
3336 * gst/gstevent.c: (gst_event_new_newsegment):
3337 stream_time in newsegment cannot be undefined.
3339 2005-10-24 Wim Taymans <wim@fluendo.com>
3344 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3346 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3348 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3350 * docs/libs/tmpl/gstdparam.sgml:
3351 * docs/libs/tmpl/gstdplinint.sgml:
3352 * docs/libs/tmpl/gstdpman.sgml:
3353 * docs/libs/tmpl/gstdpsmooth.sgml:
3354 * docs/libs/tmpl/gstunitconvert.sgml:
3357 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3362 === release 0.9.4 ===
3364 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3367 releasing 0.9.4, "Tyrannosaurus Rex"
3369 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3371 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3372 (gst_file_sink_get_current_offset):
3373 Use fseeko() and ftello() if available. When falling back on
3374 lseek() to get the current offset, fflush() first to make sure
3375 everything is up-to-date and we get the right offset.
3377 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3380 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3381 * gst/gsterror.c: (_gst_stream_errors_init):
3383 * gst/gstqueue.c: (gst_queue_loop):
3385 remove prematurely added error category and clean up the instances
3387 2005-10-21 Wim Taymans <wim@fluendo.com>
3389 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3390 (gst_base_sink_get_position), (gst_base_sink_query),
3391 (gst_base_sink_change_state):
3392 Simply set the right flag when going to playing, that's all
3393 we need to do instead of calling a function inside the object
3394 lock (that could take the lock as well and deadlock)
3396 2005-10-21 Wim Taymans <wim@fluendo.com>
3398 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3399 (gst_base_src_loop):
3400 Don't warn, the peer element knows what to do best when
3401 the seek failed, it might try something else.
3403 2005-10-21 Wim Taymans <wim@fluendo.com>
3405 * gst/base/gstbasesrc.c: (gst_base_src_init),
3406 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3409 2005-10-21 Wim Taymans <wim@fluendo.com>
3411 * docs/design/part-segments.txt:
3414 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3415 Correctly set caps, even on the subbufer.
3417 2005-10-21 Wim Taymans <wim@fluendo.com>
3419 * docs/gst/gstreamer-docs.sgml:
3420 * docs/gst/gstreamer-sections.txt:
3427 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3431 And 2% more doc coverage.
3433 2005-10-21 Andy Wingo <wingo@pobox.com>
3435 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3438 2005-10-20 Wim Taymans <wim@fluendo.com>
3440 * gst/gsterror.c: (gst_error_get_message):
3443 * gst/gststructure.c:
3448 2005-10-20 Wim Taymans <wim@fluendo.com>
3453 Another 1% more coverage.
3455 2005-10-20 Wim Taymans <wim@fluendo.com>
3457 * docs/gst/gstreamer-sections.txt:
3458 * gst/gstelement.c: (gst_element_get_state_func),
3459 (gst_element_abort_state), (gst_element_commit_state),
3460 (gst_element_lost_state):
3462 * gst/gstquery.c: (gst_query_set_position),
3463 (gst_query_parse_position), (gst_query_set_duration),
3464 (gst_query_parse_duration), (gst_query_new_convert):
3466 Yay! 1% more docs coverage.
3468 2005-10-20 Wim Taymans <wim@fluendo.com>
3471 * gst/gstquery.c: (gst_query_set_position),
3472 (gst_query_parse_position), (gst_query_set_duration),
3473 (gst_query_parse_duration), (gst_query_new_convert):
3475 * gst/gstutils.c: (gst_element_query_convert):
3477 Docs and consistency fixes.
3479 2005-10-20 Wim Taymans <wim@fluendo.com>
3485 2005-10-20 Wim Taymans <wim@fluendo.com>
3487 * gst/gstbin.c: (message_check), (bin_replace_message),
3488 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3489 (update_degree), (gst_bin_sort_iterator_next),
3490 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3491 Reworked the message handling a bit, cache the messages instead of
3492 only the senders. alows us to do more in the future.
3494 2005-10-20 Wim Taymans <wim@fluendo.com>
3496 * docs/design/part-TODO.txt:
3499 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3500 (gst_base_sink_query):
3501 Don't use clock time to report position when in EOS.
3503 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3505 * tools/gst-inspect.c: (print_interfaces),
3506 (print_element_properties_info), (print_element_info):
3507 Fix interface output with gst-inspect -a; don't print
3508 newlines after double/float properties.
3510 2005-10-20 Wim Taymans <wim@fluendo.com>
3512 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3513 (gst_base_sink_query):
3514 Speed up current position calculation.
3516 * gst/base/gstbasesrc.c: (gst_base_src_query),
3517 (gst_base_src_default_newsegment):
3518 Correctly set stream position in newsegment.
3520 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3521 (update_degree), (gst_bin_sort_iterator_next),
3522 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3523 * gst/gstmessage.c: (gst_message_new_custom):
3524 Clean up debugging info
3526 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3527 (gst_queue_loop), (gst_queue_handle_src_query):
3530 2005-10-19 Wim Taymans <wim@fluendo.com>
3532 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3533 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3534 Fix query handling again.
3536 2005-10-19 Wim Taymans <wim@fluendo.com>
3538 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3539 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3540 * gst/base/gstbasesrc.c: (gst_base_src_query):
3541 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3542 * gst/elements/gsttypefindelement.c:
3543 (gst_type_find_handle_src_query), (find_element_get_length),
3544 (gst_type_find_element_activate):
3547 * gst/gstquery.c: (gst_query_new_position),
3548 (gst_query_set_position), (gst_query_parse_position),
3549 (gst_query_new_duration), (gst_query_set_duration),
3550 (gst_query_parse_duration), (gst_query_set_segment),
3551 (gst_query_parse_segment):
3553 Bundling query position/duration is not a good idea since duration
3554 does not change much and we don't want to recalculate it for every
3555 position query, so they are separated again..
3556 Base value in segment query is not needed.
3558 * gst/gstqueue.c: (gst_queue_handle_src_query):
3559 * gst/gstutils.c: (gst_element_query_position),
3560 (gst_element_query_duration), (gst_pad_query_position),
3561 (gst_pad_query_duration):
3563 Updates for query API change.
3564 Added some docs here and there.
3566 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3568 * check/gst/gstbin.c: (GST_START_TEST):
3569 * check/gst/gstghostpad.c: (GST_START_TEST):
3570 * check/pipelines/cleanup.c: (GST_START_TEST):
3571 wait on thread to die so we can check refcount correctly
3573 2005-10-18 Wim Taymans <wim@fluendo.com>
3575 * check/pipelines/stress.c: (GST_START_TEST):
3576 Make check a little more time consuming.
3578 2005-10-18 Wim Taymans <wim@fluendo.com>
3580 * check/Makefile.am:
3581 * check/pipelines/stress.c: (GST_START_TEST),
3582 (simple_launch_lines_suite), (main):
3583 Small state change torture test.
3585 * docs/design/part-states.txt:
3586 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3587 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3588 (gst_base_sink_change_state):
3589 Never take state lock from streaming thread, clean up ugly
3590 hacks. Unfortunatly core does not yet support nice ways to
3593 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3595 Start state recalc if a STATE_DIRTY message is posted, but only
3596 on the toplevel bin.
3598 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3599 (gst_element_get_state_func), (gst_element_abort_state),
3600 (gst_element_commit_state), (gst_element_lost_state),
3601 (gst_element_set_state_func), (gst_element_change_state):
3603 State variables are now protected with the LOCK, the state
3604 lock is only used to serialize _set_state().
3606 2005-10-18 Wim Taymans <wim@fluendo.com>
3608 * check/gst/gstbin.c: (GST_START_TEST):
3609 * check/gst/gstmessage.c: (GST_START_TEST):
3610 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3611 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3613 * gst/gstelement.c: (gst_element_abort_state),
3614 (gst_element_commit_state), (gst_element_lost_state):
3615 * gst/gstmessage.c: (gst_message_new_state_changed),
3616 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3617 (gst_message_new_segment_done), (gst_message_new_duration),
3618 (gst_message_parse_state_changed),
3619 (gst_message_parse_segment_start),
3620 (gst_message_parse_segment_done), (gst_message_parse_duration):
3622 * tools/gst-launch.c: (event_loop):
3623 Seriously, this is better than a previous commit as we only need
3624 to notify the fact that an element changed state in a streaming
3625 thread, marking the state of the parents dirty, hence the
3626 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3629 2005-10-18 Wim Taymans <wim@fluendo.com>
3631 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3632 (gst_bin_recalc_func):
3633 * gst/gstelement.c: (gst_element_set_clock),
3634 (gst_element_abort_state), (gst_element_lost_state):
3635 Cleanups, prepare for state change fixes.
3637 2005-10-18 Wim Taymans <wim@fluendo.com>
3640 * gst/gstelement.c: (gst_element_class_init),
3641 (gst_element_set_state), (gst_element_set_state_func):
3643 Pending ABI changes.
3644 GThreadPool in GstBinClass to monitor async state changes.
3645 state_cookie in GstElement to detect concurrent gst/set state.
3646 set_state is now virtual too in case a very complicated element
3647 has to be constructed.
3649 2005-10-18 Wim Taymans <wim@fluendo.com>
3651 * check/gst/gstbin.c: (GST_START_TEST):
3652 * check/gst/gstmessage.c: (GST_START_TEST):
3653 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3654 * gst/gstbin.c: (bin_bus_handler):
3655 * gst/gstelement.c: (gst_element_commit_state),
3656 (gst_element_lost_state):
3657 * gst/gstmessage.c: (gst_message_new_state_changed),
3658 (gst_message_new_segment_start), (gst_message_new_segment_done),
3659 (gst_message_new_duration), (gst_message_parse_state_changed),
3660 (gst_message_parse_segment_start),
3661 (gst_message_parse_segment_done), (gst_message_parse_duration):
3663 * tools/gst-launch.c: (event_loop):
3664 Make messages future proof.
3665 state-change gets a flag if it was a message comming from the
3667 segment-start/stop can also be specified in other formats.
3668 A message to notify an app that a pipeline changed playback
3670 Also fix a GstMessage leak in -launch
3672 2005-10-18 Andy Wingo <wingo@pobox.com>
3674 * gst/gstelement.c (gst_element_dispose): More helpful message.
3676 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3678 reviewed by: <delete if not using a buddy>
3680 * common/gtk-doc.mak:
3682 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3684 * gst/gstregistry.c: (gst_registry_scan_path_level):
3685 unref a plug-in we get that was already initialized
3687 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3689 * docs/gst/gstreamer-sections.txt:
3690 * docs/libs/gstreamer-libs-sections.txt:
3695 2005-10-17 Andy Wingo <wingo@pobox.com>
3697 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3700 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3702 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3704 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3705 (gst_element_get_state_func): Better debug message.
3706 (gst_element_commit_state): s/INFO/DEBUG/.
3707 (gst_element_lost_state, gst_element_change_state):
3709 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3710 (gst_message_new_custom): s/INFO/LOG/.
3712 2005-10-17 Michael Smith <msmith@fluendo.com>
3714 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3715 Check if end time is valid using end time, not start time.
3717 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3719 * check/gst-libs/controller.c: (GST_START_TEST),
3720 (gst_controller_suite):
3721 * libs/gst/controller/gstcontroller.c:
3722 (gst_controlled_property_set_interpolation_mode):
3723 * libs/gst/controller/gstcontroller.h:
3724 * libs/gst/controller/gstinterpolation.c:
3725 * testsuite/controller/.cvsignore:
3726 * testsuite/controller/Makefile.am:
3727 * testsuite/controller/interpolator.c:
3728 merge controller testsuites
3730 remove mem-chunk from docs
3732 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3734 * gst/gstmemchunk.c:
3735 * gst/gstmemchunk.h:
3736 * gst/gsttrashstack.c:
3737 * gst/gsttrashstack.h:
3738 out. get out. you're fired. to the Attic !
3740 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3742 * gst/gstcaps.c: (gst_caps_intersect):
3743 fix signedness issues in a (hopefully) correct way
3744 * gst/gstelement.c: (gst_element_pads_activate):
3746 * gst/gstobject.c: (gst_object_set_parent):
3749 2005-10-17 Julien MOUTTE <julien@moutte.net>
3751 * gst/gstvalue.h: Fix prototypes.
3753 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3755 * docs/gst/gstreamer-sections.txt:
3756 * gst/gst.c: (gst_version_string):
3758 * gst/gstversion.h.in:
3759 * win32/common/libgstreamer.def:
3760 add gst_version_string ()
3762 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3766 * gst/gst.c: (init_post):
3767 * win32/common/config.h.in:
3769 * gst/gstcaps.c: (gst_caps_intersect):
3770 use gint64, the range could be bigger than a guint
3772 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3775 document potential problem in 2038
3777 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3779 * gst/gstcaps.c: (gst_caps_intersect):
3780 Fix guint j diving under 0
3782 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3785 * win32/common/config.h:
3786 * win32/common/config.h.in:
3787 check for process.h, declares getpid() on Windows
3789 include process.h if we have it
3790 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3791 * gst/gstmemchunk.h:
3792 fix signedness issues
3793 * win32/common/libgstreamer.def:
3796 2005-10-16 Julien MOUTTE <julien@moutte.net>
3798 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3799 fix. Because of unsigned ints, caps intersection was going nuts and
3800 trying to access structures with G_MAXUINT index. That fixes
3801 videotestsrc ! ffmpegcolorspace ! fakesink
3802 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3805 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3808 use the gettext macro
3809 * gst/elements/gstelements.c:
3811 * gst/indexers/gstindexers.c:
3812 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3813 * win32/common/config.h:
3815 * win32/common/config.h.in:
3816 add the template to generate config.h
3817 * win32/common/gstenumtypes.c:
3818 * win32/common/gstversion.h:
3821 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3823 * gst/gst.c: (gst_version):
3824 * gst/gstversion.h.in:
3827 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3830 Oops, add missing closing bracket.
3832 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3835 use common m4's for argument checking
3837 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3839 * docs/gst/gstreamer-sections.txt:
3841 Add GST_EVENT_TYPE_NAME() macro.
3843 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3846 * gst/gstpluginfeature.c:
3848 privatize more symbols
3850 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3853 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3854 everything that uses GStreamer API should have the includes
3856 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3858 * docs/gst/gstreamer-sections.txt:
3859 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3861 give each value a _get_type, removes the DATA exports
3863 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3867 remove _gst_registry_auto_load, not used anymore
3868 * gst/gstbin.c: (gst_bin_get_type):
3870 * gst/gstelement.c: (gst_element_get_type):
3872 * gst/gstobject.c: (gst_object_get_type):
3874 * gst/gstpad.c: (gst_pad_get_type):
3876 make _get_type functions similar, fixes data export from library
3878 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3881 correctly make conditionals
3882 * gst/elements/Makefile.am:
3883 * gst/elements/gstelements.c:
3884 fix typo causing fdsrc not to build
3886 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3888 * testsuite/Makefile.am:
3889 * testsuite/bytestream/.cvsignore:
3890 * testsuite/bytestream/Makefile.am:
3891 * testsuite/bytestream/filepadsink.c:
3892 * testsuite/bytestream/gstbstest.c:
3893 * testsuite/bytestream/test1.c:
3894 * testsuite/bytestream/testfile1:
3895 * testsuite/caps/normalisation.c:
3896 * testsuite/caps/random.c: (main):
3897 * testsuite/cleanup/.cvsignore:
3898 * testsuite/cleanup/Makefile.am:
3899 * testsuite/cleanup/cleanup1.c:
3900 * testsuite/cleanup/cleanup2.c:
3901 * testsuite/cleanup/cleanup3.c:
3902 * testsuite/cleanup/cleanup4.c:
3903 * testsuite/cleanup/cleanup5.c:
3904 * testsuite/controller/interpolator.c:
3905 * testsuite/debug/printf_extension.c: (main):
3906 * testsuite/elements/tee.c:
3907 * testsuite/negotiation/.cvsignore:
3908 * testsuite/negotiation/Makefile.am:
3909 * testsuite/negotiation/pad_link.c:
3910 * testsuite/pad/Makefile.am:
3911 * testsuite/pad/chainnopull.c:
3912 * testsuite/pad/getnopush.c:
3913 * testsuite/pad/link.c:
3914 * testsuite/refcounting/sched.c: (create_pipeline):
3915 * testsuite/registry/Makefile.am:
3916 * testsuite/registry/gst-print-formats.c:
3917 * testsuite/schedulers/.cvsignore:
3918 * testsuite/schedulers/142183-2.c:
3919 * testsuite/schedulers/142183.c:
3920 * testsuite/schedulers/143777-2.c:
3921 * testsuite/schedulers/143777.c:
3922 * testsuite/schedulers/147713.c:
3923 * testsuite/schedulers/147819.c:
3924 * testsuite/schedulers/147894-2.c:
3925 * testsuite/schedulers/147894.c:
3926 * testsuite/schedulers/Makefile.am:
3927 * testsuite/schedulers/group_link.c:
3928 * testsuite/schedulers/queue_link.c:
3929 * testsuite/schedulers/relink.c:
3930 * testsuite/schedulers/unlink.c:
3931 * testsuite/schedulers/unref.c:
3932 * testsuite/schedulers/useless_iteration.c:
3933 * testsuite/states/bin.c:
3934 clean out/remove some stuff from the testsuite directories
3936 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3939 check for some headers
3940 * gst/elements/Makefile.am:
3941 * gst/elements/gstelements.c:
3942 don't compile fdsrc without sys/socket.h
3943 * gst/indexers/Makefile.am:
3944 * gst/indexers/gstindexers.c: (plugin_init):
3945 don't compile fileindex without mmap
3947 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3954 * check/Makefile.am:
3955 * docs/gst/Makefile.am:
3956 * examples/helloworld/Makefile.am:
3958 * gst/base/Makefile.am:
3959 * gst/check/Makefile.am:
3960 * gst/elements/Makefile.am:
3961 * gst/indexers/Makefile.am:
3962 * gst/parse/Makefile.am:
3963 * libs/gst/controller/Makefile.am:
3964 * libs/gst/dataprotocol/Makefile.am:
3965 * examples/helloworld/helloworld.c: (event_loop):
3966 compile fixes, though it's not being compiled currently
3968 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3970 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3971 Add some simple tests for the new taglist date API.
3973 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3975 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3976 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3977 Beautify 'last-message' output: print 'none' for buffer timestamps
3978 and durations if none is set; improve alignment with next messages.
3980 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3982 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3983 * gst/gstpluginfeature.h:
3984 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3985 * gst/gstregistry.h:
3986 * docs/gst/gstreamer-sections.txt:
3987 Add new API to check plugin feature version requirements.
3989 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3990 Some basic tests for the above.
3992 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3994 * gst/gststructure.c: (gst_structure_to_string):
3995 guard against NULL printf - happens when for example
3996 a message structure with GstClock gets serialized
3998 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4000 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4001 Fix presumable copy'n'pasto.
4003 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4005 * gst/elements/gstfakesrc.h:
4006 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4007 * gst/elements/gsttypefindelement.c:
4009 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4010 I wonder if this could actually write +2GB files before
4012 2005-10-13 Andy Wingo <wingo@pobox.com>
4014 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4015 Fix Timmeke Waymans bug.
4016 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4017 string of the proper length to gst_caps_from_string. There's a
4018 potential for, before this fix, that this could cause someone
4019 connecting over the network to cause a segfault if the payload is
4022 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4024 * docs/design/draft-push-pull.txt:
4025 * docs/design/part-overview.txt:
4026 * docs/random/TODO-pre-0.9:
4027 * docs/random/old/ChangeLog.gstreamer:
4028 * gst/base/gstpushsrc.c:
4032 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4034 * gst/glib-compat.c: (gst_flags_get_first_value):
4035 * gst/glib-compat.h:
4036 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4037 (gst_value_compare_double), (gst_value_serialize_flags):
4038 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4041 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4043 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4044 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4046 * tools/gst-launch.c: (event_loop):
4047 print out clock nicely
4049 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4051 * docs/gst/gstreamer-sections.txt:
4053 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4054 (gst_tag_list_get_date_index):
4055 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4056 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4058 2005-10-13 Julien MOUTTE <julien@moutte.net>
4060 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4061 (gst_collectpads_chain):
4062 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4065 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4067 * docs/gst/gstreamer-sections.txt:
4070 * tools/gst-inspect.c: (main):
4071 * tools/gst-launch.c: (main):
4072 * tools/gst-run.c: (main):
4073 * tools/gst-xmlinspect.c: (main):
4074 fix GOption context leaks
4077 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4081 * win32/common/config.h:
4083 * win32/vs6/grammar.dsp:
4084 * win32/vs6/libgstelements.dsp:
4085 * win32/vs6/libgstreamer.dsp:
4088 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4090 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4091 * gst/base/gstbasesrc.c: (gst_base_src_query):
4092 fix more guint64<->gdouble conversions
4094 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4097 add win32-update target
4098 * win32/common/gstconfig.h:
4099 * win32/common/gstenumtypes.c:
4100 * win32/common/gstenumtypes.h:
4101 * win32/common/gstversion.h:
4102 add files that visual studio can't generate
4104 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4107 add a win32-update target
4110 2005-10-12 Wim Taymans <wim@fluendo.com>
4112 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4113 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4114 * gst/gstelement.c: (gst_element_commit_state),
4115 (gst_element_set_state):
4116 Protect flags with proper lock.
4117 unref provided cached clock in dispose.
4119 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4122 * gst/gstminiobject.h:
4124 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4125 removed unused flags from miniobject
4128 2005-10-12 Wim Taymans <wim@fluendo.com>
4130 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4131 (gst_file_sink_event), (gst_file_sink_render):
4132 Flush before seeking.
4134 2005-10-12 Andy Wingo <wingo@pobox.com>
4136 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4137 always been the case.
4139 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4141 * check/gst/gstbin.c: (GST_START_TEST):
4142 * docs/gst/gstreamer-sections.txt:
4143 * gst/base/gstbasesink.c: (gst_base_sink_init):
4144 * gst/base/gstbasesrc.c: (gst_base_src_init),
4145 (gst_base_src_get_range), (gst_base_src_check_get_range),
4146 (gst_base_src_start), (gst_base_src_stop):
4147 * gst/base/gstbasesrc.h:
4148 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4149 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4150 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4154 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4156 * gst/gstelement.c: (gst_element_is_locked_state),
4157 (gst_element_set_locked_state), (gst_element_commit_state),
4158 (gst_element_set_state):
4160 * gst/gstindex.c: (gst_index_init):
4162 * gst/gstminiobject.h:
4163 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4164 (gst_object_set_parent):
4166 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4167 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4169 * gst/gstpadtemplate.h:
4170 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4171 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4172 * gst/gstpipeline.h:
4173 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4174 (gst_file_index_commit):
4175 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4176 * testsuite/pad/link.c: (gst_test_src_init),
4177 (gst_test_filter_init), (gst_test_sink_init):
4178 * testsuite/states/locked.c: (main):
4179 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4180 moved bitshift from macro to enum definition
4182 2005-10-12 Wim Taymans <wim@fluendo.com>
4184 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4185 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4186 (gst_file_sink_render):
4187 Some more debugging info.
4189 2005-10-12 Wim Taymans <wim@fluendo.com>
4191 * docs/design/part-states.txt:
4192 * tools/gst-launch.c: (main):
4194 Revert non-intentional change.
4196 2005-10-12 Wim Taymans <wim@fluendo.com>
4198 * check/gst/gstbin.c: (GST_START_TEST):
4199 * check/gst/gstelement.c: (GST_START_TEST):
4200 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4201 * check/gst/gstghostpad.c: (GST_START_TEST):
4202 * check/gst/gstpipeline.c: (GST_START_TEST):
4203 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4204 * check/states/sinks.c: (GST_START_TEST):
4205 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4206 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4207 (gst_bin_remove_func), (gst_bin_get_state_func),
4208 (gst_bin_recalc_state), (gst_bin_change_state_func),
4210 * gst/gstelement.c: (gst_element_get_state_func),
4211 (gst_element_get_state), (gst_element_abort_state),
4212 (gst_element_commit_state), (gst_element_set_state),
4213 (gst_element_change_state), (gst_element_change_state_func):
4215 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4216 (gst_pipeline_provide_clock_func):
4217 * gst/gstutils.c: (gst_element_link_pads_filtered):
4218 * tools/gst-launch.c: (main):
4219 * tools/gst-typefind.c: (main):
4220 Use GstClockTime in _get_state() instead of GTimeVal.
4221 Remove old code in gstutils.c
4223 2005-10-12 Andy Wingo <wingo@pobox.com>
4225 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4228 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4229 there is no task. Shouldn't affect any code, as nothing in our
4230 plugins checks this return value.
4231 (gst_pad_stop_task): Also take the stream lock if the pad has no
4234 2005-10-12 Wim Taymans <wim@fluendo.com>
4236 * gst/gstpad.c: (pre_activate), (post_activate),
4237 (gst_pad_activate_pull), (gst_pad_activate_push):
4238 Cleanup activation code. Reset old state if
4241 2005-10-12 Wim Taymans <wim@fluendo.com>
4243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4244 (gst_base_sink_change_state):
4245 No need to prerol after receiving EOS.
4247 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4248 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4249 * gst/elements/gstidentity.c: (gst_identity_event):
4250 Print events more verbosely.
4252 2005-10-12 Wim Taymans <wim@fluendo.com>
4254 * check/Makefile.am:
4255 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4256 * check/states/sinks2.c:
4257 Moved sinks2 testcode in sinks check.
4259 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4260 (gst_bin_remove_func), (gst_bin_recalc_state),
4261 (gst_bin_change_state_func), (bin_bus_handler):
4262 Fix potential race condition when _get_state() iterated over an
4263 ASYNC element right before it posted a state completion.
4266 Do proper cast here.
4268 * gst/gstevent.c: (gst_event_new_newsegment),
4269 (gst_event_parse_newsegment):
4270 A playback rate of 0.0 is not allowed.
4272 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4274 * win32/common/config.h:
4275 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4276 (_trewinddir), (_ttelldir), (_tseekdir):
4277 * win32/common/dirent.h:
4278 * win32/common/gtchar.h:
4279 * win32/common/libgstbase.def:
4280 * win32/common/libgstreamer.def:
4281 * win32/vs6/grammar.dsp:
4282 * win32/vs6/gst_inspect.dsp:
4283 * win32/vs6/gst_launch.dsp:
4284 * win32/vs6/gstreamer.dsw:
4285 * win32/vs6/libgstbase.dsp:
4286 * win32/vs6/libgstelements.dsp:
4287 * win32/vs6/libgstreamer.dsp:
4288 Visual Studio 6 project files, and a new common directory.
4291 2005-10-11 Wim Taymans <wim@fluendo.com>
4293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4294 (gst_base_sink_do_sync), (gst_base_sink_query),
4295 (gst_base_sink_change_state):
4296 * gst/base/gstbasesink.h:
4297 Correctly parse newsegment info.
4299 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4301 * gst/gst.c: (init_post):
4302 split plugin paths correctly
4304 2005-10-11 Wim Taymans <wim@fluendo.com>
4306 * check/gst/gstevent.c: (GST_START_TEST):
4307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4308 (gst_base_sink_change_state):
4309 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4310 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4311 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4312 * gst/gstevent.c: (gst_event_new_newsegment),
4313 (gst_event_parse_newsegment):
4315 Added extra flag to newsegment for future API freeze.
4316 Updated check and base elements.
4318 2005-10-11 Julien MOUTTE <julien@moutte.net>
4320 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4321 (gst_collectpads_add_pad), (gst_collectpads_pop),
4322 (gst_collectpads_event), (gst_collectpads_chain):
4323 * gst/base/gstcollectpads.h: Handle EOS correctly.
4325 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4327 * tools/gst-launch.c: (main):
4328 more null protecting
4330 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4332 * gst/gst-i18n-lib.h:
4333 check for ENABLE_NLS, not GETTEXT_PACKAGE
4334 * gst/gstregistry.c: (gst_registry_add_plugin),
4335 (gst_registry_scan_path_level),
4336 (_gst_registry_remove_cache_plugins):
4337 protect possibly NULL strings
4338 * gst/parse/types.h:
4339 config.h already included before
4340 * tools/gst-inspect.c: (main):
4341 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4342 check for ENABLE_NLS, not GETTEXT_PACKAGE
4343 * tools/gst-launch.c: (main):
4344 check for ENABLE_NLS, not GETTEXT_PACKAGE
4346 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4349 if we don't have glib, fail before testing 2.8
4350 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4351 fix a leak, should fix plugins-base testsuite
4353 2005-10-11 Andy Wingo <wingo@pobox.com>
4355 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4356 take the mode we're going to as an arg. Go head and set the mode
4357 and flushing flags now, so that if the activate function starts a
4358 thread all the flags will be in the right state.
4359 (post_activate): Renamed also. Just handle making sure streaming
4360 finishes for the deactivation case, and setting the deactivated
4362 (gst_pad_set_active): Complain loudly if deactivation fails.
4363 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4364 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4365 remove the terrible hack.
4367 2005-10-11 Wim Taymans <wim@fluendo.com>
4369 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4370 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4371 (gst_bin_recalc_state), (gst_bin_change_state_func),
4372 (gst_bin_dispose), (bin_bus_handler):
4374 Prepare to make current EOS message queue more generic.
4377 * gst/gstevent.c: (gst_event_new_newsegment),
4378 (gst_event_parse_newsegment):
4380 Rename base to stream_time.
4385 2005-10-11 Wim Taymans <wim@fluendo.com>
4387 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4388 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4389 (gst_bin_change_state_func), (bin_bus_handler):
4391 Work on proper clock selection.
4393 2005-10-11 Edward Hervey <edward@fluendo.com>
4395 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4396 * libs/gst/controller/gstcontroller.h:
4397 Added GList* version of _remove_properties() in order to be able to wrap
4400 2005-10-11 Wim Taymans <wim@fluendo.com>
4402 * docs/design/part-states.txt:
4405 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4406 (gst_bin_change_state_func), (bin_bus_handler):
4407 Doc updates. Don't distribute the same clock over and over again.
4413 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4414 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4415 (gst_pad_send_event):
4417 Make probe emission threadsafe again.
4418 Register quarks and move _get_name() from utils.
4421 * gst/gstpipeline.c: (gst_pipeline_class_init),
4422 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4423 Only redistribute the clock of it changed.
4425 * gst/gstsystemclock.h:
4430 Moved the _flow_get_name() to GstPad.
4432 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4434 * check/gst-libs/gdp.c: (GST_START_TEST):
4435 * check/gst/gstcaps.c: (GST_START_TEST):
4436 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4437 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4438 (gst_dp_packet_from_caps):
4439 fix more valgrind warnings before turning up the heat
4441 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4443 * gst/parse/grammar.y:
4444 some cleanup before the hacking
4446 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4448 * gst/base/gstbasesrc.c: (gst_base_src_query):
4450 * gst/gstutils.c: (gst_guint64_to_gdouble),
4451 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4453 externalize, basesrc uses it
4454 obviously the implementation needs testing
4456 2005-10-10 Wim Taymans <wim@fluendo.com>
4458 * tests/sched/Makefile.am:
4459 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4460 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4462 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4464 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4465 apparently converting from guint64 to double is not implemented
4468 2005-10-10 Wim Taymans <wim@fluendo.com>
4470 * check/Makefile.am:
4471 * check/generic/states.c: (GST_START_TEST):
4472 * check/gst/gstbin.c: (GST_START_TEST):
4473 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4474 * check/states/sinks.c: (GST_START_TEST):
4475 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4477 Check fixes, use API as stated in design docs, remove hacks.
4479 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4480 (gst_base_sink_change_state):
4481 Catch stopping our task while we're shutting down.
4483 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4484 (gst_bin_remove_func), (gst_bin_get_state_func),
4485 (gst_bin_recalc_state), (gst_bin_change_state_func),
4488 * gst/gstelement.c: (gst_element_init),
4489 (gst_element_get_state_func), (gst_element_abort_state),
4490 (gst_element_commit_state), (gst_element_lost_state),
4491 (gst_element_set_state), (gst_element_change_state),
4492 (gst_element_change_state_func):
4494 New state change algorithm (see #318116)
4496 * gst/gstpipeline.c: (gst_pipeline_class_init),
4497 (gst_pipeline_init), (gst_pipeline_set_property),
4498 (gst_pipeline_get_property), (do_pipeline_seek),
4499 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4500 * gst/gstpipeline.h:
4501 Remove crude state change hacks.
4506 * tools/gst-launch.c: (main):
4507 Fixes for state change. Needs some more work to fully use the
4510 2005-10-10 Andy Wingo <wingo@pobox.com>
4512 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4514 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4515 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4518 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4520 * gst/gstiterator.c: (gst_iterator_new):
4521 Fix my previous commit: GTypes passed to gst_iterator_new()
4522 can be fundamental types.
4524 2005-10-10 Wim Taymans <wim@fluendo.com>
4526 * gst/gstelement.c: (gst_element_iterate_pad_list),
4527 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4528 (gst_element_iterate_sink_pads):
4529 Use src/sink pads lists for the respective iterators instead
4532 2005-10-10 Andy Wingo <wingo@pobox.com>
4534 Merged in popt removal + GOption addition patch from Ronald, bug
4537 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4538 GstElement macros around, remove popt-related symbols, add goption
4541 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4543 * docs/gst/Makefile.am:
4544 * docs/libs/Makefile.am: No POPT_CFLAGS.
4546 * examples/manual/Makefile.am:
4547 * docs/manual/basics-init.xml: Doc updates with an example.
4549 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4550 (gst_init), (parse_one_option), (parse_goption_arg):
4551 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4552 bit of hand merging and debugging to get the GOption stuff working
4555 * tests/Makefile.am:
4556 * tools/Makefile.am:
4557 * tools/gst-inspect.c: (main):
4558 * tools/gst-launch.c: (main):
4559 * tools/gst-run.c: (main):
4560 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4562 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4564 * gst/gstiterator.c: (gst_iterator_new):
4565 Add assertions to make sure passed GType is likely to really
4566 be a GType (as the compiler won't catch it if the size and
4567 GType arguments get mixed up, see #318447).
4569 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4571 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4573 * gst/gstbin.c: (gst_bin_iterate_sorted):
4574 Pass GType and size arguments to gst_iterator_new() in the right
4575 order (maybe we should make _new() take the GType as first argument
4576 just like _new_list()?) (#318447).
4579 2005-10-10 Wim Taymans <wim@fluendo.com>
4581 * gst/gstelement.c: (gst_element_finalize):
4582 And free the GStaticRecMutex too
4584 2005-10-10 Andy Wingo <wingo@pobox.com>
4586 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4587 Allocate and free the mutex properly.
4589 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4591 (GstElement): The state_lock is now recursive. Rebuild your
4592 plugins, suckers. Old macros adapted.
4594 * docs/gst/gstreamer-sections.txt: Doc updates.
4597 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4598 (g_static_rec_cond_wait): Ported from state changes patch, while
4599 we wait on bug #317802 to be solved in a well-distributed GLib.
4601 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4602 gst_element_change_state, variable name changes.
4603 (gst_element_change_state): Split out of gst_element_set_state in
4604 preparation for the state change merge. Doesn't pay attention to
4605 the 'transition' argument.
4606 (gst_element_set_state): Updates, hopefully purely cosmetic.
4607 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4609 (gst_element_get_state_func): Renamed from get_state, cosmetic
4612 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4614 * gst/elements/gstelements.c:
4615 * win32/GStreamer.vcproj:
4617 * win32/dirent.c: (_tseekdir):
4618 * win32/gst-inspect.vcproj:
4619 * win32/gst-launch.vcproj:
4620 * win32/gstconfig.h:
4621 * win32/gstelements.vcproj:
4622 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4623 * win32/gstreamer.def:
4625 updates for the win32 build (patch from Sebastien Moutte)
4627 2005-10-10 Andy Wingo <wingo@pobox.com>
4629 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4630 gst_bin_get_state, cleaned up (but no logic changes).
4631 (bin_element_is_sink): Comment updates.
4632 (sink_iterator_filter): Remove needless cast.
4633 (gst_bin_iterate_sinks): Doc update.
4634 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4635 cleaned up (but no logic changes).
4637 * check/states/sinks.c (test_src_sink): Cleanups from the state
4639 (test_livesrc_sink): Sync on the state.
4641 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4642 the state change patch.
4644 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4647 * check/gst/gstbin.c: Merge in some style fixes and additional
4648 checks from Wim's state change patch.
4650 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4652 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4653 (gst_type_find_helper):
4654 Check whether we have the requested data already in our list of
4655 cached buffers before pulling a new buffer; also make the buffer
4656 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4658 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4663 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4664 don't use long long, it's not portable. Replacing with
4665 gint64 seems to work; let's hope no skeletons fall out of the closet.
4667 2005-10-10 Andy Wingo <wingo@pobox.com>
4669 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4671 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4673 * docs/gst/gstreamer-sections.txt:
4678 * gst/gstmessage.c: (gst_message_parse_state_changed):
4681 more docs, fix compilation
4683 2005-10-09 Philippe Khalaf <burger@speedy.org>
4685 Fixed a few forgotten variables on previous commit
4687 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4689 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4690 Fix evil typefind crasher: getrange() might return a short
4691 buffer at the end of a file, but gst_type_find_peek() must
4692 either return the full data as requested or NULL, but
4693 never a short buffer.
4695 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4697 * gst/gstmessage.c: (gst_message_new_state_changed),
4698 (gst_message_parse_state_changed):
4700 don't use "new", it's a C++ keyword
4702 2005-10-08 Wim Taymans <wim@fluendo.com>
4704 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4705 * gst/gstelement.c: (gst_element_post_message):
4706 * gst/gstpipeline.c: (gst_pipeline_change_state):
4707 Small docs and debug updates.
4709 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4711 * docs/gst/gstreamer-sections.txt:
4712 * gst/gstelementfactory.c:
4717 2005-10-08 Wim Taymans <wim@fluendo.com>
4719 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4720 (gst_bin_dispose), (bin_bus_handler):
4721 Fix typos, add comments.
4722 Clear EOS list when going to PAUSED from any direction and do it
4723 in a threadsafe way.
4724 Get base time in a threadsafe way too.
4725 Fix confusing debug in the change_state function.
4726 Various other small cleanups.
4728 * gst/gstelement.c: (gst_element_post_message):
4729 Fix very verbose bus posting code.
4731 * gst/gstpipeline.c: (gst_pipeline_class_init),
4732 (gst_pipeline_set_property), (gst_pipeline_get_property),
4733 (gst_pipeline_change_state):
4734 Small ARG_ -> PROP_ cleanup
4736 2005-10-08 Wim Taymans <wim@fluendo.com>
4738 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4739 Do a less CPU demanding EOS check because we can.
4741 2005-10-08 Wim Taymans <wim@fluendo.com>
4743 * libs/gst/dataprotocol/dataprotocol.c:
4744 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4745 (gst_dp_packet_from_event):
4746 * libs/gst/dataprotocol/dataprotocol.h:
4747 * libs/gst/dataprotocol/dp-private.h:
4748 It's about time we bump the version number.
4749 Since event types don't fit in the guint8 anymore describing
4750 the payload type, make payload type 16 bits wide.
4752 2005-10-08 Wim Taymans <wim@fluendo.com>
4754 * docs/design/part-TODO.txt:
4755 * docs/design/part-clocks.txt:
4756 * docs/design/part-events.txt:
4757 * docs/design/part-gstbin.txt:
4758 * docs/design/part-gstelement.txt:
4759 * docs/design/part-gstpipeline.txt:
4760 * docs/design/part-live-source.txt:
4761 * docs/design/part-messages.txt:
4762 * docs/design/part-overview.txt:
4763 * docs/design/part-states.txt:
4766 2005-10-08 Wim Taymans <wim@fluendo.com>
4770 Fix event quark registration.
4771 Add some space between events so we can insert them in the
4774 2005-10-08 Wim Taymans <wim@fluendo.com>
4776 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4777 (gst_base_sink_handle_buffer):
4784 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4785 (gst_queue_set_property), (gst_queue_get_property):
4787 Remove old unused properties.
4789 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4790 * docs/gst/gstreamer-sections.txt:
4793 * gst/gstminiobject.c:
4794 * gst/gstminiobject.h:
4798 lots of new docs and doc fixes
4800 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4802 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4804 * gst/gstregistry.c: (gst_registry_lookup_locked),
4805 (gst_registry_scan_path_level):
4806 * gst/gstregistryxml.c: (load_plugin):
4807 Only ever load one plugin for a given plugin basename.
4808 This ensures correct overriding of GST_PLUGIN_PATH over
4809 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4810 system installed plugins.
4812 2005-10-08 Wim Taymans <wim@fluendo.com>
4814 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4815 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4816 Prepare for doing QOS.
4818 2005-10-08 Wim Taymans <wim@fluendo.com>
4820 * check/gst/gstbin.c: (GST_START_TEST):
4821 * check/pipelines/cleanup.c: (GST_START_TEST):
4822 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4823 Allow new clock message too.
4825 2005-10-08 Wim Taymans <wim@fluendo.com>
4827 * gst/gstmessage.c: (gst_message_new_error),
4828 (gst_message_new_warning), (gst_message_new_tag),
4829 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4830 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4831 (gst_message_new_segment_start), (gst_message_new_segment_done),
4832 (gst_message_parse_state_changed),
4833 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4834 (gst_message_parse_new_clock):
4836 Also carry the clock in question.
4838 2005-10-08 Wim Taymans <wim@fluendo.com>
4840 * gst/gstmessage.c: (gst_message_new_custom),
4841 (gst_message_new_eos), (gst_message_new_error),
4842 (gst_message_new_warning), (gst_message_new_tag),
4843 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4844 (gst_message_new_new_clock), (gst_message_new_segment_start),
4845 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4846 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4849 Added clock related messages.
4851 * gst/gstpipeline.c: (gst_pipeline_change_state):
4852 Post message when the clock changed.
4854 * tools/gst-launch.c: (event_loop):
4857 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4859 * tools/gst-inspect.c: (print_element_properties_info):
4860 Can't pass NULL strings to g_print() on windows.
4862 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4865 * docs/gst/Makefile.am:
4866 * docs/gst/gstreamer-docs.sgml:
4867 * docs/gst/running.xml:
4868 * docs/version.entities.in:
4869 add a chapter on running GStreamer.
4870 document GST_DEBUG and GST_PLUGIN* env vars
4872 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4877 remove PLUGINS_BUILDDIR stuff
4878 * gst/gst.c: (init_post):
4879 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4881 remove, it was condescending and not needed
4883 2005-10-08 Wim Taymans <wim@fluendo.com>
4885 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4886 (gst_base_sink_handle_object), (gst_base_sink_event),
4887 (gst_base_sink_wait), (gst_base_sink_handle_event),
4888 (gst_base_sink_change_state):
4889 * gst/base/gstbasesink.h:
4890 Repost EOS message while going to PLAYING if still EOS.
4891 Make sure that when receiving a FLUSH_START we don't attempt
4892 to sync on the clock anymore.
4894 2005-10-08 Wim Taymans <wim@fluendo.com>
4896 * tools/gst-launch.c: (event_loop):
4897 Better message printout.
4899 2005-10-08 Wim Taymans <wim@fluendo.com>
4901 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4902 (gst_bin_child_proxy_get_children_count):
4903 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4904 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4905 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4906 (gst_child_proxy_set_valist):
4907 * gst/parse/grammar.y:
4908 Make ChildProxy threadsafe and fix mem leaks.
4910 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4912 * gst/gst.c: (init_post):
4913 debug the GST_PLUGIN_ env vars
4915 2005-10-08 Wim Taymans <wim@fluendo.com>
4917 * check/gst/gstbin.c: (GST_START_TEST):
4918 * check/gst/gstmessage.c: (GST_START_TEST):
4919 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4920 * gst/gstelement.c: (gst_element_commit_state),
4921 (gst_element_lost_state):
4922 * gst/gstmessage.c: (gst_message_new_state_changed),
4923 (gst_message_parse_state_changed):
4925 * tools/gst-launch.c: (event_loop):
4926 Added extra field to STATE_CHANGE message with the pending
4927 state, which will be different from the new state soon.
4929 2005-10-08 Wim Taymans <wim@fluendo.com>
4931 * gst/gstbus.c: (gst_bus_pop):
4933 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4934 Small cleanups and doc updates.
4936 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4938 * gst/gst.c: (init_pre):
4939 * gst/gstbin.c: (gst_bin_add_func):
4940 log distributing clocks and base time
4941 * gst/gstregistry.c: (gst_registry_add_plugin),
4942 (gst_registry_scan_path_level), (gst_registry_scan_path):
4943 clean up the debugging output a little
4944 * gst/gstutils.c: (gst_element_state_get_name):
4945 warn about a memleak (I've actually seen this be used, though
4946 it was probably a bug)
4948 2005-10-07 Wim Taymans <wim@fluendo.com>
4950 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4951 (gst_base_src_init), (gst_base_src_default_newsegment),
4952 (gst_base_src_newsegment), (gst_base_src_do_seek),
4953 (gst_base_src_loop), (gst_base_src_start):
4954 * gst/base/gstbasesrc.h:
4955 Make the newsegment event customizable by subclasses.
4957 2005-10-07 Wim Taymans <wim@fluendo.com>
4959 * gst/gstevent.c: (gst_event_new_buffersize),
4960 (gst_event_parse_buffersize):
4962 New event for future idea.
4964 2005-10-07 Andy Wingo <wingo@pobox.com>
4966 * gst/gstelement.c (gst_element_post_message): Doc update.
4968 * docs/gst/gstreamer-sections.txt: Update.
4970 * gst/gstmessage.c (gst_message_new_application): Made into a
4971 function like honest API calls.
4972 (gst_message_new_element): New message type.
4974 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4976 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4977 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4980 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4981 NO_PREROLL from gst_element_change_state to fall through.
4983 2005-10-07 Wim Taymans <wim@fluendo.com>
4985 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4986 (gst_ghost_pad_do_activate_push):
4987 Activating a ghostpad with no internal pad in push mode
4990 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4993 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4994 Fixes compilation on Windows.
4996 2005-10-07 Michael Smith <msmith@fluendo.com>
4998 * tools/gst-inspect.c:
4999 Print out feature and plugin count at the end when printing out
5002 2005-10-04 Michael Smith <msmith@fluendo.com>
5004 * gst/gsterror.c: (_gst_stream_errors_init):
5005 Add another error string used in a few existing plugins.
5008 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5009 * tools/gst-inspect.c: (print_element_info):
5010 When a feature disappears from a plugin (and the feature exists in
5011 the cached registry file), things went horribly wrong. This isn't a
5012 complete fix, we should actually be removing the 'missing' features
5013 from the features list when we load the actual plugin. That's not
5016 2005-10-04 Johan Dahlin <johan@gnome.org>
5018 * check/gst/gstiterator.c: (GST_START_TEST):
5019 * gst/gstbin.c: (gst_bin_iterate_elements),
5020 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5021 * gst/gstelement.c: (gst_element_iterate_pads):
5022 * gst/gstformat.c: (gst_format_iterate_definitions):
5023 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5024 (gst_iterator_new_list), (gst_iterator_filter):
5025 * gst/gstiterator.h:
5026 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5027 Add a GType to GstIterator, update callsites and tests.
5029 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5031 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5032 give events a chance to be handled by event probes when the pad
5035 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5037 * gst/gstevent.c: (gst_event_type_get_name),
5038 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5040 add string representations for event types
5042 2005-10-06 Wim Taymans <wim@fluendo.com>
5044 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5045 Don't use NULL pointers.
5047 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5049 * gst/gst_private.h:
5053 * gst/gstpluginfeature.c:
5054 widen the debug category in output to fit the biggest one we have
5055 add a bus category and use it
5056 play with the colors
5057 fix up some categories
5059 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5061 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5062 add push activation of sink ghost pads.
5063 Andye, please verify
5065 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5067 * gst/gstutils.c: (gst_element_link_pads):
5068 fix a bug in the case where neither element has a pad
5069 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5070 add a test for that case
5072 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5074 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5075 emit have-data before checking for peers. This allows
5076 for probe handlers to connect elements. This helps autopluggers.
5077 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5079 add six checks, linked/unlinked with no/true/false probe
5081 2005-10-04 Wim Taymans <wim@fluendo.com>
5083 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5084 (gst_fake_sink_event), (gst_fake_sink_preroll),
5085 (gst_fake_sink_render), (gst_fake_sink_change_state):
5086 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5087 (gst_fake_src_get_property), (gst_fake_src_create),
5088 (gst_fake_src_stop):
5089 * gst/elements/gstidentity.c: (gst_identity_stop):
5090 Protect last_message with lock.
5092 2005-10-04 Edward Hervey <edward@fluendo.com>
5095 Added precision in the comments for GST_FORMAT_DEFAULT
5097 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5099 * tools/gst-launch.c: (main):
5100 Don't try to run erroneous pipelines.
5102 2005-10-04 Julien MOUTTE <julien@moutte.net>
5104 * gst/gstbus.c: We don't need this header.
5106 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5111 === release 0.9.3 ===
5113 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5117 Releasing 0.9.3, "Unregistered"
5119 2005-10-03 Andy Wingo <wingo@pobox.com>
5121 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5122 whereby calling a pad's activatepush() function can start a thread
5123 that starts to push or pull before the pad gets the FLUSHING flag
5124 unset. Hack around it by holding the stream lock until the flag is
5125 set. Need to replace this with a proper solution. Together with
5126 the ghost pad fixes, this fixes mp3 playing/tagreading.
5128 * docs/design/part-gstghostpad.txt: Add a note about activation of
5129 proxy pads outside of ghost pads.
5131 * gst/gstghostpad.c: Implement the ghost pad activation design.
5133 2005-10-02 Andy Wingo <wingo@pobox.com>
5135 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5136 It is volatile, after all.
5138 * docs/design/part-gstghostpad.txt: Flesh out activation with
5141 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5144 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5147 Fix (unused) AM_CONDITIONAL tests.
5149 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5151 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5153 * gst/gstutils.c: (gst_pad_query_convert):
5154 Add assertion that makes sure src_val is >=0, just like
5155 gst_query_new_convert() has. (#315895)
5157 2005-09-30 Edward Hervey <edward@fluendo.com>
5159 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5160 Let's not iterate pads we're not interested in, it avoids getting
5161 sky-high refcounts on sinkpad.
5163 2005-09-30 Wim Taymans <wim@fluendo.com>
5165 * gst/gstelement.c: (gst_element_set_state),
5166 (gst_element_change_state):
5167 Small tweak, element in ASYNC remains ASYNC.
5169 2005-09-30 Wim Taymans <wim@fluendo.com>
5171 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5172 Only error is an error.
5174 * gst/gstbin.c: (gst_bin_change_state):
5177 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5178 Also call pad_block in pad alloc.
5180 * gst/gstutils.c: (gst_flow_get_name):
5183 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5185 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5186 (gst_base_src_get_range):
5187 Fix documentation typos. Add some more debug info.
5189 2005-09-29 David Schleef <ds@schleef.org>
5191 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5192 more end-user friendly.
5193 * tools/gst-inspect.c: (main): Check if command-line argument is
5194 a file and attempt to load that file as a plugin.
5196 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5198 * check/gst/gstbin.c:
5199 * check/states/sinks.c:
5200 fix tests for the new warning
5201 * check/gst/gstpipeline.c:
5202 add a test for pipeline and bus interaction
5204 elements should be NULL if they get disposed; add a warning if not
5206 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5209 for 2.6 refcounting, make debug log more correct by printing
5210 the actual refcounts at the time of swap (Wim)
5212 2005-09-29 Andy Wingo <wingo@pobox.com>
5214 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5215 removes signal watches previously added via
5216 gst_bus_add_signal_watch.
5217 (gst_bus_add_signal_watch): Don't return the source id, just store
5218 it on the bus if there wasn't an id already.
5220 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5221 add_signal_watch and remove_signal_watch.
5223 2005-09-29 Edward Hervey <edward@fluendo.com>
5225 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5226 Better if we actually iterate the list :)
5228 2005-09-29 Wim Taymans <wim@fluendo.com>
5230 * check/gst/gstbin.c: (GST_START_TEST):
5231 Change for new bus API.
5233 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5234 (send_messages), (GST_START_TEST), (gstbus_suite):
5235 Change for new bus signal API.
5237 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5238 (gst_bus_source_prepare), (gst_bus_source_check),
5239 (gst_bus_create_watch), (gst_bus_add_watch_full),
5240 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5241 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5243 Remove support for multiple GSources operating on different
5244 message types as it is too complex and unneeded when using
5246 Added support for receiving signals from the bus.
5248 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5250 * docs/libs/tmpl/gstdataprotocol.sgml:
5251 * docs/manual/advanced-dataaccess.xml:
5252 * gst/elements/gstcapsfilter.c:
5254 rename filter-caps to caps property
5256 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5258 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5259 More robust fraction string parsing.
5261 * docs/pwg/appendix-porting.xml:
5262 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5264 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5266 * gst/gstcaps.c: (gst_caps_do_simplify):
5267 Thou shalt not free a structure and then continue using it
5268 in the next loop iteration.
5270 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5272 Add test case for caps simplification.
5274 2005-09-29 Wim Taymans <wim@fluendo.com>
5276 * check/gst/gstbin.c: (GST_START_TEST):
5279 2005-09-29 Wim Taymans <wim@fluendo.com>
5281 * check/gst/gstbin.c: (GST_START_TEST):
5284 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5285 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5286 (find_element), (gst_bin_sort_iterator_next),
5287 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5288 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5289 (gst_bin_change_state), (gst_bin_dispose):
5290 A bin does not have a bus, it gets the bus from the parent.
5292 * gst/gstelement.c: (gst_element_requires_clock),
5293 (gst_element_provides_clock), (gst_element_is_indexable),
5294 (gst_element_is_locked_state), (gst_element_change_state),
5295 (gst_element_set_bus_func):
5298 * gst/gstpipeline.c: (gst_pipeline_class_init),
5299 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5300 The pipeline provides a bus.
5302 2005-09-28 Johan Dahlin <johan@gnome.org>
5304 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5305 gst_structure_get_enum instead of gst_structure_get_int
5307 * gst/gststructure.c (gst_structure_get_enum): Impl.
5309 * gst/gststructure.h (gst_structure_get_enum): Add
5311 * docs/gst/gstreamer-sections.txt: Ditto
5313 * gst/gstmessage.c (gst_message_new_state_changed): Use
5314 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5315 which does introspection.
5316 Reviewed by Christian Schaller
5318 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5320 * gst/gstinfo.c: (gst_debug_log_default):
5321 don't do dummy g_strdup()s
5322 * libs/gst/controller/gstcontroller.c:
5323 (on_object_controlled_property_changed),
5324 (gst_controlled_property_new), (gst_controller_new_valist),
5325 (gst_controller_new_list),
5326 (gst_controller_remove_properties_valist), (gst_controller_set),
5327 (gst_controller_get), (gst_controller_sync_values),
5328 (gst_controller_get_value_array), (_gst_controller_class_init),
5329 (gst_controller_get_type):
5330 * libs/gst/controller/gstcontroller.h:
5331 * libs/gst/controller/gstinterpolation.c:
5332 (gst_controlled_property_find_timed_value_node):
5333 convert // to /**/ comments
5335 2005-09-28 Wim Taymans <wim@fluendo.com>
5337 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5338 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5339 (gst_bus_sync_signal_handler):
5341 Added async-message and sync-message signals to the bus.
5342 Added helper BusFunc to emit signals for all posted messages.
5344 * gst/gstmessage.c: (gst_message_type_get_name),
5345 (gst_message_type_to_quark), (gst_message_get_type):
5347 Register quarks for message names.
5349 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5351 * docs/libs/gstreamer-libs-sections.txt:
5352 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5353 (gst_controller_new_list):
5354 * libs/gst/controller/gstcontroller.h:
5355 added another constructor for language bindings
5357 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5359 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5363 * gst/gstinfo.c: (_gst_debug_init):
5364 slightly more readable color for refcount debugging
5366 2005-09-28 Wim Taymans <wim@fluendo.com>
5368 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5369 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5370 (find_element), (gst_bin_sort_iterator_next),
5371 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5372 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5373 (gst_bin_change_state), (gst_bin_dispose):
5374 Small doc fixes. get_clock -> provide_clock.
5376 * gst/gstelement.c: (gst_element_class_init),
5377 (gst_element_provides_clock), (gst_element_provide_clock),
5378 (gst_element_get_clock), (gst_element_commit_state),
5379 (gst_element_lost_state):
5381 Make get/set_clock() symetric. Add provide_clock vmethod since
5382 that is actually what this function does.
5384 * gst/gstpipeline.c: (gst_pipeline_class_init),
5385 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5386 (gst_pipeline_get_clock):
5387 get_clock -> provide_clock.
5389 2005-09-28 Andy Wingo <wingo@pobox.com>
5391 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5392 lieu of real docs...
5394 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5396 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5398 * gst/elements/gstcapsfilter.c:
5399 * gst/elements/gstfakesink.c:
5400 * gst/elements/gstfakesrc.c:
5401 * gst/elements/gstfdsink.c:
5402 * gst/elements/gstfdsrc.c:
5403 * gst/elements/gstfilesink.c:
5404 * gst/elements/gstfilesrc.c:
5405 * gst/elements/gstidentity.c:
5406 * gst/elements/gsttee.c:
5407 * gst/elements/gsttypefindelement.c:
5408 Make element details static.
5410 2005-09-28 Wim Taymans <wim@fluendo.com>
5412 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5413 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5414 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5415 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5416 (gst_bin_change_state), (gst_bin_dispose):
5417 Some documentation updates.
5418 Clean up dispose handlers.
5420 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5421 * gst/gstpad.c: (gst_pad_dispose):
5422 Clean up dispose handler.
5424 * gst/gstpipeline.c: (gst_pipeline_change_state):
5425 Removed spurious UNLOCK.
5427 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5429 * docs/gst/gstreamer-sections.txt:
5430 * gst/base/gstbasesrc.h:
5435 * gst/gstpipeline.c:
5436 * gst/gstpipeline.h:
5439 added two new functions to the docs
5440 documents all undocumented GstXXXFlags
5441 completed some incomplete docs
5443 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5445 * gst/gstbin.c: (gst_bin_dispose):
5446 * gst/gstelement.c: (gst_element_dispose):
5447 remove now useless and leaky resurrection code in dispose
5448 * gst/base/gstbasesrc.c: (gst_base_src_init):
5449 * gst/gstelementfactory.c: (gst_element_factory_create):
5450 * gst/gstobject.c: (gst_object_set_parent):
5453 2005-09-27 Wim Taymans <wim@fluendo.com>
5455 * docs/design/part-TODO.txt:
5458 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5459 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5460 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5461 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5462 (gst_bin_change_state):
5464 Remove element variable, we keep element info in the iterator now.
5466 2005-09-27 Andy Wingo <wingo@pobox.com>
5468 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5471 2005-09-27 Wim Taymans <wim@fluendo.com>
5473 * check/gst/gstbin.c: (GST_START_TEST):
5474 Enable check that works now.
5476 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5477 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5478 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5479 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5480 (gst_bin_change_state):
5482 Redid the state change algorithm using a topological sort algo.
5483 Handles all cases correctly.
5484 Exposed iterator for state change order.
5487 Temp storage for state changes. Need to get rid of this soon.
5489 2005-09-27 Wim Taymans <wim@fluendo.com>
5491 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5492 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5493 (link_fold_func), (gst_pad_proxy_setcaps):
5494 Leak fixes, the fold functions need to unref the passed object and
5495 _get_parent_*() returns ref to parent.
5497 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5499 * check/gst/gstbuffer.c: (test_make_writable):
5500 Plug leak in test case and fix 'make check-valgrind'
5502 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5504 * gst/gstbuffer.c: (gst_subbuffer_init):
5505 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5506 works correctly in all circumstances (we could have just copied
5507 the parent buffer's readonly flag, but conceptually it seems
5508 cleaner to mark all subbuffers as read-only). (based on patch
5509 by Alessandro Decina, #314710).
5511 * check/gst/gstbuffer.c: (create_read_only_buffer),
5512 (test_make_writable), (test_subbuffer_make_writable),
5514 Add some tests for gst_buffer_make_writable().
5516 2005-09-27 Wim Taymans <wim@fluendo.com>
5518 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5519 use gst_object_has_ancestor().
5521 * gst/gstobject.c: (gst_object_has_ancestor):
5523 gst_object_has_ancestor() copied from gstbin.c as it is a
5526 * tests/instantiate/create.c: (create_all_elements):
5527 * tests/lat.c: (handoff_src), (handoff_sink):
5528 * tests/sched/runxml.c: (main):
5529 * tests/seeking/seeking1.c: (main):
5530 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5532 Fix compilation of some tests.
5534 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5537 Remove comment. GST_TYPE_G_ERROR is here to stay,
5538 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5541 2005-09-26 Wim Taymans <wim@fluendo.com>
5543 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5544 Added check that shows error in state change order.
5546 2005-09-26 Wim Taymans <wim@fluendo.com>
5548 * gst/gstbin.c: (gst_bin_change_state):
5549 Make state change function use 3 queues again, we were
5550 adding elements in the wrong order.
5552 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5555 * gst/gstpad.c: (gst_pad_dispose):
5556 Added some debug info first.
5558 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5560 * docs/design/draft-push-pull.txt:
5561 * docs/design/part-events.txt:
5562 * docs/design/part-overview.txt:
5563 * docs/design/part-scheduling.txt:
5564 Replace all _pull_region() with _pull_range()
5566 2005-09-26 Andy Wingo <wingo@pobox.com>
5568 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5570 * check/gst-libs/controller.c: Update for controller api change.
5573 * tests/Makefile.am:
5574 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5575 over by GLib bug 118439.
5577 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5578 routines to a function.
5580 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5582 * libs/gst/controller/gsthelper.c:
5583 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5584 (gst_object_sync_values): Renamed from sink_values. Ugh.
5586 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5588 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5589 Renamed from controller_key, as it is exported.
5591 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5593 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5598 * gst/gstpadtemplate.h:
5601 * gst/gstqueryutils.c:
5602 * gst/gstqueryutils.h:
5603 remove queryutils headers after moving the two used functions
5604 to gstquery. also fixes build problem for gstsiddec
5606 2005-09-26 Michael Smith <msmith@fluendo.com>
5608 * tools/gst-launch.1.in:
5609 Correct documentation in manpage of debug syntax
5611 2005-09-26 Wim Taymans <wim@fluendo.com>
5613 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5614 (gst_base_src_is_seekable), (gst_base_src_change_state):
5615 Some more debugging info.
5617 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5619 * docs/gst/gstreamer-sections.txt:
5620 * gst/base/gstbasetransform.h:
5624 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5626 * docs/gst/.cvsignore:
5627 * docs/gst/tmpl/.cvsignore:
5628 * docs/gst/tmpl/gstpipeline.sgml:
5629 * docs/gst/tmpl/gstplugin.sgml:
5630 * gst/gstpipeline.c:
5633 inlined the last two docs files
5634 removed the tmpl directory from cvs (no more conflicts here!)
5636 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5638 * docs/gst/gstreamer-sections.txt:
5639 * docs/gst/tmpl/.cvsignore:
5640 * docs/gst/tmpl/gstpad.sgml:
5641 * docs/gst/tmpl/gstpadtemplate.sgml:
5643 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5644 (gst_pad_finalize), (gst_pad_set_pad_template):
5646 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5647 (gst_pad_template_class_init), (gst_pad_template_init),
5648 (gst_pad_template_dispose), (name_is_valid),
5649 (gst_static_pad_template_get), (gst_pad_template_new),
5650 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5651 (gst_pad_template_pad_created):
5652 * gst/gstpadtemplate.h:
5653 inlined two more docs
5654 factored gstpadtemplate out of gstpad
5656 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5658 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5659 (test_children_state_change_order_semi_sink):
5660 Fix test case: we can't rely on a fixed state change order when
5661 going from READY => PAUSED because the sink might commit its
5662 new state first when the first buffer created by the source
5663 reaches the sink before the source has finished its change state.
5664 (Test case still fails at times, see #316856, comment 5 onwards)
5666 2005-09-24 Wim Taymans <wim@fluendo.com>
5668 * docs/design/part-events.txt:
5669 * docs/design/part-gstbus.txt:
5670 * docs/design/part-gstpipeline.txt:
5671 * docs/design/part-messages.txt:
5672 * docs/design/part-overview.txt:
5673 * docs/design/part-segments.txt:
5680 * gst/gstiterator.c:
5681 Various documentation updates.
5683 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5686 Well, that's embarassing. Luckily we weren't using
5687 GST_CLOCK_DIFF anywhere.
5689 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5691 * common/gtk-doc.mak:
5692 don't fail on building XML, FC4 slave shows a bunch of doc
5693 missing bits that I don't get
5695 * gst/gstpipeline.c:
5696 * gst/gststructure.c:
5699 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5701 * docs/design/part-gstbin.txt:
5702 * docs/design/part-gstbus.txt:
5704 Add blurb about how the bus goes into flushing mode and
5705 drops all messages when its bin goes from READY into NULL
5708 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5710 * docs/gst/gstreamer-sections.txt:
5711 * gst/gststructure.c: (gst_structure_get_clock_time):
5712 * gst/gststructure.h:
5713 add a method to get a GstClockTime out of a structure
5715 2005-09-23 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), (gst_bin_suite):
5719 Added test to check state change order in bins (can still be made
5720 to fail here under heavy disk load; bails out with 'Push on pad
5721 fakesink:sink0, but it was not activated in push mode').
5723 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5724 Fix state change order when there is only a semi sink (#316856)
5726 * gst/gstbus.c: (gst_bus_class_init):
5727 Use _class_peek_parent(), not _class_ref(); fix docs to say
5728 'default main context' instead of 'mainloop' where that is
5731 * gst/gstelement.c: (gst_element_commit_state),
5732 (gst_element_set_state):
5733 Fix typos in debug messages
5735 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5738 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5739 * gst/gstpluginfeature.c:
5742 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5743 change an assert into an error until it gets fixed properly
5745 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5747 * docs/gst/gstreamer-sections.txt:
5748 * docs/gst/tmpl/.cvsignore:
5749 * docs/gst/tmpl/gstelement.sgml:
5750 * docs/gst/tmpl/gstinfo.sgml:
5751 * docs/gst/tmpl/gstobject.sgml:
5756 * gst/gstobject.c: (gst_object_class_init):
5758 inlined 3 more biiiig doc files and added some missing docs on the fly
5760 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5762 * check/gst/.cvsignore:
5763 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5764 * gst/gstregistryxml.c: (load_plugin),
5765 (gst_registry_xml_save_plugin):
5766 put back source in registry. add checks for find_plugin.
5767 * testsuite/states/bin.c: (assert_state), (empty_bin),
5768 (test_adding_one_element), (main):
5769 * testsuite/states/locked.c: (main):
5770 some compile/run fixes
5772 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5774 * check/gst/gstvalue.c: (GST_START_TEST):
5775 fix leaks in the test itself
5777 2005-09-22 Wim Taymans <wim@fluendo.com>
5779 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5780 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5781 (gst_base_sink_query):
5782 Prepare for more accurate position reporting and query
5785 * gst/gstelement.c: (gst_element_send_event),
5786 (gst_element_set_state):
5789 2005-09-22 Wim Taymans <wim@fluendo.com>
5791 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5792 (gst_query_parse_segment):
5795 Add segment query for future use.
5797 2005-09-22 Wim Taymans <wim@fluendo.com>
5799 * gst/gstbin.c: (gst_bin_add_func):
5800 Some more debug info.
5802 * gst/gstelement.c: (gst_element_send_event):
5806 Don't know how flags got broken.
5811 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5813 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5814 Add simplistic test suite for GST_TYPE_DATE serialisation and
5817 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5819 * docs/gst/gstreamer-sections.txt:
5820 * gst/gststructure.c: (gst_structure_set_valist),
5821 (gst_structure_get_date):
5822 * gst/gststructure.h:
5823 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5824 (gst_date_copy), (gst_value_compare_date),
5825 (gst_value_serialize_date), (gst_value_deserialize_date),
5826 (gst_value_transform_date_string),
5827 (gst_value_transform_string_date), (_gst_value_initialize):
5829 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5830 bunch of utility functions along with a hack that checks that
5831 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5832 is required. Part of the grand scheme in #170777.
5834 2005-09-22 Andy Wingo <wingo@pobox.com>
5836 * gst/gstconfig.h.in: Psych out gtk-doc.
5838 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5840 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5842 * tools/gst-inspect.c (print_element_list): Plug some
5843 inconsequential leaks.
5845 * gst/gstregistry.c (gst_registry_get_default): Doc.
5847 * check/gst/gstplugin.c:
5848 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5849 * gst/gstelementfactory.c (gst_element_factory_create):
5850 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5853 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5854 (gst_plugin_feature_load): Doc, don't eat refs.
5856 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5857 (gst_plugin_list_free): Doc.
5858 (gst_plugin_load_file): Doc updates.
5860 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5861 accessors returning refcounted objects, return a ref.
5863 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5864 accessor for caps. IDEMPOTENCE. Oh yes.
5866 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5868 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5870 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5871 (_gst_debug_register_funcptr):
5872 Add mutex to serialise access to the hash table with
5873 the function pointer => function name string mapping;
5874 make that hash table static scope (#316809).
5876 * gst/registries/.cvsignore:
5877 Remove left-over file.
5879 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5881 * docs/pwg/appendix-porting.xml:
5882 And something about newsegment events and caps-on-buffers to
5883 the porting guide (feel free to improve).
5885 2005-09-21 Andy Wingo <wingo@pobox.com>
5887 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5888 data and event probes on the same pad.
5889 (test_buffer_probe_once): Test that removing probes from within
5890 the probe functions works.
5892 2005-09-21 Andy Wingo <wingo@pobox.com>
5894 * check/gst/gstutils.c: New file.
5895 (test_buffer_probe_n_times): A simple buffer probe test. More to
5898 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5899 have-data::buffer, not have-data.
5900 (gst_pad_add_event_probe): Likewise for have-data::event.
5901 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5902 peer' isn't quite right yet though.
5903 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5904 (gst_pad_remove_data_probe): Change to take the guint handler_id
5905 as their arg, not the function+data, which is more glib-like.
5907 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5908 the signal emission to indicate if the data is a buffer or an
5910 (gst_pad_get_type): Initialize buffer and event quarks.
5911 (gst_pad_class_init): have-data is now a detailed signal, yes it
5914 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5916 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5917 * gst/gstutils.c: (gst_util_set_value_from_string),
5918 (gst_util_set_object_arg):
5919 Don't put functional code in g_return_if_fail() or
5920 g_return_val_if_fail() statements, otherwise things will
5921 break when G_DISABLE_CHECKS is defined during compilation.
5923 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5925 * docs/gst/tmpl/.cvsignore:
5926 * docs/gst/tmpl/gstvalue.sgml:
5929 inlied another one and added some obvious docs
5931 2005-09-21 Wim Taymans <wim@fluendo.com>
5933 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5934 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5935 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5936 (gst_fdsrc_get_property), (gst_fdsrc_create):
5937 * gst/elements/gstfdsrc.h:
5938 Properly implement fdsrc. Removed signal and timeout,
5939 better implemented somewhere else.
5941 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5943 * docs/gst/tmpl/.cvsignore:
5944 * docs/gst/tmpl/gstimplementsinterface.sgml:
5945 * gst/gstinterface.c:
5948 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5950 * docs/gst/gstreamer-sections.txt:
5951 * docs/gst/tmpl/.cvsignore:
5952 * docs/gst/tmpl/gstenumtypes.sgml:
5953 remove obsolete doc file
5955 2005-09-21 David Schleef <ds@schleef.org>
5957 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5958 little beer, fix a little leak.
5960 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5962 * docs/gst/gstreamer-docs.sgml:
5963 * docs/gst/gstreamer-sections.txt:
5964 * docs/gst/tmpl/.cvsignore:
5969 * gst/gstindex.c: (gst_index_class_init):
5971 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5972 (gst_index_factory_class_init), (gst_index_factory_init),
5973 (gst_index_factory_finalize), (gst_index_factory_new),
5974 (gst_index_factory_destroy), (gst_index_factory_find),
5975 (gst_index_factory_create), (gst_index_factory_make):
5976 * gst/gstindexfactory.h:
5977 * gst/gstpluginfeature.c:
5978 * gst/gstpluginfeature.h:
5979 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5980 more docs inlined, splitted gstindex.{c,h}
5982 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5984 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5987 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5989 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5990 Set sync to FALSE by default.
5992 2005-09-20 Wim Taymans <wim@fluendo.com>
5994 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5995 (gst_base_sink_init):
5996 Make sync property settable from subclass.
5998 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5999 (gst_fake_sink_change_state):
6000 Set sync to FALSE by default.
6002 2005-09-20 Wim Taymans <wim@fluendo.com>
6004 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6005 * tools/gst-launch.c: (main):
6006 The timeout handler should have lower priority than the source
6007 so we don't timeout before popping a message with 0 timeout.
6008 Dump error messages after failed state change.
6010 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6012 * tools/gst-inspect.c: (print_element_properties_info):
6015 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6017 * check/gst/gstevent.c:
6018 * gst/elements/gstfakesink.c:
6019 * gst/elements/gstfakesink.h:
6020 remove the sync property from fakesink.
6021 has the side effect of setting sync TRUE
6022 for fakesink, which is a change. Anyone who knows how
6023 to fix this nicely in a GObject-y way, feel free.
6025 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6027 * docs/gst/gstreamer-docs.sgml:
6028 remove probe refsection
6030 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6032 * check/Makefile.am:
6033 disable valgrinding the controller test again
6034 * docs/gst/gstreamer-sections.txt:
6035 update for api-changes
6037 2005-09-20 Wim Taymans <wim@fluendo.com>
6039 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6040 (gst_base_sink_set_property), (gst_base_sink_get_property),
6041 (gst_base_sink_do_sync):
6042 * gst/base/gstbasesink.h:
6043 Added sync property to basesink to disable clock sync.
6045 2005-09-20 Andy Wingo <wingo@pobox.com>
6047 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6048 eating the caller's refcount.
6050 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6051 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6054 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6055 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6056 of GLib 2.8 public, so we can know which refcount to check in
6059 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6060 (gst_object_init): Only set the gst refcount if we're going ahead
6061 with the refcount hack.
6063 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6065 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6066 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6067 more leaks plumbed, added more debug-logging
6071 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6074 remove include of gstmemchunk.h
6076 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6078 * gst/gstclock.c: (_gst_clock_id_free):
6079 Commit from the Political Party For More Atomic CVS Commits,
6080 so that people don't waste too much of their day fishing
6081 out obvious leaks out of massive commits.
6082 Oh, and fix a pretty damn obvious leak in the memchunk
6085 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6087 * check/Makefile.am:
6088 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6089 plug mem-leak, re-add to valgrindable tests
6091 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6094 unbreak the build for those who have chronic arthritis
6095 and typing "make check" is just too taxing on the hands
6097 2005-09-20 Andy Wingo <wingo@pobox.com>
6099 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6100 really want it out, you should fix plugins at the same time.
6102 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6105 * docs/gst/gstreamer-sections.txt:
6107 added missing symbols to api docs
6108 disable ref-count hack if we have glib >= 2.8
6110 2005-09-19 David Schleef <ds@schleef.org>
6112 * docs/gst/Makefile.am: Ignore a few more internal headers
6113 * docs/gst/gstreamer-docs.sgml: Remove old sections
6114 * docs/gst/gstreamer-sections.txt: Remove old sections
6115 * docs/gst/tmpl/gstobject.sgml: update
6116 * docs/gst/tmpl/gstplugin.sgml: update
6117 * docs/gst/tmpl/gstpluginfeature.sgml: update
6118 * docs/random/ds/0.9-suggested-changes: update.
6119 * gst/Makefile.am: remove memchunk and trashstack, since they're
6121 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6122 * gst/gst.h: don't include some headers
6123 * gst/gstchildproxy.c: add gstmarshal.h
6124 * gst/gstclock.c: Don't use memchunks
6125 * gst/gstminiobject.c: Add some docs
6126 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6127 * gst/gstobject.h: same
6128 * gst/gstplugin.c: include gstmacros.h
6129 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6130 * gst/gstquery.c: don't use memchunks
6131 * gst/gstregistry.c: rename gst_registry_deinit()
6132 * gst/gstregistry.h: same
6134 2005-09-19 David Schleef <ds@schleef.org>
6136 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6137 * docs/libs/gstreamer-libs-sections.txt:
6138 * docs/libs/tmpl/gstgetbits.sgml:
6139 * docs/libs/tmpl/gstputbits.sgml:
6141 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6143 * win32/gstenumtypes.c:
6144 * win32/gstenumtypes.h:
6147 2005-09-19 Wim Taymans <wim@fluendo.com>
6149 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6150 Automatically PAUSE and RESUME a pipeline when a flushing seek
6153 2005-09-19 Andy Wingo <wingo@pobox.com>
6155 * gst/gstregistry.h: Spacing fixen.
6157 2005-09-19 Wim Taymans <wim@fluendo.com>
6159 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6160 Handle state change failure more correctly.
6162 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6164 * check/Makefile.am:
6165 * check/pipelines/cleanup.c: (run_pipeline):
6166 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6168 enable cleanup again after fixing the leak
6170 some more info on docs
6172 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6174 * check/Makefile.am:
6175 re-enable tests now that leaks are plugged
6177 * check/gst/gstbin.c:
6178 * check/gst/gstpipeline.c:
6179 add some more tests while fixing leaks
6181 make sure binaries are uptodate when valgrinding/gdbing
6183 * gst/gstelementfactory.c:
6184 remove a ref too many, and add a FIXME for when we get
6185 round to disposing of classes
6187 fix the refcounting when loading a plugin from a file and
6188 the code pretends that the pointer is the same even though
6189 of course it can change
6190 * gst/gstpluginfeature.c:
6191 unref plugins marked cached (a bit confusing as a name)
6192 as the docs state should be done
6193 various doc additions to explain refcounting
6194 * gst/gstregistry.c:
6195 * gst/gstregistryxml.c:
6198 2005-09-19 Wim Taymans <wim@fluendo.com>
6200 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6201 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6202 (send_messages), (GST_START_TEST), (gstbus_suite):
6203 * check/gst/gstpipeline.c: (GST_START_TEST):
6204 * check/pipelines/cleanup.c: (run_pipeline):
6205 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6207 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6208 (gst_bus_source_check), (gst_bus_source_dispatch),
6209 (gst_bus_create_watch), (gst_bus_add_watch_full),
6210 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6212 * tools/gst-launch.c: (event_loop):
6213 * tools/gst-md5sum.c: (event_loop):
6214 GstBusHandler -> GstBusFunc, return value has the same meaning as
6215 any other GSource (FALSE == remove source).
6216 _add_watch() and _add_watch_full() now take a MessageType mask to
6217 only handle specific types of messages.
6218 _poll() returns the GstMessage instead of the message type to avoid
6220 _have_pending() takes a MessageType mask now too.
6221 Added testsuite for multiple bus watches.
6222 Fix testsuites and applications for new bus API.
6224 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6226 * check/Makefile.am:
6227 mark a bunch of the tests as to fix until we fix them
6229 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6232 use GST_PLUGIN settings for valgrind tests as well, so we're
6233 valgrinding the correct thing
6234 * gst/gst.c: (init_post):
6237 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6239 * gst/gst.c: (init_post), (gst_deinit):
6240 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6241 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6242 * gst/gstindex.c: (gst_index_factory_class_init),
6243 (gst_index_factory_finalize):
6244 * gst/gstobject.c: (gst_object_dispose):
6245 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6246 (gst_plugin_load_file), (gst_plugin_desc_free):
6247 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6248 (gst_plugin_feature_finalize):
6249 * gst/gstregistry.c: (gst_registry_class_init),
6250 (gst_registry_init), (gst_registry_finalize),
6251 (gst_registry_get_default), (gst_registry_deinit):
6252 * gst/gstregistry.h:
6253 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6254 various cleanups and memleak plugging. make valgrind is happy now.
6256 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6259 add a check-valgrind target
6261 2005-09-18 David Schleef <ds@schleef.org>
6263 * tools/gst-inspect.c: Revert the GOption code.
6265 2005-09-17 David Schleef <ds@schleef.org>
6267 * check/Makefile.am: Fix environment variables.
6268 * check/gst/gstplugin.c: Fix for API changes.
6269 * tools/gst-inspect.c: Fix for API changes.
6270 * tools/gst-xmlinspect.c: Fix for API changes.
6271 * gst/gstelementfactory.c:
6274 * gst/gstpluginfeature.c:
6275 * gst/gstpluginfeature.h:
6276 * gst/gstregistry.c:
6277 * gst/gstregistry.h:
6278 * gst/gstregistryxml.c:
6279 * gst/gsttypefind.c:
6280 * gst/gsttypefindfactory.c:
6281 * gst/indexers/gstfileindex.c:
6282 * gst/indexers/gstmemindex.c:
6283 * gst/schedulers/Makefile.am:
6284 Change registry to keep track of both plugins and features,
6285 removing the feature tracking from plugins themselves.
6287 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6289 * check/Makefile.am:
6290 * tools/gst-register.1.in:
6293 2005-09-15 David Schleef <ds@schleef.org>
6295 * check/gst/gstplugin.c:
6296 * gst/gstelementfactory.c:
6298 * gst/gstpluginfeature.c:
6299 * gst/gstregistry.c:
6300 Getting tired of debugging. Disabled all the unreffing of
6301 plugins and features, which fixes the segfaults, but of
6302 course leaks like crazy. At least playbin works.
6304 2005-09-15 David Schleef <ds@schleef.org>
6306 * check/gst/gstplugin.c: (register_check_elements),
6307 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6309 * gst/elements/gsttypefindelement.c: Fix refcounting.
6310 * gst/gsttypefind.c:
6311 * gst/gsttypefindfactory.c:
6312 * gst/gsttypefindfactory.h:
6314 2005-09-15 David Schleef <ds@schleef.org>
6316 * gst/gstindex.c: get refcounting correct.
6317 * gst/gstregistry.c: Handle the case where a feature/plugin is
6320 2005-09-15 David Schleef <ds@schleef.org>
6322 * check/Makefile.am:
6323 * check/gst/gstplugin.c: Add test
6324 * gst/gstplugin.c: Fix problems noticed by testsuite
6326 * gst/gstregistry.c:
6327 * gst/gstregistry.h:
6329 2005-09-15 David Schleef <ds@schleef.org>
6331 * gst/gstplugin.c: Implement semi-decent recounting and locking
6332 in plugins and plugin features.
6334 * gst/gstpluginfeature.c:
6335 * gst/gstpluginfeature.h:
6336 * gst/gstregistry.c:
6338 2005-09-15 Michael Smith <msmith@fluendo.com>
6340 * gst/gstregistry.c: (gst_registry_get_feature_list):
6341 Implement this. Makes oggdemux work; decodebin still broken.
6343 2005-09-14 David Schleef <ds@schleef.org>
6345 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6347 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6348 * gst/check/Makefile.am:
6349 * libs/gst/controller/Makefile.am:
6350 * libs/gst/dataprotocol/Makefile.am:
6352 2005-09-14 David Schleef <ds@schleef.org>
6354 * configure.ac: Remove getbits library. Nothing uses it, and
6355 it should be in something like liboil if someone did want
6357 * libs/gst/Makefile.am:
6358 * libs/gst/getbits/Makefile.am:
6359 * libs/gst/getbits/gbtest.c:
6360 * libs/gst/getbits/getbits.c:
6361 * libs/gst/getbits/getbits.h:
6362 * libs/gst/getbits/gstgetbits_generic.c:
6363 * libs/gst/getbits/gstgetbits_i386.s:
6364 * libs/gst/getbits/gstgetbits_inl.h:
6366 2005-09-14 David Schleef <ds@schleef.org>
6368 * gst/Makefile.am: Dist glib-compat.h
6370 2005-09-14 David Schleef <ds@schleef.org>
6372 * configure.ac: Remove gst/registries, since it's no longer used.
6373 * gst/registries/Makefile.am:
6374 * gst/registries/gstlibxmlregistry.c:
6375 * gst/registries/gstlibxmlregistry.h:
6376 * gst/registries/gstxmlregistry.c:
6377 * gst/registries/gstxmlregistry.h:
6378 * gst/registries/registrytest.c:
6380 2005-09-14 David Schleef <ds@schleef.org>
6382 * gst/glib-compat.h:
6383 * gst/gstregistryxml.c:
6384 Convergence is near. Seriously.
6386 2005-09-14 David Schleef <ds@schleef.org>
6388 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6389 * gst/glib-compat.h:
6390 Attempt #4 to appease the buildbots.
6392 2005-09-14 David Schleef <ds@schleef.org>
6394 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6397 2005-09-14 David Schleef <ds@schleef.org>
6399 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6402 2005-09-14 David Schleef <ds@schleef.org>
6404 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6407 2005-09-14 David Schleef <ds@schleef.org>
6409 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6410 * gst/glib-compat.h: Add some functions that are in newer versions
6411 of glib than we care to require.
6412 * gst/gstregistryxml.c: Use them.
6414 2005-09-14 David Schleef <ds@schleef.org>
6416 * po/POTFILES.in: remove gst-register.c
6418 2005-09-14 David Schleef <ds@schleef.org>
6420 * docs/gst/gstreamer-docs.sgml:
6421 * docs/gst/gstreamer-sections.txt:
6422 * docs/gst/gstreamer.types:
6423 * docs/gst/tmpl/gstelement.sgml:
6424 * docs/gst/tmpl/gstplugin.sgml:
6425 * docs/gst/tmpl/gstpluginfeature.sgml:
6426 Documentation updates for registry changes.
6428 2005-09-14 David Schleef <ds@schleef.org>
6430 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6431 because we don't require glib-2.8.
6433 2005-09-14 David Schleef <ds@schleef.org>
6435 * gst/gstregistryxml.c: Added. Essentially moved out of the
6436 registries directory.
6438 2005-09-14 David Schleef <ds@schleef.org>
6440 * check/Makefile.am:
6441 * check/generic/states.c:
6445 * gst/gst_private.h:
6446 * gst/gstelementfactory.c:
6451 * gst/gstpluginfeature.c:
6452 * gst/gstpluginfeature.h:
6453 * gst/gstregistry.c:
6454 * gst/gstregistry.h:
6455 * gst/gstregistrypool.c: remove
6456 * gst/gstregistrypool.h: remove
6457 * gst/gsttypefind.c:
6458 * gst/gsttypefindfactory.c:
6460 * tools/Makefile.am:
6461 * tools/gst-compprep.c:
6462 * tools/gst-inspect.c:
6463 * tools/gst-register.c: remove
6464 * tools/gst-xmlinspect.c:
6465 Registry rewrite. Changes registry from being a file created
6466 by a tool into a simple cache file created automatically by
6467 libgstreamer. Removed gst-register (because it's no longer
6468 needed). Remove registry pools, because we only have one
6469 registry implementation (XML). Fix up other subsystems as
6472 2005-09-13 Michael Smith <msmith@fluendo.com>
6474 * gst/gstconfig.h.in:
6475 Don't Use windows linking attributes for MinGW. Fixes #316157
6477 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6479 * gst/gstutils.c: (set_state_async_thread_func),
6480 (gst_element_set_state_async):
6481 Apparently people think it's better if this function doesn't
6482 try to set the state to whatever state was asked for on the first
6483 call to this function for any object. Seriously.
6485 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6487 * check/gst/gstpipeline.c: (GST_START_TEST):
6488 * docs/gst/gstreamer-sections.txt:
6489 * gst/gstutils.c: (set_state_async_thread_func),
6490 (gst_element_set_state_async):
6492 add a "gst_element_set_state_async" method that
6493 sets the state and starts a thread to make sure the state
6494 change completes as best as it can
6496 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6498 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6499 codify design+behaviour in testsuite after discussion
6501 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6503 * docs/gst/tmpl/gstelement.sgml:
6504 * docs/manual/appendix-quotes.xml:
6506 * gst/gstelement.c: (gst_element_set_state):
6509 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6511 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6512 (gst_base_transform_prepare_output_buf),
6513 (gst_base_transform_handle_buffer):
6514 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6515 (gst_capsfilter_prepare_buf):
6516 Remove the requirement for sub-classes to call the parent
6517 implementation of prepare_output_buffer with a wrapper function.
6520 * gst/gsttagsetter.h:
6523 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6525 * docs/gst/gstreamer-sections.txt:
6528 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6530 * docs/gst/gstreamer-sections.txt:
6531 * docs/gst/tmpl/gstelement.sgml:
6532 * docs/gst/tmpl/gstplugin.sgml:
6533 * gst/gstminiobject.c:
6535 docs now stop throwing warnings
6537 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6539 * docs/gst/gstreamer-sections.txt:
6540 * docs/gst/gstreamer.types:
6541 * docs/gst/tmpl/gstpad.sgml:
6542 * docs/gst/tmpl/gsttypes.sgml:
6543 * gst/base/gstadapter.h:
6544 * gst/base/gstbasesink.h:
6545 * gst/base/gstbasesrc.h:
6555 * gst/gststructure.c:
6556 * gst/registries/gstlibxmlregistry.h:
6557 various documentation fixes
6559 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6561 * docs/gst/gstreamer-sections.txt:
6562 * docs/gst/tmpl/gstvalue.sgml:
6563 rearrange gstvalue section
6564 * gst/gstutils.c: (gst_element_state_get_name):
6566 * gst/gstvalue.c: (_gst_value_initialize):
6570 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6572 * check/gst-libs/controller.c:
6574 * gst/base/gstbasetransform.c:
6575 (gst_base_transform_default_prepare_buf),
6576 (gst_base_transform_handle_buffer):
6577 * gst/base/gstbasetransform.h:
6578 Some more basetransform changes and fixes to enable sub-classes
6579 that modify buffer metadata only.
6580 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6581 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6582 (gst_capsfilter_prepare_buf):
6583 If the output pad has fixed allowed caps and input buffers
6584 don't have any, set the fixed caps on outgoing buffers.
6586 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6587 * check/elements/identity.c: (GST_START_TEST):
6588 Make the error a little clearer when the test fails because
6589 identity made a copy of the buffer.
6590 * docs/gst/gstreamer-sections.txt:
6591 New symbols in gstbasetransform.h
6592 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6593 (gst_base_transform_init), (gst_base_transform_transform_size),
6594 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6595 (gst_base_transform_default_prepare_buf),
6596 (gst_base_transform_get_unit_size),
6597 (gst_base_transform_buffer_alloc),
6598 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6599 (gst_base_transform_change_state),
6600 (gst_base_transform_set_passthrough),
6601 (gst_base_transform_set_in_place),
6602 (gst_base_transform_is_in_place):
6603 * gst/base/gstbasetransform.h:
6604 Change BaseTransform to separate in_place operate from same_caps
6605 output. in_place implies that the element can perform the transform
6606 on incoming buffers in-place, even if the caps on the output are
6608 Sub-class elements can now implement special buffer allocation
6609 methods for outgoing buffers if they wish to.
6610 Big documentation addition.
6611 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6612 * gst/elements/gstelements.c:
6613 Changes for basetransform modifications.
6614 * gst/elements/Makefile.am:
6615 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6616 Compile fix. Extra debug output.
6618 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6620 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6622 add tests for valid pad naming
6623 * gst/check/gstcheck.c: (gst_check_log_message_func),
6624 (gst_check_log_critical_func):
6626 remove printing of code, it is fragile when the code contains
6627 % and the line number is enough info
6628 * gst/check/gstcheck.h:
6629 * gst/gstpad.c: (gst_pad_template_new):
6632 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6635 say what CHECK flags we use
6636 * docs/libs/gstreamer-libs.types:
6637 * libs/gst/controller/Makefile.am:
6638 * libs/gst/controller/gst-controller.c:
6639 * libs/gst/controller/gst-controller.h:
6640 * libs/gst/controller/gst-helper.c:
6641 * libs/gst/controller/gst-interpolation.c:
6642 * libs/gst/controller/gstcontroller.c:
6643 * libs/gst/controller/gsthelper.c:
6644 * libs/gst/controller/gstinterpolation.c:
6645 * tools/gst-inspect.c: (print_plugin_info):
6646 we don't use dashes in header names
6648 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6650 * check/Makefile.am:
6651 * check/gst/.cvsignore:
6652 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6653 (gst_pipeline_suite), (main):
6654 adding a test for pipelines and state changes
6655 * gst/gstutils.c: (get_state_func):
6657 * gstreamer.spec.in:
6660 2005-09-08 Michael Smith <msmith@fluendo.com>
6662 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6663 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6664 (gst_file_src_is_seekable), (gst_file_src_get_size),
6665 (gst_file_src_start):
6666 * gst/elements/gstfilesrc.h:
6667 Various fixes for unseekable, unmmapable, and non-normal files, so
6668 that fallback to read() rather than mmap() works.
6669 * gst/gstevent.c: (gst_event_new_newsegment):
6670 Allow newsegment events with segment_start == segment_end, as will
6671 correctly happen if you use filesrc on a zero-size file, for
6674 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6676 * gst/gstplugin.c: (gst_plugin_load_file):
6677 Call g_module_close when we don't load the module
6679 * gst/registries/gstlibxmlregistry.c:
6680 (gst_xml_registry_get_property):
6681 Port leak fix from 0.8
6683 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6685 * docs/gst/gstreamer-docs.sgml:
6686 * docs/gst/tmpl/.cvsignore:
6687 * docs/gst/tmpl/gsttrace.sgml:
6688 * docs/gst/tmpl/gsttrashstack.sgml:
6697 * gst/gsttaginterface.c:
6698 * gst/gsttaginterface.h:
6701 * gst/gsttagsetter.c:
6702 * gst/gsttagsetter.h:
6705 * gst/gsttrashstack.c:
6706 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6707 inlined docs for gsttrace, gsttrashstack
6709 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6712 * gst/elements/gstbufferstore.h:
6713 * gst/elements/gsttypefindelement.c:
6714 * gst/elements/gsttypefindelement.h:
6716 * gst/gsttypefind.c:
6717 * gst/gsttypefind.h:
6718 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6719 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6720 (gst_type_find_factory_dispose),
6721 (gst_type_find_factory_unload_thyself),
6722 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6723 (gst_type_find_factory_get_caps),
6724 (gst_type_find_factory_get_extensions),
6725 (gst_type_find_factory_call_function):
6726 * gst/gsttypefindfactory.h:
6727 * gst/registries/gstlibxmlregistry.c:
6728 * gst/registries/gstxmlregistry.c:
6729 splitted gsttypefind into gsttypefind, gsttypefindfactory
6731 2005-09-07 Andy Wingo <wingo@pobox.com>
6733 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6734 condition whereby the pad's task function is entered before the
6735 pad_mode variable was set.
6737 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6739 * gst/gstpad.c: (gst_pad_alloc_buffer):
6740 Catch misbehaving pad_alloc functions that don't
6741 set up caps and do it for them.
6743 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6745 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6747 * docs/gst/tmpl/.cvsignore:
6748 * docs/gst/tmpl/gstmemchunk.sgml:
6749 * docs/gst/tmpl/gstparse.sgml:
6750 * docs/gst/tmpl/gsttaglist.sgml:
6751 * docs/gst/tmpl/gsttagsetter.sgml:
6752 * docs/gst/tmpl/gsttypefind.sgml:
6753 * docs/gst/tmpl/gsttypefindfactory.sgml:
6754 * gst/gstmemchunk.c:
6757 * gst/gsttaginterface.c:
6758 * gst/gsttypefind.c:
6759 * gst/gsttypefind.h:
6762 === release 0.9.2 ===
6764 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6769 releasing 0.9.2, "South"
6771 2005-09-05 Andy Wingo <wingo@pobox.com>
6773 * gst/registries/gstxmlregistry.h:
6774 * gst/registries/gstxmlregistry.c: Um... resurrect...
6776 * gst/registries/gstxmlregistry.h:
6777 * gst/registries/gstxmlregistry.c: and update to newer API.
6778 Incidentally they should be a bit faster now that they don't have
6781 2005-09-05 Andy Wingo <wingo@pobox.com>
6783 * gst/registries/gstxmlregistry.h:
6784 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6785 replaced by the libxml registry a while back
6787 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6789 * docs/gst/tmpl/gstplugin.sgml:
6790 * gst/elements/gstelements.c:
6792 * gst/gstplugin.c: (gst_plugin_register_func),
6793 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6794 (gst_plugin_get_source):
6796 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6797 (gst_xml_registry_save_plugin):
6798 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6799 (gst_xml_registry_save_plugin):
6800 * tools/gst-inspect.c: (print_plugin_info):
6801 add a "source" plugin description field, to represent the source
6802 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6803 will set it to PACKAGE, which is automake's idea of the name of
6806 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6812 * docs/faq/Makefile.am:
6813 * docs/gst/tmpl/gstelement.sgml:
6814 * docs/gst/tmpl/gsttypes.sgml:
6815 * docs/htmlinstall.mak:
6816 * docs/manual/Makefile.am:
6817 * docs/pwg/Makefile.am:
6818 reorganize doc build a little
6819 split out docbook and gtk-doc stuff
6820 have two separate --enable's and enable them through autogen
6821 but disable by default in configure (to be similar to other
6823 * gstreamer.spec.in:
6824 clean up docs install
6844 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6846 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6849 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6850 (gst_fake_sink_change_state):
6851 Make state change function thread-safe.
6853 * gst/gstpad.c: (gst_pad_alloc_buffer):
6854 Set offset on generic buffer allocated by fallback.
6856 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6858 * docs/gst/gstreamer-sections.txt:
6859 * docs/gst/tmpl/gstelement.sgml:
6861 * libs/gst/controller/gst-controller.c:
6862 (gst_controlled_property_set_interpolation_mode),
6863 (gst_controlled_property_new),
6864 (gst_controller_find_controlled_property):
6865 run the wingo-magic script against the docs
6867 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6869 * docs/gst/gstreamer-docs.sgml:
6870 * docs/gst/gstreamer-sections.txt:
6871 * docs/gst/tmpl/.cvsignore:
6872 * docs/gst/tmpl/gstelementdetails.sgml:
6873 * docs/gst/tmpl/gstelementfactory.sgml:
6876 * gst/gstelementfactory.c:
6877 * gst/gstelementfactory.h:
6878 merged elementdetails docs into elementfactory docs
6881 2005-09-02 Andy Wingo <wingo@pobox.com>
6883 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6884 consider this enum an enum and not a flags.
6886 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6888 * docs/gst/gstreamer-docs.sgml:
6889 * docs/gst/tmpl/.cvsignore:
6890 * docs/gst/tmpl/gstghostpad.sgml:
6891 * docs/gst/tmpl/gstiterator.sgml:
6892 * docs/gst/tmpl/gstmacros.sgml:
6893 * docs/gst/tmpl/gstrealpad.sgml:
6894 * docs/gst/tmpl/gstregistry.sgml:
6895 * docs/gst/tmpl/gstregistrypool.sgml:
6896 * docs/gst/tmpl/gststructure.sgml:
6897 * docs/gst/tmpl/gstsystemclock.sgml:
6898 * docs/gst/tmpl/gsttrace.sgml:
6899 * gst/gstghostpad.c:
6901 * gst/gstmemchunk.c:
6902 * gst/gstmemchunk.h:
6904 * gst/gstregistry.c:
6905 * gst/gstregistrypool.c:
6906 * gst/gststructure.c:
6907 * gst/gstsystemclock.c:
6910 2005-09-02 Andy Wingo <wingo@pobox.com>
6912 * gst/gstelement.h (GstState): Renamed from GstElementState,
6913 changed to be a normal enum instead of flags.
6914 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6915 munged to be GST_STATE_CHANGE_*.
6916 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6917 work with the new state representation.
6918 (GstStateChange): New enumeration of possible state transitions.
6919 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6920 (GstElementClass::change_state): Pass the GstStateChange along as
6921 an argument. Helps language bindings, so they don't have to use
6922 tricky lock-needing macros like GST_STATE_CHANGE ().
6924 * scripts/update-states (file): New script. Run it on a file to
6925 update it for state naming and API changes. Updates files in
6928 * All files updated for the new API.
6930 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6932 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6933 * gst/gstutils.c: (gst_util_set_value_from_string),
6934 (gst_util_set_object_arg):
6935 fix a bunch of unchecked return values
6936 * tools/gst-complete.c: (main):
6937 * gstreamer.spec.in:
6940 2005-09-01 Wim Taymans <wim@fluendo.com>
6942 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6943 (gst_base_sink_event), (gst_base_sink_do_sync),
6944 (gst_base_sink_handle_event):
6945 * gst/base/gstbasesink.h:
6946 Handle newsegments more correctly.
6951 * gst/gstevent.c: (gst_event_new_newsegment):
6952 A newsegment cannot have a start_time of -1
6954 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6956 * win32/gstenumtypes.c:
6957 * win32/gstenumtypes.h:
6960 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6962 * libs/gst/controller/gst-controller.c:
6963 (gst_controlled_property_set_interpolation_mode),
6964 (gst_controlled_property_new):
6967 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6969 * docs/faq/gst-uninstalled:
6974 * gst/gstutils.c: (gst_element_link_filtered):
6976 add gst_element_link_filtered
6978 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6980 * docs/gst/gstreamer-docs.sgml:
6981 * docs/gst/gstreamer-sections.txt:
6982 * docs/gst/tmpl/.cvsignore:
6983 * docs/gst/tmpl/gsterror.sgml:
6984 * docs/gst/tmpl/gstfilter.sgml:
6985 * docs/gst/tmpl/gsturihandler.sgml:
6986 * docs/gst/tmpl/gsturitype.sgml:
6987 * docs/gst/tmpl/gstutils.sgml:
6988 * docs/gst/tmpl/gstxml.sgml:
6996 inlined more docs, fixed double id-ref
6998 2005-08-31 Wim Taymans <wim@fluendo.com>
7000 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7001 (gst_base_transform_handle_buffer):
7002 Passthrough elements don't need the caps as they don't care.
7004 2005-08-31 Wim Taymans <wim@fluendo.com>
7006 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7007 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7008 Don't leak refcounts on buffers.
7010 2005-08-31 Wim Taymans <wim@fluendo.com>
7012 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7013 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7014 (gst_base_transform_chain), (gst_base_transform_change_state):
7015 * gst/base/gstbasetransform.h:
7016 Handle the case where we are not negotiated more gracefully.
7018 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7020 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7021 (gst_file_src_map_region):
7022 Set READONLY flag on mmap'ed buffers, otherwise
7023 gst_buffer_make_writable() won't work properly (#314708).
7025 2005-08-31 Wim Taymans <wim@fluendo.com>
7027 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7028 passthrough elements can even do inplace on non writable
7029 buffers (as they don't touch them).
7031 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7033 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7034 (gst_test_mono_source_set_property),
7035 (gst_test_mono_source_class_init), (GST_START_TEST),
7036 (gst_controller_suite):
7037 more tests (hehe I have the most)
7039 describe popping messages whenusing mulltiple sources
7040 * libs/gst/controller/gst-controller.c:
7041 (gst_controlled_property_set_interpolation_mode),
7042 (gst_controlled_property_new):
7043 * libs/gst/controller/gst-controller.h:
7044 * libs/gst/controller/gst-interpolation.c:
7045 implement boolean properties
7047 2005-08-31 Wim Taymans <wim@fluendo.com>
7049 * gst/gstminiobject.c: (gst_mini_object_ref):
7050 Cannot assert that the refcount has to be positive
7051 since a disposed object can be resurrected.
7053 2005-08-31 Wim Taymans <wim@fluendo.com>
7055 * gst/gstpad.c: (gst_pad_init):
7056 Revert change, need to first fix badly behaving
7059 2005-08-30 Wim Taymans <wim@fluendo.com>
7061 * check/elements/fakesrc.c: (setup_fakesrc):
7062 * check/elements/identity.c: (setup_identity):
7063 Activate pads before using them.
7065 2005-08-30 Wim Taymans <wim@fluendo.com>
7067 * gst/base/gstadapter.c: (gst_adapter_flush):
7068 Flushing out 0 bytes is ok for this function.
7070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7071 no newsegment gives a warning and sets the start/stop to
7074 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7075 (gst_base_transform_set_passthrough):
7078 * gst/gstminiobject.c: (gst_mini_object_ref):
7079 Check refcount here too.
7081 * gst/gstpad.c: (gst_pad_init):
7082 Pads are initially flushing and refusing data.
7084 * gst/gstutils.c: (gst_element_link_pads_filtered):
7085 When adding a capsfilter element make sure it has the
7086 same state as the parent bin.
7088 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7090 * docs/gst/tmpl/.cvsignore:
7091 * docs/gst/tmpl/gstformat.sgml:
7092 * docs/gst/tmpl/gstversion.sgml:
7096 * gst/gstversion.h.in:
7097 more docs and two more inlined
7099 2005-08-30 Wim Taymans <wim@fluendo.com>
7101 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7102 Don't sync to clock.
7104 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7106 * docs/gst/gstreamer-sections.txt:
7107 ultral33t func10ns deserve to appear in the docs actually
7108 * docs/gst/tmpl/.cvsignore:
7109 * docs/gst/tmpl/gstcompat.sgml:
7110 * docs/gst/tmpl/gstconfig.sgml:
7111 * gst/check/gstcheck.c:
7113 * gst/gstconfig.h.in:
7116 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7118 * docs/gst/tmpl/.cvsignore:
7119 * docs/gst/tmpl/gstquery.sgml:
7120 * docs/gst/tmpl/gstutils.sgml:
7123 inlined and extended docs
7125 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7127 * check/gst-libs/controller.c: (GST_START_TEST),
7128 (gst_controller_suite):
7130 * docs/gst/tmpl/gstutils.sgml:
7131 * docs/libs/gstreamer-libs-sections.txt:
7132 * docs/libs/tmpl/gstdataprotocol.sgml:
7134 * examples/controller/audio-example.c: (main):
7135 controller example works now
7138 * tools/gst-inspect.c: (print_element_properties_info):
7139 show param spec flags
7141 2005-08-29 Andy Wingo <wingo@pobox.com>
7143 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7145 2005-08-28 Andy Wingo <wingo@pobox.com>
7147 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7148 as having two arguments instead of just one. Allows superclasses
7149 to access information on subclasses -- see the terrible for() loop
7150 in gtype.c:g_type_create_instance for the reason why. All callers
7153 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7155 * docs/design/part-messages.txt:
7157 * docs/gst/tmpl/.cvsignore:
7158 * docs/gst/tmpl/gstcaps.sgml:
7159 * docs/gst/tmpl/gstclock.sgml:
7166 added descriptions for bus and message
7167 inline caps and clock docs
7169 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7175 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7177 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7180 2005-08-26 Andy Wingo <wingo@pobox.com>
7182 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7183 element_set_state's return val.
7184 (test_2_elements): Add test that's been disabled for months.
7186 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7187 can-activate-pull properties.
7189 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7190 can-activate-pull properties. Implement is_seekable so fakesrc can
7191 operate in pull mode.
7193 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7195 (gst_base_sink_activate, gst_base_sink_activate_pull)
7196 (gst_base_sink_activate_push): Make activation mode choosing work.
7198 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7199 is right. Make pull mode work. Post an eos before pausing in pull
7201 (gst_base_sink_change_state): Pay attention to the core's
7202 change_state() return val.
7204 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7205 has-getrange properties. Cleanups.
7207 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7208 has_getrange and replace with can_activate_pull and
7211 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7212 locking comments. Remove has_loop, has_chain and replace with
7213 can_activate_pull and can_activate_push.
7215 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7218 * examples/Makefile.am:
7219 * examples/metadata/Makefile.am:
7220 * examples/metadata/read-metadata.c: (message_loop),
7221 (have_pad_handler), (make_pipeline), (print_tag), (main):
7222 Add metadata reading example that loops over a list of filenames,
7223 dumping any tags found.
7225 * gst/gstbus.c: (gst_bus_dispose):
7226 * gst/gstelement.c: (gst_element_dispose):
7227 Release a few potentially-held references in dispose.
7229 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7231 * docs/gst/tmpl/gstminiobject.sgml:
7232 do *not* add tmpl/*.sgml files to CVS!
7234 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7236 * libs/gst/bytestream/.cvsignore:
7237 * libs/gst/bytestream/Makefile.am:
7238 * libs/gst/bytestream/adapter.c:
7239 * libs/gst/bytestream/adapter.h:
7240 * libs/gst/bytestream/bytestream.c:
7241 * libs/gst/bytestream/bytestream.h:
7242 * libs/gst/bytestream/filepad.c:
7243 * libs/gst/bytestream/filepad.h:
7244 removing obsolete files
7246 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7248 * docs/gst/gstreamer-docs.sgml:
7249 * docs/libs/gstreamer-libs-docs.sgml:
7250 disabed additional index entries again, as this makes docs-gen just
7251 slow and they aren't useful yet
7252 * docs/libs/gstreamer-libs-sections.txt:
7253 little -section.txt cleanup for libs
7255 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7258 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7259 fix up some debugging
7260 (gst_base_transform_get_unit_size),
7261 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7262 (gst_base_transform_handle_buffer):
7263 * gst/base/gstbasetransform.h:
7264 handle and store timed NEWSEGMENT events so that subclasses that
7265 calculate time by counting samples have a segment_start time they
7266 need to add to their timestamps - see audioresample
7268 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7271 removed ';' from the end of macro defs
7272 * docs/gst/gstreamer-docs.sgml:
7273 * docs/gst/gstreamer-sections.txt:
7274 * docs/gst/tmpl/.cvsignore:
7276 * gst/gstelement.c: (gst_element_class_init),
7277 (gst_element_set_state), (activate_pads),
7278 (gst_element_save_thyself):
7279 * gst/gstevent.c: (gst_event_new_newsegment):
7281 * gst/gstiterator.c:
7282 * gst/gstiterator.h:
7285 * gst/gstutils.c: (gst_pad_query_convert):
7287 fixed parameter name mismatches between source, header and docs
7288 added some more docs, resolved the last batch of unused elements in
7289 docs (now someone needs to doc them)
7291 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7293 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7294 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7295 don't walk through the plugins backwards. Where is all this
7296 reversed logic coming from ?
7298 2005-08-25 Wim Taymans <wim@fluendo.com>
7300 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7301 (gst_base_transform_transform_size),
7302 (gst_base_transform_configure_caps),
7303 (gst_base_transform_get_unit_size),
7304 (gst_base_transform_buffer_alloc),
7305 (gst_base_transform_change_state):
7306 * gst/base/gstbasetransform.h:
7307 Cache caps unit_size.
7308 Make sure we cannot negotiate up and downstream at the
7311 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7313 * gst/gst.c: (init_pre), (init_post):
7314 register the installed plugin path after the env var
7315 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7316 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7317 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7318 directories, so the tests can prefer uninstalled over installed
7320 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7322 * gst/base/gstbasetransform.h:
7327 2005-08-25 Wim Taymans <wim@fluendo.com>
7329 * gst/gstbin.c: (bin_bus_handler):
7330 Be a bit more conservative about the posted message.
7332 * gst/gstbus.c: (gst_bus_post):
7333 Some cleanups, warn wrong return values.
7335 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7337 * check/gst/gstbin.c: (GST_START_TEST):
7338 * gst/gstbin.c: (bin_bus_handler):
7339 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7340 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7341 (gst_message_new_warning), (gst_message_new_tag),
7342 (gst_message_new_state_changed), (gst_message_new_segment_start),
7343 (gst_message_new_segment_done), (gst_message_new_custom):
7345 * tools/gst-launch.c: (event_loop):
7346 * tools/gst-md5sum.c: (event_loop):
7347 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7349 2005-08-25 Wim Taymans <wim@fluendo.com>
7351 * check/generic/states.c: (GST_START_TEST):
7352 Cleanup can be done at the end.
7354 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7355 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7356 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7357 Oh boy.. Thanks for finding this, Thomas.
7359 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7361 * docs/gst/gstreamer.types:
7364 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7366 * docs/gst/gstreamer-docs.sgml:
7367 * docs/gst/gstreamer-sections.txt:
7368 * docs/gst/tmpl/.cvsignore:
7370 * gst/gstiterator.c:
7372 * gst/registries/gstxmlregistry.h:
7373 added missing classes and symbols (123 more to go)
7374 removed removed symbols from section file
7375 fixed many doc-comments
7377 2005-08-24 Wim Taymans <wim@fluendo.com>
7379 * check/generic/states.c: (GST_START_TEST):
7380 Make sure all tasks are stopped.
7382 * check/gst/gstbin.c: (GST_START_TEST):
7383 Unref after usage for proper valgrinding.
7385 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7386 Really wait for the task to stop before destroying the
7389 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7390 (gst_queue_src_activate_push):
7391 Small cleanups. Don't stop the task when we did not start
7394 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7395 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7396 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7399 Protect the stream lock with the object lock.
7400 Disallow setting the stream lock when running.
7401 Add cleanup_all to wait for the threadpool to finish.
7402 Remove code to autoallocate a mutex if none was provided.
7403 Add _join() to wait for a task to stop.
7404 Protect the thread pool with a global lock.
7406 2005-08-24 Wim Taymans <wim@fluendo.com>
7408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7409 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7410 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7411 * gst/base/gstbasesink.h:
7412 Handle newsegment events correctly.
7413 Drop buffers out of the segment range.
7415 2005-08-22 Andy Wingo <wingo@pobox.com>
7417 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7418 macro, implements an interface and gstimplementsinterface for a
7421 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7423 * check/Makefile.am:
7424 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7425 add a test that does a bunch of state changes on elements
7426 needs some fixing for valgrind
7427 * check/states/sinks.c: (gst_object_suite):
7430 add prototype for gst_caps_is_equal_fixed
7432 * gst/gstregistrypool.c:
7435 2005-08-24 Andy Wingo <wingo@pobox.com>
7437 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7438 convert a negative value. Doesn't make much sense. Mostly this is
7439 here to force callers to ensure -1 maps to -1.
7441 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7443 * docs/pwg/advanced-types.xml:
7444 Well done to Michael for catching my deliberate introduction
7445 of this spelling mistake.
7446 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7448 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7449 unlink pads before removing the element from the bin.
7451 2005-08-24 Andy Wingo <wingo@pobox.com>
7453 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7454 the same thing as GST_DEBUG=*:4.
7455 (parse_debug_level, parse_debug_category): New helper parsers.
7457 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7459 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7460 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7461 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7462 (gst_base_transform_buffer_alloc),
7463 (gst_base_transform_handle_buffer):
7464 use gboolean return values and pointers to size so we can use the
7465 full GST_BUFFER_SIZE range (guint) for buffer sizes
7466 use GstPadDirection for transform_caps
7467 * gst/base/gstbasetransform.h:
7468 rename get_size to get_unit_size since that's what it is
7469 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7470 use GstPadDirection for transform_caps
7471 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7473 cleanup and debugging
7475 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7477 * gst/gstelement.c: (gst_element_class_init),
7478 (gst_element_set_state), (activate_pads),
7479 (gst_element_save_thyself):
7480 * tools/gst-compprep.c: (main):
7481 * tools/gst-inspect.c: (print_element_properties_info):
7482 * tools/gst-xmlinspect.c: (print_element_properties):
7483 Fixed long standing mem-leak
7485 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7487 * check/gst/gstbin.c: (GST_START_TEST):
7488 * gst/gstbin.c: (bin_bus_handler):
7489 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7490 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7491 (gst_message_new_warning), (gst_message_new_tag),
7492 (gst_message_new_state_changed), (gst_message_new_segment_start),
7493 (gst_message_new_segment_done), (gst_message_new_custom):
7495 * tools/gst-launch.c: (event_loop):
7496 * tools/gst-md5sum.c: (event_loop):
7497 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7498 that applications can sensibly post custom messages with references
7499 to their own objects.
7501 2005-08-24 Andy Wingo <wingo@pobox.com>
7503 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7506 2005-08-24 Wim Taymans <wim@fluendo.com>
7508 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7509 (gst_base_transform_transform_caps),
7510 (gst_base_transform_transform_size),
7511 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7512 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7513 (gst_base_transform_handle_buffer):
7514 * gst/base/gstbasetransform.h:
7515 Many fixes and new features added by Thomas. Can now also do
7516 transforms with variable sizes and a custom fixate_caps function.
7518 2005-08-24 Wim Taymans <wim@fluendo.com>
7520 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7524 Cast to ClockTime before formatting to time.
7529 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7531 * check/gst-libs/controller.c: (GST_START_TEST),
7532 (gst_controller_suite):
7533 * docs/gst/tmpl/gstcaps.sgml:
7534 * docs/gst/tmpl/gstghostpad.sgml:
7535 * docs/gst/tmpl/gstquery.sgml:
7536 * docs/gst/tmpl/gstutils.sgml:
7537 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7538 (gst_object_sink_values), (gst_object_get_value_arrays),
7539 (gst_object_get_value_array):
7540 gracefully handle helper method calls to objects that are not beeing
7541 controlled, added test case for that
7543 2005-08-23 Wim Taymans <wim@fluendo.com>
7545 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7546 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7547 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7548 (gst_event_parse_qos), (gst_event_new_seek),
7549 (gst_event_parse_seek):
7551 Some more debugging output and doc cleanups.
7553 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7554 Fix possible deadlock.
7556 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7558 * docs/gst/gstreamer-docs.sgml:
7559 * docs/gst/gstreamer-sections.txt:
7560 * docs/gst/gstreamer.types:
7561 * docs/gst/tmpl/.cvsignore:
7566 added 100 symbols from gstreamer-unused.txt to the right sections
7567 fixed more broken comments
7568 added GstBus to docs
7570 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7572 * docs/gst/gstreamer-sections.txt:
7573 * docs/gst/tmpl/.cvsignore:
7574 * docs/gst/tmpl/gstbin.sgml:
7575 * docs/gst/tmpl/gstbuffer.sgml:
7576 * gst/base/gstbasesrc.c:
7577 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7580 * tools/gst-launch.1.in:
7581 inlined more doc comments, added missing comments and fixed comments
7584 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7586 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7590 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7592 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7593 * gst/gststructure.h:
7594 add a fixate function for booleans; add a FIXME that these func
7595 names should probably be gst_structure_fixate_*
7597 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7599 * docs/gst/gstreamer-docs.sgml:
7600 * docs/gst/gstreamer-sections.txt:
7602 * gst/gstbin.c: (gst_bin_get_type),
7603 (gst_bin_child_proxy_get_child_by_index),
7604 (gst_bin_child_proxy_get_children_count),
7605 (gst_bin_child_proxy_init):
7606 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7607 (gst_child_proxy_get_child_by_index),
7608 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7609 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7610 (gst_child_proxy_get), (gst_child_proxy_set_property),
7611 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7612 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7613 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7614 * gst/gstchildproxy.h:
7615 * gst/parse/grammar.y:
7616 * tools/gst-inspect.c: (print_interfaces),
7617 (print_element_properties_info), (print_element_info):
7618 ported gstchildproxy over from 0.8
7619 ported gst-inspect fixes and enhancements over from 0.8
7621 2005-08-22 Wim Taymans <wim@fluendo.com>
7623 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7624 (gst_base_transform_handle_buffer):
7625 Also call the transform function if we have ANY caps.
7627 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7630 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7632 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7633 Don't pretend to handle seek events if the source is not seekable
7635 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7637 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7638 Remove extra parameter to debug output
7640 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7641 (gst_base_src_do_seek), (gst_base_src_activate_push):
7642 Fix seek event handling.
7644 * gst/gstpipeline.c: (gst_pipeline_change_state):
7645 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7646 (gst_queue_src_activate_push):
7647 Don't start the src pad task on FLUSH_STOP if the pad
7651 2005-08-22 Wim Taymans <wim@fluendo.com>
7653 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7654 Added check for gst_static_caps_get() refcounting.
7656 2005-08-22 Wim Taymans <wim@fluendo.com>
7658 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7659 Make _static_caps_get() refcounting sane.
7661 * gst/gstelement.c: (gst_element_set_state):
7662 Add g_return_val_if_fail() to protect against segfaults.
7664 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7666 * docs/gst/tmpl/gstevent.sgml:
7669 inlined remaining docs, added missing doc comments
7671 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7673 * check/gst/gstbin.c: (GST_START_TEST):
7674 since we don't know when preroll is done, use refcount range
7676 * gst/check/gstcheck.h:
7677 add macro for checking refcount range
7679 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7681 * check/Makefile.am:
7682 clean up environment for when registry gets built versus
7683 when actual tests are run; valgrind seems to not report
7684 leaks if GST_PLUGIN_PATH is set to some specific values
7685 * check/gst/gstbin.c: (GST_START_TEST):
7686 add more refcounting checks; maybe this exposes a
7689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7690 * gst/check/gstcheck.h:
7691 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7692 (gst_bin_change_state):
7693 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7694 add/fix debugging/whitespace
7696 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7698 * check/gst/gstevent.c: (event_probe), (test_event),
7700 Er, don't call gst_bin_watch_for_state_change you idiot.
7702 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7704 * check/Makefile.am:
7705 Use CHECK_CFLAGS and CHECK_LIBS
7706 * check/gst/gstevent.c: (event_probe), (test_event),
7709 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7710 (gst_base_src_start), (gst_base_src_stop),
7711 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7712 (gst_base_src_change_state):
7713 Sprinkle gst_base_src_stop liberally around error paths to fix
7714 problems reusing a source after failed state changes.
7715 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7716 (helper_find_suggest), (gst_type_find_helper):
7717 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7719 * docs/gst/tmpl/gstevent.sgml:
7720 Migrate part of the docs from the SGML file. Wait for ensonic to
7721 tell me how I did it wrong ;)
7722 * tools/gst-typefind.c: (main):
7723 Extra robustness to state changes between files.
7725 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7727 * check/Makefile.am:
7728 don't valgrind the controller test - it's leaking - Stefan, HELP
7729 * gst/check/gstcheck.c: (gst_check_message_error),
7730 (gst_check_chain_func), (gst_check_setup_element),
7731 (gst_check_teardown_element), (gst_check_setup_src_pad),
7732 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7733 (gst_check_teardown_sink_pad):
7734 * gst/check/gstcheck.h:
7735 add a bunch of methods to set up elements, and src and sink pads
7736 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7737 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7742 whitespace/doc fixes
7744 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7747 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7748 be handled by the application and not always printed as well
7750 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7752 * check/Makefile.am:
7754 * gst/check/gstcheck.c: (gst_check_message_error):
7755 * gst/check/gstcheck.h:
7756 add a fail_unless_equals_int
7757 add fail_unless for error messages
7759 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7761 * check/Makefile.am:
7763 * common/Makefile.am:
7766 factor out some of the common stuff so we can use it
7768 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7770 * check/Makefile.am:
7771 * check/gst/gstiterator.c: (GST_START_TEST):
7772 * check/gst/gstsystemclock.c: (GST_START_TEST),
7773 (gst_systemclock_suite):
7774 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7778 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7780 * check/elements/.cvsignore:
7781 * check/elements/gstfakesrc.c:
7782 rename to name of element
7783 * check/elements/identity.c: (chain_func), (event_func),
7784 (setup_identity), (cleanup_identity), (GST_START_TEST),
7785 (identity_suite), (main):
7786 add a test for identity
7787 * check/Makefile.am:
7788 * pkgconfig/Makefile.am:
7789 * pkgconfig/gstreamer-check.pc.in:
7790 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7794 move the check stuff to a library that gets installed
7795 * check/gst-libs/controller.c: (GST_START_TEST):
7796 * check/gst-libs/gdp.c:
7797 * check/gst/gst.c: (GST_START_TEST):
7798 * check/gst/gstbin.c:
7799 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7800 * check/gst/gstbus.c:
7801 * check/gst/gstcaps.c: (GST_START_TEST):
7802 * check/gst/gstelement.c:
7803 * check/gst/gstghostpad.c:
7804 * check/gst/gstiterator.c:
7805 * check/gst/gstmessage.c:
7806 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7807 * check/gst/gstobject.c:
7808 * check/gst/gstpad.c: (GST_START_TEST):
7809 * check/gst/gststructure.c: (GST_START_TEST):
7810 * check/gst/gstsystemclock.c: (GST_START_TEST),
7811 (gst_systemclock_suite):
7812 * check/gst/gsttag.c: (gst_tag_suite):
7813 * check/gst/gstvalue.c:
7814 * check/pipelines/cleanup.c:
7815 * check/pipelines/simple_launch_lines.c:
7816 * check/states/sinks.c:
7817 change include statement
7819 * docs/gst/gstreamer-sections.txt:
7820 * docs/gst/tmpl/gstpad.sgml:
7821 document more pad stuff
7822 * gst/gstminiobject.c: (gst_mini_object_ref),
7823 (gst_mini_object_unref):
7826 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7828 * docs/gst/tmpl/gst.sgml:
7830 eliminate another tmpl file, fix spelling in the long-description
7832 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7834 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7835 (test_event), (timediff), (gstevents_suite):
7836 Should fix build on 64-bit arch's
7838 2005-08-18 Andy Wingo <wingo@pobox.com>
7840 Make sure that when a pipeline goes to PLAYING, that data has
7841 actually hit the sink.
7843 * check/states/sinks.c (test_sink): A sink that doesn't get any
7844 data shouldn't return SUCCESS for going to either PLAYING or
7845 PAUSED. Test also the return values on the way back down.
7847 * gst/gstelement.c (gst_element_set_state): When changing the
7848 state of an element currently changing state asynchronously, go to
7849 lost-state after commiting the pending state. Makes future calls
7850 to get_state continue to return ASYNC.
7852 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7853 ASYNC when going to PLAYING if we still don't have preroll, as can
7854 happen with live sources.
7856 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7858 * docs/pwg/advanced-types.xml:
7859 Hack long paragraph into 2 chunks as a workaround for buggy
7860 jadetex version in sid and breezy that loops infinitely and
7863 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7865 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7866 (test_event), (timediff), (gstevents_suite):
7867 Provide more error margin in clock measurements to allow for
7868 g_get_current_time inaccuracies.
7870 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7872 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7873 (test_event), (timediff), (gstevents_suite):
7874 Fix error message output so I might be able to tell why the
7875 test works here but fails on the build farm.
7877 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7879 * check/Makefile.am:
7880 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7881 (test_event), (timediff), (gstevents_suite), (main):
7884 * docs/design/part-seeking.txt:
7887 * docs/gst/tmpl/gstevent.sgml:
7888 * docs/gst/tmpl/gstfakesrc.sgml:
7891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7892 Treat a buffer-without-newsegment the same as a receiving
7893 a newsegment not in time format, and disable syncing to the clock
7896 * gst/gstbus.c: (gst_bus_set_sync_handler):
7897 Assert if anyone tries to replace the existing sync_handler for bus,
7898 as only the owner should be setting it.
7901 Have a fixed set of custom event enums with events identified by
7902 their structure name (as in 0.8), rather than a free-for-all
7903 allowing collisions between enum values from different plugins.
7905 * gst/gstpad.c: (gst_pad_class_init):
7908 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7909 Handle out-of-band downstream events from the sending thread.
7911 2005-08-17 Andy Wingo <wingo@pobox.com>
7913 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7914 play-timeout==0 to mean no timeout at all. In that case, don't
7915 bother with a get_state or a warning, just return directly, even
7918 * gst/base/gstbasetransform.c: Debug changes.
7921 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7922 ensure bins post state change messages. A bit of a hack but I can't
7923 think of a way to avoid it.
7925 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7927 2005-08-16 Andy Wingo <wingo@pobox.com>
7929 * gst/base/gstadapter.h:
7930 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7931 peek() but you own the data. Not terribly efficient atm.
7933 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7935 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7936 (gst_element_found_tags):
7938 Add two utility functions for tag handling.
7940 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7942 * docs/manual/advanced-dataaccess.xml:
7943 * docs/manual/basics-helloworld.xml:
7944 Fix docs to use _bin_add() before _link(), which fixes the examples
7945 with recent core versions (reported by Madhan Raj M
7946 <raj_madan@rediffmail.com>, #313199).
7948 2005-08-16 Wim Taymans <wim@fluendo.com>
7950 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7951 Added subtract checks.
7953 * docs/design/part-events.txt:
7954 Some more docs about newsegment
7956 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7959 * gst/gstcaps.c: (gst_caps_to_string):
7960 Add comments, cleanups.
7962 * gst/gstelement.c: (gst_element_save_thyself):
7965 * gst/gstvalue.c: (gst_value_collect_int_range),
7966 (gst_string_unwrap), (gst_value_union_int_int_range),
7967 (gst_value_union_int_range_int_range),
7968 (gst_value_intersect_int_int_range),
7969 (gst_value_intersect_int_range_int_range),
7970 (gst_value_intersect_double_double_range),
7971 (gst_value_intersect_double_range_double_range),
7972 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7973 (gst_value_subtract_int_range_int),
7974 (gst_value_subtract_double_range_double),
7975 (gst_value_subtract_double_range_double_range),
7976 (gst_value_subtract_from_list), (gst_value_subtract_list),
7977 (gst_value_can_compare), (gst_value_compare_fraction):
7978 Cleanups, add comments, remove unneeded asserts.
7980 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7982 * tools/gst-launch.c: (event_loop):
7983 don't convert NULL structures to strings
7985 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7987 * docs/gst/gstreamer-sections.txt:
7988 made some defines private
7989 * docs/gst/tmpl/gstconfig.sgml:
7990 * docs/gst/tmpl/gstqueue.sgml:
7991 * docs/gst/tmpl/gsttaglist.sgml:
7992 * docs/gst/tmpl/gsttypes.sgml:
7993 * docs/gst/tmpl/gstutils.sgml:
7994 * docs/pwg/appendix-porting.xml:
7995 * gst/base/gstbasesink.h:
7996 * gst/base/gstbasesrc.c:
7997 * gst/base/gstbasesrc.h:
7998 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7999 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8000 * gst/gstelement.c: (gst_element_class_init):
8001 * gst/gstpad.c: (gst_pad_class_init):
8002 * gst/gstqueue.c: (gst_queue_class_init):
8003 * gst/gstxml.c: (gst_xml_class_init):
8004 documented all undocumented signal inline
8005 * libs/gst/controller/gst-controller.h:
8008 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8010 * docs/pwg/appendix-porting.xml:
8011 Document _set_link_function -> _set_setcaps_function.
8013 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8015 * check/Makefile.am:
8016 add a .check target for running the check
8017 * check/gst-libs/controller.c: (GST_START_TEST):
8019 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8020 complete checks for gstbuffer; would be nice if I could get the
8021 gcov stuff to work so I can see if I actually completed gstbuffer.c
8023 add ASSERT_BUFFER_REFCOUNT
8025 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8027 * docs/gst/gstreamer-sections.txt:
8028 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8030 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8031 spew out a warning if a tag that is already registered
8032 is re-registered, unless it is re-registered with a
8033 different type (#308438).
8035 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8037 * docs/pwg/appendix-porting.xml:
8038 * docs/pwg/building-state.xml:
8039 Add some paragraphs about state changes in 0.9 to the PWG
8040 and the porting guide, in particular about the new meaning
8041 of GST_STATE_PAUSED and how to write state change functions
8042 with concurrent access by multiple threads in mind.
8044 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8046 * docs/gst/gstreamer-docs.sgml:
8047 * docs/libs/gstreamer-libs-docs.sgml:
8048 added deprecation and since indexes
8049 * libs/gst/controller/gst-controller.c:
8050 * libs/gst/controller/gst-helper.c:
8054 2005-08-11 Wim Taymans <wim@fluendo.com>
8056 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8057 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8058 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8059 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8060 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8061 (gst_ghost_pad_set_target):
8062 Actually implement (re)setting the target on a ghostpad
8063 as described in the docs.
8065 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8067 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8068 Check whether GST_DEBUG_NO_COLOR environment variable is
8069 set and disable coloured debug output if that is the case.
8071 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8073 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8074 (gst_type_find_helper):
8075 The memory returned by gst_type_find_peek() needs to
8076 stay valid until the end of a typefind function, and
8077 typefind functions may keep results from different
8078 offsets around, so we can't just unref the buffer from
8079 the previous _peek(), but have to save all buffers
8080 returned by _peek() until typefinding is done and only
8083 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8085 * docs/gst/gstreamer-sections.txt:
8087 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8089 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8091 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8092 Fix a pretty good memleak.
8094 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8096 * gst/gstiterator.h:
8097 Fix wrong include and 'make distcheck'.
8099 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8101 * gst/gstbin.c: (bin_bus_handler):
8102 Use gst_element_post_message() instead.
8104 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8106 * gst/base/gstadapter.h:
8107 * gst/base/gstbasesink.h:
8108 * gst/base/gstbasesrc.h:
8109 * gst/base/gstbasetransform.h:
8110 * gst/base/gstcollectpads.h:
8111 * gst/base/gstpushsrc.h:
8112 * gst/gstiterator.h:
8113 Add padding to our base elements' class and instance structs and
8114 to GstIterator (you will need to rebuild all plugins and apps!)
8116 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8118 * gst/gstbin.c: (bin_bus_handler):
8119 Make default message forwarding from child->bus to bin->bus
8120 threadsafe and make it not emit warnings if the parent has no bus.
8122 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8124 * gst/gstelement.c: (activate_pads):
8125 On paused->ready, set pad->caps to NULL, as is the documented
8126 behaviour in this state change. Fixes playback of series of
8127 media files when visualization is enabled in Totem.
8129 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8131 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8132 Allow NULL as filter-caps (which means "any").
8134 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8136 * docs/libs/gstreamer-libs-sections.txt:
8137 * libs/gst/controller/gst-controller.c:
8138 * libs/gst/controller/gst-controller.h:
8139 * libs/gst/controller/gst-helper.c:
8140 adding more entries to the docs and fix small doc-bugs
8142 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8144 * docs/gst/gstreamer-docs.sgml:
8145 * docs/gst/gstreamer-sections.txt:
8146 * docs/gst/gstreamer.types:
8147 * docs/gst/tmpl/gstbasesink.sgml:
8148 * docs/gst/tmpl/gstbasesrc.sgml:
8149 * docs/gst/tmpl/gstbasetransform.sgml:
8150 * docs/gst/tmpl/gstfakesrc.sgml:
8151 * gst/base/gstcollectpads.c:
8152 * gst/base/gstcollectpads.h:
8153 * libs/gst/controller/gst-controller.c:
8154 * libs/gst/controller/gst-controller.h:
8155 * libs/gst/controller/gst-helper.c:
8156 * libs/gst/controller/gst-interpolation.c:
8157 * libs/gst/controller/lib.c:
8158 added long/short desc for controller docs
8159 added collectpads base class docs
8160 added correct includes to base-class docs
8162 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8164 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8165 (gst_test_mono_source_set_property),
8166 (gst_test_mono_source_class_init), (GST_START_TEST),
8167 (gst_controller_suite):
8168 * docs/gst/gstreamer-docs.sgml:
8169 * docs/gst/gstreamer-sections.txt:
8170 * docs/gst/gstreamer.types:
8171 * docs/libs/gstreamer-libs-docs.sgml:
8172 * docs/libs/gstreamer-libs-sections.txt:
8173 * gst/base/gstadapter.c:
8174 * libs/gst/controller/gst-controller.c:
8175 (gst_controlled_property_new), (gst_controlled_property_free),
8176 (gst_controller_new_valist),
8177 (gst_controller_remove_properties_valist),
8178 (gst_controller_sink_values), (_gst_controller_finalize):
8179 * libs/gst/controller/gst-controller.h:
8180 * libs/gst/controller/gst-helper.c:
8181 (gst_object_control_properties), (gst_object_uncontrol_properties),
8182 (gst_object_get_controller), (gst_object_set_controller),
8183 (gst_object_sink_values), (gst_object_get_value_arrays),
8184 (gst_object_get_value_array):
8185 more tests (and fixes) for the controller
8186 more docs for the controller
8187 integrated companies docs for the adapter
8189 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8191 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8192 (GST_START_TEST), (fakesrc_suite):
8193 add tests for sizetype
8195 2005-08-04 Andy Wingo <wingo@pobox.com>
8197 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8198 fixes buffer_alloc proxying among other things.
8200 * gst/base/gstbasetransform.c:
8201 * gst/base/gstbasetransform.h:
8202 Revert patch to gstbasetransform from 7-28 removing
8205 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8206 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8207 Semantics changed, should return not the size of the output buffer
8208 but the byte size of a buffer with a given caps.
8210 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8212 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8213 out) are not the pad caps until setcaps finishes.
8214 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8215 not-in-place case as well. Deal with changing from in-place to
8216 not-in-place within calling pad_alloc_buffer. Still a bit
8217 concerned about the overhead here...
8219 2005-08-03 Andy Wingo <wingo@pobox.com>
8221 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8222 fixating is an error.
8224 2005-08-04 Edward Hervey <edward@fluendo.com>
8226 * gst/base/gstadapter.h:
8227 Added gst_adapter_get_type() to the header
8229 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8231 * check/Makefile.am:
8232 * check/gst-libs/controller.c:
8233 * libs/gst/controller/gst-controller.c:
8234 (gst_controller_new_valist):
8235 added check test suite for the controller
8236 * gst/base/gstpushsrc.c:
8239 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8241 * docs/gst/Makefile.am:
8242 * docs/gst/gstreamer-docs.sgml:
8243 * docs/gst/gstreamer-sections.txt:
8244 * docs/gst/gstreamer.types:
8245 * docs/gst/tmpl/gstfakesrc.sgml:
8247 * gst/base/gstbasesink.c:
8248 * gst/base/gstbasesink.h:
8249 * gst/base/gstbasesrc.c:
8250 * gst/base/gstbasesrc.h:
8251 * gst/base/gstbasetransform.c:
8252 * gst/base/gstpushsrc.c:
8253 * gst/base/gstpushsrc.h:
8254 add short/long description docs to base classes
8255 add pushsrc to the docs
8256 remove consolidated doc fragments
8258 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8261 * docs/libs/Makefile.am:
8262 * docs/libs/gstreamer-libs-docs.sgml:
8263 * docs/libs/gstreamer-libs-sections.txt:
8264 * docs/libs/gstreamer-libs.types:
8265 * examples/Makefile.am:
8266 * examples/controller/.cvsignore:
8267 * examples/controller/Makefile.am:
8268 * examples/controller/audio-example.c: (main):
8269 * libs/gst/Makefile.am:
8270 * libs/gst/controller/.cvsignore:
8271 * libs/gst/controller/Makefile.am:
8272 * libs/gst/controller/gst-controller.c:
8273 (on_object_controlled_property_changed), (gst_timed_value_compare),
8274 (gst_timed_value_find),
8275 (gst_controlled_property_set_interpolation_mode),
8276 (gst_controlled_property_new), (gst_controlled_property_free),
8277 (gst_controller_find_controlled_property),
8278 (gst_controller_new_valist), (gst_controller_new),
8279 (gst_controller_remove_properties_valist),
8280 (gst_controller_remove_properties), (gst_controller_set),
8281 (gst_controller_set_from_list), (gst_controller_unset),
8282 (gst_controller_get), (gst_controller_get_all),
8283 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8284 (gst_controller_get_value_array),
8285 (gst_controller_set_interpolation_mode),
8286 (_gst_controller_finalize), (_gst_controller_init),
8287 (_gst_controller_class_init), (gst_controller_get_type):
8288 * libs/gst/controller/gst-controller.h:
8289 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8290 (g_object_uncontrol_properties), (g_object_get_controller),
8291 (g_object_set_controller), (g_object_sink_values),
8292 (g_object_get_value_arrays), (g_object_get_value_array):
8293 * libs/gst/controller/gst-interpolation.c:
8294 (gst_controlled_property_find_timed_value_node),
8295 (interpolate_none_get), (interpolate_trigger_get),
8296 (interpolate_trigger_get_value_array):
8297 * libs/gst/controller/lib.c: (gst_controller_init):
8298 * pkgconfig/Makefile.am:
8299 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8300 * pkgconfig/gstreamer-control.pc.in:
8301 * testsuite/Makefile.am:
8302 * testsuite/controller/.cvsignore:
8303 * testsuite/controller/Makefile.am:
8304 * testsuite/controller/interpolator.c: (main):
8305 added controller code
8306 removed dparam pc files
8308 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8309 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8310 (gst_collectpads_stop):
8311 Broadcast the condition when shutting down, to make sure we wake all
8312 threads up. Shut down pads on finalize, for safety.
8314 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8315 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8316 (gst_base_transform_handle_buffer),
8317 (gst_base_transform_change_state):
8318 Handle PAUSED->READY->PAUSED transition after negotiation
8320 * gst/gstmessage.c: (gst_message_init):
8321 Extra piece of debug for new messages.
8323 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8326 * docs/gst/tmpl/gstbasesrc.sgml:
8327 * docs/gst/tmpl/gstelement.sgml:
8328 * docs/gst/tmpl/gstevent.sgml:
8329 * docs/gst/tmpl/gstfakesrc.sgml:
8330 * docs/gst/tmpl/gstformat.sgml:
8331 * docs/gst/tmpl/gstghostpad.sgml:
8332 * docs/gst/tmpl/gstpad.sgml:
8333 * docs/gst/tmpl/gstquery.sgml:
8334 * docs/gst/tmpl/gststructure.sgml:
8335 * docs/gst/tmpl/gsttaglist.sgml:
8336 * docs/gst/tmpl/gstvalue.sgml:
8337 * docs/libs/gstreamer-libs-docs.sgml:
8338 * docs/libs/gstreamer-libs-sections.txt:
8339 * docs/libs/gstreamer-libs.types:
8340 * libs/gst/Makefile.am:
8341 * libs/gst/control/.cvsignore:
8342 * libs/gst/control/Makefile.am:
8343 * libs/gst/control/control.c:
8344 * libs/gst/control/control.h:
8345 * libs/gst/control/dparam.c:
8346 * libs/gst/control/dparam.h:
8347 * libs/gst/control/dparam_smooth.c:
8348 * libs/gst/control/dparam_smooth.h:
8349 * libs/gst/control/dparamcommon.h:
8350 * libs/gst/control/dparammanager.c:
8351 * libs/gst/control/dparammanager.h:
8352 * libs/gst/control/dplinearinterp.c:
8353 * libs/gst/control/dplinearinterp.h:
8354 * libs/gst/control/unitconvert.c:
8355 * libs/gst/control/unitconvert.h:
8356 * testsuite/Makefile.am:
8357 * testsuite/dynparams/.cvsignore:
8358 * testsuite/dynparams/Makefile.am:
8359 * testsuite/dynparams/dparamstest.c:
8360 * tools/Makefile.am:
8361 * tools/gst-inspect.c: (print_element_info), (main):
8362 * tools/gst-xmlinspect.c: (print_element_info), (main):
8363 deactivate and remove dparams (libgstcontrol)
8365 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8367 * gst/elements/gsttypefindelement.c:
8368 (gst_type_find_element_have_type), (gst_type_find_element_init),
8369 (stop_typefinding), (gst_type_find_element_handle_event),
8370 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8371 * gst/elements/gsttypefindelement.h:
8372 Set caps on all outgoing buffers, not just the first one.
8374 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8376 * gst/elements/gsttypefindelement.c:
8377 (gst_type_find_element_have_type),
8378 (gst_type_find_element_check_set_buffer_caps),
8379 (gst_type_find_element_init), (stop_typefinding),
8380 (gst_type_find_element_handle_event),
8381 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8382 * gst/elements/gsttypefindelement.h:
8383 Set caps on first outgoing buffer when we've found the type.
8385 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8387 * docs/gst/gstreamer-docs.sgml:
8388 * docs/gst/gstreamer-sections.txt:
8389 * docs/gst/tmpl/gstscheduler.sgml:
8390 * docs/gst/tmpl/gstschedulerfactory.sgml:
8391 Remove some old cruft from docs.
8393 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8396 Fix inline docs for GstPadLinkReturn.
8398 * gst/gststructure.c: (gst_structure_has_name):
8399 * gst/gststructure.h:
8400 * docs/gst/gstreamer-sections.txt:
8401 New API: gst_structure_has_name().
8403 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8406 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8407 and _LARGEFILE_SOURCE in config.h as required. Do not
8408 export those flags in our .pc files any longer (#142209).
8410 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8412 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8413 (gst_file_sink_do_seek), (gst_file_sink_event),
8414 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8415 Redo seek/tell calls with large file support in mind; add some
8416 debugging messages; add log message that tells us when large
8417 file support is unavailable or not enabled for some reason.
8419 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8420 Add log message that tells us when large file support
8421 is unavailable or not enabled for some reason.
8423 2005-07-29 Wim Taymans <wim@fluendo.com>
8425 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8426 Added test for removing an element with ghostpad from a bin.
8427 Fixed test as current implementation does the right thing.
8429 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8430 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8431 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8432 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8433 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8434 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8435 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8436 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8437 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8438 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8439 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8440 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8441 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8442 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8443 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8444 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8445 * gst/gstghostpad.h:
8446 Clean up ghostpads, remove properties for internal stuff.
8449 Prepare for switching targets, not all use cases work yet.
8451 2005-07-29 Wim Taymans <wim@fluendo.com>
8453 * docs/design/part-gstghostpad.txt:
8456 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8457 (gst_bin_remove_func):
8458 Unlinking pads while holding the bin LOCK is not a good
8461 * gst/gstpad.c: (gst_pad_class_init),
8462 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8463 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8464 No prob setting template after creating the pad.
8466 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8468 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8469 (gst_bus_peek), (gst_bus_source_dispatch),
8470 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8471 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8472 gst_bus_poll may be called from other threads. Handle
8473 this nicely by not making poll_data disappear off the
8474 stack once gst_bus_poll returns.
8475 gst_bus_peek now increments the refcount on the returned
8478 2005-07-29 Wim Taymans <wim@fluendo.com>
8480 * docs/design/part-gstghostpad.txt:
8481 Overview of current GhostPad datastructures and use
8482 cases for changing the target.
8484 2005-07-28 Wim Taymans <wim@fluendo.com>
8486 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8487 Added checks for hierarchy consistency whan adding linked
8490 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8491 Added check to test element scheduling without bin/pipeline.
8493 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8494 First add elements to bin, then link.
8496 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8497 (gst_bin_remove_func):
8498 Unlink pads from elements added/removed from bin to maintain
8499 hierarchy consistency.
8501 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8503 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8504 (gst_base_transform_handle_buffer):
8505 * gst/base/gstbasetransform.h:
8506 Remove broken delay_configure (fixes renegotiation of software
8507 scaling pipelines); remove some leftover printf()s.
8509 2005-07-28 Wim Taymans <wim@fluendo.com>
8511 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8512 Added some more tests for wrong hierarchy
8514 * docs/design/part-overview.txt:
8517 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8520 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8521 (gst_element_dispose):
8524 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8525 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8526 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8527 (gst_pad_set_caps), (gst_pad_send_event):
8528 Check for correct hierarchy when linking pads. Moving to
8529 strict requirement for ghostpads when linking elements in
8533 Clean ups. Added WRONG_HIERARCHY return value.
8535 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8537 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8538 Better debug if no transform is possible.
8540 2005-07-27 Wim Taymans <wim@fluendo.com>
8542 * docs/random/wtay/network-transp:
8545 2005-07-27 Wim Taymans <wim@fluendo.com>
8547 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8548 (gst_dp_event_from_packet):
8549 Fix serialization of seek events.
8551 2005-07-27 Wim Taymans <wim@fluendo.com>
8553 * check/gst-libs/gdp.c: (GST_START_TEST):
8554 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8555 Fix compilation and fix event serialization.
8557 2005-07-27 Wim Taymans <wim@fluendo.com>
8560 * docs/design/part-TODO.txt:
8561 * docs/design/part-events.txt:
8564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8565 (gst_base_sink_event), (gst_base_sink_do_sync),
8566 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8567 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8568 (gst_base_src_do_seek), (gst_base_src_event_handler),
8569 (gst_base_src_loop):
8570 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8571 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8572 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8573 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8574 (gst_base_transform_set_passthrough),
8575 (gst_base_transform_is_passthrough):
8576 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8577 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8583 * gst/gstelement.c: (gst_element_seek):
8585 Update gst_element_seek.
8587 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8588 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8589 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8590 (gst_event_new_eos), (gst_event_new_newsegment),
8591 (gst_event_parse_newsegment), (gst_event_new_tag),
8592 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8593 (gst_event_parse_qos), (gst_event_new_seek),
8594 (gst_event_parse_seek), (gst_event_new_navigation):
8596 Make GstEvent use GstStructure. Add parsing code, make sure the
8597 API is sufficiently generic.
8598 Mark possible directions of events and serialization.
8600 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8601 (_gst_message_copy), (gst_message_new_segment_start),
8602 (gst_message_new_segment_done), (gst_message_new_custom),
8603 (gst_message_parse_segment_start),
8604 (gst_message_parse_segment_done):
8607 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8608 (gst_pad_set_caps), (gst_pad_send_event):
8609 Update for new events.
8610 Catch events sent in wrong directions.
8612 * gst/gstqueue.c: (gst_queue_link_src),
8613 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8614 (gst_queue_handle_src_query):
8619 Remove event code from this file.
8621 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8622 (gst_dp_event_from_packet):
8625 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8627 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8628 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8629 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8630 Make debugging actually useful.
8632 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8634 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8635 (gst_pad_fixate_caps):
8636 Implement default fixation once again, so that gst_pad_fixate()
8637 actually does anything at all. This probably needs to be some
8638 sort of a last resort, and use profile-based fixation first, but
8639 since that doesn't exist yet, this is the best we have. Fixes
8640 visualization in Totem.
8642 2005-07-22 Wim Taymans <wim@fluendo.com>
8644 * docs/design/part-events.txt:
8647 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8648 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8649 (gst_base_sink_activate_pull):
8652 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8653 (gst_fake_src_create):
8654 Fix handoff marshall.
8656 * gst/elements/gstidentity.c: (gst_identity_class_init),
8657 (gst_identity_transform_ip):
8658 We're a real inplace element.
8660 * gst/gstbus.c: (gst_bus_post):
8661 Added some comments.
8663 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8664 * tests/muxing/case1.c: (main):
8665 * tests/sched/dynamic-pipeline.c: (main):
8666 * tests/sched/interrupt1.c: (main):
8667 * tests/sched/interrupt2.c: (main):
8668 * tests/sched/interrupt3.c: (main):
8669 * tests/sched/runxml.c: (main):
8670 * tests/sched/sched-stress.c: (main):
8671 * tests/seeking/seeking1.c: (event_received), (main):
8672 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8674 * tests/threadstate/threadstate3.c: (main):
8675 * tests/threadstate/threadstate4.c: (main):
8676 * tests/threadstate/threadstate5.c: (main):
8679 2005-07-21 Wim Taymans <wim@fluendo.com>
8681 * docs/design/part-seeking.txt:
8682 Some small additions.
8684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8685 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8686 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8687 * gst/base/gstbasesink.h:
8688 discont values are gint64, handle the math correctly.
8690 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8691 Make the basesrc report error if the source pad is not linked.
8693 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8694 (gst_queue_loop), (gst_queue_handle_src_query),
8695 (gst_queue_src_activate_push):
8696 Make queue collect data even if the srcpad is not linked.
8697 Start pushing out data as soon as it is linked.
8699 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8701 Added gst_flow_get_name() to ease error reporting.
8703 2005-07-20 Wim Taymans <wim@fluendo.com>
8705 * gst/gstmessage.c: (gst_message_new_segment_start),
8706 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8707 (gst_message_parse_segment_done):
8709 Added a bunch of messages for advanced seeking.
8711 * gst/parse/grammar.y:
8712 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8713 (gst_dpman_state_changed):
8714 Fix some new-pad -> pad-added signals
8716 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8718 * docs/manual/appendix-porting.xml:
8719 * docs/pwg/appendix-porting.xml:
8720 Document new-pad/state-change signal renames and the FixedList
8723 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8725 * docs/manual/advanced-autoplugging.xml:
8726 * docs/manual/basics-helloworld.xml:
8727 * docs/manual/basics-pads.xml:
8728 * docs/random/ds/0.9-suggested-changes:
8729 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8734 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8735 (gst_structure_parse_array), (gst_structure_parse_value):
8736 * gst/gstvalue.c: (gst_type_is_fixed),
8737 (gst_value_list_prepend_value), (gst_value_list_append_value),
8738 (gst_value_list_get_size), (gst_value_list_get_value),
8739 (gst_value_transform_array_string), (gst_value_serialize_array),
8740 (gst_value_deserialize_array), (gst_value_intersect_array),
8741 (gst_value_is_fixed), (_gst_value_initialize):
8743 GstElement::new-pad -> pad-added, GstElement::state-change ->
8744 state-changed, GstValueFixedList -> GstValueArray, add format and
8745 flags as their own arguments in gst_element_seek() (should improve
8746 "bindeability"), remove function generators since they don't work
8747 under a whole bunch of compilers (they were deprecated already
8750 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8752 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8753 (_gst_debug_register_funcptr):
8755 Fix illegal cast on some platforms (#309253).
8757 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8759 * gst/gstmessage.c: (gst_message_new_custom):
8761 Add _new_custom, make _new_application a macro to _new_custom.
8763 2005-07-20 Wim Taymans <wim@fluendo.com>
8765 * gst/base/gstbasesrc.c: (gst_base_src_init),
8766 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8767 * gst/base/gstbasesrc.h:
8768 Add a gboolean to decide when to push out a discont.
8770 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8771 (gst_queue_loop), (gst_queue_handle_src_query),
8772 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8773 (gst_queue_set_property), (gst_queue_get_property):
8776 * tests/threadstate/threadstate1.c: (main):
8777 Make a thread test compile and run... very silly..
8780 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8782 * docs/manual/appendix-porting.xml:
8783 Mention removal of libgstgconf-0.9.la and existence of gconf
8786 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8788 * docs/pwg/advanced-clock.xml:
8789 * docs/pwg/appendix-porting.xml:
8790 * docs/pwg/intro-preface.xml:
8791 * docs/pwg/other-base.xml:
8792 * docs/pwg/other-manager.xml:
8793 * docs/pwg/other-nton.xml:
8794 * docs/pwg/other-ntoone.xml:
8795 * docs/pwg/other-oneton.xml:
8797 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8798 demuxer), remove n-to-n (was never written), fix some code examples
8799 and links and update the porting section to include all this.
8801 2005-07-19 Wim Taymans <wim@fluendo.com>
8803 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8804 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8805 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8806 (gst_queue_src_activate_push), (gst_queue_change_state),
8807 (gst_queue_get_property):
8809 Propagate GstFlowReturn more intelligently upstream and output
8810 an ERROR/EOS when streaming stopped due to fatal error.
8812 2005-07-19 Wim Taymans <wim@fluendo.com>
8814 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8815 Don't block forever for the state change to complete, the
8816 pipeline already did with a sensible timeout.
8818 2005-07-19 Wim Taymans <wim@fluendo.com>
8820 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8821 Make sure we never call the create function is we
8824 2005-07-19 Andy Wingo <wingo@pobox.com>
8826 * gst/parse/parse.l: Attempt to solve bug #172815.
8828 2005-07-19 Wim Taymans <wim@fluendo.com>
8830 * docs/design/part-clocks.txt:
8831 * docs/design/part-events.txt:
8832 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8834 Only update the seeking values when we are not
8837 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8839 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8840 Oops, ignore the result of gst_pad_push_event here.
8842 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8844 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8845 (gst_base_src_activate_push):
8846 Send discont event from the loop function, as pads
8847 aren't activated yet in the activate_push handler.
8849 * gst/gstbin.c: (bin_bus_handler):
8850 Don't leak element name.
8852 2005-07-18 Andy Wingo <wingo@pobox.com>
8854 * configure.ac: Use AS_LIBTOOL_TAGS.
8856 2005-07-18 Wim Taymans <wim@fluendo.com>
8858 * docs/gst/gstreamer.types:
8859 Remove deleted types.
8861 2005-07-18 Wim Taymans <wim@fluendo.com>
8863 * check/elements/gstfakesrc.c: (GST_START_TEST):
8866 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8867 (init_popt_callback):
8869 * gst/gst_private.h:
8870 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8871 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8874 * gst/gstconfig.h.in:
8875 * gst/gstelement.c: (gst_element_class_init),
8876 (gst_element_set_base_time), (gst_element_get_base_time),
8877 (iterator_fold_with_resync), (gst_element_change_state),
8878 (gst_element_dispose), (gst_element_get_bus):
8880 * gst/gstelementfactory.h:
8881 * gst/gsterror.c: (_gst_core_errors_init):
8884 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8886 * gst/gstinfo.c: (_gst_debug_init):
8887 * gst/gstmessage.c: (_gst_message_copy):
8889 * gst/gstminiobject.h:
8892 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8893 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8896 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8897 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8898 (gst_pipeline_get_last_stream_time):
8899 * gst/gstpipeline.h:
8900 * gst/gstpluginfeature.h:
8902 * gst/gstscheduler.c:
8903 * gst/gstscheduler.h:
8904 * gst/gststructure.h:
8905 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8906 (gst_task_finalize), (gst_task_func), (gst_task_create),
8907 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8908 (gst_task_stop), (gst_task_pause):
8910 * gst/gsttypefind.h:
8912 * gst/registries/gstlibxmlregistry.c: (load_feature),
8913 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8914 * gst/registries/gstxmlregistry.c:
8915 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8916 * gst/schedulers/threadscheduler.c:
8917 * libs/gst/control/dparammanager.h:
8918 * tools/gst-inspect.c: (print_element_list),
8919 (print_plugin_features), (print_element_features):
8920 * tools/gst-xmlinspect.c: (print_element_list),
8921 (print_plugin_info), (main):
8922 Removed plugable schedulers.
8923 Removed Scheduler/Manager from elements.
8924 Removed gsttypes.h, rearranged includes.
8925 Removed dependency pad<->element, element<>pipeline, and
8926 various others, fix includes.
8927 implement gst_pad_get_parent() with gst_object_get_parent()
8928 Make GstTask sefcontained.
8929 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8931 Fix endless loop in iterator_fold_with_resync.
8934 2005-07-18 Wim Taymans <wim@fluendo.com>
8940 2005-07-18 Wim Taymans <wim@fluendo.com>
8945 2005-07-18 Wim Taymans <wim@fluendo.com>
8951 2005-07-18 Wim Taymans <wim@fluendo.com>
8953 * docs/design/part-dynamic.txt:
8954 * docs/design/part-events.txt:
8955 * docs/design/part-seeking.txt:
8956 Some more docs in the works.
8958 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8959 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8960 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8961 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8962 (gst_base_transform_handle_buffer),
8963 (gst_base_transform_sink_activate_push),
8964 (gst_base_transform_src_activate_pull),
8965 (gst_base_transform_set_passthrough),
8966 (gst_base_transform_is_passthrough):
8969 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8972 * gst/gstevent.c: (gst_event_finalize):
8975 * gst/gstutils.c: (gst_element_unlink),
8976 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8977 (gst_pad_proxy_setcaps):
8979 Add _get_parent_element() to get a pads parent as an element.
8981 2005-07-18 Wim Taymans <wim@fluendo.com>
8983 * check/gst/gstbin.c: (GST_START_TEST):
8986 2005-07-18 Wim Taymans <wim@fluendo.com>
8988 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8989 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8990 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8991 (gst_base_sink_event), (gst_base_sink_do_sync),
8992 (gst_base_sink_chain), (gst_base_sink_loop),
8993 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8994 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8996 Fix logic for returning ASYNC when not prerolled.
8998 2005-07-18 Wim Taymans <wim@fluendo.com>
9000 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9001 Fix nasty refcount bug.
9003 2005-07-16 Philippe Khalaf <burger@speedy.org>
9005 * gst/elements/gstfdsrc.c:
9006 * gst/elements/gstfdsrc.h:
9007 * gst/elements/gstelements.c:
9008 * gst/elements/Makefile.am:
9009 Ported fdsrc to 0.9.
9011 2005-07-16 Wim Taymans <wim@fluendo.com>
9013 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9014 (gst_base_sink_do_sync):
9017 2005-07-16 Wim Taymans <wim@fluendo.com>
9019 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9020 (gst_base_sink_event), (gst_base_sink_get_times),
9021 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9022 * gst/base/gstbasesink.h:
9023 Store and use discont values when syncing buffers as described
9026 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9027 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9028 (gst_base_src_activate_push):
9029 Push discont event when starting.
9031 * gst/elements/gstidentity.c: (gst_identity_transform):
9034 * gst/gstbin.c: (gst_bin_change_state):
9035 Small cleanups in base_time distribution.
9037 * gst/gstelement.c: (gst_element_set_base_time),
9038 (gst_element_get_base_time), (gst_element_change_state):
9040 Added methods for the base_time of the element.
9043 * gst/gstpipeline.c: (gst_pipeline_send_event),
9044 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9045 (gst_pipeline_get_last_stream_time):
9046 * gst/gstpipeline.h:
9048 Handle seeking as described in design doc, remove stream_time
9050 Cleanups clock and stream_time selection code. Added accessors
9051 for the stream_time.
9054 2005-07-16 Andy Wingo <wingo@pobox.com>
9056 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9059 2005-07-16 Wim Taymans <wim@fluendo.com>
9061 * check/gst/gstbin.c: (GST_START_TEST):
9062 Make elements silent as the deep_notify refs the
9063 parent, which might make the test fail.
9065 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9066 Don't hold the lock for too long.
9068 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9070 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9071 Don't unref the caps we passed to gst_caps_make_writable() after
9072 passing them. gst_caps_make_writable() will do that for us.
9074 2005-07-15 Andy Wingo <wingo@pobox.com>
9076 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9079 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9080 own marshalling function for the handoff signal. Properly type the
9081 buffer as a buffer. Fixes some warnings. Should do a more general
9083 (gst_identity_class_init): Plug into the right marshaller.
9085 2005-07-15 Wim Taymans <wim@fluendo.com>
9087 * docs/design/part-TODO.txt:
9088 * docs/design/part-clocks.txt:
9089 * docs/design/part-element-sink.txt:
9090 * docs/design/part-events.txt:
9091 * docs/design/part-gstpipeline.txt:
9092 Updated docs, mostly DISCONT related.
9094 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9096 * docs/pwg/building-pads.xml:
9097 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9099 2005-07-15 Andy Wingo <wingo@pobox.com>
9101 * tools/gst-typefind.c: Update, add copyright block.
9103 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9104 Normalize and truncate caps before fixation.
9107 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9108 discards all but the first structure from its argument.
9110 2005-07-15 Wim Taymans <wim@fluendo.com>
9112 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9113 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9114 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9115 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9116 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9117 (gst_base_transform_chain), (gst_base_transform_change_state),
9118 (gst_base_transform_set_passthrough),
9119 (gst_base_transform_is_passthrough):
9120 * gst/base/gstbasetransform.h:
9121 Make passthrough work using the bufferpools.
9122 Changed API a bit, subclasses have to write into a buffer
9123 provided by the base class.
9124 More debug info in nego functions.
9126 * gst/elements/gstidentity.c: (gst_identity_init),
9127 (gst_identity_transform):
9128 Port to new base class.
9130 2005-07-15 Wim Taymans <wim@fluendo.com>
9132 * gst/gstmessage.c: (gst_message_new_state_changed):
9133 * tools/gst-launch.c: (event_loop), (main):
9134 Totally dump messages in -launch with the -m option.
9135 Fix message name for State messages,
9137 2005-07-14 Wim Taymans <wim@fluendo.com>
9139 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9140 Post error messages on errors.
9142 2005-07-14 Wim Taymans <wim@fluendo.com>
9144 * gst/gstcaps.c: (gst_caps_do_simplify):
9148 Define error for stream stopped.
9150 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9151 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9152 Do proper return values.
9154 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9155 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9156 (gst_pad_get_range):
9157 Better return values.
9160 Reorganise return values, add macro to check for fatal errors.
9162 * gst/gstqueue.c: (gst_queue_chain):
9163 Return proper GstFlowReturn values,
9165 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9167 * docs/gst/gstreamer-sections.txt:
9168 * docs/gst/gstreamer.types:
9169 * docs/gst/tmpl/gst.sgml:
9170 * docs/gst/tmpl/gstbasesink.sgml:
9171 * docs/gst/tmpl/gstbasesrc.sgml:
9172 * docs/gst/tmpl/gstbasetransform.sgml:
9173 * docs/gst/tmpl/gstbin.sgml:
9174 * docs/gst/tmpl/gstbuffer.sgml:
9175 * docs/gst/tmpl/gstcaps.sgml:
9176 * docs/gst/tmpl/gstclock.sgml:
9177 * docs/gst/tmpl/gstcompat.sgml:
9178 * docs/gst/tmpl/gstconfig.sgml:
9179 * docs/gst/tmpl/gstelement.sgml:
9180 * docs/gst/tmpl/gstelementdetails.sgml:
9181 * docs/gst/tmpl/gstelementfactory.sgml:
9182 * docs/gst/tmpl/gstenumtypes.sgml:
9183 * docs/gst/tmpl/gsterror.sgml:
9184 * docs/gst/tmpl/gstevent.sgml:
9185 * docs/gst/tmpl/gstfakesink.sgml:
9186 * docs/gst/tmpl/gstfakesrc.sgml:
9187 * docs/gst/tmpl/gstfilesink.sgml:
9188 * docs/gst/tmpl/gstfilesrc.sgml:
9189 * docs/gst/tmpl/gstfilter.sgml:
9190 * docs/gst/tmpl/gstformat.sgml:
9191 * docs/gst/tmpl/gstghostpad.sgml:
9192 * docs/gst/tmpl/gstimplementsinterface.sgml:
9193 * docs/gst/tmpl/gstindex.sgml:
9194 * docs/gst/tmpl/gstindexfactory.sgml:
9195 * docs/gst/tmpl/gstinfo.sgml:
9196 * docs/gst/tmpl/gstiterator.sgml:
9197 * docs/gst/tmpl/gstmacros.sgml:
9198 * docs/gst/tmpl/gstmemchunk.sgml:
9199 * docs/gst/tmpl/gstminiobject.sgml:
9200 * docs/gst/tmpl/gstobject.sgml:
9201 * docs/gst/tmpl/gstpad.sgml:
9202 * docs/gst/tmpl/gstpadtemplate.sgml:
9203 * docs/gst/tmpl/gstparse.sgml:
9204 * docs/gst/tmpl/gstpipeline.sgml:
9205 * docs/gst/tmpl/gstplugin.sgml:
9206 * docs/gst/tmpl/gstpluginfeature.sgml:
9207 * docs/gst/tmpl/gstquery.sgml:
9208 * docs/gst/tmpl/gstqueue.sgml:
9209 * docs/gst/tmpl/gstregistry.sgml:
9210 * docs/gst/tmpl/gstregistrypool.sgml:
9211 * docs/gst/tmpl/gstscheduler.sgml:
9212 * docs/gst/tmpl/gstschedulerfactory.sgml:
9213 * docs/gst/tmpl/gststructure.sgml:
9214 * docs/gst/tmpl/gstsystemclock.sgml:
9215 * docs/gst/tmpl/gsttaglist.sgml:
9216 * docs/gst/tmpl/gsttagsetter.sgml:
9217 * docs/gst/tmpl/gsttrace.sgml:
9218 * docs/gst/tmpl/gsttrashstack.sgml:
9219 * docs/gst/tmpl/gsttypefind.sgml:
9220 * docs/gst/tmpl/gsttypefindfactory.sgml:
9221 * docs/gst/tmpl/gsttypes.sgml:
9222 * docs/gst/tmpl/gsturihandler.sgml:
9223 * docs/gst/tmpl/gsturitype.sgml:
9224 * docs/gst/tmpl/gstutils.sgml:
9225 * docs/gst/tmpl/gstvalue.sgml:
9226 * docs/gst/tmpl/gstversion.sgml:
9227 * docs/gst/tmpl/gstxml.sgml:
9228 * docs/libs/tmpl/gstcontrol.sgml:
9229 * docs/libs/tmpl/gstdataprotocol.sgml:
9230 * docs/libs/tmpl/gstdparam.sgml:
9231 * docs/libs/tmpl/gstdplinint.sgml:
9232 * docs/libs/tmpl/gstdpman.sgml:
9233 * docs/libs/tmpl/gstdpsmooth.sgml:
9234 * docs/libs/tmpl/gstgetbits.sgml:
9235 * docs/libs/tmpl/gstunitconvert.sgml:
9236 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9237 (gst_push_src_base_init), (gst_push_src_class_init),
9238 (gst_push_src_init), (gst_push_src_create):
9239 * gst/base/gstpushsrc.h:
9240 * gst/elements/gstelements.c:
9241 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9242 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9243 (gst_fake_sink_init), (gst_fake_sink_set_property),
9244 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9245 (gst_fake_sink_event), (gst_fake_sink_preroll),
9246 (gst_fake_sink_render), (gst_fake_sink_change_state):
9247 * gst/elements/gstfakesink.h:
9248 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9249 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9250 (gst_fake_src_base_init), (gst_fake_src_class_init),
9251 (gst_fake_src_init), (gst_fake_src_event_handler),
9252 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9253 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9254 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9255 (gst_fake_src_create_buffer), (gst_fake_src_create),
9256 (gst_fake_src_start), (gst_fake_src_stop):
9257 * gst/elements/gstfakesrc.h:
9258 * gst/elements/gstfilesink.c: (_do_init),
9259 (gst_file_sink_base_init), (gst_file_sink_class_init),
9260 (gst_file_sink_init), (gst_file_sink_dispose),
9261 (gst_file_sink_set_location), (gst_file_sink_set_property),
9262 (gst_file_sink_get_property), (gst_file_sink_open_file),
9263 (gst_file_sink_close_file), (gst_file_sink_query),
9264 (gst_file_sink_event), (gst_file_sink_render),
9265 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9266 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9267 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9268 * gst/elements/gstfilesink.h:
9269 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9270 (gst_file_src_class_init), (gst_file_src_init),
9271 (gst_file_src_finalize), (gst_file_src_set_location),
9272 (gst_file_src_set_property), (gst_file_src_get_property),
9273 (gst_file_src_map_region), (gst_file_src_map_small_region),
9274 (gst_file_src_create_mmap), (gst_file_src_create_read),
9275 (gst_file_src_create), (gst_file_src_is_seekable),
9276 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9277 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9278 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9279 (gst_file_src_uri_handler_init):
9280 * gst/elements/gstfilesrc.h:
9281 more autistic cleanliness in functions/names/defines
9283 2005-07-13 Andy Wingo <wingo@pobox.com>
9285 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9286 source couldn't negotiate.
9288 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9292 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9293 function. I am channeling Hades. Put your boots on suckers!!!
9295 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9297 * testsuite/caps/Makefile.am:
9298 * testsuite/caps/value_compare.c:
9299 * testsuite/caps/value_intersect.c:
9300 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9301 move two testsuite apps over to the check dir
9303 2005-07-12 Wim Taymans <wim@fluendo.com>
9305 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9306 Added more debug info in the negotiate process.
9309 Prepare for segment playback.
9311 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9317 * tools/gst-launch.c: (main):
9318 NULL pipeline on errors.
9320 2005-07-12 Andy Wingo <wingo@pobox.com>
9322 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9323 not it comes from a malloc region. Make sure our copy gets freed.
9325 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9327 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9328 * check/gst/gstmessage.c: (GST_START_TEST):
9329 * check/gst/gststructure.c: (GST_START_TEST),
9330 (gst_structure_suite), (main):
9332 * gst/gstelement.c: (gst_element_message_full):
9333 clean up GError and debug string now that they get copied
9334 * gst/gstmessage.c: (gst_message_new_error),
9335 (gst_message_new_warning), (gst_message_parse_error),
9336 (gst_message_parse_warning):
9337 use GST_TYPE_G_ERROR for structure_new, and take copies of
9338 arguments, so that we don't mess up refcounting
9340 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9342 * check/Makefile.am:
9343 add per-test valgrind targets
9344 * check/gst-libs/gdp.c: (GST_START_TEST),
9345 (gst_data_protocol_suite), (main):
9348 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9350 * check/Makefile.am:
9351 instate more valgrindable tests
9352 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9353 (GST_START_TEST), (fakesrc_suite):
9354 * check/gst/gstpad.c: (GST_START_TEST):
9355 * check/gst/gststructure.c: (GST_START_TEST):
9357 * docs/gst/tmpl/gstminiobject.sgml:
9358 * gst/gstpad.c: (gst_pad_finalize):
9359 fix the static mutex leak
9361 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9363 * check/Makefile.am:
9364 add two more tests for valgrinding
9365 * check/gst/gstvalue.c: (GST_START_TEST):
9366 test refcount of deserialized buffer, found a leak
9367 * docs/gst/gstreamer-docs.sgml:
9368 * docs/gst/gstreamer-sections.txt:
9369 * docs/gst/gstreamer.types:
9370 * docs/gst/tmpl/gstminiobject.sgml:
9371 add miniobject to docs
9372 * gst/gstminiobject.c:
9374 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9375 (gst_string_unwrap):
9376 fix a hard-to-find invalid write for one of the tests
9377 fix a leak for deserialized buffers
9379 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9381 * docs/pwg/advanced-events.xml:
9382 * docs/pwg/advanced-request.xml:
9383 * docs/pwg/advanced-scheduling.xml:
9384 * docs/pwg/appendix-porting.xml:
9385 * docs/pwg/building-boiler.xml:
9386 * docs/pwg/intro-preface.xml:
9387 * docs/pwg/other-ntoone.xml:
9388 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9389 of example code and explanation for pad activation, loop() and
9390 getrange() functions and a bit more. Remove old comments pointing
9392 * examples/pwg/Makefile.am:
9393 Add loop/getrange examples.
9395 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9398 check for valgrind binary + some fixes
9400 valgrind suppressions for the tests
9401 * check/Makefile.am:
9402 add a valgrind: target that valgrinds the unit tests
9403 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9404 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9405 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9406 * check/gst/gstghostpad.c:
9408 * check/gst/gstdata.c:
9410 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9411 (thread_unref), (gst_mini_object_suite), (main):
9413 * gst/gst.c: (gst_deinit):
9415 add a method to clean up.
9416 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9417 (gst_system_clock_obtain):
9418 allow for disposing the system clock.
9419 * tools/gst-launch.c: (main):
9422 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9424 * docs/gst/tmpl/gstbasesrc.sgml:
9425 * docs/gst/tmpl/gstfakesrc.sgml:
9426 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9427 (gst_base_src_init), (gst_base_src_set_property),
9428 (gst_base_src_get_property), (gst_base_src_get_range),
9429 (gst_base_src_start):
9430 * gst/base/gstbasesrc.h:
9431 add num-buffers property
9432 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9433 (gst_fakesrc_init), (gst_fakesrc_set_property),
9434 (gst_fakesrc_get_property), (gst_fakesrc_create),
9435 (gst_fakesrc_start):
9436 remove num-buffers property
9438 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9440 * docs/gst/gstreamer-sections.txt:
9441 * docs/gst/tmpl/gstbasesink.sgml:
9442 * docs/gst/tmpl/gstbasesrc.sgml:
9443 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9444 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9445 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9446 (gst_base_sink_set_property), (gst_base_sink_get_property),
9447 (gst_base_sink_handle_object), (gst_base_sink_event),
9448 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9449 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9450 (gst_base_sink_loop), (gst_base_sink_deactivate),
9451 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9452 (gst_base_sink_change_state):
9453 * gst/base/gstbasesink.h:
9454 * gst/base/gstbasesrc.h:
9455 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9456 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9457 (gst_filesink_init):
9458 more macro splitting
9460 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9462 * gst/gstelement.c: (gst_element_get_bus):
9464 * tools/gst-launch.c: (check_intr), (event_loop):
9467 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9469 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9472 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9474 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9475 (gst_base_src_finalize):
9476 add finalize method and clean up properly
9477 * gst/gstpipeline.c: (gst_pipeline_dispose):
9480 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9482 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9484 add more things to check
9485 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9489 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9491 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9492 (GST_START_TEST), (fakesrc_suite):
9493 * check/gst-libs/gdp.c: (GST_START_TEST):
9494 * check/gst/gst.c: (GST_START_TEST):
9495 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9496 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9497 * check/gst/gstbus.c: (GST_START_TEST):
9498 * check/gst/gstcaps.c: (GST_START_TEST):
9499 * check/gst/gstdata.c: (GST_START_TEST):
9500 * check/gst/gstelement.c: (GST_START_TEST):
9501 * check/gst/gstghostpad.c: (GST_START_TEST):
9502 * check/gst/gstiterator.c: (GST_START_TEST):
9503 * check/gst/gstmessage.c: (GST_START_TEST):
9504 * check/gst/gstobject.c: (GST_START_TEST):
9505 * check/gst/gstpad.c: (GST_START_TEST):
9506 * check/gst/gststructure.c: (GST_START_TEST):
9507 * check/gst/gstsystemclock.c: (GST_START_TEST),
9508 (gst_systemclock_suite):
9509 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9510 * check/gst/gstvalue.c: (GST_START_TEST):
9511 * check/pipelines/cleanup.c: (GST_START_TEST):
9512 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9513 * check/states/sinks.c: (GST_START_TEST):
9514 * check/gstcheck.c: (gst_check_init):
9516 add debugging category
9517 use GST_START_TEST now, so we add a debug line
9519 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9521 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9522 add test for state change message on a bin
9523 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9525 * gst/gstbin.c: (gst_bin_init):
9526 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9527 * gst/gstelement.c: (gst_element_post_message),
9528 (gst_element_set_state):
9529 * gst/gstelementfactory.c: (gst_element_factory_create):
9530 * gst/gstmessage.c: (gst_message_new):
9531 * gst/gstscheduler.c:
9532 various debugging additions and cleanups
9534 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9536 * check/Makefile.am:
9537 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9539 adding tests for elements
9540 * gst/gstelement.c: (gst_element_dispose):
9542 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9544 * gst/registries/gstlibxmlregistry.c: (load_feature):
9545 plug more leaks. A simple gst_init() now is leakfree, yay.
9547 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9549 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9550 (gst_xml_registry_load):
9551 plug another memleak
9553 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9556 use GST_SET_ERROR_CFLAGS
9558 change to ERROR_CFLAGS
9560 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9563 make GST_ERROR_CFLAGS overridable and re-enable Werror
9565 add a note about error CFLAGS
9566 * docs/gst/tmpl/gstfakesrc.sgml:
9567 * gst/elements/gstfakesrc.c:
9568 comment out some unused code
9569 * gst/gst.c: (split_and_iterate):
9570 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9574 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9576 * common/Makefile.am:
9577 * common/gtk-doc.mak:
9578 * docs/gst/Makefile.am:
9579 factor out gtk-doc.mak
9581 2005-07-07 Wim Taymans <wim@fluendo.com>
9583 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9584 (gst_thread_scheduler_dispose):
9585 Unlock the STREAM_LOCK completely.
9587 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9589 * check/Makefile.am:
9590 * check/elements/.cvsignore:
9591 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9592 (START_TEST), (fakesrc_suite), (main):
9593 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9594 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9595 (gst_fakesrc_create), (gst_fakesrc_start):
9596 * gst/elements/gstfakesrc.h:
9597 adding a first element test
9599 2005-07-07 Andy Wingo <wingo@pobox.com>
9601 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9604 2005-07-07 Wim Taymans <wim@fluendo.com>
9610 2005-07-07 Wim Taymans <wim@fluendo.com>
9612 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9613 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9614 Allow subclasses to implement their own negotiation.
9616 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9618 * docs/design/part-gstbin.txt:
9619 * docs/design/part-gstpipeline.txt:
9620 Update design notes to reflect the movement of
9621 responsibility for bus handling from GstPipeline to
9624 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9627 Remove unnecessary queue2/3/4 examples.
9629 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9631 * examples/Makefile.am:
9632 * examples/helloworld/helloworld.c: (event_loop), (main):
9633 * examples/queue/queue.c: (event_loop), (main):
9634 * examples/queue2/queue2.c: (main):
9635 Update a couple of the examples to work again.
9637 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9638 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9639 Spelling corrections and extra debug.
9641 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9642 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9643 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9645 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9646 (gst_pipeline_change_state):
9647 * gst/gstpipeline.h:
9648 Move the bus handler for children to the GstBin, and create a
9649 separate bus for receiving messages from children to the one the
9650 bus sends 'upwards' on.
9652 2005-07-06 Wim Taymans <wim@fluendo.com>
9655 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9656 (gst_base_sink_handle_object), (gst_base_sink_loop),
9657 (gst_base_sink_change_state):
9658 * gst/base/gstbasesink.h:
9659 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9660 (gst_base_src_init), (gst_base_src_setcaps),
9661 (gst_base_src_getcaps), (gst_base_src_loop),
9662 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9663 (gst_base_src_start), (gst_base_src_change_state):
9664 * gst/base/gstbasesrc.h:
9665 Make basesrc negotiate.
9666 Handle the case where preroll fails in basesink.
9669 2005-07-06 Wim Taymans <wim@fluendo.com>
9671 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9672 Implement the fixate function.
9673 Clean up acceptcaps.
9675 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9677 * docs/pwg/building-filterfactory.xml:
9679 Remove never-written filter-factory chapter; I'll add the various
9680 base classes to part 4 ("other element types") later on.
9682 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9684 * docs/pwg/advanced-negotiation.xml:
9685 * docs/pwg/building-boiler.xml:
9686 * docs/pwg/building-pads.xml:
9688 * examples/pwg/Makefile.am:
9689 Add a chapter on caps negotiation, simplify the original code
9690 samples a bit w.r.t. caps negotiation, add link to the advanced
9691 section. Add a bunch of examples showing different use cases of
9692 different types of caps negotiation. Upstream renegotiation isn't
9693 fully documented yet since nobody knows how that works.
9695 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9697 * check/gst/gstpad.c:
9699 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9700 if pad has no parent, return NULL as list of internal links
9702 2005-07-05 Andy Wingo <wingo@pobox.com>
9704 * gst/elements/gstfilesrc.c:
9705 * gst/elements/gstfakesrc.c:
9706 * gst/base/gstpushsrc.c:
9707 * gst/base/gstbasesrc.h:
9708 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9710 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9713 better report generation target (lcov needs a patch)
9715 2005-07-05 Andy Wingo <wingo@pobox.com>
9717 * gst/elements, testsuite: Null if we got it...
9719 2005-07-05 Wim Taymans <wim@fluendo.com>
9722 * libs/gst/dataprotocol/Makefile.am:
9723 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9724 * libs/gst/dataprotocol/dataprotocol.h:
9725 * pkgconfig/Makefile.am:
9726 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9727 * pkgconfig/gstreamer-dataprotocol.pc.in:
9728 Ported dataprotol to 0.9.
9729 Added pkgconfig files.
9731 2005-07-05 Andy Wingo <wingo@pobox.com>
9733 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9734 Default to returning TRUE for the case when tranform_caps returns
9735 a fixed caps, like for identity or volume.
9737 * check/gst/gstbus.c (pound_bus_with_messages):
9738 * check/gst/gstmessage.c (START_TEST):
9739 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9742 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9743 logic weaks here: always run transform_caps, trying passthrough
9744 operation only if the original caps intersects with the transform.
9746 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9747 source and sink caps.
9749 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9750 Intersect the peer caps with the pad template before going into
9752 (gst_base_transform_transform_caps): More debugging.
9754 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9757 2005-07-04 Edward Hervey <edward@fluendo.com>
9761 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9764 2005-07-04 Andy Wingo <wingo@pobox.com>
9766 * check/gst/gstpad.c: Only set explicit caps on pads.
9768 2005-07-01 Andy Wingo <wingo@pobox.com>
9770 * tests/network-clock.scm: Commentary update.
9772 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9773 Didn't really make sense, not implementable with basetransform,
9775 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9776 attempt at implementing the sync property, needs an unlock method.
9778 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9779 New func, by default returns the same caps (the identity
9781 (gst_base_transform_getcaps): Uses transform_caps to return
9783 (gst_base_transform_setcaps): Complicated logic to get caps on
9784 both pads, even if they are different, and to call set_caps once
9785 for every time both pads get their caps set.
9786 (gst_base_transform_handle_buffer): Give the ref to the transform
9787 function. Allows in-place modification of the buffer.
9789 * gst/base/gstbasetransform.h (transform_caps): New class method.
9790 Given caps on one side, what can I do on the other.
9791 (set_caps): Take two caps, one for each side of the element.
9794 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9795 caps in place. This is safe because we can check the mutability of
9796 the caps, and a good idea because fixate functions are just called
9797 as a matter of last resort. (Not actually implemented.)
9798 (gst_pad_set_caps): If the caps we're setting is actually the same
9799 as the existing pad caps, just update the pointer without calling
9800 setcaps. Assert that caps is either NULL or fixed, as per the
9803 * gst/gstghostpad.c: Update for fixate changes.
9805 2005-07-02 Andy Wingo <wingo@pobox.com>
9808 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9809 two refcounts makes it immutable, which is enough. Doc more.
9811 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9813 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9814 Put the mini_object into GValue as a mini_object,
9815 not a gpointer, since that's how we declared
9818 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9820 * examples/pwg/Makefile.am:
9823 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9825 * docs/pwg/building-testapp.xml:
9827 * examples/pwg/Makefile.am:
9830 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9833 * examples/Makefile.am:
9834 * examples/pwg/Makefile.am:
9835 * examples/pwg/extract.pl:
9836 Enable building the PWG examples.
9837 * docs/pwg/advanced-interfaces.xml:
9838 Add URI interface stub.
9839 * docs/pwg/advanced-types.xml:
9840 * docs/pwg/other-autoplugger.xml:
9841 * docs/pwg/appendix-porting.xml:
9843 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9844 * docs/pwg/building-boiler.xml:
9845 * docs/pwg/building-chainfn.xml:
9846 * docs/pwg/building-pads.xml:
9847 * docs/pwg/building-props.xml:
9848 * docs/pwg/building-state.xml:
9849 * docs/pwg/building-testapp.xml:
9850 Update the building-*.xml parts for 0.9 changes. All examples
9851 code blocks compile in examples/pwg/*.
9853 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9855 * docs/manual/advanced-autoplugging.xml:
9856 * docs/manual/appendix-checklist.xml:
9857 * docs/manual/appendix-integration.xml:
9858 * docs/manual/highlevel-components.xml:
9859 Fix playbin/decodebin examples, update docs a bit, mention bus
9860 instead of signals in various places, mention kmplayer and
9861 kaffeine since they have a working GStreamer backend in the KDE
9864 2005-06-30 Wim Taymans <wim@fluendo.com>
9867 * docs/design/draft-ghostpads.txt:
9868 * docs/design/draft-push-pull.txt:
9869 * docs/design/draft-query.txt:
9870 * docs/design/part-TODO.txt:
9871 * docs/design/part-query.txt:
9872 Added CHANGES-0.9 doc, updated status of other docs.
9877 2005-06-30 Wim Taymans <wim@fluendo.com>
9879 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9880 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9881 (gst_base_sink_change_state):
9882 * gst/base/gstbasesink.h:
9883 Some tweaks, only EOS and a buffer complete a preroll.
9885 2005-06-30 Andy Wingo <wingo@pobox.com>
9887 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9888 activate_push down to the internal pad as well.
9890 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9892 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9894 * gst/gsttaginterface.c:
9895 Some documentation fixes (#307394 and #307397).
9897 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9899 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9901 * gst/gstvalue.c: (gst_value_intersect_list):
9902 Fix memleak (#309125).
9904 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9906 * docs/manual/advanced-dataaccess.xml:
9907 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9908 * docs/manual/basics-pads.xml:
9909 Add reference for filtered caps to above chapter.
9911 2005-06-30 Wim Taymans <wim@fluendo.com>
9913 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9914 (gst_bin_change_state):
9916 Lame attempt at making the state change function a bit
9919 2005-06-30 Wim Taymans <wim@fluendo.com>
9921 * docs/design/part-clocks.txt:
9922 * docs/design/part-element-sink.txt:
9923 * docs/design/part-events.txt:
9924 * docs/design/part-preroll.txt:
9925 * docs/design/part-states.txt:
9926 Some more tweeks and additions to the docs.
9928 2005-06-30 Wim Taymans <wim@fluendo.com>
9930 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9931 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9932 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9933 (gst_pad_check_pull_range), (gst_pad_get_range),
9934 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9936 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9937 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9938 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9939 (gst_pad_remove_buffer_probe):
9940 Removed atomic operations, use existing LOCK.
9941 Move exception handling out of main code path.
9943 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9945 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9946 (silly_return_true_function), (gst_pad_class_init),
9947 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9948 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9949 (gst_pad_send_event):
9950 Fix accumulator, add default value by using _emitv() instead
9951 of _emit() for signal emission.
9953 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9955 * docs/manual/advanced-dataaccess.xml:
9956 * examples/manual/Makefile.am:
9958 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9961 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9963 * gst/elements/gstfilesink.c: (gst_filesink_render):
9964 Simplify code so that we don't have to handle short
9965 writes and return GST_FLOW_ERROR if an error occured.
9967 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9969 * docs/gst/gstreamer-docs.sgml:
9972 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9974 * docs/gst/gstreamer-sections.txt:
9975 * docs/gst/tmpl/gstpad.sgml:
9976 * docs/gst/tmpl/gstprobe.sgml:
9978 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9979 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9980 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9981 (gst_pad_push_event), (gst_pad_send_event):
9983 * gst/gstutils.c: (gst_pad_add_data_probe),
9984 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9985 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9986 (gst_pad_remove_buffer_probe):
9988 Remove old probes, add new g-signal-based probes and some utility
9991 2005-06-29 Edward Hervey <edward@fluendo.com>
9993 * gst/gstelementfactory.c:
9996 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9997 the definition to the header file.
9999 2005-06-29 Andy Wingo <wingo@pobox.com>
10001 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10002 plugins from the source directory.
10004 2005-06-29 Wim Taymans <wim@fluendo.com>
10006 * docs/gst/tmpl/gstbuffer.sgml:
10007 * docs/gst/tmpl/gstclock.sgml:
10008 Some fixings for blantently wrong text.
10010 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10012 * check/Makefile.am:
10013 * gst/gst.c: (add_path_func), (init_pre):
10014 * gst/gstregistry.c: (gst_registry_add_path):
10015 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10016 only scan the GST_PLUGIN_PATH locations, and not add
10019 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10021 * docs/gst/gstreamer-sections.txt:
10022 * docs/gst/tmpl/gstbasesrc.sgml:
10023 * gst/gstelement.c:
10024 * gst/gstelement.h:
10029 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10031 * docs/manual/advanced-autoplugging.xml:
10032 Fix autoplugging example.
10034 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10036 * docs/manual/advanced-autoplugging.xml:
10037 * docs/manual/mime-world.fig:
10038 Try to get autoplugging working, fix type detection. Fix text
10039 in hello-world image.
10041 2005-06-29 Wim Taymans <wim@fluendo.com>
10043 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10044 (gst_base_sink_change_state):
10048 map SIGNAL and BROADCAST to the right function.
10051 Remove redundant braces.
10053 * gst/gstpad.c: (gst_pad_set_caps):
10054 Don't call setcaps function when reseting caps to NULL.
10056 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10057 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10058 (gst_system_clock_id_unschedule):
10059 Use BROADCAST as this is what we do.
10061 2005-06-29 Wim Taymans <wim@fluendo.com>
10063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10064 We are actually prerolling before commiting the state
10067 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10069 * docs/manual/advanced-clocks.xml:
10070 * docs/manual/advanced-interfaces.xml:
10071 * docs/manual/advanced-metadata.xml:
10072 * docs/manual/advanced-position.xml:
10073 * docs/manual/advanced-schedulers.xml:
10074 * docs/manual/advanced-threads.xml:
10075 * docs/manual/appendix-porting.xml:
10076 * docs/manual/basics-bins.xml:
10077 * docs/manual/basics-bus.xml:
10078 * docs/manual/basics-elements.xml:
10079 * docs/manual/basics-helloworld.xml:
10080 * docs/manual/basics-pads.xml:
10081 * docs/manual/highlevel-components.xml:
10082 * docs/manual/manual.xml:
10083 * docs/manual/thread.fig:
10084 Update (until threads/scheduling) Application Development Manual;
10085 remove GstThread, add GstBus, add simple porting checklist, add
10086 documentation for tag writing, clocks, make all examples until this
10087 part compile and run.
10088 * examples/manual/Makefile.am:
10089 Update from changes to Application Development Manual; add bus
10090 example, remove thread example.
10092 2005-06-28 Wim Taymans <wim@fluendo.com>
10094 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10095 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10096 (gst_bus_source_dispatch):
10097 Add debugging messages.
10098 Make internal methods static.
10099 Handle the case where the bus is flushed in the handler.
10101 * gst/gstelement.c: (gst_element_get_bus):
10102 Fix refcount in _get_bus();
10104 * gst/gstpipeline.c: (gst_pipeline_change_state),
10105 (gst_pipeline_get_clock_func):
10106 Clock refcounting fixes.
10107 Handle the case where preroll timed out more gracefully.
10109 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10110 Clean up the internal thread in dispose. This is needed
10111 for subclasses that actually get disposed.
10113 * gst/schedulers/threadscheduler.c:
10114 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10115 (gst_thread_scheduler_dispose):
10116 Free thread pool in dispose.
10118 2005-06-28 Andy Wingo <wingo@pobox.com>
10120 * tests/network-clock-utils.scm (debug, print-event): New utils.
10122 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10123 (*packet-loss*): Unified loss probability.
10124 (network-time): Report out-of-band events.
10126 * tests/plot-data: Add support for out-of-band events. Hack it
10127 into this script instead of passing it down the pipe; should fix
10130 2005-06-28 Wim Taymans <wim@fluendo.com>
10132 * docs/gst/gstreamer.types:
10133 * docs/gst/tmpl/gstbasesrc.sgml:
10134 * docs/gst/tmpl/gstpad.sgml:
10137 2005-06-28 Wim Taymans <wim@fluendo.com>
10139 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10140 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10141 (gst_proxy_pad_do_fixatecaps):
10142 Correctly proxy the check_pull_range function.
10144 2005-06-28 Andy Wingo <wingo@pobox.com>
10146 * tests/network-clock.scm: Removed need for slib.
10148 2005-06-28 Wim Taymans <wim@fluendo.com>
10150 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10151 (gst_basesink_preroll_queue_flush):
10152 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10153 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10154 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10155 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10156 (gst_proxy_pad_set_property):
10159 * gst/gstqueue.c: (gst_queue_init):
10160 The deprecated pad loop function is removed now.
10162 2005-06-28 Andy Wingo <wingo@pobox.com>
10164 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10165 New parameters, simulate network packet loss.
10167 * tests/network-clock-utils.scm: Initialize the RNG.
10169 2005-06-28 Wim Taymans <wim@fluendo.com>
10171 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10172 (gst_basesink_event), (gst_basesink_deactivate):
10173 Flushing the preroll queue always needs to unlock the waiters.
10175 2005-06-28 Edward Hervey <edward@fluendo.com>
10177 * gst/gstpipeline.c: (gst_pipeline_send_event):
10178 Wheen a seek was successful on a pipeline, set the stream_time to the
10179 seek offset in order to have a synchronized stream_time.
10181 2005-06-28 Wim Taymans <wim@fluendo.com>
10183 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10184 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10185 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10186 (gst_proxy_pad_do_fixatecaps):
10187 Call wrapper function instead of just calling the function
10188 pointers. This takes care of any locking and whatmore.
10190 2005-06-28 Wim Taymans <wim@fluendo.com>
10192 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10193 (gst_pad_pull_range):
10195 CONNECTED -> LINKED.
10197 2005-06-28 Andy Wingo <wingo@pobox.com>
10199 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10200 source-munging commit!!!
10202 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10203 (gst_object_sink): Take gpointer arguments, not GstObject --
10204 avoids casts. Like GLib.
10206 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10209 2005-06-27 Andy Wingo <wingo@pobox.com>
10211 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10214 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10215 returns a sorted copy of the trace list.
10216 (gst_alloc_trace_print_live): New API, only prints traces with
10217 live objects. Sort the list.
10218 (gst_alloc_trace_print_all): Sort the list.
10219 (gst_alloc_trace_print): Align columns.
10221 * gst/elements/gstttypefindelement.c:
10222 * gst/elements/gsttee.c:
10223 * gst/base/gstbasesrc.c:
10224 * gst/base/gstbasesink.c:
10225 * gst/base/gstbasetransform.c:
10226 * gst/gstqueue.c: Adapt for pad activation changes.
10228 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10230 (gst_pipeline_dispose): Drop ref on sched.
10232 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10233 (gst_pad_activate_default): Push mode by default.
10234 (pre_activate_switch, post_activate_switch): New stubs, things to
10235 do before and after switching activation modes on pads.
10236 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10237 the pad's activate function to choose which mode to activate.
10238 Shortcut on deactivation and call the right function directly.
10239 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10241 (gst_pad_activate_push): New API, same for push mode.
10242 (gst_pad_set_activate_function)
10243 (gst_pad_set_activatepull_function)
10244 (gst_pad_set_activatepush_function): Setters for new API.
10246 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10247 Trace all miniobjects.
10248 (gst_mini_object_make_writable): Unref the arg if we copy, like
10249 gst_caps_make_writable.
10251 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10253 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10254 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10255 Adapt for new pad API.
10257 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10259 * gst/gstelement.h:
10260 * gst/gstelement.c (gst_element_iterate_src_pads)
10261 (gst_element_iterate_sink_pads): New API functions.
10263 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10264 should fold into gstiterator.c in some form.
10265 (gst_element_pads_activate): Simplified via use of fold and
10266 delegation of decisions to gstpad->activate.
10268 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10271 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10272 class once in init, like gstmessage. Didn't run into this issue
10273 but it seems correct. Don't initialize a trace, gstminiobject does
10276 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10277 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10279 (assert_live_count): New util function, uses alloc traces to check
10282 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10283 To be modified when unlink drops the internal pad.
10285 2005-06-27 Wim Taymans <wim@fluendo.com>
10287 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10288 (gst_bin_change_state):
10289 Cleanup the get_state() function a little, make sure it
10290 iterates the same set of elements.
10291 Added stub iterate_state_order().
10293 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10295 * docs/gst/gstreamer-docs.sgml:
10296 * docs/gst/gstreamer-sections.txt:
10297 * docs/gst/gstreamer.types:
10298 * docs/gst/tmpl/gstbasesink.sgml:
10299 * docs/gst/tmpl/gstbasesrc.sgml:
10300 * docs/gst/tmpl/gstbasetransform.sgml:
10301 * docs/gst/tmpl/gstelement.sgml:
10302 * docs/gst/tmpl/gstiterator.sgml:
10303 * gst/base/gstbasesrc.c:
10304 * gst/base/gstbasesrc.h:
10305 * gst/base/gstbasetransform.h:
10306 * gst/gstelement.c:
10307 * gst/gstiterator.h:
10308 adding basetransform and iterator docs
10310 2005-06-27 Andy Wingo <wingo@pobox.com>
10312 * docs/design/part-activation.txt: Notes on how activation should
10313 work -- not quite implemented yet.
10315 2005-06-25 Wim Taymans <wim@fluendo.com>
10317 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10318 At least get the chain function correct, needs more
10321 2005-06-25 Wim Taymans <wim@fluendo.com>
10323 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10324 (gst_basesink_handle_object), (gst_basesink_event),
10325 (gst_basesink_do_sync), (gst_basesink_handle_event),
10326 (gst_basesink_change_state):
10328 Right, two problems here: ghostpads don't take locks and
10329 glib _rec_mutex_lock_full() with depth==0 still locks.
10330 Catch illegal locking and g_warn them.
10332 2005-06-25 Wim Taymans <wim@fluendo.com>
10334 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10335 Have to check for completion now...
10337 2005-06-25 Wim Taymans <wim@fluendo.com>
10339 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10340 (gst_basesink_handle_object), (gst_basesink_event),
10341 (gst_basesink_do_sync), (gst_basesink_handle_event),
10342 (gst_basesink_change_state):
10344 Unlock STREAM_LOCK whatever the recursion was.
10346 2005-06-25 Wim Taymans <wim@fluendo.com>
10348 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10349 (gst_basesink_preroll_queue_empty),
10350 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10351 (gst_basesink_event), (gst_basesink_do_sync),
10352 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10353 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10354 (gst_basesink_change_state):
10355 Reworked the base sink, handle event and buffer serialisation
10356 correctly and removed possible deadlock.
10357 Handle EOS correctly.
10359 2005-06-25 Wim Taymans <wim@fluendo.com>
10361 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10362 (gst_pipeline_change_state):
10363 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10364 Allow elements to post EOS in the state change function.
10365 Fix up -launch, make it exit the poll loop when the
10366 pipeline actually changed state.
10367 Fix up warning parsing in -launch.
10369 2005-06-25 Wim Taymans <wim@fluendo.com>
10371 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10372 (gst_tee_sink_activate):
10373 Core takes STREAM_LOCK for us now.
10375 2005-06-25 Wim Taymans <wim@fluendo.com>
10377 * gst/gstelement.c: (gst_element_get_state_func),
10378 (gst_element_set_state):
10379 * gst/gstelement.h:
10380 * gst/gstmessage.c: (gst_message_parse_error),
10381 (gst_message_parse_warning):
10382 Keep track of current target state while performing a state
10383 change so that subclasses can do something interesting.
10384 Fix parsing of warning/error messages when GError is NULL.
10386 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10388 * docs/gst/Makefile.am:
10389 * docs/gst/gstreamer-docs.sgml:
10390 * docs/gst/gstreamer-sections.txt:
10391 * docs/gst/gstreamer.types:
10392 * docs/gst/tmpl/gstbasesink.sgml:
10393 * docs/gst/tmpl/gstbasesrc.sgml:
10394 * docs/gst/tmpl/gstbin.sgml:
10395 * docs/gst/tmpl/gstcompat.sgml:
10396 * docs/gst/tmpl/gstfakesink.sgml:
10397 * docs/gst/tmpl/gstfakesrc.sgml:
10398 * docs/gst/tmpl/gstfilesink.sgml:
10399 * docs/gst/tmpl/gstfilesrc.sgml:
10400 * docs/gst/tmpl/gstindex.sgml:
10401 * docs/manual/appendix-quotes.xml:
10402 * gst/base/gstbasesrc.h:
10403 * gst/elements/gstfakesrc.h:
10404 * gst/gstmessage.h:
10405 start pulling in base classes and elements in our docs
10407 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10409 * docs/gst/Makefile.am:
10410 * docs/libs/Makefile.am:
10411 fixed make distcheck with gtk-doc 1.3
10413 2005-06-23 Wim Taymans <wim@fluendo.com>
10415 * gst/gstelement.c: (gst_element_get_state_func),
10416 (gst_element_set_state), (gst_element_change_state):
10417 When the state did not change, also report NO_PREROLL
10420 2005-06-23 Wim Taymans <wim@fluendo.com>
10422 * gst/gstpad.c: (gst_pad_event_default):
10423 * gst/gstqueue.c: (gst_queue_loop):
10424 No unsafe task pausing please.
10426 2005-06-23 Wim Taymans <wim@fluendo.com>
10428 * gst/schedulers/threadscheduler.c:
10429 (gst_thread_scheduler_task_start),
10430 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10431 Ref the task before pushing it on the threadpool. This
10432 makes sure that we have a ref when the threadfunction is
10435 2005-06-23 Andy Wingo <wingo@pobox.com>
10437 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10438 offset is greater than the file's size.
10440 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10441 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10442 * gst/gstobject.c (gst_object_class_init): Make the class lock
10443 recursive. Wim won't let me drop deep_notify. Decodebin works
10444 again, whoopdy doo.
10446 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10447 internal pad, and hacks accordingly. Doesn't do it on the target
10448 pad because we change its caps. Probably catches all cases of
10450 (gst_ghost_pad_set_property): Connect to notify::caps as
10453 * tests/network-clock.scm (plot-simulation): Pipe data to the
10454 elite python skript.
10456 * tests/network-clock-utils.scm (define-parameter): New macro,
10457 defines a parameter that can be set via the command line.
10458 (set-parameter!, parse-parameter-arguments): Command line args
10461 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10464 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10466 * gst/elements/gsttypefindelement.c:
10467 (gst_type_find_element_handle_event):
10468 Don't restart typefinding on a discont.
10469 * gst/gstelement.c: (gst_element_set_state):
10470 Debug spelling fix.
10471 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10472 Allow changing mode of an active pad.
10473 Debug output fixes.
10474 * gst/registries/gstlibxmlregistry.c: (load_feature):
10475 Don't cast a static pad template to a normal pad template.
10477 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10479 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10480 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10481 remove gst_strtoll completely, since it didn't actually do
10482 anything more than what g_ascii_strtoull already does.
10483 check for range errors when deserializing
10484 do a cast for the unsigned cases; but further fixing needs
10485 a decision on what the interpretation of "(int)" and
10486 deserialization should be for values that fall outside the
10487 type's boundaries (ie, refuse, or interpret as casting)
10489 2005-06-23 Wim Taymans <wim@fluendo.com>
10491 * check/Makefile.am:
10492 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10493 * docs/design/part-live-source.txt:
10494 * docs/design/part-states.txt:
10495 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10496 (gst_basesrc_set_live), (gst_basesrc_is_live),
10497 (gst_basesrc_get_range), (gst_basesrc_activate),
10498 (gst_basesrc_change_state):
10499 * gst/base/gstbasesrc.h:
10500 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10501 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10502 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10503 * gst/gstelement.c: (gst_element_get_state_func),
10504 (gst_element_set_state):
10505 * gst/gstelement.h:
10507 * tools/gst-launch.c: (event_loop), (main):
10508 Added support for live sources and other elements that
10510 Updated design docs, added live-source design doc.
10511 Implemented live source functionality in basesrc
10512 Fix error condition in _bin_get_state()
10513 Implement live source handling in -launch.
10514 Added check for live sources.
10515 Fixed case in GstBin where elements were changed state
10519 2005-06-23 Andy Wingo <wingo@pobox.com>
10521 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10522 borken refcounting.
10524 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10525 gst_caps_replace takes care of this for us.
10527 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10528 gst_pad_set_caps on the target, not just its setcaps() function.
10530 * tests/network-clock.scm:
10531 * tests/network-clock-utils.scm: A network clock simulator.
10532 Something of an algorithmic testbed before doing something in C.
10534 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10536 * check/Makefile.am:
10537 * check/gst/capslist.h:
10538 copy over from 0.8, and add two with bitmasks specified with
10540 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10541 add test to parse everything from capslist.h
10542 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10544 add test for structure deserialization
10545 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10546 add tests for deserialization of strings to int types
10547 * gst/gststructure.c: (gst_structure_nth_field_name):
10548 * gst/gststructure.h:
10549 add a way to get the name of a field referenced by index
10550 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10551 instead of checking if the resulting long long lies between
10552 min and max, we check if the long long would fit into
10553 a number of bytes for the final type.
10554 This fixes cases where a string represents 2^32 - 1, which
10555 when cast to int would be the (valid) -1, but is bigger than
10558 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10560 * gst/parse/grammar.y:
10561 add a log line for type deserialization
10563 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10565 * check/gst/gstvalue.c: (START_TEST):
10566 * gst/gstvalue.c: (gst_value_deserialize):
10567 return long long, not int, so gint64 deserialization actually
10568 works. Is there any flag that makes the compiler check this ?
10571 2005-06-22 Wim Taymans <wim@fluendo.com>
10574 Added convenience macros for setting buffers in GValue.
10576 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10578 * check/gst/.cvsignore:
10579 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10580 add a test deserializing int64, and comment part out because
10583 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10585 * check/Makefile.am:
10586 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10587 * testsuite/Makefile.am:
10588 * testsuite/caps/Makefile.am:
10589 * testsuite/caps/value_serialize.c:
10590 * testsuite/test_gst_init.c:
10591 move a value_serialize test over
10593 2005-06-20 Wim Taymans <wim@fluendo.com>
10598 * gst/gstvalue.c: (gst_value_compare_buffer),
10599 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10600 (gst_value_compare_flags), (gst_value_serialize_flags),
10601 (gst_value_deserialize_flags), (_gst_value_initialize):
10602 Fix serialisation of buffers, they are not boxed types anymore
10604 2005-06-20 Wim Taymans <wim@fluendo.com>
10606 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10607 Testcase to show error in buffer-on-caps serialisation.
10609 2005-06-20 Andy Wingo <wingo@pobox.com>
10611 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10612 will be adding to later.
10614 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10615 if its socks fill with rocks.
10616 (gst_system_clock_obtain): Set the name on object construction.
10617 Avoid double-checked locking.
10619 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10621 * gst/gsturi.c: (gst_element_make_from_uri):
10622 Fix potential endless loop.
10624 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10626 * check/Makefile.am:
10628 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10630 move over from testsuite dir and clean up
10633 * testsuite/Makefile.am:
10634 * testsuite/tags/.cvsignore:
10635 * testsuite/tags/Makefile.am:
10636 * testsuite/tags/merge.c:
10637 remove testsuite/tags
10639 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10641 * docs/gst/gstreamer-sections.txt:
10642 * docs/gst/tmpl/gstenumtypes.sgml:
10643 * win32/gstenumtypes.c:
10644 clean up documentation build a little
10646 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10648 * check/gstcheck.h:
10649 add macros for checking refcounts on objects and caps
10650 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10651 add some more unit tests
10652 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10653 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10654 fix leaked refcounts (I hope :)) so unittest works
10658 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10660 * configure.ac: back to HEAD
10662 === release 0.9.1 ===
10664 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10670 2005-06-17 Andy Wingo <wingo@pobox.com>
10672 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10673 assert; it's always possible that the pad gets deactivated in
10674 between the checks in gstpad.c and the implementation. Rely on
10675 finish_preroll() to return a FLUSHING or similar instead of on the
10678 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10679 clock and post an EOS message if we come out of finish_preroll in
10682 2005-06-16 David Schleef <ds@schleef.org>
10684 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10685 (gst_capsfilter_set_property): Allow NULL as possible value
10686 for filter_caps property, indicating GST_CAPS_ANY.
10688 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10690 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10692 * gst/schedulers/Makefile.am:
10694 * gstreamer.spec.in:
10697 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10699 * gstreamer.spec.in:
10702 2005-06-08 Andy Wingo <wingo@pobox.com>
10704 * gst/gstutils.c: RPAD fixes all around.
10705 (gst_element_link_pads): Refcounting fixes.
10707 * tools/gst-inspect.c:
10708 * tools/gst-xmlinspect.c:
10710 * gst/base/gsttypefindhelper.c:
10711 * gst/base/gstbasesink.c:
10712 * gst/gstqueue.c: RPAD fixes.
10714 * gst/gstghostpad.h:
10715 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10716 pads. The tricky thing is they provide both source and sink
10717 interfaces, since they proxy the internal pad for the external
10718 pad, and vice versa. Implement with lower-level ProxyPad objects,
10719 with the interior proxy pad as a child of the exterior ghost pad.
10720 Should write a doc on this.
10722 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10723 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10726 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10727 pads are real pads. No ghost pads in this file. Not documenting
10728 the myriad s/RPAD/PAD/ and REALIZE fixes.
10729 (gst_pad_class_init): Add properties for "direction" and
10730 "template". Both are construct-only, so they can't change during
10731 the life of the pad. Fixes properly deriving from GstPad.
10732 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10733 derived objects, just set properties when creating the objects via
10735 (gst_pad_get_parent): Implement as a function, return NULL if the
10736 parent is not an element.
10737 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10738 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10740 * gst/gstobject.c (gst_object_class_init): Make name a construct
10741 property. Don't set it in the object init.
10743 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10744 with UNKNOWN direction.
10745 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10746 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10747 (gst_element_remove_pad): Remove ghost-pad special cases.
10748 (gst_element_pads_activate): Remove rpad cruft.
10750 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10751 catch the pad's-parent-not-an-element case.
10753 * gst/gst.h: Include gstghostpad.h.
10755 * gst/gst.c (init_post): No more real, ghost pads.
10757 * gst/Makefile.am: Add gstghostpad.[ch].
10759 * check/Makefile.am:
10760 * check/gst/gstbin.c:
10761 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10762 into a bin creates ghost pads, and that the refcounts are right.
10763 Partly moved from gstbin.c.
10765 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10767 * check/gst-libs/.cvsignore:
10768 * check/gst/.cvsignore:
10769 * check/pipelines/.cvsignore:
10771 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10772 (START_TEST), (cleanup_suite), (main):
10773 add some tests related to cleanup after running pipelines
10775 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10777 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10778 add a testsuite for GstBuffer
10780 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10782 * gst/gstminiobject.h:
10783 add defines for accessing the refcount
10785 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10787 * Makefile.am: added support for html unit test coverage reports
10789 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10791 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10792 Free existing caps if the capsfilter changes. Add a FIXME about
10793 setting those caps on the pads.
10795 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10796 Before adding a ghost pad to a parent bin, check that there isn't
10797 already one for the element on the bin. Prevents infinite recursion
10798 when using decodebin in parse pipelines. Andy says he'll rewrite the
10799 way this works anyway, so ignore the hack.
10801 2005-06-02 Andy Wingo <wingo@pobox.com>
10803 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10804 file size, pass it on to the type find helper.
10806 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10807 segment_start and segment_end properly according to the seek
10808 method. Segment_end is still a bit flaky because offset can be
10809 negative for CUR and END cases, but it takes -1 as an "unset"
10812 2005-06-02 Wim Taymans <wim@fluendo.com>
10814 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10815 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10816 (gst_basesink_activate):
10817 * gst/base/gstbasesink.h:
10818 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10819 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10820 (gst_pad_query), (gst_pad_start_task):
10822 * gst/gstqueue.c: (gst_queue_bufferalloc),
10823 (gst_queue_handle_sink_event), (gst_queue_chain):
10824 Bufferalloc: return GstFlowReturn to more accuratly report
10825 why allocation failed.
10827 2005-06-02 Wim Taymans <wim@fluendo.com>
10829 * gst/gstpipeline.c: (gst_pipeline_send_event):
10830 Take snapshot of state without blocking.
10832 2005-06-02 Wim Taymans <wim@fluendo.com>
10834 * docs/design/part-TODO.txt:
10835 * docs/design/part-caps.txt:
10836 * docs/design/part-clocks.txt:
10837 * docs/design/part-negotiation.txt:
10838 * docs/design/part-preroll.txt:
10841 2005-05-30 Wim Taymans <wim@fluendo.com>
10843 * gst/elements/gstidentity.c: (gst_identity_event),
10844 (gst_identity_transform), (gst_identity_get_property):
10845 Protect last_message property as it is accessed from
10848 2005-05-30 Wim Taymans <wim@fluendo.com>
10850 * gst/gstelement.c: (gst_element_init),
10851 (gst_element_pads_activate), (gst_element_change_state):
10852 Slicker pad activation code.
10854 2005-05-30 Wim Taymans <wim@fluendo.com>
10857 * gst/gstelement.h:
10858 * gst/gstelementfactory.h:
10860 Move elementfactory methods to separate .h file.
10862 2005-05-30 Wim Taymans <wim@fluendo.com>
10864 * docs/design/part-overview.txt:
10865 * gst/gstsystemclock.h:
10866 Small typo fixes, doc updates.
10868 2005-05-30 Wim Taymans <wim@fluendo.com>
10870 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10871 (init_popt_callback):
10872 Remove cpu-opt flag.
10874 2005-05-30 Wim Taymans <wim@fluendo.com>
10876 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10877 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10879 Avoid typechecking in places where not needed.
10880 Added accessor for malloc_data.
10882 2005-05-30 Wim Taymans <wim@fluendo.com>
10884 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10885 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10886 (gst_pad_configure_sink), (gst_pad_configure_src),
10887 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10888 (gst_pad_start_task):
10889 Propagate errors from _set_caps() in configure_src/sink
10890 functions instead of returning TRUE.
10891 FLUSH events can travel up and downstream
10894 2005-05-30 Wim Taymans <wim@fluendo.com>
10896 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10897 (gst_basesink_activate):
10898 Handle EOS in preroll.
10900 2005-05-30 Wim Taymans <wim@fluendo.com>
10902 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10903 (gst_queue_loop), (gst_queue_handle_src_event):
10904 Remove old pieces of code
10905 Flushing the queue in an upstream event is a very bad idea.
10907 2005-05-26 Andy Wingo <wingo@pobox.com>
10909 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10910 gst_value_set_mini_object so as to add a ref on the object (which
10911 will be removed when the value is unset).
10913 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10914 arg type in ::handoff.
10916 * gst/gstelement.c (gst_element_change_state): Also deactivate
10917 pads in READY->NULL, just in case the element didn't make it to
10918 PAUSED. Wingo tested, Wim approved.
10920 2005-05-26 Wim Taymans <wim@fluendo.com>
10922 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10923 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10924 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10925 A flushing pad cannot be used to alloc_buffer from.
10927 2005-05-26 Wim Taymans <wim@fluendo.com>
10929 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10930 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10931 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10932 (gst_bus_create_watch), (gst_bus_add_watch_full):
10934 Implement a real GSource and use g_main_context_wakeup() to
10935 signal new messages instead of the socketpair.
10937 2005-05-25 Wim Taymans <wim@fluendo.com>
10939 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10940 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10941 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10942 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10943 (gst_pad_send_event), (gst_pad_start_task):
10944 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10945 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10946 (gst_queue_sink_activate), (gst_queue_src_activate),
10947 (gst_queue_change_state):
10949 Fix state changes for non sinks. We now change sinks, then elements
10950 with unconnected srcpads, then the rest.
10951 More efficient queue unlocking in flush and state changes.
10952 Set the pad activate mode even if it does not have an activate
10955 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10957 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10958 Don't go in pull mode for non-seekable sources.
10959 * gst/elements/gsttypefindelement.h:
10960 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10961 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10962 (free_entry), (stop_typefinding),
10963 (gst_type_find_element_handle_event), (find_peek),
10964 (gst_type_find_element_chain), (do_pull_typefind),
10965 (gst_type_find_element_change_state):
10966 Allow typefinding (w/o seeking) in push-mode, simplified version
10967 of what was in 0.8.
10968 * gst/gstutils.c: (gst_buffer_join):
10970 gst_buffer_join() from 0.8.
10972 2005-05-25 Wim Taymans <wim@fluendo.com>
10974 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10975 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10976 (gst_pad_send_event), (gst_pad_start_task):
10977 Disable attempt at mode switching until it is figured out.
10979 2005-05-25 Wim Taymans <wim@fluendo.com>
10981 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10982 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10983 (gst_basesink_finish_preroll), (gst_basesink_chain),
10984 (gst_basesink_loop), (gst_basesink_activate),
10985 (gst_basesink_change_state):
10986 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10987 (gst_basesrc_get_range), (gst_basesrc_loop),
10988 (gst_basesrc_activate):
10989 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10990 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10991 (gst_real_pad_init), (gst_real_pad_set_property),
10992 (gst_real_pad_get_property), (gst_pad_set_active),
10993 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10994 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10995 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10996 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10997 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10998 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10999 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11000 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11001 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11002 (gst_pad_stop_task):
11004 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11005 (gst_queue_loop), (gst_queue_src_activate):
11006 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11007 (gst_task_get_state):
11009 * gst/schedulers/threadscheduler.c:
11010 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11011 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11013 Remove ACTIVE pad flag, use FLUSHING everywhere
11014 Added _pad_chain(), _pad_get_range() to call chain/getrange
11016 Add locks around IS_FLUSHING when reading.
11017 Take STREAM lock in chain(), get_range() functions so plugins
11018 don't need to take it anymore.
11022 2005-05-25 Wim Taymans <wim@fluendo.com>
11024 * tools/gst-launch.c: (event_loop):
11025 Unref message after using its contents instead of
11028 2005-05-24 Wim Taymans <wim@fluendo.com>
11030 * docs/design/draft-ghostpads.txt:
11031 * docs/design/draft-push-pull.txt:
11032 * docs/design/draft-query.txt:
11033 * docs/design/part-overview.txt:
11034 Docs updates, added general overview doc.
11036 2005-05-21 David Schleef <ds@schleef.org>
11038 * docs/gst/tmpl/old/GstBin.sgml:
11039 * docs/gst/tmpl/old/GstBuffer.sgml:
11040 * docs/gst/tmpl/old/GstCaps.sgml:
11041 * docs/gst/tmpl/old/GstClock.sgml:
11042 * docs/gst/tmpl/old/GstCompat.sgml:
11043 * docs/gst/tmpl/old/GstData.sgml:
11044 * docs/gst/tmpl/old/GstElement.sgml:
11045 * docs/gst/tmpl/old/GstEvent.sgml:
11046 * docs/gst/tmpl/old/GstIndex.sgml:
11047 * docs/gst/tmpl/old/GstStructure.sgml:
11048 * docs/gst/tmpl/old/GstTag.sgml:
11049 * docs/gst/tmpl/old/cothreads.sgml:
11050 * docs/gst/tmpl/old/cothreads_compat.sgml:
11051 * docs/gst/tmpl/old/gettext.sgml:
11052 * docs/gst/tmpl/old/gobject2gtk.sgml:
11053 * docs/gst/tmpl/old/grammar.tab.sgml:
11054 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11055 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11056 * docs/gst/tmpl/old/gst_private.sgml:
11057 * docs/gst/tmpl/old/gstaggregator.sgml:
11058 * docs/gst/tmpl/old/gstarch.sgml:
11059 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11060 * docs/gst/tmpl/old/gstbufferstore.sgml:
11061 * docs/gst/tmpl/old/gstdata_private.sgml:
11062 * docs/gst/tmpl/old/gstdisksink.sgml:
11063 * docs/gst/tmpl/old/gstdisksrc.sgml:
11064 * docs/gst/tmpl/old/gstelementfactory.sgml:
11065 * docs/gst/tmpl/old/gstextratypes.sgml:
11066 * docs/gst/tmpl/old/gstfakesink.sgml:
11067 * docs/gst/tmpl/old/gstfakesrc.sgml:
11068 * docs/gst/tmpl/old/gstfdsink.sgml:
11069 * docs/gst/tmpl/old/gstfdsrc.sgml:
11070 * docs/gst/tmpl/old/gstfilesink.sgml:
11071 * docs/gst/tmpl/old/gstfilesrc.sgml:
11072 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11073 * docs/gst/tmpl/old/gstidentity.sgml:
11074 * docs/gst/tmpl/old/gstindexfactory.sgml:
11075 * docs/gst/tmpl/old/gstmarshal.sgml:
11076 * docs/gst/tmpl/old/gstmd5sink.sgml:
11077 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11078 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11079 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11080 * docs/gst/tmpl/old/gstpipefilter.sgml:
11081 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11082 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11083 * docs/gst/tmpl/old/gstshaper.sgml:
11084 * docs/gst/tmpl/old/gstspider.sgml:
11085 * docs/gst/tmpl/old/gstspideridentity.sgml:
11086 * docs/gst/tmpl/old/gststatistics.sgml:
11087 * docs/gst/tmpl/old/gsttee.sgml:
11088 * docs/gst/tmpl/old/gsttimecache.sgml:
11089 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11090 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11091 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11092 * docs/gst/tmpl/old/types.sgml:
11093 I didn't intend to add these or check them in.
11095 2005-05-19 David Schleef <ds@schleef.org>
11097 * configure.ac: Use -no-common everywhere. In a sane world, it
11098 would be the default in libtool, because without it, you can't
11099 build DLLs on Windows.
11100 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11101 * docs/gst/gstreamer-sections.txt:
11102 * docs/gst/tmpl/gstcpu.sgml:
11103 * docs/gst/tmpl/gstdata.sgml:
11104 * docs/gst/tmpl/gstthread.sgml:
11106 2005-05-19 David Schleef <ds@schleef.org>
11108 * gst/gstminiobject.c: (gst_value_set_mini_object),
11109 (gst_value_take_mini_object), (gst_value_get_mini_object):
11110 * gst/gstminiobject.h: Add GValue set/get functions.
11112 2005-05-19 Wim Taymans <wim@fluendo.com>
11114 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11115 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11116 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11118 * gst/gstbus.c: (gst_bus_post):
11119 * gst/gstelement.c: (gst_element_get_random_pad):
11120 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11121 Make subbufer unref the parent in finalize.
11122 some more debugging info.
11125 2005-05-19 Wim Taymans <wim@fluendo.com>
11127 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11128 (gst_basesink_init), (gst_basesink_finalize),
11129 (gst_basesink_activate), (gst_basesink_change_state):
11130 Don't free preroll queue too early.
11132 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11136 Hi, I'm outdated. Please shoot me.
11138 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11140 * gst/gstpipeline.c: (gst_pipeline_send_event):
11141 Do not access variables after they have been deleted.
11143 2005-05-19 Wim Taymans <wim@fluendo.com>
11145 * tools/gst-inspect.c: (print_plugin_features):
11146 A plugin feature does unfortunatly not use the
11149 2005-05-18 Wim Taymans <wim@fluendo.com>
11151 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11152 Port _span() functions to new subbuffers.
11154 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11156 * gst/gstbin.c: (gst_bin_add_func):
11157 Fix clock settery in bins when adding kids after the clock has
11160 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11162 * gst/elements/gstidentity.c: (gst_identity_class_init):
11163 Workaround until signals support GstMiniObject.
11165 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11168 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11170 2005-05-18 Wim Taymans <wim@fluendo.com>
11172 * gst/base/Makefile.am:
11173 * gst/base/gstadapter.c: (gst_adapter_base_init),
11174 (gst_adapter_class_init), (gst_adapter_init),
11175 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11176 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11177 (gst_adapter_flush), (gst_adapter_available),
11178 (gst_adapter_available_fast):
11179 * gst/base/gstadapter.h:
11180 Ported and added adapter to the base classes.
11182 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11185 * gst/gstmessage.c:
11186 Make sure the class is reffed/unreffed once before threads can be
11187 used. Fixes #304551.
11189 2005-05-17 Wim Taymans <wim@fluendo.com>
11191 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11192 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11193 * gst/gstminiobject.c: (gst_mini_object_get_type),
11194 (gst_mini_object_free):
11195 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11196 (gst_pad_push), (gst_pad_push_event):
11197 * gst/gstqueue.c: (gst_queue_change_state):
11198 Don't queue buffers in basesink when we are flushing.
11199 Unref buffer when flushing in basesink.
11200 Flush queue when going to READY
11201 Unref buffer when _push() returns an error.
11202 Don't free MiniObject instance when refcount is incremented
11203 in _finalize() so that we can recover objects.
11205 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11207 * docs/manual/advanced-schedulers.xml:
11208 * docs/manual/appendix-checklist.xml:
11209 * docs/pwg/advanced-clock.xml:
11210 * docs/pwg/advanced-interfaces.xml:
11211 * docs/pwg/advanced-request.xml:
11212 * docs/pwg/advanced-types.xml:
11213 * docs/pwg/intro-preface.xml:
11214 * examples/plugins/example.c: (gst_example_get_type),
11215 (gst_example_class_init), (gst_example_chain),
11216 (gst_example_set_property), (gst_example_get_property),
11217 (gst_example_change_state), (plugin_init):
11218 * examples/plugins/example.h:
11221 2005-05-17 Wim Taymans <wim@fluendo.com>
11223 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11224 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11225 * gst/gstqueue.c: (gst_queue_change_state):
11226 Clear queue when going to READY.
11227 Remove IN_SETCAPS flag too.
11229 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11231 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11232 Remove implicit cast from gboolean to GstElementStateReturn;
11233 make sure we still return failure in paused => ready case if
11234 the parent class fails to change state and our own stop
11237 2005-05-17 Wim Taymans <wim@fluendo.com>
11239 * tools/gst-launch.c: (event_loop):
11240 Message was unreffed too soon.
11242 2005-05-16 Andy Wingo <wingo@pobox.com>
11244 * gst/gstbin.c (sink_iterator_filter): Err... um...
11246 * check/gst/gstbin.c (test_ghost_pads): New test for the
11247 ghosting-if-elements-not-in-same-bin behavior.
11249 2005-05-16 David Schleef <ds@schleef.org>
11251 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11252 accessing refcount directly.
11254 2005-05-15 David Schleef <ds@schleef.org>
11256 * check/Makefile.am: remove GstData checks
11257 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11258 * gst/Makefile.am: add miniobject, remove data
11259 * gst/gst.h: add miniobject, remove data
11260 * gst/gstdata.c: remove
11261 * gst/gstdata.h: remove
11262 * gst/gstdata_private.h: remove
11263 * gst/gsttypes.h: remove GstEvent and GstMessage
11264 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11265 * gst/gstmarshal.list: change BOXED -> OBJECT
11267 Implement GstMiniObject.
11268 * gst/gstminiobject.c:
11269 * gst/gstminiobject.h:
11271 Modify to be subclasses of GstMiniObject.
11272 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11273 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11274 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11275 (gst_subbuffer_get_type), (gst_subbuffer_init),
11276 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11279 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11280 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11281 (_gst_event_copy), (gst_event_new):
11283 * gst/gstmessage.c: (_gst_message_initialize),
11284 (gst_message_get_type), (gst_message_class_init),
11285 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11286 (gst_message_new), (gst_message_new_error),
11287 (gst_message_new_warning), (gst_message_new_tag),
11288 (gst_message_new_state_changed), (gst_message_new_application):
11289 * gst/gstmessage.h:
11290 * gst/gstprobe.c: (gst_probe_perform),
11291 (gst_probe_dispatcher_dispatch):
11293 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11294 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11295 (_gst_query_copy), (gst_query_new):
11297 Update elements for GstData -> GstMiniObject changes
11299 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11300 (gst_queue_chain), (gst_queue_loop):
11301 * gst/elements/gstbufferstore.c:
11302 (gst_buffer_store_add_buffer_func),
11303 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11304 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11305 (gst_fakesink_render):
11306 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11307 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11308 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11309 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11310 (gst_filesrc_create_read):
11311 * gst/elements/gstidentity.c: (gst_identity_class_init):
11312 * gst/elements/gsttypefindelement.c:
11313 (gst_type_find_element_src_event), (free_entry_buffers),
11314 (gst_type_find_element_handle_event):
11315 * libs/gst/dataprotocol/dataprotocol.c:
11316 (gst_dp_header_from_buffer):
11317 * libs/gst/dataprotocol/dataprotocol.h:
11318 * libs/gst/dataprotocol/dp-private.h:
11320 2005-05-15 David Schleef <ds@schleef.org>
11322 * gst/elements/gstelements.c: Don't include headers that were
11325 2005-05-15 David Schleef <ds@schleef.org>
11327 * gst/elements/Makefile.am: Remove some elements that don't
11328 need to be in the core (or even exist at all).
11329 * gst/elements/gstaggregator.c:
11330 * gst/elements/gstaggregator.h:
11331 * gst/elements/gstmd5sink.c:
11332 * gst/elements/gstmd5sink.h:
11333 * gst/elements/gstmultifilesrc.c:
11334 * gst/elements/gstmultifilesrc.h:
11335 * gst/elements/gstpipefilter.c:
11336 * gst/elements/gstpipefilter.h:
11337 * gst/elements/gstshaper.c:
11338 * gst/elements/gstshaper.h:
11339 * gst/elements/gststatistics.c:
11340 * gst/elements/gststatistics.h:
11341 * po/POTFILES.in: Remove above files.
11343 2005-05-14 Andy Wingo <wingo@pobox.com>
11345 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11346 so as to get the refs right.
11347 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11348 unreffing objects that don't pass the filter.
11350 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11351 gst_element_set_bus.
11352 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11353 normal cases, this will destroy the bus.
11355 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11358 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11361 2005-05-13 Andy Wingo <wingo@pobox.com>
11363 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11364 gst_pad_link, call pad_link_maybe_ghosting,
11365 (pad_link_maybe_ghosting): Links pads, making sure that the
11366 elements being linked are in the same bin.
11367 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11368 Helpers for pad_link_maybe_ghosting.
11370 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11373 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11375 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11377 * docs/design/part-element-source.txt:
11380 2005-05-12 Wim Taymans <wim@fluendo.com>
11382 * gst/base/gstbasesink.c: (gst_basesink_init),
11383 (gst_basesink_activate):
11384 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11385 (gst_basesrc_is_seekable):
11386 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11387 (bin_element_is_sink), (gst_bin_change_state):
11388 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11389 * gst/gstelement.h:
11390 Identify sinks by their flag to avoid overly complicated
11392 Do state changes even for elements not reachable from the
11394 BaseSink is a sink now :)
11395 Some more debugging info in the basesrc.
11398 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11400 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11401 Implement _query on a bin, similar to _send_event.
11403 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11405 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11406 Discont event offset format should be GST_FORMAT_BYTES,
11407 not GST_FORMAT_TIME.
11409 2005-05-12 Wim Taymans <wim@fluendo.com>
11411 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11412 Same fix as Ronald's but without the signal.
11414 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11416 * gst/gstutils.c: (gst_element_query_position):
11417 No, an element is not a pad.
11419 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11421 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11422 (gst_bin_get_state):
11423 If a child is removed from a bin while we remove the child from
11424 the bin and while we're retrieving its state, signal this to the
11425 get_state function so we abort the wait (instead of waiting for
11426 a timeout) and can immediately re-iterate over all other elements.
11428 2005-05-12 Wim Taymans <wim@fluendo.com>
11430 * gst/base/Makefile.am:
11431 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11432 (gst_basesrc_start):
11433 * gst/base/gstbasesrc.h:
11434 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11435 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11436 (gst_pushsrc_init), (gst_pushsrc_create):
11437 * gst/base/gstpushsrc.h:
11438 Added is_seekable to BaseSrc
11439 Added simple PushSrc.
11441 2005-05-11 Wim Taymans <wim@fluendo.com>
11443 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11444 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11445 (gst_element_link_pads), (gst_element_query_position),
11446 (gst_element_query_convert), (intersect_caps_func),
11447 (gst_pad_query_position), (gst_pad_query_convert):
11448 Fix refcounting in utils function.
11449 No point in trying to activate a pad when it's added, it could
11450 be added from the state change function and then we deadlock, the
11451 element has to decide what to do.
11453 2005-05-10 Andy Wingo <wingo@pobox.com>
11455 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11456 *all* the arguments.
11458 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11459 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11460 lock (according to the docs -- if this is wrong change the docs).
11462 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11463 flush messages in the NULL state.
11465 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11466 message immediately and return.
11467 (gst_bus_set_flushing): New function. If a bus is flushing, it
11468 flushes out any queued messages and immediately unrefs new
11469 messages. This is so when an element goes to NULL, all of the
11470 unhandled messages coming from it can be freed, and their
11471 references to the element dropped. In other words: message source
11472 ref considered harmful :P
11474 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11475 we're finished with it.
11477 * gst/gstmessage.c (gst_message_new_state_changed):
11479 2005-05-10 Wim Taymans <wim@fluendo.com>
11481 * gst/gstvalue.c: (gst_value_compare_flags),
11482 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11483 (_gst_value_initialize):
11484 Added flags serialize/deserialize/compare code.
11486 2005-05-09 Andy Wingo <wingo@pobox.com>
11488 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11489 Intersect the peer's caps with our caps.
11491 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11493 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11494 * gst/elements/gsttypefindelement.c: (find_peek):
11495 Handle negative offsets better. Fixes decodebin.
11497 2005-05-09 Wim Taymans <wim@fluendo.com>
11499 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11500 (gst_base_transform_event):
11501 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11502 Implement accept_caps.
11503 Fix silly lock/unlock mismatch in base class.
11505 2005-05-09 Wim Taymans <wim@fluendo.com>
11507 * docs/design/draft-push-pull.txt:
11508 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11509 * gst/elements/gstfilesink.c: (gst_filesink_init),
11510 (gst_filesink_query):
11511 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11512 (gst_type_find_handle_src_query), (find_element_get_length):
11513 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11514 * gst/gstelement.h:
11515 * gst/gstmessage.c:
11516 * gst/gstmessage.h:
11517 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11518 (gst_real_pad_get_caps_unlocked),
11519 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11520 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11521 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11522 (gst_real_pad_dispose), (gst_real_pad_finalize),
11523 (gst_pad_load_and_link), (gst_pad_save_thyself),
11524 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11525 (gst_pad_check_pull_range), (gst_pad_pull_range),
11526 (gst_pad_template_get_type), (gst_pad_template_class_init),
11527 (gst_pad_template_init), (gst_pad_template_dispose),
11528 (name_is_valid), (gst_static_pad_template_get),
11529 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11530 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11531 (gst_pad_get_element_private), (gst_pad_start_task),
11532 (gst_pad_pause_task), (gst_pad_stop_task),
11533 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11534 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11535 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11536 (gst_ghost_pad_new):
11538 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11539 (gst_query_new_position), (gst_query_set_position),
11540 (gst_query_parse_position), (gst_query_new_convert),
11541 (gst_query_set_convert), (gst_query_parse_convert):
11543 * gst/gstqueryutils.c:
11544 * gst/gstqueryutils.h:
11545 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11546 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11547 (gst_queue_handle_src_query):
11548 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11549 (gst_element_query_position), (gst_element_query_convert),
11550 (intersect_caps_func), (gst_pad_query_position),
11551 (gst_pad_query_convert):
11553 * tools/gst-inspect.c: (print_pad_info):
11554 * tools/gst-xmlinspect.c: (print_element_info):
11555 Remove old query functions. Ported old code.
11556 Added position/convert helper functions to gstutils.
11557 Reordered gstpad.c code, grouping relevant things.
11558 Remove gst_message_new(), always need to speficy a specific
11562 2005-05-09 Andy Wingo <wingo@pobox.com>
11564 * gst/gstiterator.h: Add some includes.
11566 * gst/gstqueryutils.h: Include more headers.
11569 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11570 some uses of gst_pad_query.
11572 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11573 NULL out parameters.
11574 (gst_query_new_position): New proc, allocates a new position
11577 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11578 gstqueryutils.c to the build.
11580 * gst/gststructure.c (gst_structure_set_valist): Implement with
11581 the generic G_VALUE_COLLECT.
11583 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11585 * gst/Makefile.am: (gst_headers):
11586 Added gstqueryutils.h to the list of headers to install, that was
11587 a 'nachty' move wingo :)
11589 2005-05-06 Andy Wingo <wingo@pobox.com>
11592 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11593 GstData, init a memchunk.
11594 (standard_definitions): Add a few query types, deprecate a few.
11595 (gst_query_get_type): New proc.
11596 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11598 (gst_query_new_application, gst_query_get_structure): New public
11601 * docs/design/draft-query.txt: Removed LINKS from the query types,
11602 because all the rest can be dispatched to other pads -- seemed
11603 ugly to have a query that couldn't be dispatched. internal_links
11604 is fine as a pad method.
11606 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11607 in gstpad.c, but maintain binary compatibility for the moment.
11608 Will fix before 0.9 is out.
11610 * gst/gstqueryutils.c:
11611 * gst/gstqueryutils.h: New files, implement 3 methods for each
11612 query type: parse_query, parse_response, and set. Probably need an
11615 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11617 * gst/elements/gstfilesink.c (gst_filesink_query2):
11618 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11619 query_types, and formats methods.
11621 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11622 (gst_pad_set_query2_function): New functions.
11623 (gst_real_pad_init): Set query2_default as the default query2
11624 function. Basically just dispatches to internally linked pads.
11628 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11629 without using the atomic operations. Only one thread can possibly
11630 be accessing the data at this point. Changed so as to avoid
11631 gst_atomic operations.
11633 2005-05-06 Wim Taymans <wim@fluendo.com>
11635 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11636 Also set caps if we use the fallback buffer alloc.
11638 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11640 * docs/gst/Makefile.am:
11641 * docs/gst/gstreamer-docs.sgml:
11642 * docs/gst/gstreamer-sections.txt:
11643 * docs/gst/tmpl/gstatomic.sgml:
11644 * docs/gst/tmpl/gstmemchunk.sgml:
11645 * testsuite/elements/struct_i386.h:
11646 * win32/GStreamer.vcproj:
11648 Purge GstAtomic stuff from docs and win32 makefiles as well
11650 2005-05-06 Wim Taymans <wim@fluendo.com>
11652 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11653 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11654 * gst/gstpad.c: (gst_pad_peer_get_caps):
11655 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11656 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11657 (gst_queue_src_activate), (gst_queue_change_state):
11659 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11660 (intersect_caps_func):
11661 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11662 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11663 Some fixes for the peer_get_caps() change.
11665 2005-05-06 Wim Taymans <wim@fluendo.com>
11667 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11668 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11669 (gst_basesink_activate):
11670 Actually do something with error codes returned from the push
11673 2005-05-06 Wim Taymans <wim@fluendo.com>
11675 * docs/design/part-element-sink.txt:
11676 * docs/design/part-element-source.txt:
11677 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11678 (gst_basesink_event), (gst_basesink_activate):
11679 * gst/base/gstbasesink.h:
11680 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11681 (gst_basesrc_activate):
11682 * gst/base/gstbasesrc.h:
11683 * gst/gstelement.c: (gst_element_pads_activate):
11684 Some more documentation.
11685 Fixed scheduling decision in _pads_activate().
11687 2005-05-05 Andy Wingo <wingo@pobox.com>
11689 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11692 2005-05-05 Wim Taymans <wim@fluendo.com>
11694 * gst/base/Makefile.am:
11695 * gst/base/gstbasesink.h:
11696 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11697 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11698 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11699 (gst_collectpads_class_init), (gst_collectpads_init),
11700 (gst_collectpads_finalize), (gst_collectpads_new),
11701 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11702 (find_pad), (gst_collectpads_remove_pad),
11703 (gst_collectpads_is_active), (gst_collectpads_collect),
11704 (gst_collectpads_collect_range), (gst_collectpads_start),
11705 (gst_collectpads_stop), (gst_collectpads_peek),
11706 (gst_collectpads_pop), (gst_collectpads_available),
11707 (gst_collectpads_read), (gst_collectpads_flush),
11708 (gst_collectpads_chain):
11709 * gst/base/gstcollectpads.h:
11710 * gst/elements/Makefile.am:
11711 * gst/elements/gstelements.c:
11712 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11713 (gst_fakesink_get_times), (gst_fakesink_event),
11714 (gst_fakesink_preroll), (gst_fakesink_render):
11715 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11716 (gst_filesink_init), (gst_filesink_set_location),
11717 (gst_filesink_open_file), (gst_filesink_close_file),
11718 (gst_filesink_pad_query), (gst_filesink_event),
11719 (gst_filesink_render), (gst_filesink_change_state):
11720 * gst/elements/gstfilesink.h:
11721 Added object to help in making collect pad based elements.
11723 Make event function in sink baseclass return gboolean.
11725 2005-05-05 Wim Taymans <wim@fluendo.com>
11727 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11728 (gst_bin_get_by_name):
11730 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11731 (gst_clock_finalize):
11732 * gst/gstdata.c: (gst_data_replace):
11734 * gst/gstelement.c: (gst_element_request_pad),
11735 (gst_element_pads_activate):
11736 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11737 (gst_object_unref):
11738 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11739 (gst_pad_set_checkgetrange_function),
11740 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11741 (gst_pad_check_pull_range), (gst_pad_pull_range),
11742 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11743 (gst_pad_pause_task), (gst_pad_stop_task):
11744 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11745 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11746 Fix name lookup in GstBin.
11747 Added _data_replace() function and _buffer_replace()
11748 Use finalize method to clean up clock.
11749 Fix refcounting on request pads.
11750 Fix pad schedule mode error.
11751 Some more object refcounting debug info,
11754 2005-05-04 Andy Wingo <wingo@pobox.com>
11756 * check/Makefile.am:
11757 * docs/gst/tmpl/gstatomic.sgml:
11758 * docs/gst/tmpl/gstplugin.sgml:
11759 * gst/base/gstbasesink.c: (gst_basesink_activate):
11760 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11761 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11762 (gst_basesrc_query), (gst_basesrc_set_property),
11763 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11764 (gst_basesrc_activate):
11765 * gst/base/gstbasesrc.h:
11766 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11767 (gst_base_transform_src_activate):
11768 * gst/elements/gstelements.c:
11769 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11770 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11771 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11772 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11773 (gst_type_find_element_checkgetrange),
11774 (gst_type_find_element_activate):
11775 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11776 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11777 (gst_caps_load_thyself):
11778 * gst/gstelement.c: (gst_element_pads_activate),
11779 (gst_element_save_thyself), (gst_element_restore_thyself):
11780 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11781 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11783 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11784 (gst_xml_parse_file), (gst_xml_parse_memory),
11785 (gst_xml_get_element), (gst_xml_make_element):
11786 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11787 (_file_index_id_save_xml), (gst_file_index_commit):
11788 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11789 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11791 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11792 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11793 * tools/gst-complete.c: (main):
11794 * tools/gst-compprep.c: (main):
11795 * tools/gst-inspect.c: (print_element_properties_info):
11796 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11797 * tools/gst-xmlinspect.c: (print_element_properties):
11800 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11802 * gst/gstplugin.c: (gst_plugin_check_module),
11803 (gst_plugin_check_file), (gst_plugin_load_file):
11804 apply patch from #172526 to make register work on MacOSX
11806 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11808 * docs/gst/tmpl/gstconfig.sgml:
11809 * gst/gstconfig.h.in:
11810 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11811 * testsuite/debug/printf_extension.c: (main):
11812 Do not use GST_PTR_FORMAT on pointers to types with
11813 sizeof < sizeof(gpointer). Fixes test on 64-bit
11814 * testsuite/elements/property.h:
11815 use correct printf format
11817 2005-05-02 Wim Taymans <wim@fluendo.com>
11819 * docs/design/draft-push-pull.txt:
11820 * docs/design/draft-query.txt:
11821 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11822 (gst_basesrc_start):
11823 Added draft for new query API.
11824 Added draft for better selecting scheduling methods.
11825 Make basesrc ignore length if the subclass does not support
11828 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11831 possible fixes for automake-1.5 - _LIBADD is reserved
11833 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11835 * docs/faq/Makefile.am:
11836 * docs/manual/Makefile.am:
11837 * docs/manuals.mak:
11838 * docs/pwg/Makefile.am:
11840 possible fixes for automake-1.5
11842 2005-04-28 Wim Taymans <wim@fluendo.com>
11844 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11845 (gst_basesink_pad_getcaps), (gst_basesink_init),
11846 (gst_basesink_do_sync):
11847 * gst/gstclock.c: (gst_clock_entry_new):
11848 * gst/gstevent.c: (gst_event_discont_get_value):
11849 * gst/gstpipeline.c: (pipeline_bus_handler),
11850 (gst_pipeline_change_state):
11851 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11852 Better debugging of clocking info.
11853 Allow NULL values when getting discont values.
11855 2005-04-27 Wim Taymans <wim@fluendo.com>
11857 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11858 * check/gst/gstpad.c: (gst_pad_suite):
11859 Increase timeout for checks.
11861 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11863 * check/Makefile.am:
11864 fix the broken rule for cleanup. Apparently this rule is
11865 only needed on FC2, so maybe this warrants further autotool
11868 2005-04-26 Wim Taymans <wim@fluendo.com>
11870 * gst/gsttrashstack.h:
11871 Ooohh. a nasty one! After having a failed pop() from the stack,
11872 it's possible that the stack is empty. In that case, don't
11873 follow the NULL pointer.
11875 2005-04-25 Wim Taymans <wim@fluendo.com>
11877 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11878 (gst_pad_set_checkgetrange_function),
11879 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11880 (gst_pad_check_pull_range), (gst_pad_pull_range),
11881 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11882 (gst_pad_pause_task), (gst_pad_stop_task):
11883 * gst/gstplugin.c: (gst_plugin_load):
11885 Remove gst_library_load as it does more harm than good with
11886 the new g_module flags.
11887 Revert bogus caps template check in pad linking, pad caps
11888 are important when linking not the template, which is more
11889 general than the current caps.
11891 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11893 * gst/autoplug/.cvsignore:
11894 * gst/autoplug/Makefile.am:
11895 * gst/autoplug/gstsearchfuncs.c:
11896 * gst/autoplug/gstsearchfuncs.h:
11897 * gst/autoplug/gstspider.c:
11898 * gst/autoplug/gstspider.h:
11899 * gst/autoplug/gstspideridentity.c:
11900 * gst/autoplug/gstspideridentity.h:
11901 * gst/autoplug/spidertest.c:
11904 2005-04-25 Wim Taymans <wim@fluendo.com>
11906 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11907 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11908 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11909 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11911 Added stubs for unimplemented functions.
11913 2005-04-24 David Schleef <ds@schleef.org>
11915 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11918 2005-04-24 David Schleef <ds@schleef.org>
11920 Convert everything from GstAtomicInt to g_atomic_int_*, and
11925 * gst/gstatomic_impl.h:
11933 * gst/gstdata_private.h:
11937 * gst/gstmessage.c:
11940 * gst/gststructure.c:
11941 * gst/gststructure.h:
11942 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11945 2005-04-24 David Schleef <ds@schleef.org>
11947 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11948 make the regressions tests work. Remove some code that is no
11950 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11951 Disable warning for pads without templates.
11953 2005-04-24 David Schleef <ds@schleef.org>
11955 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11956 functions that handle filtered links.
11957 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11959 * gst/gstutils.c: Fix/remove utility functions that handle
11962 * gst/gstvalue.c: Add serialization/deserialization of caps
11963 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11964 requires fixing so that the filter caps notation creates
11965 a capsfilter element and sets the filter_caps property. I
11966 think everyone probably wants to keep the shorthand notation.
11967 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11968 * docs/gst/tmpl/gstpad.sgml:
11970 * gst/elements/gstelements.c: Register capsfilter element.
11971 * gst/Makefile.am: fix spacing
11972 * docs/random/ds/0.9-suggested-changes: random
11974 2005-04-23 David Schleef <ds@schleef.org>
11976 * gst/elements/Makefile.am:
11977 * gst/elements/gstcapsfilter.c: New element that acts like an
11978 identity, but filters caps. Will eventually replace filtered
11979 caps in pad linking.
11980 * gst/gstutils.c: (gst_element_create_all_pads): New function
11981 to create all the ALWAYS pads that are registered with an
11982 element class. This functionality should eventually be
11983 merged in with GstElement initialization.
11985 * testsuite/trigger/README: part of trigger test code that should
11986 have been checked in a long time ago.
11988 2005-04-23 David Schleef <ds@schleef.org>
11990 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11991 needed with new versions of libtool (nobody will confirm this),
11992 and hard to carry around.
11993 * gst/autoplug/Makefile.am:
11994 * gst/base/Makefile.am:
11995 * gst/elements/Makefile.am:
11996 * gst/indexers/Makefile.am:
11997 * gst/schedulers/Makefile.am:
11998 * libs/gst/bytestream/Makefile.am:
11999 * libs/gst/control/Makefile.am:
12000 * libs/gst/dataprotocol/Makefile.am:
12001 * libs/gst/getbits/Makefile.am:
12003 2005-04-21 Wim Taymans <wim@fluendo.com>
12005 * docs/design/draft-push-pull.txt:
12006 * docs/design/part-MT-refcounting.txt:
12007 * docs/design/part-TODO.txt:
12008 * docs/design/part-caps.txt:
12009 * docs/design/part-events.txt:
12010 * docs/design/part-gstbus.txt:
12011 * docs/design/part-gstpipeline.txt:
12012 * docs/design/part-messages.txt:
12013 * docs/design/part-push-pull.txt:
12014 * docs/design/part-query.txt:
12017 2005-04-21 Wim Taymans <wim@fluendo.com>
12019 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12020 (gst_message_new), (gst_message_new_error),
12021 (gst_message_new_warning), (gst_message_new_tag),
12022 (gst_message_new_state_changed), (gst_message_new_application),
12023 (gst_message_get_structure):
12024 * gst/gstmessage.h:
12025 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12026 (gst_structure_copy_conditional):
12027 Use parent refcount in GstMessage to ensure GstStructure
12029 Cleaned up headers a bit.
12032 2005-04-20 Wim Taymans <wim@fluendo.com>
12034 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12035 (gst_basesink_pad_getcaps), (gst_basesink_init),
12036 (gst_basesink_chain_unlocked):
12037 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12038 (gst_type_find_helper):
12039 * gst/elements/gsttypefindelement.c:
12040 (gst_type_find_element_have_type), (gst_type_find_element_init),
12041 (stop_typefinding), (gst_type_find_element_handle_event),
12042 (find_suggest), (gst_type_find_element_chain),
12043 (gst_type_find_element_checkgetrange),
12044 (gst_type_find_element_getrange), (do_typefind),
12045 (gst_type_find_element_activate):
12046 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12047 (gst_buffer_default_free), (gst_buffer_default_copy),
12048 (gst_buffer_set_caps):
12049 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12050 (gst_caps_replace):
12051 * gst/gstmessage.c: (gst_message_new),
12052 (gst_message_new_state_changed):
12053 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12054 (gst_pad_set_checkgetrange_function),
12055 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12056 (gst_pad_set_caps), (gst_pad_check_pull_range),
12057 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12059 * gst/gsttypefind.c: (gst_type_find_register):
12060 Make gst_caps_replace() work like other _replace() functions.
12061 Use _caps_replace() where possible.
12062 Make sure _message_new() initialises its field.
12063 Add gst_static_pad_template_get_caps()
12066 2005-04-18 Andy Wingo <wingo@pobox.com>
12068 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12069 on the peer, not the pad. I think that was a typo. Pass an extra
12070 arg to see if random access is possible. Activate the pads as
12071 PULL_RANGE if possible.
12073 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12075 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12076 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12079 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12081 * docs/faq/using.xml:
12082 Add note on gstreamer-properties (#154996).
12084 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12086 * docs/random/bbb/optional-properties:
12087 Some analysis on optional properties.
12089 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12091 * docs/gst/tmpl/gstelementfactory.sgml:
12092 * gst/gstelement.h:
12093 * gst/gstelementfactory.c: (gst_element_factory_init),
12094 (gst_element_factory_cleanup), (gst_element_register),
12095 (__gst_element_factory_add_static_pad_template),
12096 (gst_element_factory_get_static_pad_templates),
12097 (gst_element_factory_can_src_caps),
12098 (gst_element_factory_can_sink_caps):
12099 * gst/registries/Makefile.am:
12100 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12101 (gst_xml_registry_class_init), (gst_xml_registry_init),
12102 (gst_xml_registry_new), (gst_xml_registry_set_property),
12103 (gst_xml_registry_get_property), (get_time), (make_dir),
12104 (gst_xml_registry_get_perms_func),
12105 (plugin_times_older_than_recurse), (plugin_times_older_than),
12106 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12107 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12108 (add_to_char_array), (read_string), (read_uint), (read_enum),
12109 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12110 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12111 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12112 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12113 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12114 (gst_xml_registry_rebuild):
12115 * gst/registries/gstlibxmlregistry.h:
12116 * tools/gst-compprep.c: (main):
12117 * tools/gst-inspect.c: (print_pad_templates_info):
12118 * tools/gst-xmlinspect.c: (print_element_info):
12119 Use libxml2 for registry parsing, use staticpadtemplates in
12120 elementfactories. Makes gst_init() +/- 10x faster.
12122 2005-04-12 Wim Taymans <wim@fluendo.com>
12124 * gst/base/Makefile.am:
12125 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12126 (gst_basesink_pad_getcaps), (gst_basesink_init),
12127 (gst_basesink_event), (gst_basesink_change_state):
12128 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12129 (gst_basesrc_init), (gst_basesrc_query),
12130 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12131 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12132 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12133 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12134 (gst_basesrc_stop), (gst_basesrc_activate),
12135 (gst_basesrc_change_state):
12136 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12137 (helper_find_suggest), (gst_type_find_helper):
12138 * gst/base/gsttypefindhelper.h:
12139 * gst/elements/Makefile.am:
12140 * gst/elements/gstelements.c:
12141 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12142 (gst_fakesink_get_times), (gst_fakesink_event),
12143 (gst_fakesink_preroll), (gst_fakesink_render):
12144 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12145 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12146 (gst_fakesrc_get_property), (gst_fakesrc_create),
12147 (gst_fakesrc_start), (gst_fakesrc_stop):
12148 * gst/elements/gstfakesrc.h:
12149 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12150 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12151 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12152 (gst_filesrc_create_read), (gst_filesrc_create),
12153 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12154 (gst_filesrc_start):
12155 * gst/elements/gsttypefindelement.c:
12156 (gst_type_find_element_have_type), (gst_type_find_element_init),
12157 (start_typefinding), (stop_typefinding), (push_buffer_store),
12158 (gst_type_find_element_handle_event),
12159 (gst_type_find_element_chain),
12160 (gst_type_find_element_checkgetrange),
12161 (gst_type_find_element_getrange), (do_typefind),
12162 (gst_type_find_element_activate),
12163 (gst_type_find_element_change_state):
12164 * gst/elements/gsttypefindelement.h:
12165 * gst/gstpipeline.c: (pipeline_bus_handler):
12166 Added typefind helper.
12167 Small preroll fix in the base sink.
12168 Disable typefind code in basesrc.
12169 Crude port of typefindelement.
12173 2005-04-11 Wim Taymans <wim@fluendo.com>
12175 * check/gst/gstbus.c: (gstbus_suite):
12176 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12177 * check/gstcheck.h:
12178 Fix up the timeout so that the test does not fail.
12180 2005-04-06 Wim Taymans <wim@fluendo.com>
12183 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12184 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12185 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12186 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12187 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12188 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12189 (gst_basesrc_stop), (gst_basesrc_activate),
12190 (gst_basesrc_change_state), (basesrc_find_peek),
12191 (basesrc_find_suggest), (gst_basesrc_type_find):
12192 * gst/base/gstbasesrc.h:
12193 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12194 (gst_filesrc_class_init), (gst_filesrc_init),
12195 (gst_filesrc_finalize), (gst_filesrc_set_location),
12196 (gst_filesrc_set_property), (gst_filesrc_get_property),
12197 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12198 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12199 (gst_filesrc_create_read), (gst_filesrc_create),
12200 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12201 * gst/elements/gstfilesrc.h:
12202 * gst/gstelement.c: (gst_element_get_state_func),
12203 (gst_element_lost_state), (gst_element_pads_activate):
12204 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12205 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12206 (gst_pad_pull_range):
12208 More work on the generic source base class, implement seeking,
12210 Make filesrc extend the base source class.
12211 Added gst_pad_set_checkgetrange_function to GstPad.
12213 2005-04-06 Andy Wingo <wingo@pobox.com>
12215 * pkgconfig/gstreamer-base.pc.in:
12216 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12218 * pkgconfig/Makefile.am:
12219 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12221 2005-04-04 Wim Taymans <wim@fluendo.com>
12223 * gst/base/Makefile.am:
12225 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12226 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12227 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12228 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12229 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12230 (gst_basesrc_base_init), (gst_basesrc_class_init),
12231 (gst_basesrc_init), (gst_basesrc_get_formats),
12232 (gst_basesrc_get_query_types), (gst_basesrc_query),
12233 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12234 (gst_basesrc_set_property), (gst_basesrc_get_property),
12235 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12236 (gst_basesrc_loop), (gst_basesrc_activate),
12237 (gst_basesrc_change_state):
12238 * gst/base/gstbasesrc.h:
12239 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12240 (gst_fakesrc_class_init), (gst_fakesrc_init),
12241 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12242 (gst_fakesrc_get_property), (gst_fakesrc_create):
12243 * gst/elements/gstfakesrc.h:
12244 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12245 (gst_filesrc_open_file), (gst_filesrc_loop),
12246 (gst_filesrc_activate), (filesrc_find_peek),
12247 (gst_filesrc_type_find):
12248 Made base source class, make fakesrc extend it.
12249 Add comments to basesink class.
12250 Some filesrc cleanup.
12252 2005-03-31 David Schleef <ds@schleef.org>
12254 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12255 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12256 expected to link against libgstreamer.
12257 * gst/base/Makefile.am: link against libgstreamer
12258 * gst/elements/Makefile.am: same
12260 2005-03-31 Andy Wingo <wingo@pobox.com>
12262 * tests/instantiate/Makefile.am:
12263 * tests/instantiate/caps.c: Add test to test speed of caps copy
12266 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12267 GMemChunk to be fair.
12269 * gst/gsttrashstack.h: Remove warning about using the fallback
12270 trash stack implementation, it's still faster than malloc.
12272 2005-03-30 Andy Wingo <wingo@pobox.com>
12274 * tests/complexity.c: Add a copyright.
12276 2005-03-31 Wim Taymans <wim@fluendo.com>
12278 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12279 (gst_base_transform_class_init), (gst_base_transform_init),
12280 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12281 (gst_base_transform_get_property),
12282 (gst_base_transform_sink_activate),
12283 (gst_base_transform_src_activate),
12284 (gst_base_transform_change_state):
12285 * gst/base/gstbasetransform.h:
12286 * gst/elements/gstidentity.c: (gst_identity_class_init),
12287 (gst_identity_event), (gst_identity_check_perfect),
12288 (gst_identity_transform), (gst_identity_start),
12289 (gst_identity_stop):
12290 Added start/stop methods to transform base class so subclasses
12291 don't need to deal with state changes even.
12293 2005-03-31 Wim Taymans <wim@fluendo.com>
12295 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12296 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12298 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12299 (gst_pad_pull_range):
12300 Added rate to the discont event to prepare for variable speed
12301 and reverse playback.
12303 2005-03-29 David Schleef <ds@schleef.org>
12306 * testsuite/trigger/Makefile.am:
12307 * testsuite/trigger/trigger.c: A little example program to show
12308 how trigger-based elements can work.
12310 2005-03-29 Wim Taymans <wim@fluendo.com>
12312 * gst/base/Makefile.am:
12314 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12315 (gst_basesink_base_init), (gst_basesink_class_init),
12316 (gst_basesink_pad_getcaps), (gst_basesink_init),
12317 (gst_basesink_activate), (gst_basesink_change_state):
12318 * gst/base/gstbasesink.h:
12319 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12320 (gst_base_transform_base_init), (gst_base_transform_finalize),
12321 (gst_base_transform_class_init), (gst_base_transform_init),
12322 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12323 (gst_base_transform_event), (gst_base_transform_getrange),
12324 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12325 (gst_base_transform_set_property),
12326 (gst_base_transform_get_property),
12327 (gst_base_transform_sink_activate),
12328 (gst_base_transform_src_activate),
12329 (gst_base_transform_change_state):
12330 * gst/base/gstbasetransform.h:
12331 * gst/elements/gstidentity.c: (gst_identity_finalize),
12332 (gst_identity_class_init), (gst_identity_init),
12333 (gst_identity_event), (gst_identity_check_perfect),
12334 (gst_identity_transform), (gst_identity_set_property),
12335 (gst_identity_get_property), (gst_identity_change_state):
12336 * gst/elements/gstidentity.h:
12337 * gst/gstelement.c: (gst_element_get_state_func),
12338 (gst_element_lost_state), (gst_element_pads_activate):
12339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12340 (gst_pad_check_pull_range), (gst_pad_pull_range):
12342 Simplify pad activation.
12343 Added function to check if pull_range can be performed.
12344 Error out when pulling inactive or flushing pads.
12345 Removed const from refcounted types as it does not make sense.
12346 Simplify pad templates in basesink
12347 Added base class for simple 1-to-1 transforms.
12348 Make identity subclass the base transform.
12350 2005-03-29 Andy Wingo <wingo@pobox.com>
12352 * docs/libs/gstreamer-libs-overrides.txt:
12353 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12354 really don't understand what's going on, but like whatever. I want
12357 * docs/gst/Makefile.am:
12358 * docs/libs/Makefile.am: Dist the overrides files.
12360 * check/Makefile.am (clean-local): Remove .libs directories.
12362 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12363 elements to EXTRA_DIST, so po/ files are happy.
12365 * po/POTFILES.in: Er, remove it here.
12367 * po/POTFILES: Remove gstspider.c.
12369 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12371 * docs/libs/gstreamer-libs-docs.sgml:
12372 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12375 * tests/complexity.c (main): Set the length of the preroll queue
12376 on the sinks to prevent a lockup.
12378 * libs/gst/dataprotocol/Makefile.am:
12379 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12380 the same as the one in check/gst-libs/gdp.c.
12382 * po/, docs/gst/: Commit automatic changes to docs and po files.
12384 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12385 the versioned libgstbase.
12387 * check/Makefile.am: Depend on an unversioned gst-register, seems
12388 to make autoconf happier.
12390 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12392 2005-03-28 Wim Taymans <wim@fluendo.com>
12395 * docs/design/part-gstelement.txt:
12396 * docs/design/part-negotiation.txt:
12397 * docs/design/part-preroll.txt:
12398 * docs/design/part-scheduling.txt:
12399 * docs/design/part-states.txt:
12401 * gst/base/Makefile.am:
12403 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12404 (gst_basesink_base_init), (gst_basesink_class_init),
12405 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12406 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12407 (gst_basesink_set_pad_functions),
12408 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12409 (gst_basesink_set_property), (gst_basesink_get_property),
12410 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12411 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12412 (gst_basesink_preroll_queue_push),
12413 (gst_basesink_preroll_queue_empty),
12414 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12415 (gst_basesink_event), (gst_basesink_get_times),
12416 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12417 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12418 (gst_basesink_loop), (gst_basesink_activate),
12419 (gst_basesink_change_state):
12420 * gst/base/gstbasesink.h:
12421 * gst/elements/Makefile.am:
12422 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12423 (gst_fakesink_class_init), (gst_fakesink_init),
12424 (gst_fakesink_set_property), (gst_fakesink_get_property),
12425 (gst_fakesink_get_times), (gst_fakesink_event),
12426 (gst_fakesink_preroll), (gst_fakesink_render),
12427 (gst_fakesink_change_state):
12428 * gst/elements/gstfakesink.h:
12429 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12430 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12431 * gst/gstelement.c: (gst_element_add_pad),
12432 (gst_element_get_state_func), (gst_element_abort_state),
12433 (gst_element_commit_state), (gst_element_lost_state),
12434 (gst_element_set_state), (gst_element_pads_activate):
12435 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12436 * gst/gstpipeline.c: (gst_pipeline_send_event),
12437 (gst_pipeline_change_state):
12438 Added state change code.
12439 Added/updated docs.
12440 Added sink base class, make fakesink extend the base class.
12441 Small cleanups in GstPipeline.
12443 2005-03-26 David Schleef <ds@schleef.org>
12445 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12446 is broken and should be implemented in a different library.
12447 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12448 * gst/gst.h: remove gstcpu.h
12449 * gst/gstcpu.c: remove
12450 * gst/gstcpu.h: remove
12451 * gst/Makefile.am.future: Remove this file. It's ancient.
12453 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12455 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12456 (gst_bin_send_event):
12457 Add default event/set_manager handlers. The set_manager handler
12458 takes care that the manager is distributed over kids that were
12459 already in the bin before the manager was set. The event handler
12460 is a utility virtual function that sends the event over all sinks,
12461 so that gst_element_send_event (bin, event); has the expected
12463 * gst/gstpad.c: (gst_pad_event_default):
12464 Re-install default event handling for discontinuities, so that
12465 seeking works without requiring hacks in applications or extra
12467 * gst/gstpipeline.c: (gst_pipeline_class_init),
12468 (gst_pipeline_send_event):
12469 Half hack, half utility: set a pipeline to PAUSED for seek events,
12470 since that is the only way we can guarantee a/v sync. Means that
12471 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12472 and it "just works".
12474 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12476 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12477 Lock/unlock mismatch.
12479 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12481 * docs/faq/gst-uninstalled:
12482 add gst-plugins-base
12483 * docs/gst/Makefile.am:
12484 don't error out until docs are fixed
12485 * docs/gst/gstreamer.types:
12488 2005-03-22 Wim Taymans <wim@fluendo.com>
12490 * check/Makefile.am:
12491 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12492 * gst/gststructure.c: (gst_structure_set_valist),
12493 (gst_structure_copy_conditional):
12494 Activated more tests.
12495 Added message test.
12496 Added G_TYPE_POINTER to GstStructure.
12499 2005-03-22 Wim Taymans <wim@fluendo.com>
12501 * docs/design/part-TODO.txt:
12502 * docs/design/part-events.txt:
12503 * docs/design/part-gstbin.txt:
12504 * docs/design/part-gstbus.txt:
12505 * docs/design/part-gstpipeline.txt:
12506 * docs/design/part-messages.txt:
12508 * gst/gstmessage.c:
12511 2005-03-21 Wim Taymans <wim@fluendo.com>
12513 * gst/gstbus.c: (gst_bus_post):
12514 Fix copy-and-paste error.
12516 2005-03-21 Wim Taymans <wim@fluendo.com>
12518 * check/Makefile.am:
12520 * gst/elements/Makefile.am:
12521 * gst/elements/gstelements.c:
12522 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12523 (gst_fakesink_event), (gst_fakesink_chain):
12524 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12525 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12526 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12527 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12528 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12529 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12530 (gst_fakesrc_loop), (gst_fakesrc_activate),
12531 (gst_fakesrc_change_state):
12532 * gst/elements/gstfakesrc.h:
12533 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12534 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12535 (gst_filesrc_open_file), (gst_filesrc_loop),
12536 (gst_filesrc_activate), (gst_filesrc_change_state),
12537 (filesrc_find_peek), (filesrc_find_suggest),
12538 (gst_filesrc_type_find):
12539 * gst/elements/gstidentity.c: (gst_identity_finalize),
12540 (gst_identity_class_init), (gst_identity_init),
12541 (gst_identity_proxy_getcaps), (identity_queue_push),
12542 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12543 (gst_identity_getrange), (gst_identity_chain),
12544 (gst_identity_sink_loop), (gst_identity_src_loop),
12545 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12546 (gst_identity_set_property), (gst_identity_get_property),
12547 (gst_identity_change_state):
12548 * gst/elements/gstidentity.h:
12549 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12550 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12551 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12552 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12553 (gst_tee_sink_activate):
12554 * gst/elements/gsttee.h:
12555 * gst/gst.c: (gst_register_core_elements), (init_post):
12557 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12558 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12559 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12560 (gst_bin_change_state):
12562 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12563 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12564 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12565 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12566 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12567 (bus_watch_callback), (bus_watch_destroy),
12568 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12569 (poll_timeout), (gst_bus_poll):
12573 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12574 (gst_element_post_message), (gst_element_message_full),
12575 (gst_element_get_state_func), (gst_element_get_state),
12576 (gst_element_abort_state), (gst_element_commit_state),
12577 (gst_element_lost_state), (gst_element_set_state),
12578 (gst_element_pads_activate), (gst_element_change_state),
12579 (gst_element_dispose), (gst_element_set_manager_func),
12580 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12581 (gst_element_set_manager), (gst_element_get_manager),
12582 (gst_element_set_bus), (gst_element_get_bus),
12583 (gst_element_set_scheduler), (gst_element_get_scheduler):
12584 * gst/gstelement.h:
12585 * gst/gstevent.c: (gst_event_new_segment_seek),
12586 (gst_event_new_flush):
12588 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12589 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12590 (gst_message_new_eos), (gst_message_new_error),
12591 (gst_message_new_warning), (gst_message_new_tag),
12592 (gst_message_new_state_changed), (gst_message_new_application),
12593 (gst_message_get_structure), (gst_message_parse_tag),
12594 (gst_message_parse_state_changed), (gst_message_parse_error),
12595 (gst_message_parse_warning):
12596 * gst/gstmessage.h:
12597 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12598 (gst_real_pad_set_property), (gst_pad_set_active),
12599 (gst_pad_is_active), (gst_pad_set_blocked_async),
12600 (gst_pad_set_blocked), (gst_pad_is_blocked),
12601 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12602 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12603 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12604 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12605 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12606 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12607 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12608 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12609 (gst_pad_set_caps), (gst_pad_configure_sink),
12610 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12611 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12612 (gst_real_pad_dispose), (gst_real_pad_finalize),
12613 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12614 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12615 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12617 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12618 (pipeline_bus_handler), (gst_pipeline_change_state),
12619 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12620 * gst/gstpipeline.h:
12622 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12623 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12624 (gst_queue_link_src), (gst_queue_bufferalloc),
12625 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12626 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12627 (gst_queue_loop), (gst_queue_handle_src_event),
12628 (gst_queue_handle_src_query), (gst_queue_src_activate),
12629 (gst_queue_change_state):
12631 * gst/gstscheduler.c: (gst_scheduler_init),
12632 (gst_scheduler_dispose), (gst_scheduler_create_task),
12633 (gst_scheduler_factory_create):
12634 * gst/gstscheduler.h:
12635 * gst/gststructure.c: (gst_structure_get_type),
12636 (gst_structure_copy_conditional):
12637 * gst/gststructure.h:
12638 * gst/gsttaginterface.h:
12639 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12640 (gst_task_init), (gst_task_dispose), (gst_task_create),
12641 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12647 * gst/schedulers/Makefile.am:
12648 * gst/schedulers/cothreads_compat.h:
12649 * gst/schedulers/entryscheduler.c:
12650 * gst/schedulers/faircothreads.c:
12651 * gst/schedulers/faircothreads.h:
12652 * gst/schedulers/fairscheduler.c:
12653 * gst/schedulers/gstbasicscheduler.c:
12654 * gst/schedulers/gstoptimalscheduler.c:
12655 * gst/schedulers/gthread-cothreads.h:
12656 * gst/schedulers/threadscheduler.c:
12657 (gst_thread_scheduler_task_get_type),
12658 (gst_thread_scheduler_task_class_init),
12659 (gst_thread_scheduler_task_init),
12660 (gst_thread_scheduler_task_start),
12661 (gst_thread_scheduler_task_stop),
12662 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12663 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12664 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12665 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12667 * libs/gst/Makefile.am:
12668 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12669 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12670 (gst_file_pad_parent_set):
12671 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12672 (gst_dp_event_from_packet):
12673 * tests/complexity.c: (main):
12674 * tests/mass_elements.c: (main):
12675 * testsuite/states/locked.c: (message_received), (main):
12676 * testsuite/states/parent.c: (main):
12677 * tools/gst-inspect.c: (print_element_flag_info),
12678 (print_implementation_info), (print_pad_info):
12679 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12681 * tools/gst-md5sum.c: (event_loop), (main):
12682 * tools/gst-typefind.c: (main):
12683 * tools/gst-xmlinspect.c: (print_element_info):
12685 Added GstBus for mainloop integration.
12686 Added GstMessage for sending notifications on the bus.
12687 Added GstTask as an abstraction for pipeline entry points.
12689 Removed Schedulers.
12690 Simplified GstQueue for multithreaded core.
12691 Made _link threadsafe, removed old capsnego.
12692 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12693 Added pad blocking functions.
12694 Reworked scheduling functions in GstPad to prepare for
12695 scheduling updates soon.
12696 Moved events out of data stream.
12697 Simplified GstEvent types.
12698 Added return values to push/pull.
12699 Removed clocking from GstElement.
12700 Added prototypes for state change function for next merge.
12701 Removed iterate from bins and state change management.
12702 Fixed some elements, disabled others for now.
12703 Fixed -inspect and -launch.
12704 Added check for GstBus.
12706 2005-03-10 Wim Taymans <wim@fluendo.com>
12708 * docs/design/part-MT-refcounting.txt:
12709 * docs/design/part-clocks.txt:
12710 * docs/design/part-gstelement.txt:
12711 * docs/design/part-gstobject.txt:
12712 * docs/design/part-standards.txt:
12713 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12714 (gst_bin_remove_func), (gst_bin_remove):
12718 * testsuite/clock/clock1.c: (main):
12719 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12721 * testsuite/dlopen/loadgst.c: (do_test):
12722 * testsuite/refcounting/bin.c: (add_remove_test1),
12723 (add_remove_test2), (main):
12724 * testsuite/refcounting/element.c: (main):
12725 * testsuite/refcounting/element_pad.c: (main):
12726 * testsuite/refcounting/pad.c: (main):
12727 * tools/gst-launch.c: (sigint_handler_sighandler):
12728 * tools/gst-typefind.c: (main):
12730 Added doc about clock.
12731 removed gst_bin_iterate_recurse_up(), marked methods
12733 Fix more testsuites.
12735 2005-03-09 Wim Taymans <wim@fluendo.com>
12737 * gst/gstpad.c: (gst_pad_get_direction),
12738 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12739 (gst_pad_collect_valist):
12740 * testsuite/bins/interface.c: (main):
12741 * testsuite/caps/audioscale.c: (test_caps):
12742 * testsuite/caps/caps.c: (test1), (test2), (test3):
12743 * testsuite/caps/deserialize.c: (main):
12744 * testsuite/caps/enumcaps.c: (main):
12745 * testsuite/caps/filtercaps.c: (main):
12746 * testsuite/caps/intersect2.c: (main):
12747 * testsuite/caps/random.c: (main):
12748 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12749 * testsuite/caps/sets.c: (check_caps):
12750 * testsuite/caps/simplify.c: (check_caps), (main):
12751 * testsuite/caps/subtract.c: (check_caps):
12752 Fix _pad_get_direction wrt ghostpads.
12753 Fix caps testsuite.
12755 2005-03-09 Wim Taymans <wim@fluendo.com>
12757 * check/Makefile.am:
12758 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12759 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12760 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12761 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12762 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12763 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12764 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12765 (bin_element_is_sink), (gst_bin_iterate_sinks),
12766 (gst_bin_iterate_all_by_interface):
12768 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12769 (gst_element_change_state), (gst_element_dispose),
12770 (gst_element_finalize), (gst_element_set_loop_function):
12771 * gst/gstelement.h:
12772 * gst/gstiterator.c: (find_custom_fold_func):
12773 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12774 (gst_pad_collectv), (gst_pad_collect_valist),
12775 (gst_pad_template_new):
12776 * gst/gstpipeline.c: (gst_pipeline_class_init),
12777 (gst_pipeline_dispose), (gst_pipeline_set_property),
12778 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12779 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12780 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12782 * gst/schedulers/entryscheduler.c:
12783 * gst/schedulers/gstbasicscheduler.c:
12784 (gst_basic_scheduler_cothreaded_chain),
12785 (gst_basic_scheduler_chain_add_element):
12786 * testsuite/bins/interface.c: (main):
12788 Added GstSystemClock test.
12789 Implemented clock distribution code in GstBin.
12790 Implemented iterate sinks method for future use.
12791 Rearranged gstelement.h
12792 Fix GstIterator comparison bug.
12793 Moved some code to GstPipeline, mostly clocking related.
12795 2005-03-09 Wim Taymans <wim@fluendo.com>
12798 * gst/gst_private.h:
12799 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12800 (gst_bin_remove_func), (gst_bin_remove),
12801 (gst_bin_get_by_name_recurse_up):
12802 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12803 (gst_clock_id_compare_func), (gst_clock_id_wait),
12804 (gst_clock_id_wait_async), (gst_clock_init),
12805 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12806 * gst/gstelement.h:
12807 * gst/gstinfo.c: (_gst_debug_init):
12809 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12810 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12812 Bump version number, we're now 0.9.0
12813 Add future debugging category.
12814 Fix NULL _unref() in _get_by_name_recurse_up
12815 Rearrange gstpad.h.
12818 2005-03-08 Wim Taymans <wim@fluendo.com>
12820 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12821 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12822 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12823 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12824 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12825 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12826 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12827 * gst/elements/gstidentity.c: (gst_identity_class_init):
12828 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12829 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12830 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12831 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12832 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12834 * gst/gstelement.c: (gst_element_class_init),
12835 (gst_element_base_class_init), (gst_element_init),
12836 (gst_element_get_random_pad), (gst_element_wait_state_change),
12837 (gst_element_change_state), (gst_element_dispose),
12838 (gst_element_finalize), (gst_element_set_loop_function):
12839 * gst/gstelement.h:
12840 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12841 * gst/gstthread.c: (gst_thread_class_init),
12842 (gst_thread_release_children_locks), (gst_thread_change_state):
12843 * gst/schedulers/gstbasicscheduler.c:
12844 (gst_basic_scheduler_loopfunc_wrapper),
12845 (gst_basic_scheduler_chain_wrapper),
12846 (gst_basic_scheduler_src_wrapper),
12847 (gst_basic_scheduler_remove_element):
12848 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12849 Remove threadsafe properties. Fix elements because GObject
12850 complains when installing a property before declaring a
12851 set/get_property handler.
12852 Rearrange gstelement.h file, use STATE macros for state locks.
12853 Free mutexes in the finalize method instead of dispose.
12855 2005-03-08 Wim Taymans <wim@fluendo.com>
12857 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12858 * gst/gstthread.c: (gst_thread_release_children_locks):
12859 Added parentage check.
12860 Fix build og GstThread again.
12862 2005-03-08 Wim Taymans <wim@fluendo.com>
12864 * docs/design/part-MT-refcounting.txt:
12865 * docs/design/part-conventions.txt:
12866 * docs/design/part-gstobject.txt:
12867 * docs/design/part-relations.txt:
12868 * docs/design/part-standards.txt:
12869 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12870 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12871 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12872 (gst_bin_iterate_all_by_interface):
12875 * gst/gstelement.c: (gst_element_class_init),
12876 (gst_element_change_state), (gst_element_set_loop_function):
12877 * gst/gstelement.h:
12878 * gst/gstiterator.c:
12879 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12880 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12881 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12882 (gst_object_set_parent), (gst_object_unparent),
12883 (gst_object_check_uniqueness):
12885 Docs updates, clean up some headers.
12887 2005-03-07 Wim Taymans <wim@fluendo.com>
12889 * check/.cvsignore:
12890 * check/Makefile.am:
12891 * check/gst-libs/.cvsignore:
12892 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12893 * check/gst/.cvsignore:
12894 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12895 (START_TEST), (gstbus_suite), (main):
12896 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12897 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12898 (gst_data_suite), (main):
12899 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12900 (add_fold_func), (gstiterator_suite), (main):
12901 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12902 (thread_name_object), (thread_name_object_default),
12903 (gst_object_name_compare), (gst_object_suite), (main):
12904 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12905 (gst_pad_suite), (main):
12906 * check/gstcheck.c: (gst_check_log_message_func),
12907 (gst_check_log_critical_func), (gst_check_init):
12908 * check/gstcheck.h:
12909 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12910 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12913 2005-03-07 Wim Taymans <wim@fluendo.com>
12915 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12916 (gst_list_iterator_next), (gst_list_iterator_resync),
12917 (gst_list_iterator_free), (gst_iterator_new_list),
12918 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12919 (gst_iterator_free), (gst_iterator_push), (filter_next),
12920 (filter_resync), (filter_uninit), (filter_free),
12921 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12922 (gst_iterator_foreach), (find_custom_fold_func),
12923 (gst_iterator_find_custom):
12924 * gst/gstiterator.h:
12925 Added missing files.
12927 2005-03-07 Wim Taymans <wim@fluendo.com>
12931 * docs/design/part-MT-refcounting.txt:
12932 * docs/design/part-conventions.txt:
12933 * docs/design/part-gstobject.txt:
12934 * docs/design/part-relations.txt:
12935 * examples/mixer/mixer.c: (main):
12936 * examples/thread/thread.c: (eos), (main):
12938 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12939 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12940 (gst_spider_plug_from_srcpad):
12941 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12942 (gst_spider_identity_change_state),
12943 (gst_spider_identity_sink_loop_type_finding):
12944 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12945 * gst/elements/gstidentity.c: (gst_identity_init):
12946 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12947 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12948 * gst/elements/gsttypefindelement.c: (free_entry):
12951 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12952 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12953 (gst_bin_set_index), (gst_bin_set_element_sched),
12954 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12955 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12956 (gst_bin_iterate_elements), (iterate_child_recurse),
12957 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12958 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12959 (compare_interface), (gst_bin_get_by_interface),
12960 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12962 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12963 (gst_buffer_default_free), (gst_buffer_default_copy),
12964 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12965 (gst_buffer_create_sub):
12967 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12968 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12969 (gst_caps_unref), (gst_static_caps_get),
12970 (gst_caps_remove_and_get_structure), (gst_caps_append),
12971 (gst_caps_append_structure), (gst_caps_remove_structure),
12972 (gst_caps_copy_nth), (gst_caps_set_simple),
12973 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12974 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12975 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12976 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12977 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12978 (gst_caps_structure_figure_out_union),
12979 (gst_caps_switch_structures), (gst_caps_do_simplify),
12980 (gst_caps_replace), (gst_caps_from_string),
12981 (gst_caps_copy_conditional):
12983 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12984 (_gst_clock_id_free), (gst_clock_id_unref),
12985 (gst_clock_id_compare_func), (gst_clock_id_wait),
12986 (gst_clock_id_wait_async), (gst_clock_class_init),
12987 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12988 (gst_clock_get_time), (gst_clock_set_time_adjust),
12989 (gst_clock_set_property), (gst_clock_get_property):
12992 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12993 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12995 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12996 (gst_element_requires_clock), (gst_element_provides_clock),
12997 (gst_element_set_clock), (gst_element_clock_wait),
12998 (gst_element_wait), (gst_element_set_time_delay),
12999 (gst_element_is_indexable), (gst_element_add_pad),
13000 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13001 (pad_compare_name), (gst_element_get_static_pad),
13002 (gst_element_request_pad), (gst_element_get_request_pad),
13003 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13004 (gst_element_class_get_pad_template_list),
13005 (gst_element_class_get_pad_template), (gst_element_error_func),
13006 (gst_element_get_random_pad), (gst_element_get_event_masks),
13007 (gst_element_send_event), (gst_element_seek),
13008 (gst_element_get_query_types), (gst_element_query),
13009 (gst_element_get_formats), (gst_element_convert),
13010 (gst_element_is_locked_state), (gst_element_set_locked_state),
13011 (gst_element_sync_state_with_parent), (gst_element_change_state),
13012 (gst_element_finalize), (gst_element_yield),
13013 (gst_element_interrupt), (gst_element_set_scheduler),
13014 (gst_element_get_scheduler), (gst_element_set_loop_function):
13015 * gst/gstelement.h:
13017 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13018 (gst_format_get_by_nick), (gst_format_get_details),
13019 (gst_format_iterate_definitions):
13021 * gst/gstindex.c: (gst_index_gtype_resolver):
13024 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13025 (gst_mem_chunk_free):
13026 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13027 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13028 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13029 (gst_object_dispatch_properties_changed),
13030 (gst_object_set_name_default), (gst_object_set_name),
13031 (gst_object_get_name), (gst_object_set_name_prefix),
13032 (gst_object_get_name_prefix), (gst_object_set_parent),
13033 (gst_object_get_parent), (gst_object_unparent),
13034 (gst_object_check_uniqueness), (gst_object_save_thyself),
13035 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13036 (gst_object_set_property), (gst_object_get_property),
13037 (gst_object_get_path_string):
13039 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13040 (gst_real_pad_init), (gst_real_pad_get_property),
13041 (gst_pad_custom_new), (gst_pad_get_direction),
13042 (gst_pad_set_active), (gst_pad_is_active),
13043 (gst_pad_set_event_function), (gst_pad_is_linked),
13044 (gst_pad_link_free), (gst_pad_link_intersect),
13045 (gst_pad_link_fixate), (gst_pad_set_caps),
13046 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13047 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13048 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13049 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13050 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13051 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13052 (gst_pad_realize), (gst_pad_get_allowed_caps),
13053 (gst_real_pad_dispose), (gst_real_pad_finalize),
13054 (gst_pad_collectv), (gst_pad_collect_valist),
13055 (gst_pad_template_dispose), (gst_pad_template_new),
13056 (gst_pad_get_internal_links):
13058 * gst/gstpipeline.c: (gst_pipeline_dispose),
13059 (gst_pipeline_change_state):
13060 * gst/gstpipeline.h:
13062 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13063 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13064 * gst/gstpluginfeature.h:
13065 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13066 * gst/gstquery.c: (_gst_query_type_initialize),
13067 (gst_query_type_register), (gst_query_type_get_by_nick),
13068 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13070 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13071 * gst/gstscheduler.c: (gst_scheduler_add_element),
13072 (gst_scheduler_factory_create):
13073 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13074 (gst_structure_free), (gst_structure_set_name),
13075 (gst_structure_id_set_value), (gst_structure_set_value),
13076 (gst_structure_set_valist), (gst_structure_remove_field),
13077 (gst_structure_remove_fields),
13078 (gst_structure_remove_fields_valist),
13079 (gst_structure_remove_all_fields), (gst_structure_foreach),
13080 (gst_structure_map_in_place),
13081 (gst_caps_structure_fixate_field_nearest_int),
13082 (gst_caps_structure_fixate_field_nearest_double):
13083 * gst/gststructure.h:
13084 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13085 (gst_system_clock_init), (gst_system_clock_dispose),
13086 (gst_system_clock_async_thread),
13087 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13088 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13089 * gst/gstsystemclock.h:
13090 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13091 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13092 * gst/gsttaginterface.c:
13093 * gst/gstthread.c: (gst_thread_dispose),
13094 (gst_thread_release_children_locks), (gst_thread_change_state),
13095 (gst_thread_main_loop):
13096 * gst/gsttrashstack.h:
13097 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13099 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13100 (gst_element_request_pad), (gst_element_get_pad_from_template),
13101 (gst_element_request_compatible_pad),
13102 (gst_element_get_compatible_pad_filtered),
13103 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13104 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13105 (gst_element_link_many), (gst_element_link),
13106 (gst_element_link_pads), (gst_element_unlink_pads),
13107 (gst_element_unlink_many), (gst_element_unlink),
13108 (gst_pad_can_link_filtered), (gst_pad_can_link),
13109 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13110 (gst_object_default_error), (gst_bin_add_many),
13111 (gst_bin_remove_many), (gst_element_populate_std_props),
13112 (gst_element_class_install_std_props), (gst_buffer_merge),
13113 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13114 (link_fold_func), (gst_pad_proxy_setcaps):
13116 * gst/gstvalue.c: (gst_value_deserialize_string):
13117 * gst/parse/grammar.y:
13118 * gst/schedulers/gstbasicscheduler.c:
13119 (gst_basic_scheduler_cothreaded_chain),
13120 (gst_basic_scheduler_chain_recursive_add),
13121 (gst_basic_scheduler_pad_link):
13122 * gst/schedulers/gstoptimalscheduler.c:
13123 (get_group_schedule_function),
13124 (gst_opt_scheduler_state_transition),
13125 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13126 * libs/gst/bytestream/bytestream.c:
13127 * libs/gst/dataprotocol/dataprotocol.c:
13128 (gst_dp_header_from_buffer):
13131 * tests/threadstate/threadstate2.c: (eos):
13132 * tools/gst-compprep.c: (main):
13133 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13134 (print_pad_info), (print_children_info):
13135 * tools/gst-launch.c: (idle_func), (main):
13136 * tools/gst-md5sum.c: (idle_func), (main):
13137 * tools/gst-xmlinspect.c: (print_element_info):
13138 First THREADED backport attempt, focusing on adding locks and
13139 making sure the API is threadsafe. Needs more work. More docs
13142 2005-02-24 Andy Wingo <wingo@pobox.com>
13144 * tests/bench-complexity.scm:
13145 * tests/complexity.gnuplot: New files, good for running complexity
13148 * tests/Makefile.am:
13149 * tests/complexity.c: New test, sets up N elements, at each level
13150 teeing into M streams per element. Eeeenteresting.
13152 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13153 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13154 running bench-mass_elements.scm.
13156 * tests/bench-mass_elements.scm: New script, runs mass_elements
13157 for various numbers of identities, outputting the results to a
13158 file. Requires guile 1.6. Just for testing.
13160 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13162 * gst/schedulers/fairscheduler.c:
13163 compile with debug disabled
13165 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13168 hunting season on 0.9 is now OPEN