1 2005-12-02 Michael Smith <msmith@fluendo.com>
4 Escape a % to make gtkdoc happier; bug 322958.
8 2005-12-01 <thomas (at) apestaart (dot) org>
11 releasing 0.9.7, "My Dog Has No Nose"
13 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15 * common/gst-xmlinspect.py:
17 * docs/libs/tmpl/gstdataprotocol.sgml:
18 * docs/random/release:
37 * win32/common/config.h:
38 * win32/common/config.h.in:
39 * win32/vs6/gst_inspect.dsp:
40 * win32/vs6/gst_launch.dsp:
41 * win32/vs6/libgstbase.dsp:
42 * win32/vs6/libgstelements.dsp:
43 * win32/vs6/libgstreamer.dsp:
44 * win32/vs7/GStreamer.vcproj:
45 * win32/vs7/gst-inspect.vcproj:
46 * win32/vs7/gst-launch.vcproj:
47 * win32/vs7/libgstbase.vcproj:
48 bump GST_MAJORMINOR to 0.10
51 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
55 Added Bulgarian translation by (Alexander Shopov)
57 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
59 * tests/check/gst/gstplugin.c:
62 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
64 * common/gst-xmlinspect.py:
65 * common/gtk-doc-plugins.mak:
68 * docs/gst/Makefile.am:
69 * docs/gst/gstreamer-docs.sgml:
70 * docs/gst/gstreamer-sections.txt:
71 * docs/gst/gstreamer.types:
72 * docs/gst/gstreamer.types.in:
73 * docs/plugins/Makefile.am:
74 * docs/plugins/gstreamer-plugins-docs.sgml:
75 * docs/plugins/gstreamer-plugins-sections.txt:
76 * docs/plugins/gstreamer-plugins.types:
77 * docs/plugins/inspect.stamp:
78 * docs/plugins/inspect/plugin-coreelements.xml:
79 * docs/plugins/inspect/plugin-coreindexers.xml:
80 * docs/plugins/scanobj-build.stamp:
82 * plugins/elements/Makefile.am:
83 * plugins/elements/gstelements.c:
84 * plugins/elements/gstfakesink.c:
85 * plugins/elements/gstfakesrc.c:
86 * plugins/elements/gstfilesink.c:
87 * plugins/elements/gstfilesrc.c:
88 * plugins/elements/gstqueue.c:
89 * plugins/indexers/Makefile.am:
90 * plugins/indexers/gstindexers.c:
91 document core plugins in a separate document just like all the
93 rename these plugins to something starting with core
95 2005-12-01 Andy Wingo <wingo@pobox.com>
97 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
98 padding here before, but it missed the commit.
100 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
102 * libs/gst/controller/gstinterpolation.c:
103 whitespace prices have crashed, we should feel free to use some now
104 use gst_guint64_to_gdouble
106 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
108 * libs/gst/controller/gstcontroller.c:
109 * libs/gst/controller/gsthelper.c:
110 * libs/gst/controller/gstinterpolation.c:
111 * libs/gst/controller/lib.c:
112 wrap config.h include
114 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
116 * docs/gst/gstreamer-sections.txt:
119 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
121 * plugins/elements/gstelements.c:
122 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
123 (gst_fd_sink__class_init), (gst_fd_sink__init),
124 (gst_fd_sink__chain), (gst_fd_sink__set_property),
125 (gst_fd_sink__get_property):
126 * plugins/elements/gstfdsink.h:
127 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
128 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
129 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
130 (gst_fd_src_unlock), (gst_fd_src_set_property),
131 (gst_fd_src_get_property), (gst_fd_src_create),
132 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
133 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
134 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
135 (gst_fd_src_uri_handler_init):
136 * plugins/elements/gstfdsrc.h:
137 * plugins/elements/gstqueue.c: (gst_queue_get_type):
140 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
142 * docs/gst/Makefile.am:
143 * docs/gst/gstreamer.types.in:
147 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
154 * tests/benchmarks/complexity.c:
155 * tests/benchmarks/mass-elements.c:
156 * tests/check/Makefile.am:
158 * tools/gst-inspect.c:
159 * tools/gst-xmlinspect.c:
160 various fixes to make
161 --disable-nls --disable-registry --disable-loadsave
162 --disable-parse --disable-gst-debug
163 work and get the core .so down to 360444 bytes after stripping
165 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
170 * docs/random/thomasvs/TODO:
175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
177 * win32/GStreamer.vcproj:
180 * win32/Makefile.inspect:
181 * win32/Makefile.launch:
182 * win32/Makefile.register:
184 * win32/gst-inspect.vcproj:
185 * win32/gst-launch.vcproj:
186 * win32/gst-register.vcproj:
187 * win32/gstelements.vcproj:
188 * win32/gstgetbits.def:
189 * win32/gstgetbits.vcproj:
190 * win32/gstreamer-dbg.def:
191 * win32/gstreamer.def:
192 * win32/libgstbase.def:
193 * win32/libgstbase.vcproj:
194 * win32/link_oldruntime.c:
199 move even more stuff, win32/ is nice and clean now
201 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
203 * libs/gst/control/.cvsignore:
208 * win32/gstbytestream.def:
209 * win32/gstbytestream.vcproj:
211 * win32/gstenumtypes.c:
212 * win32/gstenumtypes.h:
213 * win32/gstoptimalscheduler.vcproj:
214 * win32/gstversion.h:
216 * win32/testsuite/bins.vcproj:
217 * win32/testsuite/bytestream.vcproj:
218 * win32/testsuite/caps.vcproj:
219 * win32/testsuite/cleanup.vcproj:
220 * win32/testsuite/clock.vcproj:
221 * win32/testsuite/debug.vcproj:
222 * win32/testsuite/dlopen.vcproj:
223 * win32/testsuite/dynparams.vcproj:
224 * win32/testsuite/elements.vcproj:
225 * win32/testsuite/ghostpads.vcproj:
226 * win32/testsuite/indexers.vcproj:
227 * win32/testsuite/negotiation.vcproj:
228 * win32/testsuite/parse.vcproj:
229 * win32/testsuite/plugin.vcproj:
230 * win32/testsuite/refcounting.vcproj:
231 * win32/testsuite/schedulers.vcproj:
232 * win32/testsuite/states.vcproj:
233 * win32/testsuite/tags.vcproj:
234 * win32/testsuite/threads.vcproj:
235 remove old win32 stuff that isn't maintained and should be
238 2005-11-30 Andy Wingo <wingo@pobox.com>
240 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
241 loading the gst.interfaces python module bork.
243 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
244 available since GLib 2.2. Fixes #318031.
246 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
251 * check/elements/.cvsignore:
252 * check/elements/fakesrc.c:
253 * check/elements/fdsrc.c:
254 * check/elements/identity.c:
255 * check/generic/.cvsignore:
256 * check/generic/states.c:
257 * check/gst-libs/.cvsignore:
258 * check/gst-libs/controller.c:
259 * check/gst-libs/gdp.c:
260 * check/gst/.cvsignore:
261 * check/gst/capslist.h:
263 * check/gst/gstbin.c:
264 * check/gst/gstbuffer.c:
265 * check/gst/gstbus.c:
266 * check/gst/gstcaps.c:
267 * check/gst/gstelement.c:
268 * check/gst/gstevent.c:
269 * check/gst/gstghostpad.c:
270 * check/gst/gstiterator.c:
271 * check/gst/gstmessage.c:
272 * check/gst/gstminiobject.c:
273 * check/gst/gstobject.c:
274 * check/gst/gstpad.c:
275 * check/gst/gstpipeline.c:
276 * check/gst/gstplugin.c:
277 * check/gst/gstsegment.c:
278 * check/gst/gststructure.c:
279 * check/gst/gstsystemclock.c:
280 * check/gst/gsttag.c:
281 * check/gst/gstutils.c:
282 * check/gst/gstvalue.c:
283 * check/net/.cvsignore:
284 * check/net/gstnetclientclock.c:
285 * check/net/gstnettimeprovider.c:
286 * check/pipelines/.cvsignore:
287 * check/pipelines/cleanup.c:
288 * check/pipelines/simple_launch_lines.c:
289 * check/pipelines/stress.c:
290 * check/states/.cvsignore:
291 * check/states/sinks.c:
293 * examples/Makefile.am:
294 * examples/appreader/.cvsignore:
295 * examples/appreader/Makefile.am:
296 * examples/appreader/appreader.c:
297 * examples/controller/.cvsignore:
298 * examples/controller/Makefile.am:
299 * examples/controller/audio-example.c:
300 * examples/cutter/.cvsignore:
301 * examples/cutter/Makefile.am:
302 * examples/cutter/cutter.c:
303 * examples/cutter/cutter.h:
304 * examples/events/Makefile.am:
305 * examples/events/seek.c:
306 * examples/helloworld/.cvsignore:
307 * examples/helloworld/Makefile.am:
308 * examples/helloworld/helloworld.c:
309 * examples/helloworld2/.cvsignore:
310 * examples/helloworld2/Makefile.am:
311 * examples/helloworld2/helloworld2.c:
312 * examples/launch/.cvsignore:
313 * examples/launch/Makefile.am:
314 * examples/launch/mp3parselaunch.c:
315 * examples/launch/mp3play:
316 * examples/manual/.cvsignore:
317 * examples/manual/Makefile.am:
318 * examples/manual/extract.pl:
319 * examples/metadata/Makefile.am:
320 * examples/metadata/read-metadata.c:
321 * examples/mixer/.cvsignore:
322 * examples/mixer/Makefile.am:
323 * examples/mixer/mixer.c:
324 * examples/mixer/mixer.h:
325 * examples/pingpong/.cvsignore:
326 * examples/pingpong/Makefile.am:
327 * examples/pingpong/pingpong.c:
328 * examples/plugins/.cvsignore:
329 * examples/plugins/Makefile.am:
330 * examples/plugins/example.c:
331 * examples/plugins/example.h:
332 * examples/pwg/.cvsignore:
333 * examples/pwg/Makefile.am:
334 * examples/pwg/extract.pl:
335 * examples/queue/.cvsignore:
336 * examples/queue/Makefile.am:
337 * examples/queue/queue.c:
338 * examples/queue2/.cvsignore:
339 * examples/queue2/Makefile.am:
340 * examples/queue2/queue2.c:
341 * examples/queue3/.cvsignore:
342 * examples/queue3/Makefile.am:
343 * examples/queue3/queue3.c:
344 * examples/queue4/.cvsignore:
345 * examples/queue4/Makefile.am:
346 * examples/queue4/queue4.c:
347 * examples/retag/.cvsignore:
348 * examples/retag/Makefile.am:
349 * examples/retag/retag.c:
350 * examples/retag/transcode.c:
351 * examples/thread/.cvsignore:
352 * examples/thread/Makefile.am:
353 * examples/thread/thread.c:
354 * examples/typefind/.cvsignore:
355 * examples/typefind/Makefile.am:
356 * examples/typefind/typefind.c:
357 * examples/xml/.cvsignore:
358 * examples/xml/Makefile.am:
359 * examples/xml/createxml.c:
360 * examples/xml/runxml.c:
362 * tests/check/Makefile.am:
363 * testsuite/.cvsignore:
364 * testsuite/Makefile.am:
366 * testsuite/caps/.cvsignore:
367 * testsuite/caps/Makefile.am:
368 * testsuite/caps/app_fixate.c:
369 * testsuite/caps/audioscale.c:
370 * testsuite/caps/caps.c:
371 * testsuite/caps/caps.h:
372 * testsuite/caps/caps_strings:
373 * testsuite/caps/compatibility.c:
374 * testsuite/caps/deserialize.c:
375 * testsuite/caps/enumcaps.c:
376 * testsuite/caps/eratosthenes.c:
377 * testsuite/caps/filtercaps.c:
378 * testsuite/caps/fixed.c:
379 * testsuite/caps/fraction-convert.c:
380 * testsuite/caps/fraction-multiply-and-zero.c:
381 * testsuite/caps/intersect2.c:
382 * testsuite/caps/intersection.c:
383 * testsuite/caps/normalisation.c:
384 * testsuite/caps/random.c:
385 * testsuite/caps/renegotiate.c:
386 * testsuite/caps/sets.c:
387 * testsuite/caps/simplify.c:
388 * testsuite/caps/string-conversions.c:
389 * testsuite/caps/structure.c:
390 * testsuite/caps/subtract.c:
391 * testsuite/caps/union.c:
392 * testsuite/debug/.cvsignore:
393 * testsuite/debug/Makefile.am:
394 * testsuite/debug/category.c:
395 * testsuite/debug/commandline.c:
396 * testsuite/debug/global.c:
397 * testsuite/debug/output.c:
398 * testsuite/debug/printf_extension.c:
399 * testsuite/dlopen/.cvsignore:
400 * testsuite/dlopen/Makefile.am:
401 * testsuite/dlopen/dlopen_gst.c:
402 * testsuite/dlopen/loadgst.c:
403 * testsuite/elements/.cvsignore:
404 * testsuite/elements/Makefile.am:
405 * testsuite/elements/gst-inspect-check.in:
406 * testsuite/elements/struct_i386.h:
407 * testsuite/elements/struct_size.c:
408 * testsuite/indexers/.cvsignore:
409 * testsuite/indexers/Makefile.am:
410 * testsuite/indexers/cache1.c:
411 * testsuite/indexers/indexdump.c:
412 * testsuite/parse/.cvsignore:
413 * testsuite/parse/Makefile.am:
414 * testsuite/parse/parse1.c:
415 * testsuite/parse/parse2.c:
416 * testsuite/plugin/.cvsignore:
417 * testsuite/plugin/Makefile.am:
418 * testsuite/plugin/README:
419 * testsuite/plugin/dynamic.c:
420 * testsuite/plugin/linked.c:
421 * testsuite/plugin/loading.c:
422 * testsuite/plugin/registry.c:
423 * testsuite/plugin/static.c:
424 * testsuite/plugin/static2.c:
425 * testsuite/plugin/testplugin.c:
426 * testsuite/plugin/testplugin2.c:
427 * testsuite/plugin/testplugin2_s.c:
428 * testsuite/plugin/testplugin_s.c:
429 * testsuite/refcounting/.cvsignore:
430 * testsuite/refcounting/Makefile.am:
431 * testsuite/refcounting/bin.c:
432 * testsuite/refcounting/element.c:
433 * testsuite/refcounting/element_pad.c:
434 * testsuite/refcounting/mainloop.c:
435 * testsuite/refcounting/mem.c:
436 * testsuite/refcounting/mem.h:
437 * testsuite/refcounting/object.c:
438 * testsuite/refcounting/pad.c:
439 * testsuite/refcounting/sched.c:
440 * testsuite/refcounting/thread.c:
441 * testsuite/states/.cvsignore:
442 * testsuite/states/Makefile.am:
443 * testsuite/states/bin.c:
444 * testsuite/states/locked.c:
445 * testsuite/states/parent.c:
446 * testsuite/threads/.cvsignore:
447 * testsuite/threads/159566.c:
448 * testsuite/threads/159852.c:
449 * testsuite/threads/Makefile.am:
450 * testsuite/threads/queue.c:
451 * testsuite/threads/signals.c:
452 * testsuite/threads/staticrec.c:
453 * testsuite/threads/thread.c:
454 * testsuite/threads/threadb.c:
455 * testsuite/threads/threadc.c:
456 * testsuite/threads/threadd.c:
457 * testsuite/threads/threade.c:
458 * testsuite/threads/threadf.c:
459 * testsuite/threads/threadg.c:
460 * testsuite/threads/threadh.c:
461 * testsuite/threads/threadi.c:
462 move all of these under tests
464 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
470 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
472 * docs/gst/gstreamer-sections.txt:
473 * tests/sched/.cvsignore:
474 * tests/sched/Makefile.am:
475 * tests/sched/cases/(fs-fs).xml:
476 * tests/sched/cases/(fs-i-fs).xml:
477 * tests/sched/cases/(fs-i-i-fs).xml:
478 * tests/sched/cases/(fs-i-q[i-fs]).xml:
479 * tests/sched/dynamic-pipeline.c:
480 * tests/sched/interrupt1.c:
481 * tests/sched/interrupt2.c:
482 * tests/sched/interrupt3.c:
483 * tests/sched/runtestcases:
484 * tests/sched/runxml.c:
485 * tests/sched/sched-stress.c:
486 * tests/sched/sort.c:
487 * tests/sched/testcases:
488 * tests/sched/testcases1.tc:
489 * tests/seeking/.cvsignore:
490 * tests/seeking/Makefile.am:
491 * tests/seeking/seeking1.c:
492 * tests/threadstate/.cvsignore:
493 * tests/threadstate/Makefile.am:
494 * tests/threadstate/test1.c:
495 * tests/threadstate/test2.c:
496 * tests/threadstate/threadstate1.c:
497 * tests/threadstate/threadstate2.c:
498 * tests/threadstate/threadstate3.c:
499 * tests/threadstate/threadstate4.c:
500 * tests/threadstate/threadstate5.c:
501 remove obsolete tests
503 * tests/bench-complexity.scm:
504 * tests/bench-mass_elements.scm:
505 * tests/complexity.c:
506 * tests/complexity.gnuplot:
507 * tests/instantiate/.cvsignore:
508 * tests/instantiate/Makefile.am:
509 * tests/instantiate/caps.c:
510 * tests/mass_elements.c:
511 * tests/network-clock-utils.scm:
512 * tests/network-clock.scm:
514 First pass at cleaning up tests/ dir before moving the rest
515 Combined with CVS surgery
517 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
520 queue has moved, update
522 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
524 * docs/gst/gstreamer-sections.txt:
525 remove double entries from the docs
527 * gst/gstinfo.c: (_gst_debug_init):
528 remove the THREAD debug category
532 * docs/gst/gstreamer.types:
533 * plugins/elements/gstqueue.c: (gst_queue_get_type),
534 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
535 completely move queue and fix up debugging categories
537 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
539 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
540 make initialization portable, using LL is not
542 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
544 * win32/common/gstconfig.h:
547 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
549 * win32/common/libgstreamer.def:
550 rename symbols; sort base section
552 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
554 * gst/gstclock.c: (do_linear_regression):
555 remove crack non-portable handrolled DEBUG macro
557 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
559 * docs/random/release:
561 * win32/common/gstenumtypes.c: (register_gst_object_flags),
562 (gst_object_flags_get_type), (register_gst_bin_flags),
563 (gst_bin_flags_get_type), (register_gst_buffer_flag),
564 (gst_buffer_flag_get_type), (register_gst_bus_flags),
565 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
566 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
567 (gst_caps_flags_get_type), (register_gst_clock_return),
568 (gst_clock_return_get_type), (register_gst_clock_entry_type),
569 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
570 (gst_clock_flags_get_type), (register_gst_state),
571 (gst_state_get_type), (register_gst_state_change_return),
572 (gst_state_change_return_get_type), (register_gst_state_change),
573 (gst_state_change_get_type), (register_gst_element_flags),
574 (gst_element_flags_get_type), (register_gst_core_error),
575 (gst_core_error_get_type), (register_gst_library_error),
576 (gst_library_error_get_type), (register_gst_resource_error),
577 (gst_resource_error_get_type), (register_gst_stream_error),
578 (gst_stream_error_get_type), (register_gst_event_type_flags),
579 (gst_event_type_flags_get_type), (register_gst_event_type),
580 (gst_event_type_get_type), (register_gst_seek_type),
581 (gst_seek_type_get_type), (register_gst_seek_flags),
582 (gst_seek_flags_get_type), (register_gst_format),
583 (gst_format_get_type), (register_gst_index_certainty),
584 (gst_index_certainty_get_type), (register_gst_index_entry_type),
585 (gst_index_entry_type_get_type),
586 (register_gst_index_lookup_method),
587 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
588 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
589 (gst_index_resolver_method_get_type), (register_gst_index_flags),
590 (gst_index_flags_get_type), (register_gst_debug_level),
591 (gst_debug_level_get_type), (register_gst_debug_color_flags),
592 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
593 (gst_iterator_result_get_type), (register_gst_iterator_item),
594 (gst_iterator_item_get_type), (register_gst_message_type),
595 (gst_message_type_get_type), (register_gst_mini_object_flags),
596 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
597 (gst_pad_link_return_get_type), (register_gst_flow_return),
598 (gst_flow_return_get_type), (register_gst_activate_mode),
599 (gst_activate_mode_get_type), (register_gst_pad_direction),
600 (gst_pad_direction_get_type), (register_gst_pad_flags),
601 (gst_pad_flags_get_type), (register_gst_pad_presence),
602 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
603 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
604 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
605 (gst_plugin_error_get_type), (register_gst_plugin_flags),
606 (gst_plugin_flags_get_type), (register_gst_rank),
607 (gst_rank_get_type), (register_gst_query_type),
608 (gst_query_type_get_type), (register_gst_tag_merge_mode),
609 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
610 (gst_tag_flag_get_type), (register_gst_task_state),
611 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
612 (gst_alloc_trace_flags_get_type),
613 (register_gst_type_find_probability),
614 (gst_type_find_probability_get_type), (register_gst_uri_type),
615 (gst_uri_type_get_type), (register_gst_parse_error),
616 (gst_parse_error_get_type):
617 * win32/common/gstenumtypes.h:
618 * win32/common/gstversion.h:
619 update visual studio generated files
621 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
623 * win32/vs6/libgstbase.dsp:
624 * win32/vs6/libgstelements.dsp:
625 update project files for new locations
627 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
637 * docs/random/LICENSE:
640 2005-11-30 Edward Hervey <edward@fluendo.com>
642 * gst/gsttypefind.c: (gst_type_find_register):
644 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
645 (gst_type_find_factory_dispose):
646 * gst/gsttypefindfactory.h:
647 Fix memory leak in GstTypeFindFactory.
649 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
652 * plugins/elements/Makefile.am:
653 * plugins/elements/gstelements.c:
654 * plugins/elements/gstqueue.c:
655 move queue from core to the elements plugin
657 2005-11-29 Andy Wingo <wingo@pobox.com>
659 * libs/gst/base/gstbasetransform.h:
660 * libs/gst/base/gstbasesrc.h:
661 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
663 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
664 of pointers by which to pad very extensible base classes (like the
665 ones in libs/gst/base).
667 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
669 * docs/gst/gstreamer-docs.sgml:
670 * docs/gst/gstreamer-sections.txt:
671 * docs/libs/gstreamer-libs-docs.sgml:
672 * docs/libs/gstreamer-libs-sections.txt:
673 moving documentation from core to lib
675 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
679 * docs/gst/Makefile.am:
681 * gst/base/.cvsignore:
682 * gst/base/Makefile.am:
684 * gst/base/gstadapter.c:
685 * gst/base/gstadapter.h:
686 * gst/base/gstbasesink.c:
687 * gst/base/gstbasesink.h:
688 * gst/base/gstbasesrc.c:
689 * gst/base/gstbasesrc.h:
690 * gst/base/gstbasetransform.c:
691 * gst/base/gstbasetransform.h:
692 * gst/base/gstcollectpads.c:
693 * gst/base/gstcollectpads.h:
694 * gst/base/gstpushsrc.c:
695 * gst/base/gstpushsrc.h:
696 * gst/base/gsttypefindhelper.c:
697 * gst/base/gsttypefindhelper.h:
698 * gst/check/Makefile.am:
699 * gst/check/gstcheck.c:
700 * gst/check/gstcheck.h:
701 * gst/net/Makefile.am:
703 * gst/net/gstnetclientclock.c:
704 * gst/net/gstnetclientclock.h:
705 * gst/net/gstnettimepacket.c:
706 * gst/net/gstnettimepacket.h:
707 * gst/net/gstnettimeprovider.c:
708 * gst/net/gstnettimeprovider.h:
709 * libs/gst/Makefile.am:
710 * libs/gst/base/Makefile.am:
711 * libs/gst/base/gstbasetransform.c:
712 * libs/gst/check/Makefile.am:
713 * plugins/elements/Makefile.am:
715 CVS surgery + support to move base, check, and net out of gst
718 2005-11-29 Andy Wingo <wingo@pobox.com>
720 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
722 * gst/gststructure.h (struct _GstStructure): Only one pointer of
725 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
727 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
729 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
731 * gst/gstobject.h: (struct _GstObject): Only one pointer of
732 padding; reduces object size by about 30%. We don't expect
733 anything else to go into gstobject.
735 * gst/gstminiobject.h (struct _GstMiniObject)
736 (struct _GstMiniObjectClass): Only one pointer of padding; the
737 payload is only a pointer and two ints anyway. For the class there
738 are only two methods as well.
740 * gst/gstelement.h (struct _GstElementClass): Removed
741 the state_changed signal callback, it is not used.
743 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
745 * docs/gst/gstreamer.types:
746 fix includes, though they are a little dinky
748 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
751 look in the right place for elements, a lot more chance of
754 remove indexers and elements subdirs
755 * plugins/Makefile.am:
756 make indexers conditional
758 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
762 * plugins/elements/Makefile.am:
763 * plugins/elements/gstcapsfilter.c:
764 * plugins/elements/gstfilesink.c:
765 * plugins/elements/gstfilesrc.c:
766 * plugins/elements/gstidentity.c:
767 * plugins/indexers/Makefile.am:
768 do CVS surgery and related build fixery to move elements
769 and indexers in a new gstreamer/plugins directory, out of the
772 2005-11-29 Andy Wingo <wingo@pobox.com>
775 * pkgconfig/gstreamer-net-uninstalled.pc.in:
776 * pkgconfig/gstreamer-net.pc.in:
777 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
780 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
783 * tools/gst-complete.1.in:
784 * tools/gst-complete.c:
785 * tools/gst-compprep.1.in:
786 * tools/gst-compprep.c:
787 removing -compprep and -complete
789 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
791 * gst/gstevent.c: (gst_event_new_new_segment),
792 (gst_event_parse_new_segment):
794 fix #320529 - clean up new_segment API and structure.
795 Let's hope everyone was using the methods, and not the structure.
797 2005-11-29 Edward Hervey <edward@fluendo.com>
799 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
800 (gst_base_sink_event), (gst_base_sink_do_sync),
801 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
802 Properly handle non GST_FORMAT_TIME segment
803 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
804 Properly handle non GST_FORMAT_TIME segment
806 This function is valid if the accumulator is 0 and the format
807 is different from the requested format.
809 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
811 * docs/gst/gstreamer-sections.txt:
812 Add gst_query_new_seeking and gst_query_parse_seeking to the
815 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
817 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
818 Treat a pad alloc with new caps the same as if we were not
819 negotiated, in order to allow a changing upstream output
820 to produce a new format of data.
822 2005-11-29 Edward Hervey <edward@fluendo.com>
824 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
825 (gst_base_transform_event), (gst_base_transform_eventfunc):
826 The event virtual method is now properly implemented, with a default
828 Sub classes should call the parent_class event method. They should
829 return FALSE if they had a problem handling the given event, or don't
830 want GstBaseTransform to send that even downstream
831 * gst/elements/gstidentity.c: (gst_identity_class_init),
832 (gst_identity_init), (gst_identity_event),
833 (gst_identity_transform_ip), (gst_identity_set_property),
834 (gst_identity_get_property):
835 * gst/elements/gstidentity.h:
836 Added the single-segment boolean property.
837 If set to TRUE, it will output a single segment of data, starting from
838 0, will eat up all incoming newsegment, and modify the timestamp of the
841 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
843 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
844 Don't ref NULL target pad (#322751). Improve docs.
846 2005-11-29 Michael Smith <msmith@fluendo.com>
848 * gst/gstregistryxml.c: (load_plugin):
849 Don't crash if we failed to load a feature from a plugin.
851 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
853 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
855 use more check API and less GLib API
857 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
860 don't run checks if we don't have check
862 remove the registry when running make torture
863 * docs/gst/gstreamer-sections.txt:
864 remove second multiply
865 * gst/gstqueue.c: (gst_queue_loop):
866 fix a compile warning when disabling debug
868 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
871 Hey! Let's print the pad name if the pointer != NULL instead
872 of when it == NULL :-)
874 2005-11-28 Wim Taymans <wim@fluendo.com>
876 * check/gst/gstutils.c: (GST_START_TEST):
877 Updated check, add some scaling accuracy checking code.
879 * gst/gstutils.c: (gst_util_div128_64),
880 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
881 (gst_util_uint64_scale_int):
882 Fix 6 times faster division code. Optimize for common
883 1/1 and less common X/1 cases.
885 2005-11-28 Wim Taymans <wim@fluendo.com>
887 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
890 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
891 (do_linear_regression), (gst_clock_add_observation):
893 Release lock when the clock cannot be slaved.
894 Catch the case where the regression returned an invalid denominator.
896 * gst/gstutils.c: (gst_util_div128_64_iterate),
897 (gst_util_div128_64), (gst_util_uint64_scale_int64),
898 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
899 Add protentially more performant non-iterative 128/64 divide function
900 that unfortunatly does not work yet.
901 Shortcut the trivial 0/X = 0 case.
902 Remove the warnings on overflow.
904 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
906 * gst/gstplugin.c: (gst_plugin_register_func):
907 everything causing a plugin not to load should be at least a WARNING
909 2005-11-28 Stefan Kost <ensonic@users.sf.net>
911 * docs/random/ensonic/dparams.txt:
912 some TODOs for the next dev cycle
913 * libs/gst/controller/gstcontroller.c:
914 (gst_controlled_property_set_interpolation_mode),
915 (gst_controlled_property_new):
916 * libs/gst/controller/gstcontroller.h:
917 use base type to assign acccessor functions
919 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
922 Oops, that should have been top_srcdir
924 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
927 * check/elements/fdsrc.c: (GST_START_TEST):
928 Use a cmdline define to specify the location of a file to use for
929 testing, to avoid breaking distcheck.
931 2005-11-28 Andy Wingo <wingo@pobox.com>
933 * gst/gstpad.c (fixate_value): Use array functions for arrays.
935 2005-11-28 Edward Hervey <edward@fluendo.com>
937 * tools/gst-launch.c: (main):
938 Clarify the output strings, makes it easier to translate.
941 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
944 don't try and build net if we don't even have <sys/socket.h>
946 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
949 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
950 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
951 Add tests for fdsrc seekability
953 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
954 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
955 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
956 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
957 * gst/elements/gstfdsrc.h:
958 fdsrc should not be a 'live' source.
959 Implement seeking on seekable fd's.
961 * gst/gstquery.c: (gst_query_new_seeking),
962 (gst_query_parse_seeking):
964 Implement SEEKING query functions:
965 *_new_seeking and *_parse_seeking
967 2005-11-27 Stefan Kost <ensonic@users.sf.net>
969 * gst/gstelement.c: (gst_element_dispose):
973 * gst/gststructure.c:
976 * libs/gst/controller/gstcontroller.c:
977 (gst_controlled_property_set_interpolation_mode):
978 * libs/gst/controller/gstcontroller.h:
979 * libs/gst/controller/gstinterpolation.c:
980 (interpolate_none_get_enum_value_array):
981 support controlling enums
983 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
986 Improve documentation for gst_value_union().
989 Change return value for union, intersect and subtract functions
990 from gint to gboolean.
992 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
994 * gst/gstvalue.c: (gst_value_serialize_any_list),
995 (gst_value_transform_any_list_string),
996 (gst_value_deserialize_list), (gst_value_deserialize_array),
997 (gst_value_set_int_range), (gst_value_deserialize_int_range),
998 (gst_value_set_double_range), (gst_value_deserialize_double_range),
999 (gst_value_set_fraction_range_full),
1000 (gst_value_deserialize_fraction_range),
1001 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1002 (gst_value_deserialize_boolean),
1003 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1004 (gst_value_serialize_float), (gst_value_deserialize_float),
1005 (gst_string_wrap), (gst_value_deserialize_string),
1006 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1007 (gst_value_union_int_range_int_range),
1008 (gst_value_intersect_int_range_int_range),
1009 (gst_value_intersect_double_range_double_range),
1010 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1011 (gst_value_subtract_int_range_int_range),
1012 (gst_value_subtract_double_double_range),
1013 (gst_value_subtract_double_range_double_range),
1014 (gst_value_deserialize_fraction):
1016 Use gint, gdouble and gchar in our API instead of int, double and
1017 char (and make usage in gstvalue.c more consistent).
1019 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1021 * check/Makefile.am:
1022 * libs/gst/controller/Makefile.am:
1023 * libs/gst/dataprotocol/Makefile.am:
1024 fix up Makefile.am and remove GST_ENABLE_NEW
1026 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1030 * gst/base/Makefile.am:
1031 * gst/check/Makefile.am:
1032 * gst/elements/Makefile.am:
1033 * gst/net/Makefile.am:
1034 update LDFLAGS use some more
1036 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1038 * common/m4/gst-doc.m4:
1041 2005-11-26 Edward Hervey <edward@fluendo.com>
1043 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1044 This shouldn't issue a g_warning since it returns NULL if it
1045 couldn't find the plugin, and all functions using this behave
1046 properly on a NULL return. Switching to a GST_WARNING.
1048 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1050 * gst/gstbin.c: (gst_bin_handle_message_func):
1051 Don't leak clock messages.
1053 2005-11-25 Wim Taymans <wim@fluendo.com>
1055 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1056 (gst_util_uint64_scale_int):
1057 Optimisations, remove unneeded vars.
1059 2005-11-25 Wim Taymans <wim@fluendo.com>
1061 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1062 Added more checks for the high precision uint64 cases.
1064 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1065 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1066 Implement high precision (guint64 * guint64) / guint64.
1068 2005-11-24 Wim Taymans <wim@fluendo.com>
1070 * gst/base/gstbasesrc.c: (gst_base_src_query):
1071 Fix wrong percentage query.
1073 * gst/gstutils.c: (gst_util_uint64_scale),
1074 (gst_util_uint64_scale_int):
1075 Add some more common cases that can be handled
1076 efficiently to _scale.
1078 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1080 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1081 (gst_mini_object_suite):
1082 don't use check calls from threads; check probably isn't
1083 threadsafe and using a lock to make it threadsafe would
1084 defeat the purpose of this check
1085 * gst/check/gstcheck.c:
1086 * gst/check/gstcheck.h:
1087 use GST_DEBUG some more
1089 2005-11-24 Wim Taymans <wim@fluendo.com>
1091 * gst/gstutils.c: (gst_util_uint64_scale),
1092 (gst_util_uint64_scale_int):
1093 Chain trivial case to _scale_int.
1095 2005-11-24 Wim Taymans <wim@fluendo.com>
1097 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1098 Added test for scaling.
1103 * gst/gstutils.c: (gst_util_uint64_scale_int):
1104 Implemented high precision scaling code.
1106 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1109 do not crash on pad==NULL
1111 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1113 Patch by: Stefan Kost
1115 * common/gtk-doc.mak:
1116 * docs/gst/Makefile.am:
1117 * docs/libs/Makefile.am:
1118 Fix distcheck issues for the libraries docs build
1121 2005-11-24 Michael Smith <msmith@fluendo.com>
1123 * docs/manual/basics-helloworld.xml:
1124 Fix bug #315027: memory leak in example code in docs.
1126 2005-11-24 Michael Smith <msmith@fluendo.com>
1128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1129 Unlock the PREROLL_LOCK in a failure case.
1131 2005-11-24 Wim Taymans <wim@fluendo.com>
1133 * docs/gst/gstreamer-sections.txt:
1134 * gst/base/gstadapter.h:
1135 * gst/base/gstbasesink.h:
1136 * gst/base/gstbasesrc.h:
1137 * gst/base/gstbasetransform.h:
1138 * gst/base/gstpushsrc.h:
1139 * gst/elements/gstfakesink.h:
1140 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1141 * gst/elements/gstfakesrc.h:
1142 * gst/elements/gstfilesink.h:
1143 * gst/elements/gstfilesrc.h:
1146 * gst/gstbuffer.c: (_gst_buffer_copy):
1149 * gst/gstchildproxy.c:
1152 * gst/gstelementfactory.c:
1153 * gst/gstelementfactory.h:
1155 * gst/gstghostpad.h:
1157 * gst/gstinterface.h:
1158 * gst/gstminiobject.c:
1159 * gst/gstminiobject.h:
1162 * gst/gstpadtemplate.h:
1163 * gst/gstpipeline.h:
1164 * gst/gstpluginfeature.h:
1169 * gst/gsttagsetter.c:
1170 * gst/gsttagsetter.h:
1173 * gst/gsttypefind.h:
1176 * gst/net/gstnetclientclock.c:
1177 * gst/net/gstnetclientclock.h:
1178 * gst/net/gstnettimepacket.c:
1179 * gst/net/gstnettimeprovider.c:
1180 * gst/net/gstnettimeprovider.h:
1183 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1185 * configure.ac: back to HEAD
1187 === release 0.9.6 ===
1189 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1192 releasing 0.9.6, "Always On Time"
1194 2005-11-23 Wim Taymans <wim@fluendo.com>
1196 * docs/gst/gstreamer-sections.txt:
1197 * gst/glib-compat.c:
1198 * gst/gsttagsetter.c:
1200 * gst/net/gstnetclientclock.c:
1201 * gst/net/gstnettimepacket.h:
1204 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1206 * docs/faq/using.xml:
1207 * docs/libs/tmpl/gstcontrol.sgml:
1208 * docs/manual/advanced-dparams.xml:
1209 * docs/manual/appendix-checklist.xml:
1210 * docs/manual/basics-elements.xml:
1211 * docs/pwg/other-source.xml:
1212 * docs/random/moving-plugins:
1214 * tools/gst-launch.1.in:
1215 remove mentions of sinesrc
1217 2005-11-23 Michael Smith <msmith@fluendo.com>
1219 * docs/gst/gstreamer-sections.txt:
1220 Update for new API and API changes.
1222 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1224 Documentation typo fix.
1225 * gst/net/gstnettimepacket.c:
1226 Documentation fixes for arguments.
1228 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1230 * gst/gststructure.c: (gst_structure_get_fraction),
1231 (gst_structure_parse_value),
1232 (gst_structure_fixate_field_nearest_fraction):
1233 * gst/gststructure.h:
1234 * gst/gstutils.c: (gst_util_uint64_scale_int):
1236 * scripts/update-funcnames:
1238 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1239 Make gst_structure_fixate_field_nearest_fraction take a numerator
1240 and denominator argument instead of a GValue
1241 add gst_structure_get_fraction helper function.
1243 2005-11-23 Wim Taymans <wim@fluendo.com>
1245 * docs/design/part-TODO.txt:
1248 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1249 * gst/net/gstnetclientclock.h:
1250 Use parent fields for timeout and window_size.
1252 2005-11-23 Andy Wingo <wingo@pobox.com>
1254 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1255 rate_num/rate_denom change.
1257 * gst/net/gstnetclientclock.c
1258 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1259 OBJECT_LOCK. Don't call add_observation with the lock.
1261 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1263 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1265 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1266 deal with rate as a fraction whose numerator and denominator are
1267 GstClockTime values.
1268 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1269 master; the other fields are protected by the SLAVE_LOCK.
1270 (do_linear_regression): Note that this must be called with the
1272 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1273 OBJECT_LOCK. Call set_calibration instead of touching the
1275 (gst_clock_set_property, gst_clock_get_property): Protect
1276 master/slave parameters with the SLAVE_LOCK.
1278 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1279 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1280 note that all of the instance variables that add_observation and
1281 the set_master functions use are protected by that lock and not
1283 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1285 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1286 the caller to take the object lock.
1288 2005-11-23 Wim Taymans <wim@fluendo.com>
1290 * gst/gsterror.c: (_gst_core_errors_init):
1292 Add error for clock stuff.
1294 * gst/gstpipeline.c: (gst_pipeline_change_state),
1295 (gst_pipeline_set_clock):
1296 Post clock error when clock cannot be used in a pipeline.
1298 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1300 * docs/gst/gstreamer-sections.txt:
1301 make two symbols from gstinfo private for the docs
1302 * gst/base/gstcollectpads.h:
1304 fix doc typos, update docs
1306 2005-11-22 Wim Taymans <wim@fluendo.com>
1308 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1309 (gst_base_sink_wait), (gst_base_sink_do_sync),
1310 (gst_base_sink_handle_event):
1311 * gst/base/gstbasesink.h:
1312 No need to store the clock, the parent element class already
1315 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1316 Updates for clock_set returning a gboolean
1318 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1319 (gst_clock_id_wait_async), (gst_clock_class_init),
1320 (gst_clock_init), (gst_clock_finalize),
1321 (gst_clock_get_internal_time), (gst_clock_get_time),
1322 (gst_clock_slave_callback), (gst_clock_set_master),
1323 (gst_clock_get_master), (do_linear_regression),
1324 (gst_clock_add_observation), (gst_clock_set_property),
1325 (gst_clock_get_property):
1327 Implement master/slave. When setting a clock as a slave, a
1328 periodic timeout is scheduled to sample master and slave times.
1329 Then the slave clock is recalibrated to match offset and rate
1330 of the master clock.
1331 Update logging a bit.
1332 Add flag so that a clock can state that is cannot be slaved to
1335 * gst/gstelement.c: (gst_element_set_clock):
1337 The set clock returns a gboolean for when an element cannot
1338 deal with the selected clock in the pipeline.
1340 * gst/gstpipeline.c: (gst_pipeline_change_state),
1341 (gst_pipeline_set_clock):
1342 * gst/gstpipeline.h:
1343 Handle the case where the selected clock cannot be set on
1346 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1347 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1348 (gst_net_client_clock_set_property),
1349 (gst_net_client_clock_get_property),
1350 (gst_net_client_clock_observe_times):
1351 * gst/net/gstnetclientclock.h:
1352 Use regression code in GstClock parent, remove duplicated
1355 2005-11-22 Michael Smith <msmith@fluendo.com>
1357 * gst/gstutils.c: (gst_util_clock_time_scale):
1359 * docs/gst/gstreamer-sections.txt:
1360 Rename method to have extra underscore.
1362 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1364 * gst/elements/Makefile.am:
1365 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1366 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1367 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1368 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1369 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1370 * gst/elements/gstfakesrc.h:
1371 * gst/gstqueue.c: (queue_leaky_get_type):
1372 correctly fix GEnumValues so that nick is the short lowercase
1374 * tools/gst-inspect.c: (print_element_properties_info):
1375 also show the nick, since it's useful to use from parse_launch
1379 2005-11-22 Michael Smith <msmith@fluendo.com>
1381 * gst/gstutils.c: (gst_util_clocktime_scale):
1383 * docs/gst/gstreamer-sections.txt:
1384 Add util method for scaling a clocktime by a fraction. Useful
1385 implementation is left as an exercise for the reader.
1387 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1389 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1390 If needed, allocate storage in the destination value during
1393 2005-11-22 Edward Hervey <edward@fluendo.com>
1395 * docs/gst/gstreamer-sections.txt:
1400 * gst/gstutils.c: (gst_util_set_object_arg):
1401 * tools/gst-compprep.c: (main):
1402 * tools/gst-inspect.c: (print_element_properties_info):
1403 Removed GstURI, closes bug #321061
1405 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1407 * check/gst/gststructure.c: (GST_START_TEST):
1408 * gst/gststructure.c: (gst_structure_parse_value):
1409 Oops, broke automatic string type parsing.
1410 Add a test to catch it in future.
1412 2005-11-22 Andy Wingo <wingo@pobox.com>
1414 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1415 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1416 Actually rename the function implementations. Grr.
1418 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1420 * check/gst/capslist.h:
1422 * check/gst/gststructure.c: (GST_START_TEST),
1423 (gst_structure_suite):
1424 Test automatic value type detection in gst_structure_from_string.
1425 * gst/gststructure.c: (gst_structure_parse_value):
1426 Add fraction as a type we try and guess automatically in
1427 caps/structure strings.
1429 2005-11-22 Andy Wingo <wingo@pobox.com>
1431 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1433 * gst/gsttagsetter.h:
1434 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1435 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1436 (gst_tag_setter_add_tag_valist)
1437 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1438 _add_values, _add_valist, and _add_valist_values. Since this is an
1439 interface the function suffixes should be more explicit so
1440 language binding don't end up with element.add_valist ->
1441 gst_tag_setter_add_valist, for example. Fixes #322069.
1443 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1445 * check/gst/gstcaps.c: (GST_START_TEST):
1446 Extend caps string tests to check that a caps to string
1447 conversion is reversible and produces the same caps.
1449 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1450 Output "fraction" as the generic type fraction range, so caps
1451 serialisation and deserialisation works.
1452 * check/gst/capslist.h:
1453 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1454 Support 'MIN' and 'MAX' for deserialising fractions.
1456 2005-11-22 Andy Wingo <wingo@pobox.com>
1458 * gst/gstevent.h (gst_event_new_new_segment)
1459 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1460 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1461 Renamed from *_newsegment, *_buffersize, *_notarget.
1463 * scripts/update-funcnames: New script, performs the changes
1466 2005-11-22 Wim Taymans <wim@fluendo.com>
1468 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1469 Make sure the GstFlowReturn is returned.
1471 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1472 (gst_bus_add_signal_watch):
1474 add gst_bus_add_signal_watch_full.
1476 * gst/gstplugin.c: (gst_plugin_load_file):
1477 Small style cleanup.
1479 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1481 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1482 Block the fakesrc srcpad when we send an event, to avoid
1483 contention on the stream_lock causing random test failures.
1485 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1487 * check/gst/gstvalue.c: (GST_START_TEST):
1488 * gst/gstvalue.c: (gst_value_fraction_subtract):
1491 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1494 include "gstchildproxy.h"
1495 * gst/gstchildproxy.h:
1496 * libs/gst/controller/gstcontroller.h:
1497 use G_GNUC_NULL_TERMINATED
1499 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1501 * check/gst/capslist.h:
1502 * check/gst/gstcaps.c: (GST_START_TEST):
1503 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1504 * gst/gststructure.c: (gst_structure_parse_range),
1505 (gst_structure_fixate_field_nearest_fraction):
1506 * gst/gststructure.h:
1507 * gst/gstvalue.c: (gst_value_init_fraction_range),
1508 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1509 (gst_value_collect_fraction_range),
1510 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1511 (gst_value_set_fraction_range_full),
1512 (gst_value_get_fraction_range_min),
1513 (gst_value_get_fraction_range_max),
1514 (gst_value_serialize_fraction_range),
1515 (gst_value_transform_fraction_range_string),
1516 (gst_value_compare_fraction_range),
1517 (gst_value_deserialize_fraction_range),
1518 (gst_value_intersect_fraction_fraction_range),
1519 (gst_value_intersect_fraction_range_fraction_range),
1520 (gst_value_subtract_fraction_fraction_range),
1521 (gst_value_subtract_fraction_range_fraction),
1522 (gst_value_subtract_fraction_range_fraction_range),
1523 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1524 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1525 (gst_value_transform_string_fraction), (_gst_value_initialize):
1527 Implement fraction ranges and extend GstFraction to support
1528 arithmetic subtraction, as well as deserialization from integer
1529 strings such as "100"
1530 Add a testsuite as for int and double range set operations
1532 2005-11-21 Andy Wingo <wingo@pobox.com>
1536 * gst/gststructure.h: Add glib-compat.h.
1538 2005-11-21 Wim Taymans <wim@fluendo.com>
1540 * gst/gstbin.c: (gst_bin_change_state_func):
1543 2005-11-21 Wim Taymans <wim@fluendo.com>
1546 And add a nice define too.
1548 2005-11-21 Wim Taymans <wim@fluendo.com>
1550 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1551 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1552 (gst_segment_set_duration), (gst_segment_set_last_stop),
1553 (gst_segment_set_seek), (gst_segment_set_newsegment),
1554 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1557 Make binding friendly.
1559 2005-11-21 Andy Wingo <wingo@pobox.com>
1561 * gst/gsttagsetter.h:
1563 * gst/gststructure.h:
1565 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1568 * gst/gsterror.c (_gst_core_errors_init):
1569 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1572 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1573 (noinst_HEADERS): noinst the -private.
1575 2005-11-21 Michael Smith <msmith@fluendo.com>
1578 * gst/gstregistry.h:
1579 Remove unimplemented declarations for which we can see no sensible
1582 2005-11-21 Andy Wingo <wingo@pobox.com>
1584 * gst/gst.h: Include glib-compat.h.
1586 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1588 * gst/glib-compat.c: Include the public and the private header.
1590 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1594 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1596 * check/gst/gstevent.c (create_custom_events): Check that
1597 FLUSH_STOP is serialized.
1599 * check/elements/identity.c (event_func):
1600 * check/elements/fakesrc.c (event_func): No stream lock, the core
1603 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1604 stream lock taking, yay.
1606 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1607 ensure that core takes the stream lock.
1609 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1612 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1613 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1614 it already. For the flush start we do take it though so we get the
1615 right preroll state change messages.
1617 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1618 the stream lock here, the core does it for us.
1620 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1621 GST_STREAM_GET_LOCK.
1622 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1623 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1624 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1625 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1626 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1627 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1629 * gst/gstpad.c: Update for stream lock name change.
1631 * gst/base/gstbasesink.c: Update for preroll lock name change.
1633 2005-11-21 Wim Taymans <wim@fluendo.com>
1635 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1636 (gst_clock_get_master):
1638 * gst/gstsystemclock.c: (gst_system_clock_init):
1639 Convert Clock flags to object flags.
1640 Added methods to manage master/slave clocks.
1642 2005-11-21 Wim Taymans <wim@fluendo.com>
1644 * check/gst/gstsegment.c: (GST_START_TEST):
1645 * docs/design/part-TODO.txt:
1646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1647 (gst_base_sink_event), (gst_base_sink_do_sync),
1648 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1649 (gst_base_sink_query), (gst_base_sink_change_state):
1650 * gst/base/gstbasesink.h:
1651 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1652 (gst_base_src_default_newsegment),
1653 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1654 (gst_base_src_get_range), (gst_base_src_loop),
1655 (gst_base_src_change_state):
1656 * gst/base/gstbasesrc.h:
1657 * gst/base/gstbasetransform.c:
1658 (gst_base_transform_prepare_output_buf),
1659 (gst_base_transform_event), (gst_base_transform_change_state):
1660 * gst/base/gstbasetransform.h:
1661 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1662 (gst_collect_pads_event):
1663 * gst/base/gstcollectpads.h:
1664 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1665 (gst_fake_src_create):
1666 * gst/elements/gstfakesrc.h:
1667 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1668 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1669 (gst_segment_set_last_stop), (gst_segment_set_seek),
1670 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1671 (gst_segment_to_running_time), (gst_segment_clip):
1673 More segment updates, replace code in plugins with segment
1676 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1678 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1679 Don't ignore sscanf results
1681 2005-11-21 Andy Wingo <wingo@pobox.com>
1683 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1686 * *.c: Ran scripts/update-macros. Oh yes.
1688 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1689 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1692 * scripts/update-macros: New script. Run it on your files to
1693 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1696 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1698 * docs/gst/Makefile.am:
1699 * docs/gst/gstreamer-docs.sgml:
1700 * docs/gst/gstreamer-sections.txt:
1701 * docs/gst/gstreamer.types:
1703 more docs fixes, add new api to the docs
1705 2005-11-21 Andy Wingo <wingo@pobox.com>
1707 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1708 state_broadcast call.
1710 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1712 2005-11-21 Julien MOUTTE <julien@moutte.net>
1714 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1715 function calls for arrays.
1717 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1719 * docs/random/ensonic/media-device-daemon.txt:
1720 wild idea, can this be done?
1721 * docs/gst/gstreamer-sections.txt:
1726 * gst/gstpluginfeature.c:
1730 doc fixes and additions
1732 2005-11-21 Andy Wingo <wingo@pobox.com>
1734 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1735 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1736 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1737 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1738 private to the basesrc implementation.
1740 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1741 behalf of event function if necessary. It should no longer be
1742 necessary to take the stream lock in pad's event functions. Fixes
1745 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1746 * docs/gst/gstreamer-sections.txt:
1747 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1748 (gst_structure_fixate_field_nearest_double),
1749 (gst_structure_fixate_field_boolean):
1750 * gst/gststructure.h:
1751 * win32/common/libgstreamer.def:
1752 * win32/gstreamer.def:
1754 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1757 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1759 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1760 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1761 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1762 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1763 (gst_fdsrc_uri_handler_init):
1764 * gst/elements/gstfdsrc.h:
1765 Port fd:// URI handler from 0.8 to fdsrc
1767 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1769 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1770 (gst_value_serialize_fourcc):
1772 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1773 consistent with our other format defines (#320324).
1775 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1777 * gst/gstvalue.c: (gst_value_is_fixed):
1778 Revert previous commit. Value lists are by definition
1779 not fixed, as they are a list of possible values.
1781 2005-11-21 Andy Wingo <wingo@pobox.com>
1783 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1784 during the stable series if we need it. Fixes #319178.
1786 * gst/gstevent.c (gst_event_new_filler): Removed.
1788 * check/gst/gstevent.c: Update comment about filler events.
1790 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1792 * gst/gstvalue.c: (gst_value_is_fixed):
1793 Should handle both value arrays and value lists.
1795 2005-11-21 Andy Wingo <wingo@pobox.com>
1797 patch by: Alessandro Dessina <alessandro nnva org>
1799 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1800 functions to access arrays. Fixes #321962.
1802 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1804 * docs/gst/gstreamer.types:
1805 gst_collectpads_get_type => gst_collect_pads_get_type.
1807 * gst/base/gstbasetransform.c:
1808 Remove unused SIGNAL_HANDOFF enum.
1810 2005-11-21 Andy Wingo <wingo@pobox.com>
1812 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1813 the event type (upstream, downstream, serialized). Renamed
1814 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1815 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1816 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1818 * gst/gstevent.c: Update for new CUSTOM event names.
1820 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1823 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1826 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1828 * docs/gst/gstreamer-sections.txt:
1829 * win32/common/libgstbase.def:
1830 * win32/libgstbase.def:
1831 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1832 (gst_collect_pads_class_init), (gst_collect_pads_init),
1833 (gst_collect_pads_finalize), (gst_collect_pads_new),
1834 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1835 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1836 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1837 (gst_collect_pads_start), (gst_collect_pads_stop),
1838 (gst_collect_pads_peek), (gst_collect_pads_pop),
1839 (gst_collect_pads_available), (gst_collect_pads_read),
1840 (gst_collect_pads_flush), (gst_collect_pads_event),
1841 (gst_collect_pads_chain):
1842 * gst/base/gstcollectpads.h:
1843 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1844 unimplemented functions as unimplemented. Add padding to
1845 GstCollectData. (#320766, #320423)
1847 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1850 Improve docs for DURATION message (usage of duration parameter)
1853 2005-11-20 Wim Taymans <wim@fluendo.com>
1855 * check/Makefile.am:
1856 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1860 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1861 (gst_segment_set_seek), (gst_segment_set_newsegment),
1862 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1865 Added segment helper structure and methods. Not fully implemented
1867 Added segment check.
1869 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1871 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1872 Add a deserialisation test for fractions
1873 * examples/metadata/read-metadata.c: (message_loop),
1874 (make_pipeline), (main):
1875 Fix up metadata reading sample.
1876 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1878 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1879 Don't try and fixate empty caps
1880 * gst/gst_private.h:
1881 Wrap in G_BEGIN_DECLS/G_END_DECLS
1882 * gst/gstvalue.c: (gst_value_collect_fraction),
1883 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1884 (gst_value_transform_string_fraction),
1885 (gst_value_compare_fraction):
1886 Add some extra guards to ensure that we don't end up
1887 with an invalid denominator of 0 in a gstfraction and
1888 that fractions always get reduced.
1890 2005-11-20 Wim Taymans <wim@fluendo.com>
1892 * docs/gst/gstreamer-sections.txt:
1903 2005-11-20 Wim Taymans <wim@fluendo.com>
1905 * docs/design/part-TODO.txt:
1907 Make a proper enum of the flag.
1909 2005-11-19 Wim Taymans <wim@fluendo.com>
1911 * docs/design/part-TODO.txt:
1912 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1913 (gst_format_to_quark), (gst_format_register):
1915 * gst/gstquery.c: (_gst_query_initialize),
1916 (gst_query_type_get_name), (gst_query_type_to_quark),
1917 (gst_query_type_register):
1919 Add type to quark and type to string conversions.
1921 2005-11-19 Andy Wingo <wingo@pobox.com>
1923 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1926 2005-11-19 Wim Taymans <wim@fluendo.com>
1928 * docs/design/part-TODO.txt:
1929 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1930 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1931 (gst_bin_handle_message_func):
1933 Make message handling overridable.
1935 2005-11-19 Andy Wingo <wingo@pobox.com>
1937 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1940 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1942 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1943 is a GstClockTime. Fixes #321710.
1945 * gst/gstclock.h (GstClock): Remove offset property. Add
1946 internal_calibration and external_calibration. Fix padding. Pad
1947 also by GstClockTime so we don't run into problems.
1949 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1950 (gst_clock_get_rate_offset): Remove.
1951 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1954 * gst/gstutils.c (g_static_rec_cond_wait)
1955 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1957 * gst/gstbin.c: Remove terrible continue_state prototype.
1959 * gst/gstelement.h (gst_element_continue_state): Make public.
1962 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1963 by continue_state. Fixes #319389.
1965 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1966 Really fixes #168438. However I don't see anywhere where the
1967 filter function is called... stupid GStreamer...
1969 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1970 don't have a dispose function, so it won't get called when the
1971 object is unreffed, but oh well!
1973 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1974 allows a destroy function to be set so user_data can be freed.
1976 (gst_index_set_filter): Call gst_index_set_filter_full.
1978 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1980 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1981 string should produce an error, given the lack of a way to
1982 represent NULL strings. Fixes #165650.
1985 * gst/gstvalue.c (gst_value_array_append_value)
1986 (gst_value_array_prepend_value, gst_value_array_get_size)
1987 (gst_value_array_get_value): New API, copied from
1988 gst_value_list_*, only operates on arrays.
1989 (gst_value_list_append_value, gst_value_list_prepend_value)
1990 (gst_value_list_concat, gst_value_list_get_size)
1991 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1993 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1994 init_list, because it works on both.
1995 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1996 (gst_value_copy_list_or_array): Renamed from copy_list.
1997 (gst_value_free_list_or_array): Renamed from free_list.
1998 (gst_value_collect_list_or_array): Renamed from collect_list.
1999 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2000 (gst_value_list_or_array_peek_pointer): Renamed from
2002 (_gst_value_array_value_table, _gst_value_list_value_table):
2003 Update value table functions.
2004 (gst_value_compare_list_or_array): Renamed from compare_list.
2006 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2010 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2011 GstTagList*. Fixes #143472.
2013 * gst/gststructure.h: Clarify what the foreach/map functions can
2014 or can't do to their arguments.
2016 2005-11-18 Wim Taymans <wim@fluendo.com>
2018 * gst/gstclock.c: (gst_clock_set_calibration),
2019 (gst_clock_get_calibration):
2021 Calibration can be set with internal time equal to current
2024 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2030 2005-11-18 Andy Wingo <wingo@pobox.com>
2033 * pkgconfig/gstreamer-net.pc.in:
2034 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2035 * pkgconfig/Makefile.am: Add net pkgconfig files.
2037 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2040 * gst/gstghostpad.c:
2046 2005-11-18 Andy Wingo <wingo@pobox.com>
2048 * gst/net/gstnetclientclock.c: Turn off debugging.
2050 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2051 times connverge somewhat. Can't make a real test.
2053 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2054 integer arithmetic. Return the minimum of the domain, which can be
2055 set as "internal" for gst_clock_set_calibration.
2056 (gst_net_client_clock_observe_times): Call _set_calibration.
2057 (gst_net_client_clock_new): Call _set_calibration instead of
2060 * check/net/gstnetclientclock.c (test_functioning): Use the right
2064 * gst/gstclock.c (gst_clock_get_calibration)
2065 (gst_clock_set_calibration): New functions, obsolete the ones I
2066 added yesterday. Doh. Precision issues mean we have to extrapolate
2067 from a point in the more recent past than 1970.
2068 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2070 (gst_clock_adjust_unlocked): Use the right calibration data.
2072 2005-11-18 Edward Hervey <edward@fluendo.com>
2074 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2075 Also reset the ->current_* values in READY->PAUSED
2077 2005-11-18 Andy Wingo <wingo@pobox.com>
2079 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2080 Whoops, check the right fd. Also add some debugging.
2081 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2082 (do_linear_regression): Add a crapload of debugging. Subtract off
2083 the minimum values from the input series to discard unneeded bits.
2084 Use only int arithmetic. There is still double arithmetic when
2085 calculating the intercept that needs fixing. Return boolean to
2086 indicate success; FALSE would mean the domain or range is too
2087 great. Still needs fixes.
2089 2005-11-18 Wim Taymans <wim@fluendo.com>
2091 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2092 For the current position in stream time, we need to subtract
2095 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2096 Release lock before calling the callback function of async
2099 2005-11-18 Andy Wingo <wingo@pobox.com>
2101 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2102 Port goes all the way to MAXUINT16.
2104 * gst/net/gstnettimeprovider.c: Make the port range the same as
2105 for the kernel: 0 assigns, otherwise ports are less than
2108 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2111 * check/net/gstnetclientclock.c (test_functioning): Add the start
2114 2005-11-18 Wim Taymans <wim@fluendo.com>
2116 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2117 (gst_bin_remove_func), (bin_bus_handler):
2119 Removing a clock provider from a bin, triggers a clock lost message
2120 so that a new clock will be selected.
2121 Adding a clock to a bin triggers a clock provider message.
2122 Make sure we reselect a clock when we received a clock lost message.
2123 Keep a reference to the element that provided the clock.
2125 2005-11-18 Andy Wingo <wingo@pobox.com>
2127 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2128 the clock initially so it produces values around the base time.
2129 (gst_net_client_clock_class_init): Typo fix.
2130 (gst_net_client_clock_thread): Add note on when the socket gets
2133 2005-11-17 Wim Taymans <wim@fluendo.com>
2135 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2136 Free remote and local time arrays.
2138 2005-11-17 Wim Taymans <wim@fluendo.com>
2140 * gst/net/gstnetclientclock.c: (do_linear_regression),
2141 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2142 Fix compilation, uninitialized vars and a forgotten continue.
2144 2005-11-17 Andy Wingo <wingo@pobox.com>
2146 * check/Makefile.am (check_PROGRAMS):
2147 * check/net/gstnetclientclock.c: Add a most minimal test for the
2148 net client clock. More to come later.
2151 * gst/net/Makefile.am: Add netclientclock.
2153 * gst/net/gstnetclientclock.h:
2154 * gst/net/gstnetclientclock.c: New files, implement an untested
2155 GstClock that takes its time from a network time provider.
2156 Implements the algorithm in network-clock.scm.
2158 * tests/network-clock.scm (*window-size*): Rename from
2160 * tests/network-clock.scm (network-time):
2161 * tests/network-clock-utils.scm (q-push): Update callers.
2163 2005-11-17 Wim Taymans <wim@fluendo.com>
2165 * gst/gstbin.c: (gst_bin_provide_clock_func),
2166 (gst_bin_sort_iterator_new):
2167 And unref the child too..
2169 2005-11-17 Wim Taymans <wim@fluendo.com>
2171 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2172 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2173 Refactor the sort iterator so it can be used while holding the
2175 Make clock selection select a clock closest to the source.
2177 2005-11-17 Michael Smith <msmith@fluendo.com>
2179 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2180 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2182 Anonymous structs are a gcc (and some other compilers) extension, so
2183 don't use them. Since this is only for ABI-compatibility, and our
2184 API/ABI freeze is over in a few days, this whole thing will only
2185 last a few days, so don't bother trying to think up a meaningful
2186 name for the struct.
2188 2005-11-17 Andy Wingo <wingo@pobox.com>
2190 * gst/gstclock.h (GstClock): Add rate and offset properties,
2191 preserving ABI stability. Add rate/offset accessors. Will file bug
2192 for the freeze break.
2194 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2195 and offset, trying to keep precision and avoiding
2197 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2198 functions. Make gst_clock_set_time_adjust obsolete.
2199 (gst_clock_set_time_adjust): Note that this function is obsolete.
2202 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2203 greppable by using GST_PADDING-1+1.
2205 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2207 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2209 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2210 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2212 * gst/gstpadtemplate.h:
2213 * gst/gstpluginfeature.h:
2214 Don't use c++ style comments in headers (#321638).
2216 2005-11-16 Andy Wingo <wingo@pobox.com>
2218 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2221 * check/net/gstnettimeprovider.c: Check to see that the time
2222 provider actually provides times. Works, yo!
2224 2005-11-16 Wim Taymans <wim@fluendo.com>
2226 * check/Makefile.am:
2229 * check/elements/fakesrc.c: (GST_START_TEST):
2230 Set element to NULL before disposing it.
2232 2005-11-16 Andy Wingo <wingo@pobox.com>
2234 * gst/net/Makefile.am:
2236 * gst/net/gstnettimeprovider.c:
2237 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2238 provider, include it from gstnet.h, and add it to the build.
2240 * gst/net/gstnettimepacket.h:
2241 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2242 sending and receiving.
2244 2005-11-16 Wim Taymans <wim@fluendo.com>
2246 * check/Makefile.am:
2247 Enable valgrind check.
2249 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2250 (gst_fake_src_alloc_buffer):
2253 2005-11-16 Wim Taymans <wim@fluendo.com>
2255 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2256 Call parent finalize too.
2258 2005-11-16 Wim Taymans <wim@fluendo.com>
2260 * check/Makefile.am:
2261 Enable valgrind check that should work fine now.
2263 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2264 * gst/gstqueue.c: (gst_queue_init):
2265 Fix memleaks in pad allocation.
2267 2005-11-16 Andy Wingo <wingo@pobox.com>
2269 * gst/net/Makefile.am:
2270 * gst/net/gstnet.h: New part of core to hold network elements and
2271 objects. Put in core because it exposes API that applications want
2272 to use. The library is named libgstnet-tempname right now because
2273 of the existing libgstnet in gst-plugins-base. Solution is
2274 probably to rename the one in plugins-base; will file a bug for
2277 * gst/net/gstnettimeprovider.c:
2278 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2279 get_time call over the network.
2282 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2284 * check/Makefile.am:
2285 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2286 get additions shortly.
2288 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2290 * gst/gstpad.c: (gst_pad_new_from_static_template):
2292 add gst_pad_new_from_static_template functions
2293 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2294 (gst_check_setup_sink_pad):
2295 * gst/elements/gsttee.c: (gst_tee_init):
2298 2005-11-16 Wim Taymans <wim@fluendo.com>
2300 * gst/gstpad.c: (gst_pad_pause_task):
2301 Removed warning, it's not really an error either.
2303 2005-11-16 Wim Taymans <wim@fluendo.com>
2305 * gst/base/gstbasetransform.c:
2306 (gst_base_transform_prepare_output_buf),
2307 (gst_base_transform_event):
2308 Check if the caps are NULL, this can happen if the element
2309 is shutting down and the pad caps are set to NULL.
2311 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2313 * gst/elements/gsttee.c: (gst_tee_init):
2314 fix pad template leak in tee
2316 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2318 * gst/glib-compat.c: (g_value_dup_gst_object):
2319 * gst/glib-compat.h:
2320 * gst/gstpad.c: (gst_pad_set_property):
2321 use gst_object_ref when setting the pad template; this will
2322 trigger the pad template leaks on GLib 2.6 and the slaves
2324 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2326 * gst/glib-compat.c: (gst_flags_get_first_value):
2327 * gst/glib-compat.h:
2328 * gst/gstregistryxml.c:
2329 remove functions copied from GLib 2.6
2331 2005-11-16 Michael Smith <msmith@fluendo.com>
2334 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2335 do, but only breaks with newer valgrind versions. We're not a
2336 valgrind tool, we have no link-time dependencies on libcoregrind.
2338 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2340 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2345 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2347 * gst/base/gstbasesrc.c: (gst_base_src_init):
2348 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2349 * gst/gstqueue.c: (gst_queue_init):
2350 * gst/gstregistryxml.c: (load_feature):
2351 Revert all these unrefs, they don't even pass make check !
2353 2005-11-15 Johan Dahlin <johan@gnome.org>
2355 * gst/base/gstbasesrc.c: (gst_base_src_init):
2356 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2357 * gst/gstqueue.c: (gst_queue_init):
2358 Free pad templates, fixes a couple of leaks.
2360 2005-11-15 Daniel Fischer <dan at f3c dot com>
2362 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2364 * gst/gstpad.c: (gst_pad_get_property):
2365 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2366 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2369 2005-11-15 Wim Taymans <wim@fluendo.com>
2374 2005-11-15 Andy Wingo <wingo@pobox.com>
2376 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2378 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2379 using GST_CLOCK_TIME_NONE to disable base time management.
2380 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2381 time if it was NONE before.
2382 (gst_pipeline_change_state): Only munge the base time if
2383 stream_time != GST_CLOCK_TIME_NONE.
2385 * check/gst/gstpipeline.c (test_base_time): Punt around the
2386 problem of the probe not being called, because that's not the
2387 issue I'm looking at. Add a check that setting stream_time to NONE
2388 disables base time management.
2390 2005-11-15 Wim Taymans <wim@fluendo.com>
2392 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2393 segment_stop == -1 at startup.
2395 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2396 (gst_base_transform_change_state):
2397 Init segment values at start.
2399 2005-11-15 Wim Taymans <wim@fluendo.com>
2401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2402 0 segment values are 0 in any format.
2404 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2405 * gst/base/gstbasetransform.h:
2406 Parse newsegment correctly in basetransform
2408 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2409 Sync to clock using updated segment values.
2411 2005-11-15 Andy Wingo <wingo@pobox.com>
2413 * check/gst/gstpipeline.c (test_base_time): Add check that the
2414 base time and stream time are reset correctly.
2416 2005-11-15 Wim Taymans <wim@fluendo.com>
2418 * docs/design/part-TODO.txt:
2419 Some more TODO items.
2421 2005-11-15 Andy Wingo <wingo@pobox.com>
2423 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2424 error if the user selected "no clock" as the clocking method.
2426 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2427 timestamps with live capture.
2429 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2430 is 0 but we are a live source, timestamp the buffers using the
2433 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2435 * docs/gst/gstreamer-sections.txt:
2437 * gst/gstghostpad.c:
2442 2005-11-14 Wim Taymans <wim@fluendo.com>
2445 add suppressions from Wim's Debian machine
2447 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2450 add suppressions from Andy's AMD64 Ubuntu machine
2452 2005-11-14 Andy Wingo <wingo@pobox.com>
2454 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2455 STATE_LOCK not necessary. Fixes #311489.
2457 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2460 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2461 this function is not implemented.
2463 2005-11-14 Julien MOUTTE <julien@moutte.net>
2465 * gst/base/gstbasetransform.c:
2466 (gst_base_transform_prepare_output_buf):
2467 Ref the source pad caps while we need them.
2470 2005-11-11 Wim Taymans <wim@fluendo.com>
2472 * docs/gst/gstreamer-sections.txt:
2473 Added some docs for GstCollectData.
2475 * gst/base/gstadapter.c:
2476 Some small code example fix.
2478 * gst/base/gstcollectpads.c:
2479 * gst/base/gstcollectpads.h:
2482 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2484 * configure.ac: back to HEAD
2486 === release 0.9.5 ===
2488 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2491 releasing 0.9.5, "Bike Lunch Day"
2493 2005-11-11 Wim Taymans <wim@fluendo.com>
2495 * gst/gstbuffer.c: (_gst_buffer_copy):
2498 * gst/gstcaps.c: (gst_caps_is_equal):
2500 Make _is_equal fast in the trivial cases.
2502 * gst/gstminiobject.c:
2503 * gst/gstminiobject.h:
2504 More docs. Spifify .h file.
2509 2005-11-11 Wim Taymans <wim@fluendo.com>
2511 * gst/base/gstbasetransform.c:
2512 (gst_base_transform_prepare_output_buf),
2513 (gst_base_transform_handle_buffer):
2515 If we're processing a buffer and need to allocate an output
2516 buffer, we cannot accept a format change. If we did get a
2517 format change, we have to alloc a buffer ourselves of the
2520 2005-11-11 Wim Taymans <wim@fluendo.com>
2522 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2523 While checking the flag for reentrancy in the gstcaps function
2524 is nice to detect recursive invocations, it also makes it
2525 impossible to call getcaps from multiple threads, which must be
2526 possible. So, checking for recursive calls has to go.
2528 2005-11-11 Michael Smith <msmith@fluendo.com>
2530 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2531 Don't sync on buffers that fall partially outside our current
2532 segment. Prevents an assertion failure/abort playing some files.
2534 2005-11-10 Andy Wingo <wingo@pobox.com>
2536 * check/gst/gstbin.c (test_message_state_changed_children): Style
2539 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2540 gst_bus_poll with the signal watch. Ensures that poll and a signal
2541 watch see the same messages.
2543 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2544 a poll and a watch at the same time get the same messages.
2546 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2548 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2549 * gst/gstcaps.c: (gst_caps_intersect):
2550 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2551 and it's not needed.
2553 2005-11-10 Wim Taymans <wim@fluendo.com>
2555 * docs/design/part-TODO.txt:
2558 2005-11-10 Wim Taymans <wim@fluendo.com>
2560 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2561 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2562 (gst_base_src_do_sync), (gst_base_src_get_range):
2563 Implement clock sync in base class.
2565 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2567 patch by: Tim-Philipp Müller <tim at centricular dot net>
2569 * gst/gststructure.c: (gst_structure_parse_field),
2570 (gst_structure_from_string):
2571 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2572 so that gst_parse_launch() can deal with spaces in filtered link
2573 caps (fixes #164479)
2574 * check/gst/capslist.h:
2575 * check/gst/gststructure.c: (GST_START_TEST):
2576 add unit tests for this change
2578 2005-11-10 Wim Taymans <wim@fluendo.com>
2580 * docs/gst/gstreamer-sections.txt:
2583 Fix docs, move some STATE macros to private.
2585 2005-11-10 Wim Taymans <wim@fluendo.com>
2587 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2588 Added check for bug #317341
2592 Some more spiffifying.
2594 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2595 Call peer linkfunction if we are a source pad. Totally fixes
2599 Update docs, source pads should call the peer linkfunction
2600 so they can atomically perform the pad link.
2602 2005-11-09 Wim Taymans <wim@fluendo.com>
2606 Uber-spiffy-spiffify some more.
2608 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2610 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2611 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2612 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2613 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2614 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2615 * gst/gstpad.c: (gst_pad_init):
2616 Use GST_DEBUG_FUNCPTR() more extensively.
2618 2005-11-09 Wim Taymans <wim@fluendo.com>
2620 * gst/gstobject.c: (gst_object_class_init):
2622 Documentation fixes.
2624 2005-11-09 Edward Hervey <edward@fluendo.com>
2626 * gst/gsttypefindfactory.c:
2629 2005-11-09 Edward Hervey <edward@fluendo.com>
2631 * gst/base/gsttypefindhelper.c:
2632 * gst/gsttypefind.c:
2633 * gst/gsttypefind.h:
2636 2005-11-09 Wim Taymans <wim@fluendo.com>
2638 * gst/gstiterator.c:
2645 2005-11-09 Wim Taymans <wim@fluendo.com>
2651 2005-11-09 Wim Taymans <wim@fluendo.com>
2653 * docs/gst/gstreamer-sections.txt:
2654 Moved the message async delivery private lock and cond
2655 to the private section.
2661 2005-11-09 Edward Hervey <edward@fluendo.com>
2663 * docs/gst/gstreamer-sections.txt:
2666 Document GstURIHandler
2668 2005-11-09 Wim Taymans <wim@fluendo.com>
2670 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2671 (gst_iterator_find_custom):
2672 * gst/gstiterator.h:
2675 2005-11-09 Wim Taymans <wim@fluendo.com>
2678 Document another field.
2680 * gst/gststructure.c:
2681 * gst/gststructure.h:
2684 2005-11-09 Wim Taymans <wim@fluendo.com>
2689 2005-11-09 Wim Taymans <wim@fluendo.com>
2691 * docs/gst/gstreamer-sections.txt:
2692 Added some new macros.
2699 2005-11-09 Wim Taymans <wim@fluendo.com>
2701 * docs/design/part-TODO.txt:
2702 Some more items for the TODO
2708 2005-11-09 Andy Wingo <wingo@pobox.com>
2710 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2711 to work on something else now tho...
2713 * gst/base/gstadapter.c: More adapter docs.
2715 * gst/elements/gstfilesink.c (gst_file_sink_start)
2716 (gst_file_sink_stop): New functions, replace the state change
2718 (gst_file_sink_class_init): Hook up the start and stop functions.
2719 (gst_file_sink_base_init): Don't set the state change handler any
2720 more. It was a bit ugly too, being set from here...
2721 (gst_file_sink_get_property, gst_file_sink_set_property):
2723 (gst_file_sink_set_location): More robust check that doesn't call
2726 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2728 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2729 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2731 2005-11-08 Wim Taymans <wim@fluendo.com>
2733 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2734 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2735 (gst_base_sink_chain), (gst_base_sink_change_state):
2736 * gst/base/gstbasesink.h:
2737 * gst/base/gstbasesrc.h:
2740 Avoid excessive typechecking in macros.
2742 * gst/gstminiobject.c: (gst_mini_object_get_type),
2743 (gst_mini_object_init), (gst_mini_object_new),
2744 (gst_mini_object_free):
2745 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2746 (gst_object_finalize):
2747 Remove cruft code, optimize alloc_trace.
2749 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2751 * docs/faq/gst-uninstalled:
2752 fix up PS1 for systems that try to reset it
2754 2005-11-07 Wim Taymans <wim@fluendo.com>
2756 * gst/base/gstbasesrc.c: (gst_base_src_init),
2757 (gst_base_src_get_range):
2758 Set the segment_end to -1 initially. Fixed typefind.
2760 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2762 * gst/base/gstadapter.c:
2763 Debug category should be 'adapter', not 'GstAdapter'.
2765 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2766 (gst_collectpads_class_init), (gst_collectpads_init),
2767 (gst_collectpads_peek), (gst_collectpads_pop),
2768 (gst_collectpads_event), (gst_collectpads_chain):
2769 Add debug category and some debugging output. Use boilerplate
2770 macros. Remove some extraneous words from docs.
2772 2005-11-05 Andy Wingo <wingo@pobox.com>
2774 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2777 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2779 * docs/gst/gstreamer-sections.txt:
2782 * gst/gstminiobject.h:
2787 2005-11-04 Wim Taymans <wim@fluendo.com>
2789 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2790 Small update to stop at the configured segment_end
2793 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2795 * gst/gstregistry.c:
2796 * gst/gstregistry.h:
2799 2005-11-04 Edward Hervey <edward@fluendo.com>
2801 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2802 Check if we are doing a segment seek and have arrived at the
2803 end of that segment.
2805 2005-11-04 Wim Taymans <wim@fluendo.com>
2807 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2808 Don't leak a mutex unlock in case of an error.
2813 2005-11-04 Wim Taymans <wim@fluendo.com>
2815 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2817 Get the context to wake up only once.
2819 2005-11-03 Wim Taymans <wim@fluendo.com>
2821 * check/states/sinks.c: (GST_START_TEST):
2822 Uncomment fixed check.
2824 * docs/design/part-TODO.txt:
2827 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2828 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2829 (gst_base_sink_get_position):
2830 If we are going to PLAYING, post the right pending state
2831 when we post the intermediate paused message.
2833 * gst/gstelement.c: (gst_element_continue_state),
2834 (gst_element_set_state_func), (gst_element_change_state):
2835 Don't post state changes that were between the same state
2838 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2840 * docs/gst/gstreamer-sections.txt:
2843 * gst/gstminiobject.h:
2846 more docs and doc style fixes
2848 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2850 * docs/gst/gstreamer-sections.txt:
2852 * gst/gstminiobject.c:
2855 2005-11-03 Andy Wingo <wingo@pobox.com>
2857 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2858 state-changed messages actually have the right order and the right
2861 2005-11-03 Wim Taymans <wim@fluendo.com>
2863 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2864 Added some more checks. Specifically the case where NO_PREROLL
2865 elements are in the pipeline.
2867 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2868 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2869 (gst_base_sink_get_position):
2870 Post READY->PAUSED state change messages too.
2871 Fix bug where VOID was posted as pending state...
2873 * gst/gstbin.c: (gst_bin_recalc_state):
2874 use _element_continue_state() to continue the state change.
2876 * gst/gstelement.c: (gst_element_continue_state),
2877 (gst_element_commit_state), (gst_element_set_state_func),
2878 (gst_element_change_state), (gst_element_change_state_func):
2879 Lots of state change cleanups, assign the STATE_RETURN in
2880 a new continue_state() function that also propagates the
2881 last return value from a state change to the app.
2882 Update some debug statements with proper category.
2884 2005-11-03 Wim Taymans <wim@fluendo.com>
2886 * docs/design/part-events.txt:
2887 * docs/design/part-gstpipeline.txt:
2888 * docs/design/part-messages.txt:
2889 * docs/design/part-overview.txt:
2890 * docs/design/part-seeking.txt:
2891 * docs/design/part-states.txt:
2892 * docs/design/part-trickmodes.txt:
2893 * docs/manual/advanced-position.xml:
2897 People think !! is ugly, this looks better.
2899 * gst/gstpad.c: (gst_pad_set_blocked_async):
2900 Remove !! since it's fixed elsewhere now.
2902 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2904 * gst/gstminiobject.h:
2906 Add !! to _FLAG_IS_SET macros to make the result boolean.
2908 2005-11-03 Edward Hervey <edward@fluendo.com>
2910 * gst/gstpad.c: (gst_pad_set_blocked_async):
2911 comparing a flag and a gboolean rarely returns coherent results...
2912 Added two characters (!!) to make that work correctly.
2914 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2916 * gst/gstbus.c: (gst_bus_class_init):
2919 * gst/gstqueue.c: (gst_queue_loop):
2920 Don't assume a miniobject that isn't a buffer is an
2921 event (it could be that there is a refcounting
2922 problem somewhere and the pointer is stale and
2923 refers to an already destroyed miniobject).
2925 2005-11-03 Julien MOUTTE <julien@moutte.net>
2927 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2929 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2931 * docs/manual/advanced-position.xml:
2932 Update seek example and explanations to current 0.9 API.
2934 * gst/elements/gsttypefindelement.c:
2935 (gst_type_find_element_activate):
2936 Remove FIXME comment now that the found caps
2939 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2941 * gst/gstregistryxml.c: (load_feature):
2942 Add another GST_STR_NULL instance
2944 2005-11-02 Edward Hervey <edward@fluendo.com>
2946 * gst/gstpad.c: (handle_pad_block):
2947 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2949 2005-11-02 Wim Taymans <wim@fluendo.com>
2954 * gst/gstelement.c: (gst_element_commit_state):
2955 Remove unused value.
2957 * gst/gstiterator.c:
2958 Mention that the returned element is reffed in the docs.
2960 2005-11-02 Wim Taymans <wim@fluendo.com>
2962 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2963 (gst_pad_push), (gst_pad_push_event):
2964 Unlock blocked pads when they are flushed.
2966 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2969 * docs/gst/gstreamer-sections.txt:
2972 * gst/gstregistry.c: (gst_registry_scan_path_level):
2973 fix for a nasty little missed situation where an installed plug-in
2974 which was in the cache did not get overridden by an uninstalled one
2975 which was earlier in the plugin path because the newly created plugin
2976 for the uninstalled one (not in the registry) didn't get its
2977 ->registered set to TRUE
2979 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2981 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2982 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2983 (gst_collectpads_is_active), (gst_collectpads_collect),
2984 (gst_collectpads_collect_range), (gst_collectpads_start),
2985 (gst_collectpads_stop), (gst_collectpads_peek),
2986 (gst_collectpads_pop), (gst_collectpads_available),
2987 (gst_collectpads_read), (gst_collectpads_flush):
2988 Guard public API with assertions.
2991 Fix docs for gst_pad_set_link_function().
2993 2005-11-02 Johan Dahlin <johan@gnome.org>
2995 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2996 Unref found_caps after we used it.
2998 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3000 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3001 Don't try to ref NULL.
3003 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3005 * win32/common/config.h.in:
3006 provide a GST_FUNCTION that just gives a string for now
3008 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3010 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3011 (gst_object_flags_get_type), (register_gst_bin_flags),
3012 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3013 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3014 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3015 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3016 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3017 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3018 (gst_clock_flags_get_type), (register_gst_state),
3019 (gst_state_get_type), (register_gst_state_change_return),
3020 (gst_state_change_return_get_type), (register_gst_state_change),
3021 (gst_state_change_get_type), (register_gst_element_flags),
3022 (gst_element_flags_get_type), (register_gst_core_error),
3023 (gst_core_error_get_type), (register_gst_library_error),
3024 (gst_library_error_get_type), (register_gst_resource_error),
3025 (gst_resource_error_get_type), (register_gst_stream_error),
3026 (gst_stream_error_get_type), (register_gst_event_type),
3027 (gst_event_type_get_type), (register_gst_seek_type),
3028 (gst_seek_type_get_type), (register_gst_seek_flags),
3029 (gst_seek_flags_get_type), (register_gst_format),
3030 (gst_format_get_type), (register_gst_index_certainty),
3031 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3032 (gst_index_entry_type_get_type),
3033 (register_gst_index_lookup_method),
3034 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3035 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3036 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3037 (gst_index_flags_get_type), (register_gst_debug_level),
3038 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3039 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3040 (gst_iterator_result_get_type), (register_gst_iterator_item),
3041 (gst_iterator_item_get_type), (register_gst_message_type),
3042 (gst_message_type_get_type), (register_gst_mini_object_flags),
3043 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3044 (gst_pad_link_return_get_type), (register_gst_flow_return),
3045 (gst_flow_return_get_type), (register_gst_activate_mode),
3046 (gst_activate_mode_get_type), (register_gst_pad_direction),
3047 (gst_pad_direction_get_type), (register_gst_pad_flags),
3048 (gst_pad_flags_get_type), (register_gst_pad_presence),
3049 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3050 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3051 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3052 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3053 (gst_plugin_flags_get_type), (register_gst_rank),
3054 (gst_rank_get_type), (register_gst_query_type),
3055 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3056 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3057 (gst_tag_flag_get_type), (register_gst_task_state),
3058 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3059 (gst_alloc_trace_flags_get_type),
3060 (register_gst_type_find_probability),
3061 (gst_type_find_probability_get_type), (register_gst_uri_type),
3062 (gst_uri_type_get_type), (register_gst_parse_error),
3063 (gst_parse_error_get_type):
3064 * win32/common/gstversion.h:
3067 2005-11-01 Luca Ognibene <luogni@tin.it>
3070 fix docs. popt is dead, long live GOption.
3072 2005-10-31 Wim Taymans <wim@fluendo.com>
3077 2005-10-31 Andy Wingo <wingo@pobox.com>
3081 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3083 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3084 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3085 the possibility of deadlocks here if code calling notify() or
3086 set() has a lock that can be taken in another notify handler (ABBA
3087 with class lock and e.g. python GIL state lock).
3089 2005-10-28 Julien MOUTTE <julien@moutte.net>
3091 * gst/gstbus.c: Doc updates.
3093 2005-10-28 Wim Taymans <wim@fluendo.com>
3095 * docs/design/part-TODO.txt:
3096 * gst/gstiterator.c:
3097 * gst/gstsystemclock.c:
3098 * gst/gstsystemclock.h:
3101 2005-10-28 Edward Hervey <edward@fluendo.com>
3103 * docs/gst/gstreamer-docs.sgml:
3104 * docs/gst/gstreamer-sections.txt:
3105 the GstURIType documentation page is private, it only defines GstURIType
3106 which should be defined in the GstURIHandler page
3108 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3110 * gst/gstbin.c: (gst_bin_class_init):
3113 Documentation updates.
3115 2005-10-28 Wim Taymans <wim@fluendo.com>
3117 * docs/gst/gstreamer-sections.txt:
3120 Documented the clocks.
3122 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3124 * docs/gst/gstreamer-sections.txt:
3125 move some macros to private sections
3126 * gst/gstminiobject.c:
3127 * gst/gstminiobject.h:
3128 add descriptions provided by ds and some more
3130 mark macro as to be removed
3132 2005-10-28 Wim Taymans <wim@fluendo.com>
3134 * docs/design/part-TODO.txt:
3135 Add an item to TODO.
3137 * gst/gstiterator.c: (gst_iterator_fold),
3138 (gst_iterator_find_custom):
3139 * gst/gstiterator.h:
3142 2005-10-28 Wim Taymans <wim@fluendo.com>
3144 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3145 (gst_base_transform_init):
3148 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3149 An EOS event marks the queue as completely filled.
3151 2005-10-27 Wim Taymans <wim@fluendo.com>
3153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3154 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3155 Some more debugging.
3157 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3158 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3159 (gst_base_transform_event), (gst_base_transform_getrange),
3160 (gst_base_transform_chain):
3161 * gst/base/gstbasetransform.h:
3163 Protect transform and concurrent buffer alloc with a new lock.
3164 Try not to break ABI/API.
3166 2005-10-27 Wim Taymans <wim@fluendo.com>
3168 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3169 (gst_base_src_init), (gst_base_src_query),
3170 (gst_base_src_default_newsegment),
3171 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3172 (gst_base_src_send_event), (gst_base_src_event_handler),
3173 (gst_base_src_pad_get_range), (gst_base_src_loop),
3174 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3175 (gst_base_src_start), (gst_base_src_deactivate),
3176 (gst_base_src_activate_push), (gst_base_src_change_state):
3177 Move some stuff around and cleanup things.
3179 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3181 * gst/base/gstbasesrc.c: (gst_base_src_query):
3182 Add missing break statements.
3184 2005-10-27 Wim Taymans <wim@fluendo.com>
3186 * check/gst/gstbin.c: (GST_START_TEST):
3187 An extra refcount is taken in basesrc.
3189 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3190 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3191 (gst_base_src_loop):
3192 Small cleanups, check for flushing after being unlocked from the
3193 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3194 Don't send out EOS when going to READY.
3196 2005-10-27 Wim Taymans <wim@fluendo.com>
3198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3199 (gst_base_sink_get_position):
3202 * gst/gstbin.c: (message_check), (bin_replace_message),
3203 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3204 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3205 (bin_query_duration_init), (bin_query_duration_fold),
3206 (bin_query_duration_done), (bin_query_generic_fold),
3208 * tools/gst-launch.c: (main):
3211 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3213 * examples/controller/audio-example.c: (main):
3214 * examples/queue/queue.c: (event_loop):
3215 * gst/base/gstbasetransform.h:
3216 * gst/gstelement.c: (gst_element_send_event):
3218 * gst/gstpad.c: (gst_pad_send_event):
3221 changing log priority in error situations
3223 2005-10-25 Wim Taymans <wim@fluendo.com>
3225 * gst/gstbin.c: (message_check), (bin_replace_message),
3226 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3227 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3228 (bin_query_duration_init), (bin_query_duration_fold),
3229 (bin_query_duration_done), (bin_query_generic_fold),
3231 Some doc and debug updates.
3232 Cache previously requested query DURATION for speed. invalidate
3233 cached duration if element posts a DURATION message.
3235 2005-10-25 Wim Taymans <wim@fluendo.com>
3237 * docs/design/part-TODO.txt:
3240 * gst/gstbin.c: (message_check), (bin_replace_message),
3241 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3242 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3243 (bin_query_duration_init), (bin_query_duration_fold),
3244 (bin_query_duration_done), (bin_query_generic_fold),
3246 Handle SEGMENT_START/DONE messages correctly.
3247 More evolved query algorithm that handles duration queries
3250 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3251 (gst_element_get_state_func), (gst_element_abort_state),
3252 (gst_element_commit_state), (gst_element_lost_state):
3253 Some more debugging.
3258 2005-10-25 Wim Taymans <wim@fluendo.com>
3260 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3261 Don't use invalid stream_time.
3263 * gst/gstevent.c: (gst_event_new_newsegment):
3264 stream_time in newsegment cannot be undefined.
3266 2005-10-24 Wim Taymans <wim@fluendo.com>
3271 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3273 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3275 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3277 * docs/libs/tmpl/gstdparam.sgml:
3278 * docs/libs/tmpl/gstdplinint.sgml:
3279 * docs/libs/tmpl/gstdpman.sgml:
3280 * docs/libs/tmpl/gstdpsmooth.sgml:
3281 * docs/libs/tmpl/gstunitconvert.sgml:
3284 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3289 === release 0.9.4 ===
3291 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3294 releasing 0.9.4, "Tyrannosaurus Rex"
3296 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3298 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3299 (gst_file_sink_get_current_offset):
3300 Use fseeko() and ftello() if available. When falling back on
3301 lseek() to get the current offset, fflush() first to make sure
3302 everything is up-to-date and we get the right offset.
3304 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3307 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3308 * gst/gsterror.c: (_gst_stream_errors_init):
3310 * gst/gstqueue.c: (gst_queue_loop):
3312 remove prematurely added error category and clean up the instances
3314 2005-10-21 Wim Taymans <wim@fluendo.com>
3316 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3317 (gst_base_sink_get_position), (gst_base_sink_query),
3318 (gst_base_sink_change_state):
3319 Simply set the right flag when going to playing, that's all
3320 we need to do instead of calling a function inside the object
3321 lock (that could take the lock as well and deadlock)
3323 2005-10-21 Wim Taymans <wim@fluendo.com>
3325 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3326 (gst_base_src_loop):
3327 Don't warn, the peer element knows what to do best when
3328 the seek failed, it might try something else.
3330 2005-10-21 Wim Taymans <wim@fluendo.com>
3332 * gst/base/gstbasesrc.c: (gst_base_src_init),
3333 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3336 2005-10-21 Wim Taymans <wim@fluendo.com>
3338 * docs/design/part-segments.txt:
3341 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3342 Correctly set caps, even on the subbufer.
3344 2005-10-21 Wim Taymans <wim@fluendo.com>
3346 * docs/gst/gstreamer-docs.sgml:
3347 * docs/gst/gstreamer-sections.txt:
3354 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3358 And 2% more doc coverage.
3360 2005-10-21 Andy Wingo <wingo@pobox.com>
3362 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3365 2005-10-20 Wim Taymans <wim@fluendo.com>
3367 * gst/gsterror.c: (gst_error_get_message):
3370 * gst/gststructure.c:
3375 2005-10-20 Wim Taymans <wim@fluendo.com>
3380 Another 1% more coverage.
3382 2005-10-20 Wim Taymans <wim@fluendo.com>
3384 * docs/gst/gstreamer-sections.txt:
3385 * gst/gstelement.c: (gst_element_get_state_func),
3386 (gst_element_abort_state), (gst_element_commit_state),
3387 (gst_element_lost_state):
3389 * gst/gstquery.c: (gst_query_set_position),
3390 (gst_query_parse_position), (gst_query_set_duration),
3391 (gst_query_parse_duration), (gst_query_new_convert):
3393 Yay! 1% more docs coverage.
3395 2005-10-20 Wim Taymans <wim@fluendo.com>
3398 * gst/gstquery.c: (gst_query_set_position),
3399 (gst_query_parse_position), (gst_query_set_duration),
3400 (gst_query_parse_duration), (gst_query_new_convert):
3402 * gst/gstutils.c: (gst_element_query_convert):
3404 Docs and consistency fixes.
3406 2005-10-20 Wim Taymans <wim@fluendo.com>
3412 2005-10-20 Wim Taymans <wim@fluendo.com>
3414 * gst/gstbin.c: (message_check), (bin_replace_message),
3415 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3416 (update_degree), (gst_bin_sort_iterator_next),
3417 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3418 Reworked the message handling a bit, cache the messages instead of
3419 only the senders. alows us to do more in the future.
3421 2005-10-20 Wim Taymans <wim@fluendo.com>
3423 * docs/design/part-TODO.txt:
3426 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3427 (gst_base_sink_query):
3428 Don't use clock time to report position when in EOS.
3430 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3432 * tools/gst-inspect.c: (print_interfaces),
3433 (print_element_properties_info), (print_element_info):
3434 Fix interface output with gst-inspect -a; don't print
3435 newlines after double/float properties.
3437 2005-10-20 Wim Taymans <wim@fluendo.com>
3439 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3440 (gst_base_sink_query):
3441 Speed up current position calculation.
3443 * gst/base/gstbasesrc.c: (gst_base_src_query),
3444 (gst_base_src_default_newsegment):
3445 Correctly set stream position in newsegment.
3447 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3448 (update_degree), (gst_bin_sort_iterator_next),
3449 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3450 * gst/gstmessage.c: (gst_message_new_custom):
3451 Clean up debugging info
3453 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3454 (gst_queue_loop), (gst_queue_handle_src_query):
3457 2005-10-19 Wim Taymans <wim@fluendo.com>
3459 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3460 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3461 Fix query handling again.
3463 2005-10-19 Wim Taymans <wim@fluendo.com>
3465 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3466 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3467 * gst/base/gstbasesrc.c: (gst_base_src_query):
3468 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3469 * gst/elements/gsttypefindelement.c:
3470 (gst_type_find_handle_src_query), (find_element_get_length),
3471 (gst_type_find_element_activate):
3474 * gst/gstquery.c: (gst_query_new_position),
3475 (gst_query_set_position), (gst_query_parse_position),
3476 (gst_query_new_duration), (gst_query_set_duration),
3477 (gst_query_parse_duration), (gst_query_set_segment),
3478 (gst_query_parse_segment):
3480 Bundling query position/duration is not a good idea since duration
3481 does not change much and we don't want to recalculate it for every
3482 position query, so they are separated again..
3483 Base value in segment query is not needed.
3485 * gst/gstqueue.c: (gst_queue_handle_src_query):
3486 * gst/gstutils.c: (gst_element_query_position),
3487 (gst_element_query_duration), (gst_pad_query_position),
3488 (gst_pad_query_duration):
3490 Updates for query API change.
3491 Added some docs here and there.
3493 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3495 * check/gst/gstbin.c: (GST_START_TEST):
3496 * check/gst/gstghostpad.c: (GST_START_TEST):
3497 * check/pipelines/cleanup.c: (GST_START_TEST):
3498 wait on thread to die so we can check refcount correctly
3500 2005-10-18 Wim Taymans <wim@fluendo.com>
3502 * check/pipelines/stress.c: (GST_START_TEST):
3503 Make check a little more time consuming.
3505 2005-10-18 Wim Taymans <wim@fluendo.com>
3507 * check/Makefile.am:
3508 * check/pipelines/stress.c: (GST_START_TEST),
3509 (simple_launch_lines_suite), (main):
3510 Small state change torture test.
3512 * docs/design/part-states.txt:
3513 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3514 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3515 (gst_base_sink_change_state):
3516 Never take state lock from streaming thread, clean up ugly
3517 hacks. Unfortunatly core does not yet support nice ways to
3520 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3522 Start state recalc if a STATE_DIRTY message is posted, but only
3523 on the toplevel bin.
3525 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3526 (gst_element_get_state_func), (gst_element_abort_state),
3527 (gst_element_commit_state), (gst_element_lost_state),
3528 (gst_element_set_state_func), (gst_element_change_state):
3530 State variables are now protected with the LOCK, the state
3531 lock is only used to serialize _set_state().
3533 2005-10-18 Wim Taymans <wim@fluendo.com>
3535 * check/gst/gstbin.c: (GST_START_TEST):
3536 * check/gst/gstmessage.c: (GST_START_TEST):
3537 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3540 * gst/gstelement.c: (gst_element_abort_state),
3541 (gst_element_commit_state), (gst_element_lost_state):
3542 * gst/gstmessage.c: (gst_message_new_state_changed),
3543 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3544 (gst_message_new_segment_done), (gst_message_new_duration),
3545 (gst_message_parse_state_changed),
3546 (gst_message_parse_segment_start),
3547 (gst_message_parse_segment_done), (gst_message_parse_duration):
3549 * tools/gst-launch.c: (event_loop):
3550 Seriously, this is better than a previous commit as we only need
3551 to notify the fact that an element changed state in a streaming
3552 thread, marking the state of the parents dirty, hence the
3553 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3556 2005-10-18 Wim Taymans <wim@fluendo.com>
3558 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3559 (gst_bin_recalc_func):
3560 * gst/gstelement.c: (gst_element_set_clock),
3561 (gst_element_abort_state), (gst_element_lost_state):
3562 Cleanups, prepare for state change fixes.
3564 2005-10-18 Wim Taymans <wim@fluendo.com>
3567 * gst/gstelement.c: (gst_element_class_init),
3568 (gst_element_set_state), (gst_element_set_state_func):
3570 Pending ABI changes.
3571 GThreadPool in GstBinClass to monitor async state changes.
3572 state_cookie in GstElement to detect concurrent gst/set state.
3573 set_state is now virtual too in case a very complicated element
3574 has to be constructed.
3576 2005-10-18 Wim Taymans <wim@fluendo.com>
3578 * check/gst/gstbin.c: (GST_START_TEST):
3579 * check/gst/gstmessage.c: (GST_START_TEST):
3580 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3581 * gst/gstbin.c: (bin_bus_handler):
3582 * gst/gstelement.c: (gst_element_commit_state),
3583 (gst_element_lost_state):
3584 * gst/gstmessage.c: (gst_message_new_state_changed),
3585 (gst_message_new_segment_start), (gst_message_new_segment_done),
3586 (gst_message_new_duration), (gst_message_parse_state_changed),
3587 (gst_message_parse_segment_start),
3588 (gst_message_parse_segment_done), (gst_message_parse_duration):
3590 * tools/gst-launch.c: (event_loop):
3591 Make messages future proof.
3592 state-change gets a flag if it was a message comming from the
3594 segment-start/stop can also be specified in other formats.
3595 A message to notify an app that a pipeline changed playback
3597 Also fix a GstMessage leak in -launch
3599 2005-10-18 Andy Wingo <wingo@pobox.com>
3601 * gst/gstelement.c (gst_element_dispose): More helpful message.
3603 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3605 reviewed by: <delete if not using a buddy>
3607 * common/gtk-doc.mak:
3609 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3611 * gst/gstregistry.c: (gst_registry_scan_path_level):
3612 unref a plug-in we get that was already initialized
3614 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3616 * docs/gst/gstreamer-sections.txt:
3617 * docs/libs/gstreamer-libs-sections.txt:
3622 2005-10-17 Andy Wingo <wingo@pobox.com>
3624 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3627 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3629 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3631 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3632 (gst_element_get_state_func): Better debug message.
3633 (gst_element_commit_state): s/INFO/DEBUG/.
3634 (gst_element_lost_state, gst_element_change_state):
3636 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3637 (gst_message_new_custom): s/INFO/LOG/.
3639 2005-10-17 Michael Smith <msmith@fluendo.com>
3641 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3642 Check if end time is valid using end time, not start time.
3644 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3646 * check/gst-libs/controller.c: (GST_START_TEST),
3647 (gst_controller_suite):
3648 * libs/gst/controller/gstcontroller.c:
3649 (gst_controlled_property_set_interpolation_mode):
3650 * libs/gst/controller/gstcontroller.h:
3651 * libs/gst/controller/gstinterpolation.c:
3652 * testsuite/controller/.cvsignore:
3653 * testsuite/controller/Makefile.am:
3654 * testsuite/controller/interpolator.c:
3655 merge controller testsuites
3657 remove mem-chunk from docs
3659 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3661 * gst/gstmemchunk.c:
3662 * gst/gstmemchunk.h:
3663 * gst/gsttrashstack.c:
3664 * gst/gsttrashstack.h:
3665 out. get out. you're fired. to the Attic !
3667 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3669 * gst/gstcaps.c: (gst_caps_intersect):
3670 fix signedness issues in a (hopefully) correct way
3671 * gst/gstelement.c: (gst_element_pads_activate):
3673 * gst/gstobject.c: (gst_object_set_parent):
3676 2005-10-17 Julien MOUTTE <julien@moutte.net>
3678 * gst/gstvalue.h: Fix prototypes.
3680 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3682 * docs/gst/gstreamer-sections.txt:
3683 * gst/gst.c: (gst_version_string):
3685 * gst/gstversion.h.in:
3686 * win32/common/libgstreamer.def:
3687 add gst_version_string ()
3689 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3693 * gst/gst.c: (init_post):
3694 * win32/common/config.h.in:
3696 * gst/gstcaps.c: (gst_caps_intersect):
3697 use gint64, the range could be bigger than a guint
3699 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3702 document potential problem in 2038
3704 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3706 * gst/gstcaps.c: (gst_caps_intersect):
3707 Fix guint j diving under 0
3709 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3712 * win32/common/config.h:
3713 * win32/common/config.h.in:
3714 check for process.h, declares getpid() on Windows
3716 include process.h if we have it
3717 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3718 * gst/gstmemchunk.h:
3719 fix signedness issues
3720 * win32/common/libgstreamer.def:
3723 2005-10-16 Julien MOUTTE <julien@moutte.net>
3725 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3726 fix. Because of unsigned ints, caps intersection was going nuts and
3727 trying to access structures with G_MAXUINT index. That fixes
3728 videotestsrc ! ffmpegcolorspace ! fakesink
3729 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3732 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3735 use the gettext macro
3736 * gst/elements/gstelements.c:
3738 * gst/indexers/gstindexers.c:
3739 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3740 * win32/common/config.h:
3742 * win32/common/config.h.in:
3743 add the template to generate config.h
3744 * win32/common/gstenumtypes.c:
3745 * win32/common/gstversion.h:
3748 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3750 * gst/gst.c: (gst_version):
3751 * gst/gstversion.h.in:
3754 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3757 Oops, add missing closing bracket.
3759 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3762 use common m4's for argument checking
3764 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3766 * docs/gst/gstreamer-sections.txt:
3768 Add GST_EVENT_TYPE_NAME() macro.
3770 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3773 * gst/gstpluginfeature.c:
3775 privatize more symbols
3777 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3780 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3781 everything that uses GStreamer API should have the includes
3783 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3785 * docs/gst/gstreamer-sections.txt:
3786 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3788 give each value a _get_type, removes the DATA exports
3790 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3794 remove _gst_registry_auto_load, not used anymore
3795 * gst/gstbin.c: (gst_bin_get_type):
3797 * gst/gstelement.c: (gst_element_get_type):
3799 * gst/gstobject.c: (gst_object_get_type):
3801 * gst/gstpad.c: (gst_pad_get_type):
3803 make _get_type functions similar, fixes data export from library
3805 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3808 correctly make conditionals
3809 * gst/elements/Makefile.am:
3810 * gst/elements/gstelements.c:
3811 fix typo causing fdsrc not to build
3813 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3815 * testsuite/Makefile.am:
3816 * testsuite/bytestream/.cvsignore:
3817 * testsuite/bytestream/Makefile.am:
3818 * testsuite/bytestream/filepadsink.c:
3819 * testsuite/bytestream/gstbstest.c:
3820 * testsuite/bytestream/test1.c:
3821 * testsuite/bytestream/testfile1:
3822 * testsuite/caps/normalisation.c:
3823 * testsuite/caps/random.c: (main):
3824 * testsuite/cleanup/.cvsignore:
3825 * testsuite/cleanup/Makefile.am:
3826 * testsuite/cleanup/cleanup1.c:
3827 * testsuite/cleanup/cleanup2.c:
3828 * testsuite/cleanup/cleanup3.c:
3829 * testsuite/cleanup/cleanup4.c:
3830 * testsuite/cleanup/cleanup5.c:
3831 * testsuite/controller/interpolator.c:
3832 * testsuite/debug/printf_extension.c: (main):
3833 * testsuite/elements/tee.c:
3834 * testsuite/negotiation/.cvsignore:
3835 * testsuite/negotiation/Makefile.am:
3836 * testsuite/negotiation/pad_link.c:
3837 * testsuite/pad/Makefile.am:
3838 * testsuite/pad/chainnopull.c:
3839 * testsuite/pad/getnopush.c:
3840 * testsuite/pad/link.c:
3841 * testsuite/refcounting/sched.c: (create_pipeline):
3842 * testsuite/registry/Makefile.am:
3843 * testsuite/registry/gst-print-formats.c:
3844 * testsuite/schedulers/.cvsignore:
3845 * testsuite/schedulers/142183-2.c:
3846 * testsuite/schedulers/142183.c:
3847 * testsuite/schedulers/143777-2.c:
3848 * testsuite/schedulers/143777.c:
3849 * testsuite/schedulers/147713.c:
3850 * testsuite/schedulers/147819.c:
3851 * testsuite/schedulers/147894-2.c:
3852 * testsuite/schedulers/147894.c:
3853 * testsuite/schedulers/Makefile.am:
3854 * testsuite/schedulers/group_link.c:
3855 * testsuite/schedulers/queue_link.c:
3856 * testsuite/schedulers/relink.c:
3857 * testsuite/schedulers/unlink.c:
3858 * testsuite/schedulers/unref.c:
3859 * testsuite/schedulers/useless_iteration.c:
3860 * testsuite/states/bin.c:
3861 clean out/remove some stuff from the testsuite directories
3863 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3866 check for some headers
3867 * gst/elements/Makefile.am:
3868 * gst/elements/gstelements.c:
3869 don't compile fdsrc without sys/socket.h
3870 * gst/indexers/Makefile.am:
3871 * gst/indexers/gstindexers.c: (plugin_init):
3872 don't compile fileindex without mmap
3874 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3881 * check/Makefile.am:
3882 * docs/gst/Makefile.am:
3883 * examples/helloworld/Makefile.am:
3885 * gst/base/Makefile.am:
3886 * gst/check/Makefile.am:
3887 * gst/elements/Makefile.am:
3888 * gst/indexers/Makefile.am:
3889 * gst/parse/Makefile.am:
3890 * libs/gst/controller/Makefile.am:
3891 * libs/gst/dataprotocol/Makefile.am:
3892 * examples/helloworld/helloworld.c: (event_loop):
3893 compile fixes, though it's not being compiled currently
3895 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3897 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3898 Add some simple tests for the new taglist date API.
3900 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3902 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3903 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3904 Beautify 'last-message' output: print 'none' for buffer timestamps
3905 and durations if none is set; improve alignment with next messages.
3907 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3909 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3910 * gst/gstpluginfeature.h:
3911 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3912 * gst/gstregistry.h:
3913 * docs/gst/gstreamer-sections.txt:
3914 Add new API to check plugin feature version requirements.
3916 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3917 Some basic tests for the above.
3919 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3921 * gst/gststructure.c: (gst_structure_to_string):
3922 guard against NULL printf - happens when for example
3923 a message structure with GstClock gets serialized
3925 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3927 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3928 Fix presumable copy'n'pasto.
3930 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3932 * gst/elements/gstfakesrc.h:
3933 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3934 * gst/elements/gsttypefindelement.c:
3936 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3937 I wonder if this could actually write +2GB files before
3939 2005-10-13 Andy Wingo <wingo@pobox.com>
3941 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3942 Fix Timmeke Waymans bug.
3943 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3944 string of the proper length to gst_caps_from_string. There's a
3945 potential for, before this fix, that this could cause someone
3946 connecting over the network to cause a segfault if the payload is
3949 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3951 * docs/design/draft-push-pull.txt:
3952 * docs/design/part-overview.txt:
3953 * docs/random/TODO-pre-0.9:
3954 * docs/random/old/ChangeLog.gstreamer:
3955 * gst/base/gstpushsrc.c:
3959 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3961 * gst/glib-compat.c: (gst_flags_get_first_value):
3962 * gst/glib-compat.h:
3963 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3964 (gst_value_compare_double), (gst_value_serialize_flags):
3965 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3968 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3971 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3973 * tools/gst-launch.c: (event_loop):
3974 print out clock nicely
3976 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3978 * docs/gst/gstreamer-sections.txt:
3980 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3981 (gst_tag_list_get_date_index):
3982 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3983 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3985 2005-10-13 Julien MOUTTE <julien@moutte.net>
3987 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3988 (gst_collectpads_chain):
3989 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3992 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3994 * docs/gst/gstreamer-sections.txt:
3997 * tools/gst-inspect.c: (main):
3998 * tools/gst-launch.c: (main):
3999 * tools/gst-run.c: (main):
4000 * tools/gst-xmlinspect.c: (main):
4001 fix GOption context leaks
4004 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4008 * win32/common/config.h:
4010 * win32/vs6/grammar.dsp:
4011 * win32/vs6/libgstelements.dsp:
4012 * win32/vs6/libgstreamer.dsp:
4015 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4017 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4018 * gst/base/gstbasesrc.c: (gst_base_src_query):
4019 fix more guint64<->gdouble conversions
4021 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4024 add win32-update target
4025 * win32/common/gstconfig.h:
4026 * win32/common/gstenumtypes.c:
4027 * win32/common/gstenumtypes.h:
4028 * win32/common/gstversion.h:
4029 add files that visual studio can't generate
4031 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4034 add a win32-update target
4037 2005-10-12 Wim Taymans <wim@fluendo.com>
4039 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4040 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4041 * gst/gstelement.c: (gst_element_commit_state),
4042 (gst_element_set_state):
4043 Protect flags with proper lock.
4044 unref provided cached clock in dispose.
4046 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4049 * gst/gstminiobject.h:
4051 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4052 removed unused flags from miniobject
4055 2005-10-12 Wim Taymans <wim@fluendo.com>
4057 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4058 (gst_file_sink_event), (gst_file_sink_render):
4059 Flush before seeking.
4061 2005-10-12 Andy Wingo <wingo@pobox.com>
4063 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4064 always been the case.
4066 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4068 * check/gst/gstbin.c: (GST_START_TEST):
4069 * docs/gst/gstreamer-sections.txt:
4070 * gst/base/gstbasesink.c: (gst_base_sink_init):
4071 * gst/base/gstbasesrc.c: (gst_base_src_init),
4072 (gst_base_src_get_range), (gst_base_src_check_get_range),
4073 (gst_base_src_start), (gst_base_src_stop):
4074 * gst/base/gstbasesrc.h:
4075 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4076 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4077 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4081 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4083 * gst/gstelement.c: (gst_element_is_locked_state),
4084 (gst_element_set_locked_state), (gst_element_commit_state),
4085 (gst_element_set_state):
4087 * gst/gstindex.c: (gst_index_init):
4089 * gst/gstminiobject.h:
4090 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4091 (gst_object_set_parent):
4093 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4094 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4096 * gst/gstpadtemplate.h:
4097 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4098 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4099 * gst/gstpipeline.h:
4100 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4101 (gst_file_index_commit):
4102 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4103 * testsuite/pad/link.c: (gst_test_src_init),
4104 (gst_test_filter_init), (gst_test_sink_init):
4105 * testsuite/states/locked.c: (main):
4106 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4107 moved bitshift from macro to enum definition
4109 2005-10-12 Wim Taymans <wim@fluendo.com>
4111 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4112 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4113 (gst_file_sink_render):
4114 Some more debugging info.
4116 2005-10-12 Wim Taymans <wim@fluendo.com>
4118 * docs/design/part-states.txt:
4119 * tools/gst-launch.c: (main):
4121 Revert non-intentional change.
4123 2005-10-12 Wim Taymans <wim@fluendo.com>
4125 * check/gst/gstbin.c: (GST_START_TEST):
4126 * check/gst/gstelement.c: (GST_START_TEST):
4127 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4128 * check/gst/gstghostpad.c: (GST_START_TEST):
4129 * check/gst/gstpipeline.c: (GST_START_TEST):
4130 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4131 * check/states/sinks.c: (GST_START_TEST):
4132 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4133 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4134 (gst_bin_remove_func), (gst_bin_get_state_func),
4135 (gst_bin_recalc_state), (gst_bin_change_state_func),
4137 * gst/gstelement.c: (gst_element_get_state_func),
4138 (gst_element_get_state), (gst_element_abort_state),
4139 (gst_element_commit_state), (gst_element_set_state),
4140 (gst_element_change_state), (gst_element_change_state_func):
4142 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4143 (gst_pipeline_provide_clock_func):
4144 * gst/gstutils.c: (gst_element_link_pads_filtered):
4145 * tools/gst-launch.c: (main):
4146 * tools/gst-typefind.c: (main):
4147 Use GstClockTime in _get_state() instead of GTimeVal.
4148 Remove old code in gstutils.c
4150 2005-10-12 Andy Wingo <wingo@pobox.com>
4152 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4155 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4156 there is no task. Shouldn't affect any code, as nothing in our
4157 plugins checks this return value.
4158 (gst_pad_stop_task): Also take the stream lock if the pad has no
4161 2005-10-12 Wim Taymans <wim@fluendo.com>
4163 * gst/gstpad.c: (pre_activate), (post_activate),
4164 (gst_pad_activate_pull), (gst_pad_activate_push):
4165 Cleanup activation code. Reset old state if
4168 2005-10-12 Wim Taymans <wim@fluendo.com>
4170 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4171 (gst_base_sink_change_state):
4172 No need to prerol after receiving EOS.
4174 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4175 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4176 * gst/elements/gstidentity.c: (gst_identity_event):
4177 Print events more verbosely.
4179 2005-10-12 Wim Taymans <wim@fluendo.com>
4181 * check/Makefile.am:
4182 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4183 * check/states/sinks2.c:
4184 Moved sinks2 testcode in sinks check.
4186 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4187 (gst_bin_remove_func), (gst_bin_recalc_state),
4188 (gst_bin_change_state_func), (bin_bus_handler):
4189 Fix potential race condition when _get_state() iterated over an
4190 ASYNC element right before it posted a state completion.
4193 Do proper cast here.
4195 * gst/gstevent.c: (gst_event_new_newsegment),
4196 (gst_event_parse_newsegment):
4197 A playback rate of 0.0 is not allowed.
4199 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4201 * win32/common/config.h:
4202 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4203 (_trewinddir), (_ttelldir), (_tseekdir):
4204 * win32/common/dirent.h:
4205 * win32/common/gtchar.h:
4206 * win32/common/libgstbase.def:
4207 * win32/common/libgstreamer.def:
4208 * win32/vs6/grammar.dsp:
4209 * win32/vs6/gst_inspect.dsp:
4210 * win32/vs6/gst_launch.dsp:
4211 * win32/vs6/gstreamer.dsw:
4212 * win32/vs6/libgstbase.dsp:
4213 * win32/vs6/libgstelements.dsp:
4214 * win32/vs6/libgstreamer.dsp:
4215 Visual Studio 6 project files, and a new common directory.
4218 2005-10-11 Wim Taymans <wim@fluendo.com>
4220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4221 (gst_base_sink_do_sync), (gst_base_sink_query),
4222 (gst_base_sink_change_state):
4223 * gst/base/gstbasesink.h:
4224 Correctly parse newsegment info.
4226 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4228 * gst/gst.c: (init_post):
4229 split plugin paths correctly
4231 2005-10-11 Wim Taymans <wim@fluendo.com>
4233 * check/gst/gstevent.c: (GST_START_TEST):
4234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4235 (gst_base_sink_change_state):
4236 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4237 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4238 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4239 * gst/gstevent.c: (gst_event_new_newsegment),
4240 (gst_event_parse_newsegment):
4242 Added extra flag to newsegment for future API freeze.
4243 Updated check and base elements.
4245 2005-10-11 Julien MOUTTE <julien@moutte.net>
4247 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4248 (gst_collectpads_add_pad), (gst_collectpads_pop),
4249 (gst_collectpads_event), (gst_collectpads_chain):
4250 * gst/base/gstcollectpads.h: Handle EOS correctly.
4252 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4254 * tools/gst-launch.c: (main):
4255 more null protecting
4257 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4259 * gst/gst-i18n-lib.h:
4260 check for ENABLE_NLS, not GETTEXT_PACKAGE
4261 * gst/gstregistry.c: (gst_registry_add_plugin),
4262 (gst_registry_scan_path_level),
4263 (_gst_registry_remove_cache_plugins):
4264 protect possibly NULL strings
4265 * gst/parse/types.h:
4266 config.h already included before
4267 * tools/gst-inspect.c: (main):
4268 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4269 check for ENABLE_NLS, not GETTEXT_PACKAGE
4270 * tools/gst-launch.c: (main):
4271 check for ENABLE_NLS, not GETTEXT_PACKAGE
4273 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4276 if we don't have glib, fail before testing 2.8
4277 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4278 fix a leak, should fix plugins-base testsuite
4280 2005-10-11 Andy Wingo <wingo@pobox.com>
4282 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4283 take the mode we're going to as an arg. Go head and set the mode
4284 and flushing flags now, so that if the activate function starts a
4285 thread all the flags will be in the right state.
4286 (post_activate): Renamed also. Just handle making sure streaming
4287 finishes for the deactivation case, and setting the deactivated
4289 (gst_pad_set_active): Complain loudly if deactivation fails.
4290 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4291 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4292 remove the terrible hack.
4294 2005-10-11 Wim Taymans <wim@fluendo.com>
4296 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4297 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4298 (gst_bin_recalc_state), (gst_bin_change_state_func),
4299 (gst_bin_dispose), (bin_bus_handler):
4301 Prepare to make current EOS message queue more generic.
4304 * gst/gstevent.c: (gst_event_new_newsegment),
4305 (gst_event_parse_newsegment):
4307 Rename base to stream_time.
4312 2005-10-11 Wim Taymans <wim@fluendo.com>
4314 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4315 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4316 (gst_bin_change_state_func), (bin_bus_handler):
4318 Work on proper clock selection.
4320 2005-10-11 Edward Hervey <edward@fluendo.com>
4322 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4323 * libs/gst/controller/gstcontroller.h:
4324 Added GList* version of _remove_properties() in order to be able to wrap
4327 2005-10-11 Wim Taymans <wim@fluendo.com>
4329 * docs/design/part-states.txt:
4332 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4333 (gst_bin_change_state_func), (bin_bus_handler):
4334 Doc updates. Don't distribute the same clock over and over again.
4340 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4341 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4342 (gst_pad_send_event):
4344 Make probe emission threadsafe again.
4345 Register quarks and move _get_name() from utils.
4348 * gst/gstpipeline.c: (gst_pipeline_class_init),
4349 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4350 Only redistribute the clock of it changed.
4352 * gst/gstsystemclock.h:
4357 Moved the _flow_get_name() to GstPad.
4359 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4361 * check/gst-libs/gdp.c: (GST_START_TEST):
4362 * check/gst/gstcaps.c: (GST_START_TEST):
4363 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4364 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4365 (gst_dp_packet_from_caps):
4366 fix more valgrind warnings before turning up the heat
4368 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4370 * gst/parse/grammar.y:
4371 some cleanup before the hacking
4373 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4375 * gst/base/gstbasesrc.c: (gst_base_src_query):
4377 * gst/gstutils.c: (gst_guint64_to_gdouble),
4378 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4380 externalize, basesrc uses it
4381 obviously the implementation needs testing
4383 2005-10-10 Wim Taymans <wim@fluendo.com>
4385 * tests/sched/Makefile.am:
4386 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4387 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4389 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4391 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4392 apparently converting from guint64 to double is not implemented
4395 2005-10-10 Wim Taymans <wim@fluendo.com>
4397 * check/Makefile.am:
4398 * check/generic/states.c: (GST_START_TEST):
4399 * check/gst/gstbin.c: (GST_START_TEST):
4400 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4401 * check/states/sinks.c: (GST_START_TEST):
4402 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4404 Check fixes, use API as stated in design docs, remove hacks.
4406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4407 (gst_base_sink_change_state):
4408 Catch stopping our task while we're shutting down.
4410 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4411 (gst_bin_remove_func), (gst_bin_get_state_func),
4412 (gst_bin_recalc_state), (gst_bin_change_state_func),
4415 * gst/gstelement.c: (gst_element_init),
4416 (gst_element_get_state_func), (gst_element_abort_state),
4417 (gst_element_commit_state), (gst_element_lost_state),
4418 (gst_element_set_state), (gst_element_change_state),
4419 (gst_element_change_state_func):
4421 New state change algorithm (see #318116)
4423 * gst/gstpipeline.c: (gst_pipeline_class_init),
4424 (gst_pipeline_init), (gst_pipeline_set_property),
4425 (gst_pipeline_get_property), (do_pipeline_seek),
4426 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4427 * gst/gstpipeline.h:
4428 Remove crude state change hacks.
4433 * tools/gst-launch.c: (main):
4434 Fixes for state change. Needs some more work to fully use the
4437 2005-10-10 Andy Wingo <wingo@pobox.com>
4439 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4441 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4442 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4445 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4447 * gst/gstiterator.c: (gst_iterator_new):
4448 Fix my previous commit: GTypes passed to gst_iterator_new()
4449 can be fundamental types.
4451 2005-10-10 Wim Taymans <wim@fluendo.com>
4453 * gst/gstelement.c: (gst_element_iterate_pad_list),
4454 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4455 (gst_element_iterate_sink_pads):
4456 Use src/sink pads lists for the respective iterators instead
4459 2005-10-10 Andy Wingo <wingo@pobox.com>
4461 Merged in popt removal + GOption addition patch from Ronald, bug
4464 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4465 GstElement macros around, remove popt-related symbols, add goption
4468 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4470 * docs/gst/Makefile.am:
4471 * docs/libs/Makefile.am: No POPT_CFLAGS.
4473 * examples/manual/Makefile.am:
4474 * docs/manual/basics-init.xml: Doc updates with an example.
4476 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4477 (gst_init), (parse_one_option), (parse_goption_arg):
4478 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4479 bit of hand merging and debugging to get the GOption stuff working
4482 * tests/Makefile.am:
4483 * tools/Makefile.am:
4484 * tools/gst-inspect.c: (main):
4485 * tools/gst-launch.c: (main):
4486 * tools/gst-run.c: (main):
4487 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4489 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4491 * gst/gstiterator.c: (gst_iterator_new):
4492 Add assertions to make sure passed GType is likely to really
4493 be a GType (as the compiler won't catch it if the size and
4494 GType arguments get mixed up, see #318447).
4496 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4498 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4500 * gst/gstbin.c: (gst_bin_iterate_sorted):
4501 Pass GType and size arguments to gst_iterator_new() in the right
4502 order (maybe we should make _new() take the GType as first argument
4503 just like _new_list()?) (#318447).
4506 2005-10-10 Wim Taymans <wim@fluendo.com>
4508 * gst/gstelement.c: (gst_element_finalize):
4509 And free the GStaticRecMutex too
4511 2005-10-10 Andy Wingo <wingo@pobox.com>
4513 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4514 Allocate and free the mutex properly.
4516 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4518 (GstElement): The state_lock is now recursive. Rebuild your
4519 plugins, suckers. Old macros adapted.
4521 * docs/gst/gstreamer-sections.txt: Doc updates.
4524 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4525 (g_static_rec_cond_wait): Ported from state changes patch, while
4526 we wait on bug #317802 to be solved in a well-distributed GLib.
4528 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4529 gst_element_change_state, variable name changes.
4530 (gst_element_change_state): Split out of gst_element_set_state in
4531 preparation for the state change merge. Doesn't pay attention to
4532 the 'transition' argument.
4533 (gst_element_set_state): Updates, hopefully purely cosmetic.
4534 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4536 (gst_element_get_state_func): Renamed from get_state, cosmetic
4539 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4541 * gst/elements/gstelements.c:
4542 * win32/GStreamer.vcproj:
4544 * win32/dirent.c: (_tseekdir):
4545 * win32/gst-inspect.vcproj:
4546 * win32/gst-launch.vcproj:
4547 * win32/gstconfig.h:
4548 * win32/gstelements.vcproj:
4549 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4550 * win32/gstreamer.def:
4552 updates for the win32 build (patch from Sebastien Moutte)
4554 2005-10-10 Andy Wingo <wingo@pobox.com>
4556 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4557 gst_bin_get_state, cleaned up (but no logic changes).
4558 (bin_element_is_sink): Comment updates.
4559 (sink_iterator_filter): Remove needless cast.
4560 (gst_bin_iterate_sinks): Doc update.
4561 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4562 cleaned up (but no logic changes).
4564 * check/states/sinks.c (test_src_sink): Cleanups from the state
4566 (test_livesrc_sink): Sync on the state.
4568 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4569 the state change patch.
4571 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4574 * check/gst/gstbin.c: Merge in some style fixes and additional
4575 checks from Wim's state change patch.
4577 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4579 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4580 (gst_type_find_helper):
4581 Check whether we have the requested data already in our list of
4582 cached buffers before pulling a new buffer; also make the buffer
4583 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4585 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4590 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4591 don't use long long, it's not portable. Replacing with
4592 gint64 seems to work; let's hope no skeletons fall out of the closet.
4594 2005-10-10 Andy Wingo <wingo@pobox.com>
4596 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4598 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4600 * docs/gst/gstreamer-sections.txt:
4605 * gst/gstmessage.c: (gst_message_parse_state_changed):
4608 more docs, fix compilation
4610 2005-10-09 Philippe Khalaf <burger@speedy.org>
4612 Fixed a few forgotten variables on previous commit
4614 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4616 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4617 Fix evil typefind crasher: getrange() might return a short
4618 buffer at the end of a file, but gst_type_find_peek() must
4619 either return the full data as requested or NULL, but
4620 never a short buffer.
4622 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4624 * gst/gstmessage.c: (gst_message_new_state_changed),
4625 (gst_message_parse_state_changed):
4627 don't use "new", it's a C++ keyword
4629 2005-10-08 Wim Taymans <wim@fluendo.com>
4631 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4632 * gst/gstelement.c: (gst_element_post_message):
4633 * gst/gstpipeline.c: (gst_pipeline_change_state):
4634 Small docs and debug updates.
4636 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4638 * docs/gst/gstreamer-sections.txt:
4639 * gst/gstelementfactory.c:
4644 2005-10-08 Wim Taymans <wim@fluendo.com>
4646 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4647 (gst_bin_dispose), (bin_bus_handler):
4648 Fix typos, add comments.
4649 Clear EOS list when going to PAUSED from any direction and do it
4650 in a threadsafe way.
4651 Get base time in a threadsafe way too.
4652 Fix confusing debug in the change_state function.
4653 Various other small cleanups.
4655 * gst/gstelement.c: (gst_element_post_message):
4656 Fix very verbose bus posting code.
4658 * gst/gstpipeline.c: (gst_pipeline_class_init),
4659 (gst_pipeline_set_property), (gst_pipeline_get_property),
4660 (gst_pipeline_change_state):
4661 Small ARG_ -> PROP_ cleanup
4663 2005-10-08 Wim Taymans <wim@fluendo.com>
4665 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4666 Do a less CPU demanding EOS check because we can.
4668 2005-10-08 Wim Taymans <wim@fluendo.com>
4670 * libs/gst/dataprotocol/dataprotocol.c:
4671 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4672 (gst_dp_packet_from_event):
4673 * libs/gst/dataprotocol/dataprotocol.h:
4674 * libs/gst/dataprotocol/dp-private.h:
4675 It's about time we bump the version number.
4676 Since event types don't fit in the guint8 anymore describing
4677 the payload type, make payload type 16 bits wide.
4679 2005-10-08 Wim Taymans <wim@fluendo.com>
4681 * docs/design/part-TODO.txt:
4682 * docs/design/part-clocks.txt:
4683 * docs/design/part-events.txt:
4684 * docs/design/part-gstbin.txt:
4685 * docs/design/part-gstelement.txt:
4686 * docs/design/part-gstpipeline.txt:
4687 * docs/design/part-live-source.txt:
4688 * docs/design/part-messages.txt:
4689 * docs/design/part-overview.txt:
4690 * docs/design/part-states.txt:
4693 2005-10-08 Wim Taymans <wim@fluendo.com>
4697 Fix event quark registration.
4698 Add some space between events so we can insert them in the
4701 2005-10-08 Wim Taymans <wim@fluendo.com>
4703 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4704 (gst_base_sink_handle_buffer):
4711 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4712 (gst_queue_set_property), (gst_queue_get_property):
4714 Remove old unused properties.
4716 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4717 * docs/gst/gstreamer-sections.txt:
4720 * gst/gstminiobject.c:
4721 * gst/gstminiobject.h:
4725 lots of new docs and doc fixes
4727 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4729 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4731 * gst/gstregistry.c: (gst_registry_lookup_locked),
4732 (gst_registry_scan_path_level):
4733 * gst/gstregistryxml.c: (load_plugin):
4734 Only ever load one plugin for a given plugin basename.
4735 This ensures correct overriding of GST_PLUGIN_PATH over
4736 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4737 system installed plugins.
4739 2005-10-08 Wim Taymans <wim@fluendo.com>
4741 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4742 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4743 Prepare for doing QOS.
4745 2005-10-08 Wim Taymans <wim@fluendo.com>
4747 * check/gst/gstbin.c: (GST_START_TEST):
4748 * check/pipelines/cleanup.c: (GST_START_TEST):
4749 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4750 Allow new clock message too.
4752 2005-10-08 Wim Taymans <wim@fluendo.com>
4754 * gst/gstmessage.c: (gst_message_new_error),
4755 (gst_message_new_warning), (gst_message_new_tag),
4756 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4757 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4758 (gst_message_new_segment_start), (gst_message_new_segment_done),
4759 (gst_message_parse_state_changed),
4760 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4761 (gst_message_parse_new_clock):
4763 Also carry the clock in question.
4765 2005-10-08 Wim Taymans <wim@fluendo.com>
4767 * gst/gstmessage.c: (gst_message_new_custom),
4768 (gst_message_new_eos), (gst_message_new_error),
4769 (gst_message_new_warning), (gst_message_new_tag),
4770 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4771 (gst_message_new_new_clock), (gst_message_new_segment_start),
4772 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4773 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4776 Added clock related messages.
4778 * gst/gstpipeline.c: (gst_pipeline_change_state):
4779 Post message when the clock changed.
4781 * tools/gst-launch.c: (event_loop):
4784 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4786 * tools/gst-inspect.c: (print_element_properties_info):
4787 Can't pass NULL strings to g_print() on windows.
4789 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4792 * docs/gst/Makefile.am:
4793 * docs/gst/gstreamer-docs.sgml:
4794 * docs/gst/running.xml:
4795 * docs/version.entities.in:
4796 add a chapter on running GStreamer.
4797 document GST_DEBUG and GST_PLUGIN* env vars
4799 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4804 remove PLUGINS_BUILDDIR stuff
4805 * gst/gst.c: (init_post):
4806 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4808 remove, it was condescending and not needed
4810 2005-10-08 Wim Taymans <wim@fluendo.com>
4812 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4813 (gst_base_sink_handle_object), (gst_base_sink_event),
4814 (gst_base_sink_wait), (gst_base_sink_handle_event),
4815 (gst_base_sink_change_state):
4816 * gst/base/gstbasesink.h:
4817 Repost EOS message while going to PLAYING if still EOS.
4818 Make sure that when receiving a FLUSH_START we don't attempt
4819 to sync on the clock anymore.
4821 2005-10-08 Wim Taymans <wim@fluendo.com>
4823 * tools/gst-launch.c: (event_loop):
4824 Better message printout.
4826 2005-10-08 Wim Taymans <wim@fluendo.com>
4828 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4829 (gst_bin_child_proxy_get_children_count):
4830 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4831 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4832 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4833 (gst_child_proxy_set_valist):
4834 * gst/parse/grammar.y:
4835 Make ChildProxy threadsafe and fix mem leaks.
4837 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4839 * gst/gst.c: (init_post):
4840 debug the GST_PLUGIN_ env vars
4842 2005-10-08 Wim Taymans <wim@fluendo.com>
4844 * check/gst/gstbin.c: (GST_START_TEST):
4845 * check/gst/gstmessage.c: (GST_START_TEST):
4846 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4847 * gst/gstelement.c: (gst_element_commit_state),
4848 (gst_element_lost_state):
4849 * gst/gstmessage.c: (gst_message_new_state_changed),
4850 (gst_message_parse_state_changed):
4852 * tools/gst-launch.c: (event_loop):
4853 Added extra field to STATE_CHANGE message with the pending
4854 state, which will be different from the new state soon.
4856 2005-10-08 Wim Taymans <wim@fluendo.com>
4858 * gst/gstbus.c: (gst_bus_pop):
4860 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4861 Small cleanups and doc updates.
4863 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4865 * gst/gst.c: (init_pre):
4866 * gst/gstbin.c: (gst_bin_add_func):
4867 log distributing clocks and base time
4868 * gst/gstregistry.c: (gst_registry_add_plugin),
4869 (gst_registry_scan_path_level), (gst_registry_scan_path):
4870 clean up the debugging output a little
4871 * gst/gstutils.c: (gst_element_state_get_name):
4872 warn about a memleak (I've actually seen this be used, though
4873 it was probably a bug)
4875 2005-10-07 Wim Taymans <wim@fluendo.com>
4877 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4878 (gst_base_src_init), (gst_base_src_default_newsegment),
4879 (gst_base_src_newsegment), (gst_base_src_do_seek),
4880 (gst_base_src_loop), (gst_base_src_start):
4881 * gst/base/gstbasesrc.h:
4882 Make the newsegment event customizable by subclasses.
4884 2005-10-07 Wim Taymans <wim@fluendo.com>
4886 * gst/gstevent.c: (gst_event_new_buffersize),
4887 (gst_event_parse_buffersize):
4889 New event for future idea.
4891 2005-10-07 Andy Wingo <wingo@pobox.com>
4893 * gst/gstelement.c (gst_element_post_message): Doc update.
4895 * docs/gst/gstreamer-sections.txt: Update.
4897 * gst/gstmessage.c (gst_message_new_application): Made into a
4898 function like honest API calls.
4899 (gst_message_new_element): New message type.
4901 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4903 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4904 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4907 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4908 NO_PREROLL from gst_element_change_state to fall through.
4910 2005-10-07 Wim Taymans <wim@fluendo.com>
4912 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4913 (gst_ghost_pad_do_activate_push):
4914 Activating a ghostpad with no internal pad in push mode
4917 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4920 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4921 Fixes compilation on Windows.
4923 2005-10-07 Michael Smith <msmith@fluendo.com>
4925 * tools/gst-inspect.c:
4926 Print out feature and plugin count at the end when printing out
4929 2005-10-04 Michael Smith <msmith@fluendo.com>
4931 * gst/gsterror.c: (_gst_stream_errors_init):
4932 Add another error string used in a few existing plugins.
4935 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4936 * tools/gst-inspect.c: (print_element_info):
4937 When a feature disappears from a plugin (and the feature exists in
4938 the cached registry file), things went horribly wrong. This isn't a
4939 complete fix, we should actually be removing the 'missing' features
4940 from the features list when we load the actual plugin. That's not
4943 2005-10-04 Johan Dahlin <johan@gnome.org>
4945 * check/gst/gstiterator.c: (GST_START_TEST):
4946 * gst/gstbin.c: (gst_bin_iterate_elements),
4947 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4948 * gst/gstelement.c: (gst_element_iterate_pads):
4949 * gst/gstformat.c: (gst_format_iterate_definitions):
4950 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4951 (gst_iterator_new_list), (gst_iterator_filter):
4952 * gst/gstiterator.h:
4953 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4954 Add a GType to GstIterator, update callsites and tests.
4956 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4958 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4959 give events a chance to be handled by event probes when the pad
4962 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4964 * gst/gstevent.c: (gst_event_type_get_name),
4965 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4967 add string representations for event types
4969 2005-10-06 Wim Taymans <wim@fluendo.com>
4971 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4972 Don't use NULL pointers.
4974 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4976 * gst/gst_private.h:
4980 * gst/gstpluginfeature.c:
4981 widen the debug category in output to fit the biggest one we have
4982 add a bus category and use it
4983 play with the colors
4984 fix up some categories
4986 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4988 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4989 add push activation of sink ghost pads.
4990 Andye, please verify
4992 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4994 * gst/gstutils.c: (gst_element_link_pads):
4995 fix a bug in the case where neither element has a pad
4996 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4997 add a test for that case
4999 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5001 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5002 emit have-data before checking for peers. This allows
5003 for probe handlers to connect elements. This helps autopluggers.
5004 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5006 add six checks, linked/unlinked with no/true/false probe
5008 2005-10-04 Wim Taymans <wim@fluendo.com>
5010 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5011 (gst_fake_sink_event), (gst_fake_sink_preroll),
5012 (gst_fake_sink_render), (gst_fake_sink_change_state):
5013 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5014 (gst_fake_src_get_property), (gst_fake_src_create),
5015 (gst_fake_src_stop):
5016 * gst/elements/gstidentity.c: (gst_identity_stop):
5017 Protect last_message with lock.
5019 2005-10-04 Edward Hervey <edward@fluendo.com>
5022 Added precision in the comments for GST_FORMAT_DEFAULT
5024 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5026 * tools/gst-launch.c: (main):
5027 Don't try to run erroneous pipelines.
5029 2005-10-04 Julien MOUTTE <julien@moutte.net>
5031 * gst/gstbus.c: We don't need this header.
5033 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5038 === release 0.9.3 ===
5040 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5044 Releasing 0.9.3, "Unregistered"
5046 2005-10-03 Andy Wingo <wingo@pobox.com>
5048 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5049 whereby calling a pad's activatepush() function can start a thread
5050 that starts to push or pull before the pad gets the FLUSHING flag
5051 unset. Hack around it by holding the stream lock until the flag is
5052 set. Need to replace this with a proper solution. Together with
5053 the ghost pad fixes, this fixes mp3 playing/tagreading.
5055 * docs/design/part-gstghostpad.txt: Add a note about activation of
5056 proxy pads outside of ghost pads.
5058 * gst/gstghostpad.c: Implement the ghost pad activation design.
5060 2005-10-02 Andy Wingo <wingo@pobox.com>
5062 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5063 It is volatile, after all.
5065 * docs/design/part-gstghostpad.txt: Flesh out activation with
5068 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5071 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5074 Fix (unused) AM_CONDITIONAL tests.
5076 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5078 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5080 * gst/gstutils.c: (gst_pad_query_convert):
5081 Add assertion that makes sure src_val is >=0, just like
5082 gst_query_new_convert() has. (#315895)
5084 2005-09-30 Edward Hervey <edward@fluendo.com>
5086 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5087 Let's not iterate pads we're not interested in, it avoids getting
5088 sky-high refcounts on sinkpad.
5090 2005-09-30 Wim Taymans <wim@fluendo.com>
5092 * gst/gstelement.c: (gst_element_set_state),
5093 (gst_element_change_state):
5094 Small tweak, element in ASYNC remains ASYNC.
5096 2005-09-30 Wim Taymans <wim@fluendo.com>
5098 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5099 Only error is an error.
5101 * gst/gstbin.c: (gst_bin_change_state):
5104 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5105 Also call pad_block in pad alloc.
5107 * gst/gstutils.c: (gst_flow_get_name):
5110 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5112 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5113 (gst_base_src_get_range):
5114 Fix documentation typos. Add some more debug info.
5116 2005-09-29 David Schleef <ds@schleef.org>
5118 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5119 more end-user friendly.
5120 * tools/gst-inspect.c: (main): Check if command-line argument is
5121 a file and attempt to load that file as a plugin.
5123 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5125 * check/gst/gstbin.c:
5126 * check/states/sinks.c:
5127 fix tests for the new warning
5128 * check/gst/gstpipeline.c:
5129 add a test for pipeline and bus interaction
5131 elements should be NULL if they get disposed; add a warning if not
5133 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5136 for 2.6 refcounting, make debug log more correct by printing
5137 the actual refcounts at the time of swap (Wim)
5139 2005-09-29 Andy Wingo <wingo@pobox.com>
5141 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5142 removes signal watches previously added via
5143 gst_bus_add_signal_watch.
5144 (gst_bus_add_signal_watch): Don't return the source id, just store
5145 it on the bus if there wasn't an id already.
5147 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5148 add_signal_watch and remove_signal_watch.
5150 2005-09-29 Edward Hervey <edward@fluendo.com>
5152 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5153 Better if we actually iterate the list :)
5155 2005-09-29 Wim Taymans <wim@fluendo.com>
5157 * check/gst/gstbin.c: (GST_START_TEST):
5158 Change for new bus API.
5160 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5161 (send_messages), (GST_START_TEST), (gstbus_suite):
5162 Change for new bus signal API.
5164 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5165 (gst_bus_source_prepare), (gst_bus_source_check),
5166 (gst_bus_create_watch), (gst_bus_add_watch_full),
5167 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5168 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5170 Remove support for multiple GSources operating on different
5171 message types as it is too complex and unneeded when using
5173 Added support for receiving signals from the bus.
5175 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5177 * docs/libs/tmpl/gstdataprotocol.sgml:
5178 * docs/manual/advanced-dataaccess.xml:
5179 * gst/elements/gstcapsfilter.c:
5181 rename filter-caps to caps property
5183 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5185 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5186 More robust fraction string parsing.
5188 * docs/pwg/appendix-porting.xml:
5189 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5191 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5193 * gst/gstcaps.c: (gst_caps_do_simplify):
5194 Thou shalt not free a structure and then continue using it
5195 in the next loop iteration.
5197 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5199 Add test case for caps simplification.
5201 2005-09-29 Wim Taymans <wim@fluendo.com>
5203 * check/gst/gstbin.c: (GST_START_TEST):
5206 2005-09-29 Wim Taymans <wim@fluendo.com>
5208 * check/gst/gstbin.c: (GST_START_TEST):
5211 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5212 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5213 (find_element), (gst_bin_sort_iterator_next),
5214 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5215 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5216 (gst_bin_change_state), (gst_bin_dispose):
5217 A bin does not have a bus, it gets the bus from the parent.
5219 * gst/gstelement.c: (gst_element_requires_clock),
5220 (gst_element_provides_clock), (gst_element_is_indexable),
5221 (gst_element_is_locked_state), (gst_element_change_state),
5222 (gst_element_set_bus_func):
5225 * gst/gstpipeline.c: (gst_pipeline_class_init),
5226 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5227 The pipeline provides a bus.
5229 2005-09-28 Johan Dahlin <johan@gnome.org>
5231 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5232 gst_structure_get_enum instead of gst_structure_get_int
5234 * gst/gststructure.c (gst_structure_get_enum): Impl.
5236 * gst/gststructure.h (gst_structure_get_enum): Add
5238 * docs/gst/gstreamer-sections.txt: Ditto
5240 * gst/gstmessage.c (gst_message_new_state_changed): Use
5241 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5242 which does introspection.
5243 Reviewed by Christian Schaller
5245 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5247 * gst/gstinfo.c: (gst_debug_log_default):
5248 don't do dummy g_strdup()s
5249 * libs/gst/controller/gstcontroller.c:
5250 (on_object_controlled_property_changed),
5251 (gst_controlled_property_new), (gst_controller_new_valist),
5252 (gst_controller_new_list),
5253 (gst_controller_remove_properties_valist), (gst_controller_set),
5254 (gst_controller_get), (gst_controller_sync_values),
5255 (gst_controller_get_value_array), (_gst_controller_class_init),
5256 (gst_controller_get_type):
5257 * libs/gst/controller/gstcontroller.h:
5258 * libs/gst/controller/gstinterpolation.c:
5259 (gst_controlled_property_find_timed_value_node):
5260 convert // to /**/ comments
5262 2005-09-28 Wim Taymans <wim@fluendo.com>
5264 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5265 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5266 (gst_bus_sync_signal_handler):
5268 Added async-message and sync-message signals to the bus.
5269 Added helper BusFunc to emit signals for all posted messages.
5271 * gst/gstmessage.c: (gst_message_type_get_name),
5272 (gst_message_type_to_quark), (gst_message_get_type):
5274 Register quarks for message names.
5276 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5278 * docs/libs/gstreamer-libs-sections.txt:
5279 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5280 (gst_controller_new_list):
5281 * libs/gst/controller/gstcontroller.h:
5282 added another constructor for language bindings
5284 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5286 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5290 * gst/gstinfo.c: (_gst_debug_init):
5291 slightly more readable color for refcount debugging
5293 2005-09-28 Wim Taymans <wim@fluendo.com>
5295 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5296 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5297 (find_element), (gst_bin_sort_iterator_next),
5298 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5299 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5300 (gst_bin_change_state), (gst_bin_dispose):
5301 Small doc fixes. get_clock -> provide_clock.
5303 * gst/gstelement.c: (gst_element_class_init),
5304 (gst_element_provides_clock), (gst_element_provide_clock),
5305 (gst_element_get_clock), (gst_element_commit_state),
5306 (gst_element_lost_state):
5308 Make get/set_clock() symetric. Add provide_clock vmethod since
5309 that is actually what this function does.
5311 * gst/gstpipeline.c: (gst_pipeline_class_init),
5312 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5313 (gst_pipeline_get_clock):
5314 get_clock -> provide_clock.
5316 2005-09-28 Andy Wingo <wingo@pobox.com>
5318 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5319 lieu of real docs...
5321 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5323 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5325 * gst/elements/gstcapsfilter.c:
5326 * gst/elements/gstfakesink.c:
5327 * gst/elements/gstfakesrc.c:
5328 * gst/elements/gstfdsink.c:
5329 * gst/elements/gstfdsrc.c:
5330 * gst/elements/gstfilesink.c:
5331 * gst/elements/gstfilesrc.c:
5332 * gst/elements/gstidentity.c:
5333 * gst/elements/gsttee.c:
5334 * gst/elements/gsttypefindelement.c:
5335 Make element details static.
5337 2005-09-28 Wim Taymans <wim@fluendo.com>
5339 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5340 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5341 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5342 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5343 (gst_bin_change_state), (gst_bin_dispose):
5344 Some documentation updates.
5345 Clean up dispose handlers.
5347 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5348 * gst/gstpad.c: (gst_pad_dispose):
5349 Clean up dispose handler.
5351 * gst/gstpipeline.c: (gst_pipeline_change_state):
5352 Removed spurious UNLOCK.
5354 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5356 * docs/gst/gstreamer-sections.txt:
5357 * gst/base/gstbasesrc.h:
5362 * gst/gstpipeline.c:
5363 * gst/gstpipeline.h:
5366 added two new functions to the docs
5367 documents all undocumented GstXXXFlags
5368 completed some incomplete docs
5370 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5372 * gst/gstbin.c: (gst_bin_dispose):
5373 * gst/gstelement.c: (gst_element_dispose):
5374 remove now useless and leaky resurrection code in dispose
5375 * gst/base/gstbasesrc.c: (gst_base_src_init):
5376 * gst/gstelementfactory.c: (gst_element_factory_create):
5377 * gst/gstobject.c: (gst_object_set_parent):
5380 2005-09-27 Wim Taymans <wim@fluendo.com>
5382 * docs/design/part-TODO.txt:
5385 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5386 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5387 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5388 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5389 (gst_bin_change_state):
5391 Remove element variable, we keep element info in the iterator now.
5393 2005-09-27 Andy Wingo <wingo@pobox.com>
5395 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5398 2005-09-27 Wim Taymans <wim@fluendo.com>
5400 * check/gst/gstbin.c: (GST_START_TEST):
5401 Enable check that works now.
5403 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5404 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5405 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5406 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5407 (gst_bin_change_state):
5409 Redid the state change algorithm using a topological sort algo.
5410 Handles all cases correctly.
5411 Exposed iterator for state change order.
5414 Temp storage for state changes. Need to get rid of this soon.
5416 2005-09-27 Wim Taymans <wim@fluendo.com>
5418 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5419 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5420 (link_fold_func), (gst_pad_proxy_setcaps):
5421 Leak fixes, the fold functions need to unref the passed object and
5422 _get_parent_*() returns ref to parent.
5424 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5426 * check/gst/gstbuffer.c: (test_make_writable):
5427 Plug leak in test case and fix 'make check-valgrind'
5429 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5431 * gst/gstbuffer.c: (gst_subbuffer_init):
5432 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5433 works correctly in all circumstances (we could have just copied
5434 the parent buffer's readonly flag, but conceptually it seems
5435 cleaner to mark all subbuffers as read-only). (based on patch
5436 by Alessandro Decina, #314710).
5438 * check/gst/gstbuffer.c: (create_read_only_buffer),
5439 (test_make_writable), (test_subbuffer_make_writable),
5441 Add some tests for gst_buffer_make_writable().
5443 2005-09-27 Wim Taymans <wim@fluendo.com>
5445 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5446 use gst_object_has_ancestor().
5448 * gst/gstobject.c: (gst_object_has_ancestor):
5450 gst_object_has_ancestor() copied from gstbin.c as it is a
5453 * tests/instantiate/create.c: (create_all_elements):
5454 * tests/lat.c: (handoff_src), (handoff_sink):
5455 * tests/sched/runxml.c: (main):
5456 * tests/seeking/seeking1.c: (main):
5457 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5459 Fix compilation of some tests.
5461 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5464 Remove comment. GST_TYPE_G_ERROR is here to stay,
5465 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5468 2005-09-26 Wim Taymans <wim@fluendo.com>
5470 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5471 Added check that shows error in state change order.
5473 2005-09-26 Wim Taymans <wim@fluendo.com>
5475 * gst/gstbin.c: (gst_bin_change_state):
5476 Make state change function use 3 queues again, we were
5477 adding elements in the wrong order.
5479 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5482 * gst/gstpad.c: (gst_pad_dispose):
5483 Added some debug info first.
5485 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5487 * docs/design/draft-push-pull.txt:
5488 * docs/design/part-events.txt:
5489 * docs/design/part-overview.txt:
5490 * docs/design/part-scheduling.txt:
5491 Replace all _pull_region() with _pull_range()
5493 2005-09-26 Andy Wingo <wingo@pobox.com>
5495 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5497 * check/gst-libs/controller.c: Update for controller api change.
5500 * tests/Makefile.am:
5501 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5502 over by GLib bug 118439.
5504 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5505 routines to a function.
5507 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5509 * libs/gst/controller/gsthelper.c:
5510 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5511 (gst_object_sync_values): Renamed from sink_values. Ugh.
5513 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5515 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5516 Renamed from controller_key, as it is exported.
5518 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5520 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5525 * gst/gstpadtemplate.h:
5528 * gst/gstqueryutils.c:
5529 * gst/gstqueryutils.h:
5530 remove queryutils headers after moving the two used functions
5531 to gstquery. also fixes build problem for gstsiddec
5533 2005-09-26 Michael Smith <msmith@fluendo.com>
5535 * tools/gst-launch.1.in:
5536 Correct documentation in manpage of debug syntax
5538 2005-09-26 Wim Taymans <wim@fluendo.com>
5540 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5541 (gst_base_src_is_seekable), (gst_base_src_change_state):
5542 Some more debugging info.
5544 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5546 * docs/gst/gstreamer-sections.txt:
5547 * gst/base/gstbasetransform.h:
5551 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5553 * docs/gst/.cvsignore:
5554 * docs/gst/tmpl/.cvsignore:
5555 * docs/gst/tmpl/gstpipeline.sgml:
5556 * docs/gst/tmpl/gstplugin.sgml:
5557 * gst/gstpipeline.c:
5560 inlined the last two docs files
5561 removed the tmpl directory from cvs (no more conflicts here!)
5563 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5565 * docs/gst/gstreamer-sections.txt:
5566 * docs/gst/tmpl/.cvsignore:
5567 * docs/gst/tmpl/gstpad.sgml:
5568 * docs/gst/tmpl/gstpadtemplate.sgml:
5570 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5571 (gst_pad_finalize), (gst_pad_set_pad_template):
5573 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5574 (gst_pad_template_class_init), (gst_pad_template_init),
5575 (gst_pad_template_dispose), (name_is_valid),
5576 (gst_static_pad_template_get), (gst_pad_template_new),
5577 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5578 (gst_pad_template_pad_created):
5579 * gst/gstpadtemplate.h:
5580 inlined two more docs
5581 factored gstpadtemplate out of gstpad
5583 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5585 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5586 (test_children_state_change_order_semi_sink):
5587 Fix test case: we can't rely on a fixed state change order when
5588 going from READY => PAUSED because the sink might commit its
5589 new state first when the first buffer created by the source
5590 reaches the sink before the source has finished its change state.
5591 (Test case still fails at times, see #316856, comment 5 onwards)
5593 2005-09-24 Wim Taymans <wim@fluendo.com>
5595 * docs/design/part-events.txt:
5596 * docs/design/part-gstbus.txt:
5597 * docs/design/part-gstpipeline.txt:
5598 * docs/design/part-messages.txt:
5599 * docs/design/part-overview.txt:
5600 * docs/design/part-segments.txt:
5607 * gst/gstiterator.c:
5608 Various documentation updates.
5610 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5613 Well, that's embarassing. Luckily we weren't using
5614 GST_CLOCK_DIFF anywhere.
5616 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5618 * common/gtk-doc.mak:
5619 don't fail on building XML, FC4 slave shows a bunch of doc
5620 missing bits that I don't get
5622 * gst/gstpipeline.c:
5623 * gst/gststructure.c:
5626 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5628 * docs/design/part-gstbin.txt:
5629 * docs/design/part-gstbus.txt:
5631 Add blurb about how the bus goes into flushing mode and
5632 drops all messages when its bin goes from READY into NULL
5635 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5637 * docs/gst/gstreamer-sections.txt:
5638 * gst/gststructure.c: (gst_structure_get_clock_time):
5639 * gst/gststructure.h:
5640 add a method to get a GstClockTime out of a structure
5642 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5644 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5645 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5646 Added test to check state change order in bins (can still be made
5647 to fail here under heavy disk load; bails out with 'Push on pad
5648 fakesink:sink0, but it was not activated in push mode').
5650 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5651 Fix state change order when there is only a semi sink (#316856)
5653 * gst/gstbus.c: (gst_bus_class_init):
5654 Use _class_peek_parent(), not _class_ref(); fix docs to say
5655 'default main context' instead of 'mainloop' where that is
5658 * gst/gstelement.c: (gst_element_commit_state),
5659 (gst_element_set_state):
5660 Fix typos in debug messages
5662 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5665 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5666 * gst/gstpluginfeature.c:
5669 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5670 change an assert into an error until it gets fixed properly
5672 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5674 * docs/gst/gstreamer-sections.txt:
5675 * docs/gst/tmpl/.cvsignore:
5676 * docs/gst/tmpl/gstelement.sgml:
5677 * docs/gst/tmpl/gstinfo.sgml:
5678 * docs/gst/tmpl/gstobject.sgml:
5683 * gst/gstobject.c: (gst_object_class_init):
5685 inlined 3 more biiiig doc files and added some missing docs on the fly
5687 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5689 * check/gst/.cvsignore:
5690 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5691 * gst/gstregistryxml.c: (load_plugin),
5692 (gst_registry_xml_save_plugin):
5693 put back source in registry. add checks for find_plugin.
5694 * testsuite/states/bin.c: (assert_state), (empty_bin),
5695 (test_adding_one_element), (main):
5696 * testsuite/states/locked.c: (main):
5697 some compile/run fixes
5699 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5701 * check/gst/gstvalue.c: (GST_START_TEST):
5702 fix leaks in the test itself
5704 2005-09-22 Wim Taymans <wim@fluendo.com>
5706 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5707 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5708 (gst_base_sink_query):
5709 Prepare for more accurate position reporting and query
5712 * gst/gstelement.c: (gst_element_send_event),
5713 (gst_element_set_state):
5716 2005-09-22 Wim Taymans <wim@fluendo.com>
5718 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5719 (gst_query_parse_segment):
5722 Add segment query for future use.
5724 2005-09-22 Wim Taymans <wim@fluendo.com>
5726 * gst/gstbin.c: (gst_bin_add_func):
5727 Some more debug info.
5729 * gst/gstelement.c: (gst_element_send_event):
5733 Don't know how flags got broken.
5738 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5740 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5741 Add simplistic test suite for GST_TYPE_DATE serialisation and
5744 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5746 * docs/gst/gstreamer-sections.txt:
5747 * gst/gststructure.c: (gst_structure_set_valist),
5748 (gst_structure_get_date):
5749 * gst/gststructure.h:
5750 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5751 (gst_date_copy), (gst_value_compare_date),
5752 (gst_value_serialize_date), (gst_value_deserialize_date),
5753 (gst_value_transform_date_string),
5754 (gst_value_transform_string_date), (_gst_value_initialize):
5756 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5757 bunch of utility functions along with a hack that checks that
5758 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5759 is required. Part of the grand scheme in #170777.
5761 2005-09-22 Andy Wingo <wingo@pobox.com>
5763 * gst/gstconfig.h.in: Psych out gtk-doc.
5765 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5767 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5769 * tools/gst-inspect.c (print_element_list): Plug some
5770 inconsequential leaks.
5772 * gst/gstregistry.c (gst_registry_get_default): Doc.
5774 * check/gst/gstplugin.c:
5775 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5776 * gst/gstelementfactory.c (gst_element_factory_create):
5777 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5780 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5781 (gst_plugin_feature_load): Doc, don't eat refs.
5783 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5784 (gst_plugin_list_free): Doc.
5785 (gst_plugin_load_file): Doc updates.
5787 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5788 accessors returning refcounted objects, return a ref.
5790 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5791 accessor for caps. IDEMPOTENCE. Oh yes.
5793 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5795 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5797 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5798 (_gst_debug_register_funcptr):
5799 Add mutex to serialise access to the hash table with
5800 the function pointer => function name string mapping;
5801 make that hash table static scope (#316809).
5803 * gst/registries/.cvsignore:
5804 Remove left-over file.
5806 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5808 * docs/pwg/appendix-porting.xml:
5809 And something about newsegment events and caps-on-buffers to
5810 the porting guide (feel free to improve).
5812 2005-09-21 Andy Wingo <wingo@pobox.com>
5814 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5815 data and event probes on the same pad.
5816 (test_buffer_probe_once): Test that removing probes from within
5817 the probe functions works.
5819 2005-09-21 Andy Wingo <wingo@pobox.com>
5821 * check/gst/gstutils.c: New file.
5822 (test_buffer_probe_n_times): A simple buffer probe test. More to
5825 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5826 have-data::buffer, not have-data.
5827 (gst_pad_add_event_probe): Likewise for have-data::event.
5828 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5829 peer' isn't quite right yet though.
5830 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5831 (gst_pad_remove_data_probe): Change to take the guint handler_id
5832 as their arg, not the function+data, which is more glib-like.
5834 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5835 the signal emission to indicate if the data is a buffer or an
5837 (gst_pad_get_type): Initialize buffer and event quarks.
5838 (gst_pad_class_init): have-data is now a detailed signal, yes it
5841 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5843 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5844 * gst/gstutils.c: (gst_util_set_value_from_string),
5845 (gst_util_set_object_arg):
5846 Don't put functional code in g_return_if_fail() or
5847 g_return_val_if_fail() statements, otherwise things will
5848 break when G_DISABLE_CHECKS is defined during compilation.
5850 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5852 * docs/gst/tmpl/.cvsignore:
5853 * docs/gst/tmpl/gstvalue.sgml:
5856 inlied another one and added some obvious docs
5858 2005-09-21 Wim Taymans <wim@fluendo.com>
5860 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5861 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5862 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5863 (gst_fdsrc_get_property), (gst_fdsrc_create):
5864 * gst/elements/gstfdsrc.h:
5865 Properly implement fdsrc. Removed signal and timeout,
5866 better implemented somewhere else.
5868 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5870 * docs/gst/tmpl/.cvsignore:
5871 * docs/gst/tmpl/gstimplementsinterface.sgml:
5872 * gst/gstinterface.c:
5875 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5877 * docs/gst/gstreamer-sections.txt:
5878 * docs/gst/tmpl/.cvsignore:
5879 * docs/gst/tmpl/gstenumtypes.sgml:
5880 remove obsolete doc file
5882 2005-09-21 David Schleef <ds@schleef.org>
5884 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5885 little beer, fix a little leak.
5887 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5889 * docs/gst/gstreamer-docs.sgml:
5890 * docs/gst/gstreamer-sections.txt:
5891 * docs/gst/tmpl/.cvsignore:
5896 * gst/gstindex.c: (gst_index_class_init):
5898 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5899 (gst_index_factory_class_init), (gst_index_factory_init),
5900 (gst_index_factory_finalize), (gst_index_factory_new),
5901 (gst_index_factory_destroy), (gst_index_factory_find),
5902 (gst_index_factory_create), (gst_index_factory_make):
5903 * gst/gstindexfactory.h:
5904 * gst/gstpluginfeature.c:
5905 * gst/gstpluginfeature.h:
5906 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5907 more docs inlined, splitted gstindex.{c,h}
5909 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5911 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5914 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5916 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5917 Set sync to FALSE by default.
5919 2005-09-20 Wim Taymans <wim@fluendo.com>
5921 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5922 (gst_base_sink_init):
5923 Make sync property settable from subclass.
5925 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5926 (gst_fake_sink_change_state):
5927 Set sync to FALSE by default.
5929 2005-09-20 Wim Taymans <wim@fluendo.com>
5931 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5932 * tools/gst-launch.c: (main):
5933 The timeout handler should have lower priority than the source
5934 so we don't timeout before popping a message with 0 timeout.
5935 Dump error messages after failed state change.
5937 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5939 * tools/gst-inspect.c: (print_element_properties_info):
5942 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5944 * check/gst/gstevent.c:
5945 * gst/elements/gstfakesink.c:
5946 * gst/elements/gstfakesink.h:
5947 remove the sync property from fakesink.
5948 has the side effect of setting sync TRUE
5949 for fakesink, which is a change. Anyone who knows how
5950 to fix this nicely in a GObject-y way, feel free.
5952 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5954 * docs/gst/gstreamer-docs.sgml:
5955 remove probe refsection
5957 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5959 * check/Makefile.am:
5960 disable valgrinding the controller test again
5961 * docs/gst/gstreamer-sections.txt:
5962 update for api-changes
5964 2005-09-20 Wim Taymans <wim@fluendo.com>
5966 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5967 (gst_base_sink_set_property), (gst_base_sink_get_property),
5968 (gst_base_sink_do_sync):
5969 * gst/base/gstbasesink.h:
5970 Added sync property to basesink to disable clock sync.
5972 2005-09-20 Andy Wingo <wingo@pobox.com>
5974 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5975 eating the caller's refcount.
5977 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5978 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5981 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5982 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5983 of GLib 2.8 public, so we can know which refcount to check in
5986 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5987 (gst_object_init): Only set the gst refcount if we're going ahead
5988 with the refcount hack.
5990 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5992 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5993 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5994 more leaks plumbed, added more debug-logging
5998 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6001 remove include of gstmemchunk.h
6003 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6005 * gst/gstclock.c: (_gst_clock_id_free):
6006 Commit from the Political Party For More Atomic CVS Commits,
6007 so that people don't waste too much of their day fishing
6008 out obvious leaks out of massive commits.
6009 Oh, and fix a pretty damn obvious leak in the memchunk
6012 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6014 * check/Makefile.am:
6015 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6016 plug mem-leak, re-add to valgrindable tests
6018 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6021 unbreak the build for those who have chronic arthritis
6022 and typing "make check" is just too taxing on the hands
6024 2005-09-20 Andy Wingo <wingo@pobox.com>
6026 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6027 really want it out, you should fix plugins at the same time.
6029 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6032 * docs/gst/gstreamer-sections.txt:
6034 added missing symbols to api docs
6035 disable ref-count hack if we have glib >= 2.8
6037 2005-09-19 David Schleef <ds@schleef.org>
6039 * docs/gst/Makefile.am: Ignore a few more internal headers
6040 * docs/gst/gstreamer-docs.sgml: Remove old sections
6041 * docs/gst/gstreamer-sections.txt: Remove old sections
6042 * docs/gst/tmpl/gstobject.sgml: update
6043 * docs/gst/tmpl/gstplugin.sgml: update
6044 * docs/gst/tmpl/gstpluginfeature.sgml: update
6045 * docs/random/ds/0.9-suggested-changes: update.
6046 * gst/Makefile.am: remove memchunk and trashstack, since they're
6048 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6049 * gst/gst.h: don't include some headers
6050 * gst/gstchildproxy.c: add gstmarshal.h
6051 * gst/gstclock.c: Don't use memchunks
6052 * gst/gstminiobject.c: Add some docs
6053 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6054 * gst/gstobject.h: same
6055 * gst/gstplugin.c: include gstmacros.h
6056 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6057 * gst/gstquery.c: don't use memchunks
6058 * gst/gstregistry.c: rename gst_registry_deinit()
6059 * gst/gstregistry.h: same
6061 2005-09-19 David Schleef <ds@schleef.org>
6063 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6064 * docs/libs/gstreamer-libs-sections.txt:
6065 * docs/libs/tmpl/gstgetbits.sgml:
6066 * docs/libs/tmpl/gstputbits.sgml:
6068 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6070 * win32/gstenumtypes.c:
6071 * win32/gstenumtypes.h:
6074 2005-09-19 Wim Taymans <wim@fluendo.com>
6076 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6077 Automatically PAUSE and RESUME a pipeline when a flushing seek
6080 2005-09-19 Andy Wingo <wingo@pobox.com>
6082 * gst/gstregistry.h: Spacing fixen.
6084 2005-09-19 Wim Taymans <wim@fluendo.com>
6086 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6087 Handle state change failure more correctly.
6089 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6091 * check/Makefile.am:
6092 * check/pipelines/cleanup.c: (run_pipeline):
6093 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6095 enable cleanup again after fixing the leak
6097 some more info on docs
6099 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6101 * check/Makefile.am:
6102 re-enable tests now that leaks are plugged
6104 * check/gst/gstbin.c:
6105 * check/gst/gstpipeline.c:
6106 add some more tests while fixing leaks
6108 make sure binaries are uptodate when valgrinding/gdbing
6110 * gst/gstelementfactory.c:
6111 remove a ref too many, and add a FIXME for when we get
6112 round to disposing of classes
6114 fix the refcounting when loading a plugin from a file and
6115 the code pretends that the pointer is the same even though
6116 of course it can change
6117 * gst/gstpluginfeature.c:
6118 unref plugins marked cached (a bit confusing as a name)
6119 as the docs state should be done
6120 various doc additions to explain refcounting
6121 * gst/gstregistry.c:
6122 * gst/gstregistryxml.c:
6125 2005-09-19 Wim Taymans <wim@fluendo.com>
6127 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6128 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6129 (send_messages), (GST_START_TEST), (gstbus_suite):
6130 * check/gst/gstpipeline.c: (GST_START_TEST):
6131 * check/pipelines/cleanup.c: (run_pipeline):
6132 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6134 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6135 (gst_bus_source_check), (gst_bus_source_dispatch),
6136 (gst_bus_create_watch), (gst_bus_add_watch_full),
6137 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6139 * tools/gst-launch.c: (event_loop):
6140 * tools/gst-md5sum.c: (event_loop):
6141 GstBusHandler -> GstBusFunc, return value has the same meaning as
6142 any other GSource (FALSE == remove source).
6143 _add_watch() and _add_watch_full() now take a MessageType mask to
6144 only handle specific types of messages.
6145 _poll() returns the GstMessage instead of the message type to avoid
6147 _have_pending() takes a MessageType mask now too.
6148 Added testsuite for multiple bus watches.
6149 Fix testsuites and applications for new bus API.
6151 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6153 * check/Makefile.am:
6154 mark a bunch of the tests as to fix until we fix them
6156 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6159 use GST_PLUGIN settings for valgrind tests as well, so we're
6160 valgrinding the correct thing
6161 * gst/gst.c: (init_post):
6164 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6166 * gst/gst.c: (init_post), (gst_deinit):
6167 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6168 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6169 * gst/gstindex.c: (gst_index_factory_class_init),
6170 (gst_index_factory_finalize):
6171 * gst/gstobject.c: (gst_object_dispose):
6172 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6173 (gst_plugin_load_file), (gst_plugin_desc_free):
6174 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6175 (gst_plugin_feature_finalize):
6176 * gst/gstregistry.c: (gst_registry_class_init),
6177 (gst_registry_init), (gst_registry_finalize),
6178 (gst_registry_get_default), (gst_registry_deinit):
6179 * gst/gstregistry.h:
6180 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6181 various cleanups and memleak plugging. make valgrind is happy now.
6183 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6186 add a check-valgrind target
6188 2005-09-18 David Schleef <ds@schleef.org>
6190 * tools/gst-inspect.c: Revert the GOption code.
6192 2005-09-17 David Schleef <ds@schleef.org>
6194 * check/Makefile.am: Fix environment variables.
6195 * check/gst/gstplugin.c: Fix for API changes.
6196 * tools/gst-inspect.c: Fix for API changes.
6197 * tools/gst-xmlinspect.c: Fix for API changes.
6198 * gst/gstelementfactory.c:
6201 * gst/gstpluginfeature.c:
6202 * gst/gstpluginfeature.h:
6203 * gst/gstregistry.c:
6204 * gst/gstregistry.h:
6205 * gst/gstregistryxml.c:
6206 * gst/gsttypefind.c:
6207 * gst/gsttypefindfactory.c:
6208 * gst/indexers/gstfileindex.c:
6209 * gst/indexers/gstmemindex.c:
6210 * gst/schedulers/Makefile.am:
6211 Change registry to keep track of both plugins and features,
6212 removing the feature tracking from plugins themselves.
6214 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6216 * check/Makefile.am:
6217 * tools/gst-register.1.in:
6220 2005-09-15 David Schleef <ds@schleef.org>
6222 * check/gst/gstplugin.c:
6223 * gst/gstelementfactory.c:
6225 * gst/gstpluginfeature.c:
6226 * gst/gstregistry.c:
6227 Getting tired of debugging. Disabled all the unreffing of
6228 plugins and features, which fixes the segfaults, but of
6229 course leaks like crazy. At least playbin works.
6231 2005-09-15 David Schleef <ds@schleef.org>
6233 * check/gst/gstplugin.c: (register_check_elements),
6234 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6236 * gst/elements/gsttypefindelement.c: Fix refcounting.
6237 * gst/gsttypefind.c:
6238 * gst/gsttypefindfactory.c:
6239 * gst/gsttypefindfactory.h:
6241 2005-09-15 David Schleef <ds@schleef.org>
6243 * gst/gstindex.c: get refcounting correct.
6244 * gst/gstregistry.c: Handle the case where a feature/plugin is
6247 2005-09-15 David Schleef <ds@schleef.org>
6249 * check/Makefile.am:
6250 * check/gst/gstplugin.c: Add test
6251 * gst/gstplugin.c: Fix problems noticed by testsuite
6253 * gst/gstregistry.c:
6254 * gst/gstregistry.h:
6256 2005-09-15 David Schleef <ds@schleef.org>
6258 * gst/gstplugin.c: Implement semi-decent recounting and locking
6259 in plugins and plugin features.
6261 * gst/gstpluginfeature.c:
6262 * gst/gstpluginfeature.h:
6263 * gst/gstregistry.c:
6265 2005-09-15 Michael Smith <msmith@fluendo.com>
6267 * gst/gstregistry.c: (gst_registry_get_feature_list):
6268 Implement this. Makes oggdemux work; decodebin still broken.
6270 2005-09-14 David Schleef <ds@schleef.org>
6272 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6274 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6275 * gst/check/Makefile.am:
6276 * libs/gst/controller/Makefile.am:
6277 * libs/gst/dataprotocol/Makefile.am:
6279 2005-09-14 David Schleef <ds@schleef.org>
6281 * configure.ac: Remove getbits library. Nothing uses it, and
6282 it should be in something like liboil if someone did want
6284 * libs/gst/Makefile.am:
6285 * libs/gst/getbits/Makefile.am:
6286 * libs/gst/getbits/gbtest.c:
6287 * libs/gst/getbits/getbits.c:
6288 * libs/gst/getbits/getbits.h:
6289 * libs/gst/getbits/gstgetbits_generic.c:
6290 * libs/gst/getbits/gstgetbits_i386.s:
6291 * libs/gst/getbits/gstgetbits_inl.h:
6293 2005-09-14 David Schleef <ds@schleef.org>
6295 * gst/Makefile.am: Dist glib-compat.h
6297 2005-09-14 David Schleef <ds@schleef.org>
6299 * configure.ac: Remove gst/registries, since it's no longer used.
6300 * gst/registries/Makefile.am:
6301 * gst/registries/gstlibxmlregistry.c:
6302 * gst/registries/gstlibxmlregistry.h:
6303 * gst/registries/gstxmlregistry.c:
6304 * gst/registries/gstxmlregistry.h:
6305 * gst/registries/registrytest.c:
6307 2005-09-14 David Schleef <ds@schleef.org>
6309 * gst/glib-compat.h:
6310 * gst/gstregistryxml.c:
6311 Convergence is near. Seriously.
6313 2005-09-14 David Schleef <ds@schleef.org>
6315 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6316 * gst/glib-compat.h:
6317 Attempt #4 to appease the buildbots.
6319 2005-09-14 David Schleef <ds@schleef.org>
6321 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6324 2005-09-14 David Schleef <ds@schleef.org>
6326 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6329 2005-09-14 David Schleef <ds@schleef.org>
6331 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6334 2005-09-14 David Schleef <ds@schleef.org>
6336 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6337 * gst/glib-compat.h: Add some functions that are in newer versions
6338 of glib than we care to require.
6339 * gst/gstregistryxml.c: Use them.
6341 2005-09-14 David Schleef <ds@schleef.org>
6343 * po/POTFILES.in: remove gst-register.c
6345 2005-09-14 David Schleef <ds@schleef.org>
6347 * docs/gst/gstreamer-docs.sgml:
6348 * docs/gst/gstreamer-sections.txt:
6349 * docs/gst/gstreamer.types:
6350 * docs/gst/tmpl/gstelement.sgml:
6351 * docs/gst/tmpl/gstplugin.sgml:
6352 * docs/gst/tmpl/gstpluginfeature.sgml:
6353 Documentation updates for registry changes.
6355 2005-09-14 David Schleef <ds@schleef.org>
6357 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6358 because we don't require glib-2.8.
6360 2005-09-14 David Schleef <ds@schleef.org>
6362 * gst/gstregistryxml.c: Added. Essentially moved out of the
6363 registries directory.
6365 2005-09-14 David Schleef <ds@schleef.org>
6367 * check/Makefile.am:
6368 * check/generic/states.c:
6372 * gst/gst_private.h:
6373 * gst/gstelementfactory.c:
6378 * gst/gstpluginfeature.c:
6379 * gst/gstpluginfeature.h:
6380 * gst/gstregistry.c:
6381 * gst/gstregistry.h:
6382 * gst/gstregistrypool.c: remove
6383 * gst/gstregistrypool.h: remove
6384 * gst/gsttypefind.c:
6385 * gst/gsttypefindfactory.c:
6387 * tools/Makefile.am:
6388 * tools/gst-compprep.c:
6389 * tools/gst-inspect.c:
6390 * tools/gst-register.c: remove
6391 * tools/gst-xmlinspect.c:
6392 Registry rewrite. Changes registry from being a file created
6393 by a tool into a simple cache file created automatically by
6394 libgstreamer. Removed gst-register (because it's no longer
6395 needed). Remove registry pools, because we only have one
6396 registry implementation (XML). Fix up other subsystems as
6399 2005-09-13 Michael Smith <msmith@fluendo.com>
6401 * gst/gstconfig.h.in:
6402 Don't Use windows linking attributes for MinGW. Fixes #316157
6404 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6406 * gst/gstutils.c: (set_state_async_thread_func),
6407 (gst_element_set_state_async):
6408 Apparently people think it's better if this function doesn't
6409 try to set the state to whatever state was asked for on the first
6410 call to this function for any object. Seriously.
6412 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6414 * check/gst/gstpipeline.c: (GST_START_TEST):
6415 * docs/gst/gstreamer-sections.txt:
6416 * gst/gstutils.c: (set_state_async_thread_func),
6417 (gst_element_set_state_async):
6419 add a "gst_element_set_state_async" method that
6420 sets the state and starts a thread to make sure the state
6421 change completes as best as it can
6423 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6425 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6426 codify design+behaviour in testsuite after discussion
6428 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6430 * docs/gst/tmpl/gstelement.sgml:
6431 * docs/manual/appendix-quotes.xml:
6433 * gst/gstelement.c: (gst_element_set_state):
6436 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6438 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6439 (gst_base_transform_prepare_output_buf),
6440 (gst_base_transform_handle_buffer):
6441 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6442 (gst_capsfilter_prepare_buf):
6443 Remove the requirement for sub-classes to call the parent
6444 implementation of prepare_output_buffer with a wrapper function.
6447 * gst/gsttagsetter.h:
6450 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6452 * docs/gst/gstreamer-sections.txt:
6455 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6457 * docs/gst/gstreamer-sections.txt:
6458 * docs/gst/tmpl/gstelement.sgml:
6459 * docs/gst/tmpl/gstplugin.sgml:
6460 * gst/gstminiobject.c:
6462 docs now stop throwing warnings
6464 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6466 * docs/gst/gstreamer-sections.txt:
6467 * docs/gst/gstreamer.types:
6468 * docs/gst/tmpl/gstpad.sgml:
6469 * docs/gst/tmpl/gsttypes.sgml:
6470 * gst/base/gstadapter.h:
6471 * gst/base/gstbasesink.h:
6472 * gst/base/gstbasesrc.h:
6482 * gst/gststructure.c:
6483 * gst/registries/gstlibxmlregistry.h:
6484 various documentation fixes
6486 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6488 * docs/gst/gstreamer-sections.txt:
6489 * docs/gst/tmpl/gstvalue.sgml:
6490 rearrange gstvalue section
6491 * gst/gstutils.c: (gst_element_state_get_name):
6493 * gst/gstvalue.c: (_gst_value_initialize):
6497 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6499 * check/gst-libs/controller.c:
6501 * gst/base/gstbasetransform.c:
6502 (gst_base_transform_default_prepare_buf),
6503 (gst_base_transform_handle_buffer):
6504 * gst/base/gstbasetransform.h:
6505 Some more basetransform changes and fixes to enable sub-classes
6506 that modify buffer metadata only.
6507 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6508 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6509 (gst_capsfilter_prepare_buf):
6510 If the output pad has fixed allowed caps and input buffers
6511 don't have any, set the fixed caps on outgoing buffers.
6513 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6514 * check/elements/identity.c: (GST_START_TEST):
6515 Make the error a little clearer when the test fails because
6516 identity made a copy of the buffer.
6517 * docs/gst/gstreamer-sections.txt:
6518 New symbols in gstbasetransform.h
6519 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6520 (gst_base_transform_init), (gst_base_transform_transform_size),
6521 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6522 (gst_base_transform_default_prepare_buf),
6523 (gst_base_transform_get_unit_size),
6524 (gst_base_transform_buffer_alloc),
6525 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6526 (gst_base_transform_change_state),
6527 (gst_base_transform_set_passthrough),
6528 (gst_base_transform_set_in_place),
6529 (gst_base_transform_is_in_place):
6530 * gst/base/gstbasetransform.h:
6531 Change BaseTransform to separate in_place operate from same_caps
6532 output. in_place implies that the element can perform the transform
6533 on incoming buffers in-place, even if the caps on the output are
6535 Sub-class elements can now implement special buffer allocation
6536 methods for outgoing buffers if they wish to.
6537 Big documentation addition.
6538 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6539 * gst/elements/gstelements.c:
6540 Changes for basetransform modifications.
6541 * gst/elements/Makefile.am:
6542 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6543 Compile fix. Extra debug output.
6545 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6547 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6549 add tests for valid pad naming
6550 * gst/check/gstcheck.c: (gst_check_log_message_func),
6551 (gst_check_log_critical_func):
6553 remove printing of code, it is fragile when the code contains
6554 % and the line number is enough info
6555 * gst/check/gstcheck.h:
6556 * gst/gstpad.c: (gst_pad_template_new):
6559 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6562 say what CHECK flags we use
6563 * docs/libs/gstreamer-libs.types:
6564 * libs/gst/controller/Makefile.am:
6565 * libs/gst/controller/gst-controller.c:
6566 * libs/gst/controller/gst-controller.h:
6567 * libs/gst/controller/gst-helper.c:
6568 * libs/gst/controller/gst-interpolation.c:
6569 * libs/gst/controller/gstcontroller.c:
6570 * libs/gst/controller/gsthelper.c:
6571 * libs/gst/controller/gstinterpolation.c:
6572 * tools/gst-inspect.c: (print_plugin_info):
6573 we don't use dashes in header names
6575 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6577 * check/Makefile.am:
6578 * check/gst/.cvsignore:
6579 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6580 (gst_pipeline_suite), (main):
6581 adding a test for pipelines and state changes
6582 * gst/gstutils.c: (get_state_func):
6584 * gstreamer.spec.in:
6587 2005-09-08 Michael Smith <msmith@fluendo.com>
6589 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6590 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6591 (gst_file_src_is_seekable), (gst_file_src_get_size),
6592 (gst_file_src_start):
6593 * gst/elements/gstfilesrc.h:
6594 Various fixes for unseekable, unmmapable, and non-normal files, so
6595 that fallback to read() rather than mmap() works.
6596 * gst/gstevent.c: (gst_event_new_newsegment):
6597 Allow newsegment events with segment_start == segment_end, as will
6598 correctly happen if you use filesrc on a zero-size file, for
6601 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6603 * gst/gstplugin.c: (gst_plugin_load_file):
6604 Call g_module_close when we don't load the module
6606 * gst/registries/gstlibxmlregistry.c:
6607 (gst_xml_registry_get_property):
6608 Port leak fix from 0.8
6610 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6612 * docs/gst/gstreamer-docs.sgml:
6613 * docs/gst/tmpl/.cvsignore:
6614 * docs/gst/tmpl/gsttrace.sgml:
6615 * docs/gst/tmpl/gsttrashstack.sgml:
6624 * gst/gsttaginterface.c:
6625 * gst/gsttaginterface.h:
6628 * gst/gsttagsetter.c:
6629 * gst/gsttagsetter.h:
6632 * gst/gsttrashstack.c:
6633 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6634 inlined docs for gsttrace, gsttrashstack
6636 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6639 * gst/elements/gstbufferstore.h:
6640 * gst/elements/gsttypefindelement.c:
6641 * gst/elements/gsttypefindelement.h:
6643 * gst/gsttypefind.c:
6644 * gst/gsttypefind.h:
6645 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6646 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6647 (gst_type_find_factory_dispose),
6648 (gst_type_find_factory_unload_thyself),
6649 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6650 (gst_type_find_factory_get_caps),
6651 (gst_type_find_factory_get_extensions),
6652 (gst_type_find_factory_call_function):
6653 * gst/gsttypefindfactory.h:
6654 * gst/registries/gstlibxmlregistry.c:
6655 * gst/registries/gstxmlregistry.c:
6656 splitted gsttypefind into gsttypefind, gsttypefindfactory
6658 2005-09-07 Andy Wingo <wingo@pobox.com>
6660 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6661 condition whereby the pad's task function is entered before the
6662 pad_mode variable was set.
6664 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6666 * gst/gstpad.c: (gst_pad_alloc_buffer):
6667 Catch misbehaving pad_alloc functions that don't
6668 set up caps and do it for them.
6670 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6672 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6674 * docs/gst/tmpl/.cvsignore:
6675 * docs/gst/tmpl/gstmemchunk.sgml:
6676 * docs/gst/tmpl/gstparse.sgml:
6677 * docs/gst/tmpl/gsttaglist.sgml:
6678 * docs/gst/tmpl/gsttagsetter.sgml:
6679 * docs/gst/tmpl/gsttypefind.sgml:
6680 * docs/gst/tmpl/gsttypefindfactory.sgml:
6681 * gst/gstmemchunk.c:
6684 * gst/gsttaginterface.c:
6685 * gst/gsttypefind.c:
6686 * gst/gsttypefind.h:
6689 === release 0.9.2 ===
6691 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6696 releasing 0.9.2, "South"
6698 2005-09-05 Andy Wingo <wingo@pobox.com>
6700 * gst/registries/gstxmlregistry.h:
6701 * gst/registries/gstxmlregistry.c: Um... resurrect...
6703 * gst/registries/gstxmlregistry.h:
6704 * gst/registries/gstxmlregistry.c: and update to newer API.
6705 Incidentally they should be a bit faster now that they don't have
6708 2005-09-05 Andy Wingo <wingo@pobox.com>
6710 * gst/registries/gstxmlregistry.h:
6711 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6712 replaced by the libxml registry a while back
6714 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6716 * docs/gst/tmpl/gstplugin.sgml:
6717 * gst/elements/gstelements.c:
6719 * gst/gstplugin.c: (gst_plugin_register_func),
6720 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6721 (gst_plugin_get_source):
6723 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6724 (gst_xml_registry_save_plugin):
6725 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6726 (gst_xml_registry_save_plugin):
6727 * tools/gst-inspect.c: (print_plugin_info):
6728 add a "source" plugin description field, to represent the source
6729 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6730 will set it to PACKAGE, which is automake's idea of the name of
6733 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6739 * docs/faq/Makefile.am:
6740 * docs/gst/tmpl/gstelement.sgml:
6741 * docs/gst/tmpl/gsttypes.sgml:
6742 * docs/htmlinstall.mak:
6743 * docs/manual/Makefile.am:
6744 * docs/pwg/Makefile.am:
6745 reorganize doc build a little
6746 split out docbook and gtk-doc stuff
6747 have two separate --enable's and enable them through autogen
6748 but disable by default in configure (to be similar to other
6750 * gstreamer.spec.in:
6751 clean up docs install
6771 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6773 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6776 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6777 (gst_fake_sink_change_state):
6778 Make state change function thread-safe.
6780 * gst/gstpad.c: (gst_pad_alloc_buffer):
6781 Set offset on generic buffer allocated by fallback.
6783 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6785 * docs/gst/gstreamer-sections.txt:
6786 * docs/gst/tmpl/gstelement.sgml:
6788 * libs/gst/controller/gst-controller.c:
6789 (gst_controlled_property_set_interpolation_mode),
6790 (gst_controlled_property_new),
6791 (gst_controller_find_controlled_property):
6792 run the wingo-magic script against the docs
6794 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6796 * docs/gst/gstreamer-docs.sgml:
6797 * docs/gst/gstreamer-sections.txt:
6798 * docs/gst/tmpl/.cvsignore:
6799 * docs/gst/tmpl/gstelementdetails.sgml:
6800 * docs/gst/tmpl/gstelementfactory.sgml:
6803 * gst/gstelementfactory.c:
6804 * gst/gstelementfactory.h:
6805 merged elementdetails docs into elementfactory docs
6808 2005-09-02 Andy Wingo <wingo@pobox.com>
6810 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6811 consider this enum an enum and not a flags.
6813 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6815 * docs/gst/gstreamer-docs.sgml:
6816 * docs/gst/tmpl/.cvsignore:
6817 * docs/gst/tmpl/gstghostpad.sgml:
6818 * docs/gst/tmpl/gstiterator.sgml:
6819 * docs/gst/tmpl/gstmacros.sgml:
6820 * docs/gst/tmpl/gstrealpad.sgml:
6821 * docs/gst/tmpl/gstregistry.sgml:
6822 * docs/gst/tmpl/gstregistrypool.sgml:
6823 * docs/gst/tmpl/gststructure.sgml:
6824 * docs/gst/tmpl/gstsystemclock.sgml:
6825 * docs/gst/tmpl/gsttrace.sgml:
6826 * gst/gstghostpad.c:
6828 * gst/gstmemchunk.c:
6829 * gst/gstmemchunk.h:
6831 * gst/gstregistry.c:
6832 * gst/gstregistrypool.c:
6833 * gst/gststructure.c:
6834 * gst/gstsystemclock.c:
6837 2005-09-02 Andy Wingo <wingo@pobox.com>
6839 * gst/gstelement.h (GstState): Renamed from GstElementState,
6840 changed to be a normal enum instead of flags.
6841 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6842 munged to be GST_STATE_CHANGE_*.
6843 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6844 work with the new state representation.
6845 (GstStateChange): New enumeration of possible state transitions.
6846 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6847 (GstElementClass::change_state): Pass the GstStateChange along as
6848 an argument. Helps language bindings, so they don't have to use
6849 tricky lock-needing macros like GST_STATE_CHANGE ().
6851 * scripts/update-states (file): New script. Run it on a file to
6852 update it for state naming and API changes. Updates files in
6855 * All files updated for the new API.
6857 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6859 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6860 * gst/gstutils.c: (gst_util_set_value_from_string),
6861 (gst_util_set_object_arg):
6862 fix a bunch of unchecked return values
6863 * tools/gst-complete.c: (main):
6864 * gstreamer.spec.in:
6867 2005-09-01 Wim Taymans <wim@fluendo.com>
6869 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6870 (gst_base_sink_event), (gst_base_sink_do_sync),
6871 (gst_base_sink_handle_event):
6872 * gst/base/gstbasesink.h:
6873 Handle newsegments more correctly.
6878 * gst/gstevent.c: (gst_event_new_newsegment):
6879 A newsegment cannot have a start_time of -1
6881 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6883 * win32/gstenumtypes.c:
6884 * win32/gstenumtypes.h:
6887 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6889 * libs/gst/controller/gst-controller.c:
6890 (gst_controlled_property_set_interpolation_mode),
6891 (gst_controlled_property_new):
6894 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6896 * docs/faq/gst-uninstalled:
6901 * gst/gstutils.c: (gst_element_link_filtered):
6903 add gst_element_link_filtered
6905 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6907 * docs/gst/gstreamer-docs.sgml:
6908 * docs/gst/gstreamer-sections.txt:
6909 * docs/gst/tmpl/.cvsignore:
6910 * docs/gst/tmpl/gsterror.sgml:
6911 * docs/gst/tmpl/gstfilter.sgml:
6912 * docs/gst/tmpl/gsturihandler.sgml:
6913 * docs/gst/tmpl/gsturitype.sgml:
6914 * docs/gst/tmpl/gstutils.sgml:
6915 * docs/gst/tmpl/gstxml.sgml:
6923 inlined more docs, fixed double id-ref
6925 2005-08-31 Wim Taymans <wim@fluendo.com>
6927 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6928 (gst_base_transform_handle_buffer):
6929 Passthrough elements don't need the caps as they don't care.
6931 2005-08-31 Wim Taymans <wim@fluendo.com>
6933 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6934 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6935 Don't leak refcounts on buffers.
6937 2005-08-31 Wim Taymans <wim@fluendo.com>
6939 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6940 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6941 (gst_base_transform_chain), (gst_base_transform_change_state):
6942 * gst/base/gstbasetransform.h:
6943 Handle the case where we are not negotiated more gracefully.
6945 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6947 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6948 (gst_file_src_map_region):
6949 Set READONLY flag on mmap'ed buffers, otherwise
6950 gst_buffer_make_writable() won't work properly (#314708).
6952 2005-08-31 Wim Taymans <wim@fluendo.com>
6954 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6955 passthrough elements can even do inplace on non writable
6956 buffers (as they don't touch them).
6958 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6960 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6961 (gst_test_mono_source_set_property),
6962 (gst_test_mono_source_class_init), (GST_START_TEST),
6963 (gst_controller_suite):
6964 more tests (hehe I have the most)
6966 describe popping messages whenusing mulltiple sources
6967 * libs/gst/controller/gst-controller.c:
6968 (gst_controlled_property_set_interpolation_mode),
6969 (gst_controlled_property_new):
6970 * libs/gst/controller/gst-controller.h:
6971 * libs/gst/controller/gst-interpolation.c:
6972 implement boolean properties
6974 2005-08-31 Wim Taymans <wim@fluendo.com>
6976 * gst/gstminiobject.c: (gst_mini_object_ref):
6977 Cannot assert that the refcount has to be positive
6978 since a disposed object can be resurrected.
6980 2005-08-31 Wim Taymans <wim@fluendo.com>
6982 * gst/gstpad.c: (gst_pad_init):
6983 Revert change, need to first fix badly behaving
6986 2005-08-30 Wim Taymans <wim@fluendo.com>
6988 * check/elements/fakesrc.c: (setup_fakesrc):
6989 * check/elements/identity.c: (setup_identity):
6990 Activate pads before using them.
6992 2005-08-30 Wim Taymans <wim@fluendo.com>
6994 * gst/base/gstadapter.c: (gst_adapter_flush):
6995 Flushing out 0 bytes is ok for this function.
6997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6998 no newsegment gives a warning and sets the start/stop to
7001 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7002 (gst_base_transform_set_passthrough):
7005 * gst/gstminiobject.c: (gst_mini_object_ref):
7006 Check refcount here too.
7008 * gst/gstpad.c: (gst_pad_init):
7009 Pads are initially flushing and refusing data.
7011 * gst/gstutils.c: (gst_element_link_pads_filtered):
7012 When adding a capsfilter element make sure it has the
7013 same state as the parent bin.
7015 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7017 * docs/gst/tmpl/.cvsignore:
7018 * docs/gst/tmpl/gstformat.sgml:
7019 * docs/gst/tmpl/gstversion.sgml:
7023 * gst/gstversion.h.in:
7024 more docs and two more inlined
7026 2005-08-30 Wim Taymans <wim@fluendo.com>
7028 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7029 Don't sync to clock.
7031 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7033 * docs/gst/gstreamer-sections.txt:
7034 ultral33t func10ns deserve to appear in the docs actually
7035 * docs/gst/tmpl/.cvsignore:
7036 * docs/gst/tmpl/gstcompat.sgml:
7037 * docs/gst/tmpl/gstconfig.sgml:
7038 * gst/check/gstcheck.c:
7040 * gst/gstconfig.h.in:
7043 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7045 * docs/gst/tmpl/.cvsignore:
7046 * docs/gst/tmpl/gstquery.sgml:
7047 * docs/gst/tmpl/gstutils.sgml:
7050 inlined and extended docs
7052 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7054 * check/gst-libs/controller.c: (GST_START_TEST),
7055 (gst_controller_suite):
7057 * docs/gst/tmpl/gstutils.sgml:
7058 * docs/libs/gstreamer-libs-sections.txt:
7059 * docs/libs/tmpl/gstdataprotocol.sgml:
7061 * examples/controller/audio-example.c: (main):
7062 controller example works now
7065 * tools/gst-inspect.c: (print_element_properties_info):
7066 show param spec flags
7068 2005-08-29 Andy Wingo <wingo@pobox.com>
7070 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7072 2005-08-28 Andy Wingo <wingo@pobox.com>
7074 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7075 as having two arguments instead of just one. Allows superclasses
7076 to access information on subclasses -- see the terrible for() loop
7077 in gtype.c:g_type_create_instance for the reason why. All callers
7080 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7082 * docs/design/part-messages.txt:
7084 * docs/gst/tmpl/.cvsignore:
7085 * docs/gst/tmpl/gstcaps.sgml:
7086 * docs/gst/tmpl/gstclock.sgml:
7093 added descriptions for bus and message
7094 inline caps and clock docs
7096 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7102 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7104 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7107 2005-08-26 Andy Wingo <wingo@pobox.com>
7109 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7110 element_set_state's return val.
7111 (test_2_elements): Add test that's been disabled for months.
7113 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7114 can-activate-pull properties.
7116 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7117 can-activate-pull properties. Implement is_seekable so fakesrc can
7118 operate in pull mode.
7120 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7122 (gst_base_sink_activate, gst_base_sink_activate_pull)
7123 (gst_base_sink_activate_push): Make activation mode choosing work.
7125 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7126 is right. Make pull mode work. Post an eos before pausing in pull
7128 (gst_base_sink_change_state): Pay attention to the core's
7129 change_state() return val.
7131 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7132 has-getrange properties. Cleanups.
7134 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7135 has_getrange and replace with can_activate_pull and
7138 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7139 locking comments. Remove has_loop, has_chain and replace with
7140 can_activate_pull and can_activate_push.
7142 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7145 * examples/Makefile.am:
7146 * examples/metadata/Makefile.am:
7147 * examples/metadata/read-metadata.c: (message_loop),
7148 (have_pad_handler), (make_pipeline), (print_tag), (main):
7149 Add metadata reading example that loops over a list of filenames,
7150 dumping any tags found.
7152 * gst/gstbus.c: (gst_bus_dispose):
7153 * gst/gstelement.c: (gst_element_dispose):
7154 Release a few potentially-held references in dispose.
7156 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7158 * docs/gst/tmpl/gstminiobject.sgml:
7159 do *not* add tmpl/*.sgml files to CVS!
7161 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7163 * libs/gst/bytestream/.cvsignore:
7164 * libs/gst/bytestream/Makefile.am:
7165 * libs/gst/bytestream/adapter.c:
7166 * libs/gst/bytestream/adapter.h:
7167 * libs/gst/bytestream/bytestream.c:
7168 * libs/gst/bytestream/bytestream.h:
7169 * libs/gst/bytestream/filepad.c:
7170 * libs/gst/bytestream/filepad.h:
7171 removing obsolete files
7173 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7175 * docs/gst/gstreamer-docs.sgml:
7176 * docs/libs/gstreamer-libs-docs.sgml:
7177 disabed additional index entries again, as this makes docs-gen just
7178 slow and they aren't useful yet
7179 * docs/libs/gstreamer-libs-sections.txt:
7180 little -section.txt cleanup for libs
7182 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7184 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7185 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7186 fix up some debugging
7187 (gst_base_transform_get_unit_size),
7188 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7189 (gst_base_transform_handle_buffer):
7190 * gst/base/gstbasetransform.h:
7191 handle and store timed NEWSEGMENT events so that subclasses that
7192 calculate time by counting samples have a segment_start time they
7193 need to add to their timestamps - see audioresample
7195 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7198 removed ';' from the end of macro defs
7199 * docs/gst/gstreamer-docs.sgml:
7200 * docs/gst/gstreamer-sections.txt:
7201 * docs/gst/tmpl/.cvsignore:
7203 * gst/gstelement.c: (gst_element_class_init),
7204 (gst_element_set_state), (activate_pads),
7205 (gst_element_save_thyself):
7206 * gst/gstevent.c: (gst_event_new_newsegment):
7208 * gst/gstiterator.c:
7209 * gst/gstiterator.h:
7212 * gst/gstutils.c: (gst_pad_query_convert):
7214 fixed parameter name mismatches between source, header and docs
7215 added some more docs, resolved the last batch of unused elements in
7216 docs (now someone needs to doc them)
7218 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7220 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7221 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7222 don't walk through the plugins backwards. Where is all this
7223 reversed logic coming from ?
7225 2005-08-25 Wim Taymans <wim@fluendo.com>
7227 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7228 (gst_base_transform_transform_size),
7229 (gst_base_transform_configure_caps),
7230 (gst_base_transform_get_unit_size),
7231 (gst_base_transform_buffer_alloc),
7232 (gst_base_transform_change_state):
7233 * gst/base/gstbasetransform.h:
7234 Cache caps unit_size.
7235 Make sure we cannot negotiate up and downstream at the
7238 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7240 * gst/gst.c: (init_pre), (init_post):
7241 register the installed plugin path after the env var
7242 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7243 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7244 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7245 directories, so the tests can prefer uninstalled over installed
7247 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7249 * gst/base/gstbasetransform.h:
7254 2005-08-25 Wim Taymans <wim@fluendo.com>
7256 * gst/gstbin.c: (bin_bus_handler):
7257 Be a bit more conservative about the posted message.
7259 * gst/gstbus.c: (gst_bus_post):
7260 Some cleanups, warn wrong return values.
7262 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7264 * check/gst/gstbin.c: (GST_START_TEST):
7265 * gst/gstbin.c: (bin_bus_handler):
7266 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7267 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7268 (gst_message_new_warning), (gst_message_new_tag),
7269 (gst_message_new_state_changed), (gst_message_new_segment_start),
7270 (gst_message_new_segment_done), (gst_message_new_custom):
7272 * tools/gst-launch.c: (event_loop):
7273 * tools/gst-md5sum.c: (event_loop):
7274 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7276 2005-08-25 Wim Taymans <wim@fluendo.com>
7278 * check/generic/states.c: (GST_START_TEST):
7279 Cleanup can be done at the end.
7281 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7282 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7283 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7284 Oh boy.. Thanks for finding this, Thomas.
7286 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7288 * docs/gst/gstreamer.types:
7291 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7293 * docs/gst/gstreamer-docs.sgml:
7294 * docs/gst/gstreamer-sections.txt:
7295 * docs/gst/tmpl/.cvsignore:
7297 * gst/gstiterator.c:
7299 * gst/registries/gstxmlregistry.h:
7300 added missing classes and symbols (123 more to go)
7301 removed removed symbols from section file
7302 fixed many doc-comments
7304 2005-08-24 Wim Taymans <wim@fluendo.com>
7306 * check/generic/states.c: (GST_START_TEST):
7307 Make sure all tasks are stopped.
7309 * check/gst/gstbin.c: (GST_START_TEST):
7310 Unref after usage for proper valgrinding.
7312 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7313 Really wait for the task to stop before destroying the
7316 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7317 (gst_queue_src_activate_push):
7318 Small cleanups. Don't stop the task when we did not start
7321 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7322 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7323 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7326 Protect the stream lock with the object lock.
7327 Disallow setting the stream lock when running.
7328 Add cleanup_all to wait for the threadpool to finish.
7329 Remove code to autoallocate a mutex if none was provided.
7330 Add _join() to wait for a task to stop.
7331 Protect the thread pool with a global lock.
7333 2005-08-24 Wim Taymans <wim@fluendo.com>
7335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7336 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7337 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7338 * gst/base/gstbasesink.h:
7339 Handle newsegment events correctly.
7340 Drop buffers out of the segment range.
7342 2005-08-22 Andy Wingo <wingo@pobox.com>
7344 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7345 macro, implements an interface and gstimplementsinterface for a
7348 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7350 * check/Makefile.am:
7351 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7352 add a test that does a bunch of state changes on elements
7353 needs some fixing for valgrind
7354 * check/states/sinks.c: (gst_object_suite):
7357 add prototype for gst_caps_is_equal_fixed
7359 * gst/gstregistrypool.c:
7362 2005-08-24 Andy Wingo <wingo@pobox.com>
7364 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7365 convert a negative value. Doesn't make much sense. Mostly this is
7366 here to force callers to ensure -1 maps to -1.
7368 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7370 * docs/pwg/advanced-types.xml:
7371 Well done to Michael for catching my deliberate introduction
7372 of this spelling mistake.
7373 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7375 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7376 unlink pads before removing the element from the bin.
7378 2005-08-24 Andy Wingo <wingo@pobox.com>
7380 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7381 the same thing as GST_DEBUG=*:4.
7382 (parse_debug_level, parse_debug_category): New helper parsers.
7384 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7386 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7387 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7388 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7389 (gst_base_transform_buffer_alloc),
7390 (gst_base_transform_handle_buffer):
7391 use gboolean return values and pointers to size so we can use the
7392 full GST_BUFFER_SIZE range (guint) for buffer sizes
7393 use GstPadDirection for transform_caps
7394 * gst/base/gstbasetransform.h:
7395 rename get_size to get_unit_size since that's what it is
7396 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7397 use GstPadDirection for transform_caps
7398 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7400 cleanup and debugging
7402 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7404 * gst/gstelement.c: (gst_element_class_init),
7405 (gst_element_set_state), (activate_pads),
7406 (gst_element_save_thyself):
7407 * tools/gst-compprep.c: (main):
7408 * tools/gst-inspect.c: (print_element_properties_info):
7409 * tools/gst-xmlinspect.c: (print_element_properties):
7410 Fixed long standing mem-leak
7412 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7414 * check/gst/gstbin.c: (GST_START_TEST):
7415 * gst/gstbin.c: (bin_bus_handler):
7416 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7417 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7418 (gst_message_new_warning), (gst_message_new_tag),
7419 (gst_message_new_state_changed), (gst_message_new_segment_start),
7420 (gst_message_new_segment_done), (gst_message_new_custom):
7422 * tools/gst-launch.c: (event_loop):
7423 * tools/gst-md5sum.c: (event_loop):
7424 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7425 that applications can sensibly post custom messages with references
7426 to their own objects.
7428 2005-08-24 Andy Wingo <wingo@pobox.com>
7430 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7433 2005-08-24 Wim Taymans <wim@fluendo.com>
7435 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7436 (gst_base_transform_transform_caps),
7437 (gst_base_transform_transform_size),
7438 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7439 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7440 (gst_base_transform_handle_buffer):
7441 * gst/base/gstbasetransform.h:
7442 Many fixes and new features added by Thomas. Can now also do
7443 transforms with variable sizes and a custom fixate_caps function.
7445 2005-08-24 Wim Taymans <wim@fluendo.com>
7447 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7451 Cast to ClockTime before formatting to time.
7456 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7458 * check/gst-libs/controller.c: (GST_START_TEST),
7459 (gst_controller_suite):
7460 * docs/gst/tmpl/gstcaps.sgml:
7461 * docs/gst/tmpl/gstghostpad.sgml:
7462 * docs/gst/tmpl/gstquery.sgml:
7463 * docs/gst/tmpl/gstutils.sgml:
7464 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7465 (gst_object_sink_values), (gst_object_get_value_arrays),
7466 (gst_object_get_value_array):
7467 gracefully handle helper method calls to objects that are not beeing
7468 controlled, added test case for that
7470 2005-08-23 Wim Taymans <wim@fluendo.com>
7472 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7473 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7474 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7475 (gst_event_parse_qos), (gst_event_new_seek),
7476 (gst_event_parse_seek):
7478 Some more debugging output and doc cleanups.
7480 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7481 Fix possible deadlock.
7483 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7485 * docs/gst/gstreamer-docs.sgml:
7486 * docs/gst/gstreamer-sections.txt:
7487 * docs/gst/gstreamer.types:
7488 * docs/gst/tmpl/.cvsignore:
7493 added 100 symbols from gstreamer-unused.txt to the right sections
7494 fixed more broken comments
7495 added GstBus to docs
7497 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7499 * docs/gst/gstreamer-sections.txt:
7500 * docs/gst/tmpl/.cvsignore:
7501 * docs/gst/tmpl/gstbin.sgml:
7502 * docs/gst/tmpl/gstbuffer.sgml:
7503 * gst/base/gstbasesrc.c:
7504 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7507 * tools/gst-launch.1.in:
7508 inlined more doc comments, added missing comments and fixed comments
7511 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7513 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7517 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7519 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7520 * gst/gststructure.h:
7521 add a fixate function for booleans; add a FIXME that these func
7522 names should probably be gst_structure_fixate_*
7524 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7526 * docs/gst/gstreamer-docs.sgml:
7527 * docs/gst/gstreamer-sections.txt:
7529 * gst/gstbin.c: (gst_bin_get_type),
7530 (gst_bin_child_proxy_get_child_by_index),
7531 (gst_bin_child_proxy_get_children_count),
7532 (gst_bin_child_proxy_init):
7533 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7534 (gst_child_proxy_get_child_by_index),
7535 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7536 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7537 (gst_child_proxy_get), (gst_child_proxy_set_property),
7538 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7539 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7540 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7541 * gst/gstchildproxy.h:
7542 * gst/parse/grammar.y:
7543 * tools/gst-inspect.c: (print_interfaces),
7544 (print_element_properties_info), (print_element_info):
7545 ported gstchildproxy over from 0.8
7546 ported gst-inspect fixes and enhancements over from 0.8
7548 2005-08-22 Wim Taymans <wim@fluendo.com>
7550 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7551 (gst_base_transform_handle_buffer):
7552 Also call the transform function if we have ANY caps.
7554 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7557 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7559 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7560 Don't pretend to handle seek events if the source is not seekable
7562 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7565 Remove extra parameter to debug output
7567 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7568 (gst_base_src_do_seek), (gst_base_src_activate_push):
7569 Fix seek event handling.
7571 * gst/gstpipeline.c: (gst_pipeline_change_state):
7572 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7573 (gst_queue_src_activate_push):
7574 Don't start the src pad task on FLUSH_STOP if the pad
7578 2005-08-22 Wim Taymans <wim@fluendo.com>
7580 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7581 Added check for gst_static_caps_get() refcounting.
7583 2005-08-22 Wim Taymans <wim@fluendo.com>
7585 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7586 Make _static_caps_get() refcounting sane.
7588 * gst/gstelement.c: (gst_element_set_state):
7589 Add g_return_val_if_fail() to protect against segfaults.
7591 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7593 * docs/gst/tmpl/gstevent.sgml:
7596 inlined remaining docs, added missing doc comments
7598 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7600 * check/gst/gstbin.c: (GST_START_TEST):
7601 since we don't know when preroll is done, use refcount range
7603 * gst/check/gstcheck.h:
7604 add macro for checking refcount range
7606 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7608 * check/Makefile.am:
7609 clean up environment for when registry gets built versus
7610 when actual tests are run; valgrind seems to not report
7611 leaks if GST_PLUGIN_PATH is set to some specific values
7612 * check/gst/gstbin.c: (GST_START_TEST):
7613 add more refcounting checks; maybe this exposes a
7616 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7617 * gst/check/gstcheck.h:
7618 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7619 (gst_bin_change_state):
7620 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7621 add/fix debugging/whitespace
7623 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7625 * check/gst/gstevent.c: (event_probe), (test_event),
7627 Er, don't call gst_bin_watch_for_state_change you idiot.
7629 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7631 * check/Makefile.am:
7632 Use CHECK_CFLAGS and CHECK_LIBS
7633 * check/gst/gstevent.c: (event_probe), (test_event),
7636 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7637 (gst_base_src_start), (gst_base_src_stop),
7638 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7639 (gst_base_src_change_state):
7640 Sprinkle gst_base_src_stop liberally around error paths to fix
7641 problems reusing a source after failed state changes.
7642 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7643 (helper_find_suggest), (gst_type_find_helper):
7644 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7646 * docs/gst/tmpl/gstevent.sgml:
7647 Migrate part of the docs from the SGML file. Wait for ensonic to
7648 tell me how I did it wrong ;)
7649 * tools/gst-typefind.c: (main):
7650 Extra robustness to state changes between files.
7652 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7654 * check/Makefile.am:
7655 don't valgrind the controller test - it's leaking - Stefan, HELP
7656 * gst/check/gstcheck.c: (gst_check_message_error),
7657 (gst_check_chain_func), (gst_check_setup_element),
7658 (gst_check_teardown_element), (gst_check_setup_src_pad),
7659 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7660 (gst_check_teardown_sink_pad):
7661 * gst/check/gstcheck.h:
7662 add a bunch of methods to set up elements, and src and sink pads
7663 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7664 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7669 whitespace/doc fixes
7671 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7674 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7675 be handled by the application and not always printed as well
7677 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7679 * check/Makefile.am:
7681 * gst/check/gstcheck.c: (gst_check_message_error):
7682 * gst/check/gstcheck.h:
7683 add a fail_unless_equals_int
7684 add fail_unless for error messages
7686 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7688 * check/Makefile.am:
7690 * common/Makefile.am:
7693 factor out some of the common stuff so we can use it
7695 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7697 * check/Makefile.am:
7698 * check/gst/gstiterator.c: (GST_START_TEST):
7699 * check/gst/gstsystemclock.c: (GST_START_TEST),
7700 (gst_systemclock_suite):
7701 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7705 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7707 * check/elements/.cvsignore:
7708 * check/elements/gstfakesrc.c:
7709 rename to name of element
7710 * check/elements/identity.c: (chain_func), (event_func),
7711 (setup_identity), (cleanup_identity), (GST_START_TEST),
7712 (identity_suite), (main):
7713 add a test for identity
7714 * check/Makefile.am:
7715 * pkgconfig/Makefile.am:
7716 * pkgconfig/gstreamer-check.pc.in:
7717 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7721 move the check stuff to a library that gets installed
7722 * check/gst-libs/controller.c: (GST_START_TEST):
7723 * check/gst-libs/gdp.c:
7724 * check/gst/gst.c: (GST_START_TEST):
7725 * check/gst/gstbin.c:
7726 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7727 * check/gst/gstbus.c:
7728 * check/gst/gstcaps.c: (GST_START_TEST):
7729 * check/gst/gstelement.c:
7730 * check/gst/gstghostpad.c:
7731 * check/gst/gstiterator.c:
7732 * check/gst/gstmessage.c:
7733 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7734 * check/gst/gstobject.c:
7735 * check/gst/gstpad.c: (GST_START_TEST):
7736 * check/gst/gststructure.c: (GST_START_TEST):
7737 * check/gst/gstsystemclock.c: (GST_START_TEST),
7738 (gst_systemclock_suite):
7739 * check/gst/gsttag.c: (gst_tag_suite):
7740 * check/gst/gstvalue.c:
7741 * check/pipelines/cleanup.c:
7742 * check/pipelines/simple_launch_lines.c:
7743 * check/states/sinks.c:
7744 change include statement
7746 * docs/gst/gstreamer-sections.txt:
7747 * docs/gst/tmpl/gstpad.sgml:
7748 document more pad stuff
7749 * gst/gstminiobject.c: (gst_mini_object_ref),
7750 (gst_mini_object_unref):
7753 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7755 * docs/gst/tmpl/gst.sgml:
7757 eliminate another tmpl file, fix spelling in the long-description
7759 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7761 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7762 (test_event), (timediff), (gstevents_suite):
7763 Should fix build on 64-bit arch's
7765 2005-08-18 Andy Wingo <wingo@pobox.com>
7767 Make sure that when a pipeline goes to PLAYING, that data has
7768 actually hit the sink.
7770 * check/states/sinks.c (test_sink): A sink that doesn't get any
7771 data shouldn't return SUCCESS for going to either PLAYING or
7772 PAUSED. Test also the return values on the way back down.
7774 * gst/gstelement.c (gst_element_set_state): When changing the
7775 state of an element currently changing state asynchronously, go to
7776 lost-state after commiting the pending state. Makes future calls
7777 to get_state continue to return ASYNC.
7779 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7780 ASYNC when going to PLAYING if we still don't have preroll, as can
7781 happen with live sources.
7783 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7785 * docs/pwg/advanced-types.xml:
7786 Hack long paragraph into 2 chunks as a workaround for buggy
7787 jadetex version in sid and breezy that loops infinitely and
7790 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7792 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7793 (test_event), (timediff), (gstevents_suite):
7794 Provide more error margin in clock measurements to allow for
7795 g_get_current_time inaccuracies.
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 Fix error message output so I might be able to tell why the
7802 test works here but fails on the build farm.
7804 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7806 * check/Makefile.am:
7807 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7808 (test_event), (timediff), (gstevents_suite), (main):
7811 * docs/design/part-seeking.txt:
7814 * docs/gst/tmpl/gstevent.sgml:
7815 * docs/gst/tmpl/gstfakesrc.sgml:
7818 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7819 Treat a buffer-without-newsegment the same as a receiving
7820 a newsegment not in time format, and disable syncing to the clock
7823 * gst/gstbus.c: (gst_bus_set_sync_handler):
7824 Assert if anyone tries to replace the existing sync_handler for bus,
7825 as only the owner should be setting it.
7828 Have a fixed set of custom event enums with events identified by
7829 their structure name (as in 0.8), rather than a free-for-all
7830 allowing collisions between enum values from different plugins.
7832 * gst/gstpad.c: (gst_pad_class_init):
7835 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7836 Handle out-of-band downstream events from the sending thread.
7838 2005-08-17 Andy Wingo <wingo@pobox.com>
7840 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7841 play-timeout==0 to mean no timeout at all. In that case, don't
7842 bother with a get_state or a warning, just return directly, even
7845 * gst/base/gstbasetransform.c: Debug changes.
7848 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7849 ensure bins post state change messages. A bit of a hack but I can't
7850 think of a way to avoid it.
7852 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7854 2005-08-16 Andy Wingo <wingo@pobox.com>
7856 * gst/base/gstadapter.h:
7857 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7858 peek() but you own the data. Not terribly efficient atm.
7860 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7862 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7863 (gst_element_found_tags):
7865 Add two utility functions for tag handling.
7867 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7869 * docs/manual/advanced-dataaccess.xml:
7870 * docs/manual/basics-helloworld.xml:
7871 Fix docs to use _bin_add() before _link(), which fixes the examples
7872 with recent core versions (reported by Madhan Raj M
7873 <raj_madan@rediffmail.com>, #313199).
7875 2005-08-16 Wim Taymans <wim@fluendo.com>
7877 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7878 Added subtract checks.
7880 * docs/design/part-events.txt:
7881 Some more docs about newsegment
7883 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7886 * gst/gstcaps.c: (gst_caps_to_string):
7887 Add comments, cleanups.
7889 * gst/gstelement.c: (gst_element_save_thyself):
7892 * gst/gstvalue.c: (gst_value_collect_int_range),
7893 (gst_string_unwrap), (gst_value_union_int_int_range),
7894 (gst_value_union_int_range_int_range),
7895 (gst_value_intersect_int_int_range),
7896 (gst_value_intersect_int_range_int_range),
7897 (gst_value_intersect_double_double_range),
7898 (gst_value_intersect_double_range_double_range),
7899 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7900 (gst_value_subtract_int_range_int),
7901 (gst_value_subtract_double_range_double),
7902 (gst_value_subtract_double_range_double_range),
7903 (gst_value_subtract_from_list), (gst_value_subtract_list),
7904 (gst_value_can_compare), (gst_value_compare_fraction):
7905 Cleanups, add comments, remove unneeded asserts.
7907 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7909 * tools/gst-launch.c: (event_loop):
7910 don't convert NULL structures to strings
7912 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7914 * docs/gst/gstreamer-sections.txt:
7915 made some defines private
7916 * docs/gst/tmpl/gstconfig.sgml:
7917 * docs/gst/tmpl/gstqueue.sgml:
7918 * docs/gst/tmpl/gsttaglist.sgml:
7919 * docs/gst/tmpl/gsttypes.sgml:
7920 * docs/gst/tmpl/gstutils.sgml:
7921 * docs/pwg/appendix-porting.xml:
7922 * gst/base/gstbasesink.h:
7923 * gst/base/gstbasesrc.c:
7924 * gst/base/gstbasesrc.h:
7925 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7926 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7927 * gst/gstelement.c: (gst_element_class_init):
7928 * gst/gstpad.c: (gst_pad_class_init):
7929 * gst/gstqueue.c: (gst_queue_class_init):
7930 * gst/gstxml.c: (gst_xml_class_init):
7931 documented all undocumented signal inline
7932 * libs/gst/controller/gst-controller.h:
7935 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7937 * docs/pwg/appendix-porting.xml:
7938 Document _set_link_function -> _set_setcaps_function.
7940 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7942 * check/Makefile.am:
7943 add a .check target for running the check
7944 * check/gst-libs/controller.c: (GST_START_TEST):
7946 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7947 complete checks for gstbuffer; would be nice if I could get the
7948 gcov stuff to work so I can see if I actually completed gstbuffer.c
7950 add ASSERT_BUFFER_REFCOUNT
7952 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7954 * docs/gst/gstreamer-sections.txt:
7955 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7957 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7958 spew out a warning if a tag that is already registered
7959 is re-registered, unless it is re-registered with a
7960 different type (#308438).
7962 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7964 * docs/pwg/appendix-porting.xml:
7965 * docs/pwg/building-state.xml:
7966 Add some paragraphs about state changes in 0.9 to the PWG
7967 and the porting guide, in particular about the new meaning
7968 of GST_STATE_PAUSED and how to write state change functions
7969 with concurrent access by multiple threads in mind.
7971 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7973 * docs/gst/gstreamer-docs.sgml:
7974 * docs/libs/gstreamer-libs-docs.sgml:
7975 added deprecation and since indexes
7976 * libs/gst/controller/gst-controller.c:
7977 * libs/gst/controller/gst-helper.c:
7981 2005-08-11 Wim Taymans <wim@fluendo.com>
7983 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7984 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7985 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7986 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7987 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7988 (gst_ghost_pad_set_target):
7989 Actually implement (re)setting the target on a ghostpad
7990 as described in the docs.
7992 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7994 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7995 Check whether GST_DEBUG_NO_COLOR environment variable is
7996 set and disable coloured debug output if that is the case.
7998 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8000 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8001 (gst_type_find_helper):
8002 The memory returned by gst_type_find_peek() needs to
8003 stay valid until the end of a typefind function, and
8004 typefind functions may keep results from different
8005 offsets around, so we can't just unref the buffer from
8006 the previous _peek(), but have to save all buffers
8007 returned by _peek() until typefinding is done and only
8010 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8012 * docs/gst/gstreamer-sections.txt:
8014 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8016 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8018 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8019 Fix a pretty good memleak.
8021 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8023 * gst/gstiterator.h:
8024 Fix wrong include and 'make distcheck'.
8026 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8028 * gst/gstbin.c: (bin_bus_handler):
8029 Use gst_element_post_message() instead.
8031 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8033 * gst/base/gstadapter.h:
8034 * gst/base/gstbasesink.h:
8035 * gst/base/gstbasesrc.h:
8036 * gst/base/gstbasetransform.h:
8037 * gst/base/gstcollectpads.h:
8038 * gst/base/gstpushsrc.h:
8039 * gst/gstiterator.h:
8040 Add padding to our base elements' class and instance structs and
8041 to GstIterator (you will need to rebuild all plugins and apps!)
8043 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8045 * gst/gstbin.c: (bin_bus_handler):
8046 Make default message forwarding from child->bus to bin->bus
8047 threadsafe and make it not emit warnings if the parent has no bus.
8049 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8051 * gst/gstelement.c: (activate_pads):
8052 On paused->ready, set pad->caps to NULL, as is the documented
8053 behaviour in this state change. Fixes playback of series of
8054 media files when visualization is enabled in Totem.
8056 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8058 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8059 Allow NULL as filter-caps (which means "any").
8061 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8063 * docs/libs/gstreamer-libs-sections.txt:
8064 * libs/gst/controller/gst-controller.c:
8065 * libs/gst/controller/gst-controller.h:
8066 * libs/gst/controller/gst-helper.c:
8067 adding more entries to the docs and fix small doc-bugs
8069 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8071 * docs/gst/gstreamer-docs.sgml:
8072 * docs/gst/gstreamer-sections.txt:
8073 * docs/gst/gstreamer.types:
8074 * docs/gst/tmpl/gstbasesink.sgml:
8075 * docs/gst/tmpl/gstbasesrc.sgml:
8076 * docs/gst/tmpl/gstbasetransform.sgml:
8077 * docs/gst/tmpl/gstfakesrc.sgml:
8078 * gst/base/gstcollectpads.c:
8079 * gst/base/gstcollectpads.h:
8080 * libs/gst/controller/gst-controller.c:
8081 * libs/gst/controller/gst-controller.h:
8082 * libs/gst/controller/gst-helper.c:
8083 * libs/gst/controller/gst-interpolation.c:
8084 * libs/gst/controller/lib.c:
8085 added long/short desc for controller docs
8086 added collectpads base class docs
8087 added correct includes to base-class docs
8089 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8091 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8092 (gst_test_mono_source_set_property),
8093 (gst_test_mono_source_class_init), (GST_START_TEST),
8094 (gst_controller_suite):
8095 * docs/gst/gstreamer-docs.sgml:
8096 * docs/gst/gstreamer-sections.txt:
8097 * docs/gst/gstreamer.types:
8098 * docs/libs/gstreamer-libs-docs.sgml:
8099 * docs/libs/gstreamer-libs-sections.txt:
8100 * gst/base/gstadapter.c:
8101 * libs/gst/controller/gst-controller.c:
8102 (gst_controlled_property_new), (gst_controlled_property_free),
8103 (gst_controller_new_valist),
8104 (gst_controller_remove_properties_valist),
8105 (gst_controller_sink_values), (_gst_controller_finalize):
8106 * libs/gst/controller/gst-controller.h:
8107 * libs/gst/controller/gst-helper.c:
8108 (gst_object_control_properties), (gst_object_uncontrol_properties),
8109 (gst_object_get_controller), (gst_object_set_controller),
8110 (gst_object_sink_values), (gst_object_get_value_arrays),
8111 (gst_object_get_value_array):
8112 more tests (and fixes) for the controller
8113 more docs for the controller
8114 integrated companies docs for the adapter
8116 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8118 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8119 (GST_START_TEST), (fakesrc_suite):
8120 add tests for sizetype
8122 2005-08-04 Andy Wingo <wingo@pobox.com>
8124 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8125 fixes buffer_alloc proxying among other things.
8127 * gst/base/gstbasetransform.c:
8128 * gst/base/gstbasetransform.h:
8129 Revert patch to gstbasetransform from 7-28 removing
8132 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8133 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8134 Semantics changed, should return not the size of the output buffer
8135 but the byte size of a buffer with a given caps.
8137 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8139 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8140 out) are not the pad caps until setcaps finishes.
8141 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8142 not-in-place case as well. Deal with changing from in-place to
8143 not-in-place within calling pad_alloc_buffer. Still a bit
8144 concerned about the overhead here...
8146 2005-08-03 Andy Wingo <wingo@pobox.com>
8148 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8149 fixating is an error.
8151 2005-08-04 Edward Hervey <edward@fluendo.com>
8153 * gst/base/gstadapter.h:
8154 Added gst_adapter_get_type() to the header
8156 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8158 * check/Makefile.am:
8159 * check/gst-libs/controller.c:
8160 * libs/gst/controller/gst-controller.c:
8161 (gst_controller_new_valist):
8162 added check test suite for the controller
8163 * gst/base/gstpushsrc.c:
8166 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8168 * docs/gst/Makefile.am:
8169 * docs/gst/gstreamer-docs.sgml:
8170 * docs/gst/gstreamer-sections.txt:
8171 * docs/gst/gstreamer.types:
8172 * docs/gst/tmpl/gstfakesrc.sgml:
8174 * gst/base/gstbasesink.c:
8175 * gst/base/gstbasesink.h:
8176 * gst/base/gstbasesrc.c:
8177 * gst/base/gstbasesrc.h:
8178 * gst/base/gstbasetransform.c:
8179 * gst/base/gstpushsrc.c:
8180 * gst/base/gstpushsrc.h:
8181 add short/long description docs to base classes
8182 add pushsrc to the docs
8183 remove consolidated doc fragments
8185 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8188 * docs/libs/Makefile.am:
8189 * docs/libs/gstreamer-libs-docs.sgml:
8190 * docs/libs/gstreamer-libs-sections.txt:
8191 * docs/libs/gstreamer-libs.types:
8192 * examples/Makefile.am:
8193 * examples/controller/.cvsignore:
8194 * examples/controller/Makefile.am:
8195 * examples/controller/audio-example.c: (main):
8196 * libs/gst/Makefile.am:
8197 * libs/gst/controller/.cvsignore:
8198 * libs/gst/controller/Makefile.am:
8199 * libs/gst/controller/gst-controller.c:
8200 (on_object_controlled_property_changed), (gst_timed_value_compare),
8201 (gst_timed_value_find),
8202 (gst_controlled_property_set_interpolation_mode),
8203 (gst_controlled_property_new), (gst_controlled_property_free),
8204 (gst_controller_find_controlled_property),
8205 (gst_controller_new_valist), (gst_controller_new),
8206 (gst_controller_remove_properties_valist),
8207 (gst_controller_remove_properties), (gst_controller_set),
8208 (gst_controller_set_from_list), (gst_controller_unset),
8209 (gst_controller_get), (gst_controller_get_all),
8210 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8211 (gst_controller_get_value_array),
8212 (gst_controller_set_interpolation_mode),
8213 (_gst_controller_finalize), (_gst_controller_init),
8214 (_gst_controller_class_init), (gst_controller_get_type):
8215 * libs/gst/controller/gst-controller.h:
8216 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8217 (g_object_uncontrol_properties), (g_object_get_controller),
8218 (g_object_set_controller), (g_object_sink_values),
8219 (g_object_get_value_arrays), (g_object_get_value_array):
8220 * libs/gst/controller/gst-interpolation.c:
8221 (gst_controlled_property_find_timed_value_node),
8222 (interpolate_none_get), (interpolate_trigger_get),
8223 (interpolate_trigger_get_value_array):
8224 * libs/gst/controller/lib.c: (gst_controller_init):
8225 * pkgconfig/Makefile.am:
8226 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8227 * pkgconfig/gstreamer-control.pc.in:
8228 * testsuite/Makefile.am:
8229 * testsuite/controller/.cvsignore:
8230 * testsuite/controller/Makefile.am:
8231 * testsuite/controller/interpolator.c: (main):
8232 added controller code
8233 removed dparam pc files
8235 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8236 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8237 (gst_collectpads_stop):
8238 Broadcast the condition when shutting down, to make sure we wake all
8239 threads up. Shut down pads on finalize, for safety.
8241 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8242 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8243 (gst_base_transform_handle_buffer),
8244 (gst_base_transform_change_state):
8245 Handle PAUSED->READY->PAUSED transition after negotiation
8247 * gst/gstmessage.c: (gst_message_init):
8248 Extra piece of debug for new messages.
8250 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8253 * docs/gst/tmpl/gstbasesrc.sgml:
8254 * docs/gst/tmpl/gstelement.sgml:
8255 * docs/gst/tmpl/gstevent.sgml:
8256 * docs/gst/tmpl/gstfakesrc.sgml:
8257 * docs/gst/tmpl/gstformat.sgml:
8258 * docs/gst/tmpl/gstghostpad.sgml:
8259 * docs/gst/tmpl/gstpad.sgml:
8260 * docs/gst/tmpl/gstquery.sgml:
8261 * docs/gst/tmpl/gststructure.sgml:
8262 * docs/gst/tmpl/gsttaglist.sgml:
8263 * docs/gst/tmpl/gstvalue.sgml:
8264 * docs/libs/gstreamer-libs-docs.sgml:
8265 * docs/libs/gstreamer-libs-sections.txt:
8266 * docs/libs/gstreamer-libs.types:
8267 * libs/gst/Makefile.am:
8268 * libs/gst/control/.cvsignore:
8269 * libs/gst/control/Makefile.am:
8270 * libs/gst/control/control.c:
8271 * libs/gst/control/control.h:
8272 * libs/gst/control/dparam.c:
8273 * libs/gst/control/dparam.h:
8274 * libs/gst/control/dparam_smooth.c:
8275 * libs/gst/control/dparam_smooth.h:
8276 * libs/gst/control/dparamcommon.h:
8277 * libs/gst/control/dparammanager.c:
8278 * libs/gst/control/dparammanager.h:
8279 * libs/gst/control/dplinearinterp.c:
8280 * libs/gst/control/dplinearinterp.h:
8281 * libs/gst/control/unitconvert.c:
8282 * libs/gst/control/unitconvert.h:
8283 * testsuite/Makefile.am:
8284 * testsuite/dynparams/.cvsignore:
8285 * testsuite/dynparams/Makefile.am:
8286 * testsuite/dynparams/dparamstest.c:
8287 * tools/Makefile.am:
8288 * tools/gst-inspect.c: (print_element_info), (main):
8289 * tools/gst-xmlinspect.c: (print_element_info), (main):
8290 deactivate and remove dparams (libgstcontrol)
8292 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8294 * gst/elements/gsttypefindelement.c:
8295 (gst_type_find_element_have_type), (gst_type_find_element_init),
8296 (stop_typefinding), (gst_type_find_element_handle_event),
8297 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8298 * gst/elements/gsttypefindelement.h:
8299 Set caps on all outgoing buffers, not just the first one.
8301 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8303 * gst/elements/gsttypefindelement.c:
8304 (gst_type_find_element_have_type),
8305 (gst_type_find_element_check_set_buffer_caps),
8306 (gst_type_find_element_init), (stop_typefinding),
8307 (gst_type_find_element_handle_event),
8308 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8309 * gst/elements/gsttypefindelement.h:
8310 Set caps on first outgoing buffer when we've found the type.
8312 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8314 * docs/gst/gstreamer-docs.sgml:
8315 * docs/gst/gstreamer-sections.txt:
8316 * docs/gst/tmpl/gstscheduler.sgml:
8317 * docs/gst/tmpl/gstschedulerfactory.sgml:
8318 Remove some old cruft from docs.
8320 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8323 Fix inline docs for GstPadLinkReturn.
8325 * gst/gststructure.c: (gst_structure_has_name):
8326 * gst/gststructure.h:
8327 * docs/gst/gstreamer-sections.txt:
8328 New API: gst_structure_has_name().
8330 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8333 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8334 and _LARGEFILE_SOURCE in config.h as required. Do not
8335 export those flags in our .pc files any longer (#142209).
8337 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8339 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8340 (gst_file_sink_do_seek), (gst_file_sink_event),
8341 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8342 Redo seek/tell calls with large file support in mind; add some
8343 debugging messages; add log message that tells us when large
8344 file support is unavailable or not enabled for some reason.
8346 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8347 Add log message that tells us when large file support
8348 is unavailable or not enabled for some reason.
8350 2005-07-29 Wim Taymans <wim@fluendo.com>
8352 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8353 Added test for removing an element with ghostpad from a bin.
8354 Fixed test as current implementation does the right thing.
8356 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8357 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8358 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8359 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8360 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8361 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8362 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8363 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8364 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8365 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8366 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8367 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8368 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8369 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8370 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8371 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8372 * gst/gstghostpad.h:
8373 Clean up ghostpads, remove properties for internal stuff.
8376 Prepare for switching targets, not all use cases work yet.
8378 2005-07-29 Wim Taymans <wim@fluendo.com>
8380 * docs/design/part-gstghostpad.txt:
8383 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8384 (gst_bin_remove_func):
8385 Unlinking pads while holding the bin LOCK is not a good
8388 * gst/gstpad.c: (gst_pad_class_init),
8389 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8390 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8391 No prob setting template after creating the pad.
8393 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8395 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8396 (gst_bus_peek), (gst_bus_source_dispatch),
8397 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8398 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8399 gst_bus_poll may be called from other threads. Handle
8400 this nicely by not making poll_data disappear off the
8401 stack once gst_bus_poll returns.
8402 gst_bus_peek now increments the refcount on the returned
8405 2005-07-29 Wim Taymans <wim@fluendo.com>
8407 * docs/design/part-gstghostpad.txt:
8408 Overview of current GhostPad datastructures and use
8409 cases for changing the target.
8411 2005-07-28 Wim Taymans <wim@fluendo.com>
8413 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8414 Added checks for hierarchy consistency whan adding linked
8417 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8418 Added check to test element scheduling without bin/pipeline.
8420 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8421 First add elements to bin, then link.
8423 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8424 (gst_bin_remove_func):
8425 Unlink pads from elements added/removed from bin to maintain
8426 hierarchy consistency.
8428 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8430 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8431 (gst_base_transform_handle_buffer):
8432 * gst/base/gstbasetransform.h:
8433 Remove broken delay_configure (fixes renegotiation of software
8434 scaling pipelines); remove some leftover printf()s.
8436 2005-07-28 Wim Taymans <wim@fluendo.com>
8438 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8439 Added some more tests for wrong hierarchy
8441 * docs/design/part-overview.txt:
8444 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8447 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8448 (gst_element_dispose):
8451 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8452 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8453 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8454 (gst_pad_set_caps), (gst_pad_send_event):
8455 Check for correct hierarchy when linking pads. Moving to
8456 strict requirement for ghostpads when linking elements in
8460 Clean ups. Added WRONG_HIERARCHY return value.
8462 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8464 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8465 Better debug if no transform is possible.
8467 2005-07-27 Wim Taymans <wim@fluendo.com>
8469 * docs/random/wtay/network-transp:
8472 2005-07-27 Wim Taymans <wim@fluendo.com>
8474 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8475 (gst_dp_event_from_packet):
8476 Fix serialization of seek events.
8478 2005-07-27 Wim Taymans <wim@fluendo.com>
8480 * check/gst-libs/gdp.c: (GST_START_TEST):
8481 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8482 Fix compilation and fix event serialization.
8484 2005-07-27 Wim Taymans <wim@fluendo.com>
8487 * docs/design/part-TODO.txt:
8488 * docs/design/part-events.txt:
8491 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8492 (gst_base_sink_event), (gst_base_sink_do_sync),
8493 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8494 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8495 (gst_base_src_do_seek), (gst_base_src_event_handler),
8496 (gst_base_src_loop):
8497 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8498 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8499 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8500 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8501 (gst_base_transform_set_passthrough),
8502 (gst_base_transform_is_passthrough):
8503 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8504 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8510 * gst/gstelement.c: (gst_element_seek):
8512 Update gst_element_seek.
8514 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8515 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8516 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8517 (gst_event_new_eos), (gst_event_new_newsegment),
8518 (gst_event_parse_newsegment), (gst_event_new_tag),
8519 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8520 (gst_event_parse_qos), (gst_event_new_seek),
8521 (gst_event_parse_seek), (gst_event_new_navigation):
8523 Make GstEvent use GstStructure. Add parsing code, make sure the
8524 API is sufficiently generic.
8525 Mark possible directions of events and serialization.
8527 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8528 (_gst_message_copy), (gst_message_new_segment_start),
8529 (gst_message_new_segment_done), (gst_message_new_custom),
8530 (gst_message_parse_segment_start),
8531 (gst_message_parse_segment_done):
8534 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8535 (gst_pad_set_caps), (gst_pad_send_event):
8536 Update for new events.
8537 Catch events sent in wrong directions.
8539 * gst/gstqueue.c: (gst_queue_link_src),
8540 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8541 (gst_queue_handle_src_query):
8546 Remove event code from this file.
8548 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8549 (gst_dp_event_from_packet):
8552 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8554 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8555 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8556 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8557 Make debugging actually useful.
8559 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8561 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8562 (gst_pad_fixate_caps):
8563 Implement default fixation once again, so that gst_pad_fixate()
8564 actually does anything at all. This probably needs to be some
8565 sort of a last resort, and use profile-based fixation first, but
8566 since that doesn't exist yet, this is the best we have. Fixes
8567 visualization in Totem.
8569 2005-07-22 Wim Taymans <wim@fluendo.com>
8571 * docs/design/part-events.txt:
8574 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8575 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8576 (gst_base_sink_activate_pull):
8579 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8580 (gst_fake_src_create):
8581 Fix handoff marshall.
8583 * gst/elements/gstidentity.c: (gst_identity_class_init),
8584 (gst_identity_transform_ip):
8585 We're a real inplace element.
8587 * gst/gstbus.c: (gst_bus_post):
8588 Added some comments.
8590 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8591 * tests/muxing/case1.c: (main):
8592 * tests/sched/dynamic-pipeline.c: (main):
8593 * tests/sched/interrupt1.c: (main):
8594 * tests/sched/interrupt2.c: (main):
8595 * tests/sched/interrupt3.c: (main):
8596 * tests/sched/runxml.c: (main):
8597 * tests/sched/sched-stress.c: (main):
8598 * tests/seeking/seeking1.c: (event_received), (main):
8599 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8601 * tests/threadstate/threadstate3.c: (main):
8602 * tests/threadstate/threadstate4.c: (main):
8603 * tests/threadstate/threadstate5.c: (main):
8606 2005-07-21 Wim Taymans <wim@fluendo.com>
8608 * docs/design/part-seeking.txt:
8609 Some small additions.
8611 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8612 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8613 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8614 * gst/base/gstbasesink.h:
8615 discont values are gint64, handle the math correctly.
8617 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8618 Make the basesrc report error if the source pad is not linked.
8620 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8621 (gst_queue_loop), (gst_queue_handle_src_query),
8622 (gst_queue_src_activate_push):
8623 Make queue collect data even if the srcpad is not linked.
8624 Start pushing out data as soon as it is linked.
8626 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8628 Added gst_flow_get_name() to ease error reporting.
8630 2005-07-20 Wim Taymans <wim@fluendo.com>
8632 * gst/gstmessage.c: (gst_message_new_segment_start),
8633 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8634 (gst_message_parse_segment_done):
8636 Added a bunch of messages for advanced seeking.
8638 * gst/parse/grammar.y:
8639 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8640 (gst_dpman_state_changed):
8641 Fix some new-pad -> pad-added signals
8643 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8645 * docs/manual/appendix-porting.xml:
8646 * docs/pwg/appendix-porting.xml:
8647 Document new-pad/state-change signal renames and the FixedList
8650 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8652 * docs/manual/advanced-autoplugging.xml:
8653 * docs/manual/basics-helloworld.xml:
8654 * docs/manual/basics-pads.xml:
8655 * docs/random/ds/0.9-suggested-changes:
8656 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8661 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8662 (gst_structure_parse_array), (gst_structure_parse_value):
8663 * gst/gstvalue.c: (gst_type_is_fixed),
8664 (gst_value_list_prepend_value), (gst_value_list_append_value),
8665 (gst_value_list_get_size), (gst_value_list_get_value),
8666 (gst_value_transform_array_string), (gst_value_serialize_array),
8667 (gst_value_deserialize_array), (gst_value_intersect_array),
8668 (gst_value_is_fixed), (_gst_value_initialize):
8670 GstElement::new-pad -> pad-added, GstElement::state-change ->
8671 state-changed, GstValueFixedList -> GstValueArray, add format and
8672 flags as their own arguments in gst_element_seek() (should improve
8673 "bindeability"), remove function generators since they don't work
8674 under a whole bunch of compilers (they were deprecated already
8677 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8679 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8680 (_gst_debug_register_funcptr):
8682 Fix illegal cast on some platforms (#309253).
8684 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8686 * gst/gstmessage.c: (gst_message_new_custom):
8688 Add _new_custom, make _new_application a macro to _new_custom.
8690 2005-07-20 Wim Taymans <wim@fluendo.com>
8692 * gst/base/gstbasesrc.c: (gst_base_src_init),
8693 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8694 * gst/base/gstbasesrc.h:
8695 Add a gboolean to decide when to push out a discont.
8697 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8698 (gst_queue_loop), (gst_queue_handle_src_query),
8699 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8700 (gst_queue_set_property), (gst_queue_get_property):
8703 * tests/threadstate/threadstate1.c: (main):
8704 Make a thread test compile and run... very silly..
8707 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8709 * docs/manual/appendix-porting.xml:
8710 Mention removal of libgstgconf-0.9.la and existence of gconf
8713 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8715 * docs/pwg/advanced-clock.xml:
8716 * docs/pwg/appendix-porting.xml:
8717 * docs/pwg/intro-preface.xml:
8718 * docs/pwg/other-base.xml:
8719 * docs/pwg/other-manager.xml:
8720 * docs/pwg/other-nton.xml:
8721 * docs/pwg/other-ntoone.xml:
8722 * docs/pwg/other-oneton.xml:
8724 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8725 demuxer), remove n-to-n (was never written), fix some code examples
8726 and links and update the porting section to include all this.
8728 2005-07-19 Wim Taymans <wim@fluendo.com>
8730 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8731 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8732 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8733 (gst_queue_src_activate_push), (gst_queue_change_state),
8734 (gst_queue_get_property):
8736 Propagate GstFlowReturn more intelligently upstream and output
8737 an ERROR/EOS when streaming stopped due to fatal error.
8739 2005-07-19 Wim Taymans <wim@fluendo.com>
8741 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8742 Don't block forever for the state change to complete, the
8743 pipeline already did with a sensible timeout.
8745 2005-07-19 Wim Taymans <wim@fluendo.com>
8747 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8748 Make sure we never call the create function is we
8751 2005-07-19 Andy Wingo <wingo@pobox.com>
8753 * gst/parse/parse.l: Attempt to solve bug #172815.
8755 2005-07-19 Wim Taymans <wim@fluendo.com>
8757 * docs/design/part-clocks.txt:
8758 * docs/design/part-events.txt:
8759 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8761 Only update the seeking values when we are not
8764 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8766 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8767 Oops, ignore the result of gst_pad_push_event here.
8769 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8771 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8772 (gst_base_src_activate_push):
8773 Send discont event from the loop function, as pads
8774 aren't activated yet in the activate_push handler.
8776 * gst/gstbin.c: (bin_bus_handler):
8777 Don't leak element name.
8779 2005-07-18 Andy Wingo <wingo@pobox.com>
8781 * configure.ac: Use AS_LIBTOOL_TAGS.
8783 2005-07-18 Wim Taymans <wim@fluendo.com>
8785 * docs/gst/gstreamer.types:
8786 Remove deleted types.
8788 2005-07-18 Wim Taymans <wim@fluendo.com>
8790 * check/elements/gstfakesrc.c: (GST_START_TEST):
8793 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8794 (init_popt_callback):
8796 * gst/gst_private.h:
8797 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8798 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8801 * gst/gstconfig.h.in:
8802 * gst/gstelement.c: (gst_element_class_init),
8803 (gst_element_set_base_time), (gst_element_get_base_time),
8804 (iterator_fold_with_resync), (gst_element_change_state),
8805 (gst_element_dispose), (gst_element_get_bus):
8807 * gst/gstelementfactory.h:
8808 * gst/gsterror.c: (_gst_core_errors_init):
8811 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8813 * gst/gstinfo.c: (_gst_debug_init):
8814 * gst/gstmessage.c: (_gst_message_copy):
8816 * gst/gstminiobject.h:
8819 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8820 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8823 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8824 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8825 (gst_pipeline_get_last_stream_time):
8826 * gst/gstpipeline.h:
8827 * gst/gstpluginfeature.h:
8829 * gst/gstscheduler.c:
8830 * gst/gstscheduler.h:
8831 * gst/gststructure.h:
8832 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8833 (gst_task_finalize), (gst_task_func), (gst_task_create),
8834 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8835 (gst_task_stop), (gst_task_pause):
8837 * gst/gsttypefind.h:
8839 * gst/registries/gstlibxmlregistry.c: (load_feature),
8840 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8841 * gst/registries/gstxmlregistry.c:
8842 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8843 * gst/schedulers/threadscheduler.c:
8844 * libs/gst/control/dparammanager.h:
8845 * tools/gst-inspect.c: (print_element_list),
8846 (print_plugin_features), (print_element_features):
8847 * tools/gst-xmlinspect.c: (print_element_list),
8848 (print_plugin_info), (main):
8849 Removed plugable schedulers.
8850 Removed Scheduler/Manager from elements.
8851 Removed gsttypes.h, rearranged includes.
8852 Removed dependency pad<->element, element<>pipeline, and
8853 various others, fix includes.
8854 implement gst_pad_get_parent() with gst_object_get_parent()
8855 Make GstTask sefcontained.
8856 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8858 Fix endless loop in iterator_fold_with_resync.
8861 2005-07-18 Wim Taymans <wim@fluendo.com>
8867 2005-07-18 Wim Taymans <wim@fluendo.com>
8872 2005-07-18 Wim Taymans <wim@fluendo.com>
8878 2005-07-18 Wim Taymans <wim@fluendo.com>
8880 * docs/design/part-dynamic.txt:
8881 * docs/design/part-events.txt:
8882 * docs/design/part-seeking.txt:
8883 Some more docs in the works.
8885 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8886 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8887 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8888 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8889 (gst_base_transform_handle_buffer),
8890 (gst_base_transform_sink_activate_push),
8891 (gst_base_transform_src_activate_pull),
8892 (gst_base_transform_set_passthrough),
8893 (gst_base_transform_is_passthrough):
8896 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8899 * gst/gstevent.c: (gst_event_finalize):
8902 * gst/gstutils.c: (gst_element_unlink),
8903 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8904 (gst_pad_proxy_setcaps):
8906 Add _get_parent_element() to get a pads parent as an element.
8908 2005-07-18 Wim Taymans <wim@fluendo.com>
8910 * check/gst/gstbin.c: (GST_START_TEST):
8913 2005-07-18 Wim Taymans <wim@fluendo.com>
8915 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8916 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8917 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8918 (gst_base_sink_event), (gst_base_sink_do_sync),
8919 (gst_base_sink_chain), (gst_base_sink_loop),
8920 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8921 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8923 Fix logic for returning ASYNC when not prerolled.
8925 2005-07-18 Wim Taymans <wim@fluendo.com>
8927 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8928 Fix nasty refcount bug.
8930 2005-07-16 Philippe Khalaf <burger@speedy.org>
8932 * gst/elements/gstfdsrc.c:
8933 * gst/elements/gstfdsrc.h:
8934 * gst/elements/gstelements.c:
8935 * gst/elements/Makefile.am:
8936 Ported fdsrc to 0.9.
8938 2005-07-16 Wim Taymans <wim@fluendo.com>
8940 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8941 (gst_base_sink_do_sync):
8944 2005-07-16 Wim Taymans <wim@fluendo.com>
8946 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8947 (gst_base_sink_event), (gst_base_sink_get_times),
8948 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8949 * gst/base/gstbasesink.h:
8950 Store and use discont values when syncing buffers as described
8953 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8954 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8955 (gst_base_src_activate_push):
8956 Push discont event when starting.
8958 * gst/elements/gstidentity.c: (gst_identity_transform):
8961 * gst/gstbin.c: (gst_bin_change_state):
8962 Small cleanups in base_time distribution.
8964 * gst/gstelement.c: (gst_element_set_base_time),
8965 (gst_element_get_base_time), (gst_element_change_state):
8967 Added methods for the base_time of the element.
8970 * gst/gstpipeline.c: (gst_pipeline_send_event),
8971 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8972 (gst_pipeline_get_last_stream_time):
8973 * gst/gstpipeline.h:
8975 Handle seeking as described in design doc, remove stream_time
8977 Cleanups clock and stream_time selection code. Added accessors
8978 for the stream_time.
8981 2005-07-16 Andy Wingo <wingo@pobox.com>
8983 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8986 2005-07-16 Wim Taymans <wim@fluendo.com>
8988 * check/gst/gstbin.c: (GST_START_TEST):
8989 Make elements silent as the deep_notify refs the
8990 parent, which might make the test fail.
8992 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8993 Don't hold the lock for too long.
8995 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8997 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8998 Don't unref the caps we passed to gst_caps_make_writable() after
8999 passing them. gst_caps_make_writable() will do that for us.
9001 2005-07-15 Andy Wingo <wingo@pobox.com>
9003 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9006 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9007 own marshalling function for the handoff signal. Properly type the
9008 buffer as a buffer. Fixes some warnings. Should do a more general
9010 (gst_identity_class_init): Plug into the right marshaller.
9012 2005-07-15 Wim Taymans <wim@fluendo.com>
9014 * docs/design/part-TODO.txt:
9015 * docs/design/part-clocks.txt:
9016 * docs/design/part-element-sink.txt:
9017 * docs/design/part-events.txt:
9018 * docs/design/part-gstpipeline.txt:
9019 Updated docs, mostly DISCONT related.
9021 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9023 * docs/pwg/building-pads.xml:
9024 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9026 2005-07-15 Andy Wingo <wingo@pobox.com>
9028 * tools/gst-typefind.c: Update, add copyright block.
9030 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9031 Normalize and truncate caps before fixation.
9034 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9035 discards all but the first structure from its argument.
9037 2005-07-15 Wim Taymans <wim@fluendo.com>
9039 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9040 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9041 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9042 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9043 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9044 (gst_base_transform_chain), (gst_base_transform_change_state),
9045 (gst_base_transform_set_passthrough),
9046 (gst_base_transform_is_passthrough):
9047 * gst/base/gstbasetransform.h:
9048 Make passthrough work using the bufferpools.
9049 Changed API a bit, subclasses have to write into a buffer
9050 provided by the base class.
9051 More debug info in nego functions.
9053 * gst/elements/gstidentity.c: (gst_identity_init),
9054 (gst_identity_transform):
9055 Port to new base class.
9057 2005-07-15 Wim Taymans <wim@fluendo.com>
9059 * gst/gstmessage.c: (gst_message_new_state_changed):
9060 * tools/gst-launch.c: (event_loop), (main):
9061 Totally dump messages in -launch with the -m option.
9062 Fix message name for State messages,
9064 2005-07-14 Wim Taymans <wim@fluendo.com>
9066 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9067 Post error messages on errors.
9069 2005-07-14 Wim Taymans <wim@fluendo.com>
9071 * gst/gstcaps.c: (gst_caps_do_simplify):
9075 Define error for stream stopped.
9077 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9078 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9079 Do proper return values.
9081 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9082 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9083 (gst_pad_get_range):
9084 Better return values.
9087 Reorganise return values, add macro to check for fatal errors.
9089 * gst/gstqueue.c: (gst_queue_chain):
9090 Return proper GstFlowReturn values,
9092 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9094 * docs/gst/gstreamer-sections.txt:
9095 * docs/gst/gstreamer.types:
9096 * docs/gst/tmpl/gst.sgml:
9097 * docs/gst/tmpl/gstbasesink.sgml:
9098 * docs/gst/tmpl/gstbasesrc.sgml:
9099 * docs/gst/tmpl/gstbasetransform.sgml:
9100 * docs/gst/tmpl/gstbin.sgml:
9101 * docs/gst/tmpl/gstbuffer.sgml:
9102 * docs/gst/tmpl/gstcaps.sgml:
9103 * docs/gst/tmpl/gstclock.sgml:
9104 * docs/gst/tmpl/gstcompat.sgml:
9105 * docs/gst/tmpl/gstconfig.sgml:
9106 * docs/gst/tmpl/gstelement.sgml:
9107 * docs/gst/tmpl/gstelementdetails.sgml:
9108 * docs/gst/tmpl/gstelementfactory.sgml:
9109 * docs/gst/tmpl/gstenumtypes.sgml:
9110 * docs/gst/tmpl/gsterror.sgml:
9111 * docs/gst/tmpl/gstevent.sgml:
9112 * docs/gst/tmpl/gstfakesink.sgml:
9113 * docs/gst/tmpl/gstfakesrc.sgml:
9114 * docs/gst/tmpl/gstfilesink.sgml:
9115 * docs/gst/tmpl/gstfilesrc.sgml:
9116 * docs/gst/tmpl/gstfilter.sgml:
9117 * docs/gst/tmpl/gstformat.sgml:
9118 * docs/gst/tmpl/gstghostpad.sgml:
9119 * docs/gst/tmpl/gstimplementsinterface.sgml:
9120 * docs/gst/tmpl/gstindex.sgml:
9121 * docs/gst/tmpl/gstindexfactory.sgml:
9122 * docs/gst/tmpl/gstinfo.sgml:
9123 * docs/gst/tmpl/gstiterator.sgml:
9124 * docs/gst/tmpl/gstmacros.sgml:
9125 * docs/gst/tmpl/gstmemchunk.sgml:
9126 * docs/gst/tmpl/gstminiobject.sgml:
9127 * docs/gst/tmpl/gstobject.sgml:
9128 * docs/gst/tmpl/gstpad.sgml:
9129 * docs/gst/tmpl/gstpadtemplate.sgml:
9130 * docs/gst/tmpl/gstparse.sgml:
9131 * docs/gst/tmpl/gstpipeline.sgml:
9132 * docs/gst/tmpl/gstplugin.sgml:
9133 * docs/gst/tmpl/gstpluginfeature.sgml:
9134 * docs/gst/tmpl/gstquery.sgml:
9135 * docs/gst/tmpl/gstqueue.sgml:
9136 * docs/gst/tmpl/gstregistry.sgml:
9137 * docs/gst/tmpl/gstregistrypool.sgml:
9138 * docs/gst/tmpl/gstscheduler.sgml:
9139 * docs/gst/tmpl/gstschedulerfactory.sgml:
9140 * docs/gst/tmpl/gststructure.sgml:
9141 * docs/gst/tmpl/gstsystemclock.sgml:
9142 * docs/gst/tmpl/gsttaglist.sgml:
9143 * docs/gst/tmpl/gsttagsetter.sgml:
9144 * docs/gst/tmpl/gsttrace.sgml:
9145 * docs/gst/tmpl/gsttrashstack.sgml:
9146 * docs/gst/tmpl/gsttypefind.sgml:
9147 * docs/gst/tmpl/gsttypefindfactory.sgml:
9148 * docs/gst/tmpl/gsttypes.sgml:
9149 * docs/gst/tmpl/gsturihandler.sgml:
9150 * docs/gst/tmpl/gsturitype.sgml:
9151 * docs/gst/tmpl/gstutils.sgml:
9152 * docs/gst/tmpl/gstvalue.sgml:
9153 * docs/gst/tmpl/gstversion.sgml:
9154 * docs/gst/tmpl/gstxml.sgml:
9155 * docs/libs/tmpl/gstcontrol.sgml:
9156 * docs/libs/tmpl/gstdataprotocol.sgml:
9157 * docs/libs/tmpl/gstdparam.sgml:
9158 * docs/libs/tmpl/gstdplinint.sgml:
9159 * docs/libs/tmpl/gstdpman.sgml:
9160 * docs/libs/tmpl/gstdpsmooth.sgml:
9161 * docs/libs/tmpl/gstgetbits.sgml:
9162 * docs/libs/tmpl/gstunitconvert.sgml:
9163 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9164 (gst_push_src_base_init), (gst_push_src_class_init),
9165 (gst_push_src_init), (gst_push_src_create):
9166 * gst/base/gstpushsrc.h:
9167 * gst/elements/gstelements.c:
9168 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9169 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9170 (gst_fake_sink_init), (gst_fake_sink_set_property),
9171 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9172 (gst_fake_sink_event), (gst_fake_sink_preroll),
9173 (gst_fake_sink_render), (gst_fake_sink_change_state):
9174 * gst/elements/gstfakesink.h:
9175 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9176 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9177 (gst_fake_src_base_init), (gst_fake_src_class_init),
9178 (gst_fake_src_init), (gst_fake_src_event_handler),
9179 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9180 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9181 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9182 (gst_fake_src_create_buffer), (gst_fake_src_create),
9183 (gst_fake_src_start), (gst_fake_src_stop):
9184 * gst/elements/gstfakesrc.h:
9185 * gst/elements/gstfilesink.c: (_do_init),
9186 (gst_file_sink_base_init), (gst_file_sink_class_init),
9187 (gst_file_sink_init), (gst_file_sink_dispose),
9188 (gst_file_sink_set_location), (gst_file_sink_set_property),
9189 (gst_file_sink_get_property), (gst_file_sink_open_file),
9190 (gst_file_sink_close_file), (gst_file_sink_query),
9191 (gst_file_sink_event), (gst_file_sink_render),
9192 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9193 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9194 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9195 * gst/elements/gstfilesink.h:
9196 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9197 (gst_file_src_class_init), (gst_file_src_init),
9198 (gst_file_src_finalize), (gst_file_src_set_location),
9199 (gst_file_src_set_property), (gst_file_src_get_property),
9200 (gst_file_src_map_region), (gst_file_src_map_small_region),
9201 (gst_file_src_create_mmap), (gst_file_src_create_read),
9202 (gst_file_src_create), (gst_file_src_is_seekable),
9203 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9204 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9205 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9206 (gst_file_src_uri_handler_init):
9207 * gst/elements/gstfilesrc.h:
9208 more autistic cleanliness in functions/names/defines
9210 2005-07-13 Andy Wingo <wingo@pobox.com>
9212 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9213 source couldn't negotiate.
9215 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9219 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9220 function. I am channeling Hades. Put your boots on suckers!!!
9222 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9224 * testsuite/caps/Makefile.am:
9225 * testsuite/caps/value_compare.c:
9226 * testsuite/caps/value_intersect.c:
9227 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9228 move two testsuite apps over to the check dir
9230 2005-07-12 Wim Taymans <wim@fluendo.com>
9232 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9233 Added more debug info in the negotiate process.
9236 Prepare for segment playback.
9238 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9244 * tools/gst-launch.c: (main):
9245 NULL pipeline on errors.
9247 2005-07-12 Andy Wingo <wingo@pobox.com>
9249 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9250 not it comes from a malloc region. Make sure our copy gets freed.
9252 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9254 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9255 * check/gst/gstmessage.c: (GST_START_TEST):
9256 * check/gst/gststructure.c: (GST_START_TEST),
9257 (gst_structure_suite), (main):
9259 * gst/gstelement.c: (gst_element_message_full):
9260 clean up GError and debug string now that they get copied
9261 * gst/gstmessage.c: (gst_message_new_error),
9262 (gst_message_new_warning), (gst_message_parse_error),
9263 (gst_message_parse_warning):
9264 use GST_TYPE_G_ERROR for structure_new, and take copies of
9265 arguments, so that we don't mess up refcounting
9267 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9269 * check/Makefile.am:
9270 add per-test valgrind targets
9271 * check/gst-libs/gdp.c: (GST_START_TEST),
9272 (gst_data_protocol_suite), (main):
9275 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9277 * check/Makefile.am:
9278 instate more valgrindable tests
9279 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9280 (GST_START_TEST), (fakesrc_suite):
9281 * check/gst/gstpad.c: (GST_START_TEST):
9282 * check/gst/gststructure.c: (GST_START_TEST):
9284 * docs/gst/tmpl/gstminiobject.sgml:
9285 * gst/gstpad.c: (gst_pad_finalize):
9286 fix the static mutex leak
9288 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9290 * check/Makefile.am:
9291 add two more tests for valgrinding
9292 * check/gst/gstvalue.c: (GST_START_TEST):
9293 test refcount of deserialized buffer, found a leak
9294 * docs/gst/gstreamer-docs.sgml:
9295 * docs/gst/gstreamer-sections.txt:
9296 * docs/gst/gstreamer.types:
9297 * docs/gst/tmpl/gstminiobject.sgml:
9298 add miniobject to docs
9299 * gst/gstminiobject.c:
9301 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9302 (gst_string_unwrap):
9303 fix a hard-to-find invalid write for one of the tests
9304 fix a leak for deserialized buffers
9306 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9308 * docs/pwg/advanced-events.xml:
9309 * docs/pwg/advanced-request.xml:
9310 * docs/pwg/advanced-scheduling.xml:
9311 * docs/pwg/appendix-porting.xml:
9312 * docs/pwg/building-boiler.xml:
9313 * docs/pwg/intro-preface.xml:
9314 * docs/pwg/other-ntoone.xml:
9315 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9316 of example code and explanation for pad activation, loop() and
9317 getrange() functions and a bit more. Remove old comments pointing
9319 * examples/pwg/Makefile.am:
9320 Add loop/getrange examples.
9322 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9325 check for valgrind binary + some fixes
9327 valgrind suppressions for the tests
9328 * check/Makefile.am:
9329 add a valgrind: target that valgrinds the unit tests
9330 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9331 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9332 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9333 * check/gst/gstghostpad.c:
9335 * check/gst/gstdata.c:
9337 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9338 (thread_unref), (gst_mini_object_suite), (main):
9340 * gst/gst.c: (gst_deinit):
9342 add a method to clean up.
9343 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9344 (gst_system_clock_obtain):
9345 allow for disposing the system clock.
9346 * tools/gst-launch.c: (main):
9349 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9351 * docs/gst/tmpl/gstbasesrc.sgml:
9352 * docs/gst/tmpl/gstfakesrc.sgml:
9353 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9354 (gst_base_src_init), (gst_base_src_set_property),
9355 (gst_base_src_get_property), (gst_base_src_get_range),
9356 (gst_base_src_start):
9357 * gst/base/gstbasesrc.h:
9358 add num-buffers property
9359 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9360 (gst_fakesrc_init), (gst_fakesrc_set_property),
9361 (gst_fakesrc_get_property), (gst_fakesrc_create),
9362 (gst_fakesrc_start):
9363 remove num-buffers property
9365 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9367 * docs/gst/gstreamer-sections.txt:
9368 * docs/gst/tmpl/gstbasesink.sgml:
9369 * docs/gst/tmpl/gstbasesrc.sgml:
9370 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9371 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9372 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9373 (gst_base_sink_set_property), (gst_base_sink_get_property),
9374 (gst_base_sink_handle_object), (gst_base_sink_event),
9375 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9376 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9377 (gst_base_sink_loop), (gst_base_sink_deactivate),
9378 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9379 (gst_base_sink_change_state):
9380 * gst/base/gstbasesink.h:
9381 * gst/base/gstbasesrc.h:
9382 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9383 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9384 (gst_filesink_init):
9385 more macro splitting
9387 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9389 * gst/gstelement.c: (gst_element_get_bus):
9391 * tools/gst-launch.c: (check_intr), (event_loop):
9394 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9396 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9399 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9401 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9402 (gst_base_src_finalize):
9403 add finalize method and clean up properly
9404 * gst/gstpipeline.c: (gst_pipeline_dispose):
9407 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9409 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9411 add more things to check
9412 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9416 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9418 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9419 (GST_START_TEST), (fakesrc_suite):
9420 * check/gst-libs/gdp.c: (GST_START_TEST):
9421 * check/gst/gst.c: (GST_START_TEST):
9422 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9423 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9424 * check/gst/gstbus.c: (GST_START_TEST):
9425 * check/gst/gstcaps.c: (GST_START_TEST):
9426 * check/gst/gstdata.c: (GST_START_TEST):
9427 * check/gst/gstelement.c: (GST_START_TEST):
9428 * check/gst/gstghostpad.c: (GST_START_TEST):
9429 * check/gst/gstiterator.c: (GST_START_TEST):
9430 * check/gst/gstmessage.c: (GST_START_TEST):
9431 * check/gst/gstobject.c: (GST_START_TEST):
9432 * check/gst/gstpad.c: (GST_START_TEST):
9433 * check/gst/gststructure.c: (GST_START_TEST):
9434 * check/gst/gstsystemclock.c: (GST_START_TEST),
9435 (gst_systemclock_suite):
9436 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9437 * check/gst/gstvalue.c: (GST_START_TEST):
9438 * check/pipelines/cleanup.c: (GST_START_TEST):
9439 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9440 * check/states/sinks.c: (GST_START_TEST):
9441 * check/gstcheck.c: (gst_check_init):
9443 add debugging category
9444 use GST_START_TEST now, so we add a debug line
9446 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9448 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9449 add test for state change message on a bin
9450 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9452 * gst/gstbin.c: (gst_bin_init):
9453 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9454 * gst/gstelement.c: (gst_element_post_message),
9455 (gst_element_set_state):
9456 * gst/gstelementfactory.c: (gst_element_factory_create):
9457 * gst/gstmessage.c: (gst_message_new):
9458 * gst/gstscheduler.c:
9459 various debugging additions and cleanups
9461 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9463 * check/Makefile.am:
9464 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9466 adding tests for elements
9467 * gst/gstelement.c: (gst_element_dispose):
9469 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9471 * gst/registries/gstlibxmlregistry.c: (load_feature):
9472 plug more leaks. A simple gst_init() now is leakfree, yay.
9474 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9476 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9477 (gst_xml_registry_load):
9478 plug another memleak
9480 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9483 use GST_SET_ERROR_CFLAGS
9485 change to ERROR_CFLAGS
9487 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9490 make GST_ERROR_CFLAGS overridable and re-enable Werror
9492 add a note about error CFLAGS
9493 * docs/gst/tmpl/gstfakesrc.sgml:
9494 * gst/elements/gstfakesrc.c:
9495 comment out some unused code
9496 * gst/gst.c: (split_and_iterate):
9497 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9501 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9503 * common/Makefile.am:
9504 * common/gtk-doc.mak:
9505 * docs/gst/Makefile.am:
9506 factor out gtk-doc.mak
9508 2005-07-07 Wim Taymans <wim@fluendo.com>
9510 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9511 (gst_thread_scheduler_dispose):
9512 Unlock the STREAM_LOCK completely.
9514 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9516 * check/Makefile.am:
9517 * check/elements/.cvsignore:
9518 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9519 (START_TEST), (fakesrc_suite), (main):
9520 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9521 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9522 (gst_fakesrc_create), (gst_fakesrc_start):
9523 * gst/elements/gstfakesrc.h:
9524 adding a first element test
9526 2005-07-07 Andy Wingo <wingo@pobox.com>
9528 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9531 2005-07-07 Wim Taymans <wim@fluendo.com>
9537 2005-07-07 Wim Taymans <wim@fluendo.com>
9539 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9540 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9541 Allow subclasses to implement their own negotiation.
9543 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9545 * docs/design/part-gstbin.txt:
9546 * docs/design/part-gstpipeline.txt:
9547 Update design notes to reflect the movement of
9548 responsibility for bus handling from GstPipeline to
9551 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9554 Remove unnecessary queue2/3/4 examples.
9556 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9558 * examples/Makefile.am:
9559 * examples/helloworld/helloworld.c: (event_loop), (main):
9560 * examples/queue/queue.c: (event_loop), (main):
9561 * examples/queue2/queue2.c: (main):
9562 Update a couple of the examples to work again.
9564 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9565 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9566 Spelling corrections and extra debug.
9568 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9569 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9570 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9572 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9573 (gst_pipeline_change_state):
9574 * gst/gstpipeline.h:
9575 Move the bus handler for children to the GstBin, and create a
9576 separate bus for receiving messages from children to the one the
9577 bus sends 'upwards' on.
9579 2005-07-06 Wim Taymans <wim@fluendo.com>
9582 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9583 (gst_base_sink_handle_object), (gst_base_sink_loop),
9584 (gst_base_sink_change_state):
9585 * gst/base/gstbasesink.h:
9586 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9587 (gst_base_src_init), (gst_base_src_setcaps),
9588 (gst_base_src_getcaps), (gst_base_src_loop),
9589 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9590 (gst_base_src_start), (gst_base_src_change_state):
9591 * gst/base/gstbasesrc.h:
9592 Make basesrc negotiate.
9593 Handle the case where preroll fails in basesink.
9596 2005-07-06 Wim Taymans <wim@fluendo.com>
9598 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9599 Implement the fixate function.
9600 Clean up acceptcaps.
9602 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9604 * docs/pwg/building-filterfactory.xml:
9606 Remove never-written filter-factory chapter; I'll add the various
9607 base classes to part 4 ("other element types") later on.
9609 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9611 * docs/pwg/advanced-negotiation.xml:
9612 * docs/pwg/building-boiler.xml:
9613 * docs/pwg/building-pads.xml:
9615 * examples/pwg/Makefile.am:
9616 Add a chapter on caps negotiation, simplify the original code
9617 samples a bit w.r.t. caps negotiation, add link to the advanced
9618 section. Add a bunch of examples showing different use cases of
9619 different types of caps negotiation. Upstream renegotiation isn't
9620 fully documented yet since nobody knows how that works.
9622 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9624 * check/gst/gstpad.c:
9626 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9627 if pad has no parent, return NULL as list of internal links
9629 2005-07-05 Andy Wingo <wingo@pobox.com>
9631 * gst/elements/gstfilesrc.c:
9632 * gst/elements/gstfakesrc.c:
9633 * gst/base/gstpushsrc.c:
9634 * gst/base/gstbasesrc.h:
9635 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9637 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9640 better report generation target (lcov needs a patch)
9642 2005-07-05 Andy Wingo <wingo@pobox.com>
9644 * gst/elements, testsuite: Null if we got it...
9646 2005-07-05 Wim Taymans <wim@fluendo.com>
9649 * libs/gst/dataprotocol/Makefile.am:
9650 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9651 * libs/gst/dataprotocol/dataprotocol.h:
9652 * pkgconfig/Makefile.am:
9653 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9654 * pkgconfig/gstreamer-dataprotocol.pc.in:
9655 Ported dataprotol to 0.9.
9656 Added pkgconfig files.
9658 2005-07-05 Andy Wingo <wingo@pobox.com>
9660 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9661 Default to returning TRUE for the case when tranform_caps returns
9662 a fixed caps, like for identity or volume.
9664 * check/gst/gstbus.c (pound_bus_with_messages):
9665 * check/gst/gstmessage.c (START_TEST):
9666 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9669 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9670 logic weaks here: always run transform_caps, trying passthrough
9671 operation only if the original caps intersects with the transform.
9673 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9674 source and sink caps.
9676 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9677 Intersect the peer caps with the pad template before going into
9679 (gst_base_transform_transform_caps): More debugging.
9681 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9684 2005-07-04 Edward Hervey <edward@fluendo.com>
9688 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9691 2005-07-04 Andy Wingo <wingo@pobox.com>
9693 * check/gst/gstpad.c: Only set explicit caps on pads.
9695 2005-07-01 Andy Wingo <wingo@pobox.com>
9697 * tests/network-clock.scm: Commentary update.
9699 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9700 Didn't really make sense, not implementable with basetransform,
9702 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9703 attempt at implementing the sync property, needs an unlock method.
9705 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9706 New func, by default returns the same caps (the identity
9708 (gst_base_transform_getcaps): Uses transform_caps to return
9710 (gst_base_transform_setcaps): Complicated logic to get caps on
9711 both pads, even if they are different, and to call set_caps once
9712 for every time both pads get their caps set.
9713 (gst_base_transform_handle_buffer): Give the ref to the transform
9714 function. Allows in-place modification of the buffer.
9716 * gst/base/gstbasetransform.h (transform_caps): New class method.
9717 Given caps on one side, what can I do on the other.
9718 (set_caps): Take two caps, one for each side of the element.
9721 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9722 caps in place. This is safe because we can check the mutability of
9723 the caps, and a good idea because fixate functions are just called
9724 as a matter of last resort. (Not actually implemented.)
9725 (gst_pad_set_caps): If the caps we're setting is actually the same
9726 as the existing pad caps, just update the pointer without calling
9727 setcaps. Assert that caps is either NULL or fixed, as per the
9730 * gst/gstghostpad.c: Update for fixate changes.
9732 2005-07-02 Andy Wingo <wingo@pobox.com>
9735 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9736 two refcounts makes it immutable, which is enough. Doc more.
9738 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9740 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9741 Put the mini_object into GValue as a mini_object,
9742 not a gpointer, since that's how we declared
9745 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9747 * examples/pwg/Makefile.am:
9750 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9752 * docs/pwg/building-testapp.xml:
9754 * examples/pwg/Makefile.am:
9757 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9760 * examples/Makefile.am:
9761 * examples/pwg/Makefile.am:
9762 * examples/pwg/extract.pl:
9763 Enable building the PWG examples.
9764 * docs/pwg/advanced-interfaces.xml:
9765 Add URI interface stub.
9766 * docs/pwg/advanced-types.xml:
9767 * docs/pwg/other-autoplugger.xml:
9768 * docs/pwg/appendix-porting.xml:
9770 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9771 * docs/pwg/building-boiler.xml:
9772 * docs/pwg/building-chainfn.xml:
9773 * docs/pwg/building-pads.xml:
9774 * docs/pwg/building-props.xml:
9775 * docs/pwg/building-state.xml:
9776 * docs/pwg/building-testapp.xml:
9777 Update the building-*.xml parts for 0.9 changes. All examples
9778 code blocks compile in examples/pwg/*.
9780 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9782 * docs/manual/advanced-autoplugging.xml:
9783 * docs/manual/appendix-checklist.xml:
9784 * docs/manual/appendix-integration.xml:
9785 * docs/manual/highlevel-components.xml:
9786 Fix playbin/decodebin examples, update docs a bit, mention bus
9787 instead of signals in various places, mention kmplayer and
9788 kaffeine since they have a working GStreamer backend in the KDE
9791 2005-06-30 Wim Taymans <wim@fluendo.com>
9794 * docs/design/draft-ghostpads.txt:
9795 * docs/design/draft-push-pull.txt:
9796 * docs/design/draft-query.txt:
9797 * docs/design/part-TODO.txt:
9798 * docs/design/part-query.txt:
9799 Added CHANGES-0.9 doc, updated status of other docs.
9804 2005-06-30 Wim Taymans <wim@fluendo.com>
9806 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9807 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9808 (gst_base_sink_change_state):
9809 * gst/base/gstbasesink.h:
9810 Some tweaks, only EOS and a buffer complete a preroll.
9812 2005-06-30 Andy Wingo <wingo@pobox.com>
9814 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9815 activate_push down to the internal pad as well.
9817 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9819 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9821 * gst/gsttaginterface.c:
9822 Some documentation fixes (#307394 and #307397).
9824 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9826 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9828 * gst/gstvalue.c: (gst_value_intersect_list):
9829 Fix memleak (#309125).
9831 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9833 * docs/manual/advanced-dataaccess.xml:
9834 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9835 * docs/manual/basics-pads.xml:
9836 Add reference for filtered caps to above chapter.
9838 2005-06-30 Wim Taymans <wim@fluendo.com>
9840 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9841 (gst_bin_change_state):
9843 Lame attempt at making the state change function a bit
9846 2005-06-30 Wim Taymans <wim@fluendo.com>
9848 * docs/design/part-clocks.txt:
9849 * docs/design/part-element-sink.txt:
9850 * docs/design/part-events.txt:
9851 * docs/design/part-preroll.txt:
9852 * docs/design/part-states.txt:
9853 Some more tweeks and additions to the docs.
9855 2005-06-30 Wim Taymans <wim@fluendo.com>
9857 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9858 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9859 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9860 (gst_pad_check_pull_range), (gst_pad_get_range),
9861 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9863 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9864 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9865 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9866 (gst_pad_remove_buffer_probe):
9867 Removed atomic operations, use existing LOCK.
9868 Move exception handling out of main code path.
9870 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9872 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9873 (silly_return_true_function), (gst_pad_class_init),
9874 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9875 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9876 (gst_pad_send_event):
9877 Fix accumulator, add default value by using _emitv() instead
9878 of _emit() for signal emission.
9880 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9882 * docs/manual/advanced-dataaccess.xml:
9883 * examples/manual/Makefile.am:
9885 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9888 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9890 * gst/elements/gstfilesink.c: (gst_filesink_render):
9891 Simplify code so that we don't have to handle short
9892 writes and return GST_FLOW_ERROR if an error occured.
9894 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9896 * docs/gst/gstreamer-docs.sgml:
9899 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9901 * docs/gst/gstreamer-sections.txt:
9902 * docs/gst/tmpl/gstpad.sgml:
9903 * docs/gst/tmpl/gstprobe.sgml:
9905 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9906 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9907 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9908 (gst_pad_push_event), (gst_pad_send_event):
9910 * gst/gstutils.c: (gst_pad_add_data_probe),
9911 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9912 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9913 (gst_pad_remove_buffer_probe):
9915 Remove old probes, add new g-signal-based probes and some utility
9918 2005-06-29 Edward Hervey <edward@fluendo.com>
9920 * gst/gstelementfactory.c:
9923 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9924 the definition to the header file.
9926 2005-06-29 Andy Wingo <wingo@pobox.com>
9928 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9929 plugins from the source directory.
9931 2005-06-29 Wim Taymans <wim@fluendo.com>
9933 * docs/gst/tmpl/gstbuffer.sgml:
9934 * docs/gst/tmpl/gstclock.sgml:
9935 Some fixings for blantently wrong text.
9937 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9939 * check/Makefile.am:
9940 * gst/gst.c: (add_path_func), (init_pre):
9941 * gst/gstregistry.c: (gst_registry_add_path):
9942 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9943 only scan the GST_PLUGIN_PATH locations, and not add
9946 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9948 * docs/gst/gstreamer-sections.txt:
9949 * docs/gst/tmpl/gstbasesrc.sgml:
9956 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9958 * docs/manual/advanced-autoplugging.xml:
9959 Fix autoplugging example.
9961 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9963 * docs/manual/advanced-autoplugging.xml:
9964 * docs/manual/mime-world.fig:
9965 Try to get autoplugging working, fix type detection. Fix text
9966 in hello-world image.
9968 2005-06-29 Wim Taymans <wim@fluendo.com>
9970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9971 (gst_base_sink_change_state):
9975 map SIGNAL and BROADCAST to the right function.
9978 Remove redundant braces.
9980 * gst/gstpad.c: (gst_pad_set_caps):
9981 Don't call setcaps function when reseting caps to NULL.
9983 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9984 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9985 (gst_system_clock_id_unschedule):
9986 Use BROADCAST as this is what we do.
9988 2005-06-29 Wim Taymans <wim@fluendo.com>
9990 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9991 We are actually prerolling before commiting the state
9994 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9996 * docs/manual/advanced-clocks.xml:
9997 * docs/manual/advanced-interfaces.xml:
9998 * docs/manual/advanced-metadata.xml:
9999 * docs/manual/advanced-position.xml:
10000 * docs/manual/advanced-schedulers.xml:
10001 * docs/manual/advanced-threads.xml:
10002 * docs/manual/appendix-porting.xml:
10003 * docs/manual/basics-bins.xml:
10004 * docs/manual/basics-bus.xml:
10005 * docs/manual/basics-elements.xml:
10006 * docs/manual/basics-helloworld.xml:
10007 * docs/manual/basics-pads.xml:
10008 * docs/manual/highlevel-components.xml:
10009 * docs/manual/manual.xml:
10010 * docs/manual/thread.fig:
10011 Update (until threads/scheduling) Application Development Manual;
10012 remove GstThread, add GstBus, add simple porting checklist, add
10013 documentation for tag writing, clocks, make all examples until this
10014 part compile and run.
10015 * examples/manual/Makefile.am:
10016 Update from changes to Application Development Manual; add bus
10017 example, remove thread example.
10019 2005-06-28 Wim Taymans <wim@fluendo.com>
10021 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10022 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10023 (gst_bus_source_dispatch):
10024 Add debugging messages.
10025 Make internal methods static.
10026 Handle the case where the bus is flushed in the handler.
10028 * gst/gstelement.c: (gst_element_get_bus):
10029 Fix refcount in _get_bus();
10031 * gst/gstpipeline.c: (gst_pipeline_change_state),
10032 (gst_pipeline_get_clock_func):
10033 Clock refcounting fixes.
10034 Handle the case where preroll timed out more gracefully.
10036 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10037 Clean up the internal thread in dispose. This is needed
10038 for subclasses that actually get disposed.
10040 * gst/schedulers/threadscheduler.c:
10041 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10042 (gst_thread_scheduler_dispose):
10043 Free thread pool in dispose.
10045 2005-06-28 Andy Wingo <wingo@pobox.com>
10047 * tests/network-clock-utils.scm (debug, print-event): New utils.
10049 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10050 (*packet-loss*): Unified loss probability.
10051 (network-time): Report out-of-band events.
10053 * tests/plot-data: Add support for out-of-band events. Hack it
10054 into this script instead of passing it down the pipe; should fix
10057 2005-06-28 Wim Taymans <wim@fluendo.com>
10059 * docs/gst/gstreamer.types:
10060 * docs/gst/tmpl/gstbasesrc.sgml:
10061 * docs/gst/tmpl/gstpad.sgml:
10064 2005-06-28 Wim Taymans <wim@fluendo.com>
10066 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10067 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10068 (gst_proxy_pad_do_fixatecaps):
10069 Correctly proxy the check_pull_range function.
10071 2005-06-28 Andy Wingo <wingo@pobox.com>
10073 * tests/network-clock.scm: Removed need for slib.
10075 2005-06-28 Wim Taymans <wim@fluendo.com>
10077 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10078 (gst_basesink_preroll_queue_flush):
10079 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10080 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10081 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10082 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10083 (gst_proxy_pad_set_property):
10086 * gst/gstqueue.c: (gst_queue_init):
10087 The deprecated pad loop function is removed now.
10089 2005-06-28 Andy Wingo <wingo@pobox.com>
10091 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10092 New parameters, simulate network packet loss.
10094 * tests/network-clock-utils.scm: Initialize the RNG.
10096 2005-06-28 Wim Taymans <wim@fluendo.com>
10098 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10099 (gst_basesink_event), (gst_basesink_deactivate):
10100 Flushing the preroll queue always needs to unlock the waiters.
10102 2005-06-28 Edward Hervey <edward@fluendo.com>
10104 * gst/gstpipeline.c: (gst_pipeline_send_event):
10105 Wheen a seek was successful on a pipeline, set the stream_time to the
10106 seek offset in order to have a synchronized stream_time.
10108 2005-06-28 Wim Taymans <wim@fluendo.com>
10110 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10111 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10112 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10113 (gst_proxy_pad_do_fixatecaps):
10114 Call wrapper function instead of just calling the function
10115 pointers. This takes care of any locking and whatmore.
10117 2005-06-28 Wim Taymans <wim@fluendo.com>
10119 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10120 (gst_pad_pull_range):
10122 CONNECTED -> LINKED.
10124 2005-06-28 Andy Wingo <wingo@pobox.com>
10126 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10127 source-munging commit!!!
10129 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10130 (gst_object_sink): Take gpointer arguments, not GstObject --
10131 avoids casts. Like GLib.
10133 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10136 2005-06-27 Andy Wingo <wingo@pobox.com>
10138 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10141 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10142 returns a sorted copy of the trace list.
10143 (gst_alloc_trace_print_live): New API, only prints traces with
10144 live objects. Sort the list.
10145 (gst_alloc_trace_print_all): Sort the list.
10146 (gst_alloc_trace_print): Align columns.
10148 * gst/elements/gstttypefindelement.c:
10149 * gst/elements/gsttee.c:
10150 * gst/base/gstbasesrc.c:
10151 * gst/base/gstbasesink.c:
10152 * gst/base/gstbasetransform.c:
10153 * gst/gstqueue.c: Adapt for pad activation changes.
10155 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10157 (gst_pipeline_dispose): Drop ref on sched.
10159 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10160 (gst_pad_activate_default): Push mode by default.
10161 (pre_activate_switch, post_activate_switch): New stubs, things to
10162 do before and after switching activation modes on pads.
10163 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10164 the pad's activate function to choose which mode to activate.
10165 Shortcut on deactivation and call the right function directly.
10166 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10168 (gst_pad_activate_push): New API, same for push mode.
10169 (gst_pad_set_activate_function)
10170 (gst_pad_set_activatepull_function)
10171 (gst_pad_set_activatepush_function): Setters for new API.
10173 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10174 Trace all miniobjects.
10175 (gst_mini_object_make_writable): Unref the arg if we copy, like
10176 gst_caps_make_writable.
10178 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10180 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10181 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10182 Adapt for new pad API.
10184 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10186 * gst/gstelement.h:
10187 * gst/gstelement.c (gst_element_iterate_src_pads)
10188 (gst_element_iterate_sink_pads): New API functions.
10190 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10191 should fold into gstiterator.c in some form.
10192 (gst_element_pads_activate): Simplified via use of fold and
10193 delegation of decisions to gstpad->activate.
10195 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10198 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10199 class once in init, like gstmessage. Didn't run into this issue
10200 but it seems correct. Don't initialize a trace, gstminiobject does
10203 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10204 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10206 (assert_live_count): New util function, uses alloc traces to check
10209 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10210 To be modified when unlink drops the internal pad.
10212 2005-06-27 Wim Taymans <wim@fluendo.com>
10214 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10215 (gst_bin_change_state):
10216 Cleanup the get_state() function a little, make sure it
10217 iterates the same set of elements.
10218 Added stub iterate_state_order().
10220 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10222 * docs/gst/gstreamer-docs.sgml:
10223 * docs/gst/gstreamer-sections.txt:
10224 * docs/gst/gstreamer.types:
10225 * docs/gst/tmpl/gstbasesink.sgml:
10226 * docs/gst/tmpl/gstbasesrc.sgml:
10227 * docs/gst/tmpl/gstbasetransform.sgml:
10228 * docs/gst/tmpl/gstelement.sgml:
10229 * docs/gst/tmpl/gstiterator.sgml:
10230 * gst/base/gstbasesrc.c:
10231 * gst/base/gstbasesrc.h:
10232 * gst/base/gstbasetransform.h:
10233 * gst/gstelement.c:
10234 * gst/gstiterator.h:
10235 adding basetransform and iterator docs
10237 2005-06-27 Andy Wingo <wingo@pobox.com>
10239 * docs/design/part-activation.txt: Notes on how activation should
10240 work -- not quite implemented yet.
10242 2005-06-25 Wim Taymans <wim@fluendo.com>
10244 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10245 At least get the chain function correct, needs more
10248 2005-06-25 Wim Taymans <wim@fluendo.com>
10250 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10251 (gst_basesink_handle_object), (gst_basesink_event),
10252 (gst_basesink_do_sync), (gst_basesink_handle_event),
10253 (gst_basesink_change_state):
10255 Right, two problems here: ghostpads don't take locks and
10256 glib _rec_mutex_lock_full() with depth==0 still locks.
10257 Catch illegal locking and g_warn them.
10259 2005-06-25 Wim Taymans <wim@fluendo.com>
10261 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10262 Have to check for completion now...
10264 2005-06-25 Wim Taymans <wim@fluendo.com>
10266 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10267 (gst_basesink_handle_object), (gst_basesink_event),
10268 (gst_basesink_do_sync), (gst_basesink_handle_event),
10269 (gst_basesink_change_state):
10271 Unlock STREAM_LOCK whatever the recursion was.
10273 2005-06-25 Wim Taymans <wim@fluendo.com>
10275 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10276 (gst_basesink_preroll_queue_empty),
10277 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10278 (gst_basesink_event), (gst_basesink_do_sync),
10279 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10280 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10281 (gst_basesink_change_state):
10282 Reworked the base sink, handle event and buffer serialisation
10283 correctly and removed possible deadlock.
10284 Handle EOS correctly.
10286 2005-06-25 Wim Taymans <wim@fluendo.com>
10288 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10289 (gst_pipeline_change_state):
10290 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10291 Allow elements to post EOS in the state change function.
10292 Fix up -launch, make it exit the poll loop when the
10293 pipeline actually changed state.
10294 Fix up warning parsing in -launch.
10296 2005-06-25 Wim Taymans <wim@fluendo.com>
10298 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10299 (gst_tee_sink_activate):
10300 Core takes STREAM_LOCK for us now.
10302 2005-06-25 Wim Taymans <wim@fluendo.com>
10304 * gst/gstelement.c: (gst_element_get_state_func),
10305 (gst_element_set_state):
10306 * gst/gstelement.h:
10307 * gst/gstmessage.c: (gst_message_parse_error),
10308 (gst_message_parse_warning):
10309 Keep track of current target state while performing a state
10310 change so that subclasses can do something interesting.
10311 Fix parsing of warning/error messages when GError is NULL.
10313 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10315 * docs/gst/Makefile.am:
10316 * docs/gst/gstreamer-docs.sgml:
10317 * docs/gst/gstreamer-sections.txt:
10318 * docs/gst/gstreamer.types:
10319 * docs/gst/tmpl/gstbasesink.sgml:
10320 * docs/gst/tmpl/gstbasesrc.sgml:
10321 * docs/gst/tmpl/gstbin.sgml:
10322 * docs/gst/tmpl/gstcompat.sgml:
10323 * docs/gst/tmpl/gstfakesink.sgml:
10324 * docs/gst/tmpl/gstfakesrc.sgml:
10325 * docs/gst/tmpl/gstfilesink.sgml:
10326 * docs/gst/tmpl/gstfilesrc.sgml:
10327 * docs/gst/tmpl/gstindex.sgml:
10328 * docs/manual/appendix-quotes.xml:
10329 * gst/base/gstbasesrc.h:
10330 * gst/elements/gstfakesrc.h:
10331 * gst/gstmessage.h:
10332 start pulling in base classes and elements in our docs
10334 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10336 * docs/gst/Makefile.am:
10337 * docs/libs/Makefile.am:
10338 fixed make distcheck with gtk-doc 1.3
10340 2005-06-23 Wim Taymans <wim@fluendo.com>
10342 * gst/gstelement.c: (gst_element_get_state_func),
10343 (gst_element_set_state), (gst_element_change_state):
10344 When the state did not change, also report NO_PREROLL
10347 2005-06-23 Wim Taymans <wim@fluendo.com>
10349 * gst/gstpad.c: (gst_pad_event_default):
10350 * gst/gstqueue.c: (gst_queue_loop):
10351 No unsafe task pausing please.
10353 2005-06-23 Wim Taymans <wim@fluendo.com>
10355 * gst/schedulers/threadscheduler.c:
10356 (gst_thread_scheduler_task_start),
10357 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10358 Ref the task before pushing it on the threadpool. This
10359 makes sure that we have a ref when the threadfunction is
10362 2005-06-23 Andy Wingo <wingo@pobox.com>
10364 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10365 offset is greater than the file's size.
10367 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10368 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10369 * gst/gstobject.c (gst_object_class_init): Make the class lock
10370 recursive. Wim won't let me drop deep_notify. Decodebin works
10371 again, whoopdy doo.
10373 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10374 internal pad, and hacks accordingly. Doesn't do it on the target
10375 pad because we change its caps. Probably catches all cases of
10377 (gst_ghost_pad_set_property): Connect to notify::caps as
10380 * tests/network-clock.scm (plot-simulation): Pipe data to the
10381 elite python skript.
10383 * tests/network-clock-utils.scm (define-parameter): New macro,
10384 defines a parameter that can be set via the command line.
10385 (set-parameter!, parse-parameter-arguments): Command line args
10388 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10391 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10393 * gst/elements/gsttypefindelement.c:
10394 (gst_type_find_element_handle_event):
10395 Don't restart typefinding on a discont.
10396 * gst/gstelement.c: (gst_element_set_state):
10397 Debug spelling fix.
10398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10399 Allow changing mode of an active pad.
10400 Debug output fixes.
10401 * gst/registries/gstlibxmlregistry.c: (load_feature):
10402 Don't cast a static pad template to a normal pad template.
10404 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10406 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10407 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10408 remove gst_strtoll completely, since it didn't actually do
10409 anything more than what g_ascii_strtoull already does.
10410 check for range errors when deserializing
10411 do a cast for the unsigned cases; but further fixing needs
10412 a decision on what the interpretation of "(int)" and
10413 deserialization should be for values that fall outside the
10414 type's boundaries (ie, refuse, or interpret as casting)
10416 2005-06-23 Wim Taymans <wim@fluendo.com>
10418 * check/Makefile.am:
10419 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10420 * docs/design/part-live-source.txt:
10421 * docs/design/part-states.txt:
10422 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10423 (gst_basesrc_set_live), (gst_basesrc_is_live),
10424 (gst_basesrc_get_range), (gst_basesrc_activate),
10425 (gst_basesrc_change_state):
10426 * gst/base/gstbasesrc.h:
10427 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10428 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10429 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10430 * gst/gstelement.c: (gst_element_get_state_func),
10431 (gst_element_set_state):
10432 * gst/gstelement.h:
10434 * tools/gst-launch.c: (event_loop), (main):
10435 Added support for live sources and other elements that
10437 Updated design docs, added live-source design doc.
10438 Implemented live source functionality in basesrc
10439 Fix error condition in _bin_get_state()
10440 Implement live source handling in -launch.
10441 Added check for live sources.
10442 Fixed case in GstBin where elements were changed state
10446 2005-06-23 Andy Wingo <wingo@pobox.com>
10448 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10449 borken refcounting.
10451 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10452 gst_caps_replace takes care of this for us.
10454 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10455 gst_pad_set_caps on the target, not just its setcaps() function.
10457 * tests/network-clock.scm:
10458 * tests/network-clock-utils.scm: A network clock simulator.
10459 Something of an algorithmic testbed before doing something in C.
10461 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10463 * check/Makefile.am:
10464 * check/gst/capslist.h:
10465 copy over from 0.8, and add two with bitmasks specified with
10467 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10468 add test to parse everything from capslist.h
10469 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10471 add test for structure deserialization
10472 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10473 add tests for deserialization of strings to int types
10474 * gst/gststructure.c: (gst_structure_nth_field_name):
10475 * gst/gststructure.h:
10476 add a way to get the name of a field referenced by index
10477 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10478 instead of checking if the resulting long long lies between
10479 min and max, we check if the long long would fit into
10480 a number of bytes for the final type.
10481 This fixes cases where a string represents 2^32 - 1, which
10482 when cast to int would be the (valid) -1, but is bigger than
10485 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10487 * gst/parse/grammar.y:
10488 add a log line for type deserialization
10490 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10492 * check/gst/gstvalue.c: (START_TEST):
10493 * gst/gstvalue.c: (gst_value_deserialize):
10494 return long long, not int, so gint64 deserialization actually
10495 works. Is there any flag that makes the compiler check this ?
10498 2005-06-22 Wim Taymans <wim@fluendo.com>
10501 Added convenience macros for setting buffers in GValue.
10503 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10505 * check/gst/.cvsignore:
10506 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10507 add a test deserializing int64, and comment part out because
10510 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10512 * check/Makefile.am:
10513 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10514 * testsuite/Makefile.am:
10515 * testsuite/caps/Makefile.am:
10516 * testsuite/caps/value_serialize.c:
10517 * testsuite/test_gst_init.c:
10518 move a value_serialize test over
10520 2005-06-20 Wim Taymans <wim@fluendo.com>
10525 * gst/gstvalue.c: (gst_value_compare_buffer),
10526 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10527 (gst_value_compare_flags), (gst_value_serialize_flags),
10528 (gst_value_deserialize_flags), (_gst_value_initialize):
10529 Fix serialisation of buffers, they are not boxed types anymore
10531 2005-06-20 Wim Taymans <wim@fluendo.com>
10533 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10534 Testcase to show error in buffer-on-caps serialisation.
10536 2005-06-20 Andy Wingo <wingo@pobox.com>
10538 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10539 will be adding to later.
10541 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10542 if its socks fill with rocks.
10543 (gst_system_clock_obtain): Set the name on object construction.
10544 Avoid double-checked locking.
10546 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10548 * gst/gsturi.c: (gst_element_make_from_uri):
10549 Fix potential endless loop.
10551 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10553 * check/Makefile.am:
10555 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10557 move over from testsuite dir and clean up
10560 * testsuite/Makefile.am:
10561 * testsuite/tags/.cvsignore:
10562 * testsuite/tags/Makefile.am:
10563 * testsuite/tags/merge.c:
10564 remove testsuite/tags
10566 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10568 * docs/gst/gstreamer-sections.txt:
10569 * docs/gst/tmpl/gstenumtypes.sgml:
10570 * win32/gstenumtypes.c:
10571 clean up documentation build a little
10573 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10575 * check/gstcheck.h:
10576 add macros for checking refcounts on objects and caps
10577 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10578 add some more unit tests
10579 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10580 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10581 fix leaked refcounts (I hope :)) so unittest works
10585 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10587 * configure.ac: back to HEAD
10589 === release 0.9.1 ===
10591 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10597 2005-06-17 Andy Wingo <wingo@pobox.com>
10599 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10600 assert; it's always possible that the pad gets deactivated in
10601 between the checks in gstpad.c and the implementation. Rely on
10602 finish_preroll() to return a FLUSHING or similar instead of on the
10605 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10606 clock and post an EOS message if we come out of finish_preroll in
10609 2005-06-16 David Schleef <ds@schleef.org>
10611 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10612 (gst_capsfilter_set_property): Allow NULL as possible value
10613 for filter_caps property, indicating GST_CAPS_ANY.
10615 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10617 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10619 * gst/schedulers/Makefile.am:
10621 * gstreamer.spec.in:
10624 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10626 * gstreamer.spec.in:
10629 2005-06-08 Andy Wingo <wingo@pobox.com>
10631 * gst/gstutils.c: RPAD fixes all around.
10632 (gst_element_link_pads): Refcounting fixes.
10634 * tools/gst-inspect.c:
10635 * tools/gst-xmlinspect.c:
10637 * gst/base/gsttypefindhelper.c:
10638 * gst/base/gstbasesink.c:
10639 * gst/gstqueue.c: RPAD fixes.
10641 * gst/gstghostpad.h:
10642 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10643 pads. The tricky thing is they provide both source and sink
10644 interfaces, since they proxy the internal pad for the external
10645 pad, and vice versa. Implement with lower-level ProxyPad objects,
10646 with the interior proxy pad as a child of the exterior ghost pad.
10647 Should write a doc on this.
10649 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10650 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10653 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10654 pads are real pads. No ghost pads in this file. Not documenting
10655 the myriad s/RPAD/PAD/ and REALIZE fixes.
10656 (gst_pad_class_init): Add properties for "direction" and
10657 "template". Both are construct-only, so they can't change during
10658 the life of the pad. Fixes properly deriving from GstPad.
10659 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10660 derived objects, just set properties when creating the objects via
10662 (gst_pad_get_parent): Implement as a function, return NULL if the
10663 parent is not an element.
10664 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10665 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10667 * gst/gstobject.c (gst_object_class_init): Make name a construct
10668 property. Don't set it in the object init.
10670 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10671 with UNKNOWN direction.
10672 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10673 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10674 (gst_element_remove_pad): Remove ghost-pad special cases.
10675 (gst_element_pads_activate): Remove rpad cruft.
10677 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10678 catch the pad's-parent-not-an-element case.
10680 * gst/gst.h: Include gstghostpad.h.
10682 * gst/gst.c (init_post): No more real, ghost pads.
10684 * gst/Makefile.am: Add gstghostpad.[ch].
10686 * check/Makefile.am:
10687 * check/gst/gstbin.c:
10688 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10689 into a bin creates ghost pads, and that the refcounts are right.
10690 Partly moved from gstbin.c.
10692 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10694 * check/gst-libs/.cvsignore:
10695 * check/gst/.cvsignore:
10696 * check/pipelines/.cvsignore:
10698 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10699 (START_TEST), (cleanup_suite), (main):
10700 add some tests related to cleanup after running pipelines
10702 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10704 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10705 add a testsuite for GstBuffer
10707 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10709 * gst/gstminiobject.h:
10710 add defines for accessing the refcount
10712 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10714 * Makefile.am: added support for html unit test coverage reports
10716 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10718 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10719 Free existing caps if the capsfilter changes. Add a FIXME about
10720 setting those caps on the pads.
10722 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10723 Before adding a ghost pad to a parent bin, check that there isn't
10724 already one for the element on the bin. Prevents infinite recursion
10725 when using decodebin in parse pipelines. Andy says he'll rewrite the
10726 way this works anyway, so ignore the hack.
10728 2005-06-02 Andy Wingo <wingo@pobox.com>
10730 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10731 file size, pass it on to the type find helper.
10733 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10734 segment_start and segment_end properly according to the seek
10735 method. Segment_end is still a bit flaky because offset can be
10736 negative for CUR and END cases, but it takes -1 as an "unset"
10739 2005-06-02 Wim Taymans <wim@fluendo.com>
10741 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10742 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10743 (gst_basesink_activate):
10744 * gst/base/gstbasesink.h:
10745 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10746 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10747 (gst_pad_query), (gst_pad_start_task):
10749 * gst/gstqueue.c: (gst_queue_bufferalloc),
10750 (gst_queue_handle_sink_event), (gst_queue_chain):
10751 Bufferalloc: return GstFlowReturn to more accuratly report
10752 why allocation failed.
10754 2005-06-02 Wim Taymans <wim@fluendo.com>
10756 * gst/gstpipeline.c: (gst_pipeline_send_event):
10757 Take snapshot of state without blocking.
10759 2005-06-02 Wim Taymans <wim@fluendo.com>
10761 * docs/design/part-TODO.txt:
10762 * docs/design/part-caps.txt:
10763 * docs/design/part-clocks.txt:
10764 * docs/design/part-negotiation.txt:
10765 * docs/design/part-preroll.txt:
10768 2005-05-30 Wim Taymans <wim@fluendo.com>
10770 * gst/elements/gstidentity.c: (gst_identity_event),
10771 (gst_identity_transform), (gst_identity_get_property):
10772 Protect last_message property as it is accessed from
10775 2005-05-30 Wim Taymans <wim@fluendo.com>
10777 * gst/gstelement.c: (gst_element_init),
10778 (gst_element_pads_activate), (gst_element_change_state):
10779 Slicker pad activation code.
10781 2005-05-30 Wim Taymans <wim@fluendo.com>
10784 * gst/gstelement.h:
10785 * gst/gstelementfactory.h:
10787 Move elementfactory methods to separate .h file.
10789 2005-05-30 Wim Taymans <wim@fluendo.com>
10791 * docs/design/part-overview.txt:
10792 * gst/gstsystemclock.h:
10793 Small typo fixes, doc updates.
10795 2005-05-30 Wim Taymans <wim@fluendo.com>
10797 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10798 (init_popt_callback):
10799 Remove cpu-opt flag.
10801 2005-05-30 Wim Taymans <wim@fluendo.com>
10803 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10804 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10806 Avoid typechecking in places where not needed.
10807 Added accessor for malloc_data.
10809 2005-05-30 Wim Taymans <wim@fluendo.com>
10811 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10812 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10813 (gst_pad_configure_sink), (gst_pad_configure_src),
10814 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10815 (gst_pad_start_task):
10816 Propagate errors from _set_caps() in configure_src/sink
10817 functions instead of returning TRUE.
10818 FLUSH events can travel up and downstream
10821 2005-05-30 Wim Taymans <wim@fluendo.com>
10823 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10824 (gst_basesink_activate):
10825 Handle EOS in preroll.
10827 2005-05-30 Wim Taymans <wim@fluendo.com>
10829 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10830 (gst_queue_loop), (gst_queue_handle_src_event):
10831 Remove old pieces of code
10832 Flushing the queue in an upstream event is a very bad idea.
10834 2005-05-26 Andy Wingo <wingo@pobox.com>
10836 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10837 gst_value_set_mini_object so as to add a ref on the object (which
10838 will be removed when the value is unset).
10840 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10841 arg type in ::handoff.
10843 * gst/gstelement.c (gst_element_change_state): Also deactivate
10844 pads in READY->NULL, just in case the element didn't make it to
10845 PAUSED. Wingo tested, Wim approved.
10847 2005-05-26 Wim Taymans <wim@fluendo.com>
10849 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10850 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10851 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10852 A flushing pad cannot be used to alloc_buffer from.
10854 2005-05-26 Wim Taymans <wim@fluendo.com>
10856 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10857 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10858 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10859 (gst_bus_create_watch), (gst_bus_add_watch_full):
10861 Implement a real GSource and use g_main_context_wakeup() to
10862 signal new messages instead of the socketpair.
10864 2005-05-25 Wim Taymans <wim@fluendo.com>
10866 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10867 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10868 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10869 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10870 (gst_pad_send_event), (gst_pad_start_task):
10871 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10872 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10873 (gst_queue_sink_activate), (gst_queue_src_activate),
10874 (gst_queue_change_state):
10876 Fix state changes for non sinks. We now change sinks, then elements
10877 with unconnected srcpads, then the rest.
10878 More efficient queue unlocking in flush and state changes.
10879 Set the pad activate mode even if it does not have an activate
10882 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10884 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10885 Don't go in pull mode for non-seekable sources.
10886 * gst/elements/gsttypefindelement.h:
10887 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10888 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10889 (free_entry), (stop_typefinding),
10890 (gst_type_find_element_handle_event), (find_peek),
10891 (gst_type_find_element_chain), (do_pull_typefind),
10892 (gst_type_find_element_change_state):
10893 Allow typefinding (w/o seeking) in push-mode, simplified version
10894 of what was in 0.8.
10895 * gst/gstutils.c: (gst_buffer_join):
10897 gst_buffer_join() from 0.8.
10899 2005-05-25 Wim Taymans <wim@fluendo.com>
10901 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10902 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10903 (gst_pad_send_event), (gst_pad_start_task):
10904 Disable attempt at mode switching until it is figured out.
10906 2005-05-25 Wim Taymans <wim@fluendo.com>
10908 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10909 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10910 (gst_basesink_finish_preroll), (gst_basesink_chain),
10911 (gst_basesink_loop), (gst_basesink_activate),
10912 (gst_basesink_change_state):
10913 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10914 (gst_basesrc_get_range), (gst_basesrc_loop),
10915 (gst_basesrc_activate):
10916 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10917 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10918 (gst_real_pad_init), (gst_real_pad_set_property),
10919 (gst_real_pad_get_property), (gst_pad_set_active),
10920 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10921 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10922 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10923 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10924 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10925 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10926 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10927 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10928 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10929 (gst_pad_stop_task):
10931 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10932 (gst_queue_loop), (gst_queue_src_activate):
10933 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10934 (gst_task_get_state):
10936 * gst/schedulers/threadscheduler.c:
10937 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10938 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10940 Remove ACTIVE pad flag, use FLUSHING everywhere
10941 Added _pad_chain(), _pad_get_range() to call chain/getrange
10943 Add locks around IS_FLUSHING when reading.
10944 Take STREAM lock in chain(), get_range() functions so plugins
10945 don't need to take it anymore.
10949 2005-05-25 Wim Taymans <wim@fluendo.com>
10951 * tools/gst-launch.c: (event_loop):
10952 Unref message after using its contents instead of
10955 2005-05-24 Wim Taymans <wim@fluendo.com>
10957 * docs/design/draft-ghostpads.txt:
10958 * docs/design/draft-push-pull.txt:
10959 * docs/design/draft-query.txt:
10960 * docs/design/part-overview.txt:
10961 Docs updates, added general overview doc.
10963 2005-05-21 David Schleef <ds@schleef.org>
10965 * docs/gst/tmpl/old/GstBin.sgml:
10966 * docs/gst/tmpl/old/GstBuffer.sgml:
10967 * docs/gst/tmpl/old/GstCaps.sgml:
10968 * docs/gst/tmpl/old/GstClock.sgml:
10969 * docs/gst/tmpl/old/GstCompat.sgml:
10970 * docs/gst/tmpl/old/GstData.sgml:
10971 * docs/gst/tmpl/old/GstElement.sgml:
10972 * docs/gst/tmpl/old/GstEvent.sgml:
10973 * docs/gst/tmpl/old/GstIndex.sgml:
10974 * docs/gst/tmpl/old/GstStructure.sgml:
10975 * docs/gst/tmpl/old/GstTag.sgml:
10976 * docs/gst/tmpl/old/cothreads.sgml:
10977 * docs/gst/tmpl/old/cothreads_compat.sgml:
10978 * docs/gst/tmpl/old/gettext.sgml:
10979 * docs/gst/tmpl/old/gobject2gtk.sgml:
10980 * docs/gst/tmpl/old/grammar.tab.sgml:
10981 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10982 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10983 * docs/gst/tmpl/old/gst_private.sgml:
10984 * docs/gst/tmpl/old/gstaggregator.sgml:
10985 * docs/gst/tmpl/old/gstarch.sgml:
10986 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10987 * docs/gst/tmpl/old/gstbufferstore.sgml:
10988 * docs/gst/tmpl/old/gstdata_private.sgml:
10989 * docs/gst/tmpl/old/gstdisksink.sgml:
10990 * docs/gst/tmpl/old/gstdisksrc.sgml:
10991 * docs/gst/tmpl/old/gstelementfactory.sgml:
10992 * docs/gst/tmpl/old/gstextratypes.sgml:
10993 * docs/gst/tmpl/old/gstfakesink.sgml:
10994 * docs/gst/tmpl/old/gstfakesrc.sgml:
10995 * docs/gst/tmpl/old/gstfdsink.sgml:
10996 * docs/gst/tmpl/old/gstfdsrc.sgml:
10997 * docs/gst/tmpl/old/gstfilesink.sgml:
10998 * docs/gst/tmpl/old/gstfilesrc.sgml:
10999 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11000 * docs/gst/tmpl/old/gstidentity.sgml:
11001 * docs/gst/tmpl/old/gstindexfactory.sgml:
11002 * docs/gst/tmpl/old/gstmarshal.sgml:
11003 * docs/gst/tmpl/old/gstmd5sink.sgml:
11004 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11005 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11006 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11007 * docs/gst/tmpl/old/gstpipefilter.sgml:
11008 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11009 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11010 * docs/gst/tmpl/old/gstshaper.sgml:
11011 * docs/gst/tmpl/old/gstspider.sgml:
11012 * docs/gst/tmpl/old/gstspideridentity.sgml:
11013 * docs/gst/tmpl/old/gststatistics.sgml:
11014 * docs/gst/tmpl/old/gsttee.sgml:
11015 * docs/gst/tmpl/old/gsttimecache.sgml:
11016 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11017 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11018 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11019 * docs/gst/tmpl/old/types.sgml:
11020 I didn't intend to add these or check them in.
11022 2005-05-19 David Schleef <ds@schleef.org>
11024 * configure.ac: Use -no-common everywhere. In a sane world, it
11025 would be the default in libtool, because without it, you can't
11026 build DLLs on Windows.
11027 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11028 * docs/gst/gstreamer-sections.txt:
11029 * docs/gst/tmpl/gstcpu.sgml:
11030 * docs/gst/tmpl/gstdata.sgml:
11031 * docs/gst/tmpl/gstthread.sgml:
11033 2005-05-19 David Schleef <ds@schleef.org>
11035 * gst/gstminiobject.c: (gst_value_set_mini_object),
11036 (gst_value_take_mini_object), (gst_value_get_mini_object):
11037 * gst/gstminiobject.h: Add GValue set/get functions.
11039 2005-05-19 Wim Taymans <wim@fluendo.com>
11041 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11042 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11043 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11045 * gst/gstbus.c: (gst_bus_post):
11046 * gst/gstelement.c: (gst_element_get_random_pad):
11047 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11048 Make subbufer unref the parent in finalize.
11049 some more debugging info.
11052 2005-05-19 Wim Taymans <wim@fluendo.com>
11054 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11055 (gst_basesink_init), (gst_basesink_finalize),
11056 (gst_basesink_activate), (gst_basesink_change_state):
11057 Don't free preroll queue too early.
11059 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11063 Hi, I'm outdated. Please shoot me.
11065 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11067 * gst/gstpipeline.c: (gst_pipeline_send_event):
11068 Do not access variables after they have been deleted.
11070 2005-05-19 Wim Taymans <wim@fluendo.com>
11072 * tools/gst-inspect.c: (print_plugin_features):
11073 A plugin feature does unfortunatly not use the
11076 2005-05-18 Wim Taymans <wim@fluendo.com>
11078 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11079 Port _span() functions to new subbuffers.
11081 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11083 * gst/gstbin.c: (gst_bin_add_func):
11084 Fix clock settery in bins when adding kids after the clock has
11087 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11089 * gst/elements/gstidentity.c: (gst_identity_class_init):
11090 Workaround until signals support GstMiniObject.
11092 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11095 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11097 2005-05-18 Wim Taymans <wim@fluendo.com>
11099 * gst/base/Makefile.am:
11100 * gst/base/gstadapter.c: (gst_adapter_base_init),
11101 (gst_adapter_class_init), (gst_adapter_init),
11102 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11103 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11104 (gst_adapter_flush), (gst_adapter_available),
11105 (gst_adapter_available_fast):
11106 * gst/base/gstadapter.h:
11107 Ported and added adapter to the base classes.
11109 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11112 * gst/gstmessage.c:
11113 Make sure the class is reffed/unreffed once before threads can be
11114 used. Fixes #304551.
11116 2005-05-17 Wim Taymans <wim@fluendo.com>
11118 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11119 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11120 * gst/gstminiobject.c: (gst_mini_object_get_type),
11121 (gst_mini_object_free):
11122 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11123 (gst_pad_push), (gst_pad_push_event):
11124 * gst/gstqueue.c: (gst_queue_change_state):
11125 Don't queue buffers in basesink when we are flushing.
11126 Unref buffer when flushing in basesink.
11127 Flush queue when going to READY
11128 Unref buffer when _push() returns an error.
11129 Don't free MiniObject instance when refcount is incremented
11130 in _finalize() so that we can recover objects.
11132 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11134 * docs/manual/advanced-schedulers.xml:
11135 * docs/manual/appendix-checklist.xml:
11136 * docs/pwg/advanced-clock.xml:
11137 * docs/pwg/advanced-interfaces.xml:
11138 * docs/pwg/advanced-request.xml:
11139 * docs/pwg/advanced-types.xml:
11140 * docs/pwg/intro-preface.xml:
11141 * examples/plugins/example.c: (gst_example_get_type),
11142 (gst_example_class_init), (gst_example_chain),
11143 (gst_example_set_property), (gst_example_get_property),
11144 (gst_example_change_state), (plugin_init):
11145 * examples/plugins/example.h:
11148 2005-05-17 Wim Taymans <wim@fluendo.com>
11150 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11151 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11152 * gst/gstqueue.c: (gst_queue_change_state):
11153 Clear queue when going to READY.
11154 Remove IN_SETCAPS flag too.
11156 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11158 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11159 Remove implicit cast from gboolean to GstElementStateReturn;
11160 make sure we still return failure in paused => ready case if
11161 the parent class fails to change state and our own stop
11164 2005-05-17 Wim Taymans <wim@fluendo.com>
11166 * tools/gst-launch.c: (event_loop):
11167 Message was unreffed too soon.
11169 2005-05-16 Andy Wingo <wingo@pobox.com>
11171 * gst/gstbin.c (sink_iterator_filter): Err... um...
11173 * check/gst/gstbin.c (test_ghost_pads): New test for the
11174 ghosting-if-elements-not-in-same-bin behavior.
11176 2005-05-16 David Schleef <ds@schleef.org>
11178 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11179 accessing refcount directly.
11181 2005-05-15 David Schleef <ds@schleef.org>
11183 * check/Makefile.am: remove GstData checks
11184 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11185 * gst/Makefile.am: add miniobject, remove data
11186 * gst/gst.h: add miniobject, remove data
11187 * gst/gstdata.c: remove
11188 * gst/gstdata.h: remove
11189 * gst/gstdata_private.h: remove
11190 * gst/gsttypes.h: remove GstEvent and GstMessage
11191 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11192 * gst/gstmarshal.list: change BOXED -> OBJECT
11194 Implement GstMiniObject.
11195 * gst/gstminiobject.c:
11196 * gst/gstminiobject.h:
11198 Modify to be subclasses of GstMiniObject.
11199 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11200 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11201 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11202 (gst_subbuffer_get_type), (gst_subbuffer_init),
11203 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11206 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11207 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11208 (_gst_event_copy), (gst_event_new):
11210 * gst/gstmessage.c: (_gst_message_initialize),
11211 (gst_message_get_type), (gst_message_class_init),
11212 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11213 (gst_message_new), (gst_message_new_error),
11214 (gst_message_new_warning), (gst_message_new_tag),
11215 (gst_message_new_state_changed), (gst_message_new_application):
11216 * gst/gstmessage.h:
11217 * gst/gstprobe.c: (gst_probe_perform),
11218 (gst_probe_dispatcher_dispatch):
11220 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11221 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11222 (_gst_query_copy), (gst_query_new):
11224 Update elements for GstData -> GstMiniObject changes
11226 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11227 (gst_queue_chain), (gst_queue_loop):
11228 * gst/elements/gstbufferstore.c:
11229 (gst_buffer_store_add_buffer_func),
11230 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11231 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11232 (gst_fakesink_render):
11233 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11234 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11235 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11236 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11237 (gst_filesrc_create_read):
11238 * gst/elements/gstidentity.c: (gst_identity_class_init):
11239 * gst/elements/gsttypefindelement.c:
11240 (gst_type_find_element_src_event), (free_entry_buffers),
11241 (gst_type_find_element_handle_event):
11242 * libs/gst/dataprotocol/dataprotocol.c:
11243 (gst_dp_header_from_buffer):
11244 * libs/gst/dataprotocol/dataprotocol.h:
11245 * libs/gst/dataprotocol/dp-private.h:
11247 2005-05-15 David Schleef <ds@schleef.org>
11249 * gst/elements/gstelements.c: Don't include headers that were
11252 2005-05-15 David Schleef <ds@schleef.org>
11254 * gst/elements/Makefile.am: Remove some elements that don't
11255 need to be in the core (or even exist at all).
11256 * gst/elements/gstaggregator.c:
11257 * gst/elements/gstaggregator.h:
11258 * gst/elements/gstmd5sink.c:
11259 * gst/elements/gstmd5sink.h:
11260 * gst/elements/gstmultifilesrc.c:
11261 * gst/elements/gstmultifilesrc.h:
11262 * gst/elements/gstpipefilter.c:
11263 * gst/elements/gstpipefilter.h:
11264 * gst/elements/gstshaper.c:
11265 * gst/elements/gstshaper.h:
11266 * gst/elements/gststatistics.c:
11267 * gst/elements/gststatistics.h:
11268 * po/POTFILES.in: Remove above files.
11270 2005-05-14 Andy Wingo <wingo@pobox.com>
11272 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11273 so as to get the refs right.
11274 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11275 unreffing objects that don't pass the filter.
11277 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11278 gst_element_set_bus.
11279 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11280 normal cases, this will destroy the bus.
11282 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11285 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11288 2005-05-13 Andy Wingo <wingo@pobox.com>
11290 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11291 gst_pad_link, call pad_link_maybe_ghosting,
11292 (pad_link_maybe_ghosting): Links pads, making sure that the
11293 elements being linked are in the same bin.
11294 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11295 Helpers for pad_link_maybe_ghosting.
11297 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11300 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11302 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11304 * docs/design/part-element-source.txt:
11307 2005-05-12 Wim Taymans <wim@fluendo.com>
11309 * gst/base/gstbasesink.c: (gst_basesink_init),
11310 (gst_basesink_activate):
11311 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11312 (gst_basesrc_is_seekable):
11313 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11314 (bin_element_is_sink), (gst_bin_change_state):
11315 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11316 * gst/gstelement.h:
11317 Identify sinks by their flag to avoid overly complicated
11319 Do state changes even for elements not reachable from the
11321 BaseSink is a sink now :)
11322 Some more debugging info in the basesrc.
11325 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11327 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11328 Implement _query on a bin, similar to _send_event.
11330 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11332 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11333 Discont event offset format should be GST_FORMAT_BYTES,
11334 not GST_FORMAT_TIME.
11336 2005-05-12 Wim Taymans <wim@fluendo.com>
11338 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11339 Same fix as Ronald's but without the signal.
11341 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11343 * gst/gstutils.c: (gst_element_query_position):
11344 No, an element is not a pad.
11346 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11348 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11349 (gst_bin_get_state):
11350 If a child is removed from a bin while we remove the child from
11351 the bin and while we're retrieving its state, signal this to the
11352 get_state function so we abort the wait (instead of waiting for
11353 a timeout) and can immediately re-iterate over all other elements.
11355 2005-05-12 Wim Taymans <wim@fluendo.com>
11357 * gst/base/Makefile.am:
11358 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11359 (gst_basesrc_start):
11360 * gst/base/gstbasesrc.h:
11361 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11362 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11363 (gst_pushsrc_init), (gst_pushsrc_create):
11364 * gst/base/gstpushsrc.h:
11365 Added is_seekable to BaseSrc
11366 Added simple PushSrc.
11368 2005-05-11 Wim Taymans <wim@fluendo.com>
11370 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11371 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11372 (gst_element_link_pads), (gst_element_query_position),
11373 (gst_element_query_convert), (intersect_caps_func),
11374 (gst_pad_query_position), (gst_pad_query_convert):
11375 Fix refcounting in utils function.
11376 No point in trying to activate a pad when it's added, it could
11377 be added from the state change function and then we deadlock, the
11378 element has to decide what to do.
11380 2005-05-10 Andy Wingo <wingo@pobox.com>
11382 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11383 *all* the arguments.
11385 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11386 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11387 lock (according to the docs -- if this is wrong change the docs).
11389 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11390 flush messages in the NULL state.
11392 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11393 message immediately and return.
11394 (gst_bus_set_flushing): New function. If a bus is flushing, it
11395 flushes out any queued messages and immediately unrefs new
11396 messages. This is so when an element goes to NULL, all of the
11397 unhandled messages coming from it can be freed, and their
11398 references to the element dropped. In other words: message source
11399 ref considered harmful :P
11401 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11402 we're finished with it.
11404 * gst/gstmessage.c (gst_message_new_state_changed):
11406 2005-05-10 Wim Taymans <wim@fluendo.com>
11408 * gst/gstvalue.c: (gst_value_compare_flags),
11409 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11410 (_gst_value_initialize):
11411 Added flags serialize/deserialize/compare code.
11413 2005-05-09 Andy Wingo <wingo@pobox.com>
11415 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11416 Intersect the peer's caps with our caps.
11418 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11420 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11421 * gst/elements/gsttypefindelement.c: (find_peek):
11422 Handle negative offsets better. Fixes decodebin.
11424 2005-05-09 Wim Taymans <wim@fluendo.com>
11426 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11427 (gst_base_transform_event):
11428 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11429 Implement accept_caps.
11430 Fix silly lock/unlock mismatch in base class.
11432 2005-05-09 Wim Taymans <wim@fluendo.com>
11434 * docs/design/draft-push-pull.txt:
11435 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11436 * gst/elements/gstfilesink.c: (gst_filesink_init),
11437 (gst_filesink_query):
11438 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11439 (gst_type_find_handle_src_query), (find_element_get_length):
11440 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11441 * gst/gstelement.h:
11442 * gst/gstmessage.c:
11443 * gst/gstmessage.h:
11444 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11445 (gst_real_pad_get_caps_unlocked),
11446 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11447 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11448 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11449 (gst_real_pad_dispose), (gst_real_pad_finalize),
11450 (gst_pad_load_and_link), (gst_pad_save_thyself),
11451 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11452 (gst_pad_check_pull_range), (gst_pad_pull_range),
11453 (gst_pad_template_get_type), (gst_pad_template_class_init),
11454 (gst_pad_template_init), (gst_pad_template_dispose),
11455 (name_is_valid), (gst_static_pad_template_get),
11456 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11457 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11458 (gst_pad_get_element_private), (gst_pad_start_task),
11459 (gst_pad_pause_task), (gst_pad_stop_task),
11460 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11461 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11462 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11463 (gst_ghost_pad_new):
11465 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11466 (gst_query_new_position), (gst_query_set_position),
11467 (gst_query_parse_position), (gst_query_new_convert),
11468 (gst_query_set_convert), (gst_query_parse_convert):
11470 * gst/gstqueryutils.c:
11471 * gst/gstqueryutils.h:
11472 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11473 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11474 (gst_queue_handle_src_query):
11475 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11476 (gst_element_query_position), (gst_element_query_convert),
11477 (intersect_caps_func), (gst_pad_query_position),
11478 (gst_pad_query_convert):
11480 * tools/gst-inspect.c: (print_pad_info):
11481 * tools/gst-xmlinspect.c: (print_element_info):
11482 Remove old query functions. Ported old code.
11483 Added position/convert helper functions to gstutils.
11484 Reordered gstpad.c code, grouping relevant things.
11485 Remove gst_message_new(), always need to speficy a specific
11489 2005-05-09 Andy Wingo <wingo@pobox.com>
11491 * gst/gstiterator.h: Add some includes.
11493 * gst/gstqueryutils.h: Include more headers.
11496 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11497 some uses of gst_pad_query.
11499 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11500 NULL out parameters.
11501 (gst_query_new_position): New proc, allocates a new position
11504 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11505 gstqueryutils.c to the build.
11507 * gst/gststructure.c (gst_structure_set_valist): Implement with
11508 the generic G_VALUE_COLLECT.
11510 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11512 * gst/Makefile.am: (gst_headers):
11513 Added gstqueryutils.h to the list of headers to install, that was
11514 a 'nachty' move wingo :)
11516 2005-05-06 Andy Wingo <wingo@pobox.com>
11519 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11520 GstData, init a memchunk.
11521 (standard_definitions): Add a few query types, deprecate a few.
11522 (gst_query_get_type): New proc.
11523 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11525 (gst_query_new_application, gst_query_get_structure): New public
11528 * docs/design/draft-query.txt: Removed LINKS from the query types,
11529 because all the rest can be dispatched to other pads -- seemed
11530 ugly to have a query that couldn't be dispatched. internal_links
11531 is fine as a pad method.
11533 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11534 in gstpad.c, but maintain binary compatibility for the moment.
11535 Will fix before 0.9 is out.
11537 * gst/gstqueryutils.c:
11538 * gst/gstqueryutils.h: New files, implement 3 methods for each
11539 query type: parse_query, parse_response, and set. Probably need an
11542 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11544 * gst/elements/gstfilesink.c (gst_filesink_query2):
11545 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11546 query_types, and formats methods.
11548 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11549 (gst_pad_set_query2_function): New functions.
11550 (gst_real_pad_init): Set query2_default as the default query2
11551 function. Basically just dispatches to internally linked pads.
11555 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11556 without using the atomic operations. Only one thread can possibly
11557 be accessing the data at this point. Changed so as to avoid
11558 gst_atomic operations.
11560 2005-05-06 Wim Taymans <wim@fluendo.com>
11562 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11563 Also set caps if we use the fallback buffer alloc.
11565 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11567 * docs/gst/Makefile.am:
11568 * docs/gst/gstreamer-docs.sgml:
11569 * docs/gst/gstreamer-sections.txt:
11570 * docs/gst/tmpl/gstatomic.sgml:
11571 * docs/gst/tmpl/gstmemchunk.sgml:
11572 * testsuite/elements/struct_i386.h:
11573 * win32/GStreamer.vcproj:
11575 Purge GstAtomic stuff from docs and win32 makefiles as well
11577 2005-05-06 Wim Taymans <wim@fluendo.com>
11579 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11580 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11581 * gst/gstpad.c: (gst_pad_peer_get_caps):
11582 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11583 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11584 (gst_queue_src_activate), (gst_queue_change_state):
11586 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11587 (intersect_caps_func):
11588 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11589 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11590 Some fixes for the peer_get_caps() change.
11592 2005-05-06 Wim Taymans <wim@fluendo.com>
11594 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11595 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11596 (gst_basesink_activate):
11597 Actually do something with error codes returned from the push
11600 2005-05-06 Wim Taymans <wim@fluendo.com>
11602 * docs/design/part-element-sink.txt:
11603 * docs/design/part-element-source.txt:
11604 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11605 (gst_basesink_event), (gst_basesink_activate):
11606 * gst/base/gstbasesink.h:
11607 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11608 (gst_basesrc_activate):
11609 * gst/base/gstbasesrc.h:
11610 * gst/gstelement.c: (gst_element_pads_activate):
11611 Some more documentation.
11612 Fixed scheduling decision in _pads_activate().
11614 2005-05-05 Andy Wingo <wingo@pobox.com>
11616 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11619 2005-05-05 Wim Taymans <wim@fluendo.com>
11621 * gst/base/Makefile.am:
11622 * gst/base/gstbasesink.h:
11623 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11624 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11625 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11626 (gst_collectpads_class_init), (gst_collectpads_init),
11627 (gst_collectpads_finalize), (gst_collectpads_new),
11628 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11629 (find_pad), (gst_collectpads_remove_pad),
11630 (gst_collectpads_is_active), (gst_collectpads_collect),
11631 (gst_collectpads_collect_range), (gst_collectpads_start),
11632 (gst_collectpads_stop), (gst_collectpads_peek),
11633 (gst_collectpads_pop), (gst_collectpads_available),
11634 (gst_collectpads_read), (gst_collectpads_flush),
11635 (gst_collectpads_chain):
11636 * gst/base/gstcollectpads.h:
11637 * gst/elements/Makefile.am:
11638 * gst/elements/gstelements.c:
11639 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11640 (gst_fakesink_get_times), (gst_fakesink_event),
11641 (gst_fakesink_preroll), (gst_fakesink_render):
11642 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11643 (gst_filesink_init), (gst_filesink_set_location),
11644 (gst_filesink_open_file), (gst_filesink_close_file),
11645 (gst_filesink_pad_query), (gst_filesink_event),
11646 (gst_filesink_render), (gst_filesink_change_state):
11647 * gst/elements/gstfilesink.h:
11648 Added object to help in making collect pad based elements.
11650 Make event function in sink baseclass return gboolean.
11652 2005-05-05 Wim Taymans <wim@fluendo.com>
11654 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11655 (gst_bin_get_by_name):
11657 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11658 (gst_clock_finalize):
11659 * gst/gstdata.c: (gst_data_replace):
11661 * gst/gstelement.c: (gst_element_request_pad),
11662 (gst_element_pads_activate):
11663 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11664 (gst_object_unref):
11665 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11666 (gst_pad_set_checkgetrange_function),
11667 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11668 (gst_pad_check_pull_range), (gst_pad_pull_range),
11669 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11670 (gst_pad_pause_task), (gst_pad_stop_task):
11671 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11672 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11673 Fix name lookup in GstBin.
11674 Added _data_replace() function and _buffer_replace()
11675 Use finalize method to clean up clock.
11676 Fix refcounting on request pads.
11677 Fix pad schedule mode error.
11678 Some more object refcounting debug info,
11681 2005-05-04 Andy Wingo <wingo@pobox.com>
11683 * check/Makefile.am:
11684 * docs/gst/tmpl/gstatomic.sgml:
11685 * docs/gst/tmpl/gstplugin.sgml:
11686 * gst/base/gstbasesink.c: (gst_basesink_activate):
11687 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11688 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11689 (gst_basesrc_query), (gst_basesrc_set_property),
11690 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11691 (gst_basesrc_activate):
11692 * gst/base/gstbasesrc.h:
11693 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11694 (gst_base_transform_src_activate):
11695 * gst/elements/gstelements.c:
11696 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11697 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11698 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11699 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11700 (gst_type_find_element_checkgetrange),
11701 (gst_type_find_element_activate):
11702 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11703 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11704 (gst_caps_load_thyself):
11705 * gst/gstelement.c: (gst_element_pads_activate),
11706 (gst_element_save_thyself), (gst_element_restore_thyself):
11707 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11708 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11710 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11711 (gst_xml_parse_file), (gst_xml_parse_memory),
11712 (gst_xml_get_element), (gst_xml_make_element):
11713 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11714 (_file_index_id_save_xml), (gst_file_index_commit):
11715 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11716 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11718 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11719 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11720 * tools/gst-complete.c: (main):
11721 * tools/gst-compprep.c: (main):
11722 * tools/gst-inspect.c: (print_element_properties_info):
11723 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11724 * tools/gst-xmlinspect.c: (print_element_properties):
11727 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11729 * gst/gstplugin.c: (gst_plugin_check_module),
11730 (gst_plugin_check_file), (gst_plugin_load_file):
11731 apply patch from #172526 to make register work on MacOSX
11733 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11735 * docs/gst/tmpl/gstconfig.sgml:
11736 * gst/gstconfig.h.in:
11737 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11738 * testsuite/debug/printf_extension.c: (main):
11739 Do not use GST_PTR_FORMAT on pointers to types with
11740 sizeof < sizeof(gpointer). Fixes test on 64-bit
11741 * testsuite/elements/property.h:
11742 use correct printf format
11744 2005-05-02 Wim Taymans <wim@fluendo.com>
11746 * docs/design/draft-push-pull.txt:
11747 * docs/design/draft-query.txt:
11748 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11749 (gst_basesrc_start):
11750 Added draft for new query API.
11751 Added draft for better selecting scheduling methods.
11752 Make basesrc ignore length if the subclass does not support
11755 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11758 possible fixes for automake-1.5 - _LIBADD is reserved
11760 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11762 * docs/faq/Makefile.am:
11763 * docs/manual/Makefile.am:
11764 * docs/manuals.mak:
11765 * docs/pwg/Makefile.am:
11767 possible fixes for automake-1.5
11769 2005-04-28 Wim Taymans <wim@fluendo.com>
11771 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11772 (gst_basesink_pad_getcaps), (gst_basesink_init),
11773 (gst_basesink_do_sync):
11774 * gst/gstclock.c: (gst_clock_entry_new):
11775 * gst/gstevent.c: (gst_event_discont_get_value):
11776 * gst/gstpipeline.c: (pipeline_bus_handler),
11777 (gst_pipeline_change_state):
11778 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11779 Better debugging of clocking info.
11780 Allow NULL values when getting discont values.
11782 2005-04-27 Wim Taymans <wim@fluendo.com>
11784 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11785 * check/gst/gstpad.c: (gst_pad_suite):
11786 Increase timeout for checks.
11788 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11790 * check/Makefile.am:
11791 fix the broken rule for cleanup. Apparently this rule is
11792 only needed on FC2, so maybe this warrants further autotool
11795 2005-04-26 Wim Taymans <wim@fluendo.com>
11797 * gst/gsttrashstack.h:
11798 Ooohh. a nasty one! After having a failed pop() from the stack,
11799 it's possible that the stack is empty. In that case, don't
11800 follow the NULL pointer.
11802 2005-04-25 Wim Taymans <wim@fluendo.com>
11804 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11805 (gst_pad_set_checkgetrange_function),
11806 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11807 (gst_pad_check_pull_range), (gst_pad_pull_range),
11808 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11809 (gst_pad_pause_task), (gst_pad_stop_task):
11810 * gst/gstplugin.c: (gst_plugin_load):
11812 Remove gst_library_load as it does more harm than good with
11813 the new g_module flags.
11814 Revert bogus caps template check in pad linking, pad caps
11815 are important when linking not the template, which is more
11816 general than the current caps.
11818 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11820 * gst/autoplug/.cvsignore:
11821 * gst/autoplug/Makefile.am:
11822 * gst/autoplug/gstsearchfuncs.c:
11823 * gst/autoplug/gstsearchfuncs.h:
11824 * gst/autoplug/gstspider.c:
11825 * gst/autoplug/gstspider.h:
11826 * gst/autoplug/gstspideridentity.c:
11827 * gst/autoplug/gstspideridentity.h:
11828 * gst/autoplug/spidertest.c:
11831 2005-04-25 Wim Taymans <wim@fluendo.com>
11833 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11834 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11835 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11836 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11838 Added stubs for unimplemented functions.
11840 2005-04-24 David Schleef <ds@schleef.org>
11842 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11845 2005-04-24 David Schleef <ds@schleef.org>
11847 Convert everything from GstAtomicInt to g_atomic_int_*, and
11852 * gst/gstatomic_impl.h:
11860 * gst/gstdata_private.h:
11864 * gst/gstmessage.c:
11867 * gst/gststructure.c:
11868 * gst/gststructure.h:
11869 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11872 2005-04-24 David Schleef <ds@schleef.org>
11874 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11875 make the regressions tests work. Remove some code that is no
11877 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11878 Disable warning for pads without templates.
11880 2005-04-24 David Schleef <ds@schleef.org>
11882 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11883 functions that handle filtered links.
11884 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11886 * gst/gstutils.c: Fix/remove utility functions that handle
11889 * gst/gstvalue.c: Add serialization/deserialization of caps
11890 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11891 requires fixing so that the filter caps notation creates
11892 a capsfilter element and sets the filter_caps property. I
11893 think everyone probably wants to keep the shorthand notation.
11894 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11895 * docs/gst/tmpl/gstpad.sgml:
11897 * gst/elements/gstelements.c: Register capsfilter element.
11898 * gst/Makefile.am: fix spacing
11899 * docs/random/ds/0.9-suggested-changes: random
11901 2005-04-23 David Schleef <ds@schleef.org>
11903 * gst/elements/Makefile.am:
11904 * gst/elements/gstcapsfilter.c: New element that acts like an
11905 identity, but filters caps. Will eventually replace filtered
11906 caps in pad linking.
11907 * gst/gstutils.c: (gst_element_create_all_pads): New function
11908 to create all the ALWAYS pads that are registered with an
11909 element class. This functionality should eventually be
11910 merged in with GstElement initialization.
11912 * testsuite/trigger/README: part of trigger test code that should
11913 have been checked in a long time ago.
11915 2005-04-23 David Schleef <ds@schleef.org>
11917 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11918 needed with new versions of libtool (nobody will confirm this),
11919 and hard to carry around.
11920 * gst/autoplug/Makefile.am:
11921 * gst/base/Makefile.am:
11922 * gst/elements/Makefile.am:
11923 * gst/indexers/Makefile.am:
11924 * gst/schedulers/Makefile.am:
11925 * libs/gst/bytestream/Makefile.am:
11926 * libs/gst/control/Makefile.am:
11927 * libs/gst/dataprotocol/Makefile.am:
11928 * libs/gst/getbits/Makefile.am:
11930 2005-04-21 Wim Taymans <wim@fluendo.com>
11932 * docs/design/draft-push-pull.txt:
11933 * docs/design/part-MT-refcounting.txt:
11934 * docs/design/part-TODO.txt:
11935 * docs/design/part-caps.txt:
11936 * docs/design/part-events.txt:
11937 * docs/design/part-gstbus.txt:
11938 * docs/design/part-gstpipeline.txt:
11939 * docs/design/part-messages.txt:
11940 * docs/design/part-push-pull.txt:
11941 * docs/design/part-query.txt:
11944 2005-04-21 Wim Taymans <wim@fluendo.com>
11946 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11947 (gst_message_new), (gst_message_new_error),
11948 (gst_message_new_warning), (gst_message_new_tag),
11949 (gst_message_new_state_changed), (gst_message_new_application),
11950 (gst_message_get_structure):
11951 * gst/gstmessage.h:
11952 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11953 (gst_structure_copy_conditional):
11954 Use parent refcount in GstMessage to ensure GstStructure
11956 Cleaned up headers a bit.
11959 2005-04-20 Wim Taymans <wim@fluendo.com>
11961 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11962 (gst_basesink_pad_getcaps), (gst_basesink_init),
11963 (gst_basesink_chain_unlocked):
11964 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11965 (gst_type_find_helper):
11966 * gst/elements/gsttypefindelement.c:
11967 (gst_type_find_element_have_type), (gst_type_find_element_init),
11968 (stop_typefinding), (gst_type_find_element_handle_event),
11969 (find_suggest), (gst_type_find_element_chain),
11970 (gst_type_find_element_checkgetrange),
11971 (gst_type_find_element_getrange), (do_typefind),
11972 (gst_type_find_element_activate):
11973 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11974 (gst_buffer_default_free), (gst_buffer_default_copy),
11975 (gst_buffer_set_caps):
11976 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11977 (gst_caps_replace):
11978 * gst/gstmessage.c: (gst_message_new),
11979 (gst_message_new_state_changed):
11980 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11981 (gst_pad_set_checkgetrange_function),
11982 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11983 (gst_pad_set_caps), (gst_pad_check_pull_range),
11984 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11986 * gst/gsttypefind.c: (gst_type_find_register):
11987 Make gst_caps_replace() work like other _replace() functions.
11988 Use _caps_replace() where possible.
11989 Make sure _message_new() initialises its field.
11990 Add gst_static_pad_template_get_caps()
11993 2005-04-18 Andy Wingo <wingo@pobox.com>
11995 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11996 on the peer, not the pad. I think that was a typo. Pass an extra
11997 arg to see if random access is possible. Activate the pads as
11998 PULL_RANGE if possible.
12000 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12002 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12003 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12006 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12008 * docs/faq/using.xml:
12009 Add note on gstreamer-properties (#154996).
12011 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12013 * docs/random/bbb/optional-properties:
12014 Some analysis on optional properties.
12016 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12018 * docs/gst/tmpl/gstelementfactory.sgml:
12019 * gst/gstelement.h:
12020 * gst/gstelementfactory.c: (gst_element_factory_init),
12021 (gst_element_factory_cleanup), (gst_element_register),
12022 (__gst_element_factory_add_static_pad_template),
12023 (gst_element_factory_get_static_pad_templates),
12024 (gst_element_factory_can_src_caps),
12025 (gst_element_factory_can_sink_caps):
12026 * gst/registries/Makefile.am:
12027 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12028 (gst_xml_registry_class_init), (gst_xml_registry_init),
12029 (gst_xml_registry_new), (gst_xml_registry_set_property),
12030 (gst_xml_registry_get_property), (get_time), (make_dir),
12031 (gst_xml_registry_get_perms_func),
12032 (plugin_times_older_than_recurse), (plugin_times_older_than),
12033 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12034 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12035 (add_to_char_array), (read_string), (read_uint), (read_enum),
12036 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12037 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12038 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12039 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12040 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12041 (gst_xml_registry_rebuild):
12042 * gst/registries/gstlibxmlregistry.h:
12043 * tools/gst-compprep.c: (main):
12044 * tools/gst-inspect.c: (print_pad_templates_info):
12045 * tools/gst-xmlinspect.c: (print_element_info):
12046 Use libxml2 for registry parsing, use staticpadtemplates in
12047 elementfactories. Makes gst_init() +/- 10x faster.
12049 2005-04-12 Wim Taymans <wim@fluendo.com>
12051 * gst/base/Makefile.am:
12052 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12053 (gst_basesink_pad_getcaps), (gst_basesink_init),
12054 (gst_basesink_event), (gst_basesink_change_state):
12055 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12056 (gst_basesrc_init), (gst_basesrc_query),
12057 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12058 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12059 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12060 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12061 (gst_basesrc_stop), (gst_basesrc_activate),
12062 (gst_basesrc_change_state):
12063 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12064 (helper_find_suggest), (gst_type_find_helper):
12065 * gst/base/gsttypefindhelper.h:
12066 * gst/elements/Makefile.am:
12067 * gst/elements/gstelements.c:
12068 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12069 (gst_fakesink_get_times), (gst_fakesink_event),
12070 (gst_fakesink_preroll), (gst_fakesink_render):
12071 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12072 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12073 (gst_fakesrc_get_property), (gst_fakesrc_create),
12074 (gst_fakesrc_start), (gst_fakesrc_stop):
12075 * gst/elements/gstfakesrc.h:
12076 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12077 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12078 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12079 (gst_filesrc_create_read), (gst_filesrc_create),
12080 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12081 (gst_filesrc_start):
12082 * gst/elements/gsttypefindelement.c:
12083 (gst_type_find_element_have_type), (gst_type_find_element_init),
12084 (start_typefinding), (stop_typefinding), (push_buffer_store),
12085 (gst_type_find_element_handle_event),
12086 (gst_type_find_element_chain),
12087 (gst_type_find_element_checkgetrange),
12088 (gst_type_find_element_getrange), (do_typefind),
12089 (gst_type_find_element_activate),
12090 (gst_type_find_element_change_state):
12091 * gst/elements/gsttypefindelement.h:
12092 * gst/gstpipeline.c: (pipeline_bus_handler):
12093 Added typefind helper.
12094 Small preroll fix in the base sink.
12095 Disable typefind code in basesrc.
12096 Crude port of typefindelement.
12100 2005-04-11 Wim Taymans <wim@fluendo.com>
12102 * check/gst/gstbus.c: (gstbus_suite):
12103 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12104 * check/gstcheck.h:
12105 Fix up the timeout so that the test does not fail.
12107 2005-04-06 Wim Taymans <wim@fluendo.com>
12110 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12111 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12112 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12113 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12114 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12115 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12116 (gst_basesrc_stop), (gst_basesrc_activate),
12117 (gst_basesrc_change_state), (basesrc_find_peek),
12118 (basesrc_find_suggest), (gst_basesrc_type_find):
12119 * gst/base/gstbasesrc.h:
12120 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12121 (gst_filesrc_class_init), (gst_filesrc_init),
12122 (gst_filesrc_finalize), (gst_filesrc_set_location),
12123 (gst_filesrc_set_property), (gst_filesrc_get_property),
12124 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12125 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12126 (gst_filesrc_create_read), (gst_filesrc_create),
12127 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12128 * gst/elements/gstfilesrc.h:
12129 * gst/gstelement.c: (gst_element_get_state_func),
12130 (gst_element_lost_state), (gst_element_pads_activate):
12131 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12132 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12133 (gst_pad_pull_range):
12135 More work on the generic source base class, implement seeking,
12137 Make filesrc extend the base source class.
12138 Added gst_pad_set_checkgetrange_function to GstPad.
12140 2005-04-06 Andy Wingo <wingo@pobox.com>
12142 * pkgconfig/gstreamer-base.pc.in:
12143 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12145 * pkgconfig/Makefile.am:
12146 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12148 2005-04-04 Wim Taymans <wim@fluendo.com>
12150 * gst/base/Makefile.am:
12152 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12153 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12154 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12155 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12156 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12157 (gst_basesrc_base_init), (gst_basesrc_class_init),
12158 (gst_basesrc_init), (gst_basesrc_get_formats),
12159 (gst_basesrc_get_query_types), (gst_basesrc_query),
12160 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12161 (gst_basesrc_set_property), (gst_basesrc_get_property),
12162 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12163 (gst_basesrc_loop), (gst_basesrc_activate),
12164 (gst_basesrc_change_state):
12165 * gst/base/gstbasesrc.h:
12166 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12167 (gst_fakesrc_class_init), (gst_fakesrc_init),
12168 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12169 (gst_fakesrc_get_property), (gst_fakesrc_create):
12170 * gst/elements/gstfakesrc.h:
12171 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12172 (gst_filesrc_open_file), (gst_filesrc_loop),
12173 (gst_filesrc_activate), (filesrc_find_peek),
12174 (gst_filesrc_type_find):
12175 Made base source class, make fakesrc extend it.
12176 Add comments to basesink class.
12177 Some filesrc cleanup.
12179 2005-03-31 David Schleef <ds@schleef.org>
12181 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12182 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12183 expected to link against libgstreamer.
12184 * gst/base/Makefile.am: link against libgstreamer
12185 * gst/elements/Makefile.am: same
12187 2005-03-31 Andy Wingo <wingo@pobox.com>
12189 * tests/instantiate/Makefile.am:
12190 * tests/instantiate/caps.c: Add test to test speed of caps copy
12193 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12194 GMemChunk to be fair.
12196 * gst/gsttrashstack.h: Remove warning about using the fallback
12197 trash stack implementation, it's still faster than malloc.
12199 2005-03-30 Andy Wingo <wingo@pobox.com>
12201 * tests/complexity.c: Add a copyright.
12203 2005-03-31 Wim Taymans <wim@fluendo.com>
12205 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12206 (gst_base_transform_class_init), (gst_base_transform_init),
12207 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12208 (gst_base_transform_get_property),
12209 (gst_base_transform_sink_activate),
12210 (gst_base_transform_src_activate),
12211 (gst_base_transform_change_state):
12212 * gst/base/gstbasetransform.h:
12213 * gst/elements/gstidentity.c: (gst_identity_class_init),
12214 (gst_identity_event), (gst_identity_check_perfect),
12215 (gst_identity_transform), (gst_identity_start),
12216 (gst_identity_stop):
12217 Added start/stop methods to transform base class so subclasses
12218 don't need to deal with state changes even.
12220 2005-03-31 Wim Taymans <wim@fluendo.com>
12222 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12223 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12225 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12226 (gst_pad_pull_range):
12227 Added rate to the discont event to prepare for variable speed
12228 and reverse playback.
12230 2005-03-29 David Schleef <ds@schleef.org>
12233 * testsuite/trigger/Makefile.am:
12234 * testsuite/trigger/trigger.c: A little example program to show
12235 how trigger-based elements can work.
12237 2005-03-29 Wim Taymans <wim@fluendo.com>
12239 * gst/base/Makefile.am:
12241 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12242 (gst_basesink_base_init), (gst_basesink_class_init),
12243 (gst_basesink_pad_getcaps), (gst_basesink_init),
12244 (gst_basesink_activate), (gst_basesink_change_state):
12245 * gst/base/gstbasesink.h:
12246 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12247 (gst_base_transform_base_init), (gst_base_transform_finalize),
12248 (gst_base_transform_class_init), (gst_base_transform_init),
12249 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12250 (gst_base_transform_event), (gst_base_transform_getrange),
12251 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12252 (gst_base_transform_set_property),
12253 (gst_base_transform_get_property),
12254 (gst_base_transform_sink_activate),
12255 (gst_base_transform_src_activate),
12256 (gst_base_transform_change_state):
12257 * gst/base/gstbasetransform.h:
12258 * gst/elements/gstidentity.c: (gst_identity_finalize),
12259 (gst_identity_class_init), (gst_identity_init),
12260 (gst_identity_event), (gst_identity_check_perfect),
12261 (gst_identity_transform), (gst_identity_set_property),
12262 (gst_identity_get_property), (gst_identity_change_state):
12263 * gst/elements/gstidentity.h:
12264 * gst/gstelement.c: (gst_element_get_state_func),
12265 (gst_element_lost_state), (gst_element_pads_activate):
12266 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12267 (gst_pad_check_pull_range), (gst_pad_pull_range):
12269 Simplify pad activation.
12270 Added function to check if pull_range can be performed.
12271 Error out when pulling inactive or flushing pads.
12272 Removed const from refcounted types as it does not make sense.
12273 Simplify pad templates in basesink
12274 Added base class for simple 1-to-1 transforms.
12275 Make identity subclass the base transform.
12277 2005-03-29 Andy Wingo <wingo@pobox.com>
12279 * docs/libs/gstreamer-libs-overrides.txt:
12280 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12281 really don't understand what's going on, but like whatever. I want
12284 * docs/gst/Makefile.am:
12285 * docs/libs/Makefile.am: Dist the overrides files.
12287 * check/Makefile.am (clean-local): Remove .libs directories.
12289 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12290 elements to EXTRA_DIST, so po/ files are happy.
12292 * po/POTFILES.in: Er, remove it here.
12294 * po/POTFILES: Remove gstspider.c.
12296 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12298 * docs/libs/gstreamer-libs-docs.sgml:
12299 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12302 * tests/complexity.c (main): Set the length of the preroll queue
12303 on the sinks to prevent a lockup.
12305 * libs/gst/dataprotocol/Makefile.am:
12306 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12307 the same as the one in check/gst-libs/gdp.c.
12309 * po/, docs/gst/: Commit automatic changes to docs and po files.
12311 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12312 the versioned libgstbase.
12314 * check/Makefile.am: Depend on an unversioned gst-register, seems
12315 to make autoconf happier.
12317 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12319 2005-03-28 Wim Taymans <wim@fluendo.com>
12322 * docs/design/part-gstelement.txt:
12323 * docs/design/part-negotiation.txt:
12324 * docs/design/part-preroll.txt:
12325 * docs/design/part-scheduling.txt:
12326 * docs/design/part-states.txt:
12328 * gst/base/Makefile.am:
12330 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12331 (gst_basesink_base_init), (gst_basesink_class_init),
12332 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12333 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12334 (gst_basesink_set_pad_functions),
12335 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12336 (gst_basesink_set_property), (gst_basesink_get_property),
12337 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12338 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12339 (gst_basesink_preroll_queue_push),
12340 (gst_basesink_preroll_queue_empty),
12341 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12342 (gst_basesink_event), (gst_basesink_get_times),
12343 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12344 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12345 (gst_basesink_loop), (gst_basesink_activate),
12346 (gst_basesink_change_state):
12347 * gst/base/gstbasesink.h:
12348 * gst/elements/Makefile.am:
12349 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12350 (gst_fakesink_class_init), (gst_fakesink_init),
12351 (gst_fakesink_set_property), (gst_fakesink_get_property),
12352 (gst_fakesink_get_times), (gst_fakesink_event),
12353 (gst_fakesink_preroll), (gst_fakesink_render),
12354 (gst_fakesink_change_state):
12355 * gst/elements/gstfakesink.h:
12356 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12357 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12358 * gst/gstelement.c: (gst_element_add_pad),
12359 (gst_element_get_state_func), (gst_element_abort_state),
12360 (gst_element_commit_state), (gst_element_lost_state),
12361 (gst_element_set_state), (gst_element_pads_activate):
12362 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12363 * gst/gstpipeline.c: (gst_pipeline_send_event),
12364 (gst_pipeline_change_state):
12365 Added state change code.
12366 Added/updated docs.
12367 Added sink base class, make fakesink extend the base class.
12368 Small cleanups in GstPipeline.
12370 2005-03-26 David Schleef <ds@schleef.org>
12372 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12373 is broken and should be implemented in a different library.
12374 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12375 * gst/gst.h: remove gstcpu.h
12376 * gst/gstcpu.c: remove
12377 * gst/gstcpu.h: remove
12378 * gst/Makefile.am.future: Remove this file. It's ancient.
12380 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12382 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12383 (gst_bin_send_event):
12384 Add default event/set_manager handlers. The set_manager handler
12385 takes care that the manager is distributed over kids that were
12386 already in the bin before the manager was set. The event handler
12387 is a utility virtual function that sends the event over all sinks,
12388 so that gst_element_send_event (bin, event); has the expected
12390 * gst/gstpad.c: (gst_pad_event_default):
12391 Re-install default event handling for discontinuities, so that
12392 seeking works without requiring hacks in applications or extra
12394 * gst/gstpipeline.c: (gst_pipeline_class_init),
12395 (gst_pipeline_send_event):
12396 Half hack, half utility: set a pipeline to PAUSED for seek events,
12397 since that is the only way we can guarantee a/v sync. Means that
12398 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12399 and it "just works".
12401 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12403 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12404 Lock/unlock mismatch.
12406 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12408 * docs/faq/gst-uninstalled:
12409 add gst-plugins-base
12410 * docs/gst/Makefile.am:
12411 don't error out until docs are fixed
12412 * docs/gst/gstreamer.types:
12415 2005-03-22 Wim Taymans <wim@fluendo.com>
12417 * check/Makefile.am:
12418 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12419 * gst/gststructure.c: (gst_structure_set_valist),
12420 (gst_structure_copy_conditional):
12421 Activated more tests.
12422 Added message test.
12423 Added G_TYPE_POINTER to GstStructure.
12426 2005-03-22 Wim Taymans <wim@fluendo.com>
12428 * docs/design/part-TODO.txt:
12429 * docs/design/part-events.txt:
12430 * docs/design/part-gstbin.txt:
12431 * docs/design/part-gstbus.txt:
12432 * docs/design/part-gstpipeline.txt:
12433 * docs/design/part-messages.txt:
12435 * gst/gstmessage.c:
12438 2005-03-21 Wim Taymans <wim@fluendo.com>
12440 * gst/gstbus.c: (gst_bus_post):
12441 Fix copy-and-paste error.
12443 2005-03-21 Wim Taymans <wim@fluendo.com>
12445 * check/Makefile.am:
12447 * gst/elements/Makefile.am:
12448 * gst/elements/gstelements.c:
12449 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12450 (gst_fakesink_event), (gst_fakesink_chain):
12451 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12452 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12453 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12454 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12455 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12456 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12457 (gst_fakesrc_loop), (gst_fakesrc_activate),
12458 (gst_fakesrc_change_state):
12459 * gst/elements/gstfakesrc.h:
12460 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12461 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12462 (gst_filesrc_open_file), (gst_filesrc_loop),
12463 (gst_filesrc_activate), (gst_filesrc_change_state),
12464 (filesrc_find_peek), (filesrc_find_suggest),
12465 (gst_filesrc_type_find):
12466 * gst/elements/gstidentity.c: (gst_identity_finalize),
12467 (gst_identity_class_init), (gst_identity_init),
12468 (gst_identity_proxy_getcaps), (identity_queue_push),
12469 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12470 (gst_identity_getrange), (gst_identity_chain),
12471 (gst_identity_sink_loop), (gst_identity_src_loop),
12472 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12473 (gst_identity_set_property), (gst_identity_get_property),
12474 (gst_identity_change_state):
12475 * gst/elements/gstidentity.h:
12476 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12477 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12478 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12479 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12480 (gst_tee_sink_activate):
12481 * gst/elements/gsttee.h:
12482 * gst/gst.c: (gst_register_core_elements), (init_post):
12484 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12485 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12486 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12487 (gst_bin_change_state):
12489 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12490 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12491 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12492 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12493 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12494 (bus_watch_callback), (bus_watch_destroy),
12495 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12496 (poll_timeout), (gst_bus_poll):
12500 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12501 (gst_element_post_message), (gst_element_message_full),
12502 (gst_element_get_state_func), (gst_element_get_state),
12503 (gst_element_abort_state), (gst_element_commit_state),
12504 (gst_element_lost_state), (gst_element_set_state),
12505 (gst_element_pads_activate), (gst_element_change_state),
12506 (gst_element_dispose), (gst_element_set_manager_func),
12507 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12508 (gst_element_set_manager), (gst_element_get_manager),
12509 (gst_element_set_bus), (gst_element_get_bus),
12510 (gst_element_set_scheduler), (gst_element_get_scheduler):
12511 * gst/gstelement.h:
12512 * gst/gstevent.c: (gst_event_new_segment_seek),
12513 (gst_event_new_flush):
12515 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12516 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12517 (gst_message_new_eos), (gst_message_new_error),
12518 (gst_message_new_warning), (gst_message_new_tag),
12519 (gst_message_new_state_changed), (gst_message_new_application),
12520 (gst_message_get_structure), (gst_message_parse_tag),
12521 (gst_message_parse_state_changed), (gst_message_parse_error),
12522 (gst_message_parse_warning):
12523 * gst/gstmessage.h:
12524 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12525 (gst_real_pad_set_property), (gst_pad_set_active),
12526 (gst_pad_is_active), (gst_pad_set_blocked_async),
12527 (gst_pad_set_blocked), (gst_pad_is_blocked),
12528 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12529 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12530 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12531 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12532 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12533 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12534 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12535 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12536 (gst_pad_set_caps), (gst_pad_configure_sink),
12537 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12538 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12539 (gst_real_pad_dispose), (gst_real_pad_finalize),
12540 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12541 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12542 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12544 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12545 (pipeline_bus_handler), (gst_pipeline_change_state),
12546 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12547 * gst/gstpipeline.h:
12549 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12550 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12551 (gst_queue_link_src), (gst_queue_bufferalloc),
12552 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12553 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12554 (gst_queue_loop), (gst_queue_handle_src_event),
12555 (gst_queue_handle_src_query), (gst_queue_src_activate),
12556 (gst_queue_change_state):
12558 * gst/gstscheduler.c: (gst_scheduler_init),
12559 (gst_scheduler_dispose), (gst_scheduler_create_task),
12560 (gst_scheduler_factory_create):
12561 * gst/gstscheduler.h:
12562 * gst/gststructure.c: (gst_structure_get_type),
12563 (gst_structure_copy_conditional):
12564 * gst/gststructure.h:
12565 * gst/gsttaginterface.h:
12566 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12567 (gst_task_init), (gst_task_dispose), (gst_task_create),
12568 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12574 * gst/schedulers/Makefile.am:
12575 * gst/schedulers/cothreads_compat.h:
12576 * gst/schedulers/entryscheduler.c:
12577 * gst/schedulers/faircothreads.c:
12578 * gst/schedulers/faircothreads.h:
12579 * gst/schedulers/fairscheduler.c:
12580 * gst/schedulers/gstbasicscheduler.c:
12581 * gst/schedulers/gstoptimalscheduler.c:
12582 * gst/schedulers/gthread-cothreads.h:
12583 * gst/schedulers/threadscheduler.c:
12584 (gst_thread_scheduler_task_get_type),
12585 (gst_thread_scheduler_task_class_init),
12586 (gst_thread_scheduler_task_init),
12587 (gst_thread_scheduler_task_start),
12588 (gst_thread_scheduler_task_stop),
12589 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12590 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12591 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12592 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12594 * libs/gst/Makefile.am:
12595 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12596 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12597 (gst_file_pad_parent_set):
12598 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12599 (gst_dp_event_from_packet):
12600 * tests/complexity.c: (main):
12601 * tests/mass_elements.c: (main):
12602 * testsuite/states/locked.c: (message_received), (main):
12603 * testsuite/states/parent.c: (main):
12604 * tools/gst-inspect.c: (print_element_flag_info),
12605 (print_implementation_info), (print_pad_info):
12606 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12608 * tools/gst-md5sum.c: (event_loop), (main):
12609 * tools/gst-typefind.c: (main):
12610 * tools/gst-xmlinspect.c: (print_element_info):
12612 Added GstBus for mainloop integration.
12613 Added GstMessage for sending notifications on the bus.
12614 Added GstTask as an abstraction for pipeline entry points.
12616 Removed Schedulers.
12617 Simplified GstQueue for multithreaded core.
12618 Made _link threadsafe, removed old capsnego.
12619 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12620 Added pad blocking functions.
12621 Reworked scheduling functions in GstPad to prepare for
12622 scheduling updates soon.
12623 Moved events out of data stream.
12624 Simplified GstEvent types.
12625 Added return values to push/pull.
12626 Removed clocking from GstElement.
12627 Added prototypes for state change function for next merge.
12628 Removed iterate from bins and state change management.
12629 Fixed some elements, disabled others for now.
12630 Fixed -inspect and -launch.
12631 Added check for GstBus.
12633 2005-03-10 Wim Taymans <wim@fluendo.com>
12635 * docs/design/part-MT-refcounting.txt:
12636 * docs/design/part-clocks.txt:
12637 * docs/design/part-gstelement.txt:
12638 * docs/design/part-gstobject.txt:
12639 * docs/design/part-standards.txt:
12640 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12641 (gst_bin_remove_func), (gst_bin_remove):
12645 * testsuite/clock/clock1.c: (main):
12646 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12648 * testsuite/dlopen/loadgst.c: (do_test):
12649 * testsuite/refcounting/bin.c: (add_remove_test1),
12650 (add_remove_test2), (main):
12651 * testsuite/refcounting/element.c: (main):
12652 * testsuite/refcounting/element_pad.c: (main):
12653 * testsuite/refcounting/pad.c: (main):
12654 * tools/gst-launch.c: (sigint_handler_sighandler):
12655 * tools/gst-typefind.c: (main):
12657 Added doc about clock.
12658 removed gst_bin_iterate_recurse_up(), marked methods
12660 Fix more testsuites.
12662 2005-03-09 Wim Taymans <wim@fluendo.com>
12664 * gst/gstpad.c: (gst_pad_get_direction),
12665 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12666 (gst_pad_collect_valist):
12667 * testsuite/bins/interface.c: (main):
12668 * testsuite/caps/audioscale.c: (test_caps):
12669 * testsuite/caps/caps.c: (test1), (test2), (test3):
12670 * testsuite/caps/deserialize.c: (main):
12671 * testsuite/caps/enumcaps.c: (main):
12672 * testsuite/caps/filtercaps.c: (main):
12673 * testsuite/caps/intersect2.c: (main):
12674 * testsuite/caps/random.c: (main):
12675 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12676 * testsuite/caps/sets.c: (check_caps):
12677 * testsuite/caps/simplify.c: (check_caps), (main):
12678 * testsuite/caps/subtract.c: (check_caps):
12679 Fix _pad_get_direction wrt ghostpads.
12680 Fix caps testsuite.
12682 2005-03-09 Wim Taymans <wim@fluendo.com>
12684 * check/Makefile.am:
12685 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12686 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12687 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12688 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12689 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12690 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12691 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12692 (bin_element_is_sink), (gst_bin_iterate_sinks),
12693 (gst_bin_iterate_all_by_interface):
12695 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12696 (gst_element_change_state), (gst_element_dispose),
12697 (gst_element_finalize), (gst_element_set_loop_function):
12698 * gst/gstelement.h:
12699 * gst/gstiterator.c: (find_custom_fold_func):
12700 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12701 (gst_pad_collectv), (gst_pad_collect_valist),
12702 (gst_pad_template_new):
12703 * gst/gstpipeline.c: (gst_pipeline_class_init),
12704 (gst_pipeline_dispose), (gst_pipeline_set_property),
12705 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12706 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12707 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12709 * gst/schedulers/entryscheduler.c:
12710 * gst/schedulers/gstbasicscheduler.c:
12711 (gst_basic_scheduler_cothreaded_chain),
12712 (gst_basic_scheduler_chain_add_element):
12713 * testsuite/bins/interface.c: (main):
12715 Added GstSystemClock test.
12716 Implemented clock distribution code in GstBin.
12717 Implemented iterate sinks method for future use.
12718 Rearranged gstelement.h
12719 Fix GstIterator comparison bug.
12720 Moved some code to GstPipeline, mostly clocking related.
12722 2005-03-09 Wim Taymans <wim@fluendo.com>
12725 * gst/gst_private.h:
12726 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12727 (gst_bin_remove_func), (gst_bin_remove),
12728 (gst_bin_get_by_name_recurse_up):
12729 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12730 (gst_clock_id_compare_func), (gst_clock_id_wait),
12731 (gst_clock_id_wait_async), (gst_clock_init),
12732 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12733 * gst/gstelement.h:
12734 * gst/gstinfo.c: (_gst_debug_init):
12736 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12737 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12739 Bump version number, we're now 0.9.0
12740 Add future debugging category.
12741 Fix NULL _unref() in _get_by_name_recurse_up
12742 Rearrange gstpad.h.
12745 2005-03-08 Wim Taymans <wim@fluendo.com>
12747 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12748 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12749 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12750 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12751 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12752 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12753 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12754 * gst/elements/gstidentity.c: (gst_identity_class_init):
12755 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12756 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12757 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12758 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12759 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12761 * gst/gstelement.c: (gst_element_class_init),
12762 (gst_element_base_class_init), (gst_element_init),
12763 (gst_element_get_random_pad), (gst_element_wait_state_change),
12764 (gst_element_change_state), (gst_element_dispose),
12765 (gst_element_finalize), (gst_element_set_loop_function):
12766 * gst/gstelement.h:
12767 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12768 * gst/gstthread.c: (gst_thread_class_init),
12769 (gst_thread_release_children_locks), (gst_thread_change_state):
12770 * gst/schedulers/gstbasicscheduler.c:
12771 (gst_basic_scheduler_loopfunc_wrapper),
12772 (gst_basic_scheduler_chain_wrapper),
12773 (gst_basic_scheduler_src_wrapper),
12774 (gst_basic_scheduler_remove_element):
12775 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12776 Remove threadsafe properties. Fix elements because GObject
12777 complains when installing a property before declaring a
12778 set/get_property handler.
12779 Rearrange gstelement.h file, use STATE macros for state locks.
12780 Free mutexes in the finalize method instead of dispose.
12782 2005-03-08 Wim Taymans <wim@fluendo.com>
12784 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12785 * gst/gstthread.c: (gst_thread_release_children_locks):
12786 Added parentage check.
12787 Fix build og GstThread again.
12789 2005-03-08 Wim Taymans <wim@fluendo.com>
12791 * docs/design/part-MT-refcounting.txt:
12792 * docs/design/part-conventions.txt:
12793 * docs/design/part-gstobject.txt:
12794 * docs/design/part-relations.txt:
12795 * docs/design/part-standards.txt:
12796 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12797 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12798 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12799 (gst_bin_iterate_all_by_interface):
12802 * gst/gstelement.c: (gst_element_class_init),
12803 (gst_element_change_state), (gst_element_set_loop_function):
12804 * gst/gstelement.h:
12805 * gst/gstiterator.c:
12806 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12807 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12808 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12809 (gst_object_set_parent), (gst_object_unparent),
12810 (gst_object_check_uniqueness):
12812 Docs updates, clean up some headers.
12814 2005-03-07 Wim Taymans <wim@fluendo.com>
12816 * check/.cvsignore:
12817 * check/Makefile.am:
12818 * check/gst-libs/.cvsignore:
12819 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12820 * check/gst/.cvsignore:
12821 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12822 (START_TEST), (gstbus_suite), (main):
12823 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12824 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12825 (gst_data_suite), (main):
12826 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12827 (add_fold_func), (gstiterator_suite), (main):
12828 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12829 (thread_name_object), (thread_name_object_default),
12830 (gst_object_name_compare), (gst_object_suite), (main):
12831 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12832 (gst_pad_suite), (main):
12833 * check/gstcheck.c: (gst_check_log_message_func),
12834 (gst_check_log_critical_func), (gst_check_init):
12835 * check/gstcheck.h:
12836 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12837 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12840 2005-03-07 Wim Taymans <wim@fluendo.com>
12842 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12843 (gst_list_iterator_next), (gst_list_iterator_resync),
12844 (gst_list_iterator_free), (gst_iterator_new_list),
12845 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12846 (gst_iterator_free), (gst_iterator_push), (filter_next),
12847 (filter_resync), (filter_uninit), (filter_free),
12848 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12849 (gst_iterator_foreach), (find_custom_fold_func),
12850 (gst_iterator_find_custom):
12851 * gst/gstiterator.h:
12852 Added missing files.
12854 2005-03-07 Wim Taymans <wim@fluendo.com>
12858 * docs/design/part-MT-refcounting.txt:
12859 * docs/design/part-conventions.txt:
12860 * docs/design/part-gstobject.txt:
12861 * docs/design/part-relations.txt:
12862 * examples/mixer/mixer.c: (main):
12863 * examples/thread/thread.c: (eos), (main):
12865 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12866 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12867 (gst_spider_plug_from_srcpad):
12868 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12869 (gst_spider_identity_change_state),
12870 (gst_spider_identity_sink_loop_type_finding):
12871 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12872 * gst/elements/gstidentity.c: (gst_identity_init):
12873 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12874 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12875 * gst/elements/gsttypefindelement.c: (free_entry):
12878 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12879 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12880 (gst_bin_set_index), (gst_bin_set_element_sched),
12881 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12882 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12883 (gst_bin_iterate_elements), (iterate_child_recurse),
12884 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12885 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12886 (compare_interface), (gst_bin_get_by_interface),
12887 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12889 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12890 (gst_buffer_default_free), (gst_buffer_default_copy),
12891 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12892 (gst_buffer_create_sub):
12894 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12895 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12896 (gst_caps_unref), (gst_static_caps_get),
12897 (gst_caps_remove_and_get_structure), (gst_caps_append),
12898 (gst_caps_append_structure), (gst_caps_remove_structure),
12899 (gst_caps_copy_nth), (gst_caps_set_simple),
12900 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12901 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12902 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12903 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12904 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12905 (gst_caps_structure_figure_out_union),
12906 (gst_caps_switch_structures), (gst_caps_do_simplify),
12907 (gst_caps_replace), (gst_caps_from_string),
12908 (gst_caps_copy_conditional):
12910 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12911 (_gst_clock_id_free), (gst_clock_id_unref),
12912 (gst_clock_id_compare_func), (gst_clock_id_wait),
12913 (gst_clock_id_wait_async), (gst_clock_class_init),
12914 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12915 (gst_clock_get_time), (gst_clock_set_time_adjust),
12916 (gst_clock_set_property), (gst_clock_get_property):
12919 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12920 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12922 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12923 (gst_element_requires_clock), (gst_element_provides_clock),
12924 (gst_element_set_clock), (gst_element_clock_wait),
12925 (gst_element_wait), (gst_element_set_time_delay),
12926 (gst_element_is_indexable), (gst_element_add_pad),
12927 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12928 (pad_compare_name), (gst_element_get_static_pad),
12929 (gst_element_request_pad), (gst_element_get_request_pad),
12930 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12931 (gst_element_class_get_pad_template_list),
12932 (gst_element_class_get_pad_template), (gst_element_error_func),
12933 (gst_element_get_random_pad), (gst_element_get_event_masks),
12934 (gst_element_send_event), (gst_element_seek),
12935 (gst_element_get_query_types), (gst_element_query),
12936 (gst_element_get_formats), (gst_element_convert),
12937 (gst_element_is_locked_state), (gst_element_set_locked_state),
12938 (gst_element_sync_state_with_parent), (gst_element_change_state),
12939 (gst_element_finalize), (gst_element_yield),
12940 (gst_element_interrupt), (gst_element_set_scheduler),
12941 (gst_element_get_scheduler), (gst_element_set_loop_function):
12942 * gst/gstelement.h:
12944 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12945 (gst_format_get_by_nick), (gst_format_get_details),
12946 (gst_format_iterate_definitions):
12948 * gst/gstindex.c: (gst_index_gtype_resolver):
12951 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12952 (gst_mem_chunk_free):
12953 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12954 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12955 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12956 (gst_object_dispatch_properties_changed),
12957 (gst_object_set_name_default), (gst_object_set_name),
12958 (gst_object_get_name), (gst_object_set_name_prefix),
12959 (gst_object_get_name_prefix), (gst_object_set_parent),
12960 (gst_object_get_parent), (gst_object_unparent),
12961 (gst_object_check_uniqueness), (gst_object_save_thyself),
12962 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12963 (gst_object_set_property), (gst_object_get_property),
12964 (gst_object_get_path_string):
12966 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12967 (gst_real_pad_init), (gst_real_pad_get_property),
12968 (gst_pad_custom_new), (gst_pad_get_direction),
12969 (gst_pad_set_active), (gst_pad_is_active),
12970 (gst_pad_set_event_function), (gst_pad_is_linked),
12971 (gst_pad_link_free), (gst_pad_link_intersect),
12972 (gst_pad_link_fixate), (gst_pad_set_caps),
12973 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12974 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12975 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12976 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12977 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12978 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12979 (gst_pad_realize), (gst_pad_get_allowed_caps),
12980 (gst_real_pad_dispose), (gst_real_pad_finalize),
12981 (gst_pad_collectv), (gst_pad_collect_valist),
12982 (gst_pad_template_dispose), (gst_pad_template_new),
12983 (gst_pad_get_internal_links):
12985 * gst/gstpipeline.c: (gst_pipeline_dispose),
12986 (gst_pipeline_change_state):
12987 * gst/gstpipeline.h:
12989 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12990 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12991 * gst/gstpluginfeature.h:
12992 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12993 * gst/gstquery.c: (_gst_query_type_initialize),
12994 (gst_query_type_register), (gst_query_type_get_by_nick),
12995 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12997 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12998 * gst/gstscheduler.c: (gst_scheduler_add_element),
12999 (gst_scheduler_factory_create):
13000 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13001 (gst_structure_free), (gst_structure_set_name),
13002 (gst_structure_id_set_value), (gst_structure_set_value),
13003 (gst_structure_set_valist), (gst_structure_remove_field),
13004 (gst_structure_remove_fields),
13005 (gst_structure_remove_fields_valist),
13006 (gst_structure_remove_all_fields), (gst_structure_foreach),
13007 (gst_structure_map_in_place),
13008 (gst_caps_structure_fixate_field_nearest_int),
13009 (gst_caps_structure_fixate_field_nearest_double):
13010 * gst/gststructure.h:
13011 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13012 (gst_system_clock_init), (gst_system_clock_dispose),
13013 (gst_system_clock_async_thread),
13014 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13015 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13016 * gst/gstsystemclock.h:
13017 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13018 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13019 * gst/gsttaginterface.c:
13020 * gst/gstthread.c: (gst_thread_dispose),
13021 (gst_thread_release_children_locks), (gst_thread_change_state),
13022 (gst_thread_main_loop):
13023 * gst/gsttrashstack.h:
13024 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13026 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13027 (gst_element_request_pad), (gst_element_get_pad_from_template),
13028 (gst_element_request_compatible_pad),
13029 (gst_element_get_compatible_pad_filtered),
13030 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13031 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13032 (gst_element_link_many), (gst_element_link),
13033 (gst_element_link_pads), (gst_element_unlink_pads),
13034 (gst_element_unlink_many), (gst_element_unlink),
13035 (gst_pad_can_link_filtered), (gst_pad_can_link),
13036 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13037 (gst_object_default_error), (gst_bin_add_many),
13038 (gst_bin_remove_many), (gst_element_populate_std_props),
13039 (gst_element_class_install_std_props), (gst_buffer_merge),
13040 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13041 (link_fold_func), (gst_pad_proxy_setcaps):
13043 * gst/gstvalue.c: (gst_value_deserialize_string):
13044 * gst/parse/grammar.y:
13045 * gst/schedulers/gstbasicscheduler.c:
13046 (gst_basic_scheduler_cothreaded_chain),
13047 (gst_basic_scheduler_chain_recursive_add),
13048 (gst_basic_scheduler_pad_link):
13049 * gst/schedulers/gstoptimalscheduler.c:
13050 (get_group_schedule_function),
13051 (gst_opt_scheduler_state_transition),
13052 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13053 * libs/gst/bytestream/bytestream.c:
13054 * libs/gst/dataprotocol/dataprotocol.c:
13055 (gst_dp_header_from_buffer):
13058 * tests/threadstate/threadstate2.c: (eos):
13059 * tools/gst-compprep.c: (main):
13060 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13061 (print_pad_info), (print_children_info):
13062 * tools/gst-launch.c: (idle_func), (main):
13063 * tools/gst-md5sum.c: (idle_func), (main):
13064 * tools/gst-xmlinspect.c: (print_element_info):
13065 First THREADED backport attempt, focusing on adding locks and
13066 making sure the API is threadsafe. Needs more work. More docs
13069 2005-02-24 Andy Wingo <wingo@pobox.com>
13071 * tests/bench-complexity.scm:
13072 * tests/complexity.gnuplot: New files, good for running complexity
13075 * tests/Makefile.am:
13076 * tests/complexity.c: New test, sets up N elements, at each level
13077 teeing into M streams per element. Eeeenteresting.
13079 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13080 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13081 running bench-mass_elements.scm.
13083 * tests/bench-mass_elements.scm: New script, runs mass_elements
13084 for various numbers of identities, outputting the results to a
13085 file. Requires guile 1.6. Just for testing.
13087 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13089 * gst/schedulers/fairscheduler.c:
13090 compile with debug disabled
13092 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13095 hunting season on 0.9 is now OPEN