1 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
3 * libs/gst/control/.cvsignore:
8 * win32/gstbytestream.def:
9 * win32/gstbytestream.vcproj:
11 * win32/gstenumtypes.c:
12 * win32/gstenumtypes.h:
13 * win32/gstoptimalscheduler.vcproj:
16 * win32/testsuite/bins.vcproj:
17 * win32/testsuite/bytestream.vcproj:
18 * win32/testsuite/caps.vcproj:
19 * win32/testsuite/cleanup.vcproj:
20 * win32/testsuite/clock.vcproj:
21 * win32/testsuite/debug.vcproj:
22 * win32/testsuite/dlopen.vcproj:
23 * win32/testsuite/dynparams.vcproj:
24 * win32/testsuite/elements.vcproj:
25 * win32/testsuite/ghostpads.vcproj:
26 * win32/testsuite/indexers.vcproj:
27 * win32/testsuite/negotiation.vcproj:
28 * win32/testsuite/parse.vcproj:
29 * win32/testsuite/plugin.vcproj:
30 * win32/testsuite/refcounting.vcproj:
31 * win32/testsuite/schedulers.vcproj:
32 * win32/testsuite/states.vcproj:
33 * win32/testsuite/tags.vcproj:
34 * win32/testsuite/threads.vcproj:
35 remove old win32 stuff that isn't maintained and should be
38 2005-11-30 Andy Wingo <wingo@pobox.com>
40 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
41 loading the gst.interfaces python module bork.
43 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
44 available since GLib 2.2. Fixes #318031.
46 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
51 * check/elements/.cvsignore:
52 * check/elements/fakesrc.c:
53 * check/elements/fdsrc.c:
54 * check/elements/identity.c:
55 * check/generic/.cvsignore:
56 * check/generic/states.c:
57 * check/gst-libs/.cvsignore:
58 * check/gst-libs/controller.c:
59 * check/gst-libs/gdp.c:
60 * check/gst/.cvsignore:
61 * check/gst/capslist.h:
64 * check/gst/gstbuffer.c:
66 * check/gst/gstcaps.c:
67 * check/gst/gstelement.c:
68 * check/gst/gstevent.c:
69 * check/gst/gstghostpad.c:
70 * check/gst/gstiterator.c:
71 * check/gst/gstmessage.c:
72 * check/gst/gstminiobject.c:
73 * check/gst/gstobject.c:
75 * check/gst/gstpipeline.c:
76 * check/gst/gstplugin.c:
77 * check/gst/gstsegment.c:
78 * check/gst/gststructure.c:
79 * check/gst/gstsystemclock.c:
81 * check/gst/gstutils.c:
82 * check/gst/gstvalue.c:
83 * check/net/.cvsignore:
84 * check/net/gstnetclientclock.c:
85 * check/net/gstnettimeprovider.c:
86 * check/pipelines/.cvsignore:
87 * check/pipelines/cleanup.c:
88 * check/pipelines/simple_launch_lines.c:
89 * check/pipelines/stress.c:
90 * check/states/.cvsignore:
91 * check/states/sinks.c:
93 * examples/Makefile.am:
94 * examples/appreader/.cvsignore:
95 * examples/appreader/Makefile.am:
96 * examples/appreader/appreader.c:
97 * examples/controller/.cvsignore:
98 * examples/controller/Makefile.am:
99 * examples/controller/audio-example.c:
100 * examples/cutter/.cvsignore:
101 * examples/cutter/Makefile.am:
102 * examples/cutter/cutter.c:
103 * examples/cutter/cutter.h:
104 * examples/events/Makefile.am:
105 * examples/events/seek.c:
106 * examples/helloworld/.cvsignore:
107 * examples/helloworld/Makefile.am:
108 * examples/helloworld/helloworld.c:
109 * examples/helloworld2/.cvsignore:
110 * examples/helloworld2/Makefile.am:
111 * examples/helloworld2/helloworld2.c:
112 * examples/launch/.cvsignore:
113 * examples/launch/Makefile.am:
114 * examples/launch/mp3parselaunch.c:
115 * examples/launch/mp3play:
116 * examples/manual/.cvsignore:
117 * examples/manual/Makefile.am:
118 * examples/manual/extract.pl:
119 * examples/metadata/Makefile.am:
120 * examples/metadata/read-metadata.c:
121 * examples/mixer/.cvsignore:
122 * examples/mixer/Makefile.am:
123 * examples/mixer/mixer.c:
124 * examples/mixer/mixer.h:
125 * examples/pingpong/.cvsignore:
126 * examples/pingpong/Makefile.am:
127 * examples/pingpong/pingpong.c:
128 * examples/plugins/.cvsignore:
129 * examples/plugins/Makefile.am:
130 * examples/plugins/example.c:
131 * examples/plugins/example.h:
132 * examples/pwg/.cvsignore:
133 * examples/pwg/Makefile.am:
134 * examples/pwg/extract.pl:
135 * examples/queue/.cvsignore:
136 * examples/queue/Makefile.am:
137 * examples/queue/queue.c:
138 * examples/queue2/.cvsignore:
139 * examples/queue2/Makefile.am:
140 * examples/queue2/queue2.c:
141 * examples/queue3/.cvsignore:
142 * examples/queue3/Makefile.am:
143 * examples/queue3/queue3.c:
144 * examples/queue4/.cvsignore:
145 * examples/queue4/Makefile.am:
146 * examples/queue4/queue4.c:
147 * examples/retag/.cvsignore:
148 * examples/retag/Makefile.am:
149 * examples/retag/retag.c:
150 * examples/retag/transcode.c:
151 * examples/thread/.cvsignore:
152 * examples/thread/Makefile.am:
153 * examples/thread/thread.c:
154 * examples/typefind/.cvsignore:
155 * examples/typefind/Makefile.am:
156 * examples/typefind/typefind.c:
157 * examples/xml/.cvsignore:
158 * examples/xml/Makefile.am:
159 * examples/xml/createxml.c:
160 * examples/xml/runxml.c:
162 * tests/check/Makefile.am:
163 * testsuite/.cvsignore:
164 * testsuite/Makefile.am:
166 * testsuite/caps/.cvsignore:
167 * testsuite/caps/Makefile.am:
168 * testsuite/caps/app_fixate.c:
169 * testsuite/caps/audioscale.c:
170 * testsuite/caps/caps.c:
171 * testsuite/caps/caps.h:
172 * testsuite/caps/caps_strings:
173 * testsuite/caps/compatibility.c:
174 * testsuite/caps/deserialize.c:
175 * testsuite/caps/enumcaps.c:
176 * testsuite/caps/eratosthenes.c:
177 * testsuite/caps/filtercaps.c:
178 * testsuite/caps/fixed.c:
179 * testsuite/caps/fraction-convert.c:
180 * testsuite/caps/fraction-multiply-and-zero.c:
181 * testsuite/caps/intersect2.c:
182 * testsuite/caps/intersection.c:
183 * testsuite/caps/normalisation.c:
184 * testsuite/caps/random.c:
185 * testsuite/caps/renegotiate.c:
186 * testsuite/caps/sets.c:
187 * testsuite/caps/simplify.c:
188 * testsuite/caps/string-conversions.c:
189 * testsuite/caps/structure.c:
190 * testsuite/caps/subtract.c:
191 * testsuite/caps/union.c:
192 * testsuite/debug/.cvsignore:
193 * testsuite/debug/Makefile.am:
194 * testsuite/debug/category.c:
195 * testsuite/debug/commandline.c:
196 * testsuite/debug/global.c:
197 * testsuite/debug/output.c:
198 * testsuite/debug/printf_extension.c:
199 * testsuite/dlopen/.cvsignore:
200 * testsuite/dlopen/Makefile.am:
201 * testsuite/dlopen/dlopen_gst.c:
202 * testsuite/dlopen/loadgst.c:
203 * testsuite/elements/.cvsignore:
204 * testsuite/elements/Makefile.am:
205 * testsuite/elements/gst-inspect-check.in:
206 * testsuite/elements/struct_i386.h:
207 * testsuite/elements/struct_size.c:
208 * testsuite/indexers/.cvsignore:
209 * testsuite/indexers/Makefile.am:
210 * testsuite/indexers/cache1.c:
211 * testsuite/indexers/indexdump.c:
212 * testsuite/parse/.cvsignore:
213 * testsuite/parse/Makefile.am:
214 * testsuite/parse/parse1.c:
215 * testsuite/parse/parse2.c:
216 * testsuite/plugin/.cvsignore:
217 * testsuite/plugin/Makefile.am:
218 * testsuite/plugin/README:
219 * testsuite/plugin/dynamic.c:
220 * testsuite/plugin/linked.c:
221 * testsuite/plugin/loading.c:
222 * testsuite/plugin/registry.c:
223 * testsuite/plugin/static.c:
224 * testsuite/plugin/static2.c:
225 * testsuite/plugin/testplugin.c:
226 * testsuite/plugin/testplugin2.c:
227 * testsuite/plugin/testplugin2_s.c:
228 * testsuite/plugin/testplugin_s.c:
229 * testsuite/refcounting/.cvsignore:
230 * testsuite/refcounting/Makefile.am:
231 * testsuite/refcounting/bin.c:
232 * testsuite/refcounting/element.c:
233 * testsuite/refcounting/element_pad.c:
234 * testsuite/refcounting/mainloop.c:
235 * testsuite/refcounting/mem.c:
236 * testsuite/refcounting/mem.h:
237 * testsuite/refcounting/object.c:
238 * testsuite/refcounting/pad.c:
239 * testsuite/refcounting/sched.c:
240 * testsuite/refcounting/thread.c:
241 * testsuite/states/.cvsignore:
242 * testsuite/states/Makefile.am:
243 * testsuite/states/bin.c:
244 * testsuite/states/locked.c:
245 * testsuite/states/parent.c:
246 * testsuite/threads/.cvsignore:
247 * testsuite/threads/159566.c:
248 * testsuite/threads/159852.c:
249 * testsuite/threads/Makefile.am:
250 * testsuite/threads/queue.c:
251 * testsuite/threads/signals.c:
252 * testsuite/threads/staticrec.c:
253 * testsuite/threads/thread.c:
254 * testsuite/threads/threadb.c:
255 * testsuite/threads/threadc.c:
256 * testsuite/threads/threadd.c:
257 * testsuite/threads/threade.c:
258 * testsuite/threads/threadf.c:
259 * testsuite/threads/threadg.c:
260 * testsuite/threads/threadh.c:
261 * testsuite/threads/threadi.c:
262 move all of these under tests
264 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
270 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
272 * docs/gst/gstreamer-sections.txt:
273 * tests/sched/.cvsignore:
274 * tests/sched/Makefile.am:
275 * tests/sched/cases/(fs-fs).xml:
276 * tests/sched/cases/(fs-i-fs).xml:
277 * tests/sched/cases/(fs-i-i-fs).xml:
278 * tests/sched/cases/(fs-i-q[i-fs]).xml:
279 * tests/sched/dynamic-pipeline.c:
280 * tests/sched/interrupt1.c:
281 * tests/sched/interrupt2.c:
282 * tests/sched/interrupt3.c:
283 * tests/sched/runtestcases:
284 * tests/sched/runxml.c:
285 * tests/sched/sched-stress.c:
286 * tests/sched/sort.c:
287 * tests/sched/testcases:
288 * tests/sched/testcases1.tc:
289 * tests/seeking/.cvsignore:
290 * tests/seeking/Makefile.am:
291 * tests/seeking/seeking1.c:
292 * tests/threadstate/.cvsignore:
293 * tests/threadstate/Makefile.am:
294 * tests/threadstate/test1.c:
295 * tests/threadstate/test2.c:
296 * tests/threadstate/threadstate1.c:
297 * tests/threadstate/threadstate2.c:
298 * tests/threadstate/threadstate3.c:
299 * tests/threadstate/threadstate4.c:
300 * tests/threadstate/threadstate5.c:
301 remove obsolete tests
303 * tests/bench-complexity.scm:
304 * tests/bench-mass_elements.scm:
305 * tests/complexity.c:
306 * tests/complexity.gnuplot:
307 * tests/instantiate/.cvsignore:
308 * tests/instantiate/Makefile.am:
309 * tests/instantiate/caps.c:
310 * tests/mass_elements.c:
311 * tests/network-clock-utils.scm:
312 * tests/network-clock.scm:
314 First pass at cleaning up tests/ dir before moving the rest
315 Combined with CVS surgery
317 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
320 queue has moved, update
322 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
324 * docs/gst/gstreamer-sections.txt:
325 remove double entries from the docs
327 * gst/gstinfo.c: (_gst_debug_init):
328 remove the THREAD debug category
332 * docs/gst/gstreamer.types:
333 * plugins/elements/gstqueue.c: (gst_queue_get_type),
334 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
335 completely move queue and fix up debugging categories
337 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
339 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
340 make initialization portable, using LL is not
342 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
344 * win32/common/gstconfig.h:
347 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
349 * win32/common/libgstreamer.def:
350 rename symbols; sort base section
352 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
354 * gst/gstclock.c: (do_linear_regression):
355 remove crack non-portable handrolled DEBUG macro
357 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
359 * docs/random/release:
361 * win32/common/gstenumtypes.c: (register_gst_object_flags),
362 (gst_object_flags_get_type), (register_gst_bin_flags),
363 (gst_bin_flags_get_type), (register_gst_buffer_flag),
364 (gst_buffer_flag_get_type), (register_gst_bus_flags),
365 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
366 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
367 (gst_caps_flags_get_type), (register_gst_clock_return),
368 (gst_clock_return_get_type), (register_gst_clock_entry_type),
369 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
370 (gst_clock_flags_get_type), (register_gst_state),
371 (gst_state_get_type), (register_gst_state_change_return),
372 (gst_state_change_return_get_type), (register_gst_state_change),
373 (gst_state_change_get_type), (register_gst_element_flags),
374 (gst_element_flags_get_type), (register_gst_core_error),
375 (gst_core_error_get_type), (register_gst_library_error),
376 (gst_library_error_get_type), (register_gst_resource_error),
377 (gst_resource_error_get_type), (register_gst_stream_error),
378 (gst_stream_error_get_type), (register_gst_event_type_flags),
379 (gst_event_type_flags_get_type), (register_gst_event_type),
380 (gst_event_type_get_type), (register_gst_seek_type),
381 (gst_seek_type_get_type), (register_gst_seek_flags),
382 (gst_seek_flags_get_type), (register_gst_format),
383 (gst_format_get_type), (register_gst_index_certainty),
384 (gst_index_certainty_get_type), (register_gst_index_entry_type),
385 (gst_index_entry_type_get_type),
386 (register_gst_index_lookup_method),
387 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
388 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
389 (gst_index_resolver_method_get_type), (register_gst_index_flags),
390 (gst_index_flags_get_type), (register_gst_debug_level),
391 (gst_debug_level_get_type), (register_gst_debug_color_flags),
392 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
393 (gst_iterator_result_get_type), (register_gst_iterator_item),
394 (gst_iterator_item_get_type), (register_gst_message_type),
395 (gst_message_type_get_type), (register_gst_mini_object_flags),
396 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
397 (gst_pad_link_return_get_type), (register_gst_flow_return),
398 (gst_flow_return_get_type), (register_gst_activate_mode),
399 (gst_activate_mode_get_type), (register_gst_pad_direction),
400 (gst_pad_direction_get_type), (register_gst_pad_flags),
401 (gst_pad_flags_get_type), (register_gst_pad_presence),
402 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
403 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
404 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
405 (gst_plugin_error_get_type), (register_gst_plugin_flags),
406 (gst_plugin_flags_get_type), (register_gst_rank),
407 (gst_rank_get_type), (register_gst_query_type),
408 (gst_query_type_get_type), (register_gst_tag_merge_mode),
409 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
410 (gst_tag_flag_get_type), (register_gst_task_state),
411 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
412 (gst_alloc_trace_flags_get_type),
413 (register_gst_type_find_probability),
414 (gst_type_find_probability_get_type), (register_gst_uri_type),
415 (gst_uri_type_get_type), (register_gst_parse_error),
416 (gst_parse_error_get_type):
417 * win32/common/gstenumtypes.h:
418 * win32/common/gstversion.h:
419 update visual studio generated files
421 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
423 * win32/vs6/libgstbase.dsp:
424 * win32/vs6/libgstelements.dsp:
425 update project files for new locations
427 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
437 * docs/random/LICENSE:
440 2005-11-30 Edward Hervey <edward@fluendo.com>
442 * gst/gsttypefind.c: (gst_type_find_register):
444 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
445 (gst_type_find_factory_dispose):
446 * gst/gsttypefindfactory.h:
447 Fix memory leak in GstTypeFindFactory.
449 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
452 * plugins/elements/Makefile.am:
453 * plugins/elements/gstelements.c:
454 * plugins/elements/gstqueue.c:
455 move queue from core to the elements plugin
457 2005-11-29 Andy Wingo <wingo@pobox.com>
459 * libs/gst/base/gstbasetransform.h:
460 * libs/gst/base/gstbasesrc.h:
461 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
463 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
464 of pointers by which to pad very extensible base classes (like the
465 ones in libs/gst/base).
467 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
469 * docs/gst/gstreamer-docs.sgml:
470 * docs/gst/gstreamer-sections.txt:
471 * docs/libs/gstreamer-libs-docs.sgml:
472 * docs/libs/gstreamer-libs-sections.txt:
473 moving documentation from core to lib
475 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
479 * docs/gst/Makefile.am:
481 * gst/base/.cvsignore:
482 * gst/base/Makefile.am:
484 * gst/base/gstadapter.c:
485 * gst/base/gstadapter.h:
486 * gst/base/gstbasesink.c:
487 * gst/base/gstbasesink.h:
488 * gst/base/gstbasesrc.c:
489 * gst/base/gstbasesrc.h:
490 * gst/base/gstbasetransform.c:
491 * gst/base/gstbasetransform.h:
492 * gst/base/gstcollectpads.c:
493 * gst/base/gstcollectpads.h:
494 * gst/base/gstpushsrc.c:
495 * gst/base/gstpushsrc.h:
496 * gst/base/gsttypefindhelper.c:
497 * gst/base/gsttypefindhelper.h:
498 * gst/check/Makefile.am:
499 * gst/check/gstcheck.c:
500 * gst/check/gstcheck.h:
501 * gst/net/Makefile.am:
503 * gst/net/gstnetclientclock.c:
504 * gst/net/gstnetclientclock.h:
505 * gst/net/gstnettimepacket.c:
506 * gst/net/gstnettimepacket.h:
507 * gst/net/gstnettimeprovider.c:
508 * gst/net/gstnettimeprovider.h:
509 * libs/gst/Makefile.am:
510 * libs/gst/base/Makefile.am:
511 * libs/gst/base/gstbasetransform.c:
512 * libs/gst/check/Makefile.am:
513 * plugins/elements/Makefile.am:
515 CVS surgery + support to move base, check, and net out of gst
518 2005-11-29 Andy Wingo <wingo@pobox.com>
520 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
522 * gst/gststructure.h (struct _GstStructure): Only one pointer of
525 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
527 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
529 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
531 * gst/gstobject.h: (struct _GstObject): Only one pointer of
532 padding; reduces object size by about 30%. We don't expect
533 anything else to go into gstobject.
535 * gst/gstminiobject.h (struct _GstMiniObject)
536 (struct _GstMiniObjectClass): Only one pointer of padding; the
537 payload is only a pointer and two ints anyway. For the class there
538 are only two methods as well.
540 * gst/gstelement.h (struct _GstElementClass): Removed
541 the state_changed signal callback, it is not used.
543 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
545 * docs/gst/gstreamer.types:
546 fix includes, though they are a little dinky
548 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
551 look in the right place for elements, a lot more chance of
554 remove indexers and elements subdirs
555 * plugins/Makefile.am:
556 make indexers conditional
558 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
562 * plugins/elements/Makefile.am:
563 * plugins/elements/gstcapsfilter.c:
564 * plugins/elements/gstfilesink.c:
565 * plugins/elements/gstfilesrc.c:
566 * plugins/elements/gstidentity.c:
567 * plugins/indexers/Makefile.am:
568 do CVS surgery and related build fixery to move elements
569 and indexers in a new gstreamer/plugins directory, out of the
572 2005-11-29 Andy Wingo <wingo@pobox.com>
575 * pkgconfig/gstreamer-net-uninstalled.pc.in:
576 * pkgconfig/gstreamer-net.pc.in:
577 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
580 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
583 * tools/gst-complete.1.in:
584 * tools/gst-complete.c:
585 * tools/gst-compprep.1.in:
586 * tools/gst-compprep.c:
587 removing -compprep and -complete
589 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
591 * gst/gstevent.c: (gst_event_new_new_segment),
592 (gst_event_parse_new_segment):
594 fix #320529 - clean up new_segment API and structure.
595 Let's hope everyone was using the methods, and not the structure.
597 2005-11-29 Edward Hervey <edward@fluendo.com>
599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
600 (gst_base_sink_event), (gst_base_sink_do_sync),
601 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
602 Properly handle non GST_FORMAT_TIME segment
603 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
604 Properly handle non GST_FORMAT_TIME segment
606 This function is valid if the accumulator is 0 and the format
607 is different from the requested format.
609 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
611 * docs/gst/gstreamer-sections.txt:
612 Add gst_query_new_seeking and gst_query_parse_seeking to the
615 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
617 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
618 Treat a pad alloc with new caps the same as if we were not
619 negotiated, in order to allow a changing upstream output
620 to produce a new format of data.
622 2005-11-29 Edward Hervey <edward@fluendo.com>
624 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
625 (gst_base_transform_event), (gst_base_transform_eventfunc):
626 The event virtual method is now properly implemented, with a default
628 Sub classes should call the parent_class event method. They should
629 return FALSE if they had a problem handling the given event, or don't
630 want GstBaseTransform to send that even downstream
631 * gst/elements/gstidentity.c: (gst_identity_class_init),
632 (gst_identity_init), (gst_identity_event),
633 (gst_identity_transform_ip), (gst_identity_set_property),
634 (gst_identity_get_property):
635 * gst/elements/gstidentity.h:
636 Added the single-segment boolean property.
637 If set to TRUE, it will output a single segment of data, starting from
638 0, will eat up all incoming newsegment, and modify the timestamp of the
641 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
643 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
644 Don't ref NULL target pad (#322751). Improve docs.
646 2005-11-29 Michael Smith <msmith@fluendo.com>
648 * gst/gstregistryxml.c: (load_plugin):
649 Don't crash if we failed to load a feature from a plugin.
651 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
653 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
655 use more check API and less GLib API
657 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
660 don't run checks if we don't have check
662 remove the registry when running make torture
663 * docs/gst/gstreamer-sections.txt:
664 remove second multiply
665 * gst/gstqueue.c: (gst_queue_loop):
666 fix a compile warning when disabling debug
668 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
671 Hey! Let's print the pad name if the pointer != NULL instead
672 of when it == NULL :-)
674 2005-11-28 Wim Taymans <wim@fluendo.com>
676 * check/gst/gstutils.c: (GST_START_TEST):
677 Updated check, add some scaling accuracy checking code.
679 * gst/gstutils.c: (gst_util_div128_64),
680 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
681 (gst_util_uint64_scale_int):
682 Fix 6 times faster division code. Optimize for common
683 1/1 and less common X/1 cases.
685 2005-11-28 Wim Taymans <wim@fluendo.com>
687 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
690 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
691 (do_linear_regression), (gst_clock_add_observation):
693 Release lock when the clock cannot be slaved.
694 Catch the case where the regression returned an invalid denominator.
696 * gst/gstutils.c: (gst_util_div128_64_iterate),
697 (gst_util_div128_64), (gst_util_uint64_scale_int64),
698 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
699 Add protentially more performant non-iterative 128/64 divide function
700 that unfortunatly does not work yet.
701 Shortcut the trivial 0/X = 0 case.
702 Remove the warnings on overflow.
704 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
706 * gst/gstplugin.c: (gst_plugin_register_func):
707 everything causing a plugin not to load should be at least a WARNING
709 2005-11-28 Stefan Kost <ensonic@users.sf.net>
711 * docs/random/ensonic/dparams.txt:
712 some TODOs for the next dev cycle
713 * libs/gst/controller/gstcontroller.c:
714 (gst_controlled_property_set_interpolation_mode),
715 (gst_controlled_property_new):
716 * libs/gst/controller/gstcontroller.h:
717 use base type to assign acccessor functions
719 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
722 Oops, that should have been top_srcdir
724 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
727 * check/elements/fdsrc.c: (GST_START_TEST):
728 Use a cmdline define to specify the location of a file to use for
729 testing, to avoid breaking distcheck.
731 2005-11-28 Andy Wingo <wingo@pobox.com>
733 * gst/gstpad.c (fixate_value): Use array functions for arrays.
735 2005-11-28 Edward Hervey <edward@fluendo.com>
737 * tools/gst-launch.c: (main):
738 Clarify the output strings, makes it easier to translate.
741 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
744 don't try and build net if we don't even have <sys/socket.h>
746 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
749 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
750 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
751 Add tests for fdsrc seekability
753 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
754 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
755 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
756 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
757 * gst/elements/gstfdsrc.h:
758 fdsrc should not be a 'live' source.
759 Implement seeking on seekable fd's.
761 * gst/gstquery.c: (gst_query_new_seeking),
762 (gst_query_parse_seeking):
764 Implement SEEKING query functions:
765 *_new_seeking and *_parse_seeking
767 2005-11-27 Stefan Kost <ensonic@users.sf.net>
769 * gst/gstelement.c: (gst_element_dispose):
773 * gst/gststructure.c:
776 * libs/gst/controller/gstcontroller.c:
777 (gst_controlled_property_set_interpolation_mode):
778 * libs/gst/controller/gstcontroller.h:
779 * libs/gst/controller/gstinterpolation.c:
780 (interpolate_none_get_enum_value_array):
781 support controlling enums
783 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
786 Improve documentation for gst_value_union().
789 Change return value for union, intersect and subtract functions
790 from gint to gboolean.
792 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
794 * gst/gstvalue.c: (gst_value_serialize_any_list),
795 (gst_value_transform_any_list_string),
796 (gst_value_deserialize_list), (gst_value_deserialize_array),
797 (gst_value_set_int_range), (gst_value_deserialize_int_range),
798 (gst_value_set_double_range), (gst_value_deserialize_double_range),
799 (gst_value_set_fraction_range_full),
800 (gst_value_deserialize_fraction_range),
801 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
802 (gst_value_deserialize_boolean),
803 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
804 (gst_value_serialize_float), (gst_value_deserialize_float),
805 (gst_string_wrap), (gst_value_deserialize_string),
806 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
807 (gst_value_union_int_range_int_range),
808 (gst_value_intersect_int_range_int_range),
809 (gst_value_intersect_double_range_double_range),
810 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
811 (gst_value_subtract_int_range_int_range),
812 (gst_value_subtract_double_double_range),
813 (gst_value_subtract_double_range_double_range),
814 (gst_value_deserialize_fraction):
816 Use gint, gdouble and gchar in our API instead of int, double and
817 char (and make usage in gstvalue.c more consistent).
819 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
822 * libs/gst/controller/Makefile.am:
823 * libs/gst/dataprotocol/Makefile.am:
824 fix up Makefile.am and remove GST_ENABLE_NEW
826 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
830 * gst/base/Makefile.am:
831 * gst/check/Makefile.am:
832 * gst/elements/Makefile.am:
833 * gst/net/Makefile.am:
834 update LDFLAGS use some more
836 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
838 * common/m4/gst-doc.m4:
841 2005-11-26 Edward Hervey <edward@fluendo.com>
843 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
844 This shouldn't issue a g_warning since it returns NULL if it
845 couldn't find the plugin, and all functions using this behave
846 properly on a NULL return. Switching to a GST_WARNING.
848 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
850 * gst/gstbin.c: (gst_bin_handle_message_func):
851 Don't leak clock messages.
853 2005-11-25 Wim Taymans <wim@fluendo.com>
855 * gst/gstutils.c: (gst_util_uint64_scale_int64),
856 (gst_util_uint64_scale_int):
857 Optimisations, remove unneeded vars.
859 2005-11-25 Wim Taymans <wim@fluendo.com>
861 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
862 Added more checks for the high precision uint64 cases.
864 * gst/gstutils.c: (gst_util_uint64_scale_int64),
865 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
866 Implement high precission (guint64 * guint64) / guint64.
868 2005-11-24 Wim Taymans <wim@fluendo.com>
870 * gst/base/gstbasesrc.c: (gst_base_src_query):
871 Fix wrong percentage query.
873 * gst/gstutils.c: (gst_util_uint64_scale),
874 (gst_util_uint64_scale_int):
875 Add some more common cases that can be handled
876 efficiently to _scale.
878 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
880 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
881 (gst_mini_object_suite):
882 don't use check calls from threads; check probably isn't
883 threadsafe and using a lock to make it threadsafe would
884 defeat the purpose of this check
885 * gst/check/gstcheck.c:
886 * gst/check/gstcheck.h:
887 use GST_DEBUG some more
889 2005-11-24 Wim Taymans <wim@fluendo.com>
891 * gst/gstutils.c: (gst_util_uint64_scale),
892 (gst_util_uint64_scale_int):
893 Chain trivial case to _scale_int.
895 2005-11-24 Wim Taymans <wim@fluendo.com>
897 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
898 Added test for scaling.
903 * gst/gstutils.c: (gst_util_uint64_scale_int):
904 Implemented high precision scaling code.
906 2005-11-24 Stefan Kost <ensonic@users.sf.net>
909 do not crash on pad==NULL
911 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
913 Patch by: Stefan Kost
915 * common/gtk-doc.mak:
916 * docs/gst/Makefile.am:
917 * docs/libs/Makefile.am:
918 Fix distcheck issues for the libraries docs build
921 2005-11-24 Michael Smith <msmith@fluendo.com>
923 * docs/manual/basics-helloworld.xml:
924 Fix bug #315027: memory leak in example code in docs.
926 2005-11-24 Michael Smith <msmith@fluendo.com>
928 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
929 Unlock the PREROLL_LOCK in a failure case.
931 2005-11-24 Wim Taymans <wim@fluendo.com>
933 * docs/gst/gstreamer-sections.txt:
934 * gst/base/gstadapter.h:
935 * gst/base/gstbasesink.h:
936 * gst/base/gstbasesrc.h:
937 * gst/base/gstbasetransform.h:
938 * gst/base/gstpushsrc.h:
939 * gst/elements/gstfakesink.h:
940 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
941 * gst/elements/gstfakesrc.h:
942 * gst/elements/gstfilesink.h:
943 * gst/elements/gstfilesrc.h:
946 * gst/gstbuffer.c: (_gst_buffer_copy):
949 * gst/gstchildproxy.c:
952 * gst/gstelementfactory.c:
953 * gst/gstelementfactory.h:
957 * gst/gstinterface.h:
958 * gst/gstminiobject.c:
959 * gst/gstminiobject.h:
962 * gst/gstpadtemplate.h:
964 * gst/gstpluginfeature.h:
969 * gst/gsttagsetter.c:
970 * gst/gsttagsetter.h:
976 * gst/net/gstnetclientclock.c:
977 * gst/net/gstnetclientclock.h:
978 * gst/net/gstnettimepacket.c:
979 * gst/net/gstnettimeprovider.c:
980 * gst/net/gstnettimeprovider.h:
983 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
985 * configure.ac: back to HEAD
987 === release 0.9.6 ===
989 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
992 releasing 0.9.6, "Always On Time"
994 2005-11-23 Wim Taymans <wim@fluendo.com>
996 * docs/gst/gstreamer-sections.txt:
998 * gst/gsttagsetter.c:
1000 * gst/net/gstnetclientclock.c:
1001 * gst/net/gstnettimepacket.h:
1004 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1006 * docs/faq/using.xml:
1007 * docs/libs/tmpl/gstcontrol.sgml:
1008 * docs/manual/advanced-dparams.xml:
1009 * docs/manual/appendix-checklist.xml:
1010 * docs/manual/basics-elements.xml:
1011 * docs/pwg/other-source.xml:
1012 * docs/random/moving-plugins:
1014 * tools/gst-launch.1.in:
1015 remove mentions of sinesrc
1017 2005-11-23 Michael Smith <msmith@fluendo.com>
1019 * docs/gst/gstreamer-sections.txt:
1020 Update for new API and API changes.
1022 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1024 Documentation typo fix.
1025 * gst/net/gstnettimepacket.c:
1026 Documentation fixes for arguments.
1028 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1030 * gst/gststructure.c: (gst_structure_get_fraction),
1031 (gst_structure_parse_value),
1032 (gst_structure_fixate_field_nearest_fraction):
1033 * gst/gststructure.h:
1034 * gst/gstutils.c: (gst_util_uint64_scale_int):
1036 * scripts/update-funcnames:
1038 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1039 Make gst_structure_fixate_field_nearest_fraction take a numerator
1040 and denominator argument instead of a GValue
1041 add gst_structure_get_fraction helper function.
1043 2005-11-23 Wim Taymans <wim@fluendo.com>
1045 * docs/design/part-TODO.txt:
1048 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1049 * gst/net/gstnetclientclock.h:
1050 Use parent fields for timeout and window_size.
1052 2005-11-23 Andy Wingo <wingo@pobox.com>
1054 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1055 rate_num/rate_denom change.
1057 * gst/net/gstnetclientclock.c
1058 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1059 OBJECT_LOCK. Don't call add_observation with the lock.
1061 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1063 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1065 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1066 deal with rate as a fraction whose numerator and denominator are
1067 GstClockTime values.
1068 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1069 master; the other fields are protected by the SLAVE_LOCK.
1070 (do_linear_regression): Note that this must be called with the
1072 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1073 OBJECT_LOCK. Call set_calibration instead of touching the
1075 (gst_clock_set_property, gst_clock_get_property): Protect
1076 master/slave parameters with the SLAVE_LOCK.
1078 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1079 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1080 note that all of the instance variables that add_observation and
1081 the set_master functions use are protected by that lock and not
1083 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1085 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1086 the caller to take the object lock.
1088 2005-11-23 Wim Taymans <wim@fluendo.com>
1090 * gst/gsterror.c: (_gst_core_errors_init):
1092 Add error for clock stuff.
1094 * gst/gstpipeline.c: (gst_pipeline_change_state),
1095 (gst_pipeline_set_clock):
1096 Post clock error when clock cannot be used in a pipeline.
1098 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1100 * docs/gst/gstreamer-sections.txt:
1101 make two symbols from gstinfo private for the docs
1102 * gst/base/gstcollectpads.h:
1104 fix doc typos, update docs
1106 2005-11-22 Wim Taymans <wim@fluendo.com>
1108 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1109 (gst_base_sink_wait), (gst_base_sink_do_sync),
1110 (gst_base_sink_handle_event):
1111 * gst/base/gstbasesink.h:
1112 No need to store the clock, the parent element class already
1115 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1116 Updates for clock_set returning a gboolean
1118 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1119 (gst_clock_id_wait_async), (gst_clock_class_init),
1120 (gst_clock_init), (gst_clock_finalize),
1121 (gst_clock_get_internal_time), (gst_clock_get_time),
1122 (gst_clock_slave_callback), (gst_clock_set_master),
1123 (gst_clock_get_master), (do_linear_regression),
1124 (gst_clock_add_observation), (gst_clock_set_property),
1125 (gst_clock_get_property):
1127 Implement master/slave. When setting a clock as a slave, a
1128 periodic timeout is scheduled to sample master and slave times.
1129 Then the slave clock is recalibrated to match offset and rate
1130 of the master clock.
1131 Update logging a bit.
1132 Add flag so that a clock can state that is cannot be slaved to
1135 * gst/gstelement.c: (gst_element_set_clock):
1137 The set clock returns a gboolean for when an element cannot
1138 deal with the selected clock in the pipeline.
1140 * gst/gstpipeline.c: (gst_pipeline_change_state),
1141 (gst_pipeline_set_clock):
1142 * gst/gstpipeline.h:
1143 Handle the case where the selected clock cannot be set on
1146 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1147 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1148 (gst_net_client_clock_set_property),
1149 (gst_net_client_clock_get_property),
1150 (gst_net_client_clock_observe_times):
1151 * gst/net/gstnetclientclock.h:
1152 Use regression code in GstClock parent, remove duplicated
1155 2005-11-22 Michael Smith <msmith@fluendo.com>
1157 * gst/gstutils.c: (gst_util_clock_time_scale):
1159 * docs/gst/gstreamer-sections.txt:
1160 Rename method to have extra underscore.
1162 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1164 * gst/elements/Makefile.am:
1165 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1166 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1167 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1168 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1169 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1170 * gst/elements/gstfakesrc.h:
1171 * gst/gstqueue.c: (queue_leaky_get_type):
1172 correctly fix GEnumValues so that nick is the short lowercase
1174 * tools/gst-inspect.c: (print_element_properties_info):
1175 also show the nick, since it's useful to use from parse_launch
1179 2005-11-22 Michael Smith <msmith@fluendo.com>
1181 * gst/gstutils.c: (gst_util_clocktime_scale):
1183 * docs/gst/gstreamer-sections.txt:
1184 Add util method for scaling a clocktime by a fraction. Useful
1185 implementation is left as an exercise for the reader.
1187 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1189 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1190 If needed, allocate storage in the destination value during
1193 2005-11-22 Edward Hervey <edward@fluendo.com>
1195 * docs/gst/gstreamer-sections.txt:
1200 * gst/gstutils.c: (gst_util_set_object_arg):
1201 * tools/gst-compprep.c: (main):
1202 * tools/gst-inspect.c: (print_element_properties_info):
1203 Removed GstURI, closes bug #321061
1205 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1207 * check/gst/gststructure.c: (GST_START_TEST):
1208 * gst/gststructure.c: (gst_structure_parse_value):
1209 Oops, broke automatic string type parsing.
1210 Add a test to catch it in future.
1212 2005-11-22 Andy Wingo <wingo@pobox.com>
1214 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1215 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1216 Actually rename the function implementations. Grr.
1218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1220 * check/gst/capslist.h:
1222 * check/gst/gststructure.c: (GST_START_TEST),
1223 (gst_structure_suite):
1224 Test automatic value type detection in gst_structure_from_string.
1225 * gst/gststructure.c: (gst_structure_parse_value):
1226 Add fraction as a type we try and guess automatically in
1227 caps/structure strings.
1229 2005-11-22 Andy Wingo <wingo@pobox.com>
1231 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1233 * gst/gsttagsetter.h:
1234 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1235 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1236 (gst_tag_setter_add_tag_valist)
1237 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1238 _add_values, _add_valist, and _add_valist_values. Since this is an
1239 interface the function suffixes should be more explicit so
1240 language binding don't end up with element.add_valist ->
1241 gst_tag_setter_add_valist, for example. Fixes #322069.
1243 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1245 * check/gst/gstcaps.c: (GST_START_TEST):
1246 Extend caps string tests to check that a caps to string
1247 conversion is reversible and produces the same caps.
1249 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1250 Output "fraction" as the generic type fraction range, so caps
1251 serialisation and deserialisation works.
1252 * check/gst/capslist.h:
1253 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1254 Support 'MIN' and 'MAX' for deserialising fractions.
1256 2005-11-22 Andy Wingo <wingo@pobox.com>
1258 * gst/gstevent.h (gst_event_new_new_segment)
1259 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1260 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1261 Renamed from *_newsegment, *_buffersize, *_notarget.
1263 * scripts/update-funcnames: New script, performs the changes
1266 2005-11-22 Wim Taymans <wim@fluendo.com>
1268 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1269 Make sure the GstFlowReturn is returned.
1271 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1272 (gst_bus_add_signal_watch):
1274 add gst_bus_add_signal_watch_full.
1276 * gst/gstplugin.c: (gst_plugin_load_file):
1277 Small style cleanup.
1279 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1281 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1282 Block the fakesrc srcpad when we send an event, to avoid
1283 contention on the stream_lock causing random test failures.
1285 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1287 * check/gst/gstvalue.c: (GST_START_TEST):
1288 * gst/gstvalue.c: (gst_value_fraction_subtract):
1291 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1294 include "gstchildproxy.h"
1295 * gst/gstchildproxy.h:
1296 * libs/gst/controller/gstcontroller.h:
1297 use G_GNUC_NULL_TERMINATED
1299 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1301 * check/gst/capslist.h:
1302 * check/gst/gstcaps.c: (GST_START_TEST):
1303 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1304 * gst/gststructure.c: (gst_structure_parse_range),
1305 (gst_structure_fixate_field_nearest_fraction):
1306 * gst/gststructure.h:
1307 * gst/gstvalue.c: (gst_value_init_fraction_range),
1308 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
1309 (gst_value_collect_fraction_range),
1310 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
1311 (gst_value_set_fraction_range_full),
1312 (gst_value_get_fraction_range_min),
1313 (gst_value_get_fraction_range_max),
1314 (gst_value_serialize_fraction_range),
1315 (gst_value_transform_fraction_range_string),
1316 (gst_value_compare_fraction_range),
1317 (gst_value_deserialize_fraction_range),
1318 (gst_value_intersect_fraction_fraction_range),
1319 (gst_value_intersect_fraction_range_fraction_range),
1320 (gst_value_subtract_fraction_fraction_range),
1321 (gst_value_subtract_fraction_range_fraction),
1322 (gst_value_subtract_fraction_range_fraction_range),
1323 (gst_value_collect_fraction), (gst_value_fraction_multiply),
1324 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
1325 (gst_value_transform_string_fraction), (_gst_value_initialize):
1327 Implement fraction ranges and extend GstFraction to support
1328 arithmetic subtraction, as well as deserialization from integer
1329 strings such as "100"
1330 Add a testsuite as for int and double range set operations
1332 2005-11-21 Andy Wingo <wingo@pobox.com>
1336 * gst/gststructure.h: Add glib-compat.h.
1338 2005-11-21 Wim Taymans <wim@fluendo.com>
1340 * gst/gstbin.c: (gst_bin_change_state_func):
1343 2005-11-21 Wim Taymans <wim@fluendo.com>
1346 And add a nice define too.
1348 2005-11-21 Wim Taymans <wim@fluendo.com>
1350 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
1351 (gst_segment_new), (gst_segment_free), (gst_segment_init),
1352 (gst_segment_set_duration), (gst_segment_set_last_stop),
1353 (gst_segment_set_seek), (gst_segment_set_newsegment),
1354 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1357 Make binding friendly.
1359 2005-11-21 Andy Wingo <wingo@pobox.com>
1361 * gst/gsttagsetter.h:
1363 * gst/gststructure.h:
1365 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
1368 * gst/gsterror.c (_gst_core_errors_init):
1369 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
1372 * gst/Makefile.am (gst_headers): Add glib-compat.h.
1373 (noinst_HEADERS): noinst the -private.
1375 2005-11-21 Michael Smith <msmith@fluendo.com>
1378 * gst/gstregistry.h:
1379 Remove unimplemented declarations for which we can see no sensible
1382 2005-11-21 Andy Wingo <wingo@pobox.com>
1384 * gst/gst.h: Include glib-compat.h.
1386 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
1388 * gst/glib-compat.c: Include the public and the private header.
1390 * gst/glib-compat-private.h: Copied here from glib-compat.h.
1394 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
1396 * check/gst/gstevent.c (create_custom_events): Check that
1397 FLUSH_STOP is serialized.
1399 * check/elements/identity.c (event_func):
1400 * check/elements/fakesrc.c (event_func): No stream lock, the core
1403 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
1404 stream lock taking, yay.
1406 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
1407 ensure that core takes the stream lock.
1409 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
1412 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
1413 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
1414 it already. For the flush start we do take it though so we get the
1415 right preroll state change messages.
1417 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
1418 the stream lock here, the core does it for us.
1420 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
1421 GST_STREAM_GET_LOCK.
1422 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
1423 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
1424 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
1425 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
1426 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
1427 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
1429 * gst/gstpad.c: Update for stream lock name change.
1431 * gst/base/gstbasesink.c: Update for preroll lock name change.
1433 2005-11-21 Wim Taymans <wim@fluendo.com>
1435 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
1436 (gst_clock_get_master):
1438 * gst/gstsystemclock.c: (gst_system_clock_init):
1439 Convert Clock flags to object flags.
1440 Added methods to manage master/slave clocks.
1442 2005-11-21 Wim Taymans <wim@fluendo.com>
1444 * check/gst/gstsegment.c: (GST_START_TEST):
1445 * docs/design/part-TODO.txt:
1446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1447 (gst_base_sink_event), (gst_base_sink_do_sync),
1448 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
1449 (gst_base_sink_query), (gst_base_sink_change_state):
1450 * gst/base/gstbasesink.h:
1451 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1452 (gst_base_src_default_newsegment),
1453 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1454 (gst_base_src_get_range), (gst_base_src_loop),
1455 (gst_base_src_change_state):
1456 * gst/base/gstbasesrc.h:
1457 * gst/base/gstbasetransform.c:
1458 (gst_base_transform_prepare_output_buf),
1459 (gst_base_transform_event), (gst_base_transform_change_state):
1460 * gst/base/gstbasetransform.h:
1461 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
1462 (gst_collect_pads_event):
1463 * gst/base/gstcollectpads.h:
1464 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
1465 (gst_fake_src_create):
1466 * gst/elements/gstfakesrc.h:
1467 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1468 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1469 (gst_segment_set_last_stop), (gst_segment_set_seek),
1470 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
1471 (gst_segment_to_running_time), (gst_segment_clip):
1473 More segment updates, replace code in plugins with segment
1476 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1478 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
1479 Don't ignore sscanf results
1481 2005-11-21 Andy Wingo <wingo@pobox.com>
1483 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
1486 * *.c: Ran scripts/update-macros. Oh yes.
1488 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
1489 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
1492 * scripts/update-macros: New script. Run it on your files to
1493 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
1496 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1498 * docs/gst/Makefile.am:
1499 * docs/gst/gstreamer-docs.sgml:
1500 * docs/gst/gstreamer-sections.txt:
1501 * docs/gst/gstreamer.types:
1503 more docs fixes, add new api to the docs
1505 2005-11-21 Andy Wingo <wingo@pobox.com>
1507 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
1508 state_broadcast call.
1510 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
1512 2005-11-21 Julien MOUTTE <julien@moutte.net>
1514 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
1515 function calls for arrays.
1517 2005-11-21 Stefan Kost <ensonic@users.sf.net>
1519 * docs/random/ensonic/media-device-daemon.txt:
1520 wild idea, can this be done?
1521 * docs/gst/gstreamer-sections.txt:
1526 * gst/gstpluginfeature.c:
1530 doc fixes and additions
1532 2005-11-21 Andy Wingo <wingo@pobox.com>
1534 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
1535 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
1536 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
1537 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
1538 private to the basesrc implementation.
1540 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
1541 behalf of event function if necessary. It should no longer be
1542 necessary to take the stream lock in pad's event functions. Fixes
1545 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1546 * docs/gst/gstreamer-sections.txt:
1547 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
1548 (gst_structure_fixate_field_nearest_double),
1549 (gst_structure_fixate_field_boolean):
1550 * gst/gststructure.h:
1551 * win32/common/libgstreamer.def:
1552 * win32/gstreamer.def:
1554 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
1557 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
1559 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
1560 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
1561 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
1562 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
1563 (gst_fdsrc_uri_handler_init):
1564 * gst/elements/gstfdsrc.h:
1565 Port fd:// URI handler from 0.8 to fdsrc
1567 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1569 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
1570 (gst_value_serialize_fourcc):
1572 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
1573 consistent with our other format defines (#320324).
1575 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1577 * gst/gstvalue.c: (gst_value_is_fixed):
1578 Revert previous commit. Value lists are by definition
1579 not fixed, as they are a list of possible values.
1581 2005-11-21 Andy Wingo <wingo@pobox.com>
1583 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
1584 during the stable series if we need it. Fixes #319178.
1586 * gst/gstevent.c (gst_event_new_filler): Removed.
1588 * check/gst/gstevent.c: Update comment about filler events.
1590 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1592 * gst/gstvalue.c: (gst_value_is_fixed):
1593 Should handle both value arrays and value lists.
1595 2005-11-21 Andy Wingo <wingo@pobox.com>
1597 patch by: Alessandro Dessina <alessandro nnva org>
1599 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
1600 functions to access arrays. Fixes #321962.
1602 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1604 * docs/gst/gstreamer.types:
1605 gst_collectpads_get_type => gst_collect_pads_get_type.
1607 * gst/base/gstbasetransform.c:
1608 Remove unused SIGNAL_HANDOFF enum.
1610 2005-11-21 Andy Wingo <wingo@pobox.com>
1612 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
1613 the event type (upstream, downstream, serialized). Renamed
1614 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
1615 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
1616 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
1618 * gst/gstevent.c: Update for new CUSTOM event names.
1620 * check/gst/gstevent.c: Update check for new CUSTOM event names.
1623 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
1626 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1628 * docs/gst/gstreamer-sections.txt:
1629 * win32/common/libgstbase.def:
1630 * win32/libgstbase.def:
1631 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1632 (gst_collect_pads_class_init), (gst_collect_pads_init),
1633 (gst_collect_pads_finalize), (gst_collect_pads_new),
1634 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
1635 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
1636 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
1637 (gst_collect_pads_start), (gst_collect_pads_stop),
1638 (gst_collect_pads_peek), (gst_collect_pads_pop),
1639 (gst_collect_pads_available), (gst_collect_pads_read),
1640 (gst_collect_pads_flush), (gst_collect_pads_event),
1641 (gst_collect_pads_chain):
1642 * gst/base/gstcollectpads.h:
1643 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
1644 unimplemented functions as unimplemented. Add padding to
1645 GstCollectData. (#320766, #320423)
1647 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
1650 Improve docs for DURATION message (usage of duration parameter)
1653 2005-11-20 Wim Taymans <wim@fluendo.com>
1655 * check/Makefile.am:
1656 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
1660 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
1661 (gst_segment_set_seek), (gst_segment_set_newsegment),
1662 (gst_segment_to_stream_time), (gst_segment_to_running_time),
1665 Added segment helper structure and methods. Not fully implemented
1667 Added segment check.
1669 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
1671 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1672 Add a deserialisation test for fractions
1673 * examples/metadata/read-metadata.c: (message_loop),
1674 (make_pipeline), (main):
1675 Fix up metadata reading sample.
1676 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1678 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1679 Don't try and fixate empty caps
1680 * gst/gst_private.h:
1681 Wrap in G_BEGIN_DECLS/G_END_DECLS
1682 * gst/gstvalue.c: (gst_value_collect_fraction),
1683 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
1684 (gst_value_transform_string_fraction),
1685 (gst_value_compare_fraction):
1686 Add some extra guards to ensure that we don't end up
1687 with an invalid denominator of 0 in a gstfraction and
1688 that fractions always get reduced.
1690 2005-11-20 Wim Taymans <wim@fluendo.com>
1692 * docs/gst/gstreamer-sections.txt:
1703 2005-11-20 Wim Taymans <wim@fluendo.com>
1705 * docs/design/part-TODO.txt:
1707 Make a proper enum of the flag.
1709 2005-11-19 Wim Taymans <wim@fluendo.com>
1711 * docs/design/part-TODO.txt:
1712 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
1713 (gst_format_to_quark), (gst_format_register):
1715 * gst/gstquery.c: (_gst_query_initialize),
1716 (gst_query_type_get_name), (gst_query_type_to_quark),
1717 (gst_query_type_register):
1719 Add type to quark and type to string conversions.
1721 2005-11-19 Andy Wingo <wingo@pobox.com>
1723 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
1726 2005-11-19 Wim Taymans <wim@fluendo.com>
1728 * docs/design/part-TODO.txt:
1729 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1730 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
1731 (gst_bin_handle_message_func):
1733 Make message handling overridable.
1735 2005-11-19 Andy Wingo <wingo@pobox.com>
1737 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
1740 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
1742 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
1743 is a GstClockTime. Fixes #321710.
1745 * gst/gstclock.h (GstClock): Remove offset property. Add
1746 internal_calibration and external_calibration. Fix padding. Pad
1747 also by GstClockTime so we don't run into problems.
1749 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
1750 (gst_clock_get_rate_offset): Remove.
1751 (gst_clock_set_time_adjust): Remove. Fixes #321712.
1754 * gst/gstutils.c (g_static_rec_cond_wait)
1755 (g_static_rec_cond_timed_wait): Removed, no longer needed.
1757 * gst/gstbin.c: Remove terrible continue_state prototype.
1759 * gst/gstelement.h (gst_element_continue_state): Make public.
1762 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
1763 by continue_state. Fixes #319389.
1765 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
1766 Really fixes #168438. However I don't see anywhere where the
1767 filter function is called... stupid GStreamer...
1769 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
1770 don't have a dispose function, so it won't get called when the
1771 object is unreffed, but oh well!
1773 * gst/gstindex.c (gst_index_set_filter_full): New API function,
1774 allows a destroy function to be set so user_data can be freed.
1776 (gst_index_set_filter): Call gst_index_set_filter_full.
1778 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
1780 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
1781 string should produce an error, given the lack of a way to
1782 represent NULL strings. Fixes #165650.
1785 * gst/gstvalue.c (gst_value_array_append_value)
1786 (gst_value_array_prepend_value, gst_value_array_get_size)
1787 (gst_value_array_get_value): New API, copied from
1788 gst_value_list_*, only operates on arrays.
1789 (gst_value_list_append_value, gst_value_list_prepend_value)
1790 (gst_value_list_concat, gst_value_list_get_size)
1791 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
1793 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
1794 init_list, because it works on both.
1795 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
1796 (gst_value_copy_list_or_array): Renamed from copy_list.
1797 (gst_value_free_list_or_array): Renamed from free_list.
1798 (gst_value_collect_list_or_array): Renamed from collect_list.
1799 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
1800 (gst_value_list_or_array_peek_pointer): Renamed from
1802 (_gst_value_array_value_table, _gst_value_list_value_table):
1803 Update value table functions.
1804 (gst_value_compare_list_or_array): Renamed from compare_list.
1806 * gsttaglist.h: Whoops, foreach function returns void. Also fix
1810 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
1811 GstTagList*. Fixes #143472.
1813 * gst/gststructure.h: Clarify what the foreach/map functions can
1814 or can't do to their arguments.
1816 2005-11-18 Wim Taymans <wim@fluendo.com>
1818 * gst/gstclock.c: (gst_clock_set_calibration),
1819 (gst_clock_get_calibration):
1821 Calibration can be set with internal time equal to current
1824 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
1830 2005-11-18 Andy Wingo <wingo@pobox.com>
1833 * pkgconfig/gstreamer-net.pc.in:
1834 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1835 * pkgconfig/Makefile.am: Add net pkgconfig files.
1837 2005-11-18 Stefan Kost <ensonic@users.sf.net>
1840 * gst/gstghostpad.c:
1846 2005-11-18 Andy Wingo <wingo@pobox.com>
1848 * gst/net/gstnetclientclock.c: Turn off debugging.
1850 * check/net/gstnetclientclock.c (test_functioning): Assert that the
1851 times connverge somewhat. Can't make a real test.
1853 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
1854 integer arithmetic. Return the minimum of the domain, which can be
1855 set as "internal" for gst_clock_set_calibration.
1856 (gst_net_client_clock_observe_times): Call _set_calibration.
1857 (gst_net_client_clock_new): Call _set_calibration instead of
1860 * check/net/gstnetclientclock.c (test_functioning): Use the right
1864 * gst/gstclock.c (gst_clock_get_calibration)
1865 (gst_clock_set_calibration): New functions, obsolete the ones I
1866 added yesterday. Doh. Precision issues mean we have to extrapolate
1867 from a point in the more recent past than 1970.
1868 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
1870 (gst_clock_adjust_unlocked): Use the right calibration data.
1872 2005-11-18 Edward Hervey <edward@fluendo.com>
1874 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1875 Also reset the ->current_* values in READY->PAUSED
1877 2005-11-18 Andy Wingo <wingo@pobox.com>
1879 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
1880 Whoops, check the right fd. Also add some debugging.
1881 (gst_net_client_clock_observe_times): Adjust for int64 offset.
1882 (do_linear_regression): Add a crapload of debugging. Subtract off
1883 the minimum values from the input series to discard unneeded bits.
1884 Use only int arithmetic. There is still double arithmetic when
1885 calculating the intercept that needs fixing. Return boolean to
1886 indicate success; FALSE would mean the domain or range is too
1887 great. Still needs fixes.
1889 2005-11-18 Wim Taymans <wim@fluendo.com>
1891 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1892 For the current position in stream time, we need to subtract
1895 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
1896 Release lock before calling the callback function of async
1899 2005-11-18 Andy Wingo <wingo@pobox.com>
1901 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
1902 Port goes all the way to MAXUINT16.
1904 * gst/net/gstnettimeprovider.c: Make the port range the same as
1905 for the kernel: 0 assigns, otherwise ports are less than
1908 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
1911 * check/net/gstnetclientclock.c (test_functioning): Add the start
1914 2005-11-18 Wim Taymans <wim@fluendo.com>
1916 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1917 (gst_bin_remove_func), (bin_bus_handler):
1919 Removing a clock provider from a bin, triggers a clock lost message
1920 so that a new clock will be selected.
1921 Adding a clock to a bin triggers a clock provider message.
1922 Make sure we reselect a clock when we received a clock lost message.
1923 Keep a reference to the element that provided the clock.
1925 2005-11-18 Andy Wingo <wingo@pobox.com>
1927 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
1928 the clock initially so it produces values around the base time.
1929 (gst_net_client_clock_class_init): Typo fix.
1930 (gst_net_client_clock_thread): Add note on when the socket gets
1933 2005-11-17 Wim Taymans <wim@fluendo.com>
1935 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
1936 Free remote and local time arrays.
1938 2005-11-17 Wim Taymans <wim@fluendo.com>
1940 * gst/net/gstnetclientclock.c: (do_linear_regression),
1941 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
1942 Fix compilation, uninitialized vars and a forgotten continue.
1944 2005-11-17 Andy Wingo <wingo@pobox.com>
1946 * check/Makefile.am (check_PROGRAMS):
1947 * check/net/gstnetclientclock.c: Add a most minimal test for the
1948 net client clock. More to come later.
1951 * gst/net/Makefile.am: Add netclientclock.
1953 * gst/net/gstnetclientclock.h:
1954 * gst/net/gstnetclientclock.c: New files, implement an untested
1955 GstClock that takes its time from a network time provider.
1956 Implements the algorithm in network-clock.scm.
1958 * tests/network-clock.scm (*window-size*): Rename from
1960 * tests/network-clock.scm (network-time):
1961 * tests/network-clock-utils.scm (q-push): Update callers.
1963 2005-11-17 Wim Taymans <wim@fluendo.com>
1965 * gst/gstbin.c: (gst_bin_provide_clock_func),
1966 (gst_bin_sort_iterator_new):
1967 And unref the child too..
1969 2005-11-17 Wim Taymans <wim@fluendo.com>
1971 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
1972 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
1973 Refactor the sort iterator so it can be used while holding the
1975 Make clock selection select a clock closest to the source.
1977 2005-11-17 Michael Smith <msmith@fluendo.com>
1979 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
1980 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
1982 Anonymous structs are a gcc (and some other compilers) extension, so
1983 don't use them. Since this is only for ABI-compatibility, and our
1984 API/ABI freeze is over in a few days, this whole thing will only
1985 last a few days, so don't bother trying to think up a meaningful
1986 name for the struct.
1988 2005-11-17 Andy Wingo <wingo@pobox.com>
1990 * gst/gstclock.h (GstClock): Add rate and offset properties,
1991 preserving ABI stability. Add rate/offset accessors. Will file bug
1992 for the freeze break.
1994 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
1995 and offset, trying to keep precision and avoiding
1997 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
1998 functions. Make gst_clock_set_time_adjust obsolete.
1999 (gst_clock_set_time_adjust): Note that this function is obsolete.
2002 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2003 greppable by using GST_PADDING-1+1.
2005 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2007 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2009 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2010 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2012 * gst/gstpadtemplate.h:
2013 * gst/gstpluginfeature.h:
2014 Don't use c++ style comments in headers (#321638).
2016 2005-11-16 Andy Wingo <wingo@pobox.com>
2018 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2021 * check/net/gstnettimeprovider.c: Check to see that the time
2022 provider actually provides times. Works, yo!
2024 2005-11-16 Wim Taymans <wim@fluendo.com>
2026 * check/Makefile.am:
2029 * check/elements/fakesrc.c: (GST_START_TEST):
2030 Set element to NULL before disposing it.
2032 2005-11-16 Andy Wingo <wingo@pobox.com>
2034 * gst/net/Makefile.am:
2036 * gst/net/gstnettimeprovider.c:
2037 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2038 provider, include it from gstnet.h, and add it to the build.
2040 * gst/net/gstnettimepacket.h:
2041 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2042 sending and receiving.
2044 2005-11-16 Wim Taymans <wim@fluendo.com>
2046 * check/Makefile.am:
2047 Enable valgrind check.
2049 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2050 (gst_fake_src_alloc_buffer):
2053 2005-11-16 Wim Taymans <wim@fluendo.com>
2055 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2056 Call parent finalize too.
2058 2005-11-16 Wim Taymans <wim@fluendo.com>
2060 * check/Makefile.am:
2061 Enable valgrind check that should work fine now.
2063 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2064 * gst/gstqueue.c: (gst_queue_init):
2065 Fix memleaks in pad allocation.
2067 2005-11-16 Andy Wingo <wingo@pobox.com>
2069 * gst/net/Makefile.am:
2070 * gst/net/gstnet.h: New part of core to hold network elements and
2071 objects. Put in core because it exposes API that applications want
2072 to use. The library is named libgstnet-tempname right now because
2073 of the existing libgstnet in gst-plugins-base. Solution is
2074 probably to rename the one in plugins-base; will file a bug for
2077 * gst/net/gstnettimeprovider.c:
2078 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2079 get_time call over the network.
2082 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2084 * check/Makefile.am:
2085 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2086 get additions shortly.
2088 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2090 * gst/gstpad.c: (gst_pad_new_from_static_template):
2092 add gst_pad_new_from_static_template functions
2093 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2094 (gst_check_setup_sink_pad):
2095 * gst/elements/gsttee.c: (gst_tee_init):
2098 2005-11-16 Wim Taymans <wim@fluendo.com>
2100 * gst/gstpad.c: (gst_pad_pause_task):
2101 Removed warning, it's not really an error either.
2103 2005-11-16 Wim Taymans <wim@fluendo.com>
2105 * gst/base/gstbasetransform.c:
2106 (gst_base_transform_prepare_output_buf),
2107 (gst_base_transform_event):
2108 Check if the caps are NULL, this can happen if the element
2109 is shutting down and the pad caps are set to NULL.
2111 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2113 * gst/elements/gsttee.c: (gst_tee_init):
2114 fix pad template leak in tee
2116 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2118 * gst/glib-compat.c: (g_value_dup_gst_object):
2119 * gst/glib-compat.h:
2120 * gst/gstpad.c: (gst_pad_set_property):
2121 use gst_object_ref when setting the pad template; this will
2122 trigger the pad template leaks on GLib 2.6 and the slaves
2124 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2126 * gst/glib-compat.c: (gst_flags_get_first_value):
2127 * gst/glib-compat.h:
2128 * gst/gstregistryxml.c:
2129 remove functions copied from GLib 2.6
2131 2005-11-16 Michael Smith <msmith@fluendo.com>
2134 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2135 do, but only breaks with newer valgrind versions. We're not a
2136 valgrind tool, we have no link-time dependencies on libcoregrind.
2138 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2140 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2145 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2147 * gst/base/gstbasesrc.c: (gst_base_src_init):
2148 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2149 * gst/gstqueue.c: (gst_queue_init):
2150 * gst/gstregistryxml.c: (load_feature):
2151 Revert all these unrefs, they don't even pass make check !
2153 2005-11-15 Johan Dahlin <johan@gnome.org>
2155 * gst/base/gstbasesrc.c: (gst_base_src_init):
2156 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2157 * gst/gstqueue.c: (gst_queue_init):
2158 Free pad templates, fixes a couple of leaks.
2160 2005-11-15 Daniel Fischer <dan at f3c dot com>
2162 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2164 * gst/gstpad.c: (gst_pad_get_property):
2165 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2166 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2169 2005-11-15 Wim Taymans <wim@fluendo.com>
2174 2005-11-15 Andy Wingo <wingo@pobox.com>
2176 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2178 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2179 using GST_CLOCK_TIME_NONE to disable base time management.
2180 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2181 time if it was NONE before.
2182 (gst_pipeline_change_state): Only munge the base time if
2183 stream_time != GST_CLOCK_TIME_NONE.
2185 * check/gst/gstpipeline.c (test_base_time): Punt around the
2186 problem of the probe not being called, because that's not the
2187 issue I'm looking at. Add a check that setting stream_time to NONE
2188 disables base time management.
2190 2005-11-15 Wim Taymans <wim@fluendo.com>
2192 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2193 segment_stop == -1 at startup.
2195 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2196 (gst_base_transform_change_state):
2197 Init segment values at start.
2199 2005-11-15 Wim Taymans <wim@fluendo.com>
2201 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2202 0 segment values are 0 in any format.
2204 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2205 * gst/base/gstbasetransform.h:
2206 Parse newsegment correctly in basetransform
2208 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2209 Sync to clock using updated segment values.
2211 2005-11-15 Andy Wingo <wingo@pobox.com>
2213 * check/gst/gstpipeline.c (test_base_time): Add check that the
2214 base time and stream time are reset correctly.
2216 2005-11-15 Wim Taymans <wim@fluendo.com>
2218 * docs/design/part-TODO.txt:
2219 Some more TODO items.
2221 2005-11-15 Andy Wingo <wingo@pobox.com>
2223 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2224 error if the user selected "no clock" as the clocking method.
2226 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2227 timestamps with live capture.
2229 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2230 is 0 but we are a live source, timestamp the buffers using the
2233 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2235 * docs/gst/gstreamer-sections.txt:
2237 * gst/gstghostpad.c:
2242 2005-11-14 Wim Taymans <wim@fluendo.com>
2245 add suppressions from Wim's Debian machine
2247 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2250 add suppressions from Andy's AMD64 Ubuntu machine
2252 2005-11-14 Andy Wingo <wingo@pobox.com>
2254 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2255 STATE_LOCK not necessary. Fixes #311489.
2257 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2260 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2261 this function is not implemented.
2263 2005-11-14 Julien MOUTTE <julien@moutte.net>
2265 * gst/base/gstbasetransform.c:
2266 (gst_base_transform_prepare_output_buf):
2267 Ref the source pad caps while we need them.
2270 2005-11-11 Wim Taymans <wim@fluendo.com>
2272 * docs/gst/gstreamer-sections.txt:
2273 Added some docs for GstCollectData.
2275 * gst/base/gstadapter.c:
2276 Some small code example fix.
2278 * gst/base/gstcollectpads.c:
2279 * gst/base/gstcollectpads.h:
2282 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2284 * configure.ac: back to HEAD
2286 === release 0.9.5 ===
2288 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2291 releasing 0.9.5, "Bike Lunch Day"
2293 2005-11-11 Wim Taymans <wim@fluendo.com>
2295 * gst/gstbuffer.c: (_gst_buffer_copy):
2298 * gst/gstcaps.c: (gst_caps_is_equal):
2300 Make _is_equal fast in the trivial cases.
2302 * gst/gstminiobject.c:
2303 * gst/gstminiobject.h:
2304 More docs. Spifify .h file.
2309 2005-11-11 Wim Taymans <wim@fluendo.com>
2311 * gst/base/gstbasetransform.c:
2312 (gst_base_transform_prepare_output_buf),
2313 (gst_base_transform_handle_buffer):
2315 If we're processing a buffer and need to allocate an output
2316 buffer, we cannot accept a format change. If we did get a
2317 format change, we have to alloc a buffer ourselves of the
2320 2005-11-11 Wim Taymans <wim@fluendo.com>
2322 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
2323 While checking the flag for reentrancy in the gstcaps function
2324 is nice to detect recursive invocations, it also makes it
2325 impossible to call getcaps from multiple threads, which must be
2326 possible. So, checking for recursive calls has to go.
2328 2005-11-11 Michael Smith <msmith@fluendo.com>
2330 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2331 Don't sync on buffers that fall partially outside our current
2332 segment. Prevents an assertion failure/abort playing some files.
2334 2005-11-10 Andy Wingo <wingo@pobox.com>
2336 * check/gst/gstbin.c (test_message_state_changed_children): Style
2339 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
2340 gst_bus_poll with the signal watch. Ensures that poll and a signal
2341 watch see the same messages.
2343 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
2344 a poll and a watch at the same time get the same messages.
2346 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2348 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
2349 * gst/gstcaps.c: (gst_caps_intersect):
2350 Don't call gst_caps_do_simplify - it doesn't respect order of caps
2351 and it's not needed.
2353 2005-11-10 Wim Taymans <wim@fluendo.com>
2355 * docs/design/part-TODO.txt:
2358 2005-11-10 Wim Taymans <wim@fluendo.com>
2360 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2361 * gst/base/gstbasesrc.c: (gst_base_src_wait),
2362 (gst_base_src_do_sync), (gst_base_src_get_range):
2363 Implement clock sync in base class.
2365 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
2367 patch by: Tim-Philipp Müller <tim at centricular dot net>
2369 * gst/gststructure.c: (gst_structure_parse_field),
2370 (gst_structure_from_string):
2371 Forward-port a 0.8 patch to handle escaped spaces in structure string,
2372 so that gst_parse_launch() can deal with spaces in filtered link
2373 caps (fixes #164479)
2374 * check/gst/capslist.h:
2375 * check/gst/gststructure.c: (GST_START_TEST):
2376 add unit tests for this change
2378 2005-11-10 Wim Taymans <wim@fluendo.com>
2380 * docs/gst/gstreamer-sections.txt:
2383 Fix docs, move some STATE macros to private.
2385 2005-11-10 Wim Taymans <wim@fluendo.com>
2387 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2388 Added check for bug #317341
2392 Some more spiffifying.
2394 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
2395 Call peer linkfunction if we are a source pad. Totally fixes
2399 Update docs, source pads should call the peer linkfunction
2400 so they can atomically perform the pad link.
2402 2005-11-09 Wim Taymans <wim@fluendo.com>
2406 Uber-spiffy-spiffify some more.
2408 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
2410 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
2411 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2412 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2413 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
2414 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
2415 * gst/gstpad.c: (gst_pad_init):
2416 Use GST_DEBUG_FUNCPTR() more extensively.
2418 2005-11-09 Wim Taymans <wim@fluendo.com>
2420 * gst/gstobject.c: (gst_object_class_init):
2422 Documentation fixes.
2424 2005-11-09 Edward Hervey <edward@fluendo.com>
2426 * gst/gsttypefindfactory.c:
2429 2005-11-09 Edward Hervey <edward@fluendo.com>
2431 * gst/base/gsttypefindhelper.c:
2432 * gst/gsttypefind.c:
2433 * gst/gsttypefind.h:
2436 2005-11-09 Wim Taymans <wim@fluendo.com>
2438 * gst/gstiterator.c:
2445 2005-11-09 Wim Taymans <wim@fluendo.com>
2451 2005-11-09 Wim Taymans <wim@fluendo.com>
2453 * docs/gst/gstreamer-sections.txt:
2454 Moved the message async delivery private lock and cond
2455 to the private section.
2461 2005-11-09 Edward Hervey <edward@fluendo.com>
2463 * docs/gst/gstreamer-sections.txt:
2466 Document GstURIHandler
2468 2005-11-09 Wim Taymans <wim@fluendo.com>
2470 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
2471 (gst_iterator_find_custom):
2472 * gst/gstiterator.h:
2475 2005-11-09 Wim Taymans <wim@fluendo.com>
2478 Document another field.
2480 * gst/gststructure.c:
2481 * gst/gststructure.h:
2484 2005-11-09 Wim Taymans <wim@fluendo.com>
2489 2005-11-09 Wim Taymans <wim@fluendo.com>
2491 * docs/gst/gstreamer-sections.txt:
2492 Added some new macros.
2499 2005-11-09 Wim Taymans <wim@fluendo.com>
2501 * docs/design/part-TODO.txt:
2502 Some more items for the TODO
2508 2005-11-09 Andy Wingo <wingo@pobox.com>
2510 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
2511 to work on something else now tho...
2513 * gst/base/gstadapter.c: More adapter docs.
2515 * gst/elements/gstfilesink.c (gst_file_sink_start)
2516 (gst_file_sink_stop): New functions, replace the state change
2518 (gst_file_sink_class_init): Hook up the start and stop functions.
2519 (gst_file_sink_base_init): Don't set the state change handler any
2520 more. It was a bit ugly too, being set from here...
2521 (gst_file_sink_get_property, gst_file_sink_set_property):
2523 (gst_file_sink_set_location): More robust check that doesn't call
2526 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
2528 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2529 Hold STREAM_LOCK while pushing newsegment or tag events as well.
2531 2005-11-08 Wim Taymans <wim@fluendo.com>
2533 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
2534 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2535 (gst_base_sink_chain), (gst_base_sink_change_state):
2536 * gst/base/gstbasesink.h:
2537 * gst/base/gstbasesrc.h:
2540 Avoid excessive typechecking in macros.
2542 * gst/gstminiobject.c: (gst_mini_object_get_type),
2543 (gst_mini_object_init), (gst_mini_object_new),
2544 (gst_mini_object_free):
2545 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
2546 (gst_object_finalize):
2547 Remove cruft code, optimize alloc_trace.
2549 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
2551 * docs/faq/gst-uninstalled:
2552 fix up PS1 for systems that try to reset it
2554 2005-11-07 Wim Taymans <wim@fluendo.com>
2556 * gst/base/gstbasesrc.c: (gst_base_src_init),
2557 (gst_base_src_get_range):
2558 Set the segment_end to -1 initially. Fixed typefind.
2560 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
2562 * gst/base/gstadapter.c:
2563 Debug category should be 'adapter', not 'GstAdapter'.
2565 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
2566 (gst_collectpads_class_init), (gst_collectpads_init),
2567 (gst_collectpads_peek), (gst_collectpads_pop),
2568 (gst_collectpads_event), (gst_collectpads_chain):
2569 Add debug category and some debugging output. Use boilerplate
2570 macros. Remove some extraneous words from docs.
2572 2005-11-05 Andy Wingo <wingo@pobox.com>
2574 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
2577 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2579 * docs/gst/gstreamer-sections.txt:
2582 * gst/gstminiobject.h:
2587 2005-11-04 Wim Taymans <wim@fluendo.com>
2589 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2590 Small update to stop at the configured segment_end
2593 2005-11-04 Stefan Kost <ensonic@users.sf.net>
2595 * gst/gstregistry.c:
2596 * gst/gstregistry.h:
2599 2005-11-04 Edward Hervey <edward@fluendo.com>
2601 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2602 Check if we are doing a segment seek and have arrived at the
2603 end of that segment.
2605 2005-11-04 Wim Taymans <wim@fluendo.com>
2607 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
2608 Don't leak a mutex unlock in case of an error.
2613 2005-11-04 Wim Taymans <wim@fluendo.com>
2615 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
2617 Get the context to wake up only once.
2619 2005-11-03 Wim Taymans <wim@fluendo.com>
2621 * check/states/sinks.c: (GST_START_TEST):
2622 Uncomment fixed check.
2624 * docs/design/part-TODO.txt:
2627 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2628 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2629 (gst_base_sink_get_position):
2630 If we are going to PLAYING, post the right pending state
2631 when we post the intermediate paused message.
2633 * gst/gstelement.c: (gst_element_continue_state),
2634 (gst_element_set_state_func), (gst_element_change_state):
2635 Don't post state changes that were between the same state
2638 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2640 * docs/gst/gstreamer-sections.txt:
2643 * gst/gstminiobject.h:
2646 more docs and doc style fixes
2648 2005-11-03 Stefan Kost <ensonic@users.sf.net>
2650 * docs/gst/gstreamer-sections.txt:
2652 * gst/gstminiobject.c:
2655 2005-11-03 Andy Wingo <wingo@pobox.com>
2657 * check/states/sinks.c (test_livesrc_sink): Add checks that the
2658 state-changed messages actually have the right order and the right
2661 2005-11-03 Wim Taymans <wim@fluendo.com>
2663 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2664 Added some more checks. Specifically the case where NO_PREROLL
2665 elements are in the pipeline.
2667 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2668 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
2669 (gst_base_sink_get_position):
2670 Post READY->PAUSED state change messages too.
2671 Fix bug where VOID was posted as pending state...
2673 * gst/gstbin.c: (gst_bin_recalc_state):
2674 use _element_continue_state() to continue the state change.
2676 * gst/gstelement.c: (gst_element_continue_state),
2677 (gst_element_commit_state), (gst_element_set_state_func),
2678 (gst_element_change_state), (gst_element_change_state_func):
2679 Lots of state change cleanups, assign the STATE_RETURN in
2680 a new continue_state() function that also propagates the
2681 last return value from a state change to the app.
2682 Update some debug statements with proper category.
2684 2005-11-03 Wim Taymans <wim@fluendo.com>
2686 * docs/design/part-events.txt:
2687 * docs/design/part-gstpipeline.txt:
2688 * docs/design/part-messages.txt:
2689 * docs/design/part-overview.txt:
2690 * docs/design/part-seeking.txt:
2691 * docs/design/part-states.txt:
2692 * docs/design/part-trickmodes.txt:
2693 * docs/manual/advanced-position.xml:
2697 People think !! is ugly, this looks better.
2699 * gst/gstpad.c: (gst_pad_set_blocked_async):
2700 Remove !! since it's fixed elsewhere now.
2702 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2704 * gst/gstminiobject.h:
2706 Add !! to _FLAG_IS_SET macros to make the result boolean.
2708 2005-11-03 Edward Hervey <edward@fluendo.com>
2710 * gst/gstpad.c: (gst_pad_set_blocked_async):
2711 comparing a flag and a gboolean rarely returns coherent results...
2712 Added two characters (!!) to make that work correctly.
2714 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2716 * gst/gstbus.c: (gst_bus_class_init):
2719 * gst/gstqueue.c: (gst_queue_loop):
2720 Don't assume a miniobject that isn't a buffer is an
2721 event (it could be that there is a refcounting
2722 problem somewhere and the pointer is stale and
2723 refers to an already destroyed miniobject).
2725 2005-11-03 Julien MOUTTE <julien@moutte.net>
2727 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
2729 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
2731 * docs/manual/advanced-position.xml:
2732 Update seek example and explanations to current 0.9 API.
2734 * gst/elements/gsttypefindelement.c:
2735 (gst_type_find_element_activate):
2736 Remove FIXME comment now that the found caps
2739 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
2741 * gst/gstregistryxml.c: (load_feature):
2742 Add another GST_STR_NULL instance
2744 2005-11-02 Edward Hervey <edward@fluendo.com>
2746 * gst/gstpad.c: (handle_pad_block):
2747 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
2749 2005-11-02 Wim Taymans <wim@fluendo.com>
2754 * gst/gstelement.c: (gst_element_commit_state):
2755 Remove unused value.
2757 * gst/gstiterator.c:
2758 Mention that the returned element is reffed in the docs.
2760 2005-11-02 Wim Taymans <wim@fluendo.com>
2762 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
2763 (gst_pad_push), (gst_pad_push_event):
2764 Unlock blocked pads when they are flushed.
2766 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2769 * docs/gst/gstreamer-sections.txt:
2772 * gst/gstregistry.c: (gst_registry_scan_path_level):
2773 fix for a nasty little missed situation where an installed plug-in
2774 which was in the cache did not get overridden by an uninstalled one
2775 which was earlier in the plugin path because the newly created plugin
2776 for the uninstalled one (not in the registry) didn't get its
2777 ->registered set to TRUE
2779 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2781 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
2782 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
2783 (gst_collectpads_is_active), (gst_collectpads_collect),
2784 (gst_collectpads_collect_range), (gst_collectpads_start),
2785 (gst_collectpads_stop), (gst_collectpads_peek),
2786 (gst_collectpads_pop), (gst_collectpads_available),
2787 (gst_collectpads_read), (gst_collectpads_flush):
2788 Guard public API with assertions.
2791 Fix docs for gst_pad_set_link_function().
2793 2005-11-02 Johan Dahlin <johan@gnome.org>
2795 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
2796 Unref found_caps after we used it.
2798 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
2800 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
2801 Don't try to ref NULL.
2803 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2805 * win32/common/config.h.in:
2806 provide a GST_FUNCTION that just gives a string for now
2808 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
2810 * win32/common/gstenumtypes.c: (register_gst_object_flags),
2811 (gst_object_flags_get_type), (register_gst_bin_flags),
2812 (gst_bin_flags_get_type), (register_gst_buffer_flag),
2813 (gst_buffer_flag_get_type), (register_gst_bus_flags),
2814 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
2815 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
2816 (gst_clock_return_get_type), (register_gst_clock_entry_type),
2817 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
2818 (gst_clock_flags_get_type), (register_gst_state),
2819 (gst_state_get_type), (register_gst_state_change_return),
2820 (gst_state_change_return_get_type), (register_gst_state_change),
2821 (gst_state_change_get_type), (register_gst_element_flags),
2822 (gst_element_flags_get_type), (register_gst_core_error),
2823 (gst_core_error_get_type), (register_gst_library_error),
2824 (gst_library_error_get_type), (register_gst_resource_error),
2825 (gst_resource_error_get_type), (register_gst_stream_error),
2826 (gst_stream_error_get_type), (register_gst_event_type),
2827 (gst_event_type_get_type), (register_gst_seek_type),
2828 (gst_seek_type_get_type), (register_gst_seek_flags),
2829 (gst_seek_flags_get_type), (register_gst_format),
2830 (gst_format_get_type), (register_gst_index_certainty),
2831 (gst_index_certainty_get_type), (register_gst_index_entry_type),
2832 (gst_index_entry_type_get_type),
2833 (register_gst_index_lookup_method),
2834 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
2835 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
2836 (gst_index_resolver_method_get_type), (register_gst_index_flags),
2837 (gst_index_flags_get_type), (register_gst_debug_level),
2838 (gst_debug_level_get_type), (register_gst_debug_color_flags),
2839 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
2840 (gst_iterator_result_get_type), (register_gst_iterator_item),
2841 (gst_iterator_item_get_type), (register_gst_message_type),
2842 (gst_message_type_get_type), (register_gst_mini_object_flags),
2843 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
2844 (gst_pad_link_return_get_type), (register_gst_flow_return),
2845 (gst_flow_return_get_type), (register_gst_activate_mode),
2846 (gst_activate_mode_get_type), (register_gst_pad_direction),
2847 (gst_pad_direction_get_type), (register_gst_pad_flags),
2848 (gst_pad_flags_get_type), (register_gst_pad_presence),
2849 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
2850 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
2851 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
2852 (gst_plugin_error_get_type), (register_gst_plugin_flags),
2853 (gst_plugin_flags_get_type), (register_gst_rank),
2854 (gst_rank_get_type), (register_gst_query_type),
2855 (gst_query_type_get_type), (register_gst_tag_merge_mode),
2856 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
2857 (gst_tag_flag_get_type), (register_gst_task_state),
2858 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
2859 (gst_alloc_trace_flags_get_type),
2860 (register_gst_type_find_probability),
2861 (gst_type_find_probability_get_type), (register_gst_uri_type),
2862 (gst_uri_type_get_type), (register_gst_parse_error),
2863 (gst_parse_error_get_type):
2864 * win32/common/gstversion.h:
2867 2005-11-01 Luca Ognibene <luogni@tin.it>
2870 fix docs. popt is dead, long live GOption.
2872 2005-10-31 Wim Taymans <wim@fluendo.com>
2877 2005-10-31 Andy Wingo <wingo@pobox.com>
2881 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
2883 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
2884 need to serialize property notifications on GLib 2.8. GLib 2.6 has
2885 the possibility of deadlocks here if code calling notify() or
2886 set() has a lock that can be taken in another notify handler (ABBA
2887 with class lock and e.g. python GIL state lock).
2889 2005-10-28 Julien MOUTTE <julien@moutte.net>
2891 * gst/gstbus.c: Doc updates.
2893 2005-10-28 Wim Taymans <wim@fluendo.com>
2895 * docs/design/part-TODO.txt:
2896 * gst/gstiterator.c:
2897 * gst/gstsystemclock.c:
2898 * gst/gstsystemclock.h:
2901 2005-10-28 Edward Hervey <edward@fluendo.com>
2903 * docs/gst/gstreamer-docs.sgml:
2904 * docs/gst/gstreamer-sections.txt:
2905 the GstURIType documentation page is private, it only defines GstURIType
2906 which should be defined in the GstURIHandler page
2908 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
2910 * gst/gstbin.c: (gst_bin_class_init):
2913 Documentation updates.
2915 2005-10-28 Wim Taymans <wim@fluendo.com>
2917 * docs/gst/gstreamer-sections.txt:
2920 Documented the clocks.
2922 2005-10-28 Stefan Kost <ensonic@users.sf.net>
2924 * docs/gst/gstreamer-sections.txt:
2925 move some macros to private sections
2926 * gst/gstminiobject.c:
2927 * gst/gstminiobject.h:
2928 add descriptions provided by ds and some more
2930 mark macro as to be removed
2932 2005-10-28 Wim Taymans <wim@fluendo.com>
2934 * docs/design/part-TODO.txt:
2935 Add an item to TODO.
2937 * gst/gstiterator.c: (gst_iterator_fold),
2938 (gst_iterator_find_custom):
2939 * gst/gstiterator.h:
2942 2005-10-28 Wim Taymans <wim@fluendo.com>
2944 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2945 (gst_base_transform_init):
2948 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
2949 An EOS event marks the queue as completely filled.
2951 2005-10-27 Wim Taymans <wim@fluendo.com>
2953 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2954 (gst_base_sink_do_sync), (gst_base_sink_get_position):
2955 Some more debugging.
2957 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
2958 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
2959 (gst_base_transform_event), (gst_base_transform_getrange),
2960 (gst_base_transform_chain):
2961 * gst/base/gstbasetransform.h:
2963 Protect transform and concurrent buffer alloc with a new lock.
2964 Try not to break ABI/API.
2966 2005-10-27 Wim Taymans <wim@fluendo.com>
2968 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2969 (gst_base_src_init), (gst_base_src_query),
2970 (gst_base_src_default_newsegment),
2971 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2972 (gst_base_src_send_event), (gst_base_src_event_handler),
2973 (gst_base_src_pad_get_range), (gst_base_src_loop),
2974 (gst_base_src_unlock), (gst_base_src_default_negotiate),
2975 (gst_base_src_start), (gst_base_src_deactivate),
2976 (gst_base_src_activate_push), (gst_base_src_change_state):
2977 Move some stuff around and cleanup things.
2979 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
2981 * gst/base/gstbasesrc.c: (gst_base_src_query):
2982 Add missing break statements.
2984 2005-10-27 Wim Taymans <wim@fluendo.com>
2986 * check/gst/gstbin.c: (GST_START_TEST):
2987 An extra refcount is taken in basesrc.
2989 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2990 (gst_base_src_get_range), (gst_base_src_pad_get_range),
2991 (gst_base_src_loop):
2992 Small cleanups, check for flushing after being unlocked from the
2993 LIVE_LOCK. take refcounts correctly (not yet everywhere).
2994 Don't send out EOS when going to READY.
2996 2005-10-27 Wim Taymans <wim@fluendo.com>
2998 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2999 (gst_base_sink_get_position):
3002 * gst/gstbin.c: (message_check), (bin_replace_message),
3003 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3004 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3005 (bin_query_duration_init), (bin_query_duration_fold),
3006 (bin_query_duration_done), (bin_query_generic_fold),
3008 * tools/gst-launch.c: (main):
3011 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3013 * examples/controller/audio-example.c: (main):
3014 * examples/queue/queue.c: (event_loop):
3015 * gst/base/gstbasetransform.h:
3016 * gst/gstelement.c: (gst_element_send_event):
3018 * gst/gstpad.c: (gst_pad_send_event):
3021 changing log priority in error situations
3023 2005-10-25 Wim Taymans <wim@fluendo.com>
3025 * gst/gstbin.c: (message_check), (bin_replace_message),
3026 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3027 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3028 (bin_query_duration_init), (bin_query_duration_fold),
3029 (bin_query_duration_done), (bin_query_generic_fold),
3031 Some doc and debug updates.
3032 Cache previously requested query DURATION for speed. invalidate
3033 cached duration if element posts a DURATION message.
3035 2005-10-25 Wim Taymans <wim@fluendo.com>
3037 * docs/design/part-TODO.txt:
3040 * gst/gstbin.c: (message_check), (bin_replace_message),
3041 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3042 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3043 (bin_query_duration_init), (bin_query_duration_fold),
3044 (bin_query_duration_done), (bin_query_generic_fold),
3046 Handle SEGMENT_START/DONE messages correctly.
3047 More evolved query algorithm that handles duration queries
3050 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3051 (gst_element_get_state_func), (gst_element_abort_state),
3052 (gst_element_commit_state), (gst_element_lost_state):
3053 Some more debugging.
3058 2005-10-25 Wim Taymans <wim@fluendo.com>
3060 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3061 Don't use invalid stream_time.
3063 * gst/gstevent.c: (gst_event_new_newsegment):
3064 stream_time in newsegment cannot be undefined.
3066 2005-10-24 Wim Taymans <wim@fluendo.com>
3071 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3073 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3075 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3077 * docs/libs/tmpl/gstdparam.sgml:
3078 * docs/libs/tmpl/gstdplinint.sgml:
3079 * docs/libs/tmpl/gstdpman.sgml:
3080 * docs/libs/tmpl/gstdpsmooth.sgml:
3081 * docs/libs/tmpl/gstunitconvert.sgml:
3084 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3089 === release 0.9.4 ===
3091 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3094 releasing 0.9.4, "Tyrannosaurus Rex"
3096 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3098 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3099 (gst_file_sink_get_current_offset):
3100 Use fseeko() and ftello() if available. When falling back on
3101 lseek() to get the current offset, fflush() first to make sure
3102 everything is up-to-date and we get the right offset.
3104 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3106 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3107 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3108 * gst/gsterror.c: (_gst_stream_errors_init):
3110 * gst/gstqueue.c: (gst_queue_loop):
3112 remove prematurely added error category and clean up the instances
3114 2005-10-21 Wim Taymans <wim@fluendo.com>
3116 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3117 (gst_base_sink_get_position), (gst_base_sink_query),
3118 (gst_base_sink_change_state):
3119 Simply set the right flag when going to playing, that's all
3120 we need to do instead of calling a function inside the object
3121 lock (that could take the lock as well and deadlock)
3123 2005-10-21 Wim Taymans <wim@fluendo.com>
3125 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3126 (gst_base_src_loop):
3127 Don't warn, the peer element knows what to do best when
3128 the seek failed, it might try something else.
3130 2005-10-21 Wim Taymans <wim@fluendo.com>
3132 * gst/base/gstbasesrc.c: (gst_base_src_init),
3133 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3136 2005-10-21 Wim Taymans <wim@fluendo.com>
3138 * docs/design/part-segments.txt:
3141 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3142 Correctly set caps, even on the subbufer.
3144 2005-10-21 Wim Taymans <wim@fluendo.com>
3146 * docs/gst/gstreamer-docs.sgml:
3147 * docs/gst/gstreamer-sections.txt:
3154 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3158 And 2% more doc coverage.
3160 2005-10-21 Andy Wingo <wingo@pobox.com>
3162 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3165 2005-10-20 Wim Taymans <wim@fluendo.com>
3167 * gst/gsterror.c: (gst_error_get_message):
3170 * gst/gststructure.c:
3175 2005-10-20 Wim Taymans <wim@fluendo.com>
3180 Another 1% more coverage.
3182 2005-10-20 Wim Taymans <wim@fluendo.com>
3184 * docs/gst/gstreamer-sections.txt:
3185 * gst/gstelement.c: (gst_element_get_state_func),
3186 (gst_element_abort_state), (gst_element_commit_state),
3187 (gst_element_lost_state):
3189 * gst/gstquery.c: (gst_query_set_position),
3190 (gst_query_parse_position), (gst_query_set_duration),
3191 (gst_query_parse_duration), (gst_query_new_convert):
3193 Yay! 1% more docs coverage.
3195 2005-10-20 Wim Taymans <wim@fluendo.com>
3198 * gst/gstquery.c: (gst_query_set_position),
3199 (gst_query_parse_position), (gst_query_set_duration),
3200 (gst_query_parse_duration), (gst_query_new_convert):
3202 * gst/gstutils.c: (gst_element_query_convert):
3204 Docs and consistency fixes.
3206 2005-10-20 Wim Taymans <wim@fluendo.com>
3212 2005-10-20 Wim Taymans <wim@fluendo.com>
3214 * gst/gstbin.c: (message_check), (bin_replace_message),
3215 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3216 (update_degree), (gst_bin_sort_iterator_next),
3217 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3218 Reworked the message handling a bit, cache the messages instead of
3219 only the senders. alows us to do more in the future.
3221 2005-10-20 Wim Taymans <wim@fluendo.com>
3223 * docs/design/part-TODO.txt:
3226 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3227 (gst_base_sink_query):
3228 Don't use clock time to report position when in EOS.
3230 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3232 * tools/gst-inspect.c: (print_interfaces),
3233 (print_element_properties_info), (print_element_info):
3234 Fix interface output with gst-inspect -a; don't print
3235 newlines after double/float properties.
3237 2005-10-20 Wim Taymans <wim@fluendo.com>
3239 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3240 (gst_base_sink_query):
3241 Speed up current position calculation.
3243 * gst/base/gstbasesrc.c: (gst_base_src_query),
3244 (gst_base_src_default_newsegment):
3245 Correctly set stream position in newsegment.
3247 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3248 (update_degree), (gst_bin_sort_iterator_next),
3249 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3250 * gst/gstmessage.c: (gst_message_new_custom):
3251 Clean up debugging info
3253 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3254 (gst_queue_loop), (gst_queue_handle_src_query):
3257 2005-10-19 Wim Taymans <wim@fluendo.com>
3259 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3260 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3261 Fix query handling again.
3263 2005-10-19 Wim Taymans <wim@fluendo.com>
3265 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3266 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3267 * gst/base/gstbasesrc.c: (gst_base_src_query):
3268 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3269 * gst/elements/gsttypefindelement.c:
3270 (gst_type_find_handle_src_query), (find_element_get_length),
3271 (gst_type_find_element_activate):
3274 * gst/gstquery.c: (gst_query_new_position),
3275 (gst_query_set_position), (gst_query_parse_position),
3276 (gst_query_new_duration), (gst_query_set_duration),
3277 (gst_query_parse_duration), (gst_query_set_segment),
3278 (gst_query_parse_segment):
3280 Bundling query position/duration is not a good idea since duration
3281 does not change much and we don't want to recalculate it for every
3282 position query, so they are separated again..
3283 Base value in segment query is not needed.
3285 * gst/gstqueue.c: (gst_queue_handle_src_query):
3286 * gst/gstutils.c: (gst_element_query_position),
3287 (gst_element_query_duration), (gst_pad_query_position),
3288 (gst_pad_query_duration):
3290 Updates for query API change.
3291 Added some docs here and there.
3293 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3295 * check/gst/gstbin.c: (GST_START_TEST):
3296 * check/gst/gstghostpad.c: (GST_START_TEST):
3297 * check/pipelines/cleanup.c: (GST_START_TEST):
3298 wait on thread to die so we can check refcount correctly
3300 2005-10-18 Wim Taymans <wim@fluendo.com>
3302 * check/pipelines/stress.c: (GST_START_TEST):
3303 Make check a little more time consuming.
3305 2005-10-18 Wim Taymans <wim@fluendo.com>
3307 * check/Makefile.am:
3308 * check/pipelines/stress.c: (GST_START_TEST),
3309 (simple_launch_lines_suite), (main):
3310 Small state change torture test.
3312 * docs/design/part-states.txt:
3313 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3314 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
3315 (gst_base_sink_change_state):
3316 Never take state lock from streaming thread, clean up ugly
3317 hacks. Unfortunatly core does not yet support nice ways to
3320 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
3322 Start state recalc if a STATE_DIRTY message is posted, but only
3323 on the toplevel bin.
3325 * gst/gstelement.c: (gst_element_sync_state_with_parent),
3326 (gst_element_get_state_func), (gst_element_abort_state),
3327 (gst_element_commit_state), (gst_element_lost_state),
3328 (gst_element_set_state_func), (gst_element_change_state):
3330 State variables are now protected with the LOCK, the state
3331 lock is only used to serialize _set_state().
3333 2005-10-18 Wim Taymans <wim@fluendo.com>
3335 * check/gst/gstbin.c: (GST_START_TEST):
3336 * check/gst/gstmessage.c: (GST_START_TEST):
3337 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3338 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
3340 * gst/gstelement.c: (gst_element_abort_state),
3341 (gst_element_commit_state), (gst_element_lost_state):
3342 * gst/gstmessage.c: (gst_message_new_state_changed),
3343 (gst_message_new_state_dirty), (gst_message_new_segment_start),
3344 (gst_message_new_segment_done), (gst_message_new_duration),
3345 (gst_message_parse_state_changed),
3346 (gst_message_parse_segment_start),
3347 (gst_message_parse_segment_done), (gst_message_parse_duration):
3349 * tools/gst-launch.c: (event_loop):
3350 Seriously, this is better than a previous commit as we only need
3351 to notify the fact that an element changed state in a streaming
3352 thread, marking the state of the parents dirty, hence the
3353 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
3356 2005-10-18 Wim Taymans <wim@fluendo.com>
3358 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3359 (gst_bin_recalc_func):
3360 * gst/gstelement.c: (gst_element_set_clock),
3361 (gst_element_abort_state), (gst_element_lost_state):
3362 Cleanups, prepare for state change fixes.
3364 2005-10-18 Wim Taymans <wim@fluendo.com>
3367 * gst/gstelement.c: (gst_element_class_init),
3368 (gst_element_set_state), (gst_element_set_state_func):
3370 Pending ABI changes.
3371 GThreadPool in GstBinClass to monitor async state changes.
3372 state_cookie in GstElement to detect concurrent gst/set state.
3373 set_state is now virtual too in case a very complicated element
3374 has to be constructed.
3376 2005-10-18 Wim Taymans <wim@fluendo.com>
3378 * check/gst/gstbin.c: (GST_START_TEST):
3379 * check/gst/gstmessage.c: (GST_START_TEST):
3380 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
3381 * gst/gstbin.c: (bin_bus_handler):
3382 * gst/gstelement.c: (gst_element_commit_state),
3383 (gst_element_lost_state):
3384 * gst/gstmessage.c: (gst_message_new_state_changed),
3385 (gst_message_new_segment_start), (gst_message_new_segment_done),
3386 (gst_message_new_duration), (gst_message_parse_state_changed),
3387 (gst_message_parse_segment_start),
3388 (gst_message_parse_segment_done), (gst_message_parse_duration):
3390 * tools/gst-launch.c: (event_loop):
3391 Make messages future proof.
3392 state-change gets a flag if it was a message comming from the
3394 segment-start/stop can also be specified in other formats.
3395 A message to notify an app that a pipeline changed playback
3397 Also fix a GstMessage leak in -launch
3399 2005-10-18 Andy Wingo <wingo@pobox.com>
3401 * gst/gstelement.c (gst_element_dispose): More helpful message.
3403 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3405 reviewed by: <delete if not using a buddy>
3407 * common/gtk-doc.mak:
3409 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
3411 * gst/gstregistry.c: (gst_registry_scan_path_level):
3412 unref a plug-in we get that was already initialized
3414 2005-10-18 Stefan Kost <ensonic@users.sf.net>
3416 * docs/gst/gstreamer-sections.txt:
3417 * docs/libs/gstreamer-libs-sections.txt:
3422 2005-10-17 Andy Wingo <wingo@pobox.com>
3424 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
3427 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
3429 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
3431 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
3432 (gst_element_get_state_func): Better debug message.
3433 (gst_element_commit_state): s/INFO/DEBUG/.
3434 (gst_element_lost_state, gst_element_change_state):
3436 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
3437 (gst_message_new_custom): s/INFO/LOG/.
3439 2005-10-17 Michael Smith <msmith@fluendo.com>
3441 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3442 Check if end time is valid using end time, not start time.
3444 2005-10-17 Stefan Kost <ensonic@users.sf.net>
3446 * check/gst-libs/controller.c: (GST_START_TEST),
3447 (gst_controller_suite):
3448 * libs/gst/controller/gstcontroller.c:
3449 (gst_controlled_property_set_interpolation_mode):
3450 * libs/gst/controller/gstcontroller.h:
3451 * libs/gst/controller/gstinterpolation.c:
3452 * testsuite/controller/.cvsignore:
3453 * testsuite/controller/Makefile.am:
3454 * testsuite/controller/interpolator.c:
3455 merge controller testsuites
3457 remove mem-chunk from docs
3459 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3461 * gst/gstmemchunk.c:
3462 * gst/gstmemchunk.h:
3463 * gst/gsttrashstack.c:
3464 * gst/gsttrashstack.h:
3465 out. get out. you're fired. to the Attic !
3467 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
3469 * gst/gstcaps.c: (gst_caps_intersect):
3470 fix signedness issues in a (hopefully) correct way
3471 * gst/gstelement.c: (gst_element_pads_activate):
3473 * gst/gstobject.c: (gst_object_set_parent):
3476 2005-10-17 Julien MOUTTE <julien@moutte.net>
3478 * gst/gstvalue.h: Fix prototypes.
3480 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3482 * docs/gst/gstreamer-sections.txt:
3483 * gst/gst.c: (gst_version_string):
3485 * gst/gstversion.h.in:
3486 * win32/common/libgstreamer.def:
3487 add gst_version_string ()
3489 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3493 * gst/gst.c: (init_post):
3494 * win32/common/config.h.in:
3496 * gst/gstcaps.c: (gst_caps_intersect):
3497 use gint64, the range could be bigger than a guint
3499 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3502 document potential problem in 2038
3504 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3506 * gst/gstcaps.c: (gst_caps_intersect):
3507 Fix guint j diving under 0
3509 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3512 * win32/common/config.h:
3513 * win32/common/config.h.in:
3514 check for process.h, declares getpid() on Windows
3516 include process.h if we have it
3517 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
3518 * gst/gstmemchunk.h:
3519 fix signedness issues
3520 * win32/common/libgstreamer.def:
3523 2005-10-16 Julien MOUTTE <julien@moutte.net>
3525 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
3526 fix. Because of unsigned ints, caps intersection was going nuts and
3527 trying to access structures with G_MAXUINT index. That fixes
3528 videotestsrc ! ffmpegcolorspace ! fakesink
3529 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
3532 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3535 use the gettext macro
3536 * gst/elements/gstelements.c:
3538 * gst/indexers/gstindexers.c:
3539 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
3540 * win32/common/config.h:
3542 * win32/common/config.h.in:
3543 add the template to generate config.h
3544 * win32/common/gstenumtypes.c:
3545 * win32/common/gstversion.h:
3548 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
3550 * gst/gst.c: (gst_version):
3551 * gst/gstversion.h.in:
3554 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3557 Oops, add missing closing bracket.
3559 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3562 use common m4's for argument checking
3564 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
3566 * docs/gst/gstreamer-sections.txt:
3568 Add GST_EVENT_TYPE_NAME() macro.
3570 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3573 * gst/gstpluginfeature.c:
3575 privatize more symbols
3577 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3580 add srcdir, builddir includes to GST_ALL_CFLAGS, since
3581 everything that uses GStreamer API should have the includes
3583 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3585 * docs/gst/gstreamer-sections.txt:
3586 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3588 give each value a _get_type, removes the DATA exports
3590 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3594 remove _gst_registry_auto_load, not used anymore
3595 * gst/gstbin.c: (gst_bin_get_type):
3597 * gst/gstelement.c: (gst_element_get_type):
3599 * gst/gstobject.c: (gst_object_get_type):
3601 * gst/gstpad.c: (gst_pad_get_type):
3603 make _get_type functions similar, fixes data export from library
3605 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3608 correctly make conditionals
3609 * gst/elements/Makefile.am:
3610 * gst/elements/gstelements.c:
3611 fix typo causing fdsrc not to build
3613 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3615 * testsuite/Makefile.am:
3616 * testsuite/bytestream/.cvsignore:
3617 * testsuite/bytestream/Makefile.am:
3618 * testsuite/bytestream/filepadsink.c:
3619 * testsuite/bytestream/gstbstest.c:
3620 * testsuite/bytestream/test1.c:
3621 * testsuite/bytestream/testfile1:
3622 * testsuite/caps/normalisation.c:
3623 * testsuite/caps/random.c: (main):
3624 * testsuite/cleanup/.cvsignore:
3625 * testsuite/cleanup/Makefile.am:
3626 * testsuite/cleanup/cleanup1.c:
3627 * testsuite/cleanup/cleanup2.c:
3628 * testsuite/cleanup/cleanup3.c:
3629 * testsuite/cleanup/cleanup4.c:
3630 * testsuite/cleanup/cleanup5.c:
3631 * testsuite/controller/interpolator.c:
3632 * testsuite/debug/printf_extension.c: (main):
3633 * testsuite/elements/tee.c:
3634 * testsuite/negotiation/.cvsignore:
3635 * testsuite/negotiation/Makefile.am:
3636 * testsuite/negotiation/pad_link.c:
3637 * testsuite/pad/Makefile.am:
3638 * testsuite/pad/chainnopull.c:
3639 * testsuite/pad/getnopush.c:
3640 * testsuite/pad/link.c:
3641 * testsuite/refcounting/sched.c: (create_pipeline):
3642 * testsuite/registry/Makefile.am:
3643 * testsuite/registry/gst-print-formats.c:
3644 * testsuite/schedulers/.cvsignore:
3645 * testsuite/schedulers/142183-2.c:
3646 * testsuite/schedulers/142183.c:
3647 * testsuite/schedulers/143777-2.c:
3648 * testsuite/schedulers/143777.c:
3649 * testsuite/schedulers/147713.c:
3650 * testsuite/schedulers/147819.c:
3651 * testsuite/schedulers/147894-2.c:
3652 * testsuite/schedulers/147894.c:
3653 * testsuite/schedulers/Makefile.am:
3654 * testsuite/schedulers/group_link.c:
3655 * testsuite/schedulers/queue_link.c:
3656 * testsuite/schedulers/relink.c:
3657 * testsuite/schedulers/unlink.c:
3658 * testsuite/schedulers/unref.c:
3659 * testsuite/schedulers/useless_iteration.c:
3660 * testsuite/states/bin.c:
3661 clean out/remove some stuff from the testsuite directories
3663 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3666 check for some headers
3667 * gst/elements/Makefile.am:
3668 * gst/elements/gstelements.c:
3669 don't compile fdsrc without sys/socket.h
3670 * gst/indexers/Makefile.am:
3671 * gst/indexers/gstindexers.c: (plugin_init):
3672 don't compile fileindex without mmap
3674 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
3681 * check/Makefile.am:
3682 * docs/gst/Makefile.am:
3683 * examples/helloworld/Makefile.am:
3685 * gst/base/Makefile.am:
3686 * gst/check/Makefile.am:
3687 * gst/elements/Makefile.am:
3688 * gst/indexers/Makefile.am:
3689 * gst/parse/Makefile.am:
3690 * libs/gst/controller/Makefile.am:
3691 * libs/gst/dataprotocol/Makefile.am:
3692 * examples/helloworld/helloworld.c: (event_loop):
3693 compile fixes, though it's not being compiled currently
3695 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3697 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
3698 Add some simple tests for the new taglist date API.
3700 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3702 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
3703 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
3704 Beautify 'last-message' output: print 'none' for buffer timestamps
3705 and durations if none is set; improve alignment with next messages.
3707 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
3709 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
3710 * gst/gstpluginfeature.h:
3711 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
3712 * gst/gstregistry.h:
3713 * docs/gst/gstreamer-sections.txt:
3714 Add new API to check plugin feature version requirements.
3716 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
3717 Some basic tests for the above.
3719 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3721 * gst/gststructure.c: (gst_structure_to_string):
3722 guard against NULL printf - happens when for example
3723 a message structure with GstClock gets serialized
3725 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3727 * gst/base/gstcollectpads.c: (gst_collectpads_event):
3728 Fix presumable copy'n'pasto.
3730 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3732 * gst/elements/gstfakesrc.h:
3733 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
3734 * gst/elements/gsttypefindelement.c:
3736 * gst/elements/gstfilesink.c: (gst_file_sink_render):
3737 I wonder if this could actually write +2GB files before
3739 2005-10-13 Andy Wingo <wingo@pobox.com>
3741 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
3742 Fix Timmeke Waymans bug.
3743 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
3744 string of the proper length to gst_caps_from_string. There's a
3745 potential for, before this fix, that this could cause someone
3746 connecting over the network to cause a segfault if the payload is
3749 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3751 * docs/design/draft-push-pull.txt:
3752 * docs/design/part-overview.txt:
3753 * docs/random/TODO-pre-0.9:
3754 * docs/random/old/ChangeLog.gstreamer:
3755 * gst/base/gstpushsrc.c:
3759 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3761 * gst/glib-compat.c: (gst_flags_get_first_value):
3762 * gst/glib-compat.h:
3763 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
3764 (gst_value_compare_double), (gst_value_serialize_flags):
3765 GLib 2.6 g_flags_get_first_value has a bug that triggers an
3768 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3770 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3771 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3773 * tools/gst-launch.c: (event_loop):
3774 print out clock nicely
3776 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
3778 * docs/gst/gstreamer-sections.txt:
3780 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
3781 (gst_tag_list_get_date_index):
3782 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
3783 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
3785 2005-10-13 Julien MOUTTE <julien@moutte.net>
3787 * gst/base/gstcollectpads.c: (gst_collectpads_event),
3788 (gst_collectpads_chain):
3789 * gst/base/gstcollectpads.h: Handle newsegment and store informations
3792 2005-10-13 Stefan Kost <ensonic@users.sf.net>
3794 * docs/gst/gstreamer-sections.txt:
3797 * tools/gst-inspect.c: (main):
3798 * tools/gst-launch.c: (main):
3799 * tools/gst-run.c: (main):
3800 * tools/gst-xmlinspect.c: (main):
3801 fix GOption context leaks
3804 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3808 * win32/common/config.h:
3810 * win32/vs6/grammar.dsp:
3811 * win32/vs6/libgstelements.dsp:
3812 * win32/vs6/libgstreamer.dsp:
3815 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3818 * gst/base/gstbasesrc.c: (gst_base_src_query):
3819 fix more guint64<->gdouble conversions
3821 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3824 add win32-update target
3825 * win32/common/gstconfig.h:
3826 * win32/common/gstenumtypes.c:
3827 * win32/common/gstenumtypes.h:
3828 * win32/common/gstversion.h:
3829 add files that visual studio can't generate
3831 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
3834 add a win32-update target
3837 2005-10-12 Wim Taymans <wim@fluendo.com>
3839 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3840 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
3841 * gst/gstelement.c: (gst_element_commit_state),
3842 (gst_element_set_state):
3843 Protect flags with proper lock.
3844 unref provided cached clock in dispose.
3846 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3849 * gst/gstminiobject.h:
3851 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
3852 removed unused flags from miniobject
3855 2005-10-12 Wim Taymans <wim@fluendo.com>
3857 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3858 (gst_file_sink_event), (gst_file_sink_render):
3859 Flush before seeking.
3861 2005-10-12 Andy Wingo <wingo@pobox.com>
3863 * gst/gst.c (gst_init_check): Ignore unknown options, as has
3864 always been the case.
3866 2005-10-12 Stefan Kost <ensonic@users.sf.net>
3868 * check/gst/gstbin.c: (GST_START_TEST):
3869 * docs/gst/gstreamer-sections.txt:
3870 * gst/base/gstbasesink.c: (gst_base_sink_init):
3871 * gst/base/gstbasesrc.c: (gst_base_src_init),
3872 (gst_base_src_get_range), (gst_base_src_check_get_range),
3873 (gst_base_src_start), (gst_base_src_stop):
3874 * gst/base/gstbasesrc.h:
3875 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
3876 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3877 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
3881 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
3883 * gst/gstelement.c: (gst_element_is_locked_state),
3884 (gst_element_set_locked_state), (gst_element_commit_state),
3885 (gst_element_set_state):
3887 * gst/gstindex.c: (gst_index_init):
3889 * gst/gstminiobject.h:
3890 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
3891 (gst_object_set_parent):
3893 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
3894 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
3896 * gst/gstpadtemplate.h:
3897 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
3898 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3899 * gst/gstpipeline.h:
3900 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3901 (gst_file_index_commit):
3902 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
3903 * testsuite/pad/link.c: (gst_test_src_init),
3904 (gst_test_filter_init), (gst_test_sink_init):
3905 * testsuite/states/locked.c: (main):
3906 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
3907 moved bitshift from macro to enum definition
3909 2005-10-12 Wim Taymans <wim@fluendo.com>
3911 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
3912 * gst/elements/gstfilesink.c: (gst_file_sink_event),
3913 (gst_file_sink_render):
3914 Some more debugging info.
3916 2005-10-12 Wim Taymans <wim@fluendo.com>
3918 * docs/design/part-states.txt:
3919 * tools/gst-launch.c: (main):
3921 Revert non-intentional change.
3923 2005-10-12 Wim Taymans <wim@fluendo.com>
3925 * check/gst/gstbin.c: (GST_START_TEST):
3926 * check/gst/gstelement.c: (GST_START_TEST):
3927 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
3928 * check/gst/gstghostpad.c: (GST_START_TEST):
3929 * check/gst/gstpipeline.c: (GST_START_TEST):
3930 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3931 * check/states/sinks.c: (GST_START_TEST):
3932 * gst/elements/gsttypefindelement.c: (stop_typefinding):
3933 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3934 (gst_bin_remove_func), (gst_bin_get_state_func),
3935 (gst_bin_recalc_state), (gst_bin_change_state_func),
3937 * gst/gstelement.c: (gst_element_get_state_func),
3938 (gst_element_get_state), (gst_element_abort_state),
3939 (gst_element_commit_state), (gst_element_set_state),
3940 (gst_element_change_state), (gst_element_change_state_func):
3942 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
3943 (gst_pipeline_provide_clock_func):
3944 * gst/gstutils.c: (gst_element_link_pads_filtered):
3945 * tools/gst-launch.c: (main):
3946 * tools/gst-typefind.c: (main):
3947 Use GstClockTime in _get_state() instead of GTimeVal.
3948 Remove old code in gstutils.c
3950 2005-10-12 Andy Wingo <wingo@pobox.com>
3952 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
3955 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
3956 there is no task. Shouldn't affect any code, as nothing in our
3957 plugins checks this return value.
3958 (gst_pad_stop_task): Also take the stream lock if the pad has no
3961 2005-10-12 Wim Taymans <wim@fluendo.com>
3963 * gst/gstpad.c: (pre_activate), (post_activate),
3964 (gst_pad_activate_pull), (gst_pad_activate_push):
3965 Cleanup activation code. Reset old state if
3968 2005-10-12 Wim Taymans <wim@fluendo.com>
3970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3971 (gst_base_sink_change_state):
3972 No need to prerol after receiving EOS.
3974 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3975 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
3976 * gst/elements/gstidentity.c: (gst_identity_event):
3977 Print events more verbosely.
3979 2005-10-12 Wim Taymans <wim@fluendo.com>
3981 * check/Makefile.am:
3982 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3983 * check/states/sinks2.c:
3984 Moved sinks2 testcode in sinks check.
3986 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
3987 (gst_bin_remove_func), (gst_bin_recalc_state),
3988 (gst_bin_change_state_func), (bin_bus_handler):
3989 Fix potential race condition when _get_state() iterated over an
3990 ASYNC element right before it posted a state completion.
3993 Do proper cast here.
3995 * gst/gstevent.c: (gst_event_new_newsegment),
3996 (gst_event_parse_newsegment):
3997 A playback rate of 0.0 is not allowed.
3999 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4001 * win32/common/config.h:
4002 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4003 (_trewinddir), (_ttelldir), (_tseekdir):
4004 * win32/common/dirent.h:
4005 * win32/common/gtchar.h:
4006 * win32/common/libgstbase.def:
4007 * win32/common/libgstreamer.def:
4008 * win32/vs6/grammar.dsp:
4009 * win32/vs6/gst_inspect.dsp:
4010 * win32/vs6/gst_launch.dsp:
4011 * win32/vs6/gstreamer.dsw:
4012 * win32/vs6/libgstbase.dsp:
4013 * win32/vs6/libgstelements.dsp:
4014 * win32/vs6/libgstreamer.dsp:
4015 Visual Studio 6 project files, and a new common directory.
4018 2005-10-11 Wim Taymans <wim@fluendo.com>
4020 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4021 (gst_base_sink_do_sync), (gst_base_sink_query),
4022 (gst_base_sink_change_state):
4023 * gst/base/gstbasesink.h:
4024 Correctly parse newsegment info.
4026 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4028 * gst/gst.c: (init_post):
4029 split plugin paths correctly
4031 2005-10-11 Wim Taymans <wim@fluendo.com>
4033 * check/gst/gstevent.c: (GST_START_TEST):
4034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4035 (gst_base_sink_change_state):
4036 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4037 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4038 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4039 * gst/gstevent.c: (gst_event_new_newsegment),
4040 (gst_event_parse_newsegment):
4042 Added extra flag to newsegment for future API freeze.
4043 Updated check and base elements.
4045 2005-10-11 Julien MOUTTE <julien@moutte.net>
4047 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4048 (gst_collectpads_add_pad), (gst_collectpads_pop),
4049 (gst_collectpads_event), (gst_collectpads_chain):
4050 * gst/base/gstcollectpads.h: Handle EOS correctly.
4052 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4054 * tools/gst-launch.c: (main):
4055 more null protecting
4057 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4059 * gst/gst-i18n-lib.h:
4060 check for ENABLE_NLS, not GETTEXT_PACKAGE
4061 * gst/gstregistry.c: (gst_registry_add_plugin),
4062 (gst_registry_scan_path_level),
4063 (_gst_registry_remove_cache_plugins):
4064 protect possibly NULL strings
4065 * gst/parse/types.h:
4066 config.h already included before
4067 * tools/gst-inspect.c: (main):
4068 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4069 check for ENABLE_NLS, not GETTEXT_PACKAGE
4070 * tools/gst-launch.c: (main):
4071 check for ENABLE_NLS, not GETTEXT_PACKAGE
4073 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4076 if we don't have glib, fail before testing 2.8
4077 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4078 fix a leak, should fix plugins-base testsuite
4080 2005-10-11 Andy Wingo <wingo@pobox.com>
4082 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4083 take the mode we're going to as an arg. Go head and set the mode
4084 and flushing flags now, so that if the activate function starts a
4085 thread all the flags will be in the right state.
4086 (post_activate): Renamed also. Just handle making sure streaming
4087 finishes for the deactivation case, and setting the deactivated
4089 (gst_pad_set_active): Complain loudly if deactivation fails.
4090 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4091 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4092 remove the terrible hack.
4094 2005-10-11 Wim Taymans <wim@fluendo.com>
4096 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4097 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4098 (gst_bin_recalc_state), (gst_bin_change_state_func),
4099 (gst_bin_dispose), (bin_bus_handler):
4101 Prepare to make current EOS message queue more generic.
4104 * gst/gstevent.c: (gst_event_new_newsegment),
4105 (gst_event_parse_newsegment):
4107 Rename base to stream_time.
4112 2005-10-11 Wim Taymans <wim@fluendo.com>
4114 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4115 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4116 (gst_bin_change_state_func), (bin_bus_handler):
4118 Work on proper clock selection.
4120 2005-10-11 Edward Hervey <edward@fluendo.com>
4122 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4123 * libs/gst/controller/gstcontroller.h:
4124 Added GList* version of _remove_properties() in order to be able to wrap
4127 2005-10-11 Wim Taymans <wim@fluendo.com>
4129 * docs/design/part-states.txt:
4132 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4133 (gst_bin_change_state_func), (bin_bus_handler):
4134 Doc updates. Don't distribute the same clock over and over again.
4140 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4141 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4142 (gst_pad_send_event):
4144 Make probe emission threadsafe again.
4145 Register quarks and move _get_name() from utils.
4148 * gst/gstpipeline.c: (gst_pipeline_class_init),
4149 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4150 Only redistribute the clock of it changed.
4152 * gst/gstsystemclock.h:
4157 Moved the _flow_get_name() to GstPad.
4159 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4161 * check/gst-libs/gdp.c: (GST_START_TEST):
4162 * check/gst/gstcaps.c: (GST_START_TEST):
4163 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4164 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4165 (gst_dp_packet_from_caps):
4166 fix more valgrind warnings before turning up the heat
4168 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4170 * gst/parse/grammar.y:
4171 some cleanup before the hacking
4173 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4175 * gst/base/gstbasesrc.c: (gst_base_src_query):
4177 * gst/gstutils.c: (gst_guint64_to_gdouble),
4178 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4180 externalize, basesrc uses it
4181 obviously the implementation needs testing
4183 2005-10-10 Wim Taymans <wim@fluendo.com>
4185 * tests/sched/Makefile.am:
4186 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4187 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4189 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4191 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4192 apparently converting from guint64 to double is not implemented
4195 2005-10-10 Wim Taymans <wim@fluendo.com>
4197 * check/Makefile.am:
4198 * check/generic/states.c: (GST_START_TEST):
4199 * check/gst/gstbin.c: (GST_START_TEST):
4200 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4201 * check/states/sinks.c: (GST_START_TEST):
4202 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4204 Check fixes, use API as stated in design docs, remove hacks.
4206 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4207 (gst_base_sink_change_state):
4208 Catch stopping our task while we're shutting down.
4210 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4211 (gst_bin_remove_func), (gst_bin_get_state_func),
4212 (gst_bin_recalc_state), (gst_bin_change_state_func),
4215 * gst/gstelement.c: (gst_element_init),
4216 (gst_element_get_state_func), (gst_element_abort_state),
4217 (gst_element_commit_state), (gst_element_lost_state),
4218 (gst_element_set_state), (gst_element_change_state),
4219 (gst_element_change_state_func):
4221 New state change algorithm (see #318116)
4223 * gst/gstpipeline.c: (gst_pipeline_class_init),
4224 (gst_pipeline_init), (gst_pipeline_set_property),
4225 (gst_pipeline_get_property), (do_pipeline_seek),
4226 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4227 * gst/gstpipeline.h:
4228 Remove crude state change hacks.
4233 * tools/gst-launch.c: (main):
4234 Fixes for state change. Needs some more work to fully use the
4237 2005-10-10 Andy Wingo <wingo@pobox.com>
4239 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4241 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4242 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4245 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4247 * gst/gstiterator.c: (gst_iterator_new):
4248 Fix my previous commit: GTypes passed to gst_iterator_new()
4249 can be fundamental types.
4251 2005-10-10 Wim Taymans <wim@fluendo.com>
4253 * gst/gstelement.c: (gst_element_iterate_pad_list),
4254 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4255 (gst_element_iterate_sink_pads):
4256 Use src/sink pads lists for the respective iterators instead
4259 2005-10-10 Andy Wingo <wingo@pobox.com>
4261 Merged in popt removal + GOption addition patch from Ronald, bug
4264 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4265 GstElement macros around, remove popt-related symbols, add goption
4268 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4270 * docs/gst/Makefile.am:
4271 * docs/libs/Makefile.am: No POPT_CFLAGS.
4273 * examples/manual/Makefile.am:
4274 * docs/manual/basics-init.xml: Doc updates with an example.
4276 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4277 (gst_init), (parse_one_option), (parse_goption_arg):
4278 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4279 bit of hand merging and debugging to get the GOption stuff working
4282 * tests/Makefile.am:
4283 * tools/Makefile.am:
4284 * tools/gst-inspect.c: (main):
4285 * tools/gst-launch.c: (main):
4286 * tools/gst-run.c: (main):
4287 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4289 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4291 * gst/gstiterator.c: (gst_iterator_new):
4292 Add assertions to make sure passed GType is likely to really
4293 be a GType (as the compiler won't catch it if the size and
4294 GType arguments get mixed up, see #318447).
4296 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4298 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4300 * gst/gstbin.c: (gst_bin_iterate_sorted):
4301 Pass GType and size arguments to gst_iterator_new() in the right
4302 order (maybe we should make _new() take the GType as first argument
4303 just like _new_list()?) (#318447).
4306 2005-10-10 Wim Taymans <wim@fluendo.com>
4308 * gst/gstelement.c: (gst_element_finalize):
4309 And free the GStaticRecMutex too
4311 2005-10-10 Andy Wingo <wingo@pobox.com>
4313 * gst/gstelement.c (gst_element_init, gst_element_finalize):
4314 Allocate and free the mutex properly.
4316 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
4318 (GstElement): The state_lock is now recursive. Rebuild your
4319 plugins, suckers. Old macros adapted.
4321 * docs/gst/gstreamer-sections.txt: Doc updates.
4324 * gst/gstutils.c (g_static_rec_cond_timed_wait)
4325 (g_static_rec_cond_wait): Ported from state changes patch, while
4326 we wait on bug #317802 to be solved in a well-distributed GLib.
4328 * gst/gstelement.c (gst_element_change_state_func): Renamed from
4329 gst_element_change_state, variable name changes.
4330 (gst_element_change_state): Split out of gst_element_set_state in
4331 preparation for the state change merge. Doesn't pay attention to
4332 the 'transition' argument.
4333 (gst_element_set_state): Updates, hopefully purely cosmetic.
4334 (gst_element_sync_state_with_parent): MT-safety. Ported from the
4336 (gst_element_get_state_func): Renamed from get_state, cosmetic
4339 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4341 * gst/elements/gstelements.c:
4342 * win32/GStreamer.vcproj:
4344 * win32/dirent.c: (_tseekdir):
4345 * win32/gst-inspect.vcproj:
4346 * win32/gst-launch.vcproj:
4347 * win32/gstconfig.h:
4348 * win32/gstelements.vcproj:
4349 * win32/gstenumtypes.c: (gst_object_flags_get_type):
4350 * win32/gstreamer.def:
4352 updates for the win32 build (patch from Sebastien Moutte)
4354 2005-10-10 Andy Wingo <wingo@pobox.com>
4356 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
4357 gst_bin_get_state, cleaned up (but no logic changes).
4358 (bin_element_is_sink): Comment updates.
4359 (sink_iterator_filter): Remove needless cast.
4360 (gst_bin_iterate_sinks): Doc update.
4361 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
4362 cleaned up (but no logic changes).
4364 * check/states/sinks.c (test_src_sink): Cleanups from the state
4366 (test_livesrc_sink): Sync on the state.
4368 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
4369 the state change patch.
4371 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
4374 * check/gst/gstbin.c: Merge in some style fixes and additional
4375 checks from Wim's state change patch.
4377 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4379 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4380 (gst_type_find_helper):
4381 Check whether we have the requested data already in our list of
4382 cached buffers before pulling a new buffer; also make the buffer
4383 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
4385 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4390 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4391 don't use long long, it's not portable. Replacing with
4392 gint64 seems to work; let's hope no skeletons fall out of the closet.
4394 2005-10-10 Andy Wingo <wingo@pobox.com>
4396 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
4398 2005-10-09 Stefan Kost <ensonic@users.sf.net>
4400 * docs/gst/gstreamer-sections.txt:
4405 * gst/gstmessage.c: (gst_message_parse_state_changed):
4408 more docs, fix compilation
4410 2005-10-09 Philippe Khalaf <burger@speedy.org>
4412 Fixed a few forgotten variables on previous commit
4414 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
4416 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4417 Fix evil typefind crasher: getrange() might return a short
4418 buffer at the end of a file, but gst_type_find_peek() must
4419 either return the full data as requested or NULL, but
4420 never a short buffer.
4422 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
4424 * gst/gstmessage.c: (gst_message_new_state_changed),
4425 (gst_message_parse_state_changed):
4427 don't use "new", it's a C++ keyword
4429 2005-10-08 Wim Taymans <wim@fluendo.com>
4431 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
4432 * gst/gstelement.c: (gst_element_post_message):
4433 * gst/gstpipeline.c: (gst_pipeline_change_state):
4434 Small docs and debug updates.
4436 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4438 * docs/gst/gstreamer-sections.txt:
4439 * gst/gstelementfactory.c:
4444 2005-10-08 Wim Taymans <wim@fluendo.com>
4446 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
4447 (gst_bin_dispose), (bin_bus_handler):
4448 Fix typos, add comments.
4449 Clear EOS list when going to PAUSED from any direction and do it
4450 in a threadsafe way.
4451 Get base time in a threadsafe way too.
4452 Fix confusing debug in the change_state function.
4453 Various other small cleanups.
4455 * gst/gstelement.c: (gst_element_post_message):
4456 Fix very verbose bus posting code.
4458 * gst/gstpipeline.c: (gst_pipeline_class_init),
4459 (gst_pipeline_set_property), (gst_pipeline_get_property),
4460 (gst_pipeline_change_state):
4461 Small ARG_ -> PROP_ cleanup
4463 2005-10-08 Wim Taymans <wim@fluendo.com>
4465 * gst/gstbin.c: (is_eos), (bin_bus_handler):
4466 Do a less CPU demanding EOS check because we can.
4468 2005-10-08 Wim Taymans <wim@fluendo.com>
4470 * libs/gst/dataprotocol/dataprotocol.c:
4471 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
4472 (gst_dp_packet_from_event):
4473 * libs/gst/dataprotocol/dataprotocol.h:
4474 * libs/gst/dataprotocol/dp-private.h:
4475 It's about time we bump the version number.
4476 Since event types don't fit in the guint8 anymore describing
4477 the payload type, make payload type 16 bits wide.
4479 2005-10-08 Wim Taymans <wim@fluendo.com>
4481 * docs/design/part-TODO.txt:
4482 * docs/design/part-clocks.txt:
4483 * docs/design/part-events.txt:
4484 * docs/design/part-gstbin.txt:
4485 * docs/design/part-gstelement.txt:
4486 * docs/design/part-gstpipeline.txt:
4487 * docs/design/part-live-source.txt:
4488 * docs/design/part-messages.txt:
4489 * docs/design/part-overview.txt:
4490 * docs/design/part-states.txt:
4493 2005-10-08 Wim Taymans <wim@fluendo.com>
4497 Fix event quark registration.
4498 Add some space between events so we can insert them in the
4501 2005-10-08 Wim Taymans <wim@fluendo.com>
4503 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4504 (gst_base_sink_handle_buffer):
4511 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4512 (gst_queue_set_property), (gst_queue_get_property):
4514 Remove old unused properties.
4516 2005-10-08 Stefan Kost <ensonic@users.sf.net>
4517 * docs/gst/gstreamer-sections.txt:
4520 * gst/gstminiobject.c:
4521 * gst/gstminiobject.h:
4525 lots of new docs and doc fixes
4527 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4529 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
4531 * gst/gstregistry.c: (gst_registry_lookup_locked),
4532 (gst_registry_scan_path_level):
4533 * gst/gstregistryxml.c: (load_plugin):
4534 Only ever load one plugin for a given plugin basename.
4535 This ensures correct overriding of GST_PLUGIN_PATH over
4536 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
4537 system installed plugins.
4539 2005-10-08 Wim Taymans <wim@fluendo.com>
4541 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4542 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
4543 Prepare for doing QOS.
4545 2005-10-08 Wim Taymans <wim@fluendo.com>
4547 * check/gst/gstbin.c: (GST_START_TEST):
4548 * check/pipelines/cleanup.c: (GST_START_TEST):
4549 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4550 Allow new clock message too.
4552 2005-10-08 Wim Taymans <wim@fluendo.com>
4554 * gst/gstmessage.c: (gst_message_new_error),
4555 (gst_message_new_warning), (gst_message_new_tag),
4556 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4557 (gst_message_new_clock_lost), (gst_message_new_new_clock),
4558 (gst_message_new_segment_start), (gst_message_new_segment_done),
4559 (gst_message_parse_state_changed),
4560 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
4561 (gst_message_parse_new_clock):
4563 Also carry the clock in question.
4565 2005-10-08 Wim Taymans <wim@fluendo.com>
4567 * gst/gstmessage.c: (gst_message_new_custom),
4568 (gst_message_new_eos), (gst_message_new_error),
4569 (gst_message_new_warning), (gst_message_new_tag),
4570 (gst_message_new_state_changed), (gst_message_new_clock_provide),
4571 (gst_message_new_new_clock), (gst_message_new_segment_start),
4572 (gst_message_new_segment_done), (gst_message_parse_state_changed),
4573 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
4576 Added clock related messages.
4578 * gst/gstpipeline.c: (gst_pipeline_change_state):
4579 Post message when the clock changed.
4581 * tools/gst-launch.c: (event_loop):
4584 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
4586 * tools/gst-inspect.c: (print_element_properties_info):
4587 Can't pass NULL strings to g_print() on windows.
4589 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4592 * docs/gst/Makefile.am:
4593 * docs/gst/gstreamer-docs.sgml:
4594 * docs/gst/running.xml:
4595 * docs/version.entities.in:
4596 add a chapter on running GStreamer.
4597 document GST_DEBUG and GST_PLUGIN* env vars
4599 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4604 remove PLUGINS_BUILDDIR stuff
4605 * gst/gst.c: (init_post):
4606 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
4608 remove, it was condescending and not needed
4610 2005-10-08 Wim Taymans <wim@fluendo.com>
4612 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4613 (gst_base_sink_handle_object), (gst_base_sink_event),
4614 (gst_base_sink_wait), (gst_base_sink_handle_event),
4615 (gst_base_sink_change_state):
4616 * gst/base/gstbasesink.h:
4617 Repost EOS message while going to PLAYING if still EOS.
4618 Make sure that when receiving a FLUSH_START we don't attempt
4619 to sync on the clock anymore.
4621 2005-10-08 Wim Taymans <wim@fluendo.com>
4623 * tools/gst-launch.c: (event_loop):
4624 Better message printout.
4626 2005-10-08 Wim Taymans <wim@fluendo.com>
4628 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
4629 (gst_bin_child_proxy_get_children_count):
4630 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4631 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
4632 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
4633 (gst_child_proxy_set_valist):
4634 * gst/parse/grammar.y:
4635 Make ChildProxy threadsafe and fix mem leaks.
4637 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4639 * gst/gst.c: (init_post):
4640 debug the GST_PLUGIN_ env vars
4642 2005-10-08 Wim Taymans <wim@fluendo.com>
4644 * check/gst/gstbin.c: (GST_START_TEST):
4645 * check/gst/gstmessage.c: (GST_START_TEST):
4646 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4647 * gst/gstelement.c: (gst_element_commit_state),
4648 (gst_element_lost_state):
4649 * gst/gstmessage.c: (gst_message_new_state_changed),
4650 (gst_message_parse_state_changed):
4652 * tools/gst-launch.c: (event_loop):
4653 Added extra field to STATE_CHANGE message with the pending
4654 state, which will be different from the new state soon.
4656 2005-10-08 Wim Taymans <wim@fluendo.com>
4658 * gst/gstbus.c: (gst_bus_pop):
4660 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
4661 Small cleanups and doc updates.
4663 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
4665 * gst/gst.c: (init_pre):
4666 * gst/gstbin.c: (gst_bin_add_func):
4667 log distributing clocks and base time
4668 * gst/gstregistry.c: (gst_registry_add_plugin),
4669 (gst_registry_scan_path_level), (gst_registry_scan_path):
4670 clean up the debugging output a little
4671 * gst/gstutils.c: (gst_element_state_get_name):
4672 warn about a memleak (I've actually seen this be used, though
4673 it was probably a bug)
4675 2005-10-07 Wim Taymans <wim@fluendo.com>
4677 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4678 (gst_base_src_init), (gst_base_src_default_newsegment),
4679 (gst_base_src_newsegment), (gst_base_src_do_seek),
4680 (gst_base_src_loop), (gst_base_src_start):
4681 * gst/base/gstbasesrc.h:
4682 Make the newsegment event customizable by subclasses.
4684 2005-10-07 Wim Taymans <wim@fluendo.com>
4686 * gst/gstevent.c: (gst_event_new_buffersize),
4687 (gst_event_parse_buffersize):
4689 New event for future idea.
4691 2005-10-07 Andy Wingo <wingo@pobox.com>
4693 * gst/gstelement.c (gst_element_post_message): Doc update.
4695 * docs/gst/gstreamer-sections.txt: Update.
4697 * gst/gstmessage.c (gst_message_new_application): Made into a
4698 function like honest API calls.
4699 (gst_message_new_element): New message type.
4701 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
4703 * check/elements/fakesrc.c (test_no_preroll): New check, checks
4704 that setting a live fakesrc to PAUSED returns NO_PREROLL both
4707 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
4708 NO_PREROLL from gst_element_change_state to fall through.
4710 2005-10-07 Wim Taymans <wim@fluendo.com>
4712 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
4713 (gst_ghost_pad_do_activate_push):
4714 Activating a ghostpad with no internal pad in push mode
4717 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
4720 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
4721 Fixes compilation on Windows.
4723 2005-10-07 Michael Smith <msmith@fluendo.com>
4725 * tools/gst-inspect.c:
4726 Print out feature and plugin count at the end when printing out
4729 2005-10-04 Michael Smith <msmith@fluendo.com>
4731 * gst/gsterror.c: (_gst_stream_errors_init):
4732 Add another error string used in a few existing plugins.
4735 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4736 * tools/gst-inspect.c: (print_element_info):
4737 When a feature disappears from a plugin (and the feature exists in
4738 the cached registry file), things went horribly wrong. This isn't a
4739 complete fix, we should actually be removing the 'missing' features
4740 from the features list when we load the actual plugin. That's not
4743 2005-10-04 Johan Dahlin <johan@gnome.org>
4745 * check/gst/gstiterator.c: (GST_START_TEST):
4746 * gst/gstbin.c: (gst_bin_iterate_elements),
4747 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
4748 * gst/gstelement.c: (gst_element_iterate_pads):
4749 * gst/gstformat.c: (gst_format_iterate_definitions):
4750 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
4751 (gst_iterator_new_list), (gst_iterator_filter):
4752 * gst/gstiterator.h:
4753 * gst/gstquery.c: (gst_query_type_iterate_definitions):
4754 Add a GType to GstIterator, update callsites and tests.
4756 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * gst/gstpad.c: (gst_pad_event_default_dispatch):
4759 give events a chance to be handled by event probes when the pad
4762 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4764 * gst/gstevent.c: (gst_event_type_get_name),
4765 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
4767 add string representations for event types
4769 2005-10-06 Wim Taymans <wim@fluendo.com>
4771 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
4772 Don't use NULL pointers.
4774 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4776 * gst/gst_private.h:
4780 * gst/gstpluginfeature.c:
4781 widen the debug category in output to fit the biggest one we have
4782 add a bus category and use it
4783 play with the colors
4784 fix up some categories
4786 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
4788 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
4789 add push activation of sink ghost pads.
4790 Andye, please verify
4792 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4794 * gst/gstutils.c: (gst_element_link_pads):
4795 fix a bug in the case where neither element has a pad
4796 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4797 add a test for that case
4799 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
4801 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
4802 emit have-data before checking for peers. This allows
4803 for probe handlers to connect elements. This helps autopluggers.
4804 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
4806 add six checks, linked/unlinked with no/true/false probe
4808 2005-10-04 Wim Taymans <wim@fluendo.com>
4810 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
4811 (gst_fake_sink_event), (gst_fake_sink_preroll),
4812 (gst_fake_sink_render), (gst_fake_sink_change_state):
4813 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
4814 (gst_fake_src_get_property), (gst_fake_src_create),
4815 (gst_fake_src_stop):
4816 * gst/elements/gstidentity.c: (gst_identity_stop):
4817 Protect last_message with lock.
4819 2005-10-04 Edward Hervey <edward@fluendo.com>
4822 Added precision in the comments for GST_FORMAT_DEFAULT
4824 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
4826 * tools/gst-launch.c: (main):
4827 Don't try to run erroneous pipelines.
4829 2005-10-04 Julien MOUTTE <julien@moutte.net>
4831 * gst/gstbus.c: We don't need this header.
4833 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4838 === release 0.9.3 ===
4840 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
4844 Releasing 0.9.3, "Unregistered"
4846 2005-10-03 Andy Wingo <wingo@pobox.com>
4848 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
4849 whereby calling a pad's activatepush() function can start a thread
4850 that starts to push or pull before the pad gets the FLUSHING flag
4851 unset. Hack around it by holding the stream lock until the flag is
4852 set. Need to replace this with a proper solution. Together with
4853 the ghost pad fixes, this fixes mp3 playing/tagreading.
4855 * docs/design/part-gstghostpad.txt: Add a note about activation of
4856 proxy pads outside of ghost pads.
4858 * gst/gstghostpad.c: Implement the ghost pad activation design.
4860 2005-10-02 Andy Wingo <wingo@pobox.com>
4862 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
4863 It is volatile, after all.
4865 * docs/design/part-gstghostpad.txt: Flesh out activation with
4868 * gst/base/gstbasesrc.c (gst_base_src_init): Use
4871 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
4874 Fix (unused) AM_CONDITIONAL tests.
4876 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
4878 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4880 * gst/gstutils.c: (gst_pad_query_convert):
4881 Add assertion that makes sure src_val is >=0, just like
4882 gst_query_new_convert() has. (#315895)
4884 2005-09-30 Edward Hervey <edward@fluendo.com>
4886 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
4887 Let's not iterate pads we're not interested in, it avoids getting
4888 sky-high refcounts on sinkpad.
4890 2005-09-30 Wim Taymans <wim@fluendo.com>
4892 * gst/gstelement.c: (gst_element_set_state),
4893 (gst_element_change_state):
4894 Small tweak, element in ASYNC remains ASYNC.
4896 2005-09-30 Wim Taymans <wim@fluendo.com>
4898 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
4899 Only error is an error.
4901 * gst/gstbin.c: (gst_bin_change_state):
4904 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
4905 Also call pad_block in pad alloc.
4907 * gst/gstutils.c: (gst_flow_get_name):
4910 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4912 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4913 (gst_base_src_get_range):
4914 Fix documentation typos. Add some more debug info.
4916 2005-09-29 David Schleef <ds@schleef.org>
4918 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
4919 more end-user friendly.
4920 * tools/gst-inspect.c: (main): Check if command-line argument is
4921 a file and attempt to load that file as a plugin.
4923 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4925 * check/gst/gstbin.c:
4926 * check/states/sinks.c:
4927 fix tests for the new warning
4928 * check/gst/gstpipeline.c:
4929 add a test for pipeline and bus interaction
4931 elements should be NULL if they get disposed; add a warning if not
4933 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4936 for 2.6 refcounting, make debug log more correct by printing
4937 the actual refcounts at the time of swap (Wim)
4939 2005-09-29 Andy Wingo <wingo@pobox.com>
4941 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
4942 removes signal watches previously added via
4943 gst_bus_add_signal_watch.
4944 (gst_bus_add_signal_watch): Don't return the source id, just store
4945 it on the bus if there wasn't an id already.
4947 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
4948 add_signal_watch and remove_signal_watch.
4950 2005-09-29 Edward Hervey <edward@fluendo.com>
4952 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
4953 Better if we actually iterate the list :)
4955 2005-09-29 Wim Taymans <wim@fluendo.com>
4957 * check/gst/gstbin.c: (GST_START_TEST):
4958 Change for new bus API.
4960 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4961 (send_messages), (GST_START_TEST), (gstbus_suite):
4962 Change for new bus signal API.
4964 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
4965 (gst_bus_source_prepare), (gst_bus_source_check),
4966 (gst_bus_create_watch), (gst_bus_add_watch_full),
4967 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
4968 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
4970 Remove support for multiple GSources operating on different
4971 message types as it is too complex and unneeded when using
4973 Added support for receiving signals from the bus.
4975 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
4977 * docs/libs/tmpl/gstdataprotocol.sgml:
4978 * docs/manual/advanced-dataaccess.xml:
4979 * gst/elements/gstcapsfilter.c:
4981 rename filter-caps to caps property
4983 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4985 * gst/gstvalue.c: (gst_value_deserialize_fraction):
4986 More robust fraction string parsing.
4988 * docs/pwg/appendix-porting.xml:
4989 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
4991 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
4993 * gst/gstcaps.c: (gst_caps_do_simplify):
4994 Thou shalt not free a structure and then continue using it
4995 in the next loop iteration.
4997 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
4999 Add test case for caps simplification.
5001 2005-09-29 Wim Taymans <wim@fluendo.com>
5003 * check/gst/gstbin.c: (GST_START_TEST):
5006 2005-09-29 Wim Taymans <wim@fluendo.com>
5008 * check/gst/gstbin.c: (GST_START_TEST):
5011 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5012 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5013 (find_element), (gst_bin_sort_iterator_next),
5014 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5015 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5016 (gst_bin_change_state), (gst_bin_dispose):
5017 A bin does not have a bus, it gets the bus from the parent.
5019 * gst/gstelement.c: (gst_element_requires_clock),
5020 (gst_element_provides_clock), (gst_element_is_indexable),
5021 (gst_element_is_locked_state), (gst_element_change_state),
5022 (gst_element_set_bus_func):
5025 * gst/gstpipeline.c: (gst_pipeline_class_init),
5026 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5027 The pipeline provides a bus.
5029 2005-09-28 Johan Dahlin <johan@gnome.org>
5031 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5032 gst_structure_get_enum instead of gst_structure_get_int
5034 * gst/gststructure.c (gst_structure_get_enum): Impl.
5036 * gst/gststructure.h (gst_structure_get_enum): Add
5038 * docs/gst/gstreamer-sections.txt: Ditto
5040 * gst/gstmessage.c (gst_message_new_state_changed): Use
5041 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5042 which does introspection.
5043 Reviewed by Christian Schaller
5045 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5047 * gst/gstinfo.c: (gst_debug_log_default):
5048 don't do dummy g_strdup()s
5049 * libs/gst/controller/gstcontroller.c:
5050 (on_object_controlled_property_changed),
5051 (gst_controlled_property_new), (gst_controller_new_valist),
5052 (gst_controller_new_list),
5053 (gst_controller_remove_properties_valist), (gst_controller_set),
5054 (gst_controller_get), (gst_controller_sync_values),
5055 (gst_controller_get_value_array), (_gst_controller_class_init),
5056 (gst_controller_get_type):
5057 * libs/gst/controller/gstcontroller.h:
5058 * libs/gst/controller/gstinterpolation.c:
5059 (gst_controlled_property_find_timed_value_node):
5060 convert // to /**/ comments
5062 2005-09-28 Wim Taymans <wim@fluendo.com>
5064 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5065 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5066 (gst_bus_sync_signal_handler):
5068 Added async-message and sync-message signals to the bus.
5069 Added helper BusFunc to emit signals for all posted messages.
5071 * gst/gstmessage.c: (gst_message_type_get_name),
5072 (gst_message_type_to_quark), (gst_message_get_type):
5074 Register quarks for message names.
5076 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5078 * docs/libs/gstreamer-libs-sections.txt:
5079 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5080 (gst_controller_new_list):
5081 * libs/gst/controller/gstcontroller.h:
5082 added another constructor for language bindings
5084 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5086 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5090 * gst/gstinfo.c: (_gst_debug_init):
5091 slightly more readable color for refcount debugging
5093 2005-09-28 Wim Taymans <wim@fluendo.com>
5095 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5096 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5097 (find_element), (gst_bin_sort_iterator_next),
5098 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5099 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5100 (gst_bin_change_state), (gst_bin_dispose):
5101 Small doc fixes. get_clock -> provide_clock.
5103 * gst/gstelement.c: (gst_element_class_init),
5104 (gst_element_provides_clock), (gst_element_provide_clock),
5105 (gst_element_get_clock), (gst_element_commit_state),
5106 (gst_element_lost_state):
5108 Make get/set_clock() symetric. Add provide_clock vmethod since
5109 that is actually what this function does.
5111 * gst/gstpipeline.c: (gst_pipeline_class_init),
5112 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5113 (gst_pipeline_get_clock):
5114 get_clock -> provide_clock.
5116 2005-09-28 Andy Wingo <wingo@pobox.com>
5118 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5119 lieu of real docs...
5121 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5123 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5125 * gst/elements/gstcapsfilter.c:
5126 * gst/elements/gstfakesink.c:
5127 * gst/elements/gstfakesrc.c:
5128 * gst/elements/gstfdsink.c:
5129 * gst/elements/gstfdsrc.c:
5130 * gst/elements/gstfilesink.c:
5131 * gst/elements/gstfilesrc.c:
5132 * gst/elements/gstidentity.c:
5133 * gst/elements/gsttee.c:
5134 * gst/elements/gsttypefindelement.c:
5135 Make element details static.
5137 2005-09-28 Wim Taymans <wim@fluendo.com>
5139 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5140 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5141 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5142 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5143 (gst_bin_change_state), (gst_bin_dispose):
5144 Some documentation updates.
5145 Clean up dispose handlers.
5147 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5148 * gst/gstpad.c: (gst_pad_dispose):
5149 Clean up dispose handler.
5151 * gst/gstpipeline.c: (gst_pipeline_change_state):
5152 Removed spurious UNLOCK.
5154 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5156 * docs/gst/gstreamer-sections.txt:
5157 * gst/base/gstbasesrc.h:
5162 * gst/gstpipeline.c:
5163 * gst/gstpipeline.h:
5166 added two new functions to the docs
5167 documents all undocumented GstXXXFlags
5168 completed some incomplete docs
5170 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5172 * gst/gstbin.c: (gst_bin_dispose):
5173 * gst/gstelement.c: (gst_element_dispose):
5174 remove now useless and leaky resurrection code in dispose
5175 * gst/base/gstbasesrc.c: (gst_base_src_init):
5176 * gst/gstelementfactory.c: (gst_element_factory_create):
5177 * gst/gstobject.c: (gst_object_set_parent):
5180 2005-09-27 Wim Taymans <wim@fluendo.com>
5182 * docs/design/part-TODO.txt:
5185 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5186 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5187 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5188 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5189 (gst_bin_change_state):
5191 Remove element variable, we keep element info in the iterator now.
5193 2005-09-27 Andy Wingo <wingo@pobox.com>
5195 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5198 2005-09-27 Wim Taymans <wim@fluendo.com>
5200 * check/gst/gstbin.c: (GST_START_TEST):
5201 Enable check that works now.
5203 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5204 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5205 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5206 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5207 (gst_bin_change_state):
5209 Redid the state change algorithm using a topological sort algo.
5210 Handles all cases correctly.
5211 Exposed iterator for state change order.
5214 Temp storage for state changes. Need to get rid of this soon.
5216 2005-09-27 Wim Taymans <wim@fluendo.com>
5218 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5219 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5220 (link_fold_func), (gst_pad_proxy_setcaps):
5221 Leak fixes, the fold functions need to unref the passed object and
5222 _get_parent_*() returns ref to parent.
5224 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5226 * check/gst/gstbuffer.c: (test_make_writable):
5227 Plug leak in test case and fix 'make check-valgrind'
5229 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5231 * gst/gstbuffer.c: (gst_subbuffer_init):
5232 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5233 works correctly in all circumstances (we could have just copied
5234 the parent buffer's readonly flag, but conceptually it seems
5235 cleaner to mark all subbuffers as read-only). (based on patch
5236 by Alessandro Decina, #314710).
5238 * check/gst/gstbuffer.c: (create_read_only_buffer),
5239 (test_make_writable), (test_subbuffer_make_writable),
5241 Add some tests for gst_buffer_make_writable().
5243 2005-09-27 Wim Taymans <wim@fluendo.com>
5245 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5246 use gst_object_has_ancestor().
5248 * gst/gstobject.c: (gst_object_has_ancestor):
5250 gst_object_has_ancestor() copied from gstbin.c as it is a
5253 * tests/instantiate/create.c: (create_all_elements):
5254 * tests/lat.c: (handoff_src), (handoff_sink):
5255 * tests/sched/runxml.c: (main):
5256 * tests/seeking/seeking1.c: (main):
5257 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5259 Fix compilation of some tests.
5261 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5264 Remove comment. GST_TYPE_G_ERROR is here to stay,
5265 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5268 2005-09-26 Wim Taymans <wim@fluendo.com>
5270 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5271 Added check that shows error in state change order.
5273 2005-09-26 Wim Taymans <wim@fluendo.com>
5275 * gst/gstbin.c: (gst_bin_change_state):
5276 Make state change function use 3 queues again, we were
5277 adding elements in the wrong order.
5279 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5282 * gst/gstpad.c: (gst_pad_dispose):
5283 Added some debug info first.
5285 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5287 * docs/design/draft-push-pull.txt:
5288 * docs/design/part-events.txt:
5289 * docs/design/part-overview.txt:
5290 * docs/design/part-scheduling.txt:
5291 Replace all _pull_region() with _pull_range()
5293 2005-09-26 Andy Wingo <wingo@pobox.com>
5295 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5297 * check/gst-libs/controller.c: Update for controller api change.
5300 * tests/Makefile.am:
5301 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
5302 over by GLib bug 118439.
5304 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
5305 routines to a function.
5307 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
5309 * libs/gst/controller/gsthelper.c:
5310 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
5311 (gst_object_sync_values): Renamed from sink_values. Ugh.
5313 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
5315 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
5316 Renamed from controller_key, as it is exported.
5318 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
5320 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
5325 * gst/gstpadtemplate.h:
5328 * gst/gstqueryutils.c:
5329 * gst/gstqueryutils.h:
5330 remove queryutils headers after moving the two used functions
5331 to gstquery. also fixes build problem for gstsiddec
5333 2005-09-26 Michael Smith <msmith@fluendo.com>
5335 * tools/gst-launch.1.in:
5336 Correct documentation in manpage of debug syntax
5338 2005-09-26 Wim Taymans <wim@fluendo.com>
5340 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5341 (gst_base_src_is_seekable), (gst_base_src_change_state):
5342 Some more debugging info.
5344 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5346 * docs/gst/gstreamer-sections.txt:
5347 * gst/base/gstbasetransform.h:
5351 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5353 * docs/gst/.cvsignore:
5354 * docs/gst/tmpl/.cvsignore:
5355 * docs/gst/tmpl/gstpipeline.sgml:
5356 * docs/gst/tmpl/gstplugin.sgml:
5357 * gst/gstpipeline.c:
5360 inlined the last two docs files
5361 removed the tmpl directory from cvs (no more conflicts here!)
5363 2005-09-25 Stefan Kost <ensonic@users.sf.net>
5365 * docs/gst/gstreamer-sections.txt:
5366 * docs/gst/tmpl/.cvsignore:
5367 * docs/gst/tmpl/gstpad.sgml:
5368 * docs/gst/tmpl/gstpadtemplate.sgml:
5370 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
5371 (gst_pad_finalize), (gst_pad_set_pad_template):
5373 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
5374 (gst_pad_template_class_init), (gst_pad_template_init),
5375 (gst_pad_template_dispose), (name_is_valid),
5376 (gst_static_pad_template_get), (gst_pad_template_new),
5377 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
5378 (gst_pad_template_pad_created):
5379 * gst/gstpadtemplate.h:
5380 inlined two more docs
5381 factored gstpadtemplate out of gstpad
5383 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
5385 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5386 (test_children_state_change_order_semi_sink):
5387 Fix test case: we can't rely on a fixed state change order when
5388 going from READY => PAUSED because the sink might commit its
5389 new state first when the first buffer created by the source
5390 reaches the sink before the source has finished its change state.
5391 (Test case still fails at times, see #316856, comment 5 onwards)
5393 2005-09-24 Wim Taymans <wim@fluendo.com>
5395 * docs/design/part-events.txt:
5396 * docs/design/part-gstbus.txt:
5397 * docs/design/part-gstpipeline.txt:
5398 * docs/design/part-messages.txt:
5399 * docs/design/part-overview.txt:
5400 * docs/design/part-segments.txt:
5407 * gst/gstiterator.c:
5408 Various documentation updates.
5410 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
5413 Well, that's embarassing. Luckily we weren't using
5414 GST_CLOCK_DIFF anywhere.
5416 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5418 * common/gtk-doc.mak:
5419 don't fail on building XML, FC4 slave shows a bunch of doc
5420 missing bits that I don't get
5422 * gst/gstpipeline.c:
5423 * gst/gststructure.c:
5426 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5428 * docs/design/part-gstbin.txt:
5429 * docs/design/part-gstbus.txt:
5431 Add blurb about how the bus goes into flushing mode and
5432 drops all messages when its bin goes from READY into NULL
5435 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5437 * docs/gst/gstreamer-sections.txt:
5438 * gst/gststructure.c: (gst_structure_get_clock_time):
5439 * gst/gststructure.h:
5440 add a method to get a GstClockTime out of a structure
5442 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
5444 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
5445 (test_children_state_change_order_semi_sink), (gst_bin_suite):
5446 Added test to check state change order in bins (can still be made
5447 to fail here under heavy disk load; bails out with 'Push on pad
5448 fakesink:sink0, but it was not activated in push mode').
5450 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
5451 Fix state change order when there is only a semi sink (#316856)
5453 * gst/gstbus.c: (gst_bus_class_init):
5454 Use _class_peek_parent(), not _class_ref(); fix docs to say
5455 'default main context' instead of 'mainloop' where that is
5458 * gst/gstelement.c: (gst_element_commit_state),
5459 (gst_element_set_state):
5460 Fix typos in debug messages
5462 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5465 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
5466 * gst/gstpluginfeature.c:
5469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5470 change an assert into an error until it gets fixed properly
5472 2005-09-23 Stefan Kost <ensonic@users.sf.net>
5474 * docs/gst/gstreamer-sections.txt:
5475 * docs/gst/tmpl/.cvsignore:
5476 * docs/gst/tmpl/gstelement.sgml:
5477 * docs/gst/tmpl/gstinfo.sgml:
5478 * docs/gst/tmpl/gstobject.sgml:
5483 * gst/gstobject.c: (gst_object_class_init):
5485 inlined 3 more biiiig doc files and added some missing docs on the fly
5487 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
5489 * check/gst/.cvsignore:
5490 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
5491 * gst/gstregistryxml.c: (load_plugin),
5492 (gst_registry_xml_save_plugin):
5493 put back source in registry. add checks for find_plugin.
5494 * testsuite/states/bin.c: (assert_state), (empty_bin),
5495 (test_adding_one_element), (main):
5496 * testsuite/states/locked.c: (main):
5497 some compile/run fixes
5499 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
5501 * check/gst/gstvalue.c: (GST_START_TEST):
5502 fix leaks in the test itself
5504 2005-09-22 Wim Taymans <wim@fluendo.com>
5506 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5507 (gst_base_sink_send_event), (gst_base_sink_peer_query),
5508 (gst_base_sink_query):
5509 Prepare for more accurate position reporting and query
5512 * gst/gstelement.c: (gst_element_send_event),
5513 (gst_element_set_state):
5516 2005-09-22 Wim Taymans <wim@fluendo.com>
5518 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
5519 (gst_query_parse_segment):
5522 Add segment query for future use.
5524 2005-09-22 Wim Taymans <wim@fluendo.com>
5526 * gst/gstbin.c: (gst_bin_add_func):
5527 Some more debug info.
5529 * gst/gstelement.c: (gst_element_send_event):
5533 Don't know how flags got broken.
5538 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5540 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
5541 Add simplistic test suite for GST_TYPE_DATE serialisation and
5544 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
5546 * docs/gst/gstreamer-sections.txt:
5547 * gst/gststructure.c: (gst_structure_set_valist),
5548 (gst_structure_get_date):
5549 * gst/gststructure.h:
5550 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
5551 (gst_date_copy), (gst_value_compare_date),
5552 (gst_value_serialize_date), (gst_value_deserialize_date),
5553 (gst_value_transform_date_string),
5554 (gst_value_transform_string_date), (_gst_value_initialize):
5556 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
5557 bunch of utility functions along with a hack that checks that
5558 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
5559 is required. Part of the grand scheme in #170777.
5561 2005-09-22 Andy Wingo <wingo@pobox.com>
5563 * gst/gstconfig.h.in: Psych out gtk-doc.
5565 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
5567 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
5569 * tools/gst-inspect.c (print_element_list): Plug some
5570 inconsequential leaks.
5572 * gst/gstregistry.c (gst_registry_get_default): Doc.
5574 * check/gst/gstplugin.c:
5575 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
5576 * gst/gstelementfactory.c (gst_element_factory_create):
5577 * gst/gstindexfactory.c (gst_index_factory_create): Update for
5580 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
5581 (gst_plugin_feature_load): Doc, don't eat refs.
5583 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
5584 (gst_plugin_list_free): Doc.
5585 (gst_plugin_load_file): Doc updates.
5587 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
5588 accessors returning refcounted objects, return a ref.
5590 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
5591 accessor for caps. IDEMPOTENCE. Oh yes.
5593 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
5595 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5597 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5598 (_gst_debug_register_funcptr):
5599 Add mutex to serialise access to the hash table with
5600 the function pointer => function name string mapping;
5601 make that hash table static scope (#316809).
5603 * gst/registries/.cvsignore:
5604 Remove left-over file.
5606 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5608 * docs/pwg/appendix-porting.xml:
5609 And something about newsegment events and caps-on-buffers to
5610 the porting guide (feel free to improve).
5612 2005-09-21 Andy Wingo <wingo@pobox.com>
5614 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
5615 data and event probes on the same pad.
5616 (test_buffer_probe_once): Test that removing probes from within
5617 the probe functions works.
5619 2005-09-21 Andy Wingo <wingo@pobox.com>
5621 * check/gst/gstutils.c: New file.
5622 (test_buffer_probe_n_times): A simple buffer probe test. More to
5625 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
5626 have-data::buffer, not have-data.
5627 (gst_pad_add_event_probe): Likewise for have-data::event.
5628 (gst_pad_add_data_probe): More docs. The part about 'resolving the
5629 peer' isn't quite right yet though.
5630 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
5631 (gst_pad_remove_data_probe): Change to take the guint handler_id
5632 as their arg, not the function+data, which is more glib-like.
5634 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
5635 the signal emission to indicate if the data is a buffer or an
5637 (gst_pad_get_type): Initialize buffer and event quarks.
5638 (gst_pad_class_init): have-data is now a detailed signal, yes it
5641 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
5643 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5644 * gst/gstutils.c: (gst_util_set_value_from_string),
5645 (gst_util_set_object_arg):
5646 Don't put functional code in g_return_if_fail() or
5647 g_return_val_if_fail() statements, otherwise things will
5648 break when G_DISABLE_CHECKS is defined during compilation.
5650 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5652 * docs/gst/tmpl/.cvsignore:
5653 * docs/gst/tmpl/gstvalue.sgml:
5656 inlied another one and added some obvious docs
5658 2005-09-21 Wim Taymans <wim@fluendo.com>
5660 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5661 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
5662 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
5663 (gst_fdsrc_get_property), (gst_fdsrc_create):
5664 * gst/elements/gstfdsrc.h:
5665 Properly implement fdsrc. Removed signal and timeout,
5666 better implemented somewhere else.
5668 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5670 * docs/gst/tmpl/.cvsignore:
5671 * docs/gst/tmpl/gstimplementsinterface.sgml:
5672 * gst/gstinterface.c:
5675 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5677 * docs/gst/gstreamer-sections.txt:
5678 * docs/gst/tmpl/.cvsignore:
5679 * docs/gst/tmpl/gstenumtypes.sgml:
5680 remove obsolete doc file
5682 2005-09-21 David Schleef <ds@schleef.org>
5684 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
5685 little beer, fix a little leak.
5687 2005-09-21 Stefan Kost <ensonic@users.sf.net>
5689 * docs/gst/gstreamer-docs.sgml:
5690 * docs/gst/gstreamer-sections.txt:
5691 * docs/gst/tmpl/.cvsignore:
5696 * gst/gstindex.c: (gst_index_class_init):
5698 * gst/gstindexfactory.c: (gst_index_factory_get_type),
5699 (gst_index_factory_class_init), (gst_index_factory_init),
5700 (gst_index_factory_finalize), (gst_index_factory_new),
5701 (gst_index_factory_destroy), (gst_index_factory_find),
5702 (gst_index_factory_create), (gst_index_factory_make):
5703 * gst/gstindexfactory.h:
5704 * gst/gstpluginfeature.c:
5705 * gst/gstpluginfeature.h:
5706 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5707 more docs inlined, splitted gstindex.{c,h}
5709 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5711 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5714 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5716 * gst/elements/gstfilesink.c: (gst_file_sink_init):
5717 Set sync to FALSE by default.
5719 2005-09-20 Wim Taymans <wim@fluendo.com>
5721 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5722 (gst_base_sink_init):
5723 Make sync property settable from subclass.
5725 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
5726 (gst_fake_sink_change_state):
5727 Set sync to FALSE by default.
5729 2005-09-20 Wim Taymans <wim@fluendo.com>
5731 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
5732 * tools/gst-launch.c: (main):
5733 The timeout handler should have lower priority than the source
5734 so we don't timeout before popping a message with 0 timeout.
5735 Dump error messages after failed state change.
5737 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
5739 * tools/gst-inspect.c: (print_element_properties_info):
5742 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5744 * check/gst/gstevent.c:
5745 * gst/elements/gstfakesink.c:
5746 * gst/elements/gstfakesink.h:
5747 remove the sync property from fakesink.
5748 has the side effect of setting sync TRUE
5749 for fakesink, which is a change. Anyone who knows how
5750 to fix this nicely in a GObject-y way, feel free.
5752 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5754 * docs/gst/gstreamer-docs.sgml:
5755 remove probe refsection
5757 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5759 * check/Makefile.am:
5760 disable valgrinding the controller test again
5761 * docs/gst/gstreamer-sections.txt:
5762 update for api-changes
5764 2005-09-20 Wim Taymans <wim@fluendo.com>
5766 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
5767 (gst_base_sink_set_property), (gst_base_sink_get_property),
5768 (gst_base_sink_do_sync):
5769 * gst/base/gstbasesink.h:
5770 Added sync property to basesink to disable clock sync.
5772 2005-09-20 Andy Wingo <wingo@pobox.com>
5774 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
5775 eating the caller's refcount.
5777 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
5778 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
5781 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
5782 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
5783 of GLib 2.8 public, so we can know which refcount to check in
5786 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
5787 (gst_object_init): Only set the gst refcount if we're going ahead
5788 with the refcount hack.
5790 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5792 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5793 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
5794 more leaks plumbed, added more debug-logging
5798 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5801 remove include of gstmemchunk.h
5803 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5805 * gst/gstclock.c: (_gst_clock_id_free):
5806 Commit from the Political Party For More Atomic CVS Commits,
5807 so that people don't waste too much of their day fishing
5808 out obvious leaks out of massive commits.
5809 Oh, and fix a pretty damn obvious leak in the memchunk
5812 2005-09-20 Stefan Kost <ensonic@users.sf.net>
5814 * check/Makefile.am:
5815 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
5816 plug mem-leak, re-add to valgrindable tests
5818 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
5821 unbreak the build for those who have chronic arthritis
5822 and typing "make check" is just too taxing on the hands
5824 2005-09-20 Andy Wingo <wingo@pobox.com>
5826 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
5827 really want it out, you should fix plugins at the same time.
5829 2005-09-19 Stefan Kost <ensonic@users.sf.net>
5832 * docs/gst/gstreamer-sections.txt:
5834 added missing symbols to api docs
5835 disable ref-count hack if we have glib >= 2.8
5837 2005-09-19 David Schleef <ds@schleef.org>
5839 * docs/gst/Makefile.am: Ignore a few more internal headers
5840 * docs/gst/gstreamer-docs.sgml: Remove old sections
5841 * docs/gst/gstreamer-sections.txt: Remove old sections
5842 * docs/gst/tmpl/gstobject.sgml: update
5843 * docs/gst/tmpl/gstplugin.sgml: update
5844 * docs/gst/tmpl/gstpluginfeature.sgml: update
5845 * docs/random/ds/0.9-suggested-changes: update.
5846 * gst/Makefile.am: remove memchunk and trashstack, since they're
5848 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
5849 * gst/gst.h: don't include some headers
5850 * gst/gstchildproxy.c: add gstmarshal.h
5851 * gst/gstclock.c: Don't use memchunks
5852 * gst/gstminiobject.c: Add some docs
5853 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
5854 * gst/gstobject.h: same
5855 * gst/gstplugin.c: include gstmacros.h
5856 * gst/gstplugin.h: don't include gstmacros.h, since it's private
5857 * gst/gstquery.c: don't use memchunks
5858 * gst/gstregistry.c: rename gst_registry_deinit()
5859 * gst/gstregistry.h: same
5861 2005-09-19 David Schleef <ds@schleef.org>
5863 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
5864 * docs/libs/gstreamer-libs-sections.txt:
5865 * docs/libs/tmpl/gstgetbits.sgml:
5866 * docs/libs/tmpl/gstputbits.sgml:
5868 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
5870 * win32/gstenumtypes.c:
5871 * win32/gstenumtypes.h:
5874 2005-09-19 Wim Taymans <wim@fluendo.com>
5876 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
5877 Automatically PAUSE and RESUME a pipeline when a flushing seek
5880 2005-09-19 Andy Wingo <wingo@pobox.com>
5882 * gst/gstregistry.h: Spacing fixen.
5884 2005-09-19 Wim Taymans <wim@fluendo.com>
5886 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
5887 Handle state change failure more correctly.
5889 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5891 * check/Makefile.am:
5892 * check/pipelines/cleanup.c: (run_pipeline):
5893 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5895 enable cleanup again after fixing the leak
5897 some more info on docs
5899 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5901 * check/Makefile.am:
5902 re-enable tests now that leaks are plugged
5904 * check/gst/gstbin.c:
5905 * check/gst/gstpipeline.c:
5906 add some more tests while fixing leaks
5908 make sure binaries are uptodate when valgrinding/gdbing
5910 * gst/gstelementfactory.c:
5911 remove a ref too many, and add a FIXME for when we get
5912 round to disposing of classes
5914 fix the refcounting when loading a plugin from a file and
5915 the code pretends that the pointer is the same even though
5916 of course it can change
5917 * gst/gstpluginfeature.c:
5918 unref plugins marked cached (a bit confusing as a name)
5919 as the docs state should be done
5920 various doc additions to explain refcounting
5921 * gst/gstregistry.c:
5922 * gst/gstregistryxml.c:
5925 2005-09-19 Wim Taymans <wim@fluendo.com>
5927 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5928 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5929 (send_messages), (GST_START_TEST), (gstbus_suite):
5930 * check/gst/gstpipeline.c: (GST_START_TEST):
5931 * check/pipelines/cleanup.c: (run_pipeline):
5932 * check/pipelines/simple_launch_lines.c: (run_pipeline),
5934 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
5935 (gst_bus_source_check), (gst_bus_source_dispatch),
5936 (gst_bus_create_watch), (gst_bus_add_watch_full),
5937 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
5939 * tools/gst-launch.c: (event_loop):
5940 * tools/gst-md5sum.c: (event_loop):
5941 GstBusHandler -> GstBusFunc, return value has the same meaning as
5942 any other GSource (FALSE == remove source).
5943 _add_watch() and _add_watch_full() now take a MessageType mask to
5944 only handle specific types of messages.
5945 _poll() returns the GstMessage instead of the message type to avoid
5947 _have_pending() takes a MessageType mask now too.
5948 Added testsuite for multiple bus watches.
5949 Fix testsuites and applications for new bus API.
5951 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
5953 * check/Makefile.am:
5954 mark a bunch of the tests as to fix until we fix them
5956 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5959 use GST_PLUGIN settings for valgrind tests as well, so we're
5960 valgrinding the correct thing
5961 * gst/gst.c: (init_post):
5964 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5966 * gst/gst.c: (init_post), (gst_deinit):
5967 * gst/gstelementfactory.c: (gst_element_factory_class_init),
5968 (gst_element_factory_finalize), (gst_element_factory_cleanup):
5969 * gst/gstindex.c: (gst_index_factory_class_init),
5970 (gst_index_factory_finalize):
5971 * gst/gstobject.c: (gst_object_dispose):
5972 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
5973 (gst_plugin_load_file), (gst_plugin_desc_free):
5974 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
5975 (gst_plugin_feature_finalize):
5976 * gst/gstregistry.c: (gst_registry_class_init),
5977 (gst_registry_init), (gst_registry_finalize),
5978 (gst_registry_get_default), (gst_registry_deinit):
5979 * gst/gstregistry.h:
5980 * gst/gstregistryxml.c: (load_feature), (load_plugin):
5981 various cleanups and memleak plugging. make valgrind is happy now.
5983 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
5986 add a check-valgrind target
5988 2005-09-18 David Schleef <ds@schleef.org>
5990 * tools/gst-inspect.c: Revert the GOption code.
5992 2005-09-17 David Schleef <ds@schleef.org>
5994 * check/Makefile.am: Fix environment variables.
5995 * check/gst/gstplugin.c: Fix for API changes.
5996 * tools/gst-inspect.c: Fix for API changes.
5997 * tools/gst-xmlinspect.c: Fix for API changes.
5998 * gst/gstelementfactory.c:
6001 * gst/gstpluginfeature.c:
6002 * gst/gstpluginfeature.h:
6003 * gst/gstregistry.c:
6004 * gst/gstregistry.h:
6005 * gst/gstregistryxml.c:
6006 * gst/gsttypefind.c:
6007 * gst/gsttypefindfactory.c:
6008 * gst/indexers/gstfileindex.c:
6009 * gst/indexers/gstmemindex.c:
6010 * gst/schedulers/Makefile.am:
6011 Change registry to keep track of both plugins and features,
6012 removing the feature tracking from plugins themselves.
6014 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6016 * check/Makefile.am:
6017 * tools/gst-register.1.in:
6020 2005-09-15 David Schleef <ds@schleef.org>
6022 * check/gst/gstplugin.c:
6023 * gst/gstelementfactory.c:
6025 * gst/gstpluginfeature.c:
6026 * gst/gstregistry.c:
6027 Getting tired of debugging. Disabled all the unreffing of
6028 plugins and features, which fixes the segfaults, but of
6029 course leaks like crazy. At least playbin works.
6031 2005-09-15 David Schleef <ds@schleef.org>
6033 * check/gst/gstplugin.c: (register_check_elements),
6034 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6036 * gst/elements/gsttypefindelement.c: Fix refcounting.
6037 * gst/gsttypefind.c:
6038 * gst/gsttypefindfactory.c:
6039 * gst/gsttypefindfactory.h:
6041 2005-09-15 David Schleef <ds@schleef.org>
6043 * gst/gstindex.c: get refcounting correct.
6044 * gst/gstregistry.c: Handle the case where a feature/plugin is
6047 2005-09-15 David Schleef <ds@schleef.org>
6049 * check/Makefile.am:
6050 * check/gst/gstplugin.c: Add test
6051 * gst/gstplugin.c: Fix problems noticed by testsuite
6053 * gst/gstregistry.c:
6054 * gst/gstregistry.h:
6056 2005-09-15 David Schleef <ds@schleef.org>
6058 * gst/gstplugin.c: Implement semi-decent recounting and locking
6059 in plugins and plugin features.
6061 * gst/gstpluginfeature.c:
6062 * gst/gstpluginfeature.h:
6063 * gst/gstregistry.c:
6065 2005-09-15 Michael Smith <msmith@fluendo.com>
6067 * gst/gstregistry.c: (gst_registry_get_feature_list):
6068 Implement this. Makes oggdemux work; decodebin still broken.
6070 2005-09-14 David Schleef <ds@schleef.org>
6072 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6074 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6075 * gst/check/Makefile.am:
6076 * libs/gst/controller/Makefile.am:
6077 * libs/gst/dataprotocol/Makefile.am:
6079 2005-09-14 David Schleef <ds@schleef.org>
6081 * configure.ac: Remove getbits library. Nothing uses it, and
6082 it should be in something like liboil if someone did want
6084 * libs/gst/Makefile.am:
6085 * libs/gst/getbits/Makefile.am:
6086 * libs/gst/getbits/gbtest.c:
6087 * libs/gst/getbits/getbits.c:
6088 * libs/gst/getbits/getbits.h:
6089 * libs/gst/getbits/gstgetbits_generic.c:
6090 * libs/gst/getbits/gstgetbits_i386.s:
6091 * libs/gst/getbits/gstgetbits_inl.h:
6093 2005-09-14 David Schleef <ds@schleef.org>
6095 * gst/Makefile.am: Dist glib-compat.h
6097 2005-09-14 David Schleef <ds@schleef.org>
6099 * configure.ac: Remove gst/registries, since it's no longer used.
6100 * gst/registries/Makefile.am:
6101 * gst/registries/gstlibxmlregistry.c:
6102 * gst/registries/gstlibxmlregistry.h:
6103 * gst/registries/gstxmlregistry.c:
6104 * gst/registries/gstxmlregistry.h:
6105 * gst/registries/registrytest.c:
6107 2005-09-14 David Schleef <ds@schleef.org>
6109 * gst/glib-compat.h:
6110 * gst/gstregistryxml.c:
6111 Convergence is near. Seriously.
6113 2005-09-14 David Schleef <ds@schleef.org>
6115 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6116 * gst/glib-compat.h:
6117 Attempt #4 to appease the buildbots.
6119 2005-09-14 David Schleef <ds@schleef.org>
6121 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6124 2005-09-14 David Schleef <ds@schleef.org>
6126 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6129 2005-09-14 David Schleef <ds@schleef.org>
6131 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6134 2005-09-14 David Schleef <ds@schleef.org>
6136 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6137 * gst/glib-compat.h: Add some functions that are in newer versions
6138 of glib than we care to require.
6139 * gst/gstregistryxml.c: Use them.
6141 2005-09-14 David Schleef <ds@schleef.org>
6143 * po/POTFILES.in: remove gst-register.c
6145 2005-09-14 David Schleef <ds@schleef.org>
6147 * docs/gst/gstreamer-docs.sgml:
6148 * docs/gst/gstreamer-sections.txt:
6149 * docs/gst/gstreamer.types:
6150 * docs/gst/tmpl/gstelement.sgml:
6151 * docs/gst/tmpl/gstplugin.sgml:
6152 * docs/gst/tmpl/gstpluginfeature.sgml:
6153 Documentation updates for registry changes.
6155 2005-09-14 David Schleef <ds@schleef.org>
6157 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6158 because we don't require glib-2.8.
6160 2005-09-14 David Schleef <ds@schleef.org>
6162 * gst/gstregistryxml.c: Added. Essentially moved out of the
6163 registries directory.
6165 2005-09-14 David Schleef <ds@schleef.org>
6167 * check/Makefile.am:
6168 * check/generic/states.c:
6172 * gst/gst_private.h:
6173 * gst/gstelementfactory.c:
6178 * gst/gstpluginfeature.c:
6179 * gst/gstpluginfeature.h:
6180 * gst/gstregistry.c:
6181 * gst/gstregistry.h:
6182 * gst/gstregistrypool.c: remove
6183 * gst/gstregistrypool.h: remove
6184 * gst/gsttypefind.c:
6185 * gst/gsttypefindfactory.c:
6187 * tools/Makefile.am:
6188 * tools/gst-compprep.c:
6189 * tools/gst-inspect.c:
6190 * tools/gst-register.c: remove
6191 * tools/gst-xmlinspect.c:
6192 Registry rewrite. Changes registry from being a file created
6193 by a tool into a simple cache file created automatically by
6194 libgstreamer. Removed gst-register (because it's no longer
6195 needed). Remove registry pools, because we only have one
6196 registry implementation (XML). Fix up other subsystems as
6199 2005-09-13 Michael Smith <msmith@fluendo.com>
6201 * gst/gstconfig.h.in:
6202 Don't Use windows linking attributes for MinGW. Fixes #316157
6204 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6206 * gst/gstutils.c: (set_state_async_thread_func),
6207 (gst_element_set_state_async):
6208 Apparently people think it's better if this function doesn't
6209 try to set the state to whatever state was asked for on the first
6210 call to this function for any object. Seriously.
6212 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6214 * check/gst/gstpipeline.c: (GST_START_TEST):
6215 * docs/gst/gstreamer-sections.txt:
6216 * gst/gstutils.c: (set_state_async_thread_func),
6217 (gst_element_set_state_async):
6219 add a "gst_element_set_state_async" method that
6220 sets the state and starts a thread to make sure the state
6221 change completes as best as it can
6223 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6225 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6226 codify design+behaviour in testsuite after discussion
6228 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6230 * docs/gst/tmpl/gstelement.sgml:
6231 * docs/manual/appendix-quotes.xml:
6233 * gst/gstelement.c: (gst_element_set_state):
6236 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6238 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6239 (gst_base_transform_prepare_output_buf),
6240 (gst_base_transform_handle_buffer):
6241 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6242 (gst_capsfilter_prepare_buf):
6243 Remove the requirement for sub-classes to call the parent
6244 implementation of prepare_output_buffer with a wrapper function.
6247 * gst/gsttagsetter.h:
6250 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6252 * docs/gst/gstreamer-sections.txt:
6255 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6257 * docs/gst/gstreamer-sections.txt:
6258 * docs/gst/tmpl/gstelement.sgml:
6259 * docs/gst/tmpl/gstplugin.sgml:
6260 * gst/gstminiobject.c:
6262 docs now stop throwing warnings
6264 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6266 * docs/gst/gstreamer-sections.txt:
6267 * docs/gst/gstreamer.types:
6268 * docs/gst/tmpl/gstpad.sgml:
6269 * docs/gst/tmpl/gsttypes.sgml:
6270 * gst/base/gstadapter.h:
6271 * gst/base/gstbasesink.h:
6272 * gst/base/gstbasesrc.h:
6282 * gst/gststructure.c:
6283 * gst/registries/gstlibxmlregistry.h:
6284 various documentation fixes
6286 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6288 * docs/gst/gstreamer-sections.txt:
6289 * docs/gst/tmpl/gstvalue.sgml:
6290 rearrange gstvalue section
6291 * gst/gstutils.c: (gst_element_state_get_name):
6293 * gst/gstvalue.c: (_gst_value_initialize):
6297 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6299 * check/gst-libs/controller.c:
6301 * gst/base/gstbasetransform.c:
6302 (gst_base_transform_default_prepare_buf),
6303 (gst_base_transform_handle_buffer):
6304 * gst/base/gstbasetransform.h:
6305 Some more basetransform changes and fixes to enable sub-classes
6306 that modify buffer metadata only.
6307 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6308 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
6309 (gst_capsfilter_prepare_buf):
6310 If the output pad has fixed allowed caps and input buffers
6311 don't have any, set the fixed caps on outgoing buffers.
6313 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
6314 * check/elements/identity.c: (GST_START_TEST):
6315 Make the error a little clearer when the test fails because
6316 identity made a copy of the buffer.
6317 * docs/gst/gstreamer-sections.txt:
6318 New symbols in gstbasetransform.h
6319 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6320 (gst_base_transform_init), (gst_base_transform_transform_size),
6321 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6322 (gst_base_transform_default_prepare_buf),
6323 (gst_base_transform_get_unit_size),
6324 (gst_base_transform_buffer_alloc),
6325 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6326 (gst_base_transform_change_state),
6327 (gst_base_transform_set_passthrough),
6328 (gst_base_transform_set_in_place),
6329 (gst_base_transform_is_in_place):
6330 * gst/base/gstbasetransform.h:
6331 Change BaseTransform to separate in_place operate from same_caps
6332 output. in_place implies that the element can perform the transform
6333 on incoming buffers in-place, even if the caps on the output are
6335 Sub-class elements can now implement special buffer allocation
6336 methods for outgoing buffers if they wish to.
6337 Big documentation addition.
6338 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
6339 * gst/elements/gstelements.c:
6340 Changes for basetransform modifications.
6341 * gst/elements/Makefile.am:
6342 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
6343 Compile fix. Extra debug output.
6345 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6347 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
6349 add tests for valid pad naming
6350 * gst/check/gstcheck.c: (gst_check_log_message_func),
6351 (gst_check_log_critical_func):
6353 remove printing of code, it is fragile when the code contains
6354 % and the line number is enough info
6355 * gst/check/gstcheck.h:
6356 * gst/gstpad.c: (gst_pad_template_new):
6359 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6362 say what CHECK flags we use
6363 * docs/libs/gstreamer-libs.types:
6364 * libs/gst/controller/Makefile.am:
6365 * libs/gst/controller/gst-controller.c:
6366 * libs/gst/controller/gst-controller.h:
6367 * libs/gst/controller/gst-helper.c:
6368 * libs/gst/controller/gst-interpolation.c:
6369 * libs/gst/controller/gstcontroller.c:
6370 * libs/gst/controller/gsthelper.c:
6371 * libs/gst/controller/gstinterpolation.c:
6372 * tools/gst-inspect.c: (print_plugin_info):
6373 we don't use dashes in header names
6375 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6377 * check/Makefile.am:
6378 * check/gst/.cvsignore:
6379 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
6380 (gst_pipeline_suite), (main):
6381 adding a test for pipelines and state changes
6382 * gst/gstutils.c: (get_state_func):
6384 * gstreamer.spec.in:
6387 2005-09-08 Michael Smith <msmith@fluendo.com>
6389 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
6390 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
6391 (gst_file_src_is_seekable), (gst_file_src_get_size),
6392 (gst_file_src_start):
6393 * gst/elements/gstfilesrc.h:
6394 Various fixes for unseekable, unmmapable, and non-normal files, so
6395 that fallback to read() rather than mmap() works.
6396 * gst/gstevent.c: (gst_event_new_newsegment):
6397 Allow newsegment events with segment_start == segment_end, as will
6398 correctly happen if you use filesrc on a zero-size file, for
6401 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6403 * gst/gstplugin.c: (gst_plugin_load_file):
6404 Call g_module_close when we don't load the module
6406 * gst/registries/gstlibxmlregistry.c:
6407 (gst_xml_registry_get_property):
6408 Port leak fix from 0.8
6410 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6412 * docs/gst/gstreamer-docs.sgml:
6413 * docs/gst/tmpl/.cvsignore:
6414 * docs/gst/tmpl/gsttrace.sgml:
6415 * docs/gst/tmpl/gsttrashstack.sgml:
6424 * gst/gsttaginterface.c:
6425 * gst/gsttaginterface.h:
6428 * gst/gsttagsetter.c:
6429 * gst/gsttagsetter.h:
6432 * gst/gsttrashstack.c:
6433 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
6434 inlined docs for gsttrace, gsttrashstack
6436 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6439 * gst/elements/gstbufferstore.h:
6440 * gst/elements/gsttypefindelement.c:
6441 * gst/elements/gsttypefindelement.h:
6443 * gst/gsttypefind.c:
6444 * gst/gsttypefind.h:
6445 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
6446 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
6447 (gst_type_find_factory_dispose),
6448 (gst_type_find_factory_unload_thyself),
6449 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
6450 (gst_type_find_factory_get_caps),
6451 (gst_type_find_factory_get_extensions),
6452 (gst_type_find_factory_call_function):
6453 * gst/gsttypefindfactory.h:
6454 * gst/registries/gstlibxmlregistry.c:
6455 * gst/registries/gstxmlregistry.c:
6456 splitted gsttypefind into gsttypefind, gsttypefindfactory
6458 2005-09-07 Andy Wingo <wingo@pobox.com>
6460 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
6461 condition whereby the pad's task function is entered before the
6462 pad_mode variable was set.
6464 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
6466 * gst/gstpad.c: (gst_pad_alloc_buffer):
6467 Catch misbehaving pad_alloc functions that don't
6468 set up caps and do it for them.
6470 2005-09-07 Stefan Kost <ensonic@users.sf.net>
6472 * check/pipelines/simple_launch_lines.c: (run_pipeline):
6474 * docs/gst/tmpl/.cvsignore:
6475 * docs/gst/tmpl/gstmemchunk.sgml:
6476 * docs/gst/tmpl/gstparse.sgml:
6477 * docs/gst/tmpl/gsttaglist.sgml:
6478 * docs/gst/tmpl/gsttagsetter.sgml:
6479 * docs/gst/tmpl/gsttypefind.sgml:
6480 * docs/gst/tmpl/gsttypefindfactory.sgml:
6481 * gst/gstmemchunk.c:
6484 * gst/gsttaginterface.c:
6485 * gst/gsttypefind.c:
6486 * gst/gsttypefind.h:
6489 === release 0.9.2 ===
6491 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
6496 releasing 0.9.2, "South"
6498 2005-09-05 Andy Wingo <wingo@pobox.com>
6500 * gst/registries/gstxmlregistry.h:
6501 * gst/registries/gstxmlregistry.c: Um... resurrect...
6503 * gst/registries/gstxmlregistry.h:
6504 * gst/registries/gstxmlregistry.c: and update to newer API.
6505 Incidentally they should be a bit faster now that they don't have
6508 2005-09-05 Andy Wingo <wingo@pobox.com>
6510 * gst/registries/gstxmlregistry.h:
6511 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
6512 replaced by the libxml registry a while back
6514 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6516 * docs/gst/tmpl/gstplugin.sgml:
6517 * gst/elements/gstelements.c:
6519 * gst/gstplugin.c: (gst_plugin_register_func),
6520 (gst_plugin_desc_copy), (gst_plugin_desc_free),
6521 (gst_plugin_get_source):
6523 * gst/registries/gstlibxmlregistry.c: (load_plugin),
6524 (gst_xml_registry_save_plugin):
6525 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
6526 (gst_xml_registry_save_plugin):
6527 * tools/gst-inspect.c: (print_plugin_info):
6528 add a "source" plugin description field, to represent the source
6529 module this plugin is a part of. By default GST_PLUGIN_DEFINE
6530 will set it to PACKAGE, which is automake's idea of the name of
6533 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
6539 * docs/faq/Makefile.am:
6540 * docs/gst/tmpl/gstelement.sgml:
6541 * docs/gst/tmpl/gsttypes.sgml:
6542 * docs/htmlinstall.mak:
6543 * docs/manual/Makefile.am:
6544 * docs/pwg/Makefile.am:
6545 reorganize doc build a little
6546 split out docbook and gtk-doc stuff
6547 have two separate --enable's and enable them through autogen
6548 but disable by default in configure (to be similar to other
6550 * gstreamer.spec.in:
6551 clean up docs install
6571 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
6573 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
6576 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6577 (gst_fake_sink_change_state):
6578 Make state change function thread-safe.
6580 * gst/gstpad.c: (gst_pad_alloc_buffer):
6581 Set offset on generic buffer allocated by fallback.
6583 2005-09-03 Stefan Kost <ensonic@users.sf.net>
6585 * docs/gst/gstreamer-sections.txt:
6586 * docs/gst/tmpl/gstelement.sgml:
6588 * libs/gst/controller/gst-controller.c:
6589 (gst_controlled_property_set_interpolation_mode),
6590 (gst_controlled_property_new),
6591 (gst_controller_find_controlled_property):
6592 run the wingo-magic script against the docs
6594 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6596 * docs/gst/gstreamer-docs.sgml:
6597 * docs/gst/gstreamer-sections.txt:
6598 * docs/gst/tmpl/.cvsignore:
6599 * docs/gst/tmpl/gstelementdetails.sgml:
6600 * docs/gst/tmpl/gstelementfactory.sgml:
6603 * gst/gstelementfactory.c:
6604 * gst/gstelementfactory.h:
6605 merged elementdetails docs into elementfactory docs
6608 2005-09-02 Andy Wingo <wingo@pobox.com>
6610 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
6611 consider this enum an enum and not a flags.
6613 2005-09-02 Stefan Kost <ensonic@users.sf.net>
6615 * docs/gst/gstreamer-docs.sgml:
6616 * docs/gst/tmpl/.cvsignore:
6617 * docs/gst/tmpl/gstghostpad.sgml:
6618 * docs/gst/tmpl/gstiterator.sgml:
6619 * docs/gst/tmpl/gstmacros.sgml:
6620 * docs/gst/tmpl/gstrealpad.sgml:
6621 * docs/gst/tmpl/gstregistry.sgml:
6622 * docs/gst/tmpl/gstregistrypool.sgml:
6623 * docs/gst/tmpl/gststructure.sgml:
6624 * docs/gst/tmpl/gstsystemclock.sgml:
6625 * docs/gst/tmpl/gsttrace.sgml:
6626 * gst/gstghostpad.c:
6628 * gst/gstmemchunk.c:
6629 * gst/gstmemchunk.h:
6631 * gst/gstregistry.c:
6632 * gst/gstregistrypool.c:
6633 * gst/gststructure.c:
6634 * gst/gstsystemclock.c:
6637 2005-09-02 Andy Wingo <wingo@pobox.com>
6639 * gst/gstelement.h (GstState): Renamed from GstElementState,
6640 changed to be a normal enum instead of flags.
6641 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
6642 munged to be GST_STATE_CHANGE_*.
6643 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
6644 work with the new state representation.
6645 (GstStateChange): New enumeration of possible state transitions.
6646 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
6647 (GstElementClass::change_state): Pass the GstStateChange along as
6648 an argument. Helps language bindings, so they don't have to use
6649 tricky lock-needing macros like GST_STATE_CHANGE ().
6651 * scripts/update-states (file): New script. Run it on a file to
6652 update it for state naming and API changes. Updates files in
6655 * All files updated for the new API.
6657 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
6659 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
6660 * gst/gstutils.c: (gst_util_set_value_from_string),
6661 (gst_util_set_object_arg):
6662 fix a bunch of unchecked return values
6663 * tools/gst-complete.c: (main):
6664 * gstreamer.spec.in:
6667 2005-09-01 Wim Taymans <wim@fluendo.com>
6669 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6670 (gst_base_sink_event), (gst_base_sink_do_sync),
6671 (gst_base_sink_handle_event):
6672 * gst/base/gstbasesink.h:
6673 Handle newsegments more correctly.
6678 * gst/gstevent.c: (gst_event_new_newsegment):
6679 A newsegment cannot have a start_time of -1
6681 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
6683 * win32/gstenumtypes.c:
6684 * win32/gstenumtypes.h:
6687 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6689 * libs/gst/controller/gst-controller.c:
6690 (gst_controlled_property_set_interpolation_mode),
6691 (gst_controlled_property_new):
6694 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
6696 * docs/faq/gst-uninstalled:
6701 * gst/gstutils.c: (gst_element_link_filtered):
6703 add gst_element_link_filtered
6705 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6707 * docs/gst/gstreamer-docs.sgml:
6708 * docs/gst/gstreamer-sections.txt:
6709 * docs/gst/tmpl/.cvsignore:
6710 * docs/gst/tmpl/gsterror.sgml:
6711 * docs/gst/tmpl/gstfilter.sgml:
6712 * docs/gst/tmpl/gsturihandler.sgml:
6713 * docs/gst/tmpl/gsturitype.sgml:
6714 * docs/gst/tmpl/gstutils.sgml:
6715 * docs/gst/tmpl/gstxml.sgml:
6723 inlined more docs, fixed double id-ref
6725 2005-08-31 Wim Taymans <wim@fluendo.com>
6727 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6728 (gst_base_transform_handle_buffer):
6729 Passthrough elements don't need the caps as they don't care.
6731 2005-08-31 Wim Taymans <wim@fluendo.com>
6733 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6734 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
6735 Don't leak refcounts on buffers.
6737 2005-08-31 Wim Taymans <wim@fluendo.com>
6739 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
6740 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6741 (gst_base_transform_chain), (gst_base_transform_change_state):
6742 * gst/base/gstbasetransform.h:
6743 Handle the case where we are not negotiated more gracefully.
6745 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
6747 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
6748 (gst_file_src_map_region):
6749 Set READONLY flag on mmap'ed buffers, otherwise
6750 gst_buffer_make_writable() won't work properly (#314708).
6752 2005-08-31 Wim Taymans <wim@fluendo.com>
6754 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
6755 passthrough elements can even do inplace on non writable
6756 buffers (as they don't touch them).
6758 2005-08-31 Stefan Kost <ensonic@users.sf.net>
6760 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6761 (gst_test_mono_source_set_property),
6762 (gst_test_mono_source_class_init), (GST_START_TEST),
6763 (gst_controller_suite):
6764 more tests (hehe I have the most)
6766 describe popping messages whenusing mulltiple sources
6767 * libs/gst/controller/gst-controller.c:
6768 (gst_controlled_property_set_interpolation_mode),
6769 (gst_controlled_property_new):
6770 * libs/gst/controller/gst-controller.h:
6771 * libs/gst/controller/gst-interpolation.c:
6772 implement boolean properties
6774 2005-08-31 Wim Taymans <wim@fluendo.com>
6776 * gst/gstminiobject.c: (gst_mini_object_ref):
6777 Cannot assert that the refcount has to be positive
6778 since a disposed object can be resurrected.
6780 2005-08-31 Wim Taymans <wim@fluendo.com>
6782 * gst/gstpad.c: (gst_pad_init):
6783 Revert change, need to first fix badly behaving
6786 2005-08-30 Wim Taymans <wim@fluendo.com>
6788 * check/elements/fakesrc.c: (setup_fakesrc):
6789 * check/elements/identity.c: (setup_identity):
6790 Activate pads before using them.
6792 2005-08-30 Wim Taymans <wim@fluendo.com>
6794 * gst/base/gstadapter.c: (gst_adapter_flush):
6795 Flushing out 0 bytes is ok for this function.
6797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6798 no newsegment gives a warning and sets the start/stop to
6801 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
6802 (gst_base_transform_set_passthrough):
6805 * gst/gstminiobject.c: (gst_mini_object_ref):
6806 Check refcount here too.
6808 * gst/gstpad.c: (gst_pad_init):
6809 Pads are initially flushing and refusing data.
6811 * gst/gstutils.c: (gst_element_link_pads_filtered):
6812 When adding a capsfilter element make sure it has the
6813 same state as the parent bin.
6815 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6817 * docs/gst/tmpl/.cvsignore:
6818 * docs/gst/tmpl/gstformat.sgml:
6819 * docs/gst/tmpl/gstversion.sgml:
6823 * gst/gstversion.h.in:
6824 more docs and two more inlined
6826 2005-08-30 Wim Taymans <wim@fluendo.com>
6828 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
6829 Don't sync to clock.
6831 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6833 * docs/gst/gstreamer-sections.txt:
6834 ultral33t func10ns deserve to appear in the docs actually
6835 * docs/gst/tmpl/.cvsignore:
6836 * docs/gst/tmpl/gstcompat.sgml:
6837 * docs/gst/tmpl/gstconfig.sgml:
6838 * gst/check/gstcheck.c:
6840 * gst/gstconfig.h.in:
6843 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6845 * docs/gst/tmpl/.cvsignore:
6846 * docs/gst/tmpl/gstquery.sgml:
6847 * docs/gst/tmpl/gstutils.sgml:
6850 inlined and extended docs
6852 2005-08-30 Stefan Kost <ensonic@users.sf.net>
6854 * check/gst-libs/controller.c: (GST_START_TEST),
6855 (gst_controller_suite):
6857 * docs/gst/tmpl/gstutils.sgml:
6858 * docs/libs/gstreamer-libs-sections.txt:
6859 * docs/libs/tmpl/gstdataprotocol.sgml:
6861 * examples/controller/audio-example.c: (main):
6862 controller example works now
6865 * tools/gst-inspect.c: (print_element_properties_info):
6866 show param spec flags
6868 2005-08-29 Andy Wingo <wingo@pobox.com>
6870 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
6872 2005-08-28 Andy Wingo <wingo@pobox.com>
6874 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
6875 as having two arguments instead of just one. Allows superclasses
6876 to access information on subclasses -- see the terrible for() loop
6877 in gtype.c:g_type_create_instance for the reason why. All callers
6880 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6882 * docs/design/part-messages.txt:
6884 * docs/gst/tmpl/.cvsignore:
6885 * docs/gst/tmpl/gstcaps.sgml:
6886 * docs/gst/tmpl/gstclock.sgml:
6893 added descriptions for bus and message
6894 inline caps and clock docs
6896 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6902 2005-08-27 Stefan Kost <ensonic@users.sf.net>
6904 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6907 2005-08-26 Andy Wingo <wingo@pobox.com>
6909 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
6910 element_set_state's return val.
6911 (test_2_elements): Add test that's been disabled for months.
6913 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
6914 can-activate-pull properties.
6916 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
6917 can-activate-pull properties. Implement is_seekable so fakesrc can
6918 operate in pull mode.
6920 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
6922 (gst_base_sink_activate, gst_base_sink_activate_pull)
6923 (gst_base_sink_activate_push): Make activation mode choosing work.
6925 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
6926 is right. Make pull mode work. Post an eos before pausing in pull
6928 (gst_base_sink_change_state): Pay attention to the core's
6929 change_state() return val.
6931 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
6932 has-getrange properties. Cleanups.
6934 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
6935 has_getrange and replace with can_activate_pull and
6938 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
6939 locking comments. Remove has_loop, has_chain and replace with
6940 can_activate_pull and can_activate_push.
6942 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
6945 * examples/Makefile.am:
6946 * examples/metadata/Makefile.am:
6947 * examples/metadata/read-metadata.c: (message_loop),
6948 (have_pad_handler), (make_pipeline), (print_tag), (main):
6949 Add metadata reading example that loops over a list of filenames,
6950 dumping any tags found.
6952 * gst/gstbus.c: (gst_bus_dispose):
6953 * gst/gstelement.c: (gst_element_dispose):
6954 Release a few potentially-held references in dispose.
6956 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6958 * docs/gst/tmpl/gstminiobject.sgml:
6959 do *not* add tmpl/*.sgml files to CVS!
6961 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6963 * libs/gst/bytestream/.cvsignore:
6964 * libs/gst/bytestream/Makefile.am:
6965 * libs/gst/bytestream/adapter.c:
6966 * libs/gst/bytestream/adapter.h:
6967 * libs/gst/bytestream/bytestream.c:
6968 * libs/gst/bytestream/bytestream.h:
6969 * libs/gst/bytestream/filepad.c:
6970 * libs/gst/bytestream/filepad.h:
6971 removing obsolete files
6973 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6975 * docs/gst/gstreamer-docs.sgml:
6976 * docs/libs/gstreamer-libs-docs.sgml:
6977 disabed additional index entries again, as this makes docs-gen just
6978 slow and they aren't useful yet
6979 * docs/libs/gstreamer-libs-sections.txt:
6980 little -section.txt cleanup for libs
6982 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
6984 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6985 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
6986 fix up some debugging
6987 (gst_base_transform_get_unit_size),
6988 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6989 (gst_base_transform_handle_buffer):
6990 * gst/base/gstbasetransform.h:
6991 handle and store timed NEWSEGMENT events so that subclasses that
6992 calculate time by counting samples have a segment_start time they
6993 need to add to their timestamps - see audioresample
6995 2005-08-26 Stefan Kost <ensonic@users.sf.net>
6998 removed ';' from the end of macro defs
6999 * docs/gst/gstreamer-docs.sgml:
7000 * docs/gst/gstreamer-sections.txt:
7001 * docs/gst/tmpl/.cvsignore:
7003 * gst/gstelement.c: (gst_element_class_init),
7004 (gst_element_set_state), (activate_pads),
7005 (gst_element_save_thyself):
7006 * gst/gstevent.c: (gst_event_new_newsegment):
7008 * gst/gstiterator.c:
7009 * gst/gstiterator.h:
7012 * gst/gstutils.c: (gst_pad_query_convert):
7014 fixed parameter name mismatches between source, header and docs
7015 added some more docs, resolved the last batch of unused elements in
7016 docs (now someone needs to doc them)
7018 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7020 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7021 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7022 don't walk through the plugins backwards. Where is all this
7023 reversed logic coming from ?
7025 2005-08-25 Wim Taymans <wim@fluendo.com>
7027 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7028 (gst_base_transform_transform_size),
7029 (gst_base_transform_configure_caps),
7030 (gst_base_transform_get_unit_size),
7031 (gst_base_transform_buffer_alloc),
7032 (gst_base_transform_change_state):
7033 * gst/base/gstbasetransform.h:
7034 Cache caps unit_size.
7035 Make sure we cannot negotiate up and downstream at the
7038 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7040 * gst/gst.c: (init_pre), (init_post):
7041 register the installed plugin path after the env var
7042 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7043 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7044 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7045 directories, so the tests can prefer uninstalled over installed
7047 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7049 * gst/base/gstbasetransform.h:
7054 2005-08-25 Wim Taymans <wim@fluendo.com>
7056 * gst/gstbin.c: (bin_bus_handler):
7057 Be a bit more conservative about the posted message.
7059 * gst/gstbus.c: (gst_bus_post):
7060 Some cleanups, warn wrong return values.
7062 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7064 * check/gst/gstbin.c: (GST_START_TEST):
7065 * gst/gstbin.c: (bin_bus_handler):
7066 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7067 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7068 (gst_message_new_warning), (gst_message_new_tag),
7069 (gst_message_new_state_changed), (gst_message_new_segment_start),
7070 (gst_message_new_segment_done), (gst_message_new_custom):
7072 * tools/gst-launch.c: (event_loop):
7073 * tools/gst-md5sum.c: (event_loop):
7074 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7076 2005-08-25 Wim Taymans <wim@fluendo.com>
7078 * check/generic/states.c: (GST_START_TEST):
7079 Cleanup can be done at the end.
7081 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7082 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7083 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7084 Oh boy.. Thanks for finding this, Thomas.
7086 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7088 * docs/gst/gstreamer.types:
7091 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7093 * docs/gst/gstreamer-docs.sgml:
7094 * docs/gst/gstreamer-sections.txt:
7095 * docs/gst/tmpl/.cvsignore:
7097 * gst/gstiterator.c:
7099 * gst/registries/gstxmlregistry.h:
7100 added missing classes and symbols (123 more to go)
7101 removed removed symbols from section file
7102 fixed many doc-comments
7104 2005-08-24 Wim Taymans <wim@fluendo.com>
7106 * check/generic/states.c: (GST_START_TEST):
7107 Make sure all tasks are stopped.
7109 * check/gst/gstbin.c: (GST_START_TEST):
7110 Unref after usage for proper valgrinding.
7112 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7113 Really wait for the task to stop before destroying the
7116 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7117 (gst_queue_src_activate_push):
7118 Small cleanups. Don't stop the task when we did not start
7121 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7122 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7123 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7126 Protect the stream lock with the object lock.
7127 Disallow setting the stream lock when running.
7128 Add cleanup_all to wait for the threadpool to finish.
7129 Remove code to autoallocate a mutex if none was provided.
7130 Add _join() to wait for a task to stop.
7131 Protect the thread pool with a global lock.
7133 2005-08-24 Wim Taymans <wim@fluendo.com>
7135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7136 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7137 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7138 * gst/base/gstbasesink.h:
7139 Handle newsegment events correctly.
7140 Drop buffers out of the segment range.
7142 2005-08-22 Andy Wingo <wingo@pobox.com>
7144 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7145 macro, implements an interface and gstimplementsinterface for a
7148 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7150 * check/Makefile.am:
7151 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7152 add a test that does a bunch of state changes on elements
7153 needs some fixing for valgrind
7154 * check/states/sinks.c: (gst_object_suite):
7157 add prototype for gst_caps_is_equal_fixed
7159 * gst/gstregistrypool.c:
7162 2005-08-24 Andy Wingo <wingo@pobox.com>
7164 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7165 convert a negative value. Doesn't make much sense. Mostly this is
7166 here to force callers to ensure -1 maps to -1.
7168 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7170 * docs/pwg/advanced-types.xml:
7171 Well done to Michael for catching my deliberate introduction
7172 of this spelling mistake.
7173 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7175 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7176 unlink pads before removing the element from the bin.
7178 2005-08-24 Andy Wingo <wingo@pobox.com>
7180 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7181 the same thing as GST_DEBUG=*:4.
7182 (parse_debug_level, parse_debug_category): New helper parsers.
7184 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7186 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7187 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7188 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7189 (gst_base_transform_buffer_alloc),
7190 (gst_base_transform_handle_buffer):
7191 use gboolean return values and pointers to size so we can use the
7192 full GST_BUFFER_SIZE range (guint) for buffer sizes
7193 use GstPadDirection for transform_caps
7194 * gst/base/gstbasetransform.h:
7195 rename get_size to get_unit_size since that's what it is
7196 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7197 use GstPadDirection for transform_caps
7198 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7200 cleanup and debugging
7202 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7204 * gst/gstelement.c: (gst_element_class_init),
7205 (gst_element_set_state), (activate_pads),
7206 (gst_element_save_thyself):
7207 * tools/gst-compprep.c: (main):
7208 * tools/gst-inspect.c: (print_element_properties_info):
7209 * tools/gst-xmlinspect.c: (print_element_properties):
7210 Fixed long standing mem-leak
7212 2005-08-24 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 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7225 that applications can sensibly post custom messages with references
7226 to their own objects.
7228 2005-08-24 Andy Wingo <wingo@pobox.com>
7230 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7233 2005-08-24 Wim Taymans <wim@fluendo.com>
7235 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7236 (gst_base_transform_transform_caps),
7237 (gst_base_transform_transform_size),
7238 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7239 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7240 (gst_base_transform_handle_buffer):
7241 * gst/base/gstbasetransform.h:
7242 Many fixes and new features added by Thomas. Can now also do
7243 transforms with variable sizes and a custom fixate_caps function.
7245 2005-08-24 Wim Taymans <wim@fluendo.com>
7247 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7251 Cast to ClockTime before formatting to time.
7256 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7258 * check/gst-libs/controller.c: (GST_START_TEST),
7259 (gst_controller_suite):
7260 * docs/gst/tmpl/gstcaps.sgml:
7261 * docs/gst/tmpl/gstghostpad.sgml:
7262 * docs/gst/tmpl/gstquery.sgml:
7263 * docs/gst/tmpl/gstutils.sgml:
7264 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7265 (gst_object_sink_values), (gst_object_get_value_arrays),
7266 (gst_object_get_value_array):
7267 gracefully handle helper method calls to objects that are not beeing
7268 controlled, added test case for that
7270 2005-08-23 Wim Taymans <wim@fluendo.com>
7272 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7273 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7274 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7275 (gst_event_parse_qos), (gst_event_new_seek),
7276 (gst_event_parse_seek):
7278 Some more debugging output and doc cleanups.
7280 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7281 Fix possible deadlock.
7283 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7285 * docs/gst/gstreamer-docs.sgml:
7286 * docs/gst/gstreamer-sections.txt:
7287 * docs/gst/gstreamer.types:
7288 * docs/gst/tmpl/.cvsignore:
7293 added 100 symbols from gstreamer-unused.txt to the right sections
7294 fixed more broken comments
7295 added GstBus to docs
7297 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7299 * docs/gst/gstreamer-sections.txt:
7300 * docs/gst/tmpl/.cvsignore:
7301 * docs/gst/tmpl/gstbin.sgml:
7302 * docs/gst/tmpl/gstbuffer.sgml:
7303 * gst/base/gstbasesrc.c:
7304 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
7307 * tools/gst-launch.1.in:
7308 inlined more doc comments, added missing comments and fixed comments
7311 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
7313 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7317 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
7319 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
7320 * gst/gststructure.h:
7321 add a fixate function for booleans; add a FIXME that these func
7322 names should probably be gst_structure_fixate_*
7324 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7326 * docs/gst/gstreamer-docs.sgml:
7327 * docs/gst/gstreamer-sections.txt:
7329 * gst/gstbin.c: (gst_bin_get_type),
7330 (gst_bin_child_proxy_get_child_by_index),
7331 (gst_bin_child_proxy_get_children_count),
7332 (gst_bin_child_proxy_init):
7333 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
7334 (gst_child_proxy_get_child_by_index),
7335 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
7336 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
7337 (gst_child_proxy_get), (gst_child_proxy_set_property),
7338 (gst_child_proxy_set_valist), (gst_child_proxy_set),
7339 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
7340 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
7341 * gst/gstchildproxy.h:
7342 * gst/parse/grammar.y:
7343 * tools/gst-inspect.c: (print_interfaces),
7344 (print_element_properties_info), (print_element_info):
7345 ported gstchildproxy over from 0.8
7346 ported gst-inspect fixes and enhancements over from 0.8
7348 2005-08-22 Wim Taymans <wim@fluendo.com>
7350 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7351 (gst_base_transform_handle_buffer):
7352 Also call the transform function if we have ANY caps.
7354 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
7357 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7359 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
7360 Don't pretend to handle seek events if the source is not seekable
7362 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
7364 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7365 Remove extra parameter to debug output
7367 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7368 (gst_base_src_do_seek), (gst_base_src_activate_push):
7369 Fix seek event handling.
7371 * gst/gstpipeline.c: (gst_pipeline_change_state):
7372 * gst/gstqueue.c: (gst_queue_handle_sink_event),
7373 (gst_queue_src_activate_push):
7374 Don't start the src pad task on FLUSH_STOP if the pad
7378 2005-08-22 Wim Taymans <wim@fluendo.com>
7380 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7381 Added check for gst_static_caps_get() refcounting.
7383 2005-08-22 Wim Taymans <wim@fluendo.com>
7385 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
7386 Make _static_caps_get() refcounting sane.
7388 * gst/gstelement.c: (gst_element_set_state):
7389 Add g_return_val_if_fail() to protect against segfaults.
7391 2005-08-22 Stefan Kost <ensonic@users.sf.net>
7393 * docs/gst/tmpl/gstevent.sgml:
7396 inlined remaining docs, added missing doc comments
7398 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
7400 * check/gst/gstbin.c: (GST_START_TEST):
7401 since we don't know when preroll is done, use refcount range
7403 * gst/check/gstcheck.h:
7404 add macro for checking refcount range
7406 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7408 * check/Makefile.am:
7409 clean up environment for when registry gets built versus
7410 when actual tests are run; valgrind seems to not report
7411 leaks if GST_PLUGIN_PATH is set to some specific values
7412 * check/gst/gstbin.c: (GST_START_TEST):
7413 add more refcounting checks; maybe this exposes a
7416 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7417 * gst/check/gstcheck.h:
7418 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
7419 (gst_bin_change_state):
7420 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
7421 add/fix debugging/whitespace
7423 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7425 * check/gst/gstevent.c: (event_probe), (test_event),
7427 Er, don't call gst_bin_watch_for_state_change you idiot.
7429 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
7431 * check/Makefile.am:
7432 Use CHECK_CFLAGS and CHECK_LIBS
7433 * check/gst/gstevent.c: (event_probe), (test_event),
7436 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
7437 (gst_base_src_start), (gst_base_src_stop),
7438 (gst_base_src_activate_push), (gst_base_src_activate_pull),
7439 (gst_base_src_change_state):
7440 Sprinkle gst_base_src_stop liberally around error paths to fix
7441 problems reusing a source after failed state changes.
7442 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7443 (helper_find_suggest), (gst_type_find_helper):
7444 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
7446 * docs/gst/tmpl/gstevent.sgml:
7447 Migrate part of the docs from the SGML file. Wait for ensonic to
7448 tell me how I did it wrong ;)
7449 * tools/gst-typefind.c: (main):
7450 Extra robustness to state changes between files.
7452 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
7454 * check/Makefile.am:
7455 don't valgrind the controller test - it's leaking - Stefan, HELP
7456 * gst/check/gstcheck.c: (gst_check_message_error),
7457 (gst_check_chain_func), (gst_check_setup_element),
7458 (gst_check_teardown_element), (gst_check_setup_src_pad),
7459 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7460 (gst_check_teardown_sink_pad):
7461 * gst/check/gstcheck.h:
7462 add a bunch of methods to set up elements, and src and sink pads
7463 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
7464 * check/elements/identity.c: (setup_identity), (cleanup_identity),
7469 whitespace/doc fixes
7471 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7474 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
7475 be handled by the application and not always printed as well
7477 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * check/Makefile.am:
7481 * gst/check/gstcheck.c: (gst_check_message_error):
7482 * gst/check/gstcheck.h:
7483 add a fail_unless_equals_int
7484 add fail_unless for error messages
7486 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7488 * check/Makefile.am:
7490 * common/Makefile.am:
7493 factor out some of the common stuff so we can use it
7495 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7497 * check/Makefile.am:
7498 * check/gst/gstiterator.c: (GST_START_TEST):
7499 * check/gst/gstsystemclock.c: (GST_START_TEST),
7500 (gst_systemclock_suite):
7501 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7505 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
7507 * check/elements/.cvsignore:
7508 * check/elements/gstfakesrc.c:
7509 rename to name of element
7510 * check/elements/identity.c: (chain_func), (event_func),
7511 (setup_identity), (cleanup_identity), (GST_START_TEST),
7512 (identity_suite), (main):
7513 add a test for identity
7514 * check/Makefile.am:
7515 * pkgconfig/Makefile.am:
7516 * pkgconfig/gstreamer-check.pc.in:
7517 * pkgconfig/gstreamer-check-uninstalled.pc.in:
7521 move the check stuff to a library that gets installed
7522 * check/gst-libs/controller.c: (GST_START_TEST):
7523 * check/gst-libs/gdp.c:
7524 * check/gst/gst.c: (GST_START_TEST):
7525 * check/gst/gstbin.c:
7526 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7527 * check/gst/gstbus.c:
7528 * check/gst/gstcaps.c: (GST_START_TEST):
7529 * check/gst/gstelement.c:
7530 * check/gst/gstghostpad.c:
7531 * check/gst/gstiterator.c:
7532 * check/gst/gstmessage.c:
7533 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
7534 * check/gst/gstobject.c:
7535 * check/gst/gstpad.c: (GST_START_TEST):
7536 * check/gst/gststructure.c: (GST_START_TEST):
7537 * check/gst/gstsystemclock.c: (GST_START_TEST),
7538 (gst_systemclock_suite):
7539 * check/gst/gsttag.c: (gst_tag_suite):
7540 * check/gst/gstvalue.c:
7541 * check/pipelines/cleanup.c:
7542 * check/pipelines/simple_launch_lines.c:
7543 * check/states/sinks.c:
7544 change include statement
7546 * docs/gst/gstreamer-sections.txt:
7547 * docs/gst/tmpl/gstpad.sgml:
7548 document more pad stuff
7549 * gst/gstminiobject.c: (gst_mini_object_ref),
7550 (gst_mini_object_unref):
7553 2005-08-19 Stefan Kost <ensonic@users.sf.net>
7555 * docs/gst/tmpl/gst.sgml:
7557 eliminate another tmpl file, fix spelling in the long-description
7559 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7561 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7562 (test_event), (timediff), (gstevents_suite):
7563 Should fix build on 64-bit arch's
7565 2005-08-18 Andy Wingo <wingo@pobox.com>
7567 Make sure that when a pipeline goes to PLAYING, that data has
7568 actually hit the sink.
7570 * check/states/sinks.c (test_sink): A sink that doesn't get any
7571 data shouldn't return SUCCESS for going to either PLAYING or
7572 PAUSED. Test also the return values on the way back down.
7574 * gst/gstelement.c (gst_element_set_state): When changing the
7575 state of an element currently changing state asynchronously, go to
7576 lost-state after commiting the pending state. Makes future calls
7577 to get_state continue to return ASYNC.
7579 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
7580 ASYNC when going to PLAYING if we still don't have preroll, as can
7581 happen with live sources.
7583 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7585 * docs/pwg/advanced-types.xml:
7586 Hack long paragraph into 2 chunks as a workaround for buggy
7587 jadetex version in sid and breezy that loops infinitely and
7590 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7592 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7593 (test_event), (timediff), (gstevents_suite):
7594 Provide more error margin in clock measurements to allow for
7595 g_get_current_time inaccuracies.
7597 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7599 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7600 (test_event), (timediff), (gstevents_suite):
7601 Fix error message output so I might be able to tell why the
7602 test works here but fails on the build farm.
7604 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
7606 * check/Makefile.am:
7607 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
7608 (test_event), (timediff), (gstevents_suite), (main):
7611 * docs/design/part-seeking.txt:
7614 * docs/gst/tmpl/gstevent.sgml:
7615 * docs/gst/tmpl/gstfakesrc.sgml:
7618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7619 Treat a buffer-without-newsegment the same as a receiving
7620 a newsegment not in time format, and disable syncing to the clock
7623 * gst/gstbus.c: (gst_bus_set_sync_handler):
7624 Assert if anyone tries to replace the existing sync_handler for bus,
7625 as only the owner should be setting it.
7628 Have a fixed set of custom event enums with events identified by
7629 their structure name (as in 0.8), rather than a free-for-all
7630 allowing collisions between enum values from different plugins.
7632 * gst/gstpad.c: (gst_pad_class_init):
7635 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7636 Handle out-of-band downstream events from the sending thread.
7638 2005-08-17 Andy Wingo <wingo@pobox.com>
7640 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
7641 play-timeout==0 to mean no timeout at all. In that case, don't
7642 bother with a get_state or a warning, just return directly, even
7645 * gst/base/gstbasetransform.c: Debug changes.
7648 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
7649 ensure bins post state change messages. A bit of a hack but I can't
7650 think of a way to avoid it.
7652 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
7654 2005-08-16 Andy Wingo <wingo@pobox.com>
7656 * gst/base/gstadapter.h:
7657 * gst/base/gstadapter.c (gst_adapter_take): New function, like
7658 peek() but you own the data. Not terribly efficient atm.
7660 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7662 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
7663 (gst_element_found_tags):
7665 Add two utility functions for tag handling.
7667 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7669 * docs/manual/advanced-dataaccess.xml:
7670 * docs/manual/basics-helloworld.xml:
7671 Fix docs to use _bin_add() before _link(), which fixes the examples
7672 with recent core versions (reported by Madhan Raj M
7673 <raj_madan@rediffmail.com>, #313199).
7675 2005-08-16 Wim Taymans <wim@fluendo.com>
7677 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7678 Added subtract checks.
7680 * docs/design/part-events.txt:
7681 Some more docs about newsegment
7683 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7686 * gst/gstcaps.c: (gst_caps_to_string):
7687 Add comments, cleanups.
7689 * gst/gstelement.c: (gst_element_save_thyself):
7692 * gst/gstvalue.c: (gst_value_collect_int_range),
7693 (gst_string_unwrap), (gst_value_union_int_int_range),
7694 (gst_value_union_int_range_int_range),
7695 (gst_value_intersect_int_int_range),
7696 (gst_value_intersect_int_range_int_range),
7697 (gst_value_intersect_double_double_range),
7698 (gst_value_intersect_double_range_double_range),
7699 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
7700 (gst_value_subtract_int_range_int),
7701 (gst_value_subtract_double_range_double),
7702 (gst_value_subtract_double_range_double_range),
7703 (gst_value_subtract_from_list), (gst_value_subtract_list),
7704 (gst_value_can_compare), (gst_value_compare_fraction):
7705 Cleanups, add comments, remove unneeded asserts.
7707 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7709 * tools/gst-launch.c: (event_loop):
7710 don't convert NULL structures to strings
7712 2005-08-15 Stefan Kost <ensonic@users.sf.net>
7714 * docs/gst/gstreamer-sections.txt:
7715 made some defines private
7716 * docs/gst/tmpl/gstconfig.sgml:
7717 * docs/gst/tmpl/gstqueue.sgml:
7718 * docs/gst/tmpl/gsttaglist.sgml:
7719 * docs/gst/tmpl/gsttypes.sgml:
7720 * docs/gst/tmpl/gstutils.sgml:
7721 * docs/pwg/appendix-porting.xml:
7722 * gst/base/gstbasesink.h:
7723 * gst/base/gstbasesrc.c:
7724 * gst/base/gstbasesrc.h:
7725 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
7726 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
7727 * gst/gstelement.c: (gst_element_class_init):
7728 * gst/gstpad.c: (gst_pad_class_init):
7729 * gst/gstqueue.c: (gst_queue_class_init):
7730 * gst/gstxml.c: (gst_xml_class_init):
7731 documented all undocumented signal inline
7732 * libs/gst/controller/gst-controller.h:
7735 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7737 * docs/pwg/appendix-porting.xml:
7738 Document _set_link_function -> _set_setcaps_function.
7740 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
7742 * check/Makefile.am:
7743 add a .check target for running the check
7744 * check/gst-libs/controller.c: (GST_START_TEST):
7746 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7747 complete checks for gstbuffer; would be nice if I could get the
7748 gcov stuff to work so I can see if I actually completed gstbuffer.c
7750 add ASSERT_BUFFER_REFCOUNT
7752 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
7754 * docs/gst/gstreamer-sections.txt:
7755 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
7757 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
7758 spew out a warning if a tag that is already registered
7759 is re-registered, unless it is re-registered with a
7760 different type (#308438).
7762 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
7764 * docs/pwg/appendix-porting.xml:
7765 * docs/pwg/building-state.xml:
7766 Add some paragraphs about state changes in 0.9 to the PWG
7767 and the porting guide, in particular about the new meaning
7768 of GST_STATE_PAUSED and how to write state change functions
7769 with concurrent access by multiple threads in mind.
7771 2005-08-11 Stefan Kost <ensonic@users.sf.net>
7773 * docs/gst/gstreamer-docs.sgml:
7774 * docs/libs/gstreamer-libs-docs.sgml:
7775 added deprecation and since indexes
7776 * libs/gst/controller/gst-controller.c:
7777 * libs/gst/controller/gst-helper.c:
7781 2005-08-11 Wim Taymans <wim@fluendo.com>
7783 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
7784 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
7785 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
7786 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
7787 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
7788 (gst_ghost_pad_set_target):
7789 Actually implement (re)setting the target on a ghostpad
7790 as described in the docs.
7792 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7794 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
7795 Check whether GST_DEBUG_NO_COLOR environment variable is
7796 set and disable coloured debug output if that is the case.
7798 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
7800 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7801 (gst_type_find_helper):
7802 The memory returned by gst_type_find_peek() needs to
7803 stay valid until the end of a typefind function, and
7804 typefind functions may keep results from different
7805 offsets around, so we can't just unref the buffer from
7806 the previous _peek(), but have to save all buffers
7807 returned by _peek() until typefinding is done and only
7810 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
7812 * docs/gst/gstreamer-sections.txt:
7814 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
7816 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7818 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7819 Fix a pretty good memleak.
7821 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7823 * gst/gstiterator.h:
7824 Fix wrong include and 'make distcheck'.
7826 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7828 * gst/gstbin.c: (bin_bus_handler):
7829 Use gst_element_post_message() instead.
7831 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
7833 * gst/base/gstadapter.h:
7834 * gst/base/gstbasesink.h:
7835 * gst/base/gstbasesrc.h:
7836 * gst/base/gstbasetransform.h:
7837 * gst/base/gstcollectpads.h:
7838 * gst/base/gstpushsrc.h:
7839 * gst/gstiterator.h:
7840 Add padding to our base elements' class and instance structs and
7841 to GstIterator (you will need to rebuild all plugins and apps!)
7843 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7845 * gst/gstbin.c: (bin_bus_handler):
7846 Make default message forwarding from child->bus to bin->bus
7847 threadsafe and make it not emit warnings if the parent has no bus.
7849 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7851 * gst/gstelement.c: (activate_pads):
7852 On paused->ready, set pad->caps to NULL, as is the documented
7853 behaviour in this state change. Fixes playback of series of
7854 media files when visualization is enabled in Totem.
7856 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7858 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7859 Allow NULL as filter-caps (which means "any").
7861 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7863 * docs/libs/gstreamer-libs-sections.txt:
7864 * libs/gst/controller/gst-controller.c:
7865 * libs/gst/controller/gst-controller.h:
7866 * libs/gst/controller/gst-helper.c:
7867 adding more entries to the docs and fix small doc-bugs
7869 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7871 * docs/gst/gstreamer-docs.sgml:
7872 * docs/gst/gstreamer-sections.txt:
7873 * docs/gst/gstreamer.types:
7874 * docs/gst/tmpl/gstbasesink.sgml:
7875 * docs/gst/tmpl/gstbasesrc.sgml:
7876 * docs/gst/tmpl/gstbasetransform.sgml:
7877 * docs/gst/tmpl/gstfakesrc.sgml:
7878 * gst/base/gstcollectpads.c:
7879 * gst/base/gstcollectpads.h:
7880 * libs/gst/controller/gst-controller.c:
7881 * libs/gst/controller/gst-controller.h:
7882 * libs/gst/controller/gst-helper.c:
7883 * libs/gst/controller/gst-interpolation.c:
7884 * libs/gst/controller/lib.c:
7885 added long/short desc for controller docs
7886 added collectpads base class docs
7887 added correct includes to base-class docs
7889 2005-08-05 Stefan Kost <ensonic@users.sf.net>
7891 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7892 (gst_test_mono_source_set_property),
7893 (gst_test_mono_source_class_init), (GST_START_TEST),
7894 (gst_controller_suite):
7895 * docs/gst/gstreamer-docs.sgml:
7896 * docs/gst/gstreamer-sections.txt:
7897 * docs/gst/gstreamer.types:
7898 * docs/libs/gstreamer-libs-docs.sgml:
7899 * docs/libs/gstreamer-libs-sections.txt:
7900 * gst/base/gstadapter.c:
7901 * libs/gst/controller/gst-controller.c:
7902 (gst_controlled_property_new), (gst_controlled_property_free),
7903 (gst_controller_new_valist),
7904 (gst_controller_remove_properties_valist),
7905 (gst_controller_sink_values), (_gst_controller_finalize):
7906 * libs/gst/controller/gst-controller.h:
7907 * libs/gst/controller/gst-helper.c:
7908 (gst_object_control_properties), (gst_object_uncontrol_properties),
7909 (gst_object_get_controller), (gst_object_set_controller),
7910 (gst_object_sink_values), (gst_object_get_value_arrays),
7911 (gst_object_get_value_array):
7912 more tests (and fixes) for the controller
7913 more docs for the controller
7914 integrated companies docs for the adapter
7916 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7918 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
7919 (GST_START_TEST), (fakesrc_suite):
7920 add tests for sizetype
7922 2005-08-04 Andy Wingo <wingo@pobox.com>
7924 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
7925 fixes buffer_alloc proxying among other things.
7927 * gst/base/gstbasetransform.c:
7928 * gst/base/gstbasetransform.h:
7929 Revert patch to gstbasetransform from 7-28 removing
7932 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
7933 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
7934 Semantics changed, should return not the size of the output buffer
7935 but the byte size of a buffer with a given caps.
7937 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
7939 (gst_base_transform_configure_caps): Don't set out_size here: (in,
7940 out) are not the pad caps until setcaps finishes.
7941 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
7942 not-in-place case as well. Deal with changing from in-place to
7943 not-in-place within calling pad_alloc_buffer. Still a bit
7944 concerned about the overhead here...
7946 2005-08-03 Andy Wingo <wingo@pobox.com>
7948 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
7949 fixating is an error.
7951 2005-08-04 Edward Hervey <edward@fluendo.com>
7953 * gst/base/gstadapter.h:
7954 Added gst_adapter_get_type() to the header
7956 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7958 * check/Makefile.am:
7959 * check/gst-libs/controller.c:
7960 * libs/gst/controller/gst-controller.c:
7961 (gst_controller_new_valist):
7962 added check test suite for the controller
7963 * gst/base/gstpushsrc.c:
7966 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7968 * docs/gst/Makefile.am:
7969 * docs/gst/gstreamer-docs.sgml:
7970 * docs/gst/gstreamer-sections.txt:
7971 * docs/gst/gstreamer.types:
7972 * docs/gst/tmpl/gstfakesrc.sgml:
7974 * gst/base/gstbasesink.c:
7975 * gst/base/gstbasesink.h:
7976 * gst/base/gstbasesrc.c:
7977 * gst/base/gstbasesrc.h:
7978 * gst/base/gstbasetransform.c:
7979 * gst/base/gstpushsrc.c:
7980 * gst/base/gstpushsrc.h:
7981 add short/long description docs to base classes
7982 add pushsrc to the docs
7983 remove consolidated doc fragments
7985 2005-08-03 Stefan Kost <ensonic@users.sf.net>
7988 * docs/libs/Makefile.am:
7989 * docs/libs/gstreamer-libs-docs.sgml:
7990 * docs/libs/gstreamer-libs-sections.txt:
7991 * docs/libs/gstreamer-libs.types:
7992 * examples/Makefile.am:
7993 * examples/controller/.cvsignore:
7994 * examples/controller/Makefile.am:
7995 * examples/controller/audio-example.c: (main):
7996 * libs/gst/Makefile.am:
7997 * libs/gst/controller/.cvsignore:
7998 * libs/gst/controller/Makefile.am:
7999 * libs/gst/controller/gst-controller.c:
8000 (on_object_controlled_property_changed), (gst_timed_value_compare),
8001 (gst_timed_value_find),
8002 (gst_controlled_property_set_interpolation_mode),
8003 (gst_controlled_property_new), (gst_controlled_property_free),
8004 (gst_controller_find_controlled_property),
8005 (gst_controller_new_valist), (gst_controller_new),
8006 (gst_controller_remove_properties_valist),
8007 (gst_controller_remove_properties), (gst_controller_set),
8008 (gst_controller_set_from_list), (gst_controller_unset),
8009 (gst_controller_get), (gst_controller_get_all),
8010 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8011 (gst_controller_get_value_array),
8012 (gst_controller_set_interpolation_mode),
8013 (_gst_controller_finalize), (_gst_controller_init),
8014 (_gst_controller_class_init), (gst_controller_get_type):
8015 * libs/gst/controller/gst-controller.h:
8016 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8017 (g_object_uncontrol_properties), (g_object_get_controller),
8018 (g_object_set_controller), (g_object_sink_values),
8019 (g_object_get_value_arrays), (g_object_get_value_array):
8020 * libs/gst/controller/gst-interpolation.c:
8021 (gst_controlled_property_find_timed_value_node),
8022 (interpolate_none_get), (interpolate_trigger_get),
8023 (interpolate_trigger_get_value_array):
8024 * libs/gst/controller/lib.c: (gst_controller_init):
8025 * pkgconfig/Makefile.am:
8026 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8027 * pkgconfig/gstreamer-control.pc.in:
8028 * testsuite/Makefile.am:
8029 * testsuite/controller/.cvsignore:
8030 * testsuite/controller/Makefile.am:
8031 * testsuite/controller/interpolator.c: (main):
8032 added controller code
8033 removed dparam pc files
8035 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8036 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8037 (gst_collectpads_stop):
8038 Broadcast the condition when shutting down, to make sure we wake all
8039 threads up. Shut down pads on finalize, for safety.
8041 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8042 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8043 (gst_base_transform_handle_buffer),
8044 (gst_base_transform_change_state):
8045 Handle PAUSED->READY->PAUSED transition after negotiation
8047 * gst/gstmessage.c: (gst_message_init):
8048 Extra piece of debug for new messages.
8050 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8053 * docs/gst/tmpl/gstbasesrc.sgml:
8054 * docs/gst/tmpl/gstelement.sgml:
8055 * docs/gst/tmpl/gstevent.sgml:
8056 * docs/gst/tmpl/gstfakesrc.sgml:
8057 * docs/gst/tmpl/gstformat.sgml:
8058 * docs/gst/tmpl/gstghostpad.sgml:
8059 * docs/gst/tmpl/gstpad.sgml:
8060 * docs/gst/tmpl/gstquery.sgml:
8061 * docs/gst/tmpl/gststructure.sgml:
8062 * docs/gst/tmpl/gsttaglist.sgml:
8063 * docs/gst/tmpl/gstvalue.sgml:
8064 * docs/libs/gstreamer-libs-docs.sgml:
8065 * docs/libs/gstreamer-libs-sections.txt:
8066 * docs/libs/gstreamer-libs.types:
8067 * libs/gst/Makefile.am:
8068 * libs/gst/control/.cvsignore:
8069 * libs/gst/control/Makefile.am:
8070 * libs/gst/control/control.c:
8071 * libs/gst/control/control.h:
8072 * libs/gst/control/dparam.c:
8073 * libs/gst/control/dparam.h:
8074 * libs/gst/control/dparam_smooth.c:
8075 * libs/gst/control/dparam_smooth.h:
8076 * libs/gst/control/dparamcommon.h:
8077 * libs/gst/control/dparammanager.c:
8078 * libs/gst/control/dparammanager.h:
8079 * libs/gst/control/dplinearinterp.c:
8080 * libs/gst/control/dplinearinterp.h:
8081 * libs/gst/control/unitconvert.c:
8082 * libs/gst/control/unitconvert.h:
8083 * testsuite/Makefile.am:
8084 * testsuite/dynparams/.cvsignore:
8085 * testsuite/dynparams/Makefile.am:
8086 * testsuite/dynparams/dparamstest.c:
8087 * tools/Makefile.am:
8088 * tools/gst-inspect.c: (print_element_info), (main):
8089 * tools/gst-xmlinspect.c: (print_element_info), (main):
8090 deactivate and remove dparams (libgstcontrol)
8092 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8094 * gst/elements/gsttypefindelement.c:
8095 (gst_type_find_element_have_type), (gst_type_find_element_init),
8096 (stop_typefinding), (gst_type_find_element_handle_event),
8097 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8098 * gst/elements/gsttypefindelement.h:
8099 Set caps on all outgoing buffers, not just the first one.
8101 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8103 * gst/elements/gsttypefindelement.c:
8104 (gst_type_find_element_have_type),
8105 (gst_type_find_element_check_set_buffer_caps),
8106 (gst_type_find_element_init), (stop_typefinding),
8107 (gst_type_find_element_handle_event),
8108 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8109 * gst/elements/gsttypefindelement.h:
8110 Set caps on first outgoing buffer when we've found the type.
8112 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8114 * docs/gst/gstreamer-docs.sgml:
8115 * docs/gst/gstreamer-sections.txt:
8116 * docs/gst/tmpl/gstscheduler.sgml:
8117 * docs/gst/tmpl/gstschedulerfactory.sgml:
8118 Remove some old cruft from docs.
8120 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8123 Fix inline docs for GstPadLinkReturn.
8125 * gst/gststructure.c: (gst_structure_has_name):
8126 * gst/gststructure.h:
8127 * docs/gst/gstreamer-sections.txt:
8128 New API: gst_structure_has_name().
8130 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8133 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8134 and _LARGEFILE_SOURCE in config.h as required. Do not
8135 export those flags in our .pc files any longer (#142209).
8137 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8139 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8140 (gst_file_sink_do_seek), (gst_file_sink_event),
8141 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8142 Redo seek/tell calls with large file support in mind; add some
8143 debugging messages; add log message that tells us when large
8144 file support is unavailable or not enabled for some reason.
8146 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8147 Add log message that tells us when large file support
8148 is unavailable or not enabled for some reason.
8150 2005-07-29 Wim Taymans <wim@fluendo.com>
8152 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8153 Added test for removing an element with ghostpad from a bin.
8154 Fixed test as current implementation does the right thing.
8156 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8157 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8158 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8159 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8160 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8161 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8162 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8163 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8164 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8165 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8166 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8167 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8168 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8169 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8170 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8171 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8172 * gst/gstghostpad.h:
8173 Clean up ghostpads, remove properties for internal stuff.
8176 Prepare for switching targets, not all use cases work yet.
8178 2005-07-29 Wim Taymans <wim@fluendo.com>
8180 * docs/design/part-gstghostpad.txt:
8183 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8184 (gst_bin_remove_func):
8185 Unlinking pads while holding the bin LOCK is not a good
8188 * gst/gstpad.c: (gst_pad_class_init),
8189 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8190 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8191 No prob setting template after creating the pad.
8193 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8195 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8196 (gst_bus_peek), (gst_bus_source_dispatch),
8197 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8198 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8199 gst_bus_poll may be called from other threads. Handle
8200 this nicely by not making poll_data disappear off the
8201 stack once gst_bus_poll returns.
8202 gst_bus_peek now increments the refcount on the returned
8205 2005-07-29 Wim Taymans <wim@fluendo.com>
8207 * docs/design/part-gstghostpad.txt:
8208 Overview of current GhostPad datastructures and use
8209 cases for changing the target.
8211 2005-07-28 Wim Taymans <wim@fluendo.com>
8213 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8214 Added checks for hierarchy consistency whan adding linked
8217 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8218 Added check to test element scheduling without bin/pipeline.
8220 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8221 First add elements to bin, then link.
8223 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8224 (gst_bin_remove_func):
8225 Unlink pads from elements added/removed from bin to maintain
8226 hierarchy consistency.
8228 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8230 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8231 (gst_base_transform_handle_buffer):
8232 * gst/base/gstbasetransform.h:
8233 Remove broken delay_configure (fixes renegotiation of software
8234 scaling pipelines); remove some leftover printf()s.
8236 2005-07-28 Wim Taymans <wim@fluendo.com>
8238 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8239 Added some more tests for wrong hierarchy
8241 * docs/design/part-overview.txt:
8244 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8247 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8248 (gst_element_dispose):
8251 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8252 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8253 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8254 (gst_pad_set_caps), (gst_pad_send_event):
8255 Check for correct hierarchy when linking pads. Moving to
8256 strict requirement for ghostpads when linking elements in
8260 Clean ups. Added WRONG_HIERARCHY return value.
8262 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8264 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8265 Better debug if no transform is possible.
8267 2005-07-27 Wim Taymans <wim@fluendo.com>
8269 * docs/random/wtay/network-transp:
8272 2005-07-27 Wim Taymans <wim@fluendo.com>
8274 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8275 (gst_dp_event_from_packet):
8276 Fix serialization of seek events.
8278 2005-07-27 Wim Taymans <wim@fluendo.com>
8280 * check/gst-libs/gdp.c: (GST_START_TEST):
8281 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8282 Fix compilation and fix event serialization.
8284 2005-07-27 Wim Taymans <wim@fluendo.com>
8287 * docs/design/part-TODO.txt:
8288 * docs/design/part-events.txt:
8291 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8292 (gst_base_sink_event), (gst_base_sink_do_sync),
8293 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8294 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8295 (gst_base_src_do_seek), (gst_base_src_event_handler),
8296 (gst_base_src_loop):
8297 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8298 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8299 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8300 (gst_base_transform_event), (gst_base_transform_handle_buffer),
8301 (gst_base_transform_set_passthrough),
8302 (gst_base_transform_is_passthrough):
8303 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8304 * gst/elements/gstfilesink.c: (gst_file_sink_event):
8310 * gst/gstelement.c: (gst_element_seek):
8312 Update gst_element_seek.
8314 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
8315 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
8316 (gst_event_new_flush_start), (gst_event_new_flush_stop),
8317 (gst_event_new_eos), (gst_event_new_newsegment),
8318 (gst_event_parse_newsegment), (gst_event_new_tag),
8319 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
8320 (gst_event_parse_qos), (gst_event_new_seek),
8321 (gst_event_parse_seek), (gst_event_new_navigation):
8323 Make GstEvent use GstStructure. Add parsing code, make sure the
8324 API is sufficiently generic.
8325 Mark possible directions of events and serialization.
8327 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
8328 (_gst_message_copy), (gst_message_new_segment_start),
8329 (gst_message_new_segment_done), (gst_message_new_custom),
8330 (gst_message_parse_segment_start),
8331 (gst_message_parse_segment_done):
8334 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8335 (gst_pad_set_caps), (gst_pad_send_event):
8336 Update for new events.
8337 Catch events sent in wrong directions.
8339 * gst/gstqueue.c: (gst_queue_link_src),
8340 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8341 (gst_queue_handle_src_query):
8346 Remove event code from this file.
8348 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8349 (gst_dp_event_from_packet):
8352 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8354 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
8355 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8356 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
8357 Make debugging actually useful.
8359 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8361 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
8362 (gst_pad_fixate_caps):
8363 Implement default fixation once again, so that gst_pad_fixate()
8364 actually does anything at all. This probably needs to be some
8365 sort of a last resort, and use profile-based fixation first, but
8366 since that doesn't exist yet, this is the best we have. Fixes
8367 visualization in Totem.
8369 2005-07-22 Wim Taymans <wim@fluendo.com>
8371 * docs/design/part-events.txt:
8374 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8375 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
8376 (gst_base_sink_activate_pull):
8379 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
8380 (gst_fake_src_create):
8381 Fix handoff marshall.
8383 * gst/elements/gstidentity.c: (gst_identity_class_init),
8384 (gst_identity_transform_ip):
8385 We're a real inplace element.
8387 * gst/gstbus.c: (gst_bus_post):
8388 Added some comments.
8390 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
8391 * tests/muxing/case1.c: (main):
8392 * tests/sched/dynamic-pipeline.c: (main):
8393 * tests/sched/interrupt1.c: (main):
8394 * tests/sched/interrupt2.c: (main):
8395 * tests/sched/interrupt3.c: (main):
8396 * tests/sched/runxml.c: (main):
8397 * tests/sched/sched-stress.c: (main):
8398 * tests/seeking/seeking1.c: (event_received), (main):
8399 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
8401 * tests/threadstate/threadstate3.c: (main):
8402 * tests/threadstate/threadstate4.c: (main):
8403 * tests/threadstate/threadstate5.c: (main):
8406 2005-07-21 Wim Taymans <wim@fluendo.com>
8408 * docs/design/part-seeking.txt:
8409 Some small additions.
8411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8412 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8413 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8414 * gst/base/gstbasesink.h:
8415 discont values are gint64, handle the math correctly.
8417 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8418 Make the basesrc report error if the source pad is not linked.
8420 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8421 (gst_queue_loop), (gst_queue_handle_src_query),
8422 (gst_queue_src_activate_push):
8423 Make queue collect data even if the srcpad is not linked.
8424 Start pushing out data as soon as it is linked.
8426 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
8428 Added gst_flow_get_name() to ease error reporting.
8430 2005-07-20 Wim Taymans <wim@fluendo.com>
8432 * gst/gstmessage.c: (gst_message_new_segment_start),
8433 (gst_message_new_segment_done), (gst_message_parse_segment_start),
8434 (gst_message_parse_segment_done):
8436 Added a bunch of messages for advanced seeking.
8438 * gst/parse/grammar.y:
8439 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
8440 (gst_dpman_state_changed):
8441 Fix some new-pad -> pad-added signals
8443 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8445 * docs/manual/appendix-porting.xml:
8446 * docs/pwg/appendix-porting.xml:
8447 Document new-pad/state-change signal renames and the FixedList
8450 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8452 * docs/manual/advanced-autoplugging.xml:
8453 * docs/manual/basics-helloworld.xml:
8454 * docs/manual/basics-pads.xml:
8455 * docs/random/ds/0.9-suggested-changes:
8456 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
8461 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8462 (gst_structure_parse_array), (gst_structure_parse_value):
8463 * gst/gstvalue.c: (gst_type_is_fixed),
8464 (gst_value_list_prepend_value), (gst_value_list_append_value),
8465 (gst_value_list_get_size), (gst_value_list_get_value),
8466 (gst_value_transform_array_string), (gst_value_serialize_array),
8467 (gst_value_deserialize_array), (gst_value_intersect_array),
8468 (gst_value_is_fixed), (_gst_value_initialize):
8470 GstElement::new-pad -> pad-added, GstElement::state-change ->
8471 state-changed, GstValueFixedList -> GstValueArray, add format and
8472 flags as their own arguments in gst_element_seek() (should improve
8473 "bindeability"), remove function generators since they don't work
8474 under a whole bunch of compilers (they were deprecated already
8477 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8479 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
8480 (_gst_debug_register_funcptr):
8482 Fix illegal cast on some platforms (#309253).
8484 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8486 * gst/gstmessage.c: (gst_message_new_custom):
8488 Add _new_custom, make _new_application a macro to _new_custom.
8490 2005-07-20 Wim Taymans <wim@fluendo.com>
8492 * gst/base/gstbasesrc.c: (gst_base_src_init),
8493 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8494 * gst/base/gstbasesrc.h:
8495 Add a gboolean to decide when to push out a discont.
8497 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8498 (gst_queue_loop), (gst_queue_handle_src_query),
8499 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
8500 (gst_queue_set_property), (gst_queue_get_property):
8503 * tests/threadstate/threadstate1.c: (main):
8504 Make a thread test compile and run... very silly..
8507 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8509 * docs/manual/appendix-porting.xml:
8510 Mention removal of libgstgconf-0.9.la and existence of gconf
8513 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8515 * docs/pwg/advanced-clock.xml:
8516 * docs/pwg/appendix-porting.xml:
8517 * docs/pwg/intro-preface.xml:
8518 * docs/pwg/other-base.xml:
8519 * docs/pwg/other-manager.xml:
8520 * docs/pwg/other-nton.xml:
8521 * docs/pwg/other-ntoone.xml:
8522 * docs/pwg/other-oneton.xml:
8524 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
8525 demuxer), remove n-to-n (was never written), fix some code examples
8526 and links and update the porting section to include all this.
8528 2005-07-19 Wim Taymans <wim@fluendo.com>
8530 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
8531 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
8532 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
8533 (gst_queue_src_activate_push), (gst_queue_change_state),
8534 (gst_queue_get_property):
8536 Propagate GstFlowReturn more intelligently upstream and output
8537 an ERROR/EOS when streaming stopped due to fatal error.
8539 2005-07-19 Wim Taymans <wim@fluendo.com>
8541 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8542 Don't block forever for the state change to complete, the
8543 pipeline already did with a sensible timeout.
8545 2005-07-19 Wim Taymans <wim@fluendo.com>
8547 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8548 Make sure we never call the create function is we
8551 2005-07-19 Andy Wingo <wingo@pobox.com>
8553 * gst/parse/parse.l: Attempt to solve bug #172815.
8555 2005-07-19 Wim Taymans <wim@fluendo.com>
8557 * docs/design/part-clocks.txt:
8558 * docs/design/part-events.txt:
8559 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
8561 Only update the seeking values when we are not
8564 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8566 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8567 Oops, ignore the result of gst_pad_push_event here.
8569 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
8571 * gst/base/gstbasesrc.c: (gst_base_src_loop),
8572 (gst_base_src_activate_push):
8573 Send discont event from the loop function, as pads
8574 aren't activated yet in the activate_push handler.
8576 * gst/gstbin.c: (bin_bus_handler):
8577 Don't leak element name.
8579 2005-07-18 Andy Wingo <wingo@pobox.com>
8581 * configure.ac: Use AS_LIBTOOL_TAGS.
8583 2005-07-18 Wim Taymans <wim@fluendo.com>
8585 * docs/gst/gstreamer.types:
8586 Remove deleted types.
8588 2005-07-18 Wim Taymans <wim@fluendo.com>
8590 * check/elements/gstfakesrc.c: (GST_START_TEST):
8593 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
8594 (init_popt_callback):
8596 * gst/gst_private.h:
8597 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
8598 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
8601 * gst/gstconfig.h.in:
8602 * gst/gstelement.c: (gst_element_class_init),
8603 (gst_element_set_base_time), (gst_element_get_base_time),
8604 (iterator_fold_with_resync), (gst_element_change_state),
8605 (gst_element_dispose), (gst_element_get_bus):
8607 * gst/gstelementfactory.h:
8608 * gst/gsterror.c: (_gst_core_errors_init):
8611 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8613 * gst/gstinfo.c: (_gst_debug_init):
8614 * gst/gstmessage.c: (_gst_message_copy):
8616 * gst/gstminiobject.h:
8619 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8620 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
8623 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
8624 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8625 (gst_pipeline_get_last_stream_time):
8626 * gst/gstpipeline.h:
8627 * gst/gstpluginfeature.h:
8629 * gst/gstscheduler.c:
8630 * gst/gstscheduler.h:
8631 * gst/gststructure.h:
8632 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8633 (gst_task_finalize), (gst_task_func), (gst_task_create),
8634 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
8635 (gst_task_stop), (gst_task_pause):
8637 * gst/gsttypefind.h:
8639 * gst/registries/gstlibxmlregistry.c: (load_feature),
8640 (gst_xml_registry_load), (gst_xml_registry_save_feature):
8641 * gst/registries/gstxmlregistry.c:
8642 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
8643 * gst/schedulers/threadscheduler.c:
8644 * libs/gst/control/dparammanager.h:
8645 * tools/gst-inspect.c: (print_element_list),
8646 (print_plugin_features), (print_element_features):
8647 * tools/gst-xmlinspect.c: (print_element_list),
8648 (print_plugin_info), (main):
8649 Removed plugable schedulers.
8650 Removed Scheduler/Manager from elements.
8651 Removed gsttypes.h, rearranged includes.
8652 Removed dependency pad<->element, element<>pipeline, and
8653 various others, fix includes.
8654 implement gst_pad_get_parent() with gst_object_get_parent()
8655 Make GstTask sefcontained.
8656 Fix _get_state() on GstBin, it did not return ASYNC with a 0
8658 Fix endless loop in iterator_fold_with_resync.
8661 2005-07-18 Wim Taymans <wim@fluendo.com>
8667 2005-07-18 Wim Taymans <wim@fluendo.com>
8672 2005-07-18 Wim Taymans <wim@fluendo.com>
8678 2005-07-18 Wim Taymans <wim@fluendo.com>
8680 * docs/design/part-dynamic.txt:
8681 * docs/design/part-events.txt:
8682 * docs/design/part-seeking.txt:
8683 Some more docs in the works.
8685 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8686 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
8687 (gst_base_transform_setcaps), (gst_base_transform_get_size),
8688 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
8689 (gst_base_transform_handle_buffer),
8690 (gst_base_transform_sink_activate_push),
8691 (gst_base_transform_src_activate_pull),
8692 (gst_base_transform_set_passthrough),
8693 (gst_base_transform_is_passthrough):
8696 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
8699 * gst/gstevent.c: (gst_event_finalize):
8702 * gst/gstutils.c: (gst_element_unlink),
8703 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
8704 (gst_pad_proxy_setcaps):
8706 Add _get_parent_element() to get a pads parent as an element.
8708 2005-07-18 Wim Taymans <wim@fluendo.com>
8710 * check/gst/gstbin.c: (GST_START_TEST):
8713 2005-07-18 Wim Taymans <wim@fluendo.com>
8715 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
8716 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
8717 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
8718 (gst_base_sink_event), (gst_base_sink_do_sync),
8719 (gst_base_sink_chain), (gst_base_sink_loop),
8720 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
8721 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8723 Fix logic for returning ASYNC when not prerolled.
8725 2005-07-18 Wim Taymans <wim@fluendo.com>
8727 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8728 Fix nasty refcount bug.
8730 2005-07-16 Philippe Khalaf <burger@speedy.org>
8732 * gst/elements/gstfdsrc.c:
8733 * gst/elements/gstfdsrc.h:
8734 * gst/elements/gstelements.c:
8735 * gst/elements/Makefile.am:
8736 Ported fdsrc to 0.9.
8738 2005-07-16 Wim Taymans <wim@fluendo.com>
8740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8741 (gst_base_sink_do_sync):
8744 2005-07-16 Wim Taymans <wim@fluendo.com>
8746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8747 (gst_base_sink_event), (gst_base_sink_get_times),
8748 (gst_base_sink_do_sync), (gst_base_sink_change_state):
8749 * gst/base/gstbasesink.h:
8750 Store and use discont values when syncing buffers as described
8753 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8754 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
8755 (gst_base_src_activate_push):
8756 Push discont event when starting.
8758 * gst/elements/gstidentity.c: (gst_identity_transform):
8761 * gst/gstbin.c: (gst_bin_change_state):
8762 Small cleanups in base_time distribution.
8764 * gst/gstelement.c: (gst_element_set_base_time),
8765 (gst_element_get_base_time), (gst_element_change_state):
8767 Added methods for the base_time of the element.
8770 * gst/gstpipeline.c: (gst_pipeline_send_event),
8771 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
8772 (gst_pipeline_get_last_stream_time):
8773 * gst/gstpipeline.h:
8775 Handle seeking as described in design doc, remove stream_time
8777 Cleanups clock and stream_time selection code. Added accessors
8778 for the stream_time.
8781 2005-07-16 Andy Wingo <wingo@pobox.com>
8783 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
8786 2005-07-16 Wim Taymans <wim@fluendo.com>
8788 * check/gst/gstbin.c: (GST_START_TEST):
8789 Make elements silent as the deep_notify refs the
8790 parent, which might make the test fail.
8792 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
8793 Don't hold the lock for too long.
8795 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
8797 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8798 Don't unref the caps we passed to gst_caps_make_writable() after
8799 passing them. gst_caps_make_writable() will do that for us.
8801 2005-07-15 Andy Wingo <wingo@pobox.com>
8803 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
8806 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
8807 own marshalling function for the handoff signal. Properly type the
8808 buffer as a buffer. Fixes some warnings. Should do a more general
8810 (gst_identity_class_init): Plug into the right marshaller.
8812 2005-07-15 Wim Taymans <wim@fluendo.com>
8814 * docs/design/part-TODO.txt:
8815 * docs/design/part-clocks.txt:
8816 * docs/design/part-element-sink.txt:
8817 * docs/design/part-events.txt:
8818 * docs/design/part-gstpipeline.txt:
8819 Updated docs, mostly DISCONT related.
8821 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
8823 * docs/pwg/building-pads.xml:
8824 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
8826 2005-07-15 Andy Wingo <wingo@pobox.com>
8828 * tools/gst-typefind.c: Update, add copyright block.
8830 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
8831 Normalize and truncate caps before fixation.
8834 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
8835 discards all but the first structure from its argument.
8837 2005-07-15 Wim Taymans <wim@fluendo.com>
8839 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8840 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
8841 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8842 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8843 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
8844 (gst_base_transform_chain), (gst_base_transform_change_state),
8845 (gst_base_transform_set_passthrough),
8846 (gst_base_transform_is_passthrough):
8847 * gst/base/gstbasetransform.h:
8848 Make passthrough work using the bufferpools.
8849 Changed API a bit, subclasses have to write into a buffer
8850 provided by the base class.
8851 More debug info in nego functions.
8853 * gst/elements/gstidentity.c: (gst_identity_init),
8854 (gst_identity_transform):
8855 Port to new base class.
8857 2005-07-15 Wim Taymans <wim@fluendo.com>
8859 * gst/gstmessage.c: (gst_message_new_state_changed):
8860 * tools/gst-launch.c: (event_loop), (main):
8861 Totally dump messages in -launch with the -m option.
8862 Fix message name for State messages,
8864 2005-07-14 Wim Taymans <wim@fluendo.com>
8866 * gst/base/gstbasesrc.c: (gst_base_src_loop):
8867 Post error messages on errors.
8869 2005-07-14 Wim Taymans <wim@fluendo.com>
8871 * gst/gstcaps.c: (gst_caps_do_simplify):
8875 Define error for stream stopped.
8877 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8878 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
8879 Do proper return values.
8881 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8882 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
8883 (gst_pad_get_range):
8884 Better return values.
8887 Reorganise return values, add macro to check for fatal errors.
8889 * gst/gstqueue.c: (gst_queue_chain):
8890 Return proper GstFlowReturn values,
8892 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
8894 * docs/gst/gstreamer-sections.txt:
8895 * docs/gst/gstreamer.types:
8896 * docs/gst/tmpl/gst.sgml:
8897 * docs/gst/tmpl/gstbasesink.sgml:
8898 * docs/gst/tmpl/gstbasesrc.sgml:
8899 * docs/gst/tmpl/gstbasetransform.sgml:
8900 * docs/gst/tmpl/gstbin.sgml:
8901 * docs/gst/tmpl/gstbuffer.sgml:
8902 * docs/gst/tmpl/gstcaps.sgml:
8903 * docs/gst/tmpl/gstclock.sgml:
8904 * docs/gst/tmpl/gstcompat.sgml:
8905 * docs/gst/tmpl/gstconfig.sgml:
8906 * docs/gst/tmpl/gstelement.sgml:
8907 * docs/gst/tmpl/gstelementdetails.sgml:
8908 * docs/gst/tmpl/gstelementfactory.sgml:
8909 * docs/gst/tmpl/gstenumtypes.sgml:
8910 * docs/gst/tmpl/gsterror.sgml:
8911 * docs/gst/tmpl/gstevent.sgml:
8912 * docs/gst/tmpl/gstfakesink.sgml:
8913 * docs/gst/tmpl/gstfakesrc.sgml:
8914 * docs/gst/tmpl/gstfilesink.sgml:
8915 * docs/gst/tmpl/gstfilesrc.sgml:
8916 * docs/gst/tmpl/gstfilter.sgml:
8917 * docs/gst/tmpl/gstformat.sgml:
8918 * docs/gst/tmpl/gstghostpad.sgml:
8919 * docs/gst/tmpl/gstimplementsinterface.sgml:
8920 * docs/gst/tmpl/gstindex.sgml:
8921 * docs/gst/tmpl/gstindexfactory.sgml:
8922 * docs/gst/tmpl/gstinfo.sgml:
8923 * docs/gst/tmpl/gstiterator.sgml:
8924 * docs/gst/tmpl/gstmacros.sgml:
8925 * docs/gst/tmpl/gstmemchunk.sgml:
8926 * docs/gst/tmpl/gstminiobject.sgml:
8927 * docs/gst/tmpl/gstobject.sgml:
8928 * docs/gst/tmpl/gstpad.sgml:
8929 * docs/gst/tmpl/gstpadtemplate.sgml:
8930 * docs/gst/tmpl/gstparse.sgml:
8931 * docs/gst/tmpl/gstpipeline.sgml:
8932 * docs/gst/tmpl/gstplugin.sgml:
8933 * docs/gst/tmpl/gstpluginfeature.sgml:
8934 * docs/gst/tmpl/gstquery.sgml:
8935 * docs/gst/tmpl/gstqueue.sgml:
8936 * docs/gst/tmpl/gstregistry.sgml:
8937 * docs/gst/tmpl/gstregistrypool.sgml:
8938 * docs/gst/tmpl/gstscheduler.sgml:
8939 * docs/gst/tmpl/gstschedulerfactory.sgml:
8940 * docs/gst/tmpl/gststructure.sgml:
8941 * docs/gst/tmpl/gstsystemclock.sgml:
8942 * docs/gst/tmpl/gsttaglist.sgml:
8943 * docs/gst/tmpl/gsttagsetter.sgml:
8944 * docs/gst/tmpl/gsttrace.sgml:
8945 * docs/gst/tmpl/gsttrashstack.sgml:
8946 * docs/gst/tmpl/gsttypefind.sgml:
8947 * docs/gst/tmpl/gsttypefindfactory.sgml:
8948 * docs/gst/tmpl/gsttypes.sgml:
8949 * docs/gst/tmpl/gsturihandler.sgml:
8950 * docs/gst/tmpl/gsturitype.sgml:
8951 * docs/gst/tmpl/gstutils.sgml:
8952 * docs/gst/tmpl/gstvalue.sgml:
8953 * docs/gst/tmpl/gstversion.sgml:
8954 * docs/gst/tmpl/gstxml.sgml:
8955 * docs/libs/tmpl/gstcontrol.sgml:
8956 * docs/libs/tmpl/gstdataprotocol.sgml:
8957 * docs/libs/tmpl/gstdparam.sgml:
8958 * docs/libs/tmpl/gstdplinint.sgml:
8959 * docs/libs/tmpl/gstdpman.sgml:
8960 * docs/libs/tmpl/gstdpsmooth.sgml:
8961 * docs/libs/tmpl/gstgetbits.sgml:
8962 * docs/libs/tmpl/gstunitconvert.sgml:
8963 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
8964 (gst_push_src_base_init), (gst_push_src_class_init),
8965 (gst_push_src_init), (gst_push_src_create):
8966 * gst/base/gstpushsrc.h:
8967 * gst/elements/gstelements.c:
8968 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
8969 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
8970 (gst_fake_sink_init), (gst_fake_sink_set_property),
8971 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
8972 (gst_fake_sink_event), (gst_fake_sink_preroll),
8973 (gst_fake_sink_render), (gst_fake_sink_change_state):
8974 * gst/elements/gstfakesink.h:
8975 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8976 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8977 (gst_fake_src_base_init), (gst_fake_src_class_init),
8978 (gst_fake_src_init), (gst_fake_src_event_handler),
8979 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
8980 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
8981 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
8982 (gst_fake_src_create_buffer), (gst_fake_src_create),
8983 (gst_fake_src_start), (gst_fake_src_stop):
8984 * gst/elements/gstfakesrc.h:
8985 * gst/elements/gstfilesink.c: (_do_init),
8986 (gst_file_sink_base_init), (gst_file_sink_class_init),
8987 (gst_file_sink_init), (gst_file_sink_dispose),
8988 (gst_file_sink_set_location), (gst_file_sink_set_property),
8989 (gst_file_sink_get_property), (gst_file_sink_open_file),
8990 (gst_file_sink_close_file), (gst_file_sink_query),
8991 (gst_file_sink_event), (gst_file_sink_render),
8992 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
8993 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
8994 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
8995 * gst/elements/gstfilesink.h:
8996 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
8997 (gst_file_src_class_init), (gst_file_src_init),
8998 (gst_file_src_finalize), (gst_file_src_set_location),
8999 (gst_file_src_set_property), (gst_file_src_get_property),
9000 (gst_file_src_map_region), (gst_file_src_map_small_region),
9001 (gst_file_src_create_mmap), (gst_file_src_create_read),
9002 (gst_file_src_create), (gst_file_src_is_seekable),
9003 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9004 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9005 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9006 (gst_file_src_uri_handler_init):
9007 * gst/elements/gstfilesrc.h:
9008 more autistic cleanliness in functions/names/defines
9010 2005-07-13 Andy Wingo <wingo@pobox.com>
9012 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9013 source couldn't negotiate.
9015 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9019 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9020 function. I am channeling Hades. Put your boots on suckers!!!
9022 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9024 * testsuite/caps/Makefile.am:
9025 * testsuite/caps/value_compare.c:
9026 * testsuite/caps/value_intersect.c:
9027 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9028 move two testsuite apps over to the check dir
9030 2005-07-12 Wim Taymans <wim@fluendo.com>
9032 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9033 Added more debug info in the negotiate process.
9036 Prepare for segment playback.
9038 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9044 * tools/gst-launch.c: (main):
9045 NULL pipeline on errors.
9047 2005-07-12 Andy Wingo <wingo@pobox.com>
9049 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9050 not it comes from a malloc region. Make sure our copy gets freed.
9052 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9054 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9055 * check/gst/gstmessage.c: (GST_START_TEST):
9056 * check/gst/gststructure.c: (GST_START_TEST),
9057 (gst_structure_suite), (main):
9059 * gst/gstelement.c: (gst_element_message_full):
9060 clean up GError and debug string now that they get copied
9061 * gst/gstmessage.c: (gst_message_new_error),
9062 (gst_message_new_warning), (gst_message_parse_error),
9063 (gst_message_parse_warning):
9064 use GST_TYPE_G_ERROR for structure_new, and take copies of
9065 arguments, so that we don't mess up refcounting
9067 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9069 * check/Makefile.am:
9070 add per-test valgrind targets
9071 * check/gst-libs/gdp.c: (GST_START_TEST),
9072 (gst_data_protocol_suite), (main):
9075 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9077 * check/Makefile.am:
9078 instate more valgrindable tests
9079 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9080 (GST_START_TEST), (fakesrc_suite):
9081 * check/gst/gstpad.c: (GST_START_TEST):
9082 * check/gst/gststructure.c: (GST_START_TEST):
9084 * docs/gst/tmpl/gstminiobject.sgml:
9085 * gst/gstpad.c: (gst_pad_finalize):
9086 fix the static mutex leak
9088 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9090 * check/Makefile.am:
9091 add two more tests for valgrinding
9092 * check/gst/gstvalue.c: (GST_START_TEST):
9093 test refcount of deserialized buffer, found a leak
9094 * docs/gst/gstreamer-docs.sgml:
9095 * docs/gst/gstreamer-sections.txt:
9096 * docs/gst/gstreamer.types:
9097 * docs/gst/tmpl/gstminiobject.sgml:
9098 add miniobject to docs
9099 * gst/gstminiobject.c:
9101 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9102 (gst_string_unwrap):
9103 fix a hard-to-find invalid write for one of the tests
9104 fix a leak for deserialized buffers
9106 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9108 * docs/pwg/advanced-events.xml:
9109 * docs/pwg/advanced-request.xml:
9110 * docs/pwg/advanced-scheduling.xml:
9111 * docs/pwg/appendix-porting.xml:
9112 * docs/pwg/building-boiler.xml:
9113 * docs/pwg/intro-preface.xml:
9114 * docs/pwg/other-ntoone.xml:
9115 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9116 of example code and explanation for pad activation, loop() and
9117 getrange() functions and a bit more. Remove old comments pointing
9119 * examples/pwg/Makefile.am:
9120 Add loop/getrange examples.
9122 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9125 check for valgrind binary + some fixes
9127 valgrind suppressions for the tests
9128 * check/Makefile.am:
9129 add a valgrind: target that valgrinds the unit tests
9130 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9131 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9132 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9133 * check/gst/gstghostpad.c:
9135 * check/gst/gstdata.c:
9137 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9138 (thread_unref), (gst_mini_object_suite), (main):
9140 * gst/gst.c: (gst_deinit):
9142 add a method to clean up.
9143 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9144 (gst_system_clock_obtain):
9145 allow for disposing the system clock.
9146 * tools/gst-launch.c: (main):
9149 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9151 * docs/gst/tmpl/gstbasesrc.sgml:
9152 * docs/gst/tmpl/gstfakesrc.sgml:
9153 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9154 (gst_base_src_init), (gst_base_src_set_property),
9155 (gst_base_src_get_property), (gst_base_src_get_range),
9156 (gst_base_src_start):
9157 * gst/base/gstbasesrc.h:
9158 add num-buffers property
9159 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9160 (gst_fakesrc_init), (gst_fakesrc_set_property),
9161 (gst_fakesrc_get_property), (gst_fakesrc_create),
9162 (gst_fakesrc_start):
9163 remove num-buffers property
9165 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9167 * docs/gst/gstreamer-sections.txt:
9168 * docs/gst/tmpl/gstbasesink.sgml:
9169 * docs/gst/tmpl/gstbasesrc.sgml:
9170 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9171 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9172 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9173 (gst_base_sink_set_property), (gst_base_sink_get_property),
9174 (gst_base_sink_handle_object), (gst_base_sink_event),
9175 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9176 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9177 (gst_base_sink_loop), (gst_base_sink_deactivate),
9178 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9179 (gst_base_sink_change_state):
9180 * gst/base/gstbasesink.h:
9181 * gst/base/gstbasesrc.h:
9182 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9183 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9184 (gst_filesink_init):
9185 more macro splitting
9187 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9189 * gst/gstelement.c: (gst_element_get_bus):
9191 * tools/gst-launch.c: (check_intr), (event_loop):
9194 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9196 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9199 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9201 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9202 (gst_base_src_finalize):
9203 add finalize method and clean up properly
9204 * gst/gstpipeline.c: (gst_pipeline_dispose):
9207 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9209 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9211 add more things to check
9212 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9216 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9218 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9219 (GST_START_TEST), (fakesrc_suite):
9220 * check/gst-libs/gdp.c: (GST_START_TEST):
9221 * check/gst/gst.c: (GST_START_TEST):
9222 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9223 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9224 * check/gst/gstbus.c: (GST_START_TEST):
9225 * check/gst/gstcaps.c: (GST_START_TEST):
9226 * check/gst/gstdata.c: (GST_START_TEST):
9227 * check/gst/gstelement.c: (GST_START_TEST):
9228 * check/gst/gstghostpad.c: (GST_START_TEST):
9229 * check/gst/gstiterator.c: (GST_START_TEST):
9230 * check/gst/gstmessage.c: (GST_START_TEST):
9231 * check/gst/gstobject.c: (GST_START_TEST):
9232 * check/gst/gstpad.c: (GST_START_TEST):
9233 * check/gst/gststructure.c: (GST_START_TEST):
9234 * check/gst/gstsystemclock.c: (GST_START_TEST),
9235 (gst_systemclock_suite):
9236 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9237 * check/gst/gstvalue.c: (GST_START_TEST):
9238 * check/pipelines/cleanup.c: (GST_START_TEST):
9239 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9240 * check/states/sinks.c: (GST_START_TEST):
9241 * check/gstcheck.c: (gst_check_init):
9243 add debugging category
9244 use GST_START_TEST now, so we add a debug line
9246 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9248 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9249 add test for state change message on a bin
9250 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9252 * gst/gstbin.c: (gst_bin_init):
9253 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9254 * gst/gstelement.c: (gst_element_post_message),
9255 (gst_element_set_state):
9256 * gst/gstelementfactory.c: (gst_element_factory_create):
9257 * gst/gstmessage.c: (gst_message_new):
9258 * gst/gstscheduler.c:
9259 various debugging additions and cleanups
9261 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9263 * check/Makefile.am:
9264 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9266 adding tests for elements
9267 * gst/gstelement.c: (gst_element_dispose):
9269 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9271 * gst/registries/gstlibxmlregistry.c: (load_feature):
9272 plug more leaks. A simple gst_init() now is leakfree, yay.
9274 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9276 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9277 (gst_xml_registry_load):
9278 plug another memleak
9280 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9283 use GST_SET_ERROR_CFLAGS
9285 change to ERROR_CFLAGS
9287 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9290 make GST_ERROR_CFLAGS overridable and re-enable Werror
9292 add a note about error CFLAGS
9293 * docs/gst/tmpl/gstfakesrc.sgml:
9294 * gst/elements/gstfakesrc.c:
9295 comment out some unused code
9296 * gst/gst.c: (split_and_iterate):
9297 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
9301 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9303 * common/Makefile.am:
9304 * common/gtk-doc.mak:
9305 * docs/gst/Makefile.am:
9306 factor out gtk-doc.mak
9308 2005-07-07 Wim Taymans <wim@fluendo.com>
9310 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
9311 (gst_thread_scheduler_dispose):
9312 Unlock the STREAM_LOCK completely.
9314 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
9316 * check/Makefile.am:
9317 * check/elements/.cvsignore:
9318 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9319 (START_TEST), (fakesrc_suite), (main):
9320 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9321 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9322 (gst_fakesrc_create), (gst_fakesrc_start):
9323 * gst/elements/gstfakesrc.h:
9324 adding a first element test
9326 2005-07-07 Andy Wingo <wingo@pobox.com>
9328 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
9331 2005-07-07 Wim Taymans <wim@fluendo.com>
9337 2005-07-07 Wim Taymans <wim@fluendo.com>
9339 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
9340 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
9341 Allow subclasses to implement their own negotiation.
9343 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9345 * docs/design/part-gstbin.txt:
9346 * docs/design/part-gstpipeline.txt:
9347 Update design notes to reflect the movement of
9348 responsibility for bus handling from GstPipeline to
9351 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9354 Remove unnecessary queue2/3/4 examples.
9356 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
9358 * examples/Makefile.am:
9359 * examples/helloworld/helloworld.c: (event_loop), (main):
9360 * examples/queue/queue.c: (event_loop), (main):
9361 * examples/queue2/queue2.c: (main):
9362 Update a couple of the examples to work again.
9364 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9365 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
9366 Spelling corrections and extra debug.
9368 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
9369 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
9370 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
9372 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9373 (gst_pipeline_change_state):
9374 * gst/gstpipeline.h:
9375 Move the bus handler for children to the GstBin, and create a
9376 separate bus for receiving messages from children to the one the
9377 bus sends 'upwards' on.
9379 2005-07-06 Wim Taymans <wim@fluendo.com>
9382 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9383 (gst_base_sink_handle_object), (gst_base_sink_loop),
9384 (gst_base_sink_change_state):
9385 * gst/base/gstbasesink.h:
9386 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9387 (gst_base_src_init), (gst_base_src_setcaps),
9388 (gst_base_src_getcaps), (gst_base_src_loop),
9389 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
9390 (gst_base_src_start), (gst_base_src_change_state):
9391 * gst/base/gstbasesrc.h:
9392 Make basesrc negotiate.
9393 Handle the case where preroll fails in basesink.
9396 2005-07-06 Wim Taymans <wim@fluendo.com>
9398 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
9399 Implement the fixate function.
9400 Clean up acceptcaps.
9402 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9404 * docs/pwg/building-filterfactory.xml:
9406 Remove never-written filter-factory chapter; I'll add the various
9407 base classes to part 4 ("other element types") later on.
9409 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9411 * docs/pwg/advanced-negotiation.xml:
9412 * docs/pwg/building-boiler.xml:
9413 * docs/pwg/building-pads.xml:
9415 * examples/pwg/Makefile.am:
9416 Add a chapter on caps negotiation, simplify the original code
9417 samples a bit w.r.t. caps negotiation, add link to the advanced
9418 section. Add a bunch of examples showing different use cases of
9419 different types of caps negotiation. Upstream renegotiation isn't
9420 fully documented yet since nobody knows how that works.
9422 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
9424 * check/gst/gstpad.c:
9426 * gst/gstpad.c: (gst_pad_get_internal_links_default):
9427 if pad has no parent, return NULL as list of internal links
9429 2005-07-05 Andy Wingo <wingo@pobox.com>
9431 * gst/elements/gstfilesrc.c:
9432 * gst/elements/gstfakesrc.c:
9433 * gst/base/gstpushsrc.c:
9434 * gst/base/gstbasesrc.h:
9435 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
9437 2005-07-05 Stefan Kost <ensonic@users.sf.net>
9440 better report generation target (lcov needs a patch)
9442 2005-07-05 Andy Wingo <wingo@pobox.com>
9444 * gst/elements, testsuite: Null if we got it...
9446 2005-07-05 Wim Taymans <wim@fluendo.com>
9449 * libs/gst/dataprotocol/Makefile.am:
9450 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
9451 * libs/gst/dataprotocol/dataprotocol.h:
9452 * pkgconfig/Makefile.am:
9453 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
9454 * pkgconfig/gstreamer-dataprotocol.pc.in:
9455 Ported dataprotol to 0.9.
9456 Added pkgconfig files.
9458 2005-07-05 Andy Wingo <wingo@pobox.com>
9460 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
9461 Default to returning TRUE for the case when tranform_caps returns
9462 a fixed caps, like for identity or volume.
9464 * check/gst/gstbus.c (pound_bus_with_messages):
9465 * check/gst/gstmessage.c (START_TEST):
9466 * check/pipelines/simple_launch_lines.c (got_handoff): Application
9469 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
9470 logic weaks here: always run transform_caps, trying passthrough
9471 operation only if the original caps intersects with the transform.
9473 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
9474 source and sink caps.
9476 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
9477 Intersect the peer caps with the pad template before going into
9479 (gst_base_transform_transform_caps): More debugging.
9481 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
9484 2005-07-04 Edward Hervey <edward@fluendo.com>
9488 (gst_pad_add_*_probe): now returns the signal id for better wrapping
9491 2005-07-04 Andy Wingo <wingo@pobox.com>
9493 * check/gst/gstpad.c: Only set explicit caps on pads.
9495 2005-07-01 Andy Wingo <wingo@pobox.com>
9497 * tests/network-clock.scm: Commentary update.
9499 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
9500 Didn't really make sense, not implementable with basetransform,
9502 (gst_identity_transform): Unref inbuf via make_writable. Feeble
9503 attempt at implementing the sync property, needs an unlock method.
9505 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
9506 New func, by default returns the same caps (the identity
9508 (gst_base_transform_getcaps): Uses transform_caps to return
9510 (gst_base_transform_setcaps): Complicated logic to get caps on
9511 both pads, even if they are different, and to call set_caps once
9512 for every time both pads get their caps set.
9513 (gst_base_transform_handle_buffer): Give the ref to the transform
9514 function. Allows in-place modification of the buffer.
9516 * gst/base/gstbasetransform.h (transform_caps): New class method.
9517 Given caps on one side, what can I do on the other.
9518 (set_caps): Take two caps, one for each side of the element.
9521 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
9522 caps in place. This is safe because we can check the mutability of
9523 the caps, and a good idea because fixate functions are just called
9524 as a matter of last resort. (Not actually implemented.)
9525 (gst_pad_set_caps): If the caps we're setting is actually the same
9526 as the existing pad caps, just update the pointer without calling
9527 setcaps. Assert that caps is either NULL or fixed, as per the
9530 * gst/gstghostpad.c: Update for fixate changes.
9532 2005-07-02 Andy Wingo <wingo@pobox.com>
9535 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
9536 two refcounts makes it immutable, which is enough. Doc more.
9538 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
9540 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
9541 Put the mini_object into GValue as a mini_object,
9542 not a gpointer, since that's how we declared
9545 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9547 * examples/pwg/Makefile.am:
9550 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9552 * docs/pwg/building-testapp.xml:
9554 * examples/pwg/Makefile.am:
9557 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9560 * examples/Makefile.am:
9561 * examples/pwg/Makefile.am:
9562 * examples/pwg/extract.pl:
9563 Enable building the PWG examples.
9564 * docs/pwg/advanced-interfaces.xml:
9565 Add URI interface stub.
9566 * docs/pwg/advanced-types.xml:
9567 * docs/pwg/other-autoplugger.xml:
9568 * docs/pwg/appendix-porting.xml:
9570 Add porting guide (mostly stubs), remove autoplugging (see ADM).
9571 * docs/pwg/building-boiler.xml:
9572 * docs/pwg/building-chainfn.xml:
9573 * docs/pwg/building-pads.xml:
9574 * docs/pwg/building-props.xml:
9575 * docs/pwg/building-state.xml:
9576 * docs/pwg/building-testapp.xml:
9577 Update the building-*.xml parts for 0.9 changes. All examples
9578 code blocks compile in examples/pwg/*.
9580 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9582 * docs/manual/advanced-autoplugging.xml:
9583 * docs/manual/appendix-checklist.xml:
9584 * docs/manual/appendix-integration.xml:
9585 * docs/manual/highlevel-components.xml:
9586 Fix playbin/decodebin examples, update docs a bit, mention bus
9587 instead of signals in various places, mention kmplayer and
9588 kaffeine since they have a working GStreamer backend in the KDE
9591 2005-06-30 Wim Taymans <wim@fluendo.com>
9594 * docs/design/draft-ghostpads.txt:
9595 * docs/design/draft-push-pull.txt:
9596 * docs/design/draft-query.txt:
9597 * docs/design/part-TODO.txt:
9598 * docs/design/part-query.txt:
9599 Added CHANGES-0.9 doc, updated status of other docs.
9604 2005-06-30 Wim Taymans <wim@fluendo.com>
9606 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9607 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9608 (gst_base_sink_change_state):
9609 * gst/base/gstbasesink.h:
9610 Some tweaks, only EOS and a buffer complete a preroll.
9612 2005-06-30 Andy Wingo <wingo@pobox.com>
9614 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
9615 activate_push down to the internal pad as well.
9617 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
9619 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9621 * gst/gsttaginterface.c:
9622 Some documentation fixes (#307394 and #307397).
9624 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
9626 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9628 * gst/gstvalue.c: (gst_value_intersect_list):
9629 Fix memleak (#309125).
9631 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9633 * docs/manual/advanced-dataaccess.xml:
9634 Fix fakesrc example to compile; doesn't work, bug somewhere...?
9635 * docs/manual/basics-pads.xml:
9636 Add reference for filtered caps to above chapter.
9638 2005-06-30 Wim Taymans <wim@fluendo.com>
9640 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
9641 (gst_bin_change_state):
9643 Lame attempt at making the state change function a bit
9646 2005-06-30 Wim Taymans <wim@fluendo.com>
9648 * docs/design/part-clocks.txt:
9649 * docs/design/part-element-sink.txt:
9650 * docs/design/part-events.txt:
9651 * docs/design/part-preroll.txt:
9652 * docs/design/part-states.txt:
9653 Some more tweeks and additions to the docs.
9655 2005-06-30 Wim Taymans <wim@fluendo.com>
9657 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9658 (default_have_data), (gst_pad_class_init), (gst_pad_init),
9659 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9660 (gst_pad_check_pull_range), (gst_pad_get_range),
9661 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
9663 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
9664 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9665 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9666 (gst_pad_remove_buffer_probe):
9667 Removed atomic operations, use existing LOCK.
9668 Move exception handling out of main code path.
9670 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9672 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9673 (silly_return_true_function), (gst_pad_class_init),
9674 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
9675 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
9676 (gst_pad_send_event):
9677 Fix accumulator, add default value by using _emitv() instead
9678 of _emit() for signal emission.
9680 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9682 * docs/manual/advanced-dataaccess.xml:
9683 * examples/manual/Makefile.am:
9685 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
9688 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
9690 * gst/elements/gstfilesink.c: (gst_filesink_render):
9691 Simplify code so that we don't have to handle short
9692 writes and return GST_FLOW_ERROR if an error occured.
9694 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9696 * docs/gst/gstreamer-docs.sgml:
9699 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9701 * docs/gst/gstreamer-sections.txt:
9702 * docs/gst/tmpl/gstpad.sgml:
9703 * docs/gst/tmpl/gstprobe.sgml:
9705 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
9706 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
9707 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
9708 (gst_pad_push_event), (gst_pad_send_event):
9710 * gst/gstutils.c: (gst_pad_add_data_probe),
9711 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9712 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9713 (gst_pad_remove_buffer_probe):
9715 Remove old probes, add new g-signal-based probes and some utility
9718 2005-06-29 Edward Hervey <edward@fluendo.com>
9720 * gst/gstelementfactory.c:
9723 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
9724 the definition to the header file.
9726 2005-06-29 Andy Wingo <wingo@pobox.com>
9728 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
9729 plugins from the source directory.
9731 2005-06-29 Wim Taymans <wim@fluendo.com>
9733 * docs/gst/tmpl/gstbuffer.sgml:
9734 * docs/gst/tmpl/gstclock.sgml:
9735 Some fixings for blantently wrong text.
9737 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9739 * check/Makefile.am:
9740 * gst/gst.c: (add_path_func), (init_pre):
9741 * gst/gstregistry.c: (gst_registry_add_path):
9742 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
9743 only scan the GST_PLUGIN_PATH locations, and not add
9746 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
9748 * docs/gst/gstreamer-sections.txt:
9749 * docs/gst/tmpl/gstbasesrc.sgml:
9756 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9758 * docs/manual/advanced-autoplugging.xml:
9759 Fix autoplugging example.
9761 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9763 * docs/manual/advanced-autoplugging.xml:
9764 * docs/manual/mime-world.fig:
9765 Try to get autoplugging working, fix type detection. Fix text
9766 in hello-world image.
9768 2005-06-29 Wim Taymans <wim@fluendo.com>
9770 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9771 (gst_base_sink_change_state):
9775 map SIGNAL and BROADCAST to the right function.
9778 Remove redundant braces.
9780 * gst/gstpad.c: (gst_pad_set_caps):
9781 Don't call setcaps function when reseting caps to NULL.
9783 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9784 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
9785 (gst_system_clock_id_unschedule):
9786 Use BROADCAST as this is what we do.
9788 2005-06-29 Wim Taymans <wim@fluendo.com>
9790 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9791 We are actually prerolling before commiting the state
9794 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9796 * docs/manual/advanced-clocks.xml:
9797 * docs/manual/advanced-interfaces.xml:
9798 * docs/manual/advanced-metadata.xml:
9799 * docs/manual/advanced-position.xml:
9800 * docs/manual/advanced-schedulers.xml:
9801 * docs/manual/advanced-threads.xml:
9802 * docs/manual/appendix-porting.xml:
9803 * docs/manual/basics-bins.xml:
9804 * docs/manual/basics-bus.xml:
9805 * docs/manual/basics-elements.xml:
9806 * docs/manual/basics-helloworld.xml:
9807 * docs/manual/basics-pads.xml:
9808 * docs/manual/highlevel-components.xml:
9809 * docs/manual/manual.xml:
9810 * docs/manual/thread.fig:
9811 Update (until threads/scheduling) Application Development Manual;
9812 remove GstThread, add GstBus, add simple porting checklist, add
9813 documentation for tag writing, clocks, make all examples until this
9814 part compile and run.
9815 * examples/manual/Makefile.am:
9816 Update from changes to Application Development Manual; add bus
9817 example, remove thread example.
9819 2005-06-28 Wim Taymans <wim@fluendo.com>
9821 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
9822 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
9823 (gst_bus_source_dispatch):
9824 Add debugging messages.
9825 Make internal methods static.
9826 Handle the case where the bus is flushed in the handler.
9828 * gst/gstelement.c: (gst_element_get_bus):
9829 Fix refcount in _get_bus();
9831 * gst/gstpipeline.c: (gst_pipeline_change_state),
9832 (gst_pipeline_get_clock_func):
9833 Clock refcounting fixes.
9834 Handle the case where preroll timed out more gracefully.
9836 * gst/gstsystemclock.c: (gst_system_clock_dispose):
9837 Clean up the internal thread in dispose. This is needed
9838 for subclasses that actually get disposed.
9840 * gst/schedulers/threadscheduler.c:
9841 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9842 (gst_thread_scheduler_dispose):
9843 Free thread pool in dispose.
9845 2005-06-28 Andy Wingo <wingo@pobox.com>
9847 * tests/network-clock-utils.scm (debug, print-event): New utils.
9849 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
9850 (*packet-loss*): Unified loss probability.
9851 (network-time): Report out-of-band events.
9853 * tests/plot-data: Add support for out-of-band events. Hack it
9854 into this script instead of passing it down the pipe; should fix
9857 2005-06-28 Wim Taymans <wim@fluendo.com>
9859 * docs/gst/gstreamer.types:
9860 * docs/gst/tmpl/gstbasesrc.sgml:
9861 * docs/gst/tmpl/gstpad.sgml:
9864 2005-06-28 Wim Taymans <wim@fluendo.com>
9866 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9867 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
9868 (gst_proxy_pad_do_fixatecaps):
9869 Correctly proxy the check_pull_range function.
9871 2005-06-28 Andy Wingo <wingo@pobox.com>
9873 * tests/network-clock.scm: Removed need for slib.
9875 2005-06-28 Wim Taymans <wim@fluendo.com>
9877 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
9878 (gst_basesink_preroll_queue_flush):
9879 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
9880 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
9881 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9882 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9883 (gst_proxy_pad_set_property):
9886 * gst/gstqueue.c: (gst_queue_init):
9887 The deprecated pad loop function is removed now.
9889 2005-06-28 Andy Wingo <wingo@pobox.com>
9891 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
9892 New parameters, simulate network packet loss.
9894 * tests/network-clock-utils.scm: Initialize the RNG.
9896 2005-06-28 Wim Taymans <wim@fluendo.com>
9898 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
9899 (gst_basesink_event), (gst_basesink_deactivate):
9900 Flushing the preroll queue always needs to unlock the waiters.
9902 2005-06-28 Edward Hervey <edward@fluendo.com>
9904 * gst/gstpipeline.c: (gst_pipeline_send_event):
9905 Wheen a seek was successful on a pipeline, set the stream_time to the
9906 seek offset in order to have a synchronized stream_time.
9908 2005-06-28 Wim Taymans <wim@fluendo.com>
9910 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9911 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9912 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
9913 (gst_proxy_pad_do_fixatecaps):
9914 Call wrapper function instead of just calling the function
9915 pointers. This takes care of any locking and whatmore.
9917 2005-06-28 Wim Taymans <wim@fluendo.com>
9919 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
9920 (gst_pad_pull_range):
9922 CONNECTED -> LINKED.
9924 2005-06-28 Andy Wingo <wingo@pobox.com>
9926 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
9927 source-munging commit!!!
9929 * gst/gstobject.c (gst_object_unref, gst_object_ref)
9930 (gst_object_sink): Take gpointer arguments, not GstObject --
9931 avoids casts. Like GLib.
9933 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
9936 2005-06-27 Andy Wingo <wingo@pobox.com>
9938 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
9941 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
9942 returns a sorted copy of the trace list.
9943 (gst_alloc_trace_print_live): New API, only prints traces with
9944 live objects. Sort the list.
9945 (gst_alloc_trace_print_all): Sort the list.
9946 (gst_alloc_trace_print): Align columns.
9948 * gst/elements/gstttypefindelement.c:
9949 * gst/elements/gsttee.c:
9950 * gst/base/gstbasesrc.c:
9951 * gst/base/gstbasesink.c:
9952 * gst/base/gstbasetransform.c:
9953 * gst/gstqueue.c: Adapt for pad activation changes.
9955 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
9957 (gst_pipeline_dispose): Drop ref on sched.
9959 * gst/gstpad.c (gst_pad_init): Set the default activate func.
9960 (gst_pad_activate_default): Push mode by default.
9961 (pre_activate_switch, post_activate_switch): New stubs, things to
9962 do before and after switching activation modes on pads.
9963 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
9964 the pad's activate function to choose which mode to activate.
9965 Shortcut on deactivation and call the right function directly.
9966 (gst_pad_activate_pull): New API, (de)activates a pad in pull
9968 (gst_pad_activate_push): New API, same for push mode.
9969 (gst_pad_set_activate_function)
9970 (gst_pad_set_activatepull_function)
9971 (gst_pad_set_activatepush_function): Setters for new API.
9973 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
9974 Trace all miniobjects.
9975 (gst_mini_object_make_writable): Unref the arg if we copy, like
9976 gst_caps_make_writable.
9978 * gst/gstmessage.c (_gst_message_initialize): No trace init.
9980 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
9981 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
9982 Adapt for new pad API.
9984 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
9987 * gst/gstelement.c (gst_element_iterate_src_pads)
9988 (gst_element_iterate_sink_pads): New API functions.
9990 * gst/gstelement.c (iterator_fold_with_resync): New utility,
9991 should fold into gstiterator.c in some form.
9992 (gst_element_pads_activate): Simplified via use of fold and
9993 delegation of decisions to gstpad->activate.
9995 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
9998 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
9999 class once in init, like gstmessage. Didn't run into this issue
10000 but it seems correct. Don't initialize a trace, gstminiobject does
10003 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10004 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10006 (assert_live_count): New util function, uses alloc traces to check
10009 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10010 To be modified when unlink drops the internal pad.
10012 2005-06-27 Wim Taymans <wim@fluendo.com>
10014 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10015 (gst_bin_change_state):
10016 Cleanup the get_state() function a little, make sure it
10017 iterates the same set of elements.
10018 Added stub iterate_state_order().
10020 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10022 * docs/gst/gstreamer-docs.sgml:
10023 * docs/gst/gstreamer-sections.txt:
10024 * docs/gst/gstreamer.types:
10025 * docs/gst/tmpl/gstbasesink.sgml:
10026 * docs/gst/tmpl/gstbasesrc.sgml:
10027 * docs/gst/tmpl/gstbasetransform.sgml:
10028 * docs/gst/tmpl/gstelement.sgml:
10029 * docs/gst/tmpl/gstiterator.sgml:
10030 * gst/base/gstbasesrc.c:
10031 * gst/base/gstbasesrc.h:
10032 * gst/base/gstbasetransform.h:
10033 * gst/gstelement.c:
10034 * gst/gstiterator.h:
10035 adding basetransform and iterator docs
10037 2005-06-27 Andy Wingo <wingo@pobox.com>
10039 * docs/design/part-activation.txt: Notes on how activation should
10040 work -- not quite implemented yet.
10042 2005-06-25 Wim Taymans <wim@fluendo.com>
10044 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10045 At least get the chain function correct, needs more
10048 2005-06-25 Wim Taymans <wim@fluendo.com>
10050 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10051 (gst_basesink_handle_object), (gst_basesink_event),
10052 (gst_basesink_do_sync), (gst_basesink_handle_event),
10053 (gst_basesink_change_state):
10055 Right, two problems here: ghostpads don't take locks and
10056 glib _rec_mutex_lock_full() with depth==0 still locks.
10057 Catch illegal locking and g_warn them.
10059 2005-06-25 Wim Taymans <wim@fluendo.com>
10061 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10062 Have to check for completion now...
10064 2005-06-25 Wim Taymans <wim@fluendo.com>
10066 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10067 (gst_basesink_handle_object), (gst_basesink_event),
10068 (gst_basesink_do_sync), (gst_basesink_handle_event),
10069 (gst_basesink_change_state):
10071 Unlock STREAM_LOCK whatever the recursion was.
10073 2005-06-25 Wim Taymans <wim@fluendo.com>
10075 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10076 (gst_basesink_preroll_queue_empty),
10077 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10078 (gst_basesink_event), (gst_basesink_do_sync),
10079 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10080 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10081 (gst_basesink_change_state):
10082 Reworked the base sink, handle event and buffer serialisation
10083 correctly and removed possible deadlock.
10084 Handle EOS correctly.
10086 2005-06-25 Wim Taymans <wim@fluendo.com>
10088 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10089 (gst_pipeline_change_state):
10090 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10091 Allow elements to post EOS in the state change function.
10092 Fix up -launch, make it exit the poll loop when the
10093 pipeline actually changed state.
10094 Fix up warning parsing in -launch.
10096 2005-06-25 Wim Taymans <wim@fluendo.com>
10098 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10099 (gst_tee_sink_activate):
10100 Core takes STREAM_LOCK for us now.
10102 2005-06-25 Wim Taymans <wim@fluendo.com>
10104 * gst/gstelement.c: (gst_element_get_state_func),
10105 (gst_element_set_state):
10106 * gst/gstelement.h:
10107 * gst/gstmessage.c: (gst_message_parse_error),
10108 (gst_message_parse_warning):
10109 Keep track of current target state while performing a state
10110 change so that subclasses can do something interesting.
10111 Fix parsing of warning/error messages when GError is NULL.
10113 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10115 * docs/gst/Makefile.am:
10116 * docs/gst/gstreamer-docs.sgml:
10117 * docs/gst/gstreamer-sections.txt:
10118 * docs/gst/gstreamer.types:
10119 * docs/gst/tmpl/gstbasesink.sgml:
10120 * docs/gst/tmpl/gstbasesrc.sgml:
10121 * docs/gst/tmpl/gstbin.sgml:
10122 * docs/gst/tmpl/gstcompat.sgml:
10123 * docs/gst/tmpl/gstfakesink.sgml:
10124 * docs/gst/tmpl/gstfakesrc.sgml:
10125 * docs/gst/tmpl/gstfilesink.sgml:
10126 * docs/gst/tmpl/gstfilesrc.sgml:
10127 * docs/gst/tmpl/gstindex.sgml:
10128 * docs/manual/appendix-quotes.xml:
10129 * gst/base/gstbasesrc.h:
10130 * gst/elements/gstfakesrc.h:
10131 * gst/gstmessage.h:
10132 start pulling in base classes and elements in our docs
10134 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10136 * docs/gst/Makefile.am:
10137 * docs/libs/Makefile.am:
10138 fixed make distcheck with gtk-doc 1.3
10140 2005-06-23 Wim Taymans <wim@fluendo.com>
10142 * gst/gstelement.c: (gst_element_get_state_func),
10143 (gst_element_set_state), (gst_element_change_state):
10144 When the state did not change, also report NO_PREROLL
10147 2005-06-23 Wim Taymans <wim@fluendo.com>
10149 * gst/gstpad.c: (gst_pad_event_default):
10150 * gst/gstqueue.c: (gst_queue_loop):
10151 No unsafe task pausing please.
10153 2005-06-23 Wim Taymans <wim@fluendo.com>
10155 * gst/schedulers/threadscheduler.c:
10156 (gst_thread_scheduler_task_start),
10157 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10158 Ref the task before pushing it on the threadpool. This
10159 makes sure that we have a ref when the threadfunction is
10162 2005-06-23 Andy Wingo <wingo@pobox.com>
10164 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10165 offset is greater than the file's size.
10167 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10168 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10169 * gst/gstobject.c (gst_object_class_init): Make the class lock
10170 recursive. Wim won't let me drop deep_notify. Decodebin works
10171 again, whoopdy doo.
10173 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10174 internal pad, and hacks accordingly. Doesn't do it on the target
10175 pad because we change its caps. Probably catches all cases of
10177 (gst_ghost_pad_set_property): Connect to notify::caps as
10180 * tests/network-clock.scm (plot-simulation): Pipe data to the
10181 elite python skript.
10183 * tests/network-clock-utils.scm (define-parameter): New macro,
10184 defines a parameter that can be set via the command line.
10185 (set-parameter!, parse-parameter-arguments): Command line args
10188 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10191 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10193 * gst/elements/gsttypefindelement.c:
10194 (gst_type_find_element_handle_event):
10195 Don't restart typefinding on a discont.
10196 * gst/gstelement.c: (gst_element_set_state):
10197 Debug spelling fix.
10198 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10199 Allow changing mode of an active pad.
10200 Debug output fixes.
10201 * gst/registries/gstlibxmlregistry.c: (load_feature):
10202 Don't cast a static pad template to a normal pad template.
10204 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10206 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10207 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10208 remove gst_strtoll completely, since it didn't actually do
10209 anything more than what g_ascii_strtoull already does.
10210 check for range errors when deserializing
10211 do a cast for the unsigned cases; but further fixing needs
10212 a decision on what the interpretation of "(int)" and
10213 deserialization should be for values that fall outside the
10214 type's boundaries (ie, refuse, or interpret as casting)
10216 2005-06-23 Wim Taymans <wim@fluendo.com>
10218 * check/Makefile.am:
10219 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10220 * docs/design/part-live-source.txt:
10221 * docs/design/part-states.txt:
10222 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10223 (gst_basesrc_set_live), (gst_basesrc_is_live),
10224 (gst_basesrc_get_range), (gst_basesrc_activate),
10225 (gst_basesrc_change_state):
10226 * gst/base/gstbasesrc.h:
10227 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10228 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10229 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10230 * gst/gstelement.c: (gst_element_get_state_func),
10231 (gst_element_set_state):
10232 * gst/gstelement.h:
10234 * tools/gst-launch.c: (event_loop), (main):
10235 Added support for live sources and other elements that
10237 Updated design docs, added live-source design doc.
10238 Implemented live source functionality in basesrc
10239 Fix error condition in _bin_get_state()
10240 Implement live source handling in -launch.
10241 Added check for live sources.
10242 Fixed case in GstBin where elements were changed state
10246 2005-06-23 Andy Wingo <wingo@pobox.com>
10248 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10249 borken refcounting.
10251 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10252 gst_caps_replace takes care of this for us.
10254 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10255 gst_pad_set_caps on the target, not just its setcaps() function.
10257 * tests/network-clock.scm:
10258 * tests/network-clock-utils.scm: A network clock simulator.
10259 Something of an algorithmic testbed before doing something in C.
10261 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10263 * check/Makefile.am:
10264 * check/gst/capslist.h:
10265 copy over from 0.8, and add two with bitmasks specified with
10267 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10268 add test to parse everything from capslist.h
10269 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10271 add test for structure deserialization
10272 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10273 add tests for deserialization of strings to int types
10274 * gst/gststructure.c: (gst_structure_nth_field_name):
10275 * gst/gststructure.h:
10276 add a way to get the name of a field referenced by index
10277 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10278 instead of checking if the resulting long long lies between
10279 min and max, we check if the long long would fit into
10280 a number of bytes for the final type.
10281 This fixes cases where a string represents 2^32 - 1, which
10282 when cast to int would be the (valid) -1, but is bigger than
10285 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10287 * gst/parse/grammar.y:
10288 add a log line for type deserialization
10290 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10292 * check/gst/gstvalue.c: (START_TEST):
10293 * gst/gstvalue.c: (gst_value_deserialize):
10294 return long long, not int, so gint64 deserialization actually
10295 works. Is there any flag that makes the compiler check this ?
10298 2005-06-22 Wim Taymans <wim@fluendo.com>
10301 Added convenience macros for setting buffers in GValue.
10303 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10305 * check/gst/.cvsignore:
10306 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10307 add a test deserializing int64, and comment part out because
10310 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
10312 * check/Makefile.am:
10313 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
10314 * testsuite/Makefile.am:
10315 * testsuite/caps/Makefile.am:
10316 * testsuite/caps/value_serialize.c:
10317 * testsuite/test_gst_init.c:
10318 move a value_serialize test over
10320 2005-06-20 Wim Taymans <wim@fluendo.com>
10325 * gst/gstvalue.c: (gst_value_compare_buffer),
10326 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
10327 (gst_value_compare_flags), (gst_value_serialize_flags),
10328 (gst_value_deserialize_flags), (_gst_value_initialize):
10329 Fix serialisation of buffers, they are not boxed types anymore
10331 2005-06-20 Wim Taymans <wim@fluendo.com>
10333 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10334 Testcase to show error in buffer-on-caps serialisation.
10336 2005-06-20 Andy Wingo <wingo@pobox.com>
10338 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
10339 will be adding to later.
10341 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
10342 if its socks fill with rocks.
10343 (gst_system_clock_obtain): Set the name on object construction.
10344 Avoid double-checked locking.
10346 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
10348 * gst/gsturi.c: (gst_element_make_from_uri):
10349 Fix potential endless loop.
10351 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10353 * check/Makefile.am:
10355 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
10357 move over from testsuite dir and clean up
10360 * testsuite/Makefile.am:
10361 * testsuite/tags/.cvsignore:
10362 * testsuite/tags/Makefile.am:
10363 * testsuite/tags/merge.c:
10364 remove testsuite/tags
10366 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10368 * docs/gst/gstreamer-sections.txt:
10369 * docs/gst/tmpl/gstenumtypes.sgml:
10370 * win32/gstenumtypes.c:
10371 clean up documentation build a little
10373 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10375 * check/gstcheck.h:
10376 add macros for checking refcounts on objects and caps
10377 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
10378 add some more unit tests
10379 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
10380 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
10381 fix leaked refcounts (I hope :)) so unittest works
10385 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
10387 * configure.ac: back to HEAD
10389 === release 0.9.1 ===
10391 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
10397 2005-06-17 Andy Wingo <wingo@pobox.com>
10399 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
10400 assert; it's always possible that the pad gets deactivated in
10401 between the checks in gstpad.c and the implementation. Rely on
10402 finish_preroll() to return a FLUSHING or similar instead of on the
10405 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
10406 clock and post an EOS message if we come out of finish_preroll in
10409 2005-06-16 David Schleef <ds@schleef.org>
10411 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
10412 (gst_capsfilter_set_property): Allow NULL as possible value
10413 for filter_caps property, indicating GST_CAPS_ANY.
10415 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10417 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
10419 * gst/schedulers/Makefile.am:
10421 * gstreamer.spec.in:
10424 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
10426 * gstreamer.spec.in:
10429 2005-06-08 Andy Wingo <wingo@pobox.com>
10431 * gst/gstutils.c: RPAD fixes all around.
10432 (gst_element_link_pads): Refcounting fixes.
10434 * tools/gst-inspect.c:
10435 * tools/gst-xmlinspect.c:
10437 * gst/base/gsttypefindhelper.c:
10438 * gst/base/gstbasesink.c:
10439 * gst/gstqueue.c: RPAD fixes.
10441 * gst/gstghostpad.h:
10442 * gst/gstghostpad.c: New ghost pad implementation as full proxy
10443 pads. The tricky thing is they provide both source and sink
10444 interfaces, since they proxy the internal pad for the external
10445 pad, and vice versa. Implement with lower-level ProxyPad objects,
10446 with the interior proxy pad as a child of the exterior ghost pad.
10447 Should write a doc on this.
10449 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
10450 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
10453 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
10454 pads are real pads. No ghost pads in this file. Not documenting
10455 the myriad s/RPAD/PAD/ and REALIZE fixes.
10456 (gst_pad_class_init): Add properties for "direction" and
10457 "template". Both are construct-only, so they can't change during
10458 the life of the pad. Fixes properly deriving from GstPad.
10459 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
10460 derived objects, just set properties when creating the objects via
10462 (gst_pad_get_parent): Implement as a function, return NULL if the
10463 parent is not an element.
10464 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
10465 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
10467 * gst/gstobject.c (gst_object_class_init): Make name a construct
10468 property. Don't set it in the object init.
10470 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
10471 with UNKNOWN direction.
10472 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
10473 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
10474 (gst_element_remove_pad): Remove ghost-pad special cases.
10475 (gst_element_pads_activate): Remove rpad cruft.
10477 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
10478 catch the pad's-parent-not-an-element case.
10480 * gst/gst.h: Include gstghostpad.h.
10482 * gst/gst.c (init_post): No more real, ghost pads.
10484 * gst/Makefile.am: Add gstghostpad.[ch].
10486 * check/Makefile.am:
10487 * check/gst/gstbin.c:
10488 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
10489 into a bin creates ghost pads, and that the refcounts are right.
10490 Partly moved from gstbin.c.
10492 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10494 * check/gst-libs/.cvsignore:
10495 * check/gst/.cvsignore:
10496 * check/pipelines/.cvsignore:
10498 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
10499 (START_TEST), (cleanup_suite), (main):
10500 add some tests related to cleanup after running pipelines
10502 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10504 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
10505 add a testsuite for GstBuffer
10507 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
10509 * gst/gstminiobject.h:
10510 add defines for accessing the refcount
10512 2005-06-03 Stefan Kost <ensonic@users.sf.net>
10514 * Makefile.am: added support for html unit test coverage reports
10516 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
10518 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
10519 Free existing caps if the capsfilter changes. Add a FIXME about
10520 setting those caps on the pads.
10522 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
10523 Before adding a ghost pad to a parent bin, check that there isn't
10524 already one for the element on the bin. Prevents infinite recursion
10525 when using decodebin in parse pipelines. Andy says he'll rewrite the
10526 way this works anyway, so ignore the hack.
10528 2005-06-02 Andy Wingo <wingo@pobox.com>
10530 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
10531 file size, pass it on to the type find helper.
10533 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
10534 segment_start and segment_end properly according to the seek
10535 method. Segment_end is still a bit flaky because offset can be
10536 negative for CUR and END cases, but it takes -1 as an "unset"
10539 2005-06-02 Wim Taymans <wim@fluendo.com>
10541 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
10542 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
10543 (gst_basesink_activate):
10544 * gst/base/gstbasesink.h:
10545 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10546 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10547 (gst_pad_query), (gst_pad_start_task):
10549 * gst/gstqueue.c: (gst_queue_bufferalloc),
10550 (gst_queue_handle_sink_event), (gst_queue_chain):
10551 Bufferalloc: return GstFlowReturn to more accuratly report
10552 why allocation failed.
10554 2005-06-02 Wim Taymans <wim@fluendo.com>
10556 * gst/gstpipeline.c: (gst_pipeline_send_event):
10557 Take snapshot of state without blocking.
10559 2005-06-02 Wim Taymans <wim@fluendo.com>
10561 * docs/design/part-TODO.txt:
10562 * docs/design/part-caps.txt:
10563 * docs/design/part-clocks.txt:
10564 * docs/design/part-negotiation.txt:
10565 * docs/design/part-preroll.txt:
10568 2005-05-30 Wim Taymans <wim@fluendo.com>
10570 * gst/elements/gstidentity.c: (gst_identity_event),
10571 (gst_identity_transform), (gst_identity_get_property):
10572 Protect last_message property as it is accessed from
10575 2005-05-30 Wim Taymans <wim@fluendo.com>
10577 * gst/gstelement.c: (gst_element_init),
10578 (gst_element_pads_activate), (gst_element_change_state):
10579 Slicker pad activation code.
10581 2005-05-30 Wim Taymans <wim@fluendo.com>
10584 * gst/gstelement.h:
10585 * gst/gstelementfactory.h:
10587 Move elementfactory methods to separate .h file.
10589 2005-05-30 Wim Taymans <wim@fluendo.com>
10591 * docs/design/part-overview.txt:
10592 * gst/gstsystemclock.h:
10593 Small typo fixes, doc updates.
10595 2005-05-30 Wim Taymans <wim@fluendo.com>
10597 * gst/gst.c: (gst_init_get_popt_table), (init_post),
10598 (init_popt_callback):
10599 Remove cpu-opt flag.
10601 2005-05-30 Wim Taymans <wim@fluendo.com>
10603 * gst/gstbuffer.c: (gst_subbuffer_finalize),
10604 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
10606 Avoid typechecking in places where not needed.
10607 Added accessor for malloc_data.
10609 2005-05-30 Wim Taymans <wim@fluendo.com>
10611 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
10612 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
10613 (gst_pad_configure_sink), (gst_pad_configure_src),
10614 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
10615 (gst_pad_start_task):
10616 Propagate errors from _set_caps() in configure_src/sink
10617 functions instead of returning TRUE.
10618 FLUSH events can travel up and downstream
10621 2005-05-30 Wim Taymans <wim@fluendo.com>
10623 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10624 (gst_basesink_activate):
10625 Handle EOS in preroll.
10627 2005-05-30 Wim Taymans <wim@fluendo.com>
10629 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10630 (gst_queue_loop), (gst_queue_handle_src_event):
10631 Remove old pieces of code
10632 Flushing the queue in an upstream event is a very bad idea.
10634 2005-05-26 Andy Wingo <wingo@pobox.com>
10636 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
10637 gst_value_set_mini_object so as to add a ref on the object (which
10638 will be removed when the value is unset).
10640 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
10641 arg type in ::handoff.
10643 * gst/gstelement.c (gst_element_change_state): Also deactivate
10644 pads in READY->NULL, just in case the element didn't make it to
10645 PAUSED. Wingo tested, Wim approved.
10647 2005-05-26 Wim Taymans <wim@fluendo.com>
10649 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10650 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
10651 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
10652 A flushing pad cannot be used to alloc_buffer from.
10654 2005-05-26 Wim Taymans <wim@fluendo.com>
10656 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10657 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
10658 (gst_bus_source_dispatch), (gst_bus_source_finalize),
10659 (gst_bus_create_watch), (gst_bus_add_watch_full):
10661 Implement a real GSource and use g_main_context_wakeup() to
10662 signal new messages instead of the socketpair.
10664 2005-05-25 Wim Taymans <wim@fluendo.com>
10666 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
10667 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
10668 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10669 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10670 (gst_pad_send_event), (gst_pad_start_task):
10671 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
10672 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
10673 (gst_queue_sink_activate), (gst_queue_src_activate),
10674 (gst_queue_change_state):
10676 Fix state changes for non sinks. We now change sinks, then elements
10677 with unconnected srcpads, then the rest.
10678 More efficient queue unlocking in flush and state changes.
10679 Set the pad activate mode even if it does not have an activate
10682 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10684 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
10685 Don't go in pull mode for non-seekable sources.
10686 * gst/elements/gsttypefindelement.h:
10687 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
10688 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
10689 (free_entry), (stop_typefinding),
10690 (gst_type_find_element_handle_event), (find_peek),
10691 (gst_type_find_element_chain), (do_pull_typefind),
10692 (gst_type_find_element_change_state):
10693 Allow typefinding (w/o seeking) in push-mode, simplified version
10694 of what was in 0.8.
10695 * gst/gstutils.c: (gst_buffer_join):
10697 gst_buffer_join() from 0.8.
10699 2005-05-25 Wim Taymans <wim@fluendo.com>
10701 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
10702 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
10703 (gst_pad_send_event), (gst_pad_start_task):
10704 Disable attempt at mode switching until it is figured out.
10706 2005-05-25 Wim Taymans <wim@fluendo.com>
10708 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
10709 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
10710 (gst_basesink_finish_preroll), (gst_basesink_chain),
10711 (gst_basesink_loop), (gst_basesink_activate),
10712 (gst_basesink_change_state):
10713 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
10714 (gst_basesrc_get_range), (gst_basesrc_loop),
10715 (gst_basesrc_activate):
10716 * gst/elements/gsttee.c: (gst_tee_sink_activate):
10717 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10718 (gst_real_pad_init), (gst_real_pad_set_property),
10719 (gst_real_pad_get_property), (gst_pad_set_active),
10720 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
10721 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
10722 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
10723 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
10724 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10725 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
10726 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
10727 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10728 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
10729 (gst_pad_stop_task):
10731 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10732 (gst_queue_loop), (gst_queue_src_activate):
10733 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
10734 (gst_task_get_state):
10736 * gst/schedulers/threadscheduler.c:
10737 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
10738 Implement gst_pad_pause/start/stop_task(), take STREAM lock
10740 Remove ACTIVE pad flag, use FLUSHING everywhere
10741 Added _pad_chain(), _pad_get_range() to call chain/getrange
10743 Add locks around IS_FLUSHING when reading.
10744 Take STREAM lock in chain(), get_range() functions so plugins
10745 don't need to take it anymore.
10749 2005-05-25 Wim Taymans <wim@fluendo.com>
10751 * tools/gst-launch.c: (event_loop):
10752 Unref message after using its contents instead of
10755 2005-05-24 Wim Taymans <wim@fluendo.com>
10757 * docs/design/draft-ghostpads.txt:
10758 * docs/design/draft-push-pull.txt:
10759 * docs/design/draft-query.txt:
10760 * docs/design/part-overview.txt:
10761 Docs updates, added general overview doc.
10763 2005-05-21 David Schleef <ds@schleef.org>
10765 * docs/gst/tmpl/old/GstBin.sgml:
10766 * docs/gst/tmpl/old/GstBuffer.sgml:
10767 * docs/gst/tmpl/old/GstCaps.sgml:
10768 * docs/gst/tmpl/old/GstClock.sgml:
10769 * docs/gst/tmpl/old/GstCompat.sgml:
10770 * docs/gst/tmpl/old/GstData.sgml:
10771 * docs/gst/tmpl/old/GstElement.sgml:
10772 * docs/gst/tmpl/old/GstEvent.sgml:
10773 * docs/gst/tmpl/old/GstIndex.sgml:
10774 * docs/gst/tmpl/old/GstStructure.sgml:
10775 * docs/gst/tmpl/old/GstTag.sgml:
10776 * docs/gst/tmpl/old/cothreads.sgml:
10777 * docs/gst/tmpl/old/cothreads_compat.sgml:
10778 * docs/gst/tmpl/old/gettext.sgml:
10779 * docs/gst/tmpl/old/gobject2gtk.sgml:
10780 * docs/gst/tmpl/old/grammar.tab.sgml:
10781 * docs/gst/tmpl/old/gst-i18n-app.sgml:
10782 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
10783 * docs/gst/tmpl/old/gst_private.sgml:
10784 * docs/gst/tmpl/old/gstaggregator.sgml:
10785 * docs/gst/tmpl/old/gstarch.sgml:
10786 * docs/gst/tmpl/old/gstatomic_impl.sgml:
10787 * docs/gst/tmpl/old/gstbufferstore.sgml:
10788 * docs/gst/tmpl/old/gstdata_private.sgml:
10789 * docs/gst/tmpl/old/gstdisksink.sgml:
10790 * docs/gst/tmpl/old/gstdisksrc.sgml:
10791 * docs/gst/tmpl/old/gstelementfactory.sgml:
10792 * docs/gst/tmpl/old/gstextratypes.sgml:
10793 * docs/gst/tmpl/old/gstfakesink.sgml:
10794 * docs/gst/tmpl/old/gstfakesrc.sgml:
10795 * docs/gst/tmpl/old/gstfdsink.sgml:
10796 * docs/gst/tmpl/old/gstfdsrc.sgml:
10797 * docs/gst/tmpl/old/gstfilesink.sgml:
10798 * docs/gst/tmpl/old/gstfilesrc.sgml:
10799 * docs/gst/tmpl/old/gsthttpsrc.sgml:
10800 * docs/gst/tmpl/old/gstidentity.sgml:
10801 * docs/gst/tmpl/old/gstindexfactory.sgml:
10802 * docs/gst/tmpl/old/gstmarshal.sgml:
10803 * docs/gst/tmpl/old/gstmd5sink.sgml:
10804 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
10805 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
10806 * docs/gst/tmpl/old/gstpadtemplate.sgml:
10807 * docs/gst/tmpl/old/gstpipefilter.sgml:
10808 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
10809 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
10810 * docs/gst/tmpl/old/gstshaper.sgml:
10811 * docs/gst/tmpl/old/gstspider.sgml:
10812 * docs/gst/tmpl/old/gstspideridentity.sgml:
10813 * docs/gst/tmpl/old/gststatistics.sgml:
10814 * docs/gst/tmpl/old/gsttee.sgml:
10815 * docs/gst/tmpl/old/gsttimecache.sgml:
10816 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
10817 * docs/gst/tmpl/old/gstxmlregistry.sgml:
10818 * docs/gst/tmpl/old/gthread-cothreads.sgml:
10819 * docs/gst/tmpl/old/types.sgml:
10820 I didn't intend to add these or check them in.
10822 2005-05-19 David Schleef <ds@schleef.org>
10824 * configure.ac: Use -no-common everywhere. In a sane world, it
10825 would be the default in libtool, because without it, you can't
10826 build DLLs on Windows.
10827 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
10828 * docs/gst/gstreamer-sections.txt:
10829 * docs/gst/tmpl/gstcpu.sgml:
10830 * docs/gst/tmpl/gstdata.sgml:
10831 * docs/gst/tmpl/gstthread.sgml:
10833 2005-05-19 David Schleef <ds@schleef.org>
10835 * gst/gstminiobject.c: (gst_value_set_mini_object),
10836 (gst_value_take_mini_object), (gst_value_get_mini_object):
10837 * gst/gstminiobject.h: Add GValue set/get functions.
10839 2005-05-19 Wim Taymans <wim@fluendo.com>
10841 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
10842 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
10843 (gst_subbuffer_init), (gst_buffer_is_span_fast):
10845 * gst/gstbus.c: (gst_bus_post):
10846 * gst/gstelement.c: (gst_element_get_random_pad):
10847 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
10848 Make subbufer unref the parent in finalize.
10849 some more debugging info.
10852 2005-05-19 Wim Taymans <wim@fluendo.com>
10854 * gst/base/gstbasesink.c: (gst_basesink_class_init),
10855 (gst_basesink_init), (gst_basesink_finalize),
10856 (gst_basesink_activate), (gst_basesink_change_state):
10857 Don't free preroll queue too early.
10859 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10863 Hi, I'm outdated. Please shoot me.
10865 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10867 * gst/gstpipeline.c: (gst_pipeline_send_event):
10868 Do not access variables after they have been deleted.
10870 2005-05-19 Wim Taymans <wim@fluendo.com>
10872 * tools/gst-inspect.c: (print_plugin_features):
10873 A plugin feature does unfortunatly not use the
10876 2005-05-18 Wim Taymans <wim@fluendo.com>
10878 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
10879 Port _span() functions to new subbuffers.
10881 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10883 * gst/gstbin.c: (gst_bin_add_func):
10884 Fix clock settery in bins when adding kids after the clock has
10887 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10889 * gst/elements/gstidentity.c: (gst_identity_class_init):
10890 Workaround until signals support GstMiniObject.
10892 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
10895 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
10897 2005-05-18 Wim Taymans <wim@fluendo.com>
10899 * gst/base/Makefile.am:
10900 * gst/base/gstadapter.c: (gst_adapter_base_init),
10901 (gst_adapter_class_init), (gst_adapter_init),
10902 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
10903 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
10904 (gst_adapter_flush), (gst_adapter_available),
10905 (gst_adapter_available_fast):
10906 * gst/base/gstadapter.h:
10907 Ported and added adapter to the base classes.
10909 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
10912 * gst/gstmessage.c:
10913 Make sure the class is reffed/unreffed once before threads can be
10914 used. Fixes #304551.
10916 2005-05-17 Wim Taymans <wim@fluendo.com>
10918 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
10919 (gst_basesink_chain_unlocked), (gst_basesink_activate):
10920 * gst/gstminiobject.c: (gst_mini_object_get_type),
10921 (gst_mini_object_free):
10922 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
10923 (gst_pad_push), (gst_pad_push_event):
10924 * gst/gstqueue.c: (gst_queue_change_state):
10925 Don't queue buffers in basesink when we are flushing.
10926 Unref buffer when flushing in basesink.
10927 Flush queue when going to READY
10928 Unref buffer when _push() returns an error.
10929 Don't free MiniObject instance when refcount is incremented
10930 in _finalize() so that we can recover objects.
10932 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
10934 * docs/manual/advanced-schedulers.xml:
10935 * docs/manual/appendix-checklist.xml:
10936 * docs/pwg/advanced-clock.xml:
10937 * docs/pwg/advanced-interfaces.xml:
10938 * docs/pwg/advanced-request.xml:
10939 * docs/pwg/advanced-types.xml:
10940 * docs/pwg/intro-preface.xml:
10941 * examples/plugins/example.c: (gst_example_get_type),
10942 (gst_example_class_init), (gst_example_chain),
10943 (gst_example_set_property), (gst_example_get_property),
10944 (gst_example_change_state), (plugin_init):
10945 * examples/plugins/example.h:
10948 2005-05-17 Wim Taymans <wim@fluendo.com>
10950 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
10951 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
10952 * gst/gstqueue.c: (gst_queue_change_state):
10953 Clear queue when going to READY.
10954 Remove IN_SETCAPS flag too.
10956 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
10958 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
10959 Remove implicit cast from gboolean to GstElementStateReturn;
10960 make sure we still return failure in paused => ready case if
10961 the parent class fails to change state and our own stop
10964 2005-05-17 Wim Taymans <wim@fluendo.com>
10966 * tools/gst-launch.c: (event_loop):
10967 Message was unreffed too soon.
10969 2005-05-16 Andy Wingo <wingo@pobox.com>
10971 * gst/gstbin.c (sink_iterator_filter): Err... um...
10973 * check/gst/gstbin.c (test_ghost_pads): New test for the
10974 ghosting-if-elements-not-in-same-bin behavior.
10976 2005-05-16 David Schleef <ds@schleef.org>
10978 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
10979 accessing refcount directly.
10981 2005-05-15 David Schleef <ds@schleef.org>
10983 * check/Makefile.am: remove GstData checks
10984 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
10985 * gst/Makefile.am: add miniobject, remove data
10986 * gst/gst.h: add miniobject, remove data
10987 * gst/gstdata.c: remove
10988 * gst/gstdata.h: remove
10989 * gst/gstdata_private.h: remove
10990 * gst/gsttypes.h: remove GstEvent and GstMessage
10991 * gst/gstelement.c: (gst_element_post_message): fix for API changes
10992 * gst/gstmarshal.list: change BOXED -> OBJECT
10994 Implement GstMiniObject.
10995 * gst/gstminiobject.c:
10996 * gst/gstminiobject.h:
10998 Modify to be subclasses of GstMiniObject.
10999 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11000 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11001 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11002 (gst_subbuffer_get_type), (gst_subbuffer_init),
11003 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11006 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11007 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11008 (_gst_event_copy), (gst_event_new):
11010 * gst/gstmessage.c: (_gst_message_initialize),
11011 (gst_message_get_type), (gst_message_class_init),
11012 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11013 (gst_message_new), (gst_message_new_error),
11014 (gst_message_new_warning), (gst_message_new_tag),
11015 (gst_message_new_state_changed), (gst_message_new_application):
11016 * gst/gstmessage.h:
11017 * gst/gstprobe.c: (gst_probe_perform),
11018 (gst_probe_dispatcher_dispatch):
11020 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11021 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11022 (_gst_query_copy), (gst_query_new):
11024 Update elements for GstData -> GstMiniObject changes
11026 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11027 (gst_queue_chain), (gst_queue_loop):
11028 * gst/elements/gstbufferstore.c:
11029 (gst_buffer_store_add_buffer_func),
11030 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11031 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11032 (gst_fakesink_render):
11033 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11034 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11035 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11036 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11037 (gst_filesrc_create_read):
11038 * gst/elements/gstidentity.c: (gst_identity_class_init):
11039 * gst/elements/gsttypefindelement.c:
11040 (gst_type_find_element_src_event), (free_entry_buffers),
11041 (gst_type_find_element_handle_event):
11042 * libs/gst/dataprotocol/dataprotocol.c:
11043 (gst_dp_header_from_buffer):
11044 * libs/gst/dataprotocol/dataprotocol.h:
11045 * libs/gst/dataprotocol/dp-private.h:
11047 2005-05-15 David Schleef <ds@schleef.org>
11049 * gst/elements/gstelements.c: Don't include headers that were
11052 2005-05-15 David Schleef <ds@schleef.org>
11054 * gst/elements/Makefile.am: Remove some elements that don't
11055 need to be in the core (or even exist at all).
11056 * gst/elements/gstaggregator.c:
11057 * gst/elements/gstaggregator.h:
11058 * gst/elements/gstmd5sink.c:
11059 * gst/elements/gstmd5sink.h:
11060 * gst/elements/gstmultifilesrc.c:
11061 * gst/elements/gstmultifilesrc.h:
11062 * gst/elements/gstpipefilter.c:
11063 * gst/elements/gstpipefilter.h:
11064 * gst/elements/gstshaper.c:
11065 * gst/elements/gstshaper.h:
11066 * gst/elements/gststatistics.c:
11067 * gst/elements/gststatistics.h:
11068 * po/POTFILES.in: Remove above files.
11070 2005-05-14 Andy Wingo <wingo@pobox.com>
11072 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11073 so as to get the refs right.
11074 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11075 unreffing objects that don't pass the filter.
11077 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11078 gst_element_set_bus.
11079 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11080 normal cases, this will destroy the bus.
11082 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11085 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11088 2005-05-13 Andy Wingo <wingo@pobox.com>
11090 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11091 gst_pad_link, call pad_link_maybe_ghosting,
11092 (pad_link_maybe_ghosting): Links pads, making sure that the
11093 elements being linked are in the same bin.
11094 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11095 Helpers for pad_link_maybe_ghosting.
11097 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11100 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11102 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11104 * docs/design/part-element-source.txt:
11107 2005-05-12 Wim Taymans <wim@fluendo.com>
11109 * gst/base/gstbasesink.c: (gst_basesink_init),
11110 (gst_basesink_activate):
11111 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11112 (gst_basesrc_is_seekable):
11113 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11114 (bin_element_is_sink), (gst_bin_change_state):
11115 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11116 * gst/gstelement.h:
11117 Identify sinks by their flag to avoid overly complicated
11119 Do state changes even for elements not reachable from the
11121 BaseSink is a sink now :)
11122 Some more debugging info in the basesrc.
11125 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11127 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11128 Implement _query on a bin, similar to _send_event.
11130 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11132 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11133 Discont event offset format should be GST_FORMAT_BYTES,
11134 not GST_FORMAT_TIME.
11136 2005-05-12 Wim Taymans <wim@fluendo.com>
11138 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11139 Same fix as Ronald's but without the signal.
11141 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11143 * gst/gstutils.c: (gst_element_query_position):
11144 No, an element is not a pad.
11146 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11148 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11149 (gst_bin_get_state):
11150 If a child is removed from a bin while we remove the child from
11151 the bin and while we're retrieving its state, signal this to the
11152 get_state function so we abort the wait (instead of waiting for
11153 a timeout) and can immediately re-iterate over all other elements.
11155 2005-05-12 Wim Taymans <wim@fluendo.com>
11157 * gst/base/Makefile.am:
11158 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11159 (gst_basesrc_start):
11160 * gst/base/gstbasesrc.h:
11161 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11162 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11163 (gst_pushsrc_init), (gst_pushsrc_create):
11164 * gst/base/gstpushsrc.h:
11165 Added is_seekable to BaseSrc
11166 Added simple PushSrc.
11168 2005-05-11 Wim Taymans <wim@fluendo.com>
11170 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11171 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11172 (gst_element_link_pads), (gst_element_query_position),
11173 (gst_element_query_convert), (intersect_caps_func),
11174 (gst_pad_query_position), (gst_pad_query_convert):
11175 Fix refcounting in utils function.
11176 No point in trying to activate a pad when it's added, it could
11177 be added from the state change function and then we deadlock, the
11178 element has to decide what to do.
11180 2005-05-10 Andy Wingo <wingo@pobox.com>
11182 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11183 *all* the arguments.
11185 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11186 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11187 lock (according to the docs -- if this is wrong change the docs).
11189 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11190 flush messages in the NULL state.
11192 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11193 message immediately and return.
11194 (gst_bus_set_flushing): New function. If a bus is flushing, it
11195 flushes out any queued messages and immediately unrefs new
11196 messages. This is so when an element goes to NULL, all of the
11197 unhandled messages coming from it can be freed, and their
11198 references to the element dropped. In other words: message source
11199 ref considered harmful :P
11201 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11202 we're finished with it.
11204 * gst/gstmessage.c (gst_message_new_state_changed):
11206 2005-05-10 Wim Taymans <wim@fluendo.com>
11208 * gst/gstvalue.c: (gst_value_compare_flags),
11209 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11210 (_gst_value_initialize):
11211 Added flags serialize/deserialize/compare code.
11213 2005-05-09 Andy Wingo <wingo@pobox.com>
11215 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11216 Intersect the peer's caps with our caps.
11218 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11220 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11221 * gst/elements/gsttypefindelement.c: (find_peek):
11222 Handle negative offsets better. Fixes decodebin.
11224 2005-05-09 Wim Taymans <wim@fluendo.com>
11226 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11227 (gst_base_transform_event):
11228 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11229 Implement accept_caps.
11230 Fix silly lock/unlock mismatch in base class.
11232 2005-05-09 Wim Taymans <wim@fluendo.com>
11234 * docs/design/draft-push-pull.txt:
11235 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11236 * gst/elements/gstfilesink.c: (gst_filesink_init),
11237 (gst_filesink_query):
11238 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11239 (gst_type_find_handle_src_query), (find_element_get_length):
11240 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11241 * gst/gstelement.h:
11242 * gst/gstmessage.c:
11243 * gst/gstmessage.h:
11244 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11245 (gst_real_pad_get_caps_unlocked),
11246 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11247 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11248 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11249 (gst_real_pad_dispose), (gst_real_pad_finalize),
11250 (gst_pad_load_and_link), (gst_pad_save_thyself),
11251 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11252 (gst_pad_check_pull_range), (gst_pad_pull_range),
11253 (gst_pad_template_get_type), (gst_pad_template_class_init),
11254 (gst_pad_template_init), (gst_pad_template_dispose),
11255 (name_is_valid), (gst_static_pad_template_get),
11256 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11257 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11258 (gst_pad_get_element_private), (gst_pad_start_task),
11259 (gst_pad_pause_task), (gst_pad_stop_task),
11260 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11261 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11262 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11263 (gst_ghost_pad_new):
11265 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11266 (gst_query_new_position), (gst_query_set_position),
11267 (gst_query_parse_position), (gst_query_new_convert),
11268 (gst_query_set_convert), (gst_query_parse_convert):
11270 * gst/gstqueryutils.c:
11271 * gst/gstqueryutils.h:
11272 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11273 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11274 (gst_queue_handle_src_query):
11275 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11276 (gst_element_query_position), (gst_element_query_convert),
11277 (intersect_caps_func), (gst_pad_query_position),
11278 (gst_pad_query_convert):
11280 * tools/gst-inspect.c: (print_pad_info):
11281 * tools/gst-xmlinspect.c: (print_element_info):
11282 Remove old query functions. Ported old code.
11283 Added position/convert helper functions to gstutils.
11284 Reordered gstpad.c code, grouping relevant things.
11285 Remove gst_message_new(), always need to speficy a specific
11289 2005-05-09 Andy Wingo <wingo@pobox.com>
11291 * gst/gstiterator.h: Add some includes.
11293 * gst/gstqueryutils.h: Include more headers.
11296 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11297 some uses of gst_pad_query.
11299 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11300 NULL out parameters.
11301 (gst_query_new_position): New proc, allocates a new position
11304 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
11305 gstqueryutils.c to the build.
11307 * gst/gststructure.c (gst_structure_set_valist): Implement with
11308 the generic G_VALUE_COLLECT.
11310 2005-05-08 Edward Hervey <bilboed@bilboed.com>
11312 * gst/Makefile.am: (gst_headers):
11313 Added gstqueryutils.h to the list of headers to install, that was
11314 a 'nachty' move wingo :)
11316 2005-05-06 Andy Wingo <wingo@pobox.com>
11319 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
11320 GstData, init a memchunk.
11321 (standard_definitions): Add a few query types, deprecate a few.
11322 (gst_query_get_type): New proc.
11323 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
11325 (gst_query_new_application, gst_query_get_structure): New public
11328 * docs/design/draft-query.txt: Removed LINKS from the query types,
11329 because all the rest can be dispatched to other pads -- seemed
11330 ugly to have a query that couldn't be dispatched. internal_links
11331 is fine as a pad method.
11333 * gst/gstpad.h: Add query2 as a pad method, add the new functions
11334 in gstpad.c, but maintain binary compatibility for the moment.
11335 Will fix before 0.9 is out.
11337 * gst/gstqueryutils.c:
11338 * gst/gstqueryutils.h: New files, implement 3 methods for each
11339 query type: parse_query, parse_response, and set. Probably need an
11342 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
11344 * gst/elements/gstfilesink.c (gst_filesink_query2):
11345 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
11346 query_types, and formats methods.
11348 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
11349 (gst_pad_set_query2_function): New functions.
11350 (gst_real_pad_init): Set query2_default as the default query2
11351 function. Basically just dispatches to internally linked pads.
11355 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
11356 without using the atomic operations. Only one thread can possibly
11357 be accessing the data at this point. Changed so as to avoid
11358 gst_atomic operations.
11360 2005-05-06 Wim Taymans <wim@fluendo.com>
11362 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
11363 Also set caps if we use the fallback buffer alloc.
11365 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
11367 * docs/gst/Makefile.am:
11368 * docs/gst/gstreamer-docs.sgml:
11369 * docs/gst/gstreamer-sections.txt:
11370 * docs/gst/tmpl/gstatomic.sgml:
11371 * docs/gst/tmpl/gstmemchunk.sgml:
11372 * testsuite/elements/struct_i386.h:
11373 * win32/GStreamer.vcproj:
11375 Purge GstAtomic stuff from docs and win32 makefiles as well
11377 2005-05-06 Wim Taymans <wim@fluendo.com>
11379 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
11380 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
11381 * gst/gstpad.c: (gst_pad_peer_get_caps):
11382 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11383 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11384 (gst_queue_src_activate), (gst_queue_change_state):
11386 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11387 (intersect_caps_func):
11388 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
11389 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
11390 Some fixes for the peer_get_caps() change.
11392 2005-05-06 Wim Taymans <wim@fluendo.com>
11394 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11395 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
11396 (gst_basesink_activate):
11397 Actually do something with error codes returned from the push
11400 2005-05-06 Wim Taymans <wim@fluendo.com>
11402 * docs/design/part-element-sink.txt:
11403 * docs/design/part-element-source.txt:
11404 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11405 (gst_basesink_event), (gst_basesink_activate):
11406 * gst/base/gstbasesink.h:
11407 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
11408 (gst_basesrc_activate):
11409 * gst/base/gstbasesrc.h:
11410 * gst/gstelement.c: (gst_element_pads_activate):
11411 Some more documentation.
11412 Fixed scheduling decision in _pads_activate().
11414 2005-05-05 Andy Wingo <wingo@pobox.com>
11416 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
11419 2005-05-05 Wim Taymans <wim@fluendo.com>
11421 * gst/base/Makefile.am:
11422 * gst/base/gstbasesink.h:
11423 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11424 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
11425 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
11426 (gst_collectpads_class_init), (gst_collectpads_init),
11427 (gst_collectpads_finalize), (gst_collectpads_new),
11428 (gst_collectpads_set_function), (gst_collectpads_add_pad),
11429 (find_pad), (gst_collectpads_remove_pad),
11430 (gst_collectpads_is_active), (gst_collectpads_collect),
11431 (gst_collectpads_collect_range), (gst_collectpads_start),
11432 (gst_collectpads_stop), (gst_collectpads_peek),
11433 (gst_collectpads_pop), (gst_collectpads_available),
11434 (gst_collectpads_read), (gst_collectpads_flush),
11435 (gst_collectpads_chain):
11436 * gst/base/gstcollectpads.h:
11437 * gst/elements/Makefile.am:
11438 * gst/elements/gstelements.c:
11439 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11440 (gst_fakesink_get_times), (gst_fakesink_event),
11441 (gst_fakesink_preroll), (gst_fakesink_render):
11442 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
11443 (gst_filesink_init), (gst_filesink_set_location),
11444 (gst_filesink_open_file), (gst_filesink_close_file),
11445 (gst_filesink_pad_query), (gst_filesink_event),
11446 (gst_filesink_render), (gst_filesink_change_state):
11447 * gst/elements/gstfilesink.h:
11448 Added object to help in making collect pad based elements.
11450 Make event function in sink baseclass return gboolean.
11452 2005-05-05 Wim Taymans <wim@fluendo.com>
11454 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
11455 (gst_bin_get_by_name):
11457 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
11458 (gst_clock_finalize):
11459 * gst/gstdata.c: (gst_data_replace):
11461 * gst/gstelement.c: (gst_element_request_pad),
11462 (gst_element_pads_activate):
11463 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11464 (gst_object_unref):
11465 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11466 (gst_pad_set_checkgetrange_function),
11467 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
11468 (gst_pad_check_pull_range), (gst_pad_pull_range),
11469 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11470 (gst_pad_pause_task), (gst_pad_stop_task):
11471 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11472 (gst_element_request_pad), (gst_pad_proxy_getcaps):
11473 Fix name lookup in GstBin.
11474 Added _data_replace() function and _buffer_replace()
11475 Use finalize method to clean up clock.
11476 Fix refcounting on request pads.
11477 Fix pad schedule mode error.
11478 Some more object refcounting debug info,
11481 2005-05-04 Andy Wingo <wingo@pobox.com>
11483 * check/Makefile.am:
11484 * docs/gst/tmpl/gstatomic.sgml:
11485 * docs/gst/tmpl/gstplugin.sgml:
11486 * gst/base/gstbasesink.c: (gst_basesink_activate):
11487 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
11488 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
11489 (gst_basesrc_query), (gst_basesrc_set_property),
11490 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
11491 (gst_basesrc_activate):
11492 * gst/base/gstbasesrc.h:
11493 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
11494 (gst_base_transform_src_activate):
11495 * gst/elements/gstelements.c:
11496 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11497 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11498 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11499 * gst/elements/gsttypefindelement.c: (find_element_get_length),
11500 (gst_type_find_element_checkgetrange),
11501 (gst_type_find_element_activate):
11502 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
11503 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
11504 (gst_caps_load_thyself):
11505 * gst/gstelement.c: (gst_element_pads_activate),
11506 (gst_element_save_thyself), (gst_element_restore_thyself):
11507 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
11508 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
11510 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
11511 (gst_xml_parse_file), (gst_xml_parse_memory),
11512 (gst_xml_get_element), (gst_xml_make_element):
11513 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11514 (_file_index_id_save_xml), (gst_file_index_commit):
11515 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
11516 (read_enum), (load_pad_template), (load_feature), (load_plugin),
11518 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
11519 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
11520 * tools/gst-complete.c: (main):
11521 * tools/gst-compprep.c: (main):
11522 * tools/gst-inspect.c: (print_element_properties_info):
11523 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11524 * tools/gst-xmlinspect.c: (print_element_properties):
11527 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
11529 * gst/gstplugin.c: (gst_plugin_check_module),
11530 (gst_plugin_check_file), (gst_plugin_load_file):
11531 apply patch from #172526 to make register work on MacOSX
11533 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11535 * docs/gst/tmpl/gstconfig.sgml:
11536 * gst/gstconfig.h.in:
11537 move documentation for some symbols. Add doc for GST_PTR_FORMAT
11538 * testsuite/debug/printf_extension.c: (main):
11539 Do not use GST_PTR_FORMAT on pointers to types with
11540 sizeof < sizeof(gpointer). Fixes test on 64-bit
11541 * testsuite/elements/property.h:
11542 use correct printf format
11544 2005-05-02 Wim Taymans <wim@fluendo.com>
11546 * docs/design/draft-push-pull.txt:
11547 * docs/design/draft-query.txt:
11548 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
11549 (gst_basesrc_start):
11550 Added draft for new query API.
11551 Added draft for better selecting scheduling methods.
11552 Make basesrc ignore length if the subclass does not support
11555 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11558 possible fixes for automake-1.5 - _LIBADD is reserved
11560 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
11562 * docs/faq/Makefile.am:
11563 * docs/manual/Makefile.am:
11564 * docs/manuals.mak:
11565 * docs/pwg/Makefile.am:
11567 possible fixes for automake-1.5
11569 2005-04-28 Wim Taymans <wim@fluendo.com>
11571 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11572 (gst_basesink_pad_getcaps), (gst_basesink_init),
11573 (gst_basesink_do_sync):
11574 * gst/gstclock.c: (gst_clock_entry_new):
11575 * gst/gstevent.c: (gst_event_discont_get_value):
11576 * gst/gstpipeline.c: (pipeline_bus_handler),
11577 (gst_pipeline_change_state):
11578 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11579 Better debugging of clocking info.
11580 Allow NULL values when getting discont values.
11582 2005-04-27 Wim Taymans <wim@fluendo.com>
11584 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
11585 * check/gst/gstpad.c: (gst_pad_suite):
11586 Increase timeout for checks.
11588 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11590 * check/Makefile.am:
11591 fix the broken rule for cleanup. Apparently this rule is
11592 only needed on FC2, so maybe this warrants further autotool
11595 2005-04-26 Wim Taymans <wim@fluendo.com>
11597 * gst/gsttrashstack.h:
11598 Ooohh. a nasty one! After having a failed pop() from the stack,
11599 it's possible that the stack is empty. In that case, don't
11600 follow the NULL pointer.
11602 2005-04-25 Wim Taymans <wim@fluendo.com>
11604 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11605 (gst_pad_set_checkgetrange_function),
11606 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
11607 (gst_pad_check_pull_range), (gst_pad_pull_range),
11608 (gst_static_pad_template_get_caps), (gst_pad_start_task),
11609 (gst_pad_pause_task), (gst_pad_stop_task):
11610 * gst/gstplugin.c: (gst_plugin_load):
11612 Remove gst_library_load as it does more harm than good with
11613 the new g_module flags.
11614 Revert bogus caps template check in pad linking, pad caps
11615 are important when linking not the template, which is more
11616 general than the current caps.
11618 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11620 * gst/autoplug/.cvsignore:
11621 * gst/autoplug/Makefile.am:
11622 * gst/autoplug/gstsearchfuncs.c:
11623 * gst/autoplug/gstsearchfuncs.h:
11624 * gst/autoplug/gstspider.c:
11625 * gst/autoplug/gstspider.h:
11626 * gst/autoplug/gstspideridentity.c:
11627 * gst/autoplug/gstspideridentity.h:
11628 * gst/autoplug/spidertest.c:
11631 2005-04-25 Wim Taymans <wim@fluendo.com>
11633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11634 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11635 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
11636 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
11638 Added stubs for unimplemented functions.
11640 2005-04-24 David Schleef <ds@schleef.org>
11642 * gst/gstpad.h: Disable some unimplemented functions. Wim,
11645 2005-04-24 David Schleef <ds@schleef.org>
11647 Convert everything from GstAtomicInt to g_atomic_int_*, and
11652 * gst/gstatomic_impl.h:
11660 * gst/gstdata_private.h:
11664 * gst/gstmessage.c:
11667 * gst/gststructure.c:
11668 * gst/gststructure.h:
11669 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
11672 2005-04-24 David Schleef <ds@schleef.org>
11674 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
11675 make the regressions tests work. Remove some code that is no
11677 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
11678 Disable warning for pads without templates.
11680 2005-04-24 David Schleef <ds@schleef.org>
11682 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
11683 functions that handle filtered links.
11684 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
11686 * gst/gstutils.c: Fix/remove utility functions that handle
11689 * gst/gstvalue.c: Add serialization/deserialization of caps
11690 * gst/parse/grammar.y: Ignore filtered caps when linking. This
11691 requires fixing so that the filter caps notation creates
11692 a capsfilter element and sets the filter_caps property. I
11693 think everyone probably wants to keep the shorthand notation.
11694 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
11695 * docs/gst/tmpl/gstpad.sgml:
11697 * gst/elements/gstelements.c: Register capsfilter element.
11698 * gst/Makefile.am: fix spacing
11699 * docs/random/ds/0.9-suggested-changes: random
11701 2005-04-23 David Schleef <ds@schleef.org>
11703 * gst/elements/Makefile.am:
11704 * gst/elements/gstcapsfilter.c: New element that acts like an
11705 identity, but filters caps. Will eventually replace filtered
11706 caps in pad linking.
11707 * gst/gstutils.c: (gst_element_create_all_pads): New function
11708 to create all the ALWAYS pads that are registered with an
11709 element class. This functionality should eventually be
11710 merged in with GstElement initialization.
11712 * testsuite/trigger/README: part of trigger test code that should
11713 have been checked in a long time ago.
11715 2005-04-23 David Schleef <ds@schleef.org>
11717 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
11718 needed with new versions of libtool (nobody will confirm this),
11719 and hard to carry around.
11720 * gst/autoplug/Makefile.am:
11721 * gst/base/Makefile.am:
11722 * gst/elements/Makefile.am:
11723 * gst/indexers/Makefile.am:
11724 * gst/schedulers/Makefile.am:
11725 * libs/gst/bytestream/Makefile.am:
11726 * libs/gst/control/Makefile.am:
11727 * libs/gst/dataprotocol/Makefile.am:
11728 * libs/gst/getbits/Makefile.am:
11730 2005-04-21 Wim Taymans <wim@fluendo.com>
11732 * docs/design/draft-push-pull.txt:
11733 * docs/design/part-MT-refcounting.txt:
11734 * docs/design/part-TODO.txt:
11735 * docs/design/part-caps.txt:
11736 * docs/design/part-events.txt:
11737 * docs/design/part-gstbus.txt:
11738 * docs/design/part-gstpipeline.txt:
11739 * docs/design/part-messages.txt:
11740 * docs/design/part-push-pull.txt:
11741 * docs/design/part-query.txt:
11744 2005-04-21 Wim Taymans <wim@fluendo.com>
11746 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
11747 (gst_message_new), (gst_message_new_error),
11748 (gst_message_new_warning), (gst_message_new_tag),
11749 (gst_message_new_state_changed), (gst_message_new_application),
11750 (gst_message_get_structure):
11751 * gst/gstmessage.h:
11752 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11753 (gst_structure_copy_conditional):
11754 Use parent refcount in GstMessage to ensure GstStructure
11756 Cleaned up headers a bit.
11759 2005-04-20 Wim Taymans <wim@fluendo.com>
11761 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11762 (gst_basesink_pad_getcaps), (gst_basesink_init),
11763 (gst_basesink_chain_unlocked):
11764 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
11765 (gst_type_find_helper):
11766 * gst/elements/gsttypefindelement.c:
11767 (gst_type_find_element_have_type), (gst_type_find_element_init),
11768 (stop_typefinding), (gst_type_find_element_handle_event),
11769 (find_suggest), (gst_type_find_element_chain),
11770 (gst_type_find_element_checkgetrange),
11771 (gst_type_find_element_getrange), (do_typefind),
11772 (gst_type_find_element_activate):
11773 * gst/gstbuffer.c: (_gst_buffer_sub_free),
11774 (gst_buffer_default_free), (gst_buffer_default_copy),
11775 (gst_buffer_set_caps):
11776 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
11777 (gst_caps_replace):
11778 * gst/gstmessage.c: (gst_message_new),
11779 (gst_message_new_state_changed):
11780 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11781 (gst_pad_set_checkgetrange_function),
11782 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
11783 (gst_pad_set_caps), (gst_pad_check_pull_range),
11784 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
11786 * gst/gsttypefind.c: (gst_type_find_register):
11787 Make gst_caps_replace() work like other _replace() functions.
11788 Use _caps_replace() where possible.
11789 Make sure _message_new() initialises its field.
11790 Add gst_static_pad_template_get_caps()
11793 2005-04-18 Andy Wingo <wingo@pobox.com>
11795 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
11796 on the peer, not the pad. I think that was a typo. Pass an extra
11797 arg to see if random access is possible. Activate the pads as
11798 PULL_RANGE if possible.
11800 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
11802 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
11803 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
11806 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11808 * docs/faq/using.xml:
11809 Add note on gstreamer-properties (#154996).
11811 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11813 * docs/random/bbb/optional-properties:
11814 Some analysis on optional properties.
11816 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11818 * docs/gst/tmpl/gstelementfactory.sgml:
11819 * gst/gstelement.h:
11820 * gst/gstelementfactory.c: (gst_element_factory_init),
11821 (gst_element_factory_cleanup), (gst_element_register),
11822 (__gst_element_factory_add_static_pad_template),
11823 (gst_element_factory_get_static_pad_templates),
11824 (gst_element_factory_can_src_caps),
11825 (gst_element_factory_can_sink_caps):
11826 * gst/registries/Makefile.am:
11827 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
11828 (gst_xml_registry_class_init), (gst_xml_registry_init),
11829 (gst_xml_registry_new), (gst_xml_registry_set_property),
11830 (gst_xml_registry_get_property), (get_time), (make_dir),
11831 (gst_xml_registry_get_perms_func),
11832 (plugin_times_older_than_recurse), (plugin_times_older_than),
11833 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
11834 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
11835 (add_to_char_array), (read_string), (read_uint), (read_enum),
11836 (load_pad_template), (load_feature), (load_plugin), (load_paths),
11837 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
11838 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
11839 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
11840 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
11841 (gst_xml_registry_rebuild):
11842 * gst/registries/gstlibxmlregistry.h:
11843 * tools/gst-compprep.c: (main):
11844 * tools/gst-inspect.c: (print_pad_templates_info):
11845 * tools/gst-xmlinspect.c: (print_element_info):
11846 Use libxml2 for registry parsing, use staticpadtemplates in
11847 elementfactories. Makes gst_init() +/- 10x faster.
11849 2005-04-12 Wim Taymans <wim@fluendo.com>
11851 * gst/base/Makefile.am:
11852 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11853 (gst_basesink_pad_getcaps), (gst_basesink_init),
11854 (gst_basesink_event), (gst_basesink_change_state):
11855 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11856 (gst_basesrc_init), (gst_basesrc_query),
11857 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11858 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11859 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11860 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11861 (gst_basesrc_stop), (gst_basesrc_activate),
11862 (gst_basesrc_change_state):
11863 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11864 (helper_find_suggest), (gst_type_find_helper):
11865 * gst/base/gsttypefindhelper.h:
11866 * gst/elements/Makefile.am:
11867 * gst/elements/gstelements.c:
11868 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11869 (gst_fakesink_get_times), (gst_fakesink_event),
11870 (gst_fakesink_preroll), (gst_fakesink_render):
11871 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11872 (gst_fakesrc_init), (gst_fakesrc_event_handler),
11873 (gst_fakesrc_get_property), (gst_fakesrc_create),
11874 (gst_fakesrc_start), (gst_fakesrc_stop):
11875 * gst/elements/gstfakesrc.h:
11876 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
11877 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11878 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11879 (gst_filesrc_create_read), (gst_filesrc_create),
11880 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
11881 (gst_filesrc_start):
11882 * gst/elements/gsttypefindelement.c:
11883 (gst_type_find_element_have_type), (gst_type_find_element_init),
11884 (start_typefinding), (stop_typefinding), (push_buffer_store),
11885 (gst_type_find_element_handle_event),
11886 (gst_type_find_element_chain),
11887 (gst_type_find_element_checkgetrange),
11888 (gst_type_find_element_getrange), (do_typefind),
11889 (gst_type_find_element_activate),
11890 (gst_type_find_element_change_state):
11891 * gst/elements/gsttypefindelement.h:
11892 * gst/gstpipeline.c: (pipeline_bus_handler):
11893 Added typefind helper.
11894 Small preroll fix in the base sink.
11895 Disable typefind code in basesrc.
11896 Crude port of typefindelement.
11900 2005-04-11 Wim Taymans <wim@fluendo.com>
11902 * check/gst/gstbus.c: (gstbus_suite):
11903 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
11904 * check/gstcheck.h:
11905 Fix up the timeout so that the test does not fail.
11907 2005-04-06 Wim Taymans <wim@fluendo.com>
11910 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11911 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
11912 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
11913 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
11914 (gst_basesrc_check_get_range), (gst_basesrc_loop),
11915 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
11916 (gst_basesrc_stop), (gst_basesrc_activate),
11917 (gst_basesrc_change_state), (basesrc_find_peek),
11918 (basesrc_find_suggest), (gst_basesrc_type_find):
11919 * gst/base/gstbasesrc.h:
11920 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
11921 (gst_filesrc_class_init), (gst_filesrc_init),
11922 (gst_filesrc_finalize), (gst_filesrc_set_location),
11923 (gst_filesrc_set_property), (gst_filesrc_get_property),
11924 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
11925 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
11926 (gst_filesrc_create_read), (gst_filesrc_create),
11927 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
11928 * gst/elements/gstfilesrc.h:
11929 * gst/gstelement.c: (gst_element_get_state_func),
11930 (gst_element_lost_state), (gst_element_pads_activate):
11931 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
11932 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
11933 (gst_pad_pull_range):
11935 More work on the generic source base class, implement seeking,
11937 Make filesrc extend the base source class.
11938 Added gst_pad_set_checkgetrange_function to GstPad.
11940 2005-04-06 Andy Wingo <wingo@pobox.com>
11942 * pkgconfig/gstreamer-base.pc.in:
11943 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
11945 * pkgconfig/Makefile.am:
11946 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
11948 2005-04-04 Wim Taymans <wim@fluendo.com>
11950 * gst/base/Makefile.am:
11952 * gst/base/gstbasesink.c: (gst_basesink_base_init),
11953 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
11954 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
11955 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
11956 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
11957 (gst_basesrc_base_init), (gst_basesrc_class_init),
11958 (gst_basesrc_init), (gst_basesrc_get_formats),
11959 (gst_basesrc_get_query_types), (gst_basesrc_query),
11960 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
11961 (gst_basesrc_set_property), (gst_basesrc_get_property),
11962 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
11963 (gst_basesrc_loop), (gst_basesrc_activate),
11964 (gst_basesrc_change_state):
11965 * gst/base/gstbasesrc.h:
11966 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
11967 (gst_fakesrc_class_init), (gst_fakesrc_init),
11968 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
11969 (gst_fakesrc_get_property), (gst_fakesrc_create):
11970 * gst/elements/gstfakesrc.h:
11971 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
11972 (gst_filesrc_open_file), (gst_filesrc_loop),
11973 (gst_filesrc_activate), (filesrc_find_peek),
11974 (gst_filesrc_type_find):
11975 Made base source class, make fakesrc extend it.
11976 Add comments to basesink class.
11977 Some filesrc cleanup.
11979 2005-03-31 David Schleef <ds@schleef.org>
11981 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
11982 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
11983 expected to link against libgstreamer.
11984 * gst/base/Makefile.am: link against libgstreamer
11985 * gst/elements/Makefile.am: same
11987 2005-03-31 Andy Wingo <wingo@pobox.com>
11989 * tests/instantiate/Makefile.am:
11990 * tests/instantiate/caps.c: Add test to test speed of caps copy
11993 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
11994 GMemChunk to be fair.
11996 * gst/gsttrashstack.h: Remove warning about using the fallback
11997 trash stack implementation, it's still faster than malloc.
11999 2005-03-30 Andy Wingo <wingo@pobox.com>
12001 * tests/complexity.c: Add a copyright.
12003 2005-03-31 Wim Taymans <wim@fluendo.com>
12005 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12006 (gst_base_transform_class_init), (gst_base_transform_init),
12007 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12008 (gst_base_transform_get_property),
12009 (gst_base_transform_sink_activate),
12010 (gst_base_transform_src_activate),
12011 (gst_base_transform_change_state):
12012 * gst/base/gstbasetransform.h:
12013 * gst/elements/gstidentity.c: (gst_identity_class_init),
12014 (gst_identity_event), (gst_identity_check_perfect),
12015 (gst_identity_transform), (gst_identity_start),
12016 (gst_identity_stop):
12017 Added start/stop methods to transform base class so subclasses
12018 don't need to deal with state changes even.
12020 2005-03-31 Wim Taymans <wim@fluendo.com>
12022 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12023 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12025 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12026 (gst_pad_pull_range):
12027 Added rate to the discont event to prepare for variable speed
12028 and reverse playback.
12030 2005-03-29 David Schleef <ds@schleef.org>
12033 * testsuite/trigger/Makefile.am:
12034 * testsuite/trigger/trigger.c: A little example program to show
12035 how trigger-based elements can work.
12037 2005-03-29 Wim Taymans <wim@fluendo.com>
12039 * gst/base/Makefile.am:
12041 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12042 (gst_basesink_base_init), (gst_basesink_class_init),
12043 (gst_basesink_pad_getcaps), (gst_basesink_init),
12044 (gst_basesink_activate), (gst_basesink_change_state):
12045 * gst/base/gstbasesink.h:
12046 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12047 (gst_base_transform_base_init), (gst_base_transform_finalize),
12048 (gst_base_transform_class_init), (gst_base_transform_init),
12049 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12050 (gst_base_transform_event), (gst_base_transform_getrange),
12051 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12052 (gst_base_transform_set_property),
12053 (gst_base_transform_get_property),
12054 (gst_base_transform_sink_activate),
12055 (gst_base_transform_src_activate),
12056 (gst_base_transform_change_state):
12057 * gst/base/gstbasetransform.h:
12058 * gst/elements/gstidentity.c: (gst_identity_finalize),
12059 (gst_identity_class_init), (gst_identity_init),
12060 (gst_identity_event), (gst_identity_check_perfect),
12061 (gst_identity_transform), (gst_identity_set_property),
12062 (gst_identity_get_property), (gst_identity_change_state):
12063 * gst/elements/gstidentity.h:
12064 * gst/gstelement.c: (gst_element_get_state_func),
12065 (gst_element_lost_state), (gst_element_pads_activate):
12066 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12067 (gst_pad_check_pull_range), (gst_pad_pull_range):
12069 Simplify pad activation.
12070 Added function to check if pull_range can be performed.
12071 Error out when pulling inactive or flushing pads.
12072 Removed const from refcounted types as it does not make sense.
12073 Simplify pad templates in basesink
12074 Added base class for simple 1-to-1 transforms.
12075 Make identity subclass the base transform.
12077 2005-03-29 Andy Wingo <wingo@pobox.com>
12079 * docs/libs/gstreamer-libs-overrides.txt:
12080 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12081 really don't understand what's going on, but like whatever. I want
12084 * docs/gst/Makefile.am:
12085 * docs/libs/Makefile.am: Dist the overrides files.
12087 * check/Makefile.am (clean-local): Remove .libs directories.
12089 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12090 elements to EXTRA_DIST, so po/ files are happy.
12092 * po/POTFILES.in: Er, remove it here.
12094 * po/POTFILES: Remove gstspider.c.
12096 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12098 * docs/libs/gstreamer-libs-docs.sgml:
12099 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12102 * tests/complexity.c (main): Set the length of the preroll queue
12103 on the sinks to prevent a lockup.
12105 * libs/gst/dataprotocol/Makefile.am:
12106 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12107 the same as the one in check/gst-libs/gdp.c.
12109 * po/, docs/gst/: Commit automatic changes to docs and po files.
12111 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12112 the versioned libgstbase.
12114 * check/Makefile.am: Depend on an unversioned gst-register, seems
12115 to make autoconf happier.
12117 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12119 2005-03-28 Wim Taymans <wim@fluendo.com>
12122 * docs/design/part-gstelement.txt:
12123 * docs/design/part-negotiation.txt:
12124 * docs/design/part-preroll.txt:
12125 * docs/design/part-scheduling.txt:
12126 * docs/design/part-states.txt:
12128 * gst/base/Makefile.am:
12130 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12131 (gst_basesink_base_init), (gst_basesink_class_init),
12132 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12133 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12134 (gst_basesink_set_pad_functions),
12135 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12136 (gst_basesink_set_property), (gst_basesink_get_property),
12137 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12138 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12139 (gst_basesink_preroll_queue_push),
12140 (gst_basesink_preroll_queue_empty),
12141 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12142 (gst_basesink_event), (gst_basesink_get_times),
12143 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12144 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12145 (gst_basesink_loop), (gst_basesink_activate),
12146 (gst_basesink_change_state):
12147 * gst/base/gstbasesink.h:
12148 * gst/elements/Makefile.am:
12149 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12150 (gst_fakesink_class_init), (gst_fakesink_init),
12151 (gst_fakesink_set_property), (gst_fakesink_get_property),
12152 (gst_fakesink_get_times), (gst_fakesink_event),
12153 (gst_fakesink_preroll), (gst_fakesink_render),
12154 (gst_fakesink_change_state):
12155 * gst/elements/gstfakesink.h:
12156 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12157 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12158 * gst/gstelement.c: (gst_element_add_pad),
12159 (gst_element_get_state_func), (gst_element_abort_state),
12160 (gst_element_commit_state), (gst_element_lost_state),
12161 (gst_element_set_state), (gst_element_pads_activate):
12162 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12163 * gst/gstpipeline.c: (gst_pipeline_send_event),
12164 (gst_pipeline_change_state):
12165 Added state change code.
12166 Added/updated docs.
12167 Added sink base class, make fakesink extend the base class.
12168 Small cleanups in GstPipeline.
12170 2005-03-26 David Schleef <ds@schleef.org>
12172 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12173 is broken and should be implemented in a different library.
12174 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12175 * gst/gst.h: remove gstcpu.h
12176 * gst/gstcpu.c: remove
12177 * gst/gstcpu.h: remove
12178 * gst/Makefile.am.future: Remove this file. It's ancient.
12180 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12182 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12183 (gst_bin_send_event):
12184 Add default event/set_manager handlers. The set_manager handler
12185 takes care that the manager is distributed over kids that were
12186 already in the bin before the manager was set. The event handler
12187 is a utility virtual function that sends the event over all sinks,
12188 so that gst_element_send_event (bin, event); has the expected
12190 * gst/gstpad.c: (gst_pad_event_default):
12191 Re-install default event handling for discontinuities, so that
12192 seeking works without requiring hacks in applications or extra
12194 * gst/gstpipeline.c: (gst_pipeline_class_init),
12195 (gst_pipeline_send_event):
12196 Half hack, half utility: set a pipeline to PAUSED for seek events,
12197 since that is the only way we can guarantee a/v sync. Means that
12198 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12199 and it "just works".
12201 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12203 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12204 Lock/unlock mismatch.
12206 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12208 * docs/faq/gst-uninstalled:
12209 add gst-plugins-base
12210 * docs/gst/Makefile.am:
12211 don't error out until docs are fixed
12212 * docs/gst/gstreamer.types:
12215 2005-03-22 Wim Taymans <wim@fluendo.com>
12217 * check/Makefile.am:
12218 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12219 * gst/gststructure.c: (gst_structure_set_valist),
12220 (gst_structure_copy_conditional):
12221 Activated more tests.
12222 Added message test.
12223 Added G_TYPE_POINTER to GstStructure.
12226 2005-03-22 Wim Taymans <wim@fluendo.com>
12228 * docs/design/part-TODO.txt:
12229 * docs/design/part-events.txt:
12230 * docs/design/part-gstbin.txt:
12231 * docs/design/part-gstbus.txt:
12232 * docs/design/part-gstpipeline.txt:
12233 * docs/design/part-messages.txt:
12235 * gst/gstmessage.c:
12238 2005-03-21 Wim Taymans <wim@fluendo.com>
12240 * gst/gstbus.c: (gst_bus_post):
12241 Fix copy-and-paste error.
12243 2005-03-21 Wim Taymans <wim@fluendo.com>
12245 * check/Makefile.am:
12247 * gst/elements/Makefile.am:
12248 * gst/elements/gstelements.c:
12249 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12250 (gst_fakesink_event), (gst_fakesink_chain):
12251 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12252 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12253 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12254 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12255 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12256 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12257 (gst_fakesrc_loop), (gst_fakesrc_activate),
12258 (gst_fakesrc_change_state):
12259 * gst/elements/gstfakesrc.h:
12260 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12261 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12262 (gst_filesrc_open_file), (gst_filesrc_loop),
12263 (gst_filesrc_activate), (gst_filesrc_change_state),
12264 (filesrc_find_peek), (filesrc_find_suggest),
12265 (gst_filesrc_type_find):
12266 * gst/elements/gstidentity.c: (gst_identity_finalize),
12267 (gst_identity_class_init), (gst_identity_init),
12268 (gst_identity_proxy_getcaps), (identity_queue_push),
12269 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12270 (gst_identity_getrange), (gst_identity_chain),
12271 (gst_identity_sink_loop), (gst_identity_src_loop),
12272 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12273 (gst_identity_set_property), (gst_identity_get_property),
12274 (gst_identity_change_state):
12275 * gst/elements/gstidentity.h:
12276 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12277 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12278 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12279 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12280 (gst_tee_sink_activate):
12281 * gst/elements/gsttee.h:
12282 * gst/gst.c: (gst_register_core_elements), (init_post):
12284 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12285 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12286 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12287 (gst_bin_change_state):
12289 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12290 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12291 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12292 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12293 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12294 (bus_watch_callback), (bus_watch_destroy),
12295 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12296 (poll_timeout), (gst_bus_poll):
12300 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12301 (gst_element_post_message), (gst_element_message_full),
12302 (gst_element_get_state_func), (gst_element_get_state),
12303 (gst_element_abort_state), (gst_element_commit_state),
12304 (gst_element_lost_state), (gst_element_set_state),
12305 (gst_element_pads_activate), (gst_element_change_state),
12306 (gst_element_dispose), (gst_element_set_manager_func),
12307 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
12308 (gst_element_set_manager), (gst_element_get_manager),
12309 (gst_element_set_bus), (gst_element_get_bus),
12310 (gst_element_set_scheduler), (gst_element_get_scheduler):
12311 * gst/gstelement.h:
12312 * gst/gstevent.c: (gst_event_new_segment_seek),
12313 (gst_event_new_flush):
12315 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
12316 (_gst_message_free), (gst_message_get_type), (gst_message_new),
12317 (gst_message_new_eos), (gst_message_new_error),
12318 (gst_message_new_warning), (gst_message_new_tag),
12319 (gst_message_new_state_changed), (gst_message_new_application),
12320 (gst_message_get_structure), (gst_message_parse_tag),
12321 (gst_message_parse_state_changed), (gst_message_parse_error),
12322 (gst_message_parse_warning):
12323 * gst/gstmessage.h:
12324 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
12325 (gst_real_pad_set_property), (gst_pad_set_active),
12326 (gst_pad_is_active), (gst_pad_set_blocked_async),
12327 (gst_pad_set_blocked), (gst_pad_is_blocked),
12328 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
12329 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
12330 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
12331 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
12332 (gst_pad_link_filtered), (gst_pad_relink_filtered),
12333 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
12334 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
12335 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
12336 (gst_pad_set_caps), (gst_pad_configure_sink),
12337 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
12338 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
12339 (gst_real_pad_dispose), (gst_real_pad_finalize),
12340 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
12341 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12342 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
12344 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
12345 (pipeline_bus_handler), (gst_pipeline_change_state),
12346 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
12347 * gst/gstpipeline.h:
12349 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
12350 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
12351 (gst_queue_link_src), (gst_queue_bufferalloc),
12352 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12353 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
12354 (gst_queue_loop), (gst_queue_handle_src_event),
12355 (gst_queue_handle_src_query), (gst_queue_src_activate),
12356 (gst_queue_change_state):
12358 * gst/gstscheduler.c: (gst_scheduler_init),
12359 (gst_scheduler_dispose), (gst_scheduler_create_task),
12360 (gst_scheduler_factory_create):
12361 * gst/gstscheduler.h:
12362 * gst/gststructure.c: (gst_structure_get_type),
12363 (gst_structure_copy_conditional):
12364 * gst/gststructure.h:
12365 * gst/gsttaginterface.h:
12366 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
12367 (gst_task_init), (gst_task_dispose), (gst_task_create),
12368 (gst_task_get_state), (gst_task_start), (gst_task_stop),
12374 * gst/schedulers/Makefile.am:
12375 * gst/schedulers/cothreads_compat.h:
12376 * gst/schedulers/entryscheduler.c:
12377 * gst/schedulers/faircothreads.c:
12378 * gst/schedulers/faircothreads.h:
12379 * gst/schedulers/fairscheduler.c:
12380 * gst/schedulers/gstbasicscheduler.c:
12381 * gst/schedulers/gstoptimalscheduler.c:
12382 * gst/schedulers/gthread-cothreads.h:
12383 * gst/schedulers/threadscheduler.c:
12384 (gst_thread_scheduler_task_get_type),
12385 (gst_thread_scheduler_task_class_init),
12386 (gst_thread_scheduler_task_init),
12387 (gst_thread_scheduler_task_start),
12388 (gst_thread_scheduler_task_stop),
12389 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
12390 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
12391 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
12392 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
12394 * libs/gst/Makefile.am:
12395 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
12396 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
12397 (gst_file_pad_parent_set):
12398 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12399 (gst_dp_event_from_packet):
12400 * tests/complexity.c: (main):
12401 * tests/mass_elements.c: (main):
12402 * testsuite/states/locked.c: (message_received), (main):
12403 * testsuite/states/parent.c: (main):
12404 * tools/gst-inspect.c: (print_element_flag_info),
12405 (print_implementation_info), (print_pad_info):
12406 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
12408 * tools/gst-md5sum.c: (event_loop), (main):
12409 * tools/gst-typefind.c: (main):
12410 * tools/gst-xmlinspect.c: (print_element_info):
12412 Added GstBus for mainloop integration.
12413 Added GstMessage for sending notifications on the bus.
12414 Added GstTask as an abstraction for pipeline entry points.
12416 Removed Schedulers.
12417 Simplified GstQueue for multithreaded core.
12418 Made _link threadsafe, removed old capsnego.
12419 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
12420 Added pad blocking functions.
12421 Reworked scheduling functions in GstPad to prepare for
12422 scheduling updates soon.
12423 Moved events out of data stream.
12424 Simplified GstEvent types.
12425 Added return values to push/pull.
12426 Removed clocking from GstElement.
12427 Added prototypes for state change function for next merge.
12428 Removed iterate from bins and state change management.
12429 Fixed some elements, disabled others for now.
12430 Fixed -inspect and -launch.
12431 Added check for GstBus.
12433 2005-03-10 Wim Taymans <wim@fluendo.com>
12435 * docs/design/part-MT-refcounting.txt:
12436 * docs/design/part-clocks.txt:
12437 * docs/design/part-gstelement.txt:
12438 * docs/design/part-gstobject.txt:
12439 * docs/design/part-standards.txt:
12440 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12441 (gst_bin_remove_func), (gst_bin_remove):
12445 * testsuite/clock/clock1.c: (main):
12446 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
12448 * testsuite/dlopen/loadgst.c: (do_test):
12449 * testsuite/refcounting/bin.c: (add_remove_test1),
12450 (add_remove_test2), (main):
12451 * testsuite/refcounting/element.c: (main):
12452 * testsuite/refcounting/element_pad.c: (main):
12453 * testsuite/refcounting/pad.c: (main):
12454 * tools/gst-launch.c: (sigint_handler_sighandler):
12455 * tools/gst-typefind.c: (main):
12457 Added doc about clock.
12458 removed gst_bin_iterate_recurse_up(), marked methods
12460 Fix more testsuites.
12462 2005-03-09 Wim Taymans <wim@fluendo.com>
12464 * gst/gstpad.c: (gst_pad_get_direction),
12465 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
12466 (gst_pad_collect_valist):
12467 * testsuite/bins/interface.c: (main):
12468 * testsuite/caps/audioscale.c: (test_caps):
12469 * testsuite/caps/caps.c: (test1), (test2), (test3):
12470 * testsuite/caps/deserialize.c: (main):
12471 * testsuite/caps/enumcaps.c: (main):
12472 * testsuite/caps/filtercaps.c: (main):
12473 * testsuite/caps/intersect2.c: (main):
12474 * testsuite/caps/random.c: (main):
12475 * testsuite/caps/renegotiate.c: (my_fixate), (main):
12476 * testsuite/caps/sets.c: (check_caps):
12477 * testsuite/caps/simplify.c: (check_caps), (main):
12478 * testsuite/caps/subtract.c: (check_caps):
12479 Fix _pad_get_direction wrt ghostpads.
12480 Fix caps testsuite.
12482 2005-03-09 Wim Taymans <wim@fluendo.com>
12484 * check/Makefile.am:
12485 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
12486 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
12487 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
12488 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
12489 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
12490 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
12491 (gst_bin_remove), (gst_bin_iterate_recurse_up),
12492 (bin_element_is_sink), (gst_bin_iterate_sinks),
12493 (gst_bin_iterate_all_by_interface):
12495 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
12496 (gst_element_change_state), (gst_element_dispose),
12497 (gst_element_finalize), (gst_element_set_loop_function):
12498 * gst/gstelement.h:
12499 * gst/gstiterator.c: (find_custom_fold_func):
12500 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12501 (gst_pad_collectv), (gst_pad_collect_valist),
12502 (gst_pad_template_new):
12503 * gst/gstpipeline.c: (gst_pipeline_class_init),
12504 (gst_pipeline_dispose), (gst_pipeline_set_property),
12505 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
12506 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
12507 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
12509 * gst/schedulers/entryscheduler.c:
12510 * gst/schedulers/gstbasicscheduler.c:
12511 (gst_basic_scheduler_cothreaded_chain),
12512 (gst_basic_scheduler_chain_add_element):
12513 * testsuite/bins/interface.c: (main):
12515 Added GstSystemClock test.
12516 Implemented clock distribution code in GstBin.
12517 Implemented iterate sinks method for future use.
12518 Rearranged gstelement.h
12519 Fix GstIterator comparison bug.
12520 Moved some code to GstPipeline, mostly clocking related.
12522 2005-03-09 Wim Taymans <wim@fluendo.com>
12525 * gst/gst_private.h:
12526 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12527 (gst_bin_remove_func), (gst_bin_remove),
12528 (gst_bin_get_by_name_recurse_up):
12529 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
12530 (gst_clock_id_compare_func), (gst_clock_id_wait),
12531 (gst_clock_id_wait_async), (gst_clock_init),
12532 (gst_clock_adjust_unlocked), (gst_clock_get_time):
12533 * gst/gstelement.h:
12534 * gst/gstinfo.c: (_gst_debug_init):
12536 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
12537 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
12539 Bump version number, we're now 0.9.0
12540 Add future debugging category.
12541 Fix NULL _unref() in _get_by_name_recurse_up
12542 Rearrange gstpad.h.
12545 2005-03-08 Wim Taymans <wim@fluendo.com>
12547 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
12548 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
12549 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
12550 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
12551 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
12552 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
12553 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
12554 * gst/elements/gstidentity.c: (gst_identity_class_init):
12555 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
12556 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
12557 * gst/elements/gstshaper.c: (gst_shaper_class_init):
12558 * gst/elements/gststatistics.c: (gst_statistics_class_init):
12559 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
12561 * gst/gstelement.c: (gst_element_class_init),
12562 (gst_element_base_class_init), (gst_element_init),
12563 (gst_element_get_random_pad), (gst_element_wait_state_change),
12564 (gst_element_change_state), (gst_element_dispose),
12565 (gst_element_finalize), (gst_element_set_loop_function):
12566 * gst/gstelement.h:
12567 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
12568 * gst/gstthread.c: (gst_thread_class_init),
12569 (gst_thread_release_children_locks), (gst_thread_change_state):
12570 * gst/schedulers/gstbasicscheduler.c:
12571 (gst_basic_scheduler_loopfunc_wrapper),
12572 (gst_basic_scheduler_chain_wrapper),
12573 (gst_basic_scheduler_src_wrapper),
12574 (gst_basic_scheduler_remove_element):
12575 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
12576 Remove threadsafe properties. Fix elements because GObject
12577 complains when installing a property before declaring a
12578 set/get_property handler.
12579 Rearrange gstelement.h file, use STATE macros for state locks.
12580 Free mutexes in the finalize method instead of dispose.
12582 2005-03-08 Wim Taymans <wim@fluendo.com>
12584 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12585 * gst/gstthread.c: (gst_thread_release_children_locks):
12586 Added parentage check.
12587 Fix build og GstThread again.
12589 2005-03-08 Wim Taymans <wim@fluendo.com>
12591 * docs/design/part-MT-refcounting.txt:
12592 * docs/design/part-conventions.txt:
12593 * docs/design/part-gstobject.txt:
12594 * docs/design/part-relations.txt:
12595 * docs/design/part-standards.txt:
12596 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
12597 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
12598 (gst_bin_get_by_name), (gst_bin_get_by_interface),
12599 (gst_bin_iterate_all_by_interface):
12602 * gst/gstelement.c: (gst_element_class_init),
12603 (gst_element_change_state), (gst_element_set_loop_function):
12604 * gst/gstelement.h:
12605 * gst/gstiterator.c:
12606 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
12607 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
12608 (gst_object_dispatch_properties_changed), (gst_object_set_name),
12609 (gst_object_set_parent), (gst_object_unparent),
12610 (gst_object_check_uniqueness):
12612 Docs updates, clean up some headers.
12614 2005-03-07 Wim Taymans <wim@fluendo.com>
12616 * check/.cvsignore:
12617 * check/Makefile.am:
12618 * check/gst-libs/.cvsignore:
12619 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
12620 * check/gst/.cvsignore:
12621 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
12622 (START_TEST), (gstbus_suite), (main):
12623 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
12624 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
12625 (gst_data_suite), (main):
12626 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
12627 (add_fold_func), (gstiterator_suite), (main):
12628 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
12629 (thread_name_object), (thread_name_object_default),
12630 (gst_object_name_compare), (gst_object_suite), (main):
12631 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
12632 (gst_pad_suite), (main):
12633 * check/gstcheck.c: (gst_check_log_message_func),
12634 (gst_check_log_critical_func), (gst_check_init):
12635 * check/gstcheck.h:
12636 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
12637 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
12640 2005-03-07 Wim Taymans <wim@fluendo.com>
12642 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12643 (gst_list_iterator_next), (gst_list_iterator_resync),
12644 (gst_list_iterator_free), (gst_iterator_new_list),
12645 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
12646 (gst_iterator_free), (gst_iterator_push), (filter_next),
12647 (filter_resync), (filter_uninit), (filter_free),
12648 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
12649 (gst_iterator_foreach), (find_custom_fold_func),
12650 (gst_iterator_find_custom):
12651 * gst/gstiterator.h:
12652 Added missing files.
12654 2005-03-07 Wim Taymans <wim@fluendo.com>
12658 * docs/design/part-MT-refcounting.txt:
12659 * docs/design/part-conventions.txt:
12660 * docs/design/part-gstobject.txt:
12661 * docs/design/part-relations.txt:
12662 * examples/mixer/mixer.c: (main):
12663 * examples/thread/thread.c: (eos), (main):
12665 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
12666 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
12667 (gst_spider_plug_from_srcpad):
12668 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
12669 (gst_spider_identity_change_state),
12670 (gst_spider_identity_sink_loop_type_finding):
12671 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
12672 * gst/elements/gstidentity.c: (gst_identity_init):
12673 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
12674 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
12675 * gst/elements/gsttypefindelement.c: (free_entry):
12678 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
12679 (gst_bin_set_clock_func), (gst_bin_auto_clock),
12680 (gst_bin_set_index), (gst_bin_set_element_sched),
12681 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
12682 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
12683 (gst_bin_iterate_elements), (iterate_child_recurse),
12684 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
12685 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
12686 (compare_interface), (gst_bin_get_by_interface),
12687 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
12689 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
12690 (gst_buffer_default_free), (gst_buffer_default_copy),
12691 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
12692 (gst_buffer_create_sub):
12694 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
12695 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
12696 (gst_caps_unref), (gst_static_caps_get),
12697 (gst_caps_remove_and_get_structure), (gst_caps_append),
12698 (gst_caps_append_structure), (gst_caps_remove_structure),
12699 (gst_caps_copy_nth), (gst_caps_set_simple),
12700 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
12701 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
12702 (gst_caps_structure_intersect_field), (gst_caps_intersect),
12703 (gst_caps_structure_subtract_field), (gst_caps_subtract),
12704 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
12705 (gst_caps_structure_figure_out_union),
12706 (gst_caps_switch_structures), (gst_caps_do_simplify),
12707 (gst_caps_replace), (gst_caps_from_string),
12708 (gst_caps_copy_conditional):
12710 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
12711 (_gst_clock_id_free), (gst_clock_id_unref),
12712 (gst_clock_id_compare_func), (gst_clock_id_wait),
12713 (gst_clock_id_wait_async), (gst_clock_class_init),
12714 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
12715 (gst_clock_get_time), (gst_clock_set_time_adjust),
12716 (gst_clock_set_property), (gst_clock_get_property):
12719 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
12720 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
12722 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
12723 (gst_element_requires_clock), (gst_element_provides_clock),
12724 (gst_element_set_clock), (gst_element_clock_wait),
12725 (gst_element_wait), (gst_element_set_time_delay),
12726 (gst_element_is_indexable), (gst_element_add_pad),
12727 (gst_element_add_ghost_pad), (gst_element_remove_pad),
12728 (pad_compare_name), (gst_element_get_static_pad),
12729 (gst_element_request_pad), (gst_element_get_request_pad),
12730 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
12731 (gst_element_class_get_pad_template_list),
12732 (gst_element_class_get_pad_template), (gst_element_error_func),
12733 (gst_element_get_random_pad), (gst_element_get_event_masks),
12734 (gst_element_send_event), (gst_element_seek),
12735 (gst_element_get_query_types), (gst_element_query),
12736 (gst_element_get_formats), (gst_element_convert),
12737 (gst_element_is_locked_state), (gst_element_set_locked_state),
12738 (gst_element_sync_state_with_parent), (gst_element_change_state),
12739 (gst_element_finalize), (gst_element_yield),
12740 (gst_element_interrupt), (gst_element_set_scheduler),
12741 (gst_element_get_scheduler), (gst_element_set_loop_function):
12742 * gst/gstelement.h:
12744 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
12745 (gst_format_get_by_nick), (gst_format_get_details),
12746 (gst_format_iterate_definitions):
12748 * gst/gstindex.c: (gst_index_gtype_resolver):
12751 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
12752 (gst_mem_chunk_free):
12753 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
12754 (gst_object_ref), (gst_object_unref), (gst_object_sink),
12755 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
12756 (gst_object_dispatch_properties_changed),
12757 (gst_object_set_name_default), (gst_object_set_name),
12758 (gst_object_get_name), (gst_object_set_name_prefix),
12759 (gst_object_get_name_prefix), (gst_object_set_parent),
12760 (gst_object_get_parent), (gst_object_unparent),
12761 (gst_object_check_uniqueness), (gst_object_save_thyself),
12762 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
12763 (gst_object_set_property), (gst_object_get_property),
12764 (gst_object_get_path_string):
12766 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
12767 (gst_real_pad_init), (gst_real_pad_get_property),
12768 (gst_pad_custom_new), (gst_pad_get_direction),
12769 (gst_pad_set_active), (gst_pad_is_active),
12770 (gst_pad_set_event_function), (gst_pad_is_linked),
12771 (gst_pad_link_free), (gst_pad_link_intersect),
12772 (gst_pad_link_fixate), (gst_pad_set_caps),
12773 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
12774 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
12775 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
12776 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
12777 (gst_pad_get_caps), (gst_pad_peer_get_caps),
12778 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
12779 (gst_pad_realize), (gst_pad_get_allowed_caps),
12780 (gst_real_pad_dispose), (gst_real_pad_finalize),
12781 (gst_pad_collectv), (gst_pad_collect_valist),
12782 (gst_pad_template_dispose), (gst_pad_template_new),
12783 (gst_pad_get_internal_links):
12785 * gst/gstpipeline.c: (gst_pipeline_dispose),
12786 (gst_pipeline_change_state):
12787 * gst/gstpipeline.h:
12789 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
12790 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
12791 * gst/gstpluginfeature.h:
12792 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
12793 * gst/gstquery.c: (_gst_query_type_initialize),
12794 (gst_query_type_register), (gst_query_type_get_by_nick),
12795 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
12797 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
12798 * gst/gstscheduler.c: (gst_scheduler_add_element),
12799 (gst_scheduler_factory_create):
12800 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12801 (gst_structure_free), (gst_structure_set_name),
12802 (gst_structure_id_set_value), (gst_structure_set_value),
12803 (gst_structure_set_valist), (gst_structure_remove_field),
12804 (gst_structure_remove_fields),
12805 (gst_structure_remove_fields_valist),
12806 (gst_structure_remove_all_fields), (gst_structure_foreach),
12807 (gst_structure_map_in_place),
12808 (gst_caps_structure_fixate_field_nearest_int),
12809 (gst_caps_structure_fixate_field_nearest_double):
12810 * gst/gststructure.h:
12811 * gst/gstsystemclock.c: (gst_system_clock_class_init),
12812 (gst_system_clock_init), (gst_system_clock_dispose),
12813 (gst_system_clock_async_thread),
12814 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
12815 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
12816 * gst/gstsystemclock.h:
12817 * gst/gsttag.c: (gst_tag_list_add_value_internal),
12818 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
12819 * gst/gsttaginterface.c:
12820 * gst/gstthread.c: (gst_thread_dispose),
12821 (gst_thread_release_children_locks), (gst_thread_change_state),
12822 (gst_thread_main_loop):
12823 * gst/gsttrashstack.h:
12824 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
12826 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12827 (gst_element_request_pad), (gst_element_get_pad_from_template),
12828 (gst_element_request_compatible_pad),
12829 (gst_element_get_compatible_pad_filtered),
12830 (gst_element_get_compatible_pad), (gst_element_state_get_name),
12831 (gst_element_link_pads_filtered), (gst_element_link_filtered),
12832 (gst_element_link_many), (gst_element_link),
12833 (gst_element_link_pads), (gst_element_unlink_pads),
12834 (gst_element_unlink_many), (gst_element_unlink),
12835 (gst_pad_can_link_filtered), (gst_pad_can_link),
12836 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
12837 (gst_object_default_error), (gst_bin_add_many),
12838 (gst_bin_remove_many), (gst_element_populate_std_props),
12839 (gst_element_class_install_std_props), (gst_buffer_merge),
12840 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
12841 (link_fold_func), (gst_pad_proxy_setcaps):
12843 * gst/gstvalue.c: (gst_value_deserialize_string):
12844 * gst/parse/grammar.y:
12845 * gst/schedulers/gstbasicscheduler.c:
12846 (gst_basic_scheduler_cothreaded_chain),
12847 (gst_basic_scheduler_chain_recursive_add),
12848 (gst_basic_scheduler_pad_link):
12849 * gst/schedulers/gstoptimalscheduler.c:
12850 (get_group_schedule_function),
12851 (gst_opt_scheduler_state_transition),
12852 (gst_opt_scheduler_add_element), (element_get_reachables_func):
12853 * libs/gst/bytestream/bytestream.c:
12854 * libs/gst/dataprotocol/dataprotocol.c:
12855 (gst_dp_header_from_buffer):
12858 * tests/threadstate/threadstate2.c: (eos):
12859 * tools/gst-compprep.c: (main):
12860 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
12861 (print_pad_info), (print_children_info):
12862 * tools/gst-launch.c: (idle_func), (main):
12863 * tools/gst-md5sum.c: (idle_func), (main):
12864 * tools/gst-xmlinspect.c: (print_element_info):
12865 First THREADED backport attempt, focusing on adding locks and
12866 making sure the API is threadsafe. Needs more work. More docs
12869 2005-02-24 Andy Wingo <wingo@pobox.com>
12871 * tests/bench-complexity.scm:
12872 * tests/complexity.gnuplot: New files, good for running complexity
12875 * tests/Makefile.am:
12876 * tests/complexity.c: New test, sets up N elements, at each level
12877 teeing into M streams per element. Eeeenteresting.
12879 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
12880 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
12881 running bench-mass_elements.scm.
12883 * tests/bench-mass_elements.scm: New script, runs mass_elements
12884 for various numbers of identities, outputting the results to a
12885 file. Requires guile 1.6. Just for testing.
12887 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
12889 * gst/schedulers/fairscheduler.c:
12890 compile with debug disabled
12892 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
12895 hunting season on 0.9 is now OPEN