1 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
3 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4 Catch the special case where we are operating chain-based,
5 but the downstream peer pad has no chain function. Emit a
6 custom error message in this case instead of letting the
7 core generate one implying that this is some sort of core
8 bug. It's not, it just means that whatever got plugged
9 into the pipeline downstream when we announced the type
10 can only operate pull-based, while our source can only
11 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12 Error string has not been marked for translation yet, as
13 it probably needs some more work first.
15 (gst_type_find_element_get_best_possibility):
16 Add helper function to find the best of all available
17 found possibilities that qualify given the min. threshold.
19 (gst_type_find_element_handle_event):
20 Fix the case where we get an EOS while still in TYPEFIND
21 mode (we want to chose the best of all possible types,
22 not just the first type that happens to be in our unsorted
23 list of possible types).
25 (gst_type_find_element_chain):
26 Make sure we return GST_FLOW_ERROR when we errored out
27 in stop_typefinding(); also, don't just find the best of
28 all found type entries and then use the last examined
29 type entry, but actually use the best entry.
31 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
33 * tests/examples/typefind/typefind.c: (type_found):
34 * tests/examples/xml/runxml.c: (xml_loaded):
35 More gcc4 fixes and a mem leak fix.
37 2005-12-12 Stefan Kost <ensonic@users.sf.net>
39 * tests/examples/xml/createxml.c: (object_saved):
42 2005-12-12 Stefan Kost <ensonic@users.sf.net>
45 enable the examples even more
47 2005-12-12 Andy Wingo <wingo@pobox.com>
49 * libs/gst/net/gstnettimeprovider.c
50 (gst_net_time_provider_class_init, gst_net_time_provider_init)
51 (gst_net_time_provider_set_property)
52 (gst_net_time_provider_get_property): Export "active" as a GObject
54 (gst_net_time_provider_thread): Only respond to time queries if
55 the time provider is active.
57 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
58 NetTimeProvider, preserving binary compat.
60 2005-12-12 Stefan Kost <ensonic@users.sf.net>
62 * tests/examples/controller/audio-example.c: (main):
63 * tests/examples/launch/Makefile.am:
64 convert comments again
66 2005-12-12 Wim Taymans <wim@fluendo.com>
68 * libs/gst/base/gstpushsrc.c:
71 2005-12-12 Wim Taymans <wim@fluendo.com>
73 * docs/libs/gstreamer-libs-sections.txt:
74 Added new symbol to docs.
76 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
77 (gst_base_src_init), (gst_base_src_set_format),
78 (gst_base_src_default_query), (gst_base_src_query),
79 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
80 (gst_base_src_perform_seek), (gst_base_src_send_event),
81 (gst_base_src_default_event), (gst_base_src_event_handler),
82 (gst_base_src_set_property), (gst_base_src_get_property),
83 (gst_base_src_wait), (gst_base_src_do_sync),
84 (gst_base_src_update_length), (gst_base_src_get_range),
85 (gst_base_src_check_get_range), (gst_base_src_loop),
86 (gst_base_src_default_negotiate), (gst_base_src_start),
87 (gst_base_src_activate_push), (gst_base_src_activate_pull),
88 (gst_base_src_change_state):
89 * libs/gst/base/gstbasesrc.h:
90 Implement seeking to other formats than _BYTES.
91 Implement more seeking methods correctly.
94 Added do_seek vmethod to make life easier for subclasses
96 API addition: gst_base_src_set_format()
98 2005-12-12 Stefan Kost <ensonic@users.sf.net>
100 * tests/examples/Makefile.am:
103 2005-12-12 Stefan Kost <ensonic@users.sf.net>
106 * docs/random/ensonic/media-device-daemon.txt:
107 * tests/examples/controller/.cvsignore:
108 * tests/examples/controller/Makefile.am:
109 * tests/examples/controller/audio-example.c: (main):
110 * tests/examples/helloworld/.cvsignore:
111 * tests/examples/helloworld/Makefile.am:
112 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
113 * tests/examples/launch/.cvsignore:
114 * tests/examples/launch/Makefile.am:
115 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
116 * tests/examples/metadata/.cvsignore:
117 * tests/examples/metadata/Makefile.am:
118 * tests/examples/metadata/read-metadata.c: (message_loop),
119 (make_pipeline), (print_tag), (main):
120 * tests/examples/queue/.cvsignore:
121 * tests/examples/queue/Makefile.am:
122 * tests/examples/queue/queue.c: (event_loop), (main):
123 * tests/examples/typefind/.cvsignore:
124 * tests/examples/typefind/Makefile.am:
125 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
127 * tests/examples/xml/.cvsignore:
128 * tests/examples/xml/Makefile.am:
129 * tests/examples/xml/createxml.c: (object_saved), (main):
130 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
131 * tests/old/examples/Makefile.am:
132 * tests/old/examples/TODO:
133 * tests/old/examples/controller/.cvsignore:
134 * tests/old/examples/controller/Makefile.am:
135 * tests/old/examples/controller/audio-example.c:
136 * tests/old/examples/helloworld/.cvsignore:
137 * tests/old/examples/helloworld/Makefile.am:
138 * tests/old/examples/helloworld/helloworld.c:
139 * tests/old/examples/launch/.cvsignore:
140 * tests/old/examples/launch/Makefile.am:
141 * tests/old/examples/launch/mp3parselaunch.c:
142 * tests/old/examples/launch/mp3play:
143 * tests/old/examples/manual/Makefile.am:
144 * tests/old/examples/metadata/Makefile.am:
145 * tests/old/examples/metadata/read-metadata.c:
146 * tests/old/examples/queue/.cvsignore:
147 * tests/old/examples/queue/Makefile.am:
148 * tests/old/examples/queue/queue.c:
149 * tests/old/examples/typefind/.cvsignore:
150 * tests/old/examples/typefind/Makefile.am:
151 * tests/old/examples/typefind/typefind.c:
152 * tests/old/examples/xml/.cvsignore:
153 * tests/old/examples/xml/Makefile.am:
154 * tests/old/examples/xml/createxml.c:
155 * tests/old/examples/xml/runxml.c:
156 applied some simple fixing to some examples
157 re-enabled the working examples
159 2005-12-12 Wim Taymans <wim@fluendo.com>
161 * gst/gstsegment.c: (gst_segment_init),
162 (gst_segment_set_last_stop), (gst_segment_set_seek),
163 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
164 (gst_segment_to_running_time):
165 Added more documentation.
166 Make sure the last_pos value is updated properly.
167 Make sure to_stream_time and to_running_time don't
168 operate on wrong values.
170 * tests/check/gst/gstsegment.c: (GST_START_TEST):
173 2005-12-12 Michael Smith <msmith@fluendo.com>
175 * plugins/elements/gsttypefindelement.c: (free_entry),
176 (gst_type_find_element_chain):
177 Now that we're not leaking factories, make sure we keep references
178 to them while we need them.
180 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
182 * tests/check/gst/struct_i386.h:
183 ifdef out the XML structs
185 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
187 * gst/gstvalue.c: (gst_value_transform_double_fraction):
188 floor is not needed, F is always positive; this obviates the
189 need for adding -lm when building without libxml
191 2005-12-12 Wim Taymans <wim@fluendo.com>
193 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
194 Take current playback rate into account when reporting
197 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
199 * docs/manual/mime-world.fig:
200 Let's try this again, this time with a file that is
201 actually in XFig format.
203 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
205 * docs/manual/mime-world.fig:
206 Add audioconvert element to diagram so that it
207 matches the text and the code (fixes #319526).
209 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
211 * docs/pwg/building-chainfn.xml:
212 * docs/pwg/building-pads.xml:
213 * docs/pwg/building-state.xml:
214 * docs/pwg/other-source.xml:
215 Update state change stuff for 0.10 (fixes #322969).
217 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
219 * docs/manual/advanced-dataaccess.xml:
220 * docs/manual/appendix-checklist.xml:
221 * docs/manual/appendix-programs.xml:
222 * docs/manual/basics-pads.xml:
223 * docs/manual/highlevel-components.xml:
224 * docs/manual/manual.xml:
225 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
226 add converters in front of pipelines; remove curly
227 brackets for threads stuff, they no longer exist; use
228 GST_TYPE_FRACTION for framerates; update some pieces of
229 code to 0.10, but there's plenty more to do.
231 * docs/manual/appendix-porting.xml:
232 Expand on asynchroneous state changes; s/0.9/0.10/;
233 mention disappearance of gst_init_get_popt_table()
236 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
238 * docs/faq/using.xml:
239 Spider no longer exists, and neither does gst-launch-ext.
240 Update examples to use decodebin and playbin and put
241 converters in front of sinks (fixes #323726).
243 2005-12-09 Michael Smith <msmith@fluendo.com>
245 * plugins/elements/gsttypefindelement.c: (find_peek),
246 (gst_type_find_element_chain):
247 Fix leaking element factories in typefinding.
248 Fix problem where we forgot about a probable type on non-seekable
249 files, and thus later mis-typefound it.
251 2005-12-09 Michael Smith <msmith@fluendo.com>
253 * common/m4/gst-makecontext.m4:
254 * common/m4/gst-mcsc.m4:
256 * win32/common/config.h:
257 * win32/common/config.h.in:
258 Remove makecontext stuff; not used in 0.10 and causes problems on
259 HPUX according to bug #322441
261 2005-12-07 Wim Taymans <wim@fluendo.com>
263 * tests/check/Makefile.am:
264 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
266 * tests/check/libs/struct_i386.h:
267 Added ABI check for libs
269 2005-12-07 Wim Taymans <wim@fluendo.com>
271 * tests/check/Makefile.am:
272 And add the struct_i386.h to dist.
274 2005-12-07 Wim Taymans <wim@fluendo.com>
276 * tests/check/Makefile.am:
277 * tests/check/gst/.cvsignore:
278 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
280 * tests/check/gst/struct_i386.h:
281 Added check for ABI compatibility.
283 2005-12-07 Wim Taymans <wim@fluendo.com>
285 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
286 (gst_fake_src_get_times), (gst_fake_src_create):
287 Fix broken sync option, fixes #323259
289 2005-12-07 Wim Taymans <wim@fluendo.com>
294 * gst/gstcaps.c: (gst_caps_is_equal):
295 Don't assert on NULL <--> X. Fixes #323260
297 * gst/gstminiobject.c: (gst_mini_object_replace):
298 If we're doing atomic operations, we might just as well use
299 the proper way to get an atomic pointer.
301 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
304 2005-12-07 Michael Smith <msmith@fluendo.com>
306 * gst/parse/grammar.y:
307 Remove handling of { } for threads.
309 2005-12-06 David Schleef <ds@schleef.org>
311 * libs/gst/base/gstbasetransform.c: speling fix.
313 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
315 * docs/libs/tmpl/gstdataprotocol.sgml:
316 * docs/random/omega/testing/gstobject.c:
320 * gst/gstelementfactory.c:
325 * gst/gstpadtemplate.c:
326 * gst/gstregistryxml.c:
328 * gst/gsttagsetter.c:
331 * libs/gst/base/gstbasesrc.c:
332 * libs/gst/net/gstnetclientclock.c:
333 * libs/gst/net/gstnettimeprovider.c:
334 * plugins/elements/gstfakesrc.c:
335 * plugins/elements/gstfdsrc.c:
336 * plugins/elements/gstfilesrc.c:
337 * plugins/elements/gstidentity.c:
338 * plugins/elements/gstqueue.c:
339 * plugins/elements/gsttypefindelement.c:
340 * plugins/indexers/gstfileindex.c:
341 * plugins/indexers/gstmemindex.c:
342 * tests/check/gst/gsttag.c:
343 * tests/old/examples/cutter/cutter.c:
344 * tests/old/examples/mixer/mixer.c:
345 * tests/old/examples/xml/runxml.c: (main):
346 * tests/old/testsuite/caps/normalisation.c:
347 * tests/old/testsuite/debug/global.c:
348 * tests/old/testsuite/parse/parse1.c:
349 * tools/gst-xmlinspect.c:
350 * win32/common/dirent.c:
353 === release 0.10.0 ===
355 2005-12-05 <thomas (at) apestaart (dot) org>
358 releasing 0.10.0, "Maroilles"
360 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
362 submitted by: Funda Wang <fundawang@linux.net.cn>
366 added Chinese (Traditional) translation
368 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
370 * docs/gst/gstreamer-sections.txt:
371 * docs/libs/tmpl/gstdataprotocol.sgml:
372 * docs/random/thomasvs/TODO:
377 2005-12-05 Andy Wingo <wingo@pobox.com>
379 patch by: Wim Taymans <wim@fluendo.com>
381 * libs/gst/base/gstbasetransform.c
382 (gst_base_transform_prepare_output_buf)
383 (gst_base_transform_buffer_alloc):
384 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
385 alloc_buffer_and_set_caps.
387 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
388 set_caps on the source pad.
389 (gst_pad_alloc_buffer_and_set_caps): New function, does what
390 alloc_buffer used to do. Fixes #322874.
392 * docs/gst/gstreamer-sections.txt:
393 * docs/design/part-negotiation.txt:
394 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
397 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
399 patch by: Sebastien Moutte
402 * win32/common/config.h.in:
403 * win32/vs6/libgstcontroller.dsp:
406 2005-12-05 Wim Taymans <wim@fluendo.com>
408 * gst/gstcaps.c: (gst_caps_is_equal):
409 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
410 (gst_fake_src_create):
411 Back out previous code changes, leave doc updates, file bugs
414 2005-12-05 Wim Taymans <wim@fluendo.com>
416 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
417 (gst_fake_src_get_times), (gst_fake_src_create):
418 * plugins/elements/gstfakesrc.h:
419 Fix broken sync code.
421 2005-12-05 Wim Taymans <wim@fluendo.com>
423 * gst/gstcaps.c: (gst_caps_is_equal):
424 Comparing NULL against !NULL yields different caps, not a
427 2005-12-05 Wim Taymans <wim@fluendo.com>
430 Fix small typo in docs.
432 2005-12-05 Andy Wingo <wingo@pobox.com>
434 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
436 * gst/gst.c (init_post): remove hard-coded 0.9 location for
437 registries/plugins with a MAJORMINOR one.
438 (plugin_desc): Rename library from gstcoreleements to
439 staticelements. Fixes #323222.
441 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
443 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
444 Change debug category to 'collectpads' from 'collect_pads'
447 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
449 patch by: Sebastien Moutte
451 * libs/gst/controller/gstinterpolation.c:
452 use convert function for uint64/double
453 * win32/vs6/libgstcontroller.dsp:
456 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
458 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
459 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
461 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
462 add tests that seem to show that the guint64/gdouble conversions
465 2005-12-02 Wim Taymans <wim@fluendo.com>
467 * gst/gstregistry.c: (gst_registry_add_path):
469 * gst/gstregistryxml.c:
472 2005-12-02 Wim Taymans <wim@fluendo.com>
474 * gst/gstutils.c: (gst_util_uint64_scale_int64),
475 (gst_util_uint64_scale_int):
478 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
481 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
484 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
487 * win32/common/config.h:
488 * win32/vs6/gstreamer.dsw:
489 * win32/vs6/libgstcoreelements.dsp:
490 * win32/vs6/libgstelements.dsp:
491 renamed core elements plugin
493 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
495 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
497 do piece-wise major/minor comparison so 0.9 < 0.10
498 also allow .exe extensions for tools
500 2005-12-02 Michael Smith <msmith@fluendo.com>
503 Escape a % to make gtkdoc happier; bug 322958.
505 === release 0.9.7 ===
507 2005-12-01 <thomas (at) apestaart (dot) org>
510 releasing 0.9.7, "My Dog Has No Nose"
512 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
514 * common/gst-xmlinspect.py:
516 * docs/libs/tmpl/gstdataprotocol.sgml:
517 * docs/random/release:
536 * win32/common/config.h:
537 * win32/common/config.h.in:
538 * win32/vs6/gst_inspect.dsp:
539 * win32/vs6/gst_launch.dsp:
540 * win32/vs6/libgstbase.dsp:
541 * win32/vs6/libgstelements.dsp:
542 * win32/vs6/libgstreamer.dsp:
543 * win32/vs7/GStreamer.vcproj:
544 * win32/vs7/gst-inspect.vcproj:
545 * win32/vs7/gst-launch.vcproj:
546 * win32/vs7/libgstbase.vcproj:
547 bump GST_MAJORMINOR to 0.10
548 reset libtool version
550 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
554 Added Bulgarian translation by (Alexander Shopov)
556 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
558 * tests/check/gst/gstplugin.c:
561 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
563 * common/gst-xmlinspect.py:
564 * common/gtk-doc-plugins.mak:
567 * docs/gst/Makefile.am:
568 * docs/gst/gstreamer-docs.sgml:
569 * docs/gst/gstreamer-sections.txt:
570 * docs/gst/gstreamer.types:
571 * docs/gst/gstreamer.types.in:
572 * docs/plugins/Makefile.am:
573 * docs/plugins/gstreamer-plugins-docs.sgml:
574 * docs/plugins/gstreamer-plugins-sections.txt:
575 * docs/plugins/gstreamer-plugins.types:
576 * docs/plugins/inspect.stamp:
577 * docs/plugins/inspect/plugin-coreelements.xml:
578 * docs/plugins/inspect/plugin-coreindexers.xml:
579 * docs/plugins/scanobj-build.stamp:
581 * plugins/elements/Makefile.am:
582 * plugins/elements/gstelements.c:
583 * plugins/elements/gstfakesink.c:
584 * plugins/elements/gstfakesrc.c:
585 * plugins/elements/gstfilesink.c:
586 * plugins/elements/gstfilesrc.c:
587 * plugins/elements/gstqueue.c:
588 * plugins/indexers/Makefile.am:
589 * plugins/indexers/gstindexers.c:
590 document core plugins in a separate document just like all the
592 rename these plugins to something starting with core
594 2005-12-01 Andy Wingo <wingo@pobox.com>
596 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
597 padding here before, but it missed the commit.
599 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
601 * libs/gst/controller/gstinterpolation.c:
602 whitespace prices have crashed, we should feel free to use some now
603 use gst_guint64_to_gdouble
605 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
607 * libs/gst/controller/gstcontroller.c:
608 * libs/gst/controller/gsthelper.c:
609 * libs/gst/controller/gstinterpolation.c:
610 * libs/gst/controller/lib.c:
611 wrap config.h include
613 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
615 * docs/gst/gstreamer-sections.txt:
618 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
620 * plugins/elements/gstelements.c:
621 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
622 (gst_fd_sink__class_init), (gst_fd_sink__init),
623 (gst_fd_sink__chain), (gst_fd_sink__set_property),
624 (gst_fd_sink__get_property):
625 * plugins/elements/gstfdsink.h:
626 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
627 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
628 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
629 (gst_fd_src_unlock), (gst_fd_src_set_property),
630 (gst_fd_src_get_property), (gst_fd_src_create),
631 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
632 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
633 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
634 (gst_fd_src_uri_handler_init):
635 * plugins/elements/gstfdsrc.h:
636 * plugins/elements/gstqueue.c: (gst_queue_get_type):
639 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
641 * docs/gst/Makefile.am:
642 * docs/gst/gstreamer.types.in:
646 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
653 * tests/benchmarks/complexity.c:
654 * tests/benchmarks/mass-elements.c:
655 * tests/check/Makefile.am:
657 * tools/gst-inspect.c:
658 * tools/gst-xmlinspect.c:
659 various fixes to make
660 --disable-nls --disable-registry --disable-loadsave
661 --disable-parse --disable-gst-debug
662 work and get the core .so down to 360444 bytes after stripping
664 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
669 * docs/random/thomasvs/TODO:
674 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
676 * win32/GStreamer.vcproj:
679 * win32/Makefile.inspect:
680 * win32/Makefile.launch:
681 * win32/Makefile.register:
683 * win32/gst-inspect.vcproj:
684 * win32/gst-launch.vcproj:
685 * win32/gst-register.vcproj:
686 * win32/gstelements.vcproj:
687 * win32/gstgetbits.def:
688 * win32/gstgetbits.vcproj:
689 * win32/gstreamer-dbg.def:
690 * win32/gstreamer.def:
691 * win32/libgstbase.def:
692 * win32/libgstbase.vcproj:
693 * win32/link_oldruntime.c:
698 move even more stuff, win32/ is nice and clean now
700 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
702 * libs/gst/control/.cvsignore:
707 * win32/gstbytestream.def:
708 * win32/gstbytestream.vcproj:
710 * win32/gstenumtypes.c:
711 * win32/gstenumtypes.h:
712 * win32/gstoptimalscheduler.vcproj:
713 * win32/gstversion.h:
715 * win32/testsuite/bins.vcproj:
716 * win32/testsuite/bytestream.vcproj:
717 * win32/testsuite/caps.vcproj:
718 * win32/testsuite/cleanup.vcproj:
719 * win32/testsuite/clock.vcproj:
720 * win32/testsuite/debug.vcproj:
721 * win32/testsuite/dlopen.vcproj:
722 * win32/testsuite/dynparams.vcproj:
723 * win32/testsuite/elements.vcproj:
724 * win32/testsuite/ghostpads.vcproj:
725 * win32/testsuite/indexers.vcproj:
726 * win32/testsuite/negotiation.vcproj:
727 * win32/testsuite/parse.vcproj:
728 * win32/testsuite/plugin.vcproj:
729 * win32/testsuite/refcounting.vcproj:
730 * win32/testsuite/schedulers.vcproj:
731 * win32/testsuite/states.vcproj:
732 * win32/testsuite/tags.vcproj:
733 * win32/testsuite/threads.vcproj:
734 remove old win32 stuff that isn't maintained and should be
737 2005-11-30 Andy Wingo <wingo@pobox.com>
739 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
740 loading the gst.interfaces python module bork.
742 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
743 available since GLib 2.2. Fixes #318031.
745 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
750 * check/elements/.cvsignore:
751 * check/elements/fakesrc.c:
752 * check/elements/fdsrc.c:
753 * check/elements/identity.c:
754 * check/generic/.cvsignore:
755 * check/generic/states.c:
756 * check/gst-libs/.cvsignore:
757 * check/gst-libs/controller.c:
758 * check/gst-libs/gdp.c:
759 * check/gst/.cvsignore:
760 * check/gst/capslist.h:
762 * check/gst/gstbin.c:
763 * check/gst/gstbuffer.c:
764 * check/gst/gstbus.c:
765 * check/gst/gstcaps.c:
766 * check/gst/gstelement.c:
767 * check/gst/gstevent.c:
768 * check/gst/gstghostpad.c:
769 * check/gst/gstiterator.c:
770 * check/gst/gstmessage.c:
771 * check/gst/gstminiobject.c:
772 * check/gst/gstobject.c:
773 * check/gst/gstpad.c:
774 * check/gst/gstpipeline.c:
775 * check/gst/gstplugin.c:
776 * check/gst/gstsegment.c:
777 * check/gst/gststructure.c:
778 * check/gst/gstsystemclock.c:
779 * check/gst/gsttag.c:
780 * check/gst/gstutils.c:
781 * check/gst/gstvalue.c:
782 * check/net/.cvsignore:
783 * check/net/gstnetclientclock.c:
784 * check/net/gstnettimeprovider.c:
785 * check/pipelines/.cvsignore:
786 * check/pipelines/cleanup.c:
787 * check/pipelines/simple_launch_lines.c:
788 * check/pipelines/stress.c:
789 * check/states/.cvsignore:
790 * check/states/sinks.c:
792 * examples/Makefile.am:
793 * examples/appreader/.cvsignore:
794 * examples/appreader/Makefile.am:
795 * examples/appreader/appreader.c:
796 * examples/controller/.cvsignore:
797 * examples/controller/Makefile.am:
798 * examples/controller/audio-example.c:
799 * examples/cutter/.cvsignore:
800 * examples/cutter/Makefile.am:
801 * examples/cutter/cutter.c:
802 * examples/cutter/cutter.h:
803 * examples/events/Makefile.am:
804 * examples/events/seek.c:
805 * examples/helloworld/.cvsignore:
806 * examples/helloworld/Makefile.am:
807 * examples/helloworld/helloworld.c:
808 * examples/helloworld2/.cvsignore:
809 * examples/helloworld2/Makefile.am:
810 * examples/helloworld2/helloworld2.c:
811 * examples/launch/.cvsignore:
812 * examples/launch/Makefile.am:
813 * examples/launch/mp3parselaunch.c:
814 * examples/launch/mp3play:
815 * examples/manual/.cvsignore:
816 * examples/manual/Makefile.am:
817 * examples/manual/extract.pl:
818 * examples/metadata/Makefile.am:
819 * examples/metadata/read-metadata.c:
820 * examples/mixer/.cvsignore:
821 * examples/mixer/Makefile.am:
822 * examples/mixer/mixer.c:
823 * examples/mixer/mixer.h:
824 * examples/pingpong/.cvsignore:
825 * examples/pingpong/Makefile.am:
826 * examples/pingpong/pingpong.c:
827 * examples/plugins/.cvsignore:
828 * examples/plugins/Makefile.am:
829 * examples/plugins/example.c:
830 * examples/plugins/example.h:
831 * examples/pwg/.cvsignore:
832 * examples/pwg/Makefile.am:
833 * examples/pwg/extract.pl:
834 * examples/queue/.cvsignore:
835 * examples/queue/Makefile.am:
836 * examples/queue/queue.c:
837 * examples/queue2/.cvsignore:
838 * examples/queue2/Makefile.am:
839 * examples/queue2/queue2.c:
840 * examples/queue3/.cvsignore:
841 * examples/queue3/Makefile.am:
842 * examples/queue3/queue3.c:
843 * examples/queue4/.cvsignore:
844 * examples/queue4/Makefile.am:
845 * examples/queue4/queue4.c:
846 * examples/retag/.cvsignore:
847 * examples/retag/Makefile.am:
848 * examples/retag/retag.c:
849 * examples/retag/transcode.c:
850 * examples/thread/.cvsignore:
851 * examples/thread/Makefile.am:
852 * examples/thread/thread.c:
853 * examples/typefind/.cvsignore:
854 * examples/typefind/Makefile.am:
855 * examples/typefind/typefind.c:
856 * examples/xml/.cvsignore:
857 * examples/xml/Makefile.am:
858 * examples/xml/createxml.c:
859 * examples/xml/runxml.c:
861 * tests/check/Makefile.am:
862 * testsuite/.cvsignore:
863 * testsuite/Makefile.am:
865 * testsuite/caps/.cvsignore:
866 * testsuite/caps/Makefile.am:
867 * testsuite/caps/app_fixate.c:
868 * testsuite/caps/audioscale.c:
869 * testsuite/caps/caps.c:
870 * testsuite/caps/caps.h:
871 * testsuite/caps/caps_strings:
872 * testsuite/caps/compatibility.c:
873 * testsuite/caps/deserialize.c:
874 * testsuite/caps/enumcaps.c:
875 * testsuite/caps/eratosthenes.c:
876 * testsuite/caps/filtercaps.c:
877 * testsuite/caps/fixed.c:
878 * testsuite/caps/fraction-convert.c:
879 * testsuite/caps/fraction-multiply-and-zero.c:
880 * testsuite/caps/intersect2.c:
881 * testsuite/caps/intersection.c:
882 * testsuite/caps/normalisation.c:
883 * testsuite/caps/random.c:
884 * testsuite/caps/renegotiate.c:
885 * testsuite/caps/sets.c:
886 * testsuite/caps/simplify.c:
887 * testsuite/caps/string-conversions.c:
888 * testsuite/caps/structure.c:
889 * testsuite/caps/subtract.c:
890 * testsuite/caps/union.c:
891 * testsuite/debug/.cvsignore:
892 * testsuite/debug/Makefile.am:
893 * testsuite/debug/category.c:
894 * testsuite/debug/commandline.c:
895 * testsuite/debug/global.c:
896 * testsuite/debug/output.c:
897 * testsuite/debug/printf_extension.c:
898 * testsuite/dlopen/.cvsignore:
899 * testsuite/dlopen/Makefile.am:
900 * testsuite/dlopen/dlopen_gst.c:
901 * testsuite/dlopen/loadgst.c:
902 * testsuite/elements/.cvsignore:
903 * testsuite/elements/Makefile.am:
904 * testsuite/elements/gst-inspect-check.in:
905 * testsuite/elements/struct_i386.h:
906 * testsuite/elements/struct_size.c:
907 * testsuite/indexers/.cvsignore:
908 * testsuite/indexers/Makefile.am:
909 * testsuite/indexers/cache1.c:
910 * testsuite/indexers/indexdump.c:
911 * testsuite/parse/.cvsignore:
912 * testsuite/parse/Makefile.am:
913 * testsuite/parse/parse1.c:
914 * testsuite/parse/parse2.c:
915 * testsuite/plugin/.cvsignore:
916 * testsuite/plugin/Makefile.am:
917 * testsuite/plugin/README:
918 * testsuite/plugin/dynamic.c:
919 * testsuite/plugin/linked.c:
920 * testsuite/plugin/loading.c:
921 * testsuite/plugin/registry.c:
922 * testsuite/plugin/static.c:
923 * testsuite/plugin/static2.c:
924 * testsuite/plugin/testplugin.c:
925 * testsuite/plugin/testplugin2.c:
926 * testsuite/plugin/testplugin2_s.c:
927 * testsuite/plugin/testplugin_s.c:
928 * testsuite/refcounting/.cvsignore:
929 * testsuite/refcounting/Makefile.am:
930 * testsuite/refcounting/bin.c:
931 * testsuite/refcounting/element.c:
932 * testsuite/refcounting/element_pad.c:
933 * testsuite/refcounting/mainloop.c:
934 * testsuite/refcounting/mem.c:
935 * testsuite/refcounting/mem.h:
936 * testsuite/refcounting/object.c:
937 * testsuite/refcounting/pad.c:
938 * testsuite/refcounting/sched.c:
939 * testsuite/refcounting/thread.c:
940 * testsuite/states/.cvsignore:
941 * testsuite/states/Makefile.am:
942 * testsuite/states/bin.c:
943 * testsuite/states/locked.c:
944 * testsuite/states/parent.c:
945 * testsuite/threads/.cvsignore:
946 * testsuite/threads/159566.c:
947 * testsuite/threads/159852.c:
948 * testsuite/threads/Makefile.am:
949 * testsuite/threads/queue.c:
950 * testsuite/threads/signals.c:
951 * testsuite/threads/staticrec.c:
952 * testsuite/threads/thread.c:
953 * testsuite/threads/threadb.c:
954 * testsuite/threads/threadc.c:
955 * testsuite/threads/threadd.c:
956 * testsuite/threads/threade.c:
957 * testsuite/threads/threadf.c:
958 * testsuite/threads/threadg.c:
959 * testsuite/threads/threadh.c:
960 * testsuite/threads/threadi.c:
961 move all of these under tests
963 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
969 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
971 * docs/gst/gstreamer-sections.txt:
972 * tests/sched/.cvsignore:
973 * tests/sched/Makefile.am:
974 * tests/sched/cases/(fs-fs).xml:
975 * tests/sched/cases/(fs-i-fs).xml:
976 * tests/sched/cases/(fs-i-i-fs).xml:
977 * tests/sched/cases/(fs-i-q[i-fs]).xml:
978 * tests/sched/dynamic-pipeline.c:
979 * tests/sched/interrupt1.c:
980 * tests/sched/interrupt2.c:
981 * tests/sched/interrupt3.c:
982 * tests/sched/runtestcases:
983 * tests/sched/runxml.c:
984 * tests/sched/sched-stress.c:
985 * tests/sched/sort.c:
986 * tests/sched/testcases:
987 * tests/sched/testcases1.tc:
988 * tests/seeking/.cvsignore:
989 * tests/seeking/Makefile.am:
990 * tests/seeking/seeking1.c:
991 * tests/threadstate/.cvsignore:
992 * tests/threadstate/Makefile.am:
993 * tests/threadstate/test1.c:
994 * tests/threadstate/test2.c:
995 * tests/threadstate/threadstate1.c:
996 * tests/threadstate/threadstate2.c:
997 * tests/threadstate/threadstate3.c:
998 * tests/threadstate/threadstate4.c:
999 * tests/threadstate/threadstate5.c:
1000 remove obsolete tests
1002 * tests/bench-complexity.scm:
1003 * tests/bench-mass_elements.scm:
1004 * tests/complexity.c:
1005 * tests/complexity.gnuplot:
1006 * tests/instantiate/.cvsignore:
1007 * tests/instantiate/Makefile.am:
1008 * tests/instantiate/caps.c:
1009 * tests/mass_elements.c:
1010 * tests/network-clock-utils.scm:
1011 * tests/network-clock.scm:
1013 First pass at cleaning up tests/ dir before moving the rest
1014 Combined with CVS surgery
1016 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1019 queue has moved, update
1021 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1023 * docs/gst/gstreamer-sections.txt:
1024 remove double entries from the docs
1025 * gst/gst_private.h:
1026 * gst/gstinfo.c: (_gst_debug_init):
1027 remove the THREAD debug category
1031 * docs/gst/gstreamer.types:
1032 * plugins/elements/gstqueue.c: (gst_queue_get_type),
1033 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1034 completely move queue and fix up debugging categories
1036 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1038 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1039 make initialization portable, using LL is not
1041 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1043 * win32/common/gstconfig.h:
1046 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1048 * win32/common/libgstreamer.def:
1049 rename symbols; sort base section
1051 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1053 * gst/gstclock.c: (do_linear_regression):
1054 remove crack non-portable handrolled DEBUG macro
1056 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1058 * docs/random/release:
1060 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1061 (gst_object_flags_get_type), (register_gst_bin_flags),
1062 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1063 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1064 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1065 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1066 (gst_caps_flags_get_type), (register_gst_clock_return),
1067 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1068 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1069 (gst_clock_flags_get_type), (register_gst_state),
1070 (gst_state_get_type), (register_gst_state_change_return),
1071 (gst_state_change_return_get_type), (register_gst_state_change),
1072 (gst_state_change_get_type), (register_gst_element_flags),
1073 (gst_element_flags_get_type), (register_gst_core_error),
1074 (gst_core_error_get_type), (register_gst_library_error),
1075 (gst_library_error_get_type), (register_gst_resource_error),
1076 (gst_resource_error_get_type), (register_gst_stream_error),
1077 (gst_stream_error_get_type), (register_gst_event_type_flags),
1078 (gst_event_type_flags_get_type), (register_gst_event_type),
1079 (gst_event_type_get_type), (register_gst_seek_type),
1080 (gst_seek_type_get_type), (register_gst_seek_flags),
1081 (gst_seek_flags_get_type), (register_gst_format),
1082 (gst_format_get_type), (register_gst_index_certainty),
1083 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1084 (gst_index_entry_type_get_type),
1085 (register_gst_index_lookup_method),
1086 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1087 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1088 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1089 (gst_index_flags_get_type), (register_gst_debug_level),
1090 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1091 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1092 (gst_iterator_result_get_type), (register_gst_iterator_item),
1093 (gst_iterator_item_get_type), (register_gst_message_type),
1094 (gst_message_type_get_type), (register_gst_mini_object_flags),
1095 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1096 (gst_pad_link_return_get_type), (register_gst_flow_return),
1097 (gst_flow_return_get_type), (register_gst_activate_mode),
1098 (gst_activate_mode_get_type), (register_gst_pad_direction),
1099 (gst_pad_direction_get_type), (register_gst_pad_flags),
1100 (gst_pad_flags_get_type), (register_gst_pad_presence),
1101 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1102 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1103 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1104 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1105 (gst_plugin_flags_get_type), (register_gst_rank),
1106 (gst_rank_get_type), (register_gst_query_type),
1107 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1108 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1109 (gst_tag_flag_get_type), (register_gst_task_state),
1110 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1111 (gst_alloc_trace_flags_get_type),
1112 (register_gst_type_find_probability),
1113 (gst_type_find_probability_get_type), (register_gst_uri_type),
1114 (gst_uri_type_get_type), (register_gst_parse_error),
1115 (gst_parse_error_get_type):
1116 * win32/common/gstenumtypes.h:
1117 * win32/common/gstversion.h:
1118 update visual studio generated files
1120 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1122 * win32/vs6/libgstbase.dsp:
1123 * win32/vs6/libgstelements.dsp:
1124 update project files for new locations
1126 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1131 reinstate and update
1136 * docs/random/LICENSE:
1139 2005-11-30 Edward Hervey <edward@fluendo.com>
1141 * gst/gsttypefind.c: (gst_type_find_register):
1142 * gst/gsttypefind.h:
1143 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1144 (gst_type_find_factory_dispose):
1145 * gst/gsttypefindfactory.h:
1146 Fix memory leak in GstTypeFindFactory.
1148 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1151 * plugins/elements/Makefile.am:
1152 * plugins/elements/gstelements.c:
1153 * plugins/elements/gstqueue.c:
1154 move queue from core to the elements plugin
1156 2005-11-29 Andy Wingo <wingo@pobox.com>
1158 * libs/gst/base/gstbasetransform.h:
1159 * libs/gst/base/gstbasesrc.h:
1160 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1162 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1163 of pointers by which to pad very extensible base classes (like the
1164 ones in libs/gst/base).
1166 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1168 * docs/gst/gstreamer-docs.sgml:
1169 * docs/gst/gstreamer-sections.txt:
1170 * docs/libs/gstreamer-libs-docs.sgml:
1171 * docs/libs/gstreamer-libs-sections.txt:
1172 moving documentation from core to lib
1174 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1176 * check/Makefile.am:
1178 * docs/gst/Makefile.am:
1180 * gst/base/.cvsignore:
1181 * gst/base/Makefile.am:
1183 * gst/base/gstadapter.c:
1184 * gst/base/gstadapter.h:
1185 * gst/base/gstbasesink.c:
1186 * gst/base/gstbasesink.h:
1187 * gst/base/gstbasesrc.c:
1188 * gst/base/gstbasesrc.h:
1189 * gst/base/gstbasetransform.c:
1190 * gst/base/gstbasetransform.h:
1191 * gst/base/gstcollectpads.c:
1192 * gst/base/gstcollectpads.h:
1193 * gst/base/gstpushsrc.c:
1194 * gst/base/gstpushsrc.h:
1195 * gst/base/gsttypefindhelper.c:
1196 * gst/base/gsttypefindhelper.h:
1197 * gst/check/Makefile.am:
1198 * gst/check/gstcheck.c:
1199 * gst/check/gstcheck.h:
1200 * gst/net/Makefile.am:
1202 * gst/net/gstnetclientclock.c:
1203 * gst/net/gstnetclientclock.h:
1204 * gst/net/gstnettimepacket.c:
1205 * gst/net/gstnettimepacket.h:
1206 * gst/net/gstnettimeprovider.c:
1207 * gst/net/gstnettimeprovider.h:
1208 * libs/gst/Makefile.am:
1209 * libs/gst/base/Makefile.am:
1210 * libs/gst/base/gstbasetransform.c:
1211 * libs/gst/check/Makefile.am:
1212 * plugins/elements/Makefile.am:
1214 CVS surgery + support to move base, check, and net out of gst
1217 2005-11-29 Andy Wingo <wingo@pobox.com>
1219 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1221 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1224 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1226 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1228 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1230 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1231 padding; reduces object size by about 30%. We don't expect
1232 anything else to go into gstobject.
1234 * gst/gstminiobject.h (struct _GstMiniObject)
1235 (struct _GstMiniObjectClass): Only one pointer of padding; the
1236 payload is only a pointer and two ints anyway. For the class there
1237 are only two methods as well.
1239 * gst/gstelement.h (struct _GstElementClass): Removed
1240 the state_changed signal callback, it is not used.
1242 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1244 * docs/gst/gstreamer.types:
1245 fix includes, though they are a little dinky
1247 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1249 * check/Makefile.am:
1250 look in the right place for elements, a lot more chance of
1253 remove indexers and elements subdirs
1254 * plugins/Makefile.am:
1255 make indexers conditional
1257 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1261 * plugins/elements/Makefile.am:
1262 * plugins/elements/gstcapsfilter.c:
1263 * plugins/elements/gstfilesink.c:
1264 * plugins/elements/gstfilesrc.c:
1265 * plugins/elements/gstidentity.c:
1266 * plugins/indexers/Makefile.am:
1267 do CVS surgery and related build fixery to move elements
1268 and indexers in a new gstreamer/plugins directory, out of the
1271 2005-11-29 Andy Wingo <wingo@pobox.com>
1273 * check/Makefile.am:
1274 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1275 * pkgconfig/gstreamer-net.pc.in:
1276 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1279 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1281 * tools/Makefile.am:
1282 * tools/gst-complete.1.in:
1283 * tools/gst-complete.c:
1284 * tools/gst-compprep.1.in:
1285 * tools/gst-compprep.c:
1286 removing -compprep and -complete
1288 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1290 * gst/gstevent.c: (gst_event_new_new_segment),
1291 (gst_event_parse_new_segment):
1293 fix #320529 - clean up new_segment API and structure.
1294 Let's hope everyone was using the methods, and not the structure.
1296 2005-11-29 Edward Hervey <edward@fluendo.com>
1298 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1299 (gst_base_sink_event), (gst_base_sink_do_sync),
1300 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1301 Properly handle non GST_FORMAT_TIME segment
1302 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1303 Properly handle non GST_FORMAT_TIME segment
1305 This function is valid if the accumulator is 0 and the format
1306 is different from the requested format.
1308 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1310 * docs/gst/gstreamer-sections.txt:
1311 Add gst_query_new_seeking and gst_query_parse_seeking to the
1314 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1316 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1317 Treat a pad alloc with new caps the same as if we were not
1318 negotiated, in order to allow a changing upstream output
1319 to produce a new format of data.
1321 2005-11-29 Edward Hervey <edward@fluendo.com>
1323 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1324 (gst_base_transform_event), (gst_base_transform_eventfunc):
1325 The event virtual method is now properly implemented, with a default
1327 Sub classes should call the parent_class event method. They should
1328 return FALSE if they had a problem handling the given event, or don't
1329 want GstBaseTransform to send that even downstream
1330 * gst/elements/gstidentity.c: (gst_identity_class_init),
1331 (gst_identity_init), (gst_identity_event),
1332 (gst_identity_transform_ip), (gst_identity_set_property),
1333 (gst_identity_get_property):
1334 * gst/elements/gstidentity.h:
1335 Added the single-segment boolean property.
1336 If set to TRUE, it will output a single segment of data, starting from
1337 0, will eat up all incoming newsegment, and modify the timestamp of the
1340 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1342 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1343 Don't ref NULL target pad (#322751). Improve docs.
1345 2005-11-29 Michael Smith <msmith@fluendo.com>
1347 * gst/gstregistryxml.c: (load_plugin):
1348 Don't crash if we failed to load a feature from a plugin.
1350 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1352 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1354 use more check API and less GLib API
1356 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1359 don't run checks if we don't have check
1361 remove the registry when running make torture
1362 * docs/gst/gstreamer-sections.txt:
1363 remove second multiply
1364 * gst/gstqueue.c: (gst_queue_loop):
1365 fix a compile warning when disabling debug
1367 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1370 Hey! Let's print the pad name if the pointer != NULL instead
1371 of when it == NULL :-)
1373 2005-11-28 Wim Taymans <wim@fluendo.com>
1375 * check/gst/gstutils.c: (GST_START_TEST):
1376 Updated check, add some scaling accuracy checking code.
1378 * gst/gstutils.c: (gst_util_div128_64),
1379 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1380 (gst_util_uint64_scale_int):
1381 Fix 6 times faster division code. Optimize for common
1382 1/1 and less common X/1 cases.
1384 2005-11-28 Wim Taymans <wim@fluendo.com>
1386 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1389 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1390 (do_linear_regression), (gst_clock_add_observation):
1392 Release lock when the clock cannot be slaved.
1393 Catch the case where the regression returned an invalid denominator.
1395 * gst/gstutils.c: (gst_util_div128_64_iterate),
1396 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1397 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1398 Add protentially more performant non-iterative 128/64 divide function
1399 that unfortunatly does not work yet.
1400 Shortcut the trivial 0/X = 0 case.
1401 Remove the warnings on overflow.
1403 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1405 * gst/gstplugin.c: (gst_plugin_register_func):
1406 everything causing a plugin not to load should be at least a WARNING
1408 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1410 * docs/random/ensonic/dparams.txt:
1411 some TODOs for the next dev cycle
1412 * libs/gst/controller/gstcontroller.c:
1413 (gst_controlled_property_set_interpolation_mode),
1414 (gst_controlled_property_new):
1415 * libs/gst/controller/gstcontroller.h:
1416 use base type to assign acccessor functions
1418 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1420 * check/Makefile.am:
1421 Oops, that should have been top_srcdir
1423 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1425 * check/Makefile.am:
1426 * check/elements/fdsrc.c: (GST_START_TEST):
1427 Use a cmdline define to specify the location of a file to use for
1428 testing, to avoid breaking distcheck.
1430 2005-11-28 Andy Wingo <wingo@pobox.com>
1432 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1434 2005-11-28 Edward Hervey <edward@fluendo.com>
1436 * tools/gst-launch.c: (main):
1437 Clarify the output strings, makes it easier to translate.
1440 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1443 don't try and build net if we don't even have <sys/socket.h>
1445 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1447 * check/Makefile.am:
1448 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1449 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1450 Add tests for fdsrc seekability
1452 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1453 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1454 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1455 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1456 * gst/elements/gstfdsrc.h:
1457 fdsrc should not be a 'live' source.
1458 Implement seeking on seekable fd's.
1460 * gst/gstquery.c: (gst_query_new_seeking),
1461 (gst_query_parse_seeking):
1463 Implement SEEKING query functions:
1464 *_new_seeking and *_parse_seeking
1466 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1468 * gst/gstelement.c: (gst_element_dispose):
1471 * gst/gstiterator.c:
1472 * gst/gststructure.c:
1475 * libs/gst/controller/gstcontroller.c:
1476 (gst_controlled_property_set_interpolation_mode):
1477 * libs/gst/controller/gstcontroller.h:
1478 * libs/gst/controller/gstinterpolation.c:
1479 (interpolate_none_get_enum_value_array):
1480 support controlling enums
1482 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1485 Improve documentation for gst_value_union().
1488 Change return value for union, intersect and subtract functions
1489 from gint to gboolean.
1491 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1493 * gst/gstvalue.c: (gst_value_serialize_any_list),
1494 (gst_value_transform_any_list_string),
1495 (gst_value_deserialize_list), (gst_value_deserialize_array),
1496 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1497 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1498 (gst_value_set_fraction_range_full),
1499 (gst_value_deserialize_fraction_range),
1500 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1501 (gst_value_deserialize_boolean),
1502 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1503 (gst_value_serialize_float), (gst_value_deserialize_float),
1504 (gst_string_wrap), (gst_value_deserialize_string),
1505 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1506 (gst_value_union_int_range_int_range),
1507 (gst_value_intersect_int_range_int_range),
1508 (gst_value_intersect_double_range_double_range),
1509 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1510 (gst_value_subtract_int_range_int_range),
1511 (gst_value_subtract_double_double_range),
1512 (gst_value_subtract_double_range_double_range),
1513 (gst_value_deserialize_fraction):
1515 Use gint, gdouble and gchar in our API instead of int, double and
1516 char (and make usage in gstvalue.c more consistent).
1518 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1520 * check/Makefile.am:
1521 * libs/gst/controller/Makefile.am:
1522 * libs/gst/dataprotocol/Makefile.am:
1523 fix up Makefile.am and remove GST_ENABLE_NEW
1525 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1529 * gst/base/Makefile.am:
1530 * gst/check/Makefile.am:
1531 * gst/elements/Makefile.am:
1532 * gst/net/Makefile.am:
1533 update LDFLAGS use some more
1535 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1537 * common/m4/gst-doc.m4:
1540 2005-11-26 Edward Hervey <edward@fluendo.com>
1542 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1543 This shouldn't issue a g_warning since it returns NULL if it
1544 couldn't find the plugin, and all functions using this behave
1545 properly on a NULL return. Switching to a GST_WARNING.
1547 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1549 * gst/gstbin.c: (gst_bin_handle_message_func):
1550 Don't leak clock messages.
1552 2005-11-25 Wim Taymans <wim@fluendo.com>
1554 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1555 (gst_util_uint64_scale_int):
1556 Optimisations, remove unneeded vars.
1558 2005-11-25 Wim Taymans <wim@fluendo.com>
1560 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1561 Added more checks for the high precision uint64 cases.
1563 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1564 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1565 Implement high precision (guint64 * guint64) / guint64.
1567 2005-11-24 Wim Taymans <wim@fluendo.com>
1569 * gst/base/gstbasesrc.c: (gst_base_src_query):
1570 Fix wrong percentage query.
1572 * gst/gstutils.c: (gst_util_uint64_scale),
1573 (gst_util_uint64_scale_int):
1574 Add some more common cases that can be handled
1575 efficiently to _scale.
1577 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1579 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1580 (gst_mini_object_suite):
1581 don't use check calls from threads; check probably isn't
1582 threadsafe and using a lock to make it threadsafe would
1583 defeat the purpose of this check
1584 * gst/check/gstcheck.c:
1585 * gst/check/gstcheck.h:
1586 use GST_DEBUG some more
1588 2005-11-24 Wim Taymans <wim@fluendo.com>
1590 * gst/gstutils.c: (gst_util_uint64_scale),
1591 (gst_util_uint64_scale_int):
1592 Chain trivial case to _scale_int.
1594 2005-11-24 Wim Taymans <wim@fluendo.com>
1596 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1597 Added test for scaling.
1602 * gst/gstutils.c: (gst_util_uint64_scale_int):
1603 Implemented high precision scaling code.
1605 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1608 do not crash on pad==NULL
1610 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1612 Patch by: Stefan Kost
1614 * common/gtk-doc.mak:
1615 * docs/gst/Makefile.am:
1616 * docs/libs/Makefile.am:
1617 Fix distcheck issues for the libraries docs build
1620 2005-11-24 Michael Smith <msmith@fluendo.com>
1622 * docs/manual/basics-helloworld.xml:
1623 Fix bug #315027: memory leak in example code in docs.
1625 2005-11-24 Michael Smith <msmith@fluendo.com>
1627 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1628 Unlock the PREROLL_LOCK in a failure case.
1630 2005-11-24 Wim Taymans <wim@fluendo.com>
1632 * docs/gst/gstreamer-sections.txt:
1633 * gst/base/gstadapter.h:
1634 * gst/base/gstbasesink.h:
1635 * gst/base/gstbasesrc.h:
1636 * gst/base/gstbasetransform.h:
1637 * gst/base/gstpushsrc.h:
1638 * gst/elements/gstfakesink.h:
1639 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1640 * gst/elements/gstfakesrc.h:
1641 * gst/elements/gstfilesink.h:
1642 * gst/elements/gstfilesrc.h:
1645 * gst/gstbuffer.c: (_gst_buffer_copy):
1648 * gst/gstchildproxy.c:
1651 * gst/gstelementfactory.c:
1652 * gst/gstelementfactory.h:
1654 * gst/gstghostpad.h:
1656 * gst/gstinterface.h:
1657 * gst/gstminiobject.c:
1658 * gst/gstminiobject.h:
1661 * gst/gstpadtemplate.h:
1662 * gst/gstpipeline.h:
1663 * gst/gstpluginfeature.h:
1668 * gst/gsttagsetter.c:
1669 * gst/gsttagsetter.h:
1672 * gst/gsttypefind.h:
1675 * gst/net/gstnetclientclock.c:
1676 * gst/net/gstnetclientclock.h:
1677 * gst/net/gstnettimepacket.c:
1678 * gst/net/gstnettimeprovider.c:
1679 * gst/net/gstnettimeprovider.h:
1682 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1684 * configure.ac: back to HEAD
1686 === release 0.9.6 ===
1688 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1691 releasing 0.9.6, "Always On Time"
1693 2005-11-23 Wim Taymans <wim@fluendo.com>
1695 * docs/gst/gstreamer-sections.txt:
1696 * gst/glib-compat.c:
1697 * gst/gsttagsetter.c:
1699 * gst/net/gstnetclientclock.c:
1700 * gst/net/gstnettimepacket.h:
1703 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1705 * docs/faq/using.xml:
1706 * docs/libs/tmpl/gstcontrol.sgml:
1707 * docs/manual/advanced-dparams.xml:
1708 * docs/manual/appendix-checklist.xml:
1709 * docs/manual/basics-elements.xml:
1710 * docs/pwg/other-source.xml:
1711 * docs/random/moving-plugins:
1713 * tools/gst-launch.1.in:
1714 remove mentions of sinesrc
1716 2005-11-23 Michael Smith <msmith@fluendo.com>
1718 * docs/gst/gstreamer-sections.txt:
1719 Update for new API and API changes.
1721 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1723 Documentation typo fix.
1724 * gst/net/gstnettimepacket.c:
1725 Documentation fixes for arguments.
1727 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1729 * gst/gststructure.c: (gst_structure_get_fraction),
1730 (gst_structure_parse_value),
1731 (gst_structure_fixate_field_nearest_fraction):
1732 * gst/gststructure.h:
1733 * gst/gstutils.c: (gst_util_uint64_scale_int):
1735 * scripts/update-funcnames:
1737 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1738 Make gst_structure_fixate_field_nearest_fraction take a numerator
1739 and denominator argument instead of a GValue
1740 add gst_structure_get_fraction helper function.
1742 2005-11-23 Wim Taymans <wim@fluendo.com>
1744 * docs/design/part-TODO.txt:
1747 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1748 * gst/net/gstnetclientclock.h:
1749 Use parent fields for timeout and window_size.
1751 2005-11-23 Andy Wingo <wingo@pobox.com>
1753 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1754 rate_num/rate_denom change.
1756 * gst/net/gstnetclientclock.c
1757 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1758 OBJECT_LOCK. Don't call add_observation with the lock.
1760 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1762 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1764 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1765 deal with rate as a fraction whose numerator and denominator are
1766 GstClockTime values.
1767 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1768 master; the other fields are protected by the SLAVE_LOCK.
1769 (do_linear_regression): Note that this must be called with the
1771 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1772 OBJECT_LOCK. Call set_calibration instead of touching the
1774 (gst_clock_set_property, gst_clock_get_property): Protect
1775 master/slave parameters with the SLAVE_LOCK.
1777 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1778 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1779 note that all of the instance variables that add_observation and
1780 the set_master functions use are protected by that lock and not
1782 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1784 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1785 the caller to take the object lock.
1787 2005-11-23 Wim Taymans <wim@fluendo.com>
1789 * gst/gsterror.c: (_gst_core_errors_init):
1791 Add error for clock stuff.
1793 * gst/gstpipeline.c: (gst_pipeline_change_state),
1794 (gst_pipeline_set_clock):
1795 Post clock error when clock cannot be used in a pipeline.
1797 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1799 * docs/gst/gstreamer-sections.txt:
1800 make two symbols from gstinfo private for the docs
1801 * gst/base/gstcollectpads.h:
1803 fix doc typos, update docs
1805 2005-11-22 Wim Taymans <wim@fluendo.com>
1807 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1808 (gst_base_sink_wait), (gst_base_sink_do_sync),
1809 (gst_base_sink_handle_event):
1810 * gst/base/gstbasesink.h:
1811 No need to store the clock, the parent element class already
1814 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1815 Updates for clock_set returning a gboolean
1817 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1818 (gst_clock_id_wait_async), (gst_clock_class_init),
1819 (gst_clock_init), (gst_clock_finalize),
1820 (gst_clock_get_internal_time), (gst_clock_get_time),
1821 (gst_clock_slave_callback), (gst_clock_set_master),
1822 (gst_clock_get_master), (do_linear_regression),
1823 (gst_clock_add_observation), (gst_clock_set_property),
1824 (gst_clock_get_property):
1826 Implement master/slave. When setting a clock as a slave, a
1827 periodic timeout is scheduled to sample master and slave times.
1828 Then the slave clock is recalibrated to match offset and rate
1829 of the master clock.
1830 Update logging a bit.
1831 Add flag so that a clock can state that is cannot be slaved to
1834 * gst/gstelement.c: (gst_element_set_clock):
1836 The set clock returns a gboolean for when an element cannot
1837 deal with the selected clock in the pipeline.
1839 * gst/gstpipeline.c: (gst_pipeline_change_state),
1840 (gst_pipeline_set_clock):
1841 * gst/gstpipeline.h:
1842 Handle the case where the selected clock cannot be set on
1845 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1846 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1847 (gst_net_client_clock_set_property),
1848 (gst_net_client_clock_get_property),
1849 (gst_net_client_clock_observe_times):
1850 * gst/net/gstnetclientclock.h:
1851 Use regression code in GstClock parent, remove duplicated
1854 2005-11-22 Michael Smith <msmith@fluendo.com>
1856 * gst/gstutils.c: (gst_util_clock_time_scale):
1858 * docs/gst/gstreamer-sections.txt:
1859 Rename method to have extra underscore.
1861 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1863 * gst/elements/Makefile.am:
1864 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1865 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1866 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1867 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1868 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1869 * gst/elements/gstfakesrc.h:
1870 * gst/gstqueue.c: (queue_leaky_get_type):
1871 correctly fix GEnumValues so that nick is the short lowercase
1873 * tools/gst-inspect.c: (print_element_properties_info):
1874 also show the nick, since it's useful to use from parse_launch
1878 2005-11-22 Michael Smith <msmith@fluendo.com>
1880 * gst/gstutils.c: (gst_util_clocktime_scale):
1882 * docs/gst/gstreamer-sections.txt:
1883 Add util method for scaling a clocktime by a fraction. Useful
1884 implementation is left as an exercise for the reader.
1886 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1888 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1889 If needed, allocate storage in the destination value during
1892 2005-11-22 Edward Hervey <edward@fluendo.com>
1894 * docs/gst/gstreamer-sections.txt:
1899 * gst/gstutils.c: (gst_util_set_object_arg):
1900 * tools/gst-compprep.c: (main):
1901 * tools/gst-inspect.c: (print_element_properties_info):
1902 Removed GstURI, closes bug #321061
1904 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1906 * check/gst/gststructure.c: (GST_START_TEST):
1907 * gst/gststructure.c: (gst_structure_parse_value):
1908 Oops, broke automatic string type parsing.
1909 Add a test to catch it in future.
1911 2005-11-22 Andy Wingo <wingo@pobox.com>
1913 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1914 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1915 Actually rename the function implementations. Grr.
1917 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1919 * check/gst/capslist.h:
1921 * check/gst/gststructure.c: (GST_START_TEST),
1922 (gst_structure_suite):
1923 Test automatic value type detection in gst_structure_from_string.
1924 * gst/gststructure.c: (gst_structure_parse_value):
1925 Add fraction as a type we try and guess automatically in
1926 caps/structure strings.
1928 2005-11-22 Andy Wingo <wingo@pobox.com>
1930 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1932 * gst/gsttagsetter.h:
1933 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1934 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1935 (gst_tag_setter_add_tag_valist)
1936 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1937 _add_values, _add_valist, and _add_valist_values. Since this is an
1938 interface the function suffixes should be more explicit so
1939 language binding don't end up with element.add_valist ->
1940 gst_tag_setter_add_valist, for example. Fixes #322069.
1942 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1944 * check/gst/gstcaps.c: (GST_START_TEST):
1945 Extend caps string tests to check that a caps to string
1946 conversion is reversible and produces the same caps.
1948 * gst/gststructure.c: (gst_structure_value_get_generic_type):
1949 Output "fraction" as the generic type fraction range, so caps
1950 serialisation and deserialisation works.
1951 * check/gst/capslist.h:
1952 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1953 Support 'MIN' and 'MAX' for deserialising fractions.
1955 2005-11-22 Andy Wingo <wingo@pobox.com>
1957 * gst/gstevent.h (gst_event_new_new_segment)
1958 (gst_event_parse_new_segment, gst_event_new_buffer_size)
1959 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
1960 Renamed from *_newsegment, *_buffersize, *_notarget.
1962 * scripts/update-funcnames: New script, performs the changes
1965 2005-11-22 Wim Taymans <wim@fluendo.com>
1967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1968 Make sure the GstFlowReturn is returned.
1970 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
1971 (gst_bus_add_signal_watch):
1973 add gst_bus_add_signal_watch_full.
1975 * gst/gstplugin.c: (gst_plugin_load_file):
1976 Small style cleanup.
1978 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1980 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
1981 Block the fakesrc srcpad when we send an event, to avoid
1982 contention on the stream_lock causing random test failures.
1984 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1986 * check/gst/gstvalue.c: (GST_START_TEST):
1987 * gst/gstvalue.c: (gst_value_fraction_subtract):
1990 2005-11-22 Stefan Kost <ensonic@users.sf.net>
1993 include "gstchildproxy.h"
1994 * gst/gstchildproxy.h:
1995 * libs/gst/controller/gstcontroller.h:
1996 use G_GNUC_NULL_TERMINATED
1998 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2000 * check/gst/capslist.h:
2001 * check/gst/gstcaps.c: (GST_START_TEST):
2002 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2003 * gst/gststructure.c: (gst_structure_parse_range),
2004 (gst_structure_fixate_field_nearest_fraction):
2005 * gst/gststructure.h:
2006 * gst/gstvalue.c: (gst_value_init_fraction_range),
2007 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2008 (gst_value_collect_fraction_range),
2009 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2010 (gst_value_set_fraction_range_full),
2011 (gst_value_get_fraction_range_min),
2012 (gst_value_get_fraction_range_max),
2013 (gst_value_serialize_fraction_range),
2014 (gst_value_transform_fraction_range_string),
2015 (gst_value_compare_fraction_range),
2016 (gst_value_deserialize_fraction_range),
2017 (gst_value_intersect_fraction_fraction_range),
2018 (gst_value_intersect_fraction_range_fraction_range),
2019 (gst_value_subtract_fraction_fraction_range),
2020 (gst_value_subtract_fraction_range_fraction),
2021 (gst_value_subtract_fraction_range_fraction_range),
2022 (gst_value_collect_fraction), (gst_value_fraction_multiply),
2023 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2024 (gst_value_transform_string_fraction), (_gst_value_initialize):
2026 Implement fraction ranges and extend GstFraction to support
2027 arithmetic subtraction, as well as deserialization from integer
2028 strings such as "100"
2029 Add a testsuite as for int and double range set operations
2031 2005-11-21 Andy Wingo <wingo@pobox.com>
2035 * gst/gststructure.h: Add glib-compat.h.
2037 2005-11-21 Wim Taymans <wim@fluendo.com>
2039 * gst/gstbin.c: (gst_bin_change_state_func):
2042 2005-11-21 Wim Taymans <wim@fluendo.com>
2045 And add a nice define too.
2047 2005-11-21 Wim Taymans <wim@fluendo.com>
2049 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2050 (gst_segment_new), (gst_segment_free), (gst_segment_init),
2051 (gst_segment_set_duration), (gst_segment_set_last_stop),
2052 (gst_segment_set_seek), (gst_segment_set_newsegment),
2053 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2056 Make binding friendly.
2058 2005-11-21 Andy Wingo <wingo@pobox.com>
2060 * gst/gsttagsetter.h:
2062 * gst/gststructure.h:
2064 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2067 * gst/gsterror.c (_gst_core_errors_init):
2068 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2071 * gst/Makefile.am (gst_headers): Add glib-compat.h.
2072 (noinst_HEADERS): noinst the -private.
2074 2005-11-21 Michael Smith <msmith@fluendo.com>
2077 * gst/gstregistry.h:
2078 Remove unimplemented declarations for which we can see no sensible
2081 2005-11-21 Andy Wingo <wingo@pobox.com>
2083 * gst/gst.h: Include glib-compat.h.
2085 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2087 * gst/glib-compat.c: Include the public and the private header.
2089 * gst/glib-compat-private.h: Copied here from glib-compat.h.
2093 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2095 * check/gst/gstevent.c (create_custom_events): Check that
2096 FLUSH_STOP is serialized.
2098 * check/elements/identity.c (event_func):
2099 * check/elements/fakesrc.c (event_func): No stream lock, the core
2102 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2103 stream lock taking, yay.
2105 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2106 ensure that core takes the stream lock.
2108 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2111 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2112 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2113 it already. For the flush start we do take it though so we get the
2114 right preroll state change messages.
2116 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2117 the stream lock here, the core does it for us.
2119 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2120 GST_STREAM_GET_LOCK.
2121 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
2122 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
2123 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2124 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2125 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
2126 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2128 * gst/gstpad.c: Update for stream lock name change.
2130 * gst/base/gstbasesink.c: Update for preroll lock name change.
2132 2005-11-21 Wim Taymans <wim@fluendo.com>
2134 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2135 (gst_clock_get_master):
2137 * gst/gstsystemclock.c: (gst_system_clock_init):
2138 Convert Clock flags to object flags.
2139 Added methods to manage master/slave clocks.
2141 2005-11-21 Wim Taymans <wim@fluendo.com>
2143 * check/gst/gstsegment.c: (GST_START_TEST):
2144 * docs/design/part-TODO.txt:
2145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2146 (gst_base_sink_event), (gst_base_sink_do_sync),
2147 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2148 (gst_base_sink_query), (gst_base_sink_change_state):
2149 * gst/base/gstbasesink.h:
2150 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2151 (gst_base_src_default_newsegment),
2152 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2153 (gst_base_src_get_range), (gst_base_src_loop),
2154 (gst_base_src_change_state):
2155 * gst/base/gstbasesrc.h:
2156 * gst/base/gstbasetransform.c:
2157 (gst_base_transform_prepare_output_buf),
2158 (gst_base_transform_event), (gst_base_transform_change_state):
2159 * gst/base/gstbasetransform.h:
2160 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2161 (gst_collect_pads_event):
2162 * gst/base/gstcollectpads.h:
2163 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2164 (gst_fake_src_create):
2165 * gst/elements/gstfakesrc.h:
2166 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2167 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2168 (gst_segment_set_last_stop), (gst_segment_set_seek),
2169 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2170 (gst_segment_to_running_time), (gst_segment_clip):
2172 More segment updates, replace code in plugins with segment
2175 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2177 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2178 Don't ignore sscanf results
2180 2005-11-21 Andy Wingo <wingo@pobox.com>
2182 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2185 * *.c: Ran scripts/update-macros. Oh yes.
2187 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2188 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2191 * scripts/update-macros: New script. Run it on your files to
2192 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2195 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2197 * docs/gst/Makefile.am:
2198 * docs/gst/gstreamer-docs.sgml:
2199 * docs/gst/gstreamer-sections.txt:
2200 * docs/gst/gstreamer.types:
2202 more docs fixes, add new api to the docs
2204 2005-11-21 Andy Wingo <wingo@pobox.com>
2206 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2207 state_broadcast call.
2209 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2211 2005-11-21 Julien MOUTTE <julien@moutte.net>
2213 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2214 function calls for arrays.
2216 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2218 * docs/random/ensonic/media-device-daemon.txt:
2219 wild idea, can this be done?
2220 * docs/gst/gstreamer-sections.txt:
2225 * gst/gstpluginfeature.c:
2229 doc fixes and additions
2231 2005-11-21 Andy Wingo <wingo@pobox.com>
2233 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2234 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2235 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2236 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2237 private to the basesrc implementation.
2239 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2240 behalf of event function if necessary. It should no longer be
2241 necessary to take the stream lock in pad's event functions. Fixes
2244 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2245 * docs/gst/gstreamer-sections.txt:
2246 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2247 (gst_structure_fixate_field_nearest_double),
2248 (gst_structure_fixate_field_boolean):
2249 * gst/gststructure.h:
2250 * win32/common/libgstreamer.def:
2251 * win32/gstreamer.def:
2253 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2256 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2258 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2259 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2260 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2261 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2262 (gst_fdsrc_uri_handler_init):
2263 * gst/elements/gstfdsrc.h:
2264 Port fd:// URI handler from 0.8 to fdsrc
2266 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2268 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2269 (gst_value_serialize_fourcc):
2271 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2272 consistent with our other format defines (#320324).
2274 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2276 * gst/gstvalue.c: (gst_value_is_fixed):
2277 Revert previous commit. Value lists are by definition
2278 not fixed, as they are a list of possible values.
2280 2005-11-21 Andy Wingo <wingo@pobox.com>
2282 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2283 during the stable series if we need it. Fixes #319178.
2285 * gst/gstevent.c (gst_event_new_filler): Removed.
2287 * check/gst/gstevent.c: Update comment about filler events.
2289 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2291 * gst/gstvalue.c: (gst_value_is_fixed):
2292 Should handle both value arrays and value lists.
2294 2005-11-21 Andy Wingo <wingo@pobox.com>
2296 patch by: Alessandro Dessina <alessandro nnva org>
2298 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2299 functions to access arrays. Fixes #321962.
2301 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2303 * docs/gst/gstreamer.types:
2304 gst_collectpads_get_type => gst_collect_pads_get_type.
2306 * gst/base/gstbasetransform.c:
2307 Remove unused SIGNAL_HANDOFF enum.
2309 2005-11-21 Andy Wingo <wingo@pobox.com>
2311 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2312 the event type (upstream, downstream, serialized). Renamed
2313 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2314 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2315 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2317 * gst/gstevent.c: Update for new CUSTOM event names.
2319 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2322 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2325 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2327 * docs/gst/gstreamer-sections.txt:
2328 * win32/common/libgstbase.def:
2329 * win32/libgstbase.def:
2330 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2331 (gst_collect_pads_class_init), (gst_collect_pads_init),
2332 (gst_collect_pads_finalize), (gst_collect_pads_new),
2333 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2334 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2335 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2336 (gst_collect_pads_start), (gst_collect_pads_stop),
2337 (gst_collect_pads_peek), (gst_collect_pads_pop),
2338 (gst_collect_pads_available), (gst_collect_pads_read),
2339 (gst_collect_pads_flush), (gst_collect_pads_event),
2340 (gst_collect_pads_chain):
2341 * gst/base/gstcollectpads.h:
2342 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2343 unimplemented functions as unimplemented. Add padding to
2344 GstCollectData. (#320766, #320423)
2346 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2349 Improve docs for DURATION message (usage of duration parameter)
2352 2005-11-20 Wim Taymans <wim@fluendo.com>
2354 * check/Makefile.am:
2355 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2359 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2360 (gst_segment_set_seek), (gst_segment_set_newsegment),
2361 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2364 Added segment helper structure and methods. Not fully implemented
2366 Added segment check.
2368 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2370 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2371 Add a deserialisation test for fractions
2372 * examples/metadata/read-metadata.c: (message_loop),
2373 (make_pipeline), (main):
2374 Fix up metadata reading sample.
2375 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2377 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2378 Don't try and fixate empty caps
2379 * gst/gst_private.h:
2380 Wrap in G_BEGIN_DECLS/G_END_DECLS
2381 * gst/gstvalue.c: (gst_value_collect_fraction),
2382 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2383 (gst_value_transform_string_fraction),
2384 (gst_value_compare_fraction):
2385 Add some extra guards to ensure that we don't end up
2386 with an invalid denominator of 0 in a gstfraction and
2387 that fractions always get reduced.
2389 2005-11-20 Wim Taymans <wim@fluendo.com>
2391 * docs/gst/gstreamer-sections.txt:
2402 2005-11-20 Wim Taymans <wim@fluendo.com>
2404 * docs/design/part-TODO.txt:
2406 Make a proper enum of the flag.
2408 2005-11-19 Wim Taymans <wim@fluendo.com>
2410 * docs/design/part-TODO.txt:
2411 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2412 (gst_format_to_quark), (gst_format_register):
2414 * gst/gstquery.c: (_gst_query_initialize),
2415 (gst_query_type_get_name), (gst_query_type_to_quark),
2416 (gst_query_type_register):
2418 Add type to quark and type to string conversions.
2420 2005-11-19 Andy Wingo <wingo@pobox.com>
2422 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2425 2005-11-19 Wim Taymans <wim@fluendo.com>
2427 * docs/design/part-TODO.txt:
2428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2429 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2430 (gst_bin_handle_message_func):
2432 Make message handling overridable.
2434 2005-11-19 Andy Wingo <wingo@pobox.com>
2436 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2439 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2441 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2442 is a GstClockTime. Fixes #321710.
2444 * gst/gstclock.h (GstClock): Remove offset property. Add
2445 internal_calibration and external_calibration. Fix padding. Pad
2446 also by GstClockTime so we don't run into problems.
2448 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2449 (gst_clock_get_rate_offset): Remove.
2450 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2453 * gst/gstutils.c (g_static_rec_cond_wait)
2454 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2456 * gst/gstbin.c: Remove terrible continue_state prototype.
2458 * gst/gstelement.h (gst_element_continue_state): Make public.
2461 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2462 by continue_state. Fixes #319389.
2464 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2465 Really fixes #168438. However I don't see anywhere where the
2466 filter function is called... stupid GStreamer...
2468 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2469 don't have a dispose function, so it won't get called when the
2470 object is unreffed, but oh well!
2472 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2473 allows a destroy function to be set so user_data can be freed.
2475 (gst_index_set_filter): Call gst_index_set_filter_full.
2477 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2479 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2480 string should produce an error, given the lack of a way to
2481 represent NULL strings. Fixes #165650.
2484 * gst/gstvalue.c (gst_value_array_append_value)
2485 (gst_value_array_prepend_value, gst_value_array_get_size)
2486 (gst_value_array_get_value): New API, copied from
2487 gst_value_list_*, only operates on arrays.
2488 (gst_value_list_append_value, gst_value_list_prepend_value)
2489 (gst_value_list_concat, gst_value_list_get_size)
2490 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2492 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2493 init_list, because it works on both.
2494 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2495 (gst_value_copy_list_or_array): Renamed from copy_list.
2496 (gst_value_free_list_or_array): Renamed from free_list.
2497 (gst_value_collect_list_or_array): Renamed from collect_list.
2498 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2499 (gst_value_list_or_array_peek_pointer): Renamed from
2501 (_gst_value_array_value_table, _gst_value_list_value_table):
2502 Update value table functions.
2503 (gst_value_compare_list_or_array): Renamed from compare_list.
2505 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2509 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2510 GstTagList*. Fixes #143472.
2512 * gst/gststructure.h: Clarify what the foreach/map functions can
2513 or can't do to their arguments.
2515 2005-11-18 Wim Taymans <wim@fluendo.com>
2517 * gst/gstclock.c: (gst_clock_set_calibration),
2518 (gst_clock_get_calibration):
2520 Calibration can be set with internal time equal to current
2523 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2529 2005-11-18 Andy Wingo <wingo@pobox.com>
2532 * pkgconfig/gstreamer-net.pc.in:
2533 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2534 * pkgconfig/Makefile.am: Add net pkgconfig files.
2536 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2539 * gst/gstghostpad.c:
2545 2005-11-18 Andy Wingo <wingo@pobox.com>
2547 * gst/net/gstnetclientclock.c: Turn off debugging.
2549 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2550 times connverge somewhat. Can't make a real test.
2552 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2553 integer arithmetic. Return the minimum of the domain, which can be
2554 set as "internal" for gst_clock_set_calibration.
2555 (gst_net_client_clock_observe_times): Call _set_calibration.
2556 (gst_net_client_clock_new): Call _set_calibration instead of
2559 * check/net/gstnetclientclock.c (test_functioning): Use the right
2563 * gst/gstclock.c (gst_clock_get_calibration)
2564 (gst_clock_set_calibration): New functions, obsolete the ones I
2565 added yesterday. Doh. Precision issues mean we have to extrapolate
2566 from a point in the more recent past than 1970.
2567 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2569 (gst_clock_adjust_unlocked): Use the right calibration data.
2571 2005-11-18 Edward Hervey <edward@fluendo.com>
2573 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2574 Also reset the ->current_* values in READY->PAUSED
2576 2005-11-18 Andy Wingo <wingo@pobox.com>
2578 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2579 Whoops, check the right fd. Also add some debugging.
2580 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2581 (do_linear_regression): Add a crapload of debugging. Subtract off
2582 the minimum values from the input series to discard unneeded bits.
2583 Use only int arithmetic. There is still double arithmetic when
2584 calculating the intercept that needs fixing. Return boolean to
2585 indicate success; FALSE would mean the domain or range is too
2586 great. Still needs fixes.
2588 2005-11-18 Wim Taymans <wim@fluendo.com>
2590 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2591 For the current position in stream time, we need to subtract
2594 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2595 Release lock before calling the callback function of async
2598 2005-11-18 Andy Wingo <wingo@pobox.com>
2600 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2601 Port goes all the way to MAXUINT16.
2603 * gst/net/gstnettimeprovider.c: Make the port range the same as
2604 for the kernel: 0 assigns, otherwise ports are less than
2607 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2610 * check/net/gstnetclientclock.c (test_functioning): Add the start
2613 2005-11-18 Wim Taymans <wim@fluendo.com>
2615 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2616 (gst_bin_remove_func), (bin_bus_handler):
2618 Removing a clock provider from a bin, triggers a clock lost message
2619 so that a new clock will be selected.
2620 Adding a clock to a bin triggers a clock provider message.
2621 Make sure we reselect a clock when we received a clock lost message.
2622 Keep a reference to the element that provided the clock.
2624 2005-11-18 Andy Wingo <wingo@pobox.com>
2626 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2627 the clock initially so it produces values around the base time.
2628 (gst_net_client_clock_class_init): Typo fix.
2629 (gst_net_client_clock_thread): Add note on when the socket gets
2632 2005-11-17 Wim Taymans <wim@fluendo.com>
2634 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2635 Free remote and local time arrays.
2637 2005-11-17 Wim Taymans <wim@fluendo.com>
2639 * gst/net/gstnetclientclock.c: (do_linear_regression),
2640 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2641 Fix compilation, uninitialized vars and a forgotten continue.
2643 2005-11-17 Andy Wingo <wingo@pobox.com>
2645 * check/Makefile.am (check_PROGRAMS):
2646 * check/net/gstnetclientclock.c: Add a most minimal test for the
2647 net client clock. More to come later.
2650 * gst/net/Makefile.am: Add netclientclock.
2652 * gst/net/gstnetclientclock.h:
2653 * gst/net/gstnetclientclock.c: New files, implement an untested
2654 GstClock that takes its time from a network time provider.
2655 Implements the algorithm in network-clock.scm.
2657 * tests/network-clock.scm (*window-size*): Rename from
2659 * tests/network-clock.scm (network-time):
2660 * tests/network-clock-utils.scm (q-push): Update callers.
2662 2005-11-17 Wim Taymans <wim@fluendo.com>
2664 * gst/gstbin.c: (gst_bin_provide_clock_func),
2665 (gst_bin_sort_iterator_new):
2666 And unref the child too..
2668 2005-11-17 Wim Taymans <wim@fluendo.com>
2670 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2671 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2672 Refactor the sort iterator so it can be used while holding the
2674 Make clock selection select a clock closest to the source.
2676 2005-11-17 Michael Smith <msmith@fluendo.com>
2678 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2679 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2681 Anonymous structs are a gcc (and some other compilers) extension, so
2682 don't use them. Since this is only for ABI-compatibility, and our
2683 API/ABI freeze is over in a few days, this whole thing will only
2684 last a few days, so don't bother trying to think up a meaningful
2685 name for the struct.
2687 2005-11-17 Andy Wingo <wingo@pobox.com>
2689 * gst/gstclock.h (GstClock): Add rate and offset properties,
2690 preserving ABI stability. Add rate/offset accessors. Will file bug
2691 for the freeze break.
2693 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2694 and offset, trying to keep precision and avoiding
2696 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2697 functions. Make gst_clock_set_time_adjust obsolete.
2698 (gst_clock_set_time_adjust): Note that this function is obsolete.
2701 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2702 greppable by using GST_PADDING-1+1.
2704 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2706 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2708 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2709 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2711 * gst/gstpadtemplate.h:
2712 * gst/gstpluginfeature.h:
2713 Don't use c++ style comments in headers (#321638).
2715 2005-11-16 Andy Wingo <wingo@pobox.com>
2717 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2720 * check/net/gstnettimeprovider.c: Check to see that the time
2721 provider actually provides times. Works, yo!
2723 2005-11-16 Wim Taymans <wim@fluendo.com>
2725 * check/Makefile.am:
2728 * check/elements/fakesrc.c: (GST_START_TEST):
2729 Set element to NULL before disposing it.
2731 2005-11-16 Andy Wingo <wingo@pobox.com>
2733 * gst/net/Makefile.am:
2735 * gst/net/gstnettimeprovider.c:
2736 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2737 provider, include it from gstnet.h, and add it to the build.
2739 * gst/net/gstnettimepacket.h:
2740 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2741 sending and receiving.
2743 2005-11-16 Wim Taymans <wim@fluendo.com>
2745 * check/Makefile.am:
2746 Enable valgrind check.
2748 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2749 (gst_fake_src_alloc_buffer):
2752 2005-11-16 Wim Taymans <wim@fluendo.com>
2754 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2755 Call parent finalize too.
2757 2005-11-16 Wim Taymans <wim@fluendo.com>
2759 * check/Makefile.am:
2760 Enable valgrind check that should work fine now.
2762 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2763 * gst/gstqueue.c: (gst_queue_init):
2764 Fix memleaks in pad allocation.
2766 2005-11-16 Andy Wingo <wingo@pobox.com>
2768 * gst/net/Makefile.am:
2769 * gst/net/gstnet.h: New part of core to hold network elements and
2770 objects. Put in core because it exposes API that applications want
2771 to use. The library is named libgstnet-tempname right now because
2772 of the existing libgstnet in gst-plugins-base. Solution is
2773 probably to rename the one in plugins-base; will file a bug for
2776 * gst/net/gstnettimeprovider.c:
2777 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2778 get_time call over the network.
2781 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2783 * check/Makefile.am:
2784 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2785 get additions shortly.
2787 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2789 * gst/gstpad.c: (gst_pad_new_from_static_template):
2791 add gst_pad_new_from_static_template functions
2792 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2793 (gst_check_setup_sink_pad):
2794 * gst/elements/gsttee.c: (gst_tee_init):
2797 2005-11-16 Wim Taymans <wim@fluendo.com>
2799 * gst/gstpad.c: (gst_pad_pause_task):
2800 Removed warning, it's not really an error either.
2802 2005-11-16 Wim Taymans <wim@fluendo.com>
2804 * gst/base/gstbasetransform.c:
2805 (gst_base_transform_prepare_output_buf),
2806 (gst_base_transform_event):
2807 Check if the caps are NULL, this can happen if the element
2808 is shutting down and the pad caps are set to NULL.
2810 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2812 * gst/elements/gsttee.c: (gst_tee_init):
2813 fix pad template leak in tee
2815 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2817 * gst/glib-compat.c: (g_value_dup_gst_object):
2818 * gst/glib-compat.h:
2819 * gst/gstpad.c: (gst_pad_set_property):
2820 use gst_object_ref when setting the pad template; this will
2821 trigger the pad template leaks on GLib 2.6 and the slaves
2823 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2825 * gst/glib-compat.c: (gst_flags_get_first_value):
2826 * gst/glib-compat.h:
2827 * gst/gstregistryxml.c:
2828 remove functions copied from GLib 2.6
2830 2005-11-16 Michael Smith <msmith@fluendo.com>
2833 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2834 do, but only breaks with newer valgrind versions. We're not a
2835 valgrind tool, we have no link-time dependencies on libcoregrind.
2837 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2839 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2844 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2846 * gst/base/gstbasesrc.c: (gst_base_src_init):
2847 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2848 * gst/gstqueue.c: (gst_queue_init):
2849 * gst/gstregistryxml.c: (load_feature):
2850 Revert all these unrefs, they don't even pass make check !
2852 2005-11-15 Johan Dahlin <johan@gnome.org>
2854 * gst/base/gstbasesrc.c: (gst_base_src_init):
2855 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2856 * gst/gstqueue.c: (gst_queue_init):
2857 Free pad templates, fixes a couple of leaks.
2859 2005-11-15 Daniel Fischer <dan at f3c dot com>
2861 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2863 * gst/gstpad.c: (gst_pad_get_property):
2864 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2865 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2868 2005-11-15 Wim Taymans <wim@fluendo.com>
2873 2005-11-15 Andy Wingo <wingo@pobox.com>
2875 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2877 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2878 using GST_CLOCK_TIME_NONE to disable base time management.
2879 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2880 time if it was NONE before.
2881 (gst_pipeline_change_state): Only munge the base time if
2882 stream_time != GST_CLOCK_TIME_NONE.
2884 * check/gst/gstpipeline.c (test_base_time): Punt around the
2885 problem of the probe not being called, because that's not the
2886 issue I'm looking at. Add a check that setting stream_time to NONE
2887 disables base time management.
2889 2005-11-15 Wim Taymans <wim@fluendo.com>
2891 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2892 segment_stop == -1 at startup.
2894 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2895 (gst_base_transform_change_state):
2896 Init segment values at start.
2898 2005-11-15 Wim Taymans <wim@fluendo.com>
2900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2901 0 segment values are 0 in any format.
2903 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2904 * gst/base/gstbasetransform.h:
2905 Parse newsegment correctly in basetransform
2907 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2908 Sync to clock using updated segment values.
2910 2005-11-15 Andy Wingo <wingo@pobox.com>
2912 * check/gst/gstpipeline.c (test_base_time): Add check that the
2913 base time and stream time are reset correctly.
2915 2005-11-15 Wim Taymans <wim@fluendo.com>
2917 * docs/design/part-TODO.txt:
2918 Some more TODO items.
2920 2005-11-15 Andy Wingo <wingo@pobox.com>
2922 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2923 error if the user selected "no clock" as the clocking method.
2925 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2926 timestamps with live capture.
2928 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2929 is 0 but we are a live source, timestamp the buffers using the
2932 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2934 * docs/gst/gstreamer-sections.txt:
2936 * gst/gstghostpad.c:
2941 2005-11-14 Wim Taymans <wim@fluendo.com>
2944 add suppressions from Wim's Debian machine
2946 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
2949 add suppressions from Andy's AMD64 Ubuntu machine
2951 2005-11-14 Andy Wingo <wingo@pobox.com>
2953 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
2954 STATE_LOCK not necessary. Fixes #311489.
2956 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
2959 * gst/gstindex.c (gst_index_add_object): Note in the docs that
2960 this function is not implemented.
2962 2005-11-14 Julien MOUTTE <julien@moutte.net>
2964 * gst/base/gstbasetransform.c:
2965 (gst_base_transform_prepare_output_buf):
2966 Ref the source pad caps while we need them.
2969 2005-11-11 Wim Taymans <wim@fluendo.com>
2971 * docs/gst/gstreamer-sections.txt:
2972 Added some docs for GstCollectData.
2974 * gst/base/gstadapter.c:
2975 Some small code example fix.
2977 * gst/base/gstcollectpads.c:
2978 * gst/base/gstcollectpads.h:
2981 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2983 * configure.ac: back to HEAD
2985 === release 0.9.5 ===
2987 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
2990 releasing 0.9.5, "Bike Lunch Day"
2992 2005-11-11 Wim Taymans <wim@fluendo.com>
2994 * gst/gstbuffer.c: (_gst_buffer_copy):
2997 * gst/gstcaps.c: (gst_caps_is_equal):
2999 Make _is_equal fast in the trivial cases.
3001 * gst/gstminiobject.c:
3002 * gst/gstminiobject.h:
3003 More docs. Spifify .h file.
3008 2005-11-11 Wim Taymans <wim@fluendo.com>
3010 * gst/base/gstbasetransform.c:
3011 (gst_base_transform_prepare_output_buf),
3012 (gst_base_transform_handle_buffer):
3014 If we're processing a buffer and need to allocate an output
3015 buffer, we cannot accept a format change. If we did get a
3016 format change, we have to alloc a buffer ourselves of the
3019 2005-11-11 Wim Taymans <wim@fluendo.com>
3021 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3022 While checking the flag for reentrancy in the gstcaps function
3023 is nice to detect recursive invocations, it also makes it
3024 impossible to call getcaps from multiple threads, which must be
3025 possible. So, checking for recursive calls has to go.
3027 2005-11-11 Michael Smith <msmith@fluendo.com>
3029 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3030 Don't sync on buffers that fall partially outside our current
3031 segment. Prevents an assertion failure/abort playing some files.
3033 2005-11-10 Andy Wingo <wingo@pobox.com>
3035 * check/gst/gstbin.c (test_message_state_changed_children): Style
3038 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3039 gst_bus_poll with the signal watch. Ensures that poll and a signal
3040 watch see the same messages.
3042 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3043 a poll and a watch at the same time get the same messages.
3045 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3047 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3048 * gst/gstcaps.c: (gst_caps_intersect):
3049 Don't call gst_caps_do_simplify - it doesn't respect order of caps
3050 and it's not needed.
3052 2005-11-10 Wim Taymans <wim@fluendo.com>
3054 * docs/design/part-TODO.txt:
3057 2005-11-10 Wim Taymans <wim@fluendo.com>
3059 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3060 * gst/base/gstbasesrc.c: (gst_base_src_wait),
3061 (gst_base_src_do_sync), (gst_base_src_get_range):
3062 Implement clock sync in base class.
3064 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3066 patch by: Tim-Philipp Müller <tim at centricular dot net>
3068 * gst/gststructure.c: (gst_structure_parse_field),
3069 (gst_structure_from_string):
3070 Forward-port a 0.8 patch to handle escaped spaces in structure string,
3071 so that gst_parse_launch() can deal with spaces in filtered link
3072 caps (fixes #164479)
3073 * check/gst/capslist.h:
3074 * check/gst/gststructure.c: (GST_START_TEST):
3075 add unit tests for this change
3077 2005-11-10 Wim Taymans <wim@fluendo.com>
3079 * docs/gst/gstreamer-sections.txt:
3082 Fix docs, move some STATE macros to private.
3084 2005-11-10 Wim Taymans <wim@fluendo.com>
3086 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3087 Added check for bug #317341
3091 Some more spiffifying.
3093 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3094 Call peer linkfunction if we are a source pad. Totally fixes
3098 Update docs, source pads should call the peer linkfunction
3099 so they can atomically perform the pad link.
3101 2005-11-09 Wim Taymans <wim@fluendo.com>
3105 Uber-spiffy-spiffify some more.
3107 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
3109 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3110 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3111 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3112 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3113 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3114 * gst/gstpad.c: (gst_pad_init):
3115 Use GST_DEBUG_FUNCPTR() more extensively.
3117 2005-11-09 Wim Taymans <wim@fluendo.com>
3119 * gst/gstobject.c: (gst_object_class_init):
3121 Documentation fixes.
3123 2005-11-09 Edward Hervey <edward@fluendo.com>
3125 * gst/gsttypefindfactory.c:
3128 2005-11-09 Edward Hervey <edward@fluendo.com>
3130 * gst/base/gsttypefindhelper.c:
3131 * gst/gsttypefind.c:
3132 * gst/gsttypefind.h:
3135 2005-11-09 Wim Taymans <wim@fluendo.com>
3137 * gst/gstiterator.c:
3144 2005-11-09 Wim Taymans <wim@fluendo.com>
3150 2005-11-09 Wim Taymans <wim@fluendo.com>
3152 * docs/gst/gstreamer-sections.txt:
3153 Moved the message async delivery private lock and cond
3154 to the private section.
3160 2005-11-09 Edward Hervey <edward@fluendo.com>
3162 * docs/gst/gstreamer-sections.txt:
3165 Document GstURIHandler
3167 2005-11-09 Wim Taymans <wim@fluendo.com>
3169 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3170 (gst_iterator_find_custom):
3171 * gst/gstiterator.h:
3174 2005-11-09 Wim Taymans <wim@fluendo.com>
3177 Document another field.
3179 * gst/gststructure.c:
3180 * gst/gststructure.h:
3183 2005-11-09 Wim Taymans <wim@fluendo.com>
3188 2005-11-09 Wim Taymans <wim@fluendo.com>
3190 * docs/gst/gstreamer-sections.txt:
3191 Added some new macros.
3198 2005-11-09 Wim Taymans <wim@fluendo.com>
3200 * docs/design/part-TODO.txt:
3201 Some more items for the TODO
3207 2005-11-09 Andy Wingo <wingo@pobox.com>
3209 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3210 to work on something else now tho...
3212 * gst/base/gstadapter.c: More adapter docs.
3214 * gst/elements/gstfilesink.c (gst_file_sink_start)
3215 (gst_file_sink_stop): New functions, replace the state change
3217 (gst_file_sink_class_init): Hook up the start and stop functions.
3218 (gst_file_sink_base_init): Don't set the state change handler any
3219 more. It was a bit ugly too, being set from here...
3220 (gst_file_sink_get_property, gst_file_sink_set_property):
3222 (gst_file_sink_set_location): More robust check that doesn't call
3225 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3227 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3228 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3230 2005-11-08 Wim Taymans <wim@fluendo.com>
3232 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3233 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3234 (gst_base_sink_chain), (gst_base_sink_change_state):
3235 * gst/base/gstbasesink.h:
3236 * gst/base/gstbasesrc.h:
3239 Avoid excessive typechecking in macros.
3241 * gst/gstminiobject.c: (gst_mini_object_get_type),
3242 (gst_mini_object_init), (gst_mini_object_new),
3243 (gst_mini_object_free):
3244 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3245 (gst_object_finalize):
3246 Remove cruft code, optimize alloc_trace.
3248 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3250 * docs/faq/gst-uninstalled:
3251 fix up PS1 for systems that try to reset it
3253 2005-11-07 Wim Taymans <wim@fluendo.com>
3255 * gst/base/gstbasesrc.c: (gst_base_src_init),
3256 (gst_base_src_get_range):
3257 Set the segment_end to -1 initially. Fixed typefind.
3259 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3261 * gst/base/gstadapter.c:
3262 Debug category should be 'adapter', not 'GstAdapter'.
3264 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3265 (gst_collectpads_class_init), (gst_collectpads_init),
3266 (gst_collectpads_peek), (gst_collectpads_pop),
3267 (gst_collectpads_event), (gst_collectpads_chain):
3268 Add debug category and some debugging output. Use boilerplate
3269 macros. Remove some extraneous words from docs.
3271 2005-11-05 Andy Wingo <wingo@pobox.com>
3273 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3276 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3278 * docs/gst/gstreamer-sections.txt:
3281 * gst/gstminiobject.h:
3286 2005-11-04 Wim Taymans <wim@fluendo.com>
3288 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3289 Small update to stop at the configured segment_end
3292 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3294 * gst/gstregistry.c:
3295 * gst/gstregistry.h:
3298 2005-11-04 Edward Hervey <edward@fluendo.com>
3300 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3301 Check if we are doing a segment seek and have arrived at the
3302 end of that segment.
3304 2005-11-04 Wim Taymans <wim@fluendo.com>
3306 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3307 Don't leak a mutex unlock in case of an error.
3312 2005-11-04 Wim Taymans <wim@fluendo.com>
3314 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3316 Get the context to wake up only once.
3318 2005-11-03 Wim Taymans <wim@fluendo.com>
3320 * check/states/sinks.c: (GST_START_TEST):
3321 Uncomment fixed check.
3323 * docs/design/part-TODO.txt:
3326 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3327 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3328 (gst_base_sink_get_position):
3329 If we are going to PLAYING, post the right pending state
3330 when we post the intermediate paused message.
3332 * gst/gstelement.c: (gst_element_continue_state),
3333 (gst_element_set_state_func), (gst_element_change_state):
3334 Don't post state changes that were between the same state
3337 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3339 * docs/gst/gstreamer-sections.txt:
3342 * gst/gstminiobject.h:
3345 more docs and doc style fixes
3347 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3349 * docs/gst/gstreamer-sections.txt:
3351 * gst/gstminiobject.c:
3354 2005-11-03 Andy Wingo <wingo@pobox.com>
3356 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3357 state-changed messages actually have the right order and the right
3360 2005-11-03 Wim Taymans <wim@fluendo.com>
3362 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3363 Added some more checks. Specifically the case where NO_PREROLL
3364 elements are in the pipeline.
3366 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3367 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3368 (gst_base_sink_get_position):
3369 Post READY->PAUSED state change messages too.
3370 Fix bug where VOID was posted as pending state...
3372 * gst/gstbin.c: (gst_bin_recalc_state):
3373 use _element_continue_state() to continue the state change.
3375 * gst/gstelement.c: (gst_element_continue_state),
3376 (gst_element_commit_state), (gst_element_set_state_func),
3377 (gst_element_change_state), (gst_element_change_state_func):
3378 Lots of state change cleanups, assign the STATE_RETURN in
3379 a new continue_state() function that also propagates the
3380 last return value from a state change to the app.
3381 Update some debug statements with proper category.
3383 2005-11-03 Wim Taymans <wim@fluendo.com>
3385 * docs/design/part-events.txt:
3386 * docs/design/part-gstpipeline.txt:
3387 * docs/design/part-messages.txt:
3388 * docs/design/part-overview.txt:
3389 * docs/design/part-seeking.txt:
3390 * docs/design/part-states.txt:
3391 * docs/design/part-trickmodes.txt:
3392 * docs/manual/advanced-position.xml:
3396 People think !! is ugly, this looks better.
3398 * gst/gstpad.c: (gst_pad_set_blocked_async):
3399 Remove !! since it's fixed elsewhere now.
3401 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3403 * gst/gstminiobject.h:
3405 Add !! to _FLAG_IS_SET macros to make the result boolean.
3407 2005-11-03 Edward Hervey <edward@fluendo.com>
3409 * gst/gstpad.c: (gst_pad_set_blocked_async):
3410 comparing a flag and a gboolean rarely returns coherent results...
3411 Added two characters (!!) to make that work correctly.
3413 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3415 * gst/gstbus.c: (gst_bus_class_init):
3418 * gst/gstqueue.c: (gst_queue_loop):
3419 Don't assume a miniobject that isn't a buffer is an
3420 event (it could be that there is a refcounting
3421 problem somewhere and the pointer is stale and
3422 refers to an already destroyed miniobject).
3424 2005-11-03 Julien MOUTTE <julien@moutte.net>
3426 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3428 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3430 * docs/manual/advanced-position.xml:
3431 Update seek example and explanations to current 0.9 API.
3433 * gst/elements/gsttypefindelement.c:
3434 (gst_type_find_element_activate):
3435 Remove FIXME comment now that the found caps
3438 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3440 * gst/gstregistryxml.c: (load_feature):
3441 Add another GST_STR_NULL instance
3443 2005-11-02 Edward Hervey <edward@fluendo.com>
3445 * gst/gstpad.c: (handle_pad_block):
3446 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3448 2005-11-02 Wim Taymans <wim@fluendo.com>
3453 * gst/gstelement.c: (gst_element_commit_state):
3454 Remove unused value.
3456 * gst/gstiterator.c:
3457 Mention that the returned element is reffed in the docs.
3459 2005-11-02 Wim Taymans <wim@fluendo.com>
3461 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3462 (gst_pad_push), (gst_pad_push_event):
3463 Unlock blocked pads when they are flushed.
3465 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3468 * docs/gst/gstreamer-sections.txt:
3471 * gst/gstregistry.c: (gst_registry_scan_path_level):
3472 fix for a nasty little missed situation where an installed plug-in
3473 which was in the cache did not get overridden by an uninstalled one
3474 which was earlier in the plugin path because the newly created plugin
3475 for the uninstalled one (not in the registry) didn't get its
3476 ->registered set to TRUE
3478 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3480 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3481 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3482 (gst_collectpads_is_active), (gst_collectpads_collect),
3483 (gst_collectpads_collect_range), (gst_collectpads_start),
3484 (gst_collectpads_stop), (gst_collectpads_peek),
3485 (gst_collectpads_pop), (gst_collectpads_available),
3486 (gst_collectpads_read), (gst_collectpads_flush):
3487 Guard public API with assertions.
3490 Fix docs for gst_pad_set_link_function().
3492 2005-11-02 Johan Dahlin <johan@gnome.org>
3494 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3495 Unref found_caps after we used it.
3497 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3499 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3500 Don't try to ref NULL.
3502 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3504 * win32/common/config.h.in:
3505 provide a GST_FUNCTION that just gives a string for now
3507 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3509 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3510 (gst_object_flags_get_type), (register_gst_bin_flags),
3511 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3512 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3513 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3514 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3515 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3516 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3517 (gst_clock_flags_get_type), (register_gst_state),
3518 (gst_state_get_type), (register_gst_state_change_return),
3519 (gst_state_change_return_get_type), (register_gst_state_change),
3520 (gst_state_change_get_type), (register_gst_element_flags),
3521 (gst_element_flags_get_type), (register_gst_core_error),
3522 (gst_core_error_get_type), (register_gst_library_error),
3523 (gst_library_error_get_type), (register_gst_resource_error),
3524 (gst_resource_error_get_type), (register_gst_stream_error),
3525 (gst_stream_error_get_type), (register_gst_event_type),
3526 (gst_event_type_get_type), (register_gst_seek_type),
3527 (gst_seek_type_get_type), (register_gst_seek_flags),
3528 (gst_seek_flags_get_type), (register_gst_format),
3529 (gst_format_get_type), (register_gst_index_certainty),
3530 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3531 (gst_index_entry_type_get_type),
3532 (register_gst_index_lookup_method),
3533 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3534 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3535 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3536 (gst_index_flags_get_type), (register_gst_debug_level),
3537 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3538 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3539 (gst_iterator_result_get_type), (register_gst_iterator_item),
3540 (gst_iterator_item_get_type), (register_gst_message_type),
3541 (gst_message_type_get_type), (register_gst_mini_object_flags),
3542 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3543 (gst_pad_link_return_get_type), (register_gst_flow_return),
3544 (gst_flow_return_get_type), (register_gst_activate_mode),
3545 (gst_activate_mode_get_type), (register_gst_pad_direction),
3546 (gst_pad_direction_get_type), (register_gst_pad_flags),
3547 (gst_pad_flags_get_type), (register_gst_pad_presence),
3548 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3549 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3550 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3551 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3552 (gst_plugin_flags_get_type), (register_gst_rank),
3553 (gst_rank_get_type), (register_gst_query_type),
3554 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3555 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3556 (gst_tag_flag_get_type), (register_gst_task_state),
3557 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3558 (gst_alloc_trace_flags_get_type),
3559 (register_gst_type_find_probability),
3560 (gst_type_find_probability_get_type), (register_gst_uri_type),
3561 (gst_uri_type_get_type), (register_gst_parse_error),
3562 (gst_parse_error_get_type):
3563 * win32/common/gstversion.h:
3566 2005-11-01 Luca Ognibene <luogni@tin.it>
3569 fix docs. popt is dead, long live GOption.
3571 2005-10-31 Wim Taymans <wim@fluendo.com>
3576 2005-10-31 Andy Wingo <wingo@pobox.com>
3580 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3582 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3583 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3584 the possibility of deadlocks here if code calling notify() or
3585 set() has a lock that can be taken in another notify handler (ABBA
3586 with class lock and e.g. python GIL state lock).
3588 2005-10-28 Julien MOUTTE <julien@moutte.net>
3590 * gst/gstbus.c: Doc updates.
3592 2005-10-28 Wim Taymans <wim@fluendo.com>
3594 * docs/design/part-TODO.txt:
3595 * gst/gstiterator.c:
3596 * gst/gstsystemclock.c:
3597 * gst/gstsystemclock.h:
3600 2005-10-28 Edward Hervey <edward@fluendo.com>
3602 * docs/gst/gstreamer-docs.sgml:
3603 * docs/gst/gstreamer-sections.txt:
3604 the GstURIType documentation page is private, it only defines GstURIType
3605 which should be defined in the GstURIHandler page
3607 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3609 * gst/gstbin.c: (gst_bin_class_init):
3612 Documentation updates.
3614 2005-10-28 Wim Taymans <wim@fluendo.com>
3616 * docs/gst/gstreamer-sections.txt:
3619 Documented the clocks.
3621 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3623 * docs/gst/gstreamer-sections.txt:
3624 move some macros to private sections
3625 * gst/gstminiobject.c:
3626 * gst/gstminiobject.h:
3627 add descriptions provided by ds and some more
3629 mark macro as to be removed
3631 2005-10-28 Wim Taymans <wim@fluendo.com>
3633 * docs/design/part-TODO.txt:
3634 Add an item to TODO.
3636 * gst/gstiterator.c: (gst_iterator_fold),
3637 (gst_iterator_find_custom):
3638 * gst/gstiterator.h:
3641 2005-10-28 Wim Taymans <wim@fluendo.com>
3643 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3644 (gst_base_transform_init):
3647 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3648 An EOS event marks the queue as completely filled.
3650 2005-10-27 Wim Taymans <wim@fluendo.com>
3652 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3653 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3654 Some more debugging.
3656 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3657 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3658 (gst_base_transform_event), (gst_base_transform_getrange),
3659 (gst_base_transform_chain):
3660 * gst/base/gstbasetransform.h:
3662 Protect transform and concurrent buffer alloc with a new lock.
3663 Try not to break ABI/API.
3665 2005-10-27 Wim Taymans <wim@fluendo.com>
3667 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3668 (gst_base_src_init), (gst_base_src_query),
3669 (gst_base_src_default_newsegment),
3670 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3671 (gst_base_src_send_event), (gst_base_src_event_handler),
3672 (gst_base_src_pad_get_range), (gst_base_src_loop),
3673 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3674 (gst_base_src_start), (gst_base_src_deactivate),
3675 (gst_base_src_activate_push), (gst_base_src_change_state):
3676 Move some stuff around and cleanup things.
3678 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3680 * gst/base/gstbasesrc.c: (gst_base_src_query):
3681 Add missing break statements.
3683 2005-10-27 Wim Taymans <wim@fluendo.com>
3685 * check/gst/gstbin.c: (GST_START_TEST):
3686 An extra refcount is taken in basesrc.
3688 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3689 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3690 (gst_base_src_loop):
3691 Small cleanups, check for flushing after being unlocked from the
3692 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3693 Don't send out EOS when going to READY.
3695 2005-10-27 Wim Taymans <wim@fluendo.com>
3697 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3698 (gst_base_sink_get_position):
3701 * gst/gstbin.c: (message_check), (bin_replace_message),
3702 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3703 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3704 (bin_query_duration_init), (bin_query_duration_fold),
3705 (bin_query_duration_done), (bin_query_generic_fold),
3707 * tools/gst-launch.c: (main):
3710 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3712 * examples/controller/audio-example.c: (main):
3713 * examples/queue/queue.c: (event_loop):
3714 * gst/base/gstbasetransform.h:
3715 * gst/gstelement.c: (gst_element_send_event):
3717 * gst/gstpad.c: (gst_pad_send_event):
3720 changing log priority in error situations
3722 2005-10-25 Wim Taymans <wim@fluendo.com>
3724 * gst/gstbin.c: (message_check), (bin_replace_message),
3725 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3726 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3727 (bin_query_duration_init), (bin_query_duration_fold),
3728 (bin_query_duration_done), (bin_query_generic_fold),
3730 Some doc and debug updates.
3731 Cache previously requested query DURATION for speed. invalidate
3732 cached duration if element posts a DURATION message.
3734 2005-10-25 Wim Taymans <wim@fluendo.com>
3736 * docs/design/part-TODO.txt:
3739 * gst/gstbin.c: (message_check), (bin_replace_message),
3740 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3741 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3742 (bin_query_duration_init), (bin_query_duration_fold),
3743 (bin_query_duration_done), (bin_query_generic_fold),
3745 Handle SEGMENT_START/DONE messages correctly.
3746 More evolved query algorithm that handles duration queries
3749 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3750 (gst_element_get_state_func), (gst_element_abort_state),
3751 (gst_element_commit_state), (gst_element_lost_state):
3752 Some more debugging.
3757 2005-10-25 Wim Taymans <wim@fluendo.com>
3759 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3760 Don't use invalid stream_time.
3762 * gst/gstevent.c: (gst_event_new_newsegment):
3763 stream_time in newsegment cannot be undefined.
3765 2005-10-24 Wim Taymans <wim@fluendo.com>
3770 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3772 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3774 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3776 * docs/libs/tmpl/gstdparam.sgml:
3777 * docs/libs/tmpl/gstdplinint.sgml:
3778 * docs/libs/tmpl/gstdpman.sgml:
3779 * docs/libs/tmpl/gstdpsmooth.sgml:
3780 * docs/libs/tmpl/gstunitconvert.sgml:
3783 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3788 === release 0.9.4 ===
3790 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3793 releasing 0.9.4, "Tyrannosaurus Rex"
3795 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3797 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3798 (gst_file_sink_get_current_offset):
3799 Use fseeko() and ftello() if available. When falling back on
3800 lseek() to get the current offset, fflush() first to make sure
3801 everything is up-to-date and we get the right offset.
3803 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3806 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3807 * gst/gsterror.c: (_gst_stream_errors_init):
3809 * gst/gstqueue.c: (gst_queue_loop):
3811 remove prematurely added error category and clean up the instances
3813 2005-10-21 Wim Taymans <wim@fluendo.com>
3815 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3816 (gst_base_sink_get_position), (gst_base_sink_query),
3817 (gst_base_sink_change_state):
3818 Simply set the right flag when going to playing, that's all
3819 we need to do instead of calling a function inside the object
3820 lock (that could take the lock as well and deadlock)
3822 2005-10-21 Wim Taymans <wim@fluendo.com>
3824 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3825 (gst_base_src_loop):
3826 Don't warn, the peer element knows what to do best when
3827 the seek failed, it might try something else.
3829 2005-10-21 Wim Taymans <wim@fluendo.com>
3831 * gst/base/gstbasesrc.c: (gst_base_src_init),
3832 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3835 2005-10-21 Wim Taymans <wim@fluendo.com>
3837 * docs/design/part-segments.txt:
3840 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3841 Correctly set caps, even on the subbufer.
3843 2005-10-21 Wim Taymans <wim@fluendo.com>
3845 * docs/gst/gstreamer-docs.sgml:
3846 * docs/gst/gstreamer-sections.txt:
3853 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3857 And 2% more doc coverage.
3859 2005-10-21 Andy Wingo <wingo@pobox.com>
3861 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3864 2005-10-20 Wim Taymans <wim@fluendo.com>
3866 * gst/gsterror.c: (gst_error_get_message):
3869 * gst/gststructure.c:
3874 2005-10-20 Wim Taymans <wim@fluendo.com>
3879 Another 1% more coverage.
3881 2005-10-20 Wim Taymans <wim@fluendo.com>
3883 * docs/gst/gstreamer-sections.txt:
3884 * gst/gstelement.c: (gst_element_get_state_func),
3885 (gst_element_abort_state), (gst_element_commit_state),
3886 (gst_element_lost_state):
3888 * gst/gstquery.c: (gst_query_set_position),
3889 (gst_query_parse_position), (gst_query_set_duration),
3890 (gst_query_parse_duration), (gst_query_new_convert):
3892 Yay! 1% more docs coverage.
3894 2005-10-20 Wim Taymans <wim@fluendo.com>
3897 * gst/gstquery.c: (gst_query_set_position),
3898 (gst_query_parse_position), (gst_query_set_duration),
3899 (gst_query_parse_duration), (gst_query_new_convert):
3901 * gst/gstutils.c: (gst_element_query_convert):
3903 Docs and consistency fixes.
3905 2005-10-20 Wim Taymans <wim@fluendo.com>
3911 2005-10-20 Wim Taymans <wim@fluendo.com>
3913 * gst/gstbin.c: (message_check), (bin_replace_message),
3914 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3915 (update_degree), (gst_bin_sort_iterator_next),
3916 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3917 Reworked the message handling a bit, cache the messages instead of
3918 only the senders. alows us to do more in the future.
3920 2005-10-20 Wim Taymans <wim@fluendo.com>
3922 * docs/design/part-TODO.txt:
3925 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3926 (gst_base_sink_query):
3927 Don't use clock time to report position when in EOS.
3929 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3931 * tools/gst-inspect.c: (print_interfaces),
3932 (print_element_properties_info), (print_element_info):
3933 Fix interface output with gst-inspect -a; don't print
3934 newlines after double/float properties.
3936 2005-10-20 Wim Taymans <wim@fluendo.com>
3938 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3939 (gst_base_sink_query):
3940 Speed up current position calculation.
3942 * gst/base/gstbasesrc.c: (gst_base_src_query),
3943 (gst_base_src_default_newsegment):
3944 Correctly set stream position in newsegment.
3946 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
3947 (update_degree), (gst_bin_sort_iterator_next),
3948 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
3949 * gst/gstmessage.c: (gst_message_new_custom):
3950 Clean up debugging info
3952 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3953 (gst_queue_loop), (gst_queue_handle_src_query):
3956 2005-10-19 Wim Taymans <wim@fluendo.com>
3958 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3959 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3960 Fix query handling again.
3962 2005-10-19 Wim Taymans <wim@fluendo.com>
3964 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3965 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
3966 * gst/base/gstbasesrc.c: (gst_base_src_query):
3967 * gst/elements/gstfilesink.c: (gst_file_sink_query):
3968 * gst/elements/gsttypefindelement.c:
3969 (gst_type_find_handle_src_query), (find_element_get_length),
3970 (gst_type_find_element_activate):
3973 * gst/gstquery.c: (gst_query_new_position),
3974 (gst_query_set_position), (gst_query_parse_position),
3975 (gst_query_new_duration), (gst_query_set_duration),
3976 (gst_query_parse_duration), (gst_query_set_segment),
3977 (gst_query_parse_segment):
3979 Bundling query position/duration is not a good idea since duration
3980 does not change much and we don't want to recalculate it for every
3981 position query, so they are separated again..
3982 Base value in segment query is not needed.
3984 * gst/gstqueue.c: (gst_queue_handle_src_query):
3985 * gst/gstutils.c: (gst_element_query_position),
3986 (gst_element_query_duration), (gst_pad_query_position),
3987 (gst_pad_query_duration):
3989 Updates for query API change.
3990 Added some docs here and there.
3992 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
3994 * check/gst/gstbin.c: (GST_START_TEST):
3995 * check/gst/gstghostpad.c: (GST_START_TEST):
3996 * check/pipelines/cleanup.c: (GST_START_TEST):
3997 wait on thread to die so we can check refcount correctly
3999 2005-10-18 Wim Taymans <wim@fluendo.com>
4001 * check/pipelines/stress.c: (GST_START_TEST):
4002 Make check a little more time consuming.
4004 2005-10-18 Wim Taymans <wim@fluendo.com>
4006 * check/Makefile.am:
4007 * check/pipelines/stress.c: (GST_START_TEST),
4008 (simple_launch_lines_suite), (main):
4009 Small state change torture test.
4011 * docs/design/part-states.txt:
4012 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4013 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4014 (gst_base_sink_change_state):
4015 Never take state lock from streaming thread, clean up ugly
4016 hacks. Unfortunatly core does not yet support nice ways to
4019 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4021 Start state recalc if a STATE_DIRTY message is posted, but only
4022 on the toplevel bin.
4024 * gst/gstelement.c: (gst_element_sync_state_with_parent),
4025 (gst_element_get_state_func), (gst_element_abort_state),
4026 (gst_element_commit_state), (gst_element_lost_state),
4027 (gst_element_set_state_func), (gst_element_change_state):
4029 State variables are now protected with the LOCK, the state
4030 lock is only used to serialize _set_state().
4032 2005-10-18 Wim Taymans <wim@fluendo.com>
4034 * check/gst/gstbin.c: (GST_START_TEST):
4035 * check/gst/gstmessage.c: (GST_START_TEST):
4036 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4037 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4039 * gst/gstelement.c: (gst_element_abort_state),
4040 (gst_element_commit_state), (gst_element_lost_state):
4041 * gst/gstmessage.c: (gst_message_new_state_changed),
4042 (gst_message_new_state_dirty), (gst_message_new_segment_start),
4043 (gst_message_new_segment_done), (gst_message_new_duration),
4044 (gst_message_parse_state_changed),
4045 (gst_message_parse_segment_start),
4046 (gst_message_parse_segment_done), (gst_message_parse_duration):
4048 * tools/gst-launch.c: (event_loop):
4049 Seriously, this is better than a previous commit as we only need
4050 to notify the fact that an element changed state in a streaming
4051 thread, marking the state of the parents dirty, hence the
4052 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4055 2005-10-18 Wim Taymans <wim@fluendo.com>
4057 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4058 (gst_bin_recalc_func):
4059 * gst/gstelement.c: (gst_element_set_clock),
4060 (gst_element_abort_state), (gst_element_lost_state):
4061 Cleanups, prepare for state change fixes.
4063 2005-10-18 Wim Taymans <wim@fluendo.com>
4066 * gst/gstelement.c: (gst_element_class_init),
4067 (gst_element_set_state), (gst_element_set_state_func):
4069 Pending ABI changes.
4070 GThreadPool in GstBinClass to monitor async state changes.
4071 state_cookie in GstElement to detect concurrent gst/set state.
4072 set_state is now virtual too in case a very complicated element
4073 has to be constructed.
4075 2005-10-18 Wim Taymans <wim@fluendo.com>
4077 * check/gst/gstbin.c: (GST_START_TEST):
4078 * check/gst/gstmessage.c: (GST_START_TEST):
4079 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4080 * gst/gstbin.c: (bin_bus_handler):
4081 * gst/gstelement.c: (gst_element_commit_state),
4082 (gst_element_lost_state):
4083 * gst/gstmessage.c: (gst_message_new_state_changed),
4084 (gst_message_new_segment_start), (gst_message_new_segment_done),
4085 (gst_message_new_duration), (gst_message_parse_state_changed),
4086 (gst_message_parse_segment_start),
4087 (gst_message_parse_segment_done), (gst_message_parse_duration):
4089 * tools/gst-launch.c: (event_loop):
4090 Make messages future proof.
4091 state-change gets a flag if it was a message comming from the
4093 segment-start/stop can also be specified in other formats.
4094 A message to notify an app that a pipeline changed playback
4096 Also fix a GstMessage leak in -launch
4098 2005-10-18 Andy Wingo <wingo@pobox.com>
4100 * gst/gstelement.c (gst_element_dispose): More helpful message.
4102 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4104 reviewed by: <delete if not using a buddy>
4106 * common/gtk-doc.mak:
4108 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4110 * gst/gstregistry.c: (gst_registry_scan_path_level):
4111 unref a plug-in we get that was already initialized
4113 2005-10-18 Stefan Kost <ensonic@users.sf.net>
4115 * docs/gst/gstreamer-sections.txt:
4116 * docs/libs/gstreamer-libs-sections.txt:
4121 2005-10-17 Andy Wingo <wingo@pobox.com>
4123 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4126 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4128 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4130 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4131 (gst_element_get_state_func): Better debug message.
4132 (gst_element_commit_state): s/INFO/DEBUG/.
4133 (gst_element_lost_state, gst_element_change_state):
4135 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4136 (gst_message_new_custom): s/INFO/LOG/.
4138 2005-10-17 Michael Smith <msmith@fluendo.com>
4140 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4141 Check if end time is valid using end time, not start time.
4143 2005-10-17 Stefan Kost <ensonic@users.sf.net>
4145 * check/gst-libs/controller.c: (GST_START_TEST),
4146 (gst_controller_suite):
4147 * libs/gst/controller/gstcontroller.c:
4148 (gst_controlled_property_set_interpolation_mode):
4149 * libs/gst/controller/gstcontroller.h:
4150 * libs/gst/controller/gstinterpolation.c:
4151 * testsuite/controller/.cvsignore:
4152 * testsuite/controller/Makefile.am:
4153 * testsuite/controller/interpolator.c:
4154 merge controller testsuites
4156 remove mem-chunk from docs
4158 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4160 * gst/gstmemchunk.c:
4161 * gst/gstmemchunk.h:
4162 * gst/gsttrashstack.c:
4163 * gst/gsttrashstack.h:
4164 out. get out. you're fired. to the Attic !
4166 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4168 * gst/gstcaps.c: (gst_caps_intersect):
4169 fix signedness issues in a (hopefully) correct way
4170 * gst/gstelement.c: (gst_element_pads_activate):
4172 * gst/gstobject.c: (gst_object_set_parent):
4175 2005-10-17 Julien MOUTTE <julien@moutte.net>
4177 * gst/gstvalue.h: Fix prototypes.
4179 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4181 * docs/gst/gstreamer-sections.txt:
4182 * gst/gst.c: (gst_version_string):
4184 * gst/gstversion.h.in:
4185 * win32/common/libgstreamer.def:
4186 add gst_version_string ()
4188 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4192 * gst/gst.c: (init_post):
4193 * win32/common/config.h.in:
4195 * gst/gstcaps.c: (gst_caps_intersect):
4196 use gint64, the range could be bigger than a guint
4198 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4201 document potential problem in 2038
4203 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4205 * gst/gstcaps.c: (gst_caps_intersect):
4206 Fix guint j diving under 0
4208 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4211 * win32/common/config.h:
4212 * win32/common/config.h.in:
4213 check for process.h, declares getpid() on Windows
4215 include process.h if we have it
4216 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4217 * gst/gstmemchunk.h:
4218 fix signedness issues
4219 * win32/common/libgstreamer.def:
4222 2005-10-16 Julien MOUTTE <julien@moutte.net>
4224 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4225 fix. Because of unsigned ints, caps intersection was going nuts and
4226 trying to access structures with G_MAXUINT index. That fixes
4227 videotestsrc ! ffmpegcolorspace ! fakesink
4228 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4231 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4234 use the gettext macro
4235 * gst/elements/gstelements.c:
4237 * gst/indexers/gstindexers.c:
4238 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4239 * win32/common/config.h:
4241 * win32/common/config.h.in:
4242 add the template to generate config.h
4243 * win32/common/gstenumtypes.c:
4244 * win32/common/gstversion.h:
4247 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4249 * gst/gst.c: (gst_version):
4250 * gst/gstversion.h.in:
4253 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4256 Oops, add missing closing bracket.
4258 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4261 use common m4's for argument checking
4263 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4265 * docs/gst/gstreamer-sections.txt:
4267 Add GST_EVENT_TYPE_NAME() macro.
4269 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4272 * gst/gstpluginfeature.c:
4274 privatize more symbols
4276 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4279 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4280 everything that uses GStreamer API should have the includes
4282 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4284 * docs/gst/gstreamer-sections.txt:
4285 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4287 give each value a _get_type, removes the DATA exports
4289 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4293 remove _gst_registry_auto_load, not used anymore
4294 * gst/gstbin.c: (gst_bin_get_type):
4296 * gst/gstelement.c: (gst_element_get_type):
4298 * gst/gstobject.c: (gst_object_get_type):
4300 * gst/gstpad.c: (gst_pad_get_type):
4302 make _get_type functions similar, fixes data export from library
4304 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4307 correctly make conditionals
4308 * gst/elements/Makefile.am:
4309 * gst/elements/gstelements.c:
4310 fix typo causing fdsrc not to build
4312 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4314 * testsuite/Makefile.am:
4315 * testsuite/bytestream/.cvsignore:
4316 * testsuite/bytestream/Makefile.am:
4317 * testsuite/bytestream/filepadsink.c:
4318 * testsuite/bytestream/gstbstest.c:
4319 * testsuite/bytestream/test1.c:
4320 * testsuite/bytestream/testfile1:
4321 * testsuite/caps/normalisation.c:
4322 * testsuite/caps/random.c: (main):
4323 * testsuite/cleanup/.cvsignore:
4324 * testsuite/cleanup/Makefile.am:
4325 * testsuite/cleanup/cleanup1.c:
4326 * testsuite/cleanup/cleanup2.c:
4327 * testsuite/cleanup/cleanup3.c:
4328 * testsuite/cleanup/cleanup4.c:
4329 * testsuite/cleanup/cleanup5.c:
4330 * testsuite/controller/interpolator.c:
4331 * testsuite/debug/printf_extension.c: (main):
4332 * testsuite/elements/tee.c:
4333 * testsuite/negotiation/.cvsignore:
4334 * testsuite/negotiation/Makefile.am:
4335 * testsuite/negotiation/pad_link.c:
4336 * testsuite/pad/Makefile.am:
4337 * testsuite/pad/chainnopull.c:
4338 * testsuite/pad/getnopush.c:
4339 * testsuite/pad/link.c:
4340 * testsuite/refcounting/sched.c: (create_pipeline):
4341 * testsuite/registry/Makefile.am:
4342 * testsuite/registry/gst-print-formats.c:
4343 * testsuite/schedulers/.cvsignore:
4344 * testsuite/schedulers/142183-2.c:
4345 * testsuite/schedulers/142183.c:
4346 * testsuite/schedulers/143777-2.c:
4347 * testsuite/schedulers/143777.c:
4348 * testsuite/schedulers/147713.c:
4349 * testsuite/schedulers/147819.c:
4350 * testsuite/schedulers/147894-2.c:
4351 * testsuite/schedulers/147894.c:
4352 * testsuite/schedulers/Makefile.am:
4353 * testsuite/schedulers/group_link.c:
4354 * testsuite/schedulers/queue_link.c:
4355 * testsuite/schedulers/relink.c:
4356 * testsuite/schedulers/unlink.c:
4357 * testsuite/schedulers/unref.c:
4358 * testsuite/schedulers/useless_iteration.c:
4359 * testsuite/states/bin.c:
4360 clean out/remove some stuff from the testsuite directories
4362 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4365 check for some headers
4366 * gst/elements/Makefile.am:
4367 * gst/elements/gstelements.c:
4368 don't compile fdsrc without sys/socket.h
4369 * gst/indexers/Makefile.am:
4370 * gst/indexers/gstindexers.c: (plugin_init):
4371 don't compile fileindex without mmap
4373 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4380 * check/Makefile.am:
4381 * docs/gst/Makefile.am:
4382 * examples/helloworld/Makefile.am:
4384 * gst/base/Makefile.am:
4385 * gst/check/Makefile.am:
4386 * gst/elements/Makefile.am:
4387 * gst/indexers/Makefile.am:
4388 * gst/parse/Makefile.am:
4389 * libs/gst/controller/Makefile.am:
4390 * libs/gst/dataprotocol/Makefile.am:
4391 * examples/helloworld/helloworld.c: (event_loop):
4392 compile fixes, though it's not being compiled currently
4394 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4396 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4397 Add some simple tests for the new taglist date API.
4399 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4401 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4402 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4403 Beautify 'last-message' output: print 'none' for buffer timestamps
4404 and durations if none is set; improve alignment with next messages.
4406 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4408 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4409 * gst/gstpluginfeature.h:
4410 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4411 * gst/gstregistry.h:
4412 * docs/gst/gstreamer-sections.txt:
4413 Add new API to check plugin feature version requirements.
4415 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4416 Some basic tests for the above.
4418 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4420 * gst/gststructure.c: (gst_structure_to_string):
4421 guard against NULL printf - happens when for example
4422 a message structure with GstClock gets serialized
4424 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4426 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4427 Fix presumable copy'n'pasto.
4429 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4431 * gst/elements/gstfakesrc.h:
4432 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4433 * gst/elements/gsttypefindelement.c:
4435 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4436 I wonder if this could actually write +2GB files before
4438 2005-10-13 Andy Wingo <wingo@pobox.com>
4440 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4441 Fix Timmeke Waymans bug.
4442 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4443 string of the proper length to gst_caps_from_string. There's a
4444 potential for, before this fix, that this could cause someone
4445 connecting over the network to cause a segfault if the payload is
4448 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4450 * docs/design/draft-push-pull.txt:
4451 * docs/design/part-overview.txt:
4452 * docs/random/TODO-pre-0.9:
4453 * docs/random/old/ChangeLog.gstreamer:
4454 * gst/base/gstpushsrc.c:
4458 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4460 * gst/glib-compat.c: (gst_flags_get_first_value):
4461 * gst/glib-compat.h:
4462 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4463 (gst_value_compare_double), (gst_value_serialize_flags):
4464 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4467 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4470 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4472 * tools/gst-launch.c: (event_loop):
4473 print out clock nicely
4475 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4477 * docs/gst/gstreamer-sections.txt:
4479 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4480 (gst_tag_list_get_date_index):
4481 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4482 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4484 2005-10-13 Julien MOUTTE <julien@moutte.net>
4486 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4487 (gst_collectpads_chain):
4488 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4491 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4493 * docs/gst/gstreamer-sections.txt:
4496 * tools/gst-inspect.c: (main):
4497 * tools/gst-launch.c: (main):
4498 * tools/gst-run.c: (main):
4499 * tools/gst-xmlinspect.c: (main):
4500 fix GOption context leaks
4503 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4507 * win32/common/config.h:
4509 * win32/vs6/grammar.dsp:
4510 * win32/vs6/libgstelements.dsp:
4511 * win32/vs6/libgstreamer.dsp:
4514 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4517 * gst/base/gstbasesrc.c: (gst_base_src_query):
4518 fix more guint64<->gdouble conversions
4520 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4523 add win32-update target
4524 * win32/common/gstconfig.h:
4525 * win32/common/gstenumtypes.c:
4526 * win32/common/gstenumtypes.h:
4527 * win32/common/gstversion.h:
4528 add files that visual studio can't generate
4530 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4533 add a win32-update target
4536 2005-10-12 Wim Taymans <wim@fluendo.com>
4538 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4539 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4540 * gst/gstelement.c: (gst_element_commit_state),
4541 (gst_element_set_state):
4542 Protect flags with proper lock.
4543 unref provided cached clock in dispose.
4545 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4548 * gst/gstminiobject.h:
4550 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4551 removed unused flags from miniobject
4554 2005-10-12 Wim Taymans <wim@fluendo.com>
4556 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4557 (gst_file_sink_event), (gst_file_sink_render):
4558 Flush before seeking.
4560 2005-10-12 Andy Wingo <wingo@pobox.com>
4562 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4563 always been the case.
4565 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4567 * check/gst/gstbin.c: (GST_START_TEST):
4568 * docs/gst/gstreamer-sections.txt:
4569 * gst/base/gstbasesink.c: (gst_base_sink_init):
4570 * gst/base/gstbasesrc.c: (gst_base_src_init),
4571 (gst_base_src_get_range), (gst_base_src_check_get_range),
4572 (gst_base_src_start), (gst_base_src_stop):
4573 * gst/base/gstbasesrc.h:
4574 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4575 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4576 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4580 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4582 * gst/gstelement.c: (gst_element_is_locked_state),
4583 (gst_element_set_locked_state), (gst_element_commit_state),
4584 (gst_element_set_state):
4586 * gst/gstindex.c: (gst_index_init):
4588 * gst/gstminiobject.h:
4589 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4590 (gst_object_set_parent):
4592 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4593 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4595 * gst/gstpadtemplate.h:
4596 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4597 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4598 * gst/gstpipeline.h:
4599 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4600 (gst_file_index_commit):
4601 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4602 * testsuite/pad/link.c: (gst_test_src_init),
4603 (gst_test_filter_init), (gst_test_sink_init):
4604 * testsuite/states/locked.c: (main):
4605 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4606 moved bitshift from macro to enum definition
4608 2005-10-12 Wim Taymans <wim@fluendo.com>
4610 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4611 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4612 (gst_file_sink_render):
4613 Some more debugging info.
4615 2005-10-12 Wim Taymans <wim@fluendo.com>
4617 * docs/design/part-states.txt:
4618 * tools/gst-launch.c: (main):
4620 Revert non-intentional change.
4622 2005-10-12 Wim Taymans <wim@fluendo.com>
4624 * check/gst/gstbin.c: (GST_START_TEST):
4625 * check/gst/gstelement.c: (GST_START_TEST):
4626 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4627 * check/gst/gstghostpad.c: (GST_START_TEST):
4628 * check/gst/gstpipeline.c: (GST_START_TEST):
4629 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4630 * check/states/sinks.c: (GST_START_TEST):
4631 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4632 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4633 (gst_bin_remove_func), (gst_bin_get_state_func),
4634 (gst_bin_recalc_state), (gst_bin_change_state_func),
4636 * gst/gstelement.c: (gst_element_get_state_func),
4637 (gst_element_get_state), (gst_element_abort_state),
4638 (gst_element_commit_state), (gst_element_set_state),
4639 (gst_element_change_state), (gst_element_change_state_func):
4641 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4642 (gst_pipeline_provide_clock_func):
4643 * gst/gstutils.c: (gst_element_link_pads_filtered):
4644 * tools/gst-launch.c: (main):
4645 * tools/gst-typefind.c: (main):
4646 Use GstClockTime in _get_state() instead of GTimeVal.
4647 Remove old code in gstutils.c
4649 2005-10-12 Andy Wingo <wingo@pobox.com>
4651 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4654 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4655 there is no task. Shouldn't affect any code, as nothing in our
4656 plugins checks this return value.
4657 (gst_pad_stop_task): Also take the stream lock if the pad has no
4660 2005-10-12 Wim Taymans <wim@fluendo.com>
4662 * gst/gstpad.c: (pre_activate), (post_activate),
4663 (gst_pad_activate_pull), (gst_pad_activate_push):
4664 Cleanup activation code. Reset old state if
4667 2005-10-12 Wim Taymans <wim@fluendo.com>
4669 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4670 (gst_base_sink_change_state):
4671 No need to prerol after receiving EOS.
4673 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4674 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4675 * gst/elements/gstidentity.c: (gst_identity_event):
4676 Print events more verbosely.
4678 2005-10-12 Wim Taymans <wim@fluendo.com>
4680 * check/Makefile.am:
4681 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4682 * check/states/sinks2.c:
4683 Moved sinks2 testcode in sinks check.
4685 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4686 (gst_bin_remove_func), (gst_bin_recalc_state),
4687 (gst_bin_change_state_func), (bin_bus_handler):
4688 Fix potential race condition when _get_state() iterated over an
4689 ASYNC element right before it posted a state completion.
4692 Do proper cast here.
4694 * gst/gstevent.c: (gst_event_new_newsegment),
4695 (gst_event_parse_newsegment):
4696 A playback rate of 0.0 is not allowed.
4698 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4700 * win32/common/config.h:
4701 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4702 (_trewinddir), (_ttelldir), (_tseekdir):
4703 * win32/common/dirent.h:
4704 * win32/common/gtchar.h:
4705 * win32/common/libgstbase.def:
4706 * win32/common/libgstreamer.def:
4707 * win32/vs6/grammar.dsp:
4708 * win32/vs6/gst_inspect.dsp:
4709 * win32/vs6/gst_launch.dsp:
4710 * win32/vs6/gstreamer.dsw:
4711 * win32/vs6/libgstbase.dsp:
4712 * win32/vs6/libgstelements.dsp:
4713 * win32/vs6/libgstreamer.dsp:
4714 Visual Studio 6 project files, and a new common directory.
4717 2005-10-11 Wim Taymans <wim@fluendo.com>
4719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4720 (gst_base_sink_do_sync), (gst_base_sink_query),
4721 (gst_base_sink_change_state):
4722 * gst/base/gstbasesink.h:
4723 Correctly parse newsegment info.
4725 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4727 * gst/gst.c: (init_post):
4728 split plugin paths correctly
4730 2005-10-11 Wim Taymans <wim@fluendo.com>
4732 * check/gst/gstevent.c: (GST_START_TEST):
4733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4734 (gst_base_sink_change_state):
4735 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4736 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4737 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4738 * gst/gstevent.c: (gst_event_new_newsegment),
4739 (gst_event_parse_newsegment):
4741 Added extra flag to newsegment for future API freeze.
4742 Updated check and base elements.
4744 2005-10-11 Julien MOUTTE <julien@moutte.net>
4746 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4747 (gst_collectpads_add_pad), (gst_collectpads_pop),
4748 (gst_collectpads_event), (gst_collectpads_chain):
4749 * gst/base/gstcollectpads.h: Handle EOS correctly.
4751 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4753 * tools/gst-launch.c: (main):
4754 more null protecting
4756 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4758 * gst/gst-i18n-lib.h:
4759 check for ENABLE_NLS, not GETTEXT_PACKAGE
4760 * gst/gstregistry.c: (gst_registry_add_plugin),
4761 (gst_registry_scan_path_level),
4762 (_gst_registry_remove_cache_plugins):
4763 protect possibly NULL strings
4764 * gst/parse/types.h:
4765 config.h already included before
4766 * tools/gst-inspect.c: (main):
4767 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4768 check for ENABLE_NLS, not GETTEXT_PACKAGE
4769 * tools/gst-launch.c: (main):
4770 check for ENABLE_NLS, not GETTEXT_PACKAGE
4772 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4775 if we don't have glib, fail before testing 2.8
4776 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4777 fix a leak, should fix plugins-base testsuite
4779 2005-10-11 Andy Wingo <wingo@pobox.com>
4781 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4782 take the mode we're going to as an arg. Go head and set the mode
4783 and flushing flags now, so that if the activate function starts a
4784 thread all the flags will be in the right state.
4785 (post_activate): Renamed also. Just handle making sure streaming
4786 finishes for the deactivation case, and setting the deactivated
4788 (gst_pad_set_active): Complain loudly if deactivation fails.
4789 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4790 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4791 remove the terrible hack.
4793 2005-10-11 Wim Taymans <wim@fluendo.com>
4795 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4796 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4797 (gst_bin_recalc_state), (gst_bin_change_state_func),
4798 (gst_bin_dispose), (bin_bus_handler):
4800 Prepare to make current EOS message queue more generic.
4803 * gst/gstevent.c: (gst_event_new_newsegment),
4804 (gst_event_parse_newsegment):
4806 Rename base to stream_time.
4811 2005-10-11 Wim Taymans <wim@fluendo.com>
4813 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4814 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4815 (gst_bin_change_state_func), (bin_bus_handler):
4817 Work on proper clock selection.
4819 2005-10-11 Edward Hervey <edward@fluendo.com>
4821 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4822 * libs/gst/controller/gstcontroller.h:
4823 Added GList* version of _remove_properties() in order to be able to wrap
4826 2005-10-11 Wim Taymans <wim@fluendo.com>
4828 * docs/design/part-states.txt:
4831 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4832 (gst_bin_change_state_func), (bin_bus_handler):
4833 Doc updates. Don't distribute the same clock over and over again.
4839 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4840 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4841 (gst_pad_send_event):
4843 Make probe emission threadsafe again.
4844 Register quarks and move _get_name() from utils.
4847 * gst/gstpipeline.c: (gst_pipeline_class_init),
4848 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4849 Only redistribute the clock of it changed.
4851 * gst/gstsystemclock.h:
4856 Moved the _flow_get_name() to GstPad.
4858 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4860 * check/gst-libs/gdp.c: (GST_START_TEST):
4861 * check/gst/gstcaps.c: (GST_START_TEST):
4862 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4863 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4864 (gst_dp_packet_from_caps):
4865 fix more valgrind warnings before turning up the heat
4867 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4869 * gst/parse/grammar.y:
4870 some cleanup before the hacking
4872 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4874 * gst/base/gstbasesrc.c: (gst_base_src_query):
4876 * gst/gstutils.c: (gst_guint64_to_gdouble),
4877 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4879 externalize, basesrc uses it
4880 obviously the implementation needs testing
4882 2005-10-10 Wim Taymans <wim@fluendo.com>
4884 * tests/sched/Makefile.am:
4885 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4886 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4888 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4890 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4891 apparently converting from guint64 to double is not implemented
4894 2005-10-10 Wim Taymans <wim@fluendo.com>
4896 * check/Makefile.am:
4897 * check/generic/states.c: (GST_START_TEST):
4898 * check/gst/gstbin.c: (GST_START_TEST):
4899 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4900 * check/states/sinks.c: (GST_START_TEST):
4901 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4903 Check fixes, use API as stated in design docs, remove hacks.
4905 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4906 (gst_base_sink_change_state):
4907 Catch stopping our task while we're shutting down.
4909 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4910 (gst_bin_remove_func), (gst_bin_get_state_func),
4911 (gst_bin_recalc_state), (gst_bin_change_state_func),
4914 * gst/gstelement.c: (gst_element_init),
4915 (gst_element_get_state_func), (gst_element_abort_state),
4916 (gst_element_commit_state), (gst_element_lost_state),
4917 (gst_element_set_state), (gst_element_change_state),
4918 (gst_element_change_state_func):
4920 New state change algorithm (see #318116)
4922 * gst/gstpipeline.c: (gst_pipeline_class_init),
4923 (gst_pipeline_init), (gst_pipeline_set_property),
4924 (gst_pipeline_get_property), (do_pipeline_seek),
4925 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4926 * gst/gstpipeline.h:
4927 Remove crude state change hacks.
4932 * tools/gst-launch.c: (main):
4933 Fixes for state change. Needs some more work to fully use the
4936 2005-10-10 Andy Wingo <wingo@pobox.com>
4938 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4940 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4941 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4944 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4946 * gst/gstiterator.c: (gst_iterator_new):
4947 Fix my previous commit: GTypes passed to gst_iterator_new()
4948 can be fundamental types.
4950 2005-10-10 Wim Taymans <wim@fluendo.com>
4952 * gst/gstelement.c: (gst_element_iterate_pad_list),
4953 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
4954 (gst_element_iterate_sink_pads):
4955 Use src/sink pads lists for the respective iterators instead
4958 2005-10-10 Andy Wingo <wingo@pobox.com>
4960 Merged in popt removal + GOption addition patch from Ronald, bug
4963 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
4964 GstElement macros around, remove popt-related symbols, add goption
4967 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
4969 * docs/gst/Makefile.am:
4970 * docs/libs/Makefile.am: No POPT_CFLAGS.
4972 * examples/manual/Makefile.am:
4973 * docs/manual/basics-init.xml: Doc updates with an example.
4975 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
4976 (gst_init), (parse_one_option), (parse_goption_arg):
4977 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
4978 bit of hand merging and debugging to get the GOption stuff working
4981 * tests/Makefile.am:
4982 * tools/Makefile.am:
4983 * tools/gst-inspect.c: (main):
4984 * tools/gst-launch.c: (main):
4985 * tools/gst-run.c: (main):
4986 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
4988 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
4990 * gst/gstiterator.c: (gst_iterator_new):
4991 Add assertions to make sure passed GType is likely to really
4992 be a GType (as the compiler won't catch it if the size and
4993 GType arguments get mixed up, see #318447).
4995 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
4997 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4999 * gst/gstbin.c: (gst_bin_iterate_sorted):
5000 Pass GType and size arguments to gst_iterator_new() in the right
5001 order (maybe we should make _new() take the GType as first argument
5002 just like _new_list()?) (#318447).
5005 2005-10-10 Wim Taymans <wim@fluendo.com>
5007 * gst/gstelement.c: (gst_element_finalize):
5008 And free the GStaticRecMutex too
5010 2005-10-10 Andy Wingo <wingo@pobox.com>
5012 * gst/gstelement.c (gst_element_init, gst_element_finalize):
5013 Allocate and free the mutex properly.
5015 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5017 (GstElement): The state_lock is now recursive. Rebuild your
5018 plugins, suckers. Old macros adapted.
5020 * docs/gst/gstreamer-sections.txt: Doc updates.
5023 * gst/gstutils.c (g_static_rec_cond_timed_wait)
5024 (g_static_rec_cond_wait): Ported from state changes patch, while
5025 we wait on bug #317802 to be solved in a well-distributed GLib.
5027 * gst/gstelement.c (gst_element_change_state_func): Renamed from
5028 gst_element_change_state, variable name changes.
5029 (gst_element_change_state): Split out of gst_element_set_state in
5030 preparation for the state change merge. Doesn't pay attention to
5031 the 'transition' argument.
5032 (gst_element_set_state): Updates, hopefully purely cosmetic.
5033 (gst_element_sync_state_with_parent): MT-safety. Ported from the
5035 (gst_element_get_state_func): Renamed from get_state, cosmetic
5038 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5040 * gst/elements/gstelements.c:
5041 * win32/GStreamer.vcproj:
5043 * win32/dirent.c: (_tseekdir):
5044 * win32/gst-inspect.vcproj:
5045 * win32/gst-launch.vcproj:
5046 * win32/gstconfig.h:
5047 * win32/gstelements.vcproj:
5048 * win32/gstenumtypes.c: (gst_object_flags_get_type):
5049 * win32/gstreamer.def:
5051 updates for the win32 build (patch from Sebastien Moutte)
5053 2005-10-10 Andy Wingo <wingo@pobox.com>
5055 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5056 gst_bin_get_state, cleaned up (but no logic changes).
5057 (bin_element_is_sink): Comment updates.
5058 (sink_iterator_filter): Remove needless cast.
5059 (gst_bin_iterate_sinks): Doc update.
5060 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5061 cleaned up (but no logic changes).
5063 * check/states/sinks.c (test_src_sink): Cleanups from the state
5065 (test_livesrc_sink): Sync on the state.
5067 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5068 the state change patch.
5070 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5073 * check/gst/gstbin.c: Merge in some style fixes and additional
5074 checks from Wim's state change patch.
5076 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5078 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5079 (gst_type_find_helper):
5080 Check whether we have the requested data already in our list of
5081 cached buffers before pulling a new buffer; also make the buffer
5082 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5084 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5089 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5090 don't use long long, it's not portable. Replacing with
5091 gint64 seems to work; let's hope no skeletons fall out of the closet.
5093 2005-10-10 Andy Wingo <wingo@pobox.com>
5095 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5097 2005-10-09 Stefan Kost <ensonic@users.sf.net>
5099 * docs/gst/gstreamer-sections.txt:
5104 * gst/gstmessage.c: (gst_message_parse_state_changed):
5107 more docs, fix compilation
5109 2005-10-09 Philippe Khalaf <burger@speedy.org>
5111 Fixed a few forgotten variables on previous commit
5113 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
5115 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5116 Fix evil typefind crasher: getrange() might return a short
5117 buffer at the end of a file, but gst_type_find_peek() must
5118 either return the full data as requested or NULL, but
5119 never a short buffer.
5121 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
5123 * gst/gstmessage.c: (gst_message_new_state_changed),
5124 (gst_message_parse_state_changed):
5126 don't use "new", it's a C++ keyword
5128 2005-10-08 Wim Taymans <wim@fluendo.com>
5130 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5131 * gst/gstelement.c: (gst_element_post_message):
5132 * gst/gstpipeline.c: (gst_pipeline_change_state):
5133 Small docs and debug updates.
5135 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5137 * docs/gst/gstreamer-sections.txt:
5138 * gst/gstelementfactory.c:
5143 2005-10-08 Wim Taymans <wim@fluendo.com>
5145 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5146 (gst_bin_dispose), (bin_bus_handler):
5147 Fix typos, add comments.
5148 Clear EOS list when going to PAUSED from any direction and do it
5149 in a threadsafe way.
5150 Get base time in a threadsafe way too.
5151 Fix confusing debug in the change_state function.
5152 Various other small cleanups.
5154 * gst/gstelement.c: (gst_element_post_message):
5155 Fix very verbose bus posting code.
5157 * gst/gstpipeline.c: (gst_pipeline_class_init),
5158 (gst_pipeline_set_property), (gst_pipeline_get_property),
5159 (gst_pipeline_change_state):
5160 Small ARG_ -> PROP_ cleanup
5162 2005-10-08 Wim Taymans <wim@fluendo.com>
5164 * gst/gstbin.c: (is_eos), (bin_bus_handler):
5165 Do a less CPU demanding EOS check because we can.
5167 2005-10-08 Wim Taymans <wim@fluendo.com>
5169 * libs/gst/dataprotocol/dataprotocol.c:
5170 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5171 (gst_dp_packet_from_event):
5172 * libs/gst/dataprotocol/dataprotocol.h:
5173 * libs/gst/dataprotocol/dp-private.h:
5174 It's about time we bump the version number.
5175 Since event types don't fit in the guint8 anymore describing
5176 the payload type, make payload type 16 bits wide.
5178 2005-10-08 Wim Taymans <wim@fluendo.com>
5180 * docs/design/part-TODO.txt:
5181 * docs/design/part-clocks.txt:
5182 * docs/design/part-events.txt:
5183 * docs/design/part-gstbin.txt:
5184 * docs/design/part-gstelement.txt:
5185 * docs/design/part-gstpipeline.txt:
5186 * docs/design/part-live-source.txt:
5187 * docs/design/part-messages.txt:
5188 * docs/design/part-overview.txt:
5189 * docs/design/part-states.txt:
5192 2005-10-08 Wim Taymans <wim@fluendo.com>
5196 Fix event quark registration.
5197 Add some space between events so we can insert them in the
5200 2005-10-08 Wim Taymans <wim@fluendo.com>
5202 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5203 (gst_base_sink_handle_buffer):
5210 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5211 (gst_queue_set_property), (gst_queue_get_property):
5213 Remove old unused properties.
5215 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5216 * docs/gst/gstreamer-sections.txt:
5219 * gst/gstminiobject.c:
5220 * gst/gstminiobject.h:
5224 lots of new docs and doc fixes
5226 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5228 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5230 * gst/gstregistry.c: (gst_registry_lookup_locked),
5231 (gst_registry_scan_path_level):
5232 * gst/gstregistryxml.c: (load_plugin):
5233 Only ever load one plugin for a given plugin basename.
5234 This ensures correct overriding of GST_PLUGIN_PATH over
5235 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5236 system installed plugins.
5238 2005-10-08 Wim Taymans <wim@fluendo.com>
5240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5241 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5242 Prepare for doing QOS.
5244 2005-10-08 Wim Taymans <wim@fluendo.com>
5246 * check/gst/gstbin.c: (GST_START_TEST):
5247 * check/pipelines/cleanup.c: (GST_START_TEST):
5248 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5249 Allow new clock message too.
5251 2005-10-08 Wim Taymans <wim@fluendo.com>
5253 * gst/gstmessage.c: (gst_message_new_error),
5254 (gst_message_new_warning), (gst_message_new_tag),
5255 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5256 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5257 (gst_message_new_segment_start), (gst_message_new_segment_done),
5258 (gst_message_parse_state_changed),
5259 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5260 (gst_message_parse_new_clock):
5262 Also carry the clock in question.
5264 2005-10-08 Wim Taymans <wim@fluendo.com>
5266 * gst/gstmessage.c: (gst_message_new_custom),
5267 (gst_message_new_eos), (gst_message_new_error),
5268 (gst_message_new_warning), (gst_message_new_tag),
5269 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5270 (gst_message_new_new_clock), (gst_message_new_segment_start),
5271 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5272 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5275 Added clock related messages.
5277 * gst/gstpipeline.c: (gst_pipeline_change_state):
5278 Post message when the clock changed.
5280 * tools/gst-launch.c: (event_loop):
5283 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5285 * tools/gst-inspect.c: (print_element_properties_info):
5286 Can't pass NULL strings to g_print() on windows.
5288 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5291 * docs/gst/Makefile.am:
5292 * docs/gst/gstreamer-docs.sgml:
5293 * docs/gst/running.xml:
5294 * docs/version.entities.in:
5295 add a chapter on running GStreamer.
5296 document GST_DEBUG and GST_PLUGIN* env vars
5298 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5303 remove PLUGINS_BUILDDIR stuff
5304 * gst/gst.c: (init_post):
5305 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5307 remove, it was condescending and not needed
5309 2005-10-08 Wim Taymans <wim@fluendo.com>
5311 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5312 (gst_base_sink_handle_object), (gst_base_sink_event),
5313 (gst_base_sink_wait), (gst_base_sink_handle_event),
5314 (gst_base_sink_change_state):
5315 * gst/base/gstbasesink.h:
5316 Repost EOS message while going to PLAYING if still EOS.
5317 Make sure that when receiving a FLUSH_START we don't attempt
5318 to sync on the clock anymore.
5320 2005-10-08 Wim Taymans <wim@fluendo.com>
5322 * tools/gst-launch.c: (event_loop):
5323 Better message printout.
5325 2005-10-08 Wim Taymans <wim@fluendo.com>
5327 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5328 (gst_bin_child_proxy_get_children_count):
5329 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5330 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5331 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5332 (gst_child_proxy_set_valist):
5333 * gst/parse/grammar.y:
5334 Make ChildProxy threadsafe and fix mem leaks.
5336 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5338 * gst/gst.c: (init_post):
5339 debug the GST_PLUGIN_ env vars
5341 2005-10-08 Wim Taymans <wim@fluendo.com>
5343 * check/gst/gstbin.c: (GST_START_TEST):
5344 * check/gst/gstmessage.c: (GST_START_TEST):
5345 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5346 * gst/gstelement.c: (gst_element_commit_state),
5347 (gst_element_lost_state):
5348 * gst/gstmessage.c: (gst_message_new_state_changed),
5349 (gst_message_parse_state_changed):
5351 * tools/gst-launch.c: (event_loop):
5352 Added extra field to STATE_CHANGE message with the pending
5353 state, which will be different from the new state soon.
5355 2005-10-08 Wim Taymans <wim@fluendo.com>
5357 * gst/gstbus.c: (gst_bus_pop):
5359 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5360 Small cleanups and doc updates.
5362 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5364 * gst/gst.c: (init_pre):
5365 * gst/gstbin.c: (gst_bin_add_func):
5366 log distributing clocks and base time
5367 * gst/gstregistry.c: (gst_registry_add_plugin),
5368 (gst_registry_scan_path_level), (gst_registry_scan_path):
5369 clean up the debugging output a little
5370 * gst/gstutils.c: (gst_element_state_get_name):
5371 warn about a memleak (I've actually seen this be used, though
5372 it was probably a bug)
5374 2005-10-07 Wim Taymans <wim@fluendo.com>
5376 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5377 (gst_base_src_init), (gst_base_src_default_newsegment),
5378 (gst_base_src_newsegment), (gst_base_src_do_seek),
5379 (gst_base_src_loop), (gst_base_src_start):
5380 * gst/base/gstbasesrc.h:
5381 Make the newsegment event customizable by subclasses.
5383 2005-10-07 Wim Taymans <wim@fluendo.com>
5385 * gst/gstevent.c: (gst_event_new_buffersize),
5386 (gst_event_parse_buffersize):
5388 New event for future idea.
5390 2005-10-07 Andy Wingo <wingo@pobox.com>
5392 * gst/gstelement.c (gst_element_post_message): Doc update.
5394 * docs/gst/gstreamer-sections.txt: Update.
5396 * gst/gstmessage.c (gst_message_new_application): Made into a
5397 function like honest API calls.
5398 (gst_message_new_element): New message type.
5400 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5402 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5403 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5406 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5407 NO_PREROLL from gst_element_change_state to fall through.
5409 2005-10-07 Wim Taymans <wim@fluendo.com>
5411 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5412 (gst_ghost_pad_do_activate_push):
5413 Activating a ghostpad with no internal pad in push mode
5416 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5419 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5420 Fixes compilation on Windows.
5422 2005-10-07 Michael Smith <msmith@fluendo.com>
5424 * tools/gst-inspect.c:
5425 Print out feature and plugin count at the end when printing out
5428 2005-10-04 Michael Smith <msmith@fluendo.com>
5430 * gst/gsterror.c: (_gst_stream_errors_init):
5431 Add another error string used in a few existing plugins.
5434 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5435 * tools/gst-inspect.c: (print_element_info):
5436 When a feature disappears from a plugin (and the feature exists in
5437 the cached registry file), things went horribly wrong. This isn't a
5438 complete fix, we should actually be removing the 'missing' features
5439 from the features list when we load the actual plugin. That's not
5442 2005-10-04 Johan Dahlin <johan@gnome.org>
5444 * check/gst/gstiterator.c: (GST_START_TEST):
5445 * gst/gstbin.c: (gst_bin_iterate_elements),
5446 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5447 * gst/gstelement.c: (gst_element_iterate_pads):
5448 * gst/gstformat.c: (gst_format_iterate_definitions):
5449 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5450 (gst_iterator_new_list), (gst_iterator_filter):
5451 * gst/gstiterator.h:
5452 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5453 Add a GType to GstIterator, update callsites and tests.
5455 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5457 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5458 give events a chance to be handled by event probes when the pad
5461 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5463 * gst/gstevent.c: (gst_event_type_get_name),
5464 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5466 add string representations for event types
5468 2005-10-06 Wim Taymans <wim@fluendo.com>
5470 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5471 Don't use NULL pointers.
5473 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5475 * gst/gst_private.h:
5479 * gst/gstpluginfeature.c:
5480 widen the debug category in output to fit the biggest one we have
5481 add a bus category and use it
5482 play with the colors
5483 fix up some categories
5485 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5487 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5488 add push activation of sink ghost pads.
5489 Andye, please verify
5491 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5493 * gst/gstutils.c: (gst_element_link_pads):
5494 fix a bug in the case where neither element has a pad
5495 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5496 add a test for that case
5498 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5500 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5501 emit have-data before checking for peers. This allows
5502 for probe handlers to connect elements. This helps autopluggers.
5503 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5505 add six checks, linked/unlinked with no/true/false probe
5507 2005-10-04 Wim Taymans <wim@fluendo.com>
5509 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5510 (gst_fake_sink_event), (gst_fake_sink_preroll),
5511 (gst_fake_sink_render), (gst_fake_sink_change_state):
5512 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5513 (gst_fake_src_get_property), (gst_fake_src_create),
5514 (gst_fake_src_stop):
5515 * gst/elements/gstidentity.c: (gst_identity_stop):
5516 Protect last_message with lock.
5518 2005-10-04 Edward Hervey <edward@fluendo.com>
5521 Added precision in the comments for GST_FORMAT_DEFAULT
5523 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5525 * tools/gst-launch.c: (main):
5526 Don't try to run erroneous pipelines.
5528 2005-10-04 Julien MOUTTE <julien@moutte.net>
5530 * gst/gstbus.c: We don't need this header.
5532 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5537 === release 0.9.3 ===
5539 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5543 Releasing 0.9.3, "Unregistered"
5545 2005-10-03 Andy Wingo <wingo@pobox.com>
5547 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5548 whereby calling a pad's activatepush() function can start a thread
5549 that starts to push or pull before the pad gets the FLUSHING flag
5550 unset. Hack around it by holding the stream lock until the flag is
5551 set. Need to replace this with a proper solution. Together with
5552 the ghost pad fixes, this fixes mp3 playing/tagreading.
5554 * docs/design/part-gstghostpad.txt: Add a note about activation of
5555 proxy pads outside of ghost pads.
5557 * gst/gstghostpad.c: Implement the ghost pad activation design.
5559 2005-10-02 Andy Wingo <wingo@pobox.com>
5561 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5562 It is volatile, after all.
5564 * docs/design/part-gstghostpad.txt: Flesh out activation with
5567 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5570 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5573 Fix (unused) AM_CONDITIONAL tests.
5575 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5577 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5579 * gst/gstutils.c: (gst_pad_query_convert):
5580 Add assertion that makes sure src_val is >=0, just like
5581 gst_query_new_convert() has. (#315895)
5583 2005-09-30 Edward Hervey <edward@fluendo.com>
5585 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5586 Let's not iterate pads we're not interested in, it avoids getting
5587 sky-high refcounts on sinkpad.
5589 2005-09-30 Wim Taymans <wim@fluendo.com>
5591 * gst/gstelement.c: (gst_element_set_state),
5592 (gst_element_change_state):
5593 Small tweak, element in ASYNC remains ASYNC.
5595 2005-09-30 Wim Taymans <wim@fluendo.com>
5597 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5598 Only error is an error.
5600 * gst/gstbin.c: (gst_bin_change_state):
5603 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5604 Also call pad_block in pad alloc.
5606 * gst/gstutils.c: (gst_flow_get_name):
5609 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5611 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5612 (gst_base_src_get_range):
5613 Fix documentation typos. Add some more debug info.
5615 2005-09-29 David Schleef <ds@schleef.org>
5617 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5618 more end-user friendly.
5619 * tools/gst-inspect.c: (main): Check if command-line argument is
5620 a file and attempt to load that file as a plugin.
5622 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5624 * check/gst/gstbin.c:
5625 * check/states/sinks.c:
5626 fix tests for the new warning
5627 * check/gst/gstpipeline.c:
5628 add a test for pipeline and bus interaction
5630 elements should be NULL if they get disposed; add a warning if not
5632 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5635 for 2.6 refcounting, make debug log more correct by printing
5636 the actual refcounts at the time of swap (Wim)
5638 2005-09-29 Andy Wingo <wingo@pobox.com>
5640 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5641 removes signal watches previously added via
5642 gst_bus_add_signal_watch.
5643 (gst_bus_add_signal_watch): Don't return the source id, just store
5644 it on the bus if there wasn't an id already.
5646 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5647 add_signal_watch and remove_signal_watch.
5649 2005-09-29 Edward Hervey <edward@fluendo.com>
5651 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5652 Better if we actually iterate the list :)
5654 2005-09-29 Wim Taymans <wim@fluendo.com>
5656 * check/gst/gstbin.c: (GST_START_TEST):
5657 Change for new bus API.
5659 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5660 (send_messages), (GST_START_TEST), (gstbus_suite):
5661 Change for new bus signal API.
5663 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5664 (gst_bus_source_prepare), (gst_bus_source_check),
5665 (gst_bus_create_watch), (gst_bus_add_watch_full),
5666 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5667 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5669 Remove support for multiple GSources operating on different
5670 message types as it is too complex and unneeded when using
5672 Added support for receiving signals from the bus.
5674 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5676 * docs/libs/tmpl/gstdataprotocol.sgml:
5677 * docs/manual/advanced-dataaccess.xml:
5678 * gst/elements/gstcapsfilter.c:
5680 rename filter-caps to caps property
5682 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5684 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5685 More robust fraction string parsing.
5687 * docs/pwg/appendix-porting.xml:
5688 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5690 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5692 * gst/gstcaps.c: (gst_caps_do_simplify):
5693 Thou shalt not free a structure and then continue using it
5694 in the next loop iteration.
5696 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5698 Add test case for caps simplification.
5700 2005-09-29 Wim Taymans <wim@fluendo.com>
5702 * check/gst/gstbin.c: (GST_START_TEST):
5705 2005-09-29 Wim Taymans <wim@fluendo.com>
5707 * check/gst/gstbin.c: (GST_START_TEST):
5710 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5711 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5712 (find_element), (gst_bin_sort_iterator_next),
5713 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5714 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5715 (gst_bin_change_state), (gst_bin_dispose):
5716 A bin does not have a bus, it gets the bus from the parent.
5718 * gst/gstelement.c: (gst_element_requires_clock),
5719 (gst_element_provides_clock), (gst_element_is_indexable),
5720 (gst_element_is_locked_state), (gst_element_change_state),
5721 (gst_element_set_bus_func):
5724 * gst/gstpipeline.c: (gst_pipeline_class_init),
5725 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5726 The pipeline provides a bus.
5728 2005-09-28 Johan Dahlin <johan@gnome.org>
5730 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5731 gst_structure_get_enum instead of gst_structure_get_int
5733 * gst/gststructure.c (gst_structure_get_enum): Impl.
5735 * gst/gststructure.h (gst_structure_get_enum): Add
5737 * docs/gst/gstreamer-sections.txt: Ditto
5739 * gst/gstmessage.c (gst_message_new_state_changed): Use
5740 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5741 which does introspection.
5742 Reviewed by Christian Schaller
5744 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5746 * gst/gstinfo.c: (gst_debug_log_default):
5747 don't do dummy g_strdup()s
5748 * libs/gst/controller/gstcontroller.c:
5749 (on_object_controlled_property_changed),
5750 (gst_controlled_property_new), (gst_controller_new_valist),
5751 (gst_controller_new_list),
5752 (gst_controller_remove_properties_valist), (gst_controller_set),
5753 (gst_controller_get), (gst_controller_sync_values),
5754 (gst_controller_get_value_array), (_gst_controller_class_init),
5755 (gst_controller_get_type):
5756 * libs/gst/controller/gstcontroller.h:
5757 * libs/gst/controller/gstinterpolation.c:
5758 (gst_controlled_property_find_timed_value_node):
5759 convert // to /**/ comments
5761 2005-09-28 Wim Taymans <wim@fluendo.com>
5763 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5764 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5765 (gst_bus_sync_signal_handler):
5767 Added async-message and sync-message signals to the bus.
5768 Added helper BusFunc to emit signals for all posted messages.
5770 * gst/gstmessage.c: (gst_message_type_get_name),
5771 (gst_message_type_to_quark), (gst_message_get_type):
5773 Register quarks for message names.
5775 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5777 * docs/libs/gstreamer-libs-sections.txt:
5778 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5779 (gst_controller_new_list):
5780 * libs/gst/controller/gstcontroller.h:
5781 added another constructor for language bindings
5783 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5785 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5789 * gst/gstinfo.c: (_gst_debug_init):
5790 slightly more readable color for refcount debugging
5792 2005-09-28 Wim Taymans <wim@fluendo.com>
5794 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5795 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5796 (find_element), (gst_bin_sort_iterator_next),
5797 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5798 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5799 (gst_bin_change_state), (gst_bin_dispose):
5800 Small doc fixes. get_clock -> provide_clock.
5802 * gst/gstelement.c: (gst_element_class_init),
5803 (gst_element_provides_clock), (gst_element_provide_clock),
5804 (gst_element_get_clock), (gst_element_commit_state),
5805 (gst_element_lost_state):
5807 Make get/set_clock() symetric. Add provide_clock vmethod since
5808 that is actually what this function does.
5810 * gst/gstpipeline.c: (gst_pipeline_class_init),
5811 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5812 (gst_pipeline_get_clock):
5813 get_clock -> provide_clock.
5815 2005-09-28 Andy Wingo <wingo@pobox.com>
5817 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5818 lieu of real docs...
5820 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5822 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5824 * gst/elements/gstcapsfilter.c:
5825 * gst/elements/gstfakesink.c:
5826 * gst/elements/gstfakesrc.c:
5827 * gst/elements/gstfdsink.c:
5828 * gst/elements/gstfdsrc.c:
5829 * gst/elements/gstfilesink.c:
5830 * gst/elements/gstfilesrc.c:
5831 * gst/elements/gstidentity.c:
5832 * gst/elements/gsttee.c:
5833 * gst/elements/gsttypefindelement.c:
5834 Make element details static.
5836 2005-09-28 Wim Taymans <wim@fluendo.com>
5838 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5839 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5840 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5841 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5842 (gst_bin_change_state), (gst_bin_dispose):
5843 Some documentation updates.
5844 Clean up dispose handlers.
5846 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5847 * gst/gstpad.c: (gst_pad_dispose):
5848 Clean up dispose handler.
5850 * gst/gstpipeline.c: (gst_pipeline_change_state):
5851 Removed spurious UNLOCK.
5853 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5855 * docs/gst/gstreamer-sections.txt:
5856 * gst/base/gstbasesrc.h:
5861 * gst/gstpipeline.c:
5862 * gst/gstpipeline.h:
5865 added two new functions to the docs
5866 documents all undocumented GstXXXFlags
5867 completed some incomplete docs
5869 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5871 * gst/gstbin.c: (gst_bin_dispose):
5872 * gst/gstelement.c: (gst_element_dispose):
5873 remove now useless and leaky resurrection code in dispose
5874 * gst/base/gstbasesrc.c: (gst_base_src_init):
5875 * gst/gstelementfactory.c: (gst_element_factory_create):
5876 * gst/gstobject.c: (gst_object_set_parent):
5879 2005-09-27 Wim Taymans <wim@fluendo.com>
5881 * docs/design/part-TODO.txt:
5884 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5885 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5886 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5887 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5888 (gst_bin_change_state):
5890 Remove element variable, we keep element info in the iterator now.
5892 2005-09-27 Andy Wingo <wingo@pobox.com>
5894 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5897 2005-09-27 Wim Taymans <wim@fluendo.com>
5899 * check/gst/gstbin.c: (GST_START_TEST):
5900 Enable check that works now.
5902 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5903 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5904 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5905 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5906 (gst_bin_change_state):
5908 Redid the state change algorithm using a topological sort algo.
5909 Handles all cases correctly.
5910 Exposed iterator for state change order.
5913 Temp storage for state changes. Need to get rid of this soon.
5915 2005-09-27 Wim Taymans <wim@fluendo.com>
5917 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5918 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5919 (link_fold_func), (gst_pad_proxy_setcaps):
5920 Leak fixes, the fold functions need to unref the passed object and
5921 _get_parent_*() returns ref to parent.
5923 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5925 * check/gst/gstbuffer.c: (test_make_writable):
5926 Plug leak in test case and fix 'make check-valgrind'
5928 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5930 * gst/gstbuffer.c: (gst_subbuffer_init):
5931 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5932 works correctly in all circumstances (we could have just copied
5933 the parent buffer's readonly flag, but conceptually it seems
5934 cleaner to mark all subbuffers as read-only). (based on patch
5935 by Alessandro Decina, #314710).
5937 * check/gst/gstbuffer.c: (create_read_only_buffer),
5938 (test_make_writable), (test_subbuffer_make_writable),
5940 Add some tests for gst_buffer_make_writable().
5942 2005-09-27 Wim Taymans <wim@fluendo.com>
5944 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5945 use gst_object_has_ancestor().
5947 * gst/gstobject.c: (gst_object_has_ancestor):
5949 gst_object_has_ancestor() copied from gstbin.c as it is a
5952 * tests/instantiate/create.c: (create_all_elements):
5953 * tests/lat.c: (handoff_src), (handoff_sink):
5954 * tests/sched/runxml.c: (main):
5955 * tests/seeking/seeking1.c: (main):
5956 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5958 Fix compilation of some tests.
5960 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5963 Remove comment. GST_TYPE_G_ERROR is here to stay,
5964 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
5967 2005-09-26 Wim Taymans <wim@fluendo.com>
5969 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5970 Added check that shows error in state change order.
5972 2005-09-26 Wim Taymans <wim@fluendo.com>
5974 * gst/gstbin.c: (gst_bin_change_state):
5975 Make state change function use 3 queues again, we were
5976 adding elements in the wrong order.
5978 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
5981 * gst/gstpad.c: (gst_pad_dispose):
5982 Added some debug info first.
5984 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
5986 * docs/design/draft-push-pull.txt:
5987 * docs/design/part-events.txt:
5988 * docs/design/part-overview.txt:
5989 * docs/design/part-scheduling.txt:
5990 Replace all _pull_region() with _pull_range()
5992 2005-09-26 Andy Wingo <wingo@pobox.com>
5994 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
5996 * check/gst-libs/controller.c: Update for controller api change.
5999 * tests/Makefile.am:
6000 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6001 over by GLib bug 118439.
6003 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6004 routines to a function.
6006 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6008 * libs/gst/controller/gsthelper.c:
6009 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6010 (gst_object_sync_values): Renamed from sink_values. Ugh.
6012 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6014 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6015 Renamed from controller_key, as it is exported.
6017 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6019 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6024 * gst/gstpadtemplate.h:
6027 * gst/gstqueryutils.c:
6028 * gst/gstqueryutils.h:
6029 remove queryutils headers after moving the two used functions
6030 to gstquery. also fixes build problem for gstsiddec
6032 2005-09-26 Michael Smith <msmith@fluendo.com>
6034 * tools/gst-launch.1.in:
6035 Correct documentation in manpage of debug syntax
6037 2005-09-26 Wim Taymans <wim@fluendo.com>
6039 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6040 (gst_base_src_is_seekable), (gst_base_src_change_state):
6041 Some more debugging info.
6043 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6045 * docs/gst/gstreamer-sections.txt:
6046 * gst/base/gstbasetransform.h:
6050 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6052 * docs/gst/.cvsignore:
6053 * docs/gst/tmpl/.cvsignore:
6054 * docs/gst/tmpl/gstpipeline.sgml:
6055 * docs/gst/tmpl/gstplugin.sgml:
6056 * gst/gstpipeline.c:
6059 inlined the last two docs files
6060 removed the tmpl directory from cvs (no more conflicts here!)
6062 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6064 * docs/gst/gstreamer-sections.txt:
6065 * docs/gst/tmpl/.cvsignore:
6066 * docs/gst/tmpl/gstpad.sgml:
6067 * docs/gst/tmpl/gstpadtemplate.sgml:
6069 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6070 (gst_pad_finalize), (gst_pad_set_pad_template):
6072 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6073 (gst_pad_template_class_init), (gst_pad_template_init),
6074 (gst_pad_template_dispose), (name_is_valid),
6075 (gst_static_pad_template_get), (gst_pad_template_new),
6076 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6077 (gst_pad_template_pad_created):
6078 * gst/gstpadtemplate.h:
6079 inlined two more docs
6080 factored gstpadtemplate out of gstpad
6082 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
6084 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6085 (test_children_state_change_order_semi_sink):
6086 Fix test case: we can't rely on a fixed state change order when
6087 going from READY => PAUSED because the sink might commit its
6088 new state first when the first buffer created by the source
6089 reaches the sink before the source has finished its change state.
6090 (Test case still fails at times, see #316856, comment 5 onwards)
6092 2005-09-24 Wim Taymans <wim@fluendo.com>
6094 * docs/design/part-events.txt:
6095 * docs/design/part-gstbus.txt:
6096 * docs/design/part-gstpipeline.txt:
6097 * docs/design/part-messages.txt:
6098 * docs/design/part-overview.txt:
6099 * docs/design/part-segments.txt:
6106 * gst/gstiterator.c:
6107 Various documentation updates.
6109 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
6112 Well, that's embarassing. Luckily we weren't using
6113 GST_CLOCK_DIFF anywhere.
6115 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6117 * common/gtk-doc.mak:
6118 don't fail on building XML, FC4 slave shows a bunch of doc
6119 missing bits that I don't get
6121 * gst/gstpipeline.c:
6122 * gst/gststructure.c:
6125 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6127 * docs/design/part-gstbin.txt:
6128 * docs/design/part-gstbus.txt:
6130 Add blurb about how the bus goes into flushing mode and
6131 drops all messages when its bin goes from READY into NULL
6134 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6136 * docs/gst/gstreamer-sections.txt:
6137 * gst/gststructure.c: (gst_structure_get_clock_time):
6138 * gst/gststructure.h:
6139 add a method to get a GstClockTime out of a structure
6141 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6143 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6144 (test_children_state_change_order_semi_sink), (gst_bin_suite):
6145 Added test to check state change order in bins (can still be made
6146 to fail here under heavy disk load; bails out with 'Push on pad
6147 fakesink:sink0, but it was not activated in push mode').
6149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6150 Fix state change order when there is only a semi sink (#316856)
6152 * gst/gstbus.c: (gst_bus_class_init):
6153 Use _class_peek_parent(), not _class_ref(); fix docs to say
6154 'default main context' instead of 'mainloop' where that is
6157 * gst/gstelement.c: (gst_element_commit_state),
6158 (gst_element_set_state):
6159 Fix typos in debug messages
6161 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6164 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6165 * gst/gstpluginfeature.c:
6168 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6169 change an assert into an error until it gets fixed properly
6171 2005-09-23 Stefan Kost <ensonic@users.sf.net>
6173 * docs/gst/gstreamer-sections.txt:
6174 * docs/gst/tmpl/.cvsignore:
6175 * docs/gst/tmpl/gstelement.sgml:
6176 * docs/gst/tmpl/gstinfo.sgml:
6177 * docs/gst/tmpl/gstobject.sgml:
6182 * gst/gstobject.c: (gst_object_class_init):
6184 inlined 3 more biiiig doc files and added some missing docs on the fly
6186 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6188 * check/gst/.cvsignore:
6189 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6190 * gst/gstregistryxml.c: (load_plugin),
6191 (gst_registry_xml_save_plugin):
6192 put back source in registry. add checks for find_plugin.
6193 * testsuite/states/bin.c: (assert_state), (empty_bin),
6194 (test_adding_one_element), (main):
6195 * testsuite/states/locked.c: (main):
6196 some compile/run fixes
6198 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6200 * check/gst/gstvalue.c: (GST_START_TEST):
6201 fix leaks in the test itself
6203 2005-09-22 Wim Taymans <wim@fluendo.com>
6205 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6206 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6207 (gst_base_sink_query):
6208 Prepare for more accurate position reporting and query
6211 * gst/gstelement.c: (gst_element_send_event),
6212 (gst_element_set_state):
6215 2005-09-22 Wim Taymans <wim@fluendo.com>
6217 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6218 (gst_query_parse_segment):
6221 Add segment query for future use.
6223 2005-09-22 Wim Taymans <wim@fluendo.com>
6225 * gst/gstbin.c: (gst_bin_add_func):
6226 Some more debug info.
6228 * gst/gstelement.c: (gst_element_send_event):
6232 Don't know how flags got broken.
6237 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6239 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6240 Add simplistic test suite for GST_TYPE_DATE serialisation and
6243 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6245 * docs/gst/gstreamer-sections.txt:
6246 * gst/gststructure.c: (gst_structure_set_valist),
6247 (gst_structure_get_date):
6248 * gst/gststructure.h:
6249 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6250 (gst_date_copy), (gst_value_compare_date),
6251 (gst_value_serialize_date), (gst_value_deserialize_date),
6252 (gst_value_transform_date_string),
6253 (gst_value_transform_string_date), (_gst_value_initialize):
6255 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6256 bunch of utility functions along with a hack that checks that
6257 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6258 is required. Part of the grand scheme in #170777.
6260 2005-09-22 Andy Wingo <wingo@pobox.com>
6262 * gst/gstconfig.h.in: Psych out gtk-doc.
6264 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6266 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6268 * tools/gst-inspect.c (print_element_list): Plug some
6269 inconsequential leaks.
6271 * gst/gstregistry.c (gst_registry_get_default): Doc.
6273 * check/gst/gstplugin.c:
6274 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6275 * gst/gstelementfactory.c (gst_element_factory_create):
6276 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6279 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6280 (gst_plugin_feature_load): Doc, don't eat refs.
6282 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6283 (gst_plugin_list_free): Doc.
6284 (gst_plugin_load_file): Doc updates.
6286 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6287 accessors returning refcounted objects, return a ref.
6289 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6290 accessor for caps. IDEMPOTENCE. Oh yes.
6292 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6294 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6296 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6297 (_gst_debug_register_funcptr):
6298 Add mutex to serialise access to the hash table with
6299 the function pointer => function name string mapping;
6300 make that hash table static scope (#316809).
6302 * gst/registries/.cvsignore:
6303 Remove left-over file.
6305 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6307 * docs/pwg/appendix-porting.xml:
6308 And something about newsegment events and caps-on-buffers to
6309 the porting guide (feel free to improve).
6311 2005-09-21 Andy Wingo <wingo@pobox.com>
6313 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6314 data and event probes on the same pad.
6315 (test_buffer_probe_once): Test that removing probes from within
6316 the probe functions works.
6318 2005-09-21 Andy Wingo <wingo@pobox.com>
6320 * check/gst/gstutils.c: New file.
6321 (test_buffer_probe_n_times): A simple buffer probe test. More to
6324 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6325 have-data::buffer, not have-data.
6326 (gst_pad_add_event_probe): Likewise for have-data::event.
6327 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6328 peer' isn't quite right yet though.
6329 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6330 (gst_pad_remove_data_probe): Change to take the guint handler_id
6331 as their arg, not the function+data, which is more glib-like.
6333 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6334 the signal emission to indicate if the data is a buffer or an
6336 (gst_pad_get_type): Initialize buffer and event quarks.
6337 (gst_pad_class_init): have-data is now a detailed signal, yes it
6340 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6342 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6343 * gst/gstutils.c: (gst_util_set_value_from_string),
6344 (gst_util_set_object_arg):
6345 Don't put functional code in g_return_if_fail() or
6346 g_return_val_if_fail() statements, otherwise things will
6347 break when G_DISABLE_CHECKS is defined during compilation.
6349 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6351 * docs/gst/tmpl/.cvsignore:
6352 * docs/gst/tmpl/gstvalue.sgml:
6355 inlied another one and added some obvious docs
6357 2005-09-21 Wim Taymans <wim@fluendo.com>
6359 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6360 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6361 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6362 (gst_fdsrc_get_property), (gst_fdsrc_create):
6363 * gst/elements/gstfdsrc.h:
6364 Properly implement fdsrc. Removed signal and timeout,
6365 better implemented somewhere else.
6367 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6369 * docs/gst/tmpl/.cvsignore:
6370 * docs/gst/tmpl/gstimplementsinterface.sgml:
6371 * gst/gstinterface.c:
6374 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6376 * docs/gst/gstreamer-sections.txt:
6377 * docs/gst/tmpl/.cvsignore:
6378 * docs/gst/tmpl/gstenumtypes.sgml:
6379 remove obsolete doc file
6381 2005-09-21 David Schleef <ds@schleef.org>
6383 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6384 little beer, fix a little leak.
6386 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6388 * docs/gst/gstreamer-docs.sgml:
6389 * docs/gst/gstreamer-sections.txt:
6390 * docs/gst/tmpl/.cvsignore:
6395 * gst/gstindex.c: (gst_index_class_init):
6397 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6398 (gst_index_factory_class_init), (gst_index_factory_init),
6399 (gst_index_factory_finalize), (gst_index_factory_new),
6400 (gst_index_factory_destroy), (gst_index_factory_find),
6401 (gst_index_factory_create), (gst_index_factory_make):
6402 * gst/gstindexfactory.h:
6403 * gst/gstpluginfeature.c:
6404 * gst/gstpluginfeature.h:
6405 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6406 more docs inlined, splitted gstindex.{c,h}
6408 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6410 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6413 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6415 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6416 Set sync to FALSE by default.
6418 2005-09-20 Wim Taymans <wim@fluendo.com>
6420 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6421 (gst_base_sink_init):
6422 Make sync property settable from subclass.
6424 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6425 (gst_fake_sink_change_state):
6426 Set sync to FALSE by default.
6428 2005-09-20 Wim Taymans <wim@fluendo.com>
6430 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6431 * tools/gst-launch.c: (main):
6432 The timeout handler should have lower priority than the source
6433 so we don't timeout before popping a message with 0 timeout.
6434 Dump error messages after failed state change.
6436 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6438 * tools/gst-inspect.c: (print_element_properties_info):
6441 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6443 * check/gst/gstevent.c:
6444 * gst/elements/gstfakesink.c:
6445 * gst/elements/gstfakesink.h:
6446 remove the sync property from fakesink.
6447 has the side effect of setting sync TRUE
6448 for fakesink, which is a change. Anyone who knows how
6449 to fix this nicely in a GObject-y way, feel free.
6451 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6453 * docs/gst/gstreamer-docs.sgml:
6454 remove probe refsection
6456 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6458 * check/Makefile.am:
6459 disable valgrinding the controller test again
6460 * docs/gst/gstreamer-sections.txt:
6461 update for api-changes
6463 2005-09-20 Wim Taymans <wim@fluendo.com>
6465 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6466 (gst_base_sink_set_property), (gst_base_sink_get_property),
6467 (gst_base_sink_do_sync):
6468 * gst/base/gstbasesink.h:
6469 Added sync property to basesink to disable clock sync.
6471 2005-09-20 Andy Wingo <wingo@pobox.com>
6473 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6474 eating the caller's refcount.
6476 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6477 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6480 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6481 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6482 of GLib 2.8 public, so we can know which refcount to check in
6485 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6486 (gst_object_init): Only set the gst refcount if we're going ahead
6487 with the refcount hack.
6489 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6491 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6492 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6493 more leaks plumbed, added more debug-logging
6497 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6500 remove include of gstmemchunk.h
6502 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6504 * gst/gstclock.c: (_gst_clock_id_free):
6505 Commit from the Political Party For More Atomic CVS Commits,
6506 so that people don't waste too much of their day fishing
6507 out obvious leaks out of massive commits.
6508 Oh, and fix a pretty damn obvious leak in the memchunk
6511 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6513 * check/Makefile.am:
6514 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6515 plug mem-leak, re-add to valgrindable tests
6517 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6520 unbreak the build for those who have chronic arthritis
6521 and typing "make check" is just too taxing on the hands
6523 2005-09-20 Andy Wingo <wingo@pobox.com>
6525 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6526 really want it out, you should fix plugins at the same time.
6528 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6531 * docs/gst/gstreamer-sections.txt:
6533 added missing symbols to api docs
6534 disable ref-count hack if we have glib >= 2.8
6536 2005-09-19 David Schleef <ds@schleef.org>
6538 * docs/gst/Makefile.am: Ignore a few more internal headers
6539 * docs/gst/gstreamer-docs.sgml: Remove old sections
6540 * docs/gst/gstreamer-sections.txt: Remove old sections
6541 * docs/gst/tmpl/gstobject.sgml: update
6542 * docs/gst/tmpl/gstplugin.sgml: update
6543 * docs/gst/tmpl/gstpluginfeature.sgml: update
6544 * docs/random/ds/0.9-suggested-changes: update.
6545 * gst/Makefile.am: remove memchunk and trashstack, since they're
6547 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6548 * gst/gst.h: don't include some headers
6549 * gst/gstchildproxy.c: add gstmarshal.h
6550 * gst/gstclock.c: Don't use memchunks
6551 * gst/gstminiobject.c: Add some docs
6552 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6553 * gst/gstobject.h: same
6554 * gst/gstplugin.c: include gstmacros.h
6555 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6556 * gst/gstquery.c: don't use memchunks
6557 * gst/gstregistry.c: rename gst_registry_deinit()
6558 * gst/gstregistry.h: same
6560 2005-09-19 David Schleef <ds@schleef.org>
6562 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6563 * docs/libs/gstreamer-libs-sections.txt:
6564 * docs/libs/tmpl/gstgetbits.sgml:
6565 * docs/libs/tmpl/gstputbits.sgml:
6567 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6569 * win32/gstenumtypes.c:
6570 * win32/gstenumtypes.h:
6573 2005-09-19 Wim Taymans <wim@fluendo.com>
6575 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6576 Automatically PAUSE and RESUME a pipeline when a flushing seek
6579 2005-09-19 Andy Wingo <wingo@pobox.com>
6581 * gst/gstregistry.h: Spacing fixen.
6583 2005-09-19 Wim Taymans <wim@fluendo.com>
6585 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6586 Handle state change failure more correctly.
6588 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6590 * check/Makefile.am:
6591 * check/pipelines/cleanup.c: (run_pipeline):
6592 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6594 enable cleanup again after fixing the leak
6596 some more info on docs
6598 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6600 * check/Makefile.am:
6601 re-enable tests now that leaks are plugged
6603 * check/gst/gstbin.c:
6604 * check/gst/gstpipeline.c:
6605 add some more tests while fixing leaks
6607 make sure binaries are uptodate when valgrinding/gdbing
6609 * gst/gstelementfactory.c:
6610 remove a ref too many, and add a FIXME for when we get
6611 round to disposing of classes
6613 fix the refcounting when loading a plugin from a file and
6614 the code pretends that the pointer is the same even though
6615 of course it can change
6616 * gst/gstpluginfeature.c:
6617 unref plugins marked cached (a bit confusing as a name)
6618 as the docs state should be done
6619 various doc additions to explain refcounting
6620 * gst/gstregistry.c:
6621 * gst/gstregistryxml.c:
6624 2005-09-19 Wim Taymans <wim@fluendo.com>
6626 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6627 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6628 (send_messages), (GST_START_TEST), (gstbus_suite):
6629 * check/gst/gstpipeline.c: (GST_START_TEST):
6630 * check/pipelines/cleanup.c: (run_pipeline):
6631 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6633 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6634 (gst_bus_source_check), (gst_bus_source_dispatch),
6635 (gst_bus_create_watch), (gst_bus_add_watch_full),
6636 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6638 * tools/gst-launch.c: (event_loop):
6639 * tools/gst-md5sum.c: (event_loop):
6640 GstBusHandler -> GstBusFunc, return value has the same meaning as
6641 any other GSource (FALSE == remove source).
6642 _add_watch() and _add_watch_full() now take a MessageType mask to
6643 only handle specific types of messages.
6644 _poll() returns the GstMessage instead of the message type to avoid
6646 _have_pending() takes a MessageType mask now too.
6647 Added testsuite for multiple bus watches.
6648 Fix testsuites and applications for new bus API.
6650 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6652 * check/Makefile.am:
6653 mark a bunch of the tests as to fix until we fix them
6655 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6658 use GST_PLUGIN settings for valgrind tests as well, so we're
6659 valgrinding the correct thing
6660 * gst/gst.c: (init_post):
6663 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6665 * gst/gst.c: (init_post), (gst_deinit):
6666 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6667 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6668 * gst/gstindex.c: (gst_index_factory_class_init),
6669 (gst_index_factory_finalize):
6670 * gst/gstobject.c: (gst_object_dispose):
6671 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6672 (gst_plugin_load_file), (gst_plugin_desc_free):
6673 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6674 (gst_plugin_feature_finalize):
6675 * gst/gstregistry.c: (gst_registry_class_init),
6676 (gst_registry_init), (gst_registry_finalize),
6677 (gst_registry_get_default), (gst_registry_deinit):
6678 * gst/gstregistry.h:
6679 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6680 various cleanups and memleak plugging. make valgrind is happy now.
6682 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6685 add a check-valgrind target
6687 2005-09-18 David Schleef <ds@schleef.org>
6689 * tools/gst-inspect.c: Revert the GOption code.
6691 2005-09-17 David Schleef <ds@schleef.org>
6693 * check/Makefile.am: Fix environment variables.
6694 * check/gst/gstplugin.c: Fix for API changes.
6695 * tools/gst-inspect.c: Fix for API changes.
6696 * tools/gst-xmlinspect.c: Fix for API changes.
6697 * gst/gstelementfactory.c:
6700 * gst/gstpluginfeature.c:
6701 * gst/gstpluginfeature.h:
6702 * gst/gstregistry.c:
6703 * gst/gstregistry.h:
6704 * gst/gstregistryxml.c:
6705 * gst/gsttypefind.c:
6706 * gst/gsttypefindfactory.c:
6707 * gst/indexers/gstfileindex.c:
6708 * gst/indexers/gstmemindex.c:
6709 * gst/schedulers/Makefile.am:
6710 Change registry to keep track of both plugins and features,
6711 removing the feature tracking from plugins themselves.
6713 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6715 * check/Makefile.am:
6716 * tools/gst-register.1.in:
6719 2005-09-15 David Schleef <ds@schleef.org>
6721 * check/gst/gstplugin.c:
6722 * gst/gstelementfactory.c:
6724 * gst/gstpluginfeature.c:
6725 * gst/gstregistry.c:
6726 Getting tired of debugging. Disabled all the unreffing of
6727 plugins and features, which fixes the segfaults, but of
6728 course leaks like crazy. At least playbin works.
6730 2005-09-15 David Schleef <ds@schleef.org>
6732 * check/gst/gstplugin.c: (register_check_elements),
6733 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6735 * gst/elements/gsttypefindelement.c: Fix refcounting.
6736 * gst/gsttypefind.c:
6737 * gst/gsttypefindfactory.c:
6738 * gst/gsttypefindfactory.h:
6740 2005-09-15 David Schleef <ds@schleef.org>
6742 * gst/gstindex.c: get refcounting correct.
6743 * gst/gstregistry.c: Handle the case where a feature/plugin is
6746 2005-09-15 David Schleef <ds@schleef.org>
6748 * check/Makefile.am:
6749 * check/gst/gstplugin.c: Add test
6750 * gst/gstplugin.c: Fix problems noticed by testsuite
6752 * gst/gstregistry.c:
6753 * gst/gstregistry.h:
6755 2005-09-15 David Schleef <ds@schleef.org>
6757 * gst/gstplugin.c: Implement semi-decent recounting and locking
6758 in plugins and plugin features.
6760 * gst/gstpluginfeature.c:
6761 * gst/gstpluginfeature.h:
6762 * gst/gstregistry.c:
6764 2005-09-15 Michael Smith <msmith@fluendo.com>
6766 * gst/gstregistry.c: (gst_registry_get_feature_list):
6767 Implement this. Makes oggdemux work; decodebin still broken.
6769 2005-09-14 David Schleef <ds@schleef.org>
6771 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6773 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6774 * gst/check/Makefile.am:
6775 * libs/gst/controller/Makefile.am:
6776 * libs/gst/dataprotocol/Makefile.am:
6778 2005-09-14 David Schleef <ds@schleef.org>
6780 * configure.ac: Remove getbits library. Nothing uses it, and
6781 it should be in something like liboil if someone did want
6783 * libs/gst/Makefile.am:
6784 * libs/gst/getbits/Makefile.am:
6785 * libs/gst/getbits/gbtest.c:
6786 * libs/gst/getbits/getbits.c:
6787 * libs/gst/getbits/getbits.h:
6788 * libs/gst/getbits/gstgetbits_generic.c:
6789 * libs/gst/getbits/gstgetbits_i386.s:
6790 * libs/gst/getbits/gstgetbits_inl.h:
6792 2005-09-14 David Schleef <ds@schleef.org>
6794 * gst/Makefile.am: Dist glib-compat.h
6796 2005-09-14 David Schleef <ds@schleef.org>
6798 * configure.ac: Remove gst/registries, since it's no longer used.
6799 * gst/registries/Makefile.am:
6800 * gst/registries/gstlibxmlregistry.c:
6801 * gst/registries/gstlibxmlregistry.h:
6802 * gst/registries/gstxmlregistry.c:
6803 * gst/registries/gstxmlregistry.h:
6804 * gst/registries/registrytest.c:
6806 2005-09-14 David Schleef <ds@schleef.org>
6808 * gst/glib-compat.h:
6809 * gst/gstregistryxml.c:
6810 Convergence is near. Seriously.
6812 2005-09-14 David Schleef <ds@schleef.org>
6814 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6815 * gst/glib-compat.h:
6816 Attempt #4 to appease the buildbots.
6818 2005-09-14 David Schleef <ds@schleef.org>
6820 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6823 2005-09-14 David Schleef <ds@schleef.org>
6825 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6828 2005-09-14 David Schleef <ds@schleef.org>
6830 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6833 2005-09-14 David Schleef <ds@schleef.org>
6835 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6836 * gst/glib-compat.h: Add some functions that are in newer versions
6837 of glib than we care to require.
6838 * gst/gstregistryxml.c: Use them.
6840 2005-09-14 David Schleef <ds@schleef.org>
6842 * po/POTFILES.in: remove gst-register.c
6844 2005-09-14 David Schleef <ds@schleef.org>
6846 * docs/gst/gstreamer-docs.sgml:
6847 * docs/gst/gstreamer-sections.txt:
6848 * docs/gst/gstreamer.types:
6849 * docs/gst/tmpl/gstelement.sgml:
6850 * docs/gst/tmpl/gstplugin.sgml:
6851 * docs/gst/tmpl/gstpluginfeature.sgml:
6852 Documentation updates for registry changes.
6854 2005-09-14 David Schleef <ds@schleef.org>
6856 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6857 because we don't require glib-2.8.
6859 2005-09-14 David Schleef <ds@schleef.org>
6861 * gst/gstregistryxml.c: Added. Essentially moved out of the
6862 registries directory.
6864 2005-09-14 David Schleef <ds@schleef.org>
6866 * check/Makefile.am:
6867 * check/generic/states.c:
6871 * gst/gst_private.h:
6872 * gst/gstelementfactory.c:
6877 * gst/gstpluginfeature.c:
6878 * gst/gstpluginfeature.h:
6879 * gst/gstregistry.c:
6880 * gst/gstregistry.h:
6881 * gst/gstregistrypool.c: remove
6882 * gst/gstregistrypool.h: remove
6883 * gst/gsttypefind.c:
6884 * gst/gsttypefindfactory.c:
6886 * tools/Makefile.am:
6887 * tools/gst-compprep.c:
6888 * tools/gst-inspect.c:
6889 * tools/gst-register.c: remove
6890 * tools/gst-xmlinspect.c:
6891 Registry rewrite. Changes registry from being a file created
6892 by a tool into a simple cache file created automatically by
6893 libgstreamer. Removed gst-register (because it's no longer
6894 needed). Remove registry pools, because we only have one
6895 registry implementation (XML). Fix up other subsystems as
6898 2005-09-13 Michael Smith <msmith@fluendo.com>
6900 * gst/gstconfig.h.in:
6901 Don't Use windows linking attributes for MinGW. Fixes #316157
6903 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6905 * gst/gstutils.c: (set_state_async_thread_func),
6906 (gst_element_set_state_async):
6907 Apparently people think it's better if this function doesn't
6908 try to set the state to whatever state was asked for on the first
6909 call to this function for any object. Seriously.
6911 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6913 * check/gst/gstpipeline.c: (GST_START_TEST):
6914 * docs/gst/gstreamer-sections.txt:
6915 * gst/gstutils.c: (set_state_async_thread_func),
6916 (gst_element_set_state_async):
6918 add a "gst_element_set_state_async" method that
6919 sets the state and starts a thread to make sure the state
6920 change completes as best as it can
6922 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6924 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6925 codify design+behaviour in testsuite after discussion
6927 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6929 * docs/gst/tmpl/gstelement.sgml:
6930 * docs/manual/appendix-quotes.xml:
6932 * gst/gstelement.c: (gst_element_set_state):
6935 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6937 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6938 (gst_base_transform_prepare_output_buf),
6939 (gst_base_transform_handle_buffer):
6940 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6941 (gst_capsfilter_prepare_buf):
6942 Remove the requirement for sub-classes to call the parent
6943 implementation of prepare_output_buffer with a wrapper function.
6946 * gst/gsttagsetter.h:
6949 2005-09-11 Stefan Kost <ensonic@users.sf.net>
6951 * docs/gst/gstreamer-sections.txt:
6954 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6956 * docs/gst/gstreamer-sections.txt:
6957 * docs/gst/tmpl/gstelement.sgml:
6958 * docs/gst/tmpl/gstplugin.sgml:
6959 * gst/gstminiobject.c:
6961 docs now stop throwing warnings
6963 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6965 * docs/gst/gstreamer-sections.txt:
6966 * docs/gst/gstreamer.types:
6967 * docs/gst/tmpl/gstpad.sgml:
6968 * docs/gst/tmpl/gsttypes.sgml:
6969 * gst/base/gstadapter.h:
6970 * gst/base/gstbasesink.h:
6971 * gst/base/gstbasesrc.h:
6981 * gst/gststructure.c:
6982 * gst/registries/gstlibxmlregistry.h:
6983 various documentation fixes
6985 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
6987 * docs/gst/gstreamer-sections.txt:
6988 * docs/gst/tmpl/gstvalue.sgml:
6989 rearrange gstvalue section
6990 * gst/gstutils.c: (gst_element_state_get_name):
6992 * gst/gstvalue.c: (_gst_value_initialize):
6996 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
6998 * check/gst-libs/controller.c:
7000 * gst/base/gstbasetransform.c:
7001 (gst_base_transform_default_prepare_buf),
7002 (gst_base_transform_handle_buffer):
7003 * gst/base/gstbasetransform.h:
7004 Some more basetransform changes and fixes to enable sub-classes
7005 that modify buffer metadata only.
7006 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7007 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7008 (gst_capsfilter_prepare_buf):
7009 If the output pad has fixed allowed caps and input buffers
7010 don't have any, set the fixed caps on outgoing buffers.
7012 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
7013 * check/elements/identity.c: (GST_START_TEST):
7014 Make the error a little clearer when the test fails because
7015 identity made a copy of the buffer.
7016 * docs/gst/gstreamer-sections.txt:
7017 New symbols in gstbasetransform.h
7018 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7019 (gst_base_transform_init), (gst_base_transform_transform_size),
7020 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7021 (gst_base_transform_default_prepare_buf),
7022 (gst_base_transform_get_unit_size),
7023 (gst_base_transform_buffer_alloc),
7024 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7025 (gst_base_transform_change_state),
7026 (gst_base_transform_set_passthrough),
7027 (gst_base_transform_set_in_place),
7028 (gst_base_transform_is_in_place):
7029 * gst/base/gstbasetransform.h:
7030 Change BaseTransform to separate in_place operate from same_caps
7031 output. in_place implies that the element can perform the transform
7032 on incoming buffers in-place, even if the caps on the output are
7034 Sub-class elements can now implement special buffer allocation
7035 methods for outgoing buffers if they wish to.
7036 Big documentation addition.
7037 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7038 * gst/elements/gstelements.c:
7039 Changes for basetransform modifications.
7040 * gst/elements/Makefile.am:
7041 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7042 Compile fix. Extra debug output.
7044 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7046 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7048 add tests for valid pad naming
7049 * gst/check/gstcheck.c: (gst_check_log_message_func),
7050 (gst_check_log_critical_func):
7052 remove printing of code, it is fragile when the code contains
7053 % and the line number is enough info
7054 * gst/check/gstcheck.h:
7055 * gst/gstpad.c: (gst_pad_template_new):
7058 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7061 say what CHECK flags we use
7062 * docs/libs/gstreamer-libs.types:
7063 * libs/gst/controller/Makefile.am:
7064 * libs/gst/controller/gst-controller.c:
7065 * libs/gst/controller/gst-controller.h:
7066 * libs/gst/controller/gst-helper.c:
7067 * libs/gst/controller/gst-interpolation.c:
7068 * libs/gst/controller/gstcontroller.c:
7069 * libs/gst/controller/gsthelper.c:
7070 * libs/gst/controller/gstinterpolation.c:
7071 * tools/gst-inspect.c: (print_plugin_info):
7072 we don't use dashes in header names
7074 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7076 * check/Makefile.am:
7077 * check/gst/.cvsignore:
7078 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7079 (gst_pipeline_suite), (main):
7080 adding a test for pipelines and state changes
7081 * gst/gstutils.c: (get_state_func):
7083 * gstreamer.spec.in:
7086 2005-09-08 Michael Smith <msmith@fluendo.com>
7088 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7089 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7090 (gst_file_src_is_seekable), (gst_file_src_get_size),
7091 (gst_file_src_start):
7092 * gst/elements/gstfilesrc.h:
7093 Various fixes for unseekable, unmmapable, and non-normal files, so
7094 that fallback to read() rather than mmap() works.
7095 * gst/gstevent.c: (gst_event_new_newsegment):
7096 Allow newsegment events with segment_start == segment_end, as will
7097 correctly happen if you use filesrc on a zero-size file, for
7100 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7102 * gst/gstplugin.c: (gst_plugin_load_file):
7103 Call g_module_close when we don't load the module
7105 * gst/registries/gstlibxmlregistry.c:
7106 (gst_xml_registry_get_property):
7107 Port leak fix from 0.8
7109 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7111 * docs/gst/gstreamer-docs.sgml:
7112 * docs/gst/tmpl/.cvsignore:
7113 * docs/gst/tmpl/gsttrace.sgml:
7114 * docs/gst/tmpl/gsttrashstack.sgml:
7123 * gst/gsttaginterface.c:
7124 * gst/gsttaginterface.h:
7127 * gst/gsttagsetter.c:
7128 * gst/gsttagsetter.h:
7131 * gst/gsttrashstack.c:
7132 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7133 inlined docs for gsttrace, gsttrashstack
7135 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7138 * gst/elements/gstbufferstore.h:
7139 * gst/elements/gsttypefindelement.c:
7140 * gst/elements/gsttypefindelement.h:
7142 * gst/gsttypefind.c:
7143 * gst/gsttypefind.h:
7144 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7145 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7146 (gst_type_find_factory_dispose),
7147 (gst_type_find_factory_unload_thyself),
7148 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7149 (gst_type_find_factory_get_caps),
7150 (gst_type_find_factory_get_extensions),
7151 (gst_type_find_factory_call_function):
7152 * gst/gsttypefindfactory.h:
7153 * gst/registries/gstlibxmlregistry.c:
7154 * gst/registries/gstxmlregistry.c:
7155 splitted gsttypefind into gsttypefind, gsttypefindfactory
7157 2005-09-07 Andy Wingo <wingo@pobox.com>
7159 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7160 condition whereby the pad's task function is entered before the
7161 pad_mode variable was set.
7163 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7165 * gst/gstpad.c: (gst_pad_alloc_buffer):
7166 Catch misbehaving pad_alloc functions that don't
7167 set up caps and do it for them.
7169 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7171 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7173 * docs/gst/tmpl/.cvsignore:
7174 * docs/gst/tmpl/gstmemchunk.sgml:
7175 * docs/gst/tmpl/gstparse.sgml:
7176 * docs/gst/tmpl/gsttaglist.sgml:
7177 * docs/gst/tmpl/gsttagsetter.sgml:
7178 * docs/gst/tmpl/gsttypefind.sgml:
7179 * docs/gst/tmpl/gsttypefindfactory.sgml:
7180 * gst/gstmemchunk.c:
7183 * gst/gsttaginterface.c:
7184 * gst/gsttypefind.c:
7185 * gst/gsttypefind.h:
7188 === release 0.9.2 ===
7190 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
7195 releasing 0.9.2, "South"
7197 2005-09-05 Andy Wingo <wingo@pobox.com>
7199 * gst/registries/gstxmlregistry.h:
7200 * gst/registries/gstxmlregistry.c: Um... resurrect...
7202 * gst/registries/gstxmlregistry.h:
7203 * gst/registries/gstxmlregistry.c: and update to newer API.
7204 Incidentally they should be a bit faster now that they don't have
7207 2005-09-05 Andy Wingo <wingo@pobox.com>
7209 * gst/registries/gstxmlregistry.h:
7210 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7211 replaced by the libxml registry a while back
7213 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7215 * docs/gst/tmpl/gstplugin.sgml:
7216 * gst/elements/gstelements.c:
7218 * gst/gstplugin.c: (gst_plugin_register_func),
7219 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7220 (gst_plugin_get_source):
7222 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7223 (gst_xml_registry_save_plugin):
7224 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7225 (gst_xml_registry_save_plugin):
7226 * tools/gst-inspect.c: (print_plugin_info):
7227 add a "source" plugin description field, to represent the source
7228 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7229 will set it to PACKAGE, which is automake's idea of the name of
7232 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7238 * docs/faq/Makefile.am:
7239 * docs/gst/tmpl/gstelement.sgml:
7240 * docs/gst/tmpl/gsttypes.sgml:
7241 * docs/htmlinstall.mak:
7242 * docs/manual/Makefile.am:
7243 * docs/pwg/Makefile.am:
7244 reorganize doc build a little
7245 split out docbook and gtk-doc stuff
7246 have two separate --enable's and enable them through autogen
7247 but disable by default in configure (to be similar to other
7249 * gstreamer.spec.in:
7250 clean up docs install
7270 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7272 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7275 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7276 (gst_fake_sink_change_state):
7277 Make state change function thread-safe.
7279 * gst/gstpad.c: (gst_pad_alloc_buffer):
7280 Set offset on generic buffer allocated by fallback.
7282 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7284 * docs/gst/gstreamer-sections.txt:
7285 * docs/gst/tmpl/gstelement.sgml:
7287 * libs/gst/controller/gst-controller.c:
7288 (gst_controlled_property_set_interpolation_mode),
7289 (gst_controlled_property_new),
7290 (gst_controller_find_controlled_property):
7291 run the wingo-magic script against the docs
7293 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7295 * docs/gst/gstreamer-docs.sgml:
7296 * docs/gst/gstreamer-sections.txt:
7297 * docs/gst/tmpl/.cvsignore:
7298 * docs/gst/tmpl/gstelementdetails.sgml:
7299 * docs/gst/tmpl/gstelementfactory.sgml:
7302 * gst/gstelementfactory.c:
7303 * gst/gstelementfactory.h:
7304 merged elementdetails docs into elementfactory docs
7307 2005-09-02 Andy Wingo <wingo@pobox.com>
7309 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7310 consider this enum an enum and not a flags.
7312 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7314 * docs/gst/gstreamer-docs.sgml:
7315 * docs/gst/tmpl/.cvsignore:
7316 * docs/gst/tmpl/gstghostpad.sgml:
7317 * docs/gst/tmpl/gstiterator.sgml:
7318 * docs/gst/tmpl/gstmacros.sgml:
7319 * docs/gst/tmpl/gstrealpad.sgml:
7320 * docs/gst/tmpl/gstregistry.sgml:
7321 * docs/gst/tmpl/gstregistrypool.sgml:
7322 * docs/gst/tmpl/gststructure.sgml:
7323 * docs/gst/tmpl/gstsystemclock.sgml:
7324 * docs/gst/tmpl/gsttrace.sgml:
7325 * gst/gstghostpad.c:
7327 * gst/gstmemchunk.c:
7328 * gst/gstmemchunk.h:
7330 * gst/gstregistry.c:
7331 * gst/gstregistrypool.c:
7332 * gst/gststructure.c:
7333 * gst/gstsystemclock.c:
7336 2005-09-02 Andy Wingo <wingo@pobox.com>
7338 * gst/gstelement.h (GstState): Renamed from GstElementState,
7339 changed to be a normal enum instead of flags.
7340 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7341 munged to be GST_STATE_CHANGE_*.
7342 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7343 work with the new state representation.
7344 (GstStateChange): New enumeration of possible state transitions.
7345 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7346 (GstElementClass::change_state): Pass the GstStateChange along as
7347 an argument. Helps language bindings, so they don't have to use
7348 tricky lock-needing macros like GST_STATE_CHANGE ().
7350 * scripts/update-states (file): New script. Run it on a file to
7351 update it for state naming and API changes. Updates files in
7354 * All files updated for the new API.
7356 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7358 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7359 * gst/gstutils.c: (gst_util_set_value_from_string),
7360 (gst_util_set_object_arg):
7361 fix a bunch of unchecked return values
7362 * tools/gst-complete.c: (main):
7363 * gstreamer.spec.in:
7366 2005-09-01 Wim Taymans <wim@fluendo.com>
7368 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7369 (gst_base_sink_event), (gst_base_sink_do_sync),
7370 (gst_base_sink_handle_event):
7371 * gst/base/gstbasesink.h:
7372 Handle newsegments more correctly.
7377 * gst/gstevent.c: (gst_event_new_newsegment):
7378 A newsegment cannot have a start_time of -1
7380 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7382 * win32/gstenumtypes.c:
7383 * win32/gstenumtypes.h:
7386 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7388 * libs/gst/controller/gst-controller.c:
7389 (gst_controlled_property_set_interpolation_mode),
7390 (gst_controlled_property_new):
7393 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7395 * docs/faq/gst-uninstalled:
7400 * gst/gstutils.c: (gst_element_link_filtered):
7402 add gst_element_link_filtered
7404 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7406 * docs/gst/gstreamer-docs.sgml:
7407 * docs/gst/gstreamer-sections.txt:
7408 * docs/gst/tmpl/.cvsignore:
7409 * docs/gst/tmpl/gsterror.sgml:
7410 * docs/gst/tmpl/gstfilter.sgml:
7411 * docs/gst/tmpl/gsturihandler.sgml:
7412 * docs/gst/tmpl/gsturitype.sgml:
7413 * docs/gst/tmpl/gstutils.sgml:
7414 * docs/gst/tmpl/gstxml.sgml:
7422 inlined more docs, fixed double id-ref
7424 2005-08-31 Wim Taymans <wim@fluendo.com>
7426 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7427 (gst_base_transform_handle_buffer):
7428 Passthrough elements don't need the caps as they don't care.
7430 2005-08-31 Wim Taymans <wim@fluendo.com>
7432 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7433 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7434 Don't leak refcounts on buffers.
7436 2005-08-31 Wim Taymans <wim@fluendo.com>
7438 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7439 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7440 (gst_base_transform_chain), (gst_base_transform_change_state):
7441 * gst/base/gstbasetransform.h:
7442 Handle the case where we are not negotiated more gracefully.
7444 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7446 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7447 (gst_file_src_map_region):
7448 Set READONLY flag on mmap'ed buffers, otherwise
7449 gst_buffer_make_writable() won't work properly (#314708).
7451 2005-08-31 Wim Taymans <wim@fluendo.com>
7453 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7454 passthrough elements can even do inplace on non writable
7455 buffers (as they don't touch them).
7457 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7459 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7460 (gst_test_mono_source_set_property),
7461 (gst_test_mono_source_class_init), (GST_START_TEST),
7462 (gst_controller_suite):
7463 more tests (hehe I have the most)
7465 describe popping messages whenusing mulltiple sources
7466 * libs/gst/controller/gst-controller.c:
7467 (gst_controlled_property_set_interpolation_mode),
7468 (gst_controlled_property_new):
7469 * libs/gst/controller/gst-controller.h:
7470 * libs/gst/controller/gst-interpolation.c:
7471 implement boolean properties
7473 2005-08-31 Wim Taymans <wim@fluendo.com>
7475 * gst/gstminiobject.c: (gst_mini_object_ref):
7476 Cannot assert that the refcount has to be positive
7477 since a disposed object can be resurrected.
7479 2005-08-31 Wim Taymans <wim@fluendo.com>
7481 * gst/gstpad.c: (gst_pad_init):
7482 Revert change, need to first fix badly behaving
7485 2005-08-30 Wim Taymans <wim@fluendo.com>
7487 * check/elements/fakesrc.c: (setup_fakesrc):
7488 * check/elements/identity.c: (setup_identity):
7489 Activate pads before using them.
7491 2005-08-30 Wim Taymans <wim@fluendo.com>
7493 * gst/base/gstadapter.c: (gst_adapter_flush):
7494 Flushing out 0 bytes is ok for this function.
7496 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7497 no newsegment gives a warning and sets the start/stop to
7500 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7501 (gst_base_transform_set_passthrough):
7504 * gst/gstminiobject.c: (gst_mini_object_ref):
7505 Check refcount here too.
7507 * gst/gstpad.c: (gst_pad_init):
7508 Pads are initially flushing and refusing data.
7510 * gst/gstutils.c: (gst_element_link_pads_filtered):
7511 When adding a capsfilter element make sure it has the
7512 same state as the parent bin.
7514 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7516 * docs/gst/tmpl/.cvsignore:
7517 * docs/gst/tmpl/gstformat.sgml:
7518 * docs/gst/tmpl/gstversion.sgml:
7522 * gst/gstversion.h.in:
7523 more docs and two more inlined
7525 2005-08-30 Wim Taymans <wim@fluendo.com>
7527 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7528 Don't sync to clock.
7530 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7532 * docs/gst/gstreamer-sections.txt:
7533 ultral33t func10ns deserve to appear in the docs actually
7534 * docs/gst/tmpl/.cvsignore:
7535 * docs/gst/tmpl/gstcompat.sgml:
7536 * docs/gst/tmpl/gstconfig.sgml:
7537 * gst/check/gstcheck.c:
7539 * gst/gstconfig.h.in:
7542 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7544 * docs/gst/tmpl/.cvsignore:
7545 * docs/gst/tmpl/gstquery.sgml:
7546 * docs/gst/tmpl/gstutils.sgml:
7549 inlined and extended docs
7551 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7553 * check/gst-libs/controller.c: (GST_START_TEST),
7554 (gst_controller_suite):
7556 * docs/gst/tmpl/gstutils.sgml:
7557 * docs/libs/gstreamer-libs-sections.txt:
7558 * docs/libs/tmpl/gstdataprotocol.sgml:
7560 * examples/controller/audio-example.c: (main):
7561 controller example works now
7564 * tools/gst-inspect.c: (print_element_properties_info):
7565 show param spec flags
7567 2005-08-29 Andy Wingo <wingo@pobox.com>
7569 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7571 2005-08-28 Andy Wingo <wingo@pobox.com>
7573 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7574 as having two arguments instead of just one. Allows superclasses
7575 to access information on subclasses -- see the terrible for() loop
7576 in gtype.c:g_type_create_instance for the reason why. All callers
7579 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7581 * docs/design/part-messages.txt:
7583 * docs/gst/tmpl/.cvsignore:
7584 * docs/gst/tmpl/gstcaps.sgml:
7585 * docs/gst/tmpl/gstclock.sgml:
7592 added descriptions for bus and message
7593 inline caps and clock docs
7595 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7601 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7603 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7606 2005-08-26 Andy Wingo <wingo@pobox.com>
7608 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7609 element_set_state's return val.
7610 (test_2_elements): Add test that's been disabled for months.
7612 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7613 can-activate-pull properties.
7615 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7616 can-activate-pull properties. Implement is_seekable so fakesrc can
7617 operate in pull mode.
7619 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7621 (gst_base_sink_activate, gst_base_sink_activate_pull)
7622 (gst_base_sink_activate_push): Make activation mode choosing work.
7624 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7625 is right. Make pull mode work. Post an eos before pausing in pull
7627 (gst_base_sink_change_state): Pay attention to the core's
7628 change_state() return val.
7630 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7631 has-getrange properties. Cleanups.
7633 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7634 has_getrange and replace with can_activate_pull and
7637 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7638 locking comments. Remove has_loop, has_chain and replace with
7639 can_activate_pull and can_activate_push.
7641 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7644 * examples/Makefile.am:
7645 * examples/metadata/Makefile.am:
7646 * examples/metadata/read-metadata.c: (message_loop),
7647 (have_pad_handler), (make_pipeline), (print_tag), (main):
7648 Add metadata reading example that loops over a list of filenames,
7649 dumping any tags found.
7651 * gst/gstbus.c: (gst_bus_dispose):
7652 * gst/gstelement.c: (gst_element_dispose):
7653 Release a few potentially-held references in dispose.
7655 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7657 * docs/gst/tmpl/gstminiobject.sgml:
7658 do *not* add tmpl/*.sgml files to CVS!
7660 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7662 * libs/gst/bytestream/.cvsignore:
7663 * libs/gst/bytestream/Makefile.am:
7664 * libs/gst/bytestream/adapter.c:
7665 * libs/gst/bytestream/adapter.h:
7666 * libs/gst/bytestream/bytestream.c:
7667 * libs/gst/bytestream/bytestream.h:
7668 * libs/gst/bytestream/filepad.c:
7669 * libs/gst/bytestream/filepad.h:
7670 removing obsolete files
7672 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7674 * docs/gst/gstreamer-docs.sgml:
7675 * docs/libs/gstreamer-libs-docs.sgml:
7676 disabed additional index entries again, as this makes docs-gen just
7677 slow and they aren't useful yet
7678 * docs/libs/gstreamer-libs-sections.txt:
7679 little -section.txt cleanup for libs
7681 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7683 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7684 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7685 fix up some debugging
7686 (gst_base_transform_get_unit_size),
7687 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7688 (gst_base_transform_handle_buffer):
7689 * gst/base/gstbasetransform.h:
7690 handle and store timed NEWSEGMENT events so that subclasses that
7691 calculate time by counting samples have a segment_start time they
7692 need to add to their timestamps - see audioresample
7694 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7697 removed ';' from the end of macro defs
7698 * docs/gst/gstreamer-docs.sgml:
7699 * docs/gst/gstreamer-sections.txt:
7700 * docs/gst/tmpl/.cvsignore:
7702 * gst/gstelement.c: (gst_element_class_init),
7703 (gst_element_set_state), (activate_pads),
7704 (gst_element_save_thyself):
7705 * gst/gstevent.c: (gst_event_new_newsegment):
7707 * gst/gstiterator.c:
7708 * gst/gstiterator.h:
7711 * gst/gstutils.c: (gst_pad_query_convert):
7713 fixed parameter name mismatches between source, header and docs
7714 added some more docs, resolved the last batch of unused elements in
7715 docs (now someone needs to doc them)
7717 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7719 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7720 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7721 don't walk through the plugins backwards. Where is all this
7722 reversed logic coming from ?
7724 2005-08-25 Wim Taymans <wim@fluendo.com>
7726 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7727 (gst_base_transform_transform_size),
7728 (gst_base_transform_configure_caps),
7729 (gst_base_transform_get_unit_size),
7730 (gst_base_transform_buffer_alloc),
7731 (gst_base_transform_change_state):
7732 * gst/base/gstbasetransform.h:
7733 Cache caps unit_size.
7734 Make sure we cannot negotiate up and downstream at the
7737 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7739 * gst/gst.c: (init_pre), (init_post):
7740 register the installed plugin path after the env var
7741 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7742 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7743 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7744 directories, so the tests can prefer uninstalled over installed
7746 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7748 * gst/base/gstbasetransform.h:
7753 2005-08-25 Wim Taymans <wim@fluendo.com>
7755 * gst/gstbin.c: (bin_bus_handler):
7756 Be a bit more conservative about the posted message.
7758 * gst/gstbus.c: (gst_bus_post):
7759 Some cleanups, warn wrong return values.
7761 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7763 * check/gst/gstbin.c: (GST_START_TEST):
7764 * gst/gstbin.c: (bin_bus_handler):
7765 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7766 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7767 (gst_message_new_warning), (gst_message_new_tag),
7768 (gst_message_new_state_changed), (gst_message_new_segment_start),
7769 (gst_message_new_segment_done), (gst_message_new_custom):
7771 * tools/gst-launch.c: (event_loop):
7772 * tools/gst-md5sum.c: (event_loop):
7773 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7775 2005-08-25 Wim Taymans <wim@fluendo.com>
7777 * check/generic/states.c: (GST_START_TEST):
7778 Cleanup can be done at the end.
7780 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7781 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7782 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7783 Oh boy.. Thanks for finding this, Thomas.
7785 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7787 * docs/gst/gstreamer.types:
7790 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7792 * docs/gst/gstreamer-docs.sgml:
7793 * docs/gst/gstreamer-sections.txt:
7794 * docs/gst/tmpl/.cvsignore:
7796 * gst/gstiterator.c:
7798 * gst/registries/gstxmlregistry.h:
7799 added missing classes and symbols (123 more to go)
7800 removed removed symbols from section file
7801 fixed many doc-comments
7803 2005-08-24 Wim Taymans <wim@fluendo.com>
7805 * check/generic/states.c: (GST_START_TEST):
7806 Make sure all tasks are stopped.
7808 * check/gst/gstbin.c: (GST_START_TEST):
7809 Unref after usage for proper valgrinding.
7811 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7812 Really wait for the task to stop before destroying the
7815 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7816 (gst_queue_src_activate_push):
7817 Small cleanups. Don't stop the task when we did not start
7820 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7821 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7822 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7825 Protect the stream lock with the object lock.
7826 Disallow setting the stream lock when running.
7827 Add cleanup_all to wait for the threadpool to finish.
7828 Remove code to autoallocate a mutex if none was provided.
7829 Add _join() to wait for a task to stop.
7830 Protect the thread pool with a global lock.
7832 2005-08-24 Wim Taymans <wim@fluendo.com>
7834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7835 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7836 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7837 * gst/base/gstbasesink.h:
7838 Handle newsegment events correctly.
7839 Drop buffers out of the segment range.
7841 2005-08-22 Andy Wingo <wingo@pobox.com>
7843 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7844 macro, implements an interface and gstimplementsinterface for a
7847 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7849 * check/Makefile.am:
7850 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7851 add a test that does a bunch of state changes on elements
7852 needs some fixing for valgrind
7853 * check/states/sinks.c: (gst_object_suite):
7856 add prototype for gst_caps_is_equal_fixed
7858 * gst/gstregistrypool.c:
7861 2005-08-24 Andy Wingo <wingo@pobox.com>
7863 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7864 convert a negative value. Doesn't make much sense. Mostly this is
7865 here to force callers to ensure -1 maps to -1.
7867 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7869 * docs/pwg/advanced-types.xml:
7870 Well done to Michael for catching my deliberate introduction
7871 of this spelling mistake.
7872 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7874 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7875 unlink pads before removing the element from the bin.
7877 2005-08-24 Andy Wingo <wingo@pobox.com>
7879 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7880 the same thing as GST_DEBUG=*:4.
7881 (parse_debug_level, parse_debug_category): New helper parsers.
7883 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7885 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7886 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7887 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7888 (gst_base_transform_buffer_alloc),
7889 (gst_base_transform_handle_buffer):
7890 use gboolean return values and pointers to size so we can use the
7891 full GST_BUFFER_SIZE range (guint) for buffer sizes
7892 use GstPadDirection for transform_caps
7893 * gst/base/gstbasetransform.h:
7894 rename get_size to get_unit_size since that's what it is
7895 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7896 use GstPadDirection for transform_caps
7897 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7899 cleanup and debugging
7901 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7903 * gst/gstelement.c: (gst_element_class_init),
7904 (gst_element_set_state), (activate_pads),
7905 (gst_element_save_thyself):
7906 * tools/gst-compprep.c: (main):
7907 * tools/gst-inspect.c: (print_element_properties_info):
7908 * tools/gst-xmlinspect.c: (print_element_properties):
7909 Fixed long standing mem-leak
7911 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7913 * check/gst/gstbin.c: (GST_START_TEST):
7914 * gst/gstbin.c: (bin_bus_handler):
7915 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7916 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7917 (gst_message_new_warning), (gst_message_new_tag),
7918 (gst_message_new_state_changed), (gst_message_new_segment_start),
7919 (gst_message_new_segment_done), (gst_message_new_custom):
7921 * tools/gst-launch.c: (event_loop):
7922 * tools/gst-md5sum.c: (event_loop):
7923 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7924 that applications can sensibly post custom messages with references
7925 to their own objects.
7927 2005-08-24 Andy Wingo <wingo@pobox.com>
7929 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7932 2005-08-24 Wim Taymans <wim@fluendo.com>
7934 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7935 (gst_base_transform_transform_caps),
7936 (gst_base_transform_transform_size),
7937 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7938 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7939 (gst_base_transform_handle_buffer):
7940 * gst/base/gstbasetransform.h:
7941 Many fixes and new features added by Thomas. Can now also do
7942 transforms with variable sizes and a custom fixate_caps function.
7944 2005-08-24 Wim Taymans <wim@fluendo.com>
7946 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7950 Cast to ClockTime before formatting to time.
7955 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7957 * check/gst-libs/controller.c: (GST_START_TEST),
7958 (gst_controller_suite):
7959 * docs/gst/tmpl/gstcaps.sgml:
7960 * docs/gst/tmpl/gstghostpad.sgml:
7961 * docs/gst/tmpl/gstquery.sgml:
7962 * docs/gst/tmpl/gstutils.sgml:
7963 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
7964 (gst_object_sink_values), (gst_object_get_value_arrays),
7965 (gst_object_get_value_array):
7966 gracefully handle helper method calls to objects that are not beeing
7967 controlled, added test case for that
7969 2005-08-23 Wim Taymans <wim@fluendo.com>
7971 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
7972 (gst_event_new_newsegment), (gst_event_parse_newsegment),
7973 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
7974 (gst_event_parse_qos), (gst_event_new_seek),
7975 (gst_event_parse_seek):
7977 Some more debugging output and doc cleanups.
7979 * gst/gstqueue.c: (gst_queue_handle_sink_event):
7980 Fix possible deadlock.
7982 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7984 * docs/gst/gstreamer-docs.sgml:
7985 * docs/gst/gstreamer-sections.txt:
7986 * docs/gst/gstreamer.types:
7987 * docs/gst/tmpl/.cvsignore:
7992 added 100 symbols from gstreamer-unused.txt to the right sections
7993 fixed more broken comments
7994 added GstBus to docs
7996 2005-08-23 Stefan Kost <ensonic@users.sf.net>
7998 * docs/gst/gstreamer-sections.txt:
7999 * docs/gst/tmpl/.cvsignore:
8000 * docs/gst/tmpl/gstbin.sgml:
8001 * docs/gst/tmpl/gstbuffer.sgml:
8002 * gst/base/gstbasesrc.c:
8003 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8006 * tools/gst-launch.1.in:
8007 inlined more doc comments, added missing comments and fixed comments
8010 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
8012 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8016 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8018 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8019 * gst/gststructure.h:
8020 add a fixate function for booleans; add a FIXME that these func
8021 names should probably be gst_structure_fixate_*
8023 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8025 * docs/gst/gstreamer-docs.sgml:
8026 * docs/gst/gstreamer-sections.txt:
8028 * gst/gstbin.c: (gst_bin_get_type),
8029 (gst_bin_child_proxy_get_child_by_index),
8030 (gst_bin_child_proxy_get_children_count),
8031 (gst_bin_child_proxy_init):
8032 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8033 (gst_child_proxy_get_child_by_index),
8034 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8035 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8036 (gst_child_proxy_get), (gst_child_proxy_set_property),
8037 (gst_child_proxy_set_valist), (gst_child_proxy_set),
8038 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8039 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8040 * gst/gstchildproxy.h:
8041 * gst/parse/grammar.y:
8042 * tools/gst-inspect.c: (print_interfaces),
8043 (print_element_properties_info), (print_element_info):
8044 ported gstchildproxy over from 0.8
8045 ported gst-inspect fixes and enhancements over from 0.8
8047 2005-08-22 Wim Taymans <wim@fluendo.com>
8049 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8050 (gst_base_transform_handle_buffer):
8051 Also call the transform function if we have ANY caps.
8053 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8056 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8058 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8059 Don't pretend to handle seek events if the source is not seekable
8061 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8064 Remove extra parameter to debug output
8066 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8067 (gst_base_src_do_seek), (gst_base_src_activate_push):
8068 Fix seek event handling.
8070 * gst/gstpipeline.c: (gst_pipeline_change_state):
8071 * gst/gstqueue.c: (gst_queue_handle_sink_event),
8072 (gst_queue_src_activate_push):
8073 Don't start the src pad task on FLUSH_STOP if the pad
8077 2005-08-22 Wim Taymans <wim@fluendo.com>
8079 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8080 Added check for gst_static_caps_get() refcounting.
8082 2005-08-22 Wim Taymans <wim@fluendo.com>
8084 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8085 Make _static_caps_get() refcounting sane.
8087 * gst/gstelement.c: (gst_element_set_state):
8088 Add g_return_val_if_fail() to protect against segfaults.
8090 2005-08-22 Stefan Kost <ensonic@users.sf.net>
8092 * docs/gst/tmpl/gstevent.sgml:
8095 inlined remaining docs, added missing doc comments
8097 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
8099 * check/gst/gstbin.c: (GST_START_TEST):
8100 since we don't know when preroll is done, use refcount range
8102 * gst/check/gstcheck.h:
8103 add macro for checking refcount range
8105 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8107 * check/Makefile.am:
8108 clean up environment for when registry gets built versus
8109 when actual tests are run; valgrind seems to not report
8110 leaks if GST_PLUGIN_PATH is set to some specific values
8111 * check/gst/gstbin.c: (GST_START_TEST):
8112 add more refcounting checks; maybe this exposes a
8115 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8116 * gst/check/gstcheck.h:
8117 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8118 (gst_bin_change_state):
8119 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8120 add/fix debugging/whitespace
8122 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8124 * check/gst/gstevent.c: (event_probe), (test_event),
8126 Er, don't call gst_bin_watch_for_state_change you idiot.
8128 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8130 * check/Makefile.am:
8131 Use CHECK_CFLAGS and CHECK_LIBS
8132 * check/gst/gstevent.c: (event_probe), (test_event),
8135 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8136 (gst_base_src_start), (gst_base_src_stop),
8137 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8138 (gst_base_src_change_state):
8139 Sprinkle gst_base_src_stop liberally around error paths to fix
8140 problems reusing a source after failed state changes.
8141 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8142 (helper_find_suggest), (gst_type_find_helper):
8143 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8145 * docs/gst/tmpl/gstevent.sgml:
8146 Migrate part of the docs from the SGML file. Wait for ensonic to
8147 tell me how I did it wrong ;)
8148 * tools/gst-typefind.c: (main):
8149 Extra robustness to state changes between files.
8151 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8153 * check/Makefile.am:
8154 don't valgrind the controller test - it's leaking - Stefan, HELP
8155 * gst/check/gstcheck.c: (gst_check_message_error),
8156 (gst_check_chain_func), (gst_check_setup_element),
8157 (gst_check_teardown_element), (gst_check_setup_src_pad),
8158 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8159 (gst_check_teardown_sink_pad):
8160 * gst/check/gstcheck.h:
8161 add a bunch of methods to set up elements, and src and sink pads
8162 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8163 * check/elements/identity.c: (setup_identity), (cleanup_identity),
8168 whitespace/doc fixes
8170 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8173 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8174 be handled by the application and not always printed as well
8176 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8178 * check/Makefile.am:
8180 * gst/check/gstcheck.c: (gst_check_message_error):
8181 * gst/check/gstcheck.h:
8182 add a fail_unless_equals_int
8183 add fail_unless for error messages
8185 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8187 * check/Makefile.am:
8189 * common/Makefile.am:
8192 factor out some of the common stuff so we can use it
8194 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8196 * check/Makefile.am:
8197 * check/gst/gstiterator.c: (GST_START_TEST):
8198 * check/gst/gstsystemclock.c: (GST_START_TEST),
8199 (gst_systemclock_suite):
8200 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8204 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8206 * check/elements/.cvsignore:
8207 * check/elements/gstfakesrc.c:
8208 rename to name of element
8209 * check/elements/identity.c: (chain_func), (event_func),
8210 (setup_identity), (cleanup_identity), (GST_START_TEST),
8211 (identity_suite), (main):
8212 add a test for identity
8213 * check/Makefile.am:
8214 * pkgconfig/Makefile.am:
8215 * pkgconfig/gstreamer-check.pc.in:
8216 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8220 move the check stuff to a library that gets installed
8221 * check/gst-libs/controller.c: (GST_START_TEST):
8222 * check/gst-libs/gdp.c:
8223 * check/gst/gst.c: (GST_START_TEST):
8224 * check/gst/gstbin.c:
8225 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8226 * check/gst/gstbus.c:
8227 * check/gst/gstcaps.c: (GST_START_TEST):
8228 * check/gst/gstelement.c:
8229 * check/gst/gstghostpad.c:
8230 * check/gst/gstiterator.c:
8231 * check/gst/gstmessage.c:
8232 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8233 * check/gst/gstobject.c:
8234 * check/gst/gstpad.c: (GST_START_TEST):
8235 * check/gst/gststructure.c: (GST_START_TEST):
8236 * check/gst/gstsystemclock.c: (GST_START_TEST),
8237 (gst_systemclock_suite):
8238 * check/gst/gsttag.c: (gst_tag_suite):
8239 * check/gst/gstvalue.c:
8240 * check/pipelines/cleanup.c:
8241 * check/pipelines/simple_launch_lines.c:
8242 * check/states/sinks.c:
8243 change include statement
8245 * docs/gst/gstreamer-sections.txt:
8246 * docs/gst/tmpl/gstpad.sgml:
8247 document more pad stuff
8248 * gst/gstminiobject.c: (gst_mini_object_ref),
8249 (gst_mini_object_unref):
8252 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8254 * docs/gst/tmpl/gst.sgml:
8256 eliminate another tmpl file, fix spelling in the long-description
8258 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8260 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8261 (test_event), (timediff), (gstevents_suite):
8262 Should fix build on 64-bit arch's
8264 2005-08-18 Andy Wingo <wingo@pobox.com>
8266 Make sure that when a pipeline goes to PLAYING, that data has
8267 actually hit the sink.
8269 * check/states/sinks.c (test_sink): A sink that doesn't get any
8270 data shouldn't return SUCCESS for going to either PLAYING or
8271 PAUSED. Test also the return values on the way back down.
8273 * gst/gstelement.c (gst_element_set_state): When changing the
8274 state of an element currently changing state asynchronously, go to
8275 lost-state after commiting the pending state. Makes future calls
8276 to get_state continue to return ASYNC.
8278 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8279 ASYNC when going to PLAYING if we still don't have preroll, as can
8280 happen with live sources.
8282 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8284 * docs/pwg/advanced-types.xml:
8285 Hack long paragraph into 2 chunks as a workaround for buggy
8286 jadetex version in sid and breezy that loops infinitely and
8289 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8291 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8292 (test_event), (timediff), (gstevents_suite):
8293 Provide more error margin in clock measurements to allow for
8294 g_get_current_time inaccuracies.
8296 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8298 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8299 (test_event), (timediff), (gstevents_suite):
8300 Fix error message output so I might be able to tell why the
8301 test works here but fails on the build farm.
8303 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8305 * check/Makefile.am:
8306 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8307 (test_event), (timediff), (gstevents_suite), (main):
8310 * docs/design/part-seeking.txt:
8313 * docs/gst/tmpl/gstevent.sgml:
8314 * docs/gst/tmpl/gstfakesrc.sgml:
8317 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8318 Treat a buffer-without-newsegment the same as a receiving
8319 a newsegment not in time format, and disable syncing to the clock
8322 * gst/gstbus.c: (gst_bus_set_sync_handler):
8323 Assert if anyone tries to replace the existing sync_handler for bus,
8324 as only the owner should be setting it.
8327 Have a fixed set of custom event enums with events identified by
8328 their structure name (as in 0.8), rather than a free-for-all
8329 allowing collisions between enum values from different plugins.
8331 * gst/gstpad.c: (gst_pad_class_init):
8334 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8335 Handle out-of-band downstream events from the sending thread.
8337 2005-08-17 Andy Wingo <wingo@pobox.com>
8339 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8340 play-timeout==0 to mean no timeout at all. In that case, don't
8341 bother with a get_state or a warning, just return directly, even
8344 * gst/base/gstbasetransform.c: Debug changes.
8347 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8348 ensure bins post state change messages. A bit of a hack but I can't
8349 think of a way to avoid it.
8351 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8353 2005-08-16 Andy Wingo <wingo@pobox.com>
8355 * gst/base/gstadapter.h:
8356 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8357 peek() but you own the data. Not terribly efficient atm.
8359 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8361 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8362 (gst_element_found_tags):
8364 Add two utility functions for tag handling.
8366 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8368 * docs/manual/advanced-dataaccess.xml:
8369 * docs/manual/basics-helloworld.xml:
8370 Fix docs to use _bin_add() before _link(), which fixes the examples
8371 with recent core versions (reported by Madhan Raj M
8372 <raj_madan@rediffmail.com>, #313199).
8374 2005-08-16 Wim Taymans <wim@fluendo.com>
8376 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8377 Added subtract checks.
8379 * docs/design/part-events.txt:
8380 Some more docs about newsegment
8382 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8385 * gst/gstcaps.c: (gst_caps_to_string):
8386 Add comments, cleanups.
8388 * gst/gstelement.c: (gst_element_save_thyself):
8391 * gst/gstvalue.c: (gst_value_collect_int_range),
8392 (gst_string_unwrap), (gst_value_union_int_int_range),
8393 (gst_value_union_int_range_int_range),
8394 (gst_value_intersect_int_int_range),
8395 (gst_value_intersect_int_range_int_range),
8396 (gst_value_intersect_double_double_range),
8397 (gst_value_intersect_double_range_double_range),
8398 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8399 (gst_value_subtract_int_range_int),
8400 (gst_value_subtract_double_range_double),
8401 (gst_value_subtract_double_range_double_range),
8402 (gst_value_subtract_from_list), (gst_value_subtract_list),
8403 (gst_value_can_compare), (gst_value_compare_fraction):
8404 Cleanups, add comments, remove unneeded asserts.
8406 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8408 * tools/gst-launch.c: (event_loop):
8409 don't convert NULL structures to strings
8411 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8413 * docs/gst/gstreamer-sections.txt:
8414 made some defines private
8415 * docs/gst/tmpl/gstconfig.sgml:
8416 * docs/gst/tmpl/gstqueue.sgml:
8417 * docs/gst/tmpl/gsttaglist.sgml:
8418 * docs/gst/tmpl/gsttypes.sgml:
8419 * docs/gst/tmpl/gstutils.sgml:
8420 * docs/pwg/appendix-porting.xml:
8421 * gst/base/gstbasesink.h:
8422 * gst/base/gstbasesrc.c:
8423 * gst/base/gstbasesrc.h:
8424 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8425 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8426 * gst/gstelement.c: (gst_element_class_init):
8427 * gst/gstpad.c: (gst_pad_class_init):
8428 * gst/gstqueue.c: (gst_queue_class_init):
8429 * gst/gstxml.c: (gst_xml_class_init):
8430 documented all undocumented signal inline
8431 * libs/gst/controller/gst-controller.h:
8434 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8436 * docs/pwg/appendix-porting.xml:
8437 Document _set_link_function -> _set_setcaps_function.
8439 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8441 * check/Makefile.am:
8442 add a .check target for running the check
8443 * check/gst-libs/controller.c: (GST_START_TEST):
8445 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8446 complete checks for gstbuffer; would be nice if I could get the
8447 gcov stuff to work so I can see if I actually completed gstbuffer.c
8449 add ASSERT_BUFFER_REFCOUNT
8451 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8453 * docs/gst/gstreamer-sections.txt:
8454 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8456 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8457 spew out a warning if a tag that is already registered
8458 is re-registered, unless it is re-registered with a
8459 different type (#308438).
8461 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8463 * docs/pwg/appendix-porting.xml:
8464 * docs/pwg/building-state.xml:
8465 Add some paragraphs about state changes in 0.9 to the PWG
8466 and the porting guide, in particular about the new meaning
8467 of GST_STATE_PAUSED and how to write state change functions
8468 with concurrent access by multiple threads in mind.
8470 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8472 * docs/gst/gstreamer-docs.sgml:
8473 * docs/libs/gstreamer-libs-docs.sgml:
8474 added deprecation and since indexes
8475 * libs/gst/controller/gst-controller.c:
8476 * libs/gst/controller/gst-helper.c:
8480 2005-08-11 Wim Taymans <wim@fluendo.com>
8482 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8483 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8484 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8485 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8486 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8487 (gst_ghost_pad_set_target):
8488 Actually implement (re)setting the target on a ghostpad
8489 as described in the docs.
8491 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8493 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8494 Check whether GST_DEBUG_NO_COLOR environment variable is
8495 set and disable coloured debug output if that is the case.
8497 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8499 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8500 (gst_type_find_helper):
8501 The memory returned by gst_type_find_peek() needs to
8502 stay valid until the end of a typefind function, and
8503 typefind functions may keep results from different
8504 offsets around, so we can't just unref the buffer from
8505 the previous _peek(), but have to save all buffers
8506 returned by _peek() until typefinding is done and only
8509 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8511 * docs/gst/gstreamer-sections.txt:
8513 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8515 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8517 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8518 Fix a pretty good memleak.
8520 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8522 * gst/gstiterator.h:
8523 Fix wrong include and 'make distcheck'.
8525 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8527 * gst/gstbin.c: (bin_bus_handler):
8528 Use gst_element_post_message() instead.
8530 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8532 * gst/base/gstadapter.h:
8533 * gst/base/gstbasesink.h:
8534 * gst/base/gstbasesrc.h:
8535 * gst/base/gstbasetransform.h:
8536 * gst/base/gstcollectpads.h:
8537 * gst/base/gstpushsrc.h:
8538 * gst/gstiterator.h:
8539 Add padding to our base elements' class and instance structs and
8540 to GstIterator (you will need to rebuild all plugins and apps!)
8542 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8544 * gst/gstbin.c: (bin_bus_handler):
8545 Make default message forwarding from child->bus to bin->bus
8546 threadsafe and make it not emit warnings if the parent has no bus.
8548 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8550 * gst/gstelement.c: (activate_pads):
8551 On paused->ready, set pad->caps to NULL, as is the documented
8552 behaviour in this state change. Fixes playback of series of
8553 media files when visualization is enabled in Totem.
8555 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8557 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8558 Allow NULL as filter-caps (which means "any").
8560 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8562 * docs/libs/gstreamer-libs-sections.txt:
8563 * libs/gst/controller/gst-controller.c:
8564 * libs/gst/controller/gst-controller.h:
8565 * libs/gst/controller/gst-helper.c:
8566 adding more entries to the docs and fix small doc-bugs
8568 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8570 * docs/gst/gstreamer-docs.sgml:
8571 * docs/gst/gstreamer-sections.txt:
8572 * docs/gst/gstreamer.types:
8573 * docs/gst/tmpl/gstbasesink.sgml:
8574 * docs/gst/tmpl/gstbasesrc.sgml:
8575 * docs/gst/tmpl/gstbasetransform.sgml:
8576 * docs/gst/tmpl/gstfakesrc.sgml:
8577 * gst/base/gstcollectpads.c:
8578 * gst/base/gstcollectpads.h:
8579 * libs/gst/controller/gst-controller.c:
8580 * libs/gst/controller/gst-controller.h:
8581 * libs/gst/controller/gst-helper.c:
8582 * libs/gst/controller/gst-interpolation.c:
8583 * libs/gst/controller/lib.c:
8584 added long/short desc for controller docs
8585 added collectpads base class docs
8586 added correct includes to base-class docs
8588 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8590 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8591 (gst_test_mono_source_set_property),
8592 (gst_test_mono_source_class_init), (GST_START_TEST),
8593 (gst_controller_suite):
8594 * docs/gst/gstreamer-docs.sgml:
8595 * docs/gst/gstreamer-sections.txt:
8596 * docs/gst/gstreamer.types:
8597 * docs/libs/gstreamer-libs-docs.sgml:
8598 * docs/libs/gstreamer-libs-sections.txt:
8599 * gst/base/gstadapter.c:
8600 * libs/gst/controller/gst-controller.c:
8601 (gst_controlled_property_new), (gst_controlled_property_free),
8602 (gst_controller_new_valist),
8603 (gst_controller_remove_properties_valist),
8604 (gst_controller_sink_values), (_gst_controller_finalize):
8605 * libs/gst/controller/gst-controller.h:
8606 * libs/gst/controller/gst-helper.c:
8607 (gst_object_control_properties), (gst_object_uncontrol_properties),
8608 (gst_object_get_controller), (gst_object_set_controller),
8609 (gst_object_sink_values), (gst_object_get_value_arrays),
8610 (gst_object_get_value_array):
8611 more tests (and fixes) for the controller
8612 more docs for the controller
8613 integrated companies docs for the adapter
8615 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8617 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8618 (GST_START_TEST), (fakesrc_suite):
8619 add tests for sizetype
8621 2005-08-04 Andy Wingo <wingo@pobox.com>
8623 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8624 fixes buffer_alloc proxying among other things.
8626 * gst/base/gstbasetransform.c:
8627 * gst/base/gstbasetransform.h:
8628 Revert patch to gstbasetransform from 7-28 removing
8631 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8632 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8633 Semantics changed, should return not the size of the output buffer
8634 but the byte size of a buffer with a given caps.
8636 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8638 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8639 out) are not the pad caps until setcaps finishes.
8640 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8641 not-in-place case as well. Deal with changing from in-place to
8642 not-in-place within calling pad_alloc_buffer. Still a bit
8643 concerned about the overhead here...
8645 2005-08-03 Andy Wingo <wingo@pobox.com>
8647 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8648 fixating is an error.
8650 2005-08-04 Edward Hervey <edward@fluendo.com>
8652 * gst/base/gstadapter.h:
8653 Added gst_adapter_get_type() to the header
8655 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8657 * check/Makefile.am:
8658 * check/gst-libs/controller.c:
8659 * libs/gst/controller/gst-controller.c:
8660 (gst_controller_new_valist):
8661 added check test suite for the controller
8662 * gst/base/gstpushsrc.c:
8665 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8667 * docs/gst/Makefile.am:
8668 * docs/gst/gstreamer-docs.sgml:
8669 * docs/gst/gstreamer-sections.txt:
8670 * docs/gst/gstreamer.types:
8671 * docs/gst/tmpl/gstfakesrc.sgml:
8673 * gst/base/gstbasesink.c:
8674 * gst/base/gstbasesink.h:
8675 * gst/base/gstbasesrc.c:
8676 * gst/base/gstbasesrc.h:
8677 * gst/base/gstbasetransform.c:
8678 * gst/base/gstpushsrc.c:
8679 * gst/base/gstpushsrc.h:
8680 add short/long description docs to base classes
8681 add pushsrc to the docs
8682 remove consolidated doc fragments
8684 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8687 * docs/libs/Makefile.am:
8688 * docs/libs/gstreamer-libs-docs.sgml:
8689 * docs/libs/gstreamer-libs-sections.txt:
8690 * docs/libs/gstreamer-libs.types:
8691 * examples/Makefile.am:
8692 * examples/controller/.cvsignore:
8693 * examples/controller/Makefile.am:
8694 * examples/controller/audio-example.c: (main):
8695 * libs/gst/Makefile.am:
8696 * libs/gst/controller/.cvsignore:
8697 * libs/gst/controller/Makefile.am:
8698 * libs/gst/controller/gst-controller.c:
8699 (on_object_controlled_property_changed), (gst_timed_value_compare),
8700 (gst_timed_value_find),
8701 (gst_controlled_property_set_interpolation_mode),
8702 (gst_controlled_property_new), (gst_controlled_property_free),
8703 (gst_controller_find_controlled_property),
8704 (gst_controller_new_valist), (gst_controller_new),
8705 (gst_controller_remove_properties_valist),
8706 (gst_controller_remove_properties), (gst_controller_set),
8707 (gst_controller_set_from_list), (gst_controller_unset),
8708 (gst_controller_get), (gst_controller_get_all),
8709 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8710 (gst_controller_get_value_array),
8711 (gst_controller_set_interpolation_mode),
8712 (_gst_controller_finalize), (_gst_controller_init),
8713 (_gst_controller_class_init), (gst_controller_get_type):
8714 * libs/gst/controller/gst-controller.h:
8715 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8716 (g_object_uncontrol_properties), (g_object_get_controller),
8717 (g_object_set_controller), (g_object_sink_values),
8718 (g_object_get_value_arrays), (g_object_get_value_array):
8719 * libs/gst/controller/gst-interpolation.c:
8720 (gst_controlled_property_find_timed_value_node),
8721 (interpolate_none_get), (interpolate_trigger_get),
8722 (interpolate_trigger_get_value_array):
8723 * libs/gst/controller/lib.c: (gst_controller_init):
8724 * pkgconfig/Makefile.am:
8725 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8726 * pkgconfig/gstreamer-control.pc.in:
8727 * testsuite/Makefile.am:
8728 * testsuite/controller/.cvsignore:
8729 * testsuite/controller/Makefile.am:
8730 * testsuite/controller/interpolator.c: (main):
8731 added controller code
8732 removed dparam pc files
8734 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8735 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8736 (gst_collectpads_stop):
8737 Broadcast the condition when shutting down, to make sure we wake all
8738 threads up. Shut down pads on finalize, for safety.
8740 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8741 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8742 (gst_base_transform_handle_buffer),
8743 (gst_base_transform_change_state):
8744 Handle PAUSED->READY->PAUSED transition after negotiation
8746 * gst/gstmessage.c: (gst_message_init):
8747 Extra piece of debug for new messages.
8749 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8752 * docs/gst/tmpl/gstbasesrc.sgml:
8753 * docs/gst/tmpl/gstelement.sgml:
8754 * docs/gst/tmpl/gstevent.sgml:
8755 * docs/gst/tmpl/gstfakesrc.sgml:
8756 * docs/gst/tmpl/gstformat.sgml:
8757 * docs/gst/tmpl/gstghostpad.sgml:
8758 * docs/gst/tmpl/gstpad.sgml:
8759 * docs/gst/tmpl/gstquery.sgml:
8760 * docs/gst/tmpl/gststructure.sgml:
8761 * docs/gst/tmpl/gsttaglist.sgml:
8762 * docs/gst/tmpl/gstvalue.sgml:
8763 * docs/libs/gstreamer-libs-docs.sgml:
8764 * docs/libs/gstreamer-libs-sections.txt:
8765 * docs/libs/gstreamer-libs.types:
8766 * libs/gst/Makefile.am:
8767 * libs/gst/control/.cvsignore:
8768 * libs/gst/control/Makefile.am:
8769 * libs/gst/control/control.c:
8770 * libs/gst/control/control.h:
8771 * libs/gst/control/dparam.c:
8772 * libs/gst/control/dparam.h:
8773 * libs/gst/control/dparam_smooth.c:
8774 * libs/gst/control/dparam_smooth.h:
8775 * libs/gst/control/dparamcommon.h:
8776 * libs/gst/control/dparammanager.c:
8777 * libs/gst/control/dparammanager.h:
8778 * libs/gst/control/dplinearinterp.c:
8779 * libs/gst/control/dplinearinterp.h:
8780 * libs/gst/control/unitconvert.c:
8781 * libs/gst/control/unitconvert.h:
8782 * testsuite/Makefile.am:
8783 * testsuite/dynparams/.cvsignore:
8784 * testsuite/dynparams/Makefile.am:
8785 * testsuite/dynparams/dparamstest.c:
8786 * tools/Makefile.am:
8787 * tools/gst-inspect.c: (print_element_info), (main):
8788 * tools/gst-xmlinspect.c: (print_element_info), (main):
8789 deactivate and remove dparams (libgstcontrol)
8791 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8793 * gst/elements/gsttypefindelement.c:
8794 (gst_type_find_element_have_type), (gst_type_find_element_init),
8795 (stop_typefinding), (gst_type_find_element_handle_event),
8796 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8797 * gst/elements/gsttypefindelement.h:
8798 Set caps on all outgoing buffers, not just the first one.
8800 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8802 * gst/elements/gsttypefindelement.c:
8803 (gst_type_find_element_have_type),
8804 (gst_type_find_element_check_set_buffer_caps),
8805 (gst_type_find_element_init), (stop_typefinding),
8806 (gst_type_find_element_handle_event),
8807 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8808 * gst/elements/gsttypefindelement.h:
8809 Set caps on first outgoing buffer when we've found the type.
8811 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8813 * docs/gst/gstreamer-docs.sgml:
8814 * docs/gst/gstreamer-sections.txt:
8815 * docs/gst/tmpl/gstscheduler.sgml:
8816 * docs/gst/tmpl/gstschedulerfactory.sgml:
8817 Remove some old cruft from docs.
8819 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8822 Fix inline docs for GstPadLinkReturn.
8824 * gst/gststructure.c: (gst_structure_has_name):
8825 * gst/gststructure.h:
8826 * docs/gst/gstreamer-sections.txt:
8827 New API: gst_structure_has_name().
8829 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8832 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8833 and _LARGEFILE_SOURCE in config.h as required. Do not
8834 export those flags in our .pc files any longer (#142209).
8836 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8838 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8839 (gst_file_sink_do_seek), (gst_file_sink_event),
8840 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8841 Redo seek/tell calls with large file support in mind; add some
8842 debugging messages; add log message that tells us when large
8843 file support is unavailable or not enabled for some reason.
8845 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8846 Add log message that tells us when large file support
8847 is unavailable or not enabled for some reason.
8849 2005-07-29 Wim Taymans <wim@fluendo.com>
8851 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8852 Added test for removing an element with ghostpad from a bin.
8853 Fixed test as current implementation does the right thing.
8855 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8856 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8857 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8858 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8859 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8860 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8861 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8862 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8863 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8864 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8865 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8866 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8867 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8868 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8869 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8870 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8871 * gst/gstghostpad.h:
8872 Clean up ghostpads, remove properties for internal stuff.
8875 Prepare for switching targets, not all use cases work yet.
8877 2005-07-29 Wim Taymans <wim@fluendo.com>
8879 * docs/design/part-gstghostpad.txt:
8882 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8883 (gst_bin_remove_func):
8884 Unlinking pads while holding the bin LOCK is not a good
8887 * gst/gstpad.c: (gst_pad_class_init),
8888 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8889 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8890 No prob setting template after creating the pad.
8892 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8894 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8895 (gst_bus_peek), (gst_bus_source_dispatch),
8896 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8897 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8898 gst_bus_poll may be called from other threads. Handle
8899 this nicely by not making poll_data disappear off the
8900 stack once gst_bus_poll returns.
8901 gst_bus_peek now increments the refcount on the returned
8904 2005-07-29 Wim Taymans <wim@fluendo.com>
8906 * docs/design/part-gstghostpad.txt:
8907 Overview of current GhostPad datastructures and use
8908 cases for changing the target.
8910 2005-07-28 Wim Taymans <wim@fluendo.com>
8912 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8913 Added checks for hierarchy consistency whan adding linked
8916 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8917 Added check to test element scheduling without bin/pipeline.
8919 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8920 First add elements to bin, then link.
8922 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8923 (gst_bin_remove_func):
8924 Unlink pads from elements added/removed from bin to maintain
8925 hierarchy consistency.
8927 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8929 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8930 (gst_base_transform_handle_buffer):
8931 * gst/base/gstbasetransform.h:
8932 Remove broken delay_configure (fixes renegotiation of software
8933 scaling pipelines); remove some leftover printf()s.
8935 2005-07-28 Wim Taymans <wim@fluendo.com>
8937 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8938 Added some more tests for wrong hierarchy
8940 * docs/design/part-overview.txt:
8943 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
8946 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
8947 (gst_element_dispose):
8950 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8951 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
8952 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
8953 (gst_pad_set_caps), (gst_pad_send_event):
8954 Check for correct hierarchy when linking pads. Moving to
8955 strict requirement for ghostpads when linking elements in
8959 Clean ups. Added WRONG_HIERARCHY return value.
8961 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8963 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8964 Better debug if no transform is possible.
8966 2005-07-27 Wim Taymans <wim@fluendo.com>
8968 * docs/random/wtay/network-transp:
8971 2005-07-27 Wim Taymans <wim@fluendo.com>
8973 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8974 (gst_dp_event_from_packet):
8975 Fix serialization of seek events.
8977 2005-07-27 Wim Taymans <wim@fluendo.com>
8979 * check/gst-libs/gdp.c: (GST_START_TEST):
8980 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8981 Fix compilation and fix event serialization.
8983 2005-07-27 Wim Taymans <wim@fluendo.com>
8986 * docs/design/part-TODO.txt:
8987 * docs/design/part-events.txt:
8990 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8991 (gst_base_sink_event), (gst_base_sink_do_sync),
8992 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
8993 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8994 (gst_base_src_do_seek), (gst_base_src_event_handler),
8995 (gst_base_src_loop):
8996 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8997 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8998 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8999 (gst_base_transform_event), (gst_base_transform_handle_buffer),
9000 (gst_base_transform_set_passthrough),
9001 (gst_base_transform_is_passthrough):
9002 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9003 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9009 * gst/gstelement.c: (gst_element_seek):
9011 Update gst_element_seek.
9013 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9014 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9015 (gst_event_new_flush_start), (gst_event_new_flush_stop),
9016 (gst_event_new_eos), (gst_event_new_newsegment),
9017 (gst_event_parse_newsegment), (gst_event_new_tag),
9018 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9019 (gst_event_parse_qos), (gst_event_new_seek),
9020 (gst_event_parse_seek), (gst_event_new_navigation):
9022 Make GstEvent use GstStructure. Add parsing code, make sure the
9023 API is sufficiently generic.
9024 Mark possible directions of events and serialization.
9026 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9027 (_gst_message_copy), (gst_message_new_segment_start),
9028 (gst_message_new_segment_done), (gst_message_new_custom),
9029 (gst_message_parse_segment_start),
9030 (gst_message_parse_segment_done):
9033 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9034 (gst_pad_set_caps), (gst_pad_send_event):
9035 Update for new events.
9036 Catch events sent in wrong directions.
9038 * gst/gstqueue.c: (gst_queue_link_src),
9039 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9040 (gst_queue_handle_src_query):
9045 Remove event code from this file.
9047 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9048 (gst_dp_event_from_packet):
9051 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9053 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9054 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9055 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9056 Make debugging actually useful.
9058 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9060 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9061 (gst_pad_fixate_caps):
9062 Implement default fixation once again, so that gst_pad_fixate()
9063 actually does anything at all. This probably needs to be some
9064 sort of a last resort, and use profile-based fixation first, but
9065 since that doesn't exist yet, this is the best we have. Fixes
9066 visualization in Totem.
9068 2005-07-22 Wim Taymans <wim@fluendo.com>
9070 * docs/design/part-events.txt:
9073 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9074 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9075 (gst_base_sink_activate_pull):
9078 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9079 (gst_fake_src_create):
9080 Fix handoff marshall.
9082 * gst/elements/gstidentity.c: (gst_identity_class_init),
9083 (gst_identity_transform_ip):
9084 We're a real inplace element.
9086 * gst/gstbus.c: (gst_bus_post):
9087 Added some comments.
9089 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9090 * tests/muxing/case1.c: (main):
9091 * tests/sched/dynamic-pipeline.c: (main):
9092 * tests/sched/interrupt1.c: (main):
9093 * tests/sched/interrupt2.c: (main):
9094 * tests/sched/interrupt3.c: (main):
9095 * tests/sched/runxml.c: (main):
9096 * tests/sched/sched-stress.c: (main):
9097 * tests/seeking/seeking1.c: (event_received), (main):
9098 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9100 * tests/threadstate/threadstate3.c: (main):
9101 * tests/threadstate/threadstate4.c: (main):
9102 * tests/threadstate/threadstate5.c: (main):
9105 2005-07-21 Wim Taymans <wim@fluendo.com>
9107 * docs/design/part-seeking.txt:
9108 Some small additions.
9110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9111 (gst_base_sink_get_times), (gst_base_sink_do_sync),
9112 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9113 * gst/base/gstbasesink.h:
9114 discont values are gint64, handle the math correctly.
9116 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9117 Make the basesrc report error if the source pad is not linked.
9119 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9120 (gst_queue_loop), (gst_queue_handle_src_query),
9121 (gst_queue_src_activate_push):
9122 Make queue collect data even if the srcpad is not linked.
9123 Start pushing out data as soon as it is linked.
9125 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9127 Added gst_flow_get_name() to ease error reporting.
9129 2005-07-20 Wim Taymans <wim@fluendo.com>
9131 * gst/gstmessage.c: (gst_message_new_segment_start),
9132 (gst_message_new_segment_done), (gst_message_parse_segment_start),
9133 (gst_message_parse_segment_done):
9135 Added a bunch of messages for advanced seeking.
9137 * gst/parse/grammar.y:
9138 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9139 (gst_dpman_state_changed):
9140 Fix some new-pad -> pad-added signals
9142 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9144 * docs/manual/appendix-porting.xml:
9145 * docs/pwg/appendix-porting.xml:
9146 Document new-pad/state-change signal renames and the FixedList
9149 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9151 * docs/manual/advanced-autoplugging.xml:
9152 * docs/manual/basics-helloworld.xml:
9153 * docs/manual/basics-pads.xml:
9154 * docs/random/ds/0.9-suggested-changes:
9155 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9160 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9161 (gst_structure_parse_array), (gst_structure_parse_value):
9162 * gst/gstvalue.c: (gst_type_is_fixed),
9163 (gst_value_list_prepend_value), (gst_value_list_append_value),
9164 (gst_value_list_get_size), (gst_value_list_get_value),
9165 (gst_value_transform_array_string), (gst_value_serialize_array),
9166 (gst_value_deserialize_array), (gst_value_intersect_array),
9167 (gst_value_is_fixed), (_gst_value_initialize):
9169 GstElement::new-pad -> pad-added, GstElement::state-change ->
9170 state-changed, GstValueFixedList -> GstValueArray, add format and
9171 flags as their own arguments in gst_element_seek() (should improve
9172 "bindeability"), remove function generators since they don't work
9173 under a whole bunch of compilers (they were deprecated already
9176 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9178 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9179 (_gst_debug_register_funcptr):
9181 Fix illegal cast on some platforms (#309253).
9183 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9185 * gst/gstmessage.c: (gst_message_new_custom):
9187 Add _new_custom, make _new_application a macro to _new_custom.
9189 2005-07-20 Wim Taymans <wim@fluendo.com>
9191 * gst/base/gstbasesrc.c: (gst_base_src_init),
9192 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9193 * gst/base/gstbasesrc.h:
9194 Add a gboolean to decide when to push out a discont.
9196 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9197 (gst_queue_loop), (gst_queue_handle_src_query),
9198 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9199 (gst_queue_set_property), (gst_queue_get_property):
9202 * tests/threadstate/threadstate1.c: (main):
9203 Make a thread test compile and run... very silly..
9206 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9208 * docs/manual/appendix-porting.xml:
9209 Mention removal of libgstgconf-0.9.la and existence of gconf
9212 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9214 * docs/pwg/advanced-clock.xml:
9215 * docs/pwg/appendix-porting.xml:
9216 * docs/pwg/intro-preface.xml:
9217 * docs/pwg/other-base.xml:
9218 * docs/pwg/other-manager.xml:
9219 * docs/pwg/other-nton.xml:
9220 * docs/pwg/other-ntoone.xml:
9221 * docs/pwg/other-oneton.xml:
9223 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9224 demuxer), remove n-to-n (was never written), fix some code examples
9225 and links and update the porting section to include all this.
9227 2005-07-19 Wim Taymans <wim@fluendo.com>
9229 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9230 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9231 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9232 (gst_queue_src_activate_push), (gst_queue_change_state),
9233 (gst_queue_get_property):
9235 Propagate GstFlowReturn more intelligently upstream and output
9236 an ERROR/EOS when streaming stopped due to fatal error.
9238 2005-07-19 Wim Taymans <wim@fluendo.com>
9240 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9241 Don't block forever for the state change to complete, the
9242 pipeline already did with a sensible timeout.
9244 2005-07-19 Wim Taymans <wim@fluendo.com>
9246 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9247 Make sure we never call the create function is we
9250 2005-07-19 Andy Wingo <wingo@pobox.com>
9252 * gst/parse/parse.l: Attempt to solve bug #172815.
9254 2005-07-19 Wim Taymans <wim@fluendo.com>
9256 * docs/design/part-clocks.txt:
9257 * docs/design/part-events.txt:
9258 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9260 Only update the seeking values when we are not
9263 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9265 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9266 Oops, ignore the result of gst_pad_push_event here.
9268 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9270 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9271 (gst_base_src_activate_push):
9272 Send discont event from the loop function, as pads
9273 aren't activated yet in the activate_push handler.
9275 * gst/gstbin.c: (bin_bus_handler):
9276 Don't leak element name.
9278 2005-07-18 Andy Wingo <wingo@pobox.com>
9280 * configure.ac: Use AS_LIBTOOL_TAGS.
9282 2005-07-18 Wim Taymans <wim@fluendo.com>
9284 * docs/gst/gstreamer.types:
9285 Remove deleted types.
9287 2005-07-18 Wim Taymans <wim@fluendo.com>
9289 * check/elements/gstfakesrc.c: (GST_START_TEST):
9292 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9293 (init_popt_callback):
9295 * gst/gst_private.h:
9296 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9297 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9300 * gst/gstconfig.h.in:
9301 * gst/gstelement.c: (gst_element_class_init),
9302 (gst_element_set_base_time), (gst_element_get_base_time),
9303 (iterator_fold_with_resync), (gst_element_change_state),
9304 (gst_element_dispose), (gst_element_get_bus):
9306 * gst/gstelementfactory.h:
9307 * gst/gsterror.c: (_gst_core_errors_init):
9310 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9312 * gst/gstinfo.c: (_gst_debug_init):
9313 * gst/gstmessage.c: (_gst_message_copy):
9315 * gst/gstminiobject.h:
9318 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9319 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9322 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9323 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9324 (gst_pipeline_get_last_stream_time):
9325 * gst/gstpipeline.h:
9326 * gst/gstpluginfeature.h:
9328 * gst/gstscheduler.c:
9329 * gst/gstscheduler.h:
9330 * gst/gststructure.h:
9331 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9332 (gst_task_finalize), (gst_task_func), (gst_task_create),
9333 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9334 (gst_task_stop), (gst_task_pause):
9336 * gst/gsttypefind.h:
9338 * gst/registries/gstlibxmlregistry.c: (load_feature),
9339 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9340 * gst/registries/gstxmlregistry.c:
9341 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9342 * gst/schedulers/threadscheduler.c:
9343 * libs/gst/control/dparammanager.h:
9344 * tools/gst-inspect.c: (print_element_list),
9345 (print_plugin_features), (print_element_features):
9346 * tools/gst-xmlinspect.c: (print_element_list),
9347 (print_plugin_info), (main):
9348 Removed plugable schedulers.
9349 Removed Scheduler/Manager from elements.
9350 Removed gsttypes.h, rearranged includes.
9351 Removed dependency pad<->element, element<>pipeline, and
9352 various others, fix includes.
9353 implement gst_pad_get_parent() with gst_object_get_parent()
9354 Make GstTask sefcontained.
9355 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9357 Fix endless loop in iterator_fold_with_resync.
9360 2005-07-18 Wim Taymans <wim@fluendo.com>
9366 2005-07-18 Wim Taymans <wim@fluendo.com>
9371 2005-07-18 Wim Taymans <wim@fluendo.com>
9377 2005-07-18 Wim Taymans <wim@fluendo.com>
9379 * docs/design/part-dynamic.txt:
9380 * docs/design/part-events.txt:
9381 * docs/design/part-seeking.txt:
9382 Some more docs in the works.
9384 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9385 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9386 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9387 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9388 (gst_base_transform_handle_buffer),
9389 (gst_base_transform_sink_activate_push),
9390 (gst_base_transform_src_activate_pull),
9391 (gst_base_transform_set_passthrough),
9392 (gst_base_transform_is_passthrough):
9395 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9398 * gst/gstevent.c: (gst_event_finalize):
9401 * gst/gstutils.c: (gst_element_unlink),
9402 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9403 (gst_pad_proxy_setcaps):
9405 Add _get_parent_element() to get a pads parent as an element.
9407 2005-07-18 Wim Taymans <wim@fluendo.com>
9409 * check/gst/gstbin.c: (GST_START_TEST):
9412 2005-07-18 Wim Taymans <wim@fluendo.com>
9414 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9415 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9416 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9417 (gst_base_sink_event), (gst_base_sink_do_sync),
9418 (gst_base_sink_chain), (gst_base_sink_loop),
9419 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9420 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9422 Fix logic for returning ASYNC when not prerolled.
9424 2005-07-18 Wim Taymans <wim@fluendo.com>
9426 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9427 Fix nasty refcount bug.
9429 2005-07-16 Philippe Khalaf <burger@speedy.org>
9431 * gst/elements/gstfdsrc.c:
9432 * gst/elements/gstfdsrc.h:
9433 * gst/elements/gstelements.c:
9434 * gst/elements/Makefile.am:
9435 Ported fdsrc to 0.9.
9437 2005-07-16 Wim Taymans <wim@fluendo.com>
9439 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9440 (gst_base_sink_do_sync):
9443 2005-07-16 Wim Taymans <wim@fluendo.com>
9445 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9446 (gst_base_sink_event), (gst_base_sink_get_times),
9447 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9448 * gst/base/gstbasesink.h:
9449 Store and use discont values when syncing buffers as described
9452 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9453 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9454 (gst_base_src_activate_push):
9455 Push discont event when starting.
9457 * gst/elements/gstidentity.c: (gst_identity_transform):
9460 * gst/gstbin.c: (gst_bin_change_state):
9461 Small cleanups in base_time distribution.
9463 * gst/gstelement.c: (gst_element_set_base_time),
9464 (gst_element_get_base_time), (gst_element_change_state):
9466 Added methods for the base_time of the element.
9469 * gst/gstpipeline.c: (gst_pipeline_send_event),
9470 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9471 (gst_pipeline_get_last_stream_time):
9472 * gst/gstpipeline.h:
9474 Handle seeking as described in design doc, remove stream_time
9476 Cleanups clock and stream_time selection code. Added accessors
9477 for the stream_time.
9480 2005-07-16 Andy Wingo <wingo@pobox.com>
9482 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9485 2005-07-16 Wim Taymans <wim@fluendo.com>
9487 * check/gst/gstbin.c: (GST_START_TEST):
9488 Make elements silent as the deep_notify refs the
9489 parent, which might make the test fail.
9491 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9492 Don't hold the lock for too long.
9494 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9496 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9497 Don't unref the caps we passed to gst_caps_make_writable() after
9498 passing them. gst_caps_make_writable() will do that for us.
9500 2005-07-15 Andy Wingo <wingo@pobox.com>
9502 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9505 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9506 own marshalling function for the handoff signal. Properly type the
9507 buffer as a buffer. Fixes some warnings. Should do a more general
9509 (gst_identity_class_init): Plug into the right marshaller.
9511 2005-07-15 Wim Taymans <wim@fluendo.com>
9513 * docs/design/part-TODO.txt:
9514 * docs/design/part-clocks.txt:
9515 * docs/design/part-element-sink.txt:
9516 * docs/design/part-events.txt:
9517 * docs/design/part-gstpipeline.txt:
9518 Updated docs, mostly DISCONT related.
9520 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9522 * docs/pwg/building-pads.xml:
9523 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9525 2005-07-15 Andy Wingo <wingo@pobox.com>
9527 * tools/gst-typefind.c: Update, add copyright block.
9529 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9530 Normalize and truncate caps before fixation.
9533 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9534 discards all but the first structure from its argument.
9536 2005-07-15 Wim Taymans <wim@fluendo.com>
9538 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9539 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9540 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9541 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9542 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9543 (gst_base_transform_chain), (gst_base_transform_change_state),
9544 (gst_base_transform_set_passthrough),
9545 (gst_base_transform_is_passthrough):
9546 * gst/base/gstbasetransform.h:
9547 Make passthrough work using the bufferpools.
9548 Changed API a bit, subclasses have to write into a buffer
9549 provided by the base class.
9550 More debug info in nego functions.
9552 * gst/elements/gstidentity.c: (gst_identity_init),
9553 (gst_identity_transform):
9554 Port to new base class.
9556 2005-07-15 Wim Taymans <wim@fluendo.com>
9558 * gst/gstmessage.c: (gst_message_new_state_changed):
9559 * tools/gst-launch.c: (event_loop), (main):
9560 Totally dump messages in -launch with the -m option.
9561 Fix message name for State messages,
9563 2005-07-14 Wim Taymans <wim@fluendo.com>
9565 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9566 Post error messages on errors.
9568 2005-07-14 Wim Taymans <wim@fluendo.com>
9570 * gst/gstcaps.c: (gst_caps_do_simplify):
9574 Define error for stream stopped.
9576 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9577 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9578 Do proper return values.
9580 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9581 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9582 (gst_pad_get_range):
9583 Better return values.
9586 Reorganise return values, add macro to check for fatal errors.
9588 * gst/gstqueue.c: (gst_queue_chain):
9589 Return proper GstFlowReturn values,
9591 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9593 * docs/gst/gstreamer-sections.txt:
9594 * docs/gst/gstreamer.types:
9595 * docs/gst/tmpl/gst.sgml:
9596 * docs/gst/tmpl/gstbasesink.sgml:
9597 * docs/gst/tmpl/gstbasesrc.sgml:
9598 * docs/gst/tmpl/gstbasetransform.sgml:
9599 * docs/gst/tmpl/gstbin.sgml:
9600 * docs/gst/tmpl/gstbuffer.sgml:
9601 * docs/gst/tmpl/gstcaps.sgml:
9602 * docs/gst/tmpl/gstclock.sgml:
9603 * docs/gst/tmpl/gstcompat.sgml:
9604 * docs/gst/tmpl/gstconfig.sgml:
9605 * docs/gst/tmpl/gstelement.sgml:
9606 * docs/gst/tmpl/gstelementdetails.sgml:
9607 * docs/gst/tmpl/gstelementfactory.sgml:
9608 * docs/gst/tmpl/gstenumtypes.sgml:
9609 * docs/gst/tmpl/gsterror.sgml:
9610 * docs/gst/tmpl/gstevent.sgml:
9611 * docs/gst/tmpl/gstfakesink.sgml:
9612 * docs/gst/tmpl/gstfakesrc.sgml:
9613 * docs/gst/tmpl/gstfilesink.sgml:
9614 * docs/gst/tmpl/gstfilesrc.sgml:
9615 * docs/gst/tmpl/gstfilter.sgml:
9616 * docs/gst/tmpl/gstformat.sgml:
9617 * docs/gst/tmpl/gstghostpad.sgml:
9618 * docs/gst/tmpl/gstimplementsinterface.sgml:
9619 * docs/gst/tmpl/gstindex.sgml:
9620 * docs/gst/tmpl/gstindexfactory.sgml:
9621 * docs/gst/tmpl/gstinfo.sgml:
9622 * docs/gst/tmpl/gstiterator.sgml:
9623 * docs/gst/tmpl/gstmacros.sgml:
9624 * docs/gst/tmpl/gstmemchunk.sgml:
9625 * docs/gst/tmpl/gstminiobject.sgml:
9626 * docs/gst/tmpl/gstobject.sgml:
9627 * docs/gst/tmpl/gstpad.sgml:
9628 * docs/gst/tmpl/gstpadtemplate.sgml:
9629 * docs/gst/tmpl/gstparse.sgml:
9630 * docs/gst/tmpl/gstpipeline.sgml:
9631 * docs/gst/tmpl/gstplugin.sgml:
9632 * docs/gst/tmpl/gstpluginfeature.sgml:
9633 * docs/gst/tmpl/gstquery.sgml:
9634 * docs/gst/tmpl/gstqueue.sgml:
9635 * docs/gst/tmpl/gstregistry.sgml:
9636 * docs/gst/tmpl/gstregistrypool.sgml:
9637 * docs/gst/tmpl/gstscheduler.sgml:
9638 * docs/gst/tmpl/gstschedulerfactory.sgml:
9639 * docs/gst/tmpl/gststructure.sgml:
9640 * docs/gst/tmpl/gstsystemclock.sgml:
9641 * docs/gst/tmpl/gsttaglist.sgml:
9642 * docs/gst/tmpl/gsttagsetter.sgml:
9643 * docs/gst/tmpl/gsttrace.sgml:
9644 * docs/gst/tmpl/gsttrashstack.sgml:
9645 * docs/gst/tmpl/gsttypefind.sgml:
9646 * docs/gst/tmpl/gsttypefindfactory.sgml:
9647 * docs/gst/tmpl/gsttypes.sgml:
9648 * docs/gst/tmpl/gsturihandler.sgml:
9649 * docs/gst/tmpl/gsturitype.sgml:
9650 * docs/gst/tmpl/gstutils.sgml:
9651 * docs/gst/tmpl/gstvalue.sgml:
9652 * docs/gst/tmpl/gstversion.sgml:
9653 * docs/gst/tmpl/gstxml.sgml:
9654 * docs/libs/tmpl/gstcontrol.sgml:
9655 * docs/libs/tmpl/gstdataprotocol.sgml:
9656 * docs/libs/tmpl/gstdparam.sgml:
9657 * docs/libs/tmpl/gstdplinint.sgml:
9658 * docs/libs/tmpl/gstdpman.sgml:
9659 * docs/libs/tmpl/gstdpsmooth.sgml:
9660 * docs/libs/tmpl/gstgetbits.sgml:
9661 * docs/libs/tmpl/gstunitconvert.sgml:
9662 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9663 (gst_push_src_base_init), (gst_push_src_class_init),
9664 (gst_push_src_init), (gst_push_src_create):
9665 * gst/base/gstpushsrc.h:
9666 * gst/elements/gstelements.c:
9667 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9668 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9669 (gst_fake_sink_init), (gst_fake_sink_set_property),
9670 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9671 (gst_fake_sink_event), (gst_fake_sink_preroll),
9672 (gst_fake_sink_render), (gst_fake_sink_change_state):
9673 * gst/elements/gstfakesink.h:
9674 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9675 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9676 (gst_fake_src_base_init), (gst_fake_src_class_init),
9677 (gst_fake_src_init), (gst_fake_src_event_handler),
9678 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9679 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9680 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9681 (gst_fake_src_create_buffer), (gst_fake_src_create),
9682 (gst_fake_src_start), (gst_fake_src_stop):
9683 * gst/elements/gstfakesrc.h:
9684 * gst/elements/gstfilesink.c: (_do_init),
9685 (gst_file_sink_base_init), (gst_file_sink_class_init),
9686 (gst_file_sink_init), (gst_file_sink_dispose),
9687 (gst_file_sink_set_location), (gst_file_sink_set_property),
9688 (gst_file_sink_get_property), (gst_file_sink_open_file),
9689 (gst_file_sink_close_file), (gst_file_sink_query),
9690 (gst_file_sink_event), (gst_file_sink_render),
9691 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9692 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9693 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9694 * gst/elements/gstfilesink.h:
9695 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9696 (gst_file_src_class_init), (gst_file_src_init),
9697 (gst_file_src_finalize), (gst_file_src_set_location),
9698 (gst_file_src_set_property), (gst_file_src_get_property),
9699 (gst_file_src_map_region), (gst_file_src_map_small_region),
9700 (gst_file_src_create_mmap), (gst_file_src_create_read),
9701 (gst_file_src_create), (gst_file_src_is_seekable),
9702 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9703 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9704 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9705 (gst_file_src_uri_handler_init):
9706 * gst/elements/gstfilesrc.h:
9707 more autistic cleanliness in functions/names/defines
9709 2005-07-13 Andy Wingo <wingo@pobox.com>
9711 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9712 source couldn't negotiate.
9714 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9718 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9719 function. I am channeling Hades. Put your boots on suckers!!!
9721 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9723 * testsuite/caps/Makefile.am:
9724 * testsuite/caps/value_compare.c:
9725 * testsuite/caps/value_intersect.c:
9726 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9727 move two testsuite apps over to the check dir
9729 2005-07-12 Wim Taymans <wim@fluendo.com>
9731 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9732 Added more debug info in the negotiate process.
9735 Prepare for segment playback.
9737 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9743 * tools/gst-launch.c: (main):
9744 NULL pipeline on errors.
9746 2005-07-12 Andy Wingo <wingo@pobox.com>
9748 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9749 not it comes from a malloc region. Make sure our copy gets freed.
9751 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9753 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9754 * check/gst/gstmessage.c: (GST_START_TEST):
9755 * check/gst/gststructure.c: (GST_START_TEST),
9756 (gst_structure_suite), (main):
9758 * gst/gstelement.c: (gst_element_message_full):
9759 clean up GError and debug string now that they get copied
9760 * gst/gstmessage.c: (gst_message_new_error),
9761 (gst_message_new_warning), (gst_message_parse_error),
9762 (gst_message_parse_warning):
9763 use GST_TYPE_G_ERROR for structure_new, and take copies of
9764 arguments, so that we don't mess up refcounting
9766 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9768 * check/Makefile.am:
9769 add per-test valgrind targets
9770 * check/gst-libs/gdp.c: (GST_START_TEST),
9771 (gst_data_protocol_suite), (main):
9774 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9776 * check/Makefile.am:
9777 instate more valgrindable tests
9778 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9779 (GST_START_TEST), (fakesrc_suite):
9780 * check/gst/gstpad.c: (GST_START_TEST):
9781 * check/gst/gststructure.c: (GST_START_TEST):
9783 * docs/gst/tmpl/gstminiobject.sgml:
9784 * gst/gstpad.c: (gst_pad_finalize):
9785 fix the static mutex leak
9787 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9789 * check/Makefile.am:
9790 add two more tests for valgrinding
9791 * check/gst/gstvalue.c: (GST_START_TEST):
9792 test refcount of deserialized buffer, found a leak
9793 * docs/gst/gstreamer-docs.sgml:
9794 * docs/gst/gstreamer-sections.txt:
9795 * docs/gst/gstreamer.types:
9796 * docs/gst/tmpl/gstminiobject.sgml:
9797 add miniobject to docs
9798 * gst/gstminiobject.c:
9800 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9801 (gst_string_unwrap):
9802 fix a hard-to-find invalid write for one of the tests
9803 fix a leak for deserialized buffers
9805 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9807 * docs/pwg/advanced-events.xml:
9808 * docs/pwg/advanced-request.xml:
9809 * docs/pwg/advanced-scheduling.xml:
9810 * docs/pwg/appendix-porting.xml:
9811 * docs/pwg/building-boiler.xml:
9812 * docs/pwg/intro-preface.xml:
9813 * docs/pwg/other-ntoone.xml:
9814 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9815 of example code and explanation for pad activation, loop() and
9816 getrange() functions and a bit more. Remove old comments pointing
9818 * examples/pwg/Makefile.am:
9819 Add loop/getrange examples.
9821 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9824 check for valgrind binary + some fixes
9826 valgrind suppressions for the tests
9827 * check/Makefile.am:
9828 add a valgrind: target that valgrinds the unit tests
9829 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9830 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9831 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9832 * check/gst/gstghostpad.c:
9834 * check/gst/gstdata.c:
9836 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9837 (thread_unref), (gst_mini_object_suite), (main):
9839 * gst/gst.c: (gst_deinit):
9841 add a method to clean up.
9842 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9843 (gst_system_clock_obtain):
9844 allow for disposing the system clock.
9845 * tools/gst-launch.c: (main):
9848 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9850 * docs/gst/tmpl/gstbasesrc.sgml:
9851 * docs/gst/tmpl/gstfakesrc.sgml:
9852 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9853 (gst_base_src_init), (gst_base_src_set_property),
9854 (gst_base_src_get_property), (gst_base_src_get_range),
9855 (gst_base_src_start):
9856 * gst/base/gstbasesrc.h:
9857 add num-buffers property
9858 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9859 (gst_fakesrc_init), (gst_fakesrc_set_property),
9860 (gst_fakesrc_get_property), (gst_fakesrc_create),
9861 (gst_fakesrc_start):
9862 remove num-buffers property
9864 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9866 * docs/gst/gstreamer-sections.txt:
9867 * docs/gst/tmpl/gstbasesink.sgml:
9868 * docs/gst/tmpl/gstbasesrc.sgml:
9869 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9870 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9871 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9872 (gst_base_sink_set_property), (gst_base_sink_get_property),
9873 (gst_base_sink_handle_object), (gst_base_sink_event),
9874 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9875 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9876 (gst_base_sink_loop), (gst_base_sink_deactivate),
9877 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9878 (gst_base_sink_change_state):
9879 * gst/base/gstbasesink.h:
9880 * gst/base/gstbasesrc.h:
9881 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9882 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9883 (gst_filesink_init):
9884 more macro splitting
9886 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9888 * gst/gstelement.c: (gst_element_get_bus):
9890 * tools/gst-launch.c: (check_intr), (event_loop):
9893 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9895 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9898 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9900 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9901 (gst_base_src_finalize):
9902 add finalize method and clean up properly
9903 * gst/gstpipeline.c: (gst_pipeline_dispose):
9906 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9908 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9910 add more things to check
9911 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9915 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9917 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9918 (GST_START_TEST), (fakesrc_suite):
9919 * check/gst-libs/gdp.c: (GST_START_TEST):
9920 * check/gst/gst.c: (GST_START_TEST):
9921 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9922 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9923 * check/gst/gstbus.c: (GST_START_TEST):
9924 * check/gst/gstcaps.c: (GST_START_TEST):
9925 * check/gst/gstdata.c: (GST_START_TEST):
9926 * check/gst/gstelement.c: (GST_START_TEST):
9927 * check/gst/gstghostpad.c: (GST_START_TEST):
9928 * check/gst/gstiterator.c: (GST_START_TEST):
9929 * check/gst/gstmessage.c: (GST_START_TEST):
9930 * check/gst/gstobject.c: (GST_START_TEST):
9931 * check/gst/gstpad.c: (GST_START_TEST):
9932 * check/gst/gststructure.c: (GST_START_TEST):
9933 * check/gst/gstsystemclock.c: (GST_START_TEST),
9934 (gst_systemclock_suite):
9935 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9936 * check/gst/gstvalue.c: (GST_START_TEST):
9937 * check/pipelines/cleanup.c: (GST_START_TEST):
9938 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9939 * check/states/sinks.c: (GST_START_TEST):
9940 * check/gstcheck.c: (gst_check_init):
9942 add debugging category
9943 use GST_START_TEST now, so we add a debug line
9945 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9947 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
9948 add test for state change message on a bin
9949 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
9951 * gst/gstbin.c: (gst_bin_init):
9952 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
9953 * gst/gstelement.c: (gst_element_post_message),
9954 (gst_element_set_state):
9955 * gst/gstelementfactory.c: (gst_element_factory_create):
9956 * gst/gstmessage.c: (gst_message_new):
9957 * gst/gstscheduler.c:
9958 various debugging additions and cleanups
9960 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9962 * check/Makefile.am:
9963 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
9965 adding tests for elements
9966 * gst/gstelement.c: (gst_element_dispose):
9968 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9970 * gst/registries/gstlibxmlregistry.c: (load_feature):
9971 plug more leaks. A simple gst_init() now is leakfree, yay.
9973 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9975 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
9976 (gst_xml_registry_load):
9977 plug another memleak
9979 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9982 use GST_SET_ERROR_CFLAGS
9984 change to ERROR_CFLAGS
9986 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
9989 make GST_ERROR_CFLAGS overridable and re-enable Werror
9991 add a note about error CFLAGS
9992 * docs/gst/tmpl/gstfakesrc.sgml:
9993 * gst/elements/gstfakesrc.c:
9994 comment out some unused code
9995 * gst/gst.c: (split_and_iterate):
9996 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10000 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10002 * common/Makefile.am:
10003 * common/gtk-doc.mak:
10004 * docs/gst/Makefile.am:
10005 factor out gtk-doc.mak
10007 2005-07-07 Wim Taymans <wim@fluendo.com>
10009 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10010 (gst_thread_scheduler_dispose):
10011 Unlock the STREAM_LOCK completely.
10013 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10015 * check/Makefile.am:
10016 * check/elements/.cvsignore:
10017 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10018 (START_TEST), (fakesrc_suite), (main):
10019 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10020 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10021 (gst_fakesrc_create), (gst_fakesrc_start):
10022 * gst/elements/gstfakesrc.h:
10023 adding a first element test
10025 2005-07-07 Andy Wingo <wingo@pobox.com>
10027 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10030 2005-07-07 Wim Taymans <wim@fluendo.com>
10036 2005-07-07 Wim Taymans <wim@fluendo.com>
10038 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10039 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10040 Allow subclasses to implement their own negotiation.
10042 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10044 * docs/design/part-gstbin.txt:
10045 * docs/design/part-gstpipeline.txt:
10046 Update design notes to reflect the movement of
10047 responsibility for bus handling from GstPipeline to
10050 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10053 Remove unnecessary queue2/3/4 examples.
10055 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10057 * examples/Makefile.am:
10058 * examples/helloworld/helloworld.c: (event_loop), (main):
10059 * examples/queue/queue.c: (event_loop), (main):
10060 * examples/queue2/queue2.c: (main):
10061 Update a couple of the examples to work again.
10063 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10064 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10065 Spelling corrections and extra debug.
10067 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10068 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10069 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10071 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10072 (gst_pipeline_change_state):
10073 * gst/gstpipeline.h:
10074 Move the bus handler for children to the GstBin, and create a
10075 separate bus for receiving messages from children to the one the
10076 bus sends 'upwards' on.
10078 2005-07-06 Wim Taymans <wim@fluendo.com>
10081 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10082 (gst_base_sink_handle_object), (gst_base_sink_loop),
10083 (gst_base_sink_change_state):
10084 * gst/base/gstbasesink.h:
10085 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10086 (gst_base_src_init), (gst_base_src_setcaps),
10087 (gst_base_src_getcaps), (gst_base_src_loop),
10088 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10089 (gst_base_src_start), (gst_base_src_change_state):
10090 * gst/base/gstbasesrc.h:
10091 Make basesrc negotiate.
10092 Handle the case where preroll fails in basesink.
10095 2005-07-06 Wim Taymans <wim@fluendo.com>
10097 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10098 Implement the fixate function.
10099 Clean up acceptcaps.
10101 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10103 * docs/pwg/building-filterfactory.xml:
10104 * docs/pwg/pwg.xml:
10105 Remove never-written filter-factory chapter; I'll add the various
10106 base classes to part 4 ("other element types") later on.
10108 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10110 * docs/pwg/advanced-negotiation.xml:
10111 * docs/pwg/building-boiler.xml:
10112 * docs/pwg/building-pads.xml:
10113 * docs/pwg/pwg.xml:
10114 * examples/pwg/Makefile.am:
10115 Add a chapter on caps negotiation, simplify the original code
10116 samples a bit w.r.t. caps negotiation, add link to the advanced
10117 section. Add a bunch of examples showing different use cases of
10118 different types of caps negotiation. Upstream renegotiation isn't
10119 fully documented yet since nobody knows how that works.
10121 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
10123 * check/gst/gstpad.c:
10124 * check/gstcheck.c:
10125 * gst/gstpad.c: (gst_pad_get_internal_links_default):
10126 if pad has no parent, return NULL as list of internal links
10128 2005-07-05 Andy Wingo <wingo@pobox.com>
10130 * gst/elements/gstfilesrc.c:
10131 * gst/elements/gstfakesrc.c:
10132 * gst/base/gstpushsrc.c:
10133 * gst/base/gstbasesrc.h:
10134 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10136 2005-07-05 Stefan Kost <ensonic@users.sf.net>
10139 better report generation target (lcov needs a patch)
10141 2005-07-05 Andy Wingo <wingo@pobox.com>
10143 * gst/elements, testsuite: Null if we got it...
10145 2005-07-05 Wim Taymans <wim@fluendo.com>
10148 * libs/gst/dataprotocol/Makefile.am:
10149 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10150 * libs/gst/dataprotocol/dataprotocol.h:
10151 * pkgconfig/Makefile.am:
10152 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10153 * pkgconfig/gstreamer-dataprotocol.pc.in:
10154 Ported dataprotol to 0.9.
10155 Added pkgconfig files.
10157 2005-07-05 Andy Wingo <wingo@pobox.com>
10159 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10160 Default to returning TRUE for the case when tranform_caps returns
10161 a fixed caps, like for identity or volume.
10163 * check/gst/gstbus.c (pound_bus_with_messages):
10164 * check/gst/gstmessage.c (START_TEST):
10165 * check/pipelines/simple_launch_lines.c (got_handoff): Application
10166 message API change.
10168 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10169 logic weaks here: always run transform_caps, trying passthrough
10170 operation only if the original caps intersects with the transform.
10172 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10173 source and sink caps.
10175 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10176 Intersect the peer caps with the pad template before going into
10178 (gst_base_transform_transform_caps): More debugging.
10180 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10183 2005-07-04 Edward Hervey <edward@fluendo.com>
10187 (gst_pad_add_*_probe): now returns the signal id for better wrapping
10190 2005-07-04 Andy Wingo <wingo@pobox.com>
10192 * check/gst/gstpad.c: Only set explicit caps on pads.
10194 2005-07-01 Andy Wingo <wingo@pobox.com>
10196 * tests/network-clock.scm: Commentary update.
10198 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10199 Didn't really make sense, not implementable with basetransform,
10201 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10202 attempt at implementing the sync property, needs an unlock method.
10204 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10205 New func, by default returns the same caps (the identity
10207 (gst_base_transform_getcaps): Uses transform_caps to return
10208 something sensible.
10209 (gst_base_transform_setcaps): Complicated logic to get caps on
10210 both pads, even if they are different, and to call set_caps once
10211 for every time both pads get their caps set.
10212 (gst_base_transform_handle_buffer): Give the ref to the transform
10213 function. Allows in-place modification of the buffer.
10215 * gst/base/gstbasetransform.h (transform_caps): New class method.
10216 Given caps on one side, what can I do on the other.
10217 (set_caps): Take two caps, one for each side of the element.
10220 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10221 caps in place. This is safe because we can check the mutability of
10222 the caps, and a good idea because fixate functions are just called
10223 as a matter of last resort. (Not actually implemented.)
10224 (gst_pad_set_caps): If the caps we're setting is actually the same
10225 as the existing pad caps, just update the pointer without calling
10226 setcaps. Assert that caps is either NULL or fixed, as per the
10229 * gst/gstghostpad.c: Update for fixate changes.
10231 2005-07-02 Andy Wingo <wingo@pobox.com>
10234 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10235 two refcounts makes it immutable, which is enough. Doc more.
10237 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10239 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10240 Put the mini_object into GValue as a mini_object,
10241 not a gpointer, since that's how we declared
10244 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10246 * examples/pwg/Makefile.am:
10247 Fix buildbot again.
10249 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10251 * docs/pwg/building-testapp.xml:
10253 * examples/pwg/Makefile.am:
10256 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10259 * examples/Makefile.am:
10260 * examples/pwg/Makefile.am:
10261 * examples/pwg/extract.pl:
10262 Enable building the PWG examples.
10263 * docs/pwg/advanced-interfaces.xml:
10264 Add URI interface stub.
10265 * docs/pwg/advanced-types.xml:
10266 * docs/pwg/other-autoplugger.xml:
10267 * docs/pwg/appendix-porting.xml:
10268 * docs/pwg/pwg.xml:
10269 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10270 * docs/pwg/building-boiler.xml:
10271 * docs/pwg/building-chainfn.xml:
10272 * docs/pwg/building-pads.xml:
10273 * docs/pwg/building-props.xml:
10274 * docs/pwg/building-state.xml:
10275 * docs/pwg/building-testapp.xml:
10276 Update the building-*.xml parts for 0.9 changes. All examples
10277 code blocks compile in examples/pwg/*.
10279 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10281 * docs/manual/advanced-autoplugging.xml:
10282 * docs/manual/appendix-checklist.xml:
10283 * docs/manual/appendix-integration.xml:
10284 * docs/manual/highlevel-components.xml:
10285 Fix playbin/decodebin examples, update docs a bit, mention bus
10286 instead of signals in various places, mention kmplayer and
10287 kaffeine since they have a working GStreamer backend in the KDE
10290 2005-06-30 Wim Taymans <wim@fluendo.com>
10293 * docs/design/draft-ghostpads.txt:
10294 * docs/design/draft-push-pull.txt:
10295 * docs/design/draft-query.txt:
10296 * docs/design/part-TODO.txt:
10297 * docs/design/part-query.txt:
10298 Added CHANGES-0.9 doc, updated status of other docs.
10303 2005-06-30 Wim Taymans <wim@fluendo.com>
10305 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10306 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10307 (gst_base_sink_change_state):
10308 * gst/base/gstbasesink.h:
10309 Some tweaks, only EOS and a buffer complete a preroll.
10311 2005-06-30 Andy Wingo <wingo@pobox.com>
10313 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10314 activate_push down to the internal pad as well.
10316 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10318 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10320 * gst/gsttaginterface.c:
10321 Some documentation fixes (#307394 and #307397).
10323 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10325 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10327 * gst/gstvalue.c: (gst_value_intersect_list):
10328 Fix memleak (#309125).
10330 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10332 * docs/manual/advanced-dataaccess.xml:
10333 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10334 * docs/manual/basics-pads.xml:
10335 Add reference for filtered caps to above chapter.
10337 2005-06-30 Wim Taymans <wim@fluendo.com>
10339 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10340 (gst_bin_change_state):
10342 Lame attempt at making the state change function a bit
10345 2005-06-30 Wim Taymans <wim@fluendo.com>
10347 * docs/design/part-clocks.txt:
10348 * docs/design/part-element-sink.txt:
10349 * docs/design/part-events.txt:
10350 * docs/design/part-preroll.txt:
10351 * docs/design/part-states.txt:
10352 Some more tweeks and additions to the docs.
10354 2005-06-30 Wim Taymans <wim@fluendo.com>
10356 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10357 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10358 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10359 (gst_pad_check_pull_range), (gst_pad_get_range),
10360 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10362 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10363 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10364 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10365 (gst_pad_remove_buffer_probe):
10366 Removed atomic operations, use existing LOCK.
10367 Move exception handling out of main code path.
10369 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10371 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10372 (silly_return_true_function), (gst_pad_class_init),
10373 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10374 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10375 (gst_pad_send_event):
10376 Fix accumulator, add default value by using _emitv() instead
10377 of _emit() for signal emission.
10379 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10381 * docs/manual/advanced-dataaccess.xml:
10382 * examples/manual/Makefile.am:
10384 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10387 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10389 * gst/elements/gstfilesink.c: (gst_filesink_render):
10390 Simplify code so that we don't have to handle short
10391 writes and return GST_FLOW_ERROR if an error occured.
10393 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10395 * docs/gst/gstreamer-docs.sgml:
10396 Remove probes more.
10398 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10400 * docs/gst/gstreamer-sections.txt:
10401 * docs/gst/tmpl/gstpad.sgml:
10402 * docs/gst/tmpl/gstprobe.sgml:
10404 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10405 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10406 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10407 (gst_pad_push_event), (gst_pad_send_event):
10409 * gst/gstutils.c: (gst_pad_add_data_probe),
10410 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10411 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10412 (gst_pad_remove_buffer_probe):
10414 Remove old probes, add new g-signal-based probes and some utility
10417 2005-06-29 Edward Hervey <edward@fluendo.com>
10419 * gst/gstelementfactory.c:
10422 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10423 the definition to the header file.
10425 2005-06-29 Andy Wingo <wingo@pobox.com>
10427 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10428 plugins from the source directory.
10430 2005-06-29 Wim Taymans <wim@fluendo.com>
10432 * docs/gst/tmpl/gstbuffer.sgml:
10433 * docs/gst/tmpl/gstclock.sgml:
10434 Some fixings for blantently wrong text.
10436 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10438 * check/Makefile.am:
10439 * gst/gst.c: (add_path_func), (init_pre):
10440 * gst/gstregistry.c: (gst_registry_add_path):
10441 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10442 only scan the GST_PLUGIN_PATH locations, and not add
10445 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10447 * docs/gst/gstreamer-sections.txt:
10448 * docs/gst/tmpl/gstbasesrc.sgml:
10449 * gst/gstelement.c:
10450 * gst/gstelement.h:
10455 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10457 * docs/manual/advanced-autoplugging.xml:
10458 Fix autoplugging example.
10460 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10462 * docs/manual/advanced-autoplugging.xml:
10463 * docs/manual/mime-world.fig:
10464 Try to get autoplugging working, fix type detection. Fix text
10465 in hello-world image.
10467 2005-06-29 Wim Taymans <wim@fluendo.com>
10469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10470 (gst_base_sink_change_state):
10474 map SIGNAL and BROADCAST to the right function.
10477 Remove redundant braces.
10479 * gst/gstpad.c: (gst_pad_set_caps):
10480 Don't call setcaps function when reseting caps to NULL.
10482 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10483 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10484 (gst_system_clock_id_unschedule):
10485 Use BROADCAST as this is what we do.
10487 2005-06-29 Wim Taymans <wim@fluendo.com>
10489 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10490 We are actually prerolling before commiting the state
10493 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10495 * docs/manual/advanced-clocks.xml:
10496 * docs/manual/advanced-interfaces.xml:
10497 * docs/manual/advanced-metadata.xml:
10498 * docs/manual/advanced-position.xml:
10499 * docs/manual/advanced-schedulers.xml:
10500 * docs/manual/advanced-threads.xml:
10501 * docs/manual/appendix-porting.xml:
10502 * docs/manual/basics-bins.xml:
10503 * docs/manual/basics-bus.xml:
10504 * docs/manual/basics-elements.xml:
10505 * docs/manual/basics-helloworld.xml:
10506 * docs/manual/basics-pads.xml:
10507 * docs/manual/highlevel-components.xml:
10508 * docs/manual/manual.xml:
10509 * docs/manual/thread.fig:
10510 Update (until threads/scheduling) Application Development Manual;
10511 remove GstThread, add GstBus, add simple porting checklist, add
10512 documentation for tag writing, clocks, make all examples until this
10513 part compile and run.
10514 * examples/manual/Makefile.am:
10515 Update from changes to Application Development Manual; add bus
10516 example, remove thread example.
10518 2005-06-28 Wim Taymans <wim@fluendo.com>
10520 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10521 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10522 (gst_bus_source_dispatch):
10523 Add debugging messages.
10524 Make internal methods static.
10525 Handle the case where the bus is flushed in the handler.
10527 * gst/gstelement.c: (gst_element_get_bus):
10528 Fix refcount in _get_bus();
10530 * gst/gstpipeline.c: (gst_pipeline_change_state),
10531 (gst_pipeline_get_clock_func):
10532 Clock refcounting fixes.
10533 Handle the case where preroll timed out more gracefully.
10535 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10536 Clean up the internal thread in dispose. This is needed
10537 for subclasses that actually get disposed.
10539 * gst/schedulers/threadscheduler.c:
10540 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10541 (gst_thread_scheduler_dispose):
10542 Free thread pool in dispose.
10544 2005-06-28 Andy Wingo <wingo@pobox.com>
10546 * tests/network-clock-utils.scm (debug, print-event): New utils.
10548 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10549 (*packet-loss*): Unified loss probability.
10550 (network-time): Report out-of-band events.
10552 * tests/plot-data: Add support for out-of-band events. Hack it
10553 into this script instead of passing it down the pipe; should fix
10556 2005-06-28 Wim Taymans <wim@fluendo.com>
10558 * docs/gst/gstreamer.types:
10559 * docs/gst/tmpl/gstbasesrc.sgml:
10560 * docs/gst/tmpl/gstpad.sgml:
10563 2005-06-28 Wim Taymans <wim@fluendo.com>
10565 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10566 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10567 (gst_proxy_pad_do_fixatecaps):
10568 Correctly proxy the check_pull_range function.
10570 2005-06-28 Andy Wingo <wingo@pobox.com>
10572 * tests/network-clock.scm: Removed need for slib.
10574 2005-06-28 Wim Taymans <wim@fluendo.com>
10576 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10577 (gst_basesink_preroll_queue_flush):
10578 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10579 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10580 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10581 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10582 (gst_proxy_pad_set_property):
10585 * gst/gstqueue.c: (gst_queue_init):
10586 The deprecated pad loop function is removed now.
10588 2005-06-28 Andy Wingo <wingo@pobox.com>
10590 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10591 New parameters, simulate network packet loss.
10593 * tests/network-clock-utils.scm: Initialize the RNG.
10595 2005-06-28 Wim Taymans <wim@fluendo.com>
10597 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10598 (gst_basesink_event), (gst_basesink_deactivate):
10599 Flushing the preroll queue always needs to unlock the waiters.
10601 2005-06-28 Edward Hervey <edward@fluendo.com>
10603 * gst/gstpipeline.c: (gst_pipeline_send_event):
10604 Wheen a seek was successful on a pipeline, set the stream_time to the
10605 seek offset in order to have a synchronized stream_time.
10607 2005-06-28 Wim Taymans <wim@fluendo.com>
10609 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10610 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10611 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10612 (gst_proxy_pad_do_fixatecaps):
10613 Call wrapper function instead of just calling the function
10614 pointers. This takes care of any locking and whatmore.
10616 2005-06-28 Wim Taymans <wim@fluendo.com>
10618 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10619 (gst_pad_pull_range):
10621 CONNECTED -> LINKED.
10623 2005-06-28 Andy Wingo <wingo@pobox.com>
10625 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10626 source-munging commit!!!
10628 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10629 (gst_object_sink): Take gpointer arguments, not GstObject --
10630 avoids casts. Like GLib.
10632 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10635 2005-06-27 Andy Wingo <wingo@pobox.com>
10637 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10640 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10641 returns a sorted copy of the trace list.
10642 (gst_alloc_trace_print_live): New API, only prints traces with
10643 live objects. Sort the list.
10644 (gst_alloc_trace_print_all): Sort the list.
10645 (gst_alloc_trace_print): Align columns.
10647 * gst/elements/gstttypefindelement.c:
10648 * gst/elements/gsttee.c:
10649 * gst/base/gstbasesrc.c:
10650 * gst/base/gstbasesink.c:
10651 * gst/base/gstbasetransform.c:
10652 * gst/gstqueue.c: Adapt for pad activation changes.
10654 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10656 (gst_pipeline_dispose): Drop ref on sched.
10658 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10659 (gst_pad_activate_default): Push mode by default.
10660 (pre_activate_switch, post_activate_switch): New stubs, things to
10661 do before and after switching activation modes on pads.
10662 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10663 the pad's activate function to choose which mode to activate.
10664 Shortcut on deactivation and call the right function directly.
10665 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10667 (gst_pad_activate_push): New API, same for push mode.
10668 (gst_pad_set_activate_function)
10669 (gst_pad_set_activatepull_function)
10670 (gst_pad_set_activatepush_function): Setters for new API.
10672 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10673 Trace all miniobjects.
10674 (gst_mini_object_make_writable): Unref the arg if we copy, like
10675 gst_caps_make_writable.
10677 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10679 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10680 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10681 Adapt for new pad API.
10683 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10685 * gst/gstelement.h:
10686 * gst/gstelement.c (gst_element_iterate_src_pads)
10687 (gst_element_iterate_sink_pads): New API functions.
10689 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10690 should fold into gstiterator.c in some form.
10691 (gst_element_pads_activate): Simplified via use of fold and
10692 delegation of decisions to gstpad->activate.
10694 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10697 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10698 class once in init, like gstmessage. Didn't run into this issue
10699 but it seems correct. Don't initialize a trace, gstminiobject does
10702 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10703 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10705 (assert_live_count): New util function, uses alloc traces to check
10708 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10709 To be modified when unlink drops the internal pad.
10711 2005-06-27 Wim Taymans <wim@fluendo.com>
10713 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10714 (gst_bin_change_state):
10715 Cleanup the get_state() function a little, make sure it
10716 iterates the same set of elements.
10717 Added stub iterate_state_order().
10719 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10721 * docs/gst/gstreamer-docs.sgml:
10722 * docs/gst/gstreamer-sections.txt:
10723 * docs/gst/gstreamer.types:
10724 * docs/gst/tmpl/gstbasesink.sgml:
10725 * docs/gst/tmpl/gstbasesrc.sgml:
10726 * docs/gst/tmpl/gstbasetransform.sgml:
10727 * docs/gst/tmpl/gstelement.sgml:
10728 * docs/gst/tmpl/gstiterator.sgml:
10729 * gst/base/gstbasesrc.c:
10730 * gst/base/gstbasesrc.h:
10731 * gst/base/gstbasetransform.h:
10732 * gst/gstelement.c:
10733 * gst/gstiterator.h:
10734 adding basetransform and iterator docs
10736 2005-06-27 Andy Wingo <wingo@pobox.com>
10738 * docs/design/part-activation.txt: Notes on how activation should
10739 work -- not quite implemented yet.
10741 2005-06-25 Wim Taymans <wim@fluendo.com>
10743 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10744 At least get the chain function correct, needs more
10747 2005-06-25 Wim Taymans <wim@fluendo.com>
10749 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10750 (gst_basesink_handle_object), (gst_basesink_event),
10751 (gst_basesink_do_sync), (gst_basesink_handle_event),
10752 (gst_basesink_change_state):
10754 Right, two problems here: ghostpads don't take locks and
10755 glib _rec_mutex_lock_full() with depth==0 still locks.
10756 Catch illegal locking and g_warn them.
10758 2005-06-25 Wim Taymans <wim@fluendo.com>
10760 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10761 Have to check for completion now...
10763 2005-06-25 Wim Taymans <wim@fluendo.com>
10765 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10766 (gst_basesink_handle_object), (gst_basesink_event),
10767 (gst_basesink_do_sync), (gst_basesink_handle_event),
10768 (gst_basesink_change_state):
10770 Unlock STREAM_LOCK whatever the recursion was.
10772 2005-06-25 Wim Taymans <wim@fluendo.com>
10774 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10775 (gst_basesink_preroll_queue_empty),
10776 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10777 (gst_basesink_event), (gst_basesink_do_sync),
10778 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10779 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10780 (gst_basesink_change_state):
10781 Reworked the base sink, handle event and buffer serialisation
10782 correctly and removed possible deadlock.
10783 Handle EOS correctly.
10785 2005-06-25 Wim Taymans <wim@fluendo.com>
10787 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10788 (gst_pipeline_change_state):
10789 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10790 Allow elements to post EOS in the state change function.
10791 Fix up -launch, make it exit the poll loop when the
10792 pipeline actually changed state.
10793 Fix up warning parsing in -launch.
10795 2005-06-25 Wim Taymans <wim@fluendo.com>
10797 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10798 (gst_tee_sink_activate):
10799 Core takes STREAM_LOCK for us now.
10801 2005-06-25 Wim Taymans <wim@fluendo.com>
10803 * gst/gstelement.c: (gst_element_get_state_func),
10804 (gst_element_set_state):
10805 * gst/gstelement.h:
10806 * gst/gstmessage.c: (gst_message_parse_error),
10807 (gst_message_parse_warning):
10808 Keep track of current target state while performing a state
10809 change so that subclasses can do something interesting.
10810 Fix parsing of warning/error messages when GError is NULL.
10812 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10814 * docs/gst/Makefile.am:
10815 * docs/gst/gstreamer-docs.sgml:
10816 * docs/gst/gstreamer-sections.txt:
10817 * docs/gst/gstreamer.types:
10818 * docs/gst/tmpl/gstbasesink.sgml:
10819 * docs/gst/tmpl/gstbasesrc.sgml:
10820 * docs/gst/tmpl/gstbin.sgml:
10821 * docs/gst/tmpl/gstcompat.sgml:
10822 * docs/gst/tmpl/gstfakesink.sgml:
10823 * docs/gst/tmpl/gstfakesrc.sgml:
10824 * docs/gst/tmpl/gstfilesink.sgml:
10825 * docs/gst/tmpl/gstfilesrc.sgml:
10826 * docs/gst/tmpl/gstindex.sgml:
10827 * docs/manual/appendix-quotes.xml:
10828 * gst/base/gstbasesrc.h:
10829 * gst/elements/gstfakesrc.h:
10830 * gst/gstmessage.h:
10831 start pulling in base classes and elements in our docs
10833 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10835 * docs/gst/Makefile.am:
10836 * docs/libs/Makefile.am:
10837 fixed make distcheck with gtk-doc 1.3
10839 2005-06-23 Wim Taymans <wim@fluendo.com>
10841 * gst/gstelement.c: (gst_element_get_state_func),
10842 (gst_element_set_state), (gst_element_change_state):
10843 When the state did not change, also report NO_PREROLL
10846 2005-06-23 Wim Taymans <wim@fluendo.com>
10848 * gst/gstpad.c: (gst_pad_event_default):
10849 * gst/gstqueue.c: (gst_queue_loop):
10850 No unsafe task pausing please.
10852 2005-06-23 Wim Taymans <wim@fluendo.com>
10854 * gst/schedulers/threadscheduler.c:
10855 (gst_thread_scheduler_task_start),
10856 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10857 Ref the task before pushing it on the threadpool. This
10858 makes sure that we have a ref when the threadfunction is
10861 2005-06-23 Andy Wingo <wingo@pobox.com>
10863 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10864 offset is greater than the file's size.
10866 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10867 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10868 * gst/gstobject.c (gst_object_class_init): Make the class lock
10869 recursive. Wim won't let me drop deep_notify. Decodebin works
10870 again, whoopdy doo.
10872 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10873 internal pad, and hacks accordingly. Doesn't do it on the target
10874 pad because we change its caps. Probably catches all cases of
10876 (gst_ghost_pad_set_property): Connect to notify::caps as
10879 * tests/network-clock.scm (plot-simulation): Pipe data to the
10880 elite python skript.
10882 * tests/network-clock-utils.scm (define-parameter): New macro,
10883 defines a parameter that can be set via the command line.
10884 (set-parameter!, parse-parameter-arguments): Command line args
10887 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10890 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10892 * gst/elements/gsttypefindelement.c:
10893 (gst_type_find_element_handle_event):
10894 Don't restart typefinding on a discont.
10895 * gst/gstelement.c: (gst_element_set_state):
10896 Debug spelling fix.
10897 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10898 Allow changing mode of an active pad.
10899 Debug output fixes.
10900 * gst/registries/gstlibxmlregistry.c: (load_feature):
10901 Don't cast a static pad template to a normal pad template.
10903 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10905 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10906 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10907 remove gst_strtoll completely, since it didn't actually do
10908 anything more than what g_ascii_strtoull already does.
10909 check for range errors when deserializing
10910 do a cast for the unsigned cases; but further fixing needs
10911 a decision on what the interpretation of "(int)" and
10912 deserialization should be for values that fall outside the
10913 type's boundaries (ie, refuse, or interpret as casting)
10915 2005-06-23 Wim Taymans <wim@fluendo.com>
10917 * check/Makefile.am:
10918 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10919 * docs/design/part-live-source.txt:
10920 * docs/design/part-states.txt:
10921 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10922 (gst_basesrc_set_live), (gst_basesrc_is_live),
10923 (gst_basesrc_get_range), (gst_basesrc_activate),
10924 (gst_basesrc_change_state):
10925 * gst/base/gstbasesrc.h:
10926 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10927 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10928 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10929 * gst/gstelement.c: (gst_element_get_state_func),
10930 (gst_element_set_state):
10931 * gst/gstelement.h:
10933 * tools/gst-launch.c: (event_loop), (main):
10934 Added support for live sources and other elements that
10936 Updated design docs, added live-source design doc.
10937 Implemented live source functionality in basesrc
10938 Fix error condition in _bin_get_state()
10939 Implement live source handling in -launch.
10940 Added check for live sources.
10941 Fixed case in GstBin where elements were changed state
10945 2005-06-23 Andy Wingo <wingo@pobox.com>
10947 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
10948 borken refcounting.
10950 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
10951 gst_caps_replace takes care of this for us.
10953 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
10954 gst_pad_set_caps on the target, not just its setcaps() function.
10956 * tests/network-clock.scm:
10957 * tests/network-clock-utils.scm: A network clock simulator.
10958 Something of an algorithmic testbed before doing something in C.
10960 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10962 * check/Makefile.am:
10963 * check/gst/capslist.h:
10964 copy over from 0.8, and add two with bitmasks specified with
10966 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
10967 add test to parse everything from capslist.h
10968 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
10970 add test for structure deserialization
10971 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10972 add tests for deserialization of strings to int types
10973 * gst/gststructure.c: (gst_structure_nth_field_name):
10974 * gst/gststructure.h:
10975 add a way to get the name of a field referenced by index
10976 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10977 instead of checking if the resulting long long lies between
10978 min and max, we check if the long long would fit into
10979 a number of bytes for the final type.
10980 This fixes cases where a string represents 2^32 - 1, which
10981 when cast to int would be the (valid) -1, but is bigger than
10984 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10986 * gst/parse/grammar.y:
10987 add a log line for type deserialization
10989 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
10991 * check/gst/gstvalue.c: (START_TEST):
10992 * gst/gstvalue.c: (gst_value_deserialize):
10993 return long long, not int, so gint64 deserialization actually
10994 works. Is there any flag that makes the compiler check this ?
10997 2005-06-22 Wim Taymans <wim@fluendo.com>
11000 Added convenience macros for setting buffers in GValue.
11002 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11004 * check/gst/.cvsignore:
11005 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11006 add a test deserializing int64, and comment part out because
11009 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11011 * check/Makefile.am:
11012 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11013 * testsuite/Makefile.am:
11014 * testsuite/caps/Makefile.am:
11015 * testsuite/caps/value_serialize.c:
11016 * testsuite/test_gst_init.c:
11017 move a value_serialize test over
11019 2005-06-20 Wim Taymans <wim@fluendo.com>
11024 * gst/gstvalue.c: (gst_value_compare_buffer),
11025 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11026 (gst_value_compare_flags), (gst_value_serialize_flags),
11027 (gst_value_deserialize_flags), (_gst_value_initialize):
11028 Fix serialisation of buffers, they are not boxed types anymore
11030 2005-06-20 Wim Taymans <wim@fluendo.com>
11032 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11033 Testcase to show error in buffer-on-caps serialisation.
11035 2005-06-20 Andy Wingo <wingo@pobox.com>
11037 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11038 will be adding to later.
11040 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11041 if its socks fill with rocks.
11042 (gst_system_clock_obtain): Set the name on object construction.
11043 Avoid double-checked locking.
11045 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
11047 * gst/gsturi.c: (gst_element_make_from_uri):
11048 Fix potential endless loop.
11050 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11052 * check/Makefile.am:
11054 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11056 move over from testsuite dir and clean up
11059 * testsuite/Makefile.am:
11060 * testsuite/tags/.cvsignore:
11061 * testsuite/tags/Makefile.am:
11062 * testsuite/tags/merge.c:
11063 remove testsuite/tags
11065 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11067 * docs/gst/gstreamer-sections.txt:
11068 * docs/gst/tmpl/gstenumtypes.sgml:
11069 * win32/gstenumtypes.c:
11070 clean up documentation build a little
11072 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11074 * check/gstcheck.h:
11075 add macros for checking refcounts on objects and caps
11076 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11077 add some more unit tests
11078 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11079 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11080 fix leaked refcounts (I hope :)) so unittest works
11084 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11086 * configure.ac: back to HEAD
11088 === release 0.9.1 ===
11090 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
11096 2005-06-17 Andy Wingo <wingo@pobox.com>
11098 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11099 assert; it's always possible that the pad gets deactivated in
11100 between the checks in gstpad.c and the implementation. Rely on
11101 finish_preroll() to return a FLUSHING or similar instead of on the
11104 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11105 clock and post an EOS message if we come out of finish_preroll in
11108 2005-06-16 David Schleef <ds@schleef.org>
11110 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11111 (gst_capsfilter_set_property): Allow NULL as possible value
11112 for filter_caps property, indicating GST_CAPS_ANY.
11114 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11116 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11118 * gst/schedulers/Makefile.am:
11120 * gstreamer.spec.in:
11123 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11125 * gstreamer.spec.in:
11128 2005-06-08 Andy Wingo <wingo@pobox.com>
11130 * gst/gstutils.c: RPAD fixes all around.
11131 (gst_element_link_pads): Refcounting fixes.
11133 * tools/gst-inspect.c:
11134 * tools/gst-xmlinspect.c:
11136 * gst/base/gsttypefindhelper.c:
11137 * gst/base/gstbasesink.c:
11138 * gst/gstqueue.c: RPAD fixes.
11140 * gst/gstghostpad.h:
11141 * gst/gstghostpad.c: New ghost pad implementation as full proxy
11142 pads. The tricky thing is they provide both source and sink
11143 interfaces, since they proxy the internal pad for the external
11144 pad, and vice versa. Implement with lower-level ProxyPad objects,
11145 with the interior proxy pad as a child of the exterior ghost pad.
11146 Should write a doc on this.
11148 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11149 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11152 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11153 pads are real pads. No ghost pads in this file. Not documenting
11154 the myriad s/RPAD/PAD/ and REALIZE fixes.
11155 (gst_pad_class_init): Add properties for "direction" and
11156 "template". Both are construct-only, so they can't change during
11157 the life of the pad. Fixes properly deriving from GstPad.
11158 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11159 derived objects, just set properties when creating the objects via
11161 (gst_pad_get_parent): Implement as a function, return NULL if the
11162 parent is not an element.
11163 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11164 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11166 * gst/gstobject.c (gst_object_class_init): Make name a construct
11167 property. Don't set it in the object init.
11169 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11170 with UNKNOWN direction.
11171 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11172 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11173 (gst_element_remove_pad): Remove ghost-pad special cases.
11174 (gst_element_pads_activate): Remove rpad cruft.
11176 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11177 catch the pad's-parent-not-an-element case.
11179 * gst/gst.h: Include gstghostpad.h.
11181 * gst/gst.c (init_post): No more real, ghost pads.
11183 * gst/Makefile.am: Add gstghostpad.[ch].
11185 * check/Makefile.am:
11186 * check/gst/gstbin.c:
11187 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11188 into a bin creates ghost pads, and that the refcounts are right.
11189 Partly moved from gstbin.c.
11191 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11193 * check/gst-libs/.cvsignore:
11194 * check/gst/.cvsignore:
11195 * check/pipelines/.cvsignore:
11197 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11198 (START_TEST), (cleanup_suite), (main):
11199 add some tests related to cleanup after running pipelines
11201 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11203 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11204 add a testsuite for GstBuffer
11206 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11208 * gst/gstminiobject.h:
11209 add defines for accessing the refcount
11211 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11213 * Makefile.am: added support for html unit test coverage reports
11215 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11217 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11218 Free existing caps if the capsfilter changes. Add a FIXME about
11219 setting those caps on the pads.
11221 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11222 Before adding a ghost pad to a parent bin, check that there isn't
11223 already one for the element on the bin. Prevents infinite recursion
11224 when using decodebin in parse pipelines. Andy says he'll rewrite the
11225 way this works anyway, so ignore the hack.
11227 2005-06-02 Andy Wingo <wingo@pobox.com>
11229 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11230 file size, pass it on to the type find helper.
11232 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11233 segment_start and segment_end properly according to the seek
11234 method. Segment_end is still a bit flaky because offset can be
11235 negative for CUR and END cases, but it takes -1 as an "unset"
11238 2005-06-02 Wim Taymans <wim@fluendo.com>
11240 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11241 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11242 (gst_basesink_activate):
11243 * gst/base/gstbasesink.h:
11244 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11245 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11246 (gst_pad_query), (gst_pad_start_task):
11248 * gst/gstqueue.c: (gst_queue_bufferalloc),
11249 (gst_queue_handle_sink_event), (gst_queue_chain):
11250 Bufferalloc: return GstFlowReturn to more accuratly report
11251 why allocation failed.
11253 2005-06-02 Wim Taymans <wim@fluendo.com>
11255 * gst/gstpipeline.c: (gst_pipeline_send_event):
11256 Take snapshot of state without blocking.
11258 2005-06-02 Wim Taymans <wim@fluendo.com>
11260 * docs/design/part-TODO.txt:
11261 * docs/design/part-caps.txt:
11262 * docs/design/part-clocks.txt:
11263 * docs/design/part-negotiation.txt:
11264 * docs/design/part-preroll.txt:
11267 2005-05-30 Wim Taymans <wim@fluendo.com>
11269 * gst/elements/gstidentity.c: (gst_identity_event),
11270 (gst_identity_transform), (gst_identity_get_property):
11271 Protect last_message property as it is accessed from
11274 2005-05-30 Wim Taymans <wim@fluendo.com>
11276 * gst/gstelement.c: (gst_element_init),
11277 (gst_element_pads_activate), (gst_element_change_state):
11278 Slicker pad activation code.
11280 2005-05-30 Wim Taymans <wim@fluendo.com>
11283 * gst/gstelement.h:
11284 * gst/gstelementfactory.h:
11286 Move elementfactory methods to separate .h file.
11288 2005-05-30 Wim Taymans <wim@fluendo.com>
11290 * docs/design/part-overview.txt:
11291 * gst/gstsystemclock.h:
11292 Small typo fixes, doc updates.
11294 2005-05-30 Wim Taymans <wim@fluendo.com>
11296 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11297 (init_popt_callback):
11298 Remove cpu-opt flag.
11300 2005-05-30 Wim Taymans <wim@fluendo.com>
11302 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11303 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11305 Avoid typechecking in places where not needed.
11306 Added accessor for malloc_data.
11308 2005-05-30 Wim Taymans <wim@fluendo.com>
11310 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11311 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11312 (gst_pad_configure_sink), (gst_pad_configure_src),
11313 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11314 (gst_pad_start_task):
11315 Propagate errors from _set_caps() in configure_src/sink
11316 functions instead of returning TRUE.
11317 FLUSH events can travel up and downstream
11320 2005-05-30 Wim Taymans <wim@fluendo.com>
11322 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11323 (gst_basesink_activate):
11324 Handle EOS in preroll.
11326 2005-05-30 Wim Taymans <wim@fluendo.com>
11328 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11329 (gst_queue_loop), (gst_queue_handle_src_event):
11330 Remove old pieces of code
11331 Flushing the queue in an upstream event is a very bad idea.
11333 2005-05-26 Andy Wingo <wingo@pobox.com>
11335 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11336 gst_value_set_mini_object so as to add a ref on the object (which
11337 will be removed when the value is unset).
11339 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11340 arg type in ::handoff.
11342 * gst/gstelement.c (gst_element_change_state): Also deactivate
11343 pads in READY->NULL, just in case the element didn't make it to
11344 PAUSED. Wingo tested, Wim approved.
11346 2005-05-26 Wim Taymans <wim@fluendo.com>
11348 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11349 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11350 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11351 A flushing pad cannot be used to alloc_buffer from.
11353 2005-05-26 Wim Taymans <wim@fluendo.com>
11355 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11356 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11357 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11358 (gst_bus_create_watch), (gst_bus_add_watch_full):
11360 Implement a real GSource and use g_main_context_wakeup() to
11361 signal new messages instead of the socketpair.
11363 2005-05-25 Wim Taymans <wim@fluendo.com>
11365 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11366 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11367 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11368 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11369 (gst_pad_send_event), (gst_pad_start_task):
11370 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11371 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11372 (gst_queue_sink_activate), (gst_queue_src_activate),
11373 (gst_queue_change_state):
11375 Fix state changes for non sinks. We now change sinks, then elements
11376 with unconnected srcpads, then the rest.
11377 More efficient queue unlocking in flush and state changes.
11378 Set the pad activate mode even if it does not have an activate
11381 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11383 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11384 Don't go in pull mode for non-seekable sources.
11385 * gst/elements/gsttypefindelement.h:
11386 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11387 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11388 (free_entry), (stop_typefinding),
11389 (gst_type_find_element_handle_event), (find_peek),
11390 (gst_type_find_element_chain), (do_pull_typefind),
11391 (gst_type_find_element_change_state):
11392 Allow typefinding (w/o seeking) in push-mode, simplified version
11393 of what was in 0.8.
11394 * gst/gstutils.c: (gst_buffer_join):
11396 gst_buffer_join() from 0.8.
11398 2005-05-25 Wim Taymans <wim@fluendo.com>
11400 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11401 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11402 (gst_pad_send_event), (gst_pad_start_task):
11403 Disable attempt at mode switching until it is figured out.
11405 2005-05-25 Wim Taymans <wim@fluendo.com>
11407 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11408 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11409 (gst_basesink_finish_preroll), (gst_basesink_chain),
11410 (gst_basesink_loop), (gst_basesink_activate),
11411 (gst_basesink_change_state):
11412 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11413 (gst_basesrc_get_range), (gst_basesrc_loop),
11414 (gst_basesrc_activate):
11415 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11416 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11417 (gst_real_pad_init), (gst_real_pad_set_property),
11418 (gst_real_pad_get_property), (gst_pad_set_active),
11419 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11420 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11421 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11422 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11423 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11424 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11425 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11426 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11427 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11428 (gst_pad_stop_task):
11430 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11431 (gst_queue_loop), (gst_queue_src_activate):
11432 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11433 (gst_task_get_state):
11435 * gst/schedulers/threadscheduler.c:
11436 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11437 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11439 Remove ACTIVE pad flag, use FLUSHING everywhere
11440 Added _pad_chain(), _pad_get_range() to call chain/getrange
11442 Add locks around IS_FLUSHING when reading.
11443 Take STREAM lock in chain(), get_range() functions so plugins
11444 don't need to take it anymore.
11448 2005-05-25 Wim Taymans <wim@fluendo.com>
11450 * tools/gst-launch.c: (event_loop):
11451 Unref message after using its contents instead of
11454 2005-05-24 Wim Taymans <wim@fluendo.com>
11456 * docs/design/draft-ghostpads.txt:
11457 * docs/design/draft-push-pull.txt:
11458 * docs/design/draft-query.txt:
11459 * docs/design/part-overview.txt:
11460 Docs updates, added general overview doc.
11462 2005-05-21 David Schleef <ds@schleef.org>
11464 * docs/gst/tmpl/old/GstBin.sgml:
11465 * docs/gst/tmpl/old/GstBuffer.sgml:
11466 * docs/gst/tmpl/old/GstCaps.sgml:
11467 * docs/gst/tmpl/old/GstClock.sgml:
11468 * docs/gst/tmpl/old/GstCompat.sgml:
11469 * docs/gst/tmpl/old/GstData.sgml:
11470 * docs/gst/tmpl/old/GstElement.sgml:
11471 * docs/gst/tmpl/old/GstEvent.sgml:
11472 * docs/gst/tmpl/old/GstIndex.sgml:
11473 * docs/gst/tmpl/old/GstStructure.sgml:
11474 * docs/gst/tmpl/old/GstTag.sgml:
11475 * docs/gst/tmpl/old/cothreads.sgml:
11476 * docs/gst/tmpl/old/cothreads_compat.sgml:
11477 * docs/gst/tmpl/old/gettext.sgml:
11478 * docs/gst/tmpl/old/gobject2gtk.sgml:
11479 * docs/gst/tmpl/old/grammar.tab.sgml:
11480 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11481 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11482 * docs/gst/tmpl/old/gst_private.sgml:
11483 * docs/gst/tmpl/old/gstaggregator.sgml:
11484 * docs/gst/tmpl/old/gstarch.sgml:
11485 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11486 * docs/gst/tmpl/old/gstbufferstore.sgml:
11487 * docs/gst/tmpl/old/gstdata_private.sgml:
11488 * docs/gst/tmpl/old/gstdisksink.sgml:
11489 * docs/gst/tmpl/old/gstdisksrc.sgml:
11490 * docs/gst/tmpl/old/gstelementfactory.sgml:
11491 * docs/gst/tmpl/old/gstextratypes.sgml:
11492 * docs/gst/tmpl/old/gstfakesink.sgml:
11493 * docs/gst/tmpl/old/gstfakesrc.sgml:
11494 * docs/gst/tmpl/old/gstfdsink.sgml:
11495 * docs/gst/tmpl/old/gstfdsrc.sgml:
11496 * docs/gst/tmpl/old/gstfilesink.sgml:
11497 * docs/gst/tmpl/old/gstfilesrc.sgml:
11498 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11499 * docs/gst/tmpl/old/gstidentity.sgml:
11500 * docs/gst/tmpl/old/gstindexfactory.sgml:
11501 * docs/gst/tmpl/old/gstmarshal.sgml:
11502 * docs/gst/tmpl/old/gstmd5sink.sgml:
11503 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11504 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11505 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11506 * docs/gst/tmpl/old/gstpipefilter.sgml:
11507 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11508 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11509 * docs/gst/tmpl/old/gstshaper.sgml:
11510 * docs/gst/tmpl/old/gstspider.sgml:
11511 * docs/gst/tmpl/old/gstspideridentity.sgml:
11512 * docs/gst/tmpl/old/gststatistics.sgml:
11513 * docs/gst/tmpl/old/gsttee.sgml:
11514 * docs/gst/tmpl/old/gsttimecache.sgml:
11515 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11516 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11517 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11518 * docs/gst/tmpl/old/types.sgml:
11519 I didn't intend to add these or check them in.
11521 2005-05-19 David Schleef <ds@schleef.org>
11523 * configure.ac: Use -no-common everywhere. In a sane world, it
11524 would be the default in libtool, because without it, you can't
11525 build DLLs on Windows.
11526 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11527 * docs/gst/gstreamer-sections.txt:
11528 * docs/gst/tmpl/gstcpu.sgml:
11529 * docs/gst/tmpl/gstdata.sgml:
11530 * docs/gst/tmpl/gstthread.sgml:
11532 2005-05-19 David Schleef <ds@schleef.org>
11534 * gst/gstminiobject.c: (gst_value_set_mini_object),
11535 (gst_value_take_mini_object), (gst_value_get_mini_object):
11536 * gst/gstminiobject.h: Add GValue set/get functions.
11538 2005-05-19 Wim Taymans <wim@fluendo.com>
11540 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11541 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11542 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11544 * gst/gstbus.c: (gst_bus_post):
11545 * gst/gstelement.c: (gst_element_get_random_pad):
11546 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11547 Make subbufer unref the parent in finalize.
11548 some more debugging info.
11551 2005-05-19 Wim Taymans <wim@fluendo.com>
11553 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11554 (gst_basesink_init), (gst_basesink_finalize),
11555 (gst_basesink_activate), (gst_basesink_change_state):
11556 Don't free preroll queue too early.
11558 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11562 Hi, I'm outdated. Please shoot me.
11564 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11566 * gst/gstpipeline.c: (gst_pipeline_send_event):
11567 Do not access variables after they have been deleted.
11569 2005-05-19 Wim Taymans <wim@fluendo.com>
11571 * tools/gst-inspect.c: (print_plugin_features):
11572 A plugin feature does unfortunatly not use the
11575 2005-05-18 Wim Taymans <wim@fluendo.com>
11577 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11578 Port _span() functions to new subbuffers.
11580 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11582 * gst/gstbin.c: (gst_bin_add_func):
11583 Fix clock settery in bins when adding kids after the clock has
11586 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11588 * gst/elements/gstidentity.c: (gst_identity_class_init):
11589 Workaround until signals support GstMiniObject.
11591 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11594 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11596 2005-05-18 Wim Taymans <wim@fluendo.com>
11598 * gst/base/Makefile.am:
11599 * gst/base/gstadapter.c: (gst_adapter_base_init),
11600 (gst_adapter_class_init), (gst_adapter_init),
11601 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11602 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11603 (gst_adapter_flush), (gst_adapter_available),
11604 (gst_adapter_available_fast):
11605 * gst/base/gstadapter.h:
11606 Ported and added adapter to the base classes.
11608 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11611 * gst/gstmessage.c:
11612 Make sure the class is reffed/unreffed once before threads can be
11613 used. Fixes #304551.
11615 2005-05-17 Wim Taymans <wim@fluendo.com>
11617 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11618 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11619 * gst/gstminiobject.c: (gst_mini_object_get_type),
11620 (gst_mini_object_free):
11621 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11622 (gst_pad_push), (gst_pad_push_event):
11623 * gst/gstqueue.c: (gst_queue_change_state):
11624 Don't queue buffers in basesink when we are flushing.
11625 Unref buffer when flushing in basesink.
11626 Flush queue when going to READY
11627 Unref buffer when _push() returns an error.
11628 Don't free MiniObject instance when refcount is incremented
11629 in _finalize() so that we can recover objects.
11631 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11633 * docs/manual/advanced-schedulers.xml:
11634 * docs/manual/appendix-checklist.xml:
11635 * docs/pwg/advanced-clock.xml:
11636 * docs/pwg/advanced-interfaces.xml:
11637 * docs/pwg/advanced-request.xml:
11638 * docs/pwg/advanced-types.xml:
11639 * docs/pwg/intro-preface.xml:
11640 * examples/plugins/example.c: (gst_example_get_type),
11641 (gst_example_class_init), (gst_example_chain),
11642 (gst_example_set_property), (gst_example_get_property),
11643 (gst_example_change_state), (plugin_init):
11644 * examples/plugins/example.h:
11647 2005-05-17 Wim Taymans <wim@fluendo.com>
11649 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11650 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11651 * gst/gstqueue.c: (gst_queue_change_state):
11652 Clear queue when going to READY.
11653 Remove IN_SETCAPS flag too.
11655 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11657 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11658 Remove implicit cast from gboolean to GstElementStateReturn;
11659 make sure we still return failure in paused => ready case if
11660 the parent class fails to change state and our own stop
11663 2005-05-17 Wim Taymans <wim@fluendo.com>
11665 * tools/gst-launch.c: (event_loop):
11666 Message was unreffed too soon.
11668 2005-05-16 Andy Wingo <wingo@pobox.com>
11670 * gst/gstbin.c (sink_iterator_filter): Err... um...
11672 * check/gst/gstbin.c (test_ghost_pads): New test for the
11673 ghosting-if-elements-not-in-same-bin behavior.
11675 2005-05-16 David Schleef <ds@schleef.org>
11677 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11678 accessing refcount directly.
11680 2005-05-15 David Schleef <ds@schleef.org>
11682 * check/Makefile.am: remove GstData checks
11683 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11684 * gst/Makefile.am: add miniobject, remove data
11685 * gst/gst.h: add miniobject, remove data
11686 * gst/gstdata.c: remove
11687 * gst/gstdata.h: remove
11688 * gst/gstdata_private.h: remove
11689 * gst/gsttypes.h: remove GstEvent and GstMessage
11690 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11691 * gst/gstmarshal.list: change BOXED -> OBJECT
11693 Implement GstMiniObject.
11694 * gst/gstminiobject.c:
11695 * gst/gstminiobject.h:
11697 Modify to be subclasses of GstMiniObject.
11698 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11699 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11700 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11701 (gst_subbuffer_get_type), (gst_subbuffer_init),
11702 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11705 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11706 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11707 (_gst_event_copy), (gst_event_new):
11709 * gst/gstmessage.c: (_gst_message_initialize),
11710 (gst_message_get_type), (gst_message_class_init),
11711 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11712 (gst_message_new), (gst_message_new_error),
11713 (gst_message_new_warning), (gst_message_new_tag),
11714 (gst_message_new_state_changed), (gst_message_new_application):
11715 * gst/gstmessage.h:
11716 * gst/gstprobe.c: (gst_probe_perform),
11717 (gst_probe_dispatcher_dispatch):
11719 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11720 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11721 (_gst_query_copy), (gst_query_new):
11723 Update elements for GstData -> GstMiniObject changes
11725 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11726 (gst_queue_chain), (gst_queue_loop):
11727 * gst/elements/gstbufferstore.c:
11728 (gst_buffer_store_add_buffer_func),
11729 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11730 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11731 (gst_fakesink_render):
11732 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11733 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11734 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11735 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11736 (gst_filesrc_create_read):
11737 * gst/elements/gstidentity.c: (gst_identity_class_init):
11738 * gst/elements/gsttypefindelement.c:
11739 (gst_type_find_element_src_event), (free_entry_buffers),
11740 (gst_type_find_element_handle_event):
11741 * libs/gst/dataprotocol/dataprotocol.c:
11742 (gst_dp_header_from_buffer):
11743 * libs/gst/dataprotocol/dataprotocol.h:
11744 * libs/gst/dataprotocol/dp-private.h:
11746 2005-05-15 David Schleef <ds@schleef.org>
11748 * gst/elements/gstelements.c: Don't include headers that were
11751 2005-05-15 David Schleef <ds@schleef.org>
11753 * gst/elements/Makefile.am: Remove some elements that don't
11754 need to be in the core (or even exist at all).
11755 * gst/elements/gstaggregator.c:
11756 * gst/elements/gstaggregator.h:
11757 * gst/elements/gstmd5sink.c:
11758 * gst/elements/gstmd5sink.h:
11759 * gst/elements/gstmultifilesrc.c:
11760 * gst/elements/gstmultifilesrc.h:
11761 * gst/elements/gstpipefilter.c:
11762 * gst/elements/gstpipefilter.h:
11763 * gst/elements/gstshaper.c:
11764 * gst/elements/gstshaper.h:
11765 * gst/elements/gststatistics.c:
11766 * gst/elements/gststatistics.h:
11767 * po/POTFILES.in: Remove above files.
11769 2005-05-14 Andy Wingo <wingo@pobox.com>
11771 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11772 so as to get the refs right.
11773 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11774 unreffing objects that don't pass the filter.
11776 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11777 gst_element_set_bus.
11778 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11779 normal cases, this will destroy the bus.
11781 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11784 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11787 2005-05-13 Andy Wingo <wingo@pobox.com>
11789 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11790 gst_pad_link, call pad_link_maybe_ghosting,
11791 (pad_link_maybe_ghosting): Links pads, making sure that the
11792 elements being linked are in the same bin.
11793 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11794 Helpers for pad_link_maybe_ghosting.
11796 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11799 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11801 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11803 * docs/design/part-element-source.txt:
11806 2005-05-12 Wim Taymans <wim@fluendo.com>
11808 * gst/base/gstbasesink.c: (gst_basesink_init),
11809 (gst_basesink_activate):
11810 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11811 (gst_basesrc_is_seekable):
11812 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11813 (bin_element_is_sink), (gst_bin_change_state):
11814 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11815 * gst/gstelement.h:
11816 Identify sinks by their flag to avoid overly complicated
11818 Do state changes even for elements not reachable from the
11820 BaseSink is a sink now :)
11821 Some more debugging info in the basesrc.
11824 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11826 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11827 Implement _query on a bin, similar to _send_event.
11829 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11831 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11832 Discont event offset format should be GST_FORMAT_BYTES,
11833 not GST_FORMAT_TIME.
11835 2005-05-12 Wim Taymans <wim@fluendo.com>
11837 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11838 Same fix as Ronald's but without the signal.
11840 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11842 * gst/gstutils.c: (gst_element_query_position):
11843 No, an element is not a pad.
11845 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11847 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11848 (gst_bin_get_state):
11849 If a child is removed from a bin while we remove the child from
11850 the bin and while we're retrieving its state, signal this to the
11851 get_state function so we abort the wait (instead of waiting for
11852 a timeout) and can immediately re-iterate over all other elements.
11854 2005-05-12 Wim Taymans <wim@fluendo.com>
11856 * gst/base/Makefile.am:
11857 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11858 (gst_basesrc_start):
11859 * gst/base/gstbasesrc.h:
11860 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11861 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11862 (gst_pushsrc_init), (gst_pushsrc_create):
11863 * gst/base/gstpushsrc.h:
11864 Added is_seekable to BaseSrc
11865 Added simple PushSrc.
11867 2005-05-11 Wim Taymans <wim@fluendo.com>
11869 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11870 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11871 (gst_element_link_pads), (gst_element_query_position),
11872 (gst_element_query_convert), (intersect_caps_func),
11873 (gst_pad_query_position), (gst_pad_query_convert):
11874 Fix refcounting in utils function.
11875 No point in trying to activate a pad when it's added, it could
11876 be added from the state change function and then we deadlock, the
11877 element has to decide what to do.
11879 2005-05-10 Andy Wingo <wingo@pobox.com>
11881 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11882 *all* the arguments.
11884 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11885 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11886 lock (according to the docs -- if this is wrong change the docs).
11888 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11889 flush messages in the NULL state.
11891 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11892 message immediately and return.
11893 (gst_bus_set_flushing): New function. If a bus is flushing, it
11894 flushes out any queued messages and immediately unrefs new
11895 messages. This is so when an element goes to NULL, all of the
11896 unhandled messages coming from it can be freed, and their
11897 references to the element dropped. In other words: message source
11898 ref considered harmful :P
11900 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11901 we're finished with it.
11903 * gst/gstmessage.c (gst_message_new_state_changed):
11905 2005-05-10 Wim Taymans <wim@fluendo.com>
11907 * gst/gstvalue.c: (gst_value_compare_flags),
11908 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11909 (_gst_value_initialize):
11910 Added flags serialize/deserialize/compare code.
11912 2005-05-09 Andy Wingo <wingo@pobox.com>
11914 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11915 Intersect the peer's caps with our caps.
11917 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11919 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11920 * gst/elements/gsttypefindelement.c: (find_peek):
11921 Handle negative offsets better. Fixes decodebin.
11923 2005-05-09 Wim Taymans <wim@fluendo.com>
11925 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11926 (gst_base_transform_event):
11927 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11928 Implement accept_caps.
11929 Fix silly lock/unlock mismatch in base class.
11931 2005-05-09 Wim Taymans <wim@fluendo.com>
11933 * docs/design/draft-push-pull.txt:
11934 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11935 * gst/elements/gstfilesink.c: (gst_filesink_init),
11936 (gst_filesink_query):
11937 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11938 (gst_type_find_handle_src_query), (find_element_get_length):
11939 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11940 * gst/gstelement.h:
11941 * gst/gstmessage.c:
11942 * gst/gstmessage.h:
11943 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11944 (gst_real_pad_get_caps_unlocked),
11945 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
11946 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11947 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
11948 (gst_real_pad_dispose), (gst_real_pad_finalize),
11949 (gst_pad_load_and_link), (gst_pad_save_thyself),
11950 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
11951 (gst_pad_check_pull_range), (gst_pad_pull_range),
11952 (gst_pad_template_get_type), (gst_pad_template_class_init),
11953 (gst_pad_template_init), (gst_pad_template_dispose),
11954 (name_is_valid), (gst_static_pad_template_get),
11955 (gst_pad_template_new), (gst_static_pad_template_get_caps),
11956 (gst_pad_template_get_caps), (gst_pad_set_element_private),
11957 (gst_pad_get_element_private), (gst_pad_start_task),
11958 (gst_pad_pause_task), (gst_pad_stop_task),
11959 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
11960 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11961 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
11962 (gst_ghost_pad_new):
11964 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
11965 (gst_query_new_position), (gst_query_set_position),
11966 (gst_query_parse_position), (gst_query_new_convert),
11967 (gst_query_set_convert), (gst_query_parse_convert):
11969 * gst/gstqueryutils.c:
11970 * gst/gstqueryutils.h:
11971 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
11972 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
11973 (gst_queue_handle_src_query):
11974 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11975 (gst_element_query_position), (gst_element_query_convert),
11976 (intersect_caps_func), (gst_pad_query_position),
11977 (gst_pad_query_convert):
11979 * tools/gst-inspect.c: (print_pad_info):
11980 * tools/gst-xmlinspect.c: (print_element_info):
11981 Remove old query functions. Ported old code.
11982 Added position/convert helper functions to gstutils.
11983 Reordered gstpad.c code, grouping relevant things.
11984 Remove gst_message_new(), always need to speficy a specific
11988 2005-05-09 Andy Wingo <wingo@pobox.com>
11990 * gst/gstiterator.h: Add some includes.
11992 * gst/gstqueryutils.h: Include more headers.
11995 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
11996 some uses of gst_pad_query.
11998 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
11999 NULL out parameters.
12000 (gst_query_new_position): New proc, allocates a new position
12003 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12004 gstqueryutils.c to the build.
12006 * gst/gststructure.c (gst_structure_set_valist): Implement with
12007 the generic G_VALUE_COLLECT.
12009 2005-05-08 Edward Hervey <bilboed@bilboed.com>
12011 * gst/Makefile.am: (gst_headers):
12012 Added gstqueryutils.h to the list of headers to install, that was
12013 a 'nachty' move wingo :)
12015 2005-05-06 Andy Wingo <wingo@pobox.com>
12018 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12019 GstData, init a memchunk.
12020 (standard_definitions): Add a few query types, deprecate a few.
12021 (gst_query_get_type): New proc.
12022 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12024 (gst_query_new_application, gst_query_get_structure): New public
12027 * docs/design/draft-query.txt: Removed LINKS from the query types,
12028 because all the rest can be dispatched to other pads -- seemed
12029 ugly to have a query that couldn't be dispatched. internal_links
12030 is fine as a pad method.
12032 * gst/gstpad.h: Add query2 as a pad method, add the new functions
12033 in gstpad.c, but maintain binary compatibility for the moment.
12034 Will fix before 0.9 is out.
12036 * gst/gstqueryutils.c:
12037 * gst/gstqueryutils.h: New files, implement 3 methods for each
12038 query type: parse_query, parse_response, and set. Probably need an
12041 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12043 * gst/elements/gstfilesink.c (gst_filesink_query2):
12044 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12045 query_types, and formats methods.
12047 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12048 (gst_pad_set_query2_function): New functions.
12049 (gst_real_pad_init): Set query2_default as the default query2
12050 function. Basically just dispatches to internally linked pads.
12054 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12055 without using the atomic operations. Only one thread can possibly
12056 be accessing the data at this point. Changed so as to avoid
12057 gst_atomic operations.
12059 2005-05-06 Wim Taymans <wim@fluendo.com>
12061 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12062 Also set caps if we use the fallback buffer alloc.
12064 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
12066 * docs/gst/Makefile.am:
12067 * docs/gst/gstreamer-docs.sgml:
12068 * docs/gst/gstreamer-sections.txt:
12069 * docs/gst/tmpl/gstatomic.sgml:
12070 * docs/gst/tmpl/gstmemchunk.sgml:
12071 * testsuite/elements/struct_i386.h:
12072 * win32/GStreamer.vcproj:
12074 Purge GstAtomic stuff from docs and win32 makefiles as well
12076 2005-05-06 Wim Taymans <wim@fluendo.com>
12078 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12079 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12080 * gst/gstpad.c: (gst_pad_peer_get_caps):
12081 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12082 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12083 (gst_queue_src_activate), (gst_queue_change_state):
12085 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12086 (intersect_caps_func):
12087 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12088 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12089 Some fixes for the peer_get_caps() change.
12091 2005-05-06 Wim Taymans <wim@fluendo.com>
12093 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12094 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12095 (gst_basesink_activate):
12096 Actually do something with error codes returned from the push
12099 2005-05-06 Wim Taymans <wim@fluendo.com>
12101 * docs/design/part-element-sink.txt:
12102 * docs/design/part-element-source.txt:
12103 * gst/base/gstbasesink.c: (gst_basesink_class_init),
12104 (gst_basesink_event), (gst_basesink_activate):
12105 * gst/base/gstbasesink.h:
12106 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12107 (gst_basesrc_activate):
12108 * gst/base/gstbasesrc.h:
12109 * gst/gstelement.c: (gst_element_pads_activate):
12110 Some more documentation.
12111 Fixed scheduling decision in _pads_activate().
12113 2005-05-05 Andy Wingo <wingo@pobox.com>
12115 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12118 2005-05-05 Wim Taymans <wim@fluendo.com>
12120 * gst/base/Makefile.am:
12121 * gst/base/gstbasesink.h:
12122 * gst/base/gstbasesrc.c: (gst_basesrc_init),
12123 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12124 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12125 (gst_collectpads_class_init), (gst_collectpads_init),
12126 (gst_collectpads_finalize), (gst_collectpads_new),
12127 (gst_collectpads_set_function), (gst_collectpads_add_pad),
12128 (find_pad), (gst_collectpads_remove_pad),
12129 (gst_collectpads_is_active), (gst_collectpads_collect),
12130 (gst_collectpads_collect_range), (gst_collectpads_start),
12131 (gst_collectpads_stop), (gst_collectpads_peek),
12132 (gst_collectpads_pop), (gst_collectpads_available),
12133 (gst_collectpads_read), (gst_collectpads_flush),
12134 (gst_collectpads_chain):
12135 * gst/base/gstcollectpads.h:
12136 * gst/elements/Makefile.am:
12137 * gst/elements/gstelements.c:
12138 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12139 (gst_fakesink_get_times), (gst_fakesink_event),
12140 (gst_fakesink_preroll), (gst_fakesink_render):
12141 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12142 (gst_filesink_init), (gst_filesink_set_location),
12143 (gst_filesink_open_file), (gst_filesink_close_file),
12144 (gst_filesink_pad_query), (gst_filesink_event),
12145 (gst_filesink_render), (gst_filesink_change_state):
12146 * gst/elements/gstfilesink.h:
12147 Added object to help in making collect pad based elements.
12149 Make event function in sink baseclass return gboolean.
12151 2005-05-05 Wim Taymans <wim@fluendo.com>
12153 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12154 (gst_bin_get_by_name):
12156 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12157 (gst_clock_finalize):
12158 * gst/gstdata.c: (gst_data_replace):
12160 * gst/gstelement.c: (gst_element_request_pad),
12161 (gst_element_pads_activate):
12162 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12163 (gst_object_unref):
12164 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12165 (gst_pad_set_checkgetrange_function),
12166 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12167 (gst_pad_check_pull_range), (gst_pad_pull_range),
12168 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12169 (gst_pad_pause_task), (gst_pad_stop_task):
12170 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12171 (gst_element_request_pad), (gst_pad_proxy_getcaps):
12172 Fix name lookup in GstBin.
12173 Added _data_replace() function and _buffer_replace()
12174 Use finalize method to clean up clock.
12175 Fix refcounting on request pads.
12176 Fix pad schedule mode error.
12177 Some more object refcounting debug info,
12180 2005-05-04 Andy Wingo <wingo@pobox.com>
12182 * check/Makefile.am:
12183 * docs/gst/tmpl/gstatomic.sgml:
12184 * docs/gst/tmpl/gstplugin.sgml:
12185 * gst/base/gstbasesink.c: (gst_basesink_activate):
12186 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12187 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12188 (gst_basesrc_query), (gst_basesrc_set_property),
12189 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12190 (gst_basesrc_activate):
12191 * gst/base/gstbasesrc.h:
12192 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12193 (gst_base_transform_src_activate):
12194 * gst/elements/gstelements.c:
12195 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12196 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12197 * gst/elements/gsttee.c: (gst_tee_sink_activate):
12198 * gst/elements/gsttypefindelement.c: (find_element_get_length),
12199 (gst_type_find_element_checkgetrange),
12200 (gst_type_find_element_activate):
12201 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12202 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12203 (gst_caps_load_thyself):
12204 * gst/gstelement.c: (gst_element_pads_activate),
12205 (gst_element_save_thyself), (gst_element_restore_thyself):
12206 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12207 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12209 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12210 (gst_xml_parse_file), (gst_xml_parse_memory),
12211 (gst_xml_get_element), (gst_xml_make_element):
12212 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12213 (_file_index_id_save_xml), (gst_file_index_commit):
12214 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12215 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12217 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12218 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12219 * tools/gst-complete.c: (main):
12220 * tools/gst-compprep.c: (main):
12221 * tools/gst-inspect.c: (print_element_properties_info):
12222 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12223 * tools/gst-xmlinspect.c: (print_element_properties):
12226 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12228 * gst/gstplugin.c: (gst_plugin_check_module),
12229 (gst_plugin_check_file), (gst_plugin_load_file):
12230 apply patch from #172526 to make register work on MacOSX
12232 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12234 * docs/gst/tmpl/gstconfig.sgml:
12235 * gst/gstconfig.h.in:
12236 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12237 * testsuite/debug/printf_extension.c: (main):
12238 Do not use GST_PTR_FORMAT on pointers to types with
12239 sizeof < sizeof(gpointer). Fixes test on 64-bit
12240 * testsuite/elements/property.h:
12241 use correct printf format
12243 2005-05-02 Wim Taymans <wim@fluendo.com>
12245 * docs/design/draft-push-pull.txt:
12246 * docs/design/draft-query.txt:
12247 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12248 (gst_basesrc_start):
12249 Added draft for new query API.
12250 Added draft for better selecting scheduling methods.
12251 Make basesrc ignore length if the subclass does not support
12254 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12257 possible fixes for automake-1.5 - _LIBADD is reserved
12259 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12261 * docs/faq/Makefile.am:
12262 * docs/manual/Makefile.am:
12263 * docs/manuals.mak:
12264 * docs/pwg/Makefile.am:
12266 possible fixes for automake-1.5
12268 2005-04-28 Wim Taymans <wim@fluendo.com>
12270 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12271 (gst_basesink_pad_getcaps), (gst_basesink_init),
12272 (gst_basesink_do_sync):
12273 * gst/gstclock.c: (gst_clock_entry_new):
12274 * gst/gstevent.c: (gst_event_discont_get_value):
12275 * gst/gstpipeline.c: (pipeline_bus_handler),
12276 (gst_pipeline_change_state):
12277 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12278 Better debugging of clocking info.
12279 Allow NULL values when getting discont values.
12281 2005-04-27 Wim Taymans <wim@fluendo.com>
12283 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12284 * check/gst/gstpad.c: (gst_pad_suite):
12285 Increase timeout for checks.
12287 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12289 * check/Makefile.am:
12290 fix the broken rule for cleanup. Apparently this rule is
12291 only needed on FC2, so maybe this warrants further autotool
12294 2005-04-26 Wim Taymans <wim@fluendo.com>
12296 * gst/gsttrashstack.h:
12297 Ooohh. a nasty one! After having a failed pop() from the stack,
12298 it's possible that the stack is empty. In that case, don't
12299 follow the NULL pointer.
12301 2005-04-25 Wim Taymans <wim@fluendo.com>
12303 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12304 (gst_pad_set_checkgetrange_function),
12305 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12306 (gst_pad_check_pull_range), (gst_pad_pull_range),
12307 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12308 (gst_pad_pause_task), (gst_pad_stop_task):
12309 * gst/gstplugin.c: (gst_plugin_load):
12311 Remove gst_library_load as it does more harm than good with
12312 the new g_module flags.
12313 Revert bogus caps template check in pad linking, pad caps
12314 are important when linking not the template, which is more
12315 general than the current caps.
12317 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12319 * gst/autoplug/.cvsignore:
12320 * gst/autoplug/Makefile.am:
12321 * gst/autoplug/gstsearchfuncs.c:
12322 * gst/autoplug/gstsearchfuncs.h:
12323 * gst/autoplug/gstspider.c:
12324 * gst/autoplug/gstspider.h:
12325 * gst/autoplug/gstspideridentity.c:
12326 * gst/autoplug/gstspideridentity.h:
12327 * gst/autoplug/spidertest.c:
12330 2005-04-25 Wim Taymans <wim@fluendo.com>
12332 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12333 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12334 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12335 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12337 Added stubs for unimplemented functions.
12339 2005-04-24 David Schleef <ds@schleef.org>
12341 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12344 2005-04-24 David Schleef <ds@schleef.org>
12346 Convert everything from GstAtomicInt to g_atomic_int_*, and
12351 * gst/gstatomic_impl.h:
12359 * gst/gstdata_private.h:
12363 * gst/gstmessage.c:
12366 * gst/gststructure.c:
12367 * gst/gststructure.h:
12368 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12371 2005-04-24 David Schleef <ds@schleef.org>
12373 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12374 make the regressions tests work. Remove some code that is no
12376 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12377 Disable warning for pads without templates.
12379 2005-04-24 David Schleef <ds@schleef.org>
12381 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12382 functions that handle filtered links.
12383 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12385 * gst/gstutils.c: Fix/remove utility functions that handle
12388 * gst/gstvalue.c: Add serialization/deserialization of caps
12389 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12390 requires fixing so that the filter caps notation creates
12391 a capsfilter element and sets the filter_caps property. I
12392 think everyone probably wants to keep the shorthand notation.
12393 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12394 * docs/gst/tmpl/gstpad.sgml:
12396 * gst/elements/gstelements.c: Register capsfilter element.
12397 * gst/Makefile.am: fix spacing
12398 * docs/random/ds/0.9-suggested-changes: random
12400 2005-04-23 David Schleef <ds@schleef.org>
12402 * gst/elements/Makefile.am:
12403 * gst/elements/gstcapsfilter.c: New element that acts like an
12404 identity, but filters caps. Will eventually replace filtered
12405 caps in pad linking.
12406 * gst/gstutils.c: (gst_element_create_all_pads): New function
12407 to create all the ALWAYS pads that are registered with an
12408 element class. This functionality should eventually be
12409 merged in with GstElement initialization.
12411 * testsuite/trigger/README: part of trigger test code that should
12412 have been checked in a long time ago.
12414 2005-04-23 David Schleef <ds@schleef.org>
12416 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12417 needed with new versions of libtool (nobody will confirm this),
12418 and hard to carry around.
12419 * gst/autoplug/Makefile.am:
12420 * gst/base/Makefile.am:
12421 * gst/elements/Makefile.am:
12422 * gst/indexers/Makefile.am:
12423 * gst/schedulers/Makefile.am:
12424 * libs/gst/bytestream/Makefile.am:
12425 * libs/gst/control/Makefile.am:
12426 * libs/gst/dataprotocol/Makefile.am:
12427 * libs/gst/getbits/Makefile.am:
12429 2005-04-21 Wim Taymans <wim@fluendo.com>
12431 * docs/design/draft-push-pull.txt:
12432 * docs/design/part-MT-refcounting.txt:
12433 * docs/design/part-TODO.txt:
12434 * docs/design/part-caps.txt:
12435 * docs/design/part-events.txt:
12436 * docs/design/part-gstbus.txt:
12437 * docs/design/part-gstpipeline.txt:
12438 * docs/design/part-messages.txt:
12439 * docs/design/part-push-pull.txt:
12440 * docs/design/part-query.txt:
12443 2005-04-21 Wim Taymans <wim@fluendo.com>
12445 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12446 (gst_message_new), (gst_message_new_error),
12447 (gst_message_new_warning), (gst_message_new_tag),
12448 (gst_message_new_state_changed), (gst_message_new_application),
12449 (gst_message_get_structure):
12450 * gst/gstmessage.h:
12451 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12452 (gst_structure_copy_conditional):
12453 Use parent refcount in GstMessage to ensure GstStructure
12455 Cleaned up headers a bit.
12458 2005-04-20 Wim Taymans <wim@fluendo.com>
12460 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12461 (gst_basesink_pad_getcaps), (gst_basesink_init),
12462 (gst_basesink_chain_unlocked):
12463 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12464 (gst_type_find_helper):
12465 * gst/elements/gsttypefindelement.c:
12466 (gst_type_find_element_have_type), (gst_type_find_element_init),
12467 (stop_typefinding), (gst_type_find_element_handle_event),
12468 (find_suggest), (gst_type_find_element_chain),
12469 (gst_type_find_element_checkgetrange),
12470 (gst_type_find_element_getrange), (do_typefind),
12471 (gst_type_find_element_activate):
12472 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12473 (gst_buffer_default_free), (gst_buffer_default_copy),
12474 (gst_buffer_set_caps):
12475 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12476 (gst_caps_replace):
12477 * gst/gstmessage.c: (gst_message_new),
12478 (gst_message_new_state_changed):
12479 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12480 (gst_pad_set_checkgetrange_function),
12481 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12482 (gst_pad_set_caps), (gst_pad_check_pull_range),
12483 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12485 * gst/gsttypefind.c: (gst_type_find_register):
12486 Make gst_caps_replace() work like other _replace() functions.
12487 Use _caps_replace() where possible.
12488 Make sure _message_new() initialises its field.
12489 Add gst_static_pad_template_get_caps()
12492 2005-04-18 Andy Wingo <wingo@pobox.com>
12494 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12495 on the peer, not the pad. I think that was a typo. Pass an extra
12496 arg to see if random access is possible. Activate the pads as
12497 PULL_RANGE if possible.
12499 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12501 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12502 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12505 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12507 * docs/faq/using.xml:
12508 Add note on gstreamer-properties (#154996).
12510 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12512 * docs/random/bbb/optional-properties:
12513 Some analysis on optional properties.
12515 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12517 * docs/gst/tmpl/gstelementfactory.sgml:
12518 * gst/gstelement.h:
12519 * gst/gstelementfactory.c: (gst_element_factory_init),
12520 (gst_element_factory_cleanup), (gst_element_register),
12521 (__gst_element_factory_add_static_pad_template),
12522 (gst_element_factory_get_static_pad_templates),
12523 (gst_element_factory_can_src_caps),
12524 (gst_element_factory_can_sink_caps):
12525 * gst/registries/Makefile.am:
12526 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12527 (gst_xml_registry_class_init), (gst_xml_registry_init),
12528 (gst_xml_registry_new), (gst_xml_registry_set_property),
12529 (gst_xml_registry_get_property), (get_time), (make_dir),
12530 (gst_xml_registry_get_perms_func),
12531 (plugin_times_older_than_recurse), (plugin_times_older_than),
12532 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12533 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12534 (add_to_char_array), (read_string), (read_uint), (read_enum),
12535 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12536 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12537 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12538 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12539 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12540 (gst_xml_registry_rebuild):
12541 * gst/registries/gstlibxmlregistry.h:
12542 * tools/gst-compprep.c: (main):
12543 * tools/gst-inspect.c: (print_pad_templates_info):
12544 * tools/gst-xmlinspect.c: (print_element_info):
12545 Use libxml2 for registry parsing, use staticpadtemplates in
12546 elementfactories. Makes gst_init() +/- 10x faster.
12548 2005-04-12 Wim Taymans <wim@fluendo.com>
12550 * gst/base/Makefile.am:
12551 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12552 (gst_basesink_pad_getcaps), (gst_basesink_init),
12553 (gst_basesink_event), (gst_basesink_change_state):
12554 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12555 (gst_basesrc_init), (gst_basesrc_query),
12556 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12557 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12558 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12559 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12560 (gst_basesrc_stop), (gst_basesrc_activate),
12561 (gst_basesrc_change_state):
12562 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12563 (helper_find_suggest), (gst_type_find_helper):
12564 * gst/base/gsttypefindhelper.h:
12565 * gst/elements/Makefile.am:
12566 * gst/elements/gstelements.c:
12567 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12568 (gst_fakesink_get_times), (gst_fakesink_event),
12569 (gst_fakesink_preroll), (gst_fakesink_render):
12570 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12571 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12572 (gst_fakesrc_get_property), (gst_fakesrc_create),
12573 (gst_fakesrc_start), (gst_fakesrc_stop):
12574 * gst/elements/gstfakesrc.h:
12575 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12576 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12577 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12578 (gst_filesrc_create_read), (gst_filesrc_create),
12579 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12580 (gst_filesrc_start):
12581 * gst/elements/gsttypefindelement.c:
12582 (gst_type_find_element_have_type), (gst_type_find_element_init),
12583 (start_typefinding), (stop_typefinding), (push_buffer_store),
12584 (gst_type_find_element_handle_event),
12585 (gst_type_find_element_chain),
12586 (gst_type_find_element_checkgetrange),
12587 (gst_type_find_element_getrange), (do_typefind),
12588 (gst_type_find_element_activate),
12589 (gst_type_find_element_change_state):
12590 * gst/elements/gsttypefindelement.h:
12591 * gst/gstpipeline.c: (pipeline_bus_handler):
12592 Added typefind helper.
12593 Small preroll fix in the base sink.
12594 Disable typefind code in basesrc.
12595 Crude port of typefindelement.
12599 2005-04-11 Wim Taymans <wim@fluendo.com>
12601 * check/gst/gstbus.c: (gstbus_suite):
12602 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12603 * check/gstcheck.h:
12604 Fix up the timeout so that the test does not fail.
12606 2005-04-06 Wim Taymans <wim@fluendo.com>
12609 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12610 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12611 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12612 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12613 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12614 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12615 (gst_basesrc_stop), (gst_basesrc_activate),
12616 (gst_basesrc_change_state), (basesrc_find_peek),
12617 (basesrc_find_suggest), (gst_basesrc_type_find):
12618 * gst/base/gstbasesrc.h:
12619 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12620 (gst_filesrc_class_init), (gst_filesrc_init),
12621 (gst_filesrc_finalize), (gst_filesrc_set_location),
12622 (gst_filesrc_set_property), (gst_filesrc_get_property),
12623 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12624 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12625 (gst_filesrc_create_read), (gst_filesrc_create),
12626 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12627 * gst/elements/gstfilesrc.h:
12628 * gst/gstelement.c: (gst_element_get_state_func),
12629 (gst_element_lost_state), (gst_element_pads_activate):
12630 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12631 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12632 (gst_pad_pull_range):
12634 More work on the generic source base class, implement seeking,
12636 Make filesrc extend the base source class.
12637 Added gst_pad_set_checkgetrange_function to GstPad.
12639 2005-04-06 Andy Wingo <wingo@pobox.com>
12641 * pkgconfig/gstreamer-base.pc.in:
12642 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12644 * pkgconfig/Makefile.am:
12645 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12647 2005-04-04 Wim Taymans <wim@fluendo.com>
12649 * gst/base/Makefile.am:
12651 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12652 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12653 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12654 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12655 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12656 (gst_basesrc_base_init), (gst_basesrc_class_init),
12657 (gst_basesrc_init), (gst_basesrc_get_formats),
12658 (gst_basesrc_get_query_types), (gst_basesrc_query),
12659 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12660 (gst_basesrc_set_property), (gst_basesrc_get_property),
12661 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12662 (gst_basesrc_loop), (gst_basesrc_activate),
12663 (gst_basesrc_change_state):
12664 * gst/base/gstbasesrc.h:
12665 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12666 (gst_fakesrc_class_init), (gst_fakesrc_init),
12667 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12668 (gst_fakesrc_get_property), (gst_fakesrc_create):
12669 * gst/elements/gstfakesrc.h:
12670 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12671 (gst_filesrc_open_file), (gst_filesrc_loop),
12672 (gst_filesrc_activate), (filesrc_find_peek),
12673 (gst_filesrc_type_find):
12674 Made base source class, make fakesrc extend it.
12675 Add comments to basesink class.
12676 Some filesrc cleanup.
12678 2005-03-31 David Schleef <ds@schleef.org>
12680 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12681 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12682 expected to link against libgstreamer.
12683 * gst/base/Makefile.am: link against libgstreamer
12684 * gst/elements/Makefile.am: same
12686 2005-03-31 Andy Wingo <wingo@pobox.com>
12688 * tests/instantiate/Makefile.am:
12689 * tests/instantiate/caps.c: Add test to test speed of caps copy
12692 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12693 GMemChunk to be fair.
12695 * gst/gsttrashstack.h: Remove warning about using the fallback
12696 trash stack implementation, it's still faster than malloc.
12698 2005-03-30 Andy Wingo <wingo@pobox.com>
12700 * tests/complexity.c: Add a copyright.
12702 2005-03-31 Wim Taymans <wim@fluendo.com>
12704 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12705 (gst_base_transform_class_init), (gst_base_transform_init),
12706 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12707 (gst_base_transform_get_property),
12708 (gst_base_transform_sink_activate),
12709 (gst_base_transform_src_activate),
12710 (gst_base_transform_change_state):
12711 * gst/base/gstbasetransform.h:
12712 * gst/elements/gstidentity.c: (gst_identity_class_init),
12713 (gst_identity_event), (gst_identity_check_perfect),
12714 (gst_identity_transform), (gst_identity_start),
12715 (gst_identity_stop):
12716 Added start/stop methods to transform base class so subclasses
12717 don't need to deal with state changes even.
12719 2005-03-31 Wim Taymans <wim@fluendo.com>
12721 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12722 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12724 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12725 (gst_pad_pull_range):
12726 Added rate to the discont event to prepare for variable speed
12727 and reverse playback.
12729 2005-03-29 David Schleef <ds@schleef.org>
12732 * testsuite/trigger/Makefile.am:
12733 * testsuite/trigger/trigger.c: A little example program to show
12734 how trigger-based elements can work.
12736 2005-03-29 Wim Taymans <wim@fluendo.com>
12738 * gst/base/Makefile.am:
12740 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12741 (gst_basesink_base_init), (gst_basesink_class_init),
12742 (gst_basesink_pad_getcaps), (gst_basesink_init),
12743 (gst_basesink_activate), (gst_basesink_change_state):
12744 * gst/base/gstbasesink.h:
12745 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12746 (gst_base_transform_base_init), (gst_base_transform_finalize),
12747 (gst_base_transform_class_init), (gst_base_transform_init),
12748 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12749 (gst_base_transform_event), (gst_base_transform_getrange),
12750 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12751 (gst_base_transform_set_property),
12752 (gst_base_transform_get_property),
12753 (gst_base_transform_sink_activate),
12754 (gst_base_transform_src_activate),
12755 (gst_base_transform_change_state):
12756 * gst/base/gstbasetransform.h:
12757 * gst/elements/gstidentity.c: (gst_identity_finalize),
12758 (gst_identity_class_init), (gst_identity_init),
12759 (gst_identity_event), (gst_identity_check_perfect),
12760 (gst_identity_transform), (gst_identity_set_property),
12761 (gst_identity_get_property), (gst_identity_change_state):
12762 * gst/elements/gstidentity.h:
12763 * gst/gstelement.c: (gst_element_get_state_func),
12764 (gst_element_lost_state), (gst_element_pads_activate):
12765 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12766 (gst_pad_check_pull_range), (gst_pad_pull_range):
12768 Simplify pad activation.
12769 Added function to check if pull_range can be performed.
12770 Error out when pulling inactive or flushing pads.
12771 Removed const from refcounted types as it does not make sense.
12772 Simplify pad templates in basesink
12773 Added base class for simple 1-to-1 transforms.
12774 Make identity subclass the base transform.
12776 2005-03-29 Andy Wingo <wingo@pobox.com>
12778 * docs/libs/gstreamer-libs-overrides.txt:
12779 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12780 really don't understand what's going on, but like whatever. I want
12783 * docs/gst/Makefile.am:
12784 * docs/libs/Makefile.am: Dist the overrides files.
12786 * check/Makefile.am (clean-local): Remove .libs directories.
12788 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12789 elements to EXTRA_DIST, so po/ files are happy.
12791 * po/POTFILES.in: Er, remove it here.
12793 * po/POTFILES: Remove gstspider.c.
12795 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12797 * docs/libs/gstreamer-libs-docs.sgml:
12798 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12801 * tests/complexity.c (main): Set the length of the preroll queue
12802 on the sinks to prevent a lockup.
12804 * libs/gst/dataprotocol/Makefile.am:
12805 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12806 the same as the one in check/gst-libs/gdp.c.
12808 * po/, docs/gst/: Commit automatic changes to docs and po files.
12810 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12811 the versioned libgstbase.
12813 * check/Makefile.am: Depend on an unversioned gst-register, seems
12814 to make autoconf happier.
12816 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12818 2005-03-28 Wim Taymans <wim@fluendo.com>
12821 * docs/design/part-gstelement.txt:
12822 * docs/design/part-negotiation.txt:
12823 * docs/design/part-preroll.txt:
12824 * docs/design/part-scheduling.txt:
12825 * docs/design/part-states.txt:
12827 * gst/base/Makefile.am:
12829 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12830 (gst_basesink_base_init), (gst_basesink_class_init),
12831 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12832 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12833 (gst_basesink_set_pad_functions),
12834 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12835 (gst_basesink_set_property), (gst_basesink_get_property),
12836 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12837 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12838 (gst_basesink_preroll_queue_push),
12839 (gst_basesink_preroll_queue_empty),
12840 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12841 (gst_basesink_event), (gst_basesink_get_times),
12842 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12843 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12844 (gst_basesink_loop), (gst_basesink_activate),
12845 (gst_basesink_change_state):
12846 * gst/base/gstbasesink.h:
12847 * gst/elements/Makefile.am:
12848 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12849 (gst_fakesink_class_init), (gst_fakesink_init),
12850 (gst_fakesink_set_property), (gst_fakesink_get_property),
12851 (gst_fakesink_get_times), (gst_fakesink_event),
12852 (gst_fakesink_preroll), (gst_fakesink_render),
12853 (gst_fakesink_change_state):
12854 * gst/elements/gstfakesink.h:
12855 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12856 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12857 * gst/gstelement.c: (gst_element_add_pad),
12858 (gst_element_get_state_func), (gst_element_abort_state),
12859 (gst_element_commit_state), (gst_element_lost_state),
12860 (gst_element_set_state), (gst_element_pads_activate):
12861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12862 * gst/gstpipeline.c: (gst_pipeline_send_event),
12863 (gst_pipeline_change_state):
12864 Added state change code.
12865 Added/updated docs.
12866 Added sink base class, make fakesink extend the base class.
12867 Small cleanups in GstPipeline.
12869 2005-03-26 David Schleef <ds@schleef.org>
12871 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12872 is broken and should be implemented in a different library.
12873 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12874 * gst/gst.h: remove gstcpu.h
12875 * gst/gstcpu.c: remove
12876 * gst/gstcpu.h: remove
12877 * gst/Makefile.am.future: Remove this file. It's ancient.
12879 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12881 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12882 (gst_bin_send_event):
12883 Add default event/set_manager handlers. The set_manager handler
12884 takes care that the manager is distributed over kids that were
12885 already in the bin before the manager was set. The event handler
12886 is a utility virtual function that sends the event over all sinks,
12887 so that gst_element_send_event (bin, event); has the expected
12889 * gst/gstpad.c: (gst_pad_event_default):
12890 Re-install default event handling for discontinuities, so that
12891 seeking works without requiring hacks in applications or extra
12893 * gst/gstpipeline.c: (gst_pipeline_class_init),
12894 (gst_pipeline_send_event):
12895 Half hack, half utility: set a pipeline to PAUSED for seek events,
12896 since that is the only way we can guarantee a/v sync. Means that
12897 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12898 and it "just works".
12900 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12902 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12903 Lock/unlock mismatch.
12905 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12907 * docs/faq/gst-uninstalled:
12908 add gst-plugins-base
12909 * docs/gst/Makefile.am:
12910 don't error out until docs are fixed
12911 * docs/gst/gstreamer.types:
12914 2005-03-22 Wim Taymans <wim@fluendo.com>
12916 * check/Makefile.am:
12917 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12918 * gst/gststructure.c: (gst_structure_set_valist),
12919 (gst_structure_copy_conditional):
12920 Activated more tests.
12921 Added message test.
12922 Added G_TYPE_POINTER to GstStructure.
12925 2005-03-22 Wim Taymans <wim@fluendo.com>
12927 * docs/design/part-TODO.txt:
12928 * docs/design/part-events.txt:
12929 * docs/design/part-gstbin.txt:
12930 * docs/design/part-gstbus.txt:
12931 * docs/design/part-gstpipeline.txt:
12932 * docs/design/part-messages.txt:
12934 * gst/gstmessage.c:
12937 2005-03-21 Wim Taymans <wim@fluendo.com>
12939 * gst/gstbus.c: (gst_bus_post):
12940 Fix copy-and-paste error.
12942 2005-03-21 Wim Taymans <wim@fluendo.com>
12944 * check/Makefile.am:
12946 * gst/elements/Makefile.am:
12947 * gst/elements/gstelements.c:
12948 * gst/elements/gstfakesink.c: (gst_fakesink_init),
12949 (gst_fakesink_event), (gst_fakesink_chain):
12950 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12951 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
12952 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
12953 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
12954 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
12955 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
12956 (gst_fakesrc_loop), (gst_fakesrc_activate),
12957 (gst_fakesrc_change_state):
12958 * gst/elements/gstfakesrc.h:
12959 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12960 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
12961 (gst_filesrc_open_file), (gst_filesrc_loop),
12962 (gst_filesrc_activate), (gst_filesrc_change_state),
12963 (filesrc_find_peek), (filesrc_find_suggest),
12964 (gst_filesrc_type_find):
12965 * gst/elements/gstidentity.c: (gst_identity_finalize),
12966 (gst_identity_class_init), (gst_identity_init),
12967 (gst_identity_proxy_getcaps), (identity_queue_push),
12968 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
12969 (gst_identity_getrange), (gst_identity_chain),
12970 (gst_identity_sink_loop), (gst_identity_src_loop),
12971 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
12972 (gst_identity_set_property), (gst_identity_get_property),
12973 (gst_identity_change_state):
12974 * gst/elements/gstidentity.h:
12975 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12976 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
12977 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
12978 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
12979 (gst_tee_sink_activate):
12980 * gst/elements/gsttee.h:
12981 * gst/gst.c: (gst_register_core_elements), (init_post):
12983 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
12984 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
12985 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
12986 (gst_bin_change_state):
12988 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
12989 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
12990 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
12991 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
12992 (gst_bus_set_sync_handler), (gst_bus_create_watch),
12993 (bus_watch_callback), (bus_watch_destroy),
12994 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
12995 (poll_timeout), (gst_bus_poll):
12999 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13000 (gst_element_post_message), (gst_element_message_full),
13001 (gst_element_get_state_func), (gst_element_get_state),
13002 (gst_element_abort_state), (gst_element_commit_state),
13003 (gst_element_lost_state), (gst_element_set_state),
13004 (gst_element_pads_activate), (gst_element_change_state),
13005 (gst_element_dispose), (gst_element_set_manager_func),
13006 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13007 (gst_element_set_manager), (gst_element_get_manager),
13008 (gst_element_set_bus), (gst_element_get_bus),
13009 (gst_element_set_scheduler), (gst_element_get_scheduler):
13010 * gst/gstelement.h:
13011 * gst/gstevent.c: (gst_event_new_segment_seek),
13012 (gst_event_new_flush):
13014 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13015 (_gst_message_free), (gst_message_get_type), (gst_message_new),
13016 (gst_message_new_eos), (gst_message_new_error),
13017 (gst_message_new_warning), (gst_message_new_tag),
13018 (gst_message_new_state_changed), (gst_message_new_application),
13019 (gst_message_get_structure), (gst_message_parse_tag),
13020 (gst_message_parse_state_changed), (gst_message_parse_error),
13021 (gst_message_parse_warning):
13022 * gst/gstmessage.h:
13023 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13024 (gst_real_pad_set_property), (gst_pad_set_active),
13025 (gst_pad_is_active), (gst_pad_set_blocked_async),
13026 (gst_pad_set_blocked), (gst_pad_is_blocked),
13027 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13028 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13029 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13030 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13031 (gst_pad_link_filtered), (gst_pad_relink_filtered),
13032 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13033 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13034 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13035 (gst_pad_set_caps), (gst_pad_configure_sink),
13036 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13037 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13038 (gst_real_pad_dispose), (gst_real_pad_finalize),
13039 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13040 (gst_pad_event_default_dispatch), (gst_pad_event_default),
13041 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13043 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13044 (pipeline_bus_handler), (gst_pipeline_change_state),
13045 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13046 * gst/gstpipeline.h:
13048 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13049 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13050 (gst_queue_link_src), (gst_queue_bufferalloc),
13051 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13052 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13053 (gst_queue_loop), (gst_queue_handle_src_event),
13054 (gst_queue_handle_src_query), (gst_queue_src_activate),
13055 (gst_queue_change_state):
13057 * gst/gstscheduler.c: (gst_scheduler_init),
13058 (gst_scheduler_dispose), (gst_scheduler_create_task),
13059 (gst_scheduler_factory_create):
13060 * gst/gstscheduler.h:
13061 * gst/gststructure.c: (gst_structure_get_type),
13062 (gst_structure_copy_conditional):
13063 * gst/gststructure.h:
13064 * gst/gsttaginterface.h:
13065 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13066 (gst_task_init), (gst_task_dispose), (gst_task_create),
13067 (gst_task_get_state), (gst_task_start), (gst_task_stop),
13073 * gst/schedulers/Makefile.am:
13074 * gst/schedulers/cothreads_compat.h:
13075 * gst/schedulers/entryscheduler.c:
13076 * gst/schedulers/faircothreads.c:
13077 * gst/schedulers/faircothreads.h:
13078 * gst/schedulers/fairscheduler.c:
13079 * gst/schedulers/gstbasicscheduler.c:
13080 * gst/schedulers/gstoptimalscheduler.c:
13081 * gst/schedulers/gthread-cothreads.h:
13082 * gst/schedulers/threadscheduler.c:
13083 (gst_thread_scheduler_task_get_type),
13084 (gst_thread_scheduler_task_class_init),
13085 (gst_thread_scheduler_task_init),
13086 (gst_thread_scheduler_task_start),
13087 (gst_thread_scheduler_task_stop),
13088 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13089 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13090 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13091 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13093 * libs/gst/Makefile.am:
13094 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13095 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13096 (gst_file_pad_parent_set):
13097 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13098 (gst_dp_event_from_packet):
13099 * tests/complexity.c: (main):
13100 * tests/mass_elements.c: (main):
13101 * testsuite/states/locked.c: (message_received), (main):
13102 * testsuite/states/parent.c: (main):
13103 * tools/gst-inspect.c: (print_element_flag_info),
13104 (print_implementation_info), (print_pad_info):
13105 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13107 * tools/gst-md5sum.c: (event_loop), (main):
13108 * tools/gst-typefind.c: (main):
13109 * tools/gst-xmlinspect.c: (print_element_info):
13111 Added GstBus for mainloop integration.
13112 Added GstMessage for sending notifications on the bus.
13113 Added GstTask as an abstraction for pipeline entry points.
13115 Removed Schedulers.
13116 Simplified GstQueue for multithreaded core.
13117 Made _link threadsafe, removed old capsnego.
13118 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13119 Added pad blocking functions.
13120 Reworked scheduling functions in GstPad to prepare for
13121 scheduling updates soon.
13122 Moved events out of data stream.
13123 Simplified GstEvent types.
13124 Added return values to push/pull.
13125 Removed clocking from GstElement.
13126 Added prototypes for state change function for next merge.
13127 Removed iterate from bins and state change management.
13128 Fixed some elements, disabled others for now.
13129 Fixed -inspect and -launch.
13130 Added check for GstBus.
13132 2005-03-10 Wim Taymans <wim@fluendo.com>
13134 * docs/design/part-MT-refcounting.txt:
13135 * docs/design/part-clocks.txt:
13136 * docs/design/part-gstelement.txt:
13137 * docs/design/part-gstobject.txt:
13138 * docs/design/part-standards.txt:
13139 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13140 (gst_bin_remove_func), (gst_bin_remove):
13144 * testsuite/clock/clock1.c: (main):
13145 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13147 * testsuite/dlopen/loadgst.c: (do_test):
13148 * testsuite/refcounting/bin.c: (add_remove_test1),
13149 (add_remove_test2), (main):
13150 * testsuite/refcounting/element.c: (main):
13151 * testsuite/refcounting/element_pad.c: (main):
13152 * testsuite/refcounting/pad.c: (main):
13153 * tools/gst-launch.c: (sigint_handler_sighandler):
13154 * tools/gst-typefind.c: (main):
13156 Added doc about clock.
13157 removed gst_bin_iterate_recurse_up(), marked methods
13159 Fix more testsuites.
13161 2005-03-09 Wim Taymans <wim@fluendo.com>
13163 * gst/gstpad.c: (gst_pad_get_direction),
13164 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13165 (gst_pad_collect_valist):
13166 * testsuite/bins/interface.c: (main):
13167 * testsuite/caps/audioscale.c: (test_caps):
13168 * testsuite/caps/caps.c: (test1), (test2), (test3):
13169 * testsuite/caps/deserialize.c: (main):
13170 * testsuite/caps/enumcaps.c: (main):
13171 * testsuite/caps/filtercaps.c: (main):
13172 * testsuite/caps/intersect2.c: (main):
13173 * testsuite/caps/random.c: (main):
13174 * testsuite/caps/renegotiate.c: (my_fixate), (main):
13175 * testsuite/caps/sets.c: (check_caps):
13176 * testsuite/caps/simplify.c: (check_caps), (main):
13177 * testsuite/caps/subtract.c: (check_caps):
13178 Fix _pad_get_direction wrt ghostpads.
13179 Fix caps testsuite.
13181 2005-03-09 Wim Taymans <wim@fluendo.com>
13183 * check/Makefile.am:
13184 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13185 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13186 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13187 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13188 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13189 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13190 (gst_bin_remove), (gst_bin_iterate_recurse_up),
13191 (bin_element_is_sink), (gst_bin_iterate_sinks),
13192 (gst_bin_iterate_all_by_interface):
13194 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13195 (gst_element_change_state), (gst_element_dispose),
13196 (gst_element_finalize), (gst_element_set_loop_function):
13197 * gst/gstelement.h:
13198 * gst/gstiterator.c: (find_custom_fold_func):
13199 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13200 (gst_pad_collectv), (gst_pad_collect_valist),
13201 (gst_pad_template_new):
13202 * gst/gstpipeline.c: (gst_pipeline_class_init),
13203 (gst_pipeline_dispose), (gst_pipeline_set_property),
13204 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13205 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13206 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13208 * gst/schedulers/entryscheduler.c:
13209 * gst/schedulers/gstbasicscheduler.c:
13210 (gst_basic_scheduler_cothreaded_chain),
13211 (gst_basic_scheduler_chain_add_element):
13212 * testsuite/bins/interface.c: (main):
13214 Added GstSystemClock test.
13215 Implemented clock distribution code in GstBin.
13216 Implemented iterate sinks method for future use.
13217 Rearranged gstelement.h
13218 Fix GstIterator comparison bug.
13219 Moved some code to GstPipeline, mostly clocking related.
13221 2005-03-09 Wim Taymans <wim@fluendo.com>
13224 * gst/gst_private.h:
13225 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13226 (gst_bin_remove_func), (gst_bin_remove),
13227 (gst_bin_get_by_name_recurse_up):
13228 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13229 (gst_clock_id_compare_func), (gst_clock_id_wait),
13230 (gst_clock_id_wait_async), (gst_clock_init),
13231 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13232 * gst/gstelement.h:
13233 * gst/gstinfo.c: (_gst_debug_init):
13235 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13236 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13238 Bump version number, we're now 0.9.0
13239 Add future debugging category.
13240 Fix NULL _unref() in _get_by_name_recurse_up
13241 Rearrange gstpad.h.
13244 2005-03-08 Wim Taymans <wim@fluendo.com>
13246 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13247 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13248 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13249 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13250 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13251 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13252 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13253 * gst/elements/gstidentity.c: (gst_identity_class_init):
13254 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13255 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13256 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13257 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13258 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13260 * gst/gstelement.c: (gst_element_class_init),
13261 (gst_element_base_class_init), (gst_element_init),
13262 (gst_element_get_random_pad), (gst_element_wait_state_change),
13263 (gst_element_change_state), (gst_element_dispose),
13264 (gst_element_finalize), (gst_element_set_loop_function):
13265 * gst/gstelement.h:
13266 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13267 * gst/gstthread.c: (gst_thread_class_init),
13268 (gst_thread_release_children_locks), (gst_thread_change_state):
13269 * gst/schedulers/gstbasicscheduler.c:
13270 (gst_basic_scheduler_loopfunc_wrapper),
13271 (gst_basic_scheduler_chain_wrapper),
13272 (gst_basic_scheduler_src_wrapper),
13273 (gst_basic_scheduler_remove_element):
13274 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13275 Remove threadsafe properties. Fix elements because GObject
13276 complains when installing a property before declaring a
13277 set/get_property handler.
13278 Rearrange gstelement.h file, use STATE macros for state locks.
13279 Free mutexes in the finalize method instead of dispose.
13281 2005-03-08 Wim Taymans <wim@fluendo.com>
13283 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13284 * gst/gstthread.c: (gst_thread_release_children_locks):
13285 Added parentage check.
13286 Fix build og GstThread again.
13288 2005-03-08 Wim Taymans <wim@fluendo.com>
13290 * docs/design/part-MT-refcounting.txt:
13291 * docs/design/part-conventions.txt:
13292 * docs/design/part-gstobject.txt:
13293 * docs/design/part-relations.txt:
13294 * docs/design/part-standards.txt:
13295 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13296 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13297 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13298 (gst_bin_iterate_all_by_interface):
13301 * gst/gstelement.c: (gst_element_class_init),
13302 (gst_element_change_state), (gst_element_set_loop_function):
13303 * gst/gstelement.h:
13304 * gst/gstiterator.c:
13305 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13306 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13307 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13308 (gst_object_set_parent), (gst_object_unparent),
13309 (gst_object_check_uniqueness):
13311 Docs updates, clean up some headers.
13313 2005-03-07 Wim Taymans <wim@fluendo.com>
13315 * check/.cvsignore:
13316 * check/Makefile.am:
13317 * check/gst-libs/.cvsignore:
13318 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13319 * check/gst/.cvsignore:
13320 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13321 (START_TEST), (gstbus_suite), (main):
13322 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13323 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13324 (gst_data_suite), (main):
13325 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13326 (add_fold_func), (gstiterator_suite), (main):
13327 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13328 (thread_name_object), (thread_name_object_default),
13329 (gst_object_name_compare), (gst_object_suite), (main):
13330 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13331 (gst_pad_suite), (main):
13332 * check/gstcheck.c: (gst_check_log_message_func),
13333 (gst_check_log_critical_func), (gst_check_init):
13334 * check/gstcheck.h:
13335 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13336 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13339 2005-03-07 Wim Taymans <wim@fluendo.com>
13341 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13342 (gst_list_iterator_next), (gst_list_iterator_resync),
13343 (gst_list_iterator_free), (gst_iterator_new_list),
13344 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13345 (gst_iterator_free), (gst_iterator_push), (filter_next),
13346 (filter_resync), (filter_uninit), (filter_free),
13347 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13348 (gst_iterator_foreach), (find_custom_fold_func),
13349 (gst_iterator_find_custom):
13350 * gst/gstiterator.h:
13351 Added missing files.
13353 2005-03-07 Wim Taymans <wim@fluendo.com>
13357 * docs/design/part-MT-refcounting.txt:
13358 * docs/design/part-conventions.txt:
13359 * docs/design/part-gstobject.txt:
13360 * docs/design/part-relations.txt:
13361 * examples/mixer/mixer.c: (main):
13362 * examples/thread/thread.c: (eos), (main):
13364 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13365 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13366 (gst_spider_plug_from_srcpad):
13367 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13368 (gst_spider_identity_change_state),
13369 (gst_spider_identity_sink_loop_type_finding):
13370 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13371 * gst/elements/gstidentity.c: (gst_identity_init):
13372 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13373 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13374 * gst/elements/gsttypefindelement.c: (free_entry):
13377 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13378 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13379 (gst_bin_set_index), (gst_bin_set_element_sched),
13380 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13381 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13382 (gst_bin_iterate_elements), (iterate_child_recurse),
13383 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13384 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13385 (compare_interface), (gst_bin_get_by_interface),
13386 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13388 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13389 (gst_buffer_default_free), (gst_buffer_default_copy),
13390 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13391 (gst_buffer_create_sub):
13393 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13394 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13395 (gst_caps_unref), (gst_static_caps_get),
13396 (gst_caps_remove_and_get_structure), (gst_caps_append),
13397 (gst_caps_append_structure), (gst_caps_remove_structure),
13398 (gst_caps_copy_nth), (gst_caps_set_simple),
13399 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13400 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13401 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13402 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13403 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13404 (gst_caps_structure_figure_out_union),
13405 (gst_caps_switch_structures), (gst_caps_do_simplify),
13406 (gst_caps_replace), (gst_caps_from_string),
13407 (gst_caps_copy_conditional):
13409 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13410 (_gst_clock_id_free), (gst_clock_id_unref),
13411 (gst_clock_id_compare_func), (gst_clock_id_wait),
13412 (gst_clock_id_wait_async), (gst_clock_class_init),
13413 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13414 (gst_clock_get_time), (gst_clock_set_time_adjust),
13415 (gst_clock_set_property), (gst_clock_get_property):
13418 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13419 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13421 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13422 (gst_element_requires_clock), (gst_element_provides_clock),
13423 (gst_element_set_clock), (gst_element_clock_wait),
13424 (gst_element_wait), (gst_element_set_time_delay),
13425 (gst_element_is_indexable), (gst_element_add_pad),
13426 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13427 (pad_compare_name), (gst_element_get_static_pad),
13428 (gst_element_request_pad), (gst_element_get_request_pad),
13429 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13430 (gst_element_class_get_pad_template_list),
13431 (gst_element_class_get_pad_template), (gst_element_error_func),
13432 (gst_element_get_random_pad), (gst_element_get_event_masks),
13433 (gst_element_send_event), (gst_element_seek),
13434 (gst_element_get_query_types), (gst_element_query),
13435 (gst_element_get_formats), (gst_element_convert),
13436 (gst_element_is_locked_state), (gst_element_set_locked_state),
13437 (gst_element_sync_state_with_parent), (gst_element_change_state),
13438 (gst_element_finalize), (gst_element_yield),
13439 (gst_element_interrupt), (gst_element_set_scheduler),
13440 (gst_element_get_scheduler), (gst_element_set_loop_function):
13441 * gst/gstelement.h:
13443 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13444 (gst_format_get_by_nick), (gst_format_get_details),
13445 (gst_format_iterate_definitions):
13447 * gst/gstindex.c: (gst_index_gtype_resolver):
13450 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13451 (gst_mem_chunk_free):
13452 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13453 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13454 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13455 (gst_object_dispatch_properties_changed),
13456 (gst_object_set_name_default), (gst_object_set_name),
13457 (gst_object_get_name), (gst_object_set_name_prefix),
13458 (gst_object_get_name_prefix), (gst_object_set_parent),
13459 (gst_object_get_parent), (gst_object_unparent),
13460 (gst_object_check_uniqueness), (gst_object_save_thyself),
13461 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13462 (gst_object_set_property), (gst_object_get_property),
13463 (gst_object_get_path_string):
13465 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13466 (gst_real_pad_init), (gst_real_pad_get_property),
13467 (gst_pad_custom_new), (gst_pad_get_direction),
13468 (gst_pad_set_active), (gst_pad_is_active),
13469 (gst_pad_set_event_function), (gst_pad_is_linked),
13470 (gst_pad_link_free), (gst_pad_link_intersect),
13471 (gst_pad_link_fixate), (gst_pad_set_caps),
13472 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13473 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13474 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13475 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13476 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13477 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13478 (gst_pad_realize), (gst_pad_get_allowed_caps),
13479 (gst_real_pad_dispose), (gst_real_pad_finalize),
13480 (gst_pad_collectv), (gst_pad_collect_valist),
13481 (gst_pad_template_dispose), (gst_pad_template_new),
13482 (gst_pad_get_internal_links):
13484 * gst/gstpipeline.c: (gst_pipeline_dispose),
13485 (gst_pipeline_change_state):
13486 * gst/gstpipeline.h:
13488 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13489 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13490 * gst/gstpluginfeature.h:
13491 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13492 * gst/gstquery.c: (_gst_query_type_initialize),
13493 (gst_query_type_register), (gst_query_type_get_by_nick),
13494 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13496 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13497 * gst/gstscheduler.c: (gst_scheduler_add_element),
13498 (gst_scheduler_factory_create):
13499 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13500 (gst_structure_free), (gst_structure_set_name),
13501 (gst_structure_id_set_value), (gst_structure_set_value),
13502 (gst_structure_set_valist), (gst_structure_remove_field),
13503 (gst_structure_remove_fields),
13504 (gst_structure_remove_fields_valist),
13505 (gst_structure_remove_all_fields), (gst_structure_foreach),
13506 (gst_structure_map_in_place),
13507 (gst_caps_structure_fixate_field_nearest_int),
13508 (gst_caps_structure_fixate_field_nearest_double):
13509 * gst/gststructure.h:
13510 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13511 (gst_system_clock_init), (gst_system_clock_dispose),
13512 (gst_system_clock_async_thread),
13513 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13514 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13515 * gst/gstsystemclock.h:
13516 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13517 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13518 * gst/gsttaginterface.c:
13519 * gst/gstthread.c: (gst_thread_dispose),
13520 (gst_thread_release_children_locks), (gst_thread_change_state),
13521 (gst_thread_main_loop):
13522 * gst/gsttrashstack.h:
13523 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13525 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13526 (gst_element_request_pad), (gst_element_get_pad_from_template),
13527 (gst_element_request_compatible_pad),
13528 (gst_element_get_compatible_pad_filtered),
13529 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13530 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13531 (gst_element_link_many), (gst_element_link),
13532 (gst_element_link_pads), (gst_element_unlink_pads),
13533 (gst_element_unlink_many), (gst_element_unlink),
13534 (gst_pad_can_link_filtered), (gst_pad_can_link),
13535 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13536 (gst_object_default_error), (gst_bin_add_many),
13537 (gst_bin_remove_many), (gst_element_populate_std_props),
13538 (gst_element_class_install_std_props), (gst_buffer_merge),
13539 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13540 (link_fold_func), (gst_pad_proxy_setcaps):
13542 * gst/gstvalue.c: (gst_value_deserialize_string):
13543 * gst/parse/grammar.y:
13544 * gst/schedulers/gstbasicscheduler.c:
13545 (gst_basic_scheduler_cothreaded_chain),
13546 (gst_basic_scheduler_chain_recursive_add),
13547 (gst_basic_scheduler_pad_link):
13548 * gst/schedulers/gstoptimalscheduler.c:
13549 (get_group_schedule_function),
13550 (gst_opt_scheduler_state_transition),
13551 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13552 * libs/gst/bytestream/bytestream.c:
13553 * libs/gst/dataprotocol/dataprotocol.c:
13554 (gst_dp_header_from_buffer):
13557 * tests/threadstate/threadstate2.c: (eos):
13558 * tools/gst-compprep.c: (main):
13559 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13560 (print_pad_info), (print_children_info):
13561 * tools/gst-launch.c: (idle_func), (main):
13562 * tools/gst-md5sum.c: (idle_func), (main):
13563 * tools/gst-xmlinspect.c: (print_element_info):
13564 First THREADED backport attempt, focusing on adding locks and
13565 making sure the API is threadsafe. Needs more work. More docs
13568 2005-02-24 Andy Wingo <wingo@pobox.com>
13570 * tests/bench-complexity.scm:
13571 * tests/complexity.gnuplot: New files, good for running complexity
13574 * tests/Makefile.am:
13575 * tests/complexity.c: New test, sets up N elements, at each level
13576 teeing into M streams per element. Eeeenteresting.
13578 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13579 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13580 running bench-mass_elements.scm.
13582 * tests/bench-mass_elements.scm: New script, runs mass_elements
13583 for various numbers of identities, outputting the results to a
13584 file. Requires guile 1.6. Just for testing.
13586 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13588 * gst/schedulers/fairscheduler.c:
13589 compile with debug disabled
13591 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13594 hunting season on 0.9 is now OPEN