1 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5 Added Bulgarian translation by (Alexander Shopov)
7 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9 * tests/check/gst/gstplugin.c:
12 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14 * common/gst-xmlinspect.py:
15 * common/gtk-doc-plugins.mak:
18 * docs/gst/Makefile.am:
19 * docs/gst/gstreamer-docs.sgml:
20 * docs/gst/gstreamer-sections.txt:
21 * docs/gst/gstreamer.types:
22 * docs/gst/gstreamer.types.in:
23 * docs/plugins/Makefile.am:
24 * docs/plugins/gstreamer-plugins-docs.sgml:
25 * docs/plugins/gstreamer-plugins-sections.txt:
26 * docs/plugins/gstreamer-plugins.types:
27 * docs/plugins/inspect.stamp:
28 * docs/plugins/inspect/plugin-coreelements.xml:
29 * docs/plugins/inspect/plugin-coreindexers.xml:
30 * docs/plugins/scanobj-build.stamp:
32 * plugins/elements/Makefile.am:
33 * plugins/elements/gstelements.c:
34 * plugins/elements/gstfakesink.c:
35 * plugins/elements/gstfakesrc.c:
36 * plugins/elements/gstfilesink.c:
37 * plugins/elements/gstfilesrc.c:
38 * plugins/elements/gstqueue.c:
39 * plugins/indexers/Makefile.am:
40 * plugins/indexers/gstindexers.c:
41 document core plugins in a separate document just like all the
43 rename these plugins to something starting with core
45 2005-12-01 Andy Wingo <wingo@pobox.com>
47 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
48 padding here before, but it missed the commit.
50 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
52 * libs/gst/controller/gstinterpolation.c:
53 whitespace prices have crashed, we should feel free to use some now
54 use gst_guint64_to_gdouble
56 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
58 * libs/gst/controller/gstcontroller.c:
59 * libs/gst/controller/gsthelper.c:
60 * libs/gst/controller/gstinterpolation.c:
61 * libs/gst/controller/lib.c:
64 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
66 * docs/gst/gstreamer-sections.txt:
69 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
71 * plugins/elements/gstelements.c:
72 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
73 (gst_fd_sink__class_init), (gst_fd_sink__init),
74 (gst_fd_sink__chain), (gst_fd_sink__set_property),
75 (gst_fd_sink__get_property):
76 * plugins/elements/gstfdsink.h:
77 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
78 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
79 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
80 (gst_fd_src_unlock), (gst_fd_src_set_property),
81 (gst_fd_src_get_property), (gst_fd_src_create),
82 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
83 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
84 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
85 (gst_fd_src_uri_handler_init):
86 * plugins/elements/gstfdsrc.h:
87 * plugins/elements/gstqueue.c: (gst_queue_get_type):
90 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
92 * docs/gst/Makefile.am:
93 * docs/gst/gstreamer.types.in:
97 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
104 * tests/benchmarks/complexity.c:
105 * tests/benchmarks/mass-elements.c:
106 * tests/check/Makefile.am:
108 * tools/gst-inspect.c:
109 * tools/gst-xmlinspect.c:
110 various fixes to make
111 --disable-nls --disable-registry --disable-loadsave
112 --disable-parse --disable-gst-debug
113 work and get the core .so down to 360444 bytes after stripping
115 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
120 * docs/random/thomasvs/TODO:
125 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
127 * win32/GStreamer.vcproj:
130 * win32/Makefile.inspect:
131 * win32/Makefile.launch:
132 * win32/Makefile.register:
134 * win32/gst-inspect.vcproj:
135 * win32/gst-launch.vcproj:
136 * win32/gst-register.vcproj:
137 * win32/gstelements.vcproj:
138 * win32/gstgetbits.def:
139 * win32/gstgetbits.vcproj:
140 * win32/gstreamer-dbg.def:
141 * win32/gstreamer.def:
142 * win32/libgstbase.def:
143 * win32/libgstbase.vcproj:
144 * win32/link_oldruntime.c:
149 move even more stuff, win32/ is nice and clean now
151 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
153 * libs/gst/control/.cvsignore:
158 * win32/gstbytestream.def:
159 * win32/gstbytestream.vcproj:
161 * win32/gstenumtypes.c:
162 * win32/gstenumtypes.h:
163 * win32/gstoptimalscheduler.vcproj:
164 * win32/gstversion.h:
166 * win32/testsuite/bins.vcproj:
167 * win32/testsuite/bytestream.vcproj:
168 * win32/testsuite/caps.vcproj:
169 * win32/testsuite/cleanup.vcproj:
170 * win32/testsuite/clock.vcproj:
171 * win32/testsuite/debug.vcproj:
172 * win32/testsuite/dlopen.vcproj:
173 * win32/testsuite/dynparams.vcproj:
174 * win32/testsuite/elements.vcproj:
175 * win32/testsuite/ghostpads.vcproj:
176 * win32/testsuite/indexers.vcproj:
177 * win32/testsuite/negotiation.vcproj:
178 * win32/testsuite/parse.vcproj:
179 * win32/testsuite/plugin.vcproj:
180 * win32/testsuite/refcounting.vcproj:
181 * win32/testsuite/schedulers.vcproj:
182 * win32/testsuite/states.vcproj:
183 * win32/testsuite/tags.vcproj:
184 * win32/testsuite/threads.vcproj:
185 remove old win32 stuff that isn't maintained and should be
188 2005-11-30 Andy Wingo <wingo@pobox.com>
190 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
191 loading the gst.interfaces python module bork.
193 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
194 available since GLib 2.2. Fixes #318031.
196 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
201 * check/elements/.cvsignore:
202 * check/elements/fakesrc.c:
203 * check/elements/fdsrc.c:
204 * check/elements/identity.c:
205 * check/generic/.cvsignore:
206 * check/generic/states.c:
207 * check/gst-libs/.cvsignore:
208 * check/gst-libs/controller.c:
209 * check/gst-libs/gdp.c:
210 * check/gst/.cvsignore:
211 * check/gst/capslist.h:
213 * check/gst/gstbin.c:
214 * check/gst/gstbuffer.c:
215 * check/gst/gstbus.c:
216 * check/gst/gstcaps.c:
217 * check/gst/gstelement.c:
218 * check/gst/gstevent.c:
219 * check/gst/gstghostpad.c:
220 * check/gst/gstiterator.c:
221 * check/gst/gstmessage.c:
222 * check/gst/gstminiobject.c:
223 * check/gst/gstobject.c:
224 * check/gst/gstpad.c:
225 * check/gst/gstpipeline.c:
226 * check/gst/gstplugin.c:
227 * check/gst/gstsegment.c:
228 * check/gst/gststructure.c:
229 * check/gst/gstsystemclock.c:
230 * check/gst/gsttag.c:
231 * check/gst/gstutils.c:
232 * check/gst/gstvalue.c:
233 * check/net/.cvsignore:
234 * check/net/gstnetclientclock.c:
235 * check/net/gstnettimeprovider.c:
236 * check/pipelines/.cvsignore:
237 * check/pipelines/cleanup.c:
238 * check/pipelines/simple_launch_lines.c:
239 * check/pipelines/stress.c:
240 * check/states/.cvsignore:
241 * check/states/sinks.c:
243 * examples/Makefile.am:
244 * examples/appreader/.cvsignore:
245 * examples/appreader/Makefile.am:
246 * examples/appreader/appreader.c:
247 * examples/controller/.cvsignore:
248 * examples/controller/Makefile.am:
249 * examples/controller/audio-example.c:
250 * examples/cutter/.cvsignore:
251 * examples/cutter/Makefile.am:
252 * examples/cutter/cutter.c:
253 * examples/cutter/cutter.h:
254 * examples/events/Makefile.am:
255 * examples/events/seek.c:
256 * examples/helloworld/.cvsignore:
257 * examples/helloworld/Makefile.am:
258 * examples/helloworld/helloworld.c:
259 * examples/helloworld2/.cvsignore:
260 * examples/helloworld2/Makefile.am:
261 * examples/helloworld2/helloworld2.c:
262 * examples/launch/.cvsignore:
263 * examples/launch/Makefile.am:
264 * examples/launch/mp3parselaunch.c:
265 * examples/launch/mp3play:
266 * examples/manual/.cvsignore:
267 * examples/manual/Makefile.am:
268 * examples/manual/extract.pl:
269 * examples/metadata/Makefile.am:
270 * examples/metadata/read-metadata.c:
271 * examples/mixer/.cvsignore:
272 * examples/mixer/Makefile.am:
273 * examples/mixer/mixer.c:
274 * examples/mixer/mixer.h:
275 * examples/pingpong/.cvsignore:
276 * examples/pingpong/Makefile.am:
277 * examples/pingpong/pingpong.c:
278 * examples/plugins/.cvsignore:
279 * examples/plugins/Makefile.am:
280 * examples/plugins/example.c:
281 * examples/plugins/example.h:
282 * examples/pwg/.cvsignore:
283 * examples/pwg/Makefile.am:
284 * examples/pwg/extract.pl:
285 * examples/queue/.cvsignore:
286 * examples/queue/Makefile.am:
287 * examples/queue/queue.c:
288 * examples/queue2/.cvsignore:
289 * examples/queue2/Makefile.am:
290 * examples/queue2/queue2.c:
291 * examples/queue3/.cvsignore:
292 * examples/queue3/Makefile.am:
293 * examples/queue3/queue3.c:
294 * examples/queue4/.cvsignore:
295 * examples/queue4/Makefile.am:
296 * examples/queue4/queue4.c:
297 * examples/retag/.cvsignore:
298 * examples/retag/Makefile.am:
299 * examples/retag/retag.c:
300 * examples/retag/transcode.c:
301 * examples/thread/.cvsignore:
302 * examples/thread/Makefile.am:
303 * examples/thread/thread.c:
304 * examples/typefind/.cvsignore:
305 * examples/typefind/Makefile.am:
306 * examples/typefind/typefind.c:
307 * examples/xml/.cvsignore:
308 * examples/xml/Makefile.am:
309 * examples/xml/createxml.c:
310 * examples/xml/runxml.c:
312 * tests/check/Makefile.am:
313 * testsuite/.cvsignore:
314 * testsuite/Makefile.am:
316 * testsuite/caps/.cvsignore:
317 * testsuite/caps/Makefile.am:
318 * testsuite/caps/app_fixate.c:
319 * testsuite/caps/audioscale.c:
320 * testsuite/caps/caps.c:
321 * testsuite/caps/caps.h:
322 * testsuite/caps/caps_strings:
323 * testsuite/caps/compatibility.c:
324 * testsuite/caps/deserialize.c:
325 * testsuite/caps/enumcaps.c:
326 * testsuite/caps/eratosthenes.c:
327 * testsuite/caps/filtercaps.c:
328 * testsuite/caps/fixed.c:
329 * testsuite/caps/fraction-convert.c:
330 * testsuite/caps/fraction-multiply-and-zero.c:
331 * testsuite/caps/intersect2.c:
332 * testsuite/caps/intersection.c:
333 * testsuite/caps/normalisation.c:
334 * testsuite/caps/random.c:
335 * testsuite/caps/renegotiate.c:
336 * testsuite/caps/sets.c:
337 * testsuite/caps/simplify.c:
338 * testsuite/caps/string-conversions.c:
339 * testsuite/caps/structure.c:
340 * testsuite/caps/subtract.c:
341 * testsuite/caps/union.c:
342 * testsuite/debug/.cvsignore:
343 * testsuite/debug/Makefile.am:
344 * testsuite/debug/category.c:
345 * testsuite/debug/commandline.c:
346 * testsuite/debug/global.c:
347 * testsuite/debug/output.c:
348 * testsuite/debug/printf_extension.c:
349 * testsuite/dlopen/.cvsignore:
350 * testsuite/dlopen/Makefile.am:
351 * testsuite/dlopen/dlopen_gst.c:
352 * testsuite/dlopen/loadgst.c:
353 * testsuite/elements/.cvsignore:
354 * testsuite/elements/Makefile.am:
355 * testsuite/elements/gst-inspect-check.in:
356 * testsuite/elements/struct_i386.h:
357 * testsuite/elements/struct_size.c:
358 * testsuite/indexers/.cvsignore:
359 * testsuite/indexers/Makefile.am:
360 * testsuite/indexers/cache1.c:
361 * testsuite/indexers/indexdump.c:
362 * testsuite/parse/.cvsignore:
363 * testsuite/parse/Makefile.am:
364 * testsuite/parse/parse1.c:
365 * testsuite/parse/parse2.c:
366 * testsuite/plugin/.cvsignore:
367 * testsuite/plugin/Makefile.am:
368 * testsuite/plugin/README:
369 * testsuite/plugin/dynamic.c:
370 * testsuite/plugin/linked.c:
371 * testsuite/plugin/loading.c:
372 * testsuite/plugin/registry.c:
373 * testsuite/plugin/static.c:
374 * testsuite/plugin/static2.c:
375 * testsuite/plugin/testplugin.c:
376 * testsuite/plugin/testplugin2.c:
377 * testsuite/plugin/testplugin2_s.c:
378 * testsuite/plugin/testplugin_s.c:
379 * testsuite/refcounting/.cvsignore:
380 * testsuite/refcounting/Makefile.am:
381 * testsuite/refcounting/bin.c:
382 * testsuite/refcounting/element.c:
383 * testsuite/refcounting/element_pad.c:
384 * testsuite/refcounting/mainloop.c:
385 * testsuite/refcounting/mem.c:
386 * testsuite/refcounting/mem.h:
387 * testsuite/refcounting/object.c:
388 * testsuite/refcounting/pad.c:
389 * testsuite/refcounting/sched.c:
390 * testsuite/refcounting/thread.c:
391 * testsuite/states/.cvsignore:
392 * testsuite/states/Makefile.am:
393 * testsuite/states/bin.c:
394 * testsuite/states/locked.c:
395 * testsuite/states/parent.c:
396 * testsuite/threads/.cvsignore:
397 * testsuite/threads/159566.c:
398 * testsuite/threads/159852.c:
399 * testsuite/threads/Makefile.am:
400 * testsuite/threads/queue.c:
401 * testsuite/threads/signals.c:
402 * testsuite/threads/staticrec.c:
403 * testsuite/threads/thread.c:
404 * testsuite/threads/threadb.c:
405 * testsuite/threads/threadc.c:
406 * testsuite/threads/threadd.c:
407 * testsuite/threads/threade.c:
408 * testsuite/threads/threadf.c:
409 * testsuite/threads/threadg.c:
410 * testsuite/threads/threadh.c:
411 * testsuite/threads/threadi.c:
412 move all of these under tests
414 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
420 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
422 * docs/gst/gstreamer-sections.txt:
423 * tests/sched/.cvsignore:
424 * tests/sched/Makefile.am:
425 * tests/sched/cases/(fs-fs).xml:
426 * tests/sched/cases/(fs-i-fs).xml:
427 * tests/sched/cases/(fs-i-i-fs).xml:
428 * tests/sched/cases/(fs-i-q[i-fs]).xml:
429 * tests/sched/dynamic-pipeline.c:
430 * tests/sched/interrupt1.c:
431 * tests/sched/interrupt2.c:
432 * tests/sched/interrupt3.c:
433 * tests/sched/runtestcases:
434 * tests/sched/runxml.c:
435 * tests/sched/sched-stress.c:
436 * tests/sched/sort.c:
437 * tests/sched/testcases:
438 * tests/sched/testcases1.tc:
439 * tests/seeking/.cvsignore:
440 * tests/seeking/Makefile.am:
441 * tests/seeking/seeking1.c:
442 * tests/threadstate/.cvsignore:
443 * tests/threadstate/Makefile.am:
444 * tests/threadstate/test1.c:
445 * tests/threadstate/test2.c:
446 * tests/threadstate/threadstate1.c:
447 * tests/threadstate/threadstate2.c:
448 * tests/threadstate/threadstate3.c:
449 * tests/threadstate/threadstate4.c:
450 * tests/threadstate/threadstate5.c:
451 remove obsolete tests
453 * tests/bench-complexity.scm:
454 * tests/bench-mass_elements.scm:
455 * tests/complexity.c:
456 * tests/complexity.gnuplot:
457 * tests/instantiate/.cvsignore:
458 * tests/instantiate/Makefile.am:
459 * tests/instantiate/caps.c:
460 * tests/mass_elements.c:
461 * tests/network-clock-utils.scm:
462 * tests/network-clock.scm:
464 First pass at cleaning up tests/ dir before moving the rest
465 Combined with CVS surgery
467 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
470 queue has moved, update
472 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
474 * docs/gst/gstreamer-sections.txt:
475 remove double entries from the docs
477 * gst/gstinfo.c: (_gst_debug_init):
478 remove the THREAD debug category
482 * docs/gst/gstreamer.types:
483 * plugins/elements/gstqueue.c: (gst_queue_get_type),
484 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
485 completely move queue and fix up debugging categories
487 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
489 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
490 make initialization portable, using LL is not
492 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
494 * win32/common/gstconfig.h:
497 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
499 * win32/common/libgstreamer.def:
500 rename symbols; sort base section
502 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
504 * gst/gstclock.c: (do_linear_regression):
505 remove crack non-portable handrolled DEBUG macro
507 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
509 * docs/random/release:
511 * win32/common/gstenumtypes.c: (register_gst_object_flags),
512 (gst_object_flags_get_type), (register_gst_bin_flags),
513 (gst_bin_flags_get_type), (register_gst_buffer_flag),
514 (gst_buffer_flag_get_type), (register_gst_bus_flags),
515 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
516 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
517 (gst_caps_flags_get_type), (register_gst_clock_return),
518 (gst_clock_return_get_type), (register_gst_clock_entry_type),
519 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
520 (gst_clock_flags_get_type), (register_gst_state),
521 (gst_state_get_type), (register_gst_state_change_return),
522 (gst_state_change_return_get_type), (register_gst_state_change),
523 (gst_state_change_get_type), (register_gst_element_flags),
524 (gst_element_flags_get_type), (register_gst_core_error),
525 (gst_core_error_get_type), (register_gst_library_error),
526 (gst_library_error_get_type), (register_gst_resource_error),
527 (gst_resource_error_get_type), (register_gst_stream_error),
528 (gst_stream_error_get_type), (register_gst_event_type_flags),
529 (gst_event_type_flags_get_type), (register_gst_event_type),
530 (gst_event_type_get_type), (register_gst_seek_type),
531 (gst_seek_type_get_type), (register_gst_seek_flags),
532 (gst_seek_flags_get_type), (register_gst_format),
533 (gst_format_get_type), (register_gst_index_certainty),
534 (gst_index_certainty_get_type), (register_gst_index_entry_type),
535 (gst_index_entry_type_get_type),
536 (register_gst_index_lookup_method),
537 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
538 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
539 (gst_index_resolver_method_get_type), (register_gst_index_flags),
540 (gst_index_flags_get_type), (register_gst_debug_level),
541 (gst_debug_level_get_type), (register_gst_debug_color_flags),
542 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
543 (gst_iterator_result_get_type), (register_gst_iterator_item),
544 (gst_iterator_item_get_type), (register_gst_message_type),
545 (gst_message_type_get_type), (register_gst_mini_object_flags),
546 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
547 (gst_pad_link_return_get_type), (register_gst_flow_return),
548 (gst_flow_return_get_type), (register_gst_activate_mode),
549 (gst_activate_mode_get_type), (register_gst_pad_direction),
550 (gst_pad_direction_get_type), (register_gst_pad_flags),
551 (gst_pad_flags_get_type), (register_gst_pad_presence),
552 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
553 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
554 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
555 (gst_plugin_error_get_type), (register_gst_plugin_flags),
556 (gst_plugin_flags_get_type), (register_gst_rank),
557 (gst_rank_get_type), (register_gst_query_type),
558 (gst_query_type_get_type), (register_gst_tag_merge_mode),
559 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
560 (gst_tag_flag_get_type), (register_gst_task_state),
561 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
562 (gst_alloc_trace_flags_get_type),
563 (register_gst_type_find_probability),
564 (gst_type_find_probability_get_type), (register_gst_uri_type),
565 (gst_uri_type_get_type), (register_gst_parse_error),
566 (gst_parse_error_get_type):
567 * win32/common/gstenumtypes.h:
568 * win32/common/gstversion.h:
569 update visual studio generated files
571 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
573 * win32/vs6/libgstbase.dsp:
574 * win32/vs6/libgstelements.dsp:
575 update project files for new locations
577 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
587 * docs/random/LICENSE:
590 2005-11-30 Edward Hervey <edward@fluendo.com>
592 * gst/gsttypefind.c: (gst_type_find_register):
594 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
595 (gst_type_find_factory_dispose):
596 * gst/gsttypefindfactory.h:
597 Fix memory leak in GstTypeFindFactory.
599 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
602 * plugins/elements/Makefile.am:
603 * plugins/elements/gstelements.c:
604 * plugins/elements/gstqueue.c:
605 move queue from core to the elements plugin
607 2005-11-29 Andy Wingo <wingo@pobox.com>
609 * libs/gst/base/gstbasetransform.h:
610 * libs/gst/base/gstbasesrc.h:
611 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
613 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
614 of pointers by which to pad very extensible base classes (like the
615 ones in libs/gst/base).
617 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
619 * docs/gst/gstreamer-docs.sgml:
620 * docs/gst/gstreamer-sections.txt:
621 * docs/libs/gstreamer-libs-docs.sgml:
622 * docs/libs/gstreamer-libs-sections.txt:
623 moving documentation from core to lib
625 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
629 * docs/gst/Makefile.am:
631 * gst/base/.cvsignore:
632 * gst/base/Makefile.am:
634 * gst/base/gstadapter.c:
635 * gst/base/gstadapter.h:
636 * gst/base/gstbasesink.c:
637 * gst/base/gstbasesink.h:
638 * gst/base/gstbasesrc.c:
639 * gst/base/gstbasesrc.h:
640 * gst/base/gstbasetransform.c:
641 * gst/base/gstbasetransform.h:
642 * gst/base/gstcollectpads.c:
643 * gst/base/gstcollectpads.h:
644 * gst/base/gstpushsrc.c:
645 * gst/base/gstpushsrc.h:
646 * gst/base/gsttypefindhelper.c:
647 * gst/base/gsttypefindhelper.h:
648 * gst/check/Makefile.am:
649 * gst/check/gstcheck.c:
650 * gst/check/gstcheck.h:
651 * gst/net/Makefile.am:
653 * gst/net/gstnetclientclock.c:
654 * gst/net/gstnetclientclock.h:
655 * gst/net/gstnettimepacket.c:
656 * gst/net/gstnettimepacket.h:
657 * gst/net/gstnettimeprovider.c:
658 * gst/net/gstnettimeprovider.h:
659 * libs/gst/Makefile.am:
660 * libs/gst/base/Makefile.am:
661 * libs/gst/base/gstbasetransform.c:
662 * libs/gst/check/Makefile.am:
663 * plugins/elements/Makefile.am:
665 CVS surgery + support to move base, check, and net out of gst
668 2005-11-29 Andy Wingo <wingo@pobox.com>
670 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
672 * gst/gststructure.h (struct _GstStructure): Only one pointer of
675 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
677 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
679 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
681 * gst/gstobject.h: (struct _GstObject): Only one pointer of
682 padding; reduces object size by about 30%. We don't expect
683 anything else to go into gstobject.
685 * gst/gstminiobject.h (struct _GstMiniObject)
686 (struct _GstMiniObjectClass): Only one pointer of padding; the
687 payload is only a pointer and two ints anyway. For the class there
688 are only two methods as well.
690 * gst/gstelement.h (struct _GstElementClass): Removed
691 the state_changed signal callback, it is not used.
693 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
695 * docs/gst/gstreamer.types:
696 fix includes, though they are a little dinky
698 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
701 look in the right place for elements, a lot more chance of
704 remove indexers and elements subdirs
705 * plugins/Makefile.am:
706 make indexers conditional
708 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
712 * plugins/elements/Makefile.am:
713 * plugins/elements/gstcapsfilter.c:
714 * plugins/elements/gstfilesink.c:
715 * plugins/elements/gstfilesrc.c:
716 * plugins/elements/gstidentity.c:
717 * plugins/indexers/Makefile.am:
718 do CVS surgery and related build fixery to move elements
719 and indexers in a new gstreamer/plugins directory, out of the
722 2005-11-29 Andy Wingo <wingo@pobox.com>
725 * pkgconfig/gstreamer-net-uninstalled.pc.in:
726 * pkgconfig/gstreamer-net.pc.in:
727 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
730 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
733 * tools/gst-complete.1.in:
734 * tools/gst-complete.c:
735 * tools/gst-compprep.1.in:
736 * tools/gst-compprep.c:
737 removing -compprep and -complete
739 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
741 * gst/gstevent.c: (gst_event_new_new_segment),
742 (gst_event_parse_new_segment):
744 fix #320529 - clean up new_segment API and structure.
745 Let's hope everyone was using the methods, and not the structure.
747 2005-11-29 Edward Hervey <edward@fluendo.com>
749 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
750 (gst_base_sink_event), (gst_base_sink_do_sync),
751 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
752 Properly handle non GST_FORMAT_TIME segment
753 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
754 Properly handle non GST_FORMAT_TIME segment
756 This function is valid if the accumulator is 0 and the format
757 is different from the requested format.
759 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
761 * docs/gst/gstreamer-sections.txt:
762 Add gst_query_new_seeking and gst_query_parse_seeking to the
765 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
767 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
768 Treat a pad alloc with new caps the same as if we were not
769 negotiated, in order to allow a changing upstream output
770 to produce a new format of data.
772 2005-11-29 Edward Hervey <edward@fluendo.com>
774 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
775 (gst_base_transform_event), (gst_base_transform_eventfunc):
776 The event virtual method is now properly implemented, with a default
778 Sub classes should call the parent_class event method. They should
779 return FALSE if they had a problem handling the given event, or don't
780 want GstBaseTransform to send that even downstream
781 * gst/elements/gstidentity.c: (gst_identity_class_init),
782 (gst_identity_init), (gst_identity_event),
783 (gst_identity_transform_ip), (gst_identity_set_property),
784 (gst_identity_get_property):
785 * gst/elements/gstidentity.h:
786 Added the single-segment boolean property.
787 If set to TRUE, it will output a single segment of data, starting from
788 0, will eat up all incoming newsegment, and modify the timestamp of the
791 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
793 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
794 Don't ref NULL target pad (#322751). Improve docs.
796 2005-11-29 Michael Smith <msmith@fluendo.com>
798 * gst/gstregistryxml.c: (load_plugin):
799 Don't crash if we failed to load a feature from a plugin.
801 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
803 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
805 use more check API and less GLib API
807 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
810 don't run checks if we don't have check
812 remove the registry when running make torture
813 * docs/gst/gstreamer-sections.txt:
814 remove second multiply
815 * gst/gstqueue.c: (gst_queue_loop):
816 fix a compile warning when disabling debug
818 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
821 Hey! Let's print the pad name if the pointer != NULL instead
822 of when it == NULL :-)
824 2005-11-28 Wim Taymans <wim@fluendo.com>
826 * check/gst/gstutils.c: (GST_START_TEST):
827 Updated check, add some scaling accuracy checking code.
829 * gst/gstutils.c: (gst_util_div128_64),
830 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
831 (gst_util_uint64_scale_int):
832 Fix 6 times faster division code. Optimize for common
833 1/1 and less common X/1 cases.
835 2005-11-28 Wim Taymans <wim@fluendo.com>
837 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
840 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
841 (do_linear_regression), (gst_clock_add_observation):
843 Release lock when the clock cannot be slaved.
844 Catch the case where the regression returned an invalid denominator.
846 * gst/gstutils.c: (gst_util_div128_64_iterate),
847 (gst_util_div128_64), (gst_util_uint64_scale_int64),
848 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
849 Add protentially more performant non-iterative 128/64 divide function
850 that unfortunatly does not work yet.
851 Shortcut the trivial 0/X = 0 case.
852 Remove the warnings on overflow.
854 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
856 * gst/gstplugin.c: (gst_plugin_register_func):
857 everything causing a plugin not to load should be at least a WARNING
859 2005-11-28 Stefan Kost <ensonic@users.sf.net>
861 * docs/random/ensonic/dparams.txt:
862 some TODOs for the next dev cycle
863 * libs/gst/controller/gstcontroller.c:
864 (gst_controlled_property_set_interpolation_mode),
865 (gst_controlled_property_new):
866 * libs/gst/controller/gstcontroller.h:
867 use base type to assign acccessor functions
869 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
872 Oops, that should have been top_srcdir
874 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
877 * check/elements/fdsrc.c: (GST_START_TEST):
878 Use a cmdline define to specify the location of a file to use for
879 testing, to avoid breaking distcheck.
881 2005-11-28 Andy Wingo <wingo@pobox.com>
883 * gst/gstpad.c (fixate_value): Use array functions for arrays.
885 2005-11-28 Edward Hervey <edward@fluendo.com>
887 * tools/gst-launch.c: (main):
888 Clarify the output strings, makes it easier to translate.
891 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
894 don't try and build net if we don't even have <sys/socket.h>
896 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
899 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
900 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
901 Add tests for fdsrc seekability
903 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
904 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
905 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
906 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
907 * gst/elements/gstfdsrc.h:
908 fdsrc should not be a 'live' source.
909 Implement seeking on seekable fd's.
911 * gst/gstquery.c: (gst_query_new_seeking),
912 (gst_query_parse_seeking):
914 Implement SEEKING query functions:
915 *_new_seeking and *_parse_seeking
917 2005-11-27 Stefan Kost <ensonic@users.sf.net>
919 * gst/gstelement.c: (gst_element_dispose):
923 * gst/gststructure.c:
926 * libs/gst/controller/gstcontroller.c:
927 (gst_controlled_property_set_interpolation_mode):
928 * libs/gst/controller/gstcontroller.h:
929 * libs/gst/controller/gstinterpolation.c:
930 (interpolate_none_get_enum_value_array):
931 support controlling enums
933 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
936 Improve documentation for gst_value_union().
939 Change return value for union, intersect and subtract functions
940 from gint to gboolean.
942 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
944 * gst/gstvalue.c: (gst_value_serialize_any_list),
945 (gst_value_transform_any_list_string),
946 (gst_value_deserialize_list), (gst_value_deserialize_array),
947 (gst_value_set_int_range), (gst_value_deserialize_int_range),
948 (gst_value_set_double_range), (gst_value_deserialize_double_range),
949 (gst_value_set_fraction_range_full),
950 (gst_value_deserialize_fraction_range),
951 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
952 (gst_value_deserialize_boolean),
953 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
954 (gst_value_serialize_float), (gst_value_deserialize_float),
955 (gst_string_wrap), (gst_value_deserialize_string),
956 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
957 (gst_value_union_int_range_int_range),
958 (gst_value_intersect_int_range_int_range),
959 (gst_value_intersect_double_range_double_range),
960 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
961 (gst_value_subtract_int_range_int_range),
962 (gst_value_subtract_double_double_range),
963 (gst_value_subtract_double_range_double_range),
964 (gst_value_deserialize_fraction):
966 Use gint, gdouble and gchar in our API instead of int, double and
967 char (and make usage in gstvalue.c more consistent).
969 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
972 * libs/gst/controller/Makefile.am:
973 * libs/gst/dataprotocol/Makefile.am:
974 fix up Makefile.am and remove GST_ENABLE_NEW
976 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
980 * gst/base/Makefile.am:
981 * gst/check/Makefile.am:
982 * gst/elements/Makefile.am:
983 * gst/net/Makefile.am:
984 update LDFLAGS use some more
986 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
988 * common/m4/gst-doc.m4:
991 2005-11-26 Edward Hervey <edward@fluendo.com>
993 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
994 This shouldn't issue a g_warning since it returns NULL if it
995 couldn't find the plugin, and all functions using this behave
996 properly on a NULL return. Switching to a GST_WARNING.
998 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1000 * gst/gstbin.c: (gst_bin_handle_message_func):
1001 Don't leak clock messages.
1003 2005-11-25 Wim Taymans <wim@fluendo.com>
1005 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1006 (gst_util_uint64_scale_int):
1007 Optimisations, remove unneeded vars.
1009 2005-11-25 Wim Taymans <wim@fluendo.com>
1011 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1012 Added more checks for the high precision uint64 cases.
1014 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1015 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1016 Implement high precission (guint64 * guint64) / guint64.
1018 2005-11-24 Wim Taymans <wim@fluendo.com>
1020 * gst/base/gstbasesrc.c: (gst_base_src_query):
1021 Fix wrong percentage query.
1023 * gst/gstutils.c: (gst_util_uint64_scale),
1024 (gst_util_uint64_scale_int):
1025 Add some more common cases that can be handled
1026 efficiently to _scale.
1028 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1030 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1031 (gst_mini_object_suite):
1032 don't use check calls from threads; check probably isn't
1033 threadsafe and using a lock to make it threadsafe would
1034 defeat the purpose of this check
1035 * gst/check/gstcheck.c:
1036 * gst/check/gstcheck.h:
1037 use GST_DEBUG some more
1039 2005-11-24 Wim Taymans <wim@fluendo.com>
1041 * gst/gstutils.c: (gst_util_uint64_scale),
1042 (gst_util_uint64_scale_int):
1043 Chain trivial case to _scale_int.
1045 2005-11-24 Wim Taymans <wim@fluendo.com>
1047 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1048 Added test for scaling.
1053 * gst/gstutils.c: (gst_util_uint64_scale_int):
1054 Implemented high precision scaling code.
1056 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1059 do not crash on pad==NULL
1061 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1063 Patch by: Stefan Kost
1065 * common/gtk-doc.mak:
1066 * docs/gst/Makefile.am:
1067 * docs/libs/Makefile.am:
1068 Fix distcheck issues for the libraries docs build
1071 2005-11-24 Michael Smith <msmith@fluendo.com>
1073 * docs/manual/basics-helloworld.xml:
1074 Fix bug #315027: memory leak in example code in docs.
1076 2005-11-24 Michael Smith <msmith@fluendo.com>
1078 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1079 Unlock the PREROLL_LOCK in a failure case.
1081 2005-11-24 Wim Taymans <wim@fluendo.com>
1083 * docs/gst/gstreamer-sections.txt:
1084 * gst/base/gstadapter.h:
1085 * gst/base/gstbasesink.h:
1086 * gst/base/gstbasesrc.h:
1087 * gst/base/gstbasetransform.h:
1088 * gst/base/gstpushsrc.h:
1089 * gst/elements/gstfakesink.h:
1090 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1091 * gst/elements/gstfakesrc.h:
1092 * gst/elements/gstfilesink.h:
1093 * gst/elements/gstfilesrc.h:
1096 * gst/gstbuffer.c: (_gst_buffer_copy):
1099 * gst/gstchildproxy.c:
1102 * gst/gstelementfactory.c:
1103 * gst/gstelementfactory.h:
1105 * gst/gstghostpad.h:
1107 * gst/gstinterface.h:
1108 * gst/gstminiobject.c:
1109 * gst/gstminiobject.h:
1112 * gst/gstpadtemplate.h:
1113 * gst/gstpipeline.h:
1114 * gst/gstpluginfeature.h:
1119 * gst/gsttagsetter.c:
1120 * gst/gsttagsetter.h:
1123 * gst/gsttypefind.h:
1126 * gst/net/gstnetclientclock.c:
1127 * gst/net/gstnetclientclock.h:
1128 * gst/net/gstnettimepacket.c:
1129 * gst/net/gstnettimeprovider.c:
1130 * gst/net/gstnettimeprovider.h:
1133 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1135 * configure.ac: back to HEAD
1137 === release 0.9.6 ===
1139 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1142 releasing 0.9.6, "Always On Time"
1144 2005-11-23 Wim Taymans <wim@fluendo.com>
1146 * docs/gst/gstreamer-sections.txt:
1147 * gst/glib-compat.c:
1148 * gst/gsttagsetter.c:
1150 * gst/net/gstnetclientclock.c:
1151 * gst/net/gstnettimepacket.h:
1154 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1156 * docs/faq/using.xml:
1157 * docs/libs/tmpl/gstcontrol.sgml:
1158 * docs/manual/advanced-dparams.xml:
1159 * docs/manual/appendix-checklist.xml:
1160 * docs/manual/basics-elements.xml:
1161 * docs/pwg/other-source.xml:
1162 * docs/random/moving-plugins:
1164 * tools/gst-launch.1.in:
1165 remove mentions of sinesrc
1167 2005-11-23 Michael Smith <msmith@fluendo.com>
1169 * docs/gst/gstreamer-sections.txt:
1170 Update for new API and API changes.
1172 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1174 Documentation typo fix.
1175 * gst/net/gstnettimepacket.c:
1176 Documentation fixes for arguments.
1178 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1180 * gst/gststructure.c: (gst_structure_get_fraction),
1181 (gst_structure_parse_value),
1182 (gst_structure_fixate_field_nearest_fraction):
1183 * gst/gststructure.h:
1184 * gst/gstutils.c: (gst_util_uint64_scale_int):
1186 * scripts/update-funcnames:
1188 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1189 Make gst_structure_fixate_field_nearest_fraction take a numerator
1190 and denominator argument instead of a GValue
1191 add gst_structure_get_fraction helper function.
1193 2005-11-23 Wim Taymans <wim@fluendo.com>
1195 * docs/design/part-TODO.txt:
1198 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1199 * gst/net/gstnetclientclock.h:
1200 Use parent fields for timeout and window_size.
1202 2005-11-23 Andy Wingo <wingo@pobox.com>
1204 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1205 rate_num/rate_denom change.
1207 * gst/net/gstnetclientclock.c
1208 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1209 OBJECT_LOCK. Don't call add_observation with the lock.
1211 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1213 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1215 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1216 deal with rate as a fraction whose numerator and denominator are
1217 GstClockTime values.
1218 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1219 master; the other fields are protected by the SLAVE_LOCK.
1220 (do_linear_regression): Note that this must be called with the
1222 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1223 OBJECT_LOCK. Call set_calibration instead of touching the
1225 (gst_clock_set_property, gst_clock_get_property): Protect
1226 master/slave parameters with the SLAVE_LOCK.
1228 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1229 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1230 note that all of the instance variables that add_observation and
1231 the set_master functions use are protected by that lock and not
1233 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1235 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1236 the caller to take the object lock.
1238 2005-11-23 Wim Taymans <wim@fluendo.com>
1240 * gst/gsterror.c: (_gst_core_errors_init):
1242 Add error for clock stuff.
1244 * gst/gstpipeline.c: (gst_pipeline_change_state),
1245 (gst_pipeline_set_clock):
1246 Post clock error when clock cannot be used in a pipeline.
1248 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1250 * docs/gst/gstreamer-sections.txt:
1251 make two symbols from gstinfo private for the docs
1252 * gst/base/gstcollectpads.h:
1254 fix doc typos, update docs
1256 2005-11-22 Wim Taymans <wim@fluendo.com>
1258 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1259 (gst_base_sink_wait), (gst_base_sink_do_sync),
1260 (gst_base_sink_handle_event):
1261 * gst/base/gstbasesink.h:
1262 No need to store the clock, the parent element class already
1265 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1266 Updates for clock_set returning a gboolean
1268 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1269 (gst_clock_id_wait_async), (gst_clock_class_init),
1270 (gst_clock_init), (gst_clock_finalize),
1271 (gst_clock_get_internal_time), (gst_clock_get_time),
1272 (gst_clock_slave_callback), (gst_clock_set_master),
1273 (gst_clock_get_master), (do_linear_regression),
1274 (gst_clock_add_observation), (gst_clock_set_property),
1275 (gst_clock_get_property):
1277 Implement master/slave. When setting a clock as a slave, a
1278 periodic timeout is scheduled to sample master and slave times.
1279 Then the slave clock is recalibrated to match offset and rate
1280 of the master clock.
1281 Update logging a bit.
1282 Add flag so that a clock can state that is cannot be slaved to
1285 * gst/gstelement.c: (gst_element_set_clock):
1287 The set clock returns a gboolean for when an element cannot
1288 deal with the selected clock in the pipeline.
1290 * gst/gstpipeline.c: (gst_pipeline_change_state),
1291 (gst_pipeline_set_clock):
1292 * gst/gstpipeline.h:
1293 Handle the case where the selected clock cannot be set on
1296 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1297 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1298 (gst_net_client_clock_set_property),
1299 (gst_net_client_clock_get_property),
1300 (gst_net_client_clock_observe_times):
1301 * gst/net/gstnetclientclock.h:
1302 Use regression code in GstClock parent, remove duplicated
1305 2005-11-22 Michael Smith <msmith@fluendo.com>
1307 * gst/gstutils.c: (gst_util_clock_time_scale):
1309 * docs/gst/gstreamer-sections.txt:
1310 Rename method to have extra underscore.
1312 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1314 * gst/elements/Makefile.am:
1315 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1316 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1317 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1318 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1319 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1320 * gst/elements/gstfakesrc.h:
1321 * gst/gstqueue.c: (queue_leaky_get_type):
1322 correctly fix GEnumValues so that nick is the short lowercase
1324 * tools/gst-inspect.c: (print_element_properties_info):
1325 also show the nick, since it's useful to use from parse_launch
1329 2005-11-22 Michael Smith <msmith@fluendo.com>
1331 * gst/gstutils.c: (gst_util_clocktime_scale):
1333 * docs/gst/gstreamer-sections.txt:
1334 Add util method for scaling a clocktime by a fraction. Useful
1335 implementation is left as an exercise for the reader.
1337 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1339 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1340 If needed, allocate storage in the destination value during
1343 2005-11-22 Edward Hervey <edward@fluendo.com>
1345 * docs/gst/gstreamer-sections.txt:
1350 * gst/gstutils.c: (gst_util_set_object_arg):
1351 * tools/gst-compprep.c: (main):
1352 * tools/gst-inspect.c: (print_element_properties_info):
1353 Removed GstURI, closes bug #321061
1355 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1357 * check/gst/gststructure.c: (GST_START_TEST):
1358 * gst/gststructure.c: (gst_structure_parse_value):
1359 Oops, broke automatic string type parsing.
1360 Add a test to catch it in future.
1362 2005-11-22 Andy Wingo <wingo@pobox.com>
1364 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1365 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1366 Actually rename the function implementations. Grr.
1368 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1370 * check/gst/capslist.h:
1372 * check/gst/gststructure.c: (GST_START_TEST),
1373 (gst_structure_suite):
1374 Test automatic value type detection in gst_structure_from_string.
1375 * gst/gststructure.c: (gst_structure_parse_value):
1376 Add fraction as a type we try and guess automatically in
1377 caps/structure strings.
1379 2005-11-22 Andy Wingo <wingo@pobox.com>
1381 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1383 * gst/gsttagsetter.h:
1384 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1385 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1386 (gst_tag_setter_add_tag_valist)
1387 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1388 _add_values, _add_valist, and _add_valist_values. Since this is an
1389 interface the function suffixes should be more explicit so
1390 language binding don't end up with element.add_valist ->
1391 gst_tag_setter_add_valist, for example. Fixes #322069.
1393 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1395 * check/gst/gstcaps.c: (GST_START_TEST):
1396 Extend caps string tests to check that a caps to string
1397 conversion is reversible and produces the same caps.
1399 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1400 Output "fraction" as the generic type fraction range, so caps
1401 serialisation and deserialisation works.
1402 * check/gst/capslist.h:
1403 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1404 Support 'MIN' and 'MAX' for deserialising fractions.
1406 2005-11-22 Andy Wingo <wingo@pobox.com>
1408 * gst/gstevent.h (gst_event_new_new_segment)
1409 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1410 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1411 Renamed from *_newsegment, *_buffersize, *_notarget.
1413 * scripts/update-funcnames: New script, performs the changes
1416 2005-11-22 Wim Taymans <wim@fluendo.com>
1418 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1419 Make sure the GstFlowReturn is returned.
1421 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1422 (gst_bus_add_signal_watch):
1424 add gst_bus_add_signal_watch_full.
1426 * gst/gstplugin.c: (gst_plugin_load_file):
1427 Small style cleanup.
1429 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1431 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1432 Block the fakesrc srcpad when we send an event, to avoid
1433 contention on the stream_lock causing random test failures.
1435 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1437 * check/gst/gstvalue.c: (GST_START_TEST):
1438 * gst/gstvalue.c: (gst_value_fraction_subtract):
1441 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1444 include "gstchildproxy.h"
1445 * gst/gstchildproxy.h:
1446 * libs/gst/controller/gstcontroller.h:
1447 use G_GNUC_NULL_TERMINATED
1449 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1451 * check/gst/capslist.h:
1452 * check/gst/gstcaps.c: (GST_START_TEST):
1453 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1454 * gst/gststructure.c: (gst_structure_parse_range),
1455 (gst_structure_fixate_field_nearest_fraction):
1456 * gst/gststructure.h:
1457 * gst/gstvalue.c: (gst_value_init_fraction_range),
1458 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1459 (gst_value_collect_fraction_range),
1460 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1461 (gst_value_set_fraction_range_full),
1462 (gst_value_get_fraction_range_min),
1463 (gst_value_get_fraction_range_max),
1464 (gst_value_serialize_fraction_range),
1465 (gst_value_transform_fraction_range_string),
1466 (gst_value_compare_fraction_range),
1467 (gst_value_deserialize_fraction_range),
1468 (gst_value_intersect_fraction_fraction_range),
1469 (gst_value_intersect_fraction_range_fraction_range),
1470 (gst_value_subtract_fraction_fraction_range),
1471 (gst_value_subtract_fraction_range_fraction),
1472 (gst_value_subtract_fraction_range_fraction_range),
1473 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1474 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1475 (gst_value_transform_string_fraction), (_gst_value_initialize):
1477 Implement fraction ranges and extend GstFraction to support
1478 arithmetic subtraction, as well as deserialization from integer
1479 strings such as "100"
1480 Add a testsuite as for int and double range set operations
1482 2005-11-21 Andy Wingo <wingo@pobox.com>
1486 * gst/gststructure.h: Add glib-compat.h.
1488 2005-11-21 Wim Taymans <wim@fluendo.com>
1490 * gst/gstbin.c: (gst_bin_change_state_func):
1493 2005-11-21 Wim Taymans <wim@fluendo.com>
1496 And add a nice define too.
1498 2005-11-21 Wim Taymans <wim@fluendo.com>
1500 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1501 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1502 (gst_segment_set_duration), (gst_segment_set_last_stop),
1503 (gst_segment_set_seek), (gst_segment_set_newsegment),
1504 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1507 Make binding friendly.
1509 2005-11-21 Andy Wingo <wingo@pobox.com>
1511 * gst/gsttagsetter.h:
1513 * gst/gststructure.h:
1515 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1518 * gst/gsterror.c (_gst_core_errors_init):
1519 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1522 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1523 (noinst_HEADERS): noinst the -private.
1525 2005-11-21 Michael Smith <msmith@fluendo.com>
1528 * gst/gstregistry.h:
1529 Remove unimplemented declarations for which we can see no sensible
1532 2005-11-21 Andy Wingo <wingo@pobox.com>
1534 * gst/gst.h: Include glib-compat.h.
1536 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1538 * gst/glib-compat.c: Include the public and the private header.
1540 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1544 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1546 * check/gst/gstevent.c (create_custom_events): Check that
1547 FLUSH_STOP is serialized.
1549 * check/elements/identity.c (event_func):
1550 * check/elements/fakesrc.c (event_func): No stream lock, the core
1553 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1554 stream lock taking, yay.
1556 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1557 ensure that core takes the stream lock.
1559 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1562 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1563 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1564 it already. For the flush start we do take it though so we get the
1565 right preroll state change messages.
1567 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1568 the stream lock here, the core does it for us.
1570 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1571 GST_STREAM_GET_LOCK.
1572 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1573 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1574 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1575 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1576 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1577 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1579 * gst/gstpad.c: Update for stream lock name change.
1581 * gst/base/gstbasesink.c: Update for preroll lock name change.
1583 2005-11-21 Wim Taymans <wim@fluendo.com>
1585 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1586 (gst_clock_get_master):
1588 * gst/gstsystemclock.c: (gst_system_clock_init):
1589 Convert Clock flags to object flags.
1590 Added methods to manage master/slave clocks.
1592 2005-11-21 Wim Taymans <wim@fluendo.com>
1594 * check/gst/gstsegment.c: (GST_START_TEST):
1595 * docs/design/part-TODO.txt:
1596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1597 (gst_base_sink_event), (gst_base_sink_do_sync),
1598 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1599 (gst_base_sink_query), (gst_base_sink_change_state):
1600 * gst/base/gstbasesink.h:
1601 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1602 (gst_base_src_default_newsegment),
1603 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1604 (gst_base_src_get_range), (gst_base_src_loop),
1605 (gst_base_src_change_state):
1606 * gst/base/gstbasesrc.h:
1607 * gst/base/gstbasetransform.c:
1608 (gst_base_transform_prepare_output_buf),
1609 (gst_base_transform_event), (gst_base_transform_change_state):
1610 * gst/base/gstbasetransform.h:
1611 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1612 (gst_collect_pads_event):
1613 * gst/base/gstcollectpads.h:
1614 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1615 (gst_fake_src_create):
1616 * gst/elements/gstfakesrc.h:
1617 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1618 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1619 (gst_segment_set_last_stop), (gst_segment_set_seek),
1620 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1621 (gst_segment_to_running_time), (gst_segment_clip):
1623 More segment updates, replace code in plugins with segment
1626 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1628 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1629 Don't ignore sscanf results
1631 2005-11-21 Andy Wingo <wingo@pobox.com>
1633 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1636 * *.c: Ran scripts/update-macros. Oh yes.
1638 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1639 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1642 * scripts/update-macros: New script. Run it on your files to
1643 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1646 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1648 * docs/gst/Makefile.am:
1649 * docs/gst/gstreamer-docs.sgml:
1650 * docs/gst/gstreamer-sections.txt:
1651 * docs/gst/gstreamer.types:
1653 more docs fixes, add new api to the docs
1655 2005-11-21 Andy Wingo <wingo@pobox.com>
1657 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1658 state_broadcast call.
1660 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1662 2005-11-21 Julien MOUTTE <julien@moutte.net>
1664 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1665 function calls for arrays.
1667 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1669 * docs/random/ensonic/media-device-daemon.txt:
1670 wild idea, can this be done?
1671 * docs/gst/gstreamer-sections.txt:
1676 * gst/gstpluginfeature.c:
1680 doc fixes and additions
1682 2005-11-21 Andy Wingo <wingo@pobox.com>
1684 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1685 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1686 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1687 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1688 private to the basesrc implementation.
1690 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1691 behalf of event function if necessary. It should no longer be
1692 necessary to take the stream lock in pad's event functions. Fixes
1695 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1696 * docs/gst/gstreamer-sections.txt:
1697 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1698 (gst_structure_fixate_field_nearest_double),
1699 (gst_structure_fixate_field_boolean):
1700 * gst/gststructure.h:
1701 * win32/common/libgstreamer.def:
1702 * win32/gstreamer.def:
1704 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1707 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1709 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1710 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1711 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1712 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1713 (gst_fdsrc_uri_handler_init):
1714 * gst/elements/gstfdsrc.h:
1715 Port fd:// URI handler from 0.8 to fdsrc
1717 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1719 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1720 (gst_value_serialize_fourcc):
1722 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1723 consistent with our other format defines (#320324).
1725 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1727 * gst/gstvalue.c: (gst_value_is_fixed):
1728 Revert previous commit. Value lists are by definition
1729 not fixed, as they are a list of possible values.
1731 2005-11-21 Andy Wingo <wingo@pobox.com>
1733 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1734 during the stable series if we need it. Fixes #319178.
1736 * gst/gstevent.c (gst_event_new_filler): Removed.
1738 * check/gst/gstevent.c: Update comment about filler events.
1740 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1742 * gst/gstvalue.c: (gst_value_is_fixed):
1743 Should handle both value arrays and value lists.
1745 2005-11-21 Andy Wingo <wingo@pobox.com>
1747 patch by: Alessandro Dessina <alessandro nnva org>
1749 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1750 functions to access arrays. Fixes #321962.
1752 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1754 * docs/gst/gstreamer.types:
1755 gst_collectpads_get_type => gst_collect_pads_get_type.
1757 * gst/base/gstbasetransform.c:
1758 Remove unused SIGNAL_HANDOFF enum.
1760 2005-11-21 Andy Wingo <wingo@pobox.com>
1762 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1763 the event type (upstream, downstream, serialized). Renamed
1764 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1765 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1766 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1768 * gst/gstevent.c: Update for new CUSTOM event names.
1770 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1773 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1776 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1778 * docs/gst/gstreamer-sections.txt:
1779 * win32/common/libgstbase.def:
1780 * win32/libgstbase.def:
1781 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1782 (gst_collect_pads_class_init), (gst_collect_pads_init),
1783 (gst_collect_pads_finalize), (gst_collect_pads_new),
1784 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1785 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1786 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1787 (gst_collect_pads_start), (gst_collect_pads_stop),
1788 (gst_collect_pads_peek), (gst_collect_pads_pop),
1789 (gst_collect_pads_available), (gst_collect_pads_read),
1790 (gst_collect_pads_flush), (gst_collect_pads_event),
1791 (gst_collect_pads_chain):
1792 * gst/base/gstcollectpads.h:
1793 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1794 unimplemented functions as unimplemented. Add padding to
1795 GstCollectData. (#320766, #320423)
1797 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1800 Improve docs for DURATION message (usage of duration parameter)
1803 2005-11-20 Wim Taymans <wim@fluendo.com>
1805 * check/Makefile.am:
1806 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1810 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1811 (gst_segment_set_seek), (gst_segment_set_newsegment),
1812 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1815 Added segment helper structure and methods. Not fully implemented
1817 Added segment check.
1819 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1821 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1822 Add a deserialisation test for fractions
1823 * examples/metadata/read-metadata.c: (message_loop),
1824 (make_pipeline), (main):
1825 Fix up metadata reading sample.
1826 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1828 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1829 Don't try and fixate empty caps
1830 * gst/gst_private.h:
1831 Wrap in G_BEGIN_DECLS/G_END_DECLS
1832 * gst/gstvalue.c: (gst_value_collect_fraction),
1833 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1834 (gst_value_transform_string_fraction),
1835 (gst_value_compare_fraction):
1836 Add some extra guards to ensure that we don't end up
1837 with an invalid denominator of 0 in a gstfraction and
1838 that fractions always get reduced.
1840 2005-11-20 Wim Taymans <wim@fluendo.com>
1842 * docs/gst/gstreamer-sections.txt:
1853 2005-11-20 Wim Taymans <wim@fluendo.com>
1855 * docs/design/part-TODO.txt:
1857 Make a proper enum of the flag.
1859 2005-11-19 Wim Taymans <wim@fluendo.com>
1861 * docs/design/part-TODO.txt:
1862 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1863 (gst_format_to_quark), (gst_format_register):
1865 * gst/gstquery.c: (_gst_query_initialize),
1866 (gst_query_type_get_name), (gst_query_type_to_quark),
1867 (gst_query_type_register):
1869 Add type to quark and type to string conversions.
1871 2005-11-19 Andy Wingo <wingo@pobox.com>
1873 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1876 2005-11-19 Wim Taymans <wim@fluendo.com>
1878 * docs/design/part-TODO.txt:
1879 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1880 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1881 (gst_bin_handle_message_func):
1883 Make message handling overridable.
1885 2005-11-19 Andy Wingo <wingo@pobox.com>
1887 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1890 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1892 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1893 is a GstClockTime. Fixes #321710.
1895 * gst/gstclock.h (GstClock): Remove offset property. Add
1896 internal_calibration and external_calibration. Fix padding. Pad
1897 also by GstClockTime so we don't run into problems.
1899 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1900 (gst_clock_get_rate_offset): Remove.
1901 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1904 * gst/gstutils.c (g_static_rec_cond_wait)
1905 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1907 * gst/gstbin.c: Remove terrible continue_state prototype.
1909 * gst/gstelement.h (gst_element_continue_state): Make public.
1912 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1913 by continue_state. Fixes #319389.
1915 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1916 Really fixes #168438. However I don't see anywhere where the
1917 filter function is called... stupid GStreamer...
1919 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1920 don't have a dispose function, so it won't get called when the
1921 object is unreffed, but oh well!
1923 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1924 allows a destroy function to be set so user_data can be freed.
1926 (gst_index_set_filter): Call gst_index_set_filter_full.
1928 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1930 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1931 string should produce an error, given the lack of a way to
1932 represent NULL strings. Fixes #165650.
1935 * gst/gstvalue.c (gst_value_array_append_value)
1936 (gst_value_array_prepend_value, gst_value_array_get_size)
1937 (gst_value_array_get_value): New API, copied from
1938 gst_value_list_*, only operates on arrays.
1939 (gst_value_list_append_value, gst_value_list_prepend_value)
1940 (gst_value_list_concat, gst_value_list_get_size)
1941 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1943 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1944 init_list, because it works on both.
1945 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1946 (gst_value_copy_list_or_array): Renamed from copy_list.
1947 (gst_value_free_list_or_array): Renamed from free_list.
1948 (gst_value_collect_list_or_array): Renamed from collect_list.
1949 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1950 (gst_value_list_or_array_peek_pointer): Renamed from
1952 (_gst_value_array_value_table, _gst_value_list_value_table):
1953 Update value table functions.
1954 (gst_value_compare_list_or_array): Renamed from compare_list.
1956 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1960 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1961 GstTagList*. Fixes #143472.
1963 * gst/gststructure.h: Clarify what the foreach/map functions can
1964 or can't do to their arguments.
1966 2005-11-18 Wim Taymans <wim@fluendo.com>
1968 * gst/gstclock.c: (gst_clock_set_calibration),
1969 (gst_clock_get_calibration):
1971 Calibration can be set with internal time equal to current
1974 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1980 2005-11-18 Andy Wingo <wingo@pobox.com>
1983 * pkgconfig/gstreamer-net.pc.in:
1984 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1985 * pkgconfig/Makefile.am: Add net pkgconfig files.
1987 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1990 * gst/gstghostpad.c:
1996 2005-11-18 Andy Wingo <wingo@pobox.com>
1998 * gst/net/gstnetclientclock.c: Turn off debugging.
2000 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2001 times connverge somewhat. Can't make a real test.
2003 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2004 integer arithmetic. Return the minimum of the domain, which can be
2005 set as "internal" for gst_clock_set_calibration.
2006 (gst_net_client_clock_observe_times): Call _set_calibration.
2007 (gst_net_client_clock_new): Call _set_calibration instead of
2010 * check/net/gstnetclientclock.c (test_functioning): Use the right
2014 * gst/gstclock.c (gst_clock_get_calibration)
2015 (gst_clock_set_calibration): New functions, obsolete the ones I
2016 added yesterday. Doh. Precision issues mean we have to extrapolate
2017 from a point in the more recent past than 1970.
2018 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2020 (gst_clock_adjust_unlocked): Use the right calibration data.
2022 2005-11-18 Edward Hervey <edward@fluendo.com>
2024 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2025 Also reset the ->current_* values in READY->PAUSED
2027 2005-11-18 Andy Wingo <wingo@pobox.com>
2029 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2030 Whoops, check the right fd. Also add some debugging.
2031 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2032 (do_linear_regression): Add a crapload of debugging. Subtract off
2033 the minimum values from the input series to discard unneeded bits.
2034 Use only int arithmetic. There is still double arithmetic when
2035 calculating the intercept that needs fixing. Return boolean to
2036 indicate success; FALSE would mean the domain or range is too
2037 great. Still needs fixes.
2039 2005-11-18 Wim Taymans <wim@fluendo.com>
2041 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2042 For the current position in stream time, we need to subtract
2045 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2046 Release lock before calling the callback function of async
2049 2005-11-18 Andy Wingo <wingo@pobox.com>
2051 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2052 Port goes all the way to MAXUINT16.
2054 * gst/net/gstnettimeprovider.c: Make the port range the same as
2055 for the kernel: 0 assigns, otherwise ports are less than
2058 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2061 * check/net/gstnetclientclock.c (test_functioning): Add the start
2064 2005-11-18 Wim Taymans <wim@fluendo.com>
2066 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2067 (gst_bin_remove_func), (bin_bus_handler):
2069 Removing a clock provider from a bin, triggers a clock lost message
2070 so that a new clock will be selected.
2071 Adding a clock to a bin triggers a clock provider message.
2072 Make sure we reselect a clock when we received a clock lost message.
2073 Keep a reference to the element that provided the clock.
2075 2005-11-18 Andy Wingo <wingo@pobox.com>
2077 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2078 the clock initially so it produces values around the base time.
2079 (gst_net_client_clock_class_init): Typo fix.
2080 (gst_net_client_clock_thread): Add note on when the socket gets
2083 2005-11-17 Wim Taymans <wim@fluendo.com>
2085 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2086 Free remote and local time arrays.
2088 2005-11-17 Wim Taymans <wim@fluendo.com>
2090 * gst/net/gstnetclientclock.c: (do_linear_regression),
2091 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2092 Fix compilation, uninitialized vars and a forgotten continue.
2094 2005-11-17 Andy Wingo <wingo@pobox.com>
2096 * check/Makefile.am (check_PROGRAMS):
2097 * check/net/gstnetclientclock.c: Add a most minimal test for the
2098 net client clock. More to come later.
2101 * gst/net/Makefile.am: Add netclientclock.
2103 * gst/net/gstnetclientclock.h:
2104 * gst/net/gstnetclientclock.c: New files, implement an untested
2105 GstClock that takes its time from a network time provider.
2106 Implements the algorithm in network-clock.scm.
2108 * tests/network-clock.scm (*window-size*): Rename from
2110 * tests/network-clock.scm (network-time):
2111 * tests/network-clock-utils.scm (q-push): Update callers.
2113 2005-11-17 Wim Taymans <wim@fluendo.com>
2115 * gst/gstbin.c: (gst_bin_provide_clock_func),
2116 (gst_bin_sort_iterator_new):
2117 And unref the child too..
2119 2005-11-17 Wim Taymans <wim@fluendo.com>
2121 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2122 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2123 Refactor the sort iterator so it can be used while holding the
2125 Make clock selection select a clock closest to the source.
2127 2005-11-17 Michael Smith <msmith@fluendo.com>
2129 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2130 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2132 Anonymous structs are a gcc (and some other compilers) extension, so
2133 don't use them. Since this is only for ABI-compatibility, and our
2134 API/ABI freeze is over in a few days, this whole thing will only
2135 last a few days, so don't bother trying to think up a meaningful
2136 name for the struct.
2138 2005-11-17 Andy Wingo <wingo@pobox.com>
2140 * gst/gstclock.h (GstClock): Add rate and offset properties,
2141 preserving ABI stability. Add rate/offset accessors. Will file bug
2142 for the freeze break.
2144 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2145 and offset, trying to keep precision and avoiding
2147 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2148 functions. Make gst_clock_set_time_adjust obsolete.
2149 (gst_clock_set_time_adjust): Note that this function is obsolete.
2152 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2153 greppable by using GST_PADDING-1+1.
2155 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2157 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2159 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2160 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2162 * gst/gstpadtemplate.h:
2163 * gst/gstpluginfeature.h:
2164 Don't use c++ style comments in headers (#321638).
2166 2005-11-16 Andy Wingo <wingo@pobox.com>
2168 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2171 * check/net/gstnettimeprovider.c: Check to see that the time
2172 provider actually provides times. Works, yo!
2174 2005-11-16 Wim Taymans <wim@fluendo.com>
2176 * check/Makefile.am:
2179 * check/elements/fakesrc.c: (GST_START_TEST):
2180 Set element to NULL before disposing it.
2182 2005-11-16 Andy Wingo <wingo@pobox.com>
2184 * gst/net/Makefile.am:
2186 * gst/net/gstnettimeprovider.c:
2187 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2188 provider, include it from gstnet.h, and add it to the build.
2190 * gst/net/gstnettimepacket.h:
2191 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2192 sending and receiving.
2194 2005-11-16 Wim Taymans <wim@fluendo.com>
2196 * check/Makefile.am:
2197 Enable valgrind check.
2199 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2200 (gst_fake_src_alloc_buffer):
2203 2005-11-16 Wim Taymans <wim@fluendo.com>
2205 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2206 Call parent finalize too.
2208 2005-11-16 Wim Taymans <wim@fluendo.com>
2210 * check/Makefile.am:
2211 Enable valgrind check that should work fine now.
2213 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2214 * gst/gstqueue.c: (gst_queue_init):
2215 Fix memleaks in pad allocation.
2217 2005-11-16 Andy Wingo <wingo@pobox.com>
2219 * gst/net/Makefile.am:
2220 * gst/net/gstnet.h: New part of core to hold network elements and
2221 objects. Put in core because it exposes API that applications want
2222 to use. The library is named libgstnet-tempname right now because
2223 of the existing libgstnet in gst-plugins-base. Solution is
2224 probably to rename the one in plugins-base; will file a bug for
2227 * gst/net/gstnettimeprovider.c:
2228 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2229 get_time call over the network.
2232 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2234 * check/Makefile.am:
2235 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2236 get additions shortly.
2238 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2240 * gst/gstpad.c: (gst_pad_new_from_static_template):
2242 add gst_pad_new_from_static_template functions
2243 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2244 (gst_check_setup_sink_pad):
2245 * gst/elements/gsttee.c: (gst_tee_init):
2248 2005-11-16 Wim Taymans <wim@fluendo.com>
2250 * gst/gstpad.c: (gst_pad_pause_task):
2251 Removed warning, it's not really an error either.
2253 2005-11-16 Wim Taymans <wim@fluendo.com>
2255 * gst/base/gstbasetransform.c:
2256 (gst_base_transform_prepare_output_buf),
2257 (gst_base_transform_event):
2258 Check if the caps are NULL, this can happen if the element
2259 is shutting down and the pad caps are set to NULL.
2261 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2263 * gst/elements/gsttee.c: (gst_tee_init):
2264 fix pad template leak in tee
2266 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2268 * gst/glib-compat.c: (g_value_dup_gst_object):
2269 * gst/glib-compat.h:
2270 * gst/gstpad.c: (gst_pad_set_property):
2271 use gst_object_ref when setting the pad template; this will
2272 trigger the pad template leaks on GLib 2.6 and the slaves
2274 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2276 * gst/glib-compat.c: (gst_flags_get_first_value):
2277 * gst/glib-compat.h:
2278 * gst/gstregistryxml.c:
2279 remove functions copied from GLib 2.6
2281 2005-11-16 Michael Smith <msmith@fluendo.com>
2284 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2285 do, but only breaks with newer valgrind versions. We're not a
2286 valgrind tool, we have no link-time dependencies on libcoregrind.
2288 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2290 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2295 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2297 * gst/base/gstbasesrc.c: (gst_base_src_init):
2298 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2299 * gst/gstqueue.c: (gst_queue_init):
2300 * gst/gstregistryxml.c: (load_feature):
2301 Revert all these unrefs, they don't even pass make check !
2303 2005-11-15 Johan Dahlin <johan@gnome.org>
2305 * gst/base/gstbasesrc.c: (gst_base_src_init):
2306 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2307 * gst/gstqueue.c: (gst_queue_init):
2308 Free pad templates, fixes a couple of leaks.
2310 2005-11-15 Daniel Fischer <dan at f3c dot com>
2312 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2314 * gst/gstpad.c: (gst_pad_get_property):
2315 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2316 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2319 2005-11-15 Wim Taymans <wim@fluendo.com>
2324 2005-11-15 Andy Wingo <wingo@pobox.com>
2326 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2328 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2329 using GST_CLOCK_TIME_NONE to disable base time management.
2330 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2331 time if it was NONE before.
2332 (gst_pipeline_change_state): Only munge the base time if
2333 stream_time != GST_CLOCK_TIME_NONE.
2335 * check/gst/gstpipeline.c (test_base_time): Punt around the
2336 problem of the probe not being called, because that's not the
2337 issue I'm looking at. Add a check that setting stream_time to NONE
2338 disables base time management.
2340 2005-11-15 Wim Taymans <wim@fluendo.com>
2342 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2343 segment_stop == -1 at startup.
2345 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2346 (gst_base_transform_change_state):
2347 Init segment values at start.
2349 2005-11-15 Wim Taymans <wim@fluendo.com>
2351 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2352 0 segment values are 0 in any format.
2354 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2355 * gst/base/gstbasetransform.h:
2356 Parse newsegment correctly in basetransform
2358 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2359 Sync to clock using updated segment values.
2361 2005-11-15 Andy Wingo <wingo@pobox.com>
2363 * check/gst/gstpipeline.c (test_base_time): Add check that the
2364 base time and stream time are reset correctly.
2366 2005-11-15 Wim Taymans <wim@fluendo.com>
2368 * docs/design/part-TODO.txt:
2369 Some more TODO items.
2371 2005-11-15 Andy Wingo <wingo@pobox.com>
2373 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2374 error if the user selected "no clock" as the clocking method.
2376 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2377 timestamps with live capture.
2379 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2380 is 0 but we are a live source, timestamp the buffers using the
2383 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2385 * docs/gst/gstreamer-sections.txt:
2387 * gst/gstghostpad.c:
2392 2005-11-14 Wim Taymans <wim@fluendo.com>
2395 add suppressions from Wim's Debian machine
2397 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2400 add suppressions from Andy's AMD64 Ubuntu machine
2402 2005-11-14 Andy Wingo <wingo@pobox.com>
2404 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2405 STATE_LOCK not necessary. Fixes #311489.
2407 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2410 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2411 this function is not implemented.
2413 2005-11-14 Julien MOUTTE <julien@moutte.net>
2415 * gst/base/gstbasetransform.c:
2416 (gst_base_transform_prepare_output_buf):
2417 Ref the source pad caps while we need them.
2420 2005-11-11 Wim Taymans <wim@fluendo.com>
2422 * docs/gst/gstreamer-sections.txt:
2423 Added some docs for GstCollectData.
2425 * gst/base/gstadapter.c:
2426 Some small code example fix.
2428 * gst/base/gstcollectpads.c:
2429 * gst/base/gstcollectpads.h:
2432 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2434 * configure.ac: back to HEAD
2436 === release 0.9.5 ===
2438 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2441 releasing 0.9.5, "Bike Lunch Day"
2443 2005-11-11 Wim Taymans <wim@fluendo.com>
2445 * gst/gstbuffer.c: (_gst_buffer_copy):
2448 * gst/gstcaps.c: (gst_caps_is_equal):
2450 Make _is_equal fast in the trivial cases.
2452 * gst/gstminiobject.c:
2453 * gst/gstminiobject.h:
2454 More docs. Spifify .h file.
2459 2005-11-11 Wim Taymans <wim@fluendo.com>
2461 * gst/base/gstbasetransform.c:
2462 (gst_base_transform_prepare_output_buf),
2463 (gst_base_transform_handle_buffer):
2465 If we're processing a buffer and need to allocate an output
2466 buffer, we cannot accept a format change. If we did get a
2467 format change, we have to alloc a buffer ourselves of the
2470 2005-11-11 Wim Taymans <wim@fluendo.com>
2472 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2473 While checking the flag for reentrancy in the gstcaps function
2474 is nice to detect recursive invocations, it also makes it
2475 impossible to call getcaps from multiple threads, which must be
2476 possible. So, checking for recursive calls has to go.
2478 2005-11-11 Michael Smith <msmith@fluendo.com>
2480 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2481 Don't sync on buffers that fall partially outside our current
2482 segment. Prevents an assertion failure/abort playing some files.
2484 2005-11-10 Andy Wingo <wingo@pobox.com>
2486 * check/gst/gstbin.c (test_message_state_changed_children): Style
2489 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2490 gst_bus_poll with the signal watch. Ensures that poll and a signal
2491 watch see the same messages.
2493 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2494 a poll and a watch at the same time get the same messages.
2496 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2498 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2499 * gst/gstcaps.c: (gst_caps_intersect):
2500 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2501 and it's not needed.
2503 2005-11-10 Wim Taymans <wim@fluendo.com>
2505 * docs/design/part-TODO.txt:
2508 2005-11-10 Wim Taymans <wim@fluendo.com>
2510 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2511 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2512 (gst_base_src_do_sync), (gst_base_src_get_range):
2513 Implement clock sync in base class.
2515 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2517 patch by: Tim-Philipp Müller <tim at centricular dot net>
2519 * gst/gststructure.c: (gst_structure_parse_field),
2520 (gst_structure_from_string):
2521 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2522 so that gst_parse_launch() can deal with spaces in filtered link
2523 caps (fixes #164479)
2524 * check/gst/capslist.h:
2525 * check/gst/gststructure.c: (GST_START_TEST):
2526 add unit tests for this change
2528 2005-11-10 Wim Taymans <wim@fluendo.com>
2530 * docs/gst/gstreamer-sections.txt:
2533 Fix docs, move some STATE macros to private.
2535 2005-11-10 Wim Taymans <wim@fluendo.com>
2537 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2538 Added check for bug #317341
2542 Some more spiffifying.
2544 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2545 Call peer linkfunction if we are a source pad. Totally fixes
2549 Update docs, source pads should call the peer linkfunction
2550 so they can atomically perform the pad link.
2552 2005-11-09 Wim Taymans <wim@fluendo.com>
2556 Uber-spiffy-spiffify some more.
2558 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2560 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2561 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2562 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2563 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2564 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2565 * gst/gstpad.c: (gst_pad_init):
2566 Use GST_DEBUG_FUNCPTR() more extensively.
2568 2005-11-09 Wim Taymans <wim@fluendo.com>
2570 * gst/gstobject.c: (gst_object_class_init):
2572 Documentation fixes.
2574 2005-11-09 Edward Hervey <edward@fluendo.com>
2576 * gst/gsttypefindfactory.c:
2579 2005-11-09 Edward Hervey <edward@fluendo.com>
2581 * gst/base/gsttypefindhelper.c:
2582 * gst/gsttypefind.c:
2583 * gst/gsttypefind.h:
2586 2005-11-09 Wim Taymans <wim@fluendo.com>
2588 * gst/gstiterator.c:
2595 2005-11-09 Wim Taymans <wim@fluendo.com>
2601 2005-11-09 Wim Taymans <wim@fluendo.com>
2603 * docs/gst/gstreamer-sections.txt:
2604 Moved the message async delivery private lock and cond
2605 to the private section.
2611 2005-11-09 Edward Hervey <edward@fluendo.com>
2613 * docs/gst/gstreamer-sections.txt:
2616 Document GstURIHandler
2618 2005-11-09 Wim Taymans <wim@fluendo.com>
2620 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2621 (gst_iterator_find_custom):
2622 * gst/gstiterator.h:
2625 2005-11-09 Wim Taymans <wim@fluendo.com>
2628 Document another field.
2630 * gst/gststructure.c:
2631 * gst/gststructure.h:
2634 2005-11-09 Wim Taymans <wim@fluendo.com>
2639 2005-11-09 Wim Taymans <wim@fluendo.com>
2641 * docs/gst/gstreamer-sections.txt:
2642 Added some new macros.
2649 2005-11-09 Wim Taymans <wim@fluendo.com>
2651 * docs/design/part-TODO.txt:
2652 Some more items for the TODO
2658 2005-11-09 Andy Wingo <wingo@pobox.com>
2660 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2661 to work on something else now tho...
2663 * gst/base/gstadapter.c: More adapter docs.
2665 * gst/elements/gstfilesink.c (gst_file_sink_start)
2666 (gst_file_sink_stop): New functions, replace the state change
2668 (gst_file_sink_class_init): Hook up the start and stop functions.
2669 (gst_file_sink_base_init): Don't set the state change handler any
2670 more. It was a bit ugly too, being set from here...
2671 (gst_file_sink_get_property, gst_file_sink_set_property):
2673 (gst_file_sink_set_location): More robust check that doesn't call
2676 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2678 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2679 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2681 2005-11-08 Wim Taymans <wim@fluendo.com>
2683 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2684 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2685 (gst_base_sink_chain), (gst_base_sink_change_state):
2686 * gst/base/gstbasesink.h:
2687 * gst/base/gstbasesrc.h:
2690 Avoid excessive typechecking in macros.
2692 * gst/gstminiobject.c: (gst_mini_object_get_type),
2693 (gst_mini_object_init), (gst_mini_object_new),
2694 (gst_mini_object_free):
2695 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2696 (gst_object_finalize):
2697 Remove cruft code, optimize alloc_trace.
2699 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2701 * docs/faq/gst-uninstalled:
2702 fix up PS1 for systems that try to reset it
2704 2005-11-07 Wim Taymans <wim@fluendo.com>
2706 * gst/base/gstbasesrc.c: (gst_base_src_init),
2707 (gst_base_src_get_range):
2708 Set the segment_end to -1 initially. Fixed typefind.
2710 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2712 * gst/base/gstadapter.c:
2713 Debug category should be 'adapter', not 'GstAdapter'.
2715 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2716 (gst_collectpads_class_init), (gst_collectpads_init),
2717 (gst_collectpads_peek), (gst_collectpads_pop),
2718 (gst_collectpads_event), (gst_collectpads_chain):
2719 Add debug category and some debugging output. Use boilerplate
2720 macros. Remove some extraneous words from docs.
2722 2005-11-05 Andy Wingo <wingo@pobox.com>
2724 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2727 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2729 * docs/gst/gstreamer-sections.txt:
2732 * gst/gstminiobject.h:
2737 2005-11-04 Wim Taymans <wim@fluendo.com>
2739 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2740 Small update to stop at the configured segment_end
2743 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2745 * gst/gstregistry.c:
2746 * gst/gstregistry.h:
2749 2005-11-04 Edward Hervey <edward@fluendo.com>
2751 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2752 Check if we are doing a segment seek and have arrived at the
2753 end of that segment.
2755 2005-11-04 Wim Taymans <wim@fluendo.com>
2757 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2758 Don't leak a mutex unlock in case of an error.
2763 2005-11-04 Wim Taymans <wim@fluendo.com>
2765 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2767 Get the context to wake up only once.
2769 2005-11-03 Wim Taymans <wim@fluendo.com>
2771 * check/states/sinks.c: (GST_START_TEST):
2772 Uncomment fixed check.
2774 * docs/design/part-TODO.txt:
2777 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2778 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2779 (gst_base_sink_get_position):
2780 If we are going to PLAYING, post the right pending state
2781 when we post the intermediate paused message.
2783 * gst/gstelement.c: (gst_element_continue_state),
2784 (gst_element_set_state_func), (gst_element_change_state):
2785 Don't post state changes that were between the same state
2788 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2790 * docs/gst/gstreamer-sections.txt:
2793 * gst/gstminiobject.h:
2796 more docs and doc style fixes
2798 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2800 * docs/gst/gstreamer-sections.txt:
2802 * gst/gstminiobject.c:
2805 2005-11-03 Andy Wingo <wingo@pobox.com>
2807 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2808 state-changed messages actually have the right order and the right
2811 2005-11-03 Wim Taymans <wim@fluendo.com>
2813 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2814 Added some more checks. Specifically the case where NO_PREROLL
2815 elements are in the pipeline.
2817 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2818 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2819 (gst_base_sink_get_position):
2820 Post READY->PAUSED state change messages too.
2821 Fix bug where VOID was posted as pending state...
2823 * gst/gstbin.c: (gst_bin_recalc_state):
2824 use _element_continue_state() to continue the state change.
2826 * gst/gstelement.c: (gst_element_continue_state),
2827 (gst_element_commit_state), (gst_element_set_state_func),
2828 (gst_element_change_state), (gst_element_change_state_func):
2829 Lots of state change cleanups, assign the STATE_RETURN in
2830 a new continue_state() function that also propagates the
2831 last return value from a state change to the app.
2832 Update some debug statements with proper category.
2834 2005-11-03 Wim Taymans <wim@fluendo.com>
2836 * docs/design/part-events.txt:
2837 * docs/design/part-gstpipeline.txt:
2838 * docs/design/part-messages.txt:
2839 * docs/design/part-overview.txt:
2840 * docs/design/part-seeking.txt:
2841 * docs/design/part-states.txt:
2842 * docs/design/part-trickmodes.txt:
2843 * docs/manual/advanced-position.xml:
2847 People think !! is ugly, this looks better.
2849 * gst/gstpad.c: (gst_pad_set_blocked_async):
2850 Remove !! since it's fixed elsewhere now.
2852 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2854 * gst/gstminiobject.h:
2856 Add !! to _FLAG_IS_SET macros to make the result boolean.
2858 2005-11-03 Edward Hervey <edward@fluendo.com>
2860 * gst/gstpad.c: (gst_pad_set_blocked_async):
2861 comparing a flag and a gboolean rarely returns coherent results...
2862 Added two characters (!!) to make that work correctly.
2864 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2866 * gst/gstbus.c: (gst_bus_class_init):
2869 * gst/gstqueue.c: (gst_queue_loop):
2870 Don't assume a miniobject that isn't a buffer is an
2871 event (it could be that there is a refcounting
2872 problem somewhere and the pointer is stale and
2873 refers to an already destroyed miniobject).
2875 2005-11-03 Julien MOUTTE <julien@moutte.net>
2877 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2879 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2881 * docs/manual/advanced-position.xml:
2882 Update seek example and explanations to current 0.9 API.
2884 * gst/elements/gsttypefindelement.c:
2885 (gst_type_find_element_activate):
2886 Remove FIXME comment now that the found caps
2889 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2891 * gst/gstregistryxml.c: (load_feature):
2892 Add another GST_STR_NULL instance
2894 2005-11-02 Edward Hervey <edward@fluendo.com>
2896 * gst/gstpad.c: (handle_pad_block):
2897 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2899 2005-11-02 Wim Taymans <wim@fluendo.com>
2904 * gst/gstelement.c: (gst_element_commit_state):
2905 Remove unused value.
2907 * gst/gstiterator.c:
2908 Mention that the returned element is reffed in the docs.
2910 2005-11-02 Wim Taymans <wim@fluendo.com>
2912 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2913 (gst_pad_push), (gst_pad_push_event):
2914 Unlock blocked pads when they are flushed.
2916 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2919 * docs/gst/gstreamer-sections.txt:
2922 * gst/gstregistry.c: (gst_registry_scan_path_level):
2923 fix for a nasty little missed situation where an installed plug-in
2924 which was in the cache did not get overridden by an uninstalled one
2925 which was earlier in the plugin path because the newly created plugin
2926 for the uninstalled one (not in the registry) didn't get its
2927 ->registered set to TRUE
2929 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2931 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2932 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2933 (gst_collectpads_is_active), (gst_collectpads_collect),
2934 (gst_collectpads_collect_range), (gst_collectpads_start),
2935 (gst_collectpads_stop), (gst_collectpads_peek),
2936 (gst_collectpads_pop), (gst_collectpads_available),
2937 (gst_collectpads_read), (gst_collectpads_flush):
2938 Guard public API with assertions.
2941 Fix docs for gst_pad_set_link_function().
2943 2005-11-02 Johan Dahlin <johan@gnome.org>
2945 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2946 Unref found_caps after we used it.
2948 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2950 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2951 Don't try to ref NULL.
2953 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2955 * win32/common/config.h.in:
2956 provide a GST_FUNCTION that just gives a string for now
2958 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2960 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2961 (gst_object_flags_get_type), (register_gst_bin_flags),
2962 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2963 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2964 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2965 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2966 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2967 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2968 (gst_clock_flags_get_type), (register_gst_state),
2969 (gst_state_get_type), (register_gst_state_change_return),
2970 (gst_state_change_return_get_type), (register_gst_state_change),
2971 (gst_state_change_get_type), (register_gst_element_flags),
2972 (gst_element_flags_get_type), (register_gst_core_error),
2973 (gst_core_error_get_type), (register_gst_library_error),
2974 (gst_library_error_get_type), (register_gst_resource_error),
2975 (gst_resource_error_get_type), (register_gst_stream_error),
2976 (gst_stream_error_get_type), (register_gst_event_type),
2977 (gst_event_type_get_type), (register_gst_seek_type),
2978 (gst_seek_type_get_type), (register_gst_seek_flags),
2979 (gst_seek_flags_get_type), (register_gst_format),
2980 (gst_format_get_type), (register_gst_index_certainty),
2981 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2982 (gst_index_entry_type_get_type),
2983 (register_gst_index_lookup_method),
2984 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2985 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2986 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2987 (gst_index_flags_get_type), (register_gst_debug_level),
2988 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2989 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2990 (gst_iterator_result_get_type), (register_gst_iterator_item),
2991 (gst_iterator_item_get_type), (register_gst_message_type),
2992 (gst_message_type_get_type), (register_gst_mini_object_flags),
2993 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2994 (gst_pad_link_return_get_type), (register_gst_flow_return),
2995 (gst_flow_return_get_type), (register_gst_activate_mode),
2996 (gst_activate_mode_get_type), (register_gst_pad_direction),
2997 (gst_pad_direction_get_type), (register_gst_pad_flags),
2998 (gst_pad_flags_get_type), (register_gst_pad_presence),
2999 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3000 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3001 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3002 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3003 (gst_plugin_flags_get_type), (register_gst_rank),
3004 (gst_rank_get_type), (register_gst_query_type),
3005 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3006 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3007 (gst_tag_flag_get_type), (register_gst_task_state),
3008 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3009 (gst_alloc_trace_flags_get_type),
3010 (register_gst_type_find_probability),
3011 (gst_type_find_probability_get_type), (register_gst_uri_type),
3012 (gst_uri_type_get_type), (register_gst_parse_error),
3013 (gst_parse_error_get_type):
3014 * win32/common/gstversion.h:
3017 2005-11-01 Luca Ognibene <luogni@tin.it>
3020 fix docs. popt is dead, long live GOption.
3022 2005-10-31 Wim Taymans <wim@fluendo.com>
3027 2005-10-31 Andy Wingo <wingo@pobox.com>
3031 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3033 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3034 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3035 the possibility of deadlocks here if code calling notify() or
3036 set() has a lock that can be taken in another notify handler (ABBA
3037 with class lock and e.g. python GIL state lock).
3039 2005-10-28 Julien MOUTTE <julien@moutte.net>
3041 * gst/gstbus.c: Doc updates.
3043 2005-10-28 Wim Taymans <wim@fluendo.com>
3045 * docs/design/part-TODO.txt:
3046 * gst/gstiterator.c:
3047 * gst/gstsystemclock.c:
3048 * gst/gstsystemclock.h:
3051 2005-10-28 Edward Hervey <edward@fluendo.com>
3053 * docs/gst/gstreamer-docs.sgml:
3054 * docs/gst/gstreamer-sections.txt:
3055 the GstURIType documentation page is private, it only defines GstURIType
3056 which should be defined in the GstURIHandler page
3058 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3060 * gst/gstbin.c: (gst_bin_class_init):
3063 Documentation updates.
3065 2005-10-28 Wim Taymans <wim@fluendo.com>
3067 * docs/gst/gstreamer-sections.txt:
3070 Documented the clocks.
3072 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3074 * docs/gst/gstreamer-sections.txt:
3075 move some macros to private sections
3076 * gst/gstminiobject.c:
3077 * gst/gstminiobject.h:
3078 add descriptions provided by ds and some more
3080 mark macro as to be removed
3082 2005-10-28 Wim Taymans <wim@fluendo.com>
3084 * docs/design/part-TODO.txt:
3085 Add an item to TODO.
3087 * gst/gstiterator.c: (gst_iterator_fold),
3088 (gst_iterator_find_custom):
3089 * gst/gstiterator.h:
3092 2005-10-28 Wim Taymans <wim@fluendo.com>
3094 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3095 (gst_base_transform_init):
3098 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3099 An EOS event marks the queue as completely filled.
3101 2005-10-27 Wim Taymans <wim@fluendo.com>
3103 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3104 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3105 Some more debugging.
3107 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3108 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3109 (gst_base_transform_event), (gst_base_transform_getrange),
3110 (gst_base_transform_chain):
3111 * gst/base/gstbasetransform.h:
3113 Protect transform and concurrent buffer alloc with a new lock.
3114 Try not to break ABI/API.
3116 2005-10-27 Wim Taymans <wim@fluendo.com>
3118 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3119 (gst_base_src_init), (gst_base_src_query),
3120 (gst_base_src_default_newsegment),
3121 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3122 (gst_base_src_send_event), (gst_base_src_event_handler),
3123 (gst_base_src_pad_get_range), (gst_base_src_loop),
3124 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3125 (gst_base_src_start), (gst_base_src_deactivate),
3126 (gst_base_src_activate_push), (gst_base_src_change_state):
3127 Move some stuff around and cleanup things.
3129 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3131 * gst/base/gstbasesrc.c: (gst_base_src_query):
3132 Add missing break statements.
3134 2005-10-27 Wim Taymans <wim@fluendo.com>
3136 * check/gst/gstbin.c: (GST_START_TEST):
3137 An extra refcount is taken in basesrc.
3139 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3140 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3141 (gst_base_src_loop):
3142 Small cleanups, check for flushing after being unlocked from the
3143 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3144 Don't send out EOS when going to READY.
3146 2005-10-27 Wim Taymans <wim@fluendo.com>
3148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3149 (gst_base_sink_get_position):
3152 * gst/gstbin.c: (message_check), (bin_replace_message),
3153 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3154 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3155 (bin_query_duration_init), (bin_query_duration_fold),
3156 (bin_query_duration_done), (bin_query_generic_fold),
3158 * tools/gst-launch.c: (main):
3161 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3163 * examples/controller/audio-example.c: (main):
3164 * examples/queue/queue.c: (event_loop):
3165 * gst/base/gstbasetransform.h:
3166 * gst/gstelement.c: (gst_element_send_event):
3168 * gst/gstpad.c: (gst_pad_send_event):
3171 changing log priority in error situations
3173 2005-10-25 Wim Taymans <wim@fluendo.com>
3175 * gst/gstbin.c: (message_check), (bin_replace_message),
3176 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3177 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3178 (bin_query_duration_init), (bin_query_duration_fold),
3179 (bin_query_duration_done), (bin_query_generic_fold),
3181 Some doc and debug updates.
3182 Cache previously requested query DURATION for speed. invalidate
3183 cached duration if element posts a DURATION message.
3185 2005-10-25 Wim Taymans <wim@fluendo.com>
3187 * docs/design/part-TODO.txt:
3190 * gst/gstbin.c: (message_check), (bin_replace_message),
3191 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3192 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3193 (bin_query_duration_init), (bin_query_duration_fold),
3194 (bin_query_duration_done), (bin_query_generic_fold),
3196 Handle SEGMENT_START/DONE messages correctly.
3197 More evolved query algorithm that handles duration queries
3200 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3201 (gst_element_get_state_func), (gst_element_abort_state),
3202 (gst_element_commit_state), (gst_element_lost_state):
3203 Some more debugging.
3208 2005-10-25 Wim Taymans <wim@fluendo.com>
3210 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3211 Don't use invalid stream_time.
3213 * gst/gstevent.c: (gst_event_new_newsegment):
3214 stream_time in newsegment cannot be undefined.
3216 2005-10-24 Wim Taymans <wim@fluendo.com>
3221 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3223 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3225 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3227 * docs/libs/tmpl/gstdparam.sgml:
3228 * docs/libs/tmpl/gstdplinint.sgml:
3229 * docs/libs/tmpl/gstdpman.sgml:
3230 * docs/libs/tmpl/gstdpsmooth.sgml:
3231 * docs/libs/tmpl/gstunitconvert.sgml:
3234 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3239 === release 0.9.4 ===
3241 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3244 releasing 0.9.4, "Tyrannosaurus Rex"
3246 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3248 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3249 (gst_file_sink_get_current_offset):
3250 Use fseeko() and ftello() if available. When falling back on
3251 lseek() to get the current offset, fflush() first to make sure
3252 everything is up-to-date and we get the right offset.
3254 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3257 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3258 * gst/gsterror.c: (_gst_stream_errors_init):
3260 * gst/gstqueue.c: (gst_queue_loop):
3262 remove prematurely added error category and clean up the instances
3264 2005-10-21 Wim Taymans <wim@fluendo.com>
3266 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3267 (gst_base_sink_get_position), (gst_base_sink_query),
3268 (gst_base_sink_change_state):
3269 Simply set the right flag when going to playing, that's all
3270 we need to do instead of calling a function inside the object
3271 lock (that could take the lock as well and deadlock)
3273 2005-10-21 Wim Taymans <wim@fluendo.com>
3275 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3276 (gst_base_src_loop):
3277 Don't warn, the peer element knows what to do best when
3278 the seek failed, it might try something else.
3280 2005-10-21 Wim Taymans <wim@fluendo.com>
3282 * gst/base/gstbasesrc.c: (gst_base_src_init),
3283 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3286 2005-10-21 Wim Taymans <wim@fluendo.com>
3288 * docs/design/part-segments.txt:
3291 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3292 Correctly set caps, even on the subbufer.
3294 2005-10-21 Wim Taymans <wim@fluendo.com>
3296 * docs/gst/gstreamer-docs.sgml:
3297 * docs/gst/gstreamer-sections.txt:
3304 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3308 And 2% more doc coverage.
3310 2005-10-21 Andy Wingo <wingo@pobox.com>
3312 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3315 2005-10-20 Wim Taymans <wim@fluendo.com>
3317 * gst/gsterror.c: (gst_error_get_message):
3320 * gst/gststructure.c:
3325 2005-10-20 Wim Taymans <wim@fluendo.com>
3330 Another 1% more coverage.
3332 2005-10-20 Wim Taymans <wim@fluendo.com>
3334 * docs/gst/gstreamer-sections.txt:
3335 * gst/gstelement.c: (gst_element_get_state_func),
3336 (gst_element_abort_state), (gst_element_commit_state),
3337 (gst_element_lost_state):
3339 * gst/gstquery.c: (gst_query_set_position),
3340 (gst_query_parse_position), (gst_query_set_duration),
3341 (gst_query_parse_duration), (gst_query_new_convert):
3343 Yay! 1% more docs coverage.
3345 2005-10-20 Wim Taymans <wim@fluendo.com>
3348 * gst/gstquery.c: (gst_query_set_position),
3349 (gst_query_parse_position), (gst_query_set_duration),
3350 (gst_query_parse_duration), (gst_query_new_convert):
3352 * gst/gstutils.c: (gst_element_query_convert):
3354 Docs and consistency fixes.
3356 2005-10-20 Wim Taymans <wim@fluendo.com>
3362 2005-10-20 Wim Taymans <wim@fluendo.com>
3364 * gst/gstbin.c: (message_check), (bin_replace_message),
3365 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3366 (update_degree), (gst_bin_sort_iterator_next),
3367 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3368 Reworked the message handling a bit, cache the messages instead of
3369 only the senders. alows us to do more in the future.
3371 2005-10-20 Wim Taymans <wim@fluendo.com>
3373 * docs/design/part-TODO.txt:
3376 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3377 (gst_base_sink_query):
3378 Don't use clock time to report position when in EOS.
3380 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3382 * tools/gst-inspect.c: (print_interfaces),
3383 (print_element_properties_info), (print_element_info):
3384 Fix interface output with gst-inspect -a; don't print
3385 newlines after double/float properties.
3387 2005-10-20 Wim Taymans <wim@fluendo.com>
3389 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3390 (gst_base_sink_query):
3391 Speed up current position calculation.
3393 * gst/base/gstbasesrc.c: (gst_base_src_query),
3394 (gst_base_src_default_newsegment):
3395 Correctly set stream position in newsegment.
3397 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3398 (update_degree), (gst_bin_sort_iterator_next),
3399 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3400 * gst/gstmessage.c: (gst_message_new_custom):
3401 Clean up debugging info
3403 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3404 (gst_queue_loop), (gst_queue_handle_src_query):
3407 2005-10-19 Wim Taymans <wim@fluendo.com>
3409 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3410 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3411 Fix query handling again.
3413 2005-10-19 Wim Taymans <wim@fluendo.com>
3415 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3416 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3417 * gst/base/gstbasesrc.c: (gst_base_src_query):
3418 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3419 * gst/elements/gsttypefindelement.c:
3420 (gst_type_find_handle_src_query), (find_element_get_length),
3421 (gst_type_find_element_activate):
3424 * gst/gstquery.c: (gst_query_new_position),
3425 (gst_query_set_position), (gst_query_parse_position),
3426 (gst_query_new_duration), (gst_query_set_duration),
3427 (gst_query_parse_duration), (gst_query_set_segment),
3428 (gst_query_parse_segment):
3430 Bundling query position/duration is not a good idea since duration
3431 does not change much and we don't want to recalculate it for every
3432 position query, so they are separated again..
3433 Base value in segment query is not needed.
3435 * gst/gstqueue.c: (gst_queue_handle_src_query):
3436 * gst/gstutils.c: (gst_element_query_position),
3437 (gst_element_query_duration), (gst_pad_query_position),
3438 (gst_pad_query_duration):
3440 Updates for query API change.
3441 Added some docs here and there.
3443 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3445 * check/gst/gstbin.c: (GST_START_TEST):
3446 * check/gst/gstghostpad.c: (GST_START_TEST):
3447 * check/pipelines/cleanup.c: (GST_START_TEST):
3448 wait on thread to die so we can check refcount correctly
3450 2005-10-18 Wim Taymans <wim@fluendo.com>
3452 * check/pipelines/stress.c: (GST_START_TEST):
3453 Make check a little more time consuming.
3455 2005-10-18 Wim Taymans <wim@fluendo.com>
3457 * check/Makefile.am:
3458 * check/pipelines/stress.c: (GST_START_TEST),
3459 (simple_launch_lines_suite), (main):
3460 Small state change torture test.
3462 * docs/design/part-states.txt:
3463 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3464 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3465 (gst_base_sink_change_state):
3466 Never take state lock from streaming thread, clean up ugly
3467 hacks. Unfortunatly core does not yet support nice ways to
3470 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3472 Start state recalc if a STATE_DIRTY message is posted, but only
3473 on the toplevel bin.
3475 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3476 (gst_element_get_state_func), (gst_element_abort_state),
3477 (gst_element_commit_state), (gst_element_lost_state),
3478 (gst_element_set_state_func), (gst_element_change_state):
3480 State variables are now protected with the LOCK, the state
3481 lock is only used to serialize _set_state().
3483 2005-10-18 Wim Taymans <wim@fluendo.com>
3485 * check/gst/gstbin.c: (GST_START_TEST):
3486 * check/gst/gstmessage.c: (GST_START_TEST):
3487 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3488 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3490 * gst/gstelement.c: (gst_element_abort_state),
3491 (gst_element_commit_state), (gst_element_lost_state):
3492 * gst/gstmessage.c: (gst_message_new_state_changed),
3493 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3494 (gst_message_new_segment_done), (gst_message_new_duration),
3495 (gst_message_parse_state_changed),
3496 (gst_message_parse_segment_start),
3497 (gst_message_parse_segment_done), (gst_message_parse_duration):
3499 * tools/gst-launch.c: (event_loop):
3500 Seriously, this is better than a previous commit as we only need
3501 to notify the fact that an element changed state in a streaming
3502 thread, marking the state of the parents dirty, hence the
3503 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3506 2005-10-18 Wim Taymans <wim@fluendo.com>
3508 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3509 (gst_bin_recalc_func):
3510 * gst/gstelement.c: (gst_element_set_clock),
3511 (gst_element_abort_state), (gst_element_lost_state):
3512 Cleanups, prepare for state change fixes.
3514 2005-10-18 Wim Taymans <wim@fluendo.com>
3517 * gst/gstelement.c: (gst_element_class_init),
3518 (gst_element_set_state), (gst_element_set_state_func):
3520 Pending ABI changes.
3521 GThreadPool in GstBinClass to monitor async state changes.
3522 state_cookie in GstElement to detect concurrent gst/set state.
3523 set_state is now virtual too in case a very complicated element
3524 has to be constructed.
3526 2005-10-18 Wim Taymans <wim@fluendo.com>
3528 * check/gst/gstbin.c: (GST_START_TEST):
3529 * check/gst/gstmessage.c: (GST_START_TEST):
3530 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3531 * gst/gstbin.c: (bin_bus_handler):
3532 * gst/gstelement.c: (gst_element_commit_state),
3533 (gst_element_lost_state):
3534 * gst/gstmessage.c: (gst_message_new_state_changed),
3535 (gst_message_new_segment_start), (gst_message_new_segment_done),
3536 (gst_message_new_duration), (gst_message_parse_state_changed),
3537 (gst_message_parse_segment_start),
3538 (gst_message_parse_segment_done), (gst_message_parse_duration):
3540 * tools/gst-launch.c: (event_loop):
3541 Make messages future proof.
3542 state-change gets a flag if it was a message comming from the
3544 segment-start/stop can also be specified in other formats.
3545 A message to notify an app that a pipeline changed playback
3547 Also fix a GstMessage leak in -launch
3549 2005-10-18 Andy Wingo <wingo@pobox.com>
3551 * gst/gstelement.c (gst_element_dispose): More helpful message.
3553 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3555 reviewed by: <delete if not using a buddy>
3557 * common/gtk-doc.mak:
3559 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3561 * gst/gstregistry.c: (gst_registry_scan_path_level):
3562 unref a plug-in we get that was already initialized
3564 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3566 * docs/gst/gstreamer-sections.txt:
3567 * docs/libs/gstreamer-libs-sections.txt:
3572 2005-10-17 Andy Wingo <wingo@pobox.com>
3574 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3577 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3579 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3581 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3582 (gst_element_get_state_func): Better debug message.
3583 (gst_element_commit_state): s/INFO/DEBUG/.
3584 (gst_element_lost_state, gst_element_change_state):
3586 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3587 (gst_message_new_custom): s/INFO/LOG/.
3589 2005-10-17 Michael Smith <msmith@fluendo.com>
3591 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3592 Check if end time is valid using end time, not start time.
3594 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3596 * check/gst-libs/controller.c: (GST_START_TEST),
3597 (gst_controller_suite):
3598 * libs/gst/controller/gstcontroller.c:
3599 (gst_controlled_property_set_interpolation_mode):
3600 * libs/gst/controller/gstcontroller.h:
3601 * libs/gst/controller/gstinterpolation.c:
3602 * testsuite/controller/.cvsignore:
3603 * testsuite/controller/Makefile.am:
3604 * testsuite/controller/interpolator.c:
3605 merge controller testsuites
3607 remove mem-chunk from docs
3609 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3611 * gst/gstmemchunk.c:
3612 * gst/gstmemchunk.h:
3613 * gst/gsttrashstack.c:
3614 * gst/gsttrashstack.h:
3615 out. get out. you're fired. to the Attic !
3617 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3619 * gst/gstcaps.c: (gst_caps_intersect):
3620 fix signedness issues in a (hopefully) correct way
3621 * gst/gstelement.c: (gst_element_pads_activate):
3623 * gst/gstobject.c: (gst_object_set_parent):
3626 2005-10-17 Julien MOUTTE <julien@moutte.net>
3628 * gst/gstvalue.h: Fix prototypes.
3630 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3632 * docs/gst/gstreamer-sections.txt:
3633 * gst/gst.c: (gst_version_string):
3635 * gst/gstversion.h.in:
3636 * win32/common/libgstreamer.def:
3637 add gst_version_string ()
3639 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3643 * gst/gst.c: (init_post):
3644 * win32/common/config.h.in:
3646 * gst/gstcaps.c: (gst_caps_intersect):
3647 use gint64, the range could be bigger than a guint
3649 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3652 document potential problem in 2038
3654 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3656 * gst/gstcaps.c: (gst_caps_intersect):
3657 Fix guint j diving under 0
3659 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3662 * win32/common/config.h:
3663 * win32/common/config.h.in:
3664 check for process.h, declares getpid() on Windows
3666 include process.h if we have it
3667 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3668 * gst/gstmemchunk.h:
3669 fix signedness issues
3670 * win32/common/libgstreamer.def:
3673 2005-10-16 Julien MOUTTE <julien@moutte.net>
3675 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3676 fix. Because of unsigned ints, caps intersection was going nuts and
3677 trying to access structures with G_MAXUINT index. That fixes
3678 videotestsrc ! ffmpegcolorspace ! fakesink
3679 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3682 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3685 use the gettext macro
3686 * gst/elements/gstelements.c:
3688 * gst/indexers/gstindexers.c:
3689 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3690 * win32/common/config.h:
3692 * win32/common/config.h.in:
3693 add the template to generate config.h
3694 * win32/common/gstenumtypes.c:
3695 * win32/common/gstversion.h:
3698 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3700 * gst/gst.c: (gst_version):
3701 * gst/gstversion.h.in:
3704 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3707 Oops, add missing closing bracket.
3709 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3712 use common m4's for argument checking
3714 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3716 * docs/gst/gstreamer-sections.txt:
3718 Add GST_EVENT_TYPE_NAME() macro.
3720 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3723 * gst/gstpluginfeature.c:
3725 privatize more symbols
3727 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3730 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3731 everything that uses GStreamer API should have the includes
3733 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3735 * docs/gst/gstreamer-sections.txt:
3736 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3738 give each value a _get_type, removes the DATA exports
3740 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3744 remove _gst_registry_auto_load, not used anymore
3745 * gst/gstbin.c: (gst_bin_get_type):
3747 * gst/gstelement.c: (gst_element_get_type):
3749 * gst/gstobject.c: (gst_object_get_type):
3751 * gst/gstpad.c: (gst_pad_get_type):
3753 make _get_type functions similar, fixes data export from library
3755 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3758 correctly make conditionals
3759 * gst/elements/Makefile.am:
3760 * gst/elements/gstelements.c:
3761 fix typo causing fdsrc not to build
3763 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3765 * testsuite/Makefile.am:
3766 * testsuite/bytestream/.cvsignore:
3767 * testsuite/bytestream/Makefile.am:
3768 * testsuite/bytestream/filepadsink.c:
3769 * testsuite/bytestream/gstbstest.c:
3770 * testsuite/bytestream/test1.c:
3771 * testsuite/bytestream/testfile1:
3772 * testsuite/caps/normalisation.c:
3773 * testsuite/caps/random.c: (main):
3774 * testsuite/cleanup/.cvsignore:
3775 * testsuite/cleanup/Makefile.am:
3776 * testsuite/cleanup/cleanup1.c:
3777 * testsuite/cleanup/cleanup2.c:
3778 * testsuite/cleanup/cleanup3.c:
3779 * testsuite/cleanup/cleanup4.c:
3780 * testsuite/cleanup/cleanup5.c:
3781 * testsuite/controller/interpolator.c:
3782 * testsuite/debug/printf_extension.c: (main):
3783 * testsuite/elements/tee.c:
3784 * testsuite/negotiation/.cvsignore:
3785 * testsuite/negotiation/Makefile.am:
3786 * testsuite/negotiation/pad_link.c:
3787 * testsuite/pad/Makefile.am:
3788 * testsuite/pad/chainnopull.c:
3789 * testsuite/pad/getnopush.c:
3790 * testsuite/pad/link.c:
3791 * testsuite/refcounting/sched.c: (create_pipeline):
3792 * testsuite/registry/Makefile.am:
3793 * testsuite/registry/gst-print-formats.c:
3794 * testsuite/schedulers/.cvsignore:
3795 * testsuite/schedulers/142183-2.c:
3796 * testsuite/schedulers/142183.c:
3797 * testsuite/schedulers/143777-2.c:
3798 * testsuite/schedulers/143777.c:
3799 * testsuite/schedulers/147713.c:
3800 * testsuite/schedulers/147819.c:
3801 * testsuite/schedulers/147894-2.c:
3802 * testsuite/schedulers/147894.c:
3803 * testsuite/schedulers/Makefile.am:
3804 * testsuite/schedulers/group_link.c:
3805 * testsuite/schedulers/queue_link.c:
3806 * testsuite/schedulers/relink.c:
3807 * testsuite/schedulers/unlink.c:
3808 * testsuite/schedulers/unref.c:
3809 * testsuite/schedulers/useless_iteration.c:
3810 * testsuite/states/bin.c:
3811 clean out/remove some stuff from the testsuite directories
3813 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3816 check for some headers
3817 * gst/elements/Makefile.am:
3818 * gst/elements/gstelements.c:
3819 don't compile fdsrc without sys/socket.h
3820 * gst/indexers/Makefile.am:
3821 * gst/indexers/gstindexers.c: (plugin_init):
3822 don't compile fileindex without mmap
3824 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3831 * check/Makefile.am:
3832 * docs/gst/Makefile.am:
3833 * examples/helloworld/Makefile.am:
3835 * gst/base/Makefile.am:
3836 * gst/check/Makefile.am:
3837 * gst/elements/Makefile.am:
3838 * gst/indexers/Makefile.am:
3839 * gst/parse/Makefile.am:
3840 * libs/gst/controller/Makefile.am:
3841 * libs/gst/dataprotocol/Makefile.am:
3842 * examples/helloworld/helloworld.c: (event_loop):
3843 compile fixes, though it's not being compiled currently
3845 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3847 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3848 Add some simple tests for the new taglist date API.
3850 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3852 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3853 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3854 Beautify 'last-message' output: print 'none' for buffer timestamps
3855 and durations if none is set; improve alignment with next messages.
3857 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3859 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3860 * gst/gstpluginfeature.h:
3861 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3862 * gst/gstregistry.h:
3863 * docs/gst/gstreamer-sections.txt:
3864 Add new API to check plugin feature version requirements.
3866 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3867 Some basic tests for the above.
3869 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3871 * gst/gststructure.c: (gst_structure_to_string):
3872 guard against NULL printf - happens when for example
3873 a message structure with GstClock gets serialized
3875 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3877 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3878 Fix presumable copy'n'pasto.
3880 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3882 * gst/elements/gstfakesrc.h:
3883 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3884 * gst/elements/gsttypefindelement.c:
3886 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3887 I wonder if this could actually write +2GB files before
3889 2005-10-13 Andy Wingo <wingo@pobox.com>
3891 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3892 Fix Timmeke Waymans bug.
3893 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3894 string of the proper length to gst_caps_from_string. There's a
3895 potential for, before this fix, that this could cause someone
3896 connecting over the network to cause a segfault if the payload is
3899 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3901 * docs/design/draft-push-pull.txt:
3902 * docs/design/part-overview.txt:
3903 * docs/random/TODO-pre-0.9:
3904 * docs/random/old/ChangeLog.gstreamer:
3905 * gst/base/gstpushsrc.c:
3909 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3911 * gst/glib-compat.c: (gst_flags_get_first_value):
3912 * gst/glib-compat.h:
3913 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3914 (gst_value_compare_double), (gst_value_serialize_flags):
3915 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3918 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3920 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3921 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3923 * tools/gst-launch.c: (event_loop):
3924 print out clock nicely
3926 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3928 * docs/gst/gstreamer-sections.txt:
3930 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3931 (gst_tag_list_get_date_index):
3932 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3933 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3935 2005-10-13 Julien MOUTTE <julien@moutte.net>
3937 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3938 (gst_collectpads_chain):
3939 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3942 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3944 * docs/gst/gstreamer-sections.txt:
3947 * tools/gst-inspect.c: (main):
3948 * tools/gst-launch.c: (main):
3949 * tools/gst-run.c: (main):
3950 * tools/gst-xmlinspect.c: (main):
3951 fix GOption context leaks
3954 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3958 * win32/common/config.h:
3960 * win32/vs6/grammar.dsp:
3961 * win32/vs6/libgstelements.dsp:
3962 * win32/vs6/libgstreamer.dsp:
3965 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3968 * gst/base/gstbasesrc.c: (gst_base_src_query):
3969 fix more guint64<->gdouble conversions
3971 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3974 add win32-update target
3975 * win32/common/gstconfig.h:
3976 * win32/common/gstenumtypes.c:
3977 * win32/common/gstenumtypes.h:
3978 * win32/common/gstversion.h:
3979 add files that visual studio can't generate
3981 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3984 add a win32-update target
3987 2005-10-12 Wim Taymans <wim@fluendo.com>
3989 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3990 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3991 * gst/gstelement.c: (gst_element_commit_state),
3992 (gst_element_set_state):
3993 Protect flags with proper lock.
3994 unref provided cached clock in dispose.
3996 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3999 * gst/gstminiobject.h:
4001 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4002 removed unused flags from miniobject
4005 2005-10-12 Wim Taymans <wim@fluendo.com>
4007 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4008 (gst_file_sink_event), (gst_file_sink_render):
4009 Flush before seeking.
4011 2005-10-12 Andy Wingo <wingo@pobox.com>
4013 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4014 always been the case.
4016 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4018 * check/gst/gstbin.c: (GST_START_TEST):
4019 * docs/gst/gstreamer-sections.txt:
4020 * gst/base/gstbasesink.c: (gst_base_sink_init):
4021 * gst/base/gstbasesrc.c: (gst_base_src_init),
4022 (gst_base_src_get_range), (gst_base_src_check_get_range),
4023 (gst_base_src_start), (gst_base_src_stop):
4024 * gst/base/gstbasesrc.h:
4025 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4026 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4027 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4031 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4033 * gst/gstelement.c: (gst_element_is_locked_state),
4034 (gst_element_set_locked_state), (gst_element_commit_state),
4035 (gst_element_set_state):
4037 * gst/gstindex.c: (gst_index_init):
4039 * gst/gstminiobject.h:
4040 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4041 (gst_object_set_parent):
4043 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4044 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4046 * gst/gstpadtemplate.h:
4047 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4048 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4049 * gst/gstpipeline.h:
4050 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4051 (gst_file_index_commit):
4052 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4053 * testsuite/pad/link.c: (gst_test_src_init),
4054 (gst_test_filter_init), (gst_test_sink_init):
4055 * testsuite/states/locked.c: (main):
4056 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4057 moved bitshift from macro to enum definition
4059 2005-10-12 Wim Taymans <wim@fluendo.com>
4061 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4062 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4063 (gst_file_sink_render):
4064 Some more debugging info.
4066 2005-10-12 Wim Taymans <wim@fluendo.com>
4068 * docs/design/part-states.txt:
4069 * tools/gst-launch.c: (main):
4071 Revert non-intentional change.
4073 2005-10-12 Wim Taymans <wim@fluendo.com>
4075 * check/gst/gstbin.c: (GST_START_TEST):
4076 * check/gst/gstelement.c: (GST_START_TEST):
4077 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4078 * check/gst/gstghostpad.c: (GST_START_TEST):
4079 * check/gst/gstpipeline.c: (GST_START_TEST):
4080 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4081 * check/states/sinks.c: (GST_START_TEST):
4082 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4083 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4084 (gst_bin_remove_func), (gst_bin_get_state_func),
4085 (gst_bin_recalc_state), (gst_bin_change_state_func),
4087 * gst/gstelement.c: (gst_element_get_state_func),
4088 (gst_element_get_state), (gst_element_abort_state),
4089 (gst_element_commit_state), (gst_element_set_state),
4090 (gst_element_change_state), (gst_element_change_state_func):
4092 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4093 (gst_pipeline_provide_clock_func):
4094 * gst/gstutils.c: (gst_element_link_pads_filtered):
4095 * tools/gst-launch.c: (main):
4096 * tools/gst-typefind.c: (main):
4097 Use GstClockTime in _get_state() instead of GTimeVal.
4098 Remove old code in gstutils.c
4100 2005-10-12 Andy Wingo <wingo@pobox.com>
4102 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4105 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4106 there is no task. Shouldn't affect any code, as nothing in our
4107 plugins checks this return value.
4108 (gst_pad_stop_task): Also take the stream lock if the pad has no
4111 2005-10-12 Wim Taymans <wim@fluendo.com>
4113 * gst/gstpad.c: (pre_activate), (post_activate),
4114 (gst_pad_activate_pull), (gst_pad_activate_push):
4115 Cleanup activation code. Reset old state if
4118 2005-10-12 Wim Taymans <wim@fluendo.com>
4120 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4121 (gst_base_sink_change_state):
4122 No need to prerol after receiving EOS.
4124 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4125 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4126 * gst/elements/gstidentity.c: (gst_identity_event):
4127 Print events more verbosely.
4129 2005-10-12 Wim Taymans <wim@fluendo.com>
4131 * check/Makefile.am:
4132 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4133 * check/states/sinks2.c:
4134 Moved sinks2 testcode in sinks check.
4136 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4137 (gst_bin_remove_func), (gst_bin_recalc_state),
4138 (gst_bin_change_state_func), (bin_bus_handler):
4139 Fix potential race condition when _get_state() iterated over an
4140 ASYNC element right before it posted a state completion.
4143 Do proper cast here.
4145 * gst/gstevent.c: (gst_event_new_newsegment),
4146 (gst_event_parse_newsegment):
4147 A playback rate of 0.0 is not allowed.
4149 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4151 * win32/common/config.h:
4152 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4153 (_trewinddir), (_ttelldir), (_tseekdir):
4154 * win32/common/dirent.h:
4155 * win32/common/gtchar.h:
4156 * win32/common/libgstbase.def:
4157 * win32/common/libgstreamer.def:
4158 * win32/vs6/grammar.dsp:
4159 * win32/vs6/gst_inspect.dsp:
4160 * win32/vs6/gst_launch.dsp:
4161 * win32/vs6/gstreamer.dsw:
4162 * win32/vs6/libgstbase.dsp:
4163 * win32/vs6/libgstelements.dsp:
4164 * win32/vs6/libgstreamer.dsp:
4165 Visual Studio 6 project files, and a new common directory.
4168 2005-10-11 Wim Taymans <wim@fluendo.com>
4170 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4171 (gst_base_sink_do_sync), (gst_base_sink_query),
4172 (gst_base_sink_change_state):
4173 * gst/base/gstbasesink.h:
4174 Correctly parse newsegment info.
4176 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4178 * gst/gst.c: (init_post):
4179 split plugin paths correctly
4181 2005-10-11 Wim Taymans <wim@fluendo.com>
4183 * check/gst/gstevent.c: (GST_START_TEST):
4184 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4185 (gst_base_sink_change_state):
4186 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4187 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4188 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4189 * gst/gstevent.c: (gst_event_new_newsegment),
4190 (gst_event_parse_newsegment):
4192 Added extra flag to newsegment for future API freeze.
4193 Updated check and base elements.
4195 2005-10-11 Julien MOUTTE <julien@moutte.net>
4197 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4198 (gst_collectpads_add_pad), (gst_collectpads_pop),
4199 (gst_collectpads_event), (gst_collectpads_chain):
4200 * gst/base/gstcollectpads.h: Handle EOS correctly.
4202 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4204 * tools/gst-launch.c: (main):
4205 more null protecting
4207 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4209 * gst/gst-i18n-lib.h:
4210 check for ENABLE_NLS, not GETTEXT_PACKAGE
4211 * gst/gstregistry.c: (gst_registry_add_plugin),
4212 (gst_registry_scan_path_level),
4213 (_gst_registry_remove_cache_plugins):
4214 protect possibly NULL strings
4215 * gst/parse/types.h:
4216 config.h already included before
4217 * tools/gst-inspect.c: (main):
4218 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4219 check for ENABLE_NLS, not GETTEXT_PACKAGE
4220 * tools/gst-launch.c: (main):
4221 check for ENABLE_NLS, not GETTEXT_PACKAGE
4223 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4226 if we don't have glib, fail before testing 2.8
4227 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4228 fix a leak, should fix plugins-base testsuite
4230 2005-10-11 Andy Wingo <wingo@pobox.com>
4232 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4233 take the mode we're going to as an arg. Go head and set the mode
4234 and flushing flags now, so that if the activate function starts a
4235 thread all the flags will be in the right state.
4236 (post_activate): Renamed also. Just handle making sure streaming
4237 finishes for the deactivation case, and setting the deactivated
4239 (gst_pad_set_active): Complain loudly if deactivation fails.
4240 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4241 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4242 remove the terrible hack.
4244 2005-10-11 Wim Taymans <wim@fluendo.com>
4246 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4247 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4248 (gst_bin_recalc_state), (gst_bin_change_state_func),
4249 (gst_bin_dispose), (bin_bus_handler):
4251 Prepare to make current EOS message queue more generic.
4254 * gst/gstevent.c: (gst_event_new_newsegment),
4255 (gst_event_parse_newsegment):
4257 Rename base to stream_time.
4262 2005-10-11 Wim Taymans <wim@fluendo.com>
4264 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4265 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4266 (gst_bin_change_state_func), (bin_bus_handler):
4268 Work on proper clock selection.
4270 2005-10-11 Edward Hervey <edward@fluendo.com>
4272 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4273 * libs/gst/controller/gstcontroller.h:
4274 Added GList* version of _remove_properties() in order to be able to wrap
4277 2005-10-11 Wim Taymans <wim@fluendo.com>
4279 * docs/design/part-states.txt:
4282 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4283 (gst_bin_change_state_func), (bin_bus_handler):
4284 Doc updates. Don't distribute the same clock over and over again.
4290 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4291 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4292 (gst_pad_send_event):
4294 Make probe emission threadsafe again.
4295 Register quarks and move _get_name() from utils.
4298 * gst/gstpipeline.c: (gst_pipeline_class_init),
4299 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4300 Only redistribute the clock of it changed.
4302 * gst/gstsystemclock.h:
4307 Moved the _flow_get_name() to GstPad.
4309 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4311 * check/gst-libs/gdp.c: (GST_START_TEST):
4312 * check/gst/gstcaps.c: (GST_START_TEST):
4313 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4314 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4315 (gst_dp_packet_from_caps):
4316 fix more valgrind warnings before turning up the heat
4318 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4320 * gst/parse/grammar.y:
4321 some cleanup before the hacking
4323 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4325 * gst/base/gstbasesrc.c: (gst_base_src_query):
4327 * gst/gstutils.c: (gst_guint64_to_gdouble),
4328 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4330 externalize, basesrc uses it
4331 obviously the implementation needs testing
4333 2005-10-10 Wim Taymans <wim@fluendo.com>
4335 * tests/sched/Makefile.am:
4336 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4337 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4339 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4341 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4342 apparently converting from guint64 to double is not implemented
4345 2005-10-10 Wim Taymans <wim@fluendo.com>
4347 * check/Makefile.am:
4348 * check/generic/states.c: (GST_START_TEST):
4349 * check/gst/gstbin.c: (GST_START_TEST):
4350 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4351 * check/states/sinks.c: (GST_START_TEST):
4352 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4354 Check fixes, use API as stated in design docs, remove hacks.
4356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4357 (gst_base_sink_change_state):
4358 Catch stopping our task while we're shutting down.
4360 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4361 (gst_bin_remove_func), (gst_bin_get_state_func),
4362 (gst_bin_recalc_state), (gst_bin_change_state_func),
4365 * gst/gstelement.c: (gst_element_init),
4366 (gst_element_get_state_func), (gst_element_abort_state),
4367 (gst_element_commit_state), (gst_element_lost_state),
4368 (gst_element_set_state), (gst_element_change_state),
4369 (gst_element_change_state_func):
4371 New state change algorithm (see #318116)
4373 * gst/gstpipeline.c: (gst_pipeline_class_init),
4374 (gst_pipeline_init), (gst_pipeline_set_property),
4375 (gst_pipeline_get_property), (do_pipeline_seek),
4376 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4377 * gst/gstpipeline.h:
4378 Remove crude state change hacks.
4383 * tools/gst-launch.c: (main):
4384 Fixes for state change. Needs some more work to fully use the
4387 2005-10-10 Andy Wingo <wingo@pobox.com>
4389 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4391 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4392 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4395 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4397 * gst/gstiterator.c: (gst_iterator_new):
4398 Fix my previous commit: GTypes passed to gst_iterator_new()
4399 can be fundamental types.
4401 2005-10-10 Wim Taymans <wim@fluendo.com>
4403 * gst/gstelement.c: (gst_element_iterate_pad_list),
4404 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4405 (gst_element_iterate_sink_pads):
4406 Use src/sink pads lists for the respective iterators instead
4409 2005-10-10 Andy Wingo <wingo@pobox.com>
4411 Merged in popt removal + GOption addition patch from Ronald, bug
4414 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4415 GstElement macros around, remove popt-related symbols, add goption
4418 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4420 * docs/gst/Makefile.am:
4421 * docs/libs/Makefile.am: No POPT_CFLAGS.
4423 * examples/manual/Makefile.am:
4424 * docs/manual/basics-init.xml: Doc updates with an example.
4426 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4427 (gst_init), (parse_one_option), (parse_goption_arg):
4428 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4429 bit of hand merging and debugging to get the GOption stuff working
4432 * tests/Makefile.am:
4433 * tools/Makefile.am:
4434 * tools/gst-inspect.c: (main):
4435 * tools/gst-launch.c: (main):
4436 * tools/gst-run.c: (main):
4437 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4439 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4441 * gst/gstiterator.c: (gst_iterator_new):
4442 Add assertions to make sure passed GType is likely to really
4443 be a GType (as the compiler won't catch it if the size and
4444 GType arguments get mixed up, see #318447).
4446 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4448 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4450 * gst/gstbin.c: (gst_bin_iterate_sorted):
4451 Pass GType and size arguments to gst_iterator_new() in the right
4452 order (maybe we should make _new() take the GType as first argument
4453 just like _new_list()?) (#318447).
4456 2005-10-10 Wim Taymans <wim@fluendo.com>
4458 * gst/gstelement.c: (gst_element_finalize):
4459 And free the GStaticRecMutex too
4461 2005-10-10 Andy Wingo <wingo@pobox.com>
4463 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4464 Allocate and free the mutex properly.
4466 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4468 (GstElement): The state_lock is now recursive. Rebuild your
4469 plugins, suckers. Old macros adapted.
4471 * docs/gst/gstreamer-sections.txt: Doc updates.
4474 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4475 (g_static_rec_cond_wait): Ported from state changes patch, while
4476 we wait on bug #317802 to be solved in a well-distributed GLib.
4478 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4479 gst_element_change_state, variable name changes.
4480 (gst_element_change_state): Split out of gst_element_set_state in
4481 preparation for the state change merge. Doesn't pay attention to
4482 the 'transition' argument.
4483 (gst_element_set_state): Updates, hopefully purely cosmetic.
4484 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4486 (gst_element_get_state_func): Renamed from get_state, cosmetic
4489 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4491 * gst/elements/gstelements.c:
4492 * win32/GStreamer.vcproj:
4494 * win32/dirent.c: (_tseekdir):
4495 * win32/gst-inspect.vcproj:
4496 * win32/gst-launch.vcproj:
4497 * win32/gstconfig.h:
4498 * win32/gstelements.vcproj:
4499 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4500 * win32/gstreamer.def:
4502 updates for the win32 build (patch from Sebastien Moutte)
4504 2005-10-10 Andy Wingo <wingo@pobox.com>
4506 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4507 gst_bin_get_state, cleaned up (but no logic changes).
4508 (bin_element_is_sink): Comment updates.
4509 (sink_iterator_filter): Remove needless cast.
4510 (gst_bin_iterate_sinks): Doc update.
4511 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4512 cleaned up (but no logic changes).
4514 * check/states/sinks.c (test_src_sink): Cleanups from the state
4516 (test_livesrc_sink): Sync on the state.
4518 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4519 the state change patch.
4521 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4524 * check/gst/gstbin.c: Merge in some style fixes and additional
4525 checks from Wim's state change patch.
4527 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4529 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4530 (gst_type_find_helper):
4531 Check whether we have the requested data already in our list of
4532 cached buffers before pulling a new buffer; also make the buffer
4533 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4535 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4540 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4541 don't use long long, it's not portable. Replacing with
4542 gint64 seems to work; let's hope no skeletons fall out of the closet.
4544 2005-10-10 Andy Wingo <wingo@pobox.com>
4546 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4548 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4550 * docs/gst/gstreamer-sections.txt:
4555 * gst/gstmessage.c: (gst_message_parse_state_changed):
4558 more docs, fix compilation
4560 2005-10-09 Philippe Khalaf <burger@speedy.org>
4562 Fixed a few forgotten variables on previous commit
4564 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4566 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4567 Fix evil typefind crasher: getrange() might return a short
4568 buffer at the end of a file, but gst_type_find_peek() must
4569 either return the full data as requested or NULL, but
4570 never a short buffer.
4572 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4574 * gst/gstmessage.c: (gst_message_new_state_changed),
4575 (gst_message_parse_state_changed):
4577 don't use "new", it's a C++ keyword
4579 2005-10-08 Wim Taymans <wim@fluendo.com>
4581 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4582 * gst/gstelement.c: (gst_element_post_message):
4583 * gst/gstpipeline.c: (gst_pipeline_change_state):
4584 Small docs and debug updates.
4586 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4588 * docs/gst/gstreamer-sections.txt:
4589 * gst/gstelementfactory.c:
4594 2005-10-08 Wim Taymans <wim@fluendo.com>
4596 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4597 (gst_bin_dispose), (bin_bus_handler):
4598 Fix typos, add comments.
4599 Clear EOS list when going to PAUSED from any direction and do it
4600 in a threadsafe way.
4601 Get base time in a threadsafe way too.
4602 Fix confusing debug in the change_state function.
4603 Various other small cleanups.
4605 * gst/gstelement.c: (gst_element_post_message):
4606 Fix very verbose bus posting code.
4608 * gst/gstpipeline.c: (gst_pipeline_class_init),
4609 (gst_pipeline_set_property), (gst_pipeline_get_property),
4610 (gst_pipeline_change_state):
4611 Small ARG_ -> PROP_ cleanup
4613 2005-10-08 Wim Taymans <wim@fluendo.com>
4615 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4616 Do a less CPU demanding EOS check because we can.
4618 2005-10-08 Wim Taymans <wim@fluendo.com>
4620 * libs/gst/dataprotocol/dataprotocol.c:
4621 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4622 (gst_dp_packet_from_event):
4623 * libs/gst/dataprotocol/dataprotocol.h:
4624 * libs/gst/dataprotocol/dp-private.h:
4625 It's about time we bump the version number.
4626 Since event types don't fit in the guint8 anymore describing
4627 the payload type, make payload type 16 bits wide.
4629 2005-10-08 Wim Taymans <wim@fluendo.com>
4631 * docs/design/part-TODO.txt:
4632 * docs/design/part-clocks.txt:
4633 * docs/design/part-events.txt:
4634 * docs/design/part-gstbin.txt:
4635 * docs/design/part-gstelement.txt:
4636 * docs/design/part-gstpipeline.txt:
4637 * docs/design/part-live-source.txt:
4638 * docs/design/part-messages.txt:
4639 * docs/design/part-overview.txt:
4640 * docs/design/part-states.txt:
4643 2005-10-08 Wim Taymans <wim@fluendo.com>
4647 Fix event quark registration.
4648 Add some space between events so we can insert them in the
4651 2005-10-08 Wim Taymans <wim@fluendo.com>
4653 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4654 (gst_base_sink_handle_buffer):
4661 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4662 (gst_queue_set_property), (gst_queue_get_property):
4664 Remove old unused properties.
4666 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4667 * docs/gst/gstreamer-sections.txt:
4670 * gst/gstminiobject.c:
4671 * gst/gstminiobject.h:
4675 lots of new docs and doc fixes
4677 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4679 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4681 * gst/gstregistry.c: (gst_registry_lookup_locked),
4682 (gst_registry_scan_path_level):
4683 * gst/gstregistryxml.c: (load_plugin):
4684 Only ever load one plugin for a given plugin basename.
4685 This ensures correct overriding of GST_PLUGIN_PATH over
4686 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4687 system installed plugins.
4689 2005-10-08 Wim Taymans <wim@fluendo.com>
4691 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4692 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4693 Prepare for doing QOS.
4695 2005-10-08 Wim Taymans <wim@fluendo.com>
4697 * check/gst/gstbin.c: (GST_START_TEST):
4698 * check/pipelines/cleanup.c: (GST_START_TEST):
4699 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4700 Allow new clock message too.
4702 2005-10-08 Wim Taymans <wim@fluendo.com>
4704 * gst/gstmessage.c: (gst_message_new_error),
4705 (gst_message_new_warning), (gst_message_new_tag),
4706 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4707 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4708 (gst_message_new_segment_start), (gst_message_new_segment_done),
4709 (gst_message_parse_state_changed),
4710 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4711 (gst_message_parse_new_clock):
4713 Also carry the clock in question.
4715 2005-10-08 Wim Taymans <wim@fluendo.com>
4717 * gst/gstmessage.c: (gst_message_new_custom),
4718 (gst_message_new_eos), (gst_message_new_error),
4719 (gst_message_new_warning), (gst_message_new_tag),
4720 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4721 (gst_message_new_new_clock), (gst_message_new_segment_start),
4722 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4723 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4726 Added clock related messages.
4728 * gst/gstpipeline.c: (gst_pipeline_change_state):
4729 Post message when the clock changed.
4731 * tools/gst-launch.c: (event_loop):
4734 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4736 * tools/gst-inspect.c: (print_element_properties_info):
4737 Can't pass NULL strings to g_print() on windows.
4739 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4742 * docs/gst/Makefile.am:
4743 * docs/gst/gstreamer-docs.sgml:
4744 * docs/gst/running.xml:
4745 * docs/version.entities.in:
4746 add a chapter on running GStreamer.
4747 document GST_DEBUG and GST_PLUGIN* env vars
4749 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4754 remove PLUGINS_BUILDDIR stuff
4755 * gst/gst.c: (init_post):
4756 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4758 remove, it was condescending and not needed
4760 2005-10-08 Wim Taymans <wim@fluendo.com>
4762 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4763 (gst_base_sink_handle_object), (gst_base_sink_event),
4764 (gst_base_sink_wait), (gst_base_sink_handle_event),
4765 (gst_base_sink_change_state):
4766 * gst/base/gstbasesink.h:
4767 Repost EOS message while going to PLAYING if still EOS.
4768 Make sure that when receiving a FLUSH_START we don't attempt
4769 to sync on the clock anymore.
4771 2005-10-08 Wim Taymans <wim@fluendo.com>
4773 * tools/gst-launch.c: (event_loop):
4774 Better message printout.
4776 2005-10-08 Wim Taymans <wim@fluendo.com>
4778 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4779 (gst_bin_child_proxy_get_children_count):
4780 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4781 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4782 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4783 (gst_child_proxy_set_valist):
4784 * gst/parse/grammar.y:
4785 Make ChildProxy threadsafe and fix mem leaks.
4787 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4789 * gst/gst.c: (init_post):
4790 debug the GST_PLUGIN_ env vars
4792 2005-10-08 Wim Taymans <wim@fluendo.com>
4794 * check/gst/gstbin.c: (GST_START_TEST):
4795 * check/gst/gstmessage.c: (GST_START_TEST):
4796 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4797 * gst/gstelement.c: (gst_element_commit_state),
4798 (gst_element_lost_state):
4799 * gst/gstmessage.c: (gst_message_new_state_changed),
4800 (gst_message_parse_state_changed):
4802 * tools/gst-launch.c: (event_loop):
4803 Added extra field to STATE_CHANGE message with the pending
4804 state, which will be different from the new state soon.
4806 2005-10-08 Wim Taymans <wim@fluendo.com>
4808 * gst/gstbus.c: (gst_bus_pop):
4810 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4811 Small cleanups and doc updates.
4813 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4815 * gst/gst.c: (init_pre):
4816 * gst/gstbin.c: (gst_bin_add_func):
4817 log distributing clocks and base time
4818 * gst/gstregistry.c: (gst_registry_add_plugin),
4819 (gst_registry_scan_path_level), (gst_registry_scan_path):
4820 clean up the debugging output a little
4821 * gst/gstutils.c: (gst_element_state_get_name):
4822 warn about a memleak (I've actually seen this be used, though
4823 it was probably a bug)
4825 2005-10-07 Wim Taymans <wim@fluendo.com>
4827 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4828 (gst_base_src_init), (gst_base_src_default_newsegment),
4829 (gst_base_src_newsegment), (gst_base_src_do_seek),
4830 (gst_base_src_loop), (gst_base_src_start):
4831 * gst/base/gstbasesrc.h:
4832 Make the newsegment event customizable by subclasses.
4834 2005-10-07 Wim Taymans <wim@fluendo.com>
4836 * gst/gstevent.c: (gst_event_new_buffersize),
4837 (gst_event_parse_buffersize):
4839 New event for future idea.
4841 2005-10-07 Andy Wingo <wingo@pobox.com>
4843 * gst/gstelement.c (gst_element_post_message): Doc update.
4845 * docs/gst/gstreamer-sections.txt: Update.
4847 * gst/gstmessage.c (gst_message_new_application): Made into a
4848 function like honest API calls.
4849 (gst_message_new_element): New message type.
4851 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4853 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4854 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4857 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4858 NO_PREROLL from gst_element_change_state to fall through.
4860 2005-10-07 Wim Taymans <wim@fluendo.com>
4862 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4863 (gst_ghost_pad_do_activate_push):
4864 Activating a ghostpad with no internal pad in push mode
4867 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4870 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4871 Fixes compilation on Windows.
4873 2005-10-07 Michael Smith <msmith@fluendo.com>
4875 * tools/gst-inspect.c:
4876 Print out feature and plugin count at the end when printing out
4879 2005-10-04 Michael Smith <msmith@fluendo.com>
4881 * gst/gsterror.c: (_gst_stream_errors_init):
4882 Add another error string used in a few existing plugins.
4885 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4886 * tools/gst-inspect.c: (print_element_info):
4887 When a feature disappears from a plugin (and the feature exists in
4888 the cached registry file), things went horribly wrong. This isn't a
4889 complete fix, we should actually be removing the 'missing' features
4890 from the features list when we load the actual plugin. That's not
4893 2005-10-04 Johan Dahlin <johan@gnome.org>
4895 * check/gst/gstiterator.c: (GST_START_TEST):
4896 * gst/gstbin.c: (gst_bin_iterate_elements),
4897 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4898 * gst/gstelement.c: (gst_element_iterate_pads):
4899 * gst/gstformat.c: (gst_format_iterate_definitions):
4900 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4901 (gst_iterator_new_list), (gst_iterator_filter):
4902 * gst/gstiterator.h:
4903 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4904 Add a GType to GstIterator, update callsites and tests.
4906 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4908 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4909 give events a chance to be handled by event probes when the pad
4912 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4914 * gst/gstevent.c: (gst_event_type_get_name),
4915 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4917 add string representations for event types
4919 2005-10-06 Wim Taymans <wim@fluendo.com>
4921 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4922 Don't use NULL pointers.
4924 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4926 * gst/gst_private.h:
4930 * gst/gstpluginfeature.c:
4931 widen the debug category in output to fit the biggest one we have
4932 add a bus category and use it
4933 play with the colors
4934 fix up some categories
4936 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4938 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4939 add push activation of sink ghost pads.
4940 Andye, please verify
4942 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4944 * gst/gstutils.c: (gst_element_link_pads):
4945 fix a bug in the case where neither element has a pad
4946 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4947 add a test for that case
4949 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4951 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4952 emit have-data before checking for peers. This allows
4953 for probe handlers to connect elements. This helps autopluggers.
4954 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4956 add six checks, linked/unlinked with no/true/false probe
4958 2005-10-04 Wim Taymans <wim@fluendo.com>
4960 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4961 (gst_fake_sink_event), (gst_fake_sink_preroll),
4962 (gst_fake_sink_render), (gst_fake_sink_change_state):
4963 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4964 (gst_fake_src_get_property), (gst_fake_src_create),
4965 (gst_fake_src_stop):
4966 * gst/elements/gstidentity.c: (gst_identity_stop):
4967 Protect last_message with lock.
4969 2005-10-04 Edward Hervey <edward@fluendo.com>
4972 Added precision in the comments for GST_FORMAT_DEFAULT
4974 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4976 * tools/gst-launch.c: (main):
4977 Don't try to run erroneous pipelines.
4979 2005-10-04 Julien MOUTTE <julien@moutte.net>
4981 * gst/gstbus.c: We don't need this header.
4983 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4988 === release 0.9.3 ===
4990 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4994 Releasing 0.9.3, "Unregistered"
4996 2005-10-03 Andy Wingo <wingo@pobox.com>
4998 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4999 whereby calling a pad's activatepush() function can start a thread
5000 that starts to push or pull before the pad gets the FLUSHING flag
5001 unset. Hack around it by holding the stream lock until the flag is
5002 set. Need to replace this with a proper solution. Together with
5003 the ghost pad fixes, this fixes mp3 playing/tagreading.
5005 * docs/design/part-gstghostpad.txt: Add a note about activation of
5006 proxy pads outside of ghost pads.
5008 * gst/gstghostpad.c: Implement the ghost pad activation design.
5010 2005-10-02 Andy Wingo <wingo@pobox.com>
5012 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5013 It is volatile, after all.
5015 * docs/design/part-gstghostpad.txt: Flesh out activation with
5018 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5021 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5024 Fix (unused) AM_CONDITIONAL tests.
5026 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5028 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5030 * gst/gstutils.c: (gst_pad_query_convert):
5031 Add assertion that makes sure src_val is >=0, just like
5032 gst_query_new_convert() has. (#315895)
5034 2005-09-30 Edward Hervey <edward@fluendo.com>
5036 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5037 Let's not iterate pads we're not interested in, it avoids getting
5038 sky-high refcounts on sinkpad.
5040 2005-09-30 Wim Taymans <wim@fluendo.com>
5042 * gst/gstelement.c: (gst_element_set_state),
5043 (gst_element_change_state):
5044 Small tweak, element in ASYNC remains ASYNC.
5046 2005-09-30 Wim Taymans <wim@fluendo.com>
5048 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5049 Only error is an error.
5051 * gst/gstbin.c: (gst_bin_change_state):
5054 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5055 Also call pad_block in pad alloc.
5057 * gst/gstutils.c: (gst_flow_get_name):
5060 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5062 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5063 (gst_base_src_get_range):
5064 Fix documentation typos. Add some more debug info.
5066 2005-09-29 David Schleef <ds@schleef.org>
5068 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5069 more end-user friendly.
5070 * tools/gst-inspect.c: (main): Check if command-line argument is
5071 a file and attempt to load that file as a plugin.
5073 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5075 * check/gst/gstbin.c:
5076 * check/states/sinks.c:
5077 fix tests for the new warning
5078 * check/gst/gstpipeline.c:
5079 add a test for pipeline and bus interaction
5081 elements should be NULL if they get disposed; add a warning if not
5083 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5086 for 2.6 refcounting, make debug log more correct by printing
5087 the actual refcounts at the time of swap (Wim)
5089 2005-09-29 Andy Wingo <wingo@pobox.com>
5091 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5092 removes signal watches previously added via
5093 gst_bus_add_signal_watch.
5094 (gst_bus_add_signal_watch): Don't return the source id, just store
5095 it on the bus if there wasn't an id already.
5097 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5098 add_signal_watch and remove_signal_watch.
5100 2005-09-29 Edward Hervey <edward@fluendo.com>
5102 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5103 Better if we actually iterate the list :)
5105 2005-09-29 Wim Taymans <wim@fluendo.com>
5107 * check/gst/gstbin.c: (GST_START_TEST):
5108 Change for new bus API.
5110 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5111 (send_messages), (GST_START_TEST), (gstbus_suite):
5112 Change for new bus signal API.
5114 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5115 (gst_bus_source_prepare), (gst_bus_source_check),
5116 (gst_bus_create_watch), (gst_bus_add_watch_full),
5117 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5118 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5120 Remove support for multiple GSources operating on different
5121 message types as it is too complex and unneeded when using
5123 Added support for receiving signals from the bus.
5125 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5127 * docs/libs/tmpl/gstdataprotocol.sgml:
5128 * docs/manual/advanced-dataaccess.xml:
5129 * gst/elements/gstcapsfilter.c:
5131 rename filter-caps to caps property
5133 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5135 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5136 More robust fraction string parsing.
5138 * docs/pwg/appendix-porting.xml:
5139 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5141 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5143 * gst/gstcaps.c: (gst_caps_do_simplify):
5144 Thou shalt not free a structure and then continue using it
5145 in the next loop iteration.
5147 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5149 Add test case for caps simplification.
5151 2005-09-29 Wim Taymans <wim@fluendo.com>
5153 * check/gst/gstbin.c: (GST_START_TEST):
5156 2005-09-29 Wim Taymans <wim@fluendo.com>
5158 * check/gst/gstbin.c: (GST_START_TEST):
5161 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5162 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5163 (find_element), (gst_bin_sort_iterator_next),
5164 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5165 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5166 (gst_bin_change_state), (gst_bin_dispose):
5167 A bin does not have a bus, it gets the bus from the parent.
5169 * gst/gstelement.c: (gst_element_requires_clock),
5170 (gst_element_provides_clock), (gst_element_is_indexable),
5171 (gst_element_is_locked_state), (gst_element_change_state),
5172 (gst_element_set_bus_func):
5175 * gst/gstpipeline.c: (gst_pipeline_class_init),
5176 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5177 The pipeline provides a bus.
5179 2005-09-28 Johan Dahlin <johan@gnome.org>
5181 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5182 gst_structure_get_enum instead of gst_structure_get_int
5184 * gst/gststructure.c (gst_structure_get_enum): Impl.
5186 * gst/gststructure.h (gst_structure_get_enum): Add
5188 * docs/gst/gstreamer-sections.txt: Ditto
5190 * gst/gstmessage.c (gst_message_new_state_changed): Use
5191 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5192 which does introspection.
5193 Reviewed by Christian Schaller
5195 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5197 * gst/gstinfo.c: (gst_debug_log_default):
5198 don't do dummy g_strdup()s
5199 * libs/gst/controller/gstcontroller.c:
5200 (on_object_controlled_property_changed),
5201 (gst_controlled_property_new), (gst_controller_new_valist),
5202 (gst_controller_new_list),
5203 (gst_controller_remove_properties_valist), (gst_controller_set),
5204 (gst_controller_get), (gst_controller_sync_values),
5205 (gst_controller_get_value_array), (_gst_controller_class_init),
5206 (gst_controller_get_type):
5207 * libs/gst/controller/gstcontroller.h:
5208 * libs/gst/controller/gstinterpolation.c:
5209 (gst_controlled_property_find_timed_value_node):
5210 convert // to /**/ comments
5212 2005-09-28 Wim Taymans <wim@fluendo.com>
5214 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5215 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5216 (gst_bus_sync_signal_handler):
5218 Added async-message and sync-message signals to the bus.
5219 Added helper BusFunc to emit signals for all posted messages.
5221 * gst/gstmessage.c: (gst_message_type_get_name),
5222 (gst_message_type_to_quark), (gst_message_get_type):
5224 Register quarks for message names.
5226 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5228 * docs/libs/gstreamer-libs-sections.txt:
5229 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5230 (gst_controller_new_list):
5231 * libs/gst/controller/gstcontroller.h:
5232 added another constructor for language bindings
5234 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5236 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5240 * gst/gstinfo.c: (_gst_debug_init):
5241 slightly more readable color for refcount debugging
5243 2005-09-28 Wim Taymans <wim@fluendo.com>
5245 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5246 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5247 (find_element), (gst_bin_sort_iterator_next),
5248 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5249 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5250 (gst_bin_change_state), (gst_bin_dispose):
5251 Small doc fixes. get_clock -> provide_clock.
5253 * gst/gstelement.c: (gst_element_class_init),
5254 (gst_element_provides_clock), (gst_element_provide_clock),
5255 (gst_element_get_clock), (gst_element_commit_state),
5256 (gst_element_lost_state):
5258 Make get/set_clock() symetric. Add provide_clock vmethod since
5259 that is actually what this function does.
5261 * gst/gstpipeline.c: (gst_pipeline_class_init),
5262 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5263 (gst_pipeline_get_clock):
5264 get_clock -> provide_clock.
5266 2005-09-28 Andy Wingo <wingo@pobox.com>
5268 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5269 lieu of real docs...
5271 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5273 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5275 * gst/elements/gstcapsfilter.c:
5276 * gst/elements/gstfakesink.c:
5277 * gst/elements/gstfakesrc.c:
5278 * gst/elements/gstfdsink.c:
5279 * gst/elements/gstfdsrc.c:
5280 * gst/elements/gstfilesink.c:
5281 * gst/elements/gstfilesrc.c:
5282 * gst/elements/gstidentity.c:
5283 * gst/elements/gsttee.c:
5284 * gst/elements/gsttypefindelement.c:
5285 Make element details static.
5287 2005-09-28 Wim Taymans <wim@fluendo.com>
5289 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5290 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5291 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5292 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5293 (gst_bin_change_state), (gst_bin_dispose):
5294 Some documentation updates.
5295 Clean up dispose handlers.
5297 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5298 * gst/gstpad.c: (gst_pad_dispose):
5299 Clean up dispose handler.
5301 * gst/gstpipeline.c: (gst_pipeline_change_state):
5302 Removed spurious UNLOCK.
5304 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5306 * docs/gst/gstreamer-sections.txt:
5307 * gst/base/gstbasesrc.h:
5312 * gst/gstpipeline.c:
5313 * gst/gstpipeline.h:
5316 added two new functions to the docs
5317 documents all undocumented GstXXXFlags
5318 completed some incomplete docs
5320 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5322 * gst/gstbin.c: (gst_bin_dispose):
5323 * gst/gstelement.c: (gst_element_dispose):
5324 remove now useless and leaky resurrection code in dispose
5325 * gst/base/gstbasesrc.c: (gst_base_src_init):
5326 * gst/gstelementfactory.c: (gst_element_factory_create):
5327 * gst/gstobject.c: (gst_object_set_parent):
5330 2005-09-27 Wim Taymans <wim@fluendo.com>
5332 * docs/design/part-TODO.txt:
5335 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5336 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5337 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5338 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5339 (gst_bin_change_state):
5341 Remove element variable, we keep element info in the iterator now.
5343 2005-09-27 Andy Wingo <wingo@pobox.com>
5345 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5348 2005-09-27 Wim Taymans <wim@fluendo.com>
5350 * check/gst/gstbin.c: (GST_START_TEST):
5351 Enable check that works now.
5353 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5354 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5355 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5356 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5357 (gst_bin_change_state):
5359 Redid the state change algorithm using a topological sort algo.
5360 Handles all cases correctly.
5361 Exposed iterator for state change order.
5364 Temp storage for state changes. Need to get rid of this soon.
5366 2005-09-27 Wim Taymans <wim@fluendo.com>
5368 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5369 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5370 (link_fold_func), (gst_pad_proxy_setcaps):
5371 Leak fixes, the fold functions need to unref the passed object and
5372 _get_parent_*() returns ref to parent.
5374 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5376 * check/gst/gstbuffer.c: (test_make_writable):
5377 Plug leak in test case and fix 'make check-valgrind'
5379 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5381 * gst/gstbuffer.c: (gst_subbuffer_init):
5382 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5383 works correctly in all circumstances (we could have just copied
5384 the parent buffer's readonly flag, but conceptually it seems
5385 cleaner to mark all subbuffers as read-only). (based on patch
5386 by Alessandro Decina, #314710).
5388 * check/gst/gstbuffer.c: (create_read_only_buffer),
5389 (test_make_writable), (test_subbuffer_make_writable),
5391 Add some tests for gst_buffer_make_writable().
5393 2005-09-27 Wim Taymans <wim@fluendo.com>
5395 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5396 use gst_object_has_ancestor().
5398 * gst/gstobject.c: (gst_object_has_ancestor):
5400 gst_object_has_ancestor() copied from gstbin.c as it is a
5403 * tests/instantiate/create.c: (create_all_elements):
5404 * tests/lat.c: (handoff_src), (handoff_sink):
5405 * tests/sched/runxml.c: (main):
5406 * tests/seeking/seeking1.c: (main):
5407 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5409 Fix compilation of some tests.
5411 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5414 Remove comment. GST_TYPE_G_ERROR is here to stay,
5415 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5418 2005-09-26 Wim Taymans <wim@fluendo.com>
5420 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5421 Added check that shows error in state change order.
5423 2005-09-26 Wim Taymans <wim@fluendo.com>
5425 * gst/gstbin.c: (gst_bin_change_state):
5426 Make state change function use 3 queues again, we were
5427 adding elements in the wrong order.
5429 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5432 * gst/gstpad.c: (gst_pad_dispose):
5433 Added some debug info first.
5435 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5437 * docs/design/draft-push-pull.txt:
5438 * docs/design/part-events.txt:
5439 * docs/design/part-overview.txt:
5440 * docs/design/part-scheduling.txt:
5441 Replace all _pull_region() with _pull_range()
5443 2005-09-26 Andy Wingo <wingo@pobox.com>
5445 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5447 * check/gst-libs/controller.c: Update for controller api change.
5450 * tests/Makefile.am:
5451 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5452 over by GLib bug 118439.
5454 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5455 routines to a function.
5457 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5459 * libs/gst/controller/gsthelper.c:
5460 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5461 (gst_object_sync_values): Renamed from sink_values. Ugh.
5463 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5465 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5466 Renamed from controller_key, as it is exported.
5468 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5470 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5475 * gst/gstpadtemplate.h:
5478 * gst/gstqueryutils.c:
5479 * gst/gstqueryutils.h:
5480 remove queryutils headers after moving the two used functions
5481 to gstquery. also fixes build problem for gstsiddec
5483 2005-09-26 Michael Smith <msmith@fluendo.com>
5485 * tools/gst-launch.1.in:
5486 Correct documentation in manpage of debug syntax
5488 2005-09-26 Wim Taymans <wim@fluendo.com>
5490 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5491 (gst_base_src_is_seekable), (gst_base_src_change_state):
5492 Some more debugging info.
5494 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5496 * docs/gst/gstreamer-sections.txt:
5497 * gst/base/gstbasetransform.h:
5501 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5503 * docs/gst/.cvsignore:
5504 * docs/gst/tmpl/.cvsignore:
5505 * docs/gst/tmpl/gstpipeline.sgml:
5506 * docs/gst/tmpl/gstplugin.sgml:
5507 * gst/gstpipeline.c:
5510 inlined the last two docs files
5511 removed the tmpl directory from cvs (no more conflicts here!)
5513 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5515 * docs/gst/gstreamer-sections.txt:
5516 * docs/gst/tmpl/.cvsignore:
5517 * docs/gst/tmpl/gstpad.sgml:
5518 * docs/gst/tmpl/gstpadtemplate.sgml:
5520 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5521 (gst_pad_finalize), (gst_pad_set_pad_template):
5523 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5524 (gst_pad_template_class_init), (gst_pad_template_init),
5525 (gst_pad_template_dispose), (name_is_valid),
5526 (gst_static_pad_template_get), (gst_pad_template_new),
5527 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5528 (gst_pad_template_pad_created):
5529 * gst/gstpadtemplate.h:
5530 inlined two more docs
5531 factored gstpadtemplate out of gstpad
5533 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5535 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5536 (test_children_state_change_order_semi_sink):
5537 Fix test case: we can't rely on a fixed state change order when
5538 going from READY => PAUSED because the sink might commit its
5539 new state first when the first buffer created by the source
5540 reaches the sink before the source has finished its change state.
5541 (Test case still fails at times, see #316856, comment 5 onwards)
5543 2005-09-24 Wim Taymans <wim@fluendo.com>
5545 * docs/design/part-events.txt:
5546 * docs/design/part-gstbus.txt:
5547 * docs/design/part-gstpipeline.txt:
5548 * docs/design/part-messages.txt:
5549 * docs/design/part-overview.txt:
5550 * docs/design/part-segments.txt:
5557 * gst/gstiterator.c:
5558 Various documentation updates.
5560 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5563 Well, that's embarassing. Luckily we weren't using
5564 GST_CLOCK_DIFF anywhere.
5566 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5568 * common/gtk-doc.mak:
5569 don't fail on building XML, FC4 slave shows a bunch of doc
5570 missing bits that I don't get
5572 * gst/gstpipeline.c:
5573 * gst/gststructure.c:
5576 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5578 * docs/design/part-gstbin.txt:
5579 * docs/design/part-gstbus.txt:
5581 Add blurb about how the bus goes into flushing mode and
5582 drops all messages when its bin goes from READY into NULL
5585 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5587 * docs/gst/gstreamer-sections.txt:
5588 * gst/gststructure.c: (gst_structure_get_clock_time):
5589 * gst/gststructure.h:
5590 add a method to get a GstClockTime out of a structure
5592 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5594 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5595 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5596 Added test to check state change order in bins (can still be made
5597 to fail here under heavy disk load; bails out with 'Push on pad
5598 fakesink:sink0, but it was not activated in push mode').
5600 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5601 Fix state change order when there is only a semi sink (#316856)
5603 * gst/gstbus.c: (gst_bus_class_init):
5604 Use _class_peek_parent(), not _class_ref(); fix docs to say
5605 'default main context' instead of 'mainloop' where that is
5608 * gst/gstelement.c: (gst_element_commit_state),
5609 (gst_element_set_state):
5610 Fix typos in debug messages
5612 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5615 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5616 * gst/gstpluginfeature.c:
5619 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5620 change an assert into an error until it gets fixed properly
5622 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5624 * docs/gst/gstreamer-sections.txt:
5625 * docs/gst/tmpl/.cvsignore:
5626 * docs/gst/tmpl/gstelement.sgml:
5627 * docs/gst/tmpl/gstinfo.sgml:
5628 * docs/gst/tmpl/gstobject.sgml:
5633 * gst/gstobject.c: (gst_object_class_init):
5635 inlined 3 more biiiig doc files and added some missing docs on the fly
5637 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5639 * check/gst/.cvsignore:
5640 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5641 * gst/gstregistryxml.c: (load_plugin),
5642 (gst_registry_xml_save_plugin):
5643 put back source in registry. add checks for find_plugin.
5644 * testsuite/states/bin.c: (assert_state), (empty_bin),
5645 (test_adding_one_element), (main):
5646 * testsuite/states/locked.c: (main):
5647 some compile/run fixes
5649 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5651 * check/gst/gstvalue.c: (GST_START_TEST):
5652 fix leaks in the test itself
5654 2005-09-22 Wim Taymans <wim@fluendo.com>
5656 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5657 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5658 (gst_base_sink_query):
5659 Prepare for more accurate position reporting and query
5662 * gst/gstelement.c: (gst_element_send_event),
5663 (gst_element_set_state):
5666 2005-09-22 Wim Taymans <wim@fluendo.com>
5668 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5669 (gst_query_parse_segment):
5672 Add segment query for future use.
5674 2005-09-22 Wim Taymans <wim@fluendo.com>
5676 * gst/gstbin.c: (gst_bin_add_func):
5677 Some more debug info.
5679 * gst/gstelement.c: (gst_element_send_event):
5683 Don't know how flags got broken.
5688 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5690 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5691 Add simplistic test suite for GST_TYPE_DATE serialisation and
5694 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5696 * docs/gst/gstreamer-sections.txt:
5697 * gst/gststructure.c: (gst_structure_set_valist),
5698 (gst_structure_get_date):
5699 * gst/gststructure.h:
5700 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5701 (gst_date_copy), (gst_value_compare_date),
5702 (gst_value_serialize_date), (gst_value_deserialize_date),
5703 (gst_value_transform_date_string),
5704 (gst_value_transform_string_date), (_gst_value_initialize):
5706 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5707 bunch of utility functions along with a hack that checks that
5708 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5709 is required. Part of the grand scheme in #170777.
5711 2005-09-22 Andy Wingo <wingo@pobox.com>
5713 * gst/gstconfig.h.in: Psych out gtk-doc.
5715 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5717 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5719 * tools/gst-inspect.c (print_element_list): Plug some
5720 inconsequential leaks.
5722 * gst/gstregistry.c (gst_registry_get_default): Doc.
5724 * check/gst/gstplugin.c:
5725 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5726 * gst/gstelementfactory.c (gst_element_factory_create):
5727 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5730 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5731 (gst_plugin_feature_load): Doc, don't eat refs.
5733 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5734 (gst_plugin_list_free): Doc.
5735 (gst_plugin_load_file): Doc updates.
5737 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5738 accessors returning refcounted objects, return a ref.
5740 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5741 accessor for caps. IDEMPOTENCE. Oh yes.
5743 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5745 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5747 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5748 (_gst_debug_register_funcptr):
5749 Add mutex to serialise access to the hash table with
5750 the function pointer => function name string mapping;
5751 make that hash table static scope (#316809).
5753 * gst/registries/.cvsignore:
5754 Remove left-over file.
5756 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5758 * docs/pwg/appendix-porting.xml:
5759 And something about newsegment events and caps-on-buffers to
5760 the porting guide (feel free to improve).
5762 2005-09-21 Andy Wingo <wingo@pobox.com>
5764 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5765 data and event probes on the same pad.
5766 (test_buffer_probe_once): Test that removing probes from within
5767 the probe functions works.
5769 2005-09-21 Andy Wingo <wingo@pobox.com>
5771 * check/gst/gstutils.c: New file.
5772 (test_buffer_probe_n_times): A simple buffer probe test. More to
5775 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5776 have-data::buffer, not have-data.
5777 (gst_pad_add_event_probe): Likewise for have-data::event.
5778 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5779 peer' isn't quite right yet though.
5780 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5781 (gst_pad_remove_data_probe): Change to take the guint handler_id
5782 as their arg, not the function+data, which is more glib-like.
5784 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5785 the signal emission to indicate if the data is a buffer or an
5787 (gst_pad_get_type): Initialize buffer and event quarks.
5788 (gst_pad_class_init): have-data is now a detailed signal, yes it
5791 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5793 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5794 * gst/gstutils.c: (gst_util_set_value_from_string),
5795 (gst_util_set_object_arg):
5796 Don't put functional code in g_return_if_fail() or
5797 g_return_val_if_fail() statements, otherwise things will
5798 break when G_DISABLE_CHECKS is defined during compilation.
5800 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5802 * docs/gst/tmpl/.cvsignore:
5803 * docs/gst/tmpl/gstvalue.sgml:
5806 inlied another one and added some obvious docs
5808 2005-09-21 Wim Taymans <wim@fluendo.com>
5810 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5811 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5812 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5813 (gst_fdsrc_get_property), (gst_fdsrc_create):
5814 * gst/elements/gstfdsrc.h:
5815 Properly implement fdsrc. Removed signal and timeout,
5816 better implemented somewhere else.
5818 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5820 * docs/gst/tmpl/.cvsignore:
5821 * docs/gst/tmpl/gstimplementsinterface.sgml:
5822 * gst/gstinterface.c:
5825 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5827 * docs/gst/gstreamer-sections.txt:
5828 * docs/gst/tmpl/.cvsignore:
5829 * docs/gst/tmpl/gstenumtypes.sgml:
5830 remove obsolete doc file
5832 2005-09-21 David Schleef <ds@schleef.org>
5834 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5835 little beer, fix a little leak.
5837 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5839 * docs/gst/gstreamer-docs.sgml:
5840 * docs/gst/gstreamer-sections.txt:
5841 * docs/gst/tmpl/.cvsignore:
5846 * gst/gstindex.c: (gst_index_class_init):
5848 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5849 (gst_index_factory_class_init), (gst_index_factory_init),
5850 (gst_index_factory_finalize), (gst_index_factory_new),
5851 (gst_index_factory_destroy), (gst_index_factory_find),
5852 (gst_index_factory_create), (gst_index_factory_make):
5853 * gst/gstindexfactory.h:
5854 * gst/gstpluginfeature.c:
5855 * gst/gstpluginfeature.h:
5856 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5857 more docs inlined, splitted gstindex.{c,h}
5859 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5861 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5864 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5866 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5867 Set sync to FALSE by default.
5869 2005-09-20 Wim Taymans <wim@fluendo.com>
5871 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5872 (gst_base_sink_init):
5873 Make sync property settable from subclass.
5875 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5876 (gst_fake_sink_change_state):
5877 Set sync to FALSE by default.
5879 2005-09-20 Wim Taymans <wim@fluendo.com>
5881 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5882 * tools/gst-launch.c: (main):
5883 The timeout handler should have lower priority than the source
5884 so we don't timeout before popping a message with 0 timeout.
5885 Dump error messages after failed state change.
5887 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5889 * tools/gst-inspect.c: (print_element_properties_info):
5892 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5894 * check/gst/gstevent.c:
5895 * gst/elements/gstfakesink.c:
5896 * gst/elements/gstfakesink.h:
5897 remove the sync property from fakesink.
5898 has the side effect of setting sync TRUE
5899 for fakesink, which is a change. Anyone who knows how
5900 to fix this nicely in a GObject-y way, feel free.
5902 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5904 * docs/gst/gstreamer-docs.sgml:
5905 remove probe refsection
5907 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5909 * check/Makefile.am:
5910 disable valgrinding the controller test again
5911 * docs/gst/gstreamer-sections.txt:
5912 update for api-changes
5914 2005-09-20 Wim Taymans <wim@fluendo.com>
5916 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5917 (gst_base_sink_set_property), (gst_base_sink_get_property),
5918 (gst_base_sink_do_sync):
5919 * gst/base/gstbasesink.h:
5920 Added sync property to basesink to disable clock sync.
5922 2005-09-20 Andy Wingo <wingo@pobox.com>
5924 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5925 eating the caller's refcount.
5927 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5928 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5931 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5932 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5933 of GLib 2.8 public, so we can know which refcount to check in
5936 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5937 (gst_object_init): Only set the gst refcount if we're going ahead
5938 with the refcount hack.
5940 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5942 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5943 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5944 more leaks plumbed, added more debug-logging
5948 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5951 remove include of gstmemchunk.h
5953 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5955 * gst/gstclock.c: (_gst_clock_id_free):
5956 Commit from the Political Party For More Atomic CVS Commits,
5957 so that people don't waste too much of their day fishing
5958 out obvious leaks out of massive commits.
5959 Oh, and fix a pretty damn obvious leak in the memchunk
5962 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5964 * check/Makefile.am:
5965 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5966 plug mem-leak, re-add to valgrindable tests
5968 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5971 unbreak the build for those who have chronic arthritis
5972 and typing "make check" is just too taxing on the hands
5974 2005-09-20 Andy Wingo <wingo@pobox.com>
5976 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5977 really want it out, you should fix plugins at the same time.
5979 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5982 * docs/gst/gstreamer-sections.txt:
5984 added missing symbols to api docs
5985 disable ref-count hack if we have glib >= 2.8
5987 2005-09-19 David Schleef <ds@schleef.org>
5989 * docs/gst/Makefile.am: Ignore a few more internal headers
5990 * docs/gst/gstreamer-docs.sgml: Remove old sections
5991 * docs/gst/gstreamer-sections.txt: Remove old sections
5992 * docs/gst/tmpl/gstobject.sgml: update
5993 * docs/gst/tmpl/gstplugin.sgml: update
5994 * docs/gst/tmpl/gstpluginfeature.sgml: update
5995 * docs/random/ds/0.9-suggested-changes: update.
5996 * gst/Makefile.am: remove memchunk and trashstack, since they're
5998 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5999 * gst/gst.h: don't include some headers
6000 * gst/gstchildproxy.c: add gstmarshal.h
6001 * gst/gstclock.c: Don't use memchunks
6002 * gst/gstminiobject.c: Add some docs
6003 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6004 * gst/gstobject.h: same
6005 * gst/gstplugin.c: include gstmacros.h
6006 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6007 * gst/gstquery.c: don't use memchunks
6008 * gst/gstregistry.c: rename gst_registry_deinit()
6009 * gst/gstregistry.h: same
6011 2005-09-19 David Schleef <ds@schleef.org>
6013 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6014 * docs/libs/gstreamer-libs-sections.txt:
6015 * docs/libs/tmpl/gstgetbits.sgml:
6016 * docs/libs/tmpl/gstputbits.sgml:
6018 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6020 * win32/gstenumtypes.c:
6021 * win32/gstenumtypes.h:
6024 2005-09-19 Wim Taymans <wim@fluendo.com>
6026 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6027 Automatically PAUSE and RESUME a pipeline when a flushing seek
6030 2005-09-19 Andy Wingo <wingo@pobox.com>
6032 * gst/gstregistry.h: Spacing fixen.
6034 2005-09-19 Wim Taymans <wim@fluendo.com>
6036 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6037 Handle state change failure more correctly.
6039 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6041 * check/Makefile.am:
6042 * check/pipelines/cleanup.c: (run_pipeline):
6043 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6045 enable cleanup again after fixing the leak
6047 some more info on docs
6049 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6051 * check/Makefile.am:
6052 re-enable tests now that leaks are plugged
6054 * check/gst/gstbin.c:
6055 * check/gst/gstpipeline.c:
6056 add some more tests while fixing leaks
6058 make sure binaries are uptodate when valgrinding/gdbing
6060 * gst/gstelementfactory.c:
6061 remove a ref too many, and add a FIXME for when we get
6062 round to disposing of classes
6064 fix the refcounting when loading a plugin from a file and
6065 the code pretends that the pointer is the same even though
6066 of course it can change
6067 * gst/gstpluginfeature.c:
6068 unref plugins marked cached (a bit confusing as a name)
6069 as the docs state should be done
6070 various doc additions to explain refcounting
6071 * gst/gstregistry.c:
6072 * gst/gstregistryxml.c:
6075 2005-09-19 Wim Taymans <wim@fluendo.com>
6077 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6078 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6079 (send_messages), (GST_START_TEST), (gstbus_suite):
6080 * check/gst/gstpipeline.c: (GST_START_TEST):
6081 * check/pipelines/cleanup.c: (run_pipeline):
6082 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6084 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6085 (gst_bus_source_check), (gst_bus_source_dispatch),
6086 (gst_bus_create_watch), (gst_bus_add_watch_full),
6087 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6089 * tools/gst-launch.c: (event_loop):
6090 * tools/gst-md5sum.c: (event_loop):
6091 GstBusHandler -> GstBusFunc, return value has the same meaning as
6092 any other GSource (FALSE == remove source).
6093 _add_watch() and _add_watch_full() now take a MessageType mask to
6094 only handle specific types of messages.
6095 _poll() returns the GstMessage instead of the message type to avoid
6097 _have_pending() takes a MessageType mask now too.
6098 Added testsuite for multiple bus watches.
6099 Fix testsuites and applications for new bus API.
6101 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6103 * check/Makefile.am:
6104 mark a bunch of the tests as to fix until we fix them
6106 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6109 use GST_PLUGIN settings for valgrind tests as well, so we're
6110 valgrinding the correct thing
6111 * gst/gst.c: (init_post):
6114 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6116 * gst/gst.c: (init_post), (gst_deinit):
6117 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6118 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6119 * gst/gstindex.c: (gst_index_factory_class_init),
6120 (gst_index_factory_finalize):
6121 * gst/gstobject.c: (gst_object_dispose):
6122 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6123 (gst_plugin_load_file), (gst_plugin_desc_free):
6124 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6125 (gst_plugin_feature_finalize):
6126 * gst/gstregistry.c: (gst_registry_class_init),
6127 (gst_registry_init), (gst_registry_finalize),
6128 (gst_registry_get_default), (gst_registry_deinit):
6129 * gst/gstregistry.h:
6130 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6131 various cleanups and memleak plugging. make valgrind is happy now.
6133 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6136 add a check-valgrind target
6138 2005-09-18 David Schleef <ds@schleef.org>
6140 * tools/gst-inspect.c: Revert the GOption code.
6142 2005-09-17 David Schleef <ds@schleef.org>
6144 * check/Makefile.am: Fix environment variables.
6145 * check/gst/gstplugin.c: Fix for API changes.
6146 * tools/gst-inspect.c: Fix for API changes.
6147 * tools/gst-xmlinspect.c: Fix for API changes.
6148 * gst/gstelementfactory.c:
6151 * gst/gstpluginfeature.c:
6152 * gst/gstpluginfeature.h:
6153 * gst/gstregistry.c:
6154 * gst/gstregistry.h:
6155 * gst/gstregistryxml.c:
6156 * gst/gsttypefind.c:
6157 * gst/gsttypefindfactory.c:
6158 * gst/indexers/gstfileindex.c:
6159 * gst/indexers/gstmemindex.c:
6160 * gst/schedulers/Makefile.am:
6161 Change registry to keep track of both plugins and features,
6162 removing the feature tracking from plugins themselves.
6164 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6166 * check/Makefile.am:
6167 * tools/gst-register.1.in:
6170 2005-09-15 David Schleef <ds@schleef.org>
6172 * check/gst/gstplugin.c:
6173 * gst/gstelementfactory.c:
6175 * gst/gstpluginfeature.c:
6176 * gst/gstregistry.c:
6177 Getting tired of debugging. Disabled all the unreffing of
6178 plugins and features, which fixes the segfaults, but of
6179 course leaks like crazy. At least playbin works.
6181 2005-09-15 David Schleef <ds@schleef.org>
6183 * check/gst/gstplugin.c: (register_check_elements),
6184 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6186 * gst/elements/gsttypefindelement.c: Fix refcounting.
6187 * gst/gsttypefind.c:
6188 * gst/gsttypefindfactory.c:
6189 * gst/gsttypefindfactory.h:
6191 2005-09-15 David Schleef <ds@schleef.org>
6193 * gst/gstindex.c: get refcounting correct.
6194 * gst/gstregistry.c: Handle the case where a feature/plugin is
6197 2005-09-15 David Schleef <ds@schleef.org>
6199 * check/Makefile.am:
6200 * check/gst/gstplugin.c: Add test
6201 * gst/gstplugin.c: Fix problems noticed by testsuite
6203 * gst/gstregistry.c:
6204 * gst/gstregistry.h:
6206 2005-09-15 David Schleef <ds@schleef.org>
6208 * gst/gstplugin.c: Implement semi-decent recounting and locking
6209 in plugins and plugin features.
6211 * gst/gstpluginfeature.c:
6212 * gst/gstpluginfeature.h:
6213 * gst/gstregistry.c:
6215 2005-09-15 Michael Smith <msmith@fluendo.com>
6217 * gst/gstregistry.c: (gst_registry_get_feature_list):
6218 Implement this. Makes oggdemux work; decodebin still broken.
6220 2005-09-14 David Schleef <ds@schleef.org>
6222 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6224 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6225 * gst/check/Makefile.am:
6226 * libs/gst/controller/Makefile.am:
6227 * libs/gst/dataprotocol/Makefile.am:
6229 2005-09-14 David Schleef <ds@schleef.org>
6231 * configure.ac: Remove getbits library. Nothing uses it, and
6232 it should be in something like liboil if someone did want
6234 * libs/gst/Makefile.am:
6235 * libs/gst/getbits/Makefile.am:
6236 * libs/gst/getbits/gbtest.c:
6237 * libs/gst/getbits/getbits.c:
6238 * libs/gst/getbits/getbits.h:
6239 * libs/gst/getbits/gstgetbits_generic.c:
6240 * libs/gst/getbits/gstgetbits_i386.s:
6241 * libs/gst/getbits/gstgetbits_inl.h:
6243 2005-09-14 David Schleef <ds@schleef.org>
6245 * gst/Makefile.am: Dist glib-compat.h
6247 2005-09-14 David Schleef <ds@schleef.org>
6249 * configure.ac: Remove gst/registries, since it's no longer used.
6250 * gst/registries/Makefile.am:
6251 * gst/registries/gstlibxmlregistry.c:
6252 * gst/registries/gstlibxmlregistry.h:
6253 * gst/registries/gstxmlregistry.c:
6254 * gst/registries/gstxmlregistry.h:
6255 * gst/registries/registrytest.c:
6257 2005-09-14 David Schleef <ds@schleef.org>
6259 * gst/glib-compat.h:
6260 * gst/gstregistryxml.c:
6261 Convergence is near. Seriously.
6263 2005-09-14 David Schleef <ds@schleef.org>
6265 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6266 * gst/glib-compat.h:
6267 Attempt #4 to appease the buildbots.
6269 2005-09-14 David Schleef <ds@schleef.org>
6271 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6274 2005-09-14 David Schleef <ds@schleef.org>
6276 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6279 2005-09-14 David Schleef <ds@schleef.org>
6281 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6284 2005-09-14 David Schleef <ds@schleef.org>
6286 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6287 * gst/glib-compat.h: Add some functions that are in newer versions
6288 of glib than we care to require.
6289 * gst/gstregistryxml.c: Use them.
6291 2005-09-14 David Schleef <ds@schleef.org>
6293 * po/POTFILES.in: remove gst-register.c
6295 2005-09-14 David Schleef <ds@schleef.org>
6297 * docs/gst/gstreamer-docs.sgml:
6298 * docs/gst/gstreamer-sections.txt:
6299 * docs/gst/gstreamer.types:
6300 * docs/gst/tmpl/gstelement.sgml:
6301 * docs/gst/tmpl/gstplugin.sgml:
6302 * docs/gst/tmpl/gstpluginfeature.sgml:
6303 Documentation updates for registry changes.
6305 2005-09-14 David Schleef <ds@schleef.org>
6307 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6308 because we don't require glib-2.8.
6310 2005-09-14 David Schleef <ds@schleef.org>
6312 * gst/gstregistryxml.c: Added. Essentially moved out of the
6313 registries directory.
6315 2005-09-14 David Schleef <ds@schleef.org>
6317 * check/Makefile.am:
6318 * check/generic/states.c:
6322 * gst/gst_private.h:
6323 * gst/gstelementfactory.c:
6328 * gst/gstpluginfeature.c:
6329 * gst/gstpluginfeature.h:
6330 * gst/gstregistry.c:
6331 * gst/gstregistry.h:
6332 * gst/gstregistrypool.c: remove
6333 * gst/gstregistrypool.h: remove
6334 * gst/gsttypefind.c:
6335 * gst/gsttypefindfactory.c:
6337 * tools/Makefile.am:
6338 * tools/gst-compprep.c:
6339 * tools/gst-inspect.c:
6340 * tools/gst-register.c: remove
6341 * tools/gst-xmlinspect.c:
6342 Registry rewrite. Changes registry from being a file created
6343 by a tool into a simple cache file created automatically by
6344 libgstreamer. Removed gst-register (because it's no longer
6345 needed). Remove registry pools, because we only have one
6346 registry implementation (XML). Fix up other subsystems as
6349 2005-09-13 Michael Smith <msmith@fluendo.com>
6351 * gst/gstconfig.h.in:
6352 Don't Use windows linking attributes for MinGW. Fixes #316157
6354 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6356 * gst/gstutils.c: (set_state_async_thread_func),
6357 (gst_element_set_state_async):
6358 Apparently people think it's better if this function doesn't
6359 try to set the state to whatever state was asked for on the first
6360 call to this function for any object. Seriously.
6362 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6364 * check/gst/gstpipeline.c: (GST_START_TEST):
6365 * docs/gst/gstreamer-sections.txt:
6366 * gst/gstutils.c: (set_state_async_thread_func),
6367 (gst_element_set_state_async):
6369 add a "gst_element_set_state_async" method that
6370 sets the state and starts a thread to make sure the state
6371 change completes as best as it can
6373 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6375 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6376 codify design+behaviour in testsuite after discussion
6378 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6380 * docs/gst/tmpl/gstelement.sgml:
6381 * docs/manual/appendix-quotes.xml:
6383 * gst/gstelement.c: (gst_element_set_state):
6386 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6388 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6389 (gst_base_transform_prepare_output_buf),
6390 (gst_base_transform_handle_buffer):
6391 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6392 (gst_capsfilter_prepare_buf):
6393 Remove the requirement for sub-classes to call the parent
6394 implementation of prepare_output_buffer with a wrapper function.
6397 * gst/gsttagsetter.h:
6400 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6402 * docs/gst/gstreamer-sections.txt:
6405 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6407 * docs/gst/gstreamer-sections.txt:
6408 * docs/gst/tmpl/gstelement.sgml:
6409 * docs/gst/tmpl/gstplugin.sgml:
6410 * gst/gstminiobject.c:
6412 docs now stop throwing warnings
6414 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6416 * docs/gst/gstreamer-sections.txt:
6417 * docs/gst/gstreamer.types:
6418 * docs/gst/tmpl/gstpad.sgml:
6419 * docs/gst/tmpl/gsttypes.sgml:
6420 * gst/base/gstadapter.h:
6421 * gst/base/gstbasesink.h:
6422 * gst/base/gstbasesrc.h:
6432 * gst/gststructure.c:
6433 * gst/registries/gstlibxmlregistry.h:
6434 various documentation fixes
6436 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6438 * docs/gst/gstreamer-sections.txt:
6439 * docs/gst/tmpl/gstvalue.sgml:
6440 rearrange gstvalue section
6441 * gst/gstutils.c: (gst_element_state_get_name):
6443 * gst/gstvalue.c: (_gst_value_initialize):
6447 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6449 * check/gst-libs/controller.c:
6451 * gst/base/gstbasetransform.c:
6452 (gst_base_transform_default_prepare_buf),
6453 (gst_base_transform_handle_buffer):
6454 * gst/base/gstbasetransform.h:
6455 Some more basetransform changes and fixes to enable sub-classes
6456 that modify buffer metadata only.
6457 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6458 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6459 (gst_capsfilter_prepare_buf):
6460 If the output pad has fixed allowed caps and input buffers
6461 don't have any, set the fixed caps on outgoing buffers.
6463 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6464 * check/elements/identity.c: (GST_START_TEST):
6465 Make the error a little clearer when the test fails because
6466 identity made a copy of the buffer.
6467 * docs/gst/gstreamer-sections.txt:
6468 New symbols in gstbasetransform.h
6469 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6470 (gst_base_transform_init), (gst_base_transform_transform_size),
6471 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6472 (gst_base_transform_default_prepare_buf),
6473 (gst_base_transform_get_unit_size),
6474 (gst_base_transform_buffer_alloc),
6475 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6476 (gst_base_transform_change_state),
6477 (gst_base_transform_set_passthrough),
6478 (gst_base_transform_set_in_place),
6479 (gst_base_transform_is_in_place):
6480 * gst/base/gstbasetransform.h:
6481 Change BaseTransform to separate in_place operate from same_caps
6482 output. in_place implies that the element can perform the transform
6483 on incoming buffers in-place, even if the caps on the output are
6485 Sub-class elements can now implement special buffer allocation
6486 methods for outgoing buffers if they wish to.
6487 Big documentation addition.
6488 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6489 * gst/elements/gstelements.c:
6490 Changes for basetransform modifications.
6491 * gst/elements/Makefile.am:
6492 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6493 Compile fix. Extra debug output.
6495 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6497 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6499 add tests for valid pad naming
6500 * gst/check/gstcheck.c: (gst_check_log_message_func),
6501 (gst_check_log_critical_func):
6503 remove printing of code, it is fragile when the code contains
6504 % and the line number is enough info
6505 * gst/check/gstcheck.h:
6506 * gst/gstpad.c: (gst_pad_template_new):
6509 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6512 say what CHECK flags we use
6513 * docs/libs/gstreamer-libs.types:
6514 * libs/gst/controller/Makefile.am:
6515 * libs/gst/controller/gst-controller.c:
6516 * libs/gst/controller/gst-controller.h:
6517 * libs/gst/controller/gst-helper.c:
6518 * libs/gst/controller/gst-interpolation.c:
6519 * libs/gst/controller/gstcontroller.c:
6520 * libs/gst/controller/gsthelper.c:
6521 * libs/gst/controller/gstinterpolation.c:
6522 * tools/gst-inspect.c: (print_plugin_info):
6523 we don't use dashes in header names
6525 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6527 * check/Makefile.am:
6528 * check/gst/.cvsignore:
6529 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6530 (gst_pipeline_suite), (main):
6531 adding a test for pipelines and state changes
6532 * gst/gstutils.c: (get_state_func):
6534 * gstreamer.spec.in:
6537 2005-09-08 Michael Smith <msmith@fluendo.com>
6539 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6540 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6541 (gst_file_src_is_seekable), (gst_file_src_get_size),
6542 (gst_file_src_start):
6543 * gst/elements/gstfilesrc.h:
6544 Various fixes for unseekable, unmmapable, and non-normal files, so
6545 that fallback to read() rather than mmap() works.
6546 * gst/gstevent.c: (gst_event_new_newsegment):
6547 Allow newsegment events with segment_start == segment_end, as will
6548 correctly happen if you use filesrc on a zero-size file, for
6551 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6553 * gst/gstplugin.c: (gst_plugin_load_file):
6554 Call g_module_close when we don't load the module
6556 * gst/registries/gstlibxmlregistry.c:
6557 (gst_xml_registry_get_property):
6558 Port leak fix from 0.8
6560 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6562 * docs/gst/gstreamer-docs.sgml:
6563 * docs/gst/tmpl/.cvsignore:
6564 * docs/gst/tmpl/gsttrace.sgml:
6565 * docs/gst/tmpl/gsttrashstack.sgml:
6574 * gst/gsttaginterface.c:
6575 * gst/gsttaginterface.h:
6578 * gst/gsttagsetter.c:
6579 * gst/gsttagsetter.h:
6582 * gst/gsttrashstack.c:
6583 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6584 inlined docs for gsttrace, gsttrashstack
6586 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6589 * gst/elements/gstbufferstore.h:
6590 * gst/elements/gsttypefindelement.c:
6591 * gst/elements/gsttypefindelement.h:
6593 * gst/gsttypefind.c:
6594 * gst/gsttypefind.h:
6595 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6596 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6597 (gst_type_find_factory_dispose),
6598 (gst_type_find_factory_unload_thyself),
6599 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6600 (gst_type_find_factory_get_caps),
6601 (gst_type_find_factory_get_extensions),
6602 (gst_type_find_factory_call_function):
6603 * gst/gsttypefindfactory.h:
6604 * gst/registries/gstlibxmlregistry.c:
6605 * gst/registries/gstxmlregistry.c:
6606 splitted gsttypefind into gsttypefind, gsttypefindfactory
6608 2005-09-07 Andy Wingo <wingo@pobox.com>
6610 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6611 condition whereby the pad's task function is entered before the
6612 pad_mode variable was set.
6614 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6616 * gst/gstpad.c: (gst_pad_alloc_buffer):
6617 Catch misbehaving pad_alloc functions that don't
6618 set up caps and do it for them.
6620 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6622 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6624 * docs/gst/tmpl/.cvsignore:
6625 * docs/gst/tmpl/gstmemchunk.sgml:
6626 * docs/gst/tmpl/gstparse.sgml:
6627 * docs/gst/tmpl/gsttaglist.sgml:
6628 * docs/gst/tmpl/gsttagsetter.sgml:
6629 * docs/gst/tmpl/gsttypefind.sgml:
6630 * docs/gst/tmpl/gsttypefindfactory.sgml:
6631 * gst/gstmemchunk.c:
6634 * gst/gsttaginterface.c:
6635 * gst/gsttypefind.c:
6636 * gst/gsttypefind.h:
6639 === release 0.9.2 ===
6641 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6646 releasing 0.9.2, "South"
6648 2005-09-05 Andy Wingo <wingo@pobox.com>
6650 * gst/registries/gstxmlregistry.h:
6651 * gst/registries/gstxmlregistry.c: Um... resurrect...
6653 * gst/registries/gstxmlregistry.h:
6654 * gst/registries/gstxmlregistry.c: and update to newer API.
6655 Incidentally they should be a bit faster now that they don't have
6658 2005-09-05 Andy Wingo <wingo@pobox.com>
6660 * gst/registries/gstxmlregistry.h:
6661 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6662 replaced by the libxml registry a while back
6664 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6666 * docs/gst/tmpl/gstplugin.sgml:
6667 * gst/elements/gstelements.c:
6669 * gst/gstplugin.c: (gst_plugin_register_func),
6670 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6671 (gst_plugin_get_source):
6673 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6674 (gst_xml_registry_save_plugin):
6675 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6676 (gst_xml_registry_save_plugin):
6677 * tools/gst-inspect.c: (print_plugin_info):
6678 add a "source" plugin description field, to represent the source
6679 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6680 will set it to PACKAGE, which is automake's idea of the name of
6683 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * docs/faq/Makefile.am:
6690 * docs/gst/tmpl/gstelement.sgml:
6691 * docs/gst/tmpl/gsttypes.sgml:
6692 * docs/htmlinstall.mak:
6693 * docs/manual/Makefile.am:
6694 * docs/pwg/Makefile.am:
6695 reorganize doc build a little
6696 split out docbook and gtk-doc stuff
6697 have two separate --enable's and enable them through autogen
6698 but disable by default in configure (to be similar to other
6700 * gstreamer.spec.in:
6701 clean up docs install
6721 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6723 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6726 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6727 (gst_fake_sink_change_state):
6728 Make state change function thread-safe.
6730 * gst/gstpad.c: (gst_pad_alloc_buffer):
6731 Set offset on generic buffer allocated by fallback.
6733 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6735 * docs/gst/gstreamer-sections.txt:
6736 * docs/gst/tmpl/gstelement.sgml:
6738 * libs/gst/controller/gst-controller.c:
6739 (gst_controlled_property_set_interpolation_mode),
6740 (gst_controlled_property_new),
6741 (gst_controller_find_controlled_property):
6742 run the wingo-magic script against the docs
6744 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6746 * docs/gst/gstreamer-docs.sgml:
6747 * docs/gst/gstreamer-sections.txt:
6748 * docs/gst/tmpl/.cvsignore:
6749 * docs/gst/tmpl/gstelementdetails.sgml:
6750 * docs/gst/tmpl/gstelementfactory.sgml:
6753 * gst/gstelementfactory.c:
6754 * gst/gstelementfactory.h:
6755 merged elementdetails docs into elementfactory docs
6758 2005-09-02 Andy Wingo <wingo@pobox.com>
6760 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6761 consider this enum an enum and not a flags.
6763 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6765 * docs/gst/gstreamer-docs.sgml:
6766 * docs/gst/tmpl/.cvsignore:
6767 * docs/gst/tmpl/gstghostpad.sgml:
6768 * docs/gst/tmpl/gstiterator.sgml:
6769 * docs/gst/tmpl/gstmacros.sgml:
6770 * docs/gst/tmpl/gstrealpad.sgml:
6771 * docs/gst/tmpl/gstregistry.sgml:
6772 * docs/gst/tmpl/gstregistrypool.sgml:
6773 * docs/gst/tmpl/gststructure.sgml:
6774 * docs/gst/tmpl/gstsystemclock.sgml:
6775 * docs/gst/tmpl/gsttrace.sgml:
6776 * gst/gstghostpad.c:
6778 * gst/gstmemchunk.c:
6779 * gst/gstmemchunk.h:
6781 * gst/gstregistry.c:
6782 * gst/gstregistrypool.c:
6783 * gst/gststructure.c:
6784 * gst/gstsystemclock.c:
6787 2005-09-02 Andy Wingo <wingo@pobox.com>
6789 * gst/gstelement.h (GstState): Renamed from GstElementState,
6790 changed to be a normal enum instead of flags.
6791 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6792 munged to be GST_STATE_CHANGE_*.
6793 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6794 work with the new state representation.
6795 (GstStateChange): New enumeration of possible state transitions.
6796 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6797 (GstElementClass::change_state): Pass the GstStateChange along as
6798 an argument. Helps language bindings, so they don't have to use
6799 tricky lock-needing macros like GST_STATE_CHANGE ().
6801 * scripts/update-states (file): New script. Run it on a file to
6802 update it for state naming and API changes. Updates files in
6805 * All files updated for the new API.
6807 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6809 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6810 * gst/gstutils.c: (gst_util_set_value_from_string),
6811 (gst_util_set_object_arg):
6812 fix a bunch of unchecked return values
6813 * tools/gst-complete.c: (main):
6814 * gstreamer.spec.in:
6817 2005-09-01 Wim Taymans <wim@fluendo.com>
6819 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6820 (gst_base_sink_event), (gst_base_sink_do_sync),
6821 (gst_base_sink_handle_event):
6822 * gst/base/gstbasesink.h:
6823 Handle newsegments more correctly.
6828 * gst/gstevent.c: (gst_event_new_newsegment):
6829 A newsegment cannot have a start_time of -1
6831 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6833 * win32/gstenumtypes.c:
6834 * win32/gstenumtypes.h:
6837 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6839 * libs/gst/controller/gst-controller.c:
6840 (gst_controlled_property_set_interpolation_mode),
6841 (gst_controlled_property_new):
6844 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6846 * docs/faq/gst-uninstalled:
6851 * gst/gstutils.c: (gst_element_link_filtered):
6853 add gst_element_link_filtered
6855 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6857 * docs/gst/gstreamer-docs.sgml:
6858 * docs/gst/gstreamer-sections.txt:
6859 * docs/gst/tmpl/.cvsignore:
6860 * docs/gst/tmpl/gsterror.sgml:
6861 * docs/gst/tmpl/gstfilter.sgml:
6862 * docs/gst/tmpl/gsturihandler.sgml:
6863 * docs/gst/tmpl/gsturitype.sgml:
6864 * docs/gst/tmpl/gstutils.sgml:
6865 * docs/gst/tmpl/gstxml.sgml:
6873 inlined more docs, fixed double id-ref
6875 2005-08-31 Wim Taymans <wim@fluendo.com>
6877 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6878 (gst_base_transform_handle_buffer):
6879 Passthrough elements don't need the caps as they don't care.
6881 2005-08-31 Wim Taymans <wim@fluendo.com>
6883 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6884 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6885 Don't leak refcounts on buffers.
6887 2005-08-31 Wim Taymans <wim@fluendo.com>
6889 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6890 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6891 (gst_base_transform_chain), (gst_base_transform_change_state):
6892 * gst/base/gstbasetransform.h:
6893 Handle the case where we are not negotiated more gracefully.
6895 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6897 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6898 (gst_file_src_map_region):
6899 Set READONLY flag on mmap'ed buffers, otherwise
6900 gst_buffer_make_writable() won't work properly (#314708).
6902 2005-08-31 Wim Taymans <wim@fluendo.com>
6904 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6905 passthrough elements can even do inplace on non writable
6906 buffers (as they don't touch them).
6908 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6910 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6911 (gst_test_mono_source_set_property),
6912 (gst_test_mono_source_class_init), (GST_START_TEST),
6913 (gst_controller_suite):
6914 more tests (hehe I have the most)
6916 describe popping messages whenusing mulltiple sources
6917 * libs/gst/controller/gst-controller.c:
6918 (gst_controlled_property_set_interpolation_mode),
6919 (gst_controlled_property_new):
6920 * libs/gst/controller/gst-controller.h:
6921 * libs/gst/controller/gst-interpolation.c:
6922 implement boolean properties
6924 2005-08-31 Wim Taymans <wim@fluendo.com>
6926 * gst/gstminiobject.c: (gst_mini_object_ref):
6927 Cannot assert that the refcount has to be positive
6928 since a disposed object can be resurrected.
6930 2005-08-31 Wim Taymans <wim@fluendo.com>
6932 * gst/gstpad.c: (gst_pad_init):
6933 Revert change, need to first fix badly behaving
6936 2005-08-30 Wim Taymans <wim@fluendo.com>
6938 * check/elements/fakesrc.c: (setup_fakesrc):
6939 * check/elements/identity.c: (setup_identity):
6940 Activate pads before using them.
6942 2005-08-30 Wim Taymans <wim@fluendo.com>
6944 * gst/base/gstadapter.c: (gst_adapter_flush):
6945 Flushing out 0 bytes is ok for this function.
6947 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6948 no newsegment gives a warning and sets the start/stop to
6951 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6952 (gst_base_transform_set_passthrough):
6955 * gst/gstminiobject.c: (gst_mini_object_ref):
6956 Check refcount here too.
6958 * gst/gstpad.c: (gst_pad_init):
6959 Pads are initially flushing and refusing data.
6961 * gst/gstutils.c: (gst_element_link_pads_filtered):
6962 When adding a capsfilter element make sure it has the
6963 same state as the parent bin.
6965 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6967 * docs/gst/tmpl/.cvsignore:
6968 * docs/gst/tmpl/gstformat.sgml:
6969 * docs/gst/tmpl/gstversion.sgml:
6973 * gst/gstversion.h.in:
6974 more docs and two more inlined
6976 2005-08-30 Wim Taymans <wim@fluendo.com>
6978 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6979 Don't sync to clock.
6981 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6983 * docs/gst/gstreamer-sections.txt:
6984 ultral33t func10ns deserve to appear in the docs actually
6985 * docs/gst/tmpl/.cvsignore:
6986 * docs/gst/tmpl/gstcompat.sgml:
6987 * docs/gst/tmpl/gstconfig.sgml:
6988 * gst/check/gstcheck.c:
6990 * gst/gstconfig.h.in:
6993 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6995 * docs/gst/tmpl/.cvsignore:
6996 * docs/gst/tmpl/gstquery.sgml:
6997 * docs/gst/tmpl/gstutils.sgml:
7000 inlined and extended docs
7002 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7004 * check/gst-libs/controller.c: (GST_START_TEST),
7005 (gst_controller_suite):
7007 * docs/gst/tmpl/gstutils.sgml:
7008 * docs/libs/gstreamer-libs-sections.txt:
7009 * docs/libs/tmpl/gstdataprotocol.sgml:
7011 * examples/controller/audio-example.c: (main):
7012 controller example works now
7015 * tools/gst-inspect.c: (print_element_properties_info):
7016 show param spec flags
7018 2005-08-29 Andy Wingo <wingo@pobox.com>
7020 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7022 2005-08-28 Andy Wingo <wingo@pobox.com>
7024 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7025 as having two arguments instead of just one. Allows superclasses
7026 to access information on subclasses -- see the terrible for() loop
7027 in gtype.c:g_type_create_instance for the reason why. All callers
7030 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7032 * docs/design/part-messages.txt:
7034 * docs/gst/tmpl/.cvsignore:
7035 * docs/gst/tmpl/gstcaps.sgml:
7036 * docs/gst/tmpl/gstclock.sgml:
7043 added descriptions for bus and message
7044 inline caps and clock docs
7046 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7052 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7054 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7057 2005-08-26 Andy Wingo <wingo@pobox.com>
7059 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7060 element_set_state's return val.
7061 (test_2_elements): Add test that's been disabled for months.
7063 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7064 can-activate-pull properties.
7066 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7067 can-activate-pull properties. Implement is_seekable so fakesrc can
7068 operate in pull mode.
7070 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7072 (gst_base_sink_activate, gst_base_sink_activate_pull)
7073 (gst_base_sink_activate_push): Make activation mode choosing work.
7075 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7076 is right. Make pull mode work. Post an eos before pausing in pull
7078 (gst_base_sink_change_state): Pay attention to the core's
7079 change_state() return val.
7081 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7082 has-getrange properties. Cleanups.
7084 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7085 has_getrange and replace with can_activate_pull and
7088 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7089 locking comments. Remove has_loop, has_chain and replace with
7090 can_activate_pull and can_activate_push.
7092 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7095 * examples/Makefile.am:
7096 * examples/metadata/Makefile.am:
7097 * examples/metadata/read-metadata.c: (message_loop),
7098 (have_pad_handler), (make_pipeline), (print_tag), (main):
7099 Add metadata reading example that loops over a list of filenames,
7100 dumping any tags found.
7102 * gst/gstbus.c: (gst_bus_dispose):
7103 * gst/gstelement.c: (gst_element_dispose):
7104 Release a few potentially-held references in dispose.
7106 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7108 * docs/gst/tmpl/gstminiobject.sgml:
7109 do *not* add tmpl/*.sgml files to CVS!
7111 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7113 * libs/gst/bytestream/.cvsignore:
7114 * libs/gst/bytestream/Makefile.am:
7115 * libs/gst/bytestream/adapter.c:
7116 * libs/gst/bytestream/adapter.h:
7117 * libs/gst/bytestream/bytestream.c:
7118 * libs/gst/bytestream/bytestream.h:
7119 * libs/gst/bytestream/filepad.c:
7120 * libs/gst/bytestream/filepad.h:
7121 removing obsolete files
7123 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7125 * docs/gst/gstreamer-docs.sgml:
7126 * docs/libs/gstreamer-libs-docs.sgml:
7127 disabed additional index entries again, as this makes docs-gen just
7128 slow and they aren't useful yet
7129 * docs/libs/gstreamer-libs-sections.txt:
7130 little -section.txt cleanup for libs
7132 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7134 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7135 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7136 fix up some debugging
7137 (gst_base_transform_get_unit_size),
7138 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7139 (gst_base_transform_handle_buffer):
7140 * gst/base/gstbasetransform.h:
7141 handle and store timed NEWSEGMENT events so that subclasses that
7142 calculate time by counting samples have a segment_start time they
7143 need to add to their timestamps - see audioresample
7145 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7148 removed ';' from the end of macro defs
7149 * docs/gst/gstreamer-docs.sgml:
7150 * docs/gst/gstreamer-sections.txt:
7151 * docs/gst/tmpl/.cvsignore:
7153 * gst/gstelement.c: (gst_element_class_init),
7154 (gst_element_set_state), (activate_pads),
7155 (gst_element_save_thyself):
7156 * gst/gstevent.c: (gst_event_new_newsegment):
7158 * gst/gstiterator.c:
7159 * gst/gstiterator.h:
7162 * gst/gstutils.c: (gst_pad_query_convert):
7164 fixed parameter name mismatches between source, header and docs
7165 added some more docs, resolved the last batch of unused elements in
7166 docs (now someone needs to doc them)
7168 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7170 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7171 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7172 don't walk through the plugins backwards. Where is all this
7173 reversed logic coming from ?
7175 2005-08-25 Wim Taymans <wim@fluendo.com>
7177 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7178 (gst_base_transform_transform_size),
7179 (gst_base_transform_configure_caps),
7180 (gst_base_transform_get_unit_size),
7181 (gst_base_transform_buffer_alloc),
7182 (gst_base_transform_change_state):
7183 * gst/base/gstbasetransform.h:
7184 Cache caps unit_size.
7185 Make sure we cannot negotiate up and downstream at the
7188 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7190 * gst/gst.c: (init_pre), (init_post):
7191 register the installed plugin path after the env var
7192 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7193 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7194 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7195 directories, so the tests can prefer uninstalled over installed
7197 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7199 * gst/base/gstbasetransform.h:
7204 2005-08-25 Wim Taymans <wim@fluendo.com>
7206 * gst/gstbin.c: (bin_bus_handler):
7207 Be a bit more conservative about the posted message.
7209 * gst/gstbus.c: (gst_bus_post):
7210 Some cleanups, warn wrong return values.
7212 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7214 * check/gst/gstbin.c: (GST_START_TEST):
7215 * gst/gstbin.c: (bin_bus_handler):
7216 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7217 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7218 (gst_message_new_warning), (gst_message_new_tag),
7219 (gst_message_new_state_changed), (gst_message_new_segment_start),
7220 (gst_message_new_segment_done), (gst_message_new_custom):
7222 * tools/gst-launch.c: (event_loop):
7223 * tools/gst-md5sum.c: (event_loop):
7224 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7226 2005-08-25 Wim Taymans <wim@fluendo.com>
7228 * check/generic/states.c: (GST_START_TEST):
7229 Cleanup can be done at the end.
7231 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7232 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7233 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7234 Oh boy.. Thanks for finding this, Thomas.
7236 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7238 * docs/gst/gstreamer.types:
7241 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7243 * docs/gst/gstreamer-docs.sgml:
7244 * docs/gst/gstreamer-sections.txt:
7245 * docs/gst/tmpl/.cvsignore:
7247 * gst/gstiterator.c:
7249 * gst/registries/gstxmlregistry.h:
7250 added missing classes and symbols (123 more to go)
7251 removed removed symbols from section file
7252 fixed many doc-comments
7254 2005-08-24 Wim Taymans <wim@fluendo.com>
7256 * check/generic/states.c: (GST_START_TEST):
7257 Make sure all tasks are stopped.
7259 * check/gst/gstbin.c: (GST_START_TEST):
7260 Unref after usage for proper valgrinding.
7262 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7263 Really wait for the task to stop before destroying the
7266 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7267 (gst_queue_src_activate_push):
7268 Small cleanups. Don't stop the task when we did not start
7271 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7272 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7273 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7276 Protect the stream lock with the object lock.
7277 Disallow setting the stream lock when running.
7278 Add cleanup_all to wait for the threadpool to finish.
7279 Remove code to autoallocate a mutex if none was provided.
7280 Add _join() to wait for a task to stop.
7281 Protect the thread pool with a global lock.
7283 2005-08-24 Wim Taymans <wim@fluendo.com>
7285 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7286 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7287 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7288 * gst/base/gstbasesink.h:
7289 Handle newsegment events correctly.
7290 Drop buffers out of the segment range.
7292 2005-08-22 Andy Wingo <wingo@pobox.com>
7294 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7295 macro, implements an interface and gstimplementsinterface for a
7298 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7300 * check/Makefile.am:
7301 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7302 add a test that does a bunch of state changes on elements
7303 needs some fixing for valgrind
7304 * check/states/sinks.c: (gst_object_suite):
7307 add prototype for gst_caps_is_equal_fixed
7309 * gst/gstregistrypool.c:
7312 2005-08-24 Andy Wingo <wingo@pobox.com>
7314 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7315 convert a negative value. Doesn't make much sense. Mostly this is
7316 here to force callers to ensure -1 maps to -1.
7318 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7320 * docs/pwg/advanced-types.xml:
7321 Well done to Michael for catching my deliberate introduction
7322 of this spelling mistake.
7323 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7325 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7326 unlink pads before removing the element from the bin.
7328 2005-08-24 Andy Wingo <wingo@pobox.com>
7330 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7331 the same thing as GST_DEBUG=*:4.
7332 (parse_debug_level, parse_debug_category): New helper parsers.
7334 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7336 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7337 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7338 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7339 (gst_base_transform_buffer_alloc),
7340 (gst_base_transform_handle_buffer):
7341 use gboolean return values and pointers to size so we can use the
7342 full GST_BUFFER_SIZE range (guint) for buffer sizes
7343 use GstPadDirection for transform_caps
7344 * gst/base/gstbasetransform.h:
7345 rename get_size to get_unit_size since that's what it is
7346 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7347 use GstPadDirection for transform_caps
7348 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7350 cleanup and debugging
7352 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7354 * gst/gstelement.c: (gst_element_class_init),
7355 (gst_element_set_state), (activate_pads),
7356 (gst_element_save_thyself):
7357 * tools/gst-compprep.c: (main):
7358 * tools/gst-inspect.c: (print_element_properties_info):
7359 * tools/gst-xmlinspect.c: (print_element_properties):
7360 Fixed long standing mem-leak
7362 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7364 * check/gst/gstbin.c: (GST_START_TEST):
7365 * gst/gstbin.c: (bin_bus_handler):
7366 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7367 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7368 (gst_message_new_warning), (gst_message_new_tag),
7369 (gst_message_new_state_changed), (gst_message_new_segment_start),
7370 (gst_message_new_segment_done), (gst_message_new_custom):
7372 * tools/gst-launch.c: (event_loop):
7373 * tools/gst-md5sum.c: (event_loop):
7374 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7375 that applications can sensibly post custom messages with references
7376 to their own objects.
7378 2005-08-24 Andy Wingo <wingo@pobox.com>
7380 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7383 2005-08-24 Wim Taymans <wim@fluendo.com>
7385 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7386 (gst_base_transform_transform_caps),
7387 (gst_base_transform_transform_size),
7388 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7389 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7390 (gst_base_transform_handle_buffer):
7391 * gst/base/gstbasetransform.h:
7392 Many fixes and new features added by Thomas. Can now also do
7393 transforms with variable sizes and a custom fixate_caps function.
7395 2005-08-24 Wim Taymans <wim@fluendo.com>
7397 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7401 Cast to ClockTime before formatting to time.
7406 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7408 * check/gst-libs/controller.c: (GST_START_TEST),
7409 (gst_controller_suite):
7410 * docs/gst/tmpl/gstcaps.sgml:
7411 * docs/gst/tmpl/gstghostpad.sgml:
7412 * docs/gst/tmpl/gstquery.sgml:
7413 * docs/gst/tmpl/gstutils.sgml:
7414 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7415 (gst_object_sink_values), (gst_object_get_value_arrays),
7416 (gst_object_get_value_array):
7417 gracefully handle helper method calls to objects that are not beeing
7418 controlled, added test case for that
7420 2005-08-23 Wim Taymans <wim@fluendo.com>
7422 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7423 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7424 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7425 (gst_event_parse_qos), (gst_event_new_seek),
7426 (gst_event_parse_seek):
7428 Some more debugging output and doc cleanups.
7430 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7431 Fix possible deadlock.
7433 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7435 * docs/gst/gstreamer-docs.sgml:
7436 * docs/gst/gstreamer-sections.txt:
7437 * docs/gst/gstreamer.types:
7438 * docs/gst/tmpl/.cvsignore:
7443 added 100 symbols from gstreamer-unused.txt to the right sections
7444 fixed more broken comments
7445 added GstBus to docs
7447 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7449 * docs/gst/gstreamer-sections.txt:
7450 * docs/gst/tmpl/.cvsignore:
7451 * docs/gst/tmpl/gstbin.sgml:
7452 * docs/gst/tmpl/gstbuffer.sgml:
7453 * gst/base/gstbasesrc.c:
7454 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7457 * tools/gst-launch.1.in:
7458 inlined more doc comments, added missing comments and fixed comments
7461 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7463 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7467 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7469 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7470 * gst/gststructure.h:
7471 add a fixate function for booleans; add a FIXME that these func
7472 names should probably be gst_structure_fixate_*
7474 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7476 * docs/gst/gstreamer-docs.sgml:
7477 * docs/gst/gstreamer-sections.txt:
7479 * gst/gstbin.c: (gst_bin_get_type),
7480 (gst_bin_child_proxy_get_child_by_index),
7481 (gst_bin_child_proxy_get_children_count),
7482 (gst_bin_child_proxy_init):
7483 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7484 (gst_child_proxy_get_child_by_index),
7485 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7486 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7487 (gst_child_proxy_get), (gst_child_proxy_set_property),
7488 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7489 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7490 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7491 * gst/gstchildproxy.h:
7492 * gst/parse/grammar.y:
7493 * tools/gst-inspect.c: (print_interfaces),
7494 (print_element_properties_info), (print_element_info):
7495 ported gstchildproxy over from 0.8
7496 ported gst-inspect fixes and enhancements over from 0.8
7498 2005-08-22 Wim Taymans <wim@fluendo.com>
7500 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7501 (gst_base_transform_handle_buffer):
7502 Also call the transform function if we have ANY caps.
7504 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7507 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7509 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7510 Don't pretend to handle seek events if the source is not seekable
7512 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7514 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7515 Remove extra parameter to debug output
7517 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7518 (gst_base_src_do_seek), (gst_base_src_activate_push):
7519 Fix seek event handling.
7521 * gst/gstpipeline.c: (gst_pipeline_change_state):
7522 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7523 (gst_queue_src_activate_push):
7524 Don't start the src pad task on FLUSH_STOP if the pad
7528 2005-08-22 Wim Taymans <wim@fluendo.com>
7530 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7531 Added check for gst_static_caps_get() refcounting.
7533 2005-08-22 Wim Taymans <wim@fluendo.com>
7535 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7536 Make _static_caps_get() refcounting sane.
7538 * gst/gstelement.c: (gst_element_set_state):
7539 Add g_return_val_if_fail() to protect against segfaults.
7541 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7543 * docs/gst/tmpl/gstevent.sgml:
7546 inlined remaining docs, added missing doc comments
7548 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7550 * check/gst/gstbin.c: (GST_START_TEST):
7551 since we don't know when preroll is done, use refcount range
7553 * gst/check/gstcheck.h:
7554 add macro for checking refcount range
7556 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7558 * check/Makefile.am:
7559 clean up environment for when registry gets built versus
7560 when actual tests are run; valgrind seems to not report
7561 leaks if GST_PLUGIN_PATH is set to some specific values
7562 * check/gst/gstbin.c: (GST_START_TEST):
7563 add more refcounting checks; maybe this exposes a
7566 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7567 * gst/check/gstcheck.h:
7568 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7569 (gst_bin_change_state):
7570 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7571 add/fix debugging/whitespace
7573 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7575 * check/gst/gstevent.c: (event_probe), (test_event),
7577 Er, don't call gst_bin_watch_for_state_change you idiot.
7579 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7581 * check/Makefile.am:
7582 Use CHECK_CFLAGS and CHECK_LIBS
7583 * check/gst/gstevent.c: (event_probe), (test_event),
7586 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7587 (gst_base_src_start), (gst_base_src_stop),
7588 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7589 (gst_base_src_change_state):
7590 Sprinkle gst_base_src_stop liberally around error paths to fix
7591 problems reusing a source after failed state changes.
7592 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7593 (helper_find_suggest), (gst_type_find_helper):
7594 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7596 * docs/gst/tmpl/gstevent.sgml:
7597 Migrate part of the docs from the SGML file. Wait for ensonic to
7598 tell me how I did it wrong ;)
7599 * tools/gst-typefind.c: (main):
7600 Extra robustness to state changes between files.
7602 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7604 * check/Makefile.am:
7605 don't valgrind the controller test - it's leaking - Stefan, HELP
7606 * gst/check/gstcheck.c: (gst_check_message_error),
7607 (gst_check_chain_func), (gst_check_setup_element),
7608 (gst_check_teardown_element), (gst_check_setup_src_pad),
7609 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7610 (gst_check_teardown_sink_pad):
7611 * gst/check/gstcheck.h:
7612 add a bunch of methods to set up elements, and src and sink pads
7613 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7614 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7619 whitespace/doc fixes
7621 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7624 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7625 be handled by the application and not always printed as well
7627 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7629 * check/Makefile.am:
7631 * gst/check/gstcheck.c: (gst_check_message_error):
7632 * gst/check/gstcheck.h:
7633 add a fail_unless_equals_int
7634 add fail_unless for error messages
7636 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7638 * check/Makefile.am:
7640 * common/Makefile.am:
7643 factor out some of the common stuff so we can use it
7645 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7647 * check/Makefile.am:
7648 * check/gst/gstiterator.c: (GST_START_TEST):
7649 * check/gst/gstsystemclock.c: (GST_START_TEST),
7650 (gst_systemclock_suite):
7651 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7655 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7657 * check/elements/.cvsignore:
7658 * check/elements/gstfakesrc.c:
7659 rename to name of element
7660 * check/elements/identity.c: (chain_func), (event_func),
7661 (setup_identity), (cleanup_identity), (GST_START_TEST),
7662 (identity_suite), (main):
7663 add a test for identity
7664 * check/Makefile.am:
7665 * pkgconfig/Makefile.am:
7666 * pkgconfig/gstreamer-check.pc.in:
7667 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7671 move the check stuff to a library that gets installed
7672 * check/gst-libs/controller.c: (GST_START_TEST):
7673 * check/gst-libs/gdp.c:
7674 * check/gst/gst.c: (GST_START_TEST):
7675 * check/gst/gstbin.c:
7676 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7677 * check/gst/gstbus.c:
7678 * check/gst/gstcaps.c: (GST_START_TEST):
7679 * check/gst/gstelement.c:
7680 * check/gst/gstghostpad.c:
7681 * check/gst/gstiterator.c:
7682 * check/gst/gstmessage.c:
7683 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7684 * check/gst/gstobject.c:
7685 * check/gst/gstpad.c: (GST_START_TEST):
7686 * check/gst/gststructure.c: (GST_START_TEST):
7687 * check/gst/gstsystemclock.c: (GST_START_TEST),
7688 (gst_systemclock_suite):
7689 * check/gst/gsttag.c: (gst_tag_suite):
7690 * check/gst/gstvalue.c:
7691 * check/pipelines/cleanup.c:
7692 * check/pipelines/simple_launch_lines.c:
7693 * check/states/sinks.c:
7694 change include statement
7696 * docs/gst/gstreamer-sections.txt:
7697 * docs/gst/tmpl/gstpad.sgml:
7698 document more pad stuff
7699 * gst/gstminiobject.c: (gst_mini_object_ref),
7700 (gst_mini_object_unref):
7703 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7705 * docs/gst/tmpl/gst.sgml:
7707 eliminate another tmpl file, fix spelling in the long-description
7709 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7711 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7712 (test_event), (timediff), (gstevents_suite):
7713 Should fix build on 64-bit arch's
7715 2005-08-18 Andy Wingo <wingo@pobox.com>
7717 Make sure that when a pipeline goes to PLAYING, that data has
7718 actually hit the sink.
7720 * check/states/sinks.c (test_sink): A sink that doesn't get any
7721 data shouldn't return SUCCESS for going to either PLAYING or
7722 PAUSED. Test also the return values on the way back down.
7724 * gst/gstelement.c (gst_element_set_state): When changing the
7725 state of an element currently changing state asynchronously, go to
7726 lost-state after commiting the pending state. Makes future calls
7727 to get_state continue to return ASYNC.
7729 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7730 ASYNC when going to PLAYING if we still don't have preroll, as can
7731 happen with live sources.
7733 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7735 * docs/pwg/advanced-types.xml:
7736 Hack long paragraph into 2 chunks as a workaround for buggy
7737 jadetex version in sid and breezy that loops infinitely and
7740 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7742 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7743 (test_event), (timediff), (gstevents_suite):
7744 Provide more error margin in clock measurements to allow for
7745 g_get_current_time inaccuracies.
7747 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7749 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7750 (test_event), (timediff), (gstevents_suite):
7751 Fix error message output so I might be able to tell why the
7752 test works here but fails on the build farm.
7754 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7756 * check/Makefile.am:
7757 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7758 (test_event), (timediff), (gstevents_suite), (main):
7761 * docs/design/part-seeking.txt:
7764 * docs/gst/tmpl/gstevent.sgml:
7765 * docs/gst/tmpl/gstfakesrc.sgml:
7768 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7769 Treat a buffer-without-newsegment the same as a receiving
7770 a newsegment not in time format, and disable syncing to the clock
7773 * gst/gstbus.c: (gst_bus_set_sync_handler):
7774 Assert if anyone tries to replace the existing sync_handler for bus,
7775 as only the owner should be setting it.
7778 Have a fixed set of custom event enums with events identified by
7779 their structure name (as in 0.8), rather than a free-for-all
7780 allowing collisions between enum values from different plugins.
7782 * gst/gstpad.c: (gst_pad_class_init):
7785 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7786 Handle out-of-band downstream events from the sending thread.
7788 2005-08-17 Andy Wingo <wingo@pobox.com>
7790 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7791 play-timeout==0 to mean no timeout at all. In that case, don't
7792 bother with a get_state or a warning, just return directly, even
7795 * gst/base/gstbasetransform.c: Debug changes.
7798 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7799 ensure bins post state change messages. A bit of a hack but I can't
7800 think of a way to avoid it.
7802 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7804 2005-08-16 Andy Wingo <wingo@pobox.com>
7806 * gst/base/gstadapter.h:
7807 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7808 peek() but you own the data. Not terribly efficient atm.
7810 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7812 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7813 (gst_element_found_tags):
7815 Add two utility functions for tag handling.
7817 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7819 * docs/manual/advanced-dataaccess.xml:
7820 * docs/manual/basics-helloworld.xml:
7821 Fix docs to use _bin_add() before _link(), which fixes the examples
7822 with recent core versions (reported by Madhan Raj M
7823 <raj_madan@rediffmail.com>, #313199).
7825 2005-08-16 Wim Taymans <wim@fluendo.com>
7827 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7828 Added subtract checks.
7830 * docs/design/part-events.txt:
7831 Some more docs about newsegment
7833 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7836 * gst/gstcaps.c: (gst_caps_to_string):
7837 Add comments, cleanups.
7839 * gst/gstelement.c: (gst_element_save_thyself):
7842 * gst/gstvalue.c: (gst_value_collect_int_range),
7843 (gst_string_unwrap), (gst_value_union_int_int_range),
7844 (gst_value_union_int_range_int_range),
7845 (gst_value_intersect_int_int_range),
7846 (gst_value_intersect_int_range_int_range),
7847 (gst_value_intersect_double_double_range),
7848 (gst_value_intersect_double_range_double_range),
7849 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7850 (gst_value_subtract_int_range_int),
7851 (gst_value_subtract_double_range_double),
7852 (gst_value_subtract_double_range_double_range),
7853 (gst_value_subtract_from_list), (gst_value_subtract_list),
7854 (gst_value_can_compare), (gst_value_compare_fraction):
7855 Cleanups, add comments, remove unneeded asserts.
7857 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7859 * tools/gst-launch.c: (event_loop):
7860 don't convert NULL structures to strings
7862 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7864 * docs/gst/gstreamer-sections.txt:
7865 made some defines private
7866 * docs/gst/tmpl/gstconfig.sgml:
7867 * docs/gst/tmpl/gstqueue.sgml:
7868 * docs/gst/tmpl/gsttaglist.sgml:
7869 * docs/gst/tmpl/gsttypes.sgml:
7870 * docs/gst/tmpl/gstutils.sgml:
7871 * docs/pwg/appendix-porting.xml:
7872 * gst/base/gstbasesink.h:
7873 * gst/base/gstbasesrc.c:
7874 * gst/base/gstbasesrc.h:
7875 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7876 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7877 * gst/gstelement.c: (gst_element_class_init):
7878 * gst/gstpad.c: (gst_pad_class_init):
7879 * gst/gstqueue.c: (gst_queue_class_init):
7880 * gst/gstxml.c: (gst_xml_class_init):
7881 documented all undocumented signal inline
7882 * libs/gst/controller/gst-controller.h:
7885 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7887 * docs/pwg/appendix-porting.xml:
7888 Document _set_link_function -> _set_setcaps_function.
7890 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7892 * check/Makefile.am:
7893 add a .check target for running the check
7894 * check/gst-libs/controller.c: (GST_START_TEST):
7896 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7897 complete checks for gstbuffer; would be nice if I could get the
7898 gcov stuff to work so I can see if I actually completed gstbuffer.c
7900 add ASSERT_BUFFER_REFCOUNT
7902 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7904 * docs/gst/gstreamer-sections.txt:
7905 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7907 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7908 spew out a warning if a tag that is already registered
7909 is re-registered, unless it is re-registered with a
7910 different type (#308438).
7912 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7914 * docs/pwg/appendix-porting.xml:
7915 * docs/pwg/building-state.xml:
7916 Add some paragraphs about state changes in 0.9 to the PWG
7917 and the porting guide, in particular about the new meaning
7918 of GST_STATE_PAUSED and how to write state change functions
7919 with concurrent access by multiple threads in mind.
7921 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7923 * docs/gst/gstreamer-docs.sgml:
7924 * docs/libs/gstreamer-libs-docs.sgml:
7925 added deprecation and since indexes
7926 * libs/gst/controller/gst-controller.c:
7927 * libs/gst/controller/gst-helper.c:
7931 2005-08-11 Wim Taymans <wim@fluendo.com>
7933 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7934 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7935 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7936 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7937 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7938 (gst_ghost_pad_set_target):
7939 Actually implement (re)setting the target on a ghostpad
7940 as described in the docs.
7942 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7944 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7945 Check whether GST_DEBUG_NO_COLOR environment variable is
7946 set and disable coloured debug output if that is the case.
7948 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7950 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7951 (gst_type_find_helper):
7952 The memory returned by gst_type_find_peek() needs to
7953 stay valid until the end of a typefind function, and
7954 typefind functions may keep results from different
7955 offsets around, so we can't just unref the buffer from
7956 the previous _peek(), but have to save all buffers
7957 returned by _peek() until typefinding is done and only
7960 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7962 * docs/gst/gstreamer-sections.txt:
7964 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7966 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7968 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7969 Fix a pretty good memleak.
7971 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7973 * gst/gstiterator.h:
7974 Fix wrong include and 'make distcheck'.
7976 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7978 * gst/gstbin.c: (bin_bus_handler):
7979 Use gst_element_post_message() instead.
7981 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7983 * gst/base/gstadapter.h:
7984 * gst/base/gstbasesink.h:
7985 * gst/base/gstbasesrc.h:
7986 * gst/base/gstbasetransform.h:
7987 * gst/base/gstcollectpads.h:
7988 * gst/base/gstpushsrc.h:
7989 * gst/gstiterator.h:
7990 Add padding to our base elements' class and instance structs and
7991 to GstIterator (you will need to rebuild all plugins and apps!)
7993 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7995 * gst/gstbin.c: (bin_bus_handler):
7996 Make default message forwarding from child->bus to bin->bus
7997 threadsafe and make it not emit warnings if the parent has no bus.
7999 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8001 * gst/gstelement.c: (activate_pads):
8002 On paused->ready, set pad->caps to NULL, as is the documented
8003 behaviour in this state change. Fixes playback of series of
8004 media files when visualization is enabled in Totem.
8006 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8008 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8009 Allow NULL as filter-caps (which means "any").
8011 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8013 * docs/libs/gstreamer-libs-sections.txt:
8014 * libs/gst/controller/gst-controller.c:
8015 * libs/gst/controller/gst-controller.h:
8016 * libs/gst/controller/gst-helper.c:
8017 adding more entries to the docs and fix small doc-bugs
8019 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8021 * docs/gst/gstreamer-docs.sgml:
8022 * docs/gst/gstreamer-sections.txt:
8023 * docs/gst/gstreamer.types:
8024 * docs/gst/tmpl/gstbasesink.sgml:
8025 * docs/gst/tmpl/gstbasesrc.sgml:
8026 * docs/gst/tmpl/gstbasetransform.sgml:
8027 * docs/gst/tmpl/gstfakesrc.sgml:
8028 * gst/base/gstcollectpads.c:
8029 * gst/base/gstcollectpads.h:
8030 * libs/gst/controller/gst-controller.c:
8031 * libs/gst/controller/gst-controller.h:
8032 * libs/gst/controller/gst-helper.c:
8033 * libs/gst/controller/gst-interpolation.c:
8034 * libs/gst/controller/lib.c:
8035 added long/short desc for controller docs
8036 added collectpads base class docs
8037 added correct includes to base-class docs
8039 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8041 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8042 (gst_test_mono_source_set_property),
8043 (gst_test_mono_source_class_init), (GST_START_TEST),
8044 (gst_controller_suite):
8045 * docs/gst/gstreamer-docs.sgml:
8046 * docs/gst/gstreamer-sections.txt:
8047 * docs/gst/gstreamer.types:
8048 * docs/libs/gstreamer-libs-docs.sgml:
8049 * docs/libs/gstreamer-libs-sections.txt:
8050 * gst/base/gstadapter.c:
8051 * libs/gst/controller/gst-controller.c:
8052 (gst_controlled_property_new), (gst_controlled_property_free),
8053 (gst_controller_new_valist),
8054 (gst_controller_remove_properties_valist),
8055 (gst_controller_sink_values), (_gst_controller_finalize):
8056 * libs/gst/controller/gst-controller.h:
8057 * libs/gst/controller/gst-helper.c:
8058 (gst_object_control_properties), (gst_object_uncontrol_properties),
8059 (gst_object_get_controller), (gst_object_set_controller),
8060 (gst_object_sink_values), (gst_object_get_value_arrays),
8061 (gst_object_get_value_array):
8062 more tests (and fixes) for the controller
8063 more docs for the controller
8064 integrated companies docs for the adapter
8066 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8068 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8069 (GST_START_TEST), (fakesrc_suite):
8070 add tests for sizetype
8072 2005-08-04 Andy Wingo <wingo@pobox.com>
8074 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8075 fixes buffer_alloc proxying among other things.
8077 * gst/base/gstbasetransform.c:
8078 * gst/base/gstbasetransform.h:
8079 Revert patch to gstbasetransform from 7-28 removing
8082 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8083 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8084 Semantics changed, should return not the size of the output buffer
8085 but the byte size of a buffer with a given caps.
8087 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8089 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8090 out) are not the pad caps until setcaps finishes.
8091 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8092 not-in-place case as well. Deal with changing from in-place to
8093 not-in-place within calling pad_alloc_buffer. Still a bit
8094 concerned about the overhead here...
8096 2005-08-03 Andy Wingo <wingo@pobox.com>
8098 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8099 fixating is an error.
8101 2005-08-04 Edward Hervey <edward@fluendo.com>
8103 * gst/base/gstadapter.h:
8104 Added gst_adapter_get_type() to the header
8106 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8108 * check/Makefile.am:
8109 * check/gst-libs/controller.c:
8110 * libs/gst/controller/gst-controller.c:
8111 (gst_controller_new_valist):
8112 added check test suite for the controller
8113 * gst/base/gstpushsrc.c:
8116 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8118 * docs/gst/Makefile.am:
8119 * docs/gst/gstreamer-docs.sgml:
8120 * docs/gst/gstreamer-sections.txt:
8121 * docs/gst/gstreamer.types:
8122 * docs/gst/tmpl/gstfakesrc.sgml:
8124 * gst/base/gstbasesink.c:
8125 * gst/base/gstbasesink.h:
8126 * gst/base/gstbasesrc.c:
8127 * gst/base/gstbasesrc.h:
8128 * gst/base/gstbasetransform.c:
8129 * gst/base/gstpushsrc.c:
8130 * gst/base/gstpushsrc.h:
8131 add short/long description docs to base classes
8132 add pushsrc to the docs
8133 remove consolidated doc fragments
8135 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8138 * docs/libs/Makefile.am:
8139 * docs/libs/gstreamer-libs-docs.sgml:
8140 * docs/libs/gstreamer-libs-sections.txt:
8141 * docs/libs/gstreamer-libs.types:
8142 * examples/Makefile.am:
8143 * examples/controller/.cvsignore:
8144 * examples/controller/Makefile.am:
8145 * examples/controller/audio-example.c: (main):
8146 * libs/gst/Makefile.am:
8147 * libs/gst/controller/.cvsignore:
8148 * libs/gst/controller/Makefile.am:
8149 * libs/gst/controller/gst-controller.c:
8150 (on_object_controlled_property_changed), (gst_timed_value_compare),
8151 (gst_timed_value_find),
8152 (gst_controlled_property_set_interpolation_mode),
8153 (gst_controlled_property_new), (gst_controlled_property_free),
8154 (gst_controller_find_controlled_property),
8155 (gst_controller_new_valist), (gst_controller_new),
8156 (gst_controller_remove_properties_valist),
8157 (gst_controller_remove_properties), (gst_controller_set),
8158 (gst_controller_set_from_list), (gst_controller_unset),
8159 (gst_controller_get), (gst_controller_get_all),
8160 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8161 (gst_controller_get_value_array),
8162 (gst_controller_set_interpolation_mode),
8163 (_gst_controller_finalize), (_gst_controller_init),
8164 (_gst_controller_class_init), (gst_controller_get_type):
8165 * libs/gst/controller/gst-controller.h:
8166 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8167 (g_object_uncontrol_properties), (g_object_get_controller),
8168 (g_object_set_controller), (g_object_sink_values),
8169 (g_object_get_value_arrays), (g_object_get_value_array):
8170 * libs/gst/controller/gst-interpolation.c:
8171 (gst_controlled_property_find_timed_value_node),
8172 (interpolate_none_get), (interpolate_trigger_get),
8173 (interpolate_trigger_get_value_array):
8174 * libs/gst/controller/lib.c: (gst_controller_init):
8175 * pkgconfig/Makefile.am:
8176 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8177 * pkgconfig/gstreamer-control.pc.in:
8178 * testsuite/Makefile.am:
8179 * testsuite/controller/.cvsignore:
8180 * testsuite/controller/Makefile.am:
8181 * testsuite/controller/interpolator.c: (main):
8182 added controller code
8183 removed dparam pc files
8185 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8186 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8187 (gst_collectpads_stop):
8188 Broadcast the condition when shutting down, to make sure we wake all
8189 threads up. Shut down pads on finalize, for safety.
8191 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8192 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8193 (gst_base_transform_handle_buffer),
8194 (gst_base_transform_change_state):
8195 Handle PAUSED->READY->PAUSED transition after negotiation
8197 * gst/gstmessage.c: (gst_message_init):
8198 Extra piece of debug for new messages.
8200 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8203 * docs/gst/tmpl/gstbasesrc.sgml:
8204 * docs/gst/tmpl/gstelement.sgml:
8205 * docs/gst/tmpl/gstevent.sgml:
8206 * docs/gst/tmpl/gstfakesrc.sgml:
8207 * docs/gst/tmpl/gstformat.sgml:
8208 * docs/gst/tmpl/gstghostpad.sgml:
8209 * docs/gst/tmpl/gstpad.sgml:
8210 * docs/gst/tmpl/gstquery.sgml:
8211 * docs/gst/tmpl/gststructure.sgml:
8212 * docs/gst/tmpl/gsttaglist.sgml:
8213 * docs/gst/tmpl/gstvalue.sgml:
8214 * docs/libs/gstreamer-libs-docs.sgml:
8215 * docs/libs/gstreamer-libs-sections.txt:
8216 * docs/libs/gstreamer-libs.types:
8217 * libs/gst/Makefile.am:
8218 * libs/gst/control/.cvsignore:
8219 * libs/gst/control/Makefile.am:
8220 * libs/gst/control/control.c:
8221 * libs/gst/control/control.h:
8222 * libs/gst/control/dparam.c:
8223 * libs/gst/control/dparam.h:
8224 * libs/gst/control/dparam_smooth.c:
8225 * libs/gst/control/dparam_smooth.h:
8226 * libs/gst/control/dparamcommon.h:
8227 * libs/gst/control/dparammanager.c:
8228 * libs/gst/control/dparammanager.h:
8229 * libs/gst/control/dplinearinterp.c:
8230 * libs/gst/control/dplinearinterp.h:
8231 * libs/gst/control/unitconvert.c:
8232 * libs/gst/control/unitconvert.h:
8233 * testsuite/Makefile.am:
8234 * testsuite/dynparams/.cvsignore:
8235 * testsuite/dynparams/Makefile.am:
8236 * testsuite/dynparams/dparamstest.c:
8237 * tools/Makefile.am:
8238 * tools/gst-inspect.c: (print_element_info), (main):
8239 * tools/gst-xmlinspect.c: (print_element_info), (main):
8240 deactivate and remove dparams (libgstcontrol)
8242 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8244 * gst/elements/gsttypefindelement.c:
8245 (gst_type_find_element_have_type), (gst_type_find_element_init),
8246 (stop_typefinding), (gst_type_find_element_handle_event),
8247 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8248 * gst/elements/gsttypefindelement.h:
8249 Set caps on all outgoing buffers, not just the first one.
8251 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8253 * gst/elements/gsttypefindelement.c:
8254 (gst_type_find_element_have_type),
8255 (gst_type_find_element_check_set_buffer_caps),
8256 (gst_type_find_element_init), (stop_typefinding),
8257 (gst_type_find_element_handle_event),
8258 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8259 * gst/elements/gsttypefindelement.h:
8260 Set caps on first outgoing buffer when we've found the type.
8262 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8264 * docs/gst/gstreamer-docs.sgml:
8265 * docs/gst/gstreamer-sections.txt:
8266 * docs/gst/tmpl/gstscheduler.sgml:
8267 * docs/gst/tmpl/gstschedulerfactory.sgml:
8268 Remove some old cruft from docs.
8270 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8273 Fix inline docs for GstPadLinkReturn.
8275 * gst/gststructure.c: (gst_structure_has_name):
8276 * gst/gststructure.h:
8277 * docs/gst/gstreamer-sections.txt:
8278 New API: gst_structure_has_name().
8280 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8283 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8284 and _LARGEFILE_SOURCE in config.h as required. Do not
8285 export those flags in our .pc files any longer (#142209).
8287 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8289 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8290 (gst_file_sink_do_seek), (gst_file_sink_event),
8291 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8292 Redo seek/tell calls with large file support in mind; add some
8293 debugging messages; add log message that tells us when large
8294 file support is unavailable or not enabled for some reason.
8296 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8297 Add log message that tells us when large file support
8298 is unavailable or not enabled for some reason.
8300 2005-07-29 Wim Taymans <wim@fluendo.com>
8302 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8303 Added test for removing an element with ghostpad from a bin.
8304 Fixed test as current implementation does the right thing.
8306 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8307 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8308 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8309 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8310 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8311 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8312 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8313 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8314 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8315 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8316 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8317 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8318 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8319 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8320 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8321 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8322 * gst/gstghostpad.h:
8323 Clean up ghostpads, remove properties for internal stuff.
8326 Prepare for switching targets, not all use cases work yet.
8328 2005-07-29 Wim Taymans <wim@fluendo.com>
8330 * docs/design/part-gstghostpad.txt:
8333 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8334 (gst_bin_remove_func):
8335 Unlinking pads while holding the bin LOCK is not a good
8338 * gst/gstpad.c: (gst_pad_class_init),
8339 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8340 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8341 No prob setting template after creating the pad.
8343 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8345 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8346 (gst_bus_peek), (gst_bus_source_dispatch),
8347 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8348 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8349 gst_bus_poll may be called from other threads. Handle
8350 this nicely by not making poll_data disappear off the
8351 stack once gst_bus_poll returns.
8352 gst_bus_peek now increments the refcount on the returned
8355 2005-07-29 Wim Taymans <wim@fluendo.com>
8357 * docs/design/part-gstghostpad.txt:
8358 Overview of current GhostPad datastructures and use
8359 cases for changing the target.
8361 2005-07-28 Wim Taymans <wim@fluendo.com>
8363 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8364 Added checks for hierarchy consistency whan adding linked
8367 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8368 Added check to test element scheduling without bin/pipeline.
8370 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8371 First add elements to bin, then link.
8373 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8374 (gst_bin_remove_func):
8375 Unlink pads from elements added/removed from bin to maintain
8376 hierarchy consistency.
8378 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8380 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8381 (gst_base_transform_handle_buffer):
8382 * gst/base/gstbasetransform.h:
8383 Remove broken delay_configure (fixes renegotiation of software
8384 scaling pipelines); remove some leftover printf()s.
8386 2005-07-28 Wim Taymans <wim@fluendo.com>
8388 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8389 Added some more tests for wrong hierarchy
8391 * docs/design/part-overview.txt:
8394 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8397 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8398 (gst_element_dispose):
8401 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8402 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8403 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8404 (gst_pad_set_caps), (gst_pad_send_event):
8405 Check for correct hierarchy when linking pads. Moving to
8406 strict requirement for ghostpads when linking elements in
8410 Clean ups. Added WRONG_HIERARCHY return value.
8412 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8414 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8415 Better debug if no transform is possible.
8417 2005-07-27 Wim Taymans <wim@fluendo.com>
8419 * docs/random/wtay/network-transp:
8422 2005-07-27 Wim Taymans <wim@fluendo.com>
8424 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8425 (gst_dp_event_from_packet):
8426 Fix serialization of seek events.
8428 2005-07-27 Wim Taymans <wim@fluendo.com>
8430 * check/gst-libs/gdp.c: (GST_START_TEST):
8431 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8432 Fix compilation and fix event serialization.
8434 2005-07-27 Wim Taymans <wim@fluendo.com>
8437 * docs/design/part-TODO.txt:
8438 * docs/design/part-events.txt:
8441 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8442 (gst_base_sink_event), (gst_base_sink_do_sync),
8443 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8444 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8445 (gst_base_src_do_seek), (gst_base_src_event_handler),
8446 (gst_base_src_loop):
8447 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8448 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8449 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8450 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8451 (gst_base_transform_set_passthrough),
8452 (gst_base_transform_is_passthrough):
8453 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8454 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8460 * gst/gstelement.c: (gst_element_seek):
8462 Update gst_element_seek.
8464 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8465 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8466 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8467 (gst_event_new_eos), (gst_event_new_newsegment),
8468 (gst_event_parse_newsegment), (gst_event_new_tag),
8469 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8470 (gst_event_parse_qos), (gst_event_new_seek),
8471 (gst_event_parse_seek), (gst_event_new_navigation):
8473 Make GstEvent use GstStructure. Add parsing code, make sure the
8474 API is sufficiently generic.
8475 Mark possible directions of events and serialization.
8477 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8478 (_gst_message_copy), (gst_message_new_segment_start),
8479 (gst_message_new_segment_done), (gst_message_new_custom),
8480 (gst_message_parse_segment_start),
8481 (gst_message_parse_segment_done):
8484 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8485 (gst_pad_set_caps), (gst_pad_send_event):
8486 Update for new events.
8487 Catch events sent in wrong directions.
8489 * gst/gstqueue.c: (gst_queue_link_src),
8490 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8491 (gst_queue_handle_src_query):
8496 Remove event code from this file.
8498 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8499 (gst_dp_event_from_packet):
8502 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8504 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8505 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8506 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8507 Make debugging actually useful.
8509 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8511 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8512 (gst_pad_fixate_caps):
8513 Implement default fixation once again, so that gst_pad_fixate()
8514 actually does anything at all. This probably needs to be some
8515 sort of a last resort, and use profile-based fixation first, but
8516 since that doesn't exist yet, this is the best we have. Fixes
8517 visualization in Totem.
8519 2005-07-22 Wim Taymans <wim@fluendo.com>
8521 * docs/design/part-events.txt:
8524 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8525 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8526 (gst_base_sink_activate_pull):
8529 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8530 (gst_fake_src_create):
8531 Fix handoff marshall.
8533 * gst/elements/gstidentity.c: (gst_identity_class_init),
8534 (gst_identity_transform_ip):
8535 We're a real inplace element.
8537 * gst/gstbus.c: (gst_bus_post):
8538 Added some comments.
8540 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8541 * tests/muxing/case1.c: (main):
8542 * tests/sched/dynamic-pipeline.c: (main):
8543 * tests/sched/interrupt1.c: (main):
8544 * tests/sched/interrupt2.c: (main):
8545 * tests/sched/interrupt3.c: (main):
8546 * tests/sched/runxml.c: (main):
8547 * tests/sched/sched-stress.c: (main):
8548 * tests/seeking/seeking1.c: (event_received), (main):
8549 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8551 * tests/threadstate/threadstate3.c: (main):
8552 * tests/threadstate/threadstate4.c: (main):
8553 * tests/threadstate/threadstate5.c: (main):
8556 2005-07-21 Wim Taymans <wim@fluendo.com>
8558 * docs/design/part-seeking.txt:
8559 Some small additions.
8561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8562 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8563 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8564 * gst/base/gstbasesink.h:
8565 discont values are gint64, handle the math correctly.
8567 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8568 Make the basesrc report error if the source pad is not linked.
8570 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8571 (gst_queue_loop), (gst_queue_handle_src_query),
8572 (gst_queue_src_activate_push):
8573 Make queue collect data even if the srcpad is not linked.
8574 Start pushing out data as soon as it is linked.
8576 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8578 Added gst_flow_get_name() to ease error reporting.
8580 2005-07-20 Wim Taymans <wim@fluendo.com>
8582 * gst/gstmessage.c: (gst_message_new_segment_start),
8583 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8584 (gst_message_parse_segment_done):
8586 Added a bunch of messages for advanced seeking.
8588 * gst/parse/grammar.y:
8589 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8590 (gst_dpman_state_changed):
8591 Fix some new-pad -> pad-added signals
8593 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8595 * docs/manual/appendix-porting.xml:
8596 * docs/pwg/appendix-porting.xml:
8597 Document new-pad/state-change signal renames and the FixedList
8600 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8602 * docs/manual/advanced-autoplugging.xml:
8603 * docs/manual/basics-helloworld.xml:
8604 * docs/manual/basics-pads.xml:
8605 * docs/random/ds/0.9-suggested-changes:
8606 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8611 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8612 (gst_structure_parse_array), (gst_structure_parse_value):
8613 * gst/gstvalue.c: (gst_type_is_fixed),
8614 (gst_value_list_prepend_value), (gst_value_list_append_value),
8615 (gst_value_list_get_size), (gst_value_list_get_value),
8616 (gst_value_transform_array_string), (gst_value_serialize_array),
8617 (gst_value_deserialize_array), (gst_value_intersect_array),
8618 (gst_value_is_fixed), (_gst_value_initialize):
8620 GstElement::new-pad -> pad-added, GstElement::state-change ->
8621 state-changed, GstValueFixedList -> GstValueArray, add format and
8622 flags as their own arguments in gst_element_seek() (should improve
8623 "bindeability"), remove function generators since they don't work
8624 under a whole bunch of compilers (they were deprecated already
8627 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8629 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8630 (_gst_debug_register_funcptr):
8632 Fix illegal cast on some platforms (#309253).
8634 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8636 * gst/gstmessage.c: (gst_message_new_custom):
8638 Add _new_custom, make _new_application a macro to _new_custom.
8640 2005-07-20 Wim Taymans <wim@fluendo.com>
8642 * gst/base/gstbasesrc.c: (gst_base_src_init),
8643 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8644 * gst/base/gstbasesrc.h:
8645 Add a gboolean to decide when to push out a discont.
8647 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8648 (gst_queue_loop), (gst_queue_handle_src_query),
8649 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8650 (gst_queue_set_property), (gst_queue_get_property):
8653 * tests/threadstate/threadstate1.c: (main):
8654 Make a thread test compile and run... very silly..
8657 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8659 * docs/manual/appendix-porting.xml:
8660 Mention removal of libgstgconf-0.9.la and existence of gconf
8663 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8665 * docs/pwg/advanced-clock.xml:
8666 * docs/pwg/appendix-porting.xml:
8667 * docs/pwg/intro-preface.xml:
8668 * docs/pwg/other-base.xml:
8669 * docs/pwg/other-manager.xml:
8670 * docs/pwg/other-nton.xml:
8671 * docs/pwg/other-ntoone.xml:
8672 * docs/pwg/other-oneton.xml:
8674 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8675 demuxer), remove n-to-n (was never written), fix some code examples
8676 and links and update the porting section to include all this.
8678 2005-07-19 Wim Taymans <wim@fluendo.com>
8680 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8681 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8682 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8683 (gst_queue_src_activate_push), (gst_queue_change_state),
8684 (gst_queue_get_property):
8686 Propagate GstFlowReturn more intelligently upstream and output
8687 an ERROR/EOS when streaming stopped due to fatal error.
8689 2005-07-19 Wim Taymans <wim@fluendo.com>
8691 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8692 Don't block forever for the state change to complete, the
8693 pipeline already did with a sensible timeout.
8695 2005-07-19 Wim Taymans <wim@fluendo.com>
8697 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8698 Make sure we never call the create function is we
8701 2005-07-19 Andy Wingo <wingo@pobox.com>
8703 * gst/parse/parse.l: Attempt to solve bug #172815.
8705 2005-07-19 Wim Taymans <wim@fluendo.com>
8707 * docs/design/part-clocks.txt:
8708 * docs/design/part-events.txt:
8709 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8711 Only update the seeking values when we are not
8714 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8716 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8717 Oops, ignore the result of gst_pad_push_event here.
8719 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8721 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8722 (gst_base_src_activate_push):
8723 Send discont event from the loop function, as pads
8724 aren't activated yet in the activate_push handler.
8726 * gst/gstbin.c: (bin_bus_handler):
8727 Don't leak element name.
8729 2005-07-18 Andy Wingo <wingo@pobox.com>
8731 * configure.ac: Use AS_LIBTOOL_TAGS.
8733 2005-07-18 Wim Taymans <wim@fluendo.com>
8735 * docs/gst/gstreamer.types:
8736 Remove deleted types.
8738 2005-07-18 Wim Taymans <wim@fluendo.com>
8740 * check/elements/gstfakesrc.c: (GST_START_TEST):
8743 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8744 (init_popt_callback):
8746 * gst/gst_private.h:
8747 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8748 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8751 * gst/gstconfig.h.in:
8752 * gst/gstelement.c: (gst_element_class_init),
8753 (gst_element_set_base_time), (gst_element_get_base_time),
8754 (iterator_fold_with_resync), (gst_element_change_state),
8755 (gst_element_dispose), (gst_element_get_bus):
8757 * gst/gstelementfactory.h:
8758 * gst/gsterror.c: (_gst_core_errors_init):
8761 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8763 * gst/gstinfo.c: (_gst_debug_init):
8764 * gst/gstmessage.c: (_gst_message_copy):
8766 * gst/gstminiobject.h:
8769 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8770 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8773 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8774 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8775 (gst_pipeline_get_last_stream_time):
8776 * gst/gstpipeline.h:
8777 * gst/gstpluginfeature.h:
8779 * gst/gstscheduler.c:
8780 * gst/gstscheduler.h:
8781 * gst/gststructure.h:
8782 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8783 (gst_task_finalize), (gst_task_func), (gst_task_create),
8784 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8785 (gst_task_stop), (gst_task_pause):
8787 * gst/gsttypefind.h:
8789 * gst/registries/gstlibxmlregistry.c: (load_feature),
8790 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8791 * gst/registries/gstxmlregistry.c:
8792 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8793 * gst/schedulers/threadscheduler.c:
8794 * libs/gst/control/dparammanager.h:
8795 * tools/gst-inspect.c: (print_element_list),
8796 (print_plugin_features), (print_element_features):
8797 * tools/gst-xmlinspect.c: (print_element_list),
8798 (print_plugin_info), (main):
8799 Removed plugable schedulers.
8800 Removed Scheduler/Manager from elements.
8801 Removed gsttypes.h, rearranged includes.
8802 Removed dependency pad<->element, element<>pipeline, and
8803 various others, fix includes.
8804 implement gst_pad_get_parent() with gst_object_get_parent()
8805 Make GstTask sefcontained.
8806 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8808 Fix endless loop in iterator_fold_with_resync.
8811 2005-07-18 Wim Taymans <wim@fluendo.com>
8817 2005-07-18 Wim Taymans <wim@fluendo.com>
8822 2005-07-18 Wim Taymans <wim@fluendo.com>
8828 2005-07-18 Wim Taymans <wim@fluendo.com>
8830 * docs/design/part-dynamic.txt:
8831 * docs/design/part-events.txt:
8832 * docs/design/part-seeking.txt:
8833 Some more docs in the works.
8835 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8836 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8837 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8838 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8839 (gst_base_transform_handle_buffer),
8840 (gst_base_transform_sink_activate_push),
8841 (gst_base_transform_src_activate_pull),
8842 (gst_base_transform_set_passthrough),
8843 (gst_base_transform_is_passthrough):
8846 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8849 * gst/gstevent.c: (gst_event_finalize):
8852 * gst/gstutils.c: (gst_element_unlink),
8853 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8854 (gst_pad_proxy_setcaps):
8856 Add _get_parent_element() to get a pads parent as an element.
8858 2005-07-18 Wim Taymans <wim@fluendo.com>
8860 * check/gst/gstbin.c: (GST_START_TEST):
8863 2005-07-18 Wim Taymans <wim@fluendo.com>
8865 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8866 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8867 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8868 (gst_base_sink_event), (gst_base_sink_do_sync),
8869 (gst_base_sink_chain), (gst_base_sink_loop),
8870 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8871 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8873 Fix logic for returning ASYNC when not prerolled.
8875 2005-07-18 Wim Taymans <wim@fluendo.com>
8877 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8878 Fix nasty refcount bug.
8880 2005-07-16 Philippe Khalaf <burger@speedy.org>
8882 * gst/elements/gstfdsrc.c:
8883 * gst/elements/gstfdsrc.h:
8884 * gst/elements/gstelements.c:
8885 * gst/elements/Makefile.am:
8886 Ported fdsrc to 0.9.
8888 2005-07-16 Wim Taymans <wim@fluendo.com>
8890 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8891 (gst_base_sink_do_sync):
8894 2005-07-16 Wim Taymans <wim@fluendo.com>
8896 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8897 (gst_base_sink_event), (gst_base_sink_get_times),
8898 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8899 * gst/base/gstbasesink.h:
8900 Store and use discont values when syncing buffers as described
8903 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8904 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8905 (gst_base_src_activate_push):
8906 Push discont event when starting.
8908 * gst/elements/gstidentity.c: (gst_identity_transform):
8911 * gst/gstbin.c: (gst_bin_change_state):
8912 Small cleanups in base_time distribution.
8914 * gst/gstelement.c: (gst_element_set_base_time),
8915 (gst_element_get_base_time), (gst_element_change_state):
8917 Added methods for the base_time of the element.
8920 * gst/gstpipeline.c: (gst_pipeline_send_event),
8921 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8922 (gst_pipeline_get_last_stream_time):
8923 * gst/gstpipeline.h:
8925 Handle seeking as described in design doc, remove stream_time
8927 Cleanups clock and stream_time selection code. Added accessors
8928 for the stream_time.
8931 2005-07-16 Andy Wingo <wingo@pobox.com>
8933 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8936 2005-07-16 Wim Taymans <wim@fluendo.com>
8938 * check/gst/gstbin.c: (GST_START_TEST):
8939 Make elements silent as the deep_notify refs the
8940 parent, which might make the test fail.
8942 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8943 Don't hold the lock for too long.
8945 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8947 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8948 Don't unref the caps we passed to gst_caps_make_writable() after
8949 passing them. gst_caps_make_writable() will do that for us.
8951 2005-07-15 Andy Wingo <wingo@pobox.com>
8953 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8956 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8957 own marshalling function for the handoff signal. Properly type the
8958 buffer as a buffer. Fixes some warnings. Should do a more general
8960 (gst_identity_class_init): Plug into the right marshaller.
8962 2005-07-15 Wim Taymans <wim@fluendo.com>
8964 * docs/design/part-TODO.txt:
8965 * docs/design/part-clocks.txt:
8966 * docs/design/part-element-sink.txt:
8967 * docs/design/part-events.txt:
8968 * docs/design/part-gstpipeline.txt:
8969 Updated docs, mostly DISCONT related.
8971 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8973 * docs/pwg/building-pads.xml:
8974 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8976 2005-07-15 Andy Wingo <wingo@pobox.com>
8978 * tools/gst-typefind.c: Update, add copyright block.
8980 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8981 Normalize and truncate caps before fixation.
8984 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8985 discards all but the first structure from its argument.
8987 2005-07-15 Wim Taymans <wim@fluendo.com>
8989 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8990 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8991 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8992 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8993 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8994 (gst_base_transform_chain), (gst_base_transform_change_state),
8995 (gst_base_transform_set_passthrough),
8996 (gst_base_transform_is_passthrough):
8997 * gst/base/gstbasetransform.h:
8998 Make passthrough work using the bufferpools.
8999 Changed API a bit, subclasses have to write into a buffer
9000 provided by the base class.
9001 More debug info in nego functions.
9003 * gst/elements/gstidentity.c: (gst_identity_init),
9004 (gst_identity_transform):
9005 Port to new base class.
9007 2005-07-15 Wim Taymans <wim@fluendo.com>
9009 * gst/gstmessage.c: (gst_message_new_state_changed):
9010 * tools/gst-launch.c: (event_loop), (main):
9011 Totally dump messages in -launch with the -m option.
9012 Fix message name for State messages,
9014 2005-07-14 Wim Taymans <wim@fluendo.com>
9016 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9017 Post error messages on errors.
9019 2005-07-14 Wim Taymans <wim@fluendo.com>
9021 * gst/gstcaps.c: (gst_caps_do_simplify):
9025 Define error for stream stopped.
9027 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9028 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9029 Do proper return values.
9031 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9032 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9033 (gst_pad_get_range):
9034 Better return values.
9037 Reorganise return values, add macro to check for fatal errors.
9039 * gst/gstqueue.c: (gst_queue_chain):
9040 Return proper GstFlowReturn values,
9042 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9044 * docs/gst/gstreamer-sections.txt:
9045 * docs/gst/gstreamer.types:
9046 * docs/gst/tmpl/gst.sgml:
9047 * docs/gst/tmpl/gstbasesink.sgml:
9048 * docs/gst/tmpl/gstbasesrc.sgml:
9049 * docs/gst/tmpl/gstbasetransform.sgml:
9050 * docs/gst/tmpl/gstbin.sgml:
9051 * docs/gst/tmpl/gstbuffer.sgml:
9052 * docs/gst/tmpl/gstcaps.sgml:
9053 * docs/gst/tmpl/gstclock.sgml:
9054 * docs/gst/tmpl/gstcompat.sgml:
9055 * docs/gst/tmpl/gstconfig.sgml:
9056 * docs/gst/tmpl/gstelement.sgml:
9057 * docs/gst/tmpl/gstelementdetails.sgml:
9058 * docs/gst/tmpl/gstelementfactory.sgml:
9059 * docs/gst/tmpl/gstenumtypes.sgml:
9060 * docs/gst/tmpl/gsterror.sgml:
9061 * docs/gst/tmpl/gstevent.sgml:
9062 * docs/gst/tmpl/gstfakesink.sgml:
9063 * docs/gst/tmpl/gstfakesrc.sgml:
9064 * docs/gst/tmpl/gstfilesink.sgml:
9065 * docs/gst/tmpl/gstfilesrc.sgml:
9066 * docs/gst/tmpl/gstfilter.sgml:
9067 * docs/gst/tmpl/gstformat.sgml:
9068 * docs/gst/tmpl/gstghostpad.sgml:
9069 * docs/gst/tmpl/gstimplementsinterface.sgml:
9070 * docs/gst/tmpl/gstindex.sgml:
9071 * docs/gst/tmpl/gstindexfactory.sgml:
9072 * docs/gst/tmpl/gstinfo.sgml:
9073 * docs/gst/tmpl/gstiterator.sgml:
9074 * docs/gst/tmpl/gstmacros.sgml:
9075 * docs/gst/tmpl/gstmemchunk.sgml:
9076 * docs/gst/tmpl/gstminiobject.sgml:
9077 * docs/gst/tmpl/gstobject.sgml:
9078 * docs/gst/tmpl/gstpad.sgml:
9079 * docs/gst/tmpl/gstpadtemplate.sgml:
9080 * docs/gst/tmpl/gstparse.sgml:
9081 * docs/gst/tmpl/gstpipeline.sgml:
9082 * docs/gst/tmpl/gstplugin.sgml:
9083 * docs/gst/tmpl/gstpluginfeature.sgml:
9084 * docs/gst/tmpl/gstquery.sgml:
9085 * docs/gst/tmpl/gstqueue.sgml:
9086 * docs/gst/tmpl/gstregistry.sgml:
9087 * docs/gst/tmpl/gstregistrypool.sgml:
9088 * docs/gst/tmpl/gstscheduler.sgml:
9089 * docs/gst/tmpl/gstschedulerfactory.sgml:
9090 * docs/gst/tmpl/gststructure.sgml:
9091 * docs/gst/tmpl/gstsystemclock.sgml:
9092 * docs/gst/tmpl/gsttaglist.sgml:
9093 * docs/gst/tmpl/gsttagsetter.sgml:
9094 * docs/gst/tmpl/gsttrace.sgml:
9095 * docs/gst/tmpl/gsttrashstack.sgml:
9096 * docs/gst/tmpl/gsttypefind.sgml:
9097 * docs/gst/tmpl/gsttypefindfactory.sgml:
9098 * docs/gst/tmpl/gsttypes.sgml:
9099 * docs/gst/tmpl/gsturihandler.sgml:
9100 * docs/gst/tmpl/gsturitype.sgml:
9101 * docs/gst/tmpl/gstutils.sgml:
9102 * docs/gst/tmpl/gstvalue.sgml:
9103 * docs/gst/tmpl/gstversion.sgml:
9104 * docs/gst/tmpl/gstxml.sgml:
9105 * docs/libs/tmpl/gstcontrol.sgml:
9106 * docs/libs/tmpl/gstdataprotocol.sgml:
9107 * docs/libs/tmpl/gstdparam.sgml:
9108 * docs/libs/tmpl/gstdplinint.sgml:
9109 * docs/libs/tmpl/gstdpman.sgml:
9110 * docs/libs/tmpl/gstdpsmooth.sgml:
9111 * docs/libs/tmpl/gstgetbits.sgml:
9112 * docs/libs/tmpl/gstunitconvert.sgml:
9113 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9114 (gst_push_src_base_init), (gst_push_src_class_init),
9115 (gst_push_src_init), (gst_push_src_create):
9116 * gst/base/gstpushsrc.h:
9117 * gst/elements/gstelements.c:
9118 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9119 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9120 (gst_fake_sink_init), (gst_fake_sink_set_property),
9121 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9122 (gst_fake_sink_event), (gst_fake_sink_preroll),
9123 (gst_fake_sink_render), (gst_fake_sink_change_state):
9124 * gst/elements/gstfakesink.h:
9125 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9126 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9127 (gst_fake_src_base_init), (gst_fake_src_class_init),
9128 (gst_fake_src_init), (gst_fake_src_event_handler),
9129 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9130 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9131 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9132 (gst_fake_src_create_buffer), (gst_fake_src_create),
9133 (gst_fake_src_start), (gst_fake_src_stop):
9134 * gst/elements/gstfakesrc.h:
9135 * gst/elements/gstfilesink.c: (_do_init),
9136 (gst_file_sink_base_init), (gst_file_sink_class_init),
9137 (gst_file_sink_init), (gst_file_sink_dispose),
9138 (gst_file_sink_set_location), (gst_file_sink_set_property),
9139 (gst_file_sink_get_property), (gst_file_sink_open_file),
9140 (gst_file_sink_close_file), (gst_file_sink_query),
9141 (gst_file_sink_event), (gst_file_sink_render),
9142 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9143 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9144 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9145 * gst/elements/gstfilesink.h:
9146 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9147 (gst_file_src_class_init), (gst_file_src_init),
9148 (gst_file_src_finalize), (gst_file_src_set_location),
9149 (gst_file_src_set_property), (gst_file_src_get_property),
9150 (gst_file_src_map_region), (gst_file_src_map_small_region),
9151 (gst_file_src_create_mmap), (gst_file_src_create_read),
9152 (gst_file_src_create), (gst_file_src_is_seekable),
9153 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9154 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9155 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9156 (gst_file_src_uri_handler_init):
9157 * gst/elements/gstfilesrc.h:
9158 more autistic cleanliness in functions/names/defines
9160 2005-07-13 Andy Wingo <wingo@pobox.com>
9162 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9163 source couldn't negotiate.
9165 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9169 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9170 function. I am channeling Hades. Put your boots on suckers!!!
9172 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9174 * testsuite/caps/Makefile.am:
9175 * testsuite/caps/value_compare.c:
9176 * testsuite/caps/value_intersect.c:
9177 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9178 move two testsuite apps over to the check dir
9180 2005-07-12 Wim Taymans <wim@fluendo.com>
9182 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9183 Added more debug info in the negotiate process.
9186 Prepare for segment playback.
9188 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9194 * tools/gst-launch.c: (main):
9195 NULL pipeline on errors.
9197 2005-07-12 Andy Wingo <wingo@pobox.com>
9199 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9200 not it comes from a malloc region. Make sure our copy gets freed.
9202 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9204 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9205 * check/gst/gstmessage.c: (GST_START_TEST):
9206 * check/gst/gststructure.c: (GST_START_TEST),
9207 (gst_structure_suite), (main):
9209 * gst/gstelement.c: (gst_element_message_full):
9210 clean up GError and debug string now that they get copied
9211 * gst/gstmessage.c: (gst_message_new_error),
9212 (gst_message_new_warning), (gst_message_parse_error),
9213 (gst_message_parse_warning):
9214 use GST_TYPE_G_ERROR for structure_new, and take copies of
9215 arguments, so that we don't mess up refcounting
9217 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9219 * check/Makefile.am:
9220 add per-test valgrind targets
9221 * check/gst-libs/gdp.c: (GST_START_TEST),
9222 (gst_data_protocol_suite), (main):
9225 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9227 * check/Makefile.am:
9228 instate more valgrindable tests
9229 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9230 (GST_START_TEST), (fakesrc_suite):
9231 * check/gst/gstpad.c: (GST_START_TEST):
9232 * check/gst/gststructure.c: (GST_START_TEST):
9234 * docs/gst/tmpl/gstminiobject.sgml:
9235 * gst/gstpad.c: (gst_pad_finalize):
9236 fix the static mutex leak
9238 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9240 * check/Makefile.am:
9241 add two more tests for valgrinding
9242 * check/gst/gstvalue.c: (GST_START_TEST):
9243 test refcount of deserialized buffer, found a leak
9244 * docs/gst/gstreamer-docs.sgml:
9245 * docs/gst/gstreamer-sections.txt:
9246 * docs/gst/gstreamer.types:
9247 * docs/gst/tmpl/gstminiobject.sgml:
9248 add miniobject to docs
9249 * gst/gstminiobject.c:
9251 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9252 (gst_string_unwrap):
9253 fix a hard-to-find invalid write for one of the tests
9254 fix a leak for deserialized buffers
9256 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9258 * docs/pwg/advanced-events.xml:
9259 * docs/pwg/advanced-request.xml:
9260 * docs/pwg/advanced-scheduling.xml:
9261 * docs/pwg/appendix-porting.xml:
9262 * docs/pwg/building-boiler.xml:
9263 * docs/pwg/intro-preface.xml:
9264 * docs/pwg/other-ntoone.xml:
9265 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9266 of example code and explanation for pad activation, loop() and
9267 getrange() functions and a bit more. Remove old comments pointing
9269 * examples/pwg/Makefile.am:
9270 Add loop/getrange examples.
9272 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9275 check for valgrind binary + some fixes
9277 valgrind suppressions for the tests
9278 * check/Makefile.am:
9279 add a valgrind: target that valgrinds the unit tests
9280 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9281 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9282 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9283 * check/gst/gstghostpad.c:
9285 * check/gst/gstdata.c:
9287 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9288 (thread_unref), (gst_mini_object_suite), (main):
9290 * gst/gst.c: (gst_deinit):
9292 add a method to clean up.
9293 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9294 (gst_system_clock_obtain):
9295 allow for disposing the system clock.
9296 * tools/gst-launch.c: (main):
9299 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9301 * docs/gst/tmpl/gstbasesrc.sgml:
9302 * docs/gst/tmpl/gstfakesrc.sgml:
9303 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9304 (gst_base_src_init), (gst_base_src_set_property),
9305 (gst_base_src_get_property), (gst_base_src_get_range),
9306 (gst_base_src_start):
9307 * gst/base/gstbasesrc.h:
9308 add num-buffers property
9309 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9310 (gst_fakesrc_init), (gst_fakesrc_set_property),
9311 (gst_fakesrc_get_property), (gst_fakesrc_create),
9312 (gst_fakesrc_start):
9313 remove num-buffers property
9315 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9317 * docs/gst/gstreamer-sections.txt:
9318 * docs/gst/tmpl/gstbasesink.sgml:
9319 * docs/gst/tmpl/gstbasesrc.sgml:
9320 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9321 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9322 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9323 (gst_base_sink_set_property), (gst_base_sink_get_property),
9324 (gst_base_sink_handle_object), (gst_base_sink_event),
9325 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9326 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9327 (gst_base_sink_loop), (gst_base_sink_deactivate),
9328 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9329 (gst_base_sink_change_state):
9330 * gst/base/gstbasesink.h:
9331 * gst/base/gstbasesrc.h:
9332 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9333 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9334 (gst_filesink_init):
9335 more macro splitting
9337 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9339 * gst/gstelement.c: (gst_element_get_bus):
9341 * tools/gst-launch.c: (check_intr), (event_loop):
9344 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9346 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9349 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9351 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9352 (gst_base_src_finalize):
9353 add finalize method and clean up properly
9354 * gst/gstpipeline.c: (gst_pipeline_dispose):
9357 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9359 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9361 add more things to check
9362 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9366 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9368 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9369 (GST_START_TEST), (fakesrc_suite):
9370 * check/gst-libs/gdp.c: (GST_START_TEST):
9371 * check/gst/gst.c: (GST_START_TEST):
9372 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9373 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9374 * check/gst/gstbus.c: (GST_START_TEST):
9375 * check/gst/gstcaps.c: (GST_START_TEST):
9376 * check/gst/gstdata.c: (GST_START_TEST):
9377 * check/gst/gstelement.c: (GST_START_TEST):
9378 * check/gst/gstghostpad.c: (GST_START_TEST):
9379 * check/gst/gstiterator.c: (GST_START_TEST):
9380 * check/gst/gstmessage.c: (GST_START_TEST):
9381 * check/gst/gstobject.c: (GST_START_TEST):
9382 * check/gst/gstpad.c: (GST_START_TEST):
9383 * check/gst/gststructure.c: (GST_START_TEST):
9384 * check/gst/gstsystemclock.c: (GST_START_TEST),
9385 (gst_systemclock_suite):
9386 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9387 * check/gst/gstvalue.c: (GST_START_TEST):
9388 * check/pipelines/cleanup.c: (GST_START_TEST):
9389 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9390 * check/states/sinks.c: (GST_START_TEST):
9391 * check/gstcheck.c: (gst_check_init):
9393 add debugging category
9394 use GST_START_TEST now, so we add a debug line
9396 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9398 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9399 add test for state change message on a bin
9400 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9402 * gst/gstbin.c: (gst_bin_init):
9403 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9404 * gst/gstelement.c: (gst_element_post_message),
9405 (gst_element_set_state):
9406 * gst/gstelementfactory.c: (gst_element_factory_create):
9407 * gst/gstmessage.c: (gst_message_new):
9408 * gst/gstscheduler.c:
9409 various debugging additions and cleanups
9411 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9413 * check/Makefile.am:
9414 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9416 adding tests for elements
9417 * gst/gstelement.c: (gst_element_dispose):
9419 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9421 * gst/registries/gstlibxmlregistry.c: (load_feature):
9422 plug more leaks. A simple gst_init() now is leakfree, yay.
9424 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9426 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9427 (gst_xml_registry_load):
9428 plug another memleak
9430 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9433 use GST_SET_ERROR_CFLAGS
9435 change to ERROR_CFLAGS
9437 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9440 make GST_ERROR_CFLAGS overridable and re-enable Werror
9442 add a note about error CFLAGS
9443 * docs/gst/tmpl/gstfakesrc.sgml:
9444 * gst/elements/gstfakesrc.c:
9445 comment out some unused code
9446 * gst/gst.c: (split_and_iterate):
9447 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9451 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9453 * common/Makefile.am:
9454 * common/gtk-doc.mak:
9455 * docs/gst/Makefile.am:
9456 factor out gtk-doc.mak
9458 2005-07-07 Wim Taymans <wim@fluendo.com>
9460 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9461 (gst_thread_scheduler_dispose):
9462 Unlock the STREAM_LOCK completely.
9464 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9466 * check/Makefile.am:
9467 * check/elements/.cvsignore:
9468 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9469 (START_TEST), (fakesrc_suite), (main):
9470 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9471 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9472 (gst_fakesrc_create), (gst_fakesrc_start):
9473 * gst/elements/gstfakesrc.h:
9474 adding a first element test
9476 2005-07-07 Andy Wingo <wingo@pobox.com>
9478 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9481 2005-07-07 Wim Taymans <wim@fluendo.com>
9487 2005-07-07 Wim Taymans <wim@fluendo.com>
9489 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9490 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9491 Allow subclasses to implement their own negotiation.
9493 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9495 * docs/design/part-gstbin.txt:
9496 * docs/design/part-gstpipeline.txt:
9497 Update design notes to reflect the movement of
9498 responsibility for bus handling from GstPipeline to
9501 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9504 Remove unnecessary queue2/3/4 examples.
9506 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9508 * examples/Makefile.am:
9509 * examples/helloworld/helloworld.c: (event_loop), (main):
9510 * examples/queue/queue.c: (event_loop), (main):
9511 * examples/queue2/queue2.c: (main):
9512 Update a couple of the examples to work again.
9514 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9515 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9516 Spelling corrections and extra debug.
9518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9519 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9520 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9522 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9523 (gst_pipeline_change_state):
9524 * gst/gstpipeline.h:
9525 Move the bus handler for children to the GstBin, and create a
9526 separate bus for receiving messages from children to the one the
9527 bus sends 'upwards' on.
9529 2005-07-06 Wim Taymans <wim@fluendo.com>
9532 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9533 (gst_base_sink_handle_object), (gst_base_sink_loop),
9534 (gst_base_sink_change_state):
9535 * gst/base/gstbasesink.h:
9536 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9537 (gst_base_src_init), (gst_base_src_setcaps),
9538 (gst_base_src_getcaps), (gst_base_src_loop),
9539 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9540 (gst_base_src_start), (gst_base_src_change_state):
9541 * gst/base/gstbasesrc.h:
9542 Make basesrc negotiate.
9543 Handle the case where preroll fails in basesink.
9546 2005-07-06 Wim Taymans <wim@fluendo.com>
9548 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9549 Implement the fixate function.
9550 Clean up acceptcaps.
9552 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9554 * docs/pwg/building-filterfactory.xml:
9556 Remove never-written filter-factory chapter; I'll add the various
9557 base classes to part 4 ("other element types") later on.
9559 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9561 * docs/pwg/advanced-negotiation.xml:
9562 * docs/pwg/building-boiler.xml:
9563 * docs/pwg/building-pads.xml:
9565 * examples/pwg/Makefile.am:
9566 Add a chapter on caps negotiation, simplify the original code
9567 samples a bit w.r.t. caps negotiation, add link to the advanced
9568 section. Add a bunch of examples showing different use cases of
9569 different types of caps negotiation. Upstream renegotiation isn't
9570 fully documented yet since nobody knows how that works.
9572 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9574 * check/gst/gstpad.c:
9576 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9577 if pad has no parent, return NULL as list of internal links
9579 2005-07-05 Andy Wingo <wingo@pobox.com>
9581 * gst/elements/gstfilesrc.c:
9582 * gst/elements/gstfakesrc.c:
9583 * gst/base/gstpushsrc.c:
9584 * gst/base/gstbasesrc.h:
9585 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9587 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9590 better report generation target (lcov needs a patch)
9592 2005-07-05 Andy Wingo <wingo@pobox.com>
9594 * gst/elements, testsuite: Null if we got it...
9596 2005-07-05 Wim Taymans <wim@fluendo.com>
9599 * libs/gst/dataprotocol/Makefile.am:
9600 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9601 * libs/gst/dataprotocol/dataprotocol.h:
9602 * pkgconfig/Makefile.am:
9603 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9604 * pkgconfig/gstreamer-dataprotocol.pc.in:
9605 Ported dataprotol to 0.9.
9606 Added pkgconfig files.
9608 2005-07-05 Andy Wingo <wingo@pobox.com>
9610 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9611 Default to returning TRUE for the case when tranform_caps returns
9612 a fixed caps, like for identity or volume.
9614 * check/gst/gstbus.c (pound_bus_with_messages):
9615 * check/gst/gstmessage.c (START_TEST):
9616 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9619 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9620 logic weaks here: always run transform_caps, trying passthrough
9621 operation only if the original caps intersects with the transform.
9623 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9624 source and sink caps.
9626 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9627 Intersect the peer caps with the pad template before going into
9629 (gst_base_transform_transform_caps): More debugging.
9631 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9634 2005-07-04 Edward Hervey <edward@fluendo.com>
9638 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9641 2005-07-04 Andy Wingo <wingo@pobox.com>
9643 * check/gst/gstpad.c: Only set explicit caps on pads.
9645 2005-07-01 Andy Wingo <wingo@pobox.com>
9647 * tests/network-clock.scm: Commentary update.
9649 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9650 Didn't really make sense, not implementable with basetransform,
9652 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9653 attempt at implementing the sync property, needs an unlock method.
9655 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9656 New func, by default returns the same caps (the identity
9658 (gst_base_transform_getcaps): Uses transform_caps to return
9660 (gst_base_transform_setcaps): Complicated logic to get caps on
9661 both pads, even if they are different, and to call set_caps once
9662 for every time both pads get their caps set.
9663 (gst_base_transform_handle_buffer): Give the ref to the transform
9664 function. Allows in-place modification of the buffer.
9666 * gst/base/gstbasetransform.h (transform_caps): New class method.
9667 Given caps on one side, what can I do on the other.
9668 (set_caps): Take two caps, one for each side of the element.
9671 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9672 caps in place. This is safe because we can check the mutability of
9673 the caps, and a good idea because fixate functions are just called
9674 as a matter of last resort. (Not actually implemented.)
9675 (gst_pad_set_caps): If the caps we're setting is actually the same
9676 as the existing pad caps, just update the pointer without calling
9677 setcaps. Assert that caps is either NULL or fixed, as per the
9680 * gst/gstghostpad.c: Update for fixate changes.
9682 2005-07-02 Andy Wingo <wingo@pobox.com>
9685 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9686 two refcounts makes it immutable, which is enough. Doc more.
9688 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9690 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9691 Put the mini_object into GValue as a mini_object,
9692 not a gpointer, since that's how we declared
9695 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9697 * examples/pwg/Makefile.am:
9700 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9702 * docs/pwg/building-testapp.xml:
9704 * examples/pwg/Makefile.am:
9707 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9710 * examples/Makefile.am:
9711 * examples/pwg/Makefile.am:
9712 * examples/pwg/extract.pl:
9713 Enable building the PWG examples.
9714 * docs/pwg/advanced-interfaces.xml:
9715 Add URI interface stub.
9716 * docs/pwg/advanced-types.xml:
9717 * docs/pwg/other-autoplugger.xml:
9718 * docs/pwg/appendix-porting.xml:
9720 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9721 * docs/pwg/building-boiler.xml:
9722 * docs/pwg/building-chainfn.xml:
9723 * docs/pwg/building-pads.xml:
9724 * docs/pwg/building-props.xml:
9725 * docs/pwg/building-state.xml:
9726 * docs/pwg/building-testapp.xml:
9727 Update the building-*.xml parts for 0.9 changes. All examples
9728 code blocks compile in examples/pwg/*.
9730 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9732 * docs/manual/advanced-autoplugging.xml:
9733 * docs/manual/appendix-checklist.xml:
9734 * docs/manual/appendix-integration.xml:
9735 * docs/manual/highlevel-components.xml:
9736 Fix playbin/decodebin examples, update docs a bit, mention bus
9737 instead of signals in various places, mention kmplayer and
9738 kaffeine since they have a working GStreamer backend in the KDE
9741 2005-06-30 Wim Taymans <wim@fluendo.com>
9744 * docs/design/draft-ghostpads.txt:
9745 * docs/design/draft-push-pull.txt:
9746 * docs/design/draft-query.txt:
9747 * docs/design/part-TODO.txt:
9748 * docs/design/part-query.txt:
9749 Added CHANGES-0.9 doc, updated status of other docs.
9754 2005-06-30 Wim Taymans <wim@fluendo.com>
9756 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9757 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9758 (gst_base_sink_change_state):
9759 * gst/base/gstbasesink.h:
9760 Some tweaks, only EOS and a buffer complete a preroll.
9762 2005-06-30 Andy Wingo <wingo@pobox.com>
9764 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9765 activate_push down to the internal pad as well.
9767 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9769 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9771 * gst/gsttaginterface.c:
9772 Some documentation fixes (#307394 and #307397).
9774 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9776 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9778 * gst/gstvalue.c: (gst_value_intersect_list):
9779 Fix memleak (#309125).
9781 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9783 * docs/manual/advanced-dataaccess.xml:
9784 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9785 * docs/manual/basics-pads.xml:
9786 Add reference for filtered caps to above chapter.
9788 2005-06-30 Wim Taymans <wim@fluendo.com>
9790 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9791 (gst_bin_change_state):
9793 Lame attempt at making the state change function a bit
9796 2005-06-30 Wim Taymans <wim@fluendo.com>
9798 * docs/design/part-clocks.txt:
9799 * docs/design/part-element-sink.txt:
9800 * docs/design/part-events.txt:
9801 * docs/design/part-preroll.txt:
9802 * docs/design/part-states.txt:
9803 Some more tweeks and additions to the docs.
9805 2005-06-30 Wim Taymans <wim@fluendo.com>
9807 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9808 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9809 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9810 (gst_pad_check_pull_range), (gst_pad_get_range),
9811 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9813 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9814 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9815 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9816 (gst_pad_remove_buffer_probe):
9817 Removed atomic operations, use existing LOCK.
9818 Move exception handling out of main code path.
9820 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9822 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9823 (silly_return_true_function), (gst_pad_class_init),
9824 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9825 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9826 (gst_pad_send_event):
9827 Fix accumulator, add default value by using _emitv() instead
9828 of _emit() for signal emission.
9830 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9832 * docs/manual/advanced-dataaccess.xml:
9833 * examples/manual/Makefile.am:
9835 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9838 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9840 * gst/elements/gstfilesink.c: (gst_filesink_render):
9841 Simplify code so that we don't have to handle short
9842 writes and return GST_FLOW_ERROR if an error occured.
9844 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9846 * docs/gst/gstreamer-docs.sgml:
9849 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9851 * docs/gst/gstreamer-sections.txt:
9852 * docs/gst/tmpl/gstpad.sgml:
9853 * docs/gst/tmpl/gstprobe.sgml:
9855 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9856 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9857 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9858 (gst_pad_push_event), (gst_pad_send_event):
9860 * gst/gstutils.c: (gst_pad_add_data_probe),
9861 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9862 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9863 (gst_pad_remove_buffer_probe):
9865 Remove old probes, add new g-signal-based probes and some utility
9868 2005-06-29 Edward Hervey <edward@fluendo.com>
9870 * gst/gstelementfactory.c:
9873 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9874 the definition to the header file.
9876 2005-06-29 Andy Wingo <wingo@pobox.com>
9878 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9879 plugins from the source directory.
9881 2005-06-29 Wim Taymans <wim@fluendo.com>
9883 * docs/gst/tmpl/gstbuffer.sgml:
9884 * docs/gst/tmpl/gstclock.sgml:
9885 Some fixings for blantently wrong text.
9887 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9889 * check/Makefile.am:
9890 * gst/gst.c: (add_path_func), (init_pre):
9891 * gst/gstregistry.c: (gst_registry_add_path):
9892 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9893 only scan the GST_PLUGIN_PATH locations, and not add
9896 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9898 * docs/gst/gstreamer-sections.txt:
9899 * docs/gst/tmpl/gstbasesrc.sgml:
9906 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9908 * docs/manual/advanced-autoplugging.xml:
9909 Fix autoplugging example.
9911 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9913 * docs/manual/advanced-autoplugging.xml:
9914 * docs/manual/mime-world.fig:
9915 Try to get autoplugging working, fix type detection. Fix text
9916 in hello-world image.
9918 2005-06-29 Wim Taymans <wim@fluendo.com>
9920 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9921 (gst_base_sink_change_state):
9925 map SIGNAL and BROADCAST to the right function.
9928 Remove redundant braces.
9930 * gst/gstpad.c: (gst_pad_set_caps):
9931 Don't call setcaps function when reseting caps to NULL.
9933 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9934 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9935 (gst_system_clock_id_unschedule):
9936 Use BROADCAST as this is what we do.
9938 2005-06-29 Wim Taymans <wim@fluendo.com>
9940 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9941 We are actually prerolling before commiting the state
9944 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9946 * docs/manual/advanced-clocks.xml:
9947 * docs/manual/advanced-interfaces.xml:
9948 * docs/manual/advanced-metadata.xml:
9949 * docs/manual/advanced-position.xml:
9950 * docs/manual/advanced-schedulers.xml:
9951 * docs/manual/advanced-threads.xml:
9952 * docs/manual/appendix-porting.xml:
9953 * docs/manual/basics-bins.xml:
9954 * docs/manual/basics-bus.xml:
9955 * docs/manual/basics-elements.xml:
9956 * docs/manual/basics-helloworld.xml:
9957 * docs/manual/basics-pads.xml:
9958 * docs/manual/highlevel-components.xml:
9959 * docs/manual/manual.xml:
9960 * docs/manual/thread.fig:
9961 Update (until threads/scheduling) Application Development Manual;
9962 remove GstThread, add GstBus, add simple porting checklist, add
9963 documentation for tag writing, clocks, make all examples until this
9964 part compile and run.
9965 * examples/manual/Makefile.am:
9966 Update from changes to Application Development Manual; add bus
9967 example, remove thread example.
9969 2005-06-28 Wim Taymans <wim@fluendo.com>
9971 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9972 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9973 (gst_bus_source_dispatch):
9974 Add debugging messages.
9975 Make internal methods static.
9976 Handle the case where the bus is flushed in the handler.
9978 * gst/gstelement.c: (gst_element_get_bus):
9979 Fix refcount in _get_bus();
9981 * gst/gstpipeline.c: (gst_pipeline_change_state),
9982 (gst_pipeline_get_clock_func):
9983 Clock refcounting fixes.
9984 Handle the case where preroll timed out more gracefully.
9986 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9987 Clean up the internal thread in dispose. This is needed
9988 for subclasses that actually get disposed.
9990 * gst/schedulers/threadscheduler.c:
9991 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9992 (gst_thread_scheduler_dispose):
9993 Free thread pool in dispose.
9995 2005-06-28 Andy Wingo <wingo@pobox.com>
9997 * tests/network-clock-utils.scm (debug, print-event): New utils.
9999 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10000 (*packet-loss*): Unified loss probability.
10001 (network-time): Report out-of-band events.
10003 * tests/plot-data: Add support for out-of-band events. Hack it
10004 into this script instead of passing it down the pipe; should fix
10007 2005-06-28 Wim Taymans <wim@fluendo.com>
10009 * docs/gst/gstreamer.types:
10010 * docs/gst/tmpl/gstbasesrc.sgml:
10011 * docs/gst/tmpl/gstpad.sgml:
10014 2005-06-28 Wim Taymans <wim@fluendo.com>
10016 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10017 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10018 (gst_proxy_pad_do_fixatecaps):
10019 Correctly proxy the check_pull_range function.
10021 2005-06-28 Andy Wingo <wingo@pobox.com>
10023 * tests/network-clock.scm: Removed need for slib.
10025 2005-06-28 Wim Taymans <wim@fluendo.com>
10027 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10028 (gst_basesink_preroll_queue_flush):
10029 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10030 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10031 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10032 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10033 (gst_proxy_pad_set_property):
10036 * gst/gstqueue.c: (gst_queue_init):
10037 The deprecated pad loop function is removed now.
10039 2005-06-28 Andy Wingo <wingo@pobox.com>
10041 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10042 New parameters, simulate network packet loss.
10044 * tests/network-clock-utils.scm: Initialize the RNG.
10046 2005-06-28 Wim Taymans <wim@fluendo.com>
10048 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10049 (gst_basesink_event), (gst_basesink_deactivate):
10050 Flushing the preroll queue always needs to unlock the waiters.
10052 2005-06-28 Edward Hervey <edward@fluendo.com>
10054 * gst/gstpipeline.c: (gst_pipeline_send_event):
10055 Wheen a seek was successful on a pipeline, set the stream_time to the
10056 seek offset in order to have a synchronized stream_time.
10058 2005-06-28 Wim Taymans <wim@fluendo.com>
10060 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10061 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10062 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10063 (gst_proxy_pad_do_fixatecaps):
10064 Call wrapper function instead of just calling the function
10065 pointers. This takes care of any locking and whatmore.
10067 2005-06-28 Wim Taymans <wim@fluendo.com>
10069 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10070 (gst_pad_pull_range):
10072 CONNECTED -> LINKED.
10074 2005-06-28 Andy Wingo <wingo@pobox.com>
10076 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10077 source-munging commit!!!
10079 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10080 (gst_object_sink): Take gpointer arguments, not GstObject --
10081 avoids casts. Like GLib.
10083 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10086 2005-06-27 Andy Wingo <wingo@pobox.com>
10088 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10091 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10092 returns a sorted copy of the trace list.
10093 (gst_alloc_trace_print_live): New API, only prints traces with
10094 live objects. Sort the list.
10095 (gst_alloc_trace_print_all): Sort the list.
10096 (gst_alloc_trace_print): Align columns.
10098 * gst/elements/gstttypefindelement.c:
10099 * gst/elements/gsttee.c:
10100 * gst/base/gstbasesrc.c:
10101 * gst/base/gstbasesink.c:
10102 * gst/base/gstbasetransform.c:
10103 * gst/gstqueue.c: Adapt for pad activation changes.
10105 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10107 (gst_pipeline_dispose): Drop ref on sched.
10109 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10110 (gst_pad_activate_default): Push mode by default.
10111 (pre_activate_switch, post_activate_switch): New stubs, things to
10112 do before and after switching activation modes on pads.
10113 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10114 the pad's activate function to choose which mode to activate.
10115 Shortcut on deactivation and call the right function directly.
10116 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10118 (gst_pad_activate_push): New API, same for push mode.
10119 (gst_pad_set_activate_function)
10120 (gst_pad_set_activatepull_function)
10121 (gst_pad_set_activatepush_function): Setters for new API.
10123 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10124 Trace all miniobjects.
10125 (gst_mini_object_make_writable): Unref the arg if we copy, like
10126 gst_caps_make_writable.
10128 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10130 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10131 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10132 Adapt for new pad API.
10134 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10136 * gst/gstelement.h:
10137 * gst/gstelement.c (gst_element_iterate_src_pads)
10138 (gst_element_iterate_sink_pads): New API functions.
10140 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10141 should fold into gstiterator.c in some form.
10142 (gst_element_pads_activate): Simplified via use of fold and
10143 delegation of decisions to gstpad->activate.
10145 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10148 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10149 class once in init, like gstmessage. Didn't run into this issue
10150 but it seems correct. Don't initialize a trace, gstminiobject does
10153 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10154 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10156 (assert_live_count): New util function, uses alloc traces to check
10159 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10160 To be modified when unlink drops the internal pad.
10162 2005-06-27 Wim Taymans <wim@fluendo.com>
10164 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10165 (gst_bin_change_state):
10166 Cleanup the get_state() function a little, make sure it
10167 iterates the same set of elements.
10168 Added stub iterate_state_order().
10170 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10172 * docs/gst/gstreamer-docs.sgml:
10173 * docs/gst/gstreamer-sections.txt:
10174 * docs/gst/gstreamer.types:
10175 * docs/gst/tmpl/gstbasesink.sgml:
10176 * docs/gst/tmpl/gstbasesrc.sgml:
10177 * docs/gst/tmpl/gstbasetransform.sgml:
10178 * docs/gst/tmpl/gstelement.sgml:
10179 * docs/gst/tmpl/gstiterator.sgml:
10180 * gst/base/gstbasesrc.c:
10181 * gst/base/gstbasesrc.h:
10182 * gst/base/gstbasetransform.h:
10183 * gst/gstelement.c:
10184 * gst/gstiterator.h:
10185 adding basetransform and iterator docs
10187 2005-06-27 Andy Wingo <wingo@pobox.com>
10189 * docs/design/part-activation.txt: Notes on how activation should
10190 work -- not quite implemented yet.
10192 2005-06-25 Wim Taymans <wim@fluendo.com>
10194 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10195 At least get the chain function correct, needs more
10198 2005-06-25 Wim Taymans <wim@fluendo.com>
10200 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10201 (gst_basesink_handle_object), (gst_basesink_event),
10202 (gst_basesink_do_sync), (gst_basesink_handle_event),
10203 (gst_basesink_change_state):
10205 Right, two problems here: ghostpads don't take locks and
10206 glib _rec_mutex_lock_full() with depth==0 still locks.
10207 Catch illegal locking and g_warn them.
10209 2005-06-25 Wim Taymans <wim@fluendo.com>
10211 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10212 Have to check for completion now...
10214 2005-06-25 Wim Taymans <wim@fluendo.com>
10216 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10217 (gst_basesink_handle_object), (gst_basesink_event),
10218 (gst_basesink_do_sync), (gst_basesink_handle_event),
10219 (gst_basesink_change_state):
10221 Unlock STREAM_LOCK whatever the recursion was.
10223 2005-06-25 Wim Taymans <wim@fluendo.com>
10225 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10226 (gst_basesink_preroll_queue_empty),
10227 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10228 (gst_basesink_event), (gst_basesink_do_sync),
10229 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10230 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10231 (gst_basesink_change_state):
10232 Reworked the base sink, handle event and buffer serialisation
10233 correctly and removed possible deadlock.
10234 Handle EOS correctly.
10236 2005-06-25 Wim Taymans <wim@fluendo.com>
10238 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10239 (gst_pipeline_change_state):
10240 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10241 Allow elements to post EOS in the state change function.
10242 Fix up -launch, make it exit the poll loop when the
10243 pipeline actually changed state.
10244 Fix up warning parsing in -launch.
10246 2005-06-25 Wim Taymans <wim@fluendo.com>
10248 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10249 (gst_tee_sink_activate):
10250 Core takes STREAM_LOCK for us now.
10252 2005-06-25 Wim Taymans <wim@fluendo.com>
10254 * gst/gstelement.c: (gst_element_get_state_func),
10255 (gst_element_set_state):
10256 * gst/gstelement.h:
10257 * gst/gstmessage.c: (gst_message_parse_error),
10258 (gst_message_parse_warning):
10259 Keep track of current target state while performing a state
10260 change so that subclasses can do something interesting.
10261 Fix parsing of warning/error messages when GError is NULL.
10263 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10265 * docs/gst/Makefile.am:
10266 * docs/gst/gstreamer-docs.sgml:
10267 * docs/gst/gstreamer-sections.txt:
10268 * docs/gst/gstreamer.types:
10269 * docs/gst/tmpl/gstbasesink.sgml:
10270 * docs/gst/tmpl/gstbasesrc.sgml:
10271 * docs/gst/tmpl/gstbin.sgml:
10272 * docs/gst/tmpl/gstcompat.sgml:
10273 * docs/gst/tmpl/gstfakesink.sgml:
10274 * docs/gst/tmpl/gstfakesrc.sgml:
10275 * docs/gst/tmpl/gstfilesink.sgml:
10276 * docs/gst/tmpl/gstfilesrc.sgml:
10277 * docs/gst/tmpl/gstindex.sgml:
10278 * docs/manual/appendix-quotes.xml:
10279 * gst/base/gstbasesrc.h:
10280 * gst/elements/gstfakesrc.h:
10281 * gst/gstmessage.h:
10282 start pulling in base classes and elements in our docs
10284 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10286 * docs/gst/Makefile.am:
10287 * docs/libs/Makefile.am:
10288 fixed make distcheck with gtk-doc 1.3
10290 2005-06-23 Wim Taymans <wim@fluendo.com>
10292 * gst/gstelement.c: (gst_element_get_state_func),
10293 (gst_element_set_state), (gst_element_change_state):
10294 When the state did not change, also report NO_PREROLL
10297 2005-06-23 Wim Taymans <wim@fluendo.com>
10299 * gst/gstpad.c: (gst_pad_event_default):
10300 * gst/gstqueue.c: (gst_queue_loop):
10301 No unsafe task pausing please.
10303 2005-06-23 Wim Taymans <wim@fluendo.com>
10305 * gst/schedulers/threadscheduler.c:
10306 (gst_thread_scheduler_task_start),
10307 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10308 Ref the task before pushing it on the threadpool. This
10309 makes sure that we have a ref when the threadfunction is
10312 2005-06-23 Andy Wingo <wingo@pobox.com>
10314 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10315 offset is greater than the file's size.
10317 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10318 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10319 * gst/gstobject.c (gst_object_class_init): Make the class lock
10320 recursive. Wim won't let me drop deep_notify. Decodebin works
10321 again, whoopdy doo.
10323 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10324 internal pad, and hacks accordingly. Doesn't do it on the target
10325 pad because we change its caps. Probably catches all cases of
10327 (gst_ghost_pad_set_property): Connect to notify::caps as
10330 * tests/network-clock.scm (plot-simulation): Pipe data to the
10331 elite python skript.
10333 * tests/network-clock-utils.scm (define-parameter): New macro,
10334 defines a parameter that can be set via the command line.
10335 (set-parameter!, parse-parameter-arguments): Command line args
10338 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10341 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10343 * gst/elements/gsttypefindelement.c:
10344 (gst_type_find_element_handle_event):
10345 Don't restart typefinding on a discont.
10346 * gst/gstelement.c: (gst_element_set_state):
10347 Debug spelling fix.
10348 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10349 Allow changing mode of an active pad.
10350 Debug output fixes.
10351 * gst/registries/gstlibxmlregistry.c: (load_feature):
10352 Don't cast a static pad template to a normal pad template.
10354 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10356 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10357 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10358 remove gst_strtoll completely, since it didn't actually do
10359 anything more than what g_ascii_strtoull already does.
10360 check for range errors when deserializing
10361 do a cast for the unsigned cases; but further fixing needs
10362 a decision on what the interpretation of "(int)" and
10363 deserialization should be for values that fall outside the
10364 type's boundaries (ie, refuse, or interpret as casting)
10366 2005-06-23 Wim Taymans <wim@fluendo.com>
10368 * check/Makefile.am:
10369 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10370 * docs/design/part-live-source.txt:
10371 * docs/design/part-states.txt:
10372 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10373 (gst_basesrc_set_live), (gst_basesrc_is_live),
10374 (gst_basesrc_get_range), (gst_basesrc_activate),
10375 (gst_basesrc_change_state):
10376 * gst/base/gstbasesrc.h:
10377 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10378 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10379 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10380 * gst/gstelement.c: (gst_element_get_state_func),
10381 (gst_element_set_state):
10382 * gst/gstelement.h:
10384 * tools/gst-launch.c: (event_loop), (main):
10385 Added support for live sources and other elements that
10387 Updated design docs, added live-source design doc.
10388 Implemented live source functionality in basesrc
10389 Fix error condition in _bin_get_state()
10390 Implement live source handling in -launch.
10391 Added check for live sources.
10392 Fixed case in GstBin where elements were changed state
10396 2005-06-23 Andy Wingo <wingo@pobox.com>
10398 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10399 borken refcounting.
10401 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10402 gst_caps_replace takes care of this for us.
10404 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10405 gst_pad_set_caps on the target, not just its setcaps() function.
10407 * tests/network-clock.scm:
10408 * tests/network-clock-utils.scm: A network clock simulator.
10409 Something of an algorithmic testbed before doing something in C.
10411 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10413 * check/Makefile.am:
10414 * check/gst/capslist.h:
10415 copy over from 0.8, and add two with bitmasks specified with
10417 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10418 add test to parse everything from capslist.h
10419 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10421 add test for structure deserialization
10422 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10423 add tests for deserialization of strings to int types
10424 * gst/gststructure.c: (gst_structure_nth_field_name):
10425 * gst/gststructure.h:
10426 add a way to get the name of a field referenced by index
10427 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10428 instead of checking if the resulting long long lies between
10429 min and max, we check if the long long would fit into
10430 a number of bytes for the final type.
10431 This fixes cases where a string represents 2^32 - 1, which
10432 when cast to int would be the (valid) -1, but is bigger than
10435 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10437 * gst/parse/grammar.y:
10438 add a log line for type deserialization
10440 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10442 * check/gst/gstvalue.c: (START_TEST):
10443 * gst/gstvalue.c: (gst_value_deserialize):
10444 return long long, not int, so gint64 deserialization actually
10445 works. Is there any flag that makes the compiler check this ?
10448 2005-06-22 Wim Taymans <wim@fluendo.com>
10451 Added convenience macros for setting buffers in GValue.
10453 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10455 * check/gst/.cvsignore:
10456 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10457 add a test deserializing int64, and comment part out because
10460 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10462 * check/Makefile.am:
10463 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10464 * testsuite/Makefile.am:
10465 * testsuite/caps/Makefile.am:
10466 * testsuite/caps/value_serialize.c:
10467 * testsuite/test_gst_init.c:
10468 move a value_serialize test over
10470 2005-06-20 Wim Taymans <wim@fluendo.com>
10475 * gst/gstvalue.c: (gst_value_compare_buffer),
10476 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10477 (gst_value_compare_flags), (gst_value_serialize_flags),
10478 (gst_value_deserialize_flags), (_gst_value_initialize):
10479 Fix serialisation of buffers, they are not boxed types anymore
10481 2005-06-20 Wim Taymans <wim@fluendo.com>
10483 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10484 Testcase to show error in buffer-on-caps serialisation.
10486 2005-06-20 Andy Wingo <wingo@pobox.com>
10488 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10489 will be adding to later.
10491 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10492 if its socks fill with rocks.
10493 (gst_system_clock_obtain): Set the name on object construction.
10494 Avoid double-checked locking.
10496 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10498 * gst/gsturi.c: (gst_element_make_from_uri):
10499 Fix potential endless loop.
10501 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10503 * check/Makefile.am:
10505 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10507 move over from testsuite dir and clean up
10510 * testsuite/Makefile.am:
10511 * testsuite/tags/.cvsignore:
10512 * testsuite/tags/Makefile.am:
10513 * testsuite/tags/merge.c:
10514 remove testsuite/tags
10516 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10518 * docs/gst/gstreamer-sections.txt:
10519 * docs/gst/tmpl/gstenumtypes.sgml:
10520 * win32/gstenumtypes.c:
10521 clean up documentation build a little
10523 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10525 * check/gstcheck.h:
10526 add macros for checking refcounts on objects and caps
10527 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10528 add some more unit tests
10529 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10530 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10531 fix leaked refcounts (I hope :)) so unittest works
10535 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10537 * configure.ac: back to HEAD
10539 === release 0.9.1 ===
10541 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10547 2005-06-17 Andy Wingo <wingo@pobox.com>
10549 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10550 assert; it's always possible that the pad gets deactivated in
10551 between the checks in gstpad.c and the implementation. Rely on
10552 finish_preroll() to return a FLUSHING or similar instead of on the
10555 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10556 clock and post an EOS message if we come out of finish_preroll in
10559 2005-06-16 David Schleef <ds@schleef.org>
10561 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10562 (gst_capsfilter_set_property): Allow NULL as possible value
10563 for filter_caps property, indicating GST_CAPS_ANY.
10565 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10567 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10569 * gst/schedulers/Makefile.am:
10571 * gstreamer.spec.in:
10574 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10576 * gstreamer.spec.in:
10579 2005-06-08 Andy Wingo <wingo@pobox.com>
10581 * gst/gstutils.c: RPAD fixes all around.
10582 (gst_element_link_pads): Refcounting fixes.
10584 * tools/gst-inspect.c:
10585 * tools/gst-xmlinspect.c:
10587 * gst/base/gsttypefindhelper.c:
10588 * gst/base/gstbasesink.c:
10589 * gst/gstqueue.c: RPAD fixes.
10591 * gst/gstghostpad.h:
10592 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10593 pads. The tricky thing is they provide both source and sink
10594 interfaces, since they proxy the internal pad for the external
10595 pad, and vice versa. Implement with lower-level ProxyPad objects,
10596 with the interior proxy pad as a child of the exterior ghost pad.
10597 Should write a doc on this.
10599 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10600 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10603 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10604 pads are real pads. No ghost pads in this file. Not documenting
10605 the myriad s/RPAD/PAD/ and REALIZE fixes.
10606 (gst_pad_class_init): Add properties for "direction" and
10607 "template". Both are construct-only, so they can't change during
10608 the life of the pad. Fixes properly deriving from GstPad.
10609 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10610 derived objects, just set properties when creating the objects via
10612 (gst_pad_get_parent): Implement as a function, return NULL if the
10613 parent is not an element.
10614 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10615 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10617 * gst/gstobject.c (gst_object_class_init): Make name a construct
10618 property. Don't set it in the object init.
10620 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10621 with UNKNOWN direction.
10622 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10623 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10624 (gst_element_remove_pad): Remove ghost-pad special cases.
10625 (gst_element_pads_activate): Remove rpad cruft.
10627 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10628 catch the pad's-parent-not-an-element case.
10630 * gst/gst.h: Include gstghostpad.h.
10632 * gst/gst.c (init_post): No more real, ghost pads.
10634 * gst/Makefile.am: Add gstghostpad.[ch].
10636 * check/Makefile.am:
10637 * check/gst/gstbin.c:
10638 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10639 into a bin creates ghost pads, and that the refcounts are right.
10640 Partly moved from gstbin.c.
10642 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10644 * check/gst-libs/.cvsignore:
10645 * check/gst/.cvsignore:
10646 * check/pipelines/.cvsignore:
10648 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10649 (START_TEST), (cleanup_suite), (main):
10650 add some tests related to cleanup after running pipelines
10652 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10654 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10655 add a testsuite for GstBuffer
10657 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10659 * gst/gstminiobject.h:
10660 add defines for accessing the refcount
10662 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10664 * Makefile.am: added support for html unit test coverage reports
10666 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10668 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10669 Free existing caps if the capsfilter changes. Add a FIXME about
10670 setting those caps on the pads.
10672 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10673 Before adding a ghost pad to a parent bin, check that there isn't
10674 already one for the element on the bin. Prevents infinite recursion
10675 when using decodebin in parse pipelines. Andy says he'll rewrite the
10676 way this works anyway, so ignore the hack.
10678 2005-06-02 Andy Wingo <wingo@pobox.com>
10680 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10681 file size, pass it on to the type find helper.
10683 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10684 segment_start and segment_end properly according to the seek
10685 method. Segment_end is still a bit flaky because offset can be
10686 negative for CUR and END cases, but it takes -1 as an "unset"
10689 2005-06-02 Wim Taymans <wim@fluendo.com>
10691 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10692 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10693 (gst_basesink_activate):
10694 * gst/base/gstbasesink.h:
10695 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10696 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10697 (gst_pad_query), (gst_pad_start_task):
10699 * gst/gstqueue.c: (gst_queue_bufferalloc),
10700 (gst_queue_handle_sink_event), (gst_queue_chain):
10701 Bufferalloc: return GstFlowReturn to more accuratly report
10702 why allocation failed.
10704 2005-06-02 Wim Taymans <wim@fluendo.com>
10706 * gst/gstpipeline.c: (gst_pipeline_send_event):
10707 Take snapshot of state without blocking.
10709 2005-06-02 Wim Taymans <wim@fluendo.com>
10711 * docs/design/part-TODO.txt:
10712 * docs/design/part-caps.txt:
10713 * docs/design/part-clocks.txt:
10714 * docs/design/part-negotiation.txt:
10715 * docs/design/part-preroll.txt:
10718 2005-05-30 Wim Taymans <wim@fluendo.com>
10720 * gst/elements/gstidentity.c: (gst_identity_event),
10721 (gst_identity_transform), (gst_identity_get_property):
10722 Protect last_message property as it is accessed from
10725 2005-05-30 Wim Taymans <wim@fluendo.com>
10727 * gst/gstelement.c: (gst_element_init),
10728 (gst_element_pads_activate), (gst_element_change_state):
10729 Slicker pad activation code.
10731 2005-05-30 Wim Taymans <wim@fluendo.com>
10734 * gst/gstelement.h:
10735 * gst/gstelementfactory.h:
10737 Move elementfactory methods to separate .h file.
10739 2005-05-30 Wim Taymans <wim@fluendo.com>
10741 * docs/design/part-overview.txt:
10742 * gst/gstsystemclock.h:
10743 Small typo fixes, doc updates.
10745 2005-05-30 Wim Taymans <wim@fluendo.com>
10747 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10748 (init_popt_callback):
10749 Remove cpu-opt flag.
10751 2005-05-30 Wim Taymans <wim@fluendo.com>
10753 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10754 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10756 Avoid typechecking in places where not needed.
10757 Added accessor for malloc_data.
10759 2005-05-30 Wim Taymans <wim@fluendo.com>
10761 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10762 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10763 (gst_pad_configure_sink), (gst_pad_configure_src),
10764 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10765 (gst_pad_start_task):
10766 Propagate errors from _set_caps() in configure_src/sink
10767 functions instead of returning TRUE.
10768 FLUSH events can travel up and downstream
10771 2005-05-30 Wim Taymans <wim@fluendo.com>
10773 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10774 (gst_basesink_activate):
10775 Handle EOS in preroll.
10777 2005-05-30 Wim Taymans <wim@fluendo.com>
10779 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10780 (gst_queue_loop), (gst_queue_handle_src_event):
10781 Remove old pieces of code
10782 Flushing the queue in an upstream event is a very bad idea.
10784 2005-05-26 Andy Wingo <wingo@pobox.com>
10786 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10787 gst_value_set_mini_object so as to add a ref on the object (which
10788 will be removed when the value is unset).
10790 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10791 arg type in ::handoff.
10793 * gst/gstelement.c (gst_element_change_state): Also deactivate
10794 pads in READY->NULL, just in case the element didn't make it to
10795 PAUSED. Wingo tested, Wim approved.
10797 2005-05-26 Wim Taymans <wim@fluendo.com>
10799 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10800 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10801 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10802 A flushing pad cannot be used to alloc_buffer from.
10804 2005-05-26 Wim Taymans <wim@fluendo.com>
10806 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10807 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10808 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10809 (gst_bus_create_watch), (gst_bus_add_watch_full):
10811 Implement a real GSource and use g_main_context_wakeup() to
10812 signal new messages instead of the socketpair.
10814 2005-05-25 Wim Taymans <wim@fluendo.com>
10816 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10817 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10818 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10819 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10820 (gst_pad_send_event), (gst_pad_start_task):
10821 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10822 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10823 (gst_queue_sink_activate), (gst_queue_src_activate),
10824 (gst_queue_change_state):
10826 Fix state changes for non sinks. We now change sinks, then elements
10827 with unconnected srcpads, then the rest.
10828 More efficient queue unlocking in flush and state changes.
10829 Set the pad activate mode even if it does not have an activate
10832 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10834 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10835 Don't go in pull mode for non-seekable sources.
10836 * gst/elements/gsttypefindelement.h:
10837 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10838 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10839 (free_entry), (stop_typefinding),
10840 (gst_type_find_element_handle_event), (find_peek),
10841 (gst_type_find_element_chain), (do_pull_typefind),
10842 (gst_type_find_element_change_state):
10843 Allow typefinding (w/o seeking) in push-mode, simplified version
10844 of what was in 0.8.
10845 * gst/gstutils.c: (gst_buffer_join):
10847 gst_buffer_join() from 0.8.
10849 2005-05-25 Wim Taymans <wim@fluendo.com>
10851 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10852 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10853 (gst_pad_send_event), (gst_pad_start_task):
10854 Disable attempt at mode switching until it is figured out.
10856 2005-05-25 Wim Taymans <wim@fluendo.com>
10858 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10859 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10860 (gst_basesink_finish_preroll), (gst_basesink_chain),
10861 (gst_basesink_loop), (gst_basesink_activate),
10862 (gst_basesink_change_state):
10863 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10864 (gst_basesrc_get_range), (gst_basesrc_loop),
10865 (gst_basesrc_activate):
10866 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10867 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10868 (gst_real_pad_init), (gst_real_pad_set_property),
10869 (gst_real_pad_get_property), (gst_pad_set_active),
10870 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10871 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10872 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10873 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10874 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10875 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10876 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10877 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10878 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10879 (gst_pad_stop_task):
10881 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10882 (gst_queue_loop), (gst_queue_src_activate):
10883 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10884 (gst_task_get_state):
10886 * gst/schedulers/threadscheduler.c:
10887 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10888 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10890 Remove ACTIVE pad flag, use FLUSHING everywhere
10891 Added _pad_chain(), _pad_get_range() to call chain/getrange
10893 Add locks around IS_FLUSHING when reading.
10894 Take STREAM lock in chain(), get_range() functions so plugins
10895 don't need to take it anymore.
10899 2005-05-25 Wim Taymans <wim@fluendo.com>
10901 * tools/gst-launch.c: (event_loop):
10902 Unref message after using its contents instead of
10905 2005-05-24 Wim Taymans <wim@fluendo.com>
10907 * docs/design/draft-ghostpads.txt:
10908 * docs/design/draft-push-pull.txt:
10909 * docs/design/draft-query.txt:
10910 * docs/design/part-overview.txt:
10911 Docs updates, added general overview doc.
10913 2005-05-21 David Schleef <ds@schleef.org>
10915 * docs/gst/tmpl/old/GstBin.sgml:
10916 * docs/gst/tmpl/old/GstBuffer.sgml:
10917 * docs/gst/tmpl/old/GstCaps.sgml:
10918 * docs/gst/tmpl/old/GstClock.sgml:
10919 * docs/gst/tmpl/old/GstCompat.sgml:
10920 * docs/gst/tmpl/old/GstData.sgml:
10921 * docs/gst/tmpl/old/GstElement.sgml:
10922 * docs/gst/tmpl/old/GstEvent.sgml:
10923 * docs/gst/tmpl/old/GstIndex.sgml:
10924 * docs/gst/tmpl/old/GstStructure.sgml:
10925 * docs/gst/tmpl/old/GstTag.sgml:
10926 * docs/gst/tmpl/old/cothreads.sgml:
10927 * docs/gst/tmpl/old/cothreads_compat.sgml:
10928 * docs/gst/tmpl/old/gettext.sgml:
10929 * docs/gst/tmpl/old/gobject2gtk.sgml:
10930 * docs/gst/tmpl/old/grammar.tab.sgml:
10931 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10932 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10933 * docs/gst/tmpl/old/gst_private.sgml:
10934 * docs/gst/tmpl/old/gstaggregator.sgml:
10935 * docs/gst/tmpl/old/gstarch.sgml:
10936 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10937 * docs/gst/tmpl/old/gstbufferstore.sgml:
10938 * docs/gst/tmpl/old/gstdata_private.sgml:
10939 * docs/gst/tmpl/old/gstdisksink.sgml:
10940 * docs/gst/tmpl/old/gstdisksrc.sgml:
10941 * docs/gst/tmpl/old/gstelementfactory.sgml:
10942 * docs/gst/tmpl/old/gstextratypes.sgml:
10943 * docs/gst/tmpl/old/gstfakesink.sgml:
10944 * docs/gst/tmpl/old/gstfakesrc.sgml:
10945 * docs/gst/tmpl/old/gstfdsink.sgml:
10946 * docs/gst/tmpl/old/gstfdsrc.sgml:
10947 * docs/gst/tmpl/old/gstfilesink.sgml:
10948 * docs/gst/tmpl/old/gstfilesrc.sgml:
10949 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10950 * docs/gst/tmpl/old/gstidentity.sgml:
10951 * docs/gst/tmpl/old/gstindexfactory.sgml:
10952 * docs/gst/tmpl/old/gstmarshal.sgml:
10953 * docs/gst/tmpl/old/gstmd5sink.sgml:
10954 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10955 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10956 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10957 * docs/gst/tmpl/old/gstpipefilter.sgml:
10958 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10959 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10960 * docs/gst/tmpl/old/gstshaper.sgml:
10961 * docs/gst/tmpl/old/gstspider.sgml:
10962 * docs/gst/tmpl/old/gstspideridentity.sgml:
10963 * docs/gst/tmpl/old/gststatistics.sgml:
10964 * docs/gst/tmpl/old/gsttee.sgml:
10965 * docs/gst/tmpl/old/gsttimecache.sgml:
10966 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10967 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10968 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10969 * docs/gst/tmpl/old/types.sgml:
10970 I didn't intend to add these or check them in.
10972 2005-05-19 David Schleef <ds@schleef.org>
10974 * configure.ac: Use -no-common everywhere. In a sane world, it
10975 would be the default in libtool, because without it, you can't
10976 build DLLs on Windows.
10977 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10978 * docs/gst/gstreamer-sections.txt:
10979 * docs/gst/tmpl/gstcpu.sgml:
10980 * docs/gst/tmpl/gstdata.sgml:
10981 * docs/gst/tmpl/gstthread.sgml:
10983 2005-05-19 David Schleef <ds@schleef.org>
10985 * gst/gstminiobject.c: (gst_value_set_mini_object),
10986 (gst_value_take_mini_object), (gst_value_get_mini_object):
10987 * gst/gstminiobject.h: Add GValue set/get functions.
10989 2005-05-19 Wim Taymans <wim@fluendo.com>
10991 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10992 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10993 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10995 * gst/gstbus.c: (gst_bus_post):
10996 * gst/gstelement.c: (gst_element_get_random_pad):
10997 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10998 Make subbufer unref the parent in finalize.
10999 some more debugging info.
11002 2005-05-19 Wim Taymans <wim@fluendo.com>
11004 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11005 (gst_basesink_init), (gst_basesink_finalize),
11006 (gst_basesink_activate), (gst_basesink_change_state):
11007 Don't free preroll queue too early.
11009 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11013 Hi, I'm outdated. Please shoot me.
11015 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11017 * gst/gstpipeline.c: (gst_pipeline_send_event):
11018 Do not access variables after they have been deleted.
11020 2005-05-19 Wim Taymans <wim@fluendo.com>
11022 * tools/gst-inspect.c: (print_plugin_features):
11023 A plugin feature does unfortunatly not use the
11026 2005-05-18 Wim Taymans <wim@fluendo.com>
11028 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11029 Port _span() functions to new subbuffers.
11031 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11033 * gst/gstbin.c: (gst_bin_add_func):
11034 Fix clock settery in bins when adding kids after the clock has
11037 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11039 * gst/elements/gstidentity.c: (gst_identity_class_init):
11040 Workaround until signals support GstMiniObject.
11042 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11045 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11047 2005-05-18 Wim Taymans <wim@fluendo.com>
11049 * gst/base/Makefile.am:
11050 * gst/base/gstadapter.c: (gst_adapter_base_init),
11051 (gst_adapter_class_init), (gst_adapter_init),
11052 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11053 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11054 (gst_adapter_flush), (gst_adapter_available),
11055 (gst_adapter_available_fast):
11056 * gst/base/gstadapter.h:
11057 Ported and added adapter to the base classes.
11059 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11062 * gst/gstmessage.c:
11063 Make sure the class is reffed/unreffed once before threads can be
11064 used. Fixes #304551.
11066 2005-05-17 Wim Taymans <wim@fluendo.com>
11068 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11069 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11070 * gst/gstminiobject.c: (gst_mini_object_get_type),
11071 (gst_mini_object_free):
11072 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11073 (gst_pad_push), (gst_pad_push_event):
11074 * gst/gstqueue.c: (gst_queue_change_state):
11075 Don't queue buffers in basesink when we are flushing.
11076 Unref buffer when flushing in basesink.
11077 Flush queue when going to READY
11078 Unref buffer when _push() returns an error.
11079 Don't free MiniObject instance when refcount is incremented
11080 in _finalize() so that we can recover objects.
11082 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11084 * docs/manual/advanced-schedulers.xml:
11085 * docs/manual/appendix-checklist.xml:
11086 * docs/pwg/advanced-clock.xml:
11087 * docs/pwg/advanced-interfaces.xml:
11088 * docs/pwg/advanced-request.xml:
11089 * docs/pwg/advanced-types.xml:
11090 * docs/pwg/intro-preface.xml:
11091 * examples/plugins/example.c: (gst_example_get_type),
11092 (gst_example_class_init), (gst_example_chain),
11093 (gst_example_set_property), (gst_example_get_property),
11094 (gst_example_change_state), (plugin_init):
11095 * examples/plugins/example.h:
11098 2005-05-17 Wim Taymans <wim@fluendo.com>
11100 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11101 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11102 * gst/gstqueue.c: (gst_queue_change_state):
11103 Clear queue when going to READY.
11104 Remove IN_SETCAPS flag too.
11106 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11108 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11109 Remove implicit cast from gboolean to GstElementStateReturn;
11110 make sure we still return failure in paused => ready case if
11111 the parent class fails to change state and our own stop
11114 2005-05-17 Wim Taymans <wim@fluendo.com>
11116 * tools/gst-launch.c: (event_loop):
11117 Message was unreffed too soon.
11119 2005-05-16 Andy Wingo <wingo@pobox.com>
11121 * gst/gstbin.c (sink_iterator_filter): Err... um...
11123 * check/gst/gstbin.c (test_ghost_pads): New test for the
11124 ghosting-if-elements-not-in-same-bin behavior.
11126 2005-05-16 David Schleef <ds@schleef.org>
11128 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11129 accessing refcount directly.
11131 2005-05-15 David Schleef <ds@schleef.org>
11133 * check/Makefile.am: remove GstData checks
11134 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11135 * gst/Makefile.am: add miniobject, remove data
11136 * gst/gst.h: add miniobject, remove data
11137 * gst/gstdata.c: remove
11138 * gst/gstdata.h: remove
11139 * gst/gstdata_private.h: remove
11140 * gst/gsttypes.h: remove GstEvent and GstMessage
11141 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11142 * gst/gstmarshal.list: change BOXED -> OBJECT
11144 Implement GstMiniObject.
11145 * gst/gstminiobject.c:
11146 * gst/gstminiobject.h:
11148 Modify to be subclasses of GstMiniObject.
11149 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11150 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11151 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11152 (gst_subbuffer_get_type), (gst_subbuffer_init),
11153 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11156 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11157 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11158 (_gst_event_copy), (gst_event_new):
11160 * gst/gstmessage.c: (_gst_message_initialize),
11161 (gst_message_get_type), (gst_message_class_init),
11162 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11163 (gst_message_new), (gst_message_new_error),
11164 (gst_message_new_warning), (gst_message_new_tag),
11165 (gst_message_new_state_changed), (gst_message_new_application):
11166 * gst/gstmessage.h:
11167 * gst/gstprobe.c: (gst_probe_perform),
11168 (gst_probe_dispatcher_dispatch):
11170 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11171 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11172 (_gst_query_copy), (gst_query_new):
11174 Update elements for GstData -> GstMiniObject changes
11176 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11177 (gst_queue_chain), (gst_queue_loop):
11178 * gst/elements/gstbufferstore.c:
11179 (gst_buffer_store_add_buffer_func),
11180 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11181 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11182 (gst_fakesink_render):
11183 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11184 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11185 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11186 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11187 (gst_filesrc_create_read):
11188 * gst/elements/gstidentity.c: (gst_identity_class_init):
11189 * gst/elements/gsttypefindelement.c:
11190 (gst_type_find_element_src_event), (free_entry_buffers),
11191 (gst_type_find_element_handle_event):
11192 * libs/gst/dataprotocol/dataprotocol.c:
11193 (gst_dp_header_from_buffer):
11194 * libs/gst/dataprotocol/dataprotocol.h:
11195 * libs/gst/dataprotocol/dp-private.h:
11197 2005-05-15 David Schleef <ds@schleef.org>
11199 * gst/elements/gstelements.c: Don't include headers that were
11202 2005-05-15 David Schleef <ds@schleef.org>
11204 * gst/elements/Makefile.am: Remove some elements that don't
11205 need to be in the core (or even exist at all).
11206 * gst/elements/gstaggregator.c:
11207 * gst/elements/gstaggregator.h:
11208 * gst/elements/gstmd5sink.c:
11209 * gst/elements/gstmd5sink.h:
11210 * gst/elements/gstmultifilesrc.c:
11211 * gst/elements/gstmultifilesrc.h:
11212 * gst/elements/gstpipefilter.c:
11213 * gst/elements/gstpipefilter.h:
11214 * gst/elements/gstshaper.c:
11215 * gst/elements/gstshaper.h:
11216 * gst/elements/gststatistics.c:
11217 * gst/elements/gststatistics.h:
11218 * po/POTFILES.in: Remove above files.
11220 2005-05-14 Andy Wingo <wingo@pobox.com>
11222 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11223 so as to get the refs right.
11224 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11225 unreffing objects that don't pass the filter.
11227 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11228 gst_element_set_bus.
11229 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11230 normal cases, this will destroy the bus.
11232 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11235 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11238 2005-05-13 Andy Wingo <wingo@pobox.com>
11240 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11241 gst_pad_link, call pad_link_maybe_ghosting,
11242 (pad_link_maybe_ghosting): Links pads, making sure that the
11243 elements being linked are in the same bin.
11244 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11245 Helpers for pad_link_maybe_ghosting.
11247 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11250 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11252 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11254 * docs/design/part-element-source.txt:
11257 2005-05-12 Wim Taymans <wim@fluendo.com>
11259 * gst/base/gstbasesink.c: (gst_basesink_init),
11260 (gst_basesink_activate):
11261 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11262 (gst_basesrc_is_seekable):
11263 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11264 (bin_element_is_sink), (gst_bin_change_state):
11265 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11266 * gst/gstelement.h:
11267 Identify sinks by their flag to avoid overly complicated
11269 Do state changes even for elements not reachable from the
11271 BaseSink is a sink now :)
11272 Some more debugging info in the basesrc.
11275 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11278 Implement _query on a bin, similar to _send_event.
11280 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11282 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11283 Discont event offset format should be GST_FORMAT_BYTES,
11284 not GST_FORMAT_TIME.
11286 2005-05-12 Wim Taymans <wim@fluendo.com>
11288 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11289 Same fix as Ronald's but without the signal.
11291 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11293 * gst/gstutils.c: (gst_element_query_position):
11294 No, an element is not a pad.
11296 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11298 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11299 (gst_bin_get_state):
11300 If a child is removed from a bin while we remove the child from
11301 the bin and while we're retrieving its state, signal this to the
11302 get_state function so we abort the wait (instead of waiting for
11303 a timeout) and can immediately re-iterate over all other elements.
11305 2005-05-12 Wim Taymans <wim@fluendo.com>
11307 * gst/base/Makefile.am:
11308 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11309 (gst_basesrc_start):
11310 * gst/base/gstbasesrc.h:
11311 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11312 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11313 (gst_pushsrc_init), (gst_pushsrc_create):
11314 * gst/base/gstpushsrc.h:
11315 Added is_seekable to BaseSrc
11316 Added simple PushSrc.
11318 2005-05-11 Wim Taymans <wim@fluendo.com>
11320 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11321 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11322 (gst_element_link_pads), (gst_element_query_position),
11323 (gst_element_query_convert), (intersect_caps_func),
11324 (gst_pad_query_position), (gst_pad_query_convert):
11325 Fix refcounting in utils function.
11326 No point in trying to activate a pad when it's added, it could
11327 be added from the state change function and then we deadlock, the
11328 element has to decide what to do.
11330 2005-05-10 Andy Wingo <wingo@pobox.com>
11332 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11333 *all* the arguments.
11335 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11336 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11337 lock (according to the docs -- if this is wrong change the docs).
11339 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11340 flush messages in the NULL state.
11342 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11343 message immediately and return.
11344 (gst_bus_set_flushing): New function. If a bus is flushing, it
11345 flushes out any queued messages and immediately unrefs new
11346 messages. This is so when an element goes to NULL, all of the
11347 unhandled messages coming from it can be freed, and their
11348 references to the element dropped. In other words: message source
11349 ref considered harmful :P
11351 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11352 we're finished with it.
11354 * gst/gstmessage.c (gst_message_new_state_changed):
11356 2005-05-10 Wim Taymans <wim@fluendo.com>
11358 * gst/gstvalue.c: (gst_value_compare_flags),
11359 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11360 (_gst_value_initialize):
11361 Added flags serialize/deserialize/compare code.
11363 2005-05-09 Andy Wingo <wingo@pobox.com>
11365 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11366 Intersect the peer's caps with our caps.
11368 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11370 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11371 * gst/elements/gsttypefindelement.c: (find_peek):
11372 Handle negative offsets better. Fixes decodebin.
11374 2005-05-09 Wim Taymans <wim@fluendo.com>
11376 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11377 (gst_base_transform_event):
11378 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11379 Implement accept_caps.
11380 Fix silly lock/unlock mismatch in base class.
11382 2005-05-09 Wim Taymans <wim@fluendo.com>
11384 * docs/design/draft-push-pull.txt:
11385 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11386 * gst/elements/gstfilesink.c: (gst_filesink_init),
11387 (gst_filesink_query):
11388 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11389 (gst_type_find_handle_src_query), (find_element_get_length):
11390 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11391 * gst/gstelement.h:
11392 * gst/gstmessage.c:
11393 * gst/gstmessage.h:
11394 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11395 (gst_real_pad_get_caps_unlocked),
11396 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11397 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11398 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11399 (gst_real_pad_dispose), (gst_real_pad_finalize),
11400 (gst_pad_load_and_link), (gst_pad_save_thyself),
11401 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11402 (gst_pad_check_pull_range), (gst_pad_pull_range),
11403 (gst_pad_template_get_type), (gst_pad_template_class_init),
11404 (gst_pad_template_init), (gst_pad_template_dispose),
11405 (name_is_valid), (gst_static_pad_template_get),
11406 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11407 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11408 (gst_pad_get_element_private), (gst_pad_start_task),
11409 (gst_pad_pause_task), (gst_pad_stop_task),
11410 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11411 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11412 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11413 (gst_ghost_pad_new):
11415 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11416 (gst_query_new_position), (gst_query_set_position),
11417 (gst_query_parse_position), (gst_query_new_convert),
11418 (gst_query_set_convert), (gst_query_parse_convert):
11420 * gst/gstqueryutils.c:
11421 * gst/gstqueryutils.h:
11422 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11423 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11424 (gst_queue_handle_src_query):
11425 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11426 (gst_element_query_position), (gst_element_query_convert),
11427 (intersect_caps_func), (gst_pad_query_position),
11428 (gst_pad_query_convert):
11430 * tools/gst-inspect.c: (print_pad_info):
11431 * tools/gst-xmlinspect.c: (print_element_info):
11432 Remove old query functions. Ported old code.
11433 Added position/convert helper functions to gstutils.
11434 Reordered gstpad.c code, grouping relevant things.
11435 Remove gst_message_new(), always need to speficy a specific
11439 2005-05-09 Andy Wingo <wingo@pobox.com>
11441 * gst/gstiterator.h: Add some includes.
11443 * gst/gstqueryutils.h: Include more headers.
11446 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11447 some uses of gst_pad_query.
11449 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11450 NULL out parameters.
11451 (gst_query_new_position): New proc, allocates a new position
11454 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11455 gstqueryutils.c to the build.
11457 * gst/gststructure.c (gst_structure_set_valist): Implement with
11458 the generic G_VALUE_COLLECT.
11460 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11462 * gst/Makefile.am: (gst_headers):
11463 Added gstqueryutils.h to the list of headers to install, that was
11464 a 'nachty' move wingo :)
11466 2005-05-06 Andy Wingo <wingo@pobox.com>
11469 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11470 GstData, init a memchunk.
11471 (standard_definitions): Add a few query types, deprecate a few.
11472 (gst_query_get_type): New proc.
11473 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11475 (gst_query_new_application, gst_query_get_structure): New public
11478 * docs/design/draft-query.txt: Removed LINKS from the query types,
11479 because all the rest can be dispatched to other pads -- seemed
11480 ugly to have a query that couldn't be dispatched. internal_links
11481 is fine as a pad method.
11483 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11484 in gstpad.c, but maintain binary compatibility for the moment.
11485 Will fix before 0.9 is out.
11487 * gst/gstqueryutils.c:
11488 * gst/gstqueryutils.h: New files, implement 3 methods for each
11489 query type: parse_query, parse_response, and set. Probably need an
11492 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11494 * gst/elements/gstfilesink.c (gst_filesink_query2):
11495 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11496 query_types, and formats methods.
11498 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11499 (gst_pad_set_query2_function): New functions.
11500 (gst_real_pad_init): Set query2_default as the default query2
11501 function. Basically just dispatches to internally linked pads.
11505 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11506 without using the atomic operations. Only one thread can possibly
11507 be accessing the data at this point. Changed so as to avoid
11508 gst_atomic operations.
11510 2005-05-06 Wim Taymans <wim@fluendo.com>
11512 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11513 Also set caps if we use the fallback buffer alloc.
11515 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11517 * docs/gst/Makefile.am:
11518 * docs/gst/gstreamer-docs.sgml:
11519 * docs/gst/gstreamer-sections.txt:
11520 * docs/gst/tmpl/gstatomic.sgml:
11521 * docs/gst/tmpl/gstmemchunk.sgml:
11522 * testsuite/elements/struct_i386.h:
11523 * win32/GStreamer.vcproj:
11525 Purge GstAtomic stuff from docs and win32 makefiles as well
11527 2005-05-06 Wim Taymans <wim@fluendo.com>
11529 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11530 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11531 * gst/gstpad.c: (gst_pad_peer_get_caps):
11532 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11533 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11534 (gst_queue_src_activate), (gst_queue_change_state):
11536 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11537 (intersect_caps_func):
11538 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11539 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11540 Some fixes for the peer_get_caps() change.
11542 2005-05-06 Wim Taymans <wim@fluendo.com>
11544 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11545 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11546 (gst_basesink_activate):
11547 Actually do something with error codes returned from the push
11550 2005-05-06 Wim Taymans <wim@fluendo.com>
11552 * docs/design/part-element-sink.txt:
11553 * docs/design/part-element-source.txt:
11554 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11555 (gst_basesink_event), (gst_basesink_activate):
11556 * gst/base/gstbasesink.h:
11557 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11558 (gst_basesrc_activate):
11559 * gst/base/gstbasesrc.h:
11560 * gst/gstelement.c: (gst_element_pads_activate):
11561 Some more documentation.
11562 Fixed scheduling decision in _pads_activate().
11564 2005-05-05 Andy Wingo <wingo@pobox.com>
11566 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11569 2005-05-05 Wim Taymans <wim@fluendo.com>
11571 * gst/base/Makefile.am:
11572 * gst/base/gstbasesink.h:
11573 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11574 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11575 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11576 (gst_collectpads_class_init), (gst_collectpads_init),
11577 (gst_collectpads_finalize), (gst_collectpads_new),
11578 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11579 (find_pad), (gst_collectpads_remove_pad),
11580 (gst_collectpads_is_active), (gst_collectpads_collect),
11581 (gst_collectpads_collect_range), (gst_collectpads_start),
11582 (gst_collectpads_stop), (gst_collectpads_peek),
11583 (gst_collectpads_pop), (gst_collectpads_available),
11584 (gst_collectpads_read), (gst_collectpads_flush),
11585 (gst_collectpads_chain):
11586 * gst/base/gstcollectpads.h:
11587 * gst/elements/Makefile.am:
11588 * gst/elements/gstelements.c:
11589 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11590 (gst_fakesink_get_times), (gst_fakesink_event),
11591 (gst_fakesink_preroll), (gst_fakesink_render):
11592 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11593 (gst_filesink_init), (gst_filesink_set_location),
11594 (gst_filesink_open_file), (gst_filesink_close_file),
11595 (gst_filesink_pad_query), (gst_filesink_event),
11596 (gst_filesink_render), (gst_filesink_change_state):
11597 * gst/elements/gstfilesink.h:
11598 Added object to help in making collect pad based elements.
11600 Make event function in sink baseclass return gboolean.
11602 2005-05-05 Wim Taymans <wim@fluendo.com>
11604 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11605 (gst_bin_get_by_name):
11607 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11608 (gst_clock_finalize):
11609 * gst/gstdata.c: (gst_data_replace):
11611 * gst/gstelement.c: (gst_element_request_pad),
11612 (gst_element_pads_activate):
11613 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11614 (gst_object_unref):
11615 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11616 (gst_pad_set_checkgetrange_function),
11617 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11618 (gst_pad_check_pull_range), (gst_pad_pull_range),
11619 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11620 (gst_pad_pause_task), (gst_pad_stop_task):
11621 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11622 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11623 Fix name lookup in GstBin.
11624 Added _data_replace() function and _buffer_replace()
11625 Use finalize method to clean up clock.
11626 Fix refcounting on request pads.
11627 Fix pad schedule mode error.
11628 Some more object refcounting debug info,
11631 2005-05-04 Andy Wingo <wingo@pobox.com>
11633 * check/Makefile.am:
11634 * docs/gst/tmpl/gstatomic.sgml:
11635 * docs/gst/tmpl/gstplugin.sgml:
11636 * gst/base/gstbasesink.c: (gst_basesink_activate):
11637 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11638 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11639 (gst_basesrc_query), (gst_basesrc_set_property),
11640 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11641 (gst_basesrc_activate):
11642 * gst/base/gstbasesrc.h:
11643 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11644 (gst_base_transform_src_activate):
11645 * gst/elements/gstelements.c:
11646 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11647 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11648 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11649 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11650 (gst_type_find_element_checkgetrange),
11651 (gst_type_find_element_activate):
11652 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11653 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11654 (gst_caps_load_thyself):
11655 * gst/gstelement.c: (gst_element_pads_activate),
11656 (gst_element_save_thyself), (gst_element_restore_thyself):
11657 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11658 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11660 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11661 (gst_xml_parse_file), (gst_xml_parse_memory),
11662 (gst_xml_get_element), (gst_xml_make_element):
11663 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11664 (_file_index_id_save_xml), (gst_file_index_commit):
11665 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11666 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11668 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11669 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11670 * tools/gst-complete.c: (main):
11671 * tools/gst-compprep.c: (main):
11672 * tools/gst-inspect.c: (print_element_properties_info):
11673 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11674 * tools/gst-xmlinspect.c: (print_element_properties):
11677 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11679 * gst/gstplugin.c: (gst_plugin_check_module),
11680 (gst_plugin_check_file), (gst_plugin_load_file):
11681 apply patch from #172526 to make register work on MacOSX
11683 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11685 * docs/gst/tmpl/gstconfig.sgml:
11686 * gst/gstconfig.h.in:
11687 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11688 * testsuite/debug/printf_extension.c: (main):
11689 Do not use GST_PTR_FORMAT on pointers to types with
11690 sizeof < sizeof(gpointer). Fixes test on 64-bit
11691 * testsuite/elements/property.h:
11692 use correct printf format
11694 2005-05-02 Wim Taymans <wim@fluendo.com>
11696 * docs/design/draft-push-pull.txt:
11697 * docs/design/draft-query.txt:
11698 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11699 (gst_basesrc_start):
11700 Added draft for new query API.
11701 Added draft for better selecting scheduling methods.
11702 Make basesrc ignore length if the subclass does not support
11705 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11708 possible fixes for automake-1.5 - _LIBADD is reserved
11710 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11712 * docs/faq/Makefile.am:
11713 * docs/manual/Makefile.am:
11714 * docs/manuals.mak:
11715 * docs/pwg/Makefile.am:
11717 possible fixes for automake-1.5
11719 2005-04-28 Wim Taymans <wim@fluendo.com>
11721 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11722 (gst_basesink_pad_getcaps), (gst_basesink_init),
11723 (gst_basesink_do_sync):
11724 * gst/gstclock.c: (gst_clock_entry_new):
11725 * gst/gstevent.c: (gst_event_discont_get_value):
11726 * gst/gstpipeline.c: (pipeline_bus_handler),
11727 (gst_pipeline_change_state):
11728 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11729 Better debugging of clocking info.
11730 Allow NULL values when getting discont values.
11732 2005-04-27 Wim Taymans <wim@fluendo.com>
11734 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11735 * check/gst/gstpad.c: (gst_pad_suite):
11736 Increase timeout for checks.
11738 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11740 * check/Makefile.am:
11741 fix the broken rule for cleanup. Apparently this rule is
11742 only needed on FC2, so maybe this warrants further autotool
11745 2005-04-26 Wim Taymans <wim@fluendo.com>
11747 * gst/gsttrashstack.h:
11748 Ooohh. a nasty one! After having a failed pop() from the stack,
11749 it's possible that the stack is empty. In that case, don't
11750 follow the NULL pointer.
11752 2005-04-25 Wim Taymans <wim@fluendo.com>
11754 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11755 (gst_pad_set_checkgetrange_function),
11756 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11757 (gst_pad_check_pull_range), (gst_pad_pull_range),
11758 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11759 (gst_pad_pause_task), (gst_pad_stop_task):
11760 * gst/gstplugin.c: (gst_plugin_load):
11762 Remove gst_library_load as it does more harm than good with
11763 the new g_module flags.
11764 Revert bogus caps template check in pad linking, pad caps
11765 are important when linking not the template, which is more
11766 general than the current caps.
11768 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11770 * gst/autoplug/.cvsignore:
11771 * gst/autoplug/Makefile.am:
11772 * gst/autoplug/gstsearchfuncs.c:
11773 * gst/autoplug/gstsearchfuncs.h:
11774 * gst/autoplug/gstspider.c:
11775 * gst/autoplug/gstspider.h:
11776 * gst/autoplug/gstspideridentity.c:
11777 * gst/autoplug/gstspideridentity.h:
11778 * gst/autoplug/spidertest.c:
11781 2005-04-25 Wim Taymans <wim@fluendo.com>
11783 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11784 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11785 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11786 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11788 Added stubs for unimplemented functions.
11790 2005-04-24 David Schleef <ds@schleef.org>
11792 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11795 2005-04-24 David Schleef <ds@schleef.org>
11797 Convert everything from GstAtomicInt to g_atomic_int_*, and
11802 * gst/gstatomic_impl.h:
11810 * gst/gstdata_private.h:
11814 * gst/gstmessage.c:
11817 * gst/gststructure.c:
11818 * gst/gststructure.h:
11819 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11822 2005-04-24 David Schleef <ds@schleef.org>
11824 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11825 make the regressions tests work. Remove some code that is no
11827 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11828 Disable warning for pads without templates.
11830 2005-04-24 David Schleef <ds@schleef.org>
11832 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11833 functions that handle filtered links.
11834 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11836 * gst/gstutils.c: Fix/remove utility functions that handle
11839 * gst/gstvalue.c: Add serialization/deserialization of caps
11840 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11841 requires fixing so that the filter caps notation creates
11842 a capsfilter element and sets the filter_caps property. I
11843 think everyone probably wants to keep the shorthand notation.
11844 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11845 * docs/gst/tmpl/gstpad.sgml:
11847 * gst/elements/gstelements.c: Register capsfilter element.
11848 * gst/Makefile.am: fix spacing
11849 * docs/random/ds/0.9-suggested-changes: random
11851 2005-04-23 David Schleef <ds@schleef.org>
11853 * gst/elements/Makefile.am:
11854 * gst/elements/gstcapsfilter.c: New element that acts like an
11855 identity, but filters caps. Will eventually replace filtered
11856 caps in pad linking.
11857 * gst/gstutils.c: (gst_element_create_all_pads): New function
11858 to create all the ALWAYS pads that are registered with an
11859 element class. This functionality should eventually be
11860 merged in with GstElement initialization.
11862 * testsuite/trigger/README: part of trigger test code that should
11863 have been checked in a long time ago.
11865 2005-04-23 David Schleef <ds@schleef.org>
11867 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11868 needed with new versions of libtool (nobody will confirm this),
11869 and hard to carry around.
11870 * gst/autoplug/Makefile.am:
11871 * gst/base/Makefile.am:
11872 * gst/elements/Makefile.am:
11873 * gst/indexers/Makefile.am:
11874 * gst/schedulers/Makefile.am:
11875 * libs/gst/bytestream/Makefile.am:
11876 * libs/gst/control/Makefile.am:
11877 * libs/gst/dataprotocol/Makefile.am:
11878 * libs/gst/getbits/Makefile.am:
11880 2005-04-21 Wim Taymans <wim@fluendo.com>
11882 * docs/design/draft-push-pull.txt:
11883 * docs/design/part-MT-refcounting.txt:
11884 * docs/design/part-TODO.txt:
11885 * docs/design/part-caps.txt:
11886 * docs/design/part-events.txt:
11887 * docs/design/part-gstbus.txt:
11888 * docs/design/part-gstpipeline.txt:
11889 * docs/design/part-messages.txt:
11890 * docs/design/part-push-pull.txt:
11891 * docs/design/part-query.txt:
11894 2005-04-21 Wim Taymans <wim@fluendo.com>
11896 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11897 (gst_message_new), (gst_message_new_error),
11898 (gst_message_new_warning), (gst_message_new_tag),
11899 (gst_message_new_state_changed), (gst_message_new_application),
11900 (gst_message_get_structure):
11901 * gst/gstmessage.h:
11902 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11903 (gst_structure_copy_conditional):
11904 Use parent refcount in GstMessage to ensure GstStructure
11906 Cleaned up headers a bit.
11909 2005-04-20 Wim Taymans <wim@fluendo.com>
11911 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11912 (gst_basesink_pad_getcaps), (gst_basesink_init),
11913 (gst_basesink_chain_unlocked):
11914 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11915 (gst_type_find_helper):
11916 * gst/elements/gsttypefindelement.c:
11917 (gst_type_find_element_have_type), (gst_type_find_element_init),
11918 (stop_typefinding), (gst_type_find_element_handle_event),
11919 (find_suggest), (gst_type_find_element_chain),
11920 (gst_type_find_element_checkgetrange),
11921 (gst_type_find_element_getrange), (do_typefind),
11922 (gst_type_find_element_activate):
11923 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11924 (gst_buffer_default_free), (gst_buffer_default_copy),
11925 (gst_buffer_set_caps):
11926 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11927 (gst_caps_replace):
11928 * gst/gstmessage.c: (gst_message_new),
11929 (gst_message_new_state_changed):
11930 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11931 (gst_pad_set_checkgetrange_function),
11932 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11933 (gst_pad_set_caps), (gst_pad_check_pull_range),
11934 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11936 * gst/gsttypefind.c: (gst_type_find_register):
11937 Make gst_caps_replace() work like other _replace() functions.
11938 Use _caps_replace() where possible.
11939 Make sure _message_new() initialises its field.
11940 Add gst_static_pad_template_get_caps()
11943 2005-04-18 Andy Wingo <wingo@pobox.com>
11945 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11946 on the peer, not the pad. I think that was a typo. Pass an extra
11947 arg to see if random access is possible. Activate the pads as
11948 PULL_RANGE if possible.
11950 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11952 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11953 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11956 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11958 * docs/faq/using.xml:
11959 Add note on gstreamer-properties (#154996).
11961 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11963 * docs/random/bbb/optional-properties:
11964 Some analysis on optional properties.
11966 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11968 * docs/gst/tmpl/gstelementfactory.sgml:
11969 * gst/gstelement.h:
11970 * gst/gstelementfactory.c: (gst_element_factory_init),
11971 (gst_element_factory_cleanup), (gst_element_register),
11972 (__gst_element_factory_add_static_pad_template),
11973 (gst_element_factory_get_static_pad_templates),
11974 (gst_element_factory_can_src_caps),
11975 (gst_element_factory_can_sink_caps):
11976 * gst/registries/Makefile.am:
11977 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11978 (gst_xml_registry_class_init), (gst_xml_registry_init),
11979 (gst_xml_registry_new), (gst_xml_registry_set_property),
11980 (gst_xml_registry_get_property), (get_time), (make_dir),
11981 (gst_xml_registry_get_perms_func),
11982 (plugin_times_older_than_recurse), (plugin_times_older_than),
11983 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11984 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11985 (add_to_char_array), (read_string), (read_uint), (read_enum),
11986 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11987 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11988 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11989 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11990 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11991 (gst_xml_registry_rebuild):
11992 * gst/registries/gstlibxmlregistry.h:
11993 * tools/gst-compprep.c: (main):
11994 * tools/gst-inspect.c: (print_pad_templates_info):
11995 * tools/gst-xmlinspect.c: (print_element_info):
11996 Use libxml2 for registry parsing, use staticpadtemplates in
11997 elementfactories. Makes gst_init() +/- 10x faster.
11999 2005-04-12 Wim Taymans <wim@fluendo.com>
12001 * gst/base/Makefile.am:
12002 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12003 (gst_basesink_pad_getcaps), (gst_basesink_init),
12004 (gst_basesink_event), (gst_basesink_change_state):
12005 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12006 (gst_basesrc_init), (gst_basesrc_query),
12007 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12008 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12009 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12010 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12011 (gst_basesrc_stop), (gst_basesrc_activate),
12012 (gst_basesrc_change_state):
12013 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12014 (helper_find_suggest), (gst_type_find_helper):
12015 * gst/base/gsttypefindhelper.h:
12016 * gst/elements/Makefile.am:
12017 * gst/elements/gstelements.c:
12018 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12019 (gst_fakesink_get_times), (gst_fakesink_event),
12020 (gst_fakesink_preroll), (gst_fakesink_render):
12021 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12022 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12023 (gst_fakesrc_get_property), (gst_fakesrc_create),
12024 (gst_fakesrc_start), (gst_fakesrc_stop):
12025 * gst/elements/gstfakesrc.h:
12026 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12027 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12028 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12029 (gst_filesrc_create_read), (gst_filesrc_create),
12030 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12031 (gst_filesrc_start):
12032 * gst/elements/gsttypefindelement.c:
12033 (gst_type_find_element_have_type), (gst_type_find_element_init),
12034 (start_typefinding), (stop_typefinding), (push_buffer_store),
12035 (gst_type_find_element_handle_event),
12036 (gst_type_find_element_chain),
12037 (gst_type_find_element_checkgetrange),
12038 (gst_type_find_element_getrange), (do_typefind),
12039 (gst_type_find_element_activate),
12040 (gst_type_find_element_change_state):
12041 * gst/elements/gsttypefindelement.h:
12042 * gst/gstpipeline.c: (pipeline_bus_handler):
12043 Added typefind helper.
12044 Small preroll fix in the base sink.
12045 Disable typefind code in basesrc.
12046 Crude port of typefindelement.
12050 2005-04-11 Wim Taymans <wim@fluendo.com>
12052 * check/gst/gstbus.c: (gstbus_suite):
12053 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12054 * check/gstcheck.h:
12055 Fix up the timeout so that the test does not fail.
12057 2005-04-06 Wim Taymans <wim@fluendo.com>
12060 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12061 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12062 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12063 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12064 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12065 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12066 (gst_basesrc_stop), (gst_basesrc_activate),
12067 (gst_basesrc_change_state), (basesrc_find_peek),
12068 (basesrc_find_suggest), (gst_basesrc_type_find):
12069 * gst/base/gstbasesrc.h:
12070 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12071 (gst_filesrc_class_init), (gst_filesrc_init),
12072 (gst_filesrc_finalize), (gst_filesrc_set_location),
12073 (gst_filesrc_set_property), (gst_filesrc_get_property),
12074 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12075 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12076 (gst_filesrc_create_read), (gst_filesrc_create),
12077 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12078 * gst/elements/gstfilesrc.h:
12079 * gst/gstelement.c: (gst_element_get_state_func),
12080 (gst_element_lost_state), (gst_element_pads_activate):
12081 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12082 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12083 (gst_pad_pull_range):
12085 More work on the generic source base class, implement seeking,
12087 Make filesrc extend the base source class.
12088 Added gst_pad_set_checkgetrange_function to GstPad.
12090 2005-04-06 Andy Wingo <wingo@pobox.com>
12092 * pkgconfig/gstreamer-base.pc.in:
12093 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12095 * pkgconfig/Makefile.am:
12096 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12098 2005-04-04 Wim Taymans <wim@fluendo.com>
12100 * gst/base/Makefile.am:
12102 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12103 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12104 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12105 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12106 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12107 (gst_basesrc_base_init), (gst_basesrc_class_init),
12108 (gst_basesrc_init), (gst_basesrc_get_formats),
12109 (gst_basesrc_get_query_types), (gst_basesrc_query),
12110 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12111 (gst_basesrc_set_property), (gst_basesrc_get_property),
12112 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12113 (gst_basesrc_loop), (gst_basesrc_activate),
12114 (gst_basesrc_change_state):
12115 * gst/base/gstbasesrc.h:
12116 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12117 (gst_fakesrc_class_init), (gst_fakesrc_init),
12118 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12119 (gst_fakesrc_get_property), (gst_fakesrc_create):
12120 * gst/elements/gstfakesrc.h:
12121 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12122 (gst_filesrc_open_file), (gst_filesrc_loop),
12123 (gst_filesrc_activate), (filesrc_find_peek),
12124 (gst_filesrc_type_find):
12125 Made base source class, make fakesrc extend it.
12126 Add comments to basesink class.
12127 Some filesrc cleanup.
12129 2005-03-31 David Schleef <ds@schleef.org>
12131 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12132 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12133 expected to link against libgstreamer.
12134 * gst/base/Makefile.am: link against libgstreamer
12135 * gst/elements/Makefile.am: same
12137 2005-03-31 Andy Wingo <wingo@pobox.com>
12139 * tests/instantiate/Makefile.am:
12140 * tests/instantiate/caps.c: Add test to test speed of caps copy
12143 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12144 GMemChunk to be fair.
12146 * gst/gsttrashstack.h: Remove warning about using the fallback
12147 trash stack implementation, it's still faster than malloc.
12149 2005-03-30 Andy Wingo <wingo@pobox.com>
12151 * tests/complexity.c: Add a copyright.
12153 2005-03-31 Wim Taymans <wim@fluendo.com>
12155 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12156 (gst_base_transform_class_init), (gst_base_transform_init),
12157 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12158 (gst_base_transform_get_property),
12159 (gst_base_transform_sink_activate),
12160 (gst_base_transform_src_activate),
12161 (gst_base_transform_change_state):
12162 * gst/base/gstbasetransform.h:
12163 * gst/elements/gstidentity.c: (gst_identity_class_init),
12164 (gst_identity_event), (gst_identity_check_perfect),
12165 (gst_identity_transform), (gst_identity_start),
12166 (gst_identity_stop):
12167 Added start/stop methods to transform base class so subclasses
12168 don't need to deal with state changes even.
12170 2005-03-31 Wim Taymans <wim@fluendo.com>
12172 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12173 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12175 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12176 (gst_pad_pull_range):
12177 Added rate to the discont event to prepare for variable speed
12178 and reverse playback.
12180 2005-03-29 David Schleef <ds@schleef.org>
12183 * testsuite/trigger/Makefile.am:
12184 * testsuite/trigger/trigger.c: A little example program to show
12185 how trigger-based elements can work.
12187 2005-03-29 Wim Taymans <wim@fluendo.com>
12189 * gst/base/Makefile.am:
12191 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12192 (gst_basesink_base_init), (gst_basesink_class_init),
12193 (gst_basesink_pad_getcaps), (gst_basesink_init),
12194 (gst_basesink_activate), (gst_basesink_change_state):
12195 * gst/base/gstbasesink.h:
12196 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12197 (gst_base_transform_base_init), (gst_base_transform_finalize),
12198 (gst_base_transform_class_init), (gst_base_transform_init),
12199 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12200 (gst_base_transform_event), (gst_base_transform_getrange),
12201 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12202 (gst_base_transform_set_property),
12203 (gst_base_transform_get_property),
12204 (gst_base_transform_sink_activate),
12205 (gst_base_transform_src_activate),
12206 (gst_base_transform_change_state):
12207 * gst/base/gstbasetransform.h:
12208 * gst/elements/gstidentity.c: (gst_identity_finalize),
12209 (gst_identity_class_init), (gst_identity_init),
12210 (gst_identity_event), (gst_identity_check_perfect),
12211 (gst_identity_transform), (gst_identity_set_property),
12212 (gst_identity_get_property), (gst_identity_change_state):
12213 * gst/elements/gstidentity.h:
12214 * gst/gstelement.c: (gst_element_get_state_func),
12215 (gst_element_lost_state), (gst_element_pads_activate):
12216 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12217 (gst_pad_check_pull_range), (gst_pad_pull_range):
12219 Simplify pad activation.
12220 Added function to check if pull_range can be performed.
12221 Error out when pulling inactive or flushing pads.
12222 Removed const from refcounted types as it does not make sense.
12223 Simplify pad templates in basesink
12224 Added base class for simple 1-to-1 transforms.
12225 Make identity subclass the base transform.
12227 2005-03-29 Andy Wingo <wingo@pobox.com>
12229 * docs/libs/gstreamer-libs-overrides.txt:
12230 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12231 really don't understand what's going on, but like whatever. I want
12234 * docs/gst/Makefile.am:
12235 * docs/libs/Makefile.am: Dist the overrides files.
12237 * check/Makefile.am (clean-local): Remove .libs directories.
12239 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12240 elements to EXTRA_DIST, so po/ files are happy.
12242 * po/POTFILES.in: Er, remove it here.
12244 * po/POTFILES: Remove gstspider.c.
12246 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12248 * docs/libs/gstreamer-libs-docs.sgml:
12249 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12252 * tests/complexity.c (main): Set the length of the preroll queue
12253 on the sinks to prevent a lockup.
12255 * libs/gst/dataprotocol/Makefile.am:
12256 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12257 the same as the one in check/gst-libs/gdp.c.
12259 * po/, docs/gst/: Commit automatic changes to docs and po files.
12261 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12262 the versioned libgstbase.
12264 * check/Makefile.am: Depend on an unversioned gst-register, seems
12265 to make autoconf happier.
12267 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12269 2005-03-28 Wim Taymans <wim@fluendo.com>
12272 * docs/design/part-gstelement.txt:
12273 * docs/design/part-negotiation.txt:
12274 * docs/design/part-preroll.txt:
12275 * docs/design/part-scheduling.txt:
12276 * docs/design/part-states.txt:
12278 * gst/base/Makefile.am:
12280 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12281 (gst_basesink_base_init), (gst_basesink_class_init),
12282 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12283 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12284 (gst_basesink_set_pad_functions),
12285 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12286 (gst_basesink_set_property), (gst_basesink_get_property),
12287 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12288 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12289 (gst_basesink_preroll_queue_push),
12290 (gst_basesink_preroll_queue_empty),
12291 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12292 (gst_basesink_event), (gst_basesink_get_times),
12293 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12294 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12295 (gst_basesink_loop), (gst_basesink_activate),
12296 (gst_basesink_change_state):
12297 * gst/base/gstbasesink.h:
12298 * gst/elements/Makefile.am:
12299 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12300 (gst_fakesink_class_init), (gst_fakesink_init),
12301 (gst_fakesink_set_property), (gst_fakesink_get_property),
12302 (gst_fakesink_get_times), (gst_fakesink_event),
12303 (gst_fakesink_preroll), (gst_fakesink_render),
12304 (gst_fakesink_change_state):
12305 * gst/elements/gstfakesink.h:
12306 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12307 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12308 * gst/gstelement.c: (gst_element_add_pad),
12309 (gst_element_get_state_func), (gst_element_abort_state),
12310 (gst_element_commit_state), (gst_element_lost_state),
12311 (gst_element_set_state), (gst_element_pads_activate):
12312 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12313 * gst/gstpipeline.c: (gst_pipeline_send_event),
12314 (gst_pipeline_change_state):
12315 Added state change code.
12316 Added/updated docs.
12317 Added sink base class, make fakesink extend the base class.
12318 Small cleanups in GstPipeline.
12320 2005-03-26 David Schleef <ds@schleef.org>
12322 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12323 is broken and should be implemented in a different library.
12324 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12325 * gst/gst.h: remove gstcpu.h
12326 * gst/gstcpu.c: remove
12327 * gst/gstcpu.h: remove
12328 * gst/Makefile.am.future: Remove this file. It's ancient.
12330 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12332 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12333 (gst_bin_send_event):
12334 Add default event/set_manager handlers. The set_manager handler
12335 takes care that the manager is distributed over kids that were
12336 already in the bin before the manager was set. The event handler
12337 is a utility virtual function that sends the event over all sinks,
12338 so that gst_element_send_event (bin, event); has the expected
12340 * gst/gstpad.c: (gst_pad_event_default):
12341 Re-install default event handling for discontinuities, so that
12342 seeking works without requiring hacks in applications or extra
12344 * gst/gstpipeline.c: (gst_pipeline_class_init),
12345 (gst_pipeline_send_event):
12346 Half hack, half utility: set a pipeline to PAUSED for seek events,
12347 since that is the only way we can guarantee a/v sync. Means that
12348 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12349 and it "just works".
12351 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12353 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12354 Lock/unlock mismatch.
12356 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12358 * docs/faq/gst-uninstalled:
12359 add gst-plugins-base
12360 * docs/gst/Makefile.am:
12361 don't error out until docs are fixed
12362 * docs/gst/gstreamer.types:
12365 2005-03-22 Wim Taymans <wim@fluendo.com>
12367 * check/Makefile.am:
12368 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12369 * gst/gststructure.c: (gst_structure_set_valist),
12370 (gst_structure_copy_conditional):
12371 Activated more tests.
12372 Added message test.
12373 Added G_TYPE_POINTER to GstStructure.
12376 2005-03-22 Wim Taymans <wim@fluendo.com>
12378 * docs/design/part-TODO.txt:
12379 * docs/design/part-events.txt:
12380 * docs/design/part-gstbin.txt:
12381 * docs/design/part-gstbus.txt:
12382 * docs/design/part-gstpipeline.txt:
12383 * docs/design/part-messages.txt:
12385 * gst/gstmessage.c:
12388 2005-03-21 Wim Taymans <wim@fluendo.com>
12390 * gst/gstbus.c: (gst_bus_post):
12391 Fix copy-and-paste error.
12393 2005-03-21 Wim Taymans <wim@fluendo.com>
12395 * check/Makefile.am:
12397 * gst/elements/Makefile.am:
12398 * gst/elements/gstelements.c:
12399 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12400 (gst_fakesink_event), (gst_fakesink_chain):
12401 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12402 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12403 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12404 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12405 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12406 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12407 (gst_fakesrc_loop), (gst_fakesrc_activate),
12408 (gst_fakesrc_change_state):
12409 * gst/elements/gstfakesrc.h:
12410 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12411 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12412 (gst_filesrc_open_file), (gst_filesrc_loop),
12413 (gst_filesrc_activate), (gst_filesrc_change_state),
12414 (filesrc_find_peek), (filesrc_find_suggest),
12415 (gst_filesrc_type_find):
12416 * gst/elements/gstidentity.c: (gst_identity_finalize),
12417 (gst_identity_class_init), (gst_identity_init),
12418 (gst_identity_proxy_getcaps), (identity_queue_push),
12419 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12420 (gst_identity_getrange), (gst_identity_chain),
12421 (gst_identity_sink_loop), (gst_identity_src_loop),
12422 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12423 (gst_identity_set_property), (gst_identity_get_property),
12424 (gst_identity_change_state):
12425 * gst/elements/gstidentity.h:
12426 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12427 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12428 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12429 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12430 (gst_tee_sink_activate):
12431 * gst/elements/gsttee.h:
12432 * gst/gst.c: (gst_register_core_elements), (init_post):
12434 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12435 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12436 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12437 (gst_bin_change_state):
12439 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12440 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12441 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12442 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12443 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12444 (bus_watch_callback), (bus_watch_destroy),
12445 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12446 (poll_timeout), (gst_bus_poll):
12450 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12451 (gst_element_post_message), (gst_element_message_full),
12452 (gst_element_get_state_func), (gst_element_get_state),
12453 (gst_element_abort_state), (gst_element_commit_state),
12454 (gst_element_lost_state), (gst_element_set_state),
12455 (gst_element_pads_activate), (gst_element_change_state),
12456 (gst_element_dispose), (gst_element_set_manager_func),
12457 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12458 (gst_element_set_manager), (gst_element_get_manager),
12459 (gst_element_set_bus), (gst_element_get_bus),
12460 (gst_element_set_scheduler), (gst_element_get_scheduler):
12461 * gst/gstelement.h:
12462 * gst/gstevent.c: (gst_event_new_segment_seek),
12463 (gst_event_new_flush):
12465 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12466 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12467 (gst_message_new_eos), (gst_message_new_error),
12468 (gst_message_new_warning), (gst_message_new_tag),
12469 (gst_message_new_state_changed), (gst_message_new_application),
12470 (gst_message_get_structure), (gst_message_parse_tag),
12471 (gst_message_parse_state_changed), (gst_message_parse_error),
12472 (gst_message_parse_warning):
12473 * gst/gstmessage.h:
12474 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12475 (gst_real_pad_set_property), (gst_pad_set_active),
12476 (gst_pad_is_active), (gst_pad_set_blocked_async),
12477 (gst_pad_set_blocked), (gst_pad_is_blocked),
12478 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12479 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12480 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12481 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12482 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12483 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12484 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12485 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12486 (gst_pad_set_caps), (gst_pad_configure_sink),
12487 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12488 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12489 (gst_real_pad_dispose), (gst_real_pad_finalize),
12490 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12491 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12492 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12494 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12495 (pipeline_bus_handler), (gst_pipeline_change_state),
12496 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12497 * gst/gstpipeline.h:
12499 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12500 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12501 (gst_queue_link_src), (gst_queue_bufferalloc),
12502 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12503 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12504 (gst_queue_loop), (gst_queue_handle_src_event),
12505 (gst_queue_handle_src_query), (gst_queue_src_activate),
12506 (gst_queue_change_state):
12508 * gst/gstscheduler.c: (gst_scheduler_init),
12509 (gst_scheduler_dispose), (gst_scheduler_create_task),
12510 (gst_scheduler_factory_create):
12511 * gst/gstscheduler.h:
12512 * gst/gststructure.c: (gst_structure_get_type),
12513 (gst_structure_copy_conditional):
12514 * gst/gststructure.h:
12515 * gst/gsttaginterface.h:
12516 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12517 (gst_task_init), (gst_task_dispose), (gst_task_create),
12518 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12524 * gst/schedulers/Makefile.am:
12525 * gst/schedulers/cothreads_compat.h:
12526 * gst/schedulers/entryscheduler.c:
12527 * gst/schedulers/faircothreads.c:
12528 * gst/schedulers/faircothreads.h:
12529 * gst/schedulers/fairscheduler.c:
12530 * gst/schedulers/gstbasicscheduler.c:
12531 * gst/schedulers/gstoptimalscheduler.c:
12532 * gst/schedulers/gthread-cothreads.h:
12533 * gst/schedulers/threadscheduler.c:
12534 (gst_thread_scheduler_task_get_type),
12535 (gst_thread_scheduler_task_class_init),
12536 (gst_thread_scheduler_task_init),
12537 (gst_thread_scheduler_task_start),
12538 (gst_thread_scheduler_task_stop),
12539 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12540 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12541 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12542 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12544 * libs/gst/Makefile.am:
12545 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12546 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12547 (gst_file_pad_parent_set):
12548 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12549 (gst_dp_event_from_packet):
12550 * tests/complexity.c: (main):
12551 * tests/mass_elements.c: (main):
12552 * testsuite/states/locked.c: (message_received), (main):
12553 * testsuite/states/parent.c: (main):
12554 * tools/gst-inspect.c: (print_element_flag_info),
12555 (print_implementation_info), (print_pad_info):
12556 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12558 * tools/gst-md5sum.c: (event_loop), (main):
12559 * tools/gst-typefind.c: (main):
12560 * tools/gst-xmlinspect.c: (print_element_info):
12562 Added GstBus for mainloop integration.
12563 Added GstMessage for sending notifications on the bus.
12564 Added GstTask as an abstraction for pipeline entry points.
12566 Removed Schedulers.
12567 Simplified GstQueue for multithreaded core.
12568 Made _link threadsafe, removed old capsnego.
12569 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12570 Added pad blocking functions.
12571 Reworked scheduling functions in GstPad to prepare for
12572 scheduling updates soon.
12573 Moved events out of data stream.
12574 Simplified GstEvent types.
12575 Added return values to push/pull.
12576 Removed clocking from GstElement.
12577 Added prototypes for state change function for next merge.
12578 Removed iterate from bins and state change management.
12579 Fixed some elements, disabled others for now.
12580 Fixed -inspect and -launch.
12581 Added check for GstBus.
12583 2005-03-10 Wim Taymans <wim@fluendo.com>
12585 * docs/design/part-MT-refcounting.txt:
12586 * docs/design/part-clocks.txt:
12587 * docs/design/part-gstelement.txt:
12588 * docs/design/part-gstobject.txt:
12589 * docs/design/part-standards.txt:
12590 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12591 (gst_bin_remove_func), (gst_bin_remove):
12595 * testsuite/clock/clock1.c: (main):
12596 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12598 * testsuite/dlopen/loadgst.c: (do_test):
12599 * testsuite/refcounting/bin.c: (add_remove_test1),
12600 (add_remove_test2), (main):
12601 * testsuite/refcounting/element.c: (main):
12602 * testsuite/refcounting/element_pad.c: (main):
12603 * testsuite/refcounting/pad.c: (main):
12604 * tools/gst-launch.c: (sigint_handler_sighandler):
12605 * tools/gst-typefind.c: (main):
12607 Added doc about clock.
12608 removed gst_bin_iterate_recurse_up(), marked methods
12610 Fix more testsuites.
12612 2005-03-09 Wim Taymans <wim@fluendo.com>
12614 * gst/gstpad.c: (gst_pad_get_direction),
12615 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12616 (gst_pad_collect_valist):
12617 * testsuite/bins/interface.c: (main):
12618 * testsuite/caps/audioscale.c: (test_caps):
12619 * testsuite/caps/caps.c: (test1), (test2), (test3):
12620 * testsuite/caps/deserialize.c: (main):
12621 * testsuite/caps/enumcaps.c: (main):
12622 * testsuite/caps/filtercaps.c: (main):
12623 * testsuite/caps/intersect2.c: (main):
12624 * testsuite/caps/random.c: (main):
12625 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12626 * testsuite/caps/sets.c: (check_caps):
12627 * testsuite/caps/simplify.c: (check_caps), (main):
12628 * testsuite/caps/subtract.c: (check_caps):
12629 Fix _pad_get_direction wrt ghostpads.
12630 Fix caps testsuite.
12632 2005-03-09 Wim Taymans <wim@fluendo.com>
12634 * check/Makefile.am:
12635 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12636 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12637 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12638 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12639 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12640 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12641 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12642 (bin_element_is_sink), (gst_bin_iterate_sinks),
12643 (gst_bin_iterate_all_by_interface):
12645 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12646 (gst_element_change_state), (gst_element_dispose),
12647 (gst_element_finalize), (gst_element_set_loop_function):
12648 * gst/gstelement.h:
12649 * gst/gstiterator.c: (find_custom_fold_func):
12650 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12651 (gst_pad_collectv), (gst_pad_collect_valist),
12652 (gst_pad_template_new):
12653 * gst/gstpipeline.c: (gst_pipeline_class_init),
12654 (gst_pipeline_dispose), (gst_pipeline_set_property),
12655 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12656 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12657 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12659 * gst/schedulers/entryscheduler.c:
12660 * gst/schedulers/gstbasicscheduler.c:
12661 (gst_basic_scheduler_cothreaded_chain),
12662 (gst_basic_scheduler_chain_add_element):
12663 * testsuite/bins/interface.c: (main):
12665 Added GstSystemClock test.
12666 Implemented clock distribution code in GstBin.
12667 Implemented iterate sinks method for future use.
12668 Rearranged gstelement.h
12669 Fix GstIterator comparison bug.
12670 Moved some code to GstPipeline, mostly clocking related.
12672 2005-03-09 Wim Taymans <wim@fluendo.com>
12675 * gst/gst_private.h:
12676 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12677 (gst_bin_remove_func), (gst_bin_remove),
12678 (gst_bin_get_by_name_recurse_up):
12679 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12680 (gst_clock_id_compare_func), (gst_clock_id_wait),
12681 (gst_clock_id_wait_async), (gst_clock_init),
12682 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12683 * gst/gstelement.h:
12684 * gst/gstinfo.c: (_gst_debug_init):
12686 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12687 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12689 Bump version number, we're now 0.9.0
12690 Add future debugging category.
12691 Fix NULL _unref() in _get_by_name_recurse_up
12692 Rearrange gstpad.h.
12695 2005-03-08 Wim Taymans <wim@fluendo.com>
12697 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12698 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12699 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12700 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12701 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12702 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12703 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12704 * gst/elements/gstidentity.c: (gst_identity_class_init):
12705 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12706 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12707 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12708 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12709 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12711 * gst/gstelement.c: (gst_element_class_init),
12712 (gst_element_base_class_init), (gst_element_init),
12713 (gst_element_get_random_pad), (gst_element_wait_state_change),
12714 (gst_element_change_state), (gst_element_dispose),
12715 (gst_element_finalize), (gst_element_set_loop_function):
12716 * gst/gstelement.h:
12717 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12718 * gst/gstthread.c: (gst_thread_class_init),
12719 (gst_thread_release_children_locks), (gst_thread_change_state):
12720 * gst/schedulers/gstbasicscheduler.c:
12721 (gst_basic_scheduler_loopfunc_wrapper),
12722 (gst_basic_scheduler_chain_wrapper),
12723 (gst_basic_scheduler_src_wrapper),
12724 (gst_basic_scheduler_remove_element):
12725 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12726 Remove threadsafe properties. Fix elements because GObject
12727 complains when installing a property before declaring a
12728 set/get_property handler.
12729 Rearrange gstelement.h file, use STATE macros for state locks.
12730 Free mutexes in the finalize method instead of dispose.
12732 2005-03-08 Wim Taymans <wim@fluendo.com>
12734 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12735 * gst/gstthread.c: (gst_thread_release_children_locks):
12736 Added parentage check.
12737 Fix build og GstThread again.
12739 2005-03-08 Wim Taymans <wim@fluendo.com>
12741 * docs/design/part-MT-refcounting.txt:
12742 * docs/design/part-conventions.txt:
12743 * docs/design/part-gstobject.txt:
12744 * docs/design/part-relations.txt:
12745 * docs/design/part-standards.txt:
12746 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12747 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12748 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12749 (gst_bin_iterate_all_by_interface):
12752 * gst/gstelement.c: (gst_element_class_init),
12753 (gst_element_change_state), (gst_element_set_loop_function):
12754 * gst/gstelement.h:
12755 * gst/gstiterator.c:
12756 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12757 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12758 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12759 (gst_object_set_parent), (gst_object_unparent),
12760 (gst_object_check_uniqueness):
12762 Docs updates, clean up some headers.
12764 2005-03-07 Wim Taymans <wim@fluendo.com>
12766 * check/.cvsignore:
12767 * check/Makefile.am:
12768 * check/gst-libs/.cvsignore:
12769 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12770 * check/gst/.cvsignore:
12771 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12772 (START_TEST), (gstbus_suite), (main):
12773 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12774 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12775 (gst_data_suite), (main):
12776 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12777 (add_fold_func), (gstiterator_suite), (main):
12778 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12779 (thread_name_object), (thread_name_object_default),
12780 (gst_object_name_compare), (gst_object_suite), (main):
12781 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12782 (gst_pad_suite), (main):
12783 * check/gstcheck.c: (gst_check_log_message_func),
12784 (gst_check_log_critical_func), (gst_check_init):
12785 * check/gstcheck.h:
12786 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12787 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12790 2005-03-07 Wim Taymans <wim@fluendo.com>
12792 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12793 (gst_list_iterator_next), (gst_list_iterator_resync),
12794 (gst_list_iterator_free), (gst_iterator_new_list),
12795 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12796 (gst_iterator_free), (gst_iterator_push), (filter_next),
12797 (filter_resync), (filter_uninit), (filter_free),
12798 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12799 (gst_iterator_foreach), (find_custom_fold_func),
12800 (gst_iterator_find_custom):
12801 * gst/gstiterator.h:
12802 Added missing files.
12804 2005-03-07 Wim Taymans <wim@fluendo.com>
12808 * docs/design/part-MT-refcounting.txt:
12809 * docs/design/part-conventions.txt:
12810 * docs/design/part-gstobject.txt:
12811 * docs/design/part-relations.txt:
12812 * examples/mixer/mixer.c: (main):
12813 * examples/thread/thread.c: (eos), (main):
12815 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12816 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12817 (gst_spider_plug_from_srcpad):
12818 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12819 (gst_spider_identity_change_state),
12820 (gst_spider_identity_sink_loop_type_finding):
12821 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12822 * gst/elements/gstidentity.c: (gst_identity_init):
12823 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12824 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12825 * gst/elements/gsttypefindelement.c: (free_entry):
12828 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12829 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12830 (gst_bin_set_index), (gst_bin_set_element_sched),
12831 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12832 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12833 (gst_bin_iterate_elements), (iterate_child_recurse),
12834 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12835 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12836 (compare_interface), (gst_bin_get_by_interface),
12837 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12839 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12840 (gst_buffer_default_free), (gst_buffer_default_copy),
12841 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12842 (gst_buffer_create_sub):
12844 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12845 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12846 (gst_caps_unref), (gst_static_caps_get),
12847 (gst_caps_remove_and_get_structure), (gst_caps_append),
12848 (gst_caps_append_structure), (gst_caps_remove_structure),
12849 (gst_caps_copy_nth), (gst_caps_set_simple),
12850 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12851 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12852 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12853 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12854 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12855 (gst_caps_structure_figure_out_union),
12856 (gst_caps_switch_structures), (gst_caps_do_simplify),
12857 (gst_caps_replace), (gst_caps_from_string),
12858 (gst_caps_copy_conditional):
12860 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12861 (_gst_clock_id_free), (gst_clock_id_unref),
12862 (gst_clock_id_compare_func), (gst_clock_id_wait),
12863 (gst_clock_id_wait_async), (gst_clock_class_init),
12864 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12865 (gst_clock_get_time), (gst_clock_set_time_adjust),
12866 (gst_clock_set_property), (gst_clock_get_property):
12869 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12870 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12872 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12873 (gst_element_requires_clock), (gst_element_provides_clock),
12874 (gst_element_set_clock), (gst_element_clock_wait),
12875 (gst_element_wait), (gst_element_set_time_delay),
12876 (gst_element_is_indexable), (gst_element_add_pad),
12877 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12878 (pad_compare_name), (gst_element_get_static_pad),
12879 (gst_element_request_pad), (gst_element_get_request_pad),
12880 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12881 (gst_element_class_get_pad_template_list),
12882 (gst_element_class_get_pad_template), (gst_element_error_func),
12883 (gst_element_get_random_pad), (gst_element_get_event_masks),
12884 (gst_element_send_event), (gst_element_seek),
12885 (gst_element_get_query_types), (gst_element_query),
12886 (gst_element_get_formats), (gst_element_convert),
12887 (gst_element_is_locked_state), (gst_element_set_locked_state),
12888 (gst_element_sync_state_with_parent), (gst_element_change_state),
12889 (gst_element_finalize), (gst_element_yield),
12890 (gst_element_interrupt), (gst_element_set_scheduler),
12891 (gst_element_get_scheduler), (gst_element_set_loop_function):
12892 * gst/gstelement.h:
12894 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12895 (gst_format_get_by_nick), (gst_format_get_details),
12896 (gst_format_iterate_definitions):
12898 * gst/gstindex.c: (gst_index_gtype_resolver):
12901 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12902 (gst_mem_chunk_free):
12903 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12904 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12905 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12906 (gst_object_dispatch_properties_changed),
12907 (gst_object_set_name_default), (gst_object_set_name),
12908 (gst_object_get_name), (gst_object_set_name_prefix),
12909 (gst_object_get_name_prefix), (gst_object_set_parent),
12910 (gst_object_get_parent), (gst_object_unparent),
12911 (gst_object_check_uniqueness), (gst_object_save_thyself),
12912 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12913 (gst_object_set_property), (gst_object_get_property),
12914 (gst_object_get_path_string):
12916 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12917 (gst_real_pad_init), (gst_real_pad_get_property),
12918 (gst_pad_custom_new), (gst_pad_get_direction),
12919 (gst_pad_set_active), (gst_pad_is_active),
12920 (gst_pad_set_event_function), (gst_pad_is_linked),
12921 (gst_pad_link_free), (gst_pad_link_intersect),
12922 (gst_pad_link_fixate), (gst_pad_set_caps),
12923 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12924 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12925 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12926 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12927 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12928 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12929 (gst_pad_realize), (gst_pad_get_allowed_caps),
12930 (gst_real_pad_dispose), (gst_real_pad_finalize),
12931 (gst_pad_collectv), (gst_pad_collect_valist),
12932 (gst_pad_template_dispose), (gst_pad_template_new),
12933 (gst_pad_get_internal_links):
12935 * gst/gstpipeline.c: (gst_pipeline_dispose),
12936 (gst_pipeline_change_state):
12937 * gst/gstpipeline.h:
12939 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12940 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12941 * gst/gstpluginfeature.h:
12942 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12943 * gst/gstquery.c: (_gst_query_type_initialize),
12944 (gst_query_type_register), (gst_query_type_get_by_nick),
12945 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12947 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12948 * gst/gstscheduler.c: (gst_scheduler_add_element),
12949 (gst_scheduler_factory_create):
12950 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12951 (gst_structure_free), (gst_structure_set_name),
12952 (gst_structure_id_set_value), (gst_structure_set_value),
12953 (gst_structure_set_valist), (gst_structure_remove_field),
12954 (gst_structure_remove_fields),
12955 (gst_structure_remove_fields_valist),
12956 (gst_structure_remove_all_fields), (gst_structure_foreach),
12957 (gst_structure_map_in_place),
12958 (gst_caps_structure_fixate_field_nearest_int),
12959 (gst_caps_structure_fixate_field_nearest_double):
12960 * gst/gststructure.h:
12961 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12962 (gst_system_clock_init), (gst_system_clock_dispose),
12963 (gst_system_clock_async_thread),
12964 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12965 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12966 * gst/gstsystemclock.h:
12967 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12968 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12969 * gst/gsttaginterface.c:
12970 * gst/gstthread.c: (gst_thread_dispose),
12971 (gst_thread_release_children_locks), (gst_thread_change_state),
12972 (gst_thread_main_loop):
12973 * gst/gsttrashstack.h:
12974 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12976 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12977 (gst_element_request_pad), (gst_element_get_pad_from_template),
12978 (gst_element_request_compatible_pad),
12979 (gst_element_get_compatible_pad_filtered),
12980 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12981 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12982 (gst_element_link_many), (gst_element_link),
12983 (gst_element_link_pads), (gst_element_unlink_pads),
12984 (gst_element_unlink_many), (gst_element_unlink),
12985 (gst_pad_can_link_filtered), (gst_pad_can_link),
12986 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12987 (gst_object_default_error), (gst_bin_add_many),
12988 (gst_bin_remove_many), (gst_element_populate_std_props),
12989 (gst_element_class_install_std_props), (gst_buffer_merge),
12990 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12991 (link_fold_func), (gst_pad_proxy_setcaps):
12993 * gst/gstvalue.c: (gst_value_deserialize_string):
12994 * gst/parse/grammar.y:
12995 * gst/schedulers/gstbasicscheduler.c:
12996 (gst_basic_scheduler_cothreaded_chain),
12997 (gst_basic_scheduler_chain_recursive_add),
12998 (gst_basic_scheduler_pad_link):
12999 * gst/schedulers/gstoptimalscheduler.c:
13000 (get_group_schedule_function),
13001 (gst_opt_scheduler_state_transition),
13002 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13003 * libs/gst/bytestream/bytestream.c:
13004 * libs/gst/dataprotocol/dataprotocol.c:
13005 (gst_dp_header_from_buffer):
13008 * tests/threadstate/threadstate2.c: (eos):
13009 * tools/gst-compprep.c: (main):
13010 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13011 (print_pad_info), (print_children_info):
13012 * tools/gst-launch.c: (idle_func), (main):
13013 * tools/gst-md5sum.c: (idle_func), (main):
13014 * tools/gst-xmlinspect.c: (print_element_info):
13015 First THREADED backport attempt, focusing on adding locks and
13016 making sure the API is threadsafe. Needs more work. More docs
13019 2005-02-24 Andy Wingo <wingo@pobox.com>
13021 * tests/bench-complexity.scm:
13022 * tests/complexity.gnuplot: New files, good for running complexity
13025 * tests/Makefile.am:
13026 * tests/complexity.c: New test, sets up N elements, at each level
13027 teeing into M streams per element. Eeeenteresting.
13029 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13030 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13031 running bench-mass_elements.scm.
13033 * tests/bench-mass_elements.scm: New script, runs mass_elements
13034 for various numbers of identities, outputting the results to a
13035 file. Requires guile 1.6. Just for testing.
13037 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13039 * gst/schedulers/fairscheduler.c:
13040 compile with debug disabled
13042 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13045 hunting season on 0.9 is now OPEN