1 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
3 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5 do piece-wise major/minor comparison so 0.9 < 0.10
6 also allow .exe extensions for tools
8 2005-12-02 Michael Smith <msmith@fluendo.com>
11 Escape a % to make gtkdoc happier; bug 322958.
15 2005-12-01 <thomas (at) apestaart (dot) org>
18 releasing 0.9.7, "My Dog Has No Nose"
20 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
22 * common/gst-xmlinspect.py:
24 * docs/libs/tmpl/gstdataprotocol.sgml:
25 * docs/random/release:
44 * win32/common/config.h:
45 * win32/common/config.h.in:
46 * win32/vs6/gst_inspect.dsp:
47 * win32/vs6/gst_launch.dsp:
48 * win32/vs6/libgstbase.dsp:
49 * win32/vs6/libgstelements.dsp:
50 * win32/vs6/libgstreamer.dsp:
51 * win32/vs7/GStreamer.vcproj:
52 * win32/vs7/gst-inspect.vcproj:
53 * win32/vs7/gst-launch.vcproj:
54 * win32/vs7/libgstbase.vcproj:
55 bump GST_MAJORMINOR to 0.10
58 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
62 Added Bulgarian translation by (Alexander Shopov)
64 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
66 * tests/check/gst/gstplugin.c:
69 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
71 * common/gst-xmlinspect.py:
72 * common/gtk-doc-plugins.mak:
75 * docs/gst/Makefile.am:
76 * docs/gst/gstreamer-docs.sgml:
77 * docs/gst/gstreamer-sections.txt:
78 * docs/gst/gstreamer.types:
79 * docs/gst/gstreamer.types.in:
80 * docs/plugins/Makefile.am:
81 * docs/plugins/gstreamer-plugins-docs.sgml:
82 * docs/plugins/gstreamer-plugins-sections.txt:
83 * docs/plugins/gstreamer-plugins.types:
84 * docs/plugins/inspect.stamp:
85 * docs/plugins/inspect/plugin-coreelements.xml:
86 * docs/plugins/inspect/plugin-coreindexers.xml:
87 * docs/plugins/scanobj-build.stamp:
89 * plugins/elements/Makefile.am:
90 * plugins/elements/gstelements.c:
91 * plugins/elements/gstfakesink.c:
92 * plugins/elements/gstfakesrc.c:
93 * plugins/elements/gstfilesink.c:
94 * plugins/elements/gstfilesrc.c:
95 * plugins/elements/gstqueue.c:
96 * plugins/indexers/Makefile.am:
97 * plugins/indexers/gstindexers.c:
98 document core plugins in a separate document just like all the
100 rename these plugins to something starting with core
102 2005-12-01 Andy Wingo <wingo@pobox.com>
104 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
105 padding here before, but it missed the commit.
107 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
109 * libs/gst/controller/gstinterpolation.c:
110 whitespace prices have crashed, we should feel free to use some now
111 use gst_guint64_to_gdouble
113 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
115 * libs/gst/controller/gstcontroller.c:
116 * libs/gst/controller/gsthelper.c:
117 * libs/gst/controller/gstinterpolation.c:
118 * libs/gst/controller/lib.c:
119 wrap config.h include
121 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
123 * docs/gst/gstreamer-sections.txt:
126 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
128 * plugins/elements/gstelements.c:
129 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
130 (gst_fd_sink__class_init), (gst_fd_sink__init),
131 (gst_fd_sink__chain), (gst_fd_sink__set_property),
132 (gst_fd_sink__get_property):
133 * plugins/elements/gstfdsink.h:
134 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
135 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
136 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
137 (gst_fd_src_unlock), (gst_fd_src_set_property),
138 (gst_fd_src_get_property), (gst_fd_src_create),
139 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
140 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
141 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
142 (gst_fd_src_uri_handler_init):
143 * plugins/elements/gstfdsrc.h:
144 * plugins/elements/gstqueue.c: (gst_queue_get_type):
147 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
149 * docs/gst/Makefile.am:
150 * docs/gst/gstreamer.types.in:
154 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
161 * tests/benchmarks/complexity.c:
162 * tests/benchmarks/mass-elements.c:
163 * tests/check/Makefile.am:
165 * tools/gst-inspect.c:
166 * tools/gst-xmlinspect.c:
167 various fixes to make
168 --disable-nls --disable-registry --disable-loadsave
169 --disable-parse --disable-gst-debug
170 work and get the core .so down to 360444 bytes after stripping
172 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
177 * docs/random/thomasvs/TODO:
182 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
184 * win32/GStreamer.vcproj:
187 * win32/Makefile.inspect:
188 * win32/Makefile.launch:
189 * win32/Makefile.register:
191 * win32/gst-inspect.vcproj:
192 * win32/gst-launch.vcproj:
193 * win32/gst-register.vcproj:
194 * win32/gstelements.vcproj:
195 * win32/gstgetbits.def:
196 * win32/gstgetbits.vcproj:
197 * win32/gstreamer-dbg.def:
198 * win32/gstreamer.def:
199 * win32/libgstbase.def:
200 * win32/libgstbase.vcproj:
201 * win32/link_oldruntime.c:
206 move even more stuff, win32/ is nice and clean now
208 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
210 * libs/gst/control/.cvsignore:
215 * win32/gstbytestream.def:
216 * win32/gstbytestream.vcproj:
218 * win32/gstenumtypes.c:
219 * win32/gstenumtypes.h:
220 * win32/gstoptimalscheduler.vcproj:
221 * win32/gstversion.h:
223 * win32/testsuite/bins.vcproj:
224 * win32/testsuite/bytestream.vcproj:
225 * win32/testsuite/caps.vcproj:
226 * win32/testsuite/cleanup.vcproj:
227 * win32/testsuite/clock.vcproj:
228 * win32/testsuite/debug.vcproj:
229 * win32/testsuite/dlopen.vcproj:
230 * win32/testsuite/dynparams.vcproj:
231 * win32/testsuite/elements.vcproj:
232 * win32/testsuite/ghostpads.vcproj:
233 * win32/testsuite/indexers.vcproj:
234 * win32/testsuite/negotiation.vcproj:
235 * win32/testsuite/parse.vcproj:
236 * win32/testsuite/plugin.vcproj:
237 * win32/testsuite/refcounting.vcproj:
238 * win32/testsuite/schedulers.vcproj:
239 * win32/testsuite/states.vcproj:
240 * win32/testsuite/tags.vcproj:
241 * win32/testsuite/threads.vcproj:
242 remove old win32 stuff that isn't maintained and should be
245 2005-11-30 Andy Wingo <wingo@pobox.com>
247 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
248 loading the gst.interfaces python module bork.
250 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
251 available since GLib 2.2. Fixes #318031.
253 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
258 * check/elements/.cvsignore:
259 * check/elements/fakesrc.c:
260 * check/elements/fdsrc.c:
261 * check/elements/identity.c:
262 * check/generic/.cvsignore:
263 * check/generic/states.c:
264 * check/gst-libs/.cvsignore:
265 * check/gst-libs/controller.c:
266 * check/gst-libs/gdp.c:
267 * check/gst/.cvsignore:
268 * check/gst/capslist.h:
270 * check/gst/gstbin.c:
271 * check/gst/gstbuffer.c:
272 * check/gst/gstbus.c:
273 * check/gst/gstcaps.c:
274 * check/gst/gstelement.c:
275 * check/gst/gstevent.c:
276 * check/gst/gstghostpad.c:
277 * check/gst/gstiterator.c:
278 * check/gst/gstmessage.c:
279 * check/gst/gstminiobject.c:
280 * check/gst/gstobject.c:
281 * check/gst/gstpad.c:
282 * check/gst/gstpipeline.c:
283 * check/gst/gstplugin.c:
284 * check/gst/gstsegment.c:
285 * check/gst/gststructure.c:
286 * check/gst/gstsystemclock.c:
287 * check/gst/gsttag.c:
288 * check/gst/gstutils.c:
289 * check/gst/gstvalue.c:
290 * check/net/.cvsignore:
291 * check/net/gstnetclientclock.c:
292 * check/net/gstnettimeprovider.c:
293 * check/pipelines/.cvsignore:
294 * check/pipelines/cleanup.c:
295 * check/pipelines/simple_launch_lines.c:
296 * check/pipelines/stress.c:
297 * check/states/.cvsignore:
298 * check/states/sinks.c:
300 * examples/Makefile.am:
301 * examples/appreader/.cvsignore:
302 * examples/appreader/Makefile.am:
303 * examples/appreader/appreader.c:
304 * examples/controller/.cvsignore:
305 * examples/controller/Makefile.am:
306 * examples/controller/audio-example.c:
307 * examples/cutter/.cvsignore:
308 * examples/cutter/Makefile.am:
309 * examples/cutter/cutter.c:
310 * examples/cutter/cutter.h:
311 * examples/events/Makefile.am:
312 * examples/events/seek.c:
313 * examples/helloworld/.cvsignore:
314 * examples/helloworld/Makefile.am:
315 * examples/helloworld/helloworld.c:
316 * examples/helloworld2/.cvsignore:
317 * examples/helloworld2/Makefile.am:
318 * examples/helloworld2/helloworld2.c:
319 * examples/launch/.cvsignore:
320 * examples/launch/Makefile.am:
321 * examples/launch/mp3parselaunch.c:
322 * examples/launch/mp3play:
323 * examples/manual/.cvsignore:
324 * examples/manual/Makefile.am:
325 * examples/manual/extract.pl:
326 * examples/metadata/Makefile.am:
327 * examples/metadata/read-metadata.c:
328 * examples/mixer/.cvsignore:
329 * examples/mixer/Makefile.am:
330 * examples/mixer/mixer.c:
331 * examples/mixer/mixer.h:
332 * examples/pingpong/.cvsignore:
333 * examples/pingpong/Makefile.am:
334 * examples/pingpong/pingpong.c:
335 * examples/plugins/.cvsignore:
336 * examples/plugins/Makefile.am:
337 * examples/plugins/example.c:
338 * examples/plugins/example.h:
339 * examples/pwg/.cvsignore:
340 * examples/pwg/Makefile.am:
341 * examples/pwg/extract.pl:
342 * examples/queue/.cvsignore:
343 * examples/queue/Makefile.am:
344 * examples/queue/queue.c:
345 * examples/queue2/.cvsignore:
346 * examples/queue2/Makefile.am:
347 * examples/queue2/queue2.c:
348 * examples/queue3/.cvsignore:
349 * examples/queue3/Makefile.am:
350 * examples/queue3/queue3.c:
351 * examples/queue4/.cvsignore:
352 * examples/queue4/Makefile.am:
353 * examples/queue4/queue4.c:
354 * examples/retag/.cvsignore:
355 * examples/retag/Makefile.am:
356 * examples/retag/retag.c:
357 * examples/retag/transcode.c:
358 * examples/thread/.cvsignore:
359 * examples/thread/Makefile.am:
360 * examples/thread/thread.c:
361 * examples/typefind/.cvsignore:
362 * examples/typefind/Makefile.am:
363 * examples/typefind/typefind.c:
364 * examples/xml/.cvsignore:
365 * examples/xml/Makefile.am:
366 * examples/xml/createxml.c:
367 * examples/xml/runxml.c:
369 * tests/check/Makefile.am:
370 * testsuite/.cvsignore:
371 * testsuite/Makefile.am:
373 * testsuite/caps/.cvsignore:
374 * testsuite/caps/Makefile.am:
375 * testsuite/caps/app_fixate.c:
376 * testsuite/caps/audioscale.c:
377 * testsuite/caps/caps.c:
378 * testsuite/caps/caps.h:
379 * testsuite/caps/caps_strings:
380 * testsuite/caps/compatibility.c:
381 * testsuite/caps/deserialize.c:
382 * testsuite/caps/enumcaps.c:
383 * testsuite/caps/eratosthenes.c:
384 * testsuite/caps/filtercaps.c:
385 * testsuite/caps/fixed.c:
386 * testsuite/caps/fraction-convert.c:
387 * testsuite/caps/fraction-multiply-and-zero.c:
388 * testsuite/caps/intersect2.c:
389 * testsuite/caps/intersection.c:
390 * testsuite/caps/normalisation.c:
391 * testsuite/caps/random.c:
392 * testsuite/caps/renegotiate.c:
393 * testsuite/caps/sets.c:
394 * testsuite/caps/simplify.c:
395 * testsuite/caps/string-conversions.c:
396 * testsuite/caps/structure.c:
397 * testsuite/caps/subtract.c:
398 * testsuite/caps/union.c:
399 * testsuite/debug/.cvsignore:
400 * testsuite/debug/Makefile.am:
401 * testsuite/debug/category.c:
402 * testsuite/debug/commandline.c:
403 * testsuite/debug/global.c:
404 * testsuite/debug/output.c:
405 * testsuite/debug/printf_extension.c:
406 * testsuite/dlopen/.cvsignore:
407 * testsuite/dlopen/Makefile.am:
408 * testsuite/dlopen/dlopen_gst.c:
409 * testsuite/dlopen/loadgst.c:
410 * testsuite/elements/.cvsignore:
411 * testsuite/elements/Makefile.am:
412 * testsuite/elements/gst-inspect-check.in:
413 * testsuite/elements/struct_i386.h:
414 * testsuite/elements/struct_size.c:
415 * testsuite/indexers/.cvsignore:
416 * testsuite/indexers/Makefile.am:
417 * testsuite/indexers/cache1.c:
418 * testsuite/indexers/indexdump.c:
419 * testsuite/parse/.cvsignore:
420 * testsuite/parse/Makefile.am:
421 * testsuite/parse/parse1.c:
422 * testsuite/parse/parse2.c:
423 * testsuite/plugin/.cvsignore:
424 * testsuite/plugin/Makefile.am:
425 * testsuite/plugin/README:
426 * testsuite/plugin/dynamic.c:
427 * testsuite/plugin/linked.c:
428 * testsuite/plugin/loading.c:
429 * testsuite/plugin/registry.c:
430 * testsuite/plugin/static.c:
431 * testsuite/plugin/static2.c:
432 * testsuite/plugin/testplugin.c:
433 * testsuite/plugin/testplugin2.c:
434 * testsuite/plugin/testplugin2_s.c:
435 * testsuite/plugin/testplugin_s.c:
436 * testsuite/refcounting/.cvsignore:
437 * testsuite/refcounting/Makefile.am:
438 * testsuite/refcounting/bin.c:
439 * testsuite/refcounting/element.c:
440 * testsuite/refcounting/element_pad.c:
441 * testsuite/refcounting/mainloop.c:
442 * testsuite/refcounting/mem.c:
443 * testsuite/refcounting/mem.h:
444 * testsuite/refcounting/object.c:
445 * testsuite/refcounting/pad.c:
446 * testsuite/refcounting/sched.c:
447 * testsuite/refcounting/thread.c:
448 * testsuite/states/.cvsignore:
449 * testsuite/states/Makefile.am:
450 * testsuite/states/bin.c:
451 * testsuite/states/locked.c:
452 * testsuite/states/parent.c:
453 * testsuite/threads/.cvsignore:
454 * testsuite/threads/159566.c:
455 * testsuite/threads/159852.c:
456 * testsuite/threads/Makefile.am:
457 * testsuite/threads/queue.c:
458 * testsuite/threads/signals.c:
459 * testsuite/threads/staticrec.c:
460 * testsuite/threads/thread.c:
461 * testsuite/threads/threadb.c:
462 * testsuite/threads/threadc.c:
463 * testsuite/threads/threadd.c:
464 * testsuite/threads/threade.c:
465 * testsuite/threads/threadf.c:
466 * testsuite/threads/threadg.c:
467 * testsuite/threads/threadh.c:
468 * testsuite/threads/threadi.c:
469 move all of these under tests
471 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
477 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
479 * docs/gst/gstreamer-sections.txt:
480 * tests/sched/.cvsignore:
481 * tests/sched/Makefile.am:
482 * tests/sched/cases/(fs-fs).xml:
483 * tests/sched/cases/(fs-i-fs).xml:
484 * tests/sched/cases/(fs-i-i-fs).xml:
485 * tests/sched/cases/(fs-i-q[i-fs]).xml:
486 * tests/sched/dynamic-pipeline.c:
487 * tests/sched/interrupt1.c:
488 * tests/sched/interrupt2.c:
489 * tests/sched/interrupt3.c:
490 * tests/sched/runtestcases:
491 * tests/sched/runxml.c:
492 * tests/sched/sched-stress.c:
493 * tests/sched/sort.c:
494 * tests/sched/testcases:
495 * tests/sched/testcases1.tc:
496 * tests/seeking/.cvsignore:
497 * tests/seeking/Makefile.am:
498 * tests/seeking/seeking1.c:
499 * tests/threadstate/.cvsignore:
500 * tests/threadstate/Makefile.am:
501 * tests/threadstate/test1.c:
502 * tests/threadstate/test2.c:
503 * tests/threadstate/threadstate1.c:
504 * tests/threadstate/threadstate2.c:
505 * tests/threadstate/threadstate3.c:
506 * tests/threadstate/threadstate4.c:
507 * tests/threadstate/threadstate5.c:
508 remove obsolete tests
510 * tests/bench-complexity.scm:
511 * tests/bench-mass_elements.scm:
512 * tests/complexity.c:
513 * tests/complexity.gnuplot:
514 * tests/instantiate/.cvsignore:
515 * tests/instantiate/Makefile.am:
516 * tests/instantiate/caps.c:
517 * tests/mass_elements.c:
518 * tests/network-clock-utils.scm:
519 * tests/network-clock.scm:
521 First pass at cleaning up tests/ dir before moving the rest
522 Combined with CVS surgery
524 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
527 queue has moved, update
529 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
531 * docs/gst/gstreamer-sections.txt:
532 remove double entries from the docs
534 * gst/gstinfo.c: (_gst_debug_init):
535 remove the THREAD debug category
539 * docs/gst/gstreamer.types:
540 * plugins/elements/gstqueue.c: (gst_queue_get_type),
541 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
542 completely move queue and fix up debugging categories
544 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
546 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
547 make initialization portable, using LL is not
549 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
551 * win32/common/gstconfig.h:
554 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
556 * win32/common/libgstreamer.def:
557 rename symbols; sort base section
559 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
561 * gst/gstclock.c: (do_linear_regression):
562 remove crack non-portable handrolled DEBUG macro
564 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
566 * docs/random/release:
568 * win32/common/gstenumtypes.c: (register_gst_object_flags),
569 (gst_object_flags_get_type), (register_gst_bin_flags),
570 (gst_bin_flags_get_type), (register_gst_buffer_flag),
571 (gst_buffer_flag_get_type), (register_gst_bus_flags),
572 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
573 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
574 (gst_caps_flags_get_type), (register_gst_clock_return),
575 (gst_clock_return_get_type), (register_gst_clock_entry_type),
576 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
577 (gst_clock_flags_get_type), (register_gst_state),
578 (gst_state_get_type), (register_gst_state_change_return),
579 (gst_state_change_return_get_type), (register_gst_state_change),
580 (gst_state_change_get_type), (register_gst_element_flags),
581 (gst_element_flags_get_type), (register_gst_core_error),
582 (gst_core_error_get_type), (register_gst_library_error),
583 (gst_library_error_get_type), (register_gst_resource_error),
584 (gst_resource_error_get_type), (register_gst_stream_error),
585 (gst_stream_error_get_type), (register_gst_event_type_flags),
586 (gst_event_type_flags_get_type), (register_gst_event_type),
587 (gst_event_type_get_type), (register_gst_seek_type),
588 (gst_seek_type_get_type), (register_gst_seek_flags),
589 (gst_seek_flags_get_type), (register_gst_format),
590 (gst_format_get_type), (register_gst_index_certainty),
591 (gst_index_certainty_get_type), (register_gst_index_entry_type),
592 (gst_index_entry_type_get_type),
593 (register_gst_index_lookup_method),
594 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
595 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
596 (gst_index_resolver_method_get_type), (register_gst_index_flags),
597 (gst_index_flags_get_type), (register_gst_debug_level),
598 (gst_debug_level_get_type), (register_gst_debug_color_flags),
599 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
600 (gst_iterator_result_get_type), (register_gst_iterator_item),
601 (gst_iterator_item_get_type), (register_gst_message_type),
602 (gst_message_type_get_type), (register_gst_mini_object_flags),
603 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
604 (gst_pad_link_return_get_type), (register_gst_flow_return),
605 (gst_flow_return_get_type), (register_gst_activate_mode),
606 (gst_activate_mode_get_type), (register_gst_pad_direction),
607 (gst_pad_direction_get_type), (register_gst_pad_flags),
608 (gst_pad_flags_get_type), (register_gst_pad_presence),
609 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
610 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
611 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
612 (gst_plugin_error_get_type), (register_gst_plugin_flags),
613 (gst_plugin_flags_get_type), (register_gst_rank),
614 (gst_rank_get_type), (register_gst_query_type),
615 (gst_query_type_get_type), (register_gst_tag_merge_mode),
616 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
617 (gst_tag_flag_get_type), (register_gst_task_state),
618 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
619 (gst_alloc_trace_flags_get_type),
620 (register_gst_type_find_probability),
621 (gst_type_find_probability_get_type), (register_gst_uri_type),
622 (gst_uri_type_get_type), (register_gst_parse_error),
623 (gst_parse_error_get_type):
624 * win32/common/gstenumtypes.h:
625 * win32/common/gstversion.h:
626 update visual studio generated files
628 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
630 * win32/vs6/libgstbase.dsp:
631 * win32/vs6/libgstelements.dsp:
632 update project files for new locations
634 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
644 * docs/random/LICENSE:
647 2005-11-30 Edward Hervey <edward@fluendo.com>
649 * gst/gsttypefind.c: (gst_type_find_register):
651 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
652 (gst_type_find_factory_dispose):
653 * gst/gsttypefindfactory.h:
654 Fix memory leak in GstTypeFindFactory.
656 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
659 * plugins/elements/Makefile.am:
660 * plugins/elements/gstelements.c:
661 * plugins/elements/gstqueue.c:
662 move queue from core to the elements plugin
664 2005-11-29 Andy Wingo <wingo@pobox.com>
666 * libs/gst/base/gstbasetransform.h:
667 * libs/gst/base/gstbasesrc.h:
668 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
670 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
671 of pointers by which to pad very extensible base classes (like the
672 ones in libs/gst/base).
674 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
676 * docs/gst/gstreamer-docs.sgml:
677 * docs/gst/gstreamer-sections.txt:
678 * docs/libs/gstreamer-libs-docs.sgml:
679 * docs/libs/gstreamer-libs-sections.txt:
680 moving documentation from core to lib
682 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
686 * docs/gst/Makefile.am:
688 * gst/base/.cvsignore:
689 * gst/base/Makefile.am:
691 * gst/base/gstadapter.c:
692 * gst/base/gstadapter.h:
693 * gst/base/gstbasesink.c:
694 * gst/base/gstbasesink.h:
695 * gst/base/gstbasesrc.c:
696 * gst/base/gstbasesrc.h:
697 * gst/base/gstbasetransform.c:
698 * gst/base/gstbasetransform.h:
699 * gst/base/gstcollectpads.c:
700 * gst/base/gstcollectpads.h:
701 * gst/base/gstpushsrc.c:
702 * gst/base/gstpushsrc.h:
703 * gst/base/gsttypefindhelper.c:
704 * gst/base/gsttypefindhelper.h:
705 * gst/check/Makefile.am:
706 * gst/check/gstcheck.c:
707 * gst/check/gstcheck.h:
708 * gst/net/Makefile.am:
710 * gst/net/gstnetclientclock.c:
711 * gst/net/gstnetclientclock.h:
712 * gst/net/gstnettimepacket.c:
713 * gst/net/gstnettimepacket.h:
714 * gst/net/gstnettimeprovider.c:
715 * gst/net/gstnettimeprovider.h:
716 * libs/gst/Makefile.am:
717 * libs/gst/base/Makefile.am:
718 * libs/gst/base/gstbasetransform.c:
719 * libs/gst/check/Makefile.am:
720 * plugins/elements/Makefile.am:
722 CVS surgery + support to move base, check, and net out of gst
725 2005-11-29 Andy Wingo <wingo@pobox.com>
727 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
729 * gst/gststructure.h (struct _GstStructure): Only one pointer of
732 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
734 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
736 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
738 * gst/gstobject.h: (struct _GstObject): Only one pointer of
739 padding; reduces object size by about 30%. We don't expect
740 anything else to go into gstobject.
742 * gst/gstminiobject.h (struct _GstMiniObject)
743 (struct _GstMiniObjectClass): Only one pointer of padding; the
744 payload is only a pointer and two ints anyway. For the class there
745 are only two methods as well.
747 * gst/gstelement.h (struct _GstElementClass): Removed
748 the state_changed signal callback, it is not used.
750 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
752 * docs/gst/gstreamer.types:
753 fix includes, though they are a little dinky
755 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
758 look in the right place for elements, a lot more chance of
761 remove indexers and elements subdirs
762 * plugins/Makefile.am:
763 make indexers conditional
765 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
769 * plugins/elements/Makefile.am:
770 * plugins/elements/gstcapsfilter.c:
771 * plugins/elements/gstfilesink.c:
772 * plugins/elements/gstfilesrc.c:
773 * plugins/elements/gstidentity.c:
774 * plugins/indexers/Makefile.am:
775 do CVS surgery and related build fixery to move elements
776 and indexers in a new gstreamer/plugins directory, out of the
779 2005-11-29 Andy Wingo <wingo@pobox.com>
782 * pkgconfig/gstreamer-net-uninstalled.pc.in:
783 * pkgconfig/gstreamer-net.pc.in:
784 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
787 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
790 * tools/gst-complete.1.in:
791 * tools/gst-complete.c:
792 * tools/gst-compprep.1.in:
793 * tools/gst-compprep.c:
794 removing -compprep and -complete
796 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
798 * gst/gstevent.c: (gst_event_new_new_segment),
799 (gst_event_parse_new_segment):
801 fix #320529 - clean up new_segment API and structure.
802 Let's hope everyone was using the methods, and not the structure.
804 2005-11-29 Edward Hervey <edward@fluendo.com>
806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
807 (gst_base_sink_event), (gst_base_sink_do_sync),
808 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
809 Properly handle non GST_FORMAT_TIME segment
810 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
811 Properly handle non GST_FORMAT_TIME segment
813 This function is valid if the accumulator is 0 and the format
814 is different from the requested format.
816 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
818 * docs/gst/gstreamer-sections.txt:
819 Add gst_query_new_seeking and gst_query_parse_seeking to the
822 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
824 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
825 Treat a pad alloc with new caps the same as if we were not
826 negotiated, in order to allow a changing upstream output
827 to produce a new format of data.
829 2005-11-29 Edward Hervey <edward@fluendo.com>
831 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
832 (gst_base_transform_event), (gst_base_transform_eventfunc):
833 The event virtual method is now properly implemented, with a default
835 Sub classes should call the parent_class event method. They should
836 return FALSE if they had a problem handling the given event, or don't
837 want GstBaseTransform to send that even downstream
838 * gst/elements/gstidentity.c: (gst_identity_class_init),
839 (gst_identity_init), (gst_identity_event),
840 (gst_identity_transform_ip), (gst_identity_set_property),
841 (gst_identity_get_property):
842 * gst/elements/gstidentity.h:
843 Added the single-segment boolean property.
844 If set to TRUE, it will output a single segment of data, starting from
845 0, will eat up all incoming newsegment, and modify the timestamp of the
848 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
850 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
851 Don't ref NULL target pad (#322751). Improve docs.
853 2005-11-29 Michael Smith <msmith@fluendo.com>
855 * gst/gstregistryxml.c: (load_plugin):
856 Don't crash if we failed to load a feature from a plugin.
858 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
860 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
862 use more check API and less GLib API
864 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
867 don't run checks if we don't have check
869 remove the registry when running make torture
870 * docs/gst/gstreamer-sections.txt:
871 remove second multiply
872 * gst/gstqueue.c: (gst_queue_loop):
873 fix a compile warning when disabling debug
875 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
878 Hey! Let's print the pad name if the pointer != NULL instead
879 of when it == NULL :-)
881 2005-11-28 Wim Taymans <wim@fluendo.com>
883 * check/gst/gstutils.c: (GST_START_TEST):
884 Updated check, add some scaling accuracy checking code.
886 * gst/gstutils.c: (gst_util_div128_64),
887 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
888 (gst_util_uint64_scale_int):
889 Fix 6 times faster division code. Optimize for common
890 1/1 and less common X/1 cases.
892 2005-11-28 Wim Taymans <wim@fluendo.com>
894 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
897 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
898 (do_linear_regression), (gst_clock_add_observation):
900 Release lock when the clock cannot be slaved.
901 Catch the case where the regression returned an invalid denominator.
903 * gst/gstutils.c: (gst_util_div128_64_iterate),
904 (gst_util_div128_64), (gst_util_uint64_scale_int64),
905 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
906 Add protentially more performant non-iterative 128/64 divide function
907 that unfortunatly does not work yet.
908 Shortcut the trivial 0/X = 0 case.
909 Remove the warnings on overflow.
911 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
913 * gst/gstplugin.c: (gst_plugin_register_func):
914 everything causing a plugin not to load should be at least a WARNING
916 2005-11-28 Stefan Kost <ensonic@users.sf.net>
918 * docs/random/ensonic/dparams.txt:
919 some TODOs for the next dev cycle
920 * libs/gst/controller/gstcontroller.c:
921 (gst_controlled_property_set_interpolation_mode),
922 (gst_controlled_property_new):
923 * libs/gst/controller/gstcontroller.h:
924 use base type to assign acccessor functions
926 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
929 Oops, that should have been top_srcdir
931 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
934 * check/elements/fdsrc.c: (GST_START_TEST):
935 Use a cmdline define to specify the location of a file to use for
936 testing, to avoid breaking distcheck.
938 2005-11-28 Andy Wingo <wingo@pobox.com>
940 * gst/gstpad.c (fixate_value): Use array functions for arrays.
942 2005-11-28 Edward Hervey <edward@fluendo.com>
944 * tools/gst-launch.c: (main):
945 Clarify the output strings, makes it easier to translate.
948 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
951 don't try and build net if we don't even have <sys/socket.h>
953 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
956 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
957 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
958 Add tests for fdsrc seekability
960 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
961 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
962 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
963 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
964 * gst/elements/gstfdsrc.h:
965 fdsrc should not be a 'live' source.
966 Implement seeking on seekable fd's.
968 * gst/gstquery.c: (gst_query_new_seeking),
969 (gst_query_parse_seeking):
971 Implement SEEKING query functions:
972 *_new_seeking and *_parse_seeking
974 2005-11-27 Stefan Kost <ensonic@users.sf.net>
976 * gst/gstelement.c: (gst_element_dispose):
980 * gst/gststructure.c:
983 * libs/gst/controller/gstcontroller.c:
984 (gst_controlled_property_set_interpolation_mode):
985 * libs/gst/controller/gstcontroller.h:
986 * libs/gst/controller/gstinterpolation.c:
987 (interpolate_none_get_enum_value_array):
988 support controlling enums
990 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
993 Improve documentation for gst_value_union().
996 Change return value for union, intersect and subtract functions
997 from gint to gboolean.
999 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1001 * gst/gstvalue.c: (gst_value_serialize_any_list),
1002 (gst_value_transform_any_list_string),
1003 (gst_value_deserialize_list), (gst_value_deserialize_array),
1004 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1005 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1006 (gst_value_set_fraction_range_full),
1007 (gst_value_deserialize_fraction_range),
1008 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1009 (gst_value_deserialize_boolean),
1010 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1011 (gst_value_serialize_float), (gst_value_deserialize_float),
1012 (gst_string_wrap), (gst_value_deserialize_string),
1013 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1014 (gst_value_union_int_range_int_range),
1015 (gst_value_intersect_int_range_int_range),
1016 (gst_value_intersect_double_range_double_range),
1017 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1018 (gst_value_subtract_int_range_int_range),
1019 (gst_value_subtract_double_double_range),
1020 (gst_value_subtract_double_range_double_range),
1021 (gst_value_deserialize_fraction):
1023 Use gint, gdouble and gchar in our API instead of int, double and
1024 char (and make usage in gstvalue.c more consistent).
1026 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1028 * check/Makefile.am:
1029 * libs/gst/controller/Makefile.am:
1030 * libs/gst/dataprotocol/Makefile.am:
1031 fix up Makefile.am and remove GST_ENABLE_NEW
1033 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1037 * gst/base/Makefile.am:
1038 * gst/check/Makefile.am:
1039 * gst/elements/Makefile.am:
1040 * gst/net/Makefile.am:
1041 update LDFLAGS use some more
1043 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1045 * common/m4/gst-doc.m4:
1048 2005-11-26 Edward Hervey <edward@fluendo.com>
1050 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1051 This shouldn't issue a g_warning since it returns NULL if it
1052 couldn't find the plugin, and all functions using this behave
1053 properly on a NULL return. Switching to a GST_WARNING.
1055 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1057 * gst/gstbin.c: (gst_bin_handle_message_func):
1058 Don't leak clock messages.
1060 2005-11-25 Wim Taymans <wim@fluendo.com>
1062 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1063 (gst_util_uint64_scale_int):
1064 Optimisations, remove unneeded vars.
1066 2005-11-25 Wim Taymans <wim@fluendo.com>
1068 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1069 Added more checks for the high precision uint64 cases.
1071 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1072 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1073 Implement high precision (guint64 * guint64) / guint64.
1075 2005-11-24 Wim Taymans <wim@fluendo.com>
1077 * gst/base/gstbasesrc.c: (gst_base_src_query):
1078 Fix wrong percentage query.
1080 * gst/gstutils.c: (gst_util_uint64_scale),
1081 (gst_util_uint64_scale_int):
1082 Add some more common cases that can be handled
1083 efficiently to _scale.
1085 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1087 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1088 (gst_mini_object_suite):
1089 don't use check calls from threads; check probably isn't
1090 threadsafe and using a lock to make it threadsafe would
1091 defeat the purpose of this check
1092 * gst/check/gstcheck.c:
1093 * gst/check/gstcheck.h:
1094 use GST_DEBUG some more
1096 2005-11-24 Wim Taymans <wim@fluendo.com>
1098 * gst/gstutils.c: (gst_util_uint64_scale),
1099 (gst_util_uint64_scale_int):
1100 Chain trivial case to _scale_int.
1102 2005-11-24 Wim Taymans <wim@fluendo.com>
1104 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1105 Added test for scaling.
1110 * gst/gstutils.c: (gst_util_uint64_scale_int):
1111 Implemented high precision scaling code.
1113 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1116 do not crash on pad==NULL
1118 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1120 Patch by: Stefan Kost
1122 * common/gtk-doc.mak:
1123 * docs/gst/Makefile.am:
1124 * docs/libs/Makefile.am:
1125 Fix distcheck issues for the libraries docs build
1128 2005-11-24 Michael Smith <msmith@fluendo.com>
1130 * docs/manual/basics-helloworld.xml:
1131 Fix bug #315027: memory leak in example code in docs.
1133 2005-11-24 Michael Smith <msmith@fluendo.com>
1135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1136 Unlock the PREROLL_LOCK in a failure case.
1138 2005-11-24 Wim Taymans <wim@fluendo.com>
1140 * docs/gst/gstreamer-sections.txt:
1141 * gst/base/gstadapter.h:
1142 * gst/base/gstbasesink.h:
1143 * gst/base/gstbasesrc.h:
1144 * gst/base/gstbasetransform.h:
1145 * gst/base/gstpushsrc.h:
1146 * gst/elements/gstfakesink.h:
1147 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1148 * gst/elements/gstfakesrc.h:
1149 * gst/elements/gstfilesink.h:
1150 * gst/elements/gstfilesrc.h:
1153 * gst/gstbuffer.c: (_gst_buffer_copy):
1156 * gst/gstchildproxy.c:
1159 * gst/gstelementfactory.c:
1160 * gst/gstelementfactory.h:
1162 * gst/gstghostpad.h:
1164 * gst/gstinterface.h:
1165 * gst/gstminiobject.c:
1166 * gst/gstminiobject.h:
1169 * gst/gstpadtemplate.h:
1170 * gst/gstpipeline.h:
1171 * gst/gstpluginfeature.h:
1176 * gst/gsttagsetter.c:
1177 * gst/gsttagsetter.h:
1180 * gst/gsttypefind.h:
1183 * gst/net/gstnetclientclock.c:
1184 * gst/net/gstnetclientclock.h:
1185 * gst/net/gstnettimepacket.c:
1186 * gst/net/gstnettimeprovider.c:
1187 * gst/net/gstnettimeprovider.h:
1190 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1192 * configure.ac: back to HEAD
1194 === release 0.9.6 ===
1196 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1199 releasing 0.9.6, "Always On Time"
1201 2005-11-23 Wim Taymans <wim@fluendo.com>
1203 * docs/gst/gstreamer-sections.txt:
1204 * gst/glib-compat.c:
1205 * gst/gsttagsetter.c:
1207 * gst/net/gstnetclientclock.c:
1208 * gst/net/gstnettimepacket.h:
1211 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1213 * docs/faq/using.xml:
1214 * docs/libs/tmpl/gstcontrol.sgml:
1215 * docs/manual/advanced-dparams.xml:
1216 * docs/manual/appendix-checklist.xml:
1217 * docs/manual/basics-elements.xml:
1218 * docs/pwg/other-source.xml:
1219 * docs/random/moving-plugins:
1221 * tools/gst-launch.1.in:
1222 remove mentions of sinesrc
1224 2005-11-23 Michael Smith <msmith@fluendo.com>
1226 * docs/gst/gstreamer-sections.txt:
1227 Update for new API and API changes.
1229 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1231 Documentation typo fix.
1232 * gst/net/gstnettimepacket.c:
1233 Documentation fixes for arguments.
1235 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1237 * gst/gststructure.c: (gst_structure_get_fraction),
1238 (gst_structure_parse_value),
1239 (gst_structure_fixate_field_nearest_fraction):
1240 * gst/gststructure.h:
1241 * gst/gstutils.c: (gst_util_uint64_scale_int):
1243 * scripts/update-funcnames:
1245 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1246 Make gst_structure_fixate_field_nearest_fraction take a numerator
1247 and denominator argument instead of a GValue
1248 add gst_structure_get_fraction helper function.
1250 2005-11-23 Wim Taymans <wim@fluendo.com>
1252 * docs/design/part-TODO.txt:
1255 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1256 * gst/net/gstnetclientclock.h:
1257 Use parent fields for timeout and window_size.
1259 2005-11-23 Andy Wingo <wingo@pobox.com>
1261 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1262 rate_num/rate_denom change.
1264 * gst/net/gstnetclientclock.c
1265 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1266 OBJECT_LOCK. Don't call add_observation with the lock.
1268 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1270 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1272 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1273 deal with rate as a fraction whose numerator and denominator are
1274 GstClockTime values.
1275 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1276 master; the other fields are protected by the SLAVE_LOCK.
1277 (do_linear_regression): Note that this must be called with the
1279 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1280 OBJECT_LOCK. Call set_calibration instead of touching the
1282 (gst_clock_set_property, gst_clock_get_property): Protect
1283 master/slave parameters with the SLAVE_LOCK.
1285 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1286 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1287 note that all of the instance variables that add_observation and
1288 the set_master functions use are protected by that lock and not
1290 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1292 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1293 the caller to take the object lock.
1295 2005-11-23 Wim Taymans <wim@fluendo.com>
1297 * gst/gsterror.c: (_gst_core_errors_init):
1299 Add error for clock stuff.
1301 * gst/gstpipeline.c: (gst_pipeline_change_state),
1302 (gst_pipeline_set_clock):
1303 Post clock error when clock cannot be used in a pipeline.
1305 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1307 * docs/gst/gstreamer-sections.txt:
1308 make two symbols from gstinfo private for the docs
1309 * gst/base/gstcollectpads.h:
1311 fix doc typos, update docs
1313 2005-11-22 Wim Taymans <wim@fluendo.com>
1315 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1316 (gst_base_sink_wait), (gst_base_sink_do_sync),
1317 (gst_base_sink_handle_event):
1318 * gst/base/gstbasesink.h:
1319 No need to store the clock, the parent element class already
1322 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1323 Updates for clock_set returning a gboolean
1325 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1326 (gst_clock_id_wait_async), (gst_clock_class_init),
1327 (gst_clock_init), (gst_clock_finalize),
1328 (gst_clock_get_internal_time), (gst_clock_get_time),
1329 (gst_clock_slave_callback), (gst_clock_set_master),
1330 (gst_clock_get_master), (do_linear_regression),
1331 (gst_clock_add_observation), (gst_clock_set_property),
1332 (gst_clock_get_property):
1334 Implement master/slave. When setting a clock as a slave, a
1335 periodic timeout is scheduled to sample master and slave times.
1336 Then the slave clock is recalibrated to match offset and rate
1337 of the master clock.
1338 Update logging a bit.
1339 Add flag so that a clock can state that is cannot be slaved to
1342 * gst/gstelement.c: (gst_element_set_clock):
1344 The set clock returns a gboolean for when an element cannot
1345 deal with the selected clock in the pipeline.
1347 * gst/gstpipeline.c: (gst_pipeline_change_state),
1348 (gst_pipeline_set_clock):
1349 * gst/gstpipeline.h:
1350 Handle the case where the selected clock cannot be set on
1353 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1354 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1355 (gst_net_client_clock_set_property),
1356 (gst_net_client_clock_get_property),
1357 (gst_net_client_clock_observe_times):
1358 * gst/net/gstnetclientclock.h:
1359 Use regression code in GstClock parent, remove duplicated
1362 2005-11-22 Michael Smith <msmith@fluendo.com>
1364 * gst/gstutils.c: (gst_util_clock_time_scale):
1366 * docs/gst/gstreamer-sections.txt:
1367 Rename method to have extra underscore.
1369 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1371 * gst/elements/Makefile.am:
1372 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1373 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1374 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1375 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1376 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1377 * gst/elements/gstfakesrc.h:
1378 * gst/gstqueue.c: (queue_leaky_get_type):
1379 correctly fix GEnumValues so that nick is the short lowercase
1381 * tools/gst-inspect.c: (print_element_properties_info):
1382 also show the nick, since it's useful to use from parse_launch
1386 2005-11-22 Michael Smith <msmith@fluendo.com>
1388 * gst/gstutils.c: (gst_util_clocktime_scale):
1390 * docs/gst/gstreamer-sections.txt:
1391 Add util method for scaling a clocktime by a fraction. Useful
1392 implementation is left as an exercise for the reader.
1394 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1396 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1397 If needed, allocate storage in the destination value during
1400 2005-11-22 Edward Hervey <edward@fluendo.com>
1402 * docs/gst/gstreamer-sections.txt:
1407 * gst/gstutils.c: (gst_util_set_object_arg):
1408 * tools/gst-compprep.c: (main):
1409 * tools/gst-inspect.c: (print_element_properties_info):
1410 Removed GstURI, closes bug #321061
1412 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1414 * check/gst/gststructure.c: (GST_START_TEST):
1415 * gst/gststructure.c: (gst_structure_parse_value):
1416 Oops, broke automatic string type parsing.
1417 Add a test to catch it in future.
1419 2005-11-22 Andy Wingo <wingo@pobox.com>
1421 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1422 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1423 Actually rename the function implementations. Grr.
1425 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1427 * check/gst/capslist.h:
1429 * check/gst/gststructure.c: (GST_START_TEST),
1430 (gst_structure_suite):
1431 Test automatic value type detection in gst_structure_from_string.
1432 * gst/gststructure.c: (gst_structure_parse_value):
1433 Add fraction as a type we try and guess automatically in
1434 caps/structure strings.
1436 2005-11-22 Andy Wingo <wingo@pobox.com>
1438 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1440 * gst/gsttagsetter.h:
1441 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1442 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1443 (gst_tag_setter_add_tag_valist)
1444 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1445 _add_values, _add_valist, and _add_valist_values. Since this is an
1446 interface the function suffixes should be more explicit so
1447 language binding don't end up with element.add_valist ->
1448 gst_tag_setter_add_valist, for example. Fixes #322069.
1450 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1452 * check/gst/gstcaps.c: (GST_START_TEST):
1453 Extend caps string tests to check that a caps to string
1454 conversion is reversible and produces the same caps.
1456 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1457 Output "fraction" as the generic type fraction range, so caps
1458 serialisation and deserialisation works.
1459 * check/gst/capslist.h:
1460 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1461 Support 'MIN' and 'MAX' for deserialising fractions.
1463 2005-11-22 Andy Wingo <wingo@pobox.com>
1465 * gst/gstevent.h (gst_event_new_new_segment)
1466 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1467 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1468 Renamed from *_newsegment, *_buffersize, *_notarget.
1470 * scripts/update-funcnames: New script, performs the changes
1473 2005-11-22 Wim Taymans <wim@fluendo.com>
1475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1476 Make sure the GstFlowReturn is returned.
1478 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1479 (gst_bus_add_signal_watch):
1481 add gst_bus_add_signal_watch_full.
1483 * gst/gstplugin.c: (gst_plugin_load_file):
1484 Small style cleanup.
1486 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1488 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1489 Block the fakesrc srcpad when we send an event, to avoid
1490 contention on the stream_lock causing random test failures.
1492 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1494 * check/gst/gstvalue.c: (GST_START_TEST):
1495 * gst/gstvalue.c: (gst_value_fraction_subtract):
1498 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1501 include "gstchildproxy.h"
1502 * gst/gstchildproxy.h:
1503 * libs/gst/controller/gstcontroller.h:
1504 use G_GNUC_NULL_TERMINATED
1506 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1508 * check/gst/capslist.h:
1509 * check/gst/gstcaps.c: (GST_START_TEST):
1510 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1511 * gst/gststructure.c: (gst_structure_parse_range),
1512 (gst_structure_fixate_field_nearest_fraction):
1513 * gst/gststructure.h:
1514 * gst/gstvalue.c: (gst_value_init_fraction_range),
1515 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1516 (gst_value_collect_fraction_range),
1517 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1518 (gst_value_set_fraction_range_full),
1519 (gst_value_get_fraction_range_min),
1520 (gst_value_get_fraction_range_max),
1521 (gst_value_serialize_fraction_range),
1522 (gst_value_transform_fraction_range_string),
1523 (gst_value_compare_fraction_range),
1524 (gst_value_deserialize_fraction_range),
1525 (gst_value_intersect_fraction_fraction_range),
1526 (gst_value_intersect_fraction_range_fraction_range),
1527 (gst_value_subtract_fraction_fraction_range),
1528 (gst_value_subtract_fraction_range_fraction),
1529 (gst_value_subtract_fraction_range_fraction_range),
1530 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1531 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1532 (gst_value_transform_string_fraction), (_gst_value_initialize):
1534 Implement fraction ranges and extend GstFraction to support
1535 arithmetic subtraction, as well as deserialization from integer
1536 strings such as "100"
1537 Add a testsuite as for int and double range set operations
1539 2005-11-21 Andy Wingo <wingo@pobox.com>
1543 * gst/gststructure.h: Add glib-compat.h.
1545 2005-11-21 Wim Taymans <wim@fluendo.com>
1547 * gst/gstbin.c: (gst_bin_change_state_func):
1550 2005-11-21 Wim Taymans <wim@fluendo.com>
1553 And add a nice define too.
1555 2005-11-21 Wim Taymans <wim@fluendo.com>
1557 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1558 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1559 (gst_segment_set_duration), (gst_segment_set_last_stop),
1560 (gst_segment_set_seek), (gst_segment_set_newsegment),
1561 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1564 Make binding friendly.
1566 2005-11-21 Andy Wingo <wingo@pobox.com>
1568 * gst/gsttagsetter.h:
1570 * gst/gststructure.h:
1572 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1575 * gst/gsterror.c (_gst_core_errors_init):
1576 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1579 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1580 (noinst_HEADERS): noinst the -private.
1582 2005-11-21 Michael Smith <msmith@fluendo.com>
1585 * gst/gstregistry.h:
1586 Remove unimplemented declarations for which we can see no sensible
1589 2005-11-21 Andy Wingo <wingo@pobox.com>
1591 * gst/gst.h: Include glib-compat.h.
1593 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1595 * gst/glib-compat.c: Include the public and the private header.
1597 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1601 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1603 * check/gst/gstevent.c (create_custom_events): Check that
1604 FLUSH_STOP is serialized.
1606 * check/elements/identity.c (event_func):
1607 * check/elements/fakesrc.c (event_func): No stream lock, the core
1610 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1611 stream lock taking, yay.
1613 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1614 ensure that core takes the stream lock.
1616 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1619 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1620 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1621 it already. For the flush start we do take it though so we get the
1622 right preroll state change messages.
1624 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1625 the stream lock here, the core does it for us.
1627 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1628 GST_STREAM_GET_LOCK.
1629 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1630 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1631 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1632 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1633 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1634 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1636 * gst/gstpad.c: Update for stream lock name change.
1638 * gst/base/gstbasesink.c: Update for preroll lock name change.
1640 2005-11-21 Wim Taymans <wim@fluendo.com>
1642 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1643 (gst_clock_get_master):
1645 * gst/gstsystemclock.c: (gst_system_clock_init):
1646 Convert Clock flags to object flags.
1647 Added methods to manage master/slave clocks.
1649 2005-11-21 Wim Taymans <wim@fluendo.com>
1651 * check/gst/gstsegment.c: (GST_START_TEST):
1652 * docs/design/part-TODO.txt:
1653 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1654 (gst_base_sink_event), (gst_base_sink_do_sync),
1655 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1656 (gst_base_sink_query), (gst_base_sink_change_state):
1657 * gst/base/gstbasesink.h:
1658 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1659 (gst_base_src_default_newsegment),
1660 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1661 (gst_base_src_get_range), (gst_base_src_loop),
1662 (gst_base_src_change_state):
1663 * gst/base/gstbasesrc.h:
1664 * gst/base/gstbasetransform.c:
1665 (gst_base_transform_prepare_output_buf),
1666 (gst_base_transform_event), (gst_base_transform_change_state):
1667 * gst/base/gstbasetransform.h:
1668 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1669 (gst_collect_pads_event):
1670 * gst/base/gstcollectpads.h:
1671 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1672 (gst_fake_src_create):
1673 * gst/elements/gstfakesrc.h:
1674 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1675 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1676 (gst_segment_set_last_stop), (gst_segment_set_seek),
1677 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1678 (gst_segment_to_running_time), (gst_segment_clip):
1680 More segment updates, replace code in plugins with segment
1683 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1685 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1686 Don't ignore sscanf results
1688 2005-11-21 Andy Wingo <wingo@pobox.com>
1690 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1693 * *.c: Ran scripts/update-macros. Oh yes.
1695 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1696 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1699 * scripts/update-macros: New script. Run it on your files to
1700 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1703 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1705 * docs/gst/Makefile.am:
1706 * docs/gst/gstreamer-docs.sgml:
1707 * docs/gst/gstreamer-sections.txt:
1708 * docs/gst/gstreamer.types:
1710 more docs fixes, add new api to the docs
1712 2005-11-21 Andy Wingo <wingo@pobox.com>
1714 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1715 state_broadcast call.
1717 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1719 2005-11-21 Julien MOUTTE <julien@moutte.net>
1721 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1722 function calls for arrays.
1724 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1726 * docs/random/ensonic/media-device-daemon.txt:
1727 wild idea, can this be done?
1728 * docs/gst/gstreamer-sections.txt:
1733 * gst/gstpluginfeature.c:
1737 doc fixes and additions
1739 2005-11-21 Andy Wingo <wingo@pobox.com>
1741 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1742 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1743 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1744 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1745 private to the basesrc implementation.
1747 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1748 behalf of event function if necessary. It should no longer be
1749 necessary to take the stream lock in pad's event functions. Fixes
1752 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1753 * docs/gst/gstreamer-sections.txt:
1754 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1755 (gst_structure_fixate_field_nearest_double),
1756 (gst_structure_fixate_field_boolean):
1757 * gst/gststructure.h:
1758 * win32/common/libgstreamer.def:
1759 * win32/gstreamer.def:
1761 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1764 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1766 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1767 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1768 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1769 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1770 (gst_fdsrc_uri_handler_init):
1771 * gst/elements/gstfdsrc.h:
1772 Port fd:// URI handler from 0.8 to fdsrc
1774 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1776 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1777 (gst_value_serialize_fourcc):
1779 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1780 consistent with our other format defines (#320324).
1782 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1784 * gst/gstvalue.c: (gst_value_is_fixed):
1785 Revert previous commit. Value lists are by definition
1786 not fixed, as they are a list of possible values.
1788 2005-11-21 Andy Wingo <wingo@pobox.com>
1790 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1791 during the stable series if we need it. Fixes #319178.
1793 * gst/gstevent.c (gst_event_new_filler): Removed.
1795 * check/gst/gstevent.c: Update comment about filler events.
1797 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1799 * gst/gstvalue.c: (gst_value_is_fixed):
1800 Should handle both value arrays and value lists.
1802 2005-11-21 Andy Wingo <wingo@pobox.com>
1804 patch by: Alessandro Dessina <alessandro nnva org>
1806 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1807 functions to access arrays. Fixes #321962.
1809 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1811 * docs/gst/gstreamer.types:
1812 gst_collectpads_get_type => gst_collect_pads_get_type.
1814 * gst/base/gstbasetransform.c:
1815 Remove unused SIGNAL_HANDOFF enum.
1817 2005-11-21 Andy Wingo <wingo@pobox.com>
1819 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1820 the event type (upstream, downstream, serialized). Renamed
1821 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1822 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1823 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1825 * gst/gstevent.c: Update for new CUSTOM event names.
1827 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1830 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1833 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1835 * docs/gst/gstreamer-sections.txt:
1836 * win32/common/libgstbase.def:
1837 * win32/libgstbase.def:
1838 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1839 (gst_collect_pads_class_init), (gst_collect_pads_init),
1840 (gst_collect_pads_finalize), (gst_collect_pads_new),
1841 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1842 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1843 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1844 (gst_collect_pads_start), (gst_collect_pads_stop),
1845 (gst_collect_pads_peek), (gst_collect_pads_pop),
1846 (gst_collect_pads_available), (gst_collect_pads_read),
1847 (gst_collect_pads_flush), (gst_collect_pads_event),
1848 (gst_collect_pads_chain):
1849 * gst/base/gstcollectpads.h:
1850 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1851 unimplemented functions as unimplemented. Add padding to
1852 GstCollectData. (#320766, #320423)
1854 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1857 Improve docs for DURATION message (usage of duration parameter)
1860 2005-11-20 Wim Taymans <wim@fluendo.com>
1862 * check/Makefile.am:
1863 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1867 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1868 (gst_segment_set_seek), (gst_segment_set_newsegment),
1869 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1872 Added segment helper structure and methods. Not fully implemented
1874 Added segment check.
1876 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1878 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1879 Add a deserialisation test for fractions
1880 * examples/metadata/read-metadata.c: (message_loop),
1881 (make_pipeline), (main):
1882 Fix up metadata reading sample.
1883 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1885 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1886 Don't try and fixate empty caps
1887 * gst/gst_private.h:
1888 Wrap in G_BEGIN_DECLS/G_END_DECLS
1889 * gst/gstvalue.c: (gst_value_collect_fraction),
1890 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1891 (gst_value_transform_string_fraction),
1892 (gst_value_compare_fraction):
1893 Add some extra guards to ensure that we don't end up
1894 with an invalid denominator of 0 in a gstfraction and
1895 that fractions always get reduced.
1897 2005-11-20 Wim Taymans <wim@fluendo.com>
1899 * docs/gst/gstreamer-sections.txt:
1910 2005-11-20 Wim Taymans <wim@fluendo.com>
1912 * docs/design/part-TODO.txt:
1914 Make a proper enum of the flag.
1916 2005-11-19 Wim Taymans <wim@fluendo.com>
1918 * docs/design/part-TODO.txt:
1919 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1920 (gst_format_to_quark), (gst_format_register):
1922 * gst/gstquery.c: (_gst_query_initialize),
1923 (gst_query_type_get_name), (gst_query_type_to_quark),
1924 (gst_query_type_register):
1926 Add type to quark and type to string conversions.
1928 2005-11-19 Andy Wingo <wingo@pobox.com>
1930 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1933 2005-11-19 Wim Taymans <wim@fluendo.com>
1935 * docs/design/part-TODO.txt:
1936 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1937 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1938 (gst_bin_handle_message_func):
1940 Make message handling overridable.
1942 2005-11-19 Andy Wingo <wingo@pobox.com>
1944 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1947 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1949 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1950 is a GstClockTime. Fixes #321710.
1952 * gst/gstclock.h (GstClock): Remove offset property. Add
1953 internal_calibration and external_calibration. Fix padding. Pad
1954 also by GstClockTime so we don't run into problems.
1956 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1957 (gst_clock_get_rate_offset): Remove.
1958 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1961 * gst/gstutils.c (g_static_rec_cond_wait)
1962 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1964 * gst/gstbin.c: Remove terrible continue_state prototype.
1966 * gst/gstelement.h (gst_element_continue_state): Make public.
1969 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1970 by continue_state. Fixes #319389.
1972 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1973 Really fixes #168438. However I don't see anywhere where the
1974 filter function is called... stupid GStreamer...
1976 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1977 don't have a dispose function, so it won't get called when the
1978 object is unreffed, but oh well!
1980 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1981 allows a destroy function to be set so user_data can be freed.
1983 (gst_index_set_filter): Call gst_index_set_filter_full.
1985 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1987 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1988 string should produce an error, given the lack of a way to
1989 represent NULL strings. Fixes #165650.
1992 * gst/gstvalue.c (gst_value_array_append_value)
1993 (gst_value_array_prepend_value, gst_value_array_get_size)
1994 (gst_value_array_get_value): New API, copied from
1995 gst_value_list_*, only operates on arrays.
1996 (gst_value_list_append_value, gst_value_list_prepend_value)
1997 (gst_value_list_concat, gst_value_list_get_size)
1998 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2000 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2001 init_list, because it works on both.
2002 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2003 (gst_value_copy_list_or_array): Renamed from copy_list.
2004 (gst_value_free_list_or_array): Renamed from free_list.
2005 (gst_value_collect_list_or_array): Renamed from collect_list.
2006 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2007 (gst_value_list_or_array_peek_pointer): Renamed from
2009 (_gst_value_array_value_table, _gst_value_list_value_table):
2010 Update value table functions.
2011 (gst_value_compare_list_or_array): Renamed from compare_list.
2013 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2017 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2018 GstTagList*. Fixes #143472.
2020 * gst/gststructure.h: Clarify what the foreach/map functions can
2021 or can't do to their arguments.
2023 2005-11-18 Wim Taymans <wim@fluendo.com>
2025 * gst/gstclock.c: (gst_clock_set_calibration),
2026 (gst_clock_get_calibration):
2028 Calibration can be set with internal time equal to current
2031 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2037 2005-11-18 Andy Wingo <wingo@pobox.com>
2040 * pkgconfig/gstreamer-net.pc.in:
2041 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2042 * pkgconfig/Makefile.am: Add net pkgconfig files.
2044 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2047 * gst/gstghostpad.c:
2053 2005-11-18 Andy Wingo <wingo@pobox.com>
2055 * gst/net/gstnetclientclock.c: Turn off debugging.
2057 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2058 times connverge somewhat. Can't make a real test.
2060 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2061 integer arithmetic. Return the minimum of the domain, which can be
2062 set as "internal" for gst_clock_set_calibration.
2063 (gst_net_client_clock_observe_times): Call _set_calibration.
2064 (gst_net_client_clock_new): Call _set_calibration instead of
2067 * check/net/gstnetclientclock.c (test_functioning): Use the right
2071 * gst/gstclock.c (gst_clock_get_calibration)
2072 (gst_clock_set_calibration): New functions, obsolete the ones I
2073 added yesterday. Doh. Precision issues mean we have to extrapolate
2074 from a point in the more recent past than 1970.
2075 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2077 (gst_clock_adjust_unlocked): Use the right calibration data.
2079 2005-11-18 Edward Hervey <edward@fluendo.com>
2081 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2082 Also reset the ->current_* values in READY->PAUSED
2084 2005-11-18 Andy Wingo <wingo@pobox.com>
2086 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2087 Whoops, check the right fd. Also add some debugging.
2088 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2089 (do_linear_regression): Add a crapload of debugging. Subtract off
2090 the minimum values from the input series to discard unneeded bits.
2091 Use only int arithmetic. There is still double arithmetic when
2092 calculating the intercept that needs fixing. Return boolean to
2093 indicate success; FALSE would mean the domain or range is too
2094 great. Still needs fixes.
2096 2005-11-18 Wim Taymans <wim@fluendo.com>
2098 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2099 For the current position in stream time, we need to subtract
2102 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2103 Release lock before calling the callback function of async
2106 2005-11-18 Andy Wingo <wingo@pobox.com>
2108 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2109 Port goes all the way to MAXUINT16.
2111 * gst/net/gstnettimeprovider.c: Make the port range the same as
2112 for the kernel: 0 assigns, otherwise ports are less than
2115 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2118 * check/net/gstnetclientclock.c (test_functioning): Add the start
2121 2005-11-18 Wim Taymans <wim@fluendo.com>
2123 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2124 (gst_bin_remove_func), (bin_bus_handler):
2126 Removing a clock provider from a bin, triggers a clock lost message
2127 so that a new clock will be selected.
2128 Adding a clock to a bin triggers a clock provider message.
2129 Make sure we reselect a clock when we received a clock lost message.
2130 Keep a reference to the element that provided the clock.
2132 2005-11-18 Andy Wingo <wingo@pobox.com>
2134 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2135 the clock initially so it produces values around the base time.
2136 (gst_net_client_clock_class_init): Typo fix.
2137 (gst_net_client_clock_thread): Add note on when the socket gets
2140 2005-11-17 Wim Taymans <wim@fluendo.com>
2142 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2143 Free remote and local time arrays.
2145 2005-11-17 Wim Taymans <wim@fluendo.com>
2147 * gst/net/gstnetclientclock.c: (do_linear_regression),
2148 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2149 Fix compilation, uninitialized vars and a forgotten continue.
2151 2005-11-17 Andy Wingo <wingo@pobox.com>
2153 * check/Makefile.am (check_PROGRAMS):
2154 * check/net/gstnetclientclock.c: Add a most minimal test for the
2155 net client clock. More to come later.
2158 * gst/net/Makefile.am: Add netclientclock.
2160 * gst/net/gstnetclientclock.h:
2161 * gst/net/gstnetclientclock.c: New files, implement an untested
2162 GstClock that takes its time from a network time provider.
2163 Implements the algorithm in network-clock.scm.
2165 * tests/network-clock.scm (*window-size*): Rename from
2167 * tests/network-clock.scm (network-time):
2168 * tests/network-clock-utils.scm (q-push): Update callers.
2170 2005-11-17 Wim Taymans <wim@fluendo.com>
2172 * gst/gstbin.c: (gst_bin_provide_clock_func),
2173 (gst_bin_sort_iterator_new):
2174 And unref the child too..
2176 2005-11-17 Wim Taymans <wim@fluendo.com>
2178 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2179 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2180 Refactor the sort iterator so it can be used while holding the
2182 Make clock selection select a clock closest to the source.
2184 2005-11-17 Michael Smith <msmith@fluendo.com>
2186 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2187 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2189 Anonymous structs are a gcc (and some other compilers) extension, so
2190 don't use them. Since this is only for ABI-compatibility, and our
2191 API/ABI freeze is over in a few days, this whole thing will only
2192 last a few days, so don't bother trying to think up a meaningful
2193 name for the struct.
2195 2005-11-17 Andy Wingo <wingo@pobox.com>
2197 * gst/gstclock.h (GstClock): Add rate and offset properties,
2198 preserving ABI stability. Add rate/offset accessors. Will file bug
2199 for the freeze break.
2201 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2202 and offset, trying to keep precision and avoiding
2204 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2205 functions. Make gst_clock_set_time_adjust obsolete.
2206 (gst_clock_set_time_adjust): Note that this function is obsolete.
2209 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2210 greppable by using GST_PADDING-1+1.
2212 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2214 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2216 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2217 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2219 * gst/gstpadtemplate.h:
2220 * gst/gstpluginfeature.h:
2221 Don't use c++ style comments in headers (#321638).
2223 2005-11-16 Andy Wingo <wingo@pobox.com>
2225 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2228 * check/net/gstnettimeprovider.c: Check to see that the time
2229 provider actually provides times. Works, yo!
2231 2005-11-16 Wim Taymans <wim@fluendo.com>
2233 * check/Makefile.am:
2236 * check/elements/fakesrc.c: (GST_START_TEST):
2237 Set element to NULL before disposing it.
2239 2005-11-16 Andy Wingo <wingo@pobox.com>
2241 * gst/net/Makefile.am:
2243 * gst/net/gstnettimeprovider.c:
2244 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2245 provider, include it from gstnet.h, and add it to the build.
2247 * gst/net/gstnettimepacket.h:
2248 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2249 sending and receiving.
2251 2005-11-16 Wim Taymans <wim@fluendo.com>
2253 * check/Makefile.am:
2254 Enable valgrind check.
2256 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2257 (gst_fake_src_alloc_buffer):
2260 2005-11-16 Wim Taymans <wim@fluendo.com>
2262 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2263 Call parent finalize too.
2265 2005-11-16 Wim Taymans <wim@fluendo.com>
2267 * check/Makefile.am:
2268 Enable valgrind check that should work fine now.
2270 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2271 * gst/gstqueue.c: (gst_queue_init):
2272 Fix memleaks in pad allocation.
2274 2005-11-16 Andy Wingo <wingo@pobox.com>
2276 * gst/net/Makefile.am:
2277 * gst/net/gstnet.h: New part of core to hold network elements and
2278 objects. Put in core because it exposes API that applications want
2279 to use. The library is named libgstnet-tempname right now because
2280 of the existing libgstnet in gst-plugins-base. Solution is
2281 probably to rename the one in plugins-base; will file a bug for
2284 * gst/net/gstnettimeprovider.c:
2285 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2286 get_time call over the network.
2289 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2291 * check/Makefile.am:
2292 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2293 get additions shortly.
2295 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2297 * gst/gstpad.c: (gst_pad_new_from_static_template):
2299 add gst_pad_new_from_static_template functions
2300 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2301 (gst_check_setup_sink_pad):
2302 * gst/elements/gsttee.c: (gst_tee_init):
2305 2005-11-16 Wim Taymans <wim@fluendo.com>
2307 * gst/gstpad.c: (gst_pad_pause_task):
2308 Removed warning, it's not really an error either.
2310 2005-11-16 Wim Taymans <wim@fluendo.com>
2312 * gst/base/gstbasetransform.c:
2313 (gst_base_transform_prepare_output_buf),
2314 (gst_base_transform_event):
2315 Check if the caps are NULL, this can happen if the element
2316 is shutting down and the pad caps are set to NULL.
2318 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2320 * gst/elements/gsttee.c: (gst_tee_init):
2321 fix pad template leak in tee
2323 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2325 * gst/glib-compat.c: (g_value_dup_gst_object):
2326 * gst/glib-compat.h:
2327 * gst/gstpad.c: (gst_pad_set_property):
2328 use gst_object_ref when setting the pad template; this will
2329 trigger the pad template leaks on GLib 2.6 and the slaves
2331 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2333 * gst/glib-compat.c: (gst_flags_get_first_value):
2334 * gst/glib-compat.h:
2335 * gst/gstregistryxml.c:
2336 remove functions copied from GLib 2.6
2338 2005-11-16 Michael Smith <msmith@fluendo.com>
2341 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2342 do, but only breaks with newer valgrind versions. We're not a
2343 valgrind tool, we have no link-time dependencies on libcoregrind.
2345 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2347 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2352 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2354 * gst/base/gstbasesrc.c: (gst_base_src_init):
2355 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2356 * gst/gstqueue.c: (gst_queue_init):
2357 * gst/gstregistryxml.c: (load_feature):
2358 Revert all these unrefs, they don't even pass make check !
2360 2005-11-15 Johan Dahlin <johan@gnome.org>
2362 * gst/base/gstbasesrc.c: (gst_base_src_init):
2363 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2364 * gst/gstqueue.c: (gst_queue_init):
2365 Free pad templates, fixes a couple of leaks.
2367 2005-11-15 Daniel Fischer <dan at f3c dot com>
2369 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2371 * gst/gstpad.c: (gst_pad_get_property):
2372 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2373 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2376 2005-11-15 Wim Taymans <wim@fluendo.com>
2381 2005-11-15 Andy Wingo <wingo@pobox.com>
2383 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2385 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2386 using GST_CLOCK_TIME_NONE to disable base time management.
2387 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2388 time if it was NONE before.
2389 (gst_pipeline_change_state): Only munge the base time if
2390 stream_time != GST_CLOCK_TIME_NONE.
2392 * check/gst/gstpipeline.c (test_base_time): Punt around the
2393 problem of the probe not being called, because that's not the
2394 issue I'm looking at. Add a check that setting stream_time to NONE
2395 disables base time management.
2397 2005-11-15 Wim Taymans <wim@fluendo.com>
2399 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2400 segment_stop == -1 at startup.
2402 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2403 (gst_base_transform_change_state):
2404 Init segment values at start.
2406 2005-11-15 Wim Taymans <wim@fluendo.com>
2408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2409 0 segment values are 0 in any format.
2411 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2412 * gst/base/gstbasetransform.h:
2413 Parse newsegment correctly in basetransform
2415 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2416 Sync to clock using updated segment values.
2418 2005-11-15 Andy Wingo <wingo@pobox.com>
2420 * check/gst/gstpipeline.c (test_base_time): Add check that the
2421 base time and stream time are reset correctly.
2423 2005-11-15 Wim Taymans <wim@fluendo.com>
2425 * docs/design/part-TODO.txt:
2426 Some more TODO items.
2428 2005-11-15 Andy Wingo <wingo@pobox.com>
2430 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2431 error if the user selected "no clock" as the clocking method.
2433 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2434 timestamps with live capture.
2436 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2437 is 0 but we are a live source, timestamp the buffers using the
2440 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2442 * docs/gst/gstreamer-sections.txt:
2444 * gst/gstghostpad.c:
2449 2005-11-14 Wim Taymans <wim@fluendo.com>
2452 add suppressions from Wim's Debian machine
2454 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2457 add suppressions from Andy's AMD64 Ubuntu machine
2459 2005-11-14 Andy Wingo <wingo@pobox.com>
2461 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2462 STATE_LOCK not necessary. Fixes #311489.
2464 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2467 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2468 this function is not implemented.
2470 2005-11-14 Julien MOUTTE <julien@moutte.net>
2472 * gst/base/gstbasetransform.c:
2473 (gst_base_transform_prepare_output_buf):
2474 Ref the source pad caps while we need them.
2477 2005-11-11 Wim Taymans <wim@fluendo.com>
2479 * docs/gst/gstreamer-sections.txt:
2480 Added some docs for GstCollectData.
2482 * gst/base/gstadapter.c:
2483 Some small code example fix.
2485 * gst/base/gstcollectpads.c:
2486 * gst/base/gstcollectpads.h:
2489 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2491 * configure.ac: back to HEAD
2493 === release 0.9.5 ===
2495 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2498 releasing 0.9.5, "Bike Lunch Day"
2500 2005-11-11 Wim Taymans <wim@fluendo.com>
2502 * gst/gstbuffer.c: (_gst_buffer_copy):
2505 * gst/gstcaps.c: (gst_caps_is_equal):
2507 Make _is_equal fast in the trivial cases.
2509 * gst/gstminiobject.c:
2510 * gst/gstminiobject.h:
2511 More docs. Spifify .h file.
2516 2005-11-11 Wim Taymans <wim@fluendo.com>
2518 * gst/base/gstbasetransform.c:
2519 (gst_base_transform_prepare_output_buf),
2520 (gst_base_transform_handle_buffer):
2522 If we're processing a buffer and need to allocate an output
2523 buffer, we cannot accept a format change. If we did get a
2524 format change, we have to alloc a buffer ourselves of the
2527 2005-11-11 Wim Taymans <wim@fluendo.com>
2529 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2530 While checking the flag for reentrancy in the gstcaps function
2531 is nice to detect recursive invocations, it also makes it
2532 impossible to call getcaps from multiple threads, which must be
2533 possible. So, checking for recursive calls has to go.
2535 2005-11-11 Michael Smith <msmith@fluendo.com>
2537 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2538 Don't sync on buffers that fall partially outside our current
2539 segment. Prevents an assertion failure/abort playing some files.
2541 2005-11-10 Andy Wingo <wingo@pobox.com>
2543 * check/gst/gstbin.c (test_message_state_changed_children): Style
2546 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2547 gst_bus_poll with the signal watch. Ensures that poll and a signal
2548 watch see the same messages.
2550 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2551 a poll and a watch at the same time get the same messages.
2553 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2555 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2556 * gst/gstcaps.c: (gst_caps_intersect):
2557 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2558 and it's not needed.
2560 2005-11-10 Wim Taymans <wim@fluendo.com>
2562 * docs/design/part-TODO.txt:
2565 2005-11-10 Wim Taymans <wim@fluendo.com>
2567 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2568 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2569 (gst_base_src_do_sync), (gst_base_src_get_range):
2570 Implement clock sync in base class.
2572 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2574 patch by: Tim-Philipp Müller <tim at centricular dot net>
2576 * gst/gststructure.c: (gst_structure_parse_field),
2577 (gst_structure_from_string):
2578 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2579 so that gst_parse_launch() can deal with spaces in filtered link
2580 caps (fixes #164479)
2581 * check/gst/capslist.h:
2582 * check/gst/gststructure.c: (GST_START_TEST):
2583 add unit tests for this change
2585 2005-11-10 Wim Taymans <wim@fluendo.com>
2587 * docs/gst/gstreamer-sections.txt:
2590 Fix docs, move some STATE macros to private.
2592 2005-11-10 Wim Taymans <wim@fluendo.com>
2594 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2595 Added check for bug #317341
2599 Some more spiffifying.
2601 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2602 Call peer linkfunction if we are a source pad. Totally fixes
2606 Update docs, source pads should call the peer linkfunction
2607 so they can atomically perform the pad link.
2609 2005-11-09 Wim Taymans <wim@fluendo.com>
2613 Uber-spiffy-spiffify some more.
2615 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2617 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2618 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2619 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2620 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2621 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2622 * gst/gstpad.c: (gst_pad_init):
2623 Use GST_DEBUG_FUNCPTR() more extensively.
2625 2005-11-09 Wim Taymans <wim@fluendo.com>
2627 * gst/gstobject.c: (gst_object_class_init):
2629 Documentation fixes.
2631 2005-11-09 Edward Hervey <edward@fluendo.com>
2633 * gst/gsttypefindfactory.c:
2636 2005-11-09 Edward Hervey <edward@fluendo.com>
2638 * gst/base/gsttypefindhelper.c:
2639 * gst/gsttypefind.c:
2640 * gst/gsttypefind.h:
2643 2005-11-09 Wim Taymans <wim@fluendo.com>
2645 * gst/gstiterator.c:
2652 2005-11-09 Wim Taymans <wim@fluendo.com>
2658 2005-11-09 Wim Taymans <wim@fluendo.com>
2660 * docs/gst/gstreamer-sections.txt:
2661 Moved the message async delivery private lock and cond
2662 to the private section.
2668 2005-11-09 Edward Hervey <edward@fluendo.com>
2670 * docs/gst/gstreamer-sections.txt:
2673 Document GstURIHandler
2675 2005-11-09 Wim Taymans <wim@fluendo.com>
2677 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2678 (gst_iterator_find_custom):
2679 * gst/gstiterator.h:
2682 2005-11-09 Wim Taymans <wim@fluendo.com>
2685 Document another field.
2687 * gst/gststructure.c:
2688 * gst/gststructure.h:
2691 2005-11-09 Wim Taymans <wim@fluendo.com>
2696 2005-11-09 Wim Taymans <wim@fluendo.com>
2698 * docs/gst/gstreamer-sections.txt:
2699 Added some new macros.
2706 2005-11-09 Wim Taymans <wim@fluendo.com>
2708 * docs/design/part-TODO.txt:
2709 Some more items for the TODO
2715 2005-11-09 Andy Wingo <wingo@pobox.com>
2717 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2718 to work on something else now tho...
2720 * gst/base/gstadapter.c: More adapter docs.
2722 * gst/elements/gstfilesink.c (gst_file_sink_start)
2723 (gst_file_sink_stop): New functions, replace the state change
2725 (gst_file_sink_class_init): Hook up the start and stop functions.
2726 (gst_file_sink_base_init): Don't set the state change handler any
2727 more. It was a bit ugly too, being set from here...
2728 (gst_file_sink_get_property, gst_file_sink_set_property):
2730 (gst_file_sink_set_location): More robust check that doesn't call
2733 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2735 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2736 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2738 2005-11-08 Wim Taymans <wim@fluendo.com>
2740 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2741 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2742 (gst_base_sink_chain), (gst_base_sink_change_state):
2743 * gst/base/gstbasesink.h:
2744 * gst/base/gstbasesrc.h:
2747 Avoid excessive typechecking in macros.
2749 * gst/gstminiobject.c: (gst_mini_object_get_type),
2750 (gst_mini_object_init), (gst_mini_object_new),
2751 (gst_mini_object_free):
2752 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2753 (gst_object_finalize):
2754 Remove cruft code, optimize alloc_trace.
2756 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2758 * docs/faq/gst-uninstalled:
2759 fix up PS1 for systems that try to reset it
2761 2005-11-07 Wim Taymans <wim@fluendo.com>
2763 * gst/base/gstbasesrc.c: (gst_base_src_init),
2764 (gst_base_src_get_range):
2765 Set the segment_end to -1 initially. Fixed typefind.
2767 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2769 * gst/base/gstadapter.c:
2770 Debug category should be 'adapter', not 'GstAdapter'.
2772 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2773 (gst_collectpads_class_init), (gst_collectpads_init),
2774 (gst_collectpads_peek), (gst_collectpads_pop),
2775 (gst_collectpads_event), (gst_collectpads_chain):
2776 Add debug category and some debugging output. Use boilerplate
2777 macros. Remove some extraneous words from docs.
2779 2005-11-05 Andy Wingo <wingo@pobox.com>
2781 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2784 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2786 * docs/gst/gstreamer-sections.txt:
2789 * gst/gstminiobject.h:
2794 2005-11-04 Wim Taymans <wim@fluendo.com>
2796 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2797 Small update to stop at the configured segment_end
2800 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2802 * gst/gstregistry.c:
2803 * gst/gstregistry.h:
2806 2005-11-04 Edward Hervey <edward@fluendo.com>
2808 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2809 Check if we are doing a segment seek and have arrived at the
2810 end of that segment.
2812 2005-11-04 Wim Taymans <wim@fluendo.com>
2814 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2815 Don't leak a mutex unlock in case of an error.
2820 2005-11-04 Wim Taymans <wim@fluendo.com>
2822 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2824 Get the context to wake up only once.
2826 2005-11-03 Wim Taymans <wim@fluendo.com>
2828 * check/states/sinks.c: (GST_START_TEST):
2829 Uncomment fixed check.
2831 * docs/design/part-TODO.txt:
2834 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2835 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2836 (gst_base_sink_get_position):
2837 If we are going to PLAYING, post the right pending state
2838 when we post the intermediate paused message.
2840 * gst/gstelement.c: (gst_element_continue_state),
2841 (gst_element_set_state_func), (gst_element_change_state):
2842 Don't post state changes that were between the same state
2845 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2847 * docs/gst/gstreamer-sections.txt:
2850 * gst/gstminiobject.h:
2853 more docs and doc style fixes
2855 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2857 * docs/gst/gstreamer-sections.txt:
2859 * gst/gstminiobject.c:
2862 2005-11-03 Andy Wingo <wingo@pobox.com>
2864 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2865 state-changed messages actually have the right order and the right
2868 2005-11-03 Wim Taymans <wim@fluendo.com>
2870 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2871 Added some more checks. Specifically the case where NO_PREROLL
2872 elements are in the pipeline.
2874 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2875 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2876 (gst_base_sink_get_position):
2877 Post READY->PAUSED state change messages too.
2878 Fix bug where VOID was posted as pending state...
2880 * gst/gstbin.c: (gst_bin_recalc_state):
2881 use _element_continue_state() to continue the state change.
2883 * gst/gstelement.c: (gst_element_continue_state),
2884 (gst_element_commit_state), (gst_element_set_state_func),
2885 (gst_element_change_state), (gst_element_change_state_func):
2886 Lots of state change cleanups, assign the STATE_RETURN in
2887 a new continue_state() function that also propagates the
2888 last return value from a state change to the app.
2889 Update some debug statements with proper category.
2891 2005-11-03 Wim Taymans <wim@fluendo.com>
2893 * docs/design/part-events.txt:
2894 * docs/design/part-gstpipeline.txt:
2895 * docs/design/part-messages.txt:
2896 * docs/design/part-overview.txt:
2897 * docs/design/part-seeking.txt:
2898 * docs/design/part-states.txt:
2899 * docs/design/part-trickmodes.txt:
2900 * docs/manual/advanced-position.xml:
2904 People think !! is ugly, this looks better.
2906 * gst/gstpad.c: (gst_pad_set_blocked_async):
2907 Remove !! since it's fixed elsewhere now.
2909 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2911 * gst/gstminiobject.h:
2913 Add !! to _FLAG_IS_SET macros to make the result boolean.
2915 2005-11-03 Edward Hervey <edward@fluendo.com>
2917 * gst/gstpad.c: (gst_pad_set_blocked_async):
2918 comparing a flag and a gboolean rarely returns coherent results...
2919 Added two characters (!!) to make that work correctly.
2921 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2923 * gst/gstbus.c: (gst_bus_class_init):
2926 * gst/gstqueue.c: (gst_queue_loop):
2927 Don't assume a miniobject that isn't a buffer is an
2928 event (it could be that there is a refcounting
2929 problem somewhere and the pointer is stale and
2930 refers to an already destroyed miniobject).
2932 2005-11-03 Julien MOUTTE <julien@moutte.net>
2934 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2936 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2938 * docs/manual/advanced-position.xml:
2939 Update seek example and explanations to current 0.9 API.
2941 * gst/elements/gsttypefindelement.c:
2942 (gst_type_find_element_activate):
2943 Remove FIXME comment now that the found caps
2946 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2948 * gst/gstregistryxml.c: (load_feature):
2949 Add another GST_STR_NULL instance
2951 2005-11-02 Edward Hervey <edward@fluendo.com>
2953 * gst/gstpad.c: (handle_pad_block):
2954 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2956 2005-11-02 Wim Taymans <wim@fluendo.com>
2961 * gst/gstelement.c: (gst_element_commit_state):
2962 Remove unused value.
2964 * gst/gstiterator.c:
2965 Mention that the returned element is reffed in the docs.
2967 2005-11-02 Wim Taymans <wim@fluendo.com>
2969 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2970 (gst_pad_push), (gst_pad_push_event):
2971 Unlock blocked pads when they are flushed.
2973 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2976 * docs/gst/gstreamer-sections.txt:
2979 * gst/gstregistry.c: (gst_registry_scan_path_level):
2980 fix for a nasty little missed situation where an installed plug-in
2981 which was in the cache did not get overridden by an uninstalled one
2982 which was earlier in the plugin path because the newly created plugin
2983 for the uninstalled one (not in the registry) didn't get its
2984 ->registered set to TRUE
2986 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2988 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2989 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2990 (gst_collectpads_is_active), (gst_collectpads_collect),
2991 (gst_collectpads_collect_range), (gst_collectpads_start),
2992 (gst_collectpads_stop), (gst_collectpads_peek),
2993 (gst_collectpads_pop), (gst_collectpads_available),
2994 (gst_collectpads_read), (gst_collectpads_flush):
2995 Guard public API with assertions.
2998 Fix docs for gst_pad_set_link_function().
3000 2005-11-02 Johan Dahlin <johan@gnome.org>
3002 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3003 Unref found_caps after we used it.
3005 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3007 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3008 Don't try to ref NULL.
3010 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3012 * win32/common/config.h.in:
3013 provide a GST_FUNCTION that just gives a string for now
3015 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3017 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3018 (gst_object_flags_get_type), (register_gst_bin_flags),
3019 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3020 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3021 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3022 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3023 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3024 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3025 (gst_clock_flags_get_type), (register_gst_state),
3026 (gst_state_get_type), (register_gst_state_change_return),
3027 (gst_state_change_return_get_type), (register_gst_state_change),
3028 (gst_state_change_get_type), (register_gst_element_flags),
3029 (gst_element_flags_get_type), (register_gst_core_error),
3030 (gst_core_error_get_type), (register_gst_library_error),
3031 (gst_library_error_get_type), (register_gst_resource_error),
3032 (gst_resource_error_get_type), (register_gst_stream_error),
3033 (gst_stream_error_get_type), (register_gst_event_type),
3034 (gst_event_type_get_type), (register_gst_seek_type),
3035 (gst_seek_type_get_type), (register_gst_seek_flags),
3036 (gst_seek_flags_get_type), (register_gst_format),
3037 (gst_format_get_type), (register_gst_index_certainty),
3038 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3039 (gst_index_entry_type_get_type),
3040 (register_gst_index_lookup_method),
3041 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3042 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3043 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3044 (gst_index_flags_get_type), (register_gst_debug_level),
3045 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3046 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3047 (gst_iterator_result_get_type), (register_gst_iterator_item),
3048 (gst_iterator_item_get_type), (register_gst_message_type),
3049 (gst_message_type_get_type), (register_gst_mini_object_flags),
3050 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3051 (gst_pad_link_return_get_type), (register_gst_flow_return),
3052 (gst_flow_return_get_type), (register_gst_activate_mode),
3053 (gst_activate_mode_get_type), (register_gst_pad_direction),
3054 (gst_pad_direction_get_type), (register_gst_pad_flags),
3055 (gst_pad_flags_get_type), (register_gst_pad_presence),
3056 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3057 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3058 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3059 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3060 (gst_plugin_flags_get_type), (register_gst_rank),
3061 (gst_rank_get_type), (register_gst_query_type),
3062 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3063 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3064 (gst_tag_flag_get_type), (register_gst_task_state),
3065 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3066 (gst_alloc_trace_flags_get_type),
3067 (register_gst_type_find_probability),
3068 (gst_type_find_probability_get_type), (register_gst_uri_type),
3069 (gst_uri_type_get_type), (register_gst_parse_error),
3070 (gst_parse_error_get_type):
3071 * win32/common/gstversion.h:
3074 2005-11-01 Luca Ognibene <luogni@tin.it>
3077 fix docs. popt is dead, long live GOption.
3079 2005-10-31 Wim Taymans <wim@fluendo.com>
3084 2005-10-31 Andy Wingo <wingo@pobox.com>
3088 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3090 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3091 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3092 the possibility of deadlocks here if code calling notify() or
3093 set() has a lock that can be taken in another notify handler (ABBA
3094 with class lock and e.g. python GIL state lock).
3096 2005-10-28 Julien MOUTTE <julien@moutte.net>
3098 * gst/gstbus.c: Doc updates.
3100 2005-10-28 Wim Taymans <wim@fluendo.com>
3102 * docs/design/part-TODO.txt:
3103 * gst/gstiterator.c:
3104 * gst/gstsystemclock.c:
3105 * gst/gstsystemclock.h:
3108 2005-10-28 Edward Hervey <edward@fluendo.com>
3110 * docs/gst/gstreamer-docs.sgml:
3111 * docs/gst/gstreamer-sections.txt:
3112 the GstURIType documentation page is private, it only defines GstURIType
3113 which should be defined in the GstURIHandler page
3115 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3117 * gst/gstbin.c: (gst_bin_class_init):
3120 Documentation updates.
3122 2005-10-28 Wim Taymans <wim@fluendo.com>
3124 * docs/gst/gstreamer-sections.txt:
3127 Documented the clocks.
3129 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3131 * docs/gst/gstreamer-sections.txt:
3132 move some macros to private sections
3133 * gst/gstminiobject.c:
3134 * gst/gstminiobject.h:
3135 add descriptions provided by ds and some more
3137 mark macro as to be removed
3139 2005-10-28 Wim Taymans <wim@fluendo.com>
3141 * docs/design/part-TODO.txt:
3142 Add an item to TODO.
3144 * gst/gstiterator.c: (gst_iterator_fold),
3145 (gst_iterator_find_custom):
3146 * gst/gstiterator.h:
3149 2005-10-28 Wim Taymans <wim@fluendo.com>
3151 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3152 (gst_base_transform_init):
3155 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3156 An EOS event marks the queue as completely filled.
3158 2005-10-27 Wim Taymans <wim@fluendo.com>
3160 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3161 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3162 Some more debugging.
3164 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3165 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3166 (gst_base_transform_event), (gst_base_transform_getrange),
3167 (gst_base_transform_chain):
3168 * gst/base/gstbasetransform.h:
3170 Protect transform and concurrent buffer alloc with a new lock.
3171 Try not to break ABI/API.
3173 2005-10-27 Wim Taymans <wim@fluendo.com>
3175 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3176 (gst_base_src_init), (gst_base_src_query),
3177 (gst_base_src_default_newsegment),
3178 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3179 (gst_base_src_send_event), (gst_base_src_event_handler),
3180 (gst_base_src_pad_get_range), (gst_base_src_loop),
3181 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3182 (gst_base_src_start), (gst_base_src_deactivate),
3183 (gst_base_src_activate_push), (gst_base_src_change_state):
3184 Move some stuff around and cleanup things.
3186 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3188 * gst/base/gstbasesrc.c: (gst_base_src_query):
3189 Add missing break statements.
3191 2005-10-27 Wim Taymans <wim@fluendo.com>
3193 * check/gst/gstbin.c: (GST_START_TEST):
3194 An extra refcount is taken in basesrc.
3196 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3197 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3198 (gst_base_src_loop):
3199 Small cleanups, check for flushing after being unlocked from the
3200 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3201 Don't send out EOS when going to READY.
3203 2005-10-27 Wim Taymans <wim@fluendo.com>
3205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3206 (gst_base_sink_get_position):
3209 * gst/gstbin.c: (message_check), (bin_replace_message),
3210 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3211 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3212 (bin_query_duration_init), (bin_query_duration_fold),
3213 (bin_query_duration_done), (bin_query_generic_fold),
3215 * tools/gst-launch.c: (main):
3218 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3220 * examples/controller/audio-example.c: (main):
3221 * examples/queue/queue.c: (event_loop):
3222 * gst/base/gstbasetransform.h:
3223 * gst/gstelement.c: (gst_element_send_event):
3225 * gst/gstpad.c: (gst_pad_send_event):
3228 changing log priority in error situations
3230 2005-10-25 Wim Taymans <wim@fluendo.com>
3232 * gst/gstbin.c: (message_check), (bin_replace_message),
3233 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3234 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3235 (bin_query_duration_init), (bin_query_duration_fold),
3236 (bin_query_duration_done), (bin_query_generic_fold),
3238 Some doc and debug updates.
3239 Cache previously requested query DURATION for speed. invalidate
3240 cached duration if element posts a DURATION message.
3242 2005-10-25 Wim Taymans <wim@fluendo.com>
3244 * docs/design/part-TODO.txt:
3247 * gst/gstbin.c: (message_check), (bin_replace_message),
3248 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3249 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3250 (bin_query_duration_init), (bin_query_duration_fold),
3251 (bin_query_duration_done), (bin_query_generic_fold),
3253 Handle SEGMENT_START/DONE messages correctly.
3254 More evolved query algorithm that handles duration queries
3257 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3258 (gst_element_get_state_func), (gst_element_abort_state),
3259 (gst_element_commit_state), (gst_element_lost_state):
3260 Some more debugging.
3265 2005-10-25 Wim Taymans <wim@fluendo.com>
3267 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3268 Don't use invalid stream_time.
3270 * gst/gstevent.c: (gst_event_new_newsegment):
3271 stream_time in newsegment cannot be undefined.
3273 2005-10-24 Wim Taymans <wim@fluendo.com>
3278 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3280 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3282 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3284 * docs/libs/tmpl/gstdparam.sgml:
3285 * docs/libs/tmpl/gstdplinint.sgml:
3286 * docs/libs/tmpl/gstdpman.sgml:
3287 * docs/libs/tmpl/gstdpsmooth.sgml:
3288 * docs/libs/tmpl/gstunitconvert.sgml:
3291 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3296 === release 0.9.4 ===
3298 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3301 releasing 0.9.4, "Tyrannosaurus Rex"
3303 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3305 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3306 (gst_file_sink_get_current_offset):
3307 Use fseeko() and ftello() if available. When falling back on
3308 lseek() to get the current offset, fflush() first to make sure
3309 everything is up-to-date and we get the right offset.
3311 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3314 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3315 * gst/gsterror.c: (_gst_stream_errors_init):
3317 * gst/gstqueue.c: (gst_queue_loop):
3319 remove prematurely added error category and clean up the instances
3321 2005-10-21 Wim Taymans <wim@fluendo.com>
3323 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3324 (gst_base_sink_get_position), (gst_base_sink_query),
3325 (gst_base_sink_change_state):
3326 Simply set the right flag when going to playing, that's all
3327 we need to do instead of calling a function inside the object
3328 lock (that could take the lock as well and deadlock)
3330 2005-10-21 Wim Taymans <wim@fluendo.com>
3332 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3333 (gst_base_src_loop):
3334 Don't warn, the peer element knows what to do best when
3335 the seek failed, it might try something else.
3337 2005-10-21 Wim Taymans <wim@fluendo.com>
3339 * gst/base/gstbasesrc.c: (gst_base_src_init),
3340 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3343 2005-10-21 Wim Taymans <wim@fluendo.com>
3345 * docs/design/part-segments.txt:
3348 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3349 Correctly set caps, even on the subbufer.
3351 2005-10-21 Wim Taymans <wim@fluendo.com>
3353 * docs/gst/gstreamer-docs.sgml:
3354 * docs/gst/gstreamer-sections.txt:
3361 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3365 And 2% more doc coverage.
3367 2005-10-21 Andy Wingo <wingo@pobox.com>
3369 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3372 2005-10-20 Wim Taymans <wim@fluendo.com>
3374 * gst/gsterror.c: (gst_error_get_message):
3377 * gst/gststructure.c:
3382 2005-10-20 Wim Taymans <wim@fluendo.com>
3387 Another 1% more coverage.
3389 2005-10-20 Wim Taymans <wim@fluendo.com>
3391 * docs/gst/gstreamer-sections.txt:
3392 * gst/gstelement.c: (gst_element_get_state_func),
3393 (gst_element_abort_state), (gst_element_commit_state),
3394 (gst_element_lost_state):
3396 * gst/gstquery.c: (gst_query_set_position),
3397 (gst_query_parse_position), (gst_query_set_duration),
3398 (gst_query_parse_duration), (gst_query_new_convert):
3400 Yay! 1% more docs coverage.
3402 2005-10-20 Wim Taymans <wim@fluendo.com>
3405 * gst/gstquery.c: (gst_query_set_position),
3406 (gst_query_parse_position), (gst_query_set_duration),
3407 (gst_query_parse_duration), (gst_query_new_convert):
3409 * gst/gstutils.c: (gst_element_query_convert):
3411 Docs and consistency fixes.
3413 2005-10-20 Wim Taymans <wim@fluendo.com>
3419 2005-10-20 Wim Taymans <wim@fluendo.com>
3421 * gst/gstbin.c: (message_check), (bin_replace_message),
3422 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3423 (update_degree), (gst_bin_sort_iterator_next),
3424 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3425 Reworked the message handling a bit, cache the messages instead of
3426 only the senders. alows us to do more in the future.
3428 2005-10-20 Wim Taymans <wim@fluendo.com>
3430 * docs/design/part-TODO.txt:
3433 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3434 (gst_base_sink_query):
3435 Don't use clock time to report position when in EOS.
3437 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3439 * tools/gst-inspect.c: (print_interfaces),
3440 (print_element_properties_info), (print_element_info):
3441 Fix interface output with gst-inspect -a; don't print
3442 newlines after double/float properties.
3444 2005-10-20 Wim Taymans <wim@fluendo.com>
3446 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3447 (gst_base_sink_query):
3448 Speed up current position calculation.
3450 * gst/base/gstbasesrc.c: (gst_base_src_query),
3451 (gst_base_src_default_newsegment):
3452 Correctly set stream position in newsegment.
3454 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3455 (update_degree), (gst_bin_sort_iterator_next),
3456 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3457 * gst/gstmessage.c: (gst_message_new_custom):
3458 Clean up debugging info
3460 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3461 (gst_queue_loop), (gst_queue_handle_src_query):
3464 2005-10-19 Wim Taymans <wim@fluendo.com>
3466 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3467 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3468 Fix query handling again.
3470 2005-10-19 Wim Taymans <wim@fluendo.com>
3472 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3473 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3474 * gst/base/gstbasesrc.c: (gst_base_src_query):
3475 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3476 * gst/elements/gsttypefindelement.c:
3477 (gst_type_find_handle_src_query), (find_element_get_length),
3478 (gst_type_find_element_activate):
3481 * gst/gstquery.c: (gst_query_new_position),
3482 (gst_query_set_position), (gst_query_parse_position),
3483 (gst_query_new_duration), (gst_query_set_duration),
3484 (gst_query_parse_duration), (gst_query_set_segment),
3485 (gst_query_parse_segment):
3487 Bundling query position/duration is not a good idea since duration
3488 does not change much and we don't want to recalculate it for every
3489 position query, so they are separated again..
3490 Base value in segment query is not needed.
3492 * gst/gstqueue.c: (gst_queue_handle_src_query):
3493 * gst/gstutils.c: (gst_element_query_position),
3494 (gst_element_query_duration), (gst_pad_query_position),
3495 (gst_pad_query_duration):
3497 Updates for query API change.
3498 Added some docs here and there.
3500 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3502 * check/gst/gstbin.c: (GST_START_TEST):
3503 * check/gst/gstghostpad.c: (GST_START_TEST):
3504 * check/pipelines/cleanup.c: (GST_START_TEST):
3505 wait on thread to die so we can check refcount correctly
3507 2005-10-18 Wim Taymans <wim@fluendo.com>
3509 * check/pipelines/stress.c: (GST_START_TEST):
3510 Make check a little more time consuming.
3512 2005-10-18 Wim Taymans <wim@fluendo.com>
3514 * check/Makefile.am:
3515 * check/pipelines/stress.c: (GST_START_TEST),
3516 (simple_launch_lines_suite), (main):
3517 Small state change torture test.
3519 * docs/design/part-states.txt:
3520 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3521 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3522 (gst_base_sink_change_state):
3523 Never take state lock from streaming thread, clean up ugly
3524 hacks. Unfortunatly core does not yet support nice ways to
3527 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3529 Start state recalc if a STATE_DIRTY message is posted, but only
3530 on the toplevel bin.
3532 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3533 (gst_element_get_state_func), (gst_element_abort_state),
3534 (gst_element_commit_state), (gst_element_lost_state),
3535 (gst_element_set_state_func), (gst_element_change_state):
3537 State variables are now protected with the LOCK, the state
3538 lock is only used to serialize _set_state().
3540 2005-10-18 Wim Taymans <wim@fluendo.com>
3542 * check/gst/gstbin.c: (GST_START_TEST):
3543 * check/gst/gstmessage.c: (GST_START_TEST):
3544 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3547 * gst/gstelement.c: (gst_element_abort_state),
3548 (gst_element_commit_state), (gst_element_lost_state):
3549 * gst/gstmessage.c: (gst_message_new_state_changed),
3550 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3551 (gst_message_new_segment_done), (gst_message_new_duration),
3552 (gst_message_parse_state_changed),
3553 (gst_message_parse_segment_start),
3554 (gst_message_parse_segment_done), (gst_message_parse_duration):
3556 * tools/gst-launch.c: (event_loop):
3557 Seriously, this is better than a previous commit as we only need
3558 to notify the fact that an element changed state in a streaming
3559 thread, marking the state of the parents dirty, hence the
3560 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3563 2005-10-18 Wim Taymans <wim@fluendo.com>
3565 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3566 (gst_bin_recalc_func):
3567 * gst/gstelement.c: (gst_element_set_clock),
3568 (gst_element_abort_state), (gst_element_lost_state):
3569 Cleanups, prepare for state change fixes.
3571 2005-10-18 Wim Taymans <wim@fluendo.com>
3574 * gst/gstelement.c: (gst_element_class_init),
3575 (gst_element_set_state), (gst_element_set_state_func):
3577 Pending ABI changes.
3578 GThreadPool in GstBinClass to monitor async state changes.
3579 state_cookie in GstElement to detect concurrent gst/set state.
3580 set_state is now virtual too in case a very complicated element
3581 has to be constructed.
3583 2005-10-18 Wim Taymans <wim@fluendo.com>
3585 * check/gst/gstbin.c: (GST_START_TEST):
3586 * check/gst/gstmessage.c: (GST_START_TEST):
3587 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3588 * gst/gstbin.c: (bin_bus_handler):
3589 * gst/gstelement.c: (gst_element_commit_state),
3590 (gst_element_lost_state):
3591 * gst/gstmessage.c: (gst_message_new_state_changed),
3592 (gst_message_new_segment_start), (gst_message_new_segment_done),
3593 (gst_message_new_duration), (gst_message_parse_state_changed),
3594 (gst_message_parse_segment_start),
3595 (gst_message_parse_segment_done), (gst_message_parse_duration):
3597 * tools/gst-launch.c: (event_loop):
3598 Make messages future proof.
3599 state-change gets a flag if it was a message comming from the
3601 segment-start/stop can also be specified in other formats.
3602 A message to notify an app that a pipeline changed playback
3604 Also fix a GstMessage leak in -launch
3606 2005-10-18 Andy Wingo <wingo@pobox.com>
3608 * gst/gstelement.c (gst_element_dispose): More helpful message.
3610 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3612 reviewed by: <delete if not using a buddy>
3614 * common/gtk-doc.mak:
3616 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3618 * gst/gstregistry.c: (gst_registry_scan_path_level):
3619 unref a plug-in we get that was already initialized
3621 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3623 * docs/gst/gstreamer-sections.txt:
3624 * docs/libs/gstreamer-libs-sections.txt:
3629 2005-10-17 Andy Wingo <wingo@pobox.com>
3631 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3634 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3636 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3638 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3639 (gst_element_get_state_func): Better debug message.
3640 (gst_element_commit_state): s/INFO/DEBUG/.
3641 (gst_element_lost_state, gst_element_change_state):
3643 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3644 (gst_message_new_custom): s/INFO/LOG/.
3646 2005-10-17 Michael Smith <msmith@fluendo.com>
3648 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3649 Check if end time is valid using end time, not start time.
3651 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3653 * check/gst-libs/controller.c: (GST_START_TEST),
3654 (gst_controller_suite):
3655 * libs/gst/controller/gstcontroller.c:
3656 (gst_controlled_property_set_interpolation_mode):
3657 * libs/gst/controller/gstcontroller.h:
3658 * libs/gst/controller/gstinterpolation.c:
3659 * testsuite/controller/.cvsignore:
3660 * testsuite/controller/Makefile.am:
3661 * testsuite/controller/interpolator.c:
3662 merge controller testsuites
3664 remove mem-chunk from docs
3666 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3668 * gst/gstmemchunk.c:
3669 * gst/gstmemchunk.h:
3670 * gst/gsttrashstack.c:
3671 * gst/gsttrashstack.h:
3672 out. get out. you're fired. to the Attic !
3674 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3676 * gst/gstcaps.c: (gst_caps_intersect):
3677 fix signedness issues in a (hopefully) correct way
3678 * gst/gstelement.c: (gst_element_pads_activate):
3680 * gst/gstobject.c: (gst_object_set_parent):
3683 2005-10-17 Julien MOUTTE <julien@moutte.net>
3685 * gst/gstvalue.h: Fix prototypes.
3687 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3689 * docs/gst/gstreamer-sections.txt:
3690 * gst/gst.c: (gst_version_string):
3692 * gst/gstversion.h.in:
3693 * win32/common/libgstreamer.def:
3694 add gst_version_string ()
3696 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3700 * gst/gst.c: (init_post):
3701 * win32/common/config.h.in:
3703 * gst/gstcaps.c: (gst_caps_intersect):
3704 use gint64, the range could be bigger than a guint
3706 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3709 document potential problem in 2038
3711 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3713 * gst/gstcaps.c: (gst_caps_intersect):
3714 Fix guint j diving under 0
3716 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3719 * win32/common/config.h:
3720 * win32/common/config.h.in:
3721 check for process.h, declares getpid() on Windows
3723 include process.h if we have it
3724 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3725 * gst/gstmemchunk.h:
3726 fix signedness issues
3727 * win32/common/libgstreamer.def:
3730 2005-10-16 Julien MOUTTE <julien@moutte.net>
3732 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3733 fix. Because of unsigned ints, caps intersection was going nuts and
3734 trying to access structures with G_MAXUINT index. That fixes
3735 videotestsrc ! ffmpegcolorspace ! fakesink
3736 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3739 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3742 use the gettext macro
3743 * gst/elements/gstelements.c:
3745 * gst/indexers/gstindexers.c:
3746 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3747 * win32/common/config.h:
3749 * win32/common/config.h.in:
3750 add the template to generate config.h
3751 * win32/common/gstenumtypes.c:
3752 * win32/common/gstversion.h:
3755 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3757 * gst/gst.c: (gst_version):
3758 * gst/gstversion.h.in:
3761 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3764 Oops, add missing closing bracket.
3766 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3769 use common m4's for argument checking
3771 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3773 * docs/gst/gstreamer-sections.txt:
3775 Add GST_EVENT_TYPE_NAME() macro.
3777 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3780 * gst/gstpluginfeature.c:
3782 privatize more symbols
3784 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3787 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3788 everything that uses GStreamer API should have the includes
3790 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3792 * docs/gst/gstreamer-sections.txt:
3793 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3795 give each value a _get_type, removes the DATA exports
3797 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3801 remove _gst_registry_auto_load, not used anymore
3802 * gst/gstbin.c: (gst_bin_get_type):
3804 * gst/gstelement.c: (gst_element_get_type):
3806 * gst/gstobject.c: (gst_object_get_type):
3808 * gst/gstpad.c: (gst_pad_get_type):
3810 make _get_type functions similar, fixes data export from library
3812 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3815 correctly make conditionals
3816 * gst/elements/Makefile.am:
3817 * gst/elements/gstelements.c:
3818 fix typo causing fdsrc not to build
3820 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3822 * testsuite/Makefile.am:
3823 * testsuite/bytestream/.cvsignore:
3824 * testsuite/bytestream/Makefile.am:
3825 * testsuite/bytestream/filepadsink.c:
3826 * testsuite/bytestream/gstbstest.c:
3827 * testsuite/bytestream/test1.c:
3828 * testsuite/bytestream/testfile1:
3829 * testsuite/caps/normalisation.c:
3830 * testsuite/caps/random.c: (main):
3831 * testsuite/cleanup/.cvsignore:
3832 * testsuite/cleanup/Makefile.am:
3833 * testsuite/cleanup/cleanup1.c:
3834 * testsuite/cleanup/cleanup2.c:
3835 * testsuite/cleanup/cleanup3.c:
3836 * testsuite/cleanup/cleanup4.c:
3837 * testsuite/cleanup/cleanup5.c:
3838 * testsuite/controller/interpolator.c:
3839 * testsuite/debug/printf_extension.c: (main):
3840 * testsuite/elements/tee.c:
3841 * testsuite/negotiation/.cvsignore:
3842 * testsuite/negotiation/Makefile.am:
3843 * testsuite/negotiation/pad_link.c:
3844 * testsuite/pad/Makefile.am:
3845 * testsuite/pad/chainnopull.c:
3846 * testsuite/pad/getnopush.c:
3847 * testsuite/pad/link.c:
3848 * testsuite/refcounting/sched.c: (create_pipeline):
3849 * testsuite/registry/Makefile.am:
3850 * testsuite/registry/gst-print-formats.c:
3851 * testsuite/schedulers/.cvsignore:
3852 * testsuite/schedulers/142183-2.c:
3853 * testsuite/schedulers/142183.c:
3854 * testsuite/schedulers/143777-2.c:
3855 * testsuite/schedulers/143777.c:
3856 * testsuite/schedulers/147713.c:
3857 * testsuite/schedulers/147819.c:
3858 * testsuite/schedulers/147894-2.c:
3859 * testsuite/schedulers/147894.c:
3860 * testsuite/schedulers/Makefile.am:
3861 * testsuite/schedulers/group_link.c:
3862 * testsuite/schedulers/queue_link.c:
3863 * testsuite/schedulers/relink.c:
3864 * testsuite/schedulers/unlink.c:
3865 * testsuite/schedulers/unref.c:
3866 * testsuite/schedulers/useless_iteration.c:
3867 * testsuite/states/bin.c:
3868 clean out/remove some stuff from the testsuite directories
3870 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3873 check for some headers
3874 * gst/elements/Makefile.am:
3875 * gst/elements/gstelements.c:
3876 don't compile fdsrc without sys/socket.h
3877 * gst/indexers/Makefile.am:
3878 * gst/indexers/gstindexers.c: (plugin_init):
3879 don't compile fileindex without mmap
3881 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3888 * check/Makefile.am:
3889 * docs/gst/Makefile.am:
3890 * examples/helloworld/Makefile.am:
3892 * gst/base/Makefile.am:
3893 * gst/check/Makefile.am:
3894 * gst/elements/Makefile.am:
3895 * gst/indexers/Makefile.am:
3896 * gst/parse/Makefile.am:
3897 * libs/gst/controller/Makefile.am:
3898 * libs/gst/dataprotocol/Makefile.am:
3899 * examples/helloworld/helloworld.c: (event_loop):
3900 compile fixes, though it's not being compiled currently
3902 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3904 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3905 Add some simple tests for the new taglist date API.
3907 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3909 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3910 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3911 Beautify 'last-message' output: print 'none' for buffer timestamps
3912 and durations if none is set; improve alignment with next messages.
3914 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3916 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3917 * gst/gstpluginfeature.h:
3918 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3919 * gst/gstregistry.h:
3920 * docs/gst/gstreamer-sections.txt:
3921 Add new API to check plugin feature version requirements.
3923 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3924 Some basic tests for the above.
3926 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3928 * gst/gststructure.c: (gst_structure_to_string):
3929 guard against NULL printf - happens when for example
3930 a message structure with GstClock gets serialized
3932 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3934 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3935 Fix presumable copy'n'pasto.
3937 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3939 * gst/elements/gstfakesrc.h:
3940 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3941 * gst/elements/gsttypefindelement.c:
3943 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3944 I wonder if this could actually write +2GB files before
3946 2005-10-13 Andy Wingo <wingo@pobox.com>
3948 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3949 Fix Timmeke Waymans bug.
3950 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3951 string of the proper length to gst_caps_from_string. There's a
3952 potential for, before this fix, that this could cause someone
3953 connecting over the network to cause a segfault if the payload is
3956 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3958 * docs/design/draft-push-pull.txt:
3959 * docs/design/part-overview.txt:
3960 * docs/random/TODO-pre-0.9:
3961 * docs/random/old/ChangeLog.gstreamer:
3962 * gst/base/gstpushsrc.c:
3966 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3968 * gst/glib-compat.c: (gst_flags_get_first_value):
3969 * gst/glib-compat.h:
3970 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3971 (gst_value_compare_double), (gst_value_serialize_flags):
3972 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3975 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3978 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3980 * tools/gst-launch.c: (event_loop):
3981 print out clock nicely
3983 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3985 * docs/gst/gstreamer-sections.txt:
3987 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3988 (gst_tag_list_get_date_index):
3989 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3990 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3992 2005-10-13 Julien MOUTTE <julien@moutte.net>
3994 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3995 (gst_collectpads_chain):
3996 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3999 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4001 * docs/gst/gstreamer-sections.txt:
4004 * tools/gst-inspect.c: (main):
4005 * tools/gst-launch.c: (main):
4006 * tools/gst-run.c: (main):
4007 * tools/gst-xmlinspect.c: (main):
4008 fix GOption context leaks
4011 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4015 * win32/common/config.h:
4017 * win32/vs6/grammar.dsp:
4018 * win32/vs6/libgstelements.dsp:
4019 * win32/vs6/libgstreamer.dsp:
4022 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4024 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4025 * gst/base/gstbasesrc.c: (gst_base_src_query):
4026 fix more guint64<->gdouble conversions
4028 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4031 add win32-update target
4032 * win32/common/gstconfig.h:
4033 * win32/common/gstenumtypes.c:
4034 * win32/common/gstenumtypes.h:
4035 * win32/common/gstversion.h:
4036 add files that visual studio can't generate
4038 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4041 add a win32-update target
4044 2005-10-12 Wim Taymans <wim@fluendo.com>
4046 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4047 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4048 * gst/gstelement.c: (gst_element_commit_state),
4049 (gst_element_set_state):
4050 Protect flags with proper lock.
4051 unref provided cached clock in dispose.
4053 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4056 * gst/gstminiobject.h:
4058 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4059 removed unused flags from miniobject
4062 2005-10-12 Wim Taymans <wim@fluendo.com>
4064 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4065 (gst_file_sink_event), (gst_file_sink_render):
4066 Flush before seeking.
4068 2005-10-12 Andy Wingo <wingo@pobox.com>
4070 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4071 always been the case.
4073 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4075 * check/gst/gstbin.c: (GST_START_TEST):
4076 * docs/gst/gstreamer-sections.txt:
4077 * gst/base/gstbasesink.c: (gst_base_sink_init):
4078 * gst/base/gstbasesrc.c: (gst_base_src_init),
4079 (gst_base_src_get_range), (gst_base_src_check_get_range),
4080 (gst_base_src_start), (gst_base_src_stop):
4081 * gst/base/gstbasesrc.h:
4082 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4083 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4084 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4088 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4090 * gst/gstelement.c: (gst_element_is_locked_state),
4091 (gst_element_set_locked_state), (gst_element_commit_state),
4092 (gst_element_set_state):
4094 * gst/gstindex.c: (gst_index_init):
4096 * gst/gstminiobject.h:
4097 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4098 (gst_object_set_parent):
4100 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4101 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4103 * gst/gstpadtemplate.h:
4104 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4105 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4106 * gst/gstpipeline.h:
4107 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4108 (gst_file_index_commit):
4109 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4110 * testsuite/pad/link.c: (gst_test_src_init),
4111 (gst_test_filter_init), (gst_test_sink_init):
4112 * testsuite/states/locked.c: (main):
4113 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4114 moved bitshift from macro to enum definition
4116 2005-10-12 Wim Taymans <wim@fluendo.com>
4118 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4119 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4120 (gst_file_sink_render):
4121 Some more debugging info.
4123 2005-10-12 Wim Taymans <wim@fluendo.com>
4125 * docs/design/part-states.txt:
4126 * tools/gst-launch.c: (main):
4128 Revert non-intentional change.
4130 2005-10-12 Wim Taymans <wim@fluendo.com>
4132 * check/gst/gstbin.c: (GST_START_TEST):
4133 * check/gst/gstelement.c: (GST_START_TEST):
4134 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4135 * check/gst/gstghostpad.c: (GST_START_TEST):
4136 * check/gst/gstpipeline.c: (GST_START_TEST):
4137 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4138 * check/states/sinks.c: (GST_START_TEST):
4139 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4140 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4141 (gst_bin_remove_func), (gst_bin_get_state_func),
4142 (gst_bin_recalc_state), (gst_bin_change_state_func),
4144 * gst/gstelement.c: (gst_element_get_state_func),
4145 (gst_element_get_state), (gst_element_abort_state),
4146 (gst_element_commit_state), (gst_element_set_state),
4147 (gst_element_change_state), (gst_element_change_state_func):
4149 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4150 (gst_pipeline_provide_clock_func):
4151 * gst/gstutils.c: (gst_element_link_pads_filtered):
4152 * tools/gst-launch.c: (main):
4153 * tools/gst-typefind.c: (main):
4154 Use GstClockTime in _get_state() instead of GTimeVal.
4155 Remove old code in gstutils.c
4157 2005-10-12 Andy Wingo <wingo@pobox.com>
4159 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4162 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4163 there is no task. Shouldn't affect any code, as nothing in our
4164 plugins checks this return value.
4165 (gst_pad_stop_task): Also take the stream lock if the pad has no
4168 2005-10-12 Wim Taymans <wim@fluendo.com>
4170 * gst/gstpad.c: (pre_activate), (post_activate),
4171 (gst_pad_activate_pull), (gst_pad_activate_push):
4172 Cleanup activation code. Reset old state if
4175 2005-10-12 Wim Taymans <wim@fluendo.com>
4177 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4178 (gst_base_sink_change_state):
4179 No need to prerol after receiving EOS.
4181 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4182 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4183 * gst/elements/gstidentity.c: (gst_identity_event):
4184 Print events more verbosely.
4186 2005-10-12 Wim Taymans <wim@fluendo.com>
4188 * check/Makefile.am:
4189 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4190 * check/states/sinks2.c:
4191 Moved sinks2 testcode in sinks check.
4193 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4194 (gst_bin_remove_func), (gst_bin_recalc_state),
4195 (gst_bin_change_state_func), (bin_bus_handler):
4196 Fix potential race condition when _get_state() iterated over an
4197 ASYNC element right before it posted a state completion.
4200 Do proper cast here.
4202 * gst/gstevent.c: (gst_event_new_newsegment),
4203 (gst_event_parse_newsegment):
4204 A playback rate of 0.0 is not allowed.
4206 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4208 * win32/common/config.h:
4209 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4210 (_trewinddir), (_ttelldir), (_tseekdir):
4211 * win32/common/dirent.h:
4212 * win32/common/gtchar.h:
4213 * win32/common/libgstbase.def:
4214 * win32/common/libgstreamer.def:
4215 * win32/vs6/grammar.dsp:
4216 * win32/vs6/gst_inspect.dsp:
4217 * win32/vs6/gst_launch.dsp:
4218 * win32/vs6/gstreamer.dsw:
4219 * win32/vs6/libgstbase.dsp:
4220 * win32/vs6/libgstelements.dsp:
4221 * win32/vs6/libgstreamer.dsp:
4222 Visual Studio 6 project files, and a new common directory.
4225 2005-10-11 Wim Taymans <wim@fluendo.com>
4227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4228 (gst_base_sink_do_sync), (gst_base_sink_query),
4229 (gst_base_sink_change_state):
4230 * gst/base/gstbasesink.h:
4231 Correctly parse newsegment info.
4233 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4235 * gst/gst.c: (init_post):
4236 split plugin paths correctly
4238 2005-10-11 Wim Taymans <wim@fluendo.com>
4240 * check/gst/gstevent.c: (GST_START_TEST):
4241 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4242 (gst_base_sink_change_state):
4243 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4244 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4245 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4246 * gst/gstevent.c: (gst_event_new_newsegment),
4247 (gst_event_parse_newsegment):
4249 Added extra flag to newsegment for future API freeze.
4250 Updated check and base elements.
4252 2005-10-11 Julien MOUTTE <julien@moutte.net>
4254 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4255 (gst_collectpads_add_pad), (gst_collectpads_pop),
4256 (gst_collectpads_event), (gst_collectpads_chain):
4257 * gst/base/gstcollectpads.h: Handle EOS correctly.
4259 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4261 * tools/gst-launch.c: (main):
4262 more null protecting
4264 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4266 * gst/gst-i18n-lib.h:
4267 check for ENABLE_NLS, not GETTEXT_PACKAGE
4268 * gst/gstregistry.c: (gst_registry_add_plugin),
4269 (gst_registry_scan_path_level),
4270 (_gst_registry_remove_cache_plugins):
4271 protect possibly NULL strings
4272 * gst/parse/types.h:
4273 config.h already included before
4274 * tools/gst-inspect.c: (main):
4275 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4276 check for ENABLE_NLS, not GETTEXT_PACKAGE
4277 * tools/gst-launch.c: (main):
4278 check for ENABLE_NLS, not GETTEXT_PACKAGE
4280 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4283 if we don't have glib, fail before testing 2.8
4284 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4285 fix a leak, should fix plugins-base testsuite
4287 2005-10-11 Andy Wingo <wingo@pobox.com>
4289 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4290 take the mode we're going to as an arg. Go head and set the mode
4291 and flushing flags now, so that if the activate function starts a
4292 thread all the flags will be in the right state.
4293 (post_activate): Renamed also. Just handle making sure streaming
4294 finishes for the deactivation case, and setting the deactivated
4296 (gst_pad_set_active): Complain loudly if deactivation fails.
4297 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4298 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4299 remove the terrible hack.
4301 2005-10-11 Wim Taymans <wim@fluendo.com>
4303 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4304 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4305 (gst_bin_recalc_state), (gst_bin_change_state_func),
4306 (gst_bin_dispose), (bin_bus_handler):
4308 Prepare to make current EOS message queue more generic.
4311 * gst/gstevent.c: (gst_event_new_newsegment),
4312 (gst_event_parse_newsegment):
4314 Rename base to stream_time.
4319 2005-10-11 Wim Taymans <wim@fluendo.com>
4321 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4322 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4323 (gst_bin_change_state_func), (bin_bus_handler):
4325 Work on proper clock selection.
4327 2005-10-11 Edward Hervey <edward@fluendo.com>
4329 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4330 * libs/gst/controller/gstcontroller.h:
4331 Added GList* version of _remove_properties() in order to be able to wrap
4334 2005-10-11 Wim Taymans <wim@fluendo.com>
4336 * docs/design/part-states.txt:
4339 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4340 (gst_bin_change_state_func), (bin_bus_handler):
4341 Doc updates. Don't distribute the same clock over and over again.
4347 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4348 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4349 (gst_pad_send_event):
4351 Make probe emission threadsafe again.
4352 Register quarks and move _get_name() from utils.
4355 * gst/gstpipeline.c: (gst_pipeline_class_init),
4356 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4357 Only redistribute the clock of it changed.
4359 * gst/gstsystemclock.h:
4364 Moved the _flow_get_name() to GstPad.
4366 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4368 * check/gst-libs/gdp.c: (GST_START_TEST):
4369 * check/gst/gstcaps.c: (GST_START_TEST):
4370 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4371 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4372 (gst_dp_packet_from_caps):
4373 fix more valgrind warnings before turning up the heat
4375 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4377 * gst/parse/grammar.y:
4378 some cleanup before the hacking
4380 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4382 * gst/base/gstbasesrc.c: (gst_base_src_query):
4384 * gst/gstutils.c: (gst_guint64_to_gdouble),
4385 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4387 externalize, basesrc uses it
4388 obviously the implementation needs testing
4390 2005-10-10 Wim Taymans <wim@fluendo.com>
4392 * tests/sched/Makefile.am:
4393 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4394 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4396 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4398 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4399 apparently converting from guint64 to double is not implemented
4402 2005-10-10 Wim Taymans <wim@fluendo.com>
4404 * check/Makefile.am:
4405 * check/generic/states.c: (GST_START_TEST):
4406 * check/gst/gstbin.c: (GST_START_TEST):
4407 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4408 * check/states/sinks.c: (GST_START_TEST):
4409 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4411 Check fixes, use API as stated in design docs, remove hacks.
4413 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4414 (gst_base_sink_change_state):
4415 Catch stopping our task while we're shutting down.
4417 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4418 (gst_bin_remove_func), (gst_bin_get_state_func),
4419 (gst_bin_recalc_state), (gst_bin_change_state_func),
4422 * gst/gstelement.c: (gst_element_init),
4423 (gst_element_get_state_func), (gst_element_abort_state),
4424 (gst_element_commit_state), (gst_element_lost_state),
4425 (gst_element_set_state), (gst_element_change_state),
4426 (gst_element_change_state_func):
4428 New state change algorithm (see #318116)
4430 * gst/gstpipeline.c: (gst_pipeline_class_init),
4431 (gst_pipeline_init), (gst_pipeline_set_property),
4432 (gst_pipeline_get_property), (do_pipeline_seek),
4433 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4434 * gst/gstpipeline.h:
4435 Remove crude state change hacks.
4440 * tools/gst-launch.c: (main):
4441 Fixes for state change. Needs some more work to fully use the
4444 2005-10-10 Andy Wingo <wingo@pobox.com>
4446 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4448 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4449 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4452 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4454 * gst/gstiterator.c: (gst_iterator_new):
4455 Fix my previous commit: GTypes passed to gst_iterator_new()
4456 can be fundamental types.
4458 2005-10-10 Wim Taymans <wim@fluendo.com>
4460 * gst/gstelement.c: (gst_element_iterate_pad_list),
4461 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4462 (gst_element_iterate_sink_pads):
4463 Use src/sink pads lists for the respective iterators instead
4466 2005-10-10 Andy Wingo <wingo@pobox.com>
4468 Merged in popt removal + GOption addition patch from Ronald, bug
4471 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4472 GstElement macros around, remove popt-related symbols, add goption
4475 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4477 * docs/gst/Makefile.am:
4478 * docs/libs/Makefile.am: No POPT_CFLAGS.
4480 * examples/manual/Makefile.am:
4481 * docs/manual/basics-init.xml: Doc updates with an example.
4483 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4484 (gst_init), (parse_one_option), (parse_goption_arg):
4485 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4486 bit of hand merging and debugging to get the GOption stuff working
4489 * tests/Makefile.am:
4490 * tools/Makefile.am:
4491 * tools/gst-inspect.c: (main):
4492 * tools/gst-launch.c: (main):
4493 * tools/gst-run.c: (main):
4494 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4496 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4498 * gst/gstiterator.c: (gst_iterator_new):
4499 Add assertions to make sure passed GType is likely to really
4500 be a GType (as the compiler won't catch it if the size and
4501 GType arguments get mixed up, see #318447).
4503 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4505 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4507 * gst/gstbin.c: (gst_bin_iterate_sorted):
4508 Pass GType and size arguments to gst_iterator_new() in the right
4509 order (maybe we should make _new() take the GType as first argument
4510 just like _new_list()?) (#318447).
4513 2005-10-10 Wim Taymans <wim@fluendo.com>
4515 * gst/gstelement.c: (gst_element_finalize):
4516 And free the GStaticRecMutex too
4518 2005-10-10 Andy Wingo <wingo@pobox.com>
4520 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4521 Allocate and free the mutex properly.
4523 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4525 (GstElement): The state_lock is now recursive. Rebuild your
4526 plugins, suckers. Old macros adapted.
4528 * docs/gst/gstreamer-sections.txt: Doc updates.
4531 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4532 (g_static_rec_cond_wait): Ported from state changes patch, while
4533 we wait on bug #317802 to be solved in a well-distributed GLib.
4535 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4536 gst_element_change_state, variable name changes.
4537 (gst_element_change_state): Split out of gst_element_set_state in
4538 preparation for the state change merge. Doesn't pay attention to
4539 the 'transition' argument.
4540 (gst_element_set_state): Updates, hopefully purely cosmetic.
4541 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4543 (gst_element_get_state_func): Renamed from get_state, cosmetic
4546 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4548 * gst/elements/gstelements.c:
4549 * win32/GStreamer.vcproj:
4551 * win32/dirent.c: (_tseekdir):
4552 * win32/gst-inspect.vcproj:
4553 * win32/gst-launch.vcproj:
4554 * win32/gstconfig.h:
4555 * win32/gstelements.vcproj:
4556 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4557 * win32/gstreamer.def:
4559 updates for the win32 build (patch from Sebastien Moutte)
4561 2005-10-10 Andy Wingo <wingo@pobox.com>
4563 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4564 gst_bin_get_state, cleaned up (but no logic changes).
4565 (bin_element_is_sink): Comment updates.
4566 (sink_iterator_filter): Remove needless cast.
4567 (gst_bin_iterate_sinks): Doc update.
4568 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4569 cleaned up (but no logic changes).
4571 * check/states/sinks.c (test_src_sink): Cleanups from the state
4573 (test_livesrc_sink): Sync on the state.
4575 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4576 the state change patch.
4578 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4581 * check/gst/gstbin.c: Merge in some style fixes and additional
4582 checks from Wim's state change patch.
4584 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4586 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4587 (gst_type_find_helper):
4588 Check whether we have the requested data already in our list of
4589 cached buffers before pulling a new buffer; also make the buffer
4590 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4592 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4597 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4598 don't use long long, it's not portable. Replacing with
4599 gint64 seems to work; let's hope no skeletons fall out of the closet.
4601 2005-10-10 Andy Wingo <wingo@pobox.com>
4603 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4605 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4607 * docs/gst/gstreamer-sections.txt:
4612 * gst/gstmessage.c: (gst_message_parse_state_changed):
4615 more docs, fix compilation
4617 2005-10-09 Philippe Khalaf <burger@speedy.org>
4619 Fixed a few forgotten variables on previous commit
4621 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4623 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4624 Fix evil typefind crasher: getrange() might return a short
4625 buffer at the end of a file, but gst_type_find_peek() must
4626 either return the full data as requested or NULL, but
4627 never a short buffer.
4629 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4631 * gst/gstmessage.c: (gst_message_new_state_changed),
4632 (gst_message_parse_state_changed):
4634 don't use "new", it's a C++ keyword
4636 2005-10-08 Wim Taymans <wim@fluendo.com>
4638 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4639 * gst/gstelement.c: (gst_element_post_message):
4640 * gst/gstpipeline.c: (gst_pipeline_change_state):
4641 Small docs and debug updates.
4643 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4645 * docs/gst/gstreamer-sections.txt:
4646 * gst/gstelementfactory.c:
4651 2005-10-08 Wim Taymans <wim@fluendo.com>
4653 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4654 (gst_bin_dispose), (bin_bus_handler):
4655 Fix typos, add comments.
4656 Clear EOS list when going to PAUSED from any direction and do it
4657 in a threadsafe way.
4658 Get base time in a threadsafe way too.
4659 Fix confusing debug in the change_state function.
4660 Various other small cleanups.
4662 * gst/gstelement.c: (gst_element_post_message):
4663 Fix very verbose bus posting code.
4665 * gst/gstpipeline.c: (gst_pipeline_class_init),
4666 (gst_pipeline_set_property), (gst_pipeline_get_property),
4667 (gst_pipeline_change_state):
4668 Small ARG_ -> PROP_ cleanup
4670 2005-10-08 Wim Taymans <wim@fluendo.com>
4672 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4673 Do a less CPU demanding EOS check because we can.
4675 2005-10-08 Wim Taymans <wim@fluendo.com>
4677 * libs/gst/dataprotocol/dataprotocol.c:
4678 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4679 (gst_dp_packet_from_event):
4680 * libs/gst/dataprotocol/dataprotocol.h:
4681 * libs/gst/dataprotocol/dp-private.h:
4682 It's about time we bump the version number.
4683 Since event types don't fit in the guint8 anymore describing
4684 the payload type, make payload type 16 bits wide.
4686 2005-10-08 Wim Taymans <wim@fluendo.com>
4688 * docs/design/part-TODO.txt:
4689 * docs/design/part-clocks.txt:
4690 * docs/design/part-events.txt:
4691 * docs/design/part-gstbin.txt:
4692 * docs/design/part-gstelement.txt:
4693 * docs/design/part-gstpipeline.txt:
4694 * docs/design/part-live-source.txt:
4695 * docs/design/part-messages.txt:
4696 * docs/design/part-overview.txt:
4697 * docs/design/part-states.txt:
4700 2005-10-08 Wim Taymans <wim@fluendo.com>
4704 Fix event quark registration.
4705 Add some space between events so we can insert them in the
4708 2005-10-08 Wim Taymans <wim@fluendo.com>
4710 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4711 (gst_base_sink_handle_buffer):
4718 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4719 (gst_queue_set_property), (gst_queue_get_property):
4721 Remove old unused properties.
4723 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4724 * docs/gst/gstreamer-sections.txt:
4727 * gst/gstminiobject.c:
4728 * gst/gstminiobject.h:
4732 lots of new docs and doc fixes
4734 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4736 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4738 * gst/gstregistry.c: (gst_registry_lookup_locked),
4739 (gst_registry_scan_path_level):
4740 * gst/gstregistryxml.c: (load_plugin):
4741 Only ever load one plugin for a given plugin basename.
4742 This ensures correct overriding of GST_PLUGIN_PATH over
4743 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4744 system installed plugins.
4746 2005-10-08 Wim Taymans <wim@fluendo.com>
4748 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4749 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4750 Prepare for doing QOS.
4752 2005-10-08 Wim Taymans <wim@fluendo.com>
4754 * check/gst/gstbin.c: (GST_START_TEST):
4755 * check/pipelines/cleanup.c: (GST_START_TEST):
4756 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4757 Allow new clock message too.
4759 2005-10-08 Wim Taymans <wim@fluendo.com>
4761 * gst/gstmessage.c: (gst_message_new_error),
4762 (gst_message_new_warning), (gst_message_new_tag),
4763 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4764 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4765 (gst_message_new_segment_start), (gst_message_new_segment_done),
4766 (gst_message_parse_state_changed),
4767 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4768 (gst_message_parse_new_clock):
4770 Also carry the clock in question.
4772 2005-10-08 Wim Taymans <wim@fluendo.com>
4774 * gst/gstmessage.c: (gst_message_new_custom),
4775 (gst_message_new_eos), (gst_message_new_error),
4776 (gst_message_new_warning), (gst_message_new_tag),
4777 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4778 (gst_message_new_new_clock), (gst_message_new_segment_start),
4779 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4780 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4783 Added clock related messages.
4785 * gst/gstpipeline.c: (gst_pipeline_change_state):
4786 Post message when the clock changed.
4788 * tools/gst-launch.c: (event_loop):
4791 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4793 * tools/gst-inspect.c: (print_element_properties_info):
4794 Can't pass NULL strings to g_print() on windows.
4796 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4799 * docs/gst/Makefile.am:
4800 * docs/gst/gstreamer-docs.sgml:
4801 * docs/gst/running.xml:
4802 * docs/version.entities.in:
4803 add a chapter on running GStreamer.
4804 document GST_DEBUG and GST_PLUGIN* env vars
4806 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4811 remove PLUGINS_BUILDDIR stuff
4812 * gst/gst.c: (init_post):
4813 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4815 remove, it was condescending and not needed
4817 2005-10-08 Wim Taymans <wim@fluendo.com>
4819 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4820 (gst_base_sink_handle_object), (gst_base_sink_event),
4821 (gst_base_sink_wait), (gst_base_sink_handle_event),
4822 (gst_base_sink_change_state):
4823 * gst/base/gstbasesink.h:
4824 Repost EOS message while going to PLAYING if still EOS.
4825 Make sure that when receiving a FLUSH_START we don't attempt
4826 to sync on the clock anymore.
4828 2005-10-08 Wim Taymans <wim@fluendo.com>
4830 * tools/gst-launch.c: (event_loop):
4831 Better message printout.
4833 2005-10-08 Wim Taymans <wim@fluendo.com>
4835 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4836 (gst_bin_child_proxy_get_children_count):
4837 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4838 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4839 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4840 (gst_child_proxy_set_valist):
4841 * gst/parse/grammar.y:
4842 Make ChildProxy threadsafe and fix mem leaks.
4844 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4846 * gst/gst.c: (init_post):
4847 debug the GST_PLUGIN_ env vars
4849 2005-10-08 Wim Taymans <wim@fluendo.com>
4851 * check/gst/gstbin.c: (GST_START_TEST):
4852 * check/gst/gstmessage.c: (GST_START_TEST):
4853 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4854 * gst/gstelement.c: (gst_element_commit_state),
4855 (gst_element_lost_state):
4856 * gst/gstmessage.c: (gst_message_new_state_changed),
4857 (gst_message_parse_state_changed):
4859 * tools/gst-launch.c: (event_loop):
4860 Added extra field to STATE_CHANGE message with the pending
4861 state, which will be different from the new state soon.
4863 2005-10-08 Wim Taymans <wim@fluendo.com>
4865 * gst/gstbus.c: (gst_bus_pop):
4867 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4868 Small cleanups and doc updates.
4870 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4872 * gst/gst.c: (init_pre):
4873 * gst/gstbin.c: (gst_bin_add_func):
4874 log distributing clocks and base time
4875 * gst/gstregistry.c: (gst_registry_add_plugin),
4876 (gst_registry_scan_path_level), (gst_registry_scan_path):
4877 clean up the debugging output a little
4878 * gst/gstutils.c: (gst_element_state_get_name):
4879 warn about a memleak (I've actually seen this be used, though
4880 it was probably a bug)
4882 2005-10-07 Wim Taymans <wim@fluendo.com>
4884 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4885 (gst_base_src_init), (gst_base_src_default_newsegment),
4886 (gst_base_src_newsegment), (gst_base_src_do_seek),
4887 (gst_base_src_loop), (gst_base_src_start):
4888 * gst/base/gstbasesrc.h:
4889 Make the newsegment event customizable by subclasses.
4891 2005-10-07 Wim Taymans <wim@fluendo.com>
4893 * gst/gstevent.c: (gst_event_new_buffersize),
4894 (gst_event_parse_buffersize):
4896 New event for future idea.
4898 2005-10-07 Andy Wingo <wingo@pobox.com>
4900 * gst/gstelement.c (gst_element_post_message): Doc update.
4902 * docs/gst/gstreamer-sections.txt: Update.
4904 * gst/gstmessage.c (gst_message_new_application): Made into a
4905 function like honest API calls.
4906 (gst_message_new_element): New message type.
4908 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4910 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4911 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4914 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4915 NO_PREROLL from gst_element_change_state to fall through.
4917 2005-10-07 Wim Taymans <wim@fluendo.com>
4919 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4920 (gst_ghost_pad_do_activate_push):
4921 Activating a ghostpad with no internal pad in push mode
4924 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4927 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4928 Fixes compilation on Windows.
4930 2005-10-07 Michael Smith <msmith@fluendo.com>
4932 * tools/gst-inspect.c:
4933 Print out feature and plugin count at the end when printing out
4936 2005-10-04 Michael Smith <msmith@fluendo.com>
4938 * gst/gsterror.c: (_gst_stream_errors_init):
4939 Add another error string used in a few existing plugins.
4942 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4943 * tools/gst-inspect.c: (print_element_info):
4944 When a feature disappears from a plugin (and the feature exists in
4945 the cached registry file), things went horribly wrong. This isn't a
4946 complete fix, we should actually be removing the 'missing' features
4947 from the features list when we load the actual plugin. That's not
4950 2005-10-04 Johan Dahlin <johan@gnome.org>
4952 * check/gst/gstiterator.c: (GST_START_TEST):
4953 * gst/gstbin.c: (gst_bin_iterate_elements),
4954 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4955 * gst/gstelement.c: (gst_element_iterate_pads):
4956 * gst/gstformat.c: (gst_format_iterate_definitions):
4957 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4958 (gst_iterator_new_list), (gst_iterator_filter):
4959 * gst/gstiterator.h:
4960 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4961 Add a GType to GstIterator, update callsites and tests.
4963 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4965 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4966 give events a chance to be handled by event probes when the pad
4969 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4971 * gst/gstevent.c: (gst_event_type_get_name),
4972 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4974 add string representations for event types
4976 2005-10-06 Wim Taymans <wim@fluendo.com>
4978 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4979 Don't use NULL pointers.
4981 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4983 * gst/gst_private.h:
4987 * gst/gstpluginfeature.c:
4988 widen the debug category in output to fit the biggest one we have
4989 add a bus category and use it
4990 play with the colors
4991 fix up some categories
4993 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4995 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4996 add push activation of sink ghost pads.
4997 Andye, please verify
4999 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5001 * gst/gstutils.c: (gst_element_link_pads):
5002 fix a bug in the case where neither element has a pad
5003 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5004 add a test for that case
5006 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5008 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5009 emit have-data before checking for peers. This allows
5010 for probe handlers to connect elements. This helps autopluggers.
5011 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5013 add six checks, linked/unlinked with no/true/false probe
5015 2005-10-04 Wim Taymans <wim@fluendo.com>
5017 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5018 (gst_fake_sink_event), (gst_fake_sink_preroll),
5019 (gst_fake_sink_render), (gst_fake_sink_change_state):
5020 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5021 (gst_fake_src_get_property), (gst_fake_src_create),
5022 (gst_fake_src_stop):
5023 * gst/elements/gstidentity.c: (gst_identity_stop):
5024 Protect last_message with lock.
5026 2005-10-04 Edward Hervey <edward@fluendo.com>
5029 Added precision in the comments for GST_FORMAT_DEFAULT
5031 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5033 * tools/gst-launch.c: (main):
5034 Don't try to run erroneous pipelines.
5036 2005-10-04 Julien MOUTTE <julien@moutte.net>
5038 * gst/gstbus.c: We don't need this header.
5040 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5045 === release 0.9.3 ===
5047 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5051 Releasing 0.9.3, "Unregistered"
5053 2005-10-03 Andy Wingo <wingo@pobox.com>
5055 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5056 whereby calling a pad's activatepush() function can start a thread
5057 that starts to push or pull before the pad gets the FLUSHING flag
5058 unset. Hack around it by holding the stream lock until the flag is
5059 set. Need to replace this with a proper solution. Together with
5060 the ghost pad fixes, this fixes mp3 playing/tagreading.
5062 * docs/design/part-gstghostpad.txt: Add a note about activation of
5063 proxy pads outside of ghost pads.
5065 * gst/gstghostpad.c: Implement the ghost pad activation design.
5067 2005-10-02 Andy Wingo <wingo@pobox.com>
5069 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5070 It is volatile, after all.
5072 * docs/design/part-gstghostpad.txt: Flesh out activation with
5075 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5078 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5081 Fix (unused) AM_CONDITIONAL tests.
5083 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5085 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5087 * gst/gstutils.c: (gst_pad_query_convert):
5088 Add assertion that makes sure src_val is >=0, just like
5089 gst_query_new_convert() has. (#315895)
5091 2005-09-30 Edward Hervey <edward@fluendo.com>
5093 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5094 Let's not iterate pads we're not interested in, it avoids getting
5095 sky-high refcounts on sinkpad.
5097 2005-09-30 Wim Taymans <wim@fluendo.com>
5099 * gst/gstelement.c: (gst_element_set_state),
5100 (gst_element_change_state):
5101 Small tweak, element in ASYNC remains ASYNC.
5103 2005-09-30 Wim Taymans <wim@fluendo.com>
5105 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5106 Only error is an error.
5108 * gst/gstbin.c: (gst_bin_change_state):
5111 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5112 Also call pad_block in pad alloc.
5114 * gst/gstutils.c: (gst_flow_get_name):
5117 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5119 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5120 (gst_base_src_get_range):
5121 Fix documentation typos. Add some more debug info.
5123 2005-09-29 David Schleef <ds@schleef.org>
5125 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5126 more end-user friendly.
5127 * tools/gst-inspect.c: (main): Check if command-line argument is
5128 a file and attempt to load that file as a plugin.
5130 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5132 * check/gst/gstbin.c:
5133 * check/states/sinks.c:
5134 fix tests for the new warning
5135 * check/gst/gstpipeline.c:
5136 add a test for pipeline and bus interaction
5138 elements should be NULL if they get disposed; add a warning if not
5140 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5143 for 2.6 refcounting, make debug log more correct by printing
5144 the actual refcounts at the time of swap (Wim)
5146 2005-09-29 Andy Wingo <wingo@pobox.com>
5148 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5149 removes signal watches previously added via
5150 gst_bus_add_signal_watch.
5151 (gst_bus_add_signal_watch): Don't return the source id, just store
5152 it on the bus if there wasn't an id already.
5154 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5155 add_signal_watch and remove_signal_watch.
5157 2005-09-29 Edward Hervey <edward@fluendo.com>
5159 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5160 Better if we actually iterate the list :)
5162 2005-09-29 Wim Taymans <wim@fluendo.com>
5164 * check/gst/gstbin.c: (GST_START_TEST):
5165 Change for new bus API.
5167 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5168 (send_messages), (GST_START_TEST), (gstbus_suite):
5169 Change for new bus signal API.
5171 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5172 (gst_bus_source_prepare), (gst_bus_source_check),
5173 (gst_bus_create_watch), (gst_bus_add_watch_full),
5174 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5175 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5177 Remove support for multiple GSources operating on different
5178 message types as it is too complex and unneeded when using
5180 Added support for receiving signals from the bus.
5182 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5184 * docs/libs/tmpl/gstdataprotocol.sgml:
5185 * docs/manual/advanced-dataaccess.xml:
5186 * gst/elements/gstcapsfilter.c:
5188 rename filter-caps to caps property
5190 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5192 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5193 More robust fraction string parsing.
5195 * docs/pwg/appendix-porting.xml:
5196 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5198 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5200 * gst/gstcaps.c: (gst_caps_do_simplify):
5201 Thou shalt not free a structure and then continue using it
5202 in the next loop iteration.
5204 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5206 Add test case for caps simplification.
5208 2005-09-29 Wim Taymans <wim@fluendo.com>
5210 * check/gst/gstbin.c: (GST_START_TEST):
5213 2005-09-29 Wim Taymans <wim@fluendo.com>
5215 * check/gst/gstbin.c: (GST_START_TEST):
5218 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5219 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5220 (find_element), (gst_bin_sort_iterator_next),
5221 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5222 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5223 (gst_bin_change_state), (gst_bin_dispose):
5224 A bin does not have a bus, it gets the bus from the parent.
5226 * gst/gstelement.c: (gst_element_requires_clock),
5227 (gst_element_provides_clock), (gst_element_is_indexable),
5228 (gst_element_is_locked_state), (gst_element_change_state),
5229 (gst_element_set_bus_func):
5232 * gst/gstpipeline.c: (gst_pipeline_class_init),
5233 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5234 The pipeline provides a bus.
5236 2005-09-28 Johan Dahlin <johan@gnome.org>
5238 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5239 gst_structure_get_enum instead of gst_structure_get_int
5241 * gst/gststructure.c (gst_structure_get_enum): Impl.
5243 * gst/gststructure.h (gst_structure_get_enum): Add
5245 * docs/gst/gstreamer-sections.txt: Ditto
5247 * gst/gstmessage.c (gst_message_new_state_changed): Use
5248 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5249 which does introspection.
5250 Reviewed by Christian Schaller
5252 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5254 * gst/gstinfo.c: (gst_debug_log_default):
5255 don't do dummy g_strdup()s
5256 * libs/gst/controller/gstcontroller.c:
5257 (on_object_controlled_property_changed),
5258 (gst_controlled_property_new), (gst_controller_new_valist),
5259 (gst_controller_new_list),
5260 (gst_controller_remove_properties_valist), (gst_controller_set),
5261 (gst_controller_get), (gst_controller_sync_values),
5262 (gst_controller_get_value_array), (_gst_controller_class_init),
5263 (gst_controller_get_type):
5264 * libs/gst/controller/gstcontroller.h:
5265 * libs/gst/controller/gstinterpolation.c:
5266 (gst_controlled_property_find_timed_value_node):
5267 convert // to /**/ comments
5269 2005-09-28 Wim Taymans <wim@fluendo.com>
5271 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5272 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5273 (gst_bus_sync_signal_handler):
5275 Added async-message and sync-message signals to the bus.
5276 Added helper BusFunc to emit signals for all posted messages.
5278 * gst/gstmessage.c: (gst_message_type_get_name),
5279 (gst_message_type_to_quark), (gst_message_get_type):
5281 Register quarks for message names.
5283 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5285 * docs/libs/gstreamer-libs-sections.txt:
5286 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5287 (gst_controller_new_list):
5288 * libs/gst/controller/gstcontroller.h:
5289 added another constructor for language bindings
5291 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5293 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5297 * gst/gstinfo.c: (_gst_debug_init):
5298 slightly more readable color for refcount debugging
5300 2005-09-28 Wim Taymans <wim@fluendo.com>
5302 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5303 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5304 (find_element), (gst_bin_sort_iterator_next),
5305 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5306 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5307 (gst_bin_change_state), (gst_bin_dispose):
5308 Small doc fixes. get_clock -> provide_clock.
5310 * gst/gstelement.c: (gst_element_class_init),
5311 (gst_element_provides_clock), (gst_element_provide_clock),
5312 (gst_element_get_clock), (gst_element_commit_state),
5313 (gst_element_lost_state):
5315 Make get/set_clock() symetric. Add provide_clock vmethod since
5316 that is actually what this function does.
5318 * gst/gstpipeline.c: (gst_pipeline_class_init),
5319 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5320 (gst_pipeline_get_clock):
5321 get_clock -> provide_clock.
5323 2005-09-28 Andy Wingo <wingo@pobox.com>
5325 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5326 lieu of real docs...
5328 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5330 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5332 * gst/elements/gstcapsfilter.c:
5333 * gst/elements/gstfakesink.c:
5334 * gst/elements/gstfakesrc.c:
5335 * gst/elements/gstfdsink.c:
5336 * gst/elements/gstfdsrc.c:
5337 * gst/elements/gstfilesink.c:
5338 * gst/elements/gstfilesrc.c:
5339 * gst/elements/gstidentity.c:
5340 * gst/elements/gsttee.c:
5341 * gst/elements/gsttypefindelement.c:
5342 Make element details static.
5344 2005-09-28 Wim Taymans <wim@fluendo.com>
5346 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5347 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5348 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5349 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5350 (gst_bin_change_state), (gst_bin_dispose):
5351 Some documentation updates.
5352 Clean up dispose handlers.
5354 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5355 * gst/gstpad.c: (gst_pad_dispose):
5356 Clean up dispose handler.
5358 * gst/gstpipeline.c: (gst_pipeline_change_state):
5359 Removed spurious UNLOCK.
5361 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5363 * docs/gst/gstreamer-sections.txt:
5364 * gst/base/gstbasesrc.h:
5369 * gst/gstpipeline.c:
5370 * gst/gstpipeline.h:
5373 added two new functions to the docs
5374 documents all undocumented GstXXXFlags
5375 completed some incomplete docs
5377 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5379 * gst/gstbin.c: (gst_bin_dispose):
5380 * gst/gstelement.c: (gst_element_dispose):
5381 remove now useless and leaky resurrection code in dispose
5382 * gst/base/gstbasesrc.c: (gst_base_src_init):
5383 * gst/gstelementfactory.c: (gst_element_factory_create):
5384 * gst/gstobject.c: (gst_object_set_parent):
5387 2005-09-27 Wim Taymans <wim@fluendo.com>
5389 * docs/design/part-TODO.txt:
5392 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5393 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5394 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5395 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5396 (gst_bin_change_state):
5398 Remove element variable, we keep element info in the iterator now.
5400 2005-09-27 Andy Wingo <wingo@pobox.com>
5402 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5405 2005-09-27 Wim Taymans <wim@fluendo.com>
5407 * check/gst/gstbin.c: (GST_START_TEST):
5408 Enable check that works now.
5410 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5411 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5412 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5413 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5414 (gst_bin_change_state):
5416 Redid the state change algorithm using a topological sort algo.
5417 Handles all cases correctly.
5418 Exposed iterator for state change order.
5421 Temp storage for state changes. Need to get rid of this soon.
5423 2005-09-27 Wim Taymans <wim@fluendo.com>
5425 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5426 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5427 (link_fold_func), (gst_pad_proxy_setcaps):
5428 Leak fixes, the fold functions need to unref the passed object and
5429 _get_parent_*() returns ref to parent.
5431 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5433 * check/gst/gstbuffer.c: (test_make_writable):
5434 Plug leak in test case and fix 'make check-valgrind'
5436 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5438 * gst/gstbuffer.c: (gst_subbuffer_init):
5439 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5440 works correctly in all circumstances (we could have just copied
5441 the parent buffer's readonly flag, but conceptually it seems
5442 cleaner to mark all subbuffers as read-only). (based on patch
5443 by Alessandro Decina, #314710).
5445 * check/gst/gstbuffer.c: (create_read_only_buffer),
5446 (test_make_writable), (test_subbuffer_make_writable),
5448 Add some tests for gst_buffer_make_writable().
5450 2005-09-27 Wim Taymans <wim@fluendo.com>
5452 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5453 use gst_object_has_ancestor().
5455 * gst/gstobject.c: (gst_object_has_ancestor):
5457 gst_object_has_ancestor() copied from gstbin.c as it is a
5460 * tests/instantiate/create.c: (create_all_elements):
5461 * tests/lat.c: (handoff_src), (handoff_sink):
5462 * tests/sched/runxml.c: (main):
5463 * tests/seeking/seeking1.c: (main):
5464 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5466 Fix compilation of some tests.
5468 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5471 Remove comment. GST_TYPE_G_ERROR is here to stay,
5472 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5475 2005-09-26 Wim Taymans <wim@fluendo.com>
5477 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5478 Added check that shows error in state change order.
5480 2005-09-26 Wim Taymans <wim@fluendo.com>
5482 * gst/gstbin.c: (gst_bin_change_state):
5483 Make state change function use 3 queues again, we were
5484 adding elements in the wrong order.
5486 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5489 * gst/gstpad.c: (gst_pad_dispose):
5490 Added some debug info first.
5492 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5494 * docs/design/draft-push-pull.txt:
5495 * docs/design/part-events.txt:
5496 * docs/design/part-overview.txt:
5497 * docs/design/part-scheduling.txt:
5498 Replace all _pull_region() with _pull_range()
5500 2005-09-26 Andy Wingo <wingo@pobox.com>
5502 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5504 * check/gst-libs/controller.c: Update for controller api change.
5507 * tests/Makefile.am:
5508 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5509 over by GLib bug 118439.
5511 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5512 routines to a function.
5514 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5516 * libs/gst/controller/gsthelper.c:
5517 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5518 (gst_object_sync_values): Renamed from sink_values. Ugh.
5520 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5522 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5523 Renamed from controller_key, as it is exported.
5525 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5527 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5532 * gst/gstpadtemplate.h:
5535 * gst/gstqueryutils.c:
5536 * gst/gstqueryutils.h:
5537 remove queryutils headers after moving the two used functions
5538 to gstquery. also fixes build problem for gstsiddec
5540 2005-09-26 Michael Smith <msmith@fluendo.com>
5542 * tools/gst-launch.1.in:
5543 Correct documentation in manpage of debug syntax
5545 2005-09-26 Wim Taymans <wim@fluendo.com>
5547 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5548 (gst_base_src_is_seekable), (gst_base_src_change_state):
5549 Some more debugging info.
5551 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5553 * docs/gst/gstreamer-sections.txt:
5554 * gst/base/gstbasetransform.h:
5558 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5560 * docs/gst/.cvsignore:
5561 * docs/gst/tmpl/.cvsignore:
5562 * docs/gst/tmpl/gstpipeline.sgml:
5563 * docs/gst/tmpl/gstplugin.sgml:
5564 * gst/gstpipeline.c:
5567 inlined the last two docs files
5568 removed the tmpl directory from cvs (no more conflicts here!)
5570 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5572 * docs/gst/gstreamer-sections.txt:
5573 * docs/gst/tmpl/.cvsignore:
5574 * docs/gst/tmpl/gstpad.sgml:
5575 * docs/gst/tmpl/gstpadtemplate.sgml:
5577 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5578 (gst_pad_finalize), (gst_pad_set_pad_template):
5580 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5581 (gst_pad_template_class_init), (gst_pad_template_init),
5582 (gst_pad_template_dispose), (name_is_valid),
5583 (gst_static_pad_template_get), (gst_pad_template_new),
5584 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5585 (gst_pad_template_pad_created):
5586 * gst/gstpadtemplate.h:
5587 inlined two more docs
5588 factored gstpadtemplate out of gstpad
5590 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5592 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5593 (test_children_state_change_order_semi_sink):
5594 Fix test case: we can't rely on a fixed state change order when
5595 going from READY => PAUSED because the sink might commit its
5596 new state first when the first buffer created by the source
5597 reaches the sink before the source has finished its change state.
5598 (Test case still fails at times, see #316856, comment 5 onwards)
5600 2005-09-24 Wim Taymans <wim@fluendo.com>
5602 * docs/design/part-events.txt:
5603 * docs/design/part-gstbus.txt:
5604 * docs/design/part-gstpipeline.txt:
5605 * docs/design/part-messages.txt:
5606 * docs/design/part-overview.txt:
5607 * docs/design/part-segments.txt:
5614 * gst/gstiterator.c:
5615 Various documentation updates.
5617 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5620 Well, that's embarassing. Luckily we weren't using
5621 GST_CLOCK_DIFF anywhere.
5623 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5625 * common/gtk-doc.mak:
5626 don't fail on building XML, FC4 slave shows a bunch of doc
5627 missing bits that I don't get
5629 * gst/gstpipeline.c:
5630 * gst/gststructure.c:
5633 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5635 * docs/design/part-gstbin.txt:
5636 * docs/design/part-gstbus.txt:
5638 Add blurb about how the bus goes into flushing mode and
5639 drops all messages when its bin goes from READY into NULL
5642 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5644 * docs/gst/gstreamer-sections.txt:
5645 * gst/gststructure.c: (gst_structure_get_clock_time):
5646 * gst/gststructure.h:
5647 add a method to get a GstClockTime out of a structure
5649 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5651 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5652 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5653 Added test to check state change order in bins (can still be made
5654 to fail here under heavy disk load; bails out with 'Push on pad
5655 fakesink:sink0, but it was not activated in push mode').
5657 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5658 Fix state change order when there is only a semi sink (#316856)
5660 * gst/gstbus.c: (gst_bus_class_init):
5661 Use _class_peek_parent(), not _class_ref(); fix docs to say
5662 'default main context' instead of 'mainloop' where that is
5665 * gst/gstelement.c: (gst_element_commit_state),
5666 (gst_element_set_state):
5667 Fix typos in debug messages
5669 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5672 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5673 * gst/gstpluginfeature.c:
5676 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5677 change an assert into an error until it gets fixed properly
5679 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5681 * docs/gst/gstreamer-sections.txt:
5682 * docs/gst/tmpl/.cvsignore:
5683 * docs/gst/tmpl/gstelement.sgml:
5684 * docs/gst/tmpl/gstinfo.sgml:
5685 * docs/gst/tmpl/gstobject.sgml:
5690 * gst/gstobject.c: (gst_object_class_init):
5692 inlined 3 more biiiig doc files and added some missing docs on the fly
5694 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5696 * check/gst/.cvsignore:
5697 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5698 * gst/gstregistryxml.c: (load_plugin),
5699 (gst_registry_xml_save_plugin):
5700 put back source in registry. add checks for find_plugin.
5701 * testsuite/states/bin.c: (assert_state), (empty_bin),
5702 (test_adding_one_element), (main):
5703 * testsuite/states/locked.c: (main):
5704 some compile/run fixes
5706 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5708 * check/gst/gstvalue.c: (GST_START_TEST):
5709 fix leaks in the test itself
5711 2005-09-22 Wim Taymans <wim@fluendo.com>
5713 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5714 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5715 (gst_base_sink_query):
5716 Prepare for more accurate position reporting and query
5719 * gst/gstelement.c: (gst_element_send_event),
5720 (gst_element_set_state):
5723 2005-09-22 Wim Taymans <wim@fluendo.com>
5725 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5726 (gst_query_parse_segment):
5729 Add segment query for future use.
5731 2005-09-22 Wim Taymans <wim@fluendo.com>
5733 * gst/gstbin.c: (gst_bin_add_func):
5734 Some more debug info.
5736 * gst/gstelement.c: (gst_element_send_event):
5740 Don't know how flags got broken.
5745 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5747 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5748 Add simplistic test suite for GST_TYPE_DATE serialisation and
5751 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5753 * docs/gst/gstreamer-sections.txt:
5754 * gst/gststructure.c: (gst_structure_set_valist),
5755 (gst_structure_get_date):
5756 * gst/gststructure.h:
5757 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5758 (gst_date_copy), (gst_value_compare_date),
5759 (gst_value_serialize_date), (gst_value_deserialize_date),
5760 (gst_value_transform_date_string),
5761 (gst_value_transform_string_date), (_gst_value_initialize):
5763 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5764 bunch of utility functions along with a hack that checks that
5765 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5766 is required. Part of the grand scheme in #170777.
5768 2005-09-22 Andy Wingo <wingo@pobox.com>
5770 * gst/gstconfig.h.in: Psych out gtk-doc.
5772 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5774 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5776 * tools/gst-inspect.c (print_element_list): Plug some
5777 inconsequential leaks.
5779 * gst/gstregistry.c (gst_registry_get_default): Doc.
5781 * check/gst/gstplugin.c:
5782 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5783 * gst/gstelementfactory.c (gst_element_factory_create):
5784 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5787 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5788 (gst_plugin_feature_load): Doc, don't eat refs.
5790 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5791 (gst_plugin_list_free): Doc.
5792 (gst_plugin_load_file): Doc updates.
5794 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5795 accessors returning refcounted objects, return a ref.
5797 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5798 accessor for caps. IDEMPOTENCE. Oh yes.
5800 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5802 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5804 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5805 (_gst_debug_register_funcptr):
5806 Add mutex to serialise access to the hash table with
5807 the function pointer => function name string mapping;
5808 make that hash table static scope (#316809).
5810 * gst/registries/.cvsignore:
5811 Remove left-over file.
5813 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5815 * docs/pwg/appendix-porting.xml:
5816 And something about newsegment events and caps-on-buffers to
5817 the porting guide (feel free to improve).
5819 2005-09-21 Andy Wingo <wingo@pobox.com>
5821 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5822 data and event probes on the same pad.
5823 (test_buffer_probe_once): Test that removing probes from within
5824 the probe functions works.
5826 2005-09-21 Andy Wingo <wingo@pobox.com>
5828 * check/gst/gstutils.c: New file.
5829 (test_buffer_probe_n_times): A simple buffer probe test. More to
5832 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5833 have-data::buffer, not have-data.
5834 (gst_pad_add_event_probe): Likewise for have-data::event.
5835 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5836 peer' isn't quite right yet though.
5837 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5838 (gst_pad_remove_data_probe): Change to take the guint handler_id
5839 as their arg, not the function+data, which is more glib-like.
5841 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5842 the signal emission to indicate if the data is a buffer or an
5844 (gst_pad_get_type): Initialize buffer and event quarks.
5845 (gst_pad_class_init): have-data is now a detailed signal, yes it
5848 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5850 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5851 * gst/gstutils.c: (gst_util_set_value_from_string),
5852 (gst_util_set_object_arg):
5853 Don't put functional code in g_return_if_fail() or
5854 g_return_val_if_fail() statements, otherwise things will
5855 break when G_DISABLE_CHECKS is defined during compilation.
5857 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5859 * docs/gst/tmpl/.cvsignore:
5860 * docs/gst/tmpl/gstvalue.sgml:
5863 inlied another one and added some obvious docs
5865 2005-09-21 Wim Taymans <wim@fluendo.com>
5867 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5868 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5869 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5870 (gst_fdsrc_get_property), (gst_fdsrc_create):
5871 * gst/elements/gstfdsrc.h:
5872 Properly implement fdsrc. Removed signal and timeout,
5873 better implemented somewhere else.
5875 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5877 * docs/gst/tmpl/.cvsignore:
5878 * docs/gst/tmpl/gstimplementsinterface.sgml:
5879 * gst/gstinterface.c:
5882 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5884 * docs/gst/gstreamer-sections.txt:
5885 * docs/gst/tmpl/.cvsignore:
5886 * docs/gst/tmpl/gstenumtypes.sgml:
5887 remove obsolete doc file
5889 2005-09-21 David Schleef <ds@schleef.org>
5891 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5892 little beer, fix a little leak.
5894 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5896 * docs/gst/gstreamer-docs.sgml:
5897 * docs/gst/gstreamer-sections.txt:
5898 * docs/gst/tmpl/.cvsignore:
5903 * gst/gstindex.c: (gst_index_class_init):
5905 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5906 (gst_index_factory_class_init), (gst_index_factory_init),
5907 (gst_index_factory_finalize), (gst_index_factory_new),
5908 (gst_index_factory_destroy), (gst_index_factory_find),
5909 (gst_index_factory_create), (gst_index_factory_make):
5910 * gst/gstindexfactory.h:
5911 * gst/gstpluginfeature.c:
5912 * gst/gstpluginfeature.h:
5913 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5914 more docs inlined, splitted gstindex.{c,h}
5916 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5918 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5921 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5923 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5924 Set sync to FALSE by default.
5926 2005-09-20 Wim Taymans <wim@fluendo.com>
5928 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5929 (gst_base_sink_init):
5930 Make sync property settable from subclass.
5932 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5933 (gst_fake_sink_change_state):
5934 Set sync to FALSE by default.
5936 2005-09-20 Wim Taymans <wim@fluendo.com>
5938 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5939 * tools/gst-launch.c: (main):
5940 The timeout handler should have lower priority than the source
5941 so we don't timeout before popping a message with 0 timeout.
5942 Dump error messages after failed state change.
5944 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5946 * tools/gst-inspect.c: (print_element_properties_info):
5949 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5951 * check/gst/gstevent.c:
5952 * gst/elements/gstfakesink.c:
5953 * gst/elements/gstfakesink.h:
5954 remove the sync property from fakesink.
5955 has the side effect of setting sync TRUE
5956 for fakesink, which is a change. Anyone who knows how
5957 to fix this nicely in a GObject-y way, feel free.
5959 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5961 * docs/gst/gstreamer-docs.sgml:
5962 remove probe refsection
5964 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5966 * check/Makefile.am:
5967 disable valgrinding the controller test again
5968 * docs/gst/gstreamer-sections.txt:
5969 update for api-changes
5971 2005-09-20 Wim Taymans <wim@fluendo.com>
5973 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5974 (gst_base_sink_set_property), (gst_base_sink_get_property),
5975 (gst_base_sink_do_sync):
5976 * gst/base/gstbasesink.h:
5977 Added sync property to basesink to disable clock sync.
5979 2005-09-20 Andy Wingo <wingo@pobox.com>
5981 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5982 eating the caller's refcount.
5984 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5985 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5988 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5989 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5990 of GLib 2.8 public, so we can know which refcount to check in
5993 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5994 (gst_object_init): Only set the gst refcount if we're going ahead
5995 with the refcount hack.
5997 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5999 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6000 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6001 more leaks plumbed, added more debug-logging
6005 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6008 remove include of gstmemchunk.h
6010 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6012 * gst/gstclock.c: (_gst_clock_id_free):
6013 Commit from the Political Party For More Atomic CVS Commits,
6014 so that people don't waste too much of their day fishing
6015 out obvious leaks out of massive commits.
6016 Oh, and fix a pretty damn obvious leak in the memchunk
6019 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6021 * check/Makefile.am:
6022 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6023 plug mem-leak, re-add to valgrindable tests
6025 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6028 unbreak the build for those who have chronic arthritis
6029 and typing "make check" is just too taxing on the hands
6031 2005-09-20 Andy Wingo <wingo@pobox.com>
6033 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6034 really want it out, you should fix plugins at the same time.
6036 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6039 * docs/gst/gstreamer-sections.txt:
6041 added missing symbols to api docs
6042 disable ref-count hack if we have glib >= 2.8
6044 2005-09-19 David Schleef <ds@schleef.org>
6046 * docs/gst/Makefile.am: Ignore a few more internal headers
6047 * docs/gst/gstreamer-docs.sgml: Remove old sections
6048 * docs/gst/gstreamer-sections.txt: Remove old sections
6049 * docs/gst/tmpl/gstobject.sgml: update
6050 * docs/gst/tmpl/gstplugin.sgml: update
6051 * docs/gst/tmpl/gstpluginfeature.sgml: update
6052 * docs/random/ds/0.9-suggested-changes: update.
6053 * gst/Makefile.am: remove memchunk and trashstack, since they're
6055 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6056 * gst/gst.h: don't include some headers
6057 * gst/gstchildproxy.c: add gstmarshal.h
6058 * gst/gstclock.c: Don't use memchunks
6059 * gst/gstminiobject.c: Add some docs
6060 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6061 * gst/gstobject.h: same
6062 * gst/gstplugin.c: include gstmacros.h
6063 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6064 * gst/gstquery.c: don't use memchunks
6065 * gst/gstregistry.c: rename gst_registry_deinit()
6066 * gst/gstregistry.h: same
6068 2005-09-19 David Schleef <ds@schleef.org>
6070 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6071 * docs/libs/gstreamer-libs-sections.txt:
6072 * docs/libs/tmpl/gstgetbits.sgml:
6073 * docs/libs/tmpl/gstputbits.sgml:
6075 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6077 * win32/gstenumtypes.c:
6078 * win32/gstenumtypes.h:
6081 2005-09-19 Wim Taymans <wim@fluendo.com>
6083 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6084 Automatically PAUSE and RESUME a pipeline when a flushing seek
6087 2005-09-19 Andy Wingo <wingo@pobox.com>
6089 * gst/gstregistry.h: Spacing fixen.
6091 2005-09-19 Wim Taymans <wim@fluendo.com>
6093 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6094 Handle state change failure more correctly.
6096 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6098 * check/Makefile.am:
6099 * check/pipelines/cleanup.c: (run_pipeline):
6100 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6102 enable cleanup again after fixing the leak
6104 some more info on docs
6106 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6108 * check/Makefile.am:
6109 re-enable tests now that leaks are plugged
6111 * check/gst/gstbin.c:
6112 * check/gst/gstpipeline.c:
6113 add some more tests while fixing leaks
6115 make sure binaries are uptodate when valgrinding/gdbing
6117 * gst/gstelementfactory.c:
6118 remove a ref too many, and add a FIXME for when we get
6119 round to disposing of classes
6121 fix the refcounting when loading a plugin from a file and
6122 the code pretends that the pointer is the same even though
6123 of course it can change
6124 * gst/gstpluginfeature.c:
6125 unref plugins marked cached (a bit confusing as a name)
6126 as the docs state should be done
6127 various doc additions to explain refcounting
6128 * gst/gstregistry.c:
6129 * gst/gstregistryxml.c:
6132 2005-09-19 Wim Taymans <wim@fluendo.com>
6134 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6135 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6136 (send_messages), (GST_START_TEST), (gstbus_suite):
6137 * check/gst/gstpipeline.c: (GST_START_TEST):
6138 * check/pipelines/cleanup.c: (run_pipeline):
6139 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6141 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6142 (gst_bus_source_check), (gst_bus_source_dispatch),
6143 (gst_bus_create_watch), (gst_bus_add_watch_full),
6144 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6146 * tools/gst-launch.c: (event_loop):
6147 * tools/gst-md5sum.c: (event_loop):
6148 GstBusHandler -> GstBusFunc, return value has the same meaning as
6149 any other GSource (FALSE == remove source).
6150 _add_watch() and _add_watch_full() now take a MessageType mask to
6151 only handle specific types of messages.
6152 _poll() returns the GstMessage instead of the message type to avoid
6154 _have_pending() takes a MessageType mask now too.
6155 Added testsuite for multiple bus watches.
6156 Fix testsuites and applications for new bus API.
6158 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6160 * check/Makefile.am:
6161 mark a bunch of the tests as to fix until we fix them
6163 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6166 use GST_PLUGIN settings for valgrind tests as well, so we're
6167 valgrinding the correct thing
6168 * gst/gst.c: (init_post):
6171 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6173 * gst/gst.c: (init_post), (gst_deinit):
6174 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6175 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6176 * gst/gstindex.c: (gst_index_factory_class_init),
6177 (gst_index_factory_finalize):
6178 * gst/gstobject.c: (gst_object_dispose):
6179 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6180 (gst_plugin_load_file), (gst_plugin_desc_free):
6181 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6182 (gst_plugin_feature_finalize):
6183 * gst/gstregistry.c: (gst_registry_class_init),
6184 (gst_registry_init), (gst_registry_finalize),
6185 (gst_registry_get_default), (gst_registry_deinit):
6186 * gst/gstregistry.h:
6187 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6188 various cleanups and memleak plugging. make valgrind is happy now.
6190 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6193 add a check-valgrind target
6195 2005-09-18 David Schleef <ds@schleef.org>
6197 * tools/gst-inspect.c: Revert the GOption code.
6199 2005-09-17 David Schleef <ds@schleef.org>
6201 * check/Makefile.am: Fix environment variables.
6202 * check/gst/gstplugin.c: Fix for API changes.
6203 * tools/gst-inspect.c: Fix for API changes.
6204 * tools/gst-xmlinspect.c: Fix for API changes.
6205 * gst/gstelementfactory.c:
6208 * gst/gstpluginfeature.c:
6209 * gst/gstpluginfeature.h:
6210 * gst/gstregistry.c:
6211 * gst/gstregistry.h:
6212 * gst/gstregistryxml.c:
6213 * gst/gsttypefind.c:
6214 * gst/gsttypefindfactory.c:
6215 * gst/indexers/gstfileindex.c:
6216 * gst/indexers/gstmemindex.c:
6217 * gst/schedulers/Makefile.am:
6218 Change registry to keep track of both plugins and features,
6219 removing the feature tracking from plugins themselves.
6221 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6223 * check/Makefile.am:
6224 * tools/gst-register.1.in:
6227 2005-09-15 David Schleef <ds@schleef.org>
6229 * check/gst/gstplugin.c:
6230 * gst/gstelementfactory.c:
6232 * gst/gstpluginfeature.c:
6233 * gst/gstregistry.c:
6234 Getting tired of debugging. Disabled all the unreffing of
6235 plugins and features, which fixes the segfaults, but of
6236 course leaks like crazy. At least playbin works.
6238 2005-09-15 David Schleef <ds@schleef.org>
6240 * check/gst/gstplugin.c: (register_check_elements),
6241 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6243 * gst/elements/gsttypefindelement.c: Fix refcounting.
6244 * gst/gsttypefind.c:
6245 * gst/gsttypefindfactory.c:
6246 * gst/gsttypefindfactory.h:
6248 2005-09-15 David Schleef <ds@schleef.org>
6250 * gst/gstindex.c: get refcounting correct.
6251 * gst/gstregistry.c: Handle the case where a feature/plugin is
6254 2005-09-15 David Schleef <ds@schleef.org>
6256 * check/Makefile.am:
6257 * check/gst/gstplugin.c: Add test
6258 * gst/gstplugin.c: Fix problems noticed by testsuite
6260 * gst/gstregistry.c:
6261 * gst/gstregistry.h:
6263 2005-09-15 David Schleef <ds@schleef.org>
6265 * gst/gstplugin.c: Implement semi-decent recounting and locking
6266 in plugins and plugin features.
6268 * gst/gstpluginfeature.c:
6269 * gst/gstpluginfeature.h:
6270 * gst/gstregistry.c:
6272 2005-09-15 Michael Smith <msmith@fluendo.com>
6274 * gst/gstregistry.c: (gst_registry_get_feature_list):
6275 Implement this. Makes oggdemux work; decodebin still broken.
6277 2005-09-14 David Schleef <ds@schleef.org>
6279 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6281 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6282 * gst/check/Makefile.am:
6283 * libs/gst/controller/Makefile.am:
6284 * libs/gst/dataprotocol/Makefile.am:
6286 2005-09-14 David Schleef <ds@schleef.org>
6288 * configure.ac: Remove getbits library. Nothing uses it, and
6289 it should be in something like liboil if someone did want
6291 * libs/gst/Makefile.am:
6292 * libs/gst/getbits/Makefile.am:
6293 * libs/gst/getbits/gbtest.c:
6294 * libs/gst/getbits/getbits.c:
6295 * libs/gst/getbits/getbits.h:
6296 * libs/gst/getbits/gstgetbits_generic.c:
6297 * libs/gst/getbits/gstgetbits_i386.s:
6298 * libs/gst/getbits/gstgetbits_inl.h:
6300 2005-09-14 David Schleef <ds@schleef.org>
6302 * gst/Makefile.am: Dist glib-compat.h
6304 2005-09-14 David Schleef <ds@schleef.org>
6306 * configure.ac: Remove gst/registries, since it's no longer used.
6307 * gst/registries/Makefile.am:
6308 * gst/registries/gstlibxmlregistry.c:
6309 * gst/registries/gstlibxmlregistry.h:
6310 * gst/registries/gstxmlregistry.c:
6311 * gst/registries/gstxmlregistry.h:
6312 * gst/registries/registrytest.c:
6314 2005-09-14 David Schleef <ds@schleef.org>
6316 * gst/glib-compat.h:
6317 * gst/gstregistryxml.c:
6318 Convergence is near. Seriously.
6320 2005-09-14 David Schleef <ds@schleef.org>
6322 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6323 * gst/glib-compat.h:
6324 Attempt #4 to appease the buildbots.
6326 2005-09-14 David Schleef <ds@schleef.org>
6328 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6331 2005-09-14 David Schleef <ds@schleef.org>
6333 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6336 2005-09-14 David Schleef <ds@schleef.org>
6338 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6341 2005-09-14 David Schleef <ds@schleef.org>
6343 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6344 * gst/glib-compat.h: Add some functions that are in newer versions
6345 of glib than we care to require.
6346 * gst/gstregistryxml.c: Use them.
6348 2005-09-14 David Schleef <ds@schleef.org>
6350 * po/POTFILES.in: remove gst-register.c
6352 2005-09-14 David Schleef <ds@schleef.org>
6354 * docs/gst/gstreamer-docs.sgml:
6355 * docs/gst/gstreamer-sections.txt:
6356 * docs/gst/gstreamer.types:
6357 * docs/gst/tmpl/gstelement.sgml:
6358 * docs/gst/tmpl/gstplugin.sgml:
6359 * docs/gst/tmpl/gstpluginfeature.sgml:
6360 Documentation updates for registry changes.
6362 2005-09-14 David Schleef <ds@schleef.org>
6364 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6365 because we don't require glib-2.8.
6367 2005-09-14 David Schleef <ds@schleef.org>
6369 * gst/gstregistryxml.c: Added. Essentially moved out of the
6370 registries directory.
6372 2005-09-14 David Schleef <ds@schleef.org>
6374 * check/Makefile.am:
6375 * check/generic/states.c:
6379 * gst/gst_private.h:
6380 * gst/gstelementfactory.c:
6385 * gst/gstpluginfeature.c:
6386 * gst/gstpluginfeature.h:
6387 * gst/gstregistry.c:
6388 * gst/gstregistry.h:
6389 * gst/gstregistrypool.c: remove
6390 * gst/gstregistrypool.h: remove
6391 * gst/gsttypefind.c:
6392 * gst/gsttypefindfactory.c:
6394 * tools/Makefile.am:
6395 * tools/gst-compprep.c:
6396 * tools/gst-inspect.c:
6397 * tools/gst-register.c: remove
6398 * tools/gst-xmlinspect.c:
6399 Registry rewrite. Changes registry from being a file created
6400 by a tool into a simple cache file created automatically by
6401 libgstreamer. Removed gst-register (because it's no longer
6402 needed). Remove registry pools, because we only have one
6403 registry implementation (XML). Fix up other subsystems as
6406 2005-09-13 Michael Smith <msmith@fluendo.com>
6408 * gst/gstconfig.h.in:
6409 Don't Use windows linking attributes for MinGW. Fixes #316157
6411 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6413 * gst/gstutils.c: (set_state_async_thread_func),
6414 (gst_element_set_state_async):
6415 Apparently people think it's better if this function doesn't
6416 try to set the state to whatever state was asked for on the first
6417 call to this function for any object. Seriously.
6419 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6421 * check/gst/gstpipeline.c: (GST_START_TEST):
6422 * docs/gst/gstreamer-sections.txt:
6423 * gst/gstutils.c: (set_state_async_thread_func),
6424 (gst_element_set_state_async):
6426 add a "gst_element_set_state_async" method that
6427 sets the state and starts a thread to make sure the state
6428 change completes as best as it can
6430 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6432 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6433 codify design+behaviour in testsuite after discussion
6435 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6437 * docs/gst/tmpl/gstelement.sgml:
6438 * docs/manual/appendix-quotes.xml:
6440 * gst/gstelement.c: (gst_element_set_state):
6443 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6445 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6446 (gst_base_transform_prepare_output_buf),
6447 (gst_base_transform_handle_buffer):
6448 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6449 (gst_capsfilter_prepare_buf):
6450 Remove the requirement for sub-classes to call the parent
6451 implementation of prepare_output_buffer with a wrapper function.
6454 * gst/gsttagsetter.h:
6457 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6459 * docs/gst/gstreamer-sections.txt:
6462 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6464 * docs/gst/gstreamer-sections.txt:
6465 * docs/gst/tmpl/gstelement.sgml:
6466 * docs/gst/tmpl/gstplugin.sgml:
6467 * gst/gstminiobject.c:
6469 docs now stop throwing warnings
6471 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6473 * docs/gst/gstreamer-sections.txt:
6474 * docs/gst/gstreamer.types:
6475 * docs/gst/tmpl/gstpad.sgml:
6476 * docs/gst/tmpl/gsttypes.sgml:
6477 * gst/base/gstadapter.h:
6478 * gst/base/gstbasesink.h:
6479 * gst/base/gstbasesrc.h:
6489 * gst/gststructure.c:
6490 * gst/registries/gstlibxmlregistry.h:
6491 various documentation fixes
6493 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6495 * docs/gst/gstreamer-sections.txt:
6496 * docs/gst/tmpl/gstvalue.sgml:
6497 rearrange gstvalue section
6498 * gst/gstutils.c: (gst_element_state_get_name):
6500 * gst/gstvalue.c: (_gst_value_initialize):
6504 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6506 * check/gst-libs/controller.c:
6508 * gst/base/gstbasetransform.c:
6509 (gst_base_transform_default_prepare_buf),
6510 (gst_base_transform_handle_buffer):
6511 * gst/base/gstbasetransform.h:
6512 Some more basetransform changes and fixes to enable sub-classes
6513 that modify buffer metadata only.
6514 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6515 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6516 (gst_capsfilter_prepare_buf):
6517 If the output pad has fixed allowed caps and input buffers
6518 don't have any, set the fixed caps on outgoing buffers.
6520 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6521 * check/elements/identity.c: (GST_START_TEST):
6522 Make the error a little clearer when the test fails because
6523 identity made a copy of the buffer.
6524 * docs/gst/gstreamer-sections.txt:
6525 New symbols in gstbasetransform.h
6526 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6527 (gst_base_transform_init), (gst_base_transform_transform_size),
6528 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6529 (gst_base_transform_default_prepare_buf),
6530 (gst_base_transform_get_unit_size),
6531 (gst_base_transform_buffer_alloc),
6532 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6533 (gst_base_transform_change_state),
6534 (gst_base_transform_set_passthrough),
6535 (gst_base_transform_set_in_place),
6536 (gst_base_transform_is_in_place):
6537 * gst/base/gstbasetransform.h:
6538 Change BaseTransform to separate in_place operate from same_caps
6539 output. in_place implies that the element can perform the transform
6540 on incoming buffers in-place, even if the caps on the output are
6542 Sub-class elements can now implement special buffer allocation
6543 methods for outgoing buffers if they wish to.
6544 Big documentation addition.
6545 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6546 * gst/elements/gstelements.c:
6547 Changes for basetransform modifications.
6548 * gst/elements/Makefile.am:
6549 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6550 Compile fix. Extra debug output.
6552 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6554 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6556 add tests for valid pad naming
6557 * gst/check/gstcheck.c: (gst_check_log_message_func),
6558 (gst_check_log_critical_func):
6560 remove printing of code, it is fragile when the code contains
6561 % and the line number is enough info
6562 * gst/check/gstcheck.h:
6563 * gst/gstpad.c: (gst_pad_template_new):
6566 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6569 say what CHECK flags we use
6570 * docs/libs/gstreamer-libs.types:
6571 * libs/gst/controller/Makefile.am:
6572 * libs/gst/controller/gst-controller.c:
6573 * libs/gst/controller/gst-controller.h:
6574 * libs/gst/controller/gst-helper.c:
6575 * libs/gst/controller/gst-interpolation.c:
6576 * libs/gst/controller/gstcontroller.c:
6577 * libs/gst/controller/gsthelper.c:
6578 * libs/gst/controller/gstinterpolation.c:
6579 * tools/gst-inspect.c: (print_plugin_info):
6580 we don't use dashes in header names
6582 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6584 * check/Makefile.am:
6585 * check/gst/.cvsignore:
6586 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6587 (gst_pipeline_suite), (main):
6588 adding a test for pipelines and state changes
6589 * gst/gstutils.c: (get_state_func):
6591 * gstreamer.spec.in:
6594 2005-09-08 Michael Smith <msmith@fluendo.com>
6596 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6597 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6598 (gst_file_src_is_seekable), (gst_file_src_get_size),
6599 (gst_file_src_start):
6600 * gst/elements/gstfilesrc.h:
6601 Various fixes for unseekable, unmmapable, and non-normal files, so
6602 that fallback to read() rather than mmap() works.
6603 * gst/gstevent.c: (gst_event_new_newsegment):
6604 Allow newsegment events with segment_start == segment_end, as will
6605 correctly happen if you use filesrc on a zero-size file, for
6608 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6610 * gst/gstplugin.c: (gst_plugin_load_file):
6611 Call g_module_close when we don't load the module
6613 * gst/registries/gstlibxmlregistry.c:
6614 (gst_xml_registry_get_property):
6615 Port leak fix from 0.8
6617 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6619 * docs/gst/gstreamer-docs.sgml:
6620 * docs/gst/tmpl/.cvsignore:
6621 * docs/gst/tmpl/gsttrace.sgml:
6622 * docs/gst/tmpl/gsttrashstack.sgml:
6631 * gst/gsttaginterface.c:
6632 * gst/gsttaginterface.h:
6635 * gst/gsttagsetter.c:
6636 * gst/gsttagsetter.h:
6639 * gst/gsttrashstack.c:
6640 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6641 inlined docs for gsttrace, gsttrashstack
6643 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6646 * gst/elements/gstbufferstore.h:
6647 * gst/elements/gsttypefindelement.c:
6648 * gst/elements/gsttypefindelement.h:
6650 * gst/gsttypefind.c:
6651 * gst/gsttypefind.h:
6652 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6653 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6654 (gst_type_find_factory_dispose),
6655 (gst_type_find_factory_unload_thyself),
6656 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6657 (gst_type_find_factory_get_caps),
6658 (gst_type_find_factory_get_extensions),
6659 (gst_type_find_factory_call_function):
6660 * gst/gsttypefindfactory.h:
6661 * gst/registries/gstlibxmlregistry.c:
6662 * gst/registries/gstxmlregistry.c:
6663 splitted gsttypefind into gsttypefind, gsttypefindfactory
6665 2005-09-07 Andy Wingo <wingo@pobox.com>
6667 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6668 condition whereby the pad's task function is entered before the
6669 pad_mode variable was set.
6671 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6673 * gst/gstpad.c: (gst_pad_alloc_buffer):
6674 Catch misbehaving pad_alloc functions that don't
6675 set up caps and do it for them.
6677 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6679 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6681 * docs/gst/tmpl/.cvsignore:
6682 * docs/gst/tmpl/gstmemchunk.sgml:
6683 * docs/gst/tmpl/gstparse.sgml:
6684 * docs/gst/tmpl/gsttaglist.sgml:
6685 * docs/gst/tmpl/gsttagsetter.sgml:
6686 * docs/gst/tmpl/gsttypefind.sgml:
6687 * docs/gst/tmpl/gsttypefindfactory.sgml:
6688 * gst/gstmemchunk.c:
6691 * gst/gsttaginterface.c:
6692 * gst/gsttypefind.c:
6693 * gst/gsttypefind.h:
6696 === release 0.9.2 ===
6698 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6703 releasing 0.9.2, "South"
6705 2005-09-05 Andy Wingo <wingo@pobox.com>
6707 * gst/registries/gstxmlregistry.h:
6708 * gst/registries/gstxmlregistry.c: Um... resurrect...
6710 * gst/registries/gstxmlregistry.h:
6711 * gst/registries/gstxmlregistry.c: and update to newer API.
6712 Incidentally they should be a bit faster now that they don't have
6715 2005-09-05 Andy Wingo <wingo@pobox.com>
6717 * gst/registries/gstxmlregistry.h:
6718 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6719 replaced by the libxml registry a while back
6721 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6723 * docs/gst/tmpl/gstplugin.sgml:
6724 * gst/elements/gstelements.c:
6726 * gst/gstplugin.c: (gst_plugin_register_func),
6727 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6728 (gst_plugin_get_source):
6730 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6731 (gst_xml_registry_save_plugin):
6732 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6733 (gst_xml_registry_save_plugin):
6734 * tools/gst-inspect.c: (print_plugin_info):
6735 add a "source" plugin description field, to represent the source
6736 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6737 will set it to PACKAGE, which is automake's idea of the name of
6740 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6746 * docs/faq/Makefile.am:
6747 * docs/gst/tmpl/gstelement.sgml:
6748 * docs/gst/tmpl/gsttypes.sgml:
6749 * docs/htmlinstall.mak:
6750 * docs/manual/Makefile.am:
6751 * docs/pwg/Makefile.am:
6752 reorganize doc build a little
6753 split out docbook and gtk-doc stuff
6754 have two separate --enable's and enable them through autogen
6755 but disable by default in configure (to be similar to other
6757 * gstreamer.spec.in:
6758 clean up docs install
6778 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6780 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6783 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6784 (gst_fake_sink_change_state):
6785 Make state change function thread-safe.
6787 * gst/gstpad.c: (gst_pad_alloc_buffer):
6788 Set offset on generic buffer allocated by fallback.
6790 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6792 * docs/gst/gstreamer-sections.txt:
6793 * docs/gst/tmpl/gstelement.sgml:
6795 * libs/gst/controller/gst-controller.c:
6796 (gst_controlled_property_set_interpolation_mode),
6797 (gst_controlled_property_new),
6798 (gst_controller_find_controlled_property):
6799 run the wingo-magic script against the docs
6801 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6803 * docs/gst/gstreamer-docs.sgml:
6804 * docs/gst/gstreamer-sections.txt:
6805 * docs/gst/tmpl/.cvsignore:
6806 * docs/gst/tmpl/gstelementdetails.sgml:
6807 * docs/gst/tmpl/gstelementfactory.sgml:
6810 * gst/gstelementfactory.c:
6811 * gst/gstelementfactory.h:
6812 merged elementdetails docs into elementfactory docs
6815 2005-09-02 Andy Wingo <wingo@pobox.com>
6817 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6818 consider this enum an enum and not a flags.
6820 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6822 * docs/gst/gstreamer-docs.sgml:
6823 * docs/gst/tmpl/.cvsignore:
6824 * docs/gst/tmpl/gstghostpad.sgml:
6825 * docs/gst/tmpl/gstiterator.sgml:
6826 * docs/gst/tmpl/gstmacros.sgml:
6827 * docs/gst/tmpl/gstrealpad.sgml:
6828 * docs/gst/tmpl/gstregistry.sgml:
6829 * docs/gst/tmpl/gstregistrypool.sgml:
6830 * docs/gst/tmpl/gststructure.sgml:
6831 * docs/gst/tmpl/gstsystemclock.sgml:
6832 * docs/gst/tmpl/gsttrace.sgml:
6833 * gst/gstghostpad.c:
6835 * gst/gstmemchunk.c:
6836 * gst/gstmemchunk.h:
6838 * gst/gstregistry.c:
6839 * gst/gstregistrypool.c:
6840 * gst/gststructure.c:
6841 * gst/gstsystemclock.c:
6844 2005-09-02 Andy Wingo <wingo@pobox.com>
6846 * gst/gstelement.h (GstState): Renamed from GstElementState,
6847 changed to be a normal enum instead of flags.
6848 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6849 munged to be GST_STATE_CHANGE_*.
6850 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6851 work with the new state representation.
6852 (GstStateChange): New enumeration of possible state transitions.
6853 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6854 (GstElementClass::change_state): Pass the GstStateChange along as
6855 an argument. Helps language bindings, so they don't have to use
6856 tricky lock-needing macros like GST_STATE_CHANGE ().
6858 * scripts/update-states (file): New script. Run it on a file to
6859 update it for state naming and API changes. Updates files in
6862 * All files updated for the new API.
6864 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6866 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6867 * gst/gstutils.c: (gst_util_set_value_from_string),
6868 (gst_util_set_object_arg):
6869 fix a bunch of unchecked return values
6870 * tools/gst-complete.c: (main):
6871 * gstreamer.spec.in:
6874 2005-09-01 Wim Taymans <wim@fluendo.com>
6876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6877 (gst_base_sink_event), (gst_base_sink_do_sync),
6878 (gst_base_sink_handle_event):
6879 * gst/base/gstbasesink.h:
6880 Handle newsegments more correctly.
6885 * gst/gstevent.c: (gst_event_new_newsegment):
6886 A newsegment cannot have a start_time of -1
6888 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6890 * win32/gstenumtypes.c:
6891 * win32/gstenumtypes.h:
6894 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6896 * libs/gst/controller/gst-controller.c:
6897 (gst_controlled_property_set_interpolation_mode),
6898 (gst_controlled_property_new):
6901 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6903 * docs/faq/gst-uninstalled:
6908 * gst/gstutils.c: (gst_element_link_filtered):
6910 add gst_element_link_filtered
6912 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6914 * docs/gst/gstreamer-docs.sgml:
6915 * docs/gst/gstreamer-sections.txt:
6916 * docs/gst/tmpl/.cvsignore:
6917 * docs/gst/tmpl/gsterror.sgml:
6918 * docs/gst/tmpl/gstfilter.sgml:
6919 * docs/gst/tmpl/gsturihandler.sgml:
6920 * docs/gst/tmpl/gsturitype.sgml:
6921 * docs/gst/tmpl/gstutils.sgml:
6922 * docs/gst/tmpl/gstxml.sgml:
6930 inlined more docs, fixed double id-ref
6932 2005-08-31 Wim Taymans <wim@fluendo.com>
6934 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6935 (gst_base_transform_handle_buffer):
6936 Passthrough elements don't need the caps as they don't care.
6938 2005-08-31 Wim Taymans <wim@fluendo.com>
6940 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6941 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6942 Don't leak refcounts on buffers.
6944 2005-08-31 Wim Taymans <wim@fluendo.com>
6946 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6947 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6948 (gst_base_transform_chain), (gst_base_transform_change_state):
6949 * gst/base/gstbasetransform.h:
6950 Handle the case where we are not negotiated more gracefully.
6952 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6954 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6955 (gst_file_src_map_region):
6956 Set READONLY flag on mmap'ed buffers, otherwise
6957 gst_buffer_make_writable() won't work properly (#314708).
6959 2005-08-31 Wim Taymans <wim@fluendo.com>
6961 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6962 passthrough elements can even do inplace on non writable
6963 buffers (as they don't touch them).
6965 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6967 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6968 (gst_test_mono_source_set_property),
6969 (gst_test_mono_source_class_init), (GST_START_TEST),
6970 (gst_controller_suite):
6971 more tests (hehe I have the most)
6973 describe popping messages whenusing mulltiple sources
6974 * libs/gst/controller/gst-controller.c:
6975 (gst_controlled_property_set_interpolation_mode),
6976 (gst_controlled_property_new):
6977 * libs/gst/controller/gst-controller.h:
6978 * libs/gst/controller/gst-interpolation.c:
6979 implement boolean properties
6981 2005-08-31 Wim Taymans <wim@fluendo.com>
6983 * gst/gstminiobject.c: (gst_mini_object_ref):
6984 Cannot assert that the refcount has to be positive
6985 since a disposed object can be resurrected.
6987 2005-08-31 Wim Taymans <wim@fluendo.com>
6989 * gst/gstpad.c: (gst_pad_init):
6990 Revert change, need to first fix badly behaving
6993 2005-08-30 Wim Taymans <wim@fluendo.com>
6995 * check/elements/fakesrc.c: (setup_fakesrc):
6996 * check/elements/identity.c: (setup_identity):
6997 Activate pads before using them.
6999 2005-08-30 Wim Taymans <wim@fluendo.com>
7001 * gst/base/gstadapter.c: (gst_adapter_flush):
7002 Flushing out 0 bytes is ok for this function.
7004 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7005 no newsegment gives a warning and sets the start/stop to
7008 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7009 (gst_base_transform_set_passthrough):
7012 * gst/gstminiobject.c: (gst_mini_object_ref):
7013 Check refcount here too.
7015 * gst/gstpad.c: (gst_pad_init):
7016 Pads are initially flushing and refusing data.
7018 * gst/gstutils.c: (gst_element_link_pads_filtered):
7019 When adding a capsfilter element make sure it has the
7020 same state as the parent bin.
7022 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7024 * docs/gst/tmpl/.cvsignore:
7025 * docs/gst/tmpl/gstformat.sgml:
7026 * docs/gst/tmpl/gstversion.sgml:
7030 * gst/gstversion.h.in:
7031 more docs and two more inlined
7033 2005-08-30 Wim Taymans <wim@fluendo.com>
7035 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7036 Don't sync to clock.
7038 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7040 * docs/gst/gstreamer-sections.txt:
7041 ultral33t func10ns deserve to appear in the docs actually
7042 * docs/gst/tmpl/.cvsignore:
7043 * docs/gst/tmpl/gstcompat.sgml:
7044 * docs/gst/tmpl/gstconfig.sgml:
7045 * gst/check/gstcheck.c:
7047 * gst/gstconfig.h.in:
7050 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7052 * docs/gst/tmpl/.cvsignore:
7053 * docs/gst/tmpl/gstquery.sgml:
7054 * docs/gst/tmpl/gstutils.sgml:
7057 inlined and extended docs
7059 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7061 * check/gst-libs/controller.c: (GST_START_TEST),
7062 (gst_controller_suite):
7064 * docs/gst/tmpl/gstutils.sgml:
7065 * docs/libs/gstreamer-libs-sections.txt:
7066 * docs/libs/tmpl/gstdataprotocol.sgml:
7068 * examples/controller/audio-example.c: (main):
7069 controller example works now
7072 * tools/gst-inspect.c: (print_element_properties_info):
7073 show param spec flags
7075 2005-08-29 Andy Wingo <wingo@pobox.com>
7077 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7079 2005-08-28 Andy Wingo <wingo@pobox.com>
7081 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7082 as having two arguments instead of just one. Allows superclasses
7083 to access information on subclasses -- see the terrible for() loop
7084 in gtype.c:g_type_create_instance for the reason why. All callers
7087 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7089 * docs/design/part-messages.txt:
7091 * docs/gst/tmpl/.cvsignore:
7092 * docs/gst/tmpl/gstcaps.sgml:
7093 * docs/gst/tmpl/gstclock.sgml:
7100 added descriptions for bus and message
7101 inline caps and clock docs
7103 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7109 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7111 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7114 2005-08-26 Andy Wingo <wingo@pobox.com>
7116 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7117 element_set_state's return val.
7118 (test_2_elements): Add test that's been disabled for months.
7120 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7121 can-activate-pull properties.
7123 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7124 can-activate-pull properties. Implement is_seekable so fakesrc can
7125 operate in pull mode.
7127 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7129 (gst_base_sink_activate, gst_base_sink_activate_pull)
7130 (gst_base_sink_activate_push): Make activation mode choosing work.
7132 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7133 is right. Make pull mode work. Post an eos before pausing in pull
7135 (gst_base_sink_change_state): Pay attention to the core's
7136 change_state() return val.
7138 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7139 has-getrange properties. Cleanups.
7141 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7142 has_getrange and replace with can_activate_pull and
7145 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7146 locking comments. Remove has_loop, has_chain and replace with
7147 can_activate_pull and can_activate_push.
7149 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7152 * examples/Makefile.am:
7153 * examples/metadata/Makefile.am:
7154 * examples/metadata/read-metadata.c: (message_loop),
7155 (have_pad_handler), (make_pipeline), (print_tag), (main):
7156 Add metadata reading example that loops over a list of filenames,
7157 dumping any tags found.
7159 * gst/gstbus.c: (gst_bus_dispose):
7160 * gst/gstelement.c: (gst_element_dispose):
7161 Release a few potentially-held references in dispose.
7163 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7165 * docs/gst/tmpl/gstminiobject.sgml:
7166 do *not* add tmpl/*.sgml files to CVS!
7168 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7170 * libs/gst/bytestream/.cvsignore:
7171 * libs/gst/bytestream/Makefile.am:
7172 * libs/gst/bytestream/adapter.c:
7173 * libs/gst/bytestream/adapter.h:
7174 * libs/gst/bytestream/bytestream.c:
7175 * libs/gst/bytestream/bytestream.h:
7176 * libs/gst/bytestream/filepad.c:
7177 * libs/gst/bytestream/filepad.h:
7178 removing obsolete files
7180 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7182 * docs/gst/gstreamer-docs.sgml:
7183 * docs/libs/gstreamer-libs-docs.sgml:
7184 disabed additional index entries again, as this makes docs-gen just
7185 slow and they aren't useful yet
7186 * docs/libs/gstreamer-libs-sections.txt:
7187 little -section.txt cleanup for libs
7189 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7191 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7192 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7193 fix up some debugging
7194 (gst_base_transform_get_unit_size),
7195 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7196 (gst_base_transform_handle_buffer):
7197 * gst/base/gstbasetransform.h:
7198 handle and store timed NEWSEGMENT events so that subclasses that
7199 calculate time by counting samples have a segment_start time they
7200 need to add to their timestamps - see audioresample
7202 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7205 removed ';' from the end of macro defs
7206 * docs/gst/gstreamer-docs.sgml:
7207 * docs/gst/gstreamer-sections.txt:
7208 * docs/gst/tmpl/.cvsignore:
7210 * gst/gstelement.c: (gst_element_class_init),
7211 (gst_element_set_state), (activate_pads),
7212 (gst_element_save_thyself):
7213 * gst/gstevent.c: (gst_event_new_newsegment):
7215 * gst/gstiterator.c:
7216 * gst/gstiterator.h:
7219 * gst/gstutils.c: (gst_pad_query_convert):
7221 fixed parameter name mismatches between source, header and docs
7222 added some more docs, resolved the last batch of unused elements in
7223 docs (now someone needs to doc them)
7225 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7227 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7228 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7229 don't walk through the plugins backwards. Where is all this
7230 reversed logic coming from ?
7232 2005-08-25 Wim Taymans <wim@fluendo.com>
7234 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7235 (gst_base_transform_transform_size),
7236 (gst_base_transform_configure_caps),
7237 (gst_base_transform_get_unit_size),
7238 (gst_base_transform_buffer_alloc),
7239 (gst_base_transform_change_state):
7240 * gst/base/gstbasetransform.h:
7241 Cache caps unit_size.
7242 Make sure we cannot negotiate up and downstream at the
7245 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7247 * gst/gst.c: (init_pre), (init_post):
7248 register the installed plugin path after the env var
7249 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7250 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7251 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7252 directories, so the tests can prefer uninstalled over installed
7254 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7256 * gst/base/gstbasetransform.h:
7261 2005-08-25 Wim Taymans <wim@fluendo.com>
7263 * gst/gstbin.c: (bin_bus_handler):
7264 Be a bit more conservative about the posted message.
7266 * gst/gstbus.c: (gst_bus_post):
7267 Some cleanups, warn wrong return values.
7269 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7271 * check/gst/gstbin.c: (GST_START_TEST):
7272 * gst/gstbin.c: (bin_bus_handler):
7273 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7274 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7275 (gst_message_new_warning), (gst_message_new_tag),
7276 (gst_message_new_state_changed), (gst_message_new_segment_start),
7277 (gst_message_new_segment_done), (gst_message_new_custom):
7279 * tools/gst-launch.c: (event_loop):
7280 * tools/gst-md5sum.c: (event_loop):
7281 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7283 2005-08-25 Wim Taymans <wim@fluendo.com>
7285 * check/generic/states.c: (GST_START_TEST):
7286 Cleanup can be done at the end.
7288 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7289 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7290 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7291 Oh boy.. Thanks for finding this, Thomas.
7293 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7295 * docs/gst/gstreamer.types:
7298 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7300 * docs/gst/gstreamer-docs.sgml:
7301 * docs/gst/gstreamer-sections.txt:
7302 * docs/gst/tmpl/.cvsignore:
7304 * gst/gstiterator.c:
7306 * gst/registries/gstxmlregistry.h:
7307 added missing classes and symbols (123 more to go)
7308 removed removed symbols from section file
7309 fixed many doc-comments
7311 2005-08-24 Wim Taymans <wim@fluendo.com>
7313 * check/generic/states.c: (GST_START_TEST):
7314 Make sure all tasks are stopped.
7316 * check/gst/gstbin.c: (GST_START_TEST):
7317 Unref after usage for proper valgrinding.
7319 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7320 Really wait for the task to stop before destroying the
7323 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7324 (gst_queue_src_activate_push):
7325 Small cleanups. Don't stop the task when we did not start
7328 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7329 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7330 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7333 Protect the stream lock with the object lock.
7334 Disallow setting the stream lock when running.
7335 Add cleanup_all to wait for the threadpool to finish.
7336 Remove code to autoallocate a mutex if none was provided.
7337 Add _join() to wait for a task to stop.
7338 Protect the thread pool with a global lock.
7340 2005-08-24 Wim Taymans <wim@fluendo.com>
7342 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7343 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7344 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7345 * gst/base/gstbasesink.h:
7346 Handle newsegment events correctly.
7347 Drop buffers out of the segment range.
7349 2005-08-22 Andy Wingo <wingo@pobox.com>
7351 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7352 macro, implements an interface and gstimplementsinterface for a
7355 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7357 * check/Makefile.am:
7358 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7359 add a test that does a bunch of state changes on elements
7360 needs some fixing for valgrind
7361 * check/states/sinks.c: (gst_object_suite):
7364 add prototype for gst_caps_is_equal_fixed
7366 * gst/gstregistrypool.c:
7369 2005-08-24 Andy Wingo <wingo@pobox.com>
7371 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7372 convert a negative value. Doesn't make much sense. Mostly this is
7373 here to force callers to ensure -1 maps to -1.
7375 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7377 * docs/pwg/advanced-types.xml:
7378 Well done to Michael for catching my deliberate introduction
7379 of this spelling mistake.
7380 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7382 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7383 unlink pads before removing the element from the bin.
7385 2005-08-24 Andy Wingo <wingo@pobox.com>
7387 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7388 the same thing as GST_DEBUG=*:4.
7389 (parse_debug_level, parse_debug_category): New helper parsers.
7391 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7393 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7394 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7395 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7396 (gst_base_transform_buffer_alloc),
7397 (gst_base_transform_handle_buffer):
7398 use gboolean return values and pointers to size so we can use the
7399 full GST_BUFFER_SIZE range (guint) for buffer sizes
7400 use GstPadDirection for transform_caps
7401 * gst/base/gstbasetransform.h:
7402 rename get_size to get_unit_size since that's what it is
7403 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7404 use GstPadDirection for transform_caps
7405 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7407 cleanup and debugging
7409 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7411 * gst/gstelement.c: (gst_element_class_init),
7412 (gst_element_set_state), (activate_pads),
7413 (gst_element_save_thyself):
7414 * tools/gst-compprep.c: (main):
7415 * tools/gst-inspect.c: (print_element_properties_info):
7416 * tools/gst-xmlinspect.c: (print_element_properties):
7417 Fixed long standing mem-leak
7419 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7421 * check/gst/gstbin.c: (GST_START_TEST):
7422 * gst/gstbin.c: (bin_bus_handler):
7423 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7424 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7425 (gst_message_new_warning), (gst_message_new_tag),
7426 (gst_message_new_state_changed), (gst_message_new_segment_start),
7427 (gst_message_new_segment_done), (gst_message_new_custom):
7429 * tools/gst-launch.c: (event_loop):
7430 * tools/gst-md5sum.c: (event_loop):
7431 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7432 that applications can sensibly post custom messages with references
7433 to their own objects.
7435 2005-08-24 Andy Wingo <wingo@pobox.com>
7437 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7440 2005-08-24 Wim Taymans <wim@fluendo.com>
7442 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7443 (gst_base_transform_transform_caps),
7444 (gst_base_transform_transform_size),
7445 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7446 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7447 (gst_base_transform_handle_buffer):
7448 * gst/base/gstbasetransform.h:
7449 Many fixes and new features added by Thomas. Can now also do
7450 transforms with variable sizes and a custom fixate_caps function.
7452 2005-08-24 Wim Taymans <wim@fluendo.com>
7454 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7458 Cast to ClockTime before formatting to time.
7463 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7465 * check/gst-libs/controller.c: (GST_START_TEST),
7466 (gst_controller_suite):
7467 * docs/gst/tmpl/gstcaps.sgml:
7468 * docs/gst/tmpl/gstghostpad.sgml:
7469 * docs/gst/tmpl/gstquery.sgml:
7470 * docs/gst/tmpl/gstutils.sgml:
7471 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7472 (gst_object_sink_values), (gst_object_get_value_arrays),
7473 (gst_object_get_value_array):
7474 gracefully handle helper method calls to objects that are not beeing
7475 controlled, added test case for that
7477 2005-08-23 Wim Taymans <wim@fluendo.com>
7479 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7480 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7481 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7482 (gst_event_parse_qos), (gst_event_new_seek),
7483 (gst_event_parse_seek):
7485 Some more debugging output and doc cleanups.
7487 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7488 Fix possible deadlock.
7490 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7492 * docs/gst/gstreamer-docs.sgml:
7493 * docs/gst/gstreamer-sections.txt:
7494 * docs/gst/gstreamer.types:
7495 * docs/gst/tmpl/.cvsignore:
7500 added 100 symbols from gstreamer-unused.txt to the right sections
7501 fixed more broken comments
7502 added GstBus to docs
7504 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7506 * docs/gst/gstreamer-sections.txt:
7507 * docs/gst/tmpl/.cvsignore:
7508 * docs/gst/tmpl/gstbin.sgml:
7509 * docs/gst/tmpl/gstbuffer.sgml:
7510 * gst/base/gstbasesrc.c:
7511 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7514 * tools/gst-launch.1.in:
7515 inlined more doc comments, added missing comments and fixed comments
7518 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7520 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7524 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7526 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7527 * gst/gststructure.h:
7528 add a fixate function for booleans; add a FIXME that these func
7529 names should probably be gst_structure_fixate_*
7531 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7533 * docs/gst/gstreamer-docs.sgml:
7534 * docs/gst/gstreamer-sections.txt:
7536 * gst/gstbin.c: (gst_bin_get_type),
7537 (gst_bin_child_proxy_get_child_by_index),
7538 (gst_bin_child_proxy_get_children_count),
7539 (gst_bin_child_proxy_init):
7540 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7541 (gst_child_proxy_get_child_by_index),
7542 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7543 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7544 (gst_child_proxy_get), (gst_child_proxy_set_property),
7545 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7546 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7547 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7548 * gst/gstchildproxy.h:
7549 * gst/parse/grammar.y:
7550 * tools/gst-inspect.c: (print_interfaces),
7551 (print_element_properties_info), (print_element_info):
7552 ported gstchildproxy over from 0.8
7553 ported gst-inspect fixes and enhancements over from 0.8
7555 2005-08-22 Wim Taymans <wim@fluendo.com>
7557 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7558 (gst_base_transform_handle_buffer):
7559 Also call the transform function if we have ANY caps.
7561 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7564 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7566 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7567 Don't pretend to handle seek events if the source is not seekable
7569 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7572 Remove extra parameter to debug output
7574 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7575 (gst_base_src_do_seek), (gst_base_src_activate_push):
7576 Fix seek event handling.
7578 * gst/gstpipeline.c: (gst_pipeline_change_state):
7579 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7580 (gst_queue_src_activate_push):
7581 Don't start the src pad task on FLUSH_STOP if the pad
7585 2005-08-22 Wim Taymans <wim@fluendo.com>
7587 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7588 Added check for gst_static_caps_get() refcounting.
7590 2005-08-22 Wim Taymans <wim@fluendo.com>
7592 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7593 Make _static_caps_get() refcounting sane.
7595 * gst/gstelement.c: (gst_element_set_state):
7596 Add g_return_val_if_fail() to protect against segfaults.
7598 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7600 * docs/gst/tmpl/gstevent.sgml:
7603 inlined remaining docs, added missing doc comments
7605 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7607 * check/gst/gstbin.c: (GST_START_TEST):
7608 since we don't know when preroll is done, use refcount range
7610 * gst/check/gstcheck.h:
7611 add macro for checking refcount range
7613 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7615 * check/Makefile.am:
7616 clean up environment for when registry gets built versus
7617 when actual tests are run; valgrind seems to not report
7618 leaks if GST_PLUGIN_PATH is set to some specific values
7619 * check/gst/gstbin.c: (GST_START_TEST):
7620 add more refcounting checks; maybe this exposes a
7623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7624 * gst/check/gstcheck.h:
7625 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7626 (gst_bin_change_state):
7627 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7628 add/fix debugging/whitespace
7630 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7632 * check/gst/gstevent.c: (event_probe), (test_event),
7634 Er, don't call gst_bin_watch_for_state_change you idiot.
7636 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7638 * check/Makefile.am:
7639 Use CHECK_CFLAGS and CHECK_LIBS
7640 * check/gst/gstevent.c: (event_probe), (test_event),
7643 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7644 (gst_base_src_start), (gst_base_src_stop),
7645 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7646 (gst_base_src_change_state):
7647 Sprinkle gst_base_src_stop liberally around error paths to fix
7648 problems reusing a source after failed state changes.
7649 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7650 (helper_find_suggest), (gst_type_find_helper):
7651 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7653 * docs/gst/tmpl/gstevent.sgml:
7654 Migrate part of the docs from the SGML file. Wait for ensonic to
7655 tell me how I did it wrong ;)
7656 * tools/gst-typefind.c: (main):
7657 Extra robustness to state changes between files.
7659 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7661 * check/Makefile.am:
7662 don't valgrind the controller test - it's leaking - Stefan, HELP
7663 * gst/check/gstcheck.c: (gst_check_message_error),
7664 (gst_check_chain_func), (gst_check_setup_element),
7665 (gst_check_teardown_element), (gst_check_setup_src_pad),
7666 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7667 (gst_check_teardown_sink_pad):
7668 * gst/check/gstcheck.h:
7669 add a bunch of methods to set up elements, and src and sink pads
7670 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7671 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7676 whitespace/doc fixes
7678 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7681 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7682 be handled by the application and not always printed as well
7684 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7686 * check/Makefile.am:
7688 * gst/check/gstcheck.c: (gst_check_message_error):
7689 * gst/check/gstcheck.h:
7690 add a fail_unless_equals_int
7691 add fail_unless for error messages
7693 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7695 * check/Makefile.am:
7697 * common/Makefile.am:
7700 factor out some of the common stuff so we can use it
7702 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7704 * check/Makefile.am:
7705 * check/gst/gstiterator.c: (GST_START_TEST):
7706 * check/gst/gstsystemclock.c: (GST_START_TEST),
7707 (gst_systemclock_suite):
7708 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7712 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7714 * check/elements/.cvsignore:
7715 * check/elements/gstfakesrc.c:
7716 rename to name of element
7717 * check/elements/identity.c: (chain_func), (event_func),
7718 (setup_identity), (cleanup_identity), (GST_START_TEST),
7719 (identity_suite), (main):
7720 add a test for identity
7721 * check/Makefile.am:
7722 * pkgconfig/Makefile.am:
7723 * pkgconfig/gstreamer-check.pc.in:
7724 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7728 move the check stuff to a library that gets installed
7729 * check/gst-libs/controller.c: (GST_START_TEST):
7730 * check/gst-libs/gdp.c:
7731 * check/gst/gst.c: (GST_START_TEST):
7732 * check/gst/gstbin.c:
7733 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7734 * check/gst/gstbus.c:
7735 * check/gst/gstcaps.c: (GST_START_TEST):
7736 * check/gst/gstelement.c:
7737 * check/gst/gstghostpad.c:
7738 * check/gst/gstiterator.c:
7739 * check/gst/gstmessage.c:
7740 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7741 * check/gst/gstobject.c:
7742 * check/gst/gstpad.c: (GST_START_TEST):
7743 * check/gst/gststructure.c: (GST_START_TEST):
7744 * check/gst/gstsystemclock.c: (GST_START_TEST),
7745 (gst_systemclock_suite):
7746 * check/gst/gsttag.c: (gst_tag_suite):
7747 * check/gst/gstvalue.c:
7748 * check/pipelines/cleanup.c:
7749 * check/pipelines/simple_launch_lines.c:
7750 * check/states/sinks.c:
7751 change include statement
7753 * docs/gst/gstreamer-sections.txt:
7754 * docs/gst/tmpl/gstpad.sgml:
7755 document more pad stuff
7756 * gst/gstminiobject.c: (gst_mini_object_ref),
7757 (gst_mini_object_unref):
7760 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7762 * docs/gst/tmpl/gst.sgml:
7764 eliminate another tmpl file, fix spelling in the long-description
7766 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7768 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7769 (test_event), (timediff), (gstevents_suite):
7770 Should fix build on 64-bit arch's
7772 2005-08-18 Andy Wingo <wingo@pobox.com>
7774 Make sure that when a pipeline goes to PLAYING, that data has
7775 actually hit the sink.
7777 * check/states/sinks.c (test_sink): A sink that doesn't get any
7778 data shouldn't return SUCCESS for going to either PLAYING or
7779 PAUSED. Test also the return values on the way back down.
7781 * gst/gstelement.c (gst_element_set_state): When changing the
7782 state of an element currently changing state asynchronously, go to
7783 lost-state after commiting the pending state. Makes future calls
7784 to get_state continue to return ASYNC.
7786 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7787 ASYNC when going to PLAYING if we still don't have preroll, as can
7788 happen with live sources.
7790 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7792 * docs/pwg/advanced-types.xml:
7793 Hack long paragraph into 2 chunks as a workaround for buggy
7794 jadetex version in sid and breezy that loops infinitely and
7797 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7799 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7800 (test_event), (timediff), (gstevents_suite):
7801 Provide more error margin in clock measurements to allow for
7802 g_get_current_time inaccuracies.
7804 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7806 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7807 (test_event), (timediff), (gstevents_suite):
7808 Fix error message output so I might be able to tell why the
7809 test works here but fails on the build farm.
7811 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7813 * check/Makefile.am:
7814 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7815 (test_event), (timediff), (gstevents_suite), (main):
7818 * docs/design/part-seeking.txt:
7821 * docs/gst/tmpl/gstevent.sgml:
7822 * docs/gst/tmpl/gstfakesrc.sgml:
7825 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7826 Treat a buffer-without-newsegment the same as a receiving
7827 a newsegment not in time format, and disable syncing to the clock
7830 * gst/gstbus.c: (gst_bus_set_sync_handler):
7831 Assert if anyone tries to replace the existing sync_handler for bus,
7832 as only the owner should be setting it.
7835 Have a fixed set of custom event enums with events identified by
7836 their structure name (as in 0.8), rather than a free-for-all
7837 allowing collisions between enum values from different plugins.
7839 * gst/gstpad.c: (gst_pad_class_init):
7842 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7843 Handle out-of-band downstream events from the sending thread.
7845 2005-08-17 Andy Wingo <wingo@pobox.com>
7847 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7848 play-timeout==0 to mean no timeout at all. In that case, don't
7849 bother with a get_state or a warning, just return directly, even
7852 * gst/base/gstbasetransform.c: Debug changes.
7855 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7856 ensure bins post state change messages. A bit of a hack but I can't
7857 think of a way to avoid it.
7859 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7861 2005-08-16 Andy Wingo <wingo@pobox.com>
7863 * gst/base/gstadapter.h:
7864 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7865 peek() but you own the data. Not terribly efficient atm.
7867 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7869 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7870 (gst_element_found_tags):
7872 Add two utility functions for tag handling.
7874 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7876 * docs/manual/advanced-dataaccess.xml:
7877 * docs/manual/basics-helloworld.xml:
7878 Fix docs to use _bin_add() before _link(), which fixes the examples
7879 with recent core versions (reported by Madhan Raj M
7880 <raj_madan@rediffmail.com>, #313199).
7882 2005-08-16 Wim Taymans <wim@fluendo.com>
7884 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7885 Added subtract checks.
7887 * docs/design/part-events.txt:
7888 Some more docs about newsegment
7890 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7893 * gst/gstcaps.c: (gst_caps_to_string):
7894 Add comments, cleanups.
7896 * gst/gstelement.c: (gst_element_save_thyself):
7899 * gst/gstvalue.c: (gst_value_collect_int_range),
7900 (gst_string_unwrap), (gst_value_union_int_int_range),
7901 (gst_value_union_int_range_int_range),
7902 (gst_value_intersect_int_int_range),
7903 (gst_value_intersect_int_range_int_range),
7904 (gst_value_intersect_double_double_range),
7905 (gst_value_intersect_double_range_double_range),
7906 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7907 (gst_value_subtract_int_range_int),
7908 (gst_value_subtract_double_range_double),
7909 (gst_value_subtract_double_range_double_range),
7910 (gst_value_subtract_from_list), (gst_value_subtract_list),
7911 (gst_value_can_compare), (gst_value_compare_fraction):
7912 Cleanups, add comments, remove unneeded asserts.
7914 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7916 * tools/gst-launch.c: (event_loop):
7917 don't convert NULL structures to strings
7919 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7921 * docs/gst/gstreamer-sections.txt:
7922 made some defines private
7923 * docs/gst/tmpl/gstconfig.sgml:
7924 * docs/gst/tmpl/gstqueue.sgml:
7925 * docs/gst/tmpl/gsttaglist.sgml:
7926 * docs/gst/tmpl/gsttypes.sgml:
7927 * docs/gst/tmpl/gstutils.sgml:
7928 * docs/pwg/appendix-porting.xml:
7929 * gst/base/gstbasesink.h:
7930 * gst/base/gstbasesrc.c:
7931 * gst/base/gstbasesrc.h:
7932 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7933 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7934 * gst/gstelement.c: (gst_element_class_init):
7935 * gst/gstpad.c: (gst_pad_class_init):
7936 * gst/gstqueue.c: (gst_queue_class_init):
7937 * gst/gstxml.c: (gst_xml_class_init):
7938 documented all undocumented signal inline
7939 * libs/gst/controller/gst-controller.h:
7942 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7944 * docs/pwg/appendix-porting.xml:
7945 Document _set_link_function -> _set_setcaps_function.
7947 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7949 * check/Makefile.am:
7950 add a .check target for running the check
7951 * check/gst-libs/controller.c: (GST_START_TEST):
7953 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7954 complete checks for gstbuffer; would be nice if I could get the
7955 gcov stuff to work so I can see if I actually completed gstbuffer.c
7957 add ASSERT_BUFFER_REFCOUNT
7959 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7961 * docs/gst/gstreamer-sections.txt:
7962 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7964 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7965 spew out a warning if a tag that is already registered
7966 is re-registered, unless it is re-registered with a
7967 different type (#308438).
7969 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7971 * docs/pwg/appendix-porting.xml:
7972 * docs/pwg/building-state.xml:
7973 Add some paragraphs about state changes in 0.9 to the PWG
7974 and the porting guide, in particular about the new meaning
7975 of GST_STATE_PAUSED and how to write state change functions
7976 with concurrent access by multiple threads in mind.
7978 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7980 * docs/gst/gstreamer-docs.sgml:
7981 * docs/libs/gstreamer-libs-docs.sgml:
7982 added deprecation and since indexes
7983 * libs/gst/controller/gst-controller.c:
7984 * libs/gst/controller/gst-helper.c:
7988 2005-08-11 Wim Taymans <wim@fluendo.com>
7990 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7991 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7992 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7993 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7994 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7995 (gst_ghost_pad_set_target):
7996 Actually implement (re)setting the target on a ghostpad
7997 as described in the docs.
7999 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8001 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8002 Check whether GST_DEBUG_NO_COLOR environment variable is
8003 set and disable coloured debug output if that is the case.
8005 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8007 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8008 (gst_type_find_helper):
8009 The memory returned by gst_type_find_peek() needs to
8010 stay valid until the end of a typefind function, and
8011 typefind functions may keep results from different
8012 offsets around, so we can't just unref the buffer from
8013 the previous _peek(), but have to save all buffers
8014 returned by _peek() until typefinding is done and only
8017 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8019 * docs/gst/gstreamer-sections.txt:
8021 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8023 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8025 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8026 Fix a pretty good memleak.
8028 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8030 * gst/gstiterator.h:
8031 Fix wrong include and 'make distcheck'.
8033 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8035 * gst/gstbin.c: (bin_bus_handler):
8036 Use gst_element_post_message() instead.
8038 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8040 * gst/base/gstadapter.h:
8041 * gst/base/gstbasesink.h:
8042 * gst/base/gstbasesrc.h:
8043 * gst/base/gstbasetransform.h:
8044 * gst/base/gstcollectpads.h:
8045 * gst/base/gstpushsrc.h:
8046 * gst/gstiterator.h:
8047 Add padding to our base elements' class and instance structs and
8048 to GstIterator (you will need to rebuild all plugins and apps!)
8050 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8052 * gst/gstbin.c: (bin_bus_handler):
8053 Make default message forwarding from child->bus to bin->bus
8054 threadsafe and make it not emit warnings if the parent has no bus.
8056 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8058 * gst/gstelement.c: (activate_pads):
8059 On paused->ready, set pad->caps to NULL, as is the documented
8060 behaviour in this state change. Fixes playback of series of
8061 media files when visualization is enabled in Totem.
8063 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8065 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8066 Allow NULL as filter-caps (which means "any").
8068 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8070 * docs/libs/gstreamer-libs-sections.txt:
8071 * libs/gst/controller/gst-controller.c:
8072 * libs/gst/controller/gst-controller.h:
8073 * libs/gst/controller/gst-helper.c:
8074 adding more entries to the docs and fix small doc-bugs
8076 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8078 * docs/gst/gstreamer-docs.sgml:
8079 * docs/gst/gstreamer-sections.txt:
8080 * docs/gst/gstreamer.types:
8081 * docs/gst/tmpl/gstbasesink.sgml:
8082 * docs/gst/tmpl/gstbasesrc.sgml:
8083 * docs/gst/tmpl/gstbasetransform.sgml:
8084 * docs/gst/tmpl/gstfakesrc.sgml:
8085 * gst/base/gstcollectpads.c:
8086 * gst/base/gstcollectpads.h:
8087 * libs/gst/controller/gst-controller.c:
8088 * libs/gst/controller/gst-controller.h:
8089 * libs/gst/controller/gst-helper.c:
8090 * libs/gst/controller/gst-interpolation.c:
8091 * libs/gst/controller/lib.c:
8092 added long/short desc for controller docs
8093 added collectpads base class docs
8094 added correct includes to base-class docs
8096 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8098 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8099 (gst_test_mono_source_set_property),
8100 (gst_test_mono_source_class_init), (GST_START_TEST),
8101 (gst_controller_suite):
8102 * docs/gst/gstreamer-docs.sgml:
8103 * docs/gst/gstreamer-sections.txt:
8104 * docs/gst/gstreamer.types:
8105 * docs/libs/gstreamer-libs-docs.sgml:
8106 * docs/libs/gstreamer-libs-sections.txt:
8107 * gst/base/gstadapter.c:
8108 * libs/gst/controller/gst-controller.c:
8109 (gst_controlled_property_new), (gst_controlled_property_free),
8110 (gst_controller_new_valist),
8111 (gst_controller_remove_properties_valist),
8112 (gst_controller_sink_values), (_gst_controller_finalize):
8113 * libs/gst/controller/gst-controller.h:
8114 * libs/gst/controller/gst-helper.c:
8115 (gst_object_control_properties), (gst_object_uncontrol_properties),
8116 (gst_object_get_controller), (gst_object_set_controller),
8117 (gst_object_sink_values), (gst_object_get_value_arrays),
8118 (gst_object_get_value_array):
8119 more tests (and fixes) for the controller
8120 more docs for the controller
8121 integrated companies docs for the adapter
8123 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8125 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8126 (GST_START_TEST), (fakesrc_suite):
8127 add tests for sizetype
8129 2005-08-04 Andy Wingo <wingo@pobox.com>
8131 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8132 fixes buffer_alloc proxying among other things.
8134 * gst/base/gstbasetransform.c:
8135 * gst/base/gstbasetransform.h:
8136 Revert patch to gstbasetransform from 7-28 removing
8139 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8140 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8141 Semantics changed, should return not the size of the output buffer
8142 but the byte size of a buffer with a given caps.
8144 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8146 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8147 out) are not the pad caps until setcaps finishes.
8148 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8149 not-in-place case as well. Deal with changing from in-place to
8150 not-in-place within calling pad_alloc_buffer. Still a bit
8151 concerned about the overhead here...
8153 2005-08-03 Andy Wingo <wingo@pobox.com>
8155 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8156 fixating is an error.
8158 2005-08-04 Edward Hervey <edward@fluendo.com>
8160 * gst/base/gstadapter.h:
8161 Added gst_adapter_get_type() to the header
8163 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8165 * check/Makefile.am:
8166 * check/gst-libs/controller.c:
8167 * libs/gst/controller/gst-controller.c:
8168 (gst_controller_new_valist):
8169 added check test suite for the controller
8170 * gst/base/gstpushsrc.c:
8173 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8175 * docs/gst/Makefile.am:
8176 * docs/gst/gstreamer-docs.sgml:
8177 * docs/gst/gstreamer-sections.txt:
8178 * docs/gst/gstreamer.types:
8179 * docs/gst/tmpl/gstfakesrc.sgml:
8181 * gst/base/gstbasesink.c:
8182 * gst/base/gstbasesink.h:
8183 * gst/base/gstbasesrc.c:
8184 * gst/base/gstbasesrc.h:
8185 * gst/base/gstbasetransform.c:
8186 * gst/base/gstpushsrc.c:
8187 * gst/base/gstpushsrc.h:
8188 add short/long description docs to base classes
8189 add pushsrc to the docs
8190 remove consolidated doc fragments
8192 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8195 * docs/libs/Makefile.am:
8196 * docs/libs/gstreamer-libs-docs.sgml:
8197 * docs/libs/gstreamer-libs-sections.txt:
8198 * docs/libs/gstreamer-libs.types:
8199 * examples/Makefile.am:
8200 * examples/controller/.cvsignore:
8201 * examples/controller/Makefile.am:
8202 * examples/controller/audio-example.c: (main):
8203 * libs/gst/Makefile.am:
8204 * libs/gst/controller/.cvsignore:
8205 * libs/gst/controller/Makefile.am:
8206 * libs/gst/controller/gst-controller.c:
8207 (on_object_controlled_property_changed), (gst_timed_value_compare),
8208 (gst_timed_value_find),
8209 (gst_controlled_property_set_interpolation_mode),
8210 (gst_controlled_property_new), (gst_controlled_property_free),
8211 (gst_controller_find_controlled_property),
8212 (gst_controller_new_valist), (gst_controller_new),
8213 (gst_controller_remove_properties_valist),
8214 (gst_controller_remove_properties), (gst_controller_set),
8215 (gst_controller_set_from_list), (gst_controller_unset),
8216 (gst_controller_get), (gst_controller_get_all),
8217 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8218 (gst_controller_get_value_array),
8219 (gst_controller_set_interpolation_mode),
8220 (_gst_controller_finalize), (_gst_controller_init),
8221 (_gst_controller_class_init), (gst_controller_get_type):
8222 * libs/gst/controller/gst-controller.h:
8223 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8224 (g_object_uncontrol_properties), (g_object_get_controller),
8225 (g_object_set_controller), (g_object_sink_values),
8226 (g_object_get_value_arrays), (g_object_get_value_array):
8227 * libs/gst/controller/gst-interpolation.c:
8228 (gst_controlled_property_find_timed_value_node),
8229 (interpolate_none_get), (interpolate_trigger_get),
8230 (interpolate_trigger_get_value_array):
8231 * libs/gst/controller/lib.c: (gst_controller_init):
8232 * pkgconfig/Makefile.am:
8233 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8234 * pkgconfig/gstreamer-control.pc.in:
8235 * testsuite/Makefile.am:
8236 * testsuite/controller/.cvsignore:
8237 * testsuite/controller/Makefile.am:
8238 * testsuite/controller/interpolator.c: (main):
8239 added controller code
8240 removed dparam pc files
8242 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8243 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8244 (gst_collectpads_stop):
8245 Broadcast the condition when shutting down, to make sure we wake all
8246 threads up. Shut down pads on finalize, for safety.
8248 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8249 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8250 (gst_base_transform_handle_buffer),
8251 (gst_base_transform_change_state):
8252 Handle PAUSED->READY->PAUSED transition after negotiation
8254 * gst/gstmessage.c: (gst_message_init):
8255 Extra piece of debug for new messages.
8257 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8260 * docs/gst/tmpl/gstbasesrc.sgml:
8261 * docs/gst/tmpl/gstelement.sgml:
8262 * docs/gst/tmpl/gstevent.sgml:
8263 * docs/gst/tmpl/gstfakesrc.sgml:
8264 * docs/gst/tmpl/gstformat.sgml:
8265 * docs/gst/tmpl/gstghostpad.sgml:
8266 * docs/gst/tmpl/gstpad.sgml:
8267 * docs/gst/tmpl/gstquery.sgml:
8268 * docs/gst/tmpl/gststructure.sgml:
8269 * docs/gst/tmpl/gsttaglist.sgml:
8270 * docs/gst/tmpl/gstvalue.sgml:
8271 * docs/libs/gstreamer-libs-docs.sgml:
8272 * docs/libs/gstreamer-libs-sections.txt:
8273 * docs/libs/gstreamer-libs.types:
8274 * libs/gst/Makefile.am:
8275 * libs/gst/control/.cvsignore:
8276 * libs/gst/control/Makefile.am:
8277 * libs/gst/control/control.c:
8278 * libs/gst/control/control.h:
8279 * libs/gst/control/dparam.c:
8280 * libs/gst/control/dparam.h:
8281 * libs/gst/control/dparam_smooth.c:
8282 * libs/gst/control/dparam_smooth.h:
8283 * libs/gst/control/dparamcommon.h:
8284 * libs/gst/control/dparammanager.c:
8285 * libs/gst/control/dparammanager.h:
8286 * libs/gst/control/dplinearinterp.c:
8287 * libs/gst/control/dplinearinterp.h:
8288 * libs/gst/control/unitconvert.c:
8289 * libs/gst/control/unitconvert.h:
8290 * testsuite/Makefile.am:
8291 * testsuite/dynparams/.cvsignore:
8292 * testsuite/dynparams/Makefile.am:
8293 * testsuite/dynparams/dparamstest.c:
8294 * tools/Makefile.am:
8295 * tools/gst-inspect.c: (print_element_info), (main):
8296 * tools/gst-xmlinspect.c: (print_element_info), (main):
8297 deactivate and remove dparams (libgstcontrol)
8299 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8301 * gst/elements/gsttypefindelement.c:
8302 (gst_type_find_element_have_type), (gst_type_find_element_init),
8303 (stop_typefinding), (gst_type_find_element_handle_event),
8304 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8305 * gst/elements/gsttypefindelement.h:
8306 Set caps on all outgoing buffers, not just the first one.
8308 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8310 * gst/elements/gsttypefindelement.c:
8311 (gst_type_find_element_have_type),
8312 (gst_type_find_element_check_set_buffer_caps),
8313 (gst_type_find_element_init), (stop_typefinding),
8314 (gst_type_find_element_handle_event),
8315 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8316 * gst/elements/gsttypefindelement.h:
8317 Set caps on first outgoing buffer when we've found the type.
8319 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8321 * docs/gst/gstreamer-docs.sgml:
8322 * docs/gst/gstreamer-sections.txt:
8323 * docs/gst/tmpl/gstscheduler.sgml:
8324 * docs/gst/tmpl/gstschedulerfactory.sgml:
8325 Remove some old cruft from docs.
8327 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8330 Fix inline docs for GstPadLinkReturn.
8332 * gst/gststructure.c: (gst_structure_has_name):
8333 * gst/gststructure.h:
8334 * docs/gst/gstreamer-sections.txt:
8335 New API: gst_structure_has_name().
8337 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8340 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8341 and _LARGEFILE_SOURCE in config.h as required. Do not
8342 export those flags in our .pc files any longer (#142209).
8344 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8346 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8347 (gst_file_sink_do_seek), (gst_file_sink_event),
8348 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8349 Redo seek/tell calls with large file support in mind; add some
8350 debugging messages; add log message that tells us when large
8351 file support is unavailable or not enabled for some reason.
8353 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8354 Add log message that tells us when large file support
8355 is unavailable or not enabled for some reason.
8357 2005-07-29 Wim Taymans <wim@fluendo.com>
8359 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8360 Added test for removing an element with ghostpad from a bin.
8361 Fixed test as current implementation does the right thing.
8363 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8364 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8365 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8366 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8367 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8368 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8369 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8370 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8371 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8372 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8373 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8374 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8375 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8376 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8377 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8378 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8379 * gst/gstghostpad.h:
8380 Clean up ghostpads, remove properties for internal stuff.
8383 Prepare for switching targets, not all use cases work yet.
8385 2005-07-29 Wim Taymans <wim@fluendo.com>
8387 * docs/design/part-gstghostpad.txt:
8390 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8391 (gst_bin_remove_func):
8392 Unlinking pads while holding the bin LOCK is not a good
8395 * gst/gstpad.c: (gst_pad_class_init),
8396 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8397 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8398 No prob setting template after creating the pad.
8400 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8402 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8403 (gst_bus_peek), (gst_bus_source_dispatch),
8404 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8405 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8406 gst_bus_poll may be called from other threads. Handle
8407 this nicely by not making poll_data disappear off the
8408 stack once gst_bus_poll returns.
8409 gst_bus_peek now increments the refcount on the returned
8412 2005-07-29 Wim Taymans <wim@fluendo.com>
8414 * docs/design/part-gstghostpad.txt:
8415 Overview of current GhostPad datastructures and use
8416 cases for changing the target.
8418 2005-07-28 Wim Taymans <wim@fluendo.com>
8420 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8421 Added checks for hierarchy consistency whan adding linked
8424 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8425 Added check to test element scheduling without bin/pipeline.
8427 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8428 First add elements to bin, then link.
8430 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8431 (gst_bin_remove_func):
8432 Unlink pads from elements added/removed from bin to maintain
8433 hierarchy consistency.
8435 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8437 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8438 (gst_base_transform_handle_buffer):
8439 * gst/base/gstbasetransform.h:
8440 Remove broken delay_configure (fixes renegotiation of software
8441 scaling pipelines); remove some leftover printf()s.
8443 2005-07-28 Wim Taymans <wim@fluendo.com>
8445 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8446 Added some more tests for wrong hierarchy
8448 * docs/design/part-overview.txt:
8451 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8454 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8455 (gst_element_dispose):
8458 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8459 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8460 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8461 (gst_pad_set_caps), (gst_pad_send_event):
8462 Check for correct hierarchy when linking pads. Moving to
8463 strict requirement for ghostpads when linking elements in
8467 Clean ups. Added WRONG_HIERARCHY return value.
8469 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8471 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8472 Better debug if no transform is possible.
8474 2005-07-27 Wim Taymans <wim@fluendo.com>
8476 * docs/random/wtay/network-transp:
8479 2005-07-27 Wim Taymans <wim@fluendo.com>
8481 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8482 (gst_dp_event_from_packet):
8483 Fix serialization of seek events.
8485 2005-07-27 Wim Taymans <wim@fluendo.com>
8487 * check/gst-libs/gdp.c: (GST_START_TEST):
8488 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8489 Fix compilation and fix event serialization.
8491 2005-07-27 Wim Taymans <wim@fluendo.com>
8494 * docs/design/part-TODO.txt:
8495 * docs/design/part-events.txt:
8498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8499 (gst_base_sink_event), (gst_base_sink_do_sync),
8500 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8501 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8502 (gst_base_src_do_seek), (gst_base_src_event_handler),
8503 (gst_base_src_loop):
8504 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8505 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8506 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8507 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8508 (gst_base_transform_set_passthrough),
8509 (gst_base_transform_is_passthrough):
8510 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8511 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8517 * gst/gstelement.c: (gst_element_seek):
8519 Update gst_element_seek.
8521 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8522 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8523 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8524 (gst_event_new_eos), (gst_event_new_newsegment),
8525 (gst_event_parse_newsegment), (gst_event_new_tag),
8526 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8527 (gst_event_parse_qos), (gst_event_new_seek),
8528 (gst_event_parse_seek), (gst_event_new_navigation):
8530 Make GstEvent use GstStructure. Add parsing code, make sure the
8531 API is sufficiently generic.
8532 Mark possible directions of events and serialization.
8534 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8535 (_gst_message_copy), (gst_message_new_segment_start),
8536 (gst_message_new_segment_done), (gst_message_new_custom),
8537 (gst_message_parse_segment_start),
8538 (gst_message_parse_segment_done):
8541 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8542 (gst_pad_set_caps), (gst_pad_send_event):
8543 Update for new events.
8544 Catch events sent in wrong directions.
8546 * gst/gstqueue.c: (gst_queue_link_src),
8547 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8548 (gst_queue_handle_src_query):
8553 Remove event code from this file.
8555 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8556 (gst_dp_event_from_packet):
8559 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8561 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8562 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8563 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8564 Make debugging actually useful.
8566 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8568 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8569 (gst_pad_fixate_caps):
8570 Implement default fixation once again, so that gst_pad_fixate()
8571 actually does anything at all. This probably needs to be some
8572 sort of a last resort, and use profile-based fixation first, but
8573 since that doesn't exist yet, this is the best we have. Fixes
8574 visualization in Totem.
8576 2005-07-22 Wim Taymans <wim@fluendo.com>
8578 * docs/design/part-events.txt:
8581 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8582 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8583 (gst_base_sink_activate_pull):
8586 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8587 (gst_fake_src_create):
8588 Fix handoff marshall.
8590 * gst/elements/gstidentity.c: (gst_identity_class_init),
8591 (gst_identity_transform_ip):
8592 We're a real inplace element.
8594 * gst/gstbus.c: (gst_bus_post):
8595 Added some comments.
8597 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8598 * tests/muxing/case1.c: (main):
8599 * tests/sched/dynamic-pipeline.c: (main):
8600 * tests/sched/interrupt1.c: (main):
8601 * tests/sched/interrupt2.c: (main):
8602 * tests/sched/interrupt3.c: (main):
8603 * tests/sched/runxml.c: (main):
8604 * tests/sched/sched-stress.c: (main):
8605 * tests/seeking/seeking1.c: (event_received), (main):
8606 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8608 * tests/threadstate/threadstate3.c: (main):
8609 * tests/threadstate/threadstate4.c: (main):
8610 * tests/threadstate/threadstate5.c: (main):
8613 2005-07-21 Wim Taymans <wim@fluendo.com>
8615 * docs/design/part-seeking.txt:
8616 Some small additions.
8618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8619 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8620 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8621 * gst/base/gstbasesink.h:
8622 discont values are gint64, handle the math correctly.
8624 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8625 Make the basesrc report error if the source pad is not linked.
8627 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8628 (gst_queue_loop), (gst_queue_handle_src_query),
8629 (gst_queue_src_activate_push):
8630 Make queue collect data even if the srcpad is not linked.
8631 Start pushing out data as soon as it is linked.
8633 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8635 Added gst_flow_get_name() to ease error reporting.
8637 2005-07-20 Wim Taymans <wim@fluendo.com>
8639 * gst/gstmessage.c: (gst_message_new_segment_start),
8640 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8641 (gst_message_parse_segment_done):
8643 Added a bunch of messages for advanced seeking.
8645 * gst/parse/grammar.y:
8646 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8647 (gst_dpman_state_changed):
8648 Fix some new-pad -> pad-added signals
8650 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8652 * docs/manual/appendix-porting.xml:
8653 * docs/pwg/appendix-porting.xml:
8654 Document new-pad/state-change signal renames and the FixedList
8657 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8659 * docs/manual/advanced-autoplugging.xml:
8660 * docs/manual/basics-helloworld.xml:
8661 * docs/manual/basics-pads.xml:
8662 * docs/random/ds/0.9-suggested-changes:
8663 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8668 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8669 (gst_structure_parse_array), (gst_structure_parse_value):
8670 * gst/gstvalue.c: (gst_type_is_fixed),
8671 (gst_value_list_prepend_value), (gst_value_list_append_value),
8672 (gst_value_list_get_size), (gst_value_list_get_value),
8673 (gst_value_transform_array_string), (gst_value_serialize_array),
8674 (gst_value_deserialize_array), (gst_value_intersect_array),
8675 (gst_value_is_fixed), (_gst_value_initialize):
8677 GstElement::new-pad -> pad-added, GstElement::state-change ->
8678 state-changed, GstValueFixedList -> GstValueArray, add format and
8679 flags as their own arguments in gst_element_seek() (should improve
8680 "bindeability"), remove function generators since they don't work
8681 under a whole bunch of compilers (they were deprecated already
8684 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8686 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8687 (_gst_debug_register_funcptr):
8689 Fix illegal cast on some platforms (#309253).
8691 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8693 * gst/gstmessage.c: (gst_message_new_custom):
8695 Add _new_custom, make _new_application a macro to _new_custom.
8697 2005-07-20 Wim Taymans <wim@fluendo.com>
8699 * gst/base/gstbasesrc.c: (gst_base_src_init),
8700 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8701 * gst/base/gstbasesrc.h:
8702 Add a gboolean to decide when to push out a discont.
8704 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8705 (gst_queue_loop), (gst_queue_handle_src_query),
8706 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8707 (gst_queue_set_property), (gst_queue_get_property):
8710 * tests/threadstate/threadstate1.c: (main):
8711 Make a thread test compile and run... very silly..
8714 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8716 * docs/manual/appendix-porting.xml:
8717 Mention removal of libgstgconf-0.9.la and existence of gconf
8720 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8722 * docs/pwg/advanced-clock.xml:
8723 * docs/pwg/appendix-porting.xml:
8724 * docs/pwg/intro-preface.xml:
8725 * docs/pwg/other-base.xml:
8726 * docs/pwg/other-manager.xml:
8727 * docs/pwg/other-nton.xml:
8728 * docs/pwg/other-ntoone.xml:
8729 * docs/pwg/other-oneton.xml:
8731 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8732 demuxer), remove n-to-n (was never written), fix some code examples
8733 and links and update the porting section to include all this.
8735 2005-07-19 Wim Taymans <wim@fluendo.com>
8737 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8738 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8739 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8740 (gst_queue_src_activate_push), (gst_queue_change_state),
8741 (gst_queue_get_property):
8743 Propagate GstFlowReturn more intelligently upstream and output
8744 an ERROR/EOS when streaming stopped due to fatal error.
8746 2005-07-19 Wim Taymans <wim@fluendo.com>
8748 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8749 Don't block forever for the state change to complete, the
8750 pipeline already did with a sensible timeout.
8752 2005-07-19 Wim Taymans <wim@fluendo.com>
8754 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8755 Make sure we never call the create function is we
8758 2005-07-19 Andy Wingo <wingo@pobox.com>
8760 * gst/parse/parse.l: Attempt to solve bug #172815.
8762 2005-07-19 Wim Taymans <wim@fluendo.com>
8764 * docs/design/part-clocks.txt:
8765 * docs/design/part-events.txt:
8766 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8768 Only update the seeking values when we are not
8771 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8773 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8774 Oops, ignore the result of gst_pad_push_event here.
8776 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8778 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8779 (gst_base_src_activate_push):
8780 Send discont event from the loop function, as pads
8781 aren't activated yet in the activate_push handler.
8783 * gst/gstbin.c: (bin_bus_handler):
8784 Don't leak element name.
8786 2005-07-18 Andy Wingo <wingo@pobox.com>
8788 * configure.ac: Use AS_LIBTOOL_TAGS.
8790 2005-07-18 Wim Taymans <wim@fluendo.com>
8792 * docs/gst/gstreamer.types:
8793 Remove deleted types.
8795 2005-07-18 Wim Taymans <wim@fluendo.com>
8797 * check/elements/gstfakesrc.c: (GST_START_TEST):
8800 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8801 (init_popt_callback):
8803 * gst/gst_private.h:
8804 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8805 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8808 * gst/gstconfig.h.in:
8809 * gst/gstelement.c: (gst_element_class_init),
8810 (gst_element_set_base_time), (gst_element_get_base_time),
8811 (iterator_fold_with_resync), (gst_element_change_state),
8812 (gst_element_dispose), (gst_element_get_bus):
8814 * gst/gstelementfactory.h:
8815 * gst/gsterror.c: (_gst_core_errors_init):
8818 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8820 * gst/gstinfo.c: (_gst_debug_init):
8821 * gst/gstmessage.c: (_gst_message_copy):
8823 * gst/gstminiobject.h:
8826 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8827 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8830 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8831 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8832 (gst_pipeline_get_last_stream_time):
8833 * gst/gstpipeline.h:
8834 * gst/gstpluginfeature.h:
8836 * gst/gstscheduler.c:
8837 * gst/gstscheduler.h:
8838 * gst/gststructure.h:
8839 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8840 (gst_task_finalize), (gst_task_func), (gst_task_create),
8841 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8842 (gst_task_stop), (gst_task_pause):
8844 * gst/gsttypefind.h:
8846 * gst/registries/gstlibxmlregistry.c: (load_feature),
8847 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8848 * gst/registries/gstxmlregistry.c:
8849 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8850 * gst/schedulers/threadscheduler.c:
8851 * libs/gst/control/dparammanager.h:
8852 * tools/gst-inspect.c: (print_element_list),
8853 (print_plugin_features), (print_element_features):
8854 * tools/gst-xmlinspect.c: (print_element_list),
8855 (print_plugin_info), (main):
8856 Removed plugable schedulers.
8857 Removed Scheduler/Manager from elements.
8858 Removed gsttypes.h, rearranged includes.
8859 Removed dependency pad<->element, element<>pipeline, and
8860 various others, fix includes.
8861 implement gst_pad_get_parent() with gst_object_get_parent()
8862 Make GstTask sefcontained.
8863 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8865 Fix endless loop in iterator_fold_with_resync.
8868 2005-07-18 Wim Taymans <wim@fluendo.com>
8874 2005-07-18 Wim Taymans <wim@fluendo.com>
8879 2005-07-18 Wim Taymans <wim@fluendo.com>
8885 2005-07-18 Wim Taymans <wim@fluendo.com>
8887 * docs/design/part-dynamic.txt:
8888 * docs/design/part-events.txt:
8889 * docs/design/part-seeking.txt:
8890 Some more docs in the works.
8892 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8893 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8894 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8895 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8896 (gst_base_transform_handle_buffer),
8897 (gst_base_transform_sink_activate_push),
8898 (gst_base_transform_src_activate_pull),
8899 (gst_base_transform_set_passthrough),
8900 (gst_base_transform_is_passthrough):
8903 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8906 * gst/gstevent.c: (gst_event_finalize):
8909 * gst/gstutils.c: (gst_element_unlink),
8910 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8911 (gst_pad_proxy_setcaps):
8913 Add _get_parent_element() to get a pads parent as an element.
8915 2005-07-18 Wim Taymans <wim@fluendo.com>
8917 * check/gst/gstbin.c: (GST_START_TEST):
8920 2005-07-18 Wim Taymans <wim@fluendo.com>
8922 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8923 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8924 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8925 (gst_base_sink_event), (gst_base_sink_do_sync),
8926 (gst_base_sink_chain), (gst_base_sink_loop),
8927 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8928 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8930 Fix logic for returning ASYNC when not prerolled.
8932 2005-07-18 Wim Taymans <wim@fluendo.com>
8934 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8935 Fix nasty refcount bug.
8937 2005-07-16 Philippe Khalaf <burger@speedy.org>
8939 * gst/elements/gstfdsrc.c:
8940 * gst/elements/gstfdsrc.h:
8941 * gst/elements/gstelements.c:
8942 * gst/elements/Makefile.am:
8943 Ported fdsrc to 0.9.
8945 2005-07-16 Wim Taymans <wim@fluendo.com>
8947 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8948 (gst_base_sink_do_sync):
8951 2005-07-16 Wim Taymans <wim@fluendo.com>
8953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8954 (gst_base_sink_event), (gst_base_sink_get_times),
8955 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8956 * gst/base/gstbasesink.h:
8957 Store and use discont values when syncing buffers as described
8960 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8961 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8962 (gst_base_src_activate_push):
8963 Push discont event when starting.
8965 * gst/elements/gstidentity.c: (gst_identity_transform):
8968 * gst/gstbin.c: (gst_bin_change_state):
8969 Small cleanups in base_time distribution.
8971 * gst/gstelement.c: (gst_element_set_base_time),
8972 (gst_element_get_base_time), (gst_element_change_state):
8974 Added methods for the base_time of the element.
8977 * gst/gstpipeline.c: (gst_pipeline_send_event),
8978 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8979 (gst_pipeline_get_last_stream_time):
8980 * gst/gstpipeline.h:
8982 Handle seeking as described in design doc, remove stream_time
8984 Cleanups clock and stream_time selection code. Added accessors
8985 for the stream_time.
8988 2005-07-16 Andy Wingo <wingo@pobox.com>
8990 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8993 2005-07-16 Wim Taymans <wim@fluendo.com>
8995 * check/gst/gstbin.c: (GST_START_TEST):
8996 Make elements silent as the deep_notify refs the
8997 parent, which might make the test fail.
8999 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9000 Don't hold the lock for too long.
9002 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9004 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9005 Don't unref the caps we passed to gst_caps_make_writable() after
9006 passing them. gst_caps_make_writable() will do that for us.
9008 2005-07-15 Andy Wingo <wingo@pobox.com>
9010 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9013 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9014 own marshalling function for the handoff signal. Properly type the
9015 buffer as a buffer. Fixes some warnings. Should do a more general
9017 (gst_identity_class_init): Plug into the right marshaller.
9019 2005-07-15 Wim Taymans <wim@fluendo.com>
9021 * docs/design/part-TODO.txt:
9022 * docs/design/part-clocks.txt:
9023 * docs/design/part-element-sink.txt:
9024 * docs/design/part-events.txt:
9025 * docs/design/part-gstpipeline.txt:
9026 Updated docs, mostly DISCONT related.
9028 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9030 * docs/pwg/building-pads.xml:
9031 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9033 2005-07-15 Andy Wingo <wingo@pobox.com>
9035 * tools/gst-typefind.c: Update, add copyright block.
9037 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9038 Normalize and truncate caps before fixation.
9041 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9042 discards all but the first structure from its argument.
9044 2005-07-15 Wim Taymans <wim@fluendo.com>
9046 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9047 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9048 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9049 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9050 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9051 (gst_base_transform_chain), (gst_base_transform_change_state),
9052 (gst_base_transform_set_passthrough),
9053 (gst_base_transform_is_passthrough):
9054 * gst/base/gstbasetransform.h:
9055 Make passthrough work using the bufferpools.
9056 Changed API a bit, subclasses have to write into a buffer
9057 provided by the base class.
9058 More debug info in nego functions.
9060 * gst/elements/gstidentity.c: (gst_identity_init),
9061 (gst_identity_transform):
9062 Port to new base class.
9064 2005-07-15 Wim Taymans <wim@fluendo.com>
9066 * gst/gstmessage.c: (gst_message_new_state_changed):
9067 * tools/gst-launch.c: (event_loop), (main):
9068 Totally dump messages in -launch with the -m option.
9069 Fix message name for State messages,
9071 2005-07-14 Wim Taymans <wim@fluendo.com>
9073 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9074 Post error messages on errors.
9076 2005-07-14 Wim Taymans <wim@fluendo.com>
9078 * gst/gstcaps.c: (gst_caps_do_simplify):
9082 Define error for stream stopped.
9084 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9085 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9086 Do proper return values.
9088 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9089 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9090 (gst_pad_get_range):
9091 Better return values.
9094 Reorganise return values, add macro to check for fatal errors.
9096 * gst/gstqueue.c: (gst_queue_chain):
9097 Return proper GstFlowReturn values,
9099 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9101 * docs/gst/gstreamer-sections.txt:
9102 * docs/gst/gstreamer.types:
9103 * docs/gst/tmpl/gst.sgml:
9104 * docs/gst/tmpl/gstbasesink.sgml:
9105 * docs/gst/tmpl/gstbasesrc.sgml:
9106 * docs/gst/tmpl/gstbasetransform.sgml:
9107 * docs/gst/tmpl/gstbin.sgml:
9108 * docs/gst/tmpl/gstbuffer.sgml:
9109 * docs/gst/tmpl/gstcaps.sgml:
9110 * docs/gst/tmpl/gstclock.sgml:
9111 * docs/gst/tmpl/gstcompat.sgml:
9112 * docs/gst/tmpl/gstconfig.sgml:
9113 * docs/gst/tmpl/gstelement.sgml:
9114 * docs/gst/tmpl/gstelementdetails.sgml:
9115 * docs/gst/tmpl/gstelementfactory.sgml:
9116 * docs/gst/tmpl/gstenumtypes.sgml:
9117 * docs/gst/tmpl/gsterror.sgml:
9118 * docs/gst/tmpl/gstevent.sgml:
9119 * docs/gst/tmpl/gstfakesink.sgml:
9120 * docs/gst/tmpl/gstfakesrc.sgml:
9121 * docs/gst/tmpl/gstfilesink.sgml:
9122 * docs/gst/tmpl/gstfilesrc.sgml:
9123 * docs/gst/tmpl/gstfilter.sgml:
9124 * docs/gst/tmpl/gstformat.sgml:
9125 * docs/gst/tmpl/gstghostpad.sgml:
9126 * docs/gst/tmpl/gstimplementsinterface.sgml:
9127 * docs/gst/tmpl/gstindex.sgml:
9128 * docs/gst/tmpl/gstindexfactory.sgml:
9129 * docs/gst/tmpl/gstinfo.sgml:
9130 * docs/gst/tmpl/gstiterator.sgml:
9131 * docs/gst/tmpl/gstmacros.sgml:
9132 * docs/gst/tmpl/gstmemchunk.sgml:
9133 * docs/gst/tmpl/gstminiobject.sgml:
9134 * docs/gst/tmpl/gstobject.sgml:
9135 * docs/gst/tmpl/gstpad.sgml:
9136 * docs/gst/tmpl/gstpadtemplate.sgml:
9137 * docs/gst/tmpl/gstparse.sgml:
9138 * docs/gst/tmpl/gstpipeline.sgml:
9139 * docs/gst/tmpl/gstplugin.sgml:
9140 * docs/gst/tmpl/gstpluginfeature.sgml:
9141 * docs/gst/tmpl/gstquery.sgml:
9142 * docs/gst/tmpl/gstqueue.sgml:
9143 * docs/gst/tmpl/gstregistry.sgml:
9144 * docs/gst/tmpl/gstregistrypool.sgml:
9145 * docs/gst/tmpl/gstscheduler.sgml:
9146 * docs/gst/tmpl/gstschedulerfactory.sgml:
9147 * docs/gst/tmpl/gststructure.sgml:
9148 * docs/gst/tmpl/gstsystemclock.sgml:
9149 * docs/gst/tmpl/gsttaglist.sgml:
9150 * docs/gst/tmpl/gsttagsetter.sgml:
9151 * docs/gst/tmpl/gsttrace.sgml:
9152 * docs/gst/tmpl/gsttrashstack.sgml:
9153 * docs/gst/tmpl/gsttypefind.sgml:
9154 * docs/gst/tmpl/gsttypefindfactory.sgml:
9155 * docs/gst/tmpl/gsttypes.sgml:
9156 * docs/gst/tmpl/gsturihandler.sgml:
9157 * docs/gst/tmpl/gsturitype.sgml:
9158 * docs/gst/tmpl/gstutils.sgml:
9159 * docs/gst/tmpl/gstvalue.sgml:
9160 * docs/gst/tmpl/gstversion.sgml:
9161 * docs/gst/tmpl/gstxml.sgml:
9162 * docs/libs/tmpl/gstcontrol.sgml:
9163 * docs/libs/tmpl/gstdataprotocol.sgml:
9164 * docs/libs/tmpl/gstdparam.sgml:
9165 * docs/libs/tmpl/gstdplinint.sgml:
9166 * docs/libs/tmpl/gstdpman.sgml:
9167 * docs/libs/tmpl/gstdpsmooth.sgml:
9168 * docs/libs/tmpl/gstgetbits.sgml:
9169 * docs/libs/tmpl/gstunitconvert.sgml:
9170 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9171 (gst_push_src_base_init), (gst_push_src_class_init),
9172 (gst_push_src_init), (gst_push_src_create):
9173 * gst/base/gstpushsrc.h:
9174 * gst/elements/gstelements.c:
9175 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9176 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9177 (gst_fake_sink_init), (gst_fake_sink_set_property),
9178 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9179 (gst_fake_sink_event), (gst_fake_sink_preroll),
9180 (gst_fake_sink_render), (gst_fake_sink_change_state):
9181 * gst/elements/gstfakesink.h:
9182 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9183 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9184 (gst_fake_src_base_init), (gst_fake_src_class_init),
9185 (gst_fake_src_init), (gst_fake_src_event_handler),
9186 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9187 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9188 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9189 (gst_fake_src_create_buffer), (gst_fake_src_create),
9190 (gst_fake_src_start), (gst_fake_src_stop):
9191 * gst/elements/gstfakesrc.h:
9192 * gst/elements/gstfilesink.c: (_do_init),
9193 (gst_file_sink_base_init), (gst_file_sink_class_init),
9194 (gst_file_sink_init), (gst_file_sink_dispose),
9195 (gst_file_sink_set_location), (gst_file_sink_set_property),
9196 (gst_file_sink_get_property), (gst_file_sink_open_file),
9197 (gst_file_sink_close_file), (gst_file_sink_query),
9198 (gst_file_sink_event), (gst_file_sink_render),
9199 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9200 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9201 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9202 * gst/elements/gstfilesink.h:
9203 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9204 (gst_file_src_class_init), (gst_file_src_init),
9205 (gst_file_src_finalize), (gst_file_src_set_location),
9206 (gst_file_src_set_property), (gst_file_src_get_property),
9207 (gst_file_src_map_region), (gst_file_src_map_small_region),
9208 (gst_file_src_create_mmap), (gst_file_src_create_read),
9209 (gst_file_src_create), (gst_file_src_is_seekable),
9210 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9211 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9212 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9213 (gst_file_src_uri_handler_init):
9214 * gst/elements/gstfilesrc.h:
9215 more autistic cleanliness in functions/names/defines
9217 2005-07-13 Andy Wingo <wingo@pobox.com>
9219 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9220 source couldn't negotiate.
9222 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9226 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9227 function. I am channeling Hades. Put your boots on suckers!!!
9229 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9231 * testsuite/caps/Makefile.am:
9232 * testsuite/caps/value_compare.c:
9233 * testsuite/caps/value_intersect.c:
9234 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9235 move two testsuite apps over to the check dir
9237 2005-07-12 Wim Taymans <wim@fluendo.com>
9239 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9240 Added more debug info in the negotiate process.
9243 Prepare for segment playback.
9245 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9251 * tools/gst-launch.c: (main):
9252 NULL pipeline on errors.
9254 2005-07-12 Andy Wingo <wingo@pobox.com>
9256 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9257 not it comes from a malloc region. Make sure our copy gets freed.
9259 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9261 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9262 * check/gst/gstmessage.c: (GST_START_TEST):
9263 * check/gst/gststructure.c: (GST_START_TEST),
9264 (gst_structure_suite), (main):
9266 * gst/gstelement.c: (gst_element_message_full):
9267 clean up GError and debug string now that they get copied
9268 * gst/gstmessage.c: (gst_message_new_error),
9269 (gst_message_new_warning), (gst_message_parse_error),
9270 (gst_message_parse_warning):
9271 use GST_TYPE_G_ERROR for structure_new, and take copies of
9272 arguments, so that we don't mess up refcounting
9274 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9276 * check/Makefile.am:
9277 add per-test valgrind targets
9278 * check/gst-libs/gdp.c: (GST_START_TEST),
9279 (gst_data_protocol_suite), (main):
9282 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9284 * check/Makefile.am:
9285 instate more valgrindable tests
9286 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9287 (GST_START_TEST), (fakesrc_suite):
9288 * check/gst/gstpad.c: (GST_START_TEST):
9289 * check/gst/gststructure.c: (GST_START_TEST):
9291 * docs/gst/tmpl/gstminiobject.sgml:
9292 * gst/gstpad.c: (gst_pad_finalize):
9293 fix the static mutex leak
9295 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9297 * check/Makefile.am:
9298 add two more tests for valgrinding
9299 * check/gst/gstvalue.c: (GST_START_TEST):
9300 test refcount of deserialized buffer, found a leak
9301 * docs/gst/gstreamer-docs.sgml:
9302 * docs/gst/gstreamer-sections.txt:
9303 * docs/gst/gstreamer.types:
9304 * docs/gst/tmpl/gstminiobject.sgml:
9305 add miniobject to docs
9306 * gst/gstminiobject.c:
9308 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9309 (gst_string_unwrap):
9310 fix a hard-to-find invalid write for one of the tests
9311 fix a leak for deserialized buffers
9313 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9315 * docs/pwg/advanced-events.xml:
9316 * docs/pwg/advanced-request.xml:
9317 * docs/pwg/advanced-scheduling.xml:
9318 * docs/pwg/appendix-porting.xml:
9319 * docs/pwg/building-boiler.xml:
9320 * docs/pwg/intro-preface.xml:
9321 * docs/pwg/other-ntoone.xml:
9322 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9323 of example code and explanation for pad activation, loop() and
9324 getrange() functions and a bit more. Remove old comments pointing
9326 * examples/pwg/Makefile.am:
9327 Add loop/getrange examples.
9329 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9332 check for valgrind binary + some fixes
9334 valgrind suppressions for the tests
9335 * check/Makefile.am:
9336 add a valgrind: target that valgrinds the unit tests
9337 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9338 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9339 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9340 * check/gst/gstghostpad.c:
9342 * check/gst/gstdata.c:
9344 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9345 (thread_unref), (gst_mini_object_suite), (main):
9347 * gst/gst.c: (gst_deinit):
9349 add a method to clean up.
9350 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9351 (gst_system_clock_obtain):
9352 allow for disposing the system clock.
9353 * tools/gst-launch.c: (main):
9356 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9358 * docs/gst/tmpl/gstbasesrc.sgml:
9359 * docs/gst/tmpl/gstfakesrc.sgml:
9360 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9361 (gst_base_src_init), (gst_base_src_set_property),
9362 (gst_base_src_get_property), (gst_base_src_get_range),
9363 (gst_base_src_start):
9364 * gst/base/gstbasesrc.h:
9365 add num-buffers property
9366 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9367 (gst_fakesrc_init), (gst_fakesrc_set_property),
9368 (gst_fakesrc_get_property), (gst_fakesrc_create),
9369 (gst_fakesrc_start):
9370 remove num-buffers property
9372 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9374 * docs/gst/gstreamer-sections.txt:
9375 * docs/gst/tmpl/gstbasesink.sgml:
9376 * docs/gst/tmpl/gstbasesrc.sgml:
9377 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9378 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9379 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9380 (gst_base_sink_set_property), (gst_base_sink_get_property),
9381 (gst_base_sink_handle_object), (gst_base_sink_event),
9382 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9383 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9384 (gst_base_sink_loop), (gst_base_sink_deactivate),
9385 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9386 (gst_base_sink_change_state):
9387 * gst/base/gstbasesink.h:
9388 * gst/base/gstbasesrc.h:
9389 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9390 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9391 (gst_filesink_init):
9392 more macro splitting
9394 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9396 * gst/gstelement.c: (gst_element_get_bus):
9398 * tools/gst-launch.c: (check_intr), (event_loop):
9401 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9403 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9406 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9408 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9409 (gst_base_src_finalize):
9410 add finalize method and clean up properly
9411 * gst/gstpipeline.c: (gst_pipeline_dispose):
9414 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9416 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9418 add more things to check
9419 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9423 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9425 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9426 (GST_START_TEST), (fakesrc_suite):
9427 * check/gst-libs/gdp.c: (GST_START_TEST):
9428 * check/gst/gst.c: (GST_START_TEST):
9429 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9430 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9431 * check/gst/gstbus.c: (GST_START_TEST):
9432 * check/gst/gstcaps.c: (GST_START_TEST):
9433 * check/gst/gstdata.c: (GST_START_TEST):
9434 * check/gst/gstelement.c: (GST_START_TEST):
9435 * check/gst/gstghostpad.c: (GST_START_TEST):
9436 * check/gst/gstiterator.c: (GST_START_TEST):
9437 * check/gst/gstmessage.c: (GST_START_TEST):
9438 * check/gst/gstobject.c: (GST_START_TEST):
9439 * check/gst/gstpad.c: (GST_START_TEST):
9440 * check/gst/gststructure.c: (GST_START_TEST):
9441 * check/gst/gstsystemclock.c: (GST_START_TEST),
9442 (gst_systemclock_suite):
9443 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9444 * check/gst/gstvalue.c: (GST_START_TEST):
9445 * check/pipelines/cleanup.c: (GST_START_TEST):
9446 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9447 * check/states/sinks.c: (GST_START_TEST):
9448 * check/gstcheck.c: (gst_check_init):
9450 add debugging category
9451 use GST_START_TEST now, so we add a debug line
9453 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9455 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9456 add test for state change message on a bin
9457 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9459 * gst/gstbin.c: (gst_bin_init):
9460 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9461 * gst/gstelement.c: (gst_element_post_message),
9462 (gst_element_set_state):
9463 * gst/gstelementfactory.c: (gst_element_factory_create):
9464 * gst/gstmessage.c: (gst_message_new):
9465 * gst/gstscheduler.c:
9466 various debugging additions and cleanups
9468 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9470 * check/Makefile.am:
9471 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9473 adding tests for elements
9474 * gst/gstelement.c: (gst_element_dispose):
9476 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9478 * gst/registries/gstlibxmlregistry.c: (load_feature):
9479 plug more leaks. A simple gst_init() now is leakfree, yay.
9481 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9483 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9484 (gst_xml_registry_load):
9485 plug another memleak
9487 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9490 use GST_SET_ERROR_CFLAGS
9492 change to ERROR_CFLAGS
9494 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9497 make GST_ERROR_CFLAGS overridable and re-enable Werror
9499 add a note about error CFLAGS
9500 * docs/gst/tmpl/gstfakesrc.sgml:
9501 * gst/elements/gstfakesrc.c:
9502 comment out some unused code
9503 * gst/gst.c: (split_and_iterate):
9504 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9508 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9510 * common/Makefile.am:
9511 * common/gtk-doc.mak:
9512 * docs/gst/Makefile.am:
9513 factor out gtk-doc.mak
9515 2005-07-07 Wim Taymans <wim@fluendo.com>
9517 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9518 (gst_thread_scheduler_dispose):
9519 Unlock the STREAM_LOCK completely.
9521 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9523 * check/Makefile.am:
9524 * check/elements/.cvsignore:
9525 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9526 (START_TEST), (fakesrc_suite), (main):
9527 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9528 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9529 (gst_fakesrc_create), (gst_fakesrc_start):
9530 * gst/elements/gstfakesrc.h:
9531 adding a first element test
9533 2005-07-07 Andy Wingo <wingo@pobox.com>
9535 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9538 2005-07-07 Wim Taymans <wim@fluendo.com>
9544 2005-07-07 Wim Taymans <wim@fluendo.com>
9546 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9547 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9548 Allow subclasses to implement their own negotiation.
9550 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9552 * docs/design/part-gstbin.txt:
9553 * docs/design/part-gstpipeline.txt:
9554 Update design notes to reflect the movement of
9555 responsibility for bus handling from GstPipeline to
9558 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9561 Remove unnecessary queue2/3/4 examples.
9563 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9565 * examples/Makefile.am:
9566 * examples/helloworld/helloworld.c: (event_loop), (main):
9567 * examples/queue/queue.c: (event_loop), (main):
9568 * examples/queue2/queue2.c: (main):
9569 Update a couple of the examples to work again.
9571 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9572 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9573 Spelling corrections and extra debug.
9575 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9576 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9577 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9579 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9580 (gst_pipeline_change_state):
9581 * gst/gstpipeline.h:
9582 Move the bus handler for children to the GstBin, and create a
9583 separate bus for receiving messages from children to the one the
9584 bus sends 'upwards' on.
9586 2005-07-06 Wim Taymans <wim@fluendo.com>
9589 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9590 (gst_base_sink_handle_object), (gst_base_sink_loop),
9591 (gst_base_sink_change_state):
9592 * gst/base/gstbasesink.h:
9593 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9594 (gst_base_src_init), (gst_base_src_setcaps),
9595 (gst_base_src_getcaps), (gst_base_src_loop),
9596 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9597 (gst_base_src_start), (gst_base_src_change_state):
9598 * gst/base/gstbasesrc.h:
9599 Make basesrc negotiate.
9600 Handle the case where preroll fails in basesink.
9603 2005-07-06 Wim Taymans <wim@fluendo.com>
9605 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9606 Implement the fixate function.
9607 Clean up acceptcaps.
9609 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9611 * docs/pwg/building-filterfactory.xml:
9613 Remove never-written filter-factory chapter; I'll add the various
9614 base classes to part 4 ("other element types") later on.
9616 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9618 * docs/pwg/advanced-negotiation.xml:
9619 * docs/pwg/building-boiler.xml:
9620 * docs/pwg/building-pads.xml:
9622 * examples/pwg/Makefile.am:
9623 Add a chapter on caps negotiation, simplify the original code
9624 samples a bit w.r.t. caps negotiation, add link to the advanced
9625 section. Add a bunch of examples showing different use cases of
9626 different types of caps negotiation. Upstream renegotiation isn't
9627 fully documented yet since nobody knows how that works.
9629 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9631 * check/gst/gstpad.c:
9633 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9634 if pad has no parent, return NULL as list of internal links
9636 2005-07-05 Andy Wingo <wingo@pobox.com>
9638 * gst/elements/gstfilesrc.c:
9639 * gst/elements/gstfakesrc.c:
9640 * gst/base/gstpushsrc.c:
9641 * gst/base/gstbasesrc.h:
9642 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9644 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9647 better report generation target (lcov needs a patch)
9649 2005-07-05 Andy Wingo <wingo@pobox.com>
9651 * gst/elements, testsuite: Null if we got it...
9653 2005-07-05 Wim Taymans <wim@fluendo.com>
9656 * libs/gst/dataprotocol/Makefile.am:
9657 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9658 * libs/gst/dataprotocol/dataprotocol.h:
9659 * pkgconfig/Makefile.am:
9660 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9661 * pkgconfig/gstreamer-dataprotocol.pc.in:
9662 Ported dataprotol to 0.9.
9663 Added pkgconfig files.
9665 2005-07-05 Andy Wingo <wingo@pobox.com>
9667 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9668 Default to returning TRUE for the case when tranform_caps returns
9669 a fixed caps, like for identity or volume.
9671 * check/gst/gstbus.c (pound_bus_with_messages):
9672 * check/gst/gstmessage.c (START_TEST):
9673 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9676 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9677 logic weaks here: always run transform_caps, trying passthrough
9678 operation only if the original caps intersects with the transform.
9680 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9681 source and sink caps.
9683 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9684 Intersect the peer caps with the pad template before going into
9686 (gst_base_transform_transform_caps): More debugging.
9688 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9691 2005-07-04 Edward Hervey <edward@fluendo.com>
9695 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9698 2005-07-04 Andy Wingo <wingo@pobox.com>
9700 * check/gst/gstpad.c: Only set explicit caps on pads.
9702 2005-07-01 Andy Wingo <wingo@pobox.com>
9704 * tests/network-clock.scm: Commentary update.
9706 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9707 Didn't really make sense, not implementable with basetransform,
9709 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9710 attempt at implementing the sync property, needs an unlock method.
9712 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9713 New func, by default returns the same caps (the identity
9715 (gst_base_transform_getcaps): Uses transform_caps to return
9717 (gst_base_transform_setcaps): Complicated logic to get caps on
9718 both pads, even if they are different, and to call set_caps once
9719 for every time both pads get their caps set.
9720 (gst_base_transform_handle_buffer): Give the ref to the transform
9721 function. Allows in-place modification of the buffer.
9723 * gst/base/gstbasetransform.h (transform_caps): New class method.
9724 Given caps on one side, what can I do on the other.
9725 (set_caps): Take two caps, one for each side of the element.
9728 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9729 caps in place. This is safe because we can check the mutability of
9730 the caps, and a good idea because fixate functions are just called
9731 as a matter of last resort. (Not actually implemented.)
9732 (gst_pad_set_caps): If the caps we're setting is actually the same
9733 as the existing pad caps, just update the pointer without calling
9734 setcaps. Assert that caps is either NULL or fixed, as per the
9737 * gst/gstghostpad.c: Update for fixate changes.
9739 2005-07-02 Andy Wingo <wingo@pobox.com>
9742 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9743 two refcounts makes it immutable, which is enough. Doc more.
9745 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9747 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9748 Put the mini_object into GValue as a mini_object,
9749 not a gpointer, since that's how we declared
9752 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9754 * examples/pwg/Makefile.am:
9757 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9759 * docs/pwg/building-testapp.xml:
9761 * examples/pwg/Makefile.am:
9764 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9767 * examples/Makefile.am:
9768 * examples/pwg/Makefile.am:
9769 * examples/pwg/extract.pl:
9770 Enable building the PWG examples.
9771 * docs/pwg/advanced-interfaces.xml:
9772 Add URI interface stub.
9773 * docs/pwg/advanced-types.xml:
9774 * docs/pwg/other-autoplugger.xml:
9775 * docs/pwg/appendix-porting.xml:
9777 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9778 * docs/pwg/building-boiler.xml:
9779 * docs/pwg/building-chainfn.xml:
9780 * docs/pwg/building-pads.xml:
9781 * docs/pwg/building-props.xml:
9782 * docs/pwg/building-state.xml:
9783 * docs/pwg/building-testapp.xml:
9784 Update the building-*.xml parts for 0.9 changes. All examples
9785 code blocks compile in examples/pwg/*.
9787 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9789 * docs/manual/advanced-autoplugging.xml:
9790 * docs/manual/appendix-checklist.xml:
9791 * docs/manual/appendix-integration.xml:
9792 * docs/manual/highlevel-components.xml:
9793 Fix playbin/decodebin examples, update docs a bit, mention bus
9794 instead of signals in various places, mention kmplayer and
9795 kaffeine since they have a working GStreamer backend in the KDE
9798 2005-06-30 Wim Taymans <wim@fluendo.com>
9801 * docs/design/draft-ghostpads.txt:
9802 * docs/design/draft-push-pull.txt:
9803 * docs/design/draft-query.txt:
9804 * docs/design/part-TODO.txt:
9805 * docs/design/part-query.txt:
9806 Added CHANGES-0.9 doc, updated status of other docs.
9811 2005-06-30 Wim Taymans <wim@fluendo.com>
9813 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9814 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9815 (gst_base_sink_change_state):
9816 * gst/base/gstbasesink.h:
9817 Some tweaks, only EOS and a buffer complete a preroll.
9819 2005-06-30 Andy Wingo <wingo@pobox.com>
9821 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9822 activate_push down to the internal pad as well.
9824 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9826 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9828 * gst/gsttaginterface.c:
9829 Some documentation fixes (#307394 and #307397).
9831 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9833 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9835 * gst/gstvalue.c: (gst_value_intersect_list):
9836 Fix memleak (#309125).
9838 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9840 * docs/manual/advanced-dataaccess.xml:
9841 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9842 * docs/manual/basics-pads.xml:
9843 Add reference for filtered caps to above chapter.
9845 2005-06-30 Wim Taymans <wim@fluendo.com>
9847 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9848 (gst_bin_change_state):
9850 Lame attempt at making the state change function a bit
9853 2005-06-30 Wim Taymans <wim@fluendo.com>
9855 * docs/design/part-clocks.txt:
9856 * docs/design/part-element-sink.txt:
9857 * docs/design/part-events.txt:
9858 * docs/design/part-preroll.txt:
9859 * docs/design/part-states.txt:
9860 Some more tweeks and additions to the docs.
9862 2005-06-30 Wim Taymans <wim@fluendo.com>
9864 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9865 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9866 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9867 (gst_pad_check_pull_range), (gst_pad_get_range),
9868 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9870 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9871 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9872 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9873 (gst_pad_remove_buffer_probe):
9874 Removed atomic operations, use existing LOCK.
9875 Move exception handling out of main code path.
9877 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9879 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9880 (silly_return_true_function), (gst_pad_class_init),
9881 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9882 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9883 (gst_pad_send_event):
9884 Fix accumulator, add default value by using _emitv() instead
9885 of _emit() for signal emission.
9887 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9889 * docs/manual/advanced-dataaccess.xml:
9890 * examples/manual/Makefile.am:
9892 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9895 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9897 * gst/elements/gstfilesink.c: (gst_filesink_render):
9898 Simplify code so that we don't have to handle short
9899 writes and return GST_FLOW_ERROR if an error occured.
9901 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9903 * docs/gst/gstreamer-docs.sgml:
9906 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9908 * docs/gst/gstreamer-sections.txt:
9909 * docs/gst/tmpl/gstpad.sgml:
9910 * docs/gst/tmpl/gstprobe.sgml:
9912 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9913 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9914 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9915 (gst_pad_push_event), (gst_pad_send_event):
9917 * gst/gstutils.c: (gst_pad_add_data_probe),
9918 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9919 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9920 (gst_pad_remove_buffer_probe):
9922 Remove old probes, add new g-signal-based probes and some utility
9925 2005-06-29 Edward Hervey <edward@fluendo.com>
9927 * gst/gstelementfactory.c:
9930 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9931 the definition to the header file.
9933 2005-06-29 Andy Wingo <wingo@pobox.com>
9935 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9936 plugins from the source directory.
9938 2005-06-29 Wim Taymans <wim@fluendo.com>
9940 * docs/gst/tmpl/gstbuffer.sgml:
9941 * docs/gst/tmpl/gstclock.sgml:
9942 Some fixings for blantently wrong text.
9944 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9946 * check/Makefile.am:
9947 * gst/gst.c: (add_path_func), (init_pre):
9948 * gst/gstregistry.c: (gst_registry_add_path):
9949 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9950 only scan the GST_PLUGIN_PATH locations, and not add
9953 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9955 * docs/gst/gstreamer-sections.txt:
9956 * docs/gst/tmpl/gstbasesrc.sgml:
9963 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9965 * docs/manual/advanced-autoplugging.xml:
9966 Fix autoplugging example.
9968 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9970 * docs/manual/advanced-autoplugging.xml:
9971 * docs/manual/mime-world.fig:
9972 Try to get autoplugging working, fix type detection. Fix text
9973 in hello-world image.
9975 2005-06-29 Wim Taymans <wim@fluendo.com>
9977 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9978 (gst_base_sink_change_state):
9982 map SIGNAL and BROADCAST to the right function.
9985 Remove redundant braces.
9987 * gst/gstpad.c: (gst_pad_set_caps):
9988 Don't call setcaps function when reseting caps to NULL.
9990 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9991 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9992 (gst_system_clock_id_unschedule):
9993 Use BROADCAST as this is what we do.
9995 2005-06-29 Wim Taymans <wim@fluendo.com>
9997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9998 We are actually prerolling before commiting the state
10001 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10003 * docs/manual/advanced-clocks.xml:
10004 * docs/manual/advanced-interfaces.xml:
10005 * docs/manual/advanced-metadata.xml:
10006 * docs/manual/advanced-position.xml:
10007 * docs/manual/advanced-schedulers.xml:
10008 * docs/manual/advanced-threads.xml:
10009 * docs/manual/appendix-porting.xml:
10010 * docs/manual/basics-bins.xml:
10011 * docs/manual/basics-bus.xml:
10012 * docs/manual/basics-elements.xml:
10013 * docs/manual/basics-helloworld.xml:
10014 * docs/manual/basics-pads.xml:
10015 * docs/manual/highlevel-components.xml:
10016 * docs/manual/manual.xml:
10017 * docs/manual/thread.fig:
10018 Update (until threads/scheduling) Application Development Manual;
10019 remove GstThread, add GstBus, add simple porting checklist, add
10020 documentation for tag writing, clocks, make all examples until this
10021 part compile and run.
10022 * examples/manual/Makefile.am:
10023 Update from changes to Application Development Manual; add bus
10024 example, remove thread example.
10026 2005-06-28 Wim Taymans <wim@fluendo.com>
10028 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10029 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10030 (gst_bus_source_dispatch):
10031 Add debugging messages.
10032 Make internal methods static.
10033 Handle the case where the bus is flushed in the handler.
10035 * gst/gstelement.c: (gst_element_get_bus):
10036 Fix refcount in _get_bus();
10038 * gst/gstpipeline.c: (gst_pipeline_change_state),
10039 (gst_pipeline_get_clock_func):
10040 Clock refcounting fixes.
10041 Handle the case where preroll timed out more gracefully.
10043 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10044 Clean up the internal thread in dispose. This is needed
10045 for subclasses that actually get disposed.
10047 * gst/schedulers/threadscheduler.c:
10048 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10049 (gst_thread_scheduler_dispose):
10050 Free thread pool in dispose.
10052 2005-06-28 Andy Wingo <wingo@pobox.com>
10054 * tests/network-clock-utils.scm (debug, print-event): New utils.
10056 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10057 (*packet-loss*): Unified loss probability.
10058 (network-time): Report out-of-band events.
10060 * tests/plot-data: Add support for out-of-band events. Hack it
10061 into this script instead of passing it down the pipe; should fix
10064 2005-06-28 Wim Taymans <wim@fluendo.com>
10066 * docs/gst/gstreamer.types:
10067 * docs/gst/tmpl/gstbasesrc.sgml:
10068 * docs/gst/tmpl/gstpad.sgml:
10071 2005-06-28 Wim Taymans <wim@fluendo.com>
10073 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10074 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10075 (gst_proxy_pad_do_fixatecaps):
10076 Correctly proxy the check_pull_range function.
10078 2005-06-28 Andy Wingo <wingo@pobox.com>
10080 * tests/network-clock.scm: Removed need for slib.
10082 2005-06-28 Wim Taymans <wim@fluendo.com>
10084 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10085 (gst_basesink_preroll_queue_flush):
10086 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10087 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10088 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10089 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10090 (gst_proxy_pad_set_property):
10093 * gst/gstqueue.c: (gst_queue_init):
10094 The deprecated pad loop function is removed now.
10096 2005-06-28 Andy Wingo <wingo@pobox.com>
10098 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10099 New parameters, simulate network packet loss.
10101 * tests/network-clock-utils.scm: Initialize the RNG.
10103 2005-06-28 Wim Taymans <wim@fluendo.com>
10105 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10106 (gst_basesink_event), (gst_basesink_deactivate):
10107 Flushing the preroll queue always needs to unlock the waiters.
10109 2005-06-28 Edward Hervey <edward@fluendo.com>
10111 * gst/gstpipeline.c: (gst_pipeline_send_event):
10112 Wheen a seek was successful on a pipeline, set the stream_time to the
10113 seek offset in order to have a synchronized stream_time.
10115 2005-06-28 Wim Taymans <wim@fluendo.com>
10117 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10118 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10119 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10120 (gst_proxy_pad_do_fixatecaps):
10121 Call wrapper function instead of just calling the function
10122 pointers. This takes care of any locking and whatmore.
10124 2005-06-28 Wim Taymans <wim@fluendo.com>
10126 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10127 (gst_pad_pull_range):
10129 CONNECTED -> LINKED.
10131 2005-06-28 Andy Wingo <wingo@pobox.com>
10133 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10134 source-munging commit!!!
10136 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10137 (gst_object_sink): Take gpointer arguments, not GstObject --
10138 avoids casts. Like GLib.
10140 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10143 2005-06-27 Andy Wingo <wingo@pobox.com>
10145 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10148 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10149 returns a sorted copy of the trace list.
10150 (gst_alloc_trace_print_live): New API, only prints traces with
10151 live objects. Sort the list.
10152 (gst_alloc_trace_print_all): Sort the list.
10153 (gst_alloc_trace_print): Align columns.
10155 * gst/elements/gstttypefindelement.c:
10156 * gst/elements/gsttee.c:
10157 * gst/base/gstbasesrc.c:
10158 * gst/base/gstbasesink.c:
10159 * gst/base/gstbasetransform.c:
10160 * gst/gstqueue.c: Adapt for pad activation changes.
10162 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10164 (gst_pipeline_dispose): Drop ref on sched.
10166 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10167 (gst_pad_activate_default): Push mode by default.
10168 (pre_activate_switch, post_activate_switch): New stubs, things to
10169 do before and after switching activation modes on pads.
10170 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10171 the pad's activate function to choose which mode to activate.
10172 Shortcut on deactivation and call the right function directly.
10173 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10175 (gst_pad_activate_push): New API, same for push mode.
10176 (gst_pad_set_activate_function)
10177 (gst_pad_set_activatepull_function)
10178 (gst_pad_set_activatepush_function): Setters for new API.
10180 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10181 Trace all miniobjects.
10182 (gst_mini_object_make_writable): Unref the arg if we copy, like
10183 gst_caps_make_writable.
10185 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10187 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10188 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10189 Adapt for new pad API.
10191 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10193 * gst/gstelement.h:
10194 * gst/gstelement.c (gst_element_iterate_src_pads)
10195 (gst_element_iterate_sink_pads): New API functions.
10197 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10198 should fold into gstiterator.c in some form.
10199 (gst_element_pads_activate): Simplified via use of fold and
10200 delegation of decisions to gstpad->activate.
10202 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10205 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10206 class once in init, like gstmessage. Didn't run into this issue
10207 but it seems correct. Don't initialize a trace, gstminiobject does
10210 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10211 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10213 (assert_live_count): New util function, uses alloc traces to check
10216 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10217 To be modified when unlink drops the internal pad.
10219 2005-06-27 Wim Taymans <wim@fluendo.com>
10221 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10222 (gst_bin_change_state):
10223 Cleanup the get_state() function a little, make sure it
10224 iterates the same set of elements.
10225 Added stub iterate_state_order().
10227 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10229 * docs/gst/gstreamer-docs.sgml:
10230 * docs/gst/gstreamer-sections.txt:
10231 * docs/gst/gstreamer.types:
10232 * docs/gst/tmpl/gstbasesink.sgml:
10233 * docs/gst/tmpl/gstbasesrc.sgml:
10234 * docs/gst/tmpl/gstbasetransform.sgml:
10235 * docs/gst/tmpl/gstelement.sgml:
10236 * docs/gst/tmpl/gstiterator.sgml:
10237 * gst/base/gstbasesrc.c:
10238 * gst/base/gstbasesrc.h:
10239 * gst/base/gstbasetransform.h:
10240 * gst/gstelement.c:
10241 * gst/gstiterator.h:
10242 adding basetransform and iterator docs
10244 2005-06-27 Andy Wingo <wingo@pobox.com>
10246 * docs/design/part-activation.txt: Notes on how activation should
10247 work -- not quite implemented yet.
10249 2005-06-25 Wim Taymans <wim@fluendo.com>
10251 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10252 At least get the chain function correct, needs more
10255 2005-06-25 Wim Taymans <wim@fluendo.com>
10257 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10258 (gst_basesink_handle_object), (gst_basesink_event),
10259 (gst_basesink_do_sync), (gst_basesink_handle_event),
10260 (gst_basesink_change_state):
10262 Right, two problems here: ghostpads don't take locks and
10263 glib _rec_mutex_lock_full() with depth==0 still locks.
10264 Catch illegal locking and g_warn them.
10266 2005-06-25 Wim Taymans <wim@fluendo.com>
10268 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10269 Have to check for completion now...
10271 2005-06-25 Wim Taymans <wim@fluendo.com>
10273 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10274 (gst_basesink_handle_object), (gst_basesink_event),
10275 (gst_basesink_do_sync), (gst_basesink_handle_event),
10276 (gst_basesink_change_state):
10278 Unlock STREAM_LOCK whatever the recursion was.
10280 2005-06-25 Wim Taymans <wim@fluendo.com>
10282 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10283 (gst_basesink_preroll_queue_empty),
10284 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10285 (gst_basesink_event), (gst_basesink_do_sync),
10286 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10287 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10288 (gst_basesink_change_state):
10289 Reworked the base sink, handle event and buffer serialisation
10290 correctly and removed possible deadlock.
10291 Handle EOS correctly.
10293 2005-06-25 Wim Taymans <wim@fluendo.com>
10295 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10296 (gst_pipeline_change_state):
10297 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10298 Allow elements to post EOS in the state change function.
10299 Fix up -launch, make it exit the poll loop when the
10300 pipeline actually changed state.
10301 Fix up warning parsing in -launch.
10303 2005-06-25 Wim Taymans <wim@fluendo.com>
10305 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10306 (gst_tee_sink_activate):
10307 Core takes STREAM_LOCK for us now.
10309 2005-06-25 Wim Taymans <wim@fluendo.com>
10311 * gst/gstelement.c: (gst_element_get_state_func),
10312 (gst_element_set_state):
10313 * gst/gstelement.h:
10314 * gst/gstmessage.c: (gst_message_parse_error),
10315 (gst_message_parse_warning):
10316 Keep track of current target state while performing a state
10317 change so that subclasses can do something interesting.
10318 Fix parsing of warning/error messages when GError is NULL.
10320 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10322 * docs/gst/Makefile.am:
10323 * docs/gst/gstreamer-docs.sgml:
10324 * docs/gst/gstreamer-sections.txt:
10325 * docs/gst/gstreamer.types:
10326 * docs/gst/tmpl/gstbasesink.sgml:
10327 * docs/gst/tmpl/gstbasesrc.sgml:
10328 * docs/gst/tmpl/gstbin.sgml:
10329 * docs/gst/tmpl/gstcompat.sgml:
10330 * docs/gst/tmpl/gstfakesink.sgml:
10331 * docs/gst/tmpl/gstfakesrc.sgml:
10332 * docs/gst/tmpl/gstfilesink.sgml:
10333 * docs/gst/tmpl/gstfilesrc.sgml:
10334 * docs/gst/tmpl/gstindex.sgml:
10335 * docs/manual/appendix-quotes.xml:
10336 * gst/base/gstbasesrc.h:
10337 * gst/elements/gstfakesrc.h:
10338 * gst/gstmessage.h:
10339 start pulling in base classes and elements in our docs
10341 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10343 * docs/gst/Makefile.am:
10344 * docs/libs/Makefile.am:
10345 fixed make distcheck with gtk-doc 1.3
10347 2005-06-23 Wim Taymans <wim@fluendo.com>
10349 * gst/gstelement.c: (gst_element_get_state_func),
10350 (gst_element_set_state), (gst_element_change_state):
10351 When the state did not change, also report NO_PREROLL
10354 2005-06-23 Wim Taymans <wim@fluendo.com>
10356 * gst/gstpad.c: (gst_pad_event_default):
10357 * gst/gstqueue.c: (gst_queue_loop):
10358 No unsafe task pausing please.
10360 2005-06-23 Wim Taymans <wim@fluendo.com>
10362 * gst/schedulers/threadscheduler.c:
10363 (gst_thread_scheduler_task_start),
10364 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10365 Ref the task before pushing it on the threadpool. This
10366 makes sure that we have a ref when the threadfunction is
10369 2005-06-23 Andy Wingo <wingo@pobox.com>
10371 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10372 offset is greater than the file's size.
10374 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10375 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10376 * gst/gstobject.c (gst_object_class_init): Make the class lock
10377 recursive. Wim won't let me drop deep_notify. Decodebin works
10378 again, whoopdy doo.
10380 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10381 internal pad, and hacks accordingly. Doesn't do it on the target
10382 pad because we change its caps. Probably catches all cases of
10384 (gst_ghost_pad_set_property): Connect to notify::caps as
10387 * tests/network-clock.scm (plot-simulation): Pipe data to the
10388 elite python skript.
10390 * tests/network-clock-utils.scm (define-parameter): New macro,
10391 defines a parameter that can be set via the command line.
10392 (set-parameter!, parse-parameter-arguments): Command line args
10395 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10398 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10400 * gst/elements/gsttypefindelement.c:
10401 (gst_type_find_element_handle_event):
10402 Don't restart typefinding on a discont.
10403 * gst/gstelement.c: (gst_element_set_state):
10404 Debug spelling fix.
10405 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10406 Allow changing mode of an active pad.
10407 Debug output fixes.
10408 * gst/registries/gstlibxmlregistry.c: (load_feature):
10409 Don't cast a static pad template to a normal pad template.
10411 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10413 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10414 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10415 remove gst_strtoll completely, since it didn't actually do
10416 anything more than what g_ascii_strtoull already does.
10417 check for range errors when deserializing
10418 do a cast for the unsigned cases; but further fixing needs
10419 a decision on what the interpretation of "(int)" and
10420 deserialization should be for values that fall outside the
10421 type's boundaries (ie, refuse, or interpret as casting)
10423 2005-06-23 Wim Taymans <wim@fluendo.com>
10425 * check/Makefile.am:
10426 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10427 * docs/design/part-live-source.txt:
10428 * docs/design/part-states.txt:
10429 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10430 (gst_basesrc_set_live), (gst_basesrc_is_live),
10431 (gst_basesrc_get_range), (gst_basesrc_activate),
10432 (gst_basesrc_change_state):
10433 * gst/base/gstbasesrc.h:
10434 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10435 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10436 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10437 * gst/gstelement.c: (gst_element_get_state_func),
10438 (gst_element_set_state):
10439 * gst/gstelement.h:
10441 * tools/gst-launch.c: (event_loop), (main):
10442 Added support for live sources and other elements that
10444 Updated design docs, added live-source design doc.
10445 Implemented live source functionality in basesrc
10446 Fix error condition in _bin_get_state()
10447 Implement live source handling in -launch.
10448 Added check for live sources.
10449 Fixed case in GstBin where elements were changed state
10453 2005-06-23 Andy Wingo <wingo@pobox.com>
10455 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10456 borken refcounting.
10458 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10459 gst_caps_replace takes care of this for us.
10461 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10462 gst_pad_set_caps on the target, not just its setcaps() function.
10464 * tests/network-clock.scm:
10465 * tests/network-clock-utils.scm: A network clock simulator.
10466 Something of an algorithmic testbed before doing something in C.
10468 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10470 * check/Makefile.am:
10471 * check/gst/capslist.h:
10472 copy over from 0.8, and add two with bitmasks specified with
10474 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10475 add test to parse everything from capslist.h
10476 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10478 add test for structure deserialization
10479 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10480 add tests for deserialization of strings to int types
10481 * gst/gststructure.c: (gst_structure_nth_field_name):
10482 * gst/gststructure.h:
10483 add a way to get the name of a field referenced by index
10484 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10485 instead of checking if the resulting long long lies between
10486 min and max, we check if the long long would fit into
10487 a number of bytes for the final type.
10488 This fixes cases where a string represents 2^32 - 1, which
10489 when cast to int would be the (valid) -1, but is bigger than
10492 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10494 * gst/parse/grammar.y:
10495 add a log line for type deserialization
10497 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10499 * check/gst/gstvalue.c: (START_TEST):
10500 * gst/gstvalue.c: (gst_value_deserialize):
10501 return long long, not int, so gint64 deserialization actually
10502 works. Is there any flag that makes the compiler check this ?
10505 2005-06-22 Wim Taymans <wim@fluendo.com>
10508 Added convenience macros for setting buffers in GValue.
10510 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10512 * check/gst/.cvsignore:
10513 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10514 add a test deserializing int64, and comment part out because
10517 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10519 * check/Makefile.am:
10520 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10521 * testsuite/Makefile.am:
10522 * testsuite/caps/Makefile.am:
10523 * testsuite/caps/value_serialize.c:
10524 * testsuite/test_gst_init.c:
10525 move a value_serialize test over
10527 2005-06-20 Wim Taymans <wim@fluendo.com>
10532 * gst/gstvalue.c: (gst_value_compare_buffer),
10533 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10534 (gst_value_compare_flags), (gst_value_serialize_flags),
10535 (gst_value_deserialize_flags), (_gst_value_initialize):
10536 Fix serialisation of buffers, they are not boxed types anymore
10538 2005-06-20 Wim Taymans <wim@fluendo.com>
10540 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10541 Testcase to show error in buffer-on-caps serialisation.
10543 2005-06-20 Andy Wingo <wingo@pobox.com>
10545 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10546 will be adding to later.
10548 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10549 if its socks fill with rocks.
10550 (gst_system_clock_obtain): Set the name on object construction.
10551 Avoid double-checked locking.
10553 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10555 * gst/gsturi.c: (gst_element_make_from_uri):
10556 Fix potential endless loop.
10558 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10560 * check/Makefile.am:
10562 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10564 move over from testsuite dir and clean up
10567 * testsuite/Makefile.am:
10568 * testsuite/tags/.cvsignore:
10569 * testsuite/tags/Makefile.am:
10570 * testsuite/tags/merge.c:
10571 remove testsuite/tags
10573 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10575 * docs/gst/gstreamer-sections.txt:
10576 * docs/gst/tmpl/gstenumtypes.sgml:
10577 * win32/gstenumtypes.c:
10578 clean up documentation build a little
10580 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10582 * check/gstcheck.h:
10583 add macros for checking refcounts on objects and caps
10584 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10585 add some more unit tests
10586 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10587 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10588 fix leaked refcounts (I hope :)) so unittest works
10592 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10594 * configure.ac: back to HEAD
10596 === release 0.9.1 ===
10598 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10604 2005-06-17 Andy Wingo <wingo@pobox.com>
10606 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10607 assert; it's always possible that the pad gets deactivated in
10608 between the checks in gstpad.c and the implementation. Rely on
10609 finish_preroll() to return a FLUSHING or similar instead of on the
10612 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10613 clock and post an EOS message if we come out of finish_preroll in
10616 2005-06-16 David Schleef <ds@schleef.org>
10618 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10619 (gst_capsfilter_set_property): Allow NULL as possible value
10620 for filter_caps property, indicating GST_CAPS_ANY.
10622 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10624 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10626 * gst/schedulers/Makefile.am:
10628 * gstreamer.spec.in:
10631 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10633 * gstreamer.spec.in:
10636 2005-06-08 Andy Wingo <wingo@pobox.com>
10638 * gst/gstutils.c: RPAD fixes all around.
10639 (gst_element_link_pads): Refcounting fixes.
10641 * tools/gst-inspect.c:
10642 * tools/gst-xmlinspect.c:
10644 * gst/base/gsttypefindhelper.c:
10645 * gst/base/gstbasesink.c:
10646 * gst/gstqueue.c: RPAD fixes.
10648 * gst/gstghostpad.h:
10649 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10650 pads. The tricky thing is they provide both source and sink
10651 interfaces, since they proxy the internal pad for the external
10652 pad, and vice versa. Implement with lower-level ProxyPad objects,
10653 with the interior proxy pad as a child of the exterior ghost pad.
10654 Should write a doc on this.
10656 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10657 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10660 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10661 pads are real pads. No ghost pads in this file. Not documenting
10662 the myriad s/RPAD/PAD/ and REALIZE fixes.
10663 (gst_pad_class_init): Add properties for "direction" and
10664 "template". Both are construct-only, so they can't change during
10665 the life of the pad. Fixes properly deriving from GstPad.
10666 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10667 derived objects, just set properties when creating the objects via
10669 (gst_pad_get_parent): Implement as a function, return NULL if the
10670 parent is not an element.
10671 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10672 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10674 * gst/gstobject.c (gst_object_class_init): Make name a construct
10675 property. Don't set it in the object init.
10677 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10678 with UNKNOWN direction.
10679 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10680 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10681 (gst_element_remove_pad): Remove ghost-pad special cases.
10682 (gst_element_pads_activate): Remove rpad cruft.
10684 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10685 catch the pad's-parent-not-an-element case.
10687 * gst/gst.h: Include gstghostpad.h.
10689 * gst/gst.c (init_post): No more real, ghost pads.
10691 * gst/Makefile.am: Add gstghostpad.[ch].
10693 * check/Makefile.am:
10694 * check/gst/gstbin.c:
10695 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10696 into a bin creates ghost pads, and that the refcounts are right.
10697 Partly moved from gstbin.c.
10699 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10701 * check/gst-libs/.cvsignore:
10702 * check/gst/.cvsignore:
10703 * check/pipelines/.cvsignore:
10705 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10706 (START_TEST), (cleanup_suite), (main):
10707 add some tests related to cleanup after running pipelines
10709 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10711 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10712 add a testsuite for GstBuffer
10714 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10716 * gst/gstminiobject.h:
10717 add defines for accessing the refcount
10719 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10721 * Makefile.am: added support for html unit test coverage reports
10723 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10725 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10726 Free existing caps if the capsfilter changes. Add a FIXME about
10727 setting those caps on the pads.
10729 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10730 Before adding a ghost pad to a parent bin, check that there isn't
10731 already one for the element on the bin. Prevents infinite recursion
10732 when using decodebin in parse pipelines. Andy says he'll rewrite the
10733 way this works anyway, so ignore the hack.
10735 2005-06-02 Andy Wingo <wingo@pobox.com>
10737 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10738 file size, pass it on to the type find helper.
10740 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10741 segment_start and segment_end properly according to the seek
10742 method. Segment_end is still a bit flaky because offset can be
10743 negative for CUR and END cases, but it takes -1 as an "unset"
10746 2005-06-02 Wim Taymans <wim@fluendo.com>
10748 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10749 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10750 (gst_basesink_activate):
10751 * gst/base/gstbasesink.h:
10752 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10753 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10754 (gst_pad_query), (gst_pad_start_task):
10756 * gst/gstqueue.c: (gst_queue_bufferalloc),
10757 (gst_queue_handle_sink_event), (gst_queue_chain):
10758 Bufferalloc: return GstFlowReturn to more accuratly report
10759 why allocation failed.
10761 2005-06-02 Wim Taymans <wim@fluendo.com>
10763 * gst/gstpipeline.c: (gst_pipeline_send_event):
10764 Take snapshot of state without blocking.
10766 2005-06-02 Wim Taymans <wim@fluendo.com>
10768 * docs/design/part-TODO.txt:
10769 * docs/design/part-caps.txt:
10770 * docs/design/part-clocks.txt:
10771 * docs/design/part-negotiation.txt:
10772 * docs/design/part-preroll.txt:
10775 2005-05-30 Wim Taymans <wim@fluendo.com>
10777 * gst/elements/gstidentity.c: (gst_identity_event),
10778 (gst_identity_transform), (gst_identity_get_property):
10779 Protect last_message property as it is accessed from
10782 2005-05-30 Wim Taymans <wim@fluendo.com>
10784 * gst/gstelement.c: (gst_element_init),
10785 (gst_element_pads_activate), (gst_element_change_state):
10786 Slicker pad activation code.
10788 2005-05-30 Wim Taymans <wim@fluendo.com>
10791 * gst/gstelement.h:
10792 * gst/gstelementfactory.h:
10794 Move elementfactory methods to separate .h file.
10796 2005-05-30 Wim Taymans <wim@fluendo.com>
10798 * docs/design/part-overview.txt:
10799 * gst/gstsystemclock.h:
10800 Small typo fixes, doc updates.
10802 2005-05-30 Wim Taymans <wim@fluendo.com>
10804 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10805 (init_popt_callback):
10806 Remove cpu-opt flag.
10808 2005-05-30 Wim Taymans <wim@fluendo.com>
10810 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10811 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10813 Avoid typechecking in places where not needed.
10814 Added accessor for malloc_data.
10816 2005-05-30 Wim Taymans <wim@fluendo.com>
10818 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10819 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10820 (gst_pad_configure_sink), (gst_pad_configure_src),
10821 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10822 (gst_pad_start_task):
10823 Propagate errors from _set_caps() in configure_src/sink
10824 functions instead of returning TRUE.
10825 FLUSH events can travel up and downstream
10828 2005-05-30 Wim Taymans <wim@fluendo.com>
10830 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10831 (gst_basesink_activate):
10832 Handle EOS in preroll.
10834 2005-05-30 Wim Taymans <wim@fluendo.com>
10836 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10837 (gst_queue_loop), (gst_queue_handle_src_event):
10838 Remove old pieces of code
10839 Flushing the queue in an upstream event is a very bad idea.
10841 2005-05-26 Andy Wingo <wingo@pobox.com>
10843 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10844 gst_value_set_mini_object so as to add a ref on the object (which
10845 will be removed when the value is unset).
10847 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10848 arg type in ::handoff.
10850 * gst/gstelement.c (gst_element_change_state): Also deactivate
10851 pads in READY->NULL, just in case the element didn't make it to
10852 PAUSED. Wingo tested, Wim approved.
10854 2005-05-26 Wim Taymans <wim@fluendo.com>
10856 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10857 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10858 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10859 A flushing pad cannot be used to alloc_buffer from.
10861 2005-05-26 Wim Taymans <wim@fluendo.com>
10863 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10864 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10865 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10866 (gst_bus_create_watch), (gst_bus_add_watch_full):
10868 Implement a real GSource and use g_main_context_wakeup() to
10869 signal new messages instead of the socketpair.
10871 2005-05-25 Wim Taymans <wim@fluendo.com>
10873 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10874 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10875 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10876 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10877 (gst_pad_send_event), (gst_pad_start_task):
10878 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10879 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10880 (gst_queue_sink_activate), (gst_queue_src_activate),
10881 (gst_queue_change_state):
10883 Fix state changes for non sinks. We now change sinks, then elements
10884 with unconnected srcpads, then the rest.
10885 More efficient queue unlocking in flush and state changes.
10886 Set the pad activate mode even if it does not have an activate
10889 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10891 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10892 Don't go in pull mode for non-seekable sources.
10893 * gst/elements/gsttypefindelement.h:
10894 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10895 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10896 (free_entry), (stop_typefinding),
10897 (gst_type_find_element_handle_event), (find_peek),
10898 (gst_type_find_element_chain), (do_pull_typefind),
10899 (gst_type_find_element_change_state):
10900 Allow typefinding (w/o seeking) in push-mode, simplified version
10901 of what was in 0.8.
10902 * gst/gstutils.c: (gst_buffer_join):
10904 gst_buffer_join() from 0.8.
10906 2005-05-25 Wim Taymans <wim@fluendo.com>
10908 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10909 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10910 (gst_pad_send_event), (gst_pad_start_task):
10911 Disable attempt at mode switching until it is figured out.
10913 2005-05-25 Wim Taymans <wim@fluendo.com>
10915 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10916 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10917 (gst_basesink_finish_preroll), (gst_basesink_chain),
10918 (gst_basesink_loop), (gst_basesink_activate),
10919 (gst_basesink_change_state):
10920 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10921 (gst_basesrc_get_range), (gst_basesrc_loop),
10922 (gst_basesrc_activate):
10923 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10924 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10925 (gst_real_pad_init), (gst_real_pad_set_property),
10926 (gst_real_pad_get_property), (gst_pad_set_active),
10927 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10928 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10929 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10930 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10931 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10932 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10933 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10934 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10935 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10936 (gst_pad_stop_task):
10938 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10939 (gst_queue_loop), (gst_queue_src_activate):
10940 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10941 (gst_task_get_state):
10943 * gst/schedulers/threadscheduler.c:
10944 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10945 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10947 Remove ACTIVE pad flag, use FLUSHING everywhere
10948 Added _pad_chain(), _pad_get_range() to call chain/getrange
10950 Add locks around IS_FLUSHING when reading.
10951 Take STREAM lock in chain(), get_range() functions so plugins
10952 don't need to take it anymore.
10956 2005-05-25 Wim Taymans <wim@fluendo.com>
10958 * tools/gst-launch.c: (event_loop):
10959 Unref message after using its contents instead of
10962 2005-05-24 Wim Taymans <wim@fluendo.com>
10964 * docs/design/draft-ghostpads.txt:
10965 * docs/design/draft-push-pull.txt:
10966 * docs/design/draft-query.txt:
10967 * docs/design/part-overview.txt:
10968 Docs updates, added general overview doc.
10970 2005-05-21 David Schleef <ds@schleef.org>
10972 * docs/gst/tmpl/old/GstBin.sgml:
10973 * docs/gst/tmpl/old/GstBuffer.sgml:
10974 * docs/gst/tmpl/old/GstCaps.sgml:
10975 * docs/gst/tmpl/old/GstClock.sgml:
10976 * docs/gst/tmpl/old/GstCompat.sgml:
10977 * docs/gst/tmpl/old/GstData.sgml:
10978 * docs/gst/tmpl/old/GstElement.sgml:
10979 * docs/gst/tmpl/old/GstEvent.sgml:
10980 * docs/gst/tmpl/old/GstIndex.sgml:
10981 * docs/gst/tmpl/old/GstStructure.sgml:
10982 * docs/gst/tmpl/old/GstTag.sgml:
10983 * docs/gst/tmpl/old/cothreads.sgml:
10984 * docs/gst/tmpl/old/cothreads_compat.sgml:
10985 * docs/gst/tmpl/old/gettext.sgml:
10986 * docs/gst/tmpl/old/gobject2gtk.sgml:
10987 * docs/gst/tmpl/old/grammar.tab.sgml:
10988 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10989 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10990 * docs/gst/tmpl/old/gst_private.sgml:
10991 * docs/gst/tmpl/old/gstaggregator.sgml:
10992 * docs/gst/tmpl/old/gstarch.sgml:
10993 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10994 * docs/gst/tmpl/old/gstbufferstore.sgml:
10995 * docs/gst/tmpl/old/gstdata_private.sgml:
10996 * docs/gst/tmpl/old/gstdisksink.sgml:
10997 * docs/gst/tmpl/old/gstdisksrc.sgml:
10998 * docs/gst/tmpl/old/gstelementfactory.sgml:
10999 * docs/gst/tmpl/old/gstextratypes.sgml:
11000 * docs/gst/tmpl/old/gstfakesink.sgml:
11001 * docs/gst/tmpl/old/gstfakesrc.sgml:
11002 * docs/gst/tmpl/old/gstfdsink.sgml:
11003 * docs/gst/tmpl/old/gstfdsrc.sgml:
11004 * docs/gst/tmpl/old/gstfilesink.sgml:
11005 * docs/gst/tmpl/old/gstfilesrc.sgml:
11006 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11007 * docs/gst/tmpl/old/gstidentity.sgml:
11008 * docs/gst/tmpl/old/gstindexfactory.sgml:
11009 * docs/gst/tmpl/old/gstmarshal.sgml:
11010 * docs/gst/tmpl/old/gstmd5sink.sgml:
11011 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11012 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11013 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11014 * docs/gst/tmpl/old/gstpipefilter.sgml:
11015 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11016 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11017 * docs/gst/tmpl/old/gstshaper.sgml:
11018 * docs/gst/tmpl/old/gstspider.sgml:
11019 * docs/gst/tmpl/old/gstspideridentity.sgml:
11020 * docs/gst/tmpl/old/gststatistics.sgml:
11021 * docs/gst/tmpl/old/gsttee.sgml:
11022 * docs/gst/tmpl/old/gsttimecache.sgml:
11023 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11024 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11025 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11026 * docs/gst/tmpl/old/types.sgml:
11027 I didn't intend to add these or check them in.
11029 2005-05-19 David Schleef <ds@schleef.org>
11031 * configure.ac: Use -no-common everywhere. In a sane world, it
11032 would be the default in libtool, because without it, you can't
11033 build DLLs on Windows.
11034 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11035 * docs/gst/gstreamer-sections.txt:
11036 * docs/gst/tmpl/gstcpu.sgml:
11037 * docs/gst/tmpl/gstdata.sgml:
11038 * docs/gst/tmpl/gstthread.sgml:
11040 2005-05-19 David Schleef <ds@schleef.org>
11042 * gst/gstminiobject.c: (gst_value_set_mini_object),
11043 (gst_value_take_mini_object), (gst_value_get_mini_object):
11044 * gst/gstminiobject.h: Add GValue set/get functions.
11046 2005-05-19 Wim Taymans <wim@fluendo.com>
11048 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11049 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11050 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11052 * gst/gstbus.c: (gst_bus_post):
11053 * gst/gstelement.c: (gst_element_get_random_pad):
11054 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11055 Make subbufer unref the parent in finalize.
11056 some more debugging info.
11059 2005-05-19 Wim Taymans <wim@fluendo.com>
11061 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11062 (gst_basesink_init), (gst_basesink_finalize),
11063 (gst_basesink_activate), (gst_basesink_change_state):
11064 Don't free preroll queue too early.
11066 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11070 Hi, I'm outdated. Please shoot me.
11072 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11074 * gst/gstpipeline.c: (gst_pipeline_send_event):
11075 Do not access variables after they have been deleted.
11077 2005-05-19 Wim Taymans <wim@fluendo.com>
11079 * tools/gst-inspect.c: (print_plugin_features):
11080 A plugin feature does unfortunatly not use the
11083 2005-05-18 Wim Taymans <wim@fluendo.com>
11085 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11086 Port _span() functions to new subbuffers.
11088 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11090 * gst/gstbin.c: (gst_bin_add_func):
11091 Fix clock settery in bins when adding kids after the clock has
11094 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11096 * gst/elements/gstidentity.c: (gst_identity_class_init):
11097 Workaround until signals support GstMiniObject.
11099 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11102 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11104 2005-05-18 Wim Taymans <wim@fluendo.com>
11106 * gst/base/Makefile.am:
11107 * gst/base/gstadapter.c: (gst_adapter_base_init),
11108 (gst_adapter_class_init), (gst_adapter_init),
11109 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11110 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11111 (gst_adapter_flush), (gst_adapter_available),
11112 (gst_adapter_available_fast):
11113 * gst/base/gstadapter.h:
11114 Ported and added adapter to the base classes.
11116 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11119 * gst/gstmessage.c:
11120 Make sure the class is reffed/unreffed once before threads can be
11121 used. Fixes #304551.
11123 2005-05-17 Wim Taymans <wim@fluendo.com>
11125 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11126 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11127 * gst/gstminiobject.c: (gst_mini_object_get_type),
11128 (gst_mini_object_free):
11129 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11130 (gst_pad_push), (gst_pad_push_event):
11131 * gst/gstqueue.c: (gst_queue_change_state):
11132 Don't queue buffers in basesink when we are flushing.
11133 Unref buffer when flushing in basesink.
11134 Flush queue when going to READY
11135 Unref buffer when _push() returns an error.
11136 Don't free MiniObject instance when refcount is incremented
11137 in _finalize() so that we can recover objects.
11139 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11141 * docs/manual/advanced-schedulers.xml:
11142 * docs/manual/appendix-checklist.xml:
11143 * docs/pwg/advanced-clock.xml:
11144 * docs/pwg/advanced-interfaces.xml:
11145 * docs/pwg/advanced-request.xml:
11146 * docs/pwg/advanced-types.xml:
11147 * docs/pwg/intro-preface.xml:
11148 * examples/plugins/example.c: (gst_example_get_type),
11149 (gst_example_class_init), (gst_example_chain),
11150 (gst_example_set_property), (gst_example_get_property),
11151 (gst_example_change_state), (plugin_init):
11152 * examples/plugins/example.h:
11155 2005-05-17 Wim Taymans <wim@fluendo.com>
11157 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11158 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11159 * gst/gstqueue.c: (gst_queue_change_state):
11160 Clear queue when going to READY.
11161 Remove IN_SETCAPS flag too.
11163 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11165 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11166 Remove implicit cast from gboolean to GstElementStateReturn;
11167 make sure we still return failure in paused => ready case if
11168 the parent class fails to change state and our own stop
11171 2005-05-17 Wim Taymans <wim@fluendo.com>
11173 * tools/gst-launch.c: (event_loop):
11174 Message was unreffed too soon.
11176 2005-05-16 Andy Wingo <wingo@pobox.com>
11178 * gst/gstbin.c (sink_iterator_filter): Err... um...
11180 * check/gst/gstbin.c (test_ghost_pads): New test for the
11181 ghosting-if-elements-not-in-same-bin behavior.
11183 2005-05-16 David Schleef <ds@schleef.org>
11185 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11186 accessing refcount directly.
11188 2005-05-15 David Schleef <ds@schleef.org>
11190 * check/Makefile.am: remove GstData checks
11191 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11192 * gst/Makefile.am: add miniobject, remove data
11193 * gst/gst.h: add miniobject, remove data
11194 * gst/gstdata.c: remove
11195 * gst/gstdata.h: remove
11196 * gst/gstdata_private.h: remove
11197 * gst/gsttypes.h: remove GstEvent and GstMessage
11198 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11199 * gst/gstmarshal.list: change BOXED -> OBJECT
11201 Implement GstMiniObject.
11202 * gst/gstminiobject.c:
11203 * gst/gstminiobject.h:
11205 Modify to be subclasses of GstMiniObject.
11206 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11207 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11208 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11209 (gst_subbuffer_get_type), (gst_subbuffer_init),
11210 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11213 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11214 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11215 (_gst_event_copy), (gst_event_new):
11217 * gst/gstmessage.c: (_gst_message_initialize),
11218 (gst_message_get_type), (gst_message_class_init),
11219 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11220 (gst_message_new), (gst_message_new_error),
11221 (gst_message_new_warning), (gst_message_new_tag),
11222 (gst_message_new_state_changed), (gst_message_new_application):
11223 * gst/gstmessage.h:
11224 * gst/gstprobe.c: (gst_probe_perform),
11225 (gst_probe_dispatcher_dispatch):
11227 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11228 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11229 (_gst_query_copy), (gst_query_new):
11231 Update elements for GstData -> GstMiniObject changes
11233 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11234 (gst_queue_chain), (gst_queue_loop):
11235 * gst/elements/gstbufferstore.c:
11236 (gst_buffer_store_add_buffer_func),
11237 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11238 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11239 (gst_fakesink_render):
11240 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11241 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11242 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11243 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11244 (gst_filesrc_create_read):
11245 * gst/elements/gstidentity.c: (gst_identity_class_init):
11246 * gst/elements/gsttypefindelement.c:
11247 (gst_type_find_element_src_event), (free_entry_buffers),
11248 (gst_type_find_element_handle_event):
11249 * libs/gst/dataprotocol/dataprotocol.c:
11250 (gst_dp_header_from_buffer):
11251 * libs/gst/dataprotocol/dataprotocol.h:
11252 * libs/gst/dataprotocol/dp-private.h:
11254 2005-05-15 David Schleef <ds@schleef.org>
11256 * gst/elements/gstelements.c: Don't include headers that were
11259 2005-05-15 David Schleef <ds@schleef.org>
11261 * gst/elements/Makefile.am: Remove some elements that don't
11262 need to be in the core (or even exist at all).
11263 * gst/elements/gstaggregator.c:
11264 * gst/elements/gstaggregator.h:
11265 * gst/elements/gstmd5sink.c:
11266 * gst/elements/gstmd5sink.h:
11267 * gst/elements/gstmultifilesrc.c:
11268 * gst/elements/gstmultifilesrc.h:
11269 * gst/elements/gstpipefilter.c:
11270 * gst/elements/gstpipefilter.h:
11271 * gst/elements/gstshaper.c:
11272 * gst/elements/gstshaper.h:
11273 * gst/elements/gststatistics.c:
11274 * gst/elements/gststatistics.h:
11275 * po/POTFILES.in: Remove above files.
11277 2005-05-14 Andy Wingo <wingo@pobox.com>
11279 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11280 so as to get the refs right.
11281 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11282 unreffing objects that don't pass the filter.
11284 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11285 gst_element_set_bus.
11286 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11287 normal cases, this will destroy the bus.
11289 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11292 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11295 2005-05-13 Andy Wingo <wingo@pobox.com>
11297 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11298 gst_pad_link, call pad_link_maybe_ghosting,
11299 (pad_link_maybe_ghosting): Links pads, making sure that the
11300 elements being linked are in the same bin.
11301 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11302 Helpers for pad_link_maybe_ghosting.
11304 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11307 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11309 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11311 * docs/design/part-element-source.txt:
11314 2005-05-12 Wim Taymans <wim@fluendo.com>
11316 * gst/base/gstbasesink.c: (gst_basesink_init),
11317 (gst_basesink_activate):
11318 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11319 (gst_basesrc_is_seekable):
11320 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11321 (bin_element_is_sink), (gst_bin_change_state):
11322 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11323 * gst/gstelement.h:
11324 Identify sinks by their flag to avoid overly complicated
11326 Do state changes even for elements not reachable from the
11328 BaseSink is a sink now :)
11329 Some more debugging info in the basesrc.
11332 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11334 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11335 Implement _query on a bin, similar to _send_event.
11337 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11339 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11340 Discont event offset format should be GST_FORMAT_BYTES,
11341 not GST_FORMAT_TIME.
11343 2005-05-12 Wim Taymans <wim@fluendo.com>
11345 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11346 Same fix as Ronald's but without the signal.
11348 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11350 * gst/gstutils.c: (gst_element_query_position):
11351 No, an element is not a pad.
11353 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11355 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11356 (gst_bin_get_state):
11357 If a child is removed from a bin while we remove the child from
11358 the bin and while we're retrieving its state, signal this to the
11359 get_state function so we abort the wait (instead of waiting for
11360 a timeout) and can immediately re-iterate over all other elements.
11362 2005-05-12 Wim Taymans <wim@fluendo.com>
11364 * gst/base/Makefile.am:
11365 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11366 (gst_basesrc_start):
11367 * gst/base/gstbasesrc.h:
11368 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11369 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11370 (gst_pushsrc_init), (gst_pushsrc_create):
11371 * gst/base/gstpushsrc.h:
11372 Added is_seekable to BaseSrc
11373 Added simple PushSrc.
11375 2005-05-11 Wim Taymans <wim@fluendo.com>
11377 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11378 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11379 (gst_element_link_pads), (gst_element_query_position),
11380 (gst_element_query_convert), (intersect_caps_func),
11381 (gst_pad_query_position), (gst_pad_query_convert):
11382 Fix refcounting in utils function.
11383 No point in trying to activate a pad when it's added, it could
11384 be added from the state change function and then we deadlock, the
11385 element has to decide what to do.
11387 2005-05-10 Andy Wingo <wingo@pobox.com>
11389 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11390 *all* the arguments.
11392 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11393 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11394 lock (according to the docs -- if this is wrong change the docs).
11396 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11397 flush messages in the NULL state.
11399 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11400 message immediately and return.
11401 (gst_bus_set_flushing): New function. If a bus is flushing, it
11402 flushes out any queued messages and immediately unrefs new
11403 messages. This is so when an element goes to NULL, all of the
11404 unhandled messages coming from it can be freed, and their
11405 references to the element dropped. In other words: message source
11406 ref considered harmful :P
11408 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11409 we're finished with it.
11411 * gst/gstmessage.c (gst_message_new_state_changed):
11413 2005-05-10 Wim Taymans <wim@fluendo.com>
11415 * gst/gstvalue.c: (gst_value_compare_flags),
11416 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11417 (_gst_value_initialize):
11418 Added flags serialize/deserialize/compare code.
11420 2005-05-09 Andy Wingo <wingo@pobox.com>
11422 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11423 Intersect the peer's caps with our caps.
11425 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11427 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11428 * gst/elements/gsttypefindelement.c: (find_peek):
11429 Handle negative offsets better. Fixes decodebin.
11431 2005-05-09 Wim Taymans <wim@fluendo.com>
11433 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11434 (gst_base_transform_event):
11435 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11436 Implement accept_caps.
11437 Fix silly lock/unlock mismatch in base class.
11439 2005-05-09 Wim Taymans <wim@fluendo.com>
11441 * docs/design/draft-push-pull.txt:
11442 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11443 * gst/elements/gstfilesink.c: (gst_filesink_init),
11444 (gst_filesink_query):
11445 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11446 (gst_type_find_handle_src_query), (find_element_get_length):
11447 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11448 * gst/gstelement.h:
11449 * gst/gstmessage.c:
11450 * gst/gstmessage.h:
11451 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11452 (gst_real_pad_get_caps_unlocked),
11453 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11454 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11455 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11456 (gst_real_pad_dispose), (gst_real_pad_finalize),
11457 (gst_pad_load_and_link), (gst_pad_save_thyself),
11458 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11459 (gst_pad_check_pull_range), (gst_pad_pull_range),
11460 (gst_pad_template_get_type), (gst_pad_template_class_init),
11461 (gst_pad_template_init), (gst_pad_template_dispose),
11462 (name_is_valid), (gst_static_pad_template_get),
11463 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11464 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11465 (gst_pad_get_element_private), (gst_pad_start_task),
11466 (gst_pad_pause_task), (gst_pad_stop_task),
11467 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11468 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11469 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11470 (gst_ghost_pad_new):
11472 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11473 (gst_query_new_position), (gst_query_set_position),
11474 (gst_query_parse_position), (gst_query_new_convert),
11475 (gst_query_set_convert), (gst_query_parse_convert):
11477 * gst/gstqueryutils.c:
11478 * gst/gstqueryutils.h:
11479 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11480 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11481 (gst_queue_handle_src_query):
11482 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11483 (gst_element_query_position), (gst_element_query_convert),
11484 (intersect_caps_func), (gst_pad_query_position),
11485 (gst_pad_query_convert):
11487 * tools/gst-inspect.c: (print_pad_info):
11488 * tools/gst-xmlinspect.c: (print_element_info):
11489 Remove old query functions. Ported old code.
11490 Added position/convert helper functions to gstutils.
11491 Reordered gstpad.c code, grouping relevant things.
11492 Remove gst_message_new(), always need to speficy a specific
11496 2005-05-09 Andy Wingo <wingo@pobox.com>
11498 * gst/gstiterator.h: Add some includes.
11500 * gst/gstqueryutils.h: Include more headers.
11503 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11504 some uses of gst_pad_query.
11506 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11507 NULL out parameters.
11508 (gst_query_new_position): New proc, allocates a new position
11511 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11512 gstqueryutils.c to the build.
11514 * gst/gststructure.c (gst_structure_set_valist): Implement with
11515 the generic G_VALUE_COLLECT.
11517 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11519 * gst/Makefile.am: (gst_headers):
11520 Added gstqueryutils.h to the list of headers to install, that was
11521 a 'nachty' move wingo :)
11523 2005-05-06 Andy Wingo <wingo@pobox.com>
11526 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11527 GstData, init a memchunk.
11528 (standard_definitions): Add a few query types, deprecate a few.
11529 (gst_query_get_type): New proc.
11530 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11532 (gst_query_new_application, gst_query_get_structure): New public
11535 * docs/design/draft-query.txt: Removed LINKS from the query types,
11536 because all the rest can be dispatched to other pads -- seemed
11537 ugly to have a query that couldn't be dispatched. internal_links
11538 is fine as a pad method.
11540 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11541 in gstpad.c, but maintain binary compatibility for the moment.
11542 Will fix before 0.9 is out.
11544 * gst/gstqueryutils.c:
11545 * gst/gstqueryutils.h: New files, implement 3 methods for each
11546 query type: parse_query, parse_response, and set. Probably need an
11549 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11551 * gst/elements/gstfilesink.c (gst_filesink_query2):
11552 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11553 query_types, and formats methods.
11555 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11556 (gst_pad_set_query2_function): New functions.
11557 (gst_real_pad_init): Set query2_default as the default query2
11558 function. Basically just dispatches to internally linked pads.
11562 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11563 without using the atomic operations. Only one thread can possibly
11564 be accessing the data at this point. Changed so as to avoid
11565 gst_atomic operations.
11567 2005-05-06 Wim Taymans <wim@fluendo.com>
11569 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11570 Also set caps if we use the fallback buffer alloc.
11572 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11574 * docs/gst/Makefile.am:
11575 * docs/gst/gstreamer-docs.sgml:
11576 * docs/gst/gstreamer-sections.txt:
11577 * docs/gst/tmpl/gstatomic.sgml:
11578 * docs/gst/tmpl/gstmemchunk.sgml:
11579 * testsuite/elements/struct_i386.h:
11580 * win32/GStreamer.vcproj:
11582 Purge GstAtomic stuff from docs and win32 makefiles as well
11584 2005-05-06 Wim Taymans <wim@fluendo.com>
11586 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11587 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11588 * gst/gstpad.c: (gst_pad_peer_get_caps):
11589 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11590 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11591 (gst_queue_src_activate), (gst_queue_change_state):
11593 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11594 (intersect_caps_func):
11595 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11596 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11597 Some fixes for the peer_get_caps() change.
11599 2005-05-06 Wim Taymans <wim@fluendo.com>
11601 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11602 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11603 (gst_basesink_activate):
11604 Actually do something with error codes returned from the push
11607 2005-05-06 Wim Taymans <wim@fluendo.com>
11609 * docs/design/part-element-sink.txt:
11610 * docs/design/part-element-source.txt:
11611 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11612 (gst_basesink_event), (gst_basesink_activate):
11613 * gst/base/gstbasesink.h:
11614 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11615 (gst_basesrc_activate):
11616 * gst/base/gstbasesrc.h:
11617 * gst/gstelement.c: (gst_element_pads_activate):
11618 Some more documentation.
11619 Fixed scheduling decision in _pads_activate().
11621 2005-05-05 Andy Wingo <wingo@pobox.com>
11623 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11626 2005-05-05 Wim Taymans <wim@fluendo.com>
11628 * gst/base/Makefile.am:
11629 * gst/base/gstbasesink.h:
11630 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11631 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11632 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11633 (gst_collectpads_class_init), (gst_collectpads_init),
11634 (gst_collectpads_finalize), (gst_collectpads_new),
11635 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11636 (find_pad), (gst_collectpads_remove_pad),
11637 (gst_collectpads_is_active), (gst_collectpads_collect),
11638 (gst_collectpads_collect_range), (gst_collectpads_start),
11639 (gst_collectpads_stop), (gst_collectpads_peek),
11640 (gst_collectpads_pop), (gst_collectpads_available),
11641 (gst_collectpads_read), (gst_collectpads_flush),
11642 (gst_collectpads_chain):
11643 * gst/base/gstcollectpads.h:
11644 * gst/elements/Makefile.am:
11645 * gst/elements/gstelements.c:
11646 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11647 (gst_fakesink_get_times), (gst_fakesink_event),
11648 (gst_fakesink_preroll), (gst_fakesink_render):
11649 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11650 (gst_filesink_init), (gst_filesink_set_location),
11651 (gst_filesink_open_file), (gst_filesink_close_file),
11652 (gst_filesink_pad_query), (gst_filesink_event),
11653 (gst_filesink_render), (gst_filesink_change_state):
11654 * gst/elements/gstfilesink.h:
11655 Added object to help in making collect pad based elements.
11657 Make event function in sink baseclass return gboolean.
11659 2005-05-05 Wim Taymans <wim@fluendo.com>
11661 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11662 (gst_bin_get_by_name):
11664 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11665 (gst_clock_finalize):
11666 * gst/gstdata.c: (gst_data_replace):
11668 * gst/gstelement.c: (gst_element_request_pad),
11669 (gst_element_pads_activate):
11670 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11671 (gst_object_unref):
11672 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11673 (gst_pad_set_checkgetrange_function),
11674 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11675 (gst_pad_check_pull_range), (gst_pad_pull_range),
11676 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11677 (gst_pad_pause_task), (gst_pad_stop_task):
11678 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11679 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11680 Fix name lookup in GstBin.
11681 Added _data_replace() function and _buffer_replace()
11682 Use finalize method to clean up clock.
11683 Fix refcounting on request pads.
11684 Fix pad schedule mode error.
11685 Some more object refcounting debug info,
11688 2005-05-04 Andy Wingo <wingo@pobox.com>
11690 * check/Makefile.am:
11691 * docs/gst/tmpl/gstatomic.sgml:
11692 * docs/gst/tmpl/gstplugin.sgml:
11693 * gst/base/gstbasesink.c: (gst_basesink_activate):
11694 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11695 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11696 (gst_basesrc_query), (gst_basesrc_set_property),
11697 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11698 (gst_basesrc_activate):
11699 * gst/base/gstbasesrc.h:
11700 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11701 (gst_base_transform_src_activate):
11702 * gst/elements/gstelements.c:
11703 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11704 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11705 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11706 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11707 (gst_type_find_element_checkgetrange),
11708 (gst_type_find_element_activate):
11709 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11710 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11711 (gst_caps_load_thyself):
11712 * gst/gstelement.c: (gst_element_pads_activate),
11713 (gst_element_save_thyself), (gst_element_restore_thyself):
11714 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11715 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11717 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11718 (gst_xml_parse_file), (gst_xml_parse_memory),
11719 (gst_xml_get_element), (gst_xml_make_element):
11720 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11721 (_file_index_id_save_xml), (gst_file_index_commit):
11722 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11723 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11725 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11726 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11727 * tools/gst-complete.c: (main):
11728 * tools/gst-compprep.c: (main):
11729 * tools/gst-inspect.c: (print_element_properties_info):
11730 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11731 * tools/gst-xmlinspect.c: (print_element_properties):
11734 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11736 * gst/gstplugin.c: (gst_plugin_check_module),
11737 (gst_plugin_check_file), (gst_plugin_load_file):
11738 apply patch from #172526 to make register work on MacOSX
11740 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11742 * docs/gst/tmpl/gstconfig.sgml:
11743 * gst/gstconfig.h.in:
11744 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11745 * testsuite/debug/printf_extension.c: (main):
11746 Do not use GST_PTR_FORMAT on pointers to types with
11747 sizeof < sizeof(gpointer). Fixes test on 64-bit
11748 * testsuite/elements/property.h:
11749 use correct printf format
11751 2005-05-02 Wim Taymans <wim@fluendo.com>
11753 * docs/design/draft-push-pull.txt:
11754 * docs/design/draft-query.txt:
11755 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11756 (gst_basesrc_start):
11757 Added draft for new query API.
11758 Added draft for better selecting scheduling methods.
11759 Make basesrc ignore length if the subclass does not support
11762 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11765 possible fixes for automake-1.5 - _LIBADD is reserved
11767 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11769 * docs/faq/Makefile.am:
11770 * docs/manual/Makefile.am:
11771 * docs/manuals.mak:
11772 * docs/pwg/Makefile.am:
11774 possible fixes for automake-1.5
11776 2005-04-28 Wim Taymans <wim@fluendo.com>
11778 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11779 (gst_basesink_pad_getcaps), (gst_basesink_init),
11780 (gst_basesink_do_sync):
11781 * gst/gstclock.c: (gst_clock_entry_new):
11782 * gst/gstevent.c: (gst_event_discont_get_value):
11783 * gst/gstpipeline.c: (pipeline_bus_handler),
11784 (gst_pipeline_change_state):
11785 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11786 Better debugging of clocking info.
11787 Allow NULL values when getting discont values.
11789 2005-04-27 Wim Taymans <wim@fluendo.com>
11791 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11792 * check/gst/gstpad.c: (gst_pad_suite):
11793 Increase timeout for checks.
11795 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11797 * check/Makefile.am:
11798 fix the broken rule for cleanup. Apparently this rule is
11799 only needed on FC2, so maybe this warrants further autotool
11802 2005-04-26 Wim Taymans <wim@fluendo.com>
11804 * gst/gsttrashstack.h:
11805 Ooohh. a nasty one! After having a failed pop() from the stack,
11806 it's possible that the stack is empty. In that case, don't
11807 follow the NULL pointer.
11809 2005-04-25 Wim Taymans <wim@fluendo.com>
11811 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11812 (gst_pad_set_checkgetrange_function),
11813 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11814 (gst_pad_check_pull_range), (gst_pad_pull_range),
11815 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11816 (gst_pad_pause_task), (gst_pad_stop_task):
11817 * gst/gstplugin.c: (gst_plugin_load):
11819 Remove gst_library_load as it does more harm than good with
11820 the new g_module flags.
11821 Revert bogus caps template check in pad linking, pad caps
11822 are important when linking not the template, which is more
11823 general than the current caps.
11825 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11827 * gst/autoplug/.cvsignore:
11828 * gst/autoplug/Makefile.am:
11829 * gst/autoplug/gstsearchfuncs.c:
11830 * gst/autoplug/gstsearchfuncs.h:
11831 * gst/autoplug/gstspider.c:
11832 * gst/autoplug/gstspider.h:
11833 * gst/autoplug/gstspideridentity.c:
11834 * gst/autoplug/gstspideridentity.h:
11835 * gst/autoplug/spidertest.c:
11838 2005-04-25 Wim Taymans <wim@fluendo.com>
11840 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11841 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11842 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11843 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11845 Added stubs for unimplemented functions.
11847 2005-04-24 David Schleef <ds@schleef.org>
11849 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11852 2005-04-24 David Schleef <ds@schleef.org>
11854 Convert everything from GstAtomicInt to g_atomic_int_*, and
11859 * gst/gstatomic_impl.h:
11867 * gst/gstdata_private.h:
11871 * gst/gstmessage.c:
11874 * gst/gststructure.c:
11875 * gst/gststructure.h:
11876 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11879 2005-04-24 David Schleef <ds@schleef.org>
11881 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11882 make the regressions tests work. Remove some code that is no
11884 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11885 Disable warning for pads without templates.
11887 2005-04-24 David Schleef <ds@schleef.org>
11889 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11890 functions that handle filtered links.
11891 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11893 * gst/gstutils.c: Fix/remove utility functions that handle
11896 * gst/gstvalue.c: Add serialization/deserialization of caps
11897 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11898 requires fixing so that the filter caps notation creates
11899 a capsfilter element and sets the filter_caps property. I
11900 think everyone probably wants to keep the shorthand notation.
11901 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11902 * docs/gst/tmpl/gstpad.sgml:
11904 * gst/elements/gstelements.c: Register capsfilter element.
11905 * gst/Makefile.am: fix spacing
11906 * docs/random/ds/0.9-suggested-changes: random
11908 2005-04-23 David Schleef <ds@schleef.org>
11910 * gst/elements/Makefile.am:
11911 * gst/elements/gstcapsfilter.c: New element that acts like an
11912 identity, but filters caps. Will eventually replace filtered
11913 caps in pad linking.
11914 * gst/gstutils.c: (gst_element_create_all_pads): New function
11915 to create all the ALWAYS pads that are registered with an
11916 element class. This functionality should eventually be
11917 merged in with GstElement initialization.
11919 * testsuite/trigger/README: part of trigger test code that should
11920 have been checked in a long time ago.
11922 2005-04-23 David Schleef <ds@schleef.org>
11924 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11925 needed with new versions of libtool (nobody will confirm this),
11926 and hard to carry around.
11927 * gst/autoplug/Makefile.am:
11928 * gst/base/Makefile.am:
11929 * gst/elements/Makefile.am:
11930 * gst/indexers/Makefile.am:
11931 * gst/schedulers/Makefile.am:
11932 * libs/gst/bytestream/Makefile.am:
11933 * libs/gst/control/Makefile.am:
11934 * libs/gst/dataprotocol/Makefile.am:
11935 * libs/gst/getbits/Makefile.am:
11937 2005-04-21 Wim Taymans <wim@fluendo.com>
11939 * docs/design/draft-push-pull.txt:
11940 * docs/design/part-MT-refcounting.txt:
11941 * docs/design/part-TODO.txt:
11942 * docs/design/part-caps.txt:
11943 * docs/design/part-events.txt:
11944 * docs/design/part-gstbus.txt:
11945 * docs/design/part-gstpipeline.txt:
11946 * docs/design/part-messages.txt:
11947 * docs/design/part-push-pull.txt:
11948 * docs/design/part-query.txt:
11951 2005-04-21 Wim Taymans <wim@fluendo.com>
11953 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11954 (gst_message_new), (gst_message_new_error),
11955 (gst_message_new_warning), (gst_message_new_tag),
11956 (gst_message_new_state_changed), (gst_message_new_application),
11957 (gst_message_get_structure):
11958 * gst/gstmessage.h:
11959 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11960 (gst_structure_copy_conditional):
11961 Use parent refcount in GstMessage to ensure GstStructure
11963 Cleaned up headers a bit.
11966 2005-04-20 Wim Taymans <wim@fluendo.com>
11968 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11969 (gst_basesink_pad_getcaps), (gst_basesink_init),
11970 (gst_basesink_chain_unlocked):
11971 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11972 (gst_type_find_helper):
11973 * gst/elements/gsttypefindelement.c:
11974 (gst_type_find_element_have_type), (gst_type_find_element_init),
11975 (stop_typefinding), (gst_type_find_element_handle_event),
11976 (find_suggest), (gst_type_find_element_chain),
11977 (gst_type_find_element_checkgetrange),
11978 (gst_type_find_element_getrange), (do_typefind),
11979 (gst_type_find_element_activate):
11980 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11981 (gst_buffer_default_free), (gst_buffer_default_copy),
11982 (gst_buffer_set_caps):
11983 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11984 (gst_caps_replace):
11985 * gst/gstmessage.c: (gst_message_new),
11986 (gst_message_new_state_changed):
11987 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11988 (gst_pad_set_checkgetrange_function),
11989 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11990 (gst_pad_set_caps), (gst_pad_check_pull_range),
11991 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11993 * gst/gsttypefind.c: (gst_type_find_register):
11994 Make gst_caps_replace() work like other _replace() functions.
11995 Use _caps_replace() where possible.
11996 Make sure _message_new() initialises its field.
11997 Add gst_static_pad_template_get_caps()
12000 2005-04-18 Andy Wingo <wingo@pobox.com>
12002 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12003 on the peer, not the pad. I think that was a typo. Pass an extra
12004 arg to see if random access is possible. Activate the pads as
12005 PULL_RANGE if possible.
12007 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12009 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12010 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12013 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12015 * docs/faq/using.xml:
12016 Add note on gstreamer-properties (#154996).
12018 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12020 * docs/random/bbb/optional-properties:
12021 Some analysis on optional properties.
12023 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12025 * docs/gst/tmpl/gstelementfactory.sgml:
12026 * gst/gstelement.h:
12027 * gst/gstelementfactory.c: (gst_element_factory_init),
12028 (gst_element_factory_cleanup), (gst_element_register),
12029 (__gst_element_factory_add_static_pad_template),
12030 (gst_element_factory_get_static_pad_templates),
12031 (gst_element_factory_can_src_caps),
12032 (gst_element_factory_can_sink_caps):
12033 * gst/registries/Makefile.am:
12034 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12035 (gst_xml_registry_class_init), (gst_xml_registry_init),
12036 (gst_xml_registry_new), (gst_xml_registry_set_property),
12037 (gst_xml_registry_get_property), (get_time), (make_dir),
12038 (gst_xml_registry_get_perms_func),
12039 (plugin_times_older_than_recurse), (plugin_times_older_than),
12040 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12041 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12042 (add_to_char_array), (read_string), (read_uint), (read_enum),
12043 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12044 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12045 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12046 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12047 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12048 (gst_xml_registry_rebuild):
12049 * gst/registries/gstlibxmlregistry.h:
12050 * tools/gst-compprep.c: (main):
12051 * tools/gst-inspect.c: (print_pad_templates_info):
12052 * tools/gst-xmlinspect.c: (print_element_info):
12053 Use libxml2 for registry parsing, use staticpadtemplates in
12054 elementfactories. Makes gst_init() +/- 10x faster.
12056 2005-04-12 Wim Taymans <wim@fluendo.com>
12058 * gst/base/Makefile.am:
12059 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12060 (gst_basesink_pad_getcaps), (gst_basesink_init),
12061 (gst_basesink_event), (gst_basesink_change_state):
12062 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12063 (gst_basesrc_init), (gst_basesrc_query),
12064 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12065 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12066 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12067 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12068 (gst_basesrc_stop), (gst_basesrc_activate),
12069 (gst_basesrc_change_state):
12070 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12071 (helper_find_suggest), (gst_type_find_helper):
12072 * gst/base/gsttypefindhelper.h:
12073 * gst/elements/Makefile.am:
12074 * gst/elements/gstelements.c:
12075 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12076 (gst_fakesink_get_times), (gst_fakesink_event),
12077 (gst_fakesink_preroll), (gst_fakesink_render):
12078 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12079 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12080 (gst_fakesrc_get_property), (gst_fakesrc_create),
12081 (gst_fakesrc_start), (gst_fakesrc_stop):
12082 * gst/elements/gstfakesrc.h:
12083 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12084 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12085 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12086 (gst_filesrc_create_read), (gst_filesrc_create),
12087 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12088 (gst_filesrc_start):
12089 * gst/elements/gsttypefindelement.c:
12090 (gst_type_find_element_have_type), (gst_type_find_element_init),
12091 (start_typefinding), (stop_typefinding), (push_buffer_store),
12092 (gst_type_find_element_handle_event),
12093 (gst_type_find_element_chain),
12094 (gst_type_find_element_checkgetrange),
12095 (gst_type_find_element_getrange), (do_typefind),
12096 (gst_type_find_element_activate),
12097 (gst_type_find_element_change_state):
12098 * gst/elements/gsttypefindelement.h:
12099 * gst/gstpipeline.c: (pipeline_bus_handler):
12100 Added typefind helper.
12101 Small preroll fix in the base sink.
12102 Disable typefind code in basesrc.
12103 Crude port of typefindelement.
12107 2005-04-11 Wim Taymans <wim@fluendo.com>
12109 * check/gst/gstbus.c: (gstbus_suite):
12110 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12111 * check/gstcheck.h:
12112 Fix up the timeout so that the test does not fail.
12114 2005-04-06 Wim Taymans <wim@fluendo.com>
12117 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12118 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12119 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12120 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12121 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12122 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12123 (gst_basesrc_stop), (gst_basesrc_activate),
12124 (gst_basesrc_change_state), (basesrc_find_peek),
12125 (basesrc_find_suggest), (gst_basesrc_type_find):
12126 * gst/base/gstbasesrc.h:
12127 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12128 (gst_filesrc_class_init), (gst_filesrc_init),
12129 (gst_filesrc_finalize), (gst_filesrc_set_location),
12130 (gst_filesrc_set_property), (gst_filesrc_get_property),
12131 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12132 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12133 (gst_filesrc_create_read), (gst_filesrc_create),
12134 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12135 * gst/elements/gstfilesrc.h:
12136 * gst/gstelement.c: (gst_element_get_state_func),
12137 (gst_element_lost_state), (gst_element_pads_activate):
12138 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12139 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12140 (gst_pad_pull_range):
12142 More work on the generic source base class, implement seeking,
12144 Make filesrc extend the base source class.
12145 Added gst_pad_set_checkgetrange_function to GstPad.
12147 2005-04-06 Andy Wingo <wingo@pobox.com>
12149 * pkgconfig/gstreamer-base.pc.in:
12150 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12152 * pkgconfig/Makefile.am:
12153 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12155 2005-04-04 Wim Taymans <wim@fluendo.com>
12157 * gst/base/Makefile.am:
12159 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12160 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12161 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12162 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12163 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12164 (gst_basesrc_base_init), (gst_basesrc_class_init),
12165 (gst_basesrc_init), (gst_basesrc_get_formats),
12166 (gst_basesrc_get_query_types), (gst_basesrc_query),
12167 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12168 (gst_basesrc_set_property), (gst_basesrc_get_property),
12169 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12170 (gst_basesrc_loop), (gst_basesrc_activate),
12171 (gst_basesrc_change_state):
12172 * gst/base/gstbasesrc.h:
12173 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12174 (gst_fakesrc_class_init), (gst_fakesrc_init),
12175 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12176 (gst_fakesrc_get_property), (gst_fakesrc_create):
12177 * gst/elements/gstfakesrc.h:
12178 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12179 (gst_filesrc_open_file), (gst_filesrc_loop),
12180 (gst_filesrc_activate), (filesrc_find_peek),
12181 (gst_filesrc_type_find):
12182 Made base source class, make fakesrc extend it.
12183 Add comments to basesink class.
12184 Some filesrc cleanup.
12186 2005-03-31 David Schleef <ds@schleef.org>
12188 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12189 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12190 expected to link against libgstreamer.
12191 * gst/base/Makefile.am: link against libgstreamer
12192 * gst/elements/Makefile.am: same
12194 2005-03-31 Andy Wingo <wingo@pobox.com>
12196 * tests/instantiate/Makefile.am:
12197 * tests/instantiate/caps.c: Add test to test speed of caps copy
12200 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12201 GMemChunk to be fair.
12203 * gst/gsttrashstack.h: Remove warning about using the fallback
12204 trash stack implementation, it's still faster than malloc.
12206 2005-03-30 Andy Wingo <wingo@pobox.com>
12208 * tests/complexity.c: Add a copyright.
12210 2005-03-31 Wim Taymans <wim@fluendo.com>
12212 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12213 (gst_base_transform_class_init), (gst_base_transform_init),
12214 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12215 (gst_base_transform_get_property),
12216 (gst_base_transform_sink_activate),
12217 (gst_base_transform_src_activate),
12218 (gst_base_transform_change_state):
12219 * gst/base/gstbasetransform.h:
12220 * gst/elements/gstidentity.c: (gst_identity_class_init),
12221 (gst_identity_event), (gst_identity_check_perfect),
12222 (gst_identity_transform), (gst_identity_start),
12223 (gst_identity_stop):
12224 Added start/stop methods to transform base class so subclasses
12225 don't need to deal with state changes even.
12227 2005-03-31 Wim Taymans <wim@fluendo.com>
12229 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12230 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12232 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12233 (gst_pad_pull_range):
12234 Added rate to the discont event to prepare for variable speed
12235 and reverse playback.
12237 2005-03-29 David Schleef <ds@schleef.org>
12240 * testsuite/trigger/Makefile.am:
12241 * testsuite/trigger/trigger.c: A little example program to show
12242 how trigger-based elements can work.
12244 2005-03-29 Wim Taymans <wim@fluendo.com>
12246 * gst/base/Makefile.am:
12248 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12249 (gst_basesink_base_init), (gst_basesink_class_init),
12250 (gst_basesink_pad_getcaps), (gst_basesink_init),
12251 (gst_basesink_activate), (gst_basesink_change_state):
12252 * gst/base/gstbasesink.h:
12253 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12254 (gst_base_transform_base_init), (gst_base_transform_finalize),
12255 (gst_base_transform_class_init), (gst_base_transform_init),
12256 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12257 (gst_base_transform_event), (gst_base_transform_getrange),
12258 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12259 (gst_base_transform_set_property),
12260 (gst_base_transform_get_property),
12261 (gst_base_transform_sink_activate),
12262 (gst_base_transform_src_activate),
12263 (gst_base_transform_change_state):
12264 * gst/base/gstbasetransform.h:
12265 * gst/elements/gstidentity.c: (gst_identity_finalize),
12266 (gst_identity_class_init), (gst_identity_init),
12267 (gst_identity_event), (gst_identity_check_perfect),
12268 (gst_identity_transform), (gst_identity_set_property),
12269 (gst_identity_get_property), (gst_identity_change_state):
12270 * gst/elements/gstidentity.h:
12271 * gst/gstelement.c: (gst_element_get_state_func),
12272 (gst_element_lost_state), (gst_element_pads_activate):
12273 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12274 (gst_pad_check_pull_range), (gst_pad_pull_range):
12276 Simplify pad activation.
12277 Added function to check if pull_range can be performed.
12278 Error out when pulling inactive or flushing pads.
12279 Removed const from refcounted types as it does not make sense.
12280 Simplify pad templates in basesink
12281 Added base class for simple 1-to-1 transforms.
12282 Make identity subclass the base transform.
12284 2005-03-29 Andy Wingo <wingo@pobox.com>
12286 * docs/libs/gstreamer-libs-overrides.txt:
12287 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12288 really don't understand what's going on, but like whatever. I want
12291 * docs/gst/Makefile.am:
12292 * docs/libs/Makefile.am: Dist the overrides files.
12294 * check/Makefile.am (clean-local): Remove .libs directories.
12296 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12297 elements to EXTRA_DIST, so po/ files are happy.
12299 * po/POTFILES.in: Er, remove it here.
12301 * po/POTFILES: Remove gstspider.c.
12303 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12305 * docs/libs/gstreamer-libs-docs.sgml:
12306 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12309 * tests/complexity.c (main): Set the length of the preroll queue
12310 on the sinks to prevent a lockup.
12312 * libs/gst/dataprotocol/Makefile.am:
12313 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12314 the same as the one in check/gst-libs/gdp.c.
12316 * po/, docs/gst/: Commit automatic changes to docs and po files.
12318 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12319 the versioned libgstbase.
12321 * check/Makefile.am: Depend on an unversioned gst-register, seems
12322 to make autoconf happier.
12324 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12326 2005-03-28 Wim Taymans <wim@fluendo.com>
12329 * docs/design/part-gstelement.txt:
12330 * docs/design/part-negotiation.txt:
12331 * docs/design/part-preroll.txt:
12332 * docs/design/part-scheduling.txt:
12333 * docs/design/part-states.txt:
12335 * gst/base/Makefile.am:
12337 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12338 (gst_basesink_base_init), (gst_basesink_class_init),
12339 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12340 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12341 (gst_basesink_set_pad_functions),
12342 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12343 (gst_basesink_set_property), (gst_basesink_get_property),
12344 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12345 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12346 (gst_basesink_preroll_queue_push),
12347 (gst_basesink_preroll_queue_empty),
12348 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12349 (gst_basesink_event), (gst_basesink_get_times),
12350 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12351 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12352 (gst_basesink_loop), (gst_basesink_activate),
12353 (gst_basesink_change_state):
12354 * gst/base/gstbasesink.h:
12355 * gst/elements/Makefile.am:
12356 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12357 (gst_fakesink_class_init), (gst_fakesink_init),
12358 (gst_fakesink_set_property), (gst_fakesink_get_property),
12359 (gst_fakesink_get_times), (gst_fakesink_event),
12360 (gst_fakesink_preroll), (gst_fakesink_render),
12361 (gst_fakesink_change_state):
12362 * gst/elements/gstfakesink.h:
12363 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12364 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12365 * gst/gstelement.c: (gst_element_add_pad),
12366 (gst_element_get_state_func), (gst_element_abort_state),
12367 (gst_element_commit_state), (gst_element_lost_state),
12368 (gst_element_set_state), (gst_element_pads_activate):
12369 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12370 * gst/gstpipeline.c: (gst_pipeline_send_event),
12371 (gst_pipeline_change_state):
12372 Added state change code.
12373 Added/updated docs.
12374 Added sink base class, make fakesink extend the base class.
12375 Small cleanups in GstPipeline.
12377 2005-03-26 David Schleef <ds@schleef.org>
12379 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12380 is broken and should be implemented in a different library.
12381 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12382 * gst/gst.h: remove gstcpu.h
12383 * gst/gstcpu.c: remove
12384 * gst/gstcpu.h: remove
12385 * gst/Makefile.am.future: Remove this file. It's ancient.
12387 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12389 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12390 (gst_bin_send_event):
12391 Add default event/set_manager handlers. The set_manager handler
12392 takes care that the manager is distributed over kids that were
12393 already in the bin before the manager was set. The event handler
12394 is a utility virtual function that sends the event over all sinks,
12395 so that gst_element_send_event (bin, event); has the expected
12397 * gst/gstpad.c: (gst_pad_event_default):
12398 Re-install default event handling for discontinuities, so that
12399 seeking works without requiring hacks in applications or extra
12401 * gst/gstpipeline.c: (gst_pipeline_class_init),
12402 (gst_pipeline_send_event):
12403 Half hack, half utility: set a pipeline to PAUSED for seek events,
12404 since that is the only way we can guarantee a/v sync. Means that
12405 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12406 and it "just works".
12408 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12410 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12411 Lock/unlock mismatch.
12413 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12415 * docs/faq/gst-uninstalled:
12416 add gst-plugins-base
12417 * docs/gst/Makefile.am:
12418 don't error out until docs are fixed
12419 * docs/gst/gstreamer.types:
12422 2005-03-22 Wim Taymans <wim@fluendo.com>
12424 * check/Makefile.am:
12425 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12426 * gst/gststructure.c: (gst_structure_set_valist),
12427 (gst_structure_copy_conditional):
12428 Activated more tests.
12429 Added message test.
12430 Added G_TYPE_POINTER to GstStructure.
12433 2005-03-22 Wim Taymans <wim@fluendo.com>
12435 * docs/design/part-TODO.txt:
12436 * docs/design/part-events.txt:
12437 * docs/design/part-gstbin.txt:
12438 * docs/design/part-gstbus.txt:
12439 * docs/design/part-gstpipeline.txt:
12440 * docs/design/part-messages.txt:
12442 * gst/gstmessage.c:
12445 2005-03-21 Wim Taymans <wim@fluendo.com>
12447 * gst/gstbus.c: (gst_bus_post):
12448 Fix copy-and-paste error.
12450 2005-03-21 Wim Taymans <wim@fluendo.com>
12452 * check/Makefile.am:
12454 * gst/elements/Makefile.am:
12455 * gst/elements/gstelements.c:
12456 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12457 (gst_fakesink_event), (gst_fakesink_chain):
12458 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12459 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12460 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12461 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12462 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12463 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12464 (gst_fakesrc_loop), (gst_fakesrc_activate),
12465 (gst_fakesrc_change_state):
12466 * gst/elements/gstfakesrc.h:
12467 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12468 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12469 (gst_filesrc_open_file), (gst_filesrc_loop),
12470 (gst_filesrc_activate), (gst_filesrc_change_state),
12471 (filesrc_find_peek), (filesrc_find_suggest),
12472 (gst_filesrc_type_find):
12473 * gst/elements/gstidentity.c: (gst_identity_finalize),
12474 (gst_identity_class_init), (gst_identity_init),
12475 (gst_identity_proxy_getcaps), (identity_queue_push),
12476 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12477 (gst_identity_getrange), (gst_identity_chain),
12478 (gst_identity_sink_loop), (gst_identity_src_loop),
12479 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12480 (gst_identity_set_property), (gst_identity_get_property),
12481 (gst_identity_change_state):
12482 * gst/elements/gstidentity.h:
12483 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12484 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12485 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12486 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12487 (gst_tee_sink_activate):
12488 * gst/elements/gsttee.h:
12489 * gst/gst.c: (gst_register_core_elements), (init_post):
12491 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12492 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12493 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12494 (gst_bin_change_state):
12496 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12497 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12498 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12499 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12500 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12501 (bus_watch_callback), (bus_watch_destroy),
12502 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12503 (poll_timeout), (gst_bus_poll):
12507 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12508 (gst_element_post_message), (gst_element_message_full),
12509 (gst_element_get_state_func), (gst_element_get_state),
12510 (gst_element_abort_state), (gst_element_commit_state),
12511 (gst_element_lost_state), (gst_element_set_state),
12512 (gst_element_pads_activate), (gst_element_change_state),
12513 (gst_element_dispose), (gst_element_set_manager_func),
12514 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12515 (gst_element_set_manager), (gst_element_get_manager),
12516 (gst_element_set_bus), (gst_element_get_bus),
12517 (gst_element_set_scheduler), (gst_element_get_scheduler):
12518 * gst/gstelement.h:
12519 * gst/gstevent.c: (gst_event_new_segment_seek),
12520 (gst_event_new_flush):
12522 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12523 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12524 (gst_message_new_eos), (gst_message_new_error),
12525 (gst_message_new_warning), (gst_message_new_tag),
12526 (gst_message_new_state_changed), (gst_message_new_application),
12527 (gst_message_get_structure), (gst_message_parse_tag),
12528 (gst_message_parse_state_changed), (gst_message_parse_error),
12529 (gst_message_parse_warning):
12530 * gst/gstmessage.h:
12531 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12532 (gst_real_pad_set_property), (gst_pad_set_active),
12533 (gst_pad_is_active), (gst_pad_set_blocked_async),
12534 (gst_pad_set_blocked), (gst_pad_is_blocked),
12535 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12536 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12537 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12538 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12539 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12540 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12541 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12542 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12543 (gst_pad_set_caps), (gst_pad_configure_sink),
12544 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12545 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12546 (gst_real_pad_dispose), (gst_real_pad_finalize),
12547 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12548 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12549 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12551 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12552 (pipeline_bus_handler), (gst_pipeline_change_state),
12553 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12554 * gst/gstpipeline.h:
12556 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12557 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12558 (gst_queue_link_src), (gst_queue_bufferalloc),
12559 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12560 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12561 (gst_queue_loop), (gst_queue_handle_src_event),
12562 (gst_queue_handle_src_query), (gst_queue_src_activate),
12563 (gst_queue_change_state):
12565 * gst/gstscheduler.c: (gst_scheduler_init),
12566 (gst_scheduler_dispose), (gst_scheduler_create_task),
12567 (gst_scheduler_factory_create):
12568 * gst/gstscheduler.h:
12569 * gst/gststructure.c: (gst_structure_get_type),
12570 (gst_structure_copy_conditional):
12571 * gst/gststructure.h:
12572 * gst/gsttaginterface.h:
12573 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12574 (gst_task_init), (gst_task_dispose), (gst_task_create),
12575 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12581 * gst/schedulers/Makefile.am:
12582 * gst/schedulers/cothreads_compat.h:
12583 * gst/schedulers/entryscheduler.c:
12584 * gst/schedulers/faircothreads.c:
12585 * gst/schedulers/faircothreads.h:
12586 * gst/schedulers/fairscheduler.c:
12587 * gst/schedulers/gstbasicscheduler.c:
12588 * gst/schedulers/gstoptimalscheduler.c:
12589 * gst/schedulers/gthread-cothreads.h:
12590 * gst/schedulers/threadscheduler.c:
12591 (gst_thread_scheduler_task_get_type),
12592 (gst_thread_scheduler_task_class_init),
12593 (gst_thread_scheduler_task_init),
12594 (gst_thread_scheduler_task_start),
12595 (gst_thread_scheduler_task_stop),
12596 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12597 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12598 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12599 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12601 * libs/gst/Makefile.am:
12602 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12603 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12604 (gst_file_pad_parent_set):
12605 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12606 (gst_dp_event_from_packet):
12607 * tests/complexity.c: (main):
12608 * tests/mass_elements.c: (main):
12609 * testsuite/states/locked.c: (message_received), (main):
12610 * testsuite/states/parent.c: (main):
12611 * tools/gst-inspect.c: (print_element_flag_info),
12612 (print_implementation_info), (print_pad_info):
12613 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12615 * tools/gst-md5sum.c: (event_loop), (main):
12616 * tools/gst-typefind.c: (main):
12617 * tools/gst-xmlinspect.c: (print_element_info):
12619 Added GstBus for mainloop integration.
12620 Added GstMessage for sending notifications on the bus.
12621 Added GstTask as an abstraction for pipeline entry points.
12623 Removed Schedulers.
12624 Simplified GstQueue for multithreaded core.
12625 Made _link threadsafe, removed old capsnego.
12626 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12627 Added pad blocking functions.
12628 Reworked scheduling functions in GstPad to prepare for
12629 scheduling updates soon.
12630 Moved events out of data stream.
12631 Simplified GstEvent types.
12632 Added return values to push/pull.
12633 Removed clocking from GstElement.
12634 Added prototypes for state change function for next merge.
12635 Removed iterate from bins and state change management.
12636 Fixed some elements, disabled others for now.
12637 Fixed -inspect and -launch.
12638 Added check for GstBus.
12640 2005-03-10 Wim Taymans <wim@fluendo.com>
12642 * docs/design/part-MT-refcounting.txt:
12643 * docs/design/part-clocks.txt:
12644 * docs/design/part-gstelement.txt:
12645 * docs/design/part-gstobject.txt:
12646 * docs/design/part-standards.txt:
12647 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12648 (gst_bin_remove_func), (gst_bin_remove):
12652 * testsuite/clock/clock1.c: (main):
12653 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12655 * testsuite/dlopen/loadgst.c: (do_test):
12656 * testsuite/refcounting/bin.c: (add_remove_test1),
12657 (add_remove_test2), (main):
12658 * testsuite/refcounting/element.c: (main):
12659 * testsuite/refcounting/element_pad.c: (main):
12660 * testsuite/refcounting/pad.c: (main):
12661 * tools/gst-launch.c: (sigint_handler_sighandler):
12662 * tools/gst-typefind.c: (main):
12664 Added doc about clock.
12665 removed gst_bin_iterate_recurse_up(), marked methods
12667 Fix more testsuites.
12669 2005-03-09 Wim Taymans <wim@fluendo.com>
12671 * gst/gstpad.c: (gst_pad_get_direction),
12672 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12673 (gst_pad_collect_valist):
12674 * testsuite/bins/interface.c: (main):
12675 * testsuite/caps/audioscale.c: (test_caps):
12676 * testsuite/caps/caps.c: (test1), (test2), (test3):
12677 * testsuite/caps/deserialize.c: (main):
12678 * testsuite/caps/enumcaps.c: (main):
12679 * testsuite/caps/filtercaps.c: (main):
12680 * testsuite/caps/intersect2.c: (main):
12681 * testsuite/caps/random.c: (main):
12682 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12683 * testsuite/caps/sets.c: (check_caps):
12684 * testsuite/caps/simplify.c: (check_caps), (main):
12685 * testsuite/caps/subtract.c: (check_caps):
12686 Fix _pad_get_direction wrt ghostpads.
12687 Fix caps testsuite.
12689 2005-03-09 Wim Taymans <wim@fluendo.com>
12691 * check/Makefile.am:
12692 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12693 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12694 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12695 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12696 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12697 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12698 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12699 (bin_element_is_sink), (gst_bin_iterate_sinks),
12700 (gst_bin_iterate_all_by_interface):
12702 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12703 (gst_element_change_state), (gst_element_dispose),
12704 (gst_element_finalize), (gst_element_set_loop_function):
12705 * gst/gstelement.h:
12706 * gst/gstiterator.c: (find_custom_fold_func):
12707 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12708 (gst_pad_collectv), (gst_pad_collect_valist),
12709 (gst_pad_template_new):
12710 * gst/gstpipeline.c: (gst_pipeline_class_init),
12711 (gst_pipeline_dispose), (gst_pipeline_set_property),
12712 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12713 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12714 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12716 * gst/schedulers/entryscheduler.c:
12717 * gst/schedulers/gstbasicscheduler.c:
12718 (gst_basic_scheduler_cothreaded_chain),
12719 (gst_basic_scheduler_chain_add_element):
12720 * testsuite/bins/interface.c: (main):
12722 Added GstSystemClock test.
12723 Implemented clock distribution code in GstBin.
12724 Implemented iterate sinks method for future use.
12725 Rearranged gstelement.h
12726 Fix GstIterator comparison bug.
12727 Moved some code to GstPipeline, mostly clocking related.
12729 2005-03-09 Wim Taymans <wim@fluendo.com>
12732 * gst/gst_private.h:
12733 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12734 (gst_bin_remove_func), (gst_bin_remove),
12735 (gst_bin_get_by_name_recurse_up):
12736 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12737 (gst_clock_id_compare_func), (gst_clock_id_wait),
12738 (gst_clock_id_wait_async), (gst_clock_init),
12739 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12740 * gst/gstelement.h:
12741 * gst/gstinfo.c: (_gst_debug_init):
12743 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12744 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12746 Bump version number, we're now 0.9.0
12747 Add future debugging category.
12748 Fix NULL _unref() in _get_by_name_recurse_up
12749 Rearrange gstpad.h.
12752 2005-03-08 Wim Taymans <wim@fluendo.com>
12754 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12755 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12756 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12757 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12758 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12759 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12760 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12761 * gst/elements/gstidentity.c: (gst_identity_class_init):
12762 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12763 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12764 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12765 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12766 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12768 * gst/gstelement.c: (gst_element_class_init),
12769 (gst_element_base_class_init), (gst_element_init),
12770 (gst_element_get_random_pad), (gst_element_wait_state_change),
12771 (gst_element_change_state), (gst_element_dispose),
12772 (gst_element_finalize), (gst_element_set_loop_function):
12773 * gst/gstelement.h:
12774 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12775 * gst/gstthread.c: (gst_thread_class_init),
12776 (gst_thread_release_children_locks), (gst_thread_change_state):
12777 * gst/schedulers/gstbasicscheduler.c:
12778 (gst_basic_scheduler_loopfunc_wrapper),
12779 (gst_basic_scheduler_chain_wrapper),
12780 (gst_basic_scheduler_src_wrapper),
12781 (gst_basic_scheduler_remove_element):
12782 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12783 Remove threadsafe properties. Fix elements because GObject
12784 complains when installing a property before declaring a
12785 set/get_property handler.
12786 Rearrange gstelement.h file, use STATE macros for state locks.
12787 Free mutexes in the finalize method instead of dispose.
12789 2005-03-08 Wim Taymans <wim@fluendo.com>
12791 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12792 * gst/gstthread.c: (gst_thread_release_children_locks):
12793 Added parentage check.
12794 Fix build og GstThread again.
12796 2005-03-08 Wim Taymans <wim@fluendo.com>
12798 * docs/design/part-MT-refcounting.txt:
12799 * docs/design/part-conventions.txt:
12800 * docs/design/part-gstobject.txt:
12801 * docs/design/part-relations.txt:
12802 * docs/design/part-standards.txt:
12803 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12804 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12805 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12806 (gst_bin_iterate_all_by_interface):
12809 * gst/gstelement.c: (gst_element_class_init),
12810 (gst_element_change_state), (gst_element_set_loop_function):
12811 * gst/gstelement.h:
12812 * gst/gstiterator.c:
12813 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12814 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12815 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12816 (gst_object_set_parent), (gst_object_unparent),
12817 (gst_object_check_uniqueness):
12819 Docs updates, clean up some headers.
12821 2005-03-07 Wim Taymans <wim@fluendo.com>
12823 * check/.cvsignore:
12824 * check/Makefile.am:
12825 * check/gst-libs/.cvsignore:
12826 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12827 * check/gst/.cvsignore:
12828 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12829 (START_TEST), (gstbus_suite), (main):
12830 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12831 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12832 (gst_data_suite), (main):
12833 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12834 (add_fold_func), (gstiterator_suite), (main):
12835 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12836 (thread_name_object), (thread_name_object_default),
12837 (gst_object_name_compare), (gst_object_suite), (main):
12838 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12839 (gst_pad_suite), (main):
12840 * check/gstcheck.c: (gst_check_log_message_func),
12841 (gst_check_log_critical_func), (gst_check_init):
12842 * check/gstcheck.h:
12843 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12844 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12847 2005-03-07 Wim Taymans <wim@fluendo.com>
12849 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12850 (gst_list_iterator_next), (gst_list_iterator_resync),
12851 (gst_list_iterator_free), (gst_iterator_new_list),
12852 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12853 (gst_iterator_free), (gst_iterator_push), (filter_next),
12854 (filter_resync), (filter_uninit), (filter_free),
12855 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12856 (gst_iterator_foreach), (find_custom_fold_func),
12857 (gst_iterator_find_custom):
12858 * gst/gstiterator.h:
12859 Added missing files.
12861 2005-03-07 Wim Taymans <wim@fluendo.com>
12865 * docs/design/part-MT-refcounting.txt:
12866 * docs/design/part-conventions.txt:
12867 * docs/design/part-gstobject.txt:
12868 * docs/design/part-relations.txt:
12869 * examples/mixer/mixer.c: (main):
12870 * examples/thread/thread.c: (eos), (main):
12872 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12873 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12874 (gst_spider_plug_from_srcpad):
12875 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12876 (gst_spider_identity_change_state),
12877 (gst_spider_identity_sink_loop_type_finding):
12878 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12879 * gst/elements/gstidentity.c: (gst_identity_init):
12880 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12881 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12882 * gst/elements/gsttypefindelement.c: (free_entry):
12885 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12886 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12887 (gst_bin_set_index), (gst_bin_set_element_sched),
12888 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12889 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12890 (gst_bin_iterate_elements), (iterate_child_recurse),
12891 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12892 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12893 (compare_interface), (gst_bin_get_by_interface),
12894 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12896 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12897 (gst_buffer_default_free), (gst_buffer_default_copy),
12898 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12899 (gst_buffer_create_sub):
12901 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12902 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12903 (gst_caps_unref), (gst_static_caps_get),
12904 (gst_caps_remove_and_get_structure), (gst_caps_append),
12905 (gst_caps_append_structure), (gst_caps_remove_structure),
12906 (gst_caps_copy_nth), (gst_caps_set_simple),
12907 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12908 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12909 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12910 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12911 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12912 (gst_caps_structure_figure_out_union),
12913 (gst_caps_switch_structures), (gst_caps_do_simplify),
12914 (gst_caps_replace), (gst_caps_from_string),
12915 (gst_caps_copy_conditional):
12917 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12918 (_gst_clock_id_free), (gst_clock_id_unref),
12919 (gst_clock_id_compare_func), (gst_clock_id_wait),
12920 (gst_clock_id_wait_async), (gst_clock_class_init),
12921 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12922 (gst_clock_get_time), (gst_clock_set_time_adjust),
12923 (gst_clock_set_property), (gst_clock_get_property):
12926 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12927 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12929 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12930 (gst_element_requires_clock), (gst_element_provides_clock),
12931 (gst_element_set_clock), (gst_element_clock_wait),
12932 (gst_element_wait), (gst_element_set_time_delay),
12933 (gst_element_is_indexable), (gst_element_add_pad),
12934 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12935 (pad_compare_name), (gst_element_get_static_pad),
12936 (gst_element_request_pad), (gst_element_get_request_pad),
12937 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12938 (gst_element_class_get_pad_template_list),
12939 (gst_element_class_get_pad_template), (gst_element_error_func),
12940 (gst_element_get_random_pad), (gst_element_get_event_masks),
12941 (gst_element_send_event), (gst_element_seek),
12942 (gst_element_get_query_types), (gst_element_query),
12943 (gst_element_get_formats), (gst_element_convert),
12944 (gst_element_is_locked_state), (gst_element_set_locked_state),
12945 (gst_element_sync_state_with_parent), (gst_element_change_state),
12946 (gst_element_finalize), (gst_element_yield),
12947 (gst_element_interrupt), (gst_element_set_scheduler),
12948 (gst_element_get_scheduler), (gst_element_set_loop_function):
12949 * gst/gstelement.h:
12951 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12952 (gst_format_get_by_nick), (gst_format_get_details),
12953 (gst_format_iterate_definitions):
12955 * gst/gstindex.c: (gst_index_gtype_resolver):
12958 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12959 (gst_mem_chunk_free):
12960 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12961 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12962 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12963 (gst_object_dispatch_properties_changed),
12964 (gst_object_set_name_default), (gst_object_set_name),
12965 (gst_object_get_name), (gst_object_set_name_prefix),
12966 (gst_object_get_name_prefix), (gst_object_set_parent),
12967 (gst_object_get_parent), (gst_object_unparent),
12968 (gst_object_check_uniqueness), (gst_object_save_thyself),
12969 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12970 (gst_object_set_property), (gst_object_get_property),
12971 (gst_object_get_path_string):
12973 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12974 (gst_real_pad_init), (gst_real_pad_get_property),
12975 (gst_pad_custom_new), (gst_pad_get_direction),
12976 (gst_pad_set_active), (gst_pad_is_active),
12977 (gst_pad_set_event_function), (gst_pad_is_linked),
12978 (gst_pad_link_free), (gst_pad_link_intersect),
12979 (gst_pad_link_fixate), (gst_pad_set_caps),
12980 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12981 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12982 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12983 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12984 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12985 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12986 (gst_pad_realize), (gst_pad_get_allowed_caps),
12987 (gst_real_pad_dispose), (gst_real_pad_finalize),
12988 (gst_pad_collectv), (gst_pad_collect_valist),
12989 (gst_pad_template_dispose), (gst_pad_template_new),
12990 (gst_pad_get_internal_links):
12992 * gst/gstpipeline.c: (gst_pipeline_dispose),
12993 (gst_pipeline_change_state):
12994 * gst/gstpipeline.h:
12996 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12997 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12998 * gst/gstpluginfeature.h:
12999 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13000 * gst/gstquery.c: (_gst_query_type_initialize),
13001 (gst_query_type_register), (gst_query_type_get_by_nick),
13002 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13004 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13005 * gst/gstscheduler.c: (gst_scheduler_add_element),
13006 (gst_scheduler_factory_create):
13007 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13008 (gst_structure_free), (gst_structure_set_name),
13009 (gst_structure_id_set_value), (gst_structure_set_value),
13010 (gst_structure_set_valist), (gst_structure_remove_field),
13011 (gst_structure_remove_fields),
13012 (gst_structure_remove_fields_valist),
13013 (gst_structure_remove_all_fields), (gst_structure_foreach),
13014 (gst_structure_map_in_place),
13015 (gst_caps_structure_fixate_field_nearest_int),
13016 (gst_caps_structure_fixate_field_nearest_double):
13017 * gst/gststructure.h:
13018 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13019 (gst_system_clock_init), (gst_system_clock_dispose),
13020 (gst_system_clock_async_thread),
13021 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13022 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13023 * gst/gstsystemclock.h:
13024 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13025 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13026 * gst/gsttaginterface.c:
13027 * gst/gstthread.c: (gst_thread_dispose),
13028 (gst_thread_release_children_locks), (gst_thread_change_state),
13029 (gst_thread_main_loop):
13030 * gst/gsttrashstack.h:
13031 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13033 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13034 (gst_element_request_pad), (gst_element_get_pad_from_template),
13035 (gst_element_request_compatible_pad),
13036 (gst_element_get_compatible_pad_filtered),
13037 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13038 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13039 (gst_element_link_many), (gst_element_link),
13040 (gst_element_link_pads), (gst_element_unlink_pads),
13041 (gst_element_unlink_many), (gst_element_unlink),
13042 (gst_pad_can_link_filtered), (gst_pad_can_link),
13043 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13044 (gst_object_default_error), (gst_bin_add_many),
13045 (gst_bin_remove_many), (gst_element_populate_std_props),
13046 (gst_element_class_install_std_props), (gst_buffer_merge),
13047 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13048 (link_fold_func), (gst_pad_proxy_setcaps):
13050 * gst/gstvalue.c: (gst_value_deserialize_string):
13051 * gst/parse/grammar.y:
13052 * gst/schedulers/gstbasicscheduler.c:
13053 (gst_basic_scheduler_cothreaded_chain),
13054 (gst_basic_scheduler_chain_recursive_add),
13055 (gst_basic_scheduler_pad_link):
13056 * gst/schedulers/gstoptimalscheduler.c:
13057 (get_group_schedule_function),
13058 (gst_opt_scheduler_state_transition),
13059 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13060 * libs/gst/bytestream/bytestream.c:
13061 * libs/gst/dataprotocol/dataprotocol.c:
13062 (gst_dp_header_from_buffer):
13065 * tests/threadstate/threadstate2.c: (eos):
13066 * tools/gst-compprep.c: (main):
13067 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13068 (print_pad_info), (print_children_info):
13069 * tools/gst-launch.c: (idle_func), (main):
13070 * tools/gst-md5sum.c: (idle_func), (main):
13071 * tools/gst-xmlinspect.c: (print_element_info):
13072 First THREADED backport attempt, focusing on adding locks and
13073 making sure the API is threadsafe. Needs more work. More docs
13076 2005-02-24 Andy Wingo <wingo@pobox.com>
13078 * tests/bench-complexity.scm:
13079 * tests/complexity.gnuplot: New files, good for running complexity
13082 * tests/Makefile.am:
13083 * tests/complexity.c: New test, sets up N elements, at each level
13084 teeing into M streams per element. Eeeenteresting.
13086 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13087 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13088 running bench-mass_elements.scm.
13090 * tests/bench-mass_elements.scm: New script, runs mass_elements
13091 for various numbers of identities, outputting the results to a
13092 file. Requires guile 1.6. Just for testing.
13094 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13096 * gst/schedulers/fairscheduler.c:
13097 compile with debug disabled
13099 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13102 hunting season on 0.9 is now OPEN